@formio/angular 7.5.0-rc.6 → 7.5.0-rc.7

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 (498) hide show
  1. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/05/48/d04de6c9dd6cc970174ec810b8763a7201a44f1f043eaa206a929f03661e08328175ec2130578946c68b6c428925092b68f3810c98e83ddefdd04a1e53ae +1 -0
  2. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/08/00/0ca5d9c568676e6c1348746956758607473297193298d3daf6942d5a10195175083e3a25b1d353ae539d6c8ec2f9799a59cdc6385066f4c45b63650faf4b +1 -0
  3. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/0c/7a/916bd866cb386cc87b9ea07c40edc23df9d726d1865e6699b42dedfbfb2a8364ced191aa62680a9297d7644cdfa64753b8975cc254c7c581f28bba0acd15 +1 -0
  4. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/0f/64/5529707a758edfd436e81d4f087fb08604b393418b3e62de8670320e45f6bce9f906d2049b04e253452ed3a9de294a77177d3edda706317d12a4e2e3f178 +1 -0
  5. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/0f/87/cc75b2e2048387a29af168ce6ef16af778b2493edb5c300be18c00aee265046b76757ef1529035538757e8d67939641c5e6e973f8b16f15454b6388ad458 +1 -0
  6. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/17/3d/a3d4360ab89b973ee847c01166ca61a5e706c444eeba448460e1ea210042c0475eff7b1625378c4adf0c650dbcbd29b1fbd2118462682e6d2d6a7f725070 +1 -0
  7. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/1d/78/8bb45acaf12d07da78505c3db11a6ddf4fcd67a02759a709602732d23c57539a455e48673c232ea7877cabaae9b5a5f36e5cc3f7d6678408d7e10755efba +1 -0
  8. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/23/e0/0cef272ca5d493a181999e846b505b18ae907e32510a9ce401d6bc6840178abc845a7bad97e9fb0d316610bb5a50eae99666cb0039456256d58b4036ce49 +1 -0
  9. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/2e/d1/fd1e76ed0e0ac117aa0f151a37dfa2ee1f0d20c16efd25eb2dda914a0f4851c8c9138c2ab2668875cccbe7d8dc1316fb876ed602997c3d88b38f3d69608e +1 -0
  10. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/31/99/f134b57b17c5d3103bdc44b1239f7f055f77f47908a3e4ca303d78f8c7aad4c761a484a0764aa88e5f1070f562c5d7162b1117e8042317f8c04dc66a2cbf +1 -0
  11. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/3d/64/86fe297363ae06dc259f28eb85b668db3c3d27ad69c47346c1e59a2d37b5c6f731012a3b9d01cc73ee884db76c073e99db6ee36fb6e1b5794bb0c484961e +1 -0
  12. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/42/9c/a4f0fde0c259e691af5cf126924ad62858e9ae786b06ffc5850e055468961a6b63ceb1a5cc354d0977edb106fb7bd5057b2baa2f0f12332b324fdef8a97e +1 -0
  13. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/43/05/c86feb68c6e6f17d2b1e7d4aadfbef2f8554b42c9e0b7516b22a7c34044b513c23987b00507d17cb8f89b9b762b5499483d4ec16708519940e00cee5863a +1 -0
  14. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/80/a9/22e1ed72240bfe87859c1bb6e137adf1fe7c9b964b292c7a673096cc8a2212faba3fe40e87bb0de133480e5431249a95a061993f951283f8938f44441d99 +1 -0
  15. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/88/b1/ab008f87cb691ee85bafcbfba0099140aedcb361b606ae9b5ff3daaaf49cb7887d30006d4410498b424b617308ad43973427a9c75dca8b601e937de82903 +1 -0
  16. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/90/dc/6f232859c1661d7bce8d938eb857811a2a242f1af32be5471f4a7afcc79112d8fe2f1cd10733eb6ab2f4b122128c9bcb59ef79f665e8bdc822fb619cf71d +1 -0
  17. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/9c/21/3b8af7b6ee09c29bf340610026191af56f9ba1cba1f5e4476424775d5e322f84d7e900c4d264d39804cebf3dcb5aaa5eb5e9d8fd143bc3a8aa76c3d5325e +1 -0
  18. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/9e/97/4bd03d23dac20b2f42285a12bfbe2e97b7748ee9c08fa5676ddee66a592163ba91b8fb54ebc6e8bffd3189c6da675d90fa49215f1680e7975c2cfe62761c +1 -0
  19. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/a1/c9/d53b052617ead62a7a7ed222aefa04fdf88179f1ff22757a51e02a461f14a960ddb4d4c58410193564bbc0b9b471fdf675e528650bfadffdf1f05a51fb1c +1 -0
  20. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/af/5c/97d9a08342685ee95844b54aed260370df0de7c2408ec7b14f7da3972c811ee5a4cae7be4f51de07dd039c8639ec4e9008733bcf0b6a438b29a83d7fabe3 +1 -0
  21. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/b0/46/27a4e3a91d820fa6a969339352dbc5bc7859f0d2746fdf36761e6e33fecbcb95df73a34b987fbbf7380301fd5e48f4c20d5a89f13d192267bbae54c264df +1 -0
  22. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/b9/43/d9b11991e00343f553202c8e7633fe94ee5517bcd0481dde31e5efd1fe93bf46d3670d468a21f152bcaaad9daf8d2e9d3ed38c67225065dc2a611106f0a0 +1 -0
  23. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/b9/6c/40f7b79417755e63c59cb241b5d8937ccb1e98935edaaaff140754d194464cadde591529dea2b658e6ed3683a2a1c6ab2f4b5af0b7442e205ed2a3202d12 +1 -0
  24. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/ba/5d/d939f6c0890924d0234b6253e4c7baab7e285c4e9e3b838d4f223f5365ce00c421e48383fc21ecdf847e1592936f5be80b0d20ea3db471bfe39e181c091a +1 -0
  25. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/c4/04/38e045ef1f5a08780250af79817fdce229ac2877ef258d020696429e97ee56400a38a10e754119a5040bd9a61a9e6c9bad2b67e1b2230cc7f6c08cee2012 +1 -0
  26. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/d8/60/f8b2e8223de247915d7167a52ab1db89c1aa95b1cc2ae546ae1a3ae861f168ca7f2eacd745a5aac3bf7dab1810bab18800713a96bc2cc0d9546a42584838 +1 -0
  27. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/d9/b2/b1726711a073649fd2f04130f98572fe77af95a6edd6b11cb813468c7f07a0423c5f618ab3420f2998c71967ba6464e8d77888371f74ad6e7cdbe30731e0 +1 -0
  28. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/e2/ab/084476c66de117be0fc8df1ac2ad3610491dece2f450a8d631bbae35ba9336b1fc1b1fee30bc5a224cf2e42ef97651a98787610cc9bb76a8795b01ddf844 +1 -0
  29. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/e9/ca/53ff813610ae5d57a25518e6546b659a092de2c929fd43130db59358947aa9aa5797289f7ca39fe550d2e41050a69cb26e6b5dd6ebbcae0207ab08474dc8 +1 -0
  30. package/.angular/cache/17.3.11/ng-packagr/content-v2/sha512/eb/88/6891253bdfd039f6cff6fba9605cdd56af0ac6b6ac89f75b9c50ef9d4efab72e99b7df88a963ec1d616e515bd8492b4a7d08ce1128f6b37348cba49b31d4 +1 -0
  31. package/.angular/cache/17.3.11/ng-packagr/index-v5/10/3e/bfb4a4f2af67449cde67fce4c2622d0e0b0882a10117aba630be789d00cb +2 -0
  32. package/.angular/cache/17.3.11/ng-packagr/index-v5/14/ba/05c03e8f139db178da4552cabab3e47e607743b3f8f591b2e88d1a670668 +2 -0
  33. package/.angular/cache/17.3.11/ng-packagr/index-v5/15/39/e3511d5e68c4dcc26982fb854c4f4ae6067ebe79a2fea69c3c3b74b8fb8e +2 -0
  34. package/.angular/cache/17.3.11/ng-packagr/index-v5/15/c8/41eb6ff0b4b294e4b0663dfae1cc402fd89f1871e37ff99308b8db1e312d +2 -0
  35. package/.angular/cache/17.3.11/ng-packagr/index-v5/22/7c/80262d5400fc47a73d4de35e8d2d1273ac92a2a0510a072834aa8700ea3a +2 -0
  36. package/.angular/cache/17.3.11/ng-packagr/index-v5/30/17/d10c504815c39561191351fac35a1899a5c8518773a8714413d7f4f2cfe7 +2 -0
  37. package/.angular/cache/17.3.11/ng-packagr/index-v5/40/b0/85f91e5998d97604bbd588622a3f7883c5090ba2aa5f2380d11a919fad49 +2 -0
  38. package/.angular/cache/17.3.11/ng-packagr/index-v5/47/6f/3ccf073a4a3e77309ec535e446b6ae48554dac2d6bdbb71d2e9a5da03e2a +2 -0
  39. package/.angular/cache/17.3.11/ng-packagr/index-v5/50/3f/7fa40d24c1a57e94a3440546ddec4ad5e9ea45401fa3c72e44b4d667897a +2 -0
  40. package/.angular/cache/17.3.11/ng-packagr/index-v5/53/60/94e0d21330be8f51888ff5800ee4f88d2dabaf62a05efb920402f3b0a8a9 +2 -0
  41. package/.angular/cache/17.3.11/ng-packagr/index-v5/58/f1/f5e623ce81fd5bbbd6b3f2e68c40525fc9254ea89c755af2fec60d83565b +2 -0
  42. package/.angular/cache/17.3.11/ng-packagr/index-v5/59/92/f6d91a3a1f120ebfb4d4f5dbb1b93db2cdc0ad3de1bbca13a11c5f579fc0 +2 -0
  43. package/.angular/cache/17.3.11/ng-packagr/index-v5/5d/67/2d0960a9d9b59393a51c97cab5782ba59cc8a0529c152d2698db3bf0331c +2 -0
  44. package/.angular/cache/17.3.11/ng-packagr/index-v5/5d/ba/20dc4ab0920555881535690446c05d09d79ad3ec8a1184f80f4f4eb6fb15 +2 -0
  45. package/.angular/cache/17.3.11/ng-packagr/index-v5/60/fc/06c32c2088791e55b2b2fa3bb7f9078a23508cec2ceb5d584aa5101e686e +2 -0
  46. package/.angular/cache/17.3.11/ng-packagr/index-v5/70/c6/3de3ab6d8cd97a9723b4bc8b0d6b747acd853be33f7502e57204ebe6543f +2 -0
  47. package/.angular/cache/17.3.11/ng-packagr/index-v5/72/2d/375128f89bae1a60ad985a33f4b153b583ac8c8fb947733a475cd43b37d8 +2 -0
  48. package/.angular/cache/17.3.11/ng-packagr/index-v5/7b/0b/eab56c95f2af77017e2a4ac90bf24eb33f368b47f2d30eb381fd5fb67eca +2 -0
  49. package/.angular/cache/17.3.11/ng-packagr/index-v5/8c/e2/44ef271b53872b9ce3939f6aa2529036add9fd99c43966917a2960f6e16d +2 -0
  50. package/.angular/cache/17.3.11/ng-packagr/index-v5/90/ae/4f675f5fa3ea045bea3beceb382a3c146396eec2b78e4c467881ca9201ea +2 -0
  51. package/.angular/cache/17.3.11/ng-packagr/index-v5/92/48/d893b8061214f8a744f666769b867db45d6de5ec76c9cd2e54acd94b3a53 +2 -0
  52. package/.angular/cache/17.3.11/ng-packagr/index-v5/9a/a4/a78c45687a5e227573c93d84612ebd91e426edce74f47ccf745ee902aa44 +2 -0
  53. package/.angular/cache/17.3.11/ng-packagr/index-v5/a9/a2/6e6efd315d7d9304881c9d52d710f88cc9576c8e810b3f9ae42f40675dd2 +2 -0
  54. package/.angular/cache/17.3.11/ng-packagr/index-v5/b6/f6/8e429f4c067378f16cc9f05894a168026d2e3e80ba7a193bdcaed4e80929 +2 -0
  55. package/.angular/cache/17.3.11/ng-packagr/index-v5/c0/15/2b2d30407871742bd4b6a71865b485a31f03a9ad8e7ef99b1b77433b7396 +2 -0
  56. package/.angular/cache/17.3.11/ng-packagr/index-v5/cd/15/f136da98aad326b92f6aa32a1a1b1ceeb60d5d679febb8abf5371274a724 +2 -0
  57. package/.angular/cache/17.3.11/ng-packagr/index-v5/d6/7b/3b70d34adcbad9dbf227866b3cb3f6d53ee064e6c188411cce949cf107b6 +2 -0
  58. package/.angular/cache/17.3.11/ng-packagr/index-v5/d7/1d/2fa87e8361aa205f0808ebc18932bcbe909ffc2d642e10744362ae8bdf98 +2 -0
  59. package/.angular/cache/17.3.11/ng-packagr/index-v5/e6/57/792d6a77a40d99eb3a0235f77f3bca76da031a7d43a24236205000b3e246 +2 -0
  60. package/.angular/cache/17.3.11/ng-packagr/index-v5/fc/48/ce2f43b95216107e0944aa38aeac10ad25105a2a7a7f1f347879611ad96e +2 -0
  61. package/.angular/cache/17.3.11/ng-packagr/tsbuildinfo/formio-angular-auth.tsbuildinfo +1 -0
  62. package/.angular/cache/17.3.11/ng-packagr/tsbuildinfo/formio-angular-embed.tsbuildinfo +1 -0
  63. package/.angular/cache/17.3.11/ng-packagr/tsbuildinfo/formio-angular-grid.tsbuildinfo +1 -0
  64. package/.angular/cache/17.3.11/ng-packagr/tsbuildinfo/formio-angular-manager.tsbuildinfo +1 -0
  65. package/.angular/cache/17.3.11/ng-packagr/tsbuildinfo/formio-angular-resource.tsbuildinfo +1 -0
  66. package/.angular/cache/17.3.11/ng-packagr/tsbuildinfo/formio-angular.tsbuildinfo +1 -0
  67. package/.dockerignore +5 -0
  68. package/.editorconfig +13 -0
  69. package/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
  70. package/.github/ISSUE_TEMPLATE/custom-components-support-request.md +15 -0
  71. package/.github/ISSUE_TEMPLATE/question.md +8 -0
  72. package/.github/pull_request_template.md +35 -0
  73. package/.github/workflows/ci.yml +231 -0
  74. package/.travis.yml +4 -0
  75. package/.yo-rc.json +7 -0
  76. package/CHANGELOG.md +1195 -0
  77. package/Dockerfile +20 -0
  78. package/LICENSE +21 -0
  79. package/README.md +204 -13
  80. package/angular.json +38 -0
  81. package/bs-config.json +11 -0
  82. package/dist/angular-formio/README.md +24 -0
  83. package/{esm2022 → dist/angular-formio/esm2022}/FormioBaseComponent.mjs +9 -9
  84. package/{esm2022 → dist/angular-formio/esm2022}/auth/auth.component.mjs +3 -3
  85. package/{esm2022 → dist/angular-formio/esm2022}/auth/auth.config.mjs +3 -3
  86. package/{esm2022 → dist/angular-formio/esm2022}/auth/auth.module.mjs +4 -4
  87. package/dist/angular-formio/esm2022/auth/auth.service.mjs +199 -0
  88. package/{esm2022 → dist/angular-formio/esm2022}/auth/login/login.component.mjs +3 -3
  89. package/{esm2022 → dist/angular-formio/esm2022}/auth/register/register.component.mjs +3 -3
  90. package/{esm2022 → dist/angular-formio/esm2022}/auth/resetpass/resetpass.component.mjs +3 -3
  91. package/{esm2022 → dist/angular-formio/esm2022}/components/alerts/formio.alerts.component.mjs +3 -3
  92. package/{esm2022 → dist/angular-formio/esm2022}/components/alerts/parse-html-content.pipe.mjs +3 -3
  93. package/dist/angular-formio/esm2022/components/formbuilder/formbuilder.component.mjs +202 -0
  94. package/dist/angular-formio/esm2022/components/formio/formio.component.mjs +43 -0
  95. package/dist/angular-formio/esm2022/components/formioreport/formioreport.component.mjs +89 -0
  96. package/{esm2022 → dist/angular-formio/esm2022}/components/loader/formio.loader.component.mjs +3 -3
  97. package/{esm2022 → dist/angular-formio/esm2022}/custom-tags.service.mjs +3 -3
  98. package/{esm2022 → dist/angular-formio/esm2022}/formio.config.mjs +4 -4
  99. package/{esm2022 → dist/angular-formio/esm2022}/formio.module.mjs +4 -4
  100. package/dist/angular-formio/esm2022/formio.utils.mjs +23 -0
  101. package/{esm2022 → dist/angular-formio/esm2022}/grid/GridBodyComponent.mjs +3 -3
  102. package/{esm2022 → dist/angular-formio/esm2022}/grid/GridFooterComponent.mjs +3 -3
  103. package/{esm2022 → dist/angular-formio/esm2022}/grid/GridHeaderComponent.mjs +3 -3
  104. package/{esm2022 → dist/angular-formio/esm2022}/grid/form/FormGridBody.component.mjs +3 -3
  105. package/{esm2022 → dist/angular-formio/esm2022}/grid/form/FormGridFooter.component.mjs +5 -5
  106. package/{esm2022 → dist/angular-formio/esm2022}/grid/form/FormGridHeader.component.mjs +3 -3
  107. package/{esm2022 → dist/angular-formio/esm2022}/grid/form/time-since.pipe.mjs +3 -3
  108. package/{esm2022 → dist/angular-formio/esm2022}/grid/grid.component.mjs +3 -3
  109. package/{esm2022 → dist/angular-formio/esm2022}/grid/grid.module.mjs +4 -4
  110. package/{esm2022 → dist/angular-formio/esm2022}/grid/grid.service.mjs +3 -3
  111. package/{esm2022 → dist/angular-formio/esm2022}/grid/submission/SubmissionGridBody.component.mjs +3 -3
  112. package/{esm2022 → dist/angular-formio/esm2022}/grid/submission/SubmissionGridFooter.component.mjs +3 -3
  113. package/{esm2022 → dist/angular-formio/esm2022}/grid/submission/SubmissionGridHeader.component.mjs +3 -3
  114. package/{esm2022 → dist/angular-formio/esm2022}/manager/create/create.component.mjs +3 -3
  115. package/{esm2022 → dist/angular-formio/esm2022}/manager/delete/delete.component.mjs +3 -3
  116. package/{esm2022 → dist/angular-formio/esm2022}/manager/edit/edit.component.mjs +5 -4
  117. package/{esm2022 → dist/angular-formio/esm2022}/manager/form/form.component.mjs +3 -3
  118. package/{esm2022 → dist/angular-formio/esm2022}/manager/form-manager.config.mjs +3 -3
  119. package/{esm2022 → dist/angular-formio/esm2022}/manager/form-manager.module.mjs +4 -4
  120. package/{esm2022 → dist/angular-formio/esm2022}/manager/form-manager.service.mjs +3 -3
  121. package/{esm2022 → dist/angular-formio/esm2022}/manager/index/index.component.mjs +5 -7
  122. package/{esm2022 → dist/angular-formio/esm2022}/manager/submission/delete/delete.component.mjs +3 -3
  123. package/{esm2022 → dist/angular-formio/esm2022}/manager/submission/edit/edit.component.mjs +3 -3
  124. package/{esm2022 → dist/angular-formio/esm2022}/manager/submission/index/index.component.mjs +3 -3
  125. package/dist/angular-formio/esm2022/manager/submission/submission/submission.component.mjs +29 -0
  126. package/{esm2022 → dist/angular-formio/esm2022}/manager/submission/view/view.component.mjs +3 -3
  127. package/{esm2022 → dist/angular-formio/esm2022}/manager/view/view.component.mjs +3 -3
  128. package/{esm2022 → dist/angular-formio/esm2022}/resource/create/create.component.mjs +3 -3
  129. package/{esm2022 → dist/angular-formio/esm2022}/resource/delete/delete.component.mjs +3 -3
  130. package/{esm2022 → dist/angular-formio/esm2022}/resource/edit/edit.component.mjs +3 -3
  131. package/{esm2022 → dist/angular-formio/esm2022}/resource/index/index.component.mjs +3 -3
  132. package/{esm2022 → dist/angular-formio/esm2022}/resource/resource.component.mjs +3 -3
  133. package/{esm2022 → dist/angular-formio/esm2022}/resource/resource.config.mjs +3 -3
  134. package/{esm2022 → dist/angular-formio/esm2022}/resource/resource.module.mjs +4 -4
  135. package/dist/angular-formio/esm2022/resource/resource.service.mjs +231 -0
  136. package/{esm2022 → dist/angular-formio/esm2022}/resource/resources.service.mjs +3 -3
  137. package/{esm2022 → dist/angular-formio/esm2022}/resource/view/view.component.mjs +3 -3
  138. package/{fesm2022 → dist/angular-formio/fesm2022}/formio-angular-auth.mjs +23 -23
  139. package/dist/angular-formio/fesm2022/formio-angular-auth.mjs.map +1 -0
  140. package/{fesm2022 → dist/angular-formio/fesm2022}/formio-angular-grid.mjs +41 -41
  141. package/dist/angular-formio/fesm2022/formio-angular-grid.mjs.map +1 -0
  142. package/{fesm2022 → dist/angular-formio/fesm2022}/formio-angular-manager.mjs +46 -47
  143. package/dist/angular-formio/fesm2022/formio-angular-manager.mjs.map +1 -0
  144. package/{fesm2022 → dist/angular-formio/fesm2022}/formio-angular-resource.mjs +35 -33
  145. package/dist/angular-formio/fesm2022/formio-angular-resource.mjs.map +1 -0
  146. package/dist/angular-formio/fesm2022/formio-angular.mjs +1188 -0
  147. package/dist/angular-formio/fesm2022/formio-angular.mjs.map +1 -0
  148. package/{formio.utils.d.ts.map → dist/angular-formio/formio.utils.d.ts.map} +1 -1
  149. package/{manager → dist/angular-formio/manager}/edit/edit.component.d.ts.map +1 -1
  150. package/{manager → dist/angular-formio/manager}/index/index.component.d.ts.map +1 -1
  151. package/{resource → dist/angular-formio/resource}/resource.service.d.ts.map +1 -1
  152. package/package.json +55 -63
  153. package/projects/angular-formio/README.md +24 -0
  154. package/projects/angular-formio/auth/ng-package.json +5 -0
  155. package/projects/angular-formio/auth/src/auth.component.html +11 -0
  156. package/projects/angular-formio/auth/src/auth.component.ts +5 -0
  157. package/projects/angular-formio/auth/src/auth.config.ts +72 -0
  158. package/projects/angular-formio/auth/src/auth.module.ts +33 -0
  159. package/projects/angular-formio/auth/src/auth.routes.ts +34 -0
  160. package/projects/angular-formio/auth/src/auth.service.ts +221 -0
  161. package/projects/angular-formio/auth/src/index.ts +8 -0
  162. package/projects/angular-formio/auth/src/login/login.component.html +1 -0
  163. package/projects/angular-formio/auth/src/login/login.component.ts +11 -0
  164. package/projects/angular-formio/auth/src/public_api.ts +5 -0
  165. package/projects/angular-formio/auth/src/register/register.component.html +1 -0
  166. package/projects/angular-formio/auth/src/register/register.component.ts +11 -0
  167. package/projects/angular-formio/auth/src/resetpass/resetpass.component.html +1 -0
  168. package/projects/angular-formio/auth/src/resetpass/resetpass.component.ts +8 -0
  169. package/projects/angular-formio/grid/ng-package.json +5 -0
  170. package/projects/angular-formio/grid/src/GridBodyComponent.ts +80 -0
  171. package/projects/angular-formio/grid/src/GridFooterComponent.ts +25 -0
  172. package/projects/angular-formio/grid/src/GridHeaderComponent.ts +25 -0
  173. package/projects/angular-formio/grid/src/form/FormGridBody.component.html +22 -0
  174. package/projects/angular-formio/grid/src/form/FormGridBody.component.scss +4 -0
  175. package/projects/angular-formio/grid/src/form/FormGridBody.component.ts +46 -0
  176. package/projects/angular-formio/grid/src/form/FormGridFooter.component.html +21 -0
  177. package/projects/angular-formio/grid/src/form/FormGridFooter.component.ts +23 -0
  178. package/projects/angular-formio/grid/src/form/FormGridHeader.component.html +18 -0
  179. package/projects/angular-formio/grid/src/form/FormGridHeader.component.ts +24 -0
  180. package/projects/angular-formio/grid/src/form/index.ts +8 -0
  181. package/projects/angular-formio/grid/src/form/time-since.pipe.ts +31 -0
  182. package/projects/angular-formio/grid/src/grid.component.html +18 -0
  183. package/projects/angular-formio/grid/src/grid.component.scss +9 -0
  184. package/projects/angular-formio/grid/src/grid.component.ts +242 -0
  185. package/projects/angular-formio/grid/src/grid.footer.scss +14 -0
  186. package/projects/angular-formio/grid/src/grid.module.ts +49 -0
  187. package/projects/angular-formio/grid/src/grid.service.ts +16 -0
  188. package/projects/angular-formio/grid/src/index.ts +12 -0
  189. package/projects/angular-formio/grid/src/public_api.ts +5 -0
  190. package/projects/angular-formio/grid/src/submission/SubmissionGridBody.component.html +7 -0
  191. package/projects/angular-formio/grid/src/submission/SubmissionGridBody.component.ts +39 -0
  192. package/projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.html +18 -0
  193. package/projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.ts +20 -0
  194. package/projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.html +11 -0
  195. package/projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.ts +73 -0
  196. package/projects/angular-formio/grid/src/submission/index.ts +8 -0
  197. package/projects/angular-formio/grid/src/types/grid-column.ts +7 -0
  198. package/projects/angular-formio/grid/src/types/grid-footer-positions.ts +5 -0
  199. package/projects/angular-formio/grid/src/types/grid-header.ts +14 -0
  200. package/projects/angular-formio/karma.conf.js +32 -0
  201. package/projects/angular-formio/manager/ng-package.json +5 -0
  202. package/projects/angular-formio/manager/src/create/create.component.ts +11 -0
  203. package/projects/angular-formio/manager/src/delete/delete.component.html +6 -0
  204. package/projects/angular-formio/manager/src/delete/delete.component.ts +37 -0
  205. package/projects/angular-formio/manager/src/edit/edit.component.html +19 -0
  206. package/projects/angular-formio/manager/src/edit/edit.component.ts +111 -0
  207. package/projects/angular-formio/manager/src/form/form.component.html +32 -0
  208. package/projects/angular-formio/manager/src/form/form.component.ts +73 -0
  209. package/projects/angular-formio/manager/src/form-manager.config.ts +31 -0
  210. package/projects/angular-formio/manager/src/form-manager.module.ts +54 -0
  211. package/projects/angular-formio/manager/src/form-manager.routes.ts +75 -0
  212. package/projects/angular-formio/manager/src/form-manager.service.ts +190 -0
  213. package/projects/angular-formio/manager/src/index/index.component.html +14 -0
  214. package/projects/angular-formio/manager/src/index/index.component.scss +22 -0
  215. package/projects/angular-formio/manager/src/index/index.component.ts +98 -0
  216. package/projects/angular-formio/manager/src/index.ts +16 -0
  217. package/projects/angular-formio/manager/src/public_api.ts +5 -0
  218. package/projects/angular-formio/manager/src/submission/delete/delete.component.html +6 -0
  219. package/projects/angular-formio/manager/src/submission/delete/delete.component.ts +26 -0
  220. package/projects/angular-formio/manager/src/submission/edit/edit.component.html +7 -0
  221. package/projects/angular-formio/manager/src/submission/edit/edit.component.ts +18 -0
  222. package/projects/angular-formio/manager/src/submission/index/index.component.html +1 -0
  223. package/projects/angular-formio/manager/src/submission/index/index.component.ts +18 -0
  224. package/projects/angular-formio/manager/src/submission/submission/submission.component.html +8 -0
  225. package/projects/angular-formio/manager/src/submission/submission/submission.component.ts +24 -0
  226. package/projects/angular-formio/manager/src/submission/view/view.component.html +7 -0
  227. package/projects/angular-formio/manager/src/submission/view/view.component.ts +9 -0
  228. package/projects/angular-formio/manager/src/view/view.component.html +11 -0
  229. package/projects/angular-formio/manager/src/view/view.component.ts +44 -0
  230. package/projects/angular-formio/ng-package.json +7 -0
  231. package/projects/angular-formio/package.json +37 -0
  232. package/projects/angular-formio/resource/ng-package.json +5 -0
  233. package/projects/angular-formio/resource/src/create/create.component.html +13 -0
  234. package/projects/angular-formio/resource/src/create/create.component.scss +3 -0
  235. package/projects/angular-formio/resource/src/create/create.component.ts +37 -0
  236. package/projects/angular-formio/resource/src/delete/delete.component.html +5 -0
  237. package/projects/angular-formio/resource/src/delete/delete.component.ts +24 -0
  238. package/projects/angular-formio/resource/src/edit/edit.component.html +7 -0
  239. package/projects/angular-formio/resource/src/edit/edit.component.ts +35 -0
  240. package/projects/angular-formio/resource/src/index/index.component.html +10 -0
  241. package/projects/angular-formio/resource/src/index/index.component.ts +64 -0
  242. package/projects/angular-formio/resource/src/index.js +24 -0
  243. package/projects/angular-formio/resource/src/index.ts +11 -0
  244. package/projects/angular-formio/resource/src/public_api.ts +5 -0
  245. package/projects/angular-formio/resource/src/resource.component.html +7 -0
  246. package/projects/angular-formio/resource/src/resource.component.ts +48 -0
  247. package/projects/angular-formio/resource/src/resource.config.ts +17 -0
  248. package/projects/angular-formio/resource/src/resource.module.ts +43 -0
  249. package/projects/angular-formio/resource/src/resource.routes.ts +43 -0
  250. package/projects/angular-formio/resource/src/resource.service.ts +260 -0
  251. package/projects/angular-formio/resource/src/resources.service.ts +24 -0
  252. package/projects/angular-formio/resource/src/view/view.component.html +6 -0
  253. package/projects/angular-formio/resource/src/view/view.component.ts +19 -0
  254. package/projects/angular-formio/src/FormioBaseComponent.ts +554 -0
  255. package/projects/angular-formio/src/components/alerts/formio.alerts.component.html +3 -0
  256. package/projects/angular-formio/src/components/alerts/formio.alerts.component.ts +19 -0
  257. package/projects/angular-formio/src/components/alerts/formio.alerts.ts +21 -0
  258. package/projects/angular-formio/src/components/alerts/parse-html-content.pipe.ts +15 -0
  259. package/projects/angular-formio/src/components/formbuilder/formbuilder.component.html +1 -0
  260. package/projects/angular-formio/src/components/formbuilder/formbuilder.component.ts +213 -0
  261. package/projects/angular-formio/src/components/formio/formio.component.html +8 -0
  262. package/projects/angular-formio/src/components/formio/formio.component.ts +33 -0
  263. package/projects/angular-formio/src/components/formioreport/formioreport.component.html +8 -0
  264. package/projects/angular-formio/src/components/formioreport/formioreport.component.ts +95 -0
  265. package/projects/angular-formio/src/components/loader/formio.loader.component.html +3 -0
  266. package/projects/angular-formio/src/components/loader/formio.loader.component.scss +26 -0
  267. package/projects/angular-formio/src/components/loader/formio.loader.component.ts +10 -0
  268. package/projects/angular-formio/src/core.ts +19 -0
  269. package/projects/angular-formio/src/custom-tags.service.ts +9 -0
  270. package/projects/angular-formio/src/formio-promise.service.ts +36 -0
  271. package/projects/angular-formio/src/formio.common.ts +90 -0
  272. package/projects/angular-formio/src/formio.config.ts +27 -0
  273. package/projects/angular-formio/src/formio.module.ts +38 -0
  274. package/projects/angular-formio/src/formio.service.ts +57 -0
  275. package/projects/angular-formio/src/formio.utils.ts +25 -0
  276. package/projects/angular-formio/src/index.ts +3 -0
  277. package/projects/angular-formio/src/public-api.ts +5 -0
  278. package/projects/angular-formio/src/test.ts +28 -0
  279. package/projects/angular-formio/src/types/alerts-position.ts +6 -0
  280. package/projects/angular-formio/src/types/formio-metadata.ts +10 -0
  281. package/projects/angular-formio/src/types/formio-submission.ts +20 -0
  282. package/projects/angular-formio/tsconfig.lib.json +27 -0
  283. package/projects/angular-formio/tsconfig.lib.prod.json +8 -0
  284. package/projects/angular-formio/tsconfig.spec.json +17 -0
  285. package/projects/angular-formio/tslint.json +17 -0
  286. package/tsconfig.json +40 -0
  287. package/tslint.json +140 -0
  288. package/embed/app.service.d.ts +0 -28
  289. package/embed/app.service.d.ts.map +0 -1
  290. package/embed/builder.component.d.ts +0 -13
  291. package/embed/builder.component.d.ts.map +0 -1
  292. package/embed/embed.module.d.ts +0 -10
  293. package/embed/embed.module.d.ts.map +0 -1
  294. package/embed/formio-angular-embed.d.ts.map +0 -1
  295. package/embed/formio.component.d.ts +0 -16
  296. package/embed/formio.component.d.ts.map +0 -1
  297. package/embed/index.d.ts +0 -7
  298. package/embed/index.d.ts.map +0 -1
  299. package/esm2022/auth/auth.service.mjs +0 -199
  300. package/esm2022/components/formbuilder/formbuilder.component.mjs +0 -202
  301. package/esm2022/components/formio/formio.component.mjs +0 -43
  302. package/esm2022/components/formioreport/formioreport.component.mjs +0 -89
  303. package/esm2022/embed/app.service.mjs +0 -58
  304. package/esm2022/embed/builder.component.mjs +0 -36
  305. package/esm2022/embed/embed.module.mjs +0 -35
  306. package/esm2022/embed/formio-angular-embed.mjs +0 -5
  307. package/esm2022/embed/formio.component.mjs +0 -50
  308. package/esm2022/embed/index.mjs +0 -7
  309. package/esm2022/formio.utils.mjs +0 -21
  310. package/esm2022/manager/submission/submission/submission.component.mjs +0 -29
  311. package/esm2022/resource/resource.service.mjs +0 -229
  312. package/fesm2022/formio-angular-auth.mjs.map +0 -1
  313. package/fesm2022/formio-angular-embed.mjs +0 -176
  314. package/fesm2022/formio-angular-embed.mjs.map +0 -1
  315. package/fesm2022/formio-angular-grid.mjs.map +0 -1
  316. package/fesm2022/formio-angular-manager.mjs.map +0 -1
  317. package/fesm2022/formio-angular-resource.mjs.map +0 -1
  318. package/fesm2022/formio-angular.mjs +0 -1186
  319. package/fesm2022/formio-angular.mjs.map +0 -1
  320. /package/{FormioBaseComponent.d.ts → dist/angular-formio/FormioBaseComponent.d.ts} +0 -0
  321. /package/{FormioBaseComponent.d.ts.map → dist/angular-formio/FormioBaseComponent.d.ts.map} +0 -0
  322. /package/{auth → dist/angular-formio/auth}/auth.component.d.ts +0 -0
  323. /package/{auth → dist/angular-formio/auth}/auth.component.d.ts.map +0 -0
  324. /package/{auth → dist/angular-formio/auth}/auth.config.d.ts +0 -0
  325. /package/{auth → dist/angular-formio/auth}/auth.config.d.ts.map +0 -0
  326. /package/{auth → dist/angular-formio/auth}/auth.module.d.ts +0 -0
  327. /package/{auth → dist/angular-formio/auth}/auth.module.d.ts.map +0 -0
  328. /package/{auth → dist/angular-formio/auth}/auth.routes.d.ts +0 -0
  329. /package/{auth → dist/angular-formio/auth}/auth.routes.d.ts.map +0 -0
  330. /package/{auth → dist/angular-formio/auth}/auth.service.d.ts +0 -0
  331. /package/{auth → dist/angular-formio/auth}/auth.service.d.ts.map +0 -0
  332. /package/{auth → dist/angular-formio/auth}/formio-angular-auth.d.ts.map +0 -0
  333. /package/{auth → dist/angular-formio/auth}/index.d.ts +0 -0
  334. /package/{auth → dist/angular-formio/auth}/index.d.ts.map +0 -0
  335. /package/{auth → dist/angular-formio/auth}/login/login.component.d.ts +0 -0
  336. /package/{auth → dist/angular-formio/auth}/login/login.component.d.ts.map +0 -0
  337. /package/{auth → dist/angular-formio/auth}/register/register.component.d.ts +0 -0
  338. /package/{auth → dist/angular-formio/auth}/register/register.component.d.ts.map +0 -0
  339. /package/{auth → dist/angular-formio/auth}/resetpass/resetpass.component.d.ts +0 -0
  340. /package/{auth → dist/angular-formio/auth}/resetpass/resetpass.component.d.ts.map +0 -0
  341. /package/{components → dist/angular-formio/components}/alerts/formio.alerts.component.d.ts +0 -0
  342. /package/{components → dist/angular-formio/components}/alerts/formio.alerts.component.d.ts.map +0 -0
  343. /package/{components → dist/angular-formio/components}/alerts/formio.alerts.d.ts +0 -0
  344. /package/{components → dist/angular-formio/components}/alerts/formio.alerts.d.ts.map +0 -0
  345. /package/{components → dist/angular-formio/components}/alerts/parse-html-content.pipe.d.ts +0 -0
  346. /package/{components → dist/angular-formio/components}/alerts/parse-html-content.pipe.d.ts.map +0 -0
  347. /package/{components → dist/angular-formio/components}/formbuilder/formbuilder.component.d.ts +0 -0
  348. /package/{components → dist/angular-formio/components}/formbuilder/formbuilder.component.d.ts.map +0 -0
  349. /package/{components → dist/angular-formio/components}/formio/formio.component.d.ts +0 -0
  350. /package/{components → dist/angular-formio/components}/formio/formio.component.d.ts.map +0 -0
  351. /package/{components → dist/angular-formio/components}/formioreport/formioreport.component.d.ts +0 -0
  352. /package/{components → dist/angular-formio/components}/formioreport/formioreport.component.d.ts.map +0 -0
  353. /package/{components → dist/angular-formio/components}/loader/formio.loader.component.d.ts +0 -0
  354. /package/{components → dist/angular-formio/components}/loader/formio.loader.component.d.ts.map +0 -0
  355. /package/{core.d.ts → dist/angular-formio/core.d.ts} +0 -0
  356. /package/{core.d.ts.map → dist/angular-formio/core.d.ts.map} +0 -0
  357. /package/{custom-tags.service.d.ts → dist/angular-formio/custom-tags.service.d.ts} +0 -0
  358. /package/{custom-tags.service.d.ts.map → dist/angular-formio/custom-tags.service.d.ts.map} +0 -0
  359. /package/{esm2022 → dist/angular-formio/esm2022}/auth/auth.routes.mjs +0 -0
  360. /package/{esm2022 → dist/angular-formio/esm2022}/auth/formio-angular-auth.mjs +0 -0
  361. /package/{esm2022 → dist/angular-formio/esm2022}/auth/index.mjs +0 -0
  362. /package/{esm2022 → dist/angular-formio/esm2022}/components/alerts/formio.alerts.mjs +0 -0
  363. /package/{esm2022 → dist/angular-formio/esm2022}/core.mjs +0 -0
  364. /package/{esm2022 → dist/angular-formio/esm2022}/formio-angular.mjs +0 -0
  365. /package/{esm2022 → dist/angular-formio/esm2022}/formio-promise.service.mjs +0 -0
  366. /package/{esm2022 → dist/angular-formio/esm2022}/formio.common.mjs +0 -0
  367. /package/{esm2022 → dist/angular-formio/esm2022}/formio.service.mjs +0 -0
  368. /package/{esm2022 → dist/angular-formio/esm2022}/grid/form/index.mjs +0 -0
  369. /package/{esm2022 → dist/angular-formio/esm2022}/grid/formio-angular-grid.mjs +0 -0
  370. /package/{esm2022 → dist/angular-formio/esm2022}/grid/index.mjs +0 -0
  371. /package/{esm2022 → dist/angular-formio/esm2022}/grid/submission/index.mjs +0 -0
  372. /package/{esm2022 → dist/angular-formio/esm2022}/grid/types/grid-column.mjs +0 -0
  373. /package/{esm2022 → dist/angular-formio/esm2022}/grid/types/grid-footer-positions.mjs +0 -0
  374. /package/{esm2022 → dist/angular-formio/esm2022}/grid/types/grid-header.mjs +0 -0
  375. /package/{esm2022 → dist/angular-formio/esm2022}/index.mjs +0 -0
  376. /package/{esm2022 → dist/angular-formio/esm2022}/manager/form-manager.routes.mjs +0 -0
  377. /package/{esm2022 → dist/angular-formio/esm2022}/manager/formio-angular-manager.mjs +0 -0
  378. /package/{esm2022 → dist/angular-formio/esm2022}/manager/index.mjs +0 -0
  379. /package/{esm2022 → dist/angular-formio/esm2022}/resource/formio-angular-resource.mjs +0 -0
  380. /package/{esm2022 → dist/angular-formio/esm2022}/resource/index.mjs +0 -0
  381. /package/{esm2022 → dist/angular-formio/esm2022}/resource/resource.routes.mjs +0 -0
  382. /package/{esm2022 → dist/angular-formio/esm2022}/types/alerts-position.mjs +0 -0
  383. /package/{esm2022 → dist/angular-formio/esm2022}/types/formio-metadata.mjs +0 -0
  384. /package/{esm2022 → dist/angular-formio/esm2022}/types/formio-submission.mjs +0 -0
  385. /package/{formio-angular.d.ts.map → dist/angular-formio/formio-angular.d.ts.map} +0 -0
  386. /package/{formio-promise.service.d.ts → dist/angular-formio/formio-promise.service.d.ts} +0 -0
  387. /package/{formio-promise.service.d.ts.map → dist/angular-formio/formio-promise.service.d.ts.map} +0 -0
  388. /package/{formio.common.d.ts → dist/angular-formio/formio.common.d.ts} +0 -0
  389. /package/{formio.common.d.ts.map → dist/angular-formio/formio.common.d.ts.map} +0 -0
  390. /package/{formio.config.d.ts → dist/angular-formio/formio.config.d.ts} +0 -0
  391. /package/{formio.config.d.ts.map → dist/angular-formio/formio.config.d.ts.map} +0 -0
  392. /package/{formio.module.d.ts → dist/angular-formio/formio.module.d.ts} +0 -0
  393. /package/{formio.module.d.ts.map → dist/angular-formio/formio.module.d.ts.map} +0 -0
  394. /package/{formio.service.d.ts → dist/angular-formio/formio.service.d.ts} +0 -0
  395. /package/{formio.service.d.ts.map → dist/angular-formio/formio.service.d.ts.map} +0 -0
  396. /package/{formio.utils.d.ts → dist/angular-formio/formio.utils.d.ts} +0 -0
  397. /package/{grid → dist/angular-formio/grid}/GridBodyComponent.d.ts +0 -0
  398. /package/{grid → dist/angular-formio/grid}/GridBodyComponent.d.ts.map +0 -0
  399. /package/{grid → dist/angular-formio/grid}/GridFooterComponent.d.ts +0 -0
  400. /package/{grid → dist/angular-formio/grid}/GridFooterComponent.d.ts.map +0 -0
  401. /package/{grid → dist/angular-formio/grid}/GridHeaderComponent.d.ts +0 -0
  402. /package/{grid → dist/angular-formio/grid}/GridHeaderComponent.d.ts.map +0 -0
  403. /package/{grid → dist/angular-formio/grid}/form/FormGridBody.component.d.ts +0 -0
  404. /package/{grid → dist/angular-formio/grid}/form/FormGridBody.component.d.ts.map +0 -0
  405. /package/{grid → dist/angular-formio/grid}/form/FormGridFooter.component.d.ts +0 -0
  406. /package/{grid → dist/angular-formio/grid}/form/FormGridFooter.component.d.ts.map +0 -0
  407. /package/{grid → dist/angular-formio/grid}/form/FormGridHeader.component.d.ts +0 -0
  408. /package/{grid → dist/angular-formio/grid}/form/FormGridHeader.component.d.ts.map +0 -0
  409. /package/{grid → dist/angular-formio/grid}/form/index.d.ts +0 -0
  410. /package/{grid → dist/angular-formio/grid}/form/index.d.ts.map +0 -0
  411. /package/{grid → dist/angular-formio/grid}/form/time-since.pipe.d.ts +0 -0
  412. /package/{grid → dist/angular-formio/grid}/form/time-since.pipe.d.ts.map +0 -0
  413. /package/{grid → dist/angular-formio/grid}/formio-angular-grid.d.ts.map +0 -0
  414. /package/{grid → dist/angular-formio/grid}/grid.component.d.ts +0 -0
  415. /package/{grid → dist/angular-formio/grid}/grid.component.d.ts.map +0 -0
  416. /package/{grid → dist/angular-formio/grid}/grid.module.d.ts +0 -0
  417. /package/{grid → dist/angular-formio/grid}/grid.module.d.ts.map +0 -0
  418. /package/{grid → dist/angular-formio/grid}/grid.service.d.ts +0 -0
  419. /package/{grid → dist/angular-formio/grid}/grid.service.d.ts.map +0 -0
  420. /package/{grid → dist/angular-formio/grid}/index.d.ts +0 -0
  421. /package/{grid → dist/angular-formio/grid}/index.d.ts.map +0 -0
  422. /package/{grid → dist/angular-formio/grid}/submission/SubmissionGridBody.component.d.ts +0 -0
  423. /package/{grid → dist/angular-formio/grid}/submission/SubmissionGridBody.component.d.ts.map +0 -0
  424. /package/{grid → dist/angular-formio/grid}/submission/SubmissionGridFooter.component.d.ts +0 -0
  425. /package/{grid → dist/angular-formio/grid}/submission/SubmissionGridFooter.component.d.ts.map +0 -0
  426. /package/{grid → dist/angular-formio/grid}/submission/SubmissionGridHeader.component.d.ts +0 -0
  427. /package/{grid → dist/angular-formio/grid}/submission/SubmissionGridHeader.component.d.ts.map +0 -0
  428. /package/{grid → dist/angular-formio/grid}/submission/index.d.ts +0 -0
  429. /package/{grid → dist/angular-formio/grid}/submission/index.d.ts.map +0 -0
  430. /package/{grid → dist/angular-formio/grid}/types/grid-column.d.ts +0 -0
  431. /package/{grid → dist/angular-formio/grid}/types/grid-column.d.ts.map +0 -0
  432. /package/{grid → dist/angular-formio/grid}/types/grid-footer-positions.d.ts +0 -0
  433. /package/{grid → dist/angular-formio/grid}/types/grid-footer-positions.d.ts.map +0 -0
  434. /package/{grid → dist/angular-formio/grid}/types/grid-header.d.ts +0 -0
  435. /package/{grid → dist/angular-formio/grid}/types/grid-header.d.ts.map +0 -0
  436. /package/{index.d.ts → dist/angular-formio/index.d.ts} +0 -0
  437. /package/{index.d.ts.map → dist/angular-formio/index.d.ts.map} +0 -0
  438. /package/{manager → dist/angular-formio/manager}/create/create.component.d.ts +0 -0
  439. /package/{manager → dist/angular-formio/manager}/create/create.component.d.ts.map +0 -0
  440. /package/{manager → dist/angular-formio/manager}/delete/delete.component.d.ts +0 -0
  441. /package/{manager → dist/angular-formio/manager}/delete/delete.component.d.ts.map +0 -0
  442. /package/{manager → dist/angular-formio/manager}/edit/edit.component.d.ts +0 -0
  443. /package/{manager → dist/angular-formio/manager}/form/form.component.d.ts +0 -0
  444. /package/{manager → dist/angular-formio/manager}/form/form.component.d.ts.map +0 -0
  445. /package/{manager → dist/angular-formio/manager}/form-manager.config.d.ts +0 -0
  446. /package/{manager → dist/angular-formio/manager}/form-manager.config.d.ts.map +0 -0
  447. /package/{manager → dist/angular-formio/manager}/form-manager.module.d.ts +0 -0
  448. /package/{manager → dist/angular-formio/manager}/form-manager.module.d.ts.map +0 -0
  449. /package/{manager → dist/angular-formio/manager}/form-manager.routes.d.ts +0 -0
  450. /package/{manager → dist/angular-formio/manager}/form-manager.routes.d.ts.map +0 -0
  451. /package/{manager → dist/angular-formio/manager}/form-manager.service.d.ts +0 -0
  452. /package/{manager → dist/angular-formio/manager}/form-manager.service.d.ts.map +0 -0
  453. /package/{manager → dist/angular-formio/manager}/formio-angular-manager.d.ts.map +0 -0
  454. /package/{manager → dist/angular-formio/manager}/index/index.component.d.ts +0 -0
  455. /package/{manager → dist/angular-formio/manager}/index.d.ts +0 -0
  456. /package/{manager → dist/angular-formio/manager}/index.d.ts.map +0 -0
  457. /package/{manager → dist/angular-formio/manager}/submission/delete/delete.component.d.ts +0 -0
  458. /package/{manager → dist/angular-formio/manager}/submission/delete/delete.component.d.ts.map +0 -0
  459. /package/{manager → dist/angular-formio/manager}/submission/edit/edit.component.d.ts +0 -0
  460. /package/{manager → dist/angular-formio/manager}/submission/edit/edit.component.d.ts.map +0 -0
  461. /package/{manager → dist/angular-formio/manager}/submission/index/index.component.d.ts +0 -0
  462. /package/{manager → dist/angular-formio/manager}/submission/index/index.component.d.ts.map +0 -0
  463. /package/{manager → dist/angular-formio/manager}/submission/submission/submission.component.d.ts +0 -0
  464. /package/{manager → dist/angular-formio/manager}/submission/submission/submission.component.d.ts.map +0 -0
  465. /package/{manager → dist/angular-formio/manager}/submission/view/view.component.d.ts +0 -0
  466. /package/{manager → dist/angular-formio/manager}/submission/view/view.component.d.ts.map +0 -0
  467. /package/{manager → dist/angular-formio/manager}/view/view.component.d.ts +0 -0
  468. /package/{manager → dist/angular-formio/manager}/view/view.component.d.ts.map +0 -0
  469. /package/{resource → dist/angular-formio/resource}/create/create.component.d.ts +0 -0
  470. /package/{resource → dist/angular-formio/resource}/create/create.component.d.ts.map +0 -0
  471. /package/{resource → dist/angular-formio/resource}/delete/delete.component.d.ts +0 -0
  472. /package/{resource → dist/angular-formio/resource}/delete/delete.component.d.ts.map +0 -0
  473. /package/{resource → dist/angular-formio/resource}/edit/edit.component.d.ts +0 -0
  474. /package/{resource → dist/angular-formio/resource}/edit/edit.component.d.ts.map +0 -0
  475. /package/{resource → dist/angular-formio/resource}/formio-angular-resource.d.ts.map +0 -0
  476. /package/{resource → dist/angular-formio/resource}/index/index.component.d.ts +0 -0
  477. /package/{resource → dist/angular-formio/resource}/index/index.component.d.ts.map +0 -0
  478. /package/{resource → dist/angular-formio/resource}/index.d.ts +0 -0
  479. /package/{resource → dist/angular-formio/resource}/index.d.ts.map +0 -0
  480. /package/{resource → dist/angular-formio/resource}/resource.component.d.ts +0 -0
  481. /package/{resource → dist/angular-formio/resource}/resource.component.d.ts.map +0 -0
  482. /package/{resource → dist/angular-formio/resource}/resource.config.d.ts +0 -0
  483. /package/{resource → dist/angular-formio/resource}/resource.config.d.ts.map +0 -0
  484. /package/{resource → dist/angular-formio/resource}/resource.module.d.ts +0 -0
  485. /package/{resource → dist/angular-formio/resource}/resource.module.d.ts.map +0 -0
  486. /package/{resource → dist/angular-formio/resource}/resource.routes.d.ts +0 -0
  487. /package/{resource → dist/angular-formio/resource}/resource.routes.d.ts.map +0 -0
  488. /package/{resource → dist/angular-formio/resource}/resource.service.d.ts +0 -0
  489. /package/{resource → dist/angular-formio/resource}/resources.service.d.ts +0 -0
  490. /package/{resource → dist/angular-formio/resource}/resources.service.d.ts.map +0 -0
  491. /package/{resource → dist/angular-formio/resource}/view/view.component.d.ts +0 -0
  492. /package/{resource → dist/angular-formio/resource}/view/view.component.d.ts.map +0 -0
  493. /package/{types → dist/angular-formio/types}/alerts-position.d.ts +0 -0
  494. /package/{types → dist/angular-formio/types}/alerts-position.d.ts.map +0 -0
  495. /package/{types → dist/angular-formio/types}/formio-metadata.d.ts +0 -0
  496. /package/{types → dist/angular-formio/types}/formio-metadata.d.ts.map +0 -0
  497. /package/{types → dist/angular-formio/types}/formio-submission.d.ts +0 -0
  498. /package/{types → dist/angular-formio/types}/formio-submission.d.ts.map +0 -0
@@ -0,0 +1 @@
1
+ {"modules":[{"ast":{"type":"Program","start":0,"end":910,"body":[{"type":"ExportNamedDeclaration","start":0,"end":31,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"VariableDeclaration","start":7,"end":31,"kind":"var","declarations":[{"type":"VariableDeclarator","start":11,"end":30,"id":{"type":"Identifier","start":11,"end":30,"name":"GridFooterPositions"},"init":null}]}},{"type":"ExpressionStatement","start":32,"end":323,"expression":{"type":"CallExpression","start":32,"end":322,"optional":false,"callee":{"type":"FunctionExpression","start":33,"end":270,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":43,"end":62,"name":"GridFooterPositions"}],"body":{"type":"BlockStatement","start":64,"end":270,"body":[{"type":"ExpressionStatement","start":70,"end":136,"expression":{"type":"AssignmentExpression","start":70,"end":135,"operator":"=","left":{"type":"MemberExpression","start":70,"end":124,"computed":true,"optional":false,"object":{"type":"Identifier","start":70,"end":89,"name":"GridFooterPositions"},"property":{"type":"AssignmentExpression","start":90,"end":123,"operator":"=","left":{"type":"MemberExpression","start":90,"end":119,"computed":true,"optional":false,"object":{"type":"Identifier","start":90,"end":109,"name":"GridFooterPositions"},"property":{"type":"Literal","start":110,"end":118,"value":"bottom","raw":"\"bottom\""}},"right":{"type":"Literal","start":122,"end":123,"raw":"0","value":0}}},"right":{"type":"Literal","start":127,"end":135,"value":"bottom","raw":"\"bottom\""}}},{"type":"ExpressionStatement","start":141,"end":201,"expression":{"type":"AssignmentExpression","start":141,"end":200,"operator":"=","left":{"type":"MemberExpression","start":141,"end":192,"computed":true,"optional":false,"object":{"type":"Identifier","start":141,"end":160,"name":"GridFooterPositions"},"property":{"type":"AssignmentExpression","start":161,"end":191,"operator":"=","left":{"type":"MemberExpression","start":161,"end":187,"computed":true,"optional":false,"object":{"type":"Identifier","start":161,"end":180,"name":"GridFooterPositions"},"property":{"type":"Literal","start":181,"end":186,"value":"top","raw":"\"top\""}},"right":{"type":"Literal","start":190,"end":191,"raw":"1","value":1}}},"right":{"type":"Literal","start":195,"end":200,"value":"top","raw":"\"top\""}}},{"type":"ExpressionStatement","start":206,"end":268,"expression":{"type":"AssignmentExpression","start":206,"end":267,"operator":"=","left":{"type":"MemberExpression","start":206,"end":258,"computed":true,"optional":false,"object":{"type":"Identifier","start":206,"end":225,"name":"GridFooterPositions"},"property":{"type":"AssignmentExpression","start":226,"end":257,"operator":"=","left":{"type":"MemberExpression","start":226,"end":253,"computed":true,"optional":false,"object":{"type":"Identifier","start":226,"end":245,"name":"GridFooterPositions"},"property":{"type":"Literal","start":246,"end":252,"value":"both","raw":"\"both\""}},"right":{"type":"Literal","start":256,"end":257,"raw":"2","value":2}}},"right":{"type":"Literal","start":261,"end":267,"value":"both","raw":"\"both\""}}}]},"expression":false},"arguments":[{"type":"LogicalExpression","start":272,"end":321,"operator":"||","left":{"type":"Identifier","start":272,"end":291,"name":"GridFooterPositions"},"right":{"type":"AssignmentExpression","start":296,"end":320,"operator":"=","left":{"type":"Identifier","start":296,"end":315,"name":"GridFooterPositions"},"right":{"type":"ObjectExpression","start":318,"end":320,"properties":[]}}}]}}],"_rollupRemoved":[{"end":910,"start":324,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"export 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 = {}));\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JpZC1mb290ZXItcG9zaXRpb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vZ3JpZC9zcmMvdHlwZXMvZ3JpZC1mb290ZXItcG9zaXRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLG1CQUlYO0FBSkQsV0FBWSxtQkFBbUI7SUFDN0IsaUVBQU0sQ0FBQTtJQUNOLDJEQUFHLENBQUE7SUFDSCw2REFBSSxDQUFBO0FBQ04sQ0FBQyxFQUpXLG1CQUFtQixLQUFuQixtQkFBbUIsUUFJOUIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBHcmlkRm9vdGVyUG9zaXRpb25zIHtcbiAgYm90dG9tLFxuICB0b3AsXG4gIGJvdGhcbn1cbiJdfQ==","customTransformCache":false,"dependencies":[],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/types/grid-footer-positions.mjs","meta":{},"moduleSideEffects":false,"originalCode":"export 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 = {}));\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JpZC1mb290ZXItcG9zaXRpb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vZ3JpZC9zcmMvdHlwZXMvZ3JpZC1mb290ZXItcG9zaXRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLG1CQUlYO0FBSkQsV0FBWSxtQkFBbUI7SUFDN0IsaUVBQU0sQ0FBQTtJQUNOLDJEQUFHLENBQUE7SUFDSCw2REFBSSxDQUFBO0FBQ04sQ0FBQyxFQUpXLG1CQUFtQixLQUFuQixtQkFBbUIsUUFJOUIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBHcmlkRm9vdGVyUG9zaXRpb25zIHtcbiAgYm90dG9tLFxuICB0b3AsXG4gIGJvdGhcbn1cbiJdfQ==","originalSourcemap":{"version":3,"file":"grid-footer-positions.js","sourceRoot":"","sources":["../../../../../projects/angular-formio/grid/src/types/grid-footer-positions.ts"],"names":[],"mappings":[[[0,0,0,0],[6,0,0,6],[7,0,0,0],[11,0,0,12],[30,0,4,1]],[[0,0,0,0],[11,0,0,12],[30,0,0,31]],[[4,0,1,2],[69,0,1,8],[70,0,1,8]],[[4,0,2,2],[63,0,2,5],[64,0,2,5]],[[4,0,3,2],[65,0,3,6],[66,0,3,6]],[[0,0,4,0],[1,0,4,1],[3,0,0,12],[22,0,0,31],[27,0,0,12],[46,0,0,31],[54,0,4,1]]],"sourcesContent":["export enum GridFooterPositions {\n bottom,\n top,\n both\n}\n"]},"resolvedIds":{},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":3702,"body":[{"type":"ImportDeclaration","start":0,"end":95,"specifiers":[{"type":"ImportSpecifier","start":9,"end":15,"imported":{"type":"Identifier","start":9,"end":15,"name":"Output"},"local":{"type":"Identifier","start":9,"end":15,"name":"Output"}},{"type":"ImportSpecifier","start":17,"end":29,"imported":{"type":"Identifier","start":17,"end":29,"name":"EventEmitter"},"local":{"type":"Identifier","start":17,"end":29,"name":"EventEmitter"}},{"type":"ImportSpecifier","start":31,"end":40,"imported":{"type":"Identifier","start":31,"end":40,"name":"ViewChild"},"local":{"type":"Identifier","start":31,"end":40,"name":"ViewChild"}},{"type":"ImportSpecifier","start":42,"end":53,"imported":{"type":"Identifier","start":42,"end":53,"name":"TemplateRef"},"local":{"type":"Identifier","start":42,"end":53,"name":"TemplateRef"}},{"type":"ImportSpecifier","start":55,"end":60,"imported":{"type":"Identifier","start":55,"end":60,"name":"Input"},"local":{"type":"Identifier","start":55,"end":60,"name":"Input"}},{"type":"ImportSpecifier","start":62,"end":71,"imported":{"type":"Identifier","start":62,"end":71,"name":"Component"},"local":{"type":"Identifier","start":62,"end":71,"name":"Component"}}],"source":{"type":"Literal","start":79,"end":94,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":96,"end":132,"specifiers":[{"type":"ImportNamespaceSpecifier","start":103,"end":110,"local":{"type":"Identifier","start":108,"end":110,"name":"i0"}}],"source":{"type":"Literal","start":116,"end":131,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":133,"end":1008,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":140,"end":1008,"decorators":[],"id":{"type":"Identifier","start":146,"end":165,"name":"GridHeaderComponent"},"superClass":null,"body":{"type":"ClassBody","start":166,"end":1008,"body":[{"type":"PropertyDefinition","start":172,"end":186,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":172,"end":185,"name":"actionAllowed"},"value":null},{"type":"PropertyDefinition","start":191,"end":196,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":191,"end":195,"name":"sort"},"value":null},{"type":"PropertyDefinition","start":201,"end":210,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":201,"end":209,"name":"template"},"value":null},{"type":"PropertyDefinition","start":215,"end":223,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":215,"end":222,"name":"headers"},"value":null},{"type":"MethodDefinition","start":228,"end":316,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":228,"end":239,"name":"constructor"},"value":{"type":"FunctionExpression","start":239,"end":316,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":242,"end":316,"body":[{"type":"ExpressionStatement","start":252,"end":270,"expression":{"type":"AssignmentExpression","start":252,"end":269,"operator":"=","left":{"type":"MemberExpression","start":252,"end":264,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":252,"end":256},"property":{"type":"Identifier","start":257,"end":264,"name":"headers"}},"right":{"type":"ArrayExpression","start":267,"end":269,"elements":[]}}},{"type":"ExpressionStatement","start":279,"end":310,"expression":{"type":"AssignmentExpression","start":279,"end":309,"operator":"=","left":{"type":"MemberExpression","start":279,"end":288,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":279,"end":283},"property":{"type":"Identifier","start":284,"end":288,"name":"sort"}},"right":{"type":"NewExpression","start":291,"end":309,"callee":{"type":"Identifier","start":295,"end":307,"name":"EventEmitter"},"arguments":[]}}}]},"expression":false},"kind":"constructor"},{"type":"MethodDefinition","start":321,"end":381,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":325,"end":335,"name":"numHeaders"},"value":{"type":"FunctionExpression","start":335,"end":381,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":338,"end":381,"body":[{"type":"ReturnStatement","start":348,"end":375,"argument":{"type":"MemberExpression","start":355,"end":374,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":355,"end":367,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":355,"end":359},"property":{"type":"Identifier","start":360,"end":367,"name":"headers"}},"property":{"type":"Identifier","start":368,"end":374,"name":"length"}}}]},"expression":false},"kind":"get"},{"type":"MethodDefinition","start":386,"end":458,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":386,"end":390,"name":"load"},"value":{"type":"FunctionExpression","start":390,"end":458,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":391,"end":397,"name":"formio"},{"type":"Identifier","start":399,"end":404,"name":"query"},{"type":"Identifier","start":406,"end":413,"name":"columns"}],"body":{"type":"BlockStatement","start":415,"end":458,"body":[{"type":"ReturnStatement","start":425,"end":452,"argument":{"type":"CallExpression","start":432,"end":451,"optional":false,"callee":{"type":"MemberExpression","start":432,"end":447,"computed":false,"optional":false,"object":{"type":"Identifier","start":432,"end":439,"name":"Promise"},"property":{"type":"Identifier","start":440,"end":447,"name":"resolve"}},"arguments":[{"type":"ArrayExpression","start":448,"end":450,"elements":[]}]}}]},"expression":false},"kind":"method"},{"type":"PropertyDefinition","start":463,"end":634,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":470,"end":474,"name":"ɵfac"},"value":{"type":"CallExpression","start":477,"end":633,"optional":false,"callee":{"type":"MemberExpression","start":477,"end":498,"computed":false,"optional":false,"object":{"type":"Identifier","start":477,"end":479,"name":"i0"},"property":{"type":"Identifier","start":480,"end":498,"name":"ɵɵngDeclareFactory"}},"arguments":[{"type":"ObjectExpression","start":499,"end":632,"properties":[{"type":"Property","start":501,"end":521,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":501,"end":511,"name":"minVersion"},"value":{"type":"Literal","start":513,"end":521,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":523,"end":541,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":523,"end":530,"name":"version"},"value":{"type":"Literal","start":532,"end":541,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":543,"end":555,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":543,"end":551,"name":"ngImport"},"value":{"type":"Identifier","start":553,"end":555,"name":"i0"},"kind":"init"},{"type":"Property","start":557,"end":582,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":557,"end":561,"name":"type"},"value":{"type":"Identifier","start":563,"end":582,"name":"GridHeaderComponent"},"kind":"init"},{"type":"Property","start":584,"end":592,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":584,"end":588,"name":"deps"},"value":{"type":"ArrayExpression","start":590,"end":592,"elements":[]},"kind":"init"},{"type":"Property","start":594,"end":630,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":594,"end":600,"name":"target"},"value":{"type":"MemberExpression","start":602,"end":630,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":602,"end":620,"computed":false,"optional":false,"object":{"type":"Identifier","start":602,"end":604,"name":"i0"},"property":{"type":"Identifier","start":605,"end":620,"name":"ɵɵFactoryTarget"}},"property":{"type":"Identifier","start":621,"end":630,"name":"Component"}},"kind":"init"}]}]}},{"type":"PropertyDefinition","start":639,"end":1006,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":646,"end":650,"name":"ɵcmp"},"value":{"type":"CallExpression","start":653,"end":1005,"optional":false,"callee":{"type":"MemberExpression","start":653,"end":676,"computed":false,"optional":false,"object":{"type":"Identifier","start":653,"end":655,"name":"i0"},"property":{"type":"Identifier","start":656,"end":676,"name":"ɵɵngDeclareComponent"}},"arguments":[{"type":"ObjectExpression","start":677,"end":1004,"properties":[{"type":"Property","start":679,"end":699,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":679,"end":689,"name":"minVersion"},"value":{"type":"Literal","start":691,"end":699,"value":"14.0.0","raw":"\"14.0.0\""},"kind":"init"},{"type":"Property","start":701,"end":719,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":701,"end":708,"name":"version"},"value":{"type":"Literal","start":710,"end":719,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":721,"end":746,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":721,"end":725,"name":"type"},"value":{"type":"Identifier","start":727,"end":746,"name":"GridHeaderComponent"},"kind":"init"},{"type":"Property","start":748,"end":772,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":748,"end":756,"name":"selector"},"value":{"type":"Literal","start":758,"end":772,"value":"ng-component","raw":"\"ng-component\""},"kind":"init"},{"type":"Property","start":774,"end":816,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":774,"end":780,"name":"inputs"},"value":{"type":"ObjectExpression","start":782,"end":816,"properties":[{"type":"Property","start":784,"end":814,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":784,"end":797,"name":"actionAllowed"},"value":{"type":"Literal","start":799,"end":814,"value":"actionAllowed","raw":"\"actionAllowed\""},"kind":"init"}]},"kind":"init"},{"type":"Property","start":818,"end":843,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":818,"end":825,"name":"outputs"},"value":{"type":"ObjectExpression","start":827,"end":843,"properties":[{"type":"Property","start":829,"end":841,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":829,"end":833,"name":"sort"},"value":{"type":"Literal","start":835,"end":841,"value":"sort","raw":"\"sort\""},"kind":"init"}]},"kind":"init"},{"type":"Property","start":845,"end":958,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":845,"end":856,"name":"viewQueries"},"value":{"type":"ArrayExpression","start":858,"end":958,"elements":[{"type":"ObjectExpression","start":859,"end":957,"properties":[{"type":"Property","start":861,"end":885,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":861,"end":873,"name":"propertyName"},"value":{"type":"Literal","start":875,"end":885,"value":"template","raw":"\"template\""},"kind":"init"},{"type":"Property","start":887,"end":898,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":887,"end":892,"name":"first"},"value":{"type":"Literal","start":894,"end":898,"value":true,"raw":"true"},"kind":"init"},{"type":"Property","start":900,"end":922,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":900,"end":909,"name":"predicate"},"value":{"type":"Identifier","start":911,"end":922,"name":"TemplateRef"},"kind":"init"},{"type":"Property","start":924,"end":941,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":924,"end":935,"name":"descendants"},"value":{"type":"Literal","start":937,"end":941,"value":true,"raw":"true"},"kind":"init"},{"type":"Property","start":943,"end":955,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":943,"end":949,"name":"static"},"value":{"type":"Literal","start":951,"end":955,"value":true,"raw":"true"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":960,"end":972,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":960,"end":968,"name":"ngImport"},"value":{"type":"Identifier","start":970,"end":972,"name":"i0"},"kind":"init"},{"type":"Property","start":974,"end":986,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":974,"end":982,"name":"template"},"value":{"type":"Literal","start":984,"end":986,"value":"","raw":"''"},"kind":"init"},{"type":"Property","start":988,"end":1002,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":988,"end":996,"name":"isInline"},"value":{"type":"Literal","start":998,"end":1002,"value":true,"raw":"true"},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":1009,"end":1531,"expression":{"type":"CallExpression","start":1009,"end":1530,"optional":false,"callee":{"type":"MemberExpression","start":1009,"end":1036,"computed":false,"optional":false,"object":{"type":"Identifier","start":1009,"end":1011,"name":"i0"},"property":{"type":"Identifier","start":1012,"end":1036,"name":"ɵɵngDeclareClassMetadata"}},"arguments":[{"type":"ObjectExpression","start":1037,"end":1529,"properties":[{"type":"Property","start":1039,"end":1059,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1039,"end":1049,"name":"minVersion"},"value":{"type":"Literal","start":1051,"end":1059,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":1061,"end":1079,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1061,"end":1068,"name":"version"},"value":{"type":"Literal","start":1070,"end":1079,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":1081,"end":1093,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1081,"end":1089,"name":"ngImport"},"value":{"type":"Identifier","start":1091,"end":1093,"name":"i0"},"kind":"init"},{"type":"Property","start":1095,"end":1120,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1095,"end":1099,"name":"type"},"value":{"type":"Identifier","start":1101,"end":1120,"name":"GridHeaderComponent"},"kind":"init"},{"type":"Property","start":1122,"end":1249,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1122,"end":1132,"name":"decorators"},"value":{"type":"ArrayExpression","start":1134,"end":1249,"elements":[{"type":"ObjectExpression","start":1135,"end":1248,"properties":[{"type":"Property","start":1149,"end":1164,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1149,"end":1153,"name":"type"},"value":{"type":"Identifier","start":1155,"end":1164,"name":"Component"},"kind":"init"},{"type":"Property","start":1178,"end":1238,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1178,"end":1182,"name":"args"},"value":{"type":"ArrayExpression","start":1184,"end":1238,"elements":[{"type":"ObjectExpression","start":1185,"end":1237,"properties":[{"type":"Property","start":1207,"end":1219,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1207,"end":1215,"name":"template"},"value":{"type":"Literal","start":1217,"end":1219,"value":"","raw":"''"},"kind":"init"}]}]},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":1251,"end":1275,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1251,"end":1265,"name":"ctorParameters"},"value":{"type":"ArrowFunctionExpression","start":1267,"end":1275,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"ArrayExpression","start":1273,"end":1275,"elements":[]},"id":null},"kind":"init"},{"type":"Property","start":1277,"end":1527,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1277,"end":1291,"name":"propDecorators"},"value":{"type":"ObjectExpression","start":1293,"end":1527,"properties":[{"type":"Property","start":1295,"end":1355,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1295,"end":1308,"name":"actionAllowed"},"value":{"type":"ArrayExpression","start":1310,"end":1355,"elements":[{"type":"ObjectExpression","start":1311,"end":1354,"properties":[{"type":"Property","start":1329,"end":1340,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1329,"end":1333,"name":"type"},"value":{"type":"Identifier","start":1335,"end":1340,"name":"Input"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":1357,"end":1409,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1357,"end":1361,"name":"sort"},"value":{"type":"ArrayExpression","start":1363,"end":1409,"elements":[{"type":"ObjectExpression","start":1364,"end":1408,"properties":[{"type":"Property","start":1382,"end":1394,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1382,"end":1386,"name":"type"},"value":{"type":"Identifier","start":1388,"end":1394,"name":"Output"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":1411,"end":1525,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1411,"end":1419,"name":"template"},"value":{"type":"ArrayExpression","start":1421,"end":1525,"elements":[{"type":"ObjectExpression","start":1422,"end":1524,"properties":[{"type":"Property","start":1440,"end":1455,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1440,"end":1444,"name":"type"},"value":{"type":"Identifier","start":1446,"end":1455,"name":"ViewChild"},"kind":"init"},{"type":"Property","start":1473,"end":1510,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1473,"end":1477,"name":"args"},"value":{"type":"ArrayExpression","start":1479,"end":1510,"elements":[{"type":"Identifier","start":1480,"end":1491,"name":"TemplateRef"},{"type":"ObjectExpression","start":1493,"end":1509,"properties":[{"type":"Property","start":1495,"end":1507,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1495,"end":1501,"name":"static"},"value":{"type":"Literal","start":1503,"end":1507,"value":true,"raw":"true"},"kind":"init"}]}]},"kind":"init"}]}]},"kind":"init"}]},"kind":"init"}]}]}}],"_rollupRemoved":[{"end":3702,"start":1532,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { Output, EventEmitter, ViewChild, TemplateRef, Input, Component } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport 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 = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: GridHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.3.12\", type: GridHeaderComponent, selector: \"ng-component\", inputs: { actionAllowed: \"actionAllowed\" }, outputs: { sort: \"sort\" }, viewQueries: [{ propertyName: \"template\", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: '', isInline: true });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: GridHeaderComponent, decorators: [{\n type: Component,\n args: [{\n template: ''\n }]\n }], ctorParameters: () => [], propDecorators: { actionAllowed: [{\n type: Input\n }], sort: [{\n type: Output\n }], template: [{\n type: ViewChild,\n args: [TemplateRef, { static: true }]\n }] } });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiR3JpZEhlYWRlckNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLC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W1wb3J0IHsgT3V0cHV0LCBFdmVudEVtaXR0ZXIsIFZpZXdDaGlsZCwgVGVtcGxhdGVSZWYsIElucHV0LCBDb21wb25lbnQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7Rm9ybWlvUHJvbWlzZVNlcnZpY2V9IGZyb20gJ0Bmb3JtaW8vYW5ndWxhcic7XG5pbXBvcnQge0dyaWRIZWFkZXJ9IGZyb20gJy4vdHlwZXMvZ3JpZC1oZWFkZXInO1xuXG5AQ29tcG9uZW50KHtcbiAgdGVtcGxhdGU6ICcnXG59KVxuZXhwb3J0IGNsYXNzIEdyaWRIZWFkZXJDb21wb25lbnQge1xuICBASW5wdXQoKSBhY3Rpb25BbGxvd2VkOiBhbnk7XG4gIEBPdXRwdXQoKSBzb3J0OiBFdmVudEVtaXR0ZXI8R3JpZEhlYWRlcj47XG4gIEBWaWV3Q2hpbGQoVGVtcGxhdGVSZWYsIHtzdGF0aWM6IHRydWV9KSB0ZW1wbGF0ZTogVGVtcGxhdGVSZWY8YW55PjtcbiAgcHVibGljIGhlYWRlcnM6IEFycmF5PEdyaWRIZWFkZXI+O1xuICBjb25zdHJ1Y3RvcigpIHtcbiAgICB0aGlzLmhlYWRlcnMgPSBbXTtcbiAgICB0aGlzLnNvcnQgPSBuZXcgRXZlbnRFbWl0dGVyKCk7XG4gIH1cblxuICBnZXQgbnVtSGVhZGVycygpIHtcbiAgICByZXR1cm4gdGhpcy5oZWFkZXJzLmxlbmd0aDtcbiAgfVxuXG4gIGxvYWQoZm9ybWlvOiBGb3JtaW9Qcm9taXNlU2VydmljZSwgcXVlcnk/OiBhbnksIGNvbHVtbnM/OiBBcnJheTxhbnk+KTogUHJvbWlzZTxhbnk+IHtcbiAgICByZXR1cm4gUHJvbWlzZS5yZXNvbHZlKFtdKTtcbiAgfVxufVxuIl19","customTransformCache":false,"dependencies":["@angular/core"],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/GridHeaderComponent.mjs","meta":{},"moduleSideEffects":false,"originalCode":"import { Output, EventEmitter, ViewChild, TemplateRef, Input, Component } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport 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 = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: GridHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.3.12\", type: GridHeaderComponent, selector: \"ng-component\", inputs: { actionAllowed: \"actionAllowed\" }, outputs: { sort: \"sort\" }, viewQueries: [{ propertyName: \"template\", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: '', isInline: true });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: GridHeaderComponent, decorators: [{\n type: Component,\n args: [{\n template: ''\n }]\n }], ctorParameters: () => [], propDecorators: { actionAllowed: [{\n type: Input\n }], sort: [{\n type: Output\n }], template: [{\n type: ViewChild,\n args: [TemplateRef, { static: true }]\n }] } });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiR3JpZEhlYWRlckNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2dyaWQvc3JjL0dyaWRIZWFkZXJDb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQUUsU0FBUyxFQUFFLE1BQU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vZ3JpZC1oZWFkZXInO1xuXG5AQ29tcG9uZW50KHtcbiAgdGVtcGxhdGU6ICcnXG59KVxuZXhwb3J0IGNsYXNzIEdyaWRIZWFkZXJDb21wb25lbnQge1xuICBASW5wdXQoKSBhY3Rpb25BbGxvd2VkOiBhbnk7XG4gIEBPdXRwdXQoKSBzb3J0OiBFdmVudEVtaXR0ZXI8R3JpZEhlYWRlcj47XG4gIEBWaWV3Q2hpbGQoVGVtcGxhdGVSZWYsIHtzdGF0aWM6IHRydWV9KSB0ZW1wbGF0ZTogVGVtcGxhdGVSZWY8YW55PjtcbiAgcHVibGljIGhlYWRlcnM6IEFycmF5PEdyaWRIZWFkZXI+O1xuICBjb25zdHJ1Y3RvcigpIHtcbiAgICB0aGlzLmhlYWRlcnMgPSBbXTtcbiAgICB0aGlzLnNvcnQgPSBuZXcgRXZlbnRFbWl0dGVyKCk7XG4gIH1cblxuICBnZXQgbnVtSGVhZGVycygpIHtcbiAgICByZXR1cm4gdGhpcy5oZWFkZXJzLmxlbmd0aDtcbiAgfVxuXG4gIGxvYWQoZm9ybWlvOiBGb3JtaW9Qcm9taXNlU2VydmljZSwgcXVlcnk/OiBhbnksIGNvbHVtbnM/OiBBcnJheTxhbnk+KTogUHJvbWlzZTxhbnk+IHtcbiAgICByZXR1cm4gUHJvbWlzZS5yZXNvbHZlKFtdKTtcbiAgfVxufVxuIl19","originalSourcemap":{"version":3,"file":"GridHeaderComponent.js","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/GridHeaderComponent.ts"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,9],[15,0,0,15],[17,0,0,17],[29,0,0,29],[31,0,0,31],[40,0,0,40],[42,0,0,42],[53,0,0,53],[55,0,0,55],[60,0,0,60],[62,0,0,62],[71,0,0,71],[73,0,0,73],[79,0,0,79],[94,0,0,94],[95,0,0,95]],[],[[0,0,7,0],[6,0,7,6],[13,0,7,13],[32,0,7,32]],[[4,0,8,11],[17,0,8,24],[18,0,8,30]],[[4,0,9,12],[8,0,9,16],[9,0,9,43]],[[4,0,10,42],[12,0,10,50],[13,0,10,69]],[[4,0,11,9],[11,0,11,16],[12,0,11,36]],[[4,0,12,2]],[[8,0,13,4],[12,0,13,8],[13,0,13,9],[20,0,13,16],[23,0,13,19],[25,0,13,21],[26,0,13,22]],[[8,0,14,4],[12,0,14,8],[13,0,14,9],[17,0,14,13],[20,0,14,16],[24,0,14,20],[36,0,14,32],[38,0,14,34],[39,0,14,35]],[[4,0,15,2],[5,0,15,3]],[[4,0,17,2],[8,0,17,6],[18,0,17,16]],[[8,0,18,4],[15,0,18,11],[19,0,18,15],[20,0,18,16],[27,0,18,23],[28,0,18,24],[34,0,18,30],[35,0,18,31]],[[4,0,19,2],[5,0,19,3]],[[4,0,21,2],[8,0,21,6],[9,0,21,7],[15,0,21,35],[17,0,21,37],[22,0,21,48],[24,0,21,50],[31,0,21,70]],[[8,0,22,4],[15,0,22,11],[22,0,22,18],[23,0,22,19],[30,0,22,26],[31,0,22,27],[33,0,22,29],[34,0,22,30],[35,0,22,31]],[[4,0,23,2],[5,0,23,3]],[[104,0,7,13],[123,0,7,32]],[[92,0,7,13],[111,0,7,32],[276,0,10,13],[287,0,10,24],[349,0,5,12],[351,0,5,14]],[],[[92,0,7,13],[111,0,7,32]],[[18,0,4,1],[27,0,4,10]],[[19,0,4,11]],[[20,0,5,2],[28,0,5,10],[30,0,5,12],[32,0,5,14]],[[17,0,6,1]],[[56,0,8,11],[69,0,8,24]],[[22,0,8,3],[27,0,8,8]],[[16,0,9,12],[20,0,9,16]],[[22,0,9,3],[28,0,9,9]],[[16,0,10,42],[24,0,10,50]],[[22,0,10,3],[31,0,10,12]],[[23,0,10,13],[34,0,10,24],[36,0,10,26],[38,0,10,27],[44,0,10,33],[46,0,10,35],[50,0,10,39],[52,0,10,40]]],"sourcesContent":["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"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":987,"body":[{"type":"ExportNamedDeclaration","start":0,"end":20,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"VariableDeclaration","start":7,"end":20,"kind":"var","declarations":[{"type":"VariableDeclarator","start":11,"end":19,"id":{"type":"Identifier","start":11,"end":19,"name":"SortType"},"init":null}]}},{"type":"ExpressionStatement","start":21,"end":136,"expression":{"type":"CallExpression","start":21,"end":135,"optional":false,"callee":{"type":"FunctionExpression","start":22,"end":105,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":32,"end":40,"name":"SortType"}],"body":{"type":"BlockStatement","start":42,"end":105,"body":[{"type":"ExpressionStatement","start":48,"end":72,"expression":{"type":"AssignmentExpression","start":48,"end":71,"operator":"=","left":{"type":"MemberExpression","start":48,"end":63,"computed":true,"optional":false,"object":{"type":"Identifier","start":48,"end":56,"name":"SortType"},"property":{"type":"Literal","start":57,"end":62,"value":"ASC","raw":"\"ASC\""}},"right":{"type":"Literal","start":66,"end":71,"value":"asc","raw":"\"asc\""}}},{"type":"ExpressionStatement","start":77,"end":103,"expression":{"type":"AssignmentExpression","start":77,"end":102,"operator":"=","left":{"type":"MemberExpression","start":77,"end":93,"computed":true,"optional":false,"object":{"type":"Identifier","start":77,"end":85,"name":"SortType"},"property":{"type":"Literal","start":86,"end":92,"value":"DESC","raw":"\"DESC\""}},"right":{"type":"Literal","start":96,"end":102,"value":"desc","raw":"\"desc\""}}}]},"expression":false},"arguments":[{"type":"LogicalExpression","start":107,"end":134,"operator":"||","left":{"type":"Identifier","start":107,"end":115,"name":"SortType"},"right":{"type":"AssignmentExpression","start":120,"end":133,"operator":"=","left":{"type":"Identifier","start":120,"end":128,"name":"SortType"},"right":{"type":"ObjectExpression","start":131,"end":133,"properties":[]}}}]}}],"_rollupRemoved":[{"end":987,"start":137,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"export var SortType;\n(function (SortType) {\n SortType[\"ASC\"] = \"asc\";\n SortType[\"DESC\"] = \"desc\";\n})(SortType || (SortType = {}));\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JpZC1oZWFkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9ncmlkL3NyYy90eXBlcy9ncmlkLWhlYWRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFVQSxNQUFNLENBQU4sSUFBWSxRQUdYO0FBSEQsV0FBWSxRQUFRO0lBQ2xCLHVCQUFXLENBQUE7SUFDWCx5QkFBYSxDQUFBO0FBQ2YsQ0FBQyxFQUhXLFFBQVEsS0FBUixRQUFRLFFBR25CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtDb21wb25lbnRJbnN0YW5jZX0gZnJvbSAnQGZvcm1pby9hbmd1bGFyJztcblxuZXhwb3J0IGludGVyZmFjZSBHcmlkSGVhZGVyIHtcbiAgY29tcG9uZW50PzogQ29tcG9uZW50SW5zdGFuY2U7XG4gIGtleTogc3RyaW5nO1xuICBzb3J0PzogU29ydFR5cGU7XG4gIGxhYmVsOiBzdHJpbmc7XG4gIHJlbmRlckNlbGw/KGNlbGxWYWx1ZTogYW55LCBjb21wb25lbnQ/OiBDb21wb25lbnRJbnN0YW5jZSk6IHN0cmluZztcbn1cblxuZXhwb3J0IGVudW0gU29ydFR5cGUge1xuICBBU0MgPSAnYXNjJyxcbiAgREVTQyA9ICdkZXNjJ1xufVxuIl19","customTransformCache":false,"dependencies":[],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/types/grid-header.mjs","meta":{},"moduleSideEffects":false,"originalCode":"export var SortType;\n(function (SortType) {\n SortType[\"ASC\"] = \"asc\";\n SortType[\"DESC\"] = \"desc\";\n})(SortType || (SortType = {}));\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JpZC1oZWFkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9ncmlkL3NyYy90eXBlcy9ncmlkLWhlYWRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFVQSxNQUFNLENBQU4sSUFBWSxRQUdYO0FBSEQsV0FBWSxRQUFRO0lBQ2xCLHVCQUFXLENBQUE7SUFDWCx5QkFBYSxDQUFBO0FBQ2YsQ0FBQyxFQUhXLFFBQVEsS0FBUixRQUFRLFFBR25CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtDb21wb25lbnRJbnN0YW5jZX0gZnJvbSAnQGZvcm1pby9hbmd1bGFyJztcblxuZXhwb3J0IGludGVyZmFjZSBHcmlkSGVhZGVyIHtcbiAgY29tcG9uZW50PzogQ29tcG9uZW50SW5zdGFuY2U7XG4gIGtleTogc3RyaW5nO1xuICBzb3J0PzogU29ydFR5cGU7XG4gIGxhYmVsOiBzdHJpbmc7XG4gIHJlbmRlckNlbGw/KGNlbGxWYWx1ZTogYW55LCBjb21wb25lbnQ/OiBDb21wb25lbnRJbnN0YW5jZSk6IHN0cmluZztcbn1cblxuZXhwb3J0IGVudW0gU29ydFR5cGUge1xuICBBU0MgPSAnYXNjJyxcbiAgREVTQyA9ICdkZXNjJ1xufVxuIl19","originalSourcemap":{"version":3,"file":"grid-header.js","sourceRoot":"","sources":["../../../../../projects/angular-formio/grid/src/types/grid-header.ts"],"names":[],"mappings":[[[0,0,10,0],[6,0,10,6],[7,0,10,0],[11,0,10,12],[19,0,13,1]],[[0,0,10,0],[11,0,10,12],[19,0,10,20]],[[4,0,11,2],[27,0,11,13],[28,0,11,13]],[[4,0,12,2],[29,0,12,15],[30,0,12,15]],[[0,0,13,0],[1,0,13,1],[3,0,10,12],[11,0,10,20],[16,0,10,12],[24,0,10,20],[32,0,13,1]]],"sourcesContent":["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"]},"resolvedIds":{},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":5465,"body":[{"type":"ImportDeclaration","start":0,"end":42,"specifiers":[{"type":"ImportSpecifier","start":9,"end":18,"imported":{"type":"Identifier","start":9,"end":18,"name":"Component"},"local":{"type":"Identifier","start":9,"end":18,"name":"Component"}}],"source":{"type":"Literal","start":26,"end":41,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":43,"end":104,"specifiers":[{"type":"ImportSpecifier","start":52,"end":71,"imported":{"type":"Identifier","start":52,"end":71,"name":"GridHeaderComponent"},"local":{"type":"Identifier","start":52,"end":71,"name":"GridHeaderComponent"}}],"source":{"type":"Literal","start":79,"end":103,"value":"../GridHeaderComponent","raw":"'../GridHeaderComponent'"},"attributes":[]},{"type":"ImportDeclaration","start":105,"end":153,"specifiers":[{"type":"ImportSpecifier","start":114,"end":122,"imported":{"type":"Identifier","start":114,"end":122,"name":"SortType"},"local":{"type":"Identifier","start":114,"end":122,"name":"SortType"}}],"source":{"type":"Literal","start":130,"end":152,"value":"../types/grid-header","raw":"'../types/grid-header'"},"attributes":[]},{"type":"ImportDeclaration","start":154,"end":190,"specifiers":[{"type":"ImportNamespaceSpecifier","start":161,"end":168,"local":{"type":"Identifier","start":166,"end":168,"name":"i0"}}],"source":{"type":"Literal","start":174,"end":189,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ImportDeclaration","start":191,"end":229,"specifiers":[{"type":"ImportNamespaceSpecifier","start":198,"end":205,"local":{"type":"Identifier","start":203,"end":205,"name":"i1"}}],"source":{"type":"Literal","start":211,"end":228,"value":"@angular/common","raw":"\"@angular/common\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":230,"end":1789,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":237,"end":1789,"decorators":[],"id":{"type":"Identifier","start":243,"end":266,"name":"FormGridHeaderComponent"},"superClass":{"type":"Identifier","start":275,"end":294,"name":"GridHeaderComponent"},"body":{"type":"ClassBody","start":295,"end":1789,"body":[{"type":"PropertyDefinition","start":301,"end":308,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":301,"end":307,"name":"header"},"value":null},{"type":"MethodDefinition","start":313,"end":537,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":313,"end":317,"name":"load"},"value":{"type":"FunctionExpression","start":317,"end":537,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":318,"end":324,"name":"formio"}],"body":{"type":"BlockStatement","start":326,"end":537,"body":[{"type":"ExpressionStatement","start":336,"end":447,"expression":{"type":"AssignmentExpression","start":336,"end":446,"operator":"=","left":{"type":"MemberExpression","start":336,"end":347,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":336,"end":340},"property":{"type":"Identifier","start":341,"end":347,"name":"header"}},"right":{"type":"ObjectExpression","start":350,"end":446,"properties":[{"type":"Property","start":364,"end":378,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":364,"end":369,"name":"label"},"value":{"type":"Literal","start":371,"end":378,"value":"Title","raw":"'Title'"},"kind":"init"},{"type":"Property","start":392,"end":404,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":392,"end":395,"name":"key"},"value":{"type":"Literal","start":397,"end":404,"value":"title","raw":"'title'"},"kind":"init"},{"type":"Property","start":418,"end":436,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":418,"end":422,"name":"sort"},"value":{"type":"MemberExpression","start":424,"end":436,"computed":false,"optional":false,"object":{"type":"Identifier","start":424,"end":432,"name":"SortType"},"property":{"type":"Identifier","start":433,"end":436,"name":"ASC"}},"kind":"init"}]}}},{"type":"ExpressionStatement","start":456,"end":485,"expression":{"type":"AssignmentExpression","start":456,"end":484,"operator":"=","left":{"type":"MemberExpression","start":456,"end":468,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":456,"end":460},"property":{"type":"Identifier","start":461,"end":468,"name":"headers"}},"right":{"type":"ArrayExpression","start":471,"end":484,"elements":[{"type":"MemberExpression","start":472,"end":483,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":472,"end":476},"property":{"type":"Identifier","start":477,"end":483,"name":"header"}}]}}},{"type":"ReturnStatement","start":494,"end":531,"argument":{"type":"CallExpression","start":501,"end":530,"optional":false,"callee":{"type":"MemberExpression","start":501,"end":516,"computed":false,"optional":false,"object":{"type":"Identifier","start":501,"end":508,"name":"Promise"},"property":{"type":"Identifier","start":509,"end":516,"name":"resolve"}},"arguments":[{"type":"MemberExpression","start":517,"end":529,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":517,"end":521},"property":{"type":"Identifier","start":522,"end":529,"name":"headers"}}]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":542,"end":584,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":546,"end":556,"name":"numHeaders"},"value":{"type":"FunctionExpression","start":556,"end":584,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":559,"end":584,"body":[{"type":"ReturnStatement","start":569,"end":578,"argument":{"type":"Literal","start":576,"end":577,"raw":"2","value":2}}]},"expression":false},"kind":"get"},{"type":"PropertyDefinition","start":589,"end":766,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":596,"end":600,"name":"ɵfac"},"value":{"type":"CallExpression","start":603,"end":765,"optional":false,"callee":{"type":"MemberExpression","start":603,"end":624,"computed":false,"optional":false,"object":{"type":"Identifier","start":603,"end":605,"name":"i0"},"property":{"type":"Identifier","start":606,"end":624,"name":"ɵɵngDeclareFactory"}},"arguments":[{"type":"ObjectExpression","start":625,"end":764,"properties":[{"type":"Property","start":627,"end":647,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":627,"end":637,"name":"minVersion"},"value":{"type":"Literal","start":639,"end":647,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":649,"end":667,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":649,"end":656,"name":"version"},"value":{"type":"Literal","start":658,"end":667,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":669,"end":681,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":669,"end":677,"name":"ngImport"},"value":{"type":"Identifier","start":679,"end":681,"name":"i0"},"kind":"init"},{"type":"Property","start":683,"end":712,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":683,"end":687,"name":"type"},"value":{"type":"Identifier","start":689,"end":712,"name":"FormGridHeaderComponent"},"kind":"init"},{"type":"Property","start":714,"end":724,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":714,"end":718,"name":"deps"},"value":{"type":"Literal","start":720,"end":724,"raw":"null","value":null},"kind":"init"},{"type":"Property","start":726,"end":762,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":726,"end":732,"name":"target"},"value":{"type":"MemberExpression","start":734,"end":762,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":734,"end":752,"computed":false,"optional":false,"object":{"type":"Identifier","start":734,"end":736,"name":"i0"},"property":{"type":"Identifier","start":737,"end":752,"name":"ɵɵFactoryTarget"}},"property":{"type":"Identifier","start":753,"end":762,"name":"Component"}},"kind":"init"}]}]}},{"type":"PropertyDefinition","start":771,"end":1787,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":778,"end":782,"name":"ɵcmp"},"value":{"type":"CallExpression","start":785,"end":1786,"optional":false,"callee":{"type":"MemberExpression","start":785,"end":808,"computed":false,"optional":false,"object":{"type":"Identifier","start":785,"end":787,"name":"i0"},"property":{"type":"Identifier","start":788,"end":808,"name":"ɵɵngDeclareComponent"}},"arguments":[{"type":"ObjectExpression","start":809,"end":1785,"properties":[{"type":"Property","start":811,"end":831,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":811,"end":821,"name":"minVersion"},"value":{"type":"Literal","start":823,"end":831,"value":"14.0.0","raw":"\"14.0.0\""},"kind":"init"},{"type":"Property","start":833,"end":851,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":833,"end":840,"name":"version"},"value":{"type":"Literal","start":842,"end":851,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":853,"end":882,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":853,"end":857,"name":"type"},"value":{"type":"Identifier","start":859,"end":882,"name":"FormGridHeaderComponent"},"kind":"init"},{"type":"Property","start":884,"end":912,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":884,"end":892,"name":"selector"},"value":{"type":"Literal","start":894,"end":912,"value":"form-grid-header","raw":"\"form-grid-header\""},"kind":"init"},{"type":"Property","start":914,"end":935,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":914,"end":929,"name":"usesInheritance"},"value":{"type":"Literal","start":931,"end":935,"value":true,"raw":"true"},"kind":"init"},{"type":"Property","start":937,"end":949,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":937,"end":945,"name":"ngImport"},"value":{"type":"Identifier","start":947,"end":949,"name":"i0"},"kind":"init"},{"type":"Property","start":951,"end":1573,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":951,"end":959,"name":"template"},"value":{"type":"Literal","start":961,"end":1573,"value":"<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","raw":"\"<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\""},"kind":"init"},{"type":"Property","start":1575,"end":1783,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1575,"end":1587,"name":"dependencies"},"value":{"type":"ArrayExpression","start":1589,"end":1783,"elements":[{"type":"ObjectExpression","start":1590,"end":1682,"properties":[{"type":"Property","start":1592,"end":1609,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1592,"end":1596,"name":"kind"},"value":{"type":"Literal","start":1598,"end":1609,"value":"directive","raw":"\"directive\""},"kind":"init"},{"type":"Property","start":1611,"end":1627,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1611,"end":1615,"name":"type"},"value":{"type":"MemberExpression","start":1617,"end":1627,"computed":false,"optional":false,"object":{"type":"Identifier","start":1617,"end":1619,"name":"i1"},"property":{"type":"Identifier","start":1620,"end":1627,"name":"NgClass"}},"kind":"init"},{"type":"Property","start":1629,"end":1650,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1629,"end":1637,"name":"selector"},"value":{"type":"Literal","start":1639,"end":1650,"value":"[ngClass]","raw":"\"[ngClass]\""},"kind":"init"},{"type":"Property","start":1652,"end":1680,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1652,"end":1658,"name":"inputs"},"value":{"type":"ArrayExpression","start":1660,"end":1680,"elements":[{"type":"Literal","start":1661,"end":1668,"value":"class","raw":"\"class\""},{"type":"Literal","start":1670,"end":1679,"value":"ngClass","raw":"\"ngClass\""}]},"kind":"init"}]},{"type":"ObjectExpression","start":1684,"end":1782,"properties":[{"type":"Property","start":1686,"end":1703,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1686,"end":1690,"name":"kind"},"value":{"type":"Literal","start":1692,"end":1703,"value":"directive","raw":"\"directive\""},"kind":"init"},{"type":"Property","start":1705,"end":1718,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1705,"end":1709,"name":"type"},"value":{"type":"MemberExpression","start":1711,"end":1718,"computed":false,"optional":false,"object":{"type":"Identifier","start":1711,"end":1713,"name":"i1"},"property":{"type":"Identifier","start":1714,"end":1718,"name":"NgIf"}},"kind":"init"},{"type":"Property","start":1720,"end":1738,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1720,"end":1728,"name":"selector"},"value":{"type":"Literal","start":1730,"end":1738,"value":"[ngIf]","raw":"\"[ngIf]\""},"kind":"init"},{"type":"Property","start":1740,"end":1780,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1740,"end":1746,"name":"inputs"},"value":{"type":"ArrayExpression","start":1748,"end":1780,"elements":[{"type":"Literal","start":1749,"end":1755,"value":"ngIf","raw":"\"ngIf\""},{"type":"Literal","start":1757,"end":1767,"value":"ngIfThen","raw":"\"ngIfThen\""},{"type":"Literal","start":1769,"end":1779,"value":"ngIfElse","raw":"\"ngIfElse\""}]},"kind":"init"}]}]},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":1790,"end":2642,"expression":{"type":"CallExpression","start":1790,"end":2641,"optional":false,"callee":{"type":"MemberExpression","start":1790,"end":1817,"computed":false,"optional":false,"object":{"type":"Identifier","start":1790,"end":1792,"name":"i0"},"property":{"type":"Identifier","start":1793,"end":1817,"name":"ɵɵngDeclareClassMetadata"}},"arguments":[{"type":"ObjectExpression","start":1818,"end":2640,"properties":[{"type":"Property","start":1820,"end":1840,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1820,"end":1830,"name":"minVersion"},"value":{"type":"Literal","start":1832,"end":1840,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":1842,"end":1860,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1842,"end":1849,"name":"version"},"value":{"type":"Literal","start":1851,"end":1860,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":1862,"end":1874,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1862,"end":1870,"name":"ngImport"},"value":{"type":"Identifier","start":1872,"end":1874,"name":"i0"},"kind":"init"},{"type":"Property","start":1876,"end":1905,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1876,"end":1880,"name":"type"},"value":{"type":"Identifier","start":1882,"end":1905,"name":"FormGridHeaderComponent"},"kind":"init"},{"type":"Property","start":1907,"end":2638,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1907,"end":1917,"name":"decorators"},"value":{"type":"ArrayExpression","start":1919,"end":2638,"elements":[{"type":"ObjectExpression","start":1920,"end":2637,"properties":[{"type":"Property","start":1934,"end":1949,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1934,"end":1938,"name":"type"},"value":{"type":"Identifier","start":1940,"end":1949,"name":"Component"},"kind":"init"},{"type":"Property","start":1963,"end":2627,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1963,"end":1967,"name":"args"},"value":{"type":"ArrayExpression","start":1969,"end":2627,"elements":[{"type":"ObjectExpression","start":1970,"end":2626,"properties":[{"type":"Property","start":1972,"end":2000,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1972,"end":1980,"name":"selector"},"value":{"type":"Literal","start":1982,"end":2000,"value":"form-grid-header","raw":"'form-grid-header'"},"kind":"init"},{"type":"Property","start":2002,"end":2624,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2002,"end":2010,"name":"template"},"value":{"type":"Literal","start":2012,"end":2624,"value":"<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","raw":"\"<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\""},"kind":"init"}]}]},"kind":"init"}]}]},"kind":"init"}]}]}}],"_rollupRemoved":[{"end":5465,"start":2643,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { Component } from '@angular/core';\nimport { GridHeaderComponent } from '../GridHeaderComponent';\nimport { SortType } from '../types/grid-header';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nexport class 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 = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: FormGridHeaderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.3.12\", type: FormGridHeaderComponent, selector: \"form-grid-header\", usesInheritance: true, ngImport: i0, 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\", dependencies: [{ kind: \"directive\", type: i1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: FormGridHeaderComponent, decorators: [{\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 }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRm9ybUdyaWRIZWFkZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vZ3JpZC9zcmMvZm9ybS9Gb3JtR3JpZEhlYWRlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9ncmlkL3NyYy9mb3JtL0Zvcm1HcmlkSGVhZGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDeEMsT0FBTyxFQUFDLG1CQUFtQixFQUFDLE1BQU0sd0JBQXdCLENBQUM7QUFDM0QsT0FBTyxFQUFhLFFBQVEsRUFBQyxNQUFNLHNCQUFzQixDQUFDOzs7QUFNMUQsTUFBTSxPQUFPLHVCQUF3QixTQUFRLG1CQUFtQjtJQUN2RCxNQUF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dGU+XG4iXX0=","customTransformCache":false,"dependencies":["@angular/core","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/GridHeaderComponent.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/types/grid-header.mjs","@angular/common"],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/FormGridHeader.component.mjs","meta":{},"moduleSideEffects":false,"originalCode":"import { Component } from '@angular/core';\nimport { GridHeaderComponent } from '../GridHeaderComponent';\nimport { SortType } from '../types/grid-header';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nexport class 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 = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: FormGridHeaderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.3.12\", type: FormGridHeaderComponent, selector: \"form-grid-header\", usesInheritance: true, ngImport: i0, 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\", dependencies: [{ kind: \"directive\", type: i1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: FormGridHeaderComponent, decorators: [{\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 }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRm9ybUdyaWRIZWFkZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vZ3JpZC9zcmMvZm9ybS9Gb3JtR3JpZEhlYWRlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9ncmlkL3NyYy9mb3JtL0Zvcm1HcmlkSGVhZGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDeEMsT0FBTyxFQUFDLG1CQUFtQixFQUFDLE1BQU0sd0JBQXdCLENBQUM7QUFDM0QsT0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0aW9uc1xuICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L2Rpdj5cbiAgICAgIDwvdGg+XG4gICAgPC90cj5cbiAgPC90aGVhZD5cbjwvbmctdGVtcGxhdGU+XG4iXX0=","originalSourcemap":{"version":3,"file":"FormGridHeader.component.js","sourceRoot":"","sources":["../../../../../projects/angular-formio/grid/src/form/FormGridHeader.component.ts","../../../../../projects/angular-formio/grid/src/form/FormGridHeader.component.html"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,8],[18,0,0,17],[20,0,0,18],[26,0,0,24],[41,0,0,39],[42,0,0,40]],[[0,0,1,0],[7,0,1,7],[9,0,1,8],[28,0,1,27],[30,0,1,28],[36,0,1,34],[60,0,1,58],[61,0,1,59]],[[0,0,2,0],[7,0,2,7],[9,0,2,20],[17,0,2,28],[19,0,2,29],[25,0,2,35],[47,0,2,57],[48,0,2,58]],[],[],[[0,0,8,0],[6,0,8,6],[13,0,8,13],[36,0,8,37],[45,0,8,45],[64,0,8,64]],[[4,0,9,9],[10,0,9,15],[11,0,9,28]],[[4,0,10,2],[8,0,10,6],[9,0,10,7],[15,0,10,19]],[[8,0,11,4],[12,0,11,8],[13,0,11,9],[19,0,11,15],[22,0,11,18]],[[12,0,12,6],[17,0,12,11],[19,0,12,13],[26,0,12,20]],[[12,0,13,6],[15,0,13,9],[17,0,13,11],[24,0,13,18]],[[12,0,14,6],[16,0,14,10],[18,0,14,12],[26,0,14,20],[27,0,14,21],[30,0,14,24]],[[9,0,15,5],[10,0,15,6]],[[8,0,16,4],[12,0,16,8],[13,0,16,9],[20,0,16,16],[23,0,16,19],[24,0,16,20],[28,0,16,24],[29,0,16,25],[35,0,16,31],[36,0,16,32],[37,0,16,33]],[[8,0,17,4],[15,0,17,11],[22,0,17,18],[23,0,17,19],[30,0,17,26],[31,0,17,27],[35,0,17,31],[36,0,17,32],[43,0,17,39],[44,0,17,40],[45,0,17,41]],[[4,0,18,2],[5,0,18,3]],[[4,0,20,2],[8,0,20,6],[18,0,20,16]],[[8,0,21,4],[15,0,21,11],[16,0,21,12],[17,0,21,13]],[[4,0,22,2],[5,0,22,3]],[[104,0,8,13],[127,0,8,36]],[[92,0,8,13],[115,0,8,36],[194,1,0,0],[806,1,18,0]],[],[[92,0,8,13],[115,0,8,36]],[[18,0,4,1],[27,0,4,10]],[[31,0,5,12],[49,0,5,30]]],"sourcesContent":["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","<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"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@angular/common":{"attributes":{},"external":true,"id":"@angular/common","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"../GridHeaderComponent":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/GridHeaderComponent.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"../types/grid-header":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/types/grid-header.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":1783,"body":[{"type":"ImportDeclaration","start":0,"end":43,"specifiers":[{"type":"ImportSpecifier","start":9,"end":19,"imported":{"type":"Identifier","start":9,"end":19,"name":"Injectable"},"local":{"type":"Identifier","start":9,"end":19,"name":"Injectable"}}],"source":{"type":"Literal","start":27,"end":42,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":44,"end":80,"specifiers":[{"type":"ImportNamespaceSpecifier","start":51,"end":58,"local":{"type":"Identifier","start":56,"end":58,"name":"i0"}}],"source":{"type":"Literal","start":64,"end":79,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":81,"end":550,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":88,"end":550,"decorators":[],"id":{"type":"Identifier","start":94,"end":105,"name":"GridService"},"superClass":null,"body":{"type":"ClassBody","start":106,"end":550,"body":[{"type":"PropertyDefinition","start":112,"end":117,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":112,"end":116,"name":"rows"},"value":null},{"type":"MethodDefinition","start":122,"end":139,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":122,"end":133,"name":"constructor"},"value":{"type":"FunctionExpression","start":133,"end":139,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":136,"end":139,"body":[]},"expression":false},"kind":"constructor"},{"type":"MethodDefinition","start":144,"end":191,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":144,"end":151,"name":"setRows"},"value":{"type":"FunctionExpression","start":151,"end":191,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":152,"end":156,"name":"rows"}],"body":{"type":"BlockStatement","start":158,"end":191,"body":[{"type":"ExpressionStatement","start":168,"end":185,"expression":{"type":"AssignmentExpression","start":168,"end":184,"operator":"=","left":{"type":"MemberExpression","start":168,"end":177,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":168,"end":172},"property":{"type":"Identifier","start":173,"end":177,"name":"rows"}},"right":{"type":"Identifier","start":180,"end":184,"name":"rows"}}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":196,"end":255,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":196,"end":211,"name":"getFormsPerPage"},"value":{"type":"FunctionExpression","start":211,"end":255,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":214,"end":255,"body":[{"type":"ReturnStatement","start":224,"end":249,"argument":{"type":"ChainExpression","start":231,"end":248,"expression":{"type":"MemberExpression","start":231,"end":248,"computed":false,"optional":true,"object":{"type":"MemberExpression","start":231,"end":240,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":231,"end":235},"property":{"type":"Identifier","start":236,"end":240,"name":"rows"}},"property":{"type":"Identifier","start":242,"end":248,"name":"length"}}}}]},"expression":false},"kind":"method"},{"type":"PropertyDefinition","start":260,"end":424,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":267,"end":271,"name":"ɵfac"},"value":{"type":"CallExpression","start":274,"end":423,"optional":false,"callee":{"type":"MemberExpression","start":274,"end":295,"computed":false,"optional":false,"object":{"type":"Identifier","start":274,"end":276,"name":"i0"},"property":{"type":"Identifier","start":277,"end":295,"name":"ɵɵngDeclareFactory"}},"arguments":[{"type":"ObjectExpression","start":296,"end":422,"properties":[{"type":"Property","start":298,"end":318,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":298,"end":308,"name":"minVersion"},"value":{"type":"Literal","start":310,"end":318,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":320,"end":338,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":320,"end":327,"name":"version"},"value":{"type":"Literal","start":329,"end":338,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":340,"end":352,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":340,"end":348,"name":"ngImport"},"value":{"type":"Identifier","start":350,"end":352,"name":"i0"},"kind":"init"},{"type":"Property","start":354,"end":371,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":354,"end":358,"name":"type"},"value":{"type":"Identifier","start":360,"end":371,"name":"GridService"},"kind":"init"},{"type":"Property","start":373,"end":381,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":373,"end":377,"name":"deps"},"value":{"type":"ArrayExpression","start":379,"end":381,"elements":[]},"kind":"init"},{"type":"Property","start":383,"end":420,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":383,"end":389,"name":"target"},"value":{"type":"MemberExpression","start":391,"end":420,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":391,"end":409,"computed":false,"optional":false,"object":{"type":"Identifier","start":391,"end":393,"name":"i0"},"property":{"type":"Identifier","start":394,"end":409,"name":"ɵɵFactoryTarget"}},"property":{"type":"Identifier","start":410,"end":420,"name":"Injectable"}},"kind":"init"}]}]}},{"type":"PropertyDefinition","start":429,"end":548,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":436,"end":441,"name":"ɵprov"},"value":{"type":"CallExpression","start":444,"end":547,"optional":false,"callee":{"type":"MemberExpression","start":444,"end":468,"computed":false,"optional":false,"object":{"type":"Identifier","start":444,"end":446,"name":"i0"},"property":{"type":"Identifier","start":447,"end":468,"name":"ɵɵngDeclareInjectable"}},"arguments":[{"type":"ObjectExpression","start":469,"end":546,"properties":[{"type":"Property","start":471,"end":491,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":471,"end":481,"name":"minVersion"},"value":{"type":"Literal","start":483,"end":491,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":493,"end":511,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":493,"end":500,"name":"version"},"value":{"type":"Literal","start":502,"end":511,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":513,"end":525,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":513,"end":521,"name":"ngImport"},"value":{"type":"Identifier","start":523,"end":525,"name":"i0"},"kind":"init"},{"type":"Property","start":527,"end":544,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":527,"end":531,"name":"type"},"value":{"type":"Identifier","start":533,"end":544,"name":"GridService"},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":551,"end":740,"expression":{"type":"CallExpression","start":551,"end":739,"optional":false,"callee":{"type":"MemberExpression","start":551,"end":578,"computed":false,"optional":false,"object":{"type":"Identifier","start":551,"end":553,"name":"i0"},"property":{"type":"Identifier","start":554,"end":578,"name":"ɵɵngDeclareClassMetadata"}},"arguments":[{"type":"ObjectExpression","start":579,"end":738,"properties":[{"type":"Property","start":581,"end":601,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":581,"end":591,"name":"minVersion"},"value":{"type":"Literal","start":593,"end":601,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":603,"end":621,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":603,"end":610,"name":"version"},"value":{"type":"Literal","start":612,"end":621,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":623,"end":635,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":623,"end":631,"name":"ngImport"},"value":{"type":"Identifier","start":633,"end":635,"name":"i0"},"kind":"init"},{"type":"Property","start":637,"end":654,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":637,"end":641,"name":"type"},"value":{"type":"Identifier","start":643,"end":654,"name":"GridService"},"kind":"init"},{"type":"Property","start":656,"end":710,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":656,"end":666,"name":"decorators"},"value":{"type":"ArrayExpression","start":668,"end":710,"elements":[{"type":"ObjectExpression","start":669,"end":709,"properties":[{"type":"Property","start":683,"end":699,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":683,"end":687,"name":"type"},"value":{"type":"Identifier","start":689,"end":699,"name":"Injectable"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":712,"end":736,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":712,"end":726,"name":"ctorParameters"},"value":{"type":"ArrowFunctionExpression","start":728,"end":736,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"ArrayExpression","start":734,"end":736,"elements":[]},"id":null},"kind":"init"}]}]}}],"_rollupRemoved":[{"end":1783,"start":741,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { Injectable } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport 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 = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: GridService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: GridService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: GridService, decorators: [{\n type: Injectable\n }], ctorParameters: () => [] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JpZC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vZ3JpZC9zcmMvZ3JpZC5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBSTNDLE1BQU0sT0FBTyxXQUFXO0lBQ2YsSUFBSSxDQUFhO0lBQ3hCLGdCQUFlLENBQUM7SUFFaEIsT0FBTyxDQUFDLElBQUk7UUFDVixJQUFJLENBQUMsSUFBSSxHQUFHLElBQUksQ0FBQztJQUNuQixDQUFDO0lBRUQsZUFBZTtRQUNiLE9BQU8sSUFBSSxDQUFDLElBQUksRUFBRSxNQUFNLENBQUM7SUFDM0IsQ0FBQzt3R0FWVSxXQUFXOzRHQUFYLFdBQVc7OzRGQUFYLFdBQVc7a0JBRHZCLFVBQVUiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgX2ludGVyc2VjdGlvbiBmcm9tICdsb2Rhc2gvaW50ZXJzZWN0aW9uJztcblxuQEluamVjdGFibGUoKVxuZXhwb3J0IGNsYXNzIEdyaWRTZXJ2aWNlIHtcbiAgcHVibGljIHJvd3M6IEFycmF5PGFueT47XG4gIGNvbnN0cnVjdG9yKCkge31cblxuICBzZXRSb3dzKHJvd3MpIHtcbiAgICB0aGlzLnJvd3MgPSByb3dzO1xuICB9XG5cbiAgZ2V0Rm9ybXNQZXJQYWdlKCkge1xuICAgIHJldHVybiB0aGlzLnJvd3M/Lmxlbmd0aDtcbiAgfVxufVxuIl19","customTransformCache":false,"dependencies":["@angular/core"],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/grid.service.mjs","meta":{},"moduleSideEffects":false,"originalCode":"import { Injectable } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport 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 = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: GridService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: GridService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: GridService, decorators: [{\n type: Injectable\n }], ctorParameters: () => [] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JpZC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vZ3JpZC9zcmMvZ3JpZC5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBSTNDLE1BQU0sT0FBTyxXQUFXO0lBQ2YsSUFBSSxDQUFhO0lBQ3hCLGdCQUFlLENBQUM7SUFFaEIsT0FBTyxDQUFDLElBQUk7UUFDVixJQUFJLENBQUMsSUFBSSxHQUFHLElBQUksQ0FBQztJQUNuQixDQUFDO0lBRUQsZUFBZTtRQUNiLE9BQU8sSUFBSSxDQUFDLElBQUksRUFBRSxNQUFNLENBQUM7SUFDM0IsQ0FBQzt3R0FWVSxXQUFXOzRHQUFYLFdBQVc7OzRGQUFYLFdBQVc7a0JBRHZCLFVBQVUiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgX2ludGVyc2VjdGlvbiBmcm9tICdsb2Rhc2gvaW50ZXJzZWN0aW9uJztcblxuQEluamVjdGFibGUoKVxuZXhwb3J0IGNsYXNzIEdyaWRTZXJ2aWNlIHtcbiAgcHVibGljIHJvd3M6IEFycmF5PGFueT47XG4gIGNvbnN0cnVjdG9yKCkge31cblxuICBzZXRSb3dzKHJvd3MpIHtcbiAgICB0aGlzLnJvd3MgPSByb3dzO1xuICB9XG5cbiAgZ2V0Rm9ybXNQZXJQYWdlKCkge1xuICAgIHJldHVybiB0aGlzLnJvd3M/Lmxlbmd0aDtcbiAgfVxufVxuIl19","originalSourcemap":{"version":3,"file":"grid.service.js","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/grid.service.ts"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,9],[19,0,0,19],[21,0,0,21],[27,0,0,27],[42,0,0,42],[43,0,0,43]],[],[[0,0,4,0],[6,0,4,6],[13,0,4,13],[24,0,4,24]],[[4,0,5,9],[8,0,5,13],[9,0,5,26]],[[4,0,6,2],[20,0,6,17],[21,0,6,18]],[[4,0,8,2],[11,0,8,9],[12,0,8,10],[16,0,8,14]],[[8,0,9,4],[12,0,9,8],[13,0,9,9],[17,0,9,13],[20,0,9,16],[24,0,9,20],[25,0,9,21]],[[4,0,10,2],[5,0,10,3]],[[4,0,12,2],[19,0,12,17]],[[8,0,13,4],[15,0,13,11],[19,0,13,15],[20,0,13,16],[24,0,13,20],[26,0,13,22],[32,0,13,28],[33,0,13,29]],[[4,0,14,2],[5,0,14,3]],[[104,0,4,13],[115,0,4,24]],[[108,0,4,13],[119,0,4,24]],[],[[92,0,4,13],[103,0,4,24]],[[18,0,3,1],[28,0,3,11]]],"sourcesContent":["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"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":9387,"body":[{"type":"ImportDeclaration","start":0,"end":95,"specifiers":[{"type":"ImportSpecifier","start":9,"end":14,"imported":{"type":"Identifier","start":9,"end":14,"name":"Input"},"local":{"type":"Identifier","start":9,"end":14,"name":"Input"}},{"type":"ImportSpecifier","start":16,"end":22,"imported":{"type":"Identifier","start":16,"end":22,"name":"Output"},"local":{"type":"Identifier","start":16,"end":22,"name":"Output"}},{"type":"ImportSpecifier","start":24,"end":36,"imported":{"type":"Identifier","start":24,"end":36,"name":"EventEmitter"},"local":{"type":"Identifier","start":24,"end":36,"name":"EventEmitter"}},{"type":"ImportSpecifier","start":38,"end":47,"imported":{"type":"Identifier","start":38,"end":47,"name":"ViewChild"},"local":{"type":"Identifier","start":38,"end":47,"name":"ViewChild"}},{"type":"ImportSpecifier","start":49,"end":60,"imported":{"type":"Identifier","start":49,"end":60,"name":"TemplateRef"},"local":{"type":"Identifier","start":49,"end":60,"name":"TemplateRef"}},{"type":"ImportSpecifier","start":62,"end":71,"imported":{"type":"Identifier","start":62,"end":71,"name":"Component"},"local":{"type":"Identifier","start":62,"end":71,"name":"Component"}}],"source":{"type":"Literal","start":79,"end":94,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":96,"end":133,"specifiers":[{"type":"ImportSpecifier","start":105,"end":109,"imported":{"type":"Identifier","start":105,"end":109,"name":"each"},"local":{"type":"Identifier","start":105,"end":109,"name":"each"}},{"type":"ImportSpecifier","start":111,"end":116,"imported":{"type":"Identifier","start":111,"end":116,"name":"clone"},"local":{"type":"Identifier","start":111,"end":116,"name":"clone"}}],"source":{"type":"Literal","start":124,"end":132,"value":"lodash","raw":"'lodash'"},"attributes":[]},{"type":"ImportDeclaration","start":134,"end":170,"specifiers":[{"type":"ImportNamespaceSpecifier","start":141,"end":148,"local":{"type":"Identifier","start":146,"end":148,"name":"i0"}}],"source":{"type":"Literal","start":154,"end":169,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ImportDeclaration","start":171,"end":208,"specifiers":[{"type":"ImportNamespaceSpecifier","start":178,"end":185,"local":{"type":"Identifier","start":183,"end":185,"name":"i1"}}],"source":{"type":"Literal","start":191,"end":207,"value":"./grid.service","raw":"\"./grid.service\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":209,"end":2488,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":216,"end":2488,"decorators":[],"id":{"type":"Identifier","start":222,"end":239,"name":"GridBodyComponent"},"superClass":null,"body":{"type":"ClassBody","start":240,"end":2488,"body":[{"type":"PropertyDefinition","start":246,"end":254,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":246,"end":253,"name":"service"},"value":null},{"type":"PropertyDefinition","start":259,"end":266,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":259,"end":265,"name":"header"},"value":null},{"type":"PropertyDefinition","start":271,"end":285,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":271,"end":284,"name":"actionAllowed"},"value":null},{"type":"PropertyDefinition","start":290,"end":300,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":290,"end":299,"name":"rowSelect"},"value":null},{"type":"PropertyDefinition","start":305,"end":315,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":305,"end":314,"name":"rowAction"},"value":null},{"type":"PropertyDefinition","start":320,"end":329,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":320,"end":328,"name":"template"},"value":null},{"type":"PropertyDefinition","start":334,"end":339,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":334,"end":338,"name":"rows"},"value":null},{"type":"PropertyDefinition","start":344,"end":352,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":344,"end":351,"name":"loading"},"value":null},{"type":"PropertyDefinition","start":357,"end":371,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":357,"end":366,"name":"firstItem"},"value":{"type":"Literal","start":369,"end":370,"raw":"0","value":0}},{"type":"PropertyDefinition","start":376,"end":389,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":376,"end":384,"name":"lastItem"},"value":{"type":"Literal","start":387,"end":388,"raw":"0","value":0}},{"type":"PropertyDefinition","start":394,"end":403,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":394,"end":398,"name":"skip"},"value":{"type":"Literal","start":401,"end":402,"raw":"0","value":0}},{"type":"PropertyDefinition","start":408,"end":418,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":408,"end":413,"name":"limit"},"value":{"type":"Literal","start":416,"end":417,"raw":"0","value":0}},{"type":"PropertyDefinition","start":423,"end":433,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":423,"end":428,"name":"total"},"value":{"type":"Literal","start":431,"end":432,"raw":"0","value":0}},{"type":"MethodDefinition","start":438,"end":617,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":438,"end":449,"name":"constructor"},"value":{"type":"FunctionExpression","start":449,"end":617,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":450,"end":457,"name":"service"}],"body":{"type":"BlockStatement","start":459,"end":617,"body":[{"type":"ExpressionStatement","start":469,"end":492,"expression":{"type":"AssignmentExpression","start":469,"end":491,"operator":"=","left":{"type":"MemberExpression","start":469,"end":481,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":469,"end":473},"property":{"type":"Identifier","start":474,"end":481,"name":"service"}},"right":{"type":"Identifier","start":484,"end":491,"name":"service"}}},{"type":"ExpressionStatement","start":501,"end":537,"expression":{"type":"AssignmentExpression","start":501,"end":536,"operator":"=","left":{"type":"MemberExpression","start":501,"end":515,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":501,"end":505},"property":{"type":"Identifier","start":506,"end":515,"name":"rowSelect"}},"right":{"type":"NewExpression","start":518,"end":536,"callee":{"type":"Identifier","start":522,"end":534,"name":"EventEmitter"},"arguments":[]}}},{"type":"ExpressionStatement","start":546,"end":582,"expression":{"type":"AssignmentExpression","start":546,"end":581,"operator":"=","left":{"type":"MemberExpression","start":546,"end":560,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":546,"end":550},"property":{"type":"Identifier","start":551,"end":560,"name":"rowAction"}},"right":{"type":"NewExpression","start":563,"end":581,"callee":{"type":"Identifier","start":567,"end":579,"name":"EventEmitter"},"arguments":[]}}},{"type":"ExpressionStatement","start":591,"end":611,"expression":{"type":"AssignmentExpression","start":591,"end":610,"operator":"=","left":{"type":"MemberExpression","start":591,"end":603,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":591,"end":595},"property":{"type":"Identifier","start":596,"end":603,"name":"loading"}},"right":{"type":"Literal","start":606,"end":610,"value":true,"raw":"true"}}}]},"expression":false},"kind":"constructor"},{"type":"MethodDefinition","start":622,"end":688,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":622,"end":626,"name":"load"},"value":{"type":"FunctionExpression","start":626,"end":688,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":627,"end":633,"name":"formio"},{"type":"Identifier","start":635,"end":640,"name":"query"}],"body":{"type":"BlockStatement","start":642,"end":688,"body":[{"type":"ReturnStatement","start":652,"end":682,"argument":{"type":"CallExpression","start":659,"end":681,"optional":false,"callee":{"type":"MemberExpression","start":659,"end":674,"computed":false,"optional":false,"object":{"type":"Identifier","start":659,"end":665,"name":"formio"},"property":{"type":"Identifier","start":666,"end":674,"name":"loadForm"}},"arguments":[{"type":"Identifier","start":675,"end":680,"name":"query"}]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":693,"end":790,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":693,"end":704,"name":"onRowSelect"},"value":{"type":"FunctionExpression","start":704,"end":790,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":705,"end":710,"name":"event"},{"type":"Identifier","start":712,"end":715,"name":"row"}],"body":{"type":"BlockStatement","start":717,"end":790,"body":[{"type":"ExpressionStatement","start":727,"end":750,"expression":{"type":"CallExpression","start":727,"end":749,"optional":false,"callee":{"type":"MemberExpression","start":727,"end":747,"computed":false,"optional":false,"object":{"type":"Identifier","start":727,"end":732,"name":"event"},"property":{"type":"Identifier","start":733,"end":747,"name":"preventDefault"}},"arguments":[]}},{"type":"ExpressionStatement","start":759,"end":784,"expression":{"type":"CallExpression","start":759,"end":783,"optional":false,"callee":{"type":"MemberExpression","start":759,"end":778,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":759,"end":773,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":759,"end":763},"property":{"type":"Identifier","start":764,"end":773,"name":"rowSelect"}},"property":{"type":"Identifier","start":774,"end":778,"name":"emit"}},"arguments":[{"type":"Identifier","start":779,"end":782,"name":"row"}]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":795,"end":912,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":795,"end":806,"name":"onRowAction"},"value":{"type":"FunctionExpression","start":806,"end":912,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":807,"end":812,"name":"event"},{"type":"Identifier","start":814,"end":817,"name":"row"},{"type":"Identifier","start":819,"end":825,"name":"action"}],"body":{"type":"BlockStatement","start":827,"end":912,"body":[{"type":"ExpressionStatement","start":837,"end":860,"expression":{"type":"CallExpression","start":837,"end":859,"optional":false,"callee":{"type":"MemberExpression","start":837,"end":857,"computed":false,"optional":false,"object":{"type":"Identifier","start":837,"end":842,"name":"event"},"property":{"type":"Identifier","start":843,"end":857,"name":"preventDefault"}},"arguments":[]}},{"type":"ExpressionStatement","start":869,"end":906,"expression":{"type":"CallExpression","start":869,"end":905,"optional":false,"callee":{"type":"MemberExpression","start":869,"end":888,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":869,"end":883,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":869,"end":873},"property":{"type":"Identifier","start":874,"end":883,"name":"rowAction"}},"property":{"type":"Identifier","start":884,"end":888,"name":"emit"}},"arguments":[{"type":"ObjectExpression","start":889,"end":904,"properties":[{"type":"Property","start":891,"end":894,"method":false,"shorthand":true,"computed":false,"key":{"type":"Identifier","start":891,"end":894,"name":"row"},"value":{"type":"Identifier","start":891,"end":894,"name":"row"},"kind":"init"},{"type":"Property","start":896,"end":902,"method":false,"shorthand":true,"computed":false,"key":{"type":"Identifier","start":896,"end":902,"name":"action"},"value":{"type":"Identifier","start":896,"end":902,"name":"action"},"kind":"init"}]}]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":1039,"end":1865,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1039,"end":1046,"name":"setRows"},"value":{"type":"FunctionExpression","start":1046,"end":1865,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":1047,"end":1052,"name":"query"},{"type":"Identifier","start":1054,"end":1059,"name":"items"}],"body":{"type":"BlockStatement","start":1061,"end":1865,"body":[{"type":"ExpressionStatement","start":1071,"end":1086,"expression":{"type":"AssignmentExpression","start":1071,"end":1085,"operator":"=","left":{"type":"MemberExpression","start":1071,"end":1080,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1071,"end":1075},"property":{"type":"Identifier","start":1076,"end":1080,"name":"rows"}},"right":{"type":"ArrayExpression","start":1083,"end":1085,"elements":[]}}},{"type":"IfStatement","start":1095,"end":1364,"test":{"type":"BinaryExpression","start":1099,"end":1124,"operator":"!==","left":{"type":"UnaryExpression","start":1099,"end":1111,"operator":"typeof","argument":{"type":"Identifier","start":1106,"end":1111,"name":"items"},"prefix":true},"right":{"type":"Literal","start":1116,"end":1124,"value":"object","raw":"'object'"}},"consequent":{"type":"BlockStatement","start":1126,"end":1364,"body":[{"type":"ExpressionStatement","start":1140,"end":1159,"expression":{"type":"AssignmentExpression","start":1140,"end":1158,"operator":"=","left":{"type":"MemberExpression","start":1140,"end":1154,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1140,"end":1144},"property":{"type":"Identifier","start":1145,"end":1154,"name":"firstItem"}},"right":{"type":"Literal","start":1157,"end":1158,"raw":"0","value":0}}},{"type":"ExpressionStatement","start":1172,"end":1190,"expression":{"type":"AssignmentExpression","start":1172,"end":1189,"operator":"=","left":{"type":"MemberExpression","start":1172,"end":1185,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1172,"end":1176},"property":{"type":"Identifier","start":1177,"end":1185,"name":"lastItem"}},"right":{"type":"Literal","start":1188,"end":1189,"raw":"0","value":0}}},{"type":"ExpressionStatement","start":1203,"end":1218,"expression":{"type":"AssignmentExpression","start":1203,"end":1217,"operator":"=","left":{"type":"MemberExpression","start":1203,"end":1213,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1203,"end":1207},"property":{"type":"Identifier","start":1208,"end":1213,"name":"total"}},"right":{"type":"Literal","start":1216,"end":1217,"raw":"0","value":0}}},{"type":"ExpressionStatement","start":1231,"end":1245,"expression":{"type":"AssignmentExpression","start":1231,"end":1244,"operator":"=","left":{"type":"MemberExpression","start":1231,"end":1240,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1231,"end":1235},"property":{"type":"Identifier","start":1236,"end":1240,"name":"skip"}},"right":{"type":"Literal","start":1243,"end":1244,"raw":"0","value":0}}},{"type":"ExpressionStatement","start":1258,"end":1279,"expression":{"type":"AssignmentExpression","start":1258,"end":1278,"operator":"=","left":{"type":"MemberExpression","start":1258,"end":1270,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1258,"end":1262},"property":{"type":"Identifier","start":1263,"end":1270,"name":"loading"}},"right":{"type":"Literal","start":1273,"end":1278,"value":false,"raw":"false"}}},{"type":"ExpressionStatement","start":1292,"end":1324,"expression":{"type":"CallExpression","start":1292,"end":1323,"optional":false,"callee":{"type":"MemberExpression","start":1292,"end":1312,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1292,"end":1304,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1292,"end":1296},"property":{"type":"Identifier","start":1297,"end":1304,"name":"service"}},"property":{"type":"Identifier","start":1305,"end":1312,"name":"setRows"}},"arguments":[{"type":"MemberExpression","start":1313,"end":1322,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1313,"end":1317},"property":{"type":"Identifier","start":1318,"end":1322,"name":"rows"}}]}},{"type":"ReturnStatement","start":1337,"end":1354,"argument":{"type":"MemberExpression","start":1344,"end":1353,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1344,"end":1348},"property":{"type":"Identifier","start":1349,"end":1353,"name":"rows"}}}]},"alternate":null},{"type":"ExpressionStatement","start":1373,"end":1405,"expression":{"type":"AssignmentExpression","start":1373,"end":1404,"operator":"=","left":{"type":"MemberExpression","start":1373,"end":1387,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1373,"end":1377},"property":{"type":"Identifier","start":1378,"end":1387,"name":"firstItem"}},"right":{"type":"BinaryExpression","start":1390,"end":1404,"operator":"+","left":{"type":"MemberExpression","start":1390,"end":1400,"computed":false,"optional":false,"object":{"type":"Identifier","start":1390,"end":1395,"name":"query"},"property":{"type":"Identifier","start":1396,"end":1400,"name":"skip"}},"right":{"type":"Literal","start":1403,"end":1404,"raw":"1","value":1}}}},{"type":"ExpressionStatement","start":1414,"end":1464,"expression":{"type":"AssignmentExpression","start":1414,"end":1463,"operator":"=","left":{"type":"MemberExpression","start":1414,"end":1427,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1414,"end":1418},"property":{"type":"Identifier","start":1419,"end":1427,"name":"lastItem"}},"right":{"type":"BinaryExpression","start":1430,"end":1463,"operator":"-","left":{"type":"BinaryExpression","start":1430,"end":1459,"operator":"+","left":{"type":"MemberExpression","start":1430,"end":1444,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1430,"end":1434},"property":{"type":"Identifier","start":1435,"end":1444,"name":"firstItem"}},"right":{"type":"MemberExpression","start":1447,"end":1459,"computed":false,"optional":false,"object":{"type":"Identifier","start":1447,"end":1452,"name":"items"},"property":{"type":"Identifier","start":1453,"end":1459,"name":"length"}}},"right":{"type":"Literal","start":1462,"end":1463,"raw":"1","value":1}}}},{"type":"IfStatement","start":1473,"end":1541,"test":{"type":"BinaryExpression","start":1477,"end":1496,"operator":"===","left":{"type":"MemberExpression","start":1477,"end":1490,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1477,"end":1481},"property":{"type":"Identifier","start":1482,"end":1490,"name":"lastItem"}},"right":{"type":"Literal","start":1495,"end":1496,"raw":"0","value":0}},"consequent":{"type":"BlockStatement","start":1498,"end":1541,"body":[{"type":"ExpressionStatement","start":1512,"end":1531,"expression":{"type":"AssignmentExpression","start":1512,"end":1530,"operator":"=","left":{"type":"MemberExpression","start":1512,"end":1526,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1512,"end":1516},"property":{"type":"Identifier","start":1517,"end":1526,"name":"firstItem"}},"right":{"type":"Literal","start":1529,"end":1530,"raw":"0","value":0}}}]},"alternate":null},{"type":"ExpressionStatement","start":1550,"end":1581,"expression":{"type":"AssignmentExpression","start":1550,"end":1580,"operator":"=","left":{"type":"MemberExpression","start":1550,"end":1560,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1550,"end":1554},"property":{"type":"Identifier","start":1555,"end":1560,"name":"total"}},"right":{"type":"MemberExpression","start":1563,"end":1580,"computed":false,"optional":false,"object":{"type":"Identifier","start":1563,"end":1568,"name":"items"},"property":{"type":"Identifier","start":1569,"end":1580,"name":"serverCount"}}}},{"type":"ExpressionStatement","start":1590,"end":1615,"expression":{"type":"AssignmentExpression","start":1590,"end":1614,"operator":"=","left":{"type":"MemberExpression","start":1590,"end":1600,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1590,"end":1594},"property":{"type":"Identifier","start":1595,"end":1600,"name":"limit"}},"right":{"type":"MemberExpression","start":1603,"end":1614,"computed":false,"optional":false,"object":{"type":"Identifier","start":1603,"end":1608,"name":"query"},"property":{"type":"Identifier","start":1609,"end":1614,"name":"limit"}}}},{"type":"ExpressionStatement","start":1624,"end":1677,"expression":{"type":"AssignmentExpression","start":1624,"end":1676,"operator":"=","left":{"type":"MemberExpression","start":1624,"end":1633,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1624,"end":1628},"property":{"type":"Identifier","start":1629,"end":1633,"name":"skip"}},"right":{"type":"BinaryExpression","start":1636,"end":1676,"operator":"+","left":{"type":"CallExpression","start":1636,"end":1672,"optional":false,"callee":{"type":"MemberExpression","start":1636,"end":1646,"computed":false,"optional":false,"object":{"type":"Identifier","start":1636,"end":1640,"name":"Math"},"property":{"type":"Identifier","start":1641,"end":1646,"name":"floor"}},"arguments":[{"type":"BinaryExpression","start":1647,"end":1671,"operator":"/","left":{"type":"MemberExpression","start":1647,"end":1657,"computed":false,"optional":false,"object":{"type":"Identifier","start":1647,"end":1652,"name":"items"},"property":{"type":"Identifier","start":1653,"end":1657,"name":"skip"}},"right":{"type":"MemberExpression","start":1660,"end":1671,"computed":false,"optional":false,"object":{"type":"Identifier","start":1660,"end":1665,"name":"query"},"property":{"type":"Identifier","start":1666,"end":1671,"name":"limit"}}}]},"right":{"type":"Literal","start":1675,"end":1676,"raw":"1","value":1}}}},{"type":"ExpressionStatement","start":1686,"end":1707,"expression":{"type":"AssignmentExpression","start":1686,"end":1706,"operator":"=","left":{"type":"MemberExpression","start":1686,"end":1698,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1686,"end":1690},"property":{"type":"Identifier","start":1691,"end":1698,"name":"loading"}},"right":{"type":"Literal","start":1701,"end":1706,"value":false,"raw":"false"}}},{"type":"ExpressionStatement","start":1716,"end":1792,"expression":{"type":"CallExpression","start":1716,"end":1791,"optional":false,"callee":{"type":"Identifier","start":1716,"end":1720,"name":"each"},"arguments":[{"type":"Identifier","start":1721,"end":1726,"name":"items"},{"type":"ArrowFunctionExpression","start":1728,"end":1790,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":1729,"end":1733,"name":"item"}],"body":{"type":"BlockStatement","start":1738,"end":1790,"body":[{"type":"ExpressionStatement","start":1752,"end":1780,"expression":{"type":"CallExpression","start":1752,"end":1779,"optional":false,"callee":{"type":"MemberExpression","start":1752,"end":1766,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1752,"end":1761,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1752,"end":1756},"property":{"type":"Identifier","start":1757,"end":1761,"name":"rows"}},"property":{"type":"Identifier","start":1762,"end":1766,"name":"push"}},"arguments":[{"type":"CallExpression","start":1767,"end":1778,"optional":false,"callee":{"type":"Identifier","start":1767,"end":1772,"name":"clone"},"arguments":[{"type":"Identifier","start":1773,"end":1777,"name":"item"}]}]}}]},"id":null}]}},{"type":"ExpressionStatement","start":1801,"end":1833,"expression":{"type":"CallExpression","start":1801,"end":1832,"optional":false,"callee":{"type":"MemberExpression","start":1801,"end":1821,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1801,"end":1813,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1801,"end":1805},"property":{"type":"Identifier","start":1806,"end":1813,"name":"service"}},"property":{"type":"Identifier","start":1814,"end":1821,"name":"setRows"}},"arguments":[{"type":"MemberExpression","start":1822,"end":1831,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1822,"end":1826},"property":{"type":"Identifier","start":1827,"end":1831,"name":"rows"}}]}},{"type":"ReturnStatement","start":1842,"end":1859,"argument":{"type":"MemberExpression","start":1849,"end":1858,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1849,"end":1853},"property":{"type":"Identifier","start":1854,"end":1858,"name":"rows"}}}]},"expression":false},"kind":"method"},{"type":"PropertyDefinition","start":1870,"end":2064,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1877,"end":1881,"name":"ɵfac"},"value":{"type":"CallExpression","start":1884,"end":2063,"optional":false,"callee":{"type":"MemberExpression","start":1884,"end":1905,"computed":false,"optional":false,"object":{"type":"Identifier","start":1884,"end":1886,"name":"i0"},"property":{"type":"Identifier","start":1887,"end":1905,"name":"ɵɵngDeclareFactory"}},"arguments":[{"type":"ObjectExpression","start":1906,"end":2062,"properties":[{"type":"Property","start":1908,"end":1928,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1908,"end":1918,"name":"minVersion"},"value":{"type":"Literal","start":1920,"end":1928,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":1930,"end":1948,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1930,"end":1937,"name":"version"},"value":{"type":"Literal","start":1939,"end":1948,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":1950,"end":1962,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1950,"end":1958,"name":"ngImport"},"value":{"type":"Identifier","start":1960,"end":1962,"name":"i0"},"kind":"init"},{"type":"Property","start":1964,"end":1987,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1964,"end":1968,"name":"type"},"value":{"type":"Identifier","start":1970,"end":1987,"name":"GridBodyComponent"},"kind":"init"},{"type":"Property","start":1989,"end":2022,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1989,"end":1993,"name":"deps"},"value":{"type":"ArrayExpression","start":1995,"end":2022,"elements":[{"type":"ObjectExpression","start":1996,"end":2021,"properties":[{"type":"Property","start":1998,"end":2019,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1998,"end":2003,"name":"token"},"value":{"type":"MemberExpression","start":2005,"end":2019,"computed":false,"optional":false,"object":{"type":"Identifier","start":2005,"end":2007,"name":"i1"},"property":{"type":"Identifier","start":2008,"end":2019,"name":"GridService"}},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":2024,"end":2060,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2024,"end":2030,"name":"target"},"value":{"type":"MemberExpression","start":2032,"end":2060,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2032,"end":2050,"computed":false,"optional":false,"object":{"type":"Identifier","start":2032,"end":2034,"name":"i0"},"property":{"type":"Identifier","start":2035,"end":2050,"name":"ɵɵFactoryTarget"}},"property":{"type":"Identifier","start":2051,"end":2060,"name":"Component"}},"kind":"init"}]}]}},{"type":"PropertyDefinition","start":2069,"end":2486,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":2076,"end":2080,"name":"ɵcmp"},"value":{"type":"CallExpression","start":2083,"end":2485,"optional":false,"callee":{"type":"MemberExpression","start":2083,"end":2106,"computed":false,"optional":false,"object":{"type":"Identifier","start":2083,"end":2085,"name":"i0"},"property":{"type":"Identifier","start":2086,"end":2106,"name":"ɵɵngDeclareComponent"}},"arguments":[{"type":"ObjectExpression","start":2107,"end":2484,"properties":[{"type":"Property","start":2109,"end":2129,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2109,"end":2119,"name":"minVersion"},"value":{"type":"Literal","start":2121,"end":2129,"value":"14.0.0","raw":"\"14.0.0\""},"kind":"init"},{"type":"Property","start":2131,"end":2149,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2131,"end":2138,"name":"version"},"value":{"type":"Literal","start":2140,"end":2149,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":2151,"end":2174,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2151,"end":2155,"name":"type"},"value":{"type":"Identifier","start":2157,"end":2174,"name":"GridBodyComponent"},"kind":"init"},{"type":"Property","start":2176,"end":2200,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2176,"end":2184,"name":"selector"},"value":{"type":"Literal","start":2186,"end":2200,"value":"ng-component","raw":"\"ng-component\""},"kind":"init"},{"type":"Property","start":2202,"end":2262,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2202,"end":2208,"name":"inputs"},"value":{"type":"ObjectExpression","start":2210,"end":2262,"properties":[{"type":"Property","start":2212,"end":2228,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2212,"end":2218,"name":"header"},"value":{"type":"Literal","start":2220,"end":2228,"value":"header","raw":"\"header\""},"kind":"init"},{"type":"Property","start":2230,"end":2260,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2230,"end":2243,"name":"actionAllowed"},"value":{"type":"Literal","start":2245,"end":2260,"value":"actionAllowed","raw":"\"actionAllowed\""},"kind":"init"}]},"kind":"init"},{"type":"Property","start":2264,"end":2323,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2264,"end":2271,"name":"outputs"},"value":{"type":"ObjectExpression","start":2273,"end":2323,"properties":[{"type":"Property","start":2275,"end":2297,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2275,"end":2284,"name":"rowSelect"},"value":{"type":"Literal","start":2286,"end":2297,"value":"rowSelect","raw":"\"rowSelect\""},"kind":"init"},{"type":"Property","start":2299,"end":2321,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2299,"end":2308,"name":"rowAction"},"value":{"type":"Literal","start":2310,"end":2321,"value":"rowAction","raw":"\"rowAction\""},"kind":"init"}]},"kind":"init"},{"type":"Property","start":2325,"end":2438,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2325,"end":2336,"name":"viewQueries"},"value":{"type":"ArrayExpression","start":2338,"end":2438,"elements":[{"type":"ObjectExpression","start":2339,"end":2437,"properties":[{"type":"Property","start":2341,"end":2365,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2341,"end":2353,"name":"propertyName"},"value":{"type":"Literal","start":2355,"end":2365,"value":"template","raw":"\"template\""},"kind":"init"},{"type":"Property","start":2367,"end":2378,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2367,"end":2372,"name":"first"},"value":{"type":"Literal","start":2374,"end":2378,"value":true,"raw":"true"},"kind":"init"},{"type":"Property","start":2380,"end":2402,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2380,"end":2389,"name":"predicate"},"value":{"type":"Identifier","start":2391,"end":2402,"name":"TemplateRef"},"kind":"init"},{"type":"Property","start":2404,"end":2421,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2404,"end":2415,"name":"descendants"},"value":{"type":"Literal","start":2417,"end":2421,"value":true,"raw":"true"},"kind":"init"},{"type":"Property","start":2423,"end":2435,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2423,"end":2429,"name":"static"},"value":{"type":"Literal","start":2431,"end":2435,"value":true,"raw":"true"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":2440,"end":2452,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2440,"end":2448,"name":"ngImport"},"value":{"type":"Identifier","start":2450,"end":2452,"name":"i0"},"kind":"init"},{"type":"Property","start":2454,"end":2466,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2454,"end":2462,"name":"template"},"value":{"type":"Literal","start":2464,"end":2466,"value":"","raw":"''"},"kind":"init"},{"type":"Property","start":2468,"end":2482,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2468,"end":2476,"name":"isInline"},"value":{"type":"Literal","start":2478,"end":2482,"value":true,"raw":"true"},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":2489,"end":3152,"expression":{"type":"CallExpression","start":2489,"end":3151,"optional":false,"callee":{"type":"MemberExpression","start":2489,"end":2516,"computed":false,"optional":false,"object":{"type":"Identifier","start":2489,"end":2491,"name":"i0"},"property":{"type":"Identifier","start":2492,"end":2516,"name":"ɵɵngDeclareClassMetadata"}},"arguments":[{"type":"ObjectExpression","start":2517,"end":3150,"properties":[{"type":"Property","start":2519,"end":2539,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2519,"end":2529,"name":"minVersion"},"value":{"type":"Literal","start":2531,"end":2539,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":2541,"end":2559,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2541,"end":2548,"name":"version"},"value":{"type":"Literal","start":2550,"end":2559,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":2561,"end":2573,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2561,"end":2569,"name":"ngImport"},"value":{"type":"Identifier","start":2571,"end":2573,"name":"i0"},"kind":"init"},{"type":"Property","start":2575,"end":2598,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2575,"end":2579,"name":"type"},"value":{"type":"Identifier","start":2581,"end":2598,"name":"GridBodyComponent"},"kind":"init"},{"type":"Property","start":2600,"end":2727,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2600,"end":2610,"name":"decorators"},"value":{"type":"ArrayExpression","start":2612,"end":2727,"elements":[{"type":"ObjectExpression","start":2613,"end":2726,"properties":[{"type":"Property","start":2627,"end":2642,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2627,"end":2631,"name":"type"},"value":{"type":"Identifier","start":2633,"end":2642,"name":"Component"},"kind":"init"},{"type":"Property","start":2656,"end":2716,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2656,"end":2660,"name":"args"},"value":{"type":"ArrayExpression","start":2662,"end":2716,"elements":[{"type":"ObjectExpression","start":2663,"end":2715,"properties":[{"type":"Property","start":2685,"end":2697,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2685,"end":2693,"name":"template"},"value":{"type":"Literal","start":2695,"end":2697,"value":"","raw":"''"},"kind":"init"}]}]},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":2729,"end":2777,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2729,"end":2743,"name":"ctorParameters"},"value":{"type":"ArrowFunctionExpression","start":2745,"end":2777,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"ArrayExpression","start":2751,"end":2777,"elements":[{"type":"ObjectExpression","start":2752,"end":2776,"properties":[{"type":"Property","start":2754,"end":2774,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2754,"end":2758,"name":"type"},"value":{"type":"MemberExpression","start":2760,"end":2774,"computed":false,"optional":false,"object":{"type":"Identifier","start":2760,"end":2762,"name":"i1"},"property":{"type":"Identifier","start":2763,"end":2774,"name":"GridService"}},"kind":"init"}]}]},"id":null},"kind":"init"},{"type":"Property","start":2779,"end":3148,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2779,"end":2793,"name":"propDecorators"},"value":{"type":"ObjectExpression","start":2795,"end":3148,"properties":[{"type":"Property","start":2797,"end":2850,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2797,"end":2803,"name":"header"},"value":{"type":"ArrayExpression","start":2805,"end":2850,"elements":[{"type":"ObjectExpression","start":2806,"end":2849,"properties":[{"type":"Property","start":2824,"end":2835,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2824,"end":2828,"name":"type"},"value":{"type":"Identifier","start":2830,"end":2835,"name":"Input"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":2852,"end":2912,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2852,"end":2865,"name":"actionAllowed"},"value":{"type":"ArrayExpression","start":2867,"end":2912,"elements":[{"type":"ObjectExpression","start":2868,"end":2911,"properties":[{"type":"Property","start":2886,"end":2897,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2886,"end":2890,"name":"type"},"value":{"type":"Identifier","start":2892,"end":2897,"name":"Input"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":2914,"end":2971,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2914,"end":2923,"name":"rowSelect"},"value":{"type":"ArrayExpression","start":2925,"end":2971,"elements":[{"type":"ObjectExpression","start":2926,"end":2970,"properties":[{"type":"Property","start":2944,"end":2956,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2944,"end":2948,"name":"type"},"value":{"type":"Identifier","start":2950,"end":2956,"name":"Output"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":2973,"end":3030,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2973,"end":2982,"name":"rowAction"},"value":{"type":"ArrayExpression","start":2984,"end":3030,"elements":[{"type":"ObjectExpression","start":2985,"end":3029,"properties":[{"type":"Property","start":3003,"end":3015,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3003,"end":3007,"name":"type"},"value":{"type":"Identifier","start":3009,"end":3015,"name":"Output"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":3032,"end":3146,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3032,"end":3040,"name":"template"},"value":{"type":"ArrayExpression","start":3042,"end":3146,"elements":[{"type":"ObjectExpression","start":3043,"end":3145,"properties":[{"type":"Property","start":3061,"end":3076,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3061,"end":3065,"name":"type"},"value":{"type":"Identifier","start":3067,"end":3076,"name":"ViewChild"},"kind":"init"},{"type":"Property","start":3094,"end":3131,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3094,"end":3098,"name":"args"},"value":{"type":"ArrayExpression","start":3100,"end":3131,"elements":[{"type":"Identifier","start":3101,"end":3112,"name":"TemplateRef"},{"type":"ObjectExpression","start":3114,"end":3130,"properties":[{"type":"Property","start":3116,"end":3128,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3116,"end":3122,"name":"static"},"value":{"type":"Literal","start":3124,"end":3128,"value":true,"raw":"true"},"kind":"init"}]}]},"kind":"init"}]}]},"kind":"init"}]},"kind":"init"}]}]}}],"_rollupRemoved":[{"end":9387,"start":3153,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { Input, Output, EventEmitter, ViewChild, TemplateRef, Component } from '@angular/core';\nimport { each, clone } from 'lodash';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"./grid.service\";\nexport 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 = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: GridBodyComponent, deps: [{ token: i1.GridService }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.3.12\", type: GridBodyComponent, selector: \"ng-component\", inputs: { header: \"header\", actionAllowed: \"actionAllowed\" }, outputs: { rowSelect: \"rowSelect\", rowAction: \"rowAction\" }, viewQueries: [{ propertyName: \"template\", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: '', isInline: true });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: GridBodyComponent, decorators: [{\n type: Component,\n args: [{\n template: ''\n }]\n }], ctorParameters: () => [{ type: i1.GridService }], propDecorators: { 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//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiR3JpZEJvZHlDb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZW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zLmxvYWRpbmcgPSBmYWxzZTtcbiAgICAgIHRoaXMuc2VydmljZS5zZXRSb3dzKHRoaXMucm93cyk7XG4gICAgICBcbiAgICAgIHJldHVybiB0aGlzLnJvd3M7XG4gICAgfVxuXG4gICAgdGhpcy5maXJzdEl0ZW0gPSBxdWVyeS5za2lwICsgMTtcbiAgICB0aGlzLmxhc3RJdGVtID0gdGhpcy5maXJzdEl0ZW0gKyBpdGVtcy5sZW5ndGggLSAxO1xuICAgIGlmICh0aGlzLmxhc3RJdGVtID09PSAwKSB7XG4gICAgICB0aGlzLmZpcnN0SXRlbSA9IDA7XG4gICAgfVxuICAgIHRoaXMudG90YWwgPSBpdGVtcy5zZXJ2ZXJDb3VudDtcbiAgICB0aGlzLmxpbWl0ID0gcXVlcnkubGltaXQ7XG4gICAgdGhpcy5za2lwID0gTWF0aC5mbG9vcihpdGVtcy5za2lwIC8gcXVlcnkubGltaXQpICsgMTtcbiAgICB0aGlzLmxvYWRpbmcgPSBmYWxzZTtcbiAgICBlYWNoKGl0ZW1zLCAoaXRlbTogYW55KSA9PiB7XG4gICAgICB0aGlzLnJvd3MucHVzaChjbG9uZShpdGVtKSk7XG4gICAgfSk7XG4gICAgdGhpcy5zZXJ2aWNlLnNldFJvd3ModGhpcy5yb3dzKTtcblxuICAgIHJldHVybiB0aGlzLnJvd3M7XG4gIH1cbn1cbiJdfQ==","customTransformCache":false,"dependencies":["@angular/core","lodash","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/grid.service.mjs"],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/GridBodyComponent.mjs","meta":{},"moduleSideEffects":false,"originalCode":"import { Input, Output, EventEmitter, ViewChild, TemplateRef, Component } from '@angular/core';\nimport { each, clone } from 'lodash';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"./grid.service\";\nexport 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 = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: GridBodyComponent, deps: [{ token: i1.GridService }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.3.12\", type: GridBodyComponent, selector: \"ng-component\", inputs: { header: \"header\", actionAllowed: \"actionAllowed\" }, outputs: { rowSelect: \"rowSelect\", rowAction: \"rowAction\" }, viewQueries: [{ propertyName: \"template\", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: '', isInline: true });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: GridBodyComponent, decorators: [{\n type: Component,\n args: [{\n template: ''\n }]\n }], ctorParameters: () => [{ type: i1.GridService }], propDecorators: { 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//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiR3JpZEJvZHlDb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9ncmlkL3NyYy9HcmlkQm9keUNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDL0YsT0FBTyxFQUFFLElBQUksRUFBRSxLQUFLLEVBQUUsTUFBTSxRQUFRLENBQUM7OztBQVFyQyxNQUFNLE9BQU8saUJBQWlCO0lBYVQ7SUFaVixNQUFNLENBQXNCO0lBQzVCLGFBQWEsQ0FBTTtJQUNsQixTQUFTLENBQW9CO0lBQzdCLFNBQVMsQ0FBb0I7SUFDQyxRQUFRLENBQW1CO0lBQzVELElBQUksQ0FBYTtJQUNqQixPQUFPLENBQVU7SUFDakIsU0FBUyxHQUFHLENBQUMsQ0FBQztJQUNkLFFBQVEsR0FBRyxDQUFDLENBQUM7SUFDYixJQUFJLEdBQUcsQ0FBQyxDQUFDO0lBQ1QsS0FBSyxHQUFHLENBQUMsQ0FBQztJQUNWLEtBQUssR0FBRyxDQUFDLENBQUM7SUFDakIsWUFBbUIsT0FBb0I7UUFBcEIsWUFBTyxHQUFQLE9BQU8sQ0FBYTtRQUNyQyxJQUFJLENBQUMsU0FBUyxHQUFHLElBQUksWUFBWSxFQUFFLENBQUM7UUFDcEMsSUFBSSxDQUFDLFNBQVMsR0FBRyxJQUFJLFlBQVksRUFBRSxDQUFDO1FBQ3BD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W55KSB7XG4gICAgdGhpcy5yb3dzID0gW107XG5cbiAgICBpZiAodHlwZW9mIGl0ZW1zICE9PSAnb2JqZWN0Jykge1xuICAgICAgdGhpcy5maXJzdEl0ZW0gPSAwO1xuICAgICAgdGhpcy5sYXN0SXRlbSA9IDA7XG4gICAgICB0aGlzLnRvdGFsID0gMDtcbiAgICAgIHRoaXMuc2tpcCA9IDA7XG4gICAgICB0aGlzLmxvYWRpbmcgPSBmYWxzZTtcbiAgICAgIHRoaXMuc2VydmljZS5zZXRSb3dzKHRoaXMucm93cyk7XG4gICAgICBcbiAgICAgIHJldHVybiB0aGlzLnJvd3M7XG4gICAgfVxuXG4gICAgdGhpcy5maXJzdEl0ZW0gPSBxdWVyeS5za2lwICsgMTtcbiAgICB0aGlzLmxhc3RJdGVtID0gdGhpcy5maXJzdEl0ZW0gKyBpdGVtcy5sZW5ndGggLSAxO1xuICAgIGlmICh0aGlzLmxhc3RJdGVtID09PSAwKSB7XG4gICAgICB0aGlzLmZpcnN0SXRlbSA9IDA7XG4gICAgfVxuICAgIHRoaXMudG90YWwgPSBpdGVtcy5zZXJ2ZXJDb3VudDtcbiAgICB0aGlzLmxpbWl0ID0gcXVlcnkubGltaXQ7XG4gICAgdGhpcy5za2lwID0gTWF0aC5mbG9vcihpdGVtcy5za2lwIC8gcXVlcnkubGltaXQpICsgMTtcbiAgICB0aGlzLmxvYWRpbmcgPSBmYWxzZTtcbiAgICBlYWNoKGl0ZW1zLCAoaXRlbTogYW55KSA9PiB7XG4gICAgICB0aGlzLnJvd3MucHVzaChjbG9uZShpdGVtKSk7XG4gICAgfSk7XG4gICAgdGhpcy5zZXJ2aWNlLnNldFJvd3ModGhpcy5yb3dzKTtcblxuICAgIHJldHVybiB0aGlzLnJvd3M7XG4gIH1cbn1cbiJdfQ==","originalSourcemap":{"version":3,"file":"GridBodyComponent.js","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/GridBodyComponent.ts"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,9],[14,0,0,14],[16,0,0,16],[22,0,0,22],[24,0,0,24],[36,0,0,36],[38,0,0,38],[47,0,0,47],[49,0,0,49],[60,0,0,60],[62,0,0,62],[71,0,0,71],[73,0,0,73],[79,0,0,79],[94,0,0,94],[95,0,0,95]],[[0,0,1,0],[7,0,1,7],[9,0,1,9],[13,0,1,13],[15,0,1,15],[20,0,1,20],[22,0,1,22],[28,0,1,28],[36,0,1,36],[37,0,1,37]],[],[],[[0,0,9,0],[6,0,9,6],[13,0,9,13],[30,0,9,30]],[[4,0,22,21]],[[4,0,10,11],[10,0,10,17],[11,0,10,39]],[[4,0,11,11],[17,0,11,24],[18,0,11,30]],[[4,0,12,12],[13,0,12,21],[14,0,12,41]],[[4,0,13,12],[13,0,13,21],[14,0,13,41]],[[4,0,14,42],[12,0,14,50],[13,0,14,69]],[[4,0,15,9],[8,0,15,13],[9,0,15,26]],[[4,0,16,9],[11,0,16,16],[12,0,16,26]],[[4,0,17,9],[13,0,17,18],[16,0,17,21],[17,0,17,22],[18,0,17,23]],[[4,0,18,9],[12,0,18,17],[15,0,18,20],[16,0,18,21],[17,0,18,22]],[[4,0,19,9],[8,0,19,13],[11,0,19,16],[12,0,19,17],[13,0,19,18]],[[4,0,20,9],[9,0,20,14],[12,0,20,17],[13,0,20,18],[14,0,20,19]],[[4,0,21,9],[9,0,21,14],[12,0,21,17],[13,0,21,18],[14,0,21,19]],[[4,0,22,2],[16,0,22,21],[23,0,22,41]],[[8,0,22,21],[20,0,22,28],[23,0,22,21],[30,0,22,28],[31,0,22,41]],[[8,0,23,4],[12,0,23,8],[13,0,23,9],[22,0,23,18],[25,0,23,21],[29,0,23,25],[41,0,23,37],[43,0,23,39],[44,0,23,40]],[[8,0,24,4],[12,0,24,8],[13,0,24,9],[22,0,24,18],[25,0,24,21],[29,0,24,25],[41,0,24,37],[43,0,24,39],[44,0,24,40]],[[8,0,25,4],[12,0,25,8],[13,0,25,9],[20,0,25,16],[23,0,25,19],[27,0,25,23],[28,0,25,24]],[[4,0,26,2],[5,0,26,3]],[[4,0,28,2],[8,0,28,6],[9,0,28,7],[15,0,28,35],[17,0,28,37],[22,0,28,48]],[[8,0,29,4],[15,0,29,11],[21,0,29,17],[22,0,29,18],[30,0,29,26],[31,0,29,27],[36,0,29,32],[37,0,29,33],[38,0,29,34]],[[4,0,30,2],[5,0,30,3]],[[4,0,32,2],[15,0,32,13],[16,0,32,14],[21,0,32,19],[23,0,32,21],[26,0,32,24]],[[8,0,33,4],[13,0,33,9],[14,0,33,10],[28,0,33,24],[30,0,33,26],[31,0,33,27]],[[8,0,34,4],[12,0,34,8],[13,0,34,9],[22,0,34,18],[23,0,34,19],[27,0,34,23],[28,0,34,24],[31,0,34,27],[32,0,34,28],[33,0,34,29]],[[4,0,35,2],[5,0,35,3]],[[4,0,37,2],[15,0,37,13],[16,0,37,14],[21,0,37,19],[23,0,37,21],[26,0,37,24],[28,0,37,26],[34,0,37,32]],[[8,0,38,4],[13,0,38,9],[14,0,38,10],[28,0,38,24],[30,0,38,26],[31,0,38,27]],[[8,0,39,4],[12,0,39,8],[13,0,39,9],[22,0,39,18],[23,0,39,19],[27,0,39,23],[28,0,39,24],[30,0,39,26],[33,0,39,29],[35,0,39,31],[41,0,39,37],[43,0,39,39],[44,0,39,40],[45,0,39,41]],[[4,0,40,2],[5,0,40,3]],[[4,0,42,2]],[],[],[],[],[],[[7,0,48,5]],[[4,0,49,2],[11,0,49,9],[12,0,49,10],[17,0,49,20],[19,0,49,22],[24,0,49,32]],[[8,0,50,4],[12,0,50,8],[13,0,50,9],[17,0,50,13],[20,0,50,16],[22,0,50,18],[23,0,50,19]],[[8,0,52,4],[12,0,52,8],[19,0,52,15],[24,0,52,20],[29,0,52,25],[37,0,52,33],[39,0,52,35],[40,0,52,36]],[[12,0,53,6],[16,0,53,10],[17,0,53,11],[26,0,53,20],[29,0,53,23],[30,0,53,24],[31,0,53,25]],[[12,0,54,6],[16,0,54,10],[17,0,54,11],[25,0,54,19],[28,0,54,22],[29,0,54,23],[30,0,54,24]],[[12,0,55,6],[16,0,55,10],[17,0,55,11],[22,0,55,16],[25,0,55,19],[26,0,55,20],[27,0,55,21]],[[12,0,56,6],[16,0,56,10],[17,0,56,11],[21,0,56,15],[24,0,56,18],[25,0,56,19],[26,0,56,20]],[[12,0,57,6],[16,0,57,10],[17,0,57,11],[24,0,57,18],[27,0,57,21],[32,0,57,26],[33,0,57,27]],[[12,0,58,6],[16,0,58,10],[17,0,58,11],[24,0,58,18],[25,0,58,19],[32,0,58,26],[33,0,58,27],[37,0,58,31],[38,0,58,32],[42,0,58,36],[43,0,58,37],[44,0,58,38]],[[12,0,60,6],[19,0,60,13],[23,0,60,17],[24,0,60,18],[28,0,60,22],[29,0,60,23]],[[8,0,61,4],[9,0,61,5]],[[8,0,63,4],[12,0,63,8],[13,0,63,9],[22,0,63,18],[25,0,63,21],[30,0,63,26],[31,0,63,27],[35,0,63,31],[38,0,63,34],[39,0,63,35],[40,0,63,36]],[[8,0,64,4],[12,0,64,8],[13,0,64,9],[21,0,64,17],[24,0,64,20],[28,0,64,24],[29,0,64,25],[38,0,64,34],[41,0,64,37],[46,0,64,42],[47,0,64,43],[53,0,64,49],[56,0,64,52],[57,0,64,53],[58,0,64,54]],[[8,0,65,4],[12,0,65,8],[16,0,65,12],[17,0,65,13],[25,0,65,21],[30,0,65,26],[31,0,65,27],[33,0,65,29],[34,0,65,30]],[[12,0,66,6],[16,0,66,10],[17,0,66,11],[26,0,66,20],[29,0,66,23],[30,0,66,24],[31,0,66,25]],[[8,0,67,4],[9,0,67,5]],[[8,0,68,4],[12,0,68,8],[13,0,68,9],[18,0,68,14],[21,0,68,17],[26,0,68,22],[27,0,68,23],[38,0,68,34],[39,0,68,35]],[[8,0,69,4],[12,0,69,8],[13,0,69,9],[18,0,69,14],[21,0,69,17],[26,0,69,22],[27,0,69,23],[32,0,69,28],[33,0,69,29]],[[8,0,70,4],[12,0,70,8],[13,0,70,9],[17,0,70,13],[20,0,70,16],[24,0,70,20],[25,0,70,21],[30,0,70,26],[31,0,70,27],[36,0,70,32],[37,0,70,33],[41,0,70,37],[44,0,70,40],[49,0,70,45],[50,0,70,46],[55,0,70,51],[56,0,70,52],[59,0,70,55],[60,0,70,56],[61,0,70,57]],[[8,0,71,4],[12,0,71,8],[13,0,71,9],[20,0,71,16],[23,0,71,19],[28,0,71,24],[29,0,71,25]],[[8,0,72,4],[12,0,72,8],[13,0,72,9],[18,0,72,14],[20,0,72,16],[21,0,72,17],[25,0,72,26],[27,0,72,28],[29,0,72,30]],[[12,0,73,6],[16,0,73,10],[17,0,73,11],[21,0,73,15],[22,0,73,16],[26,0,73,20],[27,0,73,21],[32,0,73,26],[33,0,73,27],[37,0,73,31],[38,0,73,32],[39,0,73,33],[40,0,73,34]],[[8,0,74,4],[9,0,74,5],[10,0,74,6],[11,0,74,7]],[[8,0,75,4],[12,0,75,8],[13,0,75,9],[20,0,75,16],[21,0,75,17],[28,0,75,24],[29,0,75,25],[33,0,75,29],[34,0,75,30],[38,0,75,34],[39,0,75,35],[40,0,75,36]],[[8,0,77,4],[15,0,77,11],[19,0,77,15],[20,0,77,16],[24,0,77,20],[25,0,77,21]],[[4,0,78,2],[5,0,78,3]],[[104,0,9,13],[121,0,9,30]],[[92,0,9,13],[109,0,9,30],[326,0,14,13],[337,0,14,24],[399,0,7,12],[401,0,7,14]],[],[[92,0,9,13],[109,0,9,30]],[[18,0,6,1],[27,0,6,10]],[[19,0,6,11]],[[20,0,7,2],[28,0,7,10],[30,0,7,12],[32,0,7,14]],[[17,0,8,1]],[[80,0,10,11],[86,0,10,17]],[[22,0,10,3],[27,0,10,8]],[[16,0,11,11],[29,0,11,24]],[[22,0,11,3],[27,0,11,8]],[[16,0,12,12],[25,0,12,21]],[[22,0,12,3],[28,0,12,9]],[[16,0,13,12],[25,0,13,21]],[[22,0,13,3],[28,0,13,9]],[[16,0,14,42],[24,0,14,50]],[[22,0,14,3],[31,0,14,12]],[[23,0,14,13],[34,0,14,24],[36,0,14,26],[38,0,14,27],[44,0,14,33],[46,0,14,35],[50,0,14,39],[52,0,14,40]]],"sourcesContent":["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"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"lodash":{"attributes":{},"external":true,"id":"lodash","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"./grid.service":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/grid.service.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":5104,"body":[{"type":"ImportDeclaration","start":0,"end":37,"specifiers":[{"type":"ImportSpecifier","start":9,"end":13,"imported":{"type":"Identifier","start":9,"end":13,"name":"Pipe"},"local":{"type":"Identifier","start":9,"end":13,"name":"Pipe"}}],"source":{"type":"Literal","start":21,"end":36,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":38,"end":74,"specifiers":[{"type":"ImportNamespaceSpecifier","start":45,"end":52,"local":{"type":"Identifier","start":50,"end":52,"name":"i0"}}],"source":{"type":"Literal","start":58,"end":73,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":75,"end":1326,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":82,"end":1326,"decorators":[],"id":{"type":"Identifier","start":88,"end":97,"name":"TimeSince"},"superClass":null,"body":{"type":"ClassBody","start":98,"end":1326,"body":[{"type":"MethodDefinition","start":104,"end":1028,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":104,"end":113,"name":"transform"},"value":{"type":"FunctionExpression","start":113,"end":1028,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":114,"end":118,"name":"date"}],"body":{"type":"BlockStatement","start":120,"end":1028,"body":[{"type":"VariableDeclaration","start":130,"end":203,"kind":"const","declarations":[{"type":"VariableDeclarator","start":136,"end":202,"id":{"type":"Identifier","start":136,"end":143,"name":"elapsed"},"init":{"type":"BinaryExpression","start":146,"end":202,"operator":"/","left":{"type":"BinaryExpression","start":147,"end":194,"operator":"-","left":{"type":"CallExpression","start":147,"end":167,"optional":false,"callee":{"type":"MemberExpression","start":147,"end":165,"computed":false,"optional":false,"object":{"type":"NewExpression","start":147,"end":157,"callee":{"type":"Identifier","start":151,"end":155,"name":"Date"},"arguments":[]},"property":{"type":"Identifier","start":158,"end":165,"name":"getTime"}},"arguments":[]},"right":{"type":"CallExpression","start":170,"end":194,"optional":false,"callee":{"type":"MemberExpression","start":170,"end":192,"computed":false,"optional":false,"object":{"type":"NewExpression","start":170,"end":184,"callee":{"type":"Identifier","start":174,"end":178,"name":"Date"},"arguments":[{"type":"Identifier","start":179,"end":183,"name":"date"}]},"property":{"type":"Identifier","start":185,"end":192,"name":"getTime"}},"arguments":[]}},"right":{"type":"Literal","start":198,"end":202,"raw":"1000","value":1000}}}]},{"type":"VariableDeclaration","start":212,"end":225,"kind":"let","declarations":[{"type":"VariableDeclarator","start":216,"end":224,"id":{"type":"Identifier","start":216,"end":224,"name":"interval"},"init":null}]},{"type":"IfStatement","start":234,"end":331,"test":{"type":"BinaryExpression","start":238,"end":251,"operator":">=","left":{"type":"Identifier","start":238,"end":246,"name":"interval"},"right":{"type":"Literal","start":250,"end":251,"raw":"1","value":1}},"consequent":{"type":"BlockStatement","start":253,"end":331,"body":[{"type":"ReturnStatement","start":267,"end":321,"argument":{"type":"BinaryExpression","start":274,"end":320,"operator":"+","left":{"type":"BinaryExpression","start":274,"end":292,"operator":"+","left":{"type":"Identifier","start":274,"end":282,"name":"interval"},"right":{"type":"Literal","start":285,"end":292,"value":" year","raw":"' year'"}},"right":{"type":"ConditionalExpression","start":296,"end":319,"test":{"type":"BinaryExpression","start":296,"end":308,"operator":">","left":{"type":"Identifier","start":296,"end":304,"name":"interval"},"right":{"type":"Literal","start":307,"end":308,"raw":"1","value":1}},"consequent":{"type":"Literal","start":311,"end":314,"value":"s","raw":"'s'"},"alternate":{"type":"Literal","start":317,"end":319,"value":"","raw":"''"}}}}]},"alternate":null},{"type":"ExpressionStatement","start":340,"end":381,"expression":{"type":"AssignmentExpression","start":340,"end":380,"operator":"=","left":{"type":"Identifier","start":340,"end":348,"name":"interval"},"right":{"type":"CallExpression","start":351,"end":380,"optional":false,"callee":{"type":"MemberExpression","start":351,"end":361,"computed":false,"optional":false,"object":{"type":"Identifier","start":351,"end":355,"name":"Math"},"property":{"type":"Identifier","start":356,"end":361,"name":"floor"}},"arguments":[{"type":"BinaryExpression","start":362,"end":379,"operator":"/","left":{"type":"Identifier","start":362,"end":369,"name":"elapsed"},"right":{"type":"Literal","start":372,"end":379,"raw":"2592000","value":2592000}}]}}},{"type":"IfStatement","start":390,"end":488,"test":{"type":"BinaryExpression","start":394,"end":407,"operator":">=","left":{"type":"Identifier","start":394,"end":402,"name":"interval"},"right":{"type":"Literal","start":406,"end":407,"raw":"1","value":1}},"consequent":{"type":"BlockStatement","start":409,"end":488,"body":[{"type":"ReturnStatement","start":423,"end":478,"argument":{"type":"BinaryExpression","start":430,"end":477,"operator":"+","left":{"type":"BinaryExpression","start":430,"end":449,"operator":"+","left":{"type":"Identifier","start":430,"end":438,"name":"interval"},"right":{"type":"Literal","start":441,"end":449,"value":" month","raw":"' month'"}},"right":{"type":"ConditionalExpression","start":453,"end":476,"test":{"type":"BinaryExpression","start":453,"end":465,"operator":">","left":{"type":"Identifier","start":453,"end":461,"name":"interval"},"right":{"type":"Literal","start":464,"end":465,"raw":"1","value":1}},"consequent":{"type":"Literal","start":468,"end":471,"value":"s","raw":"'s'"},"alternate":{"type":"Literal","start":474,"end":476,"value":"","raw":"''"}}}}]},"alternate":null},{"type":"ExpressionStatement","start":497,"end":536,"expression":{"type":"AssignmentExpression","start":497,"end":535,"operator":"=","left":{"type":"Identifier","start":497,"end":505,"name":"interval"},"right":{"type":"CallExpression","start":508,"end":535,"optional":false,"callee":{"type":"MemberExpression","start":508,"end":518,"computed":false,"optional":false,"object":{"type":"Identifier","start":508,"end":512,"name":"Math"},"property":{"type":"Identifier","start":513,"end":518,"name":"floor"}},"arguments":[{"type":"BinaryExpression","start":519,"end":534,"operator":"/","left":{"type":"Identifier","start":519,"end":526,"name":"elapsed"},"right":{"type":"Literal","start":529,"end":534,"raw":"86400","value":86400}}]}}},{"type":"IfStatement","start":545,"end":641,"test":{"type":"BinaryExpression","start":549,"end":562,"operator":">=","left":{"type":"Identifier","start":549,"end":557,"name":"interval"},"right":{"type":"Literal","start":561,"end":562,"raw":"1","value":1}},"consequent":{"type":"BlockStatement","start":564,"end":641,"body":[{"type":"ReturnStatement","start":578,"end":631,"argument":{"type":"BinaryExpression","start":585,"end":630,"operator":"+","left":{"type":"BinaryExpression","start":585,"end":602,"operator":"+","left":{"type":"Identifier","start":585,"end":593,"name":"interval"},"right":{"type":"Literal","start":596,"end":602,"value":" day","raw":"' day'"}},"right":{"type":"ConditionalExpression","start":606,"end":629,"test":{"type":"BinaryExpression","start":606,"end":618,"operator":">","left":{"type":"Identifier","start":606,"end":614,"name":"interval"},"right":{"type":"Literal","start":617,"end":618,"raw":"1","value":1}},"consequent":{"type":"Literal","start":621,"end":624,"value":"s","raw":"'s'"},"alternate":{"type":"Literal","start":627,"end":629,"value":"","raw":"''"}}}}]},"alternate":null},{"type":"ExpressionStatement","start":650,"end":688,"expression":{"type":"AssignmentExpression","start":650,"end":687,"operator":"=","left":{"type":"Identifier","start":650,"end":658,"name":"interval"},"right":{"type":"CallExpression","start":661,"end":687,"optional":false,"callee":{"type":"MemberExpression","start":661,"end":671,"computed":false,"optional":false,"object":{"type":"Identifier","start":661,"end":665,"name":"Math"},"property":{"type":"Identifier","start":666,"end":671,"name":"floor"}},"arguments":[{"type":"BinaryExpression","start":672,"end":686,"operator":"/","left":{"type":"Identifier","start":672,"end":679,"name":"elapsed"},"right":{"type":"Literal","start":682,"end":686,"raw":"3600","value":3600}}]}}},{"type":"IfStatement","start":697,"end":794,"test":{"type":"BinaryExpression","start":701,"end":714,"operator":">=","left":{"type":"Identifier","start":701,"end":709,"name":"interval"},"right":{"type":"Literal","start":713,"end":714,"raw":"1","value":1}},"consequent":{"type":"BlockStatement","start":716,"end":794,"body":[{"type":"ReturnStatement","start":730,"end":784,"argument":{"type":"BinaryExpression","start":737,"end":783,"operator":"+","left":{"type":"BinaryExpression","start":737,"end":755,"operator":"+","left":{"type":"Identifier","start":737,"end":745,"name":"interval"},"right":{"type":"Literal","start":748,"end":755,"value":" hour","raw":"' hour'"}},"right":{"type":"ConditionalExpression","start":759,"end":782,"test":{"type":"BinaryExpression","start":759,"end":771,"operator":">","left":{"type":"Identifier","start":759,"end":767,"name":"interval"},"right":{"type":"Literal","start":770,"end":771,"raw":"1","value":1}},"consequent":{"type":"Literal","start":774,"end":777,"value":"s","raw":"'s'"},"alternate":{"type":"Literal","start":780,"end":782,"value":"","raw":"''"}}}}]},"alternate":null},{"type":"ExpressionStatement","start":803,"end":839,"expression":{"type":"AssignmentExpression","start":803,"end":838,"operator":"=","left":{"type":"Identifier","start":803,"end":811,"name":"interval"},"right":{"type":"CallExpression","start":814,"end":838,"optional":false,"callee":{"type":"MemberExpression","start":814,"end":824,"computed":false,"optional":false,"object":{"type":"Identifier","start":814,"end":818,"name":"Math"},"property":{"type":"Identifier","start":819,"end":824,"name":"floor"}},"arguments":[{"type":"BinaryExpression","start":825,"end":837,"operator":"/","left":{"type":"Identifier","start":825,"end":832,"name":"elapsed"},"right":{"type":"Literal","start":835,"end":837,"raw":"60","value":60}}]}}},{"type":"IfStatement","start":848,"end":947,"test":{"type":"BinaryExpression","start":852,"end":865,"operator":">=","left":{"type":"Identifier","start":852,"end":860,"name":"interval"},"right":{"type":"Literal","start":864,"end":865,"raw":"1","value":1}},"consequent":{"type":"BlockStatement","start":867,"end":947,"body":[{"type":"ReturnStatement","start":881,"end":937,"argument":{"type":"BinaryExpression","start":888,"end":936,"operator":"+","left":{"type":"BinaryExpression","start":888,"end":908,"operator":"+","left":{"type":"Identifier","start":888,"end":896,"name":"interval"},"right":{"type":"Literal","start":899,"end":908,"value":" minute","raw":"' minute'"}},"right":{"type":"ConditionalExpression","start":912,"end":935,"test":{"type":"BinaryExpression","start":912,"end":924,"operator":">","left":{"type":"Identifier","start":912,"end":920,"name":"interval"},"right":{"type":"Literal","start":923,"end":924,"raw":"1","value":1}},"consequent":{"type":"Literal","start":927,"end":930,"value":"s","raw":"'s'"},"alternate":{"type":"Literal","start":933,"end":935,"value":"","raw":"''"}}}}]},"alternate":null},{"type":"ReturnStatement","start":956,"end":1022,"argument":{"type":"BinaryExpression","start":963,"end":1021,"operator":"+","left":{"type":"BinaryExpression","start":963,"end":994,"operator":"+","left":{"type":"CallExpression","start":963,"end":982,"optional":false,"callee":{"type":"MemberExpression","start":963,"end":973,"computed":false,"optional":false,"object":{"type":"Identifier","start":963,"end":967,"name":"Math"},"property":{"type":"Identifier","start":968,"end":973,"name":"floor"}},"arguments":[{"type":"Identifier","start":974,"end":981,"name":"elapsed"}]},"right":{"type":"Literal","start":985,"end":994,"value":" second","raw":"' second'"}},"right":{"type":"ConditionalExpression","start":998,"end":1020,"test":{"type":"BinaryExpression","start":998,"end":1009,"operator":">","left":{"type":"Identifier","start":998,"end":1005,"name":"elapsed"},"right":{"type":"Literal","start":1008,"end":1009,"raw":"1","value":1}},"consequent":{"type":"Literal","start":1012,"end":1015,"value":"s","raw":"'s'"},"alternate":{"type":"Literal","start":1018,"end":1020,"value":"","raw":"''"}}}}]},"expression":false},"kind":"method"},{"type":"PropertyDefinition","start":1033,"end":1189,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1040,"end":1044,"name":"ɵfac"},"value":{"type":"CallExpression","start":1047,"end":1188,"optional":false,"callee":{"type":"MemberExpression","start":1047,"end":1068,"computed":false,"optional":false,"object":{"type":"Identifier","start":1047,"end":1049,"name":"i0"},"property":{"type":"Identifier","start":1050,"end":1068,"name":"ɵɵngDeclareFactory"}},"arguments":[{"type":"ObjectExpression","start":1069,"end":1187,"properties":[{"type":"Property","start":1071,"end":1091,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1071,"end":1081,"name":"minVersion"},"value":{"type":"Literal","start":1083,"end":1091,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":1093,"end":1111,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1093,"end":1100,"name":"version"},"value":{"type":"Literal","start":1102,"end":1111,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":1113,"end":1125,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1113,"end":1121,"name":"ngImport"},"value":{"type":"Identifier","start":1123,"end":1125,"name":"i0"},"kind":"init"},{"type":"Property","start":1127,"end":1142,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1127,"end":1131,"name":"type"},"value":{"type":"Identifier","start":1133,"end":1142,"name":"TimeSince"},"kind":"init"},{"type":"Property","start":1144,"end":1152,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1144,"end":1148,"name":"deps"},"value":{"type":"ArrayExpression","start":1150,"end":1152,"elements":[]},"kind":"init"},{"type":"Property","start":1154,"end":1185,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1154,"end":1160,"name":"target"},"value":{"type":"MemberExpression","start":1162,"end":1185,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1162,"end":1180,"computed":false,"optional":false,"object":{"type":"Identifier","start":1162,"end":1164,"name":"i0"},"property":{"type":"Identifier","start":1165,"end":1180,"name":"ɵɵFactoryTarget"}},"property":{"type":"Identifier","start":1181,"end":1185,"name":"Pipe"}},"kind":"init"}]}]}},{"type":"PropertyDefinition","start":1194,"end":1324,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1201,"end":1206,"name":"ɵpipe"},"value":{"type":"CallExpression","start":1209,"end":1323,"optional":false,"callee":{"type":"MemberExpression","start":1209,"end":1227,"computed":false,"optional":false,"object":{"type":"Identifier","start":1209,"end":1211,"name":"i0"},"property":{"type":"Identifier","start":1212,"end":1227,"name":"ɵɵngDeclarePipe"}},"arguments":[{"type":"ObjectExpression","start":1228,"end":1322,"properties":[{"type":"Property","start":1230,"end":1250,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1230,"end":1240,"name":"minVersion"},"value":{"type":"Literal","start":1242,"end":1250,"value":"14.0.0","raw":"\"14.0.0\""},"kind":"init"},{"type":"Property","start":1252,"end":1270,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1252,"end":1259,"name":"version"},"value":{"type":"Literal","start":1261,"end":1270,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":1272,"end":1284,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1272,"end":1280,"name":"ngImport"},"value":{"type":"Identifier","start":1282,"end":1284,"name":"i0"},"kind":"init"},{"type":"Property","start":1286,"end":1301,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1286,"end":1290,"name":"type"},"value":{"type":"Identifier","start":1292,"end":1301,"name":"TimeSince"},"kind":"init"},{"type":"Property","start":1303,"end":1320,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1303,"end":1307,"name":"name"},"value":{"type":"Literal","start":1309,"end":1320,"value":"timeSince","raw":"\"timeSince\""},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":1327,"end":1561,"expression":{"type":"CallExpression","start":1327,"end":1560,"optional":false,"callee":{"type":"MemberExpression","start":1327,"end":1354,"computed":false,"optional":false,"object":{"type":"Identifier","start":1327,"end":1329,"name":"i0"},"property":{"type":"Identifier","start":1330,"end":1354,"name":"ɵɵngDeclareClassMetadata"}},"arguments":[{"type":"ObjectExpression","start":1355,"end":1559,"properties":[{"type":"Property","start":1357,"end":1377,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1357,"end":1367,"name":"minVersion"},"value":{"type":"Literal","start":1369,"end":1377,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":1379,"end":1397,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1379,"end":1386,"name":"version"},"value":{"type":"Literal","start":1388,"end":1397,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":1399,"end":1411,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1399,"end":1407,"name":"ngImport"},"value":{"type":"Identifier","start":1409,"end":1411,"name":"i0"},"kind":"init"},{"type":"Property","start":1413,"end":1428,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1413,"end":1417,"name":"type"},"value":{"type":"Identifier","start":1419,"end":1428,"name":"TimeSince"},"kind":"init"},{"type":"Property","start":1430,"end":1557,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1430,"end":1440,"name":"decorators"},"value":{"type":"ArrayExpression","start":1442,"end":1557,"elements":[{"type":"ObjectExpression","start":1443,"end":1556,"properties":[{"type":"Property","start":1457,"end":1467,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1457,"end":1461,"name":"type"},"value":{"type":"Identifier","start":1463,"end":1467,"name":"Pipe"},"kind":"init"},{"type":"Property","start":1481,"end":1546,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1481,"end":1485,"name":"args"},"value":{"type":"ArrayExpression","start":1487,"end":1546,"elements":[{"type":"ObjectExpression","start":1488,"end":1545,"properties":[{"type":"Property","start":1510,"end":1527,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1510,"end":1514,"name":"name"},"value":{"type":"Literal","start":1516,"end":1527,"value":"timeSince","raw":"'timeSince'"},"kind":"init"}]}]},"kind":"init"}]}]},"kind":"init"}]}]}}],"_rollupRemoved":[{"end":5104,"start":1562,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { Pipe } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport 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 = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: TimeSince, deps: [], target: i0.ɵɵFactoryTarget.Pipe });\n static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"17.3.12\", ngImport: i0, type: TimeSince, name: \"timeSince\" });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: TimeSince, decorators: [{\n type: Pipe,\n args: [{\n name: 'timeSince'\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGltZS1zaW5jZS5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vZ3JpZC9zcmMvZm9ybS90aW1lLXNpbmNlLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7O0FBS3BELE1BQU0sT0FBTyxTQUFTO0lBQ3BCLFNBQVMsQ0FBQyxJQUFVO1FBQ2xCLE1BQU0sT0FBTyxHQUFHLENBQUMsSUFBSSxJQUFJLEVBQUUsQ0FBQyxPQUFPLEVBQUUsR0FBRyxJQUFJLElBQUksQ0FBQyxJ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aW50ZXJ2YWwgPj0gMSkge1xuICAgICAgcmV0dXJuIGludGVydmFsICsgJyB5ZWFyJyArIChpbnRlcnZhbCA+IDEgPyAncycgOiAnJyk7XG4gICAgfVxuICAgIGludGVydmFsID0gTWF0aC5mbG9vcihlbGFwc2VkIC8gMjU5MjAwMCk7XG4gICAgaWYgKGludGVydmFsID49IDEpe1xuICAgICAgcmV0dXJuIGludGVydmFsICsgJyBtb250aCcgKyAoaW50ZXJ2YWwgPiAxID8gJ3MnIDogJycpO1xuICAgIH1cbiAgICBpbnRlcnZhbCA9IE1hdGguZmxvb3IoZWxhcHNlZCAvIDg2NDAwKTtcbiAgICBpZiAoaW50ZXJ2YWwgPj0gMSkge1xuICAgICAgcmV0dXJuIGludGVydmFsICsgJyBkYXknICsgKGludGVydmFsID4gMSA/ICdzJyA6ICcnKTtcbiAgICB9XG4gICAgaW50ZXJ2YWwgPSBNYXRoLmZsb29yKGVsYXBzZWQgLyAzNjAwKTtcbiAgICBpZiAoaW50ZXJ2YWwgPj0gMSkge1xuICAgICAgcmV0dXJuIGludGVydmFsICsgJyBob3VyJyArIChpbnRlcnZhbCA+IDEgPyAncycgOiAnJyk7XG4gICAgfVxuICAgIGludGVydmFsID0gTWF0aC5mbG9vcihlbGFwc2VkIC8gNjApO1xuICAgIGlmIChpbnRlcnZhbCA+PSAxKSB7XG4gICAgICByZXR1cm4gaW50ZXJ2YWwgKyAnIG1pbnV0ZScgKyAoaW50ZXJ2YWwgPiAxID8gJ3MnIDogJycpO1xuICAgIH1cbiAgICByZXR1cm4gTWF0aC5mbG9vcihlbGFwc2VkKSArICcgc2Vjb25kJyArIChlbGFwc2VkID4gMSA/ICdzJyA6ICcnKTtcbiAgfVxufSJdfQ==","customTransformCache":false,"dependencies":["@angular/core"],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/time-since.pipe.mjs","meta":{},"moduleSideEffects":false,"originalCode":"import { Pipe } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport 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 = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: TimeSince, deps: [], target: i0.ɵɵFactoryTarget.Pipe });\n static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"17.3.12\", ngImport: i0, type: TimeSince, name: \"timeSince\" });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: TimeSince, decorators: [{\n type: Pipe,\n args: [{\n name: 'timeSince'\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGltZS1zaW5jZS5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vZ3JpZC9zcmMvZm9ybS90aW1lLXNpbmNlLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7O0FBS3BELE1BQU0sT0FBTyxTQUFTO0lBQ3BCLFNBQVMsQ0FBQyxJQUFVO1FBQ2xCL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mdldFRpbWUoKSAtIG5ldyBEYXRlKGRhdGUpLmdldFRpbWUoKSkgLyAxMDAwO1xuICAgIGxldCBpbnRlcnZhbDtcbiAgICBpZiAoaW50ZXJ2YWwgPj0gMSkge1xuICAgICAgcmV0dXJuIGludGVydmFsICsgJyB5ZWFyJyArIChpbnRlcnZhbCA+IDEgPyAncycgOiAnJyk7XG4gICAgfVxuICAgIGludGVydmFsID0gTWF0aC5mbG9vcihlbGFwc2VkIC8gMjU5MjAwMCk7XG4gICAgaWYgKGludGVydmFsID49IDEpe1xuICAgICAgcmV0dXJuIGludGVydmFsICsgJyBtb250aCcgKyAoaW50ZXJ2YWwgPiAxID8gJ3MnIDogJycpO1xuICAgIH1cbiAgICBpbnRlcnZhbCA9IE1hdGguZmxvb3IoZWxhcHNlZCAvIDg2NDAwKTtcbiAgICBpZiAoaW50ZXJ2YWwgPj0gMSkge1xuICAgICAgcmV0dXJuIGludGVydmFsICsgJyBkYXknICsgKGludGVydmFsID4gMSA/ICdzJyA6ICcnKTtcbiAgICB9XG4gICAgaW50ZXJ2YWwgPSBNYXRoLmZsb29yKGVsYXBzZWQgLyAzNjAwKTtcbiAgICBpZiAoaW50ZXJ2YWwgPj0gMSkge1xuICAgICAgcmV0dXJuIGludGVydmFsICsgJyBob3VyJyArIChpbnRlcnZhbCA+IDEgPyAncycgOiAnJyk7XG4gICAgfVxuICAgIGludGVydmFsID0gTWF0aC5mbG9vcihlbGFwc2VkIC8gNjApO1xuICAgIGlmIChpbnRlcnZhbCA+PSAxKSB7XG4gICAgICByZXR1cm4gaW50ZXJ2YWwgKyAnIG1pbnV0ZScgKyAoaW50ZXJ2YWwgPiAxID8gJ3MnIDogJycpO1xuICAgIH1cbiAgICByZXR1cm4gTWF0aC5mbG9vcihlbGFwc2VkKSArICcgc2Vjb25kJyArIChlbGFwc2VkID4gMSA/ICdzJyA6ICcnKTtcbiAgfVxufSJdfQ==","originalSourcemap":{"version":3,"file":"time-since.pipe.js","sourceRoot":"","sources":["../../../../../projects/angular-formio/grid/src/form/time-since.pipe.ts"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,9],[13,0,0,13],[15,0,0,30],[21,0,0,36],[36,0,0,51],[37,0,0,52]],[],[[0,0,5,0],[6,0,5,6],[13,0,5,13],[22,0,5,22]],[[4,0,6,2],[13,0,6,11],[14,0,6,12],[18,0,6,22]],[[8,0,7,4],[14,0,7,10],[21,0,7,17],[24,0,7,20],[25,0,7,21],[29,0,7,25],[33,0,7,29],[35,0,7,31],[36,0,7,32],[43,0,7,39],[45,0,7,41],[48,0,7,44],[52,0,7,48],[56,0,7,52],[57,0,7,53],[61,0,7,57],[62,0,7,58],[63,0,7,59],[70,0,7,66],[72,0,7,68],[73,0,7,69],[76,0,7,72],[80,0,7,76],[81,0,7,77]],[[8,0,8,4],[12,0,8,8],[20,0,8,16],[21,0,8,17]],[[8,0,9,4],[12,0,9,8],[20,0,9,16],[24,0,9,20],[25,0,9,21],[27,0,9,23],[28,0,9,24]],[[12,0,10,6],[19,0,10,13],[27,0,10,21],[30,0,10,24],[37,0,10,31],[40,0,10,34],[41,0,10,35],[49,0,10,43],[52,0,10,46],[53,0,10,47],[54,0,10,48],[55,0,10,49],[56,0,10,50],[59,0,10,53],[60,0,10,54],[61,0,10,55],[62,0,10,56],[64,0,10,58],[65,0,10,59],[66,0,10,60]],[[8,0,11,4],[9,0,11,5]],[[8,0,12,4],[16,0,12,12],[19,0,12,15],[23,0,12,19],[24,0,12,20],[29,0,12,25],[30,0,12,26],[37,0,12,33],[40,0,12,36],[47,0,12,43],[48,0,12,44],[49,0,12,45]],[[8,0,13,4],[12,0,13,8],[20,0,13,16],[24,0,13,20],[25,0,13,21],[27,0,13,22],[28,0,13,23]],[[12,0,14,6],[19,0,14,13],[27,0,14,21],[30,0,14,24],[38,0,14,32],[41,0,14,35],[42,0,14,36],[50,0,14,44],[53,0,14,47],[54,0,14,48],[55,0,14,49],[56,0,14,50],[57,0,14,51],[60,0,14,54],[61,0,14,55],[62,0,14,56],[63,0,14,57],[65,0,14,59],[66,0,14,60],[67,0,14,61]],[[8,0,15,4],[9,0,15,5]],[[8,0,16,4],[16,0,16,12],[19,0,16,15],[23,0,16,19],[24,0,16,20],[29,0,16,25],[30,0,16,26],[37,0,16,33],[40,0,16,36],[45,0,16,41],[46,0,16,42],[47,0,16,43]],[[8,0,17,4],[12,0,17,8],[20,0,17,16],[24,0,17,20],[25,0,17,21],[27,0,17,23],[28,0,17,24]],[[12,0,18,6],[19,0,18,13],[27,0,18,21],[30,0,18,24],[36,0,18,30],[39,0,18,33],[40,0,18,34],[48,0,18,42],[51,0,18,45],[52,0,18,46],[53,0,18,47],[54,0,18,48],[55,0,18,49],[58,0,18,52],[59,0,18,53],[60,0,18,54],[61,0,18,55],[63,0,18,57],[64,0,18,58],[65,0,18,59]],[[8,0,19,4],[9,0,19,5]],[[8,0,20,4],[16,0,20,12],[19,0,20,15],[23,0,20,19],[24,0,20,20],[29,0,20,25],[30,0,20,26],[37,0,20,33],[40,0,20,36],[44,0,20,40],[45,0,20,41],[46,0,20,42]],[[8,0,21,4],[12,0,21,8],[20,0,21,16],[24,0,21,20],[25,0,21,21],[27,0,21,23],[28,0,21,24]],[[12,0,22,6],[19,0,22,13],[27,0,22,21],[30,0,22,24],[37,0,22,31],[40,0,22,34],[41,0,22,35],[49,0,22,43],[52,0,22,46],[53,0,22,47],[54,0,22,48],[55,0,22,49],[56,0,22,50],[59,0,22,53],[60,0,22,54],[61,0,22,55],[62,0,22,56],[64,0,22,58],[65,0,22,59],[66,0,22,60]],[[8,0,23,4],[9,0,23,5]],[[8,0,24,4],[16,0,24,12],[19,0,24,15],[23,0,24,19],[24,0,24,20],[29,0,24,25],[30,0,24,26],[37,0,24,33],[40,0,24,36],[42,0,24,38],[43,0,24,39],[44,0,24,40]],[[8,0,25,4],[12,0,25,8],[20,0,25,16],[24,0,25,20],[25,0,25,21],[27,0,25,23],[28,0,25,24]],[[12,0,26,6],[19,0,26,13],[27,0,26,21],[30,0,26,24],[39,0,26,33],[42,0,26,36],[43,0,26,37],[51,0,26,45],[54,0,26,48],[55,0,26,49],[56,0,26,50],[57,0,26,51],[58,0,26,52],[61,0,26,55],[62,0,26,56],[63,0,26,57],[64,0,26,58],[66,0,26,60],[67,0,26,61],[68,0,26,62]],[[8,0,27,4],[9,0,27,5]],[[8,0,28,4],[15,0,28,11],[19,0,28,15],[20,0,28,16],[25,0,28,21],[26,0,28,22],[33,0,28,29],[34,0,28,30],[37,0,28,33],[46,0,28,42],[49,0,28,45],[50,0,28,46],[57,0,28,53],[60,0,28,56],[61,0,28,57],[62,0,28,58],[63,0,28,59],[64,0,28,60],[67,0,28,63],[68,0,28,64],[69,0,28,65],[70,0,28,66],[72,0,28,68],[73,0,28,69],[74,0,28,70]],[[4,0,29,2],[5,0,29,3]],[[104,0,5,13],[113,0,5,22]],[[102,0,5,13],[111,0,5,22]],[],[[92,0,5,13],[101,0,5,22]],[[18,0,2,1],[22,0,2,5]],[[19,0,2,6]],[[20,0,3,2],[24,0,3,6],[26,0,3,8],[37,0,3,19]],[[17,0,4,1]]],"sourcesContent":["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}"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":14386,"body":[{"type":"ImportDeclaration","start":0,"end":56,"specifiers":[{"type":"ImportSpecifier","start":9,"end":18,"imported":{"type":"Identifier","start":9,"end":18,"name":"Component"},"local":{"type":"Identifier","start":9,"end":18,"name":"Component"}},{"type":"ImportSpecifier","start":20,"end":32,"imported":{"type":"Identifier","start":20,"end":32,"name":"ViewChildren"},"local":{"type":"Identifier","start":20,"end":32,"name":"ViewChildren"}}],"source":{"type":"Literal","start":40,"end":55,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":57,"end":114,"specifiers":[{"type":"ImportSpecifier","start":66,"end":83,"imported":{"type":"Identifier","start":66,"end":83,"name":"GridBodyComponent"},"local":{"type":"Identifier","start":66,"end":83,"name":"GridBodyComponent"}}],"source":{"type":"Literal","start":91,"end":113,"value":"../GridBodyComponent","raw":"'../GridBodyComponent'"},"attributes":[]},{"type":"ImportDeclaration","start":115,"end":151,"specifiers":[{"type":"ImportSpecifier","start":124,"end":131,"imported":{"type":"Identifier","start":124,"end":131,"name":"Tooltip"},"local":{"type":"Identifier","start":124,"end":131,"name":"Tooltip"}}],"source":{"type":"Literal","start":139,"end":150,"value":"bootstrap","raw":"'bootstrap'"},"attributes":[]},{"type":"ImportDeclaration","start":152,"end":188,"specifiers":[{"type":"ImportNamespaceSpecifier","start":159,"end":166,"local":{"type":"Identifier","start":164,"end":166,"name":"i0"}}],"source":{"type":"Literal","start":172,"end":187,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ImportDeclaration","start":189,"end":227,"specifiers":[{"type":"ImportNamespaceSpecifier","start":196,"end":203,"local":{"type":"Identifier","start":201,"end":203,"name":"i1"}}],"source":{"type":"Literal","start":209,"end":226,"value":"@angular/common","raw":"\"@angular/common\""},"attributes":[]},{"type":"ImportDeclaration","start":228,"end":266,"specifiers":[{"type":"ImportNamespaceSpecifier","start":235,"end":242,"local":{"type":"Identifier","start":240,"end":242,"name":"i2"}}],"source":{"type":"Literal","start":248,"end":265,"value":"@angular/router","raw":"\"@angular/router\""},"attributes":[]},{"type":"ImportDeclaration","start":267,"end":307,"specifiers":[{"type":"ImportNamespaceSpecifier","start":274,"end":281,"local":{"type":"Identifier","start":279,"end":281,"name":"i3"}}],"source":{"type":"Literal","start":287,"end":306,"value":"./time-since.pipe","raw":"\"./time-since.pipe\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":308,"end":4449,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":315,"end":4449,"decorators":[],"id":{"type":"Identifier","start":321,"end":342,"name":"FormGridBodyComponent"},"superClass":{"type":"Identifier","start":351,"end":368,"name":"GridBodyComponent"},"body":{"type":"ClassBody","start":369,"end":4449,"body":[{"type":"PropertyDefinition","start":375,"end":386,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":375,"end":385,"name":"createBtns"},"value":null},{"type":"PropertyDefinition","start":391,"end":400,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":391,"end":399,"name":"viewBtns"},"value":null},{"type":"PropertyDefinition","start":405,"end":414,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":405,"end":413,"name":"editBtns"},"value":null},{"type":"PropertyDefinition","start":419,"end":435,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":419,"end":434,"name":"permissionsBtns"},"value":null},{"type":"PropertyDefinition","start":440,"end":451,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":440,"end":450,"name":"deleteBtns"},"value":null},{"type":"PropertyDefinition","start":456,"end":470,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":456,"end":464,"name":"tooltips"},"value":{"type":"ArrayExpression","start":467,"end":469,"elements":[]}},{"type":"MethodDefinition","start":475,"end":687,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":475,"end":479,"name":"load"},"value":{"type":"FunctionExpression","start":479,"end":687,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":480,"end":486,"name":"formio"},{"type":"Identifier","start":488,"end":493,"name":"query"}],"body":{"type":"BlockStatement","start":495,"end":687,"body":[{"type":"ExpressionStatement","start":505,"end":525,"expression":{"type":"AssignmentExpression","start":505,"end":524,"operator":"=","left":{"type":"Identifier","start":505,"end":510,"name":"query"},"right":{"type":"LogicalExpression","start":513,"end":524,"operator":"||","left":{"type":"Identifier","start":513,"end":518,"name":"query"},"right":{"type":"ObjectExpression","start":522,"end":524,"properties":[]}}}},{"type":"ReturnStatement","start":534,"end":681,"argument":{"type":"CallExpression","start":541,"end":680,"optional":false,"callee":{"type":"MemberExpression","start":541,"end":651,"computed":false,"optional":false,"object":{"type":"CallExpression","start":541,"end":633,"optional":false,"callee":{"type":"MemberExpression","start":541,"end":594,"computed":false,"optional":false,"object":{"type":"CallExpression","start":541,"end":576,"optional":false,"callee":{"type":"MemberExpression","start":541,"end":557,"computed":false,"optional":false,"object":{"type":"Identifier","start":541,"end":547,"name":"formio"},"property":{"type":"Identifier","start":548,"end":557,"name":"loadForms"}},"arguments":[{"type":"ObjectExpression","start":558,"end":575,"properties":[{"type":"Property","start":560,"end":573,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":560,"end":566,"name":"params"},"value":{"type":"Identifier","start":568,"end":573,"name":"query"},"kind":"init"}]}]},"property":{"type":"Identifier","start":590,"end":594,"name":"then"}},"arguments":[{"type":"ArrowFunctionExpression","start":595,"end":632,"async":false,"expression":true,"generator":false,"params":[{"type":"Identifier","start":596,"end":601,"name":"forms"}],"body":{"type":"CallExpression","start":606,"end":632,"optional":false,"callee":{"type":"MemberExpression","start":606,"end":618,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":606,"end":610},"property":{"type":"Identifier","start":611,"end":618,"name":"setRows"}},"arguments":[{"type":"Identifier","start":619,"end":624,"name":"query"},{"type":"Identifier","start":626,"end":631,"name":"forms"}]},"id":null}]},"property":{"type":"Identifier","start":647,"end":651,"name":"then"}},"arguments":[{"type":"ArrowFunctionExpression","start":652,"end":679,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"CallExpression","start":658,"end":679,"optional":false,"callee":{"type":"MemberExpression","start":658,"end":677,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":658,"end":662},"property":{"type":"Identifier","start":663,"end":677,"name":"attachTooltips"}},"arguments":[]},"id":null}]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":692,"end":1408,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":692,"end":706,"name":"attachTooltips"},"value":{"type":"FunctionExpression","start":706,"end":1408,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":709,"end":1408,"body":[{"type":"ExpressionStatement","start":719,"end":848,"expression":{"type":"CallExpression","start":719,"end":847,"optional":false,"callee":{"type":"MemberExpression","start":719,"end":742,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":719,"end":734,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":719,"end":723},"property":{"type":"Identifier","start":724,"end":734,"name":"createBtns"}},"property":{"type":"Identifier","start":735,"end":742,"name":"forEach"}},"arguments":[{"type":"ArrowFunctionExpression","start":743,"end":846,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":744,"end":746,"name":"el"}],"body":{"type":"BlockStatement","start":751,"end":846,"body":[{"type":"ExpressionStatement","start":765,"end":836,"expression":{"type":"CallExpression","start":765,"end":835,"optional":false,"callee":{"type":"MemberExpression","start":765,"end":783,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":765,"end":778,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":765,"end":769},"property":{"type":"Identifier","start":770,"end":778,"name":"tooltips"}},"property":{"type":"Identifier","start":779,"end":783,"name":"push"}},"arguments":[{"type":"NewExpression","start":784,"end":834,"callee":{"type":"Identifier","start":788,"end":795,"name":"Tooltip"},"arguments":[{"type":"MemberExpression","start":796,"end":812,"computed":false,"optional":false,"object":{"type":"Identifier","start":796,"end":798,"name":"el"},"property":{"type":"Identifier","start":799,"end":812,"name":"nativeElement"}},{"type":"ObjectExpression","start":814,"end":833,"properties":[{"type":"Property","start":816,"end":831,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":816,"end":821,"name":"title"},"value":{"type":"Literal","start":823,"end":831,"value":"Create","raw":"'Create'"},"kind":"init"}]}]}]}}]},"id":null}]}},{"type":"ExpressionStatement","start":857,"end":982,"expression":{"type":"CallExpression","start":857,"end":981,"optional":false,"callee":{"type":"MemberExpression","start":857,"end":878,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":857,"end":870,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":857,"end":861},"property":{"type":"Identifier","start":862,"end":870,"name":"editBtns"}},"property":{"type":"Identifier","start":871,"end":878,"name":"forEach"}},"arguments":[{"type":"ArrowFunctionExpression","start":879,"end":980,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":880,"end":882,"name":"el"}],"body":{"type":"BlockStatement","start":887,"end":980,"body":[{"type":"ExpressionStatement","start":901,"end":970,"expression":{"type":"CallExpression","start":901,"end":969,"optional":false,"callee":{"type":"MemberExpression","start":901,"end":919,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":901,"end":914,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":901,"end":905},"property":{"type":"Identifier","start":906,"end":914,"name":"tooltips"}},"property":{"type":"Identifier","start":915,"end":919,"name":"push"}},"arguments":[{"type":"NewExpression","start":920,"end":968,"callee":{"type":"Identifier","start":924,"end":931,"name":"Tooltip"},"arguments":[{"type":"MemberExpression","start":932,"end":948,"computed":false,"optional":false,"object":{"type":"Identifier","start":932,"end":934,"name":"el"},"property":{"type":"Identifier","start":935,"end":948,"name":"nativeElement"}},{"type":"ObjectExpression","start":950,"end":967,"properties":[{"type":"Property","start":952,"end":965,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":952,"end":957,"name":"title"},"value":{"type":"Literal","start":959,"end":965,"value":"Edit","raw":"'Edit'"},"kind":"init"}]}]}]}}]},"id":null}]}},{"type":"ExpressionStatement","start":991,"end":1116,"expression":{"type":"CallExpression","start":991,"end":1115,"optional":false,"callee":{"type":"MemberExpression","start":991,"end":1012,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":991,"end":1004,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":991,"end":995},"property":{"type":"Identifier","start":996,"end":1004,"name":"viewBtns"}},"property":{"type":"Identifier","start":1005,"end":1012,"name":"forEach"}},"arguments":[{"type":"ArrowFunctionExpression","start":1013,"end":1114,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":1014,"end":1016,"name":"el"}],"body":{"type":"BlockStatement","start":1021,"end":1114,"body":[{"type":"ExpressionStatement","start":1035,"end":1104,"expression":{"type":"CallExpression","start":1035,"end":1103,"optional":false,"callee":{"type":"MemberExpression","start":1035,"end":1053,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1035,"end":1048,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1035,"end":1039},"property":{"type":"Identifier","start":1040,"end":1048,"name":"tooltips"}},"property":{"type":"Identifier","start":1049,"end":1053,"name":"push"}},"arguments":[{"type":"NewExpression","start":1054,"end":1102,"callee":{"type":"Identifier","start":1058,"end":1065,"name":"Tooltip"},"arguments":[{"type":"MemberExpression","start":1066,"end":1082,"computed":false,"optional":false,"object":{"type":"Identifier","start":1066,"end":1068,"name":"el"},"property":{"type":"Identifier","start":1069,"end":1082,"name":"nativeElement"}},{"type":"ObjectExpression","start":1084,"end":1101,"properties":[{"type":"Property","start":1086,"end":1099,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1086,"end":1091,"name":"title"},"value":{"type":"Literal","start":1093,"end":1099,"value":"View","raw":"'View'"},"kind":"init"}]}]}]}}]},"id":null}]}},{"type":"ExpressionStatement","start":1125,"end":1264,"expression":{"type":"CallExpression","start":1125,"end":1263,"optional":false,"callee":{"type":"MemberExpression","start":1125,"end":1153,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1125,"end":1145,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1125,"end":1129},"property":{"type":"Identifier","start":1130,"end":1145,"name":"permissionsBtns"}},"property":{"type":"Identifier","start":1146,"end":1153,"name":"forEach"}},"arguments":[{"type":"ArrowFunctionExpression","start":1154,"end":1262,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":1155,"end":1157,"name":"el"}],"body":{"type":"BlockStatement","start":1162,"end":1262,"body":[{"type":"ExpressionStatement","start":1176,"end":1252,"expression":{"type":"CallExpression","start":1176,"end":1251,"optional":false,"callee":{"type":"MemberExpression","start":1176,"end":1194,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1176,"end":1189,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1176,"end":1180},"property":{"type":"Identifier","start":1181,"end":1189,"name":"tooltips"}},"property":{"type":"Identifier","start":1190,"end":1194,"name":"push"}},"arguments":[{"type":"NewExpression","start":1195,"end":1250,"callee":{"type":"Identifier","start":1199,"end":1206,"name":"Tooltip"},"arguments":[{"type":"MemberExpression","start":1207,"end":1223,"computed":false,"optional":false,"object":{"type":"Identifier","start":1207,"end":1209,"name":"el"},"property":{"type":"Identifier","start":1210,"end":1223,"name":"nativeElement"}},{"type":"ObjectExpression","start":1225,"end":1249,"properties":[{"type":"Property","start":1227,"end":1247,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1227,"end":1232,"name":"title"},"value":{"type":"Literal","start":1234,"end":1247,"value":"Permissions","raw":"'Permissions'"},"kind":"init"}]}]}]}}]},"id":null}]}},{"type":"ExpressionStatement","start":1273,"end":1402,"expression":{"type":"CallExpression","start":1273,"end":1401,"optional":false,"callee":{"type":"MemberExpression","start":1273,"end":1296,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1273,"end":1288,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1273,"end":1277},"property":{"type":"Identifier","start":1278,"end":1288,"name":"deleteBtns"}},"property":{"type":"Identifier","start":1289,"end":1296,"name":"forEach"}},"arguments":[{"type":"ArrowFunctionExpression","start":1297,"end":1400,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":1298,"end":1300,"name":"el"}],"body":{"type":"BlockStatement","start":1305,"end":1400,"body":[{"type":"ExpressionStatement","start":1319,"end":1390,"expression":{"type":"CallExpression","start":1319,"end":1389,"optional":false,"callee":{"type":"MemberExpression","start":1319,"end":1337,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1319,"end":1332,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1319,"end":1323},"property":{"type":"Identifier","start":1324,"end":1332,"name":"tooltips"}},"property":{"type":"Identifier","start":1333,"end":1337,"name":"push"}},"arguments":[{"type":"NewExpression","start":1338,"end":1388,"callee":{"type":"Identifier","start":1342,"end":1349,"name":"Tooltip"},"arguments":[{"type":"MemberExpression","start":1350,"end":1366,"computed":false,"optional":false,"object":{"type":"Identifier","start":1350,"end":1352,"name":"el"},"property":{"type":"Identifier","start":1353,"end":1366,"name":"nativeElement"}},{"type":"ObjectExpression","start":1368,"end":1387,"properties":[{"type":"Property","start":1370,"end":1385,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1370,"end":1375,"name":"title"},"value":{"type":"Literal","start":1377,"end":1385,"value":"Delete","raw":"'Delete'"},"kind":"init"}]}]}]}}]},"id":null}]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":1413,"end":1495,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1413,"end":1424,"name":"ngOnDestroy"},"value":{"type":"FunctionExpression","start":1424,"end":1495,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":1427,"end":1495,"body":[{"type":"ExpressionStatement","start":1437,"end":1489,"expression":{"type":"CallExpression","start":1437,"end":1488,"optional":false,"callee":{"type":"MemberExpression","start":1437,"end":1458,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1437,"end":1450,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1437,"end":1441},"property":{"type":"Identifier","start":1442,"end":1450,"name":"tooltips"}},"property":{"type":"Identifier","start":1451,"end":1458,"name":"forEach"}},"arguments":[{"type":"ArrowFunctionExpression","start":1459,"end":1487,"async":false,"expression":true,"generator":false,"params":[{"type":"Identifier","start":1460,"end":1466,"name":"tootip"}],"body":{"type":"CallExpression","start":1471,"end":1487,"optional":false,"callee":{"type":"MemberExpression","start":1471,"end":1485,"computed":false,"optional":false,"object":{"type":"Identifier","start":1471,"end":1477,"name":"tootip"},"property":{"type":"Identifier","start":1478,"end":1485,"name":"dispose"}},"arguments":[]},"id":null}]}}]},"expression":false},"kind":"method"},{"type":"PropertyDefinition","start":1500,"end":1675,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1507,"end":1511,"name":"ɵfac"},"value":{"type":"CallExpression","start":1514,"end":1674,"optional":false,"callee":{"type":"MemberExpression","start":1514,"end":1535,"computed":false,"optional":false,"object":{"type":"Identifier","start":1514,"end":1516,"name":"i0"},"property":{"type":"Identifier","start":1517,"end":1535,"name":"ɵɵngDeclareFactory"}},"arguments":[{"type":"ObjectExpression","start":1536,"end":1673,"properties":[{"type":"Property","start":1538,"end":1558,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1538,"end":1548,"name":"minVersion"},"value":{"type":"Literal","start":1550,"end":1558,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":1560,"end":1578,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1560,"end":1567,"name":"version"},"value":{"type":"Literal","start":1569,"end":1578,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":1580,"end":1592,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1580,"end":1588,"name":"ngImport"},"value":{"type":"Identifier","start":1590,"end":1592,"name":"i0"},"kind":"init"},{"type":"Property","start":1594,"end":1621,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1594,"end":1598,"name":"type"},"value":{"type":"Identifier","start":1600,"end":1621,"name":"FormGridBodyComponent"},"kind":"init"},{"type":"Property","start":1623,"end":1633,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1623,"end":1627,"name":"deps"},"value":{"type":"Literal","start":1629,"end":1633,"raw":"null","value":null},"kind":"init"},{"type":"Property","start":1635,"end":1671,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1635,"end":1641,"name":"target"},"value":{"type":"MemberExpression","start":1643,"end":1671,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1643,"end":1661,"computed":false,"optional":false,"object":{"type":"Identifier","start":1643,"end":1645,"name":"i0"},"property":{"type":"Identifier","start":1646,"end":1661,"name":"ɵɵFactoryTarget"}},"property":{"type":"Identifier","start":1662,"end":1671,"name":"Component"}},"kind":"init"}]}]}},{"type":"PropertyDefinition","start":1680,"end":4447,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1687,"end":1691,"name":"ɵcmp"},"value":{"type":"CallExpression","start":1694,"end":4446,"optional":false,"callee":{"type":"MemberExpression","start":1694,"end":1717,"computed":false,"optional":false,"object":{"type":"Identifier","start":1694,"end":1696,"name":"i0"},"property":{"type":"Identifier","start":1697,"end":1717,"name":"ɵɵngDeclareComponent"}},"arguments":[{"type":"ObjectExpression","start":1718,"end":4445,"properties":[{"type":"Property","start":1720,"end":1740,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1720,"end":1730,"name":"minVersion"},"value":{"type":"Literal","start":1732,"end":1740,"value":"14.0.0","raw":"\"14.0.0\""},"kind":"init"},{"type":"Property","start":1742,"end":1760,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1742,"end":1749,"name":"version"},"value":{"type":"Literal","start":1751,"end":1760,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":1762,"end":1789,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1762,"end":1766,"name":"type"},"value":{"type":"Identifier","start":1768,"end":1789,"name":"FormGridBodyComponent"},"kind":"init"},{"type":"Property","start":1791,"end":1817,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1791,"end":1799,"name":"selector"},"value":{"type":"Literal","start":1801,"end":1817,"value":"form-grid-body","raw":"\"form-grid-body\""},"kind":"init"},{"type":"Property","start":1819,"end":2204,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1819,"end":1830,"name":"viewQueries"},"value":{"type":"ArrayExpression","start":1832,"end":2204,"elements":[{"type":"ObjectExpression","start":1833,"end":1905,"properties":[{"type":"Property","start":1835,"end":1861,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1835,"end":1847,"name":"propertyName"},"value":{"type":"Literal","start":1849,"end":1861,"value":"createBtns","raw":"\"createBtns\""},"kind":"init"},{"type":"Property","start":1863,"end":1884,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1863,"end":1872,"name":"predicate"},"value":{"type":"ArrayExpression","start":1874,"end":1884,"elements":[{"type":"Literal","start":1875,"end":1883,"value":"create","raw":"\"create\""}]},"kind":"init"},{"type":"Property","start":1886,"end":1903,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1886,"end":1897,"name":"descendants"},"value":{"type":"Literal","start":1899,"end":1903,"value":true,"raw":"true"},"kind":"init"}]},{"type":"ObjectExpression","start":1907,"end":1975,"properties":[{"type":"Property","start":1909,"end":1933,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1909,"end":1921,"name":"propertyName"},"value":{"type":"Literal","start":1923,"end":1933,"value":"viewBtns","raw":"\"viewBtns\""},"kind":"init"},{"type":"Property","start":1935,"end":1954,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1935,"end":1944,"name":"predicate"},"value":{"type":"ArrayExpression","start":1946,"end":1954,"elements":[{"type":"Literal","start":1947,"end":1953,"value":"view","raw":"\"view\""}]},"kind":"init"},{"type":"Property","start":1956,"end":1973,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1956,"end":1967,"name":"descendants"},"value":{"type":"Literal","start":1969,"end":1973,"value":true,"raw":"true"},"kind":"init"}]},{"type":"ObjectExpression","start":1977,"end":2045,"properties":[{"type":"Property","start":1979,"end":2003,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1979,"end":1991,"name":"propertyName"},"value":{"type":"Literal","start":1993,"end":2003,"value":"editBtns","raw":"\"editBtns\""},"kind":"init"},{"type":"Property","start":2005,"end":2024,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2005,"end":2014,"name":"predicate"},"value":{"type":"ArrayExpression","start":2016,"end":2024,"elements":[{"type":"Literal","start":2017,"end":2023,"value":"edit","raw":"\"edit\""}]},"kind":"init"},{"type":"Property","start":2026,"end":2043,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2026,"end":2037,"name":"descendants"},"value":{"type":"Literal","start":2039,"end":2043,"value":true,"raw":"true"},"kind":"init"}]},{"type":"ObjectExpression","start":2047,"end":2129,"properties":[{"type":"Property","start":2049,"end":2080,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2049,"end":2061,"name":"propertyName"},"value":{"type":"Literal","start":2063,"end":2080,"value":"permissionsBtns","raw":"\"permissionsBtns\""},"kind":"init"},{"type":"Property","start":2082,"end":2108,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2082,"end":2091,"name":"predicate"},"value":{"type":"ArrayExpression","start":2093,"end":2108,"elements":[{"type":"Literal","start":2094,"end":2107,"value":"permissions","raw":"\"permissions\""}]},"kind":"init"},{"type":"Property","start":2110,"end":2127,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2110,"end":2121,"name":"descendants"},"value":{"type":"Literal","start":2123,"end":2127,"value":true,"raw":"true"},"kind":"init"}]},{"type":"ObjectExpression","start":2131,"end":2203,"properties":[{"type":"Property","start":2133,"end":2159,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2133,"end":2145,"name":"propertyName"},"value":{"type":"Literal","start":2147,"end":2159,"value":"deleteBtns","raw":"\"deleteBtns\""},"kind":"init"},{"type":"Property","start":2161,"end":2182,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2161,"end":2170,"name":"predicate"},"value":{"type":"ArrayExpression","start":2172,"end":2182,"elements":[{"type":"Literal","start":2173,"end":2181,"value":"delete","raw":"\"delete\""}]},"kind":"init"},{"type":"Property","start":2184,"end":2201,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2184,"end":2195,"name":"descendants"},"value":{"type":"Literal","start":2197,"end":2201,"value":true,"raw":"true"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":2206,"end":2227,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2206,"end":2221,"name":"usesInheritance"},"value":{"type":"Literal","start":2223,"end":2227,"value":true,"raw":"true"},"kind":"init"},{"type":"Property","start":2229,"end":2241,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2229,"end":2237,"name":"ngImport"},"value":{"type":"Identifier","start":2239,"end":2241,"name":"i0"},"kind":"init"},{"type":"Property","start":2243,"end":3848,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2243,"end":2251,"name":"template"},"value":{"type":"Literal","start":2253,"end":3848,"value":"<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","raw":"\"<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\""},"kind":"init"},{"type":"Property","start":3850,"end":3904,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3850,"end":3856,"name":"styles"},"value":{"type":"ArrayExpression","start":3858,"end":3904,"elements":[{"type":"Literal","start":3859,"end":3903,"value":".form-btn{font-size:.75rem;margin:2px 0}\n","raw":"\".form-btn{font-size:.75rem;margin:2px 0}\\n\""}]},"kind":"init"},{"type":"Property","start":3906,"end":4443,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3906,"end":3918,"name":"dependencies"},"value":{"type":"ArrayExpression","start":3920,"end":4443,"elements":[{"type":"ObjectExpression","start":3921,"end":4044,"properties":[{"type":"Property","start":3923,"end":3940,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3923,"end":3927,"name":"kind"},"value":{"type":"Literal","start":3929,"end":3940,"value":"directive","raw":"\"directive\""},"kind":"init"},{"type":"Property","start":3942,"end":3958,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3942,"end":3946,"name":"type"},"value":{"type":"MemberExpression","start":3948,"end":3958,"computed":false,"optional":false,"object":{"type":"Identifier","start":3948,"end":3950,"name":"i1"},"property":{"type":"Identifier","start":3951,"end":3958,"name":"NgForOf"}},"kind":"init"},{"type":"Property","start":3960,"end":3988,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3960,"end":3968,"name":"selector"},"value":{"type":"Literal","start":3970,"end":3988,"value":"[ngFor][ngForOf]","raw":"\"[ngFor][ngForOf]\""},"kind":"init"},{"type":"Property","start":3990,"end":4042,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3990,"end":3996,"name":"inputs"},"value":{"type":"ArrayExpression","start":3998,"end":4042,"elements":[{"type":"Literal","start":3999,"end":4008,"value":"ngForOf","raw":"\"ngForOf\""},{"type":"Literal","start":4010,"end":4024,"value":"ngForTrackBy","raw":"\"ngForTrackBy\""},{"type":"Literal","start":4026,"end":4041,"value":"ngForTemplate","raw":"\"ngForTemplate\""}]},"kind":"init"}]},{"type":"ObjectExpression","start":4046,"end":4144,"properties":[{"type":"Property","start":4048,"end":4065,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":4048,"end":4052,"name":"kind"},"value":{"type":"Literal","start":4054,"end":4065,"value":"directive","raw":"\"directive\""},"kind":"init"},{"type":"Property","start":4067,"end":4080,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":4067,"end":4071,"name":"type"},"value":{"type":"MemberExpression","start":4073,"end":4080,"computed":false,"optional":false,"object":{"type":"Identifier","start":4073,"end":4075,"name":"i1"},"property":{"type":"Identifier","start":4076,"end":4080,"name":"NgIf"}},"kind":"init"},{"type":"Property","start":4082,"end":4100,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":4082,"end":4090,"name":"selector"},"value":{"type":"Literal","start":4092,"end":4100,"value":"[ngIf]","raw":"\"[ngIf]\""},"kind":"init"},{"type":"Property","start":4102,"end":4142,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":4102,"end":4108,"name":"inputs"},"value":{"type":"ArrayExpression","start":4110,"end":4142,"elements":[{"type":"Literal","start":4111,"end":4117,"value":"ngIf","raw":"\"ngIf\""},{"type":"Literal","start":4119,"end":4129,"value":"ngIfThen","raw":"\"ngIfThen\""},{"type":"Literal","start":4131,"end":4141,"value":"ngIfElse","raw":"\"ngIfElse\""}]},"kind":"init"}]},{"type":"ObjectExpression","start":4146,"end":4385,"properties":[{"type":"Property","start":4148,"end":4165,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":4148,"end":4152,"name":"kind"},"value":{"type":"Literal","start":4154,"end":4165,"value":"directive","raw":"\"directive\""},"kind":"init"},{"type":"Property","start":4167,"end":4186,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":4167,"end":4171,"name":"type"},"value":{"type":"MemberExpression","start":4173,"end":4186,"computed":false,"optional":false,"object":{"type":"Identifier","start":4173,"end":4175,"name":"i2"},"property":{"type":"Identifier","start":4176,"end":4186,"name":"RouterLink"}},"kind":"init"},{"type":"Property","start":4188,"end":4212,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":4188,"end":4196,"name":"selector"},"value":{"type":"Literal","start":4198,"end":4212,"value":"[routerLink]","raw":"\"[routerLink]\""},"kind":"init"},{"type":"Property","start":4214,"end":4383,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":4214,"end":4220,"name":"inputs"},"value":{"type":"ArrayExpression","start":4222,"end":4383,"elements":[{"type":"Literal","start":4223,"end":4231,"value":"target","raw":"\"target\""},{"type":"Literal","start":4233,"end":4246,"value":"queryParams","raw":"\"queryParams\""},{"type":"Literal","start":4248,"end":4258,"value":"fragment","raw":"\"fragment\""},{"type":"Literal","start":4260,"end":4281,"value":"queryParamsHandling","raw":"\"queryParamsHandling\""},{"type":"Literal","start":4283,"end":4290,"value":"state","raw":"\"state\""},{"type":"Literal","start":4292,"end":4298,"value":"info","raw":"\"info\""},{"type":"Literal","start":4300,"end":4312,"value":"relativeTo","raw":"\"relativeTo\""},{"type":"Literal","start":4314,"end":4332,"value":"preserveFragment","raw":"\"preserveFragment\""},{"type":"Literal","start":4334,"end":4354,"value":"skipLocationChange","raw":"\"skipLocationChange\""},{"type":"Literal","start":4356,"end":4368,"value":"replaceUrl","raw":"\"replaceUrl\""},{"type":"Literal","start":4370,"end":4382,"value":"routerLink","raw":"\"routerLink\""}]},"kind":"init"}]},{"type":"ObjectExpression","start":4387,"end":4442,"properties":[{"type":"Property","start":4389,"end":4401,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":4389,"end":4393,"name":"kind"},"value":{"type":"Literal","start":4395,"end":4401,"value":"pipe","raw":"\"pipe\""},"kind":"init"},{"type":"Property","start":4403,"end":4421,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":4403,"end":4407,"name":"type"},"value":{"type":"MemberExpression","start":4409,"end":4421,"computed":false,"optional":false,"object":{"type":"Identifier","start":4409,"end":4411,"name":"i3"},"property":{"type":"Identifier","start":4412,"end":4421,"name":"TimeSince"}},"kind":"init"},{"type":"Property","start":4423,"end":4440,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":4423,"end":4427,"name":"name"},"value":{"type":"Literal","start":4429,"end":4440,"value":"timeSince","raw":"\"timeSince\""},"kind":"init"}]}]},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":4450,"end":6859,"expression":{"type":"CallExpression","start":4450,"end":6858,"optional":false,"callee":{"type":"MemberExpression","start":4450,"end":4477,"computed":false,"optional":false,"object":{"type":"Identifier","start":4450,"end":4452,"name":"i0"},"property":{"type":"Identifier","start":4453,"end":4477,"name":"ɵɵngDeclareClassMetadata"}},"arguments":[{"type":"ObjectExpression","start":4478,"end":6857,"properties":[{"type":"Property","start":4480,"end":4500,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":4480,"end":4490,"name":"minVersion"},"value":{"type":"Literal","start":4492,"end":4500,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":4502,"end":4520,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":4502,"end":4509,"name":"version"},"value":{"type":"Literal","start":4511,"end":4520,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":4522,"end":4534,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":4522,"end":4530,"name":"ngImport"},"value":{"type":"Identifier","start":4532,"end":4534,"name":"i0"},"kind":"init"},{"type":"Property","start":4536,"end":4563,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":4536,"end":4540,"name":"type"},"value":{"type":"Identifier","start":4542,"end":4563,"name":"FormGridBodyComponent"},"kind":"init"},{"type":"Property","start":4565,"end":6333,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":4565,"end":4575,"name":"decorators"},"value":{"type":"ArrayExpression","start":4577,"end":6333,"elements":[{"type":"ObjectExpression","start":4578,"end":6332,"properties":[{"type":"Property","start":4592,"end":4607,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":4592,"end":4596,"name":"type"},"value":{"type":"Identifier","start":4598,"end":4607,"name":"Component"},"kind":"init"},{"type":"Property","start":4621,"end":6322,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":4621,"end":4625,"name":"args"},"value":{"type":"ArrayExpression","start":4627,"end":6322,"elements":[{"type":"ObjectExpression","start":4628,"end":6321,"properties":[{"type":"Property","start":4630,"end":4656,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":4630,"end":4638,"name":"selector"},"value":{"type":"Literal","start":4640,"end":4656,"value":"form-grid-body","raw":"'form-grid-body'"},"kind":"init"},{"type":"Property","start":4658,"end":6263,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":4658,"end":4666,"name":"template"},"value":{"type":"Literal","start":4668,"end":6263,"value":"<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","raw":"\"<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\""},"kind":"init"},{"type":"Property","start":6265,"end":6319,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6265,"end":6271,"name":"styles"},"value":{"type":"ArrayExpression","start":6273,"end":6319,"elements":[{"type":"Literal","start":6274,"end":6318,"value":".form-btn{font-size:.75rem;margin:2px 0}\n","raw":"\".form-btn{font-size:.75rem;margin:2px 0}\\n\""}]},"kind":"init"}]}]},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":6335,"end":6855,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6335,"end":6349,"name":"propDecorators"},"value":{"type":"ObjectExpression","start":6351,"end":6855,"properties":[{"type":"Property","start":6353,"end":6451,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6353,"end":6363,"name":"createBtns"},"value":{"type":"ArrayExpression","start":6365,"end":6451,"elements":[{"type":"ObjectExpression","start":6366,"end":6450,"properties":[{"type":"Property","start":6384,"end":6402,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6384,"end":6388,"name":"type"},"value":{"type":"Identifier","start":6390,"end":6402,"name":"ViewChildren"},"kind":"init"},{"type":"Property","start":6420,"end":6436,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6420,"end":6424,"name":"args"},"value":{"type":"ArrayExpression","start":6426,"end":6436,"elements":[{"type":"Literal","start":6427,"end":6435,"value":"create","raw":"'create'"}]},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":6453,"end":6547,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6453,"end":6461,"name":"viewBtns"},"value":{"type":"ArrayExpression","start":6463,"end":6547,"elements":[{"type":"ObjectExpression","start":6464,"end":6546,"properties":[{"type":"Property","start":6482,"end":6500,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6482,"end":6486,"name":"type"},"value":{"type":"Identifier","start":6488,"end":6500,"name":"ViewChildren"},"kind":"init"},{"type":"Property","start":6518,"end":6532,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6518,"end":6522,"name":"args"},"value":{"type":"ArrayExpression","start":6524,"end":6532,"elements":[{"type":"Literal","start":6525,"end":6531,"value":"view","raw":"'view'"}]},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":6549,"end":6643,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6549,"end":6557,"name":"editBtns"},"value":{"type":"ArrayExpression","start":6559,"end":6643,"elements":[{"type":"ObjectExpression","start":6560,"end":6642,"properties":[{"type":"Property","start":6578,"end":6596,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6578,"end":6582,"name":"type"},"value":{"type":"Identifier","start":6584,"end":6596,"name":"ViewChildren"},"kind":"init"},{"type":"Property","start":6614,"end":6628,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6614,"end":6618,"name":"args"},"value":{"type":"ArrayExpression","start":6620,"end":6628,"elements":[{"type":"Literal","start":6621,"end":6627,"value":"edit","raw":"'edit'"}]},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":6645,"end":6753,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6645,"end":6660,"name":"permissionsBtns"},"value":{"type":"ArrayExpression","start":6662,"end":6753,"elements":[{"type":"ObjectExpression","start":6663,"end":6752,"properties":[{"type":"Property","start":6681,"end":6699,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6681,"end":6685,"name":"type"},"value":{"type":"Identifier","start":6687,"end":6699,"name":"ViewChildren"},"kind":"init"},{"type":"Property","start":6717,"end":6738,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6717,"end":6721,"name":"args"},"value":{"type":"ArrayExpression","start":6723,"end":6738,"elements":[{"type":"Literal","start":6724,"end":6737,"value":"permissions","raw":"'permissions'"}]},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":6755,"end":6853,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6755,"end":6765,"name":"deleteBtns"},"value":{"type":"ArrayExpression","start":6767,"end":6853,"elements":[{"type":"ObjectExpression","start":6768,"end":6852,"properties":[{"type":"Property","start":6786,"end":6804,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6786,"end":6790,"name":"type"},"value":{"type":"Identifier","start":6792,"end":6804,"name":"ViewChildren"},"kind":"init"},{"type":"Property","start":6822,"end":6838,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6822,"end":6826,"name":"args"},"value":{"type":"ArrayExpression","start":6828,"end":6838,"elements":[{"type":"Literal","start":6829,"end":6837,"value":"delete","raw":"'delete'"}]},"kind":"init"}]}]},"kind":"init"}]},"kind":"init"}]}]}}],"_rollupRemoved":[{"end":14386,"start":6860,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { Component, ViewChildren } from '@angular/core';\nimport { GridBodyComponent } from '../GridBodyComponent';\nimport { Tooltip } from 'bootstrap';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nimport * as i2 from \"@angular/router\";\nimport * as i3 from \"./time-since.pipe\";\nexport class 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 = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: FormGridBodyComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.3.12\", type: FormGridBodyComponent, selector: \"form-grid-body\", viewQueries: [{ propertyName: \"createBtns\", predicate: [\"create\"], descendants: true }, { propertyName: \"viewBtns\", predicate: [\"view\"], descendants: true }, { propertyName: \"editBtns\", predicate: [\"edit\"], descendants: true }, { propertyName: \"permissionsBtns\", predicate: [\"permissions\"], descendants: true }, { propertyName: \"deleteBtns\", predicate: [\"delete\"], descendants: true }], usesInheritance: true, ngImport: i0, 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\"], dependencies: [{ kind: \"directive\", type: i1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.RouterLink, selector: \"[routerLink]\", inputs: [\"target\", \"queryParams\", \"fragment\", \"queryParamsHandling\", \"state\", \"info\", \"relativeTo\", \"preserveFragment\", \"skipLocationChange\", \"replaceUrl\", \"routerLink\"] }, { kind: \"pipe\", type: i3.TimeSince, name: \"timeSince\" }] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: FormGridBodyComponent, decorators: [{\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 }], propDecorators: { 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//# sourceMappingURL=data:application/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bjwvbmctdGVtcGxhdGU+XG4iXX0=","customTransformCache":false,"dependencies":["@angular/core","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/GridBodyComponent.mjs","bootstrap","@angular/common","@angular/router","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/time-since.pipe.mjs"],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/FormGridBody.component.mjs","meta":{},"moduleSideEffects":false,"originalCode":"import { Component, ViewChildren } from '@angular/core';\nimport { GridBodyComponent } from '../GridBodyComponent';\nimport { Tooltip } from 'bootstrap';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nimport * as i2 from \"@angular/router\";\nimport * as i3 from \"./time-since.pipe\";\nexport class 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 = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: FormGridBodyComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.3.12\", type: FormGridBodyComponent, selector: \"form-grid-body\", viewQueries: [{ propertyName: \"createBtns\", predicate: [\"create\"], descendants: true }, { propertyName: \"viewBtns\", predicate: [\"view\"], descendants: true }, { propertyName: \"editBtns\", predicate: [\"edit\"], descendants: true }, { propertyName: \"permissionsBtns\", predicate: [\"permissions\"], descendants: true }, { propertyName: \"deleteBtns\", predicate: [\"delete\"], descendants: true }], usesInheritance: true, ngImport: i0, 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\"], dependencies: [{ kind: \"directive\", type: i1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.RouterLink, selector: \"[routerLink]\", inputs: [\"target\", \"queryParams\", \"fragment\", \"queryParamsHandling\", \"state\", \"info\", \"relativeTo\", \"preserveFragment\", \"skipLocationChange\", \"replaceUrl\", \"routerLink\"] }, { kind: \"pipe\", type: i3.TimeSince, name: \"timeSince\" }] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: FormGridBodyComponent, decorators: [{\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 }], propDecorators: { 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//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRm9ybUdyaWRCb2R5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2dyaWQvc3JjL2Zvcm0vRm9ybUdyaWRCb2R5LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2dyaWQvc3JjL2Zvcm0vRm9ybUdyaWRCb2R5LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQW9DLFlBQVksRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMxR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bmUtc2Vjb25kYXJ5IGJ0bi1zbSBmb3JtLWJ0blwiIChjbGljayk9XCJvblJvd0FjdGlvbigkZXZlbnQsIGZvcm0sICdlZGl0JylcIj48c3BhbiBjbGFzcz1cImZhIGZhLWVkaXQgYmkgYmktcGVuY2lsLXNxdWFyZVwiPjwvc3Bhbj48L2J1dHRvbj4mbmJzcDtcbiAgICAgICAgICAgIDxidXR0b24gI2RlbGV0ZSAqbmdJZj1cImFjdGlvbkFsbG93ZWQoJ2Zvcm1EZWxldGUnKVwiIGNsYXNzPVwiYnRuIGJ0bi1zZWNvbmRhcnkgYnRuLXNtIGZvcm0tYnRuIGZvcm0tYnRuLWRlbGV0ZVwiIChjbGljayk9XCJvblJvd0FjdGlvbigkZXZlbnQsIGZvcm0sICdkZWxldGUnKVwiIHRpdGxlPVwiRGVsZXRlIGZvcm1cIj48c3BhbiBjbGFzcz1cImZhIGZhLXRyYXNoIGJpIGJpLXRyYXNoXCI+PC9zcGFuPjwvYnV0dG9uPlxuICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L2Rpdj5cbiAgICAgIDwvdGQ+XG4gICAgPC90cj5cbiAgPC90Ym9keT5cbjwvbmctdGVtcGxhdGU+XG4iXX0=","originalSourcemap":{"version":3,"file":"FormGridBody.component.js","sourceRoot":"","sources":["../../../../../projects/angular-formio/grid/src/form/FormGridBody.component.ts","../../../../../projects/angular-formio/grid/src/form/FormGridBody.component.html"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,9],[18,0,0,18],[20,0,0,54],[32,0,0,66],[34,0,0,68],[40,0,0,74],[55,0,0,89],[56,0,0,90]],[[0,0,1,0],[7,0,1,7],[9,0,1,9],[26,0,1,26],[28,0,1,28],[34,0,1,34],[56,0,1,56],[57,0,1,57]],[[0,0,3,0],[7,0,3,7],[9,0,3,9],[16,0,3,16],[18,0,3,18],[24,0,3,24],[35,0,3,35],[36,0,3,36]],[],[],[],[],[[0,0,9,0],[6,0,9,6],[13,0,9,13],[34,0,9,35],[43,0,9,43],[60,0,9,60]],[[4,0,10,26],[14,0,10,36],[15,0,10,51]],[[4,0,11,24],[12,0,11,32],[13,0,11,47]],[[4,0,12,24],[12,0,12,32],[13,0,12,47]],[[4,0,13,31],[19,0,13,46],[20,0,13,61]],[[4,0,14,26],[14,0,14,36],[15,0,14,51]],[[4,0,15,9],[12,0,15,17],[15,0,15,36],[17,0,15,38],[18,0,15,39]],[[4,0,17,2],[8,0,17,6],[9,0,17,7],[15,0,17,35],[17,0,17,37],[22,0,17,48]],[[8,0,18,4],[13,0,18,9],[16,0,18,12],[21,0,18,17],[25,0,18,21],[27,0,18,23],[28,0,18,24]],[[8,0,19,4],[15,0,19,11],[21,0,19,17],[22,0,19,18],[31,0,19,27],[32,0,19,28],[34,0,19,30],[40,0,19,36],[42,0,19,38],[47,0,19,43],[49,0,19,45],[50,0,19,46]],[[13,0,20,7],[17,0,20,11],[18,0,20,12],[19,0,20,13],[24,0,20,23],[26,0,20,25],[28,0,20,27],[29,0,20,28],[33,0,20,32],[34,0,20,33],[41,0,20,40],[42,0,20,41],[47,0,20,46],[49,0,20,48],[54,0,20,53],[55,0,20,54],[56,0,20,55]],[[13,0,21,7],[17,0,21,11],[18,0,21,12],[21,0,21,15],[23,0,21,17],[24,0,21,18],[28,0,21,22],[29,0,21,23],[43,0,21,37],[45,0,21,39],[46,0,21,40],[47,0,21,41]],[[4,0,22,2],[5,0,22,3]],[[4,0,24,2],[18,0,24,16]],[[8,0,25,4],[12,0,25,8],[13,0,25,9],[23,0,25,19],[24,0,25,20],[31,0,25,27],[32,0,25,28],[33,0,25,29],[35,0,25,43],[37,0,25,45],[39,0,25,47]],[[12,0,26,6],[16,0,26,10],[17,0,26,11],[25,0,26,19],[26,0,26,20],[30,0,26,24],[31,0,26,25],[35,0,26,29],[42,0,26,36],[43,0,26,37],[45,0,26,39],[46,0,26,40],[59,0,26,53],[61,0,26,55],[63,0,26,56],[68,0,26,61],[70,0,26,63],[78,0,26,71],[80,0,26,72],[81,0,26,73],[82,0,26,74],[83,0,26,75]],[[8,0,27,4],[9,0,27,5],[10,0,27,6],[11,0,27,7]],[[8,0,28,4],[12,0,28,8],[13,0,28,9],[21,0,28,17],[22,0,28,18],[29,0,28,25],[30,0,28,26],[31,0,28,27],[33,0,28,41],[35,0,28,43],[37,0,28,45]],[[12,0,29,6],[16,0,29,10],[17,0,29,11],[25,0,29,19],[26,0,29,20],[30,0,29,24],[31,0,29,25],[35,0,29,29],[42,0,29,36],[43,0,29,37],[45,0,29,39],[46,0,29,40],[59,0,29,53],[61,0,29,55],[63,0,29,56],[68,0,29,61],[70,0,29,63],[76,0,29,69],[78,0,29,70],[79,0,29,71],[80,0,29,72],[81,0,29,73]],[[8,0,30,4],[9,0,30,5],[10,0,30,6],[11,0,30,7]],[[8,0,31,4],[12,0,31,8],[13,0,31,9],[21,0,31,17],[22,0,31,18],[29,0,31,25],[30,0,31,26],[31,0,31,27],[33,0,31,41],[35,0,31,43],[37,0,31,45]],[[12,0,32,6],[16,0,32,10],[17,0,32,11],[25,0,32,19],[26,0,32,20],[30,0,32,24],[31,0,32,25],[35,0,32,29],[42,0,32,36],[43,0,32,37],[45,0,32,39],[46,0,32,40],[59,0,32,53],[61,0,32,55],[63,0,32,56],[68,0,32,61],[70,0,32,63],[76,0,32,69],[78,0,32,70],[79,0,32,71],[80,0,32,72],[81,0,32,73]],[[8,0,33,4],[9,0,33,5],[10,0,33,6],[11,0,33,6]],[[8,0,34,4],[12,0,34,8],[13,0,34,9],[28,0,34,24],[29,0,34,25],[36,0,34,32],[37,0,34,33],[38,0,34,34],[40,0,34,48],[42,0,34,50],[44,0,34,52]],[[12,0,35,6],[16,0,35,10],[17,0,35,11],[25,0,35,19],[26,0,35,20],[30,0,35,24],[31,0,35,25],[35,0,35,29],[42,0,35,36],[43,0,35,37],[45,0,35,39],[46,0,35,40],[59,0,35,53],[61,0,35,55],[63,0,35,56],[68,0,35,61],[70,0,35,63],[83,0,35,76],[85,0,35,77],[86,0,35,78],[87,0,35,79],[88,0,35,80]],[[8,0,36,4],[9,0,36,5],[10,0,36,6],[11,0,36,7]],[[8,0,37,4],[12,0,37,8],[13,0,37,9],[23,0,37,19],[24,0,37,20],[31,0,37,27],[32,0,37,28],[33,0,37,29],[35,0,37,43],[37,0,37,45],[39,0,37,47]],[[12,0,38,6],[16,0,38,10],[17,0,38,11],[25,0,38,19],[26,0,38,20],[30,0,38,24],[31,0,38,25],[35,0,38,29],[42,0,38,36],[43,0,38,37],[45,0,38,39],[46,0,38,40],[59,0,38,53],[61,0,38,55],[63,0,38,56],[68,0,38,61],[70,0,38,63],[78,0,38,71],[80,0,38,72],[81,0,38,73],[82,0,38,74],[83,0,38,75]],[[8,0,39,4],[9,0,39,5],[10,0,39,6],[11,0,39,7]],[[4,0,40,2],[5,0,40,3]],[[4,0,42,2],[15,0,42,13]],[[8,0,43,4],[12,0,43,8],[13,0,43,9],[21,0,43,17],[22,0,43,18],[29,0,43,25],[30,0,43,26],[31,0,43,27],[37,0,43,42],[39,0,43,44],[41,0,43,46],[42,0,43,47],[48,0,43,53],[49,0,43,54],[56,0,43,61],[58,0,43,63],[59,0,43,64],[60,0,43,65]],[[4,0,44,2],[5,0,44,3]],[[104,0,9,13],[125,0,9,34]],[[92,0,9,13],[113,0,9,34],[577,1,0,0],[2172,1,22,0]],[],[[92,0,9,13],[113,0,9,34]],[[18,0,4,1],[27,0,4,10]],[[31,0,5,12],[47,0,5,28]],[[30,0,10,26],[40,0,10,36]],[[22,0,10,3],[34,0,10,15]],[[23,0,10,16],[31,0,10,24]],[[16,0,11,24],[24,0,11,32]],[[22,0,11,3],[34,0,11,15]],[[23,0,11,16],[29,0,11,22]],[[16,0,12,24],[24,0,12,32]],[[22,0,12,3],[34,0,12,15]],[[23,0,12,16],[29,0,12,22]],[[16,0,13,31],[31,0,13,46]],[[22,0,13,3],[34,0,13,15]],[[23,0,13,16],[36,0,13,29]],[[16,0,14,26],[26,0,14,36]],[[22,0,14,3],[34,0,14,15]],[[23,0,14,16],[31,0,14,24]]],"sourcesContent":["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","<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"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"bootstrap":{"attributes":{},"external":true,"id":"bootstrap","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@angular/common":{"attributes":{},"external":true,"id":"@angular/common","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@angular/router":{"attributes":{},"external":true,"id":"@angular/router","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"../GridBodyComponent":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/GridBodyComponent.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./time-since.pipe":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/time-since.pipe.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":4439,"body":[{"type":"ImportDeclaration","start":0,"end":68,"specifiers":[{"type":"ImportSpecifier","start":9,"end":28,"imported":{"type":"Identifier","start":9,"end":28,"name":"GridFooterPositions"},"local":{"type":"Identifier","start":9,"end":28,"name":"GridFooterPositions"}}],"source":{"type":"Literal","start":36,"end":67,"value":"./types/grid-footer-positions","raw":"'./types/grid-footer-positions'"},"attributes":[]},{"type":"ImportDeclaration","start":69,"end":164,"specifiers":[{"type":"ImportSpecifier","start":78,"end":83,"imported":{"type":"Identifier","start":78,"end":83,"name":"Input"},"local":{"type":"Identifier","start":78,"end":83,"name":"Input"}},{"type":"ImportSpecifier","start":85,"end":91,"imported":{"type":"Identifier","start":85,"end":91,"name":"Output"},"local":{"type":"Identifier","start":85,"end":91,"name":"Output"}},{"type":"ImportSpecifier","start":93,"end":102,"imported":{"type":"Identifier","start":93,"end":102,"name":"ViewChild"},"local":{"type":"Identifier","start":93,"end":102,"name":"ViewChild"}},{"type":"ImportSpecifier","start":104,"end":115,"imported":{"type":"Identifier","start":104,"end":115,"name":"TemplateRef"},"local":{"type":"Identifier","start":104,"end":115,"name":"TemplateRef"}},{"type":"ImportSpecifier","start":117,"end":129,"imported":{"type":"Identifier","start":117,"end":129,"name":"EventEmitter"},"local":{"type":"Identifier","start":117,"end":129,"name":"EventEmitter"}},{"type":"ImportSpecifier","start":131,"end":140,"imported":{"type":"Identifier","start":131,"end":140,"name":"Component"},"local":{"type":"Identifier","start":131,"end":140,"name":"Component"}}],"source":{"type":"Literal","start":148,"end":163,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":165,"end":201,"specifiers":[{"type":"ImportNamespaceSpecifier","start":172,"end":179,"local":{"type":"Identifier","start":177,"end":179,"name":"i0"}}],"source":{"type":"Literal","start":185,"end":200,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":202,"end":1174,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":209,"end":1174,"decorators":[],"id":{"type":"Identifier","start":215,"end":234,"name":"GridFooterComponent"},"superClass":null,"body":{"type":"ClassBody","start":235,"end":1174,"body":[{"type":"PropertyDefinition","start":241,"end":248,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":241,"end":247,"name":"header"},"value":null},{"type":"PropertyDefinition","start":253,"end":258,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":253,"end":257,"name":"body"},"value":null},{"type":"PropertyDefinition","start":263,"end":274,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":263,"end":273,"name":"createText"},"value":null},{"type":"PropertyDefinition","start":279,"end":284,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":279,"end":283,"name":"size"},"value":null},{"type":"PropertyDefinition","start":289,"end":303,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":289,"end":302,"name":"actionAllowed"},"value":null},{"type":"PropertyDefinition","start":308,"end":320,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":308,"end":319,"name":"pageChanged"},"value":null},{"type":"PropertyDefinition","start":325,"end":336,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":325,"end":335,"name":"createItem"},"value":null},{"type":"PropertyDefinition","start":341,"end":350,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":341,"end":349,"name":"template"},"value":null},{"type":"PropertyDefinition","start":355,"end":393,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":355,"end":370,"name":"footerPositions"},"value":{"type":"Identifier","start":373,"end":392,"name":"GridFooterPositions"}},{"type":"MethodDefinition","start":398,"end":512,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":398,"end":409,"name":"constructor"},"value":{"type":"FunctionExpression","start":409,"end":512,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":412,"end":512,"body":[{"type":"ExpressionStatement","start":422,"end":460,"expression":{"type":"AssignmentExpression","start":422,"end":459,"operator":"=","left":{"type":"MemberExpression","start":422,"end":438,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":422,"end":426},"property":{"type":"Identifier","start":427,"end":438,"name":"pageChanged"}},"right":{"type":"NewExpression","start":441,"end":459,"callee":{"type":"Identifier","start":445,"end":457,"name":"EventEmitter"},"arguments":[]}}},{"type":"ExpressionStatement","start":469,"end":506,"expression":{"type":"AssignmentExpression","start":469,"end":505,"operator":"=","left":{"type":"MemberExpression","start":469,"end":484,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":469,"end":473},"property":{"type":"Identifier","start":474,"end":484,"name":"createItem"}},"right":{"type":"NewExpression","start":487,"end":505,"callee":{"type":"Identifier","start":491,"end":503,"name":"EventEmitter"},"arguments":[]}}}]},"expression":false},"kind":"constructor"},{"type":"PropertyDefinition","start":517,"end":688,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":524,"end":528,"name":"ɵfac"},"value":{"type":"CallExpression","start":531,"end":687,"optional":false,"callee":{"type":"MemberExpression","start":531,"end":552,"computed":false,"optional":false,"object":{"type":"Identifier","start":531,"end":533,"name":"i0"},"property":{"type":"Identifier","start":534,"end":552,"name":"ɵɵngDeclareFactory"}},"arguments":[{"type":"ObjectExpression","start":553,"end":686,"properties":[{"type":"Property","start":555,"end":575,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":555,"end":565,"name":"minVersion"},"value":{"type":"Literal","start":567,"end":575,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":577,"end":595,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":577,"end":584,"name":"version"},"value":{"type":"Literal","start":586,"end":595,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":597,"end":609,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":597,"end":605,"name":"ngImport"},"value":{"type":"Identifier","start":607,"end":609,"name":"i0"},"kind":"init"},{"type":"Property","start":611,"end":636,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":611,"end":615,"name":"type"},"value":{"type":"Identifier","start":617,"end":636,"name":"GridFooterComponent"},"kind":"init"},{"type":"Property","start":638,"end":646,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":638,"end":642,"name":"deps"},"value":{"type":"ArrayExpression","start":644,"end":646,"elements":[]},"kind":"init"},{"type":"Property","start":648,"end":684,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":648,"end":654,"name":"target"},"value":{"type":"MemberExpression","start":656,"end":684,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":656,"end":674,"computed":false,"optional":false,"object":{"type":"Identifier","start":656,"end":658,"name":"i0"},"property":{"type":"Identifier","start":659,"end":674,"name":"ɵɵFactoryTarget"}},"property":{"type":"Identifier","start":675,"end":684,"name":"Component"}},"kind":"init"}]}]}},{"type":"PropertyDefinition","start":693,"end":1172,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":700,"end":704,"name":"ɵcmp"},"value":{"type":"CallExpression","start":707,"end":1171,"optional":false,"callee":{"type":"MemberExpression","start":707,"end":730,"computed":false,"optional":false,"object":{"type":"Identifier","start":707,"end":709,"name":"i0"},"property":{"type":"Identifier","start":710,"end":730,"name":"ɵɵngDeclareComponent"}},"arguments":[{"type":"ObjectExpression","start":731,"end":1170,"properties":[{"type":"Property","start":733,"end":753,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":733,"end":743,"name":"minVersion"},"value":{"type":"Literal","start":745,"end":753,"value":"14.0.0","raw":"\"14.0.0\""},"kind":"init"},{"type":"Property","start":755,"end":773,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":755,"end":762,"name":"version"},"value":{"type":"Literal","start":764,"end":773,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":775,"end":800,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":775,"end":779,"name":"type"},"value":{"type":"Identifier","start":781,"end":800,"name":"GridFooterComponent"},"kind":"init"},{"type":"Property","start":802,"end":826,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":802,"end":810,"name":"selector"},"value":{"type":"Literal","start":812,"end":826,"value":"ng-component","raw":"\"ng-component\""},"kind":"init"},{"type":"Property","start":828,"end":942,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":828,"end":834,"name":"inputs"},"value":{"type":"ObjectExpression","start":836,"end":942,"properties":[{"type":"Property","start":838,"end":854,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":838,"end":844,"name":"header"},"value":{"type":"Literal","start":846,"end":854,"value":"header","raw":"\"header\""},"kind":"init"},{"type":"Property","start":856,"end":868,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":856,"end":860,"name":"body"},"value":{"type":"Literal","start":862,"end":868,"value":"body","raw":"\"body\""},"kind":"init"},{"type":"Property","start":870,"end":894,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":870,"end":880,"name":"createText"},"value":{"type":"Literal","start":882,"end":894,"value":"createText","raw":"\"createText\""},"kind":"init"},{"type":"Property","start":896,"end":908,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":896,"end":900,"name":"size"},"value":{"type":"Literal","start":902,"end":908,"value":"size","raw":"\"size\""},"kind":"init"},{"type":"Property","start":910,"end":940,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":910,"end":923,"name":"actionAllowed"},"value":{"type":"Literal","start":925,"end":940,"value":"actionAllowed","raw":"\"actionAllowed\""},"kind":"init"}]},"kind":"init"},{"type":"Property","start":944,"end":1009,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":944,"end":951,"name":"outputs"},"value":{"type":"ObjectExpression","start":953,"end":1009,"properties":[{"type":"Property","start":955,"end":981,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":955,"end":966,"name":"pageChanged"},"value":{"type":"Literal","start":968,"end":981,"value":"pageChanged","raw":"\"pageChanged\""},"kind":"init"},{"type":"Property","start":983,"end":1007,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":983,"end":993,"name":"createItem"},"value":{"type":"Literal","start":995,"end":1007,"value":"createItem","raw":"\"createItem\""},"kind":"init"}]},"kind":"init"},{"type":"Property","start":1011,"end":1124,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1011,"end":1022,"name":"viewQueries"},"value":{"type":"ArrayExpression","start":1024,"end":1124,"elements":[{"type":"ObjectExpression","start":1025,"end":1123,"properties":[{"type":"Property","start":1027,"end":1051,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1027,"end":1039,"name":"propertyName"},"value":{"type":"Literal","start":1041,"end":1051,"value":"template","raw":"\"template\""},"kind":"init"},{"type":"Property","start":1053,"end":1064,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1053,"end":1058,"name":"first"},"value":{"type":"Literal","start":1060,"end":1064,"value":true,"raw":"true"},"kind":"init"},{"type":"Property","start":1066,"end":1088,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1066,"end":1075,"name":"predicate"},"value":{"type":"Identifier","start":1077,"end":1088,"name":"TemplateRef"},"kind":"init"},{"type":"Property","start":1090,"end":1107,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1090,"end":1101,"name":"descendants"},"value":{"type":"Literal","start":1103,"end":1107,"value":true,"raw":"true"},"kind":"init"},{"type":"Property","start":1109,"end":1121,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1109,"end":1115,"name":"static"},"value":{"type":"Literal","start":1117,"end":1121,"value":true,"raw":"true"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":1126,"end":1138,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1126,"end":1134,"name":"ngImport"},"value":{"type":"Identifier","start":1136,"end":1138,"name":"i0"},"kind":"init"},{"type":"Property","start":1140,"end":1152,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1140,"end":1148,"name":"template"},"value":{"type":"Literal","start":1150,"end":1152,"value":"","raw":"''"},"kind":"init"},{"type":"Property","start":1154,"end":1168,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1154,"end":1162,"name":"isInline"},"value":{"type":"Literal","start":1164,"end":1168,"value":true,"raw":"true"},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":1175,"end":1984,"expression":{"type":"CallExpression","start":1175,"end":1983,"optional":false,"callee":{"type":"MemberExpression","start":1175,"end":1202,"computed":false,"optional":false,"object":{"type":"Identifier","start":1175,"end":1177,"name":"i0"},"property":{"type":"Identifier","start":1178,"end":1202,"name":"ɵɵngDeclareClassMetadata"}},"arguments":[{"type":"ObjectExpression","start":1203,"end":1982,"properties":[{"type":"Property","start":1205,"end":1225,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1205,"end":1215,"name":"minVersion"},"value":{"type":"Literal","start":1217,"end":1225,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":1227,"end":1245,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1227,"end":1234,"name":"version"},"value":{"type":"Literal","start":1236,"end":1245,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":1247,"end":1259,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1247,"end":1255,"name":"ngImport"},"value":{"type":"Identifier","start":1257,"end":1259,"name":"i0"},"kind":"init"},{"type":"Property","start":1261,"end":1286,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1261,"end":1265,"name":"type"},"value":{"type":"Identifier","start":1267,"end":1286,"name":"GridFooterComponent"},"kind":"init"},{"type":"Property","start":1288,"end":1415,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1288,"end":1298,"name":"decorators"},"value":{"type":"ArrayExpression","start":1300,"end":1415,"elements":[{"type":"ObjectExpression","start":1301,"end":1414,"properties":[{"type":"Property","start":1315,"end":1330,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1315,"end":1319,"name":"type"},"value":{"type":"Identifier","start":1321,"end":1330,"name":"Component"},"kind":"init"},{"type":"Property","start":1344,"end":1404,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1344,"end":1348,"name":"args"},"value":{"type":"ArrayExpression","start":1350,"end":1404,"elements":[{"type":"ObjectExpression","start":1351,"end":1403,"properties":[{"type":"Property","start":1373,"end":1385,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1373,"end":1381,"name":"template"},"value":{"type":"Literal","start":1383,"end":1385,"value":"","raw":"''"},"kind":"init"}]}]},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":1417,"end":1441,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1417,"end":1431,"name":"ctorParameters"},"value":{"type":"ArrowFunctionExpression","start":1433,"end":1441,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"ArrayExpression","start":1439,"end":1441,"elements":[]},"id":null},"kind":"init"},{"type":"Property","start":1443,"end":1980,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1443,"end":1457,"name":"propDecorators"},"value":{"type":"ObjectExpression","start":1459,"end":1980,"properties":[{"type":"Property","start":1461,"end":1514,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1461,"end":1467,"name":"header"},"value":{"type":"ArrayExpression","start":1469,"end":1514,"elements":[{"type":"ObjectExpression","start":1470,"end":1513,"properties":[{"type":"Property","start":1488,"end":1499,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1488,"end":1492,"name":"type"},"value":{"type":"Identifier","start":1494,"end":1499,"name":"Input"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":1516,"end":1567,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1516,"end":1520,"name":"body"},"value":{"type":"ArrayExpression","start":1522,"end":1567,"elements":[{"type":"ObjectExpression","start":1523,"end":1566,"properties":[{"type":"Property","start":1541,"end":1552,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1541,"end":1545,"name":"type"},"value":{"type":"Identifier","start":1547,"end":1552,"name":"Input"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":1569,"end":1626,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1569,"end":1579,"name":"createText"},"value":{"type":"ArrayExpression","start":1581,"end":1626,"elements":[{"type":"ObjectExpression","start":1582,"end":1625,"properties":[{"type":"Property","start":1600,"end":1611,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1600,"end":1604,"name":"type"},"value":{"type":"Identifier","start":1606,"end":1611,"name":"Input"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":1628,"end":1679,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1628,"end":1632,"name":"size"},"value":{"type":"ArrayExpression","start":1634,"end":1679,"elements":[{"type":"ObjectExpression","start":1635,"end":1678,"properties":[{"type":"Property","start":1653,"end":1664,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1653,"end":1657,"name":"type"},"value":{"type":"Identifier","start":1659,"end":1664,"name":"Input"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":1681,"end":1741,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1681,"end":1694,"name":"actionAllowed"},"value":{"type":"ArrayExpression","start":1696,"end":1741,"elements":[{"type":"ObjectExpression","start":1697,"end":1740,"properties":[{"type":"Property","start":1715,"end":1726,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1715,"end":1719,"name":"type"},"value":{"type":"Identifier","start":1721,"end":1726,"name":"Input"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":1743,"end":1802,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1743,"end":1754,"name":"pageChanged"},"value":{"type":"ArrayExpression","start":1756,"end":1802,"elements":[{"type":"ObjectExpression","start":1757,"end":1801,"properties":[{"type":"Property","start":1775,"end":1787,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1775,"end":1779,"name":"type"},"value":{"type":"Identifier","start":1781,"end":1787,"name":"Output"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":1804,"end":1862,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1804,"end":1814,"name":"createItem"},"value":{"type":"ArrayExpression","start":1816,"end":1862,"elements":[{"type":"ObjectExpression","start":1817,"end":1861,"properties":[{"type":"Property","start":1835,"end":1847,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1835,"end":1839,"name":"type"},"value":{"type":"Identifier","start":1841,"end":1847,"name":"Output"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":1864,"end":1978,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1864,"end":1872,"name":"template"},"value":{"type":"ArrayExpression","start":1874,"end":1978,"elements":[{"type":"ObjectExpression","start":1875,"end":1977,"properties":[{"type":"Property","start":1893,"end":1908,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1893,"end":1897,"name":"type"},"value":{"type":"Identifier","start":1899,"end":1908,"name":"ViewChild"},"kind":"init"},{"type":"Property","start":1926,"end":1963,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1926,"end":1930,"name":"args"},"value":{"type":"ArrayExpression","start":1932,"end":1963,"elements":[{"type":"Identifier","start":1933,"end":1944,"name":"TemplateRef"},{"type":"ObjectExpression","start":1946,"end":1962,"properties":[{"type":"Property","start":1948,"end":1960,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1948,"end":1954,"name":"static"},"value":{"type":"Literal","start":1956,"end":1960,"value":true,"raw":"true"},"kind":"init"}]}]},"kind":"init"}]}]},"kind":"init"}]},"kind":"init"}]}]}}],"_rollupRemoved":[{"end":4439,"start":1985,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { GridFooterPositions } from './types/grid-footer-positions';\nimport { Input, Output, ViewChild, TemplateRef, EventEmitter, Component } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport 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 = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: GridFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.3.12\", type: GridFooterComponent, selector: \"ng-component\", inputs: { header: \"header\", body: \"body\", createText: \"createText\", size: \"size\", actionAllowed: \"actionAllowed\" }, outputs: { pageChanged: \"pageChanged\", createItem: \"createItem\" }, viewQueries: [{ propertyName: \"template\", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: '', isInline: true });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: GridFooterComponent, decorators: [{\n type: Component,\n args: [{\n template: ''\n }]\n }], ctorParameters: () => [], propDecorators: { 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//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiR3JpZEZvb3RlckNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9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c3RydWN0b3IoKSB7XG4gICAgdGhpcy5wYWdlQ2hhbmdlZCA9IG5ldyBFdmVudEVtaXR0ZXIoKTtcbiAgICB0aGlzLmNyZWF0ZUl0ZW0gPSBuZXcgRXZlbnRFbWl0dGVyKCk7XG4gIH1cbn1cbiJdfQ==","customTransformCache":false,"dependencies":["/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/types/grid-footer-positions.mjs","@angular/core"],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/GridFooterComponent.mjs","meta":{},"moduleSideEffects":false,"originalCode":"import { GridFooterPositions } from './types/grid-footer-positions';\nimport { Input, Output, ViewChild, TemplateRef, EventEmitter, Component } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport 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 = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: GridFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.3.12\", type: GridFooterComponent, selector: \"ng-component\", inputs: { header: \"header\", body: \"body\", createText: \"createText\", size: \"size\", actionAllowed: \"actionAllowed\" }, outputs: { pageChanged: \"pageChanged\", createItem: \"createItem\" }, viewQueries: [{ propertyName: \"template\", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: '', isInline: true });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: GridFooterComponent, decorators: [{\n type: Component,\n args: [{\n template: ''\n }]\n }], ctorParameters: () => [], propDecorators: { 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//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiR3JpZEZvb3RlckNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2dyaWQvc3JjL0dyaWRGb290ZXJDb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFDcEUsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxZQUFZLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQU8vRixNQUFNLE9BQU8sbUJBQW1CO0lBQ3JCLE1BQU0sQ0FBc0I7SUFDNUIsSUFBSSxDQUFvQjtJQUN4QixVQUFVLENBQVM7SUFDbkIsSUFBSSxDQUFTO0lBQ2IsYUFBYSxDQUFNO0lBQ2xCLFdBQVcsQ0FBb0I7SUFDL0IsVUFBVSxDQUFvQjtJQUNBLFFBQVEsQ0FBbUI7SUFFNUQsZUFBZSxHQUFHLG1CQUFtQixDQUFDO0lBRTdDO1FBQ0UsSUFBSSxDQUFDLFdBQVcsR0FBRyxJQUFJLFlBQVksRUFBRSxDQUFDO1FBQ3RDLElBQUksQ0FBQyxVQUFVLEdBQUcsSUFBSSxZQUFZLEVBQUUsQ0FBQztJQUN2QyxDQUFDO3dHQWZVLG1CQUFtQjs0RkFBbkIsbUJBQW1CLHFSQVFuQixXQUFXLDhEQVZaLEVBQUU7OzRGQUVELG1CQUFtQjtrQkFIL0IsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsRUFBRTtpQkFDYjt3RE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VtaXR0ZXI8YW55PjtcbiAgQE91dHB1dCgpIGNyZWF0ZUl0ZW06IEV2ZW50RW1pdHRlcjxhbnk+O1xuICBAVmlld0NoaWxkKFRlbXBsYXRlUmVmLCB7c3RhdGljOiB0cnVlfSkgdGVtcGxhdGU6IFRlbXBsYXRlUmVmPGFueT47XG5cbiAgcHVibGljIGZvb3RlclBvc2l0aW9ucyA9IEdyaWRGb290ZXJQb3NpdGlvbnM7XG5cbiAgY29uc3RydWN0b3IoKSB7XG4gICAgdGhpcy5wYWdlQ2hhbmdlZCA9IG5ldyBFdmVudEVtaXR0ZXIoKTtcbiAgICB0aGlzLmNyZWF0ZUl0ZW0gPSBuZXcgRXZlbnRFbWl0dGVyKCk7XG4gIH1cbn1cbiJdfQ==","originalSourcemap":{"version":3,"file":"GridFooterComponent.js","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/GridFooterComponent.ts"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,9],[28,0,0,28],[30,0,0,30],[36,0,0,36],[67,0,0,67],[68,0,0,68]],[[0,0,1,0],[7,0,1,7],[9,0,1,9],[14,0,1,14],[16,0,1,16],[22,0,1,22],[24,0,1,24],[33,0,1,33],[35,0,1,35],[46,0,1,46],[48,0,1,48],[60,0,1,60],[62,0,1,62],[71,0,1,71],[73,0,1,73],[79,0,1,79],[94,0,1,94],[95,0,1,95]],[],[[0,0,8,0],[6,0,8,6],[13,0,8,13],[32,0,8,32]],[[4,0,9,11],[10,0,9,17],[11,0,9,39]],[[4,0,10,11],[8,0,10,15],[9,0,10,35]],[[4,0,11,11],[14,0,11,21],[15,0,11,30]],[[4,0,12,11],[8,0,12,15],[9,0,12,24]],[[4,0,13,11],[17,0,13,24],[18,0,13,30]],[[4,0,14,12],[15,0,14,23],[16,0,14,43]],[[4,0,15,12],[14,0,15,22],[15,0,15,42]],[[4,0,16,42],[12,0,16,50],[13,0,16,69]],[[4,0,18,9],[19,0,18,24],[22,0,18,27],[41,0,18,46],[42,0,18,47]],[[4,0,20,2]],[[8,0,21,4],[12,0,21,8],[13,0,21,9],[24,0,21,20],[27,0,21,23],[31,0,21,27],[43,0,21,39],[45,0,21,41],[46,0,21,42]],[[8,0,22,4],[12,0,22,8],[13,0,22,9],[23,0,22,19],[26,0,22,22],[30,0,22,26],[42,0,22,38],[44,0,22,40],[45,0,22,41]],[[4,0,23,2],[5,0,23,3]],[[104,0,8,13],[123,0,8,32]],[[92,0,8,13],[111,0,8,32],[388,0,16,13],[399,0,16,24],[461,0,6,12],[463,0,6,14]],[],[[92,0,8,13],[111,0,8,32]],[[18,0,5,1],[27,0,5,10]],[[19,0,5,11]],[[20,0,6,2],[28,0,6,10],[30,0,6,12],[32,0,6,14]],[[17,0,7,1]],[[56,0,9,11],[62,0,9,17]],[[22,0,9,3],[27,0,9,8]],[[16,0,10,11],[20,0,10,15]],[[22,0,10,3],[27,0,10,8]],[[16,0,11,11],[26,0,11,21]],[[22,0,11,3],[27,0,11,8]],[[16,0,12,11],[20,0,12,15]],[[22,0,12,3],[27,0,12,8]],[[16,0,13,11],[29,0,13,24]],[[22,0,13,3],[27,0,13,8]],[[16,0,14,12],[27,0,14,23]],[[22,0,14,3],[28,0,14,9]],[[16,0,15,12],[26,0,15,22]],[[22,0,15,3],[28,0,15,9]],[[16,0,16,42],[24,0,16,50]],[[22,0,16,3],[31,0,16,12]],[[23,0,16,13],[34,0,16,24],[36,0,16,26],[38,0,16,27],[44,0,16,33],[46,0,16,35],[50,0,16,39],[52,0,16,40]]],"sourcesContent":["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"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"./types/grid-footer-positions":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/types/grid-footer-positions.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":9033,"body":[{"type":"ImportDeclaration","start":0,"end":61,"specifiers":[{"type":"ImportSpecifier","start":9,"end":18,"imported":{"type":"Identifier","start":9,"end":18,"name":"Component"},"local":{"type":"Identifier","start":9,"end":18,"name":"Component"}},{"type":"ImportSpecifier","start":20,"end":37,"imported":{"type":"Identifier","start":20,"end":37,"name":"ViewEncapsulation"},"local":{"type":"Identifier","start":20,"end":37,"name":"ViewEncapsulation"}}],"source":{"type":"Literal","start":45,"end":60,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":62,"end":123,"specifiers":[{"type":"ImportSpecifier","start":71,"end":90,"imported":{"type":"Identifier","start":71,"end":90,"name":"GridFooterComponent"},"local":{"type":"Identifier","start":71,"end":90,"name":"GridFooterComponent"}}],"source":{"type":"Literal","start":98,"end":122,"value":"../GridFooterComponent","raw":"'../GridFooterComponent'"},"attributes":[]},{"type":"ImportDeclaration","start":124,"end":160,"specifiers":[{"type":"ImportNamespaceSpecifier","start":131,"end":138,"local":{"type":"Identifier","start":136,"end":138,"name":"i0"}}],"source":{"type":"Literal","start":144,"end":159,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ImportDeclaration","start":161,"end":199,"specifiers":[{"type":"ImportNamespaceSpecifier","start":168,"end":175,"local":{"type":"Identifier","start":173,"end":175,"name":"i1"}}],"source":{"type":"Literal","start":181,"end":198,"value":"@angular/common","raw":"\"@angular/common\""},"attributes":[]},{"type":"ImportDeclaration","start":200,"end":237,"specifiers":[{"type":"ImportNamespaceSpecifier","start":207,"end":214,"local":{"type":"Identifier","start":212,"end":214,"name":"i2"}}],"source":{"type":"Literal","start":220,"end":236,"value":"@angular/forms","raw":"\"@angular/forms\""},"attributes":[]},{"type":"ImportDeclaration","start":238,"end":285,"specifiers":[{"type":"ImportNamespaceSpecifier","start":245,"end":252,"local":{"type":"Identifier","start":250,"end":252,"name":"i3"}}],"source":{"type":"Literal","start":258,"end":284,"value":"ngx-bootstrap/pagination","raw":"\"ngx-bootstrap/pagination\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":286,"end":3562,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":293,"end":3562,"decorators":[],"id":{"type":"Identifier","start":299,"end":322,"name":"FormGridFooterComponent"},"superClass":{"type":"Identifier","start":331,"end":350,"name":"GridFooterComponent"},"body":{"type":"ClassBody","start":351,"end":3562,"body":[{"type":"MethodDefinition","start":357,"end":395,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":357,"end":368,"name":"constructor"},"value":{"type":"FunctionExpression","start":368,"end":395,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":371,"end":395,"body":[{"type":"ExpressionStatement","start":381,"end":389,"expression":{"type":"CallExpression","start":381,"end":388,"optional":false,"callee":{"type":"Super","start":381,"end":386},"arguments":[]}}]},"expression":false},"kind":"constructor"},{"type":"MethodDefinition","start":400,"end":568,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":400,"end":408,"name":"ngOnInit"},"value":{"type":"FunctionExpression","start":408,"end":568,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":411,"end":568,"body":[{"type":"IfStatement","start":421,"end":499,"test":{"type":"UnaryExpression","start":425,"end":441,"operator":"!","argument":{"type":"MemberExpression","start":426,"end":441,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":426,"end":430},"property":{"type":"Identifier","start":431,"end":441,"name":"createText"}},"prefix":true},"consequent":{"type":"BlockStatement","start":443,"end":499,"body":[{"type":"ExpressionStatement","start":457,"end":489,"expression":{"type":"AssignmentExpression","start":457,"end":488,"operator":"=","left":{"type":"MemberExpression","start":457,"end":472,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":457,"end":461},"property":{"type":"Identifier","start":462,"end":472,"name":"createText"}},"right":{"type":"Literal","start":475,"end":488,"value":"Create Form","raw":"'Create Form'"}}}]},"alternate":null},{"type":"IfStatement","start":508,"end":562,"test":{"type":"UnaryExpression","start":512,"end":522,"operator":"!","argument":{"type":"MemberExpression","start":513,"end":522,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":513,"end":517},"property":{"type":"Identifier","start":518,"end":522,"name":"size"}},"prefix":true},"consequent":{"type":"BlockStatement","start":524,"end":562,"body":[{"type":"ExpressionStatement","start":538,"end":552,"expression":{"type":"AssignmentExpression","start":538,"end":551,"operator":"=","left":{"type":"MemberExpression","start":538,"end":547,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":538,"end":542},"property":{"type":"Identifier","start":543,"end":547,"name":"size"}},"right":{"type":"Literal","start":550,"end":551,"raw":"7","value":7}}}]},"alternate":null}]},"expression":false},"kind":"method"},{"type":"PropertyDefinition","start":573,"end":748,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":580,"end":584,"name":"ɵfac"},"value":{"type":"CallExpression","start":587,"end":747,"optional":false,"callee":{"type":"MemberExpression","start":587,"end":608,"computed":false,"optional":false,"object":{"type":"Identifier","start":587,"end":589,"name":"i0"},"property":{"type":"Identifier","start":590,"end":608,"name":"ɵɵngDeclareFactory"}},"arguments":[{"type":"ObjectExpression","start":609,"end":746,"properties":[{"type":"Property","start":611,"end":631,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":611,"end":621,"name":"minVersion"},"value":{"type":"Literal","start":623,"end":631,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":633,"end":651,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":633,"end":640,"name":"version"},"value":{"type":"Literal","start":642,"end":651,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":653,"end":665,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":653,"end":661,"name":"ngImport"},"value":{"type":"Identifier","start":663,"end":665,"name":"i0"},"kind":"init"},{"type":"Property","start":667,"end":696,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":667,"end":671,"name":"type"},"value":{"type":"Identifier","start":673,"end":696,"name":"FormGridFooterComponent"},"kind":"init"},{"type":"Property","start":698,"end":706,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":698,"end":702,"name":"deps"},"value":{"type":"ArrayExpression","start":704,"end":706,"elements":[]},"kind":"init"},{"type":"Property","start":708,"end":744,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":708,"end":714,"name":"target"},"value":{"type":"MemberExpression","start":716,"end":744,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":716,"end":734,"computed":false,"optional":false,"object":{"type":"Identifier","start":716,"end":718,"name":"i0"},"property":{"type":"Identifier","start":719,"end":734,"name":"ɵɵFactoryTarget"}},"property":{"type":"Identifier","start":735,"end":744,"name":"Component"}},"kind":"init"}]}]}},{"type":"PropertyDefinition","start":753,"end":3560,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":760,"end":764,"name":"ɵcmp"},"value":{"type":"CallExpression","start":767,"end":3559,"optional":false,"callee":{"type":"MemberExpression","start":767,"end":790,"computed":false,"optional":false,"object":{"type":"Identifier","start":767,"end":769,"name":"i0"},"property":{"type":"Identifier","start":770,"end":790,"name":"ɵɵngDeclareComponent"}},"arguments":[{"type":"ObjectExpression","start":791,"end":3558,"properties":[{"type":"Property","start":793,"end":813,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":793,"end":803,"name":"minVersion"},"value":{"type":"Literal","start":805,"end":813,"value":"14.0.0","raw":"\"14.0.0\""},"kind":"init"},{"type":"Property","start":815,"end":833,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":815,"end":822,"name":"version"},"value":{"type":"Literal","start":824,"end":833,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":835,"end":864,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":835,"end":839,"name":"type"},"value":{"type":"Identifier","start":841,"end":864,"name":"FormGridFooterComponent"},"kind":"init"},{"type":"Property","start":866,"end":890,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":866,"end":874,"name":"selector"},"value":{"type":"Literal","start":876,"end":890,"value":"ng-component","raw":"\"ng-component\""},"kind":"init"},{"type":"Property","start":892,"end":913,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":892,"end":907,"name":"usesInheritance"},"value":{"type":"Literal","start":909,"end":913,"value":true,"raw":"true"},"kind":"init"},{"type":"Property","start":915,"end":927,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":915,"end":923,"name":"ngImport"},"value":{"type":"Identifier","start":925,"end":927,"name":"i0"},"kind":"init"},{"type":"Property","start":929,"end":2316,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":929,"end":937,"name":"template"},"value":{"type":"Literal","start":939,"end":2316,"value":"<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","raw":"\"<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\""},"kind":"init"},{"type":"Property","start":2318,"end":2495,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2318,"end":2324,"name":"styles"},"value":{"type":"ArrayExpression","start":2326,"end":2495,"elements":[{"type":"Literal","start":2327,"end":2494,"value":"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","raw":"\"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\""}]},"kind":"init"},{"type":"Property","start":2497,"end":3514,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2497,"end":2509,"name":"dependencies"},"value":{"type":"ArrayExpression","start":2511,"end":3514,"elements":[{"type":"ObjectExpression","start":2512,"end":2610,"properties":[{"type":"Property","start":2514,"end":2531,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2514,"end":2518,"name":"kind"},"value":{"type":"Literal","start":2520,"end":2531,"value":"directive","raw":"\"directive\""},"kind":"init"},{"type":"Property","start":2533,"end":2546,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2533,"end":2537,"name":"type"},"value":{"type":"MemberExpression","start":2539,"end":2546,"computed":false,"optional":false,"object":{"type":"Identifier","start":2539,"end":2541,"name":"i1"},"property":{"type":"Identifier","start":2542,"end":2546,"name":"NgIf"}},"kind":"init"},{"type":"Property","start":2548,"end":2566,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2548,"end":2556,"name":"selector"},"value":{"type":"Literal","start":2558,"end":2566,"value":"[ngIf]","raw":"\"[ngIf]\""},"kind":"init"},{"type":"Property","start":2568,"end":2608,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2568,"end":2574,"name":"inputs"},"value":{"type":"ArrayExpression","start":2576,"end":2608,"elements":[{"type":"Literal","start":2577,"end":2583,"value":"ngIf","raw":"\"ngIf\""},{"type":"Literal","start":2585,"end":2595,"value":"ngIfThen","raw":"\"ngIfThen\""},{"type":"Literal","start":2597,"end":2607,"value":"ngIfElse","raw":"\"ngIfElse\""}]},"kind":"init"}]},{"type":"ObjectExpression","start":2612,"end":2777,"properties":[{"type":"Property","start":2614,"end":2631,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2614,"end":2618,"name":"kind"},"value":{"type":"Literal","start":2620,"end":2631,"value":"directive","raw":"\"directive\""},"kind":"init"},{"type":"Property","start":2633,"end":2658,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2633,"end":2637,"name":"type"},"value":{"type":"MemberExpression","start":2639,"end":2658,"computed":false,"optional":false,"object":{"type":"Identifier","start":2639,"end":2641,"name":"i1"},"property":{"type":"Identifier","start":2642,"end":2658,"name":"NgTemplateOutlet"}},"kind":"init"},{"type":"Property","start":2660,"end":2690,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2660,"end":2668,"name":"selector"},"value":{"type":"Literal","start":2670,"end":2690,"value":"[ngTemplateOutlet]","raw":"\"[ngTemplateOutlet]\""},"kind":"init"},{"type":"Property","start":2692,"end":2775,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2692,"end":2698,"name":"inputs"},"value":{"type":"ArrayExpression","start":2700,"end":2775,"elements":[{"type":"Literal","start":2701,"end":2726,"value":"ngTemplateOutletContext","raw":"\"ngTemplateOutletContext\""},{"type":"Literal","start":2728,"end":2746,"value":"ngTemplateOutlet","raw":"\"ngTemplateOutlet\""},{"type":"Literal","start":2748,"end":2774,"value":"ngTemplateOutletInjector","raw":"\"ngTemplateOutletInjector\""}]},"kind":"init"}]},{"type":"ObjectExpression","start":2779,"end":2881,"properties":[{"type":"Property","start":2781,"end":2798,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2781,"end":2785,"name":"kind"},"value":{"type":"Literal","start":2787,"end":2798,"value":"directive","raw":"\"directive\""},"kind":"init"},{"type":"Property","start":2800,"end":2824,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2800,"end":2804,"name":"type"},"value":{"type":"MemberExpression","start":2806,"end":2824,"computed":false,"optional":false,"object":{"type":"Identifier","start":2806,"end":2808,"name":"i2"},"property":{"type":"Identifier","start":2809,"end":2824,"name":"NgControlStatus"}},"kind":"init"},{"type":"Property","start":2826,"end":2879,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2826,"end":2834,"name":"selector"},"value":{"type":"Literal","start":2836,"end":2879,"value":"[formControlName],[ngModel],[formControl]","raw":"\"[formControlName],[ngModel],[formControl]\""},"kind":"init"}]},{"type":"ObjectExpression","start":2883,"end":3097,"properties":[{"type":"Property","start":2885,"end":2902,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2885,"end":2889,"name":"kind"},"value":{"type":"Literal","start":2891,"end":2902,"value":"directive","raw":"\"directive\""},"kind":"init"},{"type":"Property","start":2904,"end":2920,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2904,"end":2908,"name":"type"},"value":{"type":"MemberExpression","start":2910,"end":2920,"computed":false,"optional":false,"object":{"type":"Identifier","start":2910,"end":2912,"name":"i2"},"property":{"type":"Identifier","start":2913,"end":2920,"name":"NgModel"}},"kind":"init"},{"type":"Property","start":2922,"end":2985,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2922,"end":2930,"name":"selector"},"value":{"type":"Literal","start":2932,"end":2985,"value":"[ngModel]:not([formControlName]):not([formControl])","raw":"\"[ngModel]:not([formControlName]):not([formControl])\""},"kind":"init"},{"type":"Property","start":2987,"end":3044,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2987,"end":2993,"name":"inputs"},"value":{"type":"ArrayExpression","start":2995,"end":3044,"elements":[{"type":"Literal","start":2996,"end":3002,"value":"name","raw":"\"name\""},{"type":"Literal","start":3004,"end":3014,"value":"disabled","raw":"\"disabled\""},{"type":"Literal","start":3016,"end":3025,"value":"ngModel","raw":"\"ngModel\""},{"type":"Literal","start":3027,"end":3043,"value":"ngModelOptions","raw":"\"ngModelOptions\""}]},"kind":"init"},{"type":"Property","start":3046,"end":3072,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3046,"end":3053,"name":"outputs"},"value":{"type":"ArrayExpression","start":3055,"end":3072,"elements":[{"type":"Literal","start":3056,"end":3071,"value":"ngModelChange","raw":"\"ngModelChange\""}]},"kind":"init"},{"type":"Property","start":3074,"end":3095,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3074,"end":3082,"name":"exportAs"},"value":{"type":"ArrayExpression","start":3084,"end":3095,"elements":[{"type":"Literal","start":3085,"end":3094,"value":"ngModel","raw":"\"ngModel\""}]},"kind":"init"}]},{"type":"ObjectExpression","start":3099,"end":3513,"properties":[{"type":"Property","start":3101,"end":3118,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3101,"end":3105,"name":"kind"},"value":{"type":"Literal","start":3107,"end":3118,"value":"component","raw":"\"component\""},"kind":"init"},{"type":"Property","start":3120,"end":3148,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3120,"end":3124,"name":"type"},"value":{"type":"MemberExpression","start":3126,"end":3148,"computed":false,"optional":false,"object":{"type":"Identifier","start":3126,"end":3128,"name":"i3"},"property":{"type":"Identifier","start":3129,"end":3148,"name":"PaginationComponent"}},"kind":"init"},{"type":"Property","start":3150,"end":3172,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3150,"end":3158,"name":"selector"},"value":{"type":"Literal","start":3160,"end":3172,"value":"pagination","raw":"\"pagination\""},"kind":"init"},{"type":"Property","start":3174,"end":3473,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3174,"end":3180,"name":"inputs"},"value":{"type":"ArrayExpression","start":3182,"end":3473,"elements":[{"type":"Literal","start":3183,"end":3190,"value":"align","raw":"\"align\""},{"type":"Literal","start":3192,"end":3201,"value":"maxSize","raw":"\"maxSize\""},{"type":"Literal","start":3203,"end":3218,"value":"boundaryLinks","raw":"\"boundaryLinks\""},{"type":"Literal","start":3220,"end":3236,"value":"directionLinks","raw":"\"directionLinks\""},{"type":"Literal","start":3238,"end":3249,"value":"firstText","raw":"\"firstText\""},{"type":"Literal","start":3251,"end":3265,"value":"previousText","raw":"\"previousText\""},{"type":"Literal","start":3267,"end":3277,"value":"nextText","raw":"\"nextText\""},{"type":"Literal","start":3279,"end":3289,"value":"lastText","raw":"\"lastText\""},{"type":"Literal","start":3291,"end":3299,"value":"rotate","raw":"\"rotate\""},{"type":"Literal","start":3301,"end":3315,"value":"pageBtnClass","raw":"\"pageBtnClass\""},{"type":"Literal","start":3317,"end":3327,"value":"disabled","raw":"\"disabled\""},{"type":"Literal","start":3329,"end":3349,"value":"customPageTemplate","raw":"\"customPageTemplate\""},{"type":"Literal","start":3351,"end":3371,"value":"customNextTemplate","raw":"\"customNextTemplate\""},{"type":"Literal","start":3373,"end":3397,"value":"customPreviousTemplate","raw":"\"customPreviousTemplate\""},{"type":"Literal","start":3399,"end":3420,"value":"customFirstTemplate","raw":"\"customFirstTemplate\""},{"type":"Literal","start":3422,"end":3442,"value":"customLastTemplate","raw":"\"customLastTemplate\""},{"type":"Literal","start":3444,"end":3458,"value":"itemsPerPage","raw":"\"itemsPerPage\""},{"type":"Literal","start":3460,"end":3472,"value":"totalItems","raw":"\"totalItems\""}]},"kind":"init"},{"type":"Property","start":3475,"end":3511,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3475,"end":3482,"name":"outputs"},"value":{"type":"ArrayExpression","start":3484,"end":3511,"elements":[{"type":"Literal","start":3485,"end":3495,"value":"numPages","raw":"\"numPages\""},{"type":"Literal","start":3497,"end":3510,"value":"pageChanged","raw":"\"pageChanged\""}]},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":3516,"end":3556,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3516,"end":3529,"name":"encapsulation"},"value":{"type":"MemberExpression","start":3531,"end":3556,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3531,"end":3551,"computed":false,"optional":false,"object":{"type":"Identifier","start":3531,"end":3533,"name":"i0"},"property":{"type":"Identifier","start":3534,"end":3551,"name":"ViewEncapsulation"}},"property":{"type":"Identifier","start":3552,"end":3556,"name":"None"}},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":3563,"end":5394,"expression":{"type":"CallExpression","start":3563,"end":5393,"optional":false,"callee":{"type":"MemberExpression","start":3563,"end":3590,"computed":false,"optional":false,"object":{"type":"Identifier","start":3563,"end":3565,"name":"i0"},"property":{"type":"Identifier","start":3566,"end":3590,"name":"ɵɵngDeclareClassMetadata"}},"arguments":[{"type":"ObjectExpression","start":3591,"end":5392,"properties":[{"type":"Property","start":3593,"end":3613,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3593,"end":3603,"name":"minVersion"},"value":{"type":"Literal","start":3605,"end":3613,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":3615,"end":3633,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3615,"end":3622,"name":"version"},"value":{"type":"Literal","start":3624,"end":3633,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":3635,"end":3647,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3635,"end":3643,"name":"ngImport"},"value":{"type":"Identifier","start":3645,"end":3647,"name":"i0"},"kind":"init"},{"type":"Property","start":3649,"end":3678,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3649,"end":3653,"name":"type"},"value":{"type":"Identifier","start":3655,"end":3678,"name":"FormGridFooterComponent"},"kind":"init"},{"type":"Property","start":3680,"end":5364,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3680,"end":3690,"name":"decorators"},"value":{"type":"ArrayExpression","start":3692,"end":5364,"elements":[{"type":"ObjectExpression","start":3693,"end":5363,"properties":[{"type":"Property","start":3707,"end":3722,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3707,"end":3711,"name":"type"},"value":{"type":"Identifier","start":3713,"end":3722,"name":"Component"},"kind":"init"},{"type":"Property","start":3736,"end":5353,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3736,"end":3740,"name":"args"},"value":{"type":"ArrayExpression","start":3742,"end":5353,"elements":[{"type":"ObjectExpression","start":3743,"end":5352,"properties":[{"type":"Property","start":3745,"end":3782,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3745,"end":3758,"name":"encapsulation"},"value":{"type":"MemberExpression","start":3760,"end":3782,"computed":false,"optional":false,"object":{"type":"Identifier","start":3760,"end":3777,"name":"ViewEncapsulation"},"property":{"type":"Identifier","start":3778,"end":3782,"name":"None"}},"kind":"init"},{"type":"Property","start":3784,"end":5171,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3784,"end":3792,"name":"template"},"value":{"type":"Literal","start":3794,"end":5171,"value":"<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","raw":"\"<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\""},"kind":"init"},{"type":"Property","start":5173,"end":5350,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":5173,"end":5179,"name":"styles"},"value":{"type":"ArrayExpression","start":5181,"end":5350,"elements":[{"type":"Literal","start":5182,"end":5349,"value":"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","raw":"\"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\""}]},"kind":"init"}]}]},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":5366,"end":5390,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":5366,"end":5380,"name":"ctorParameters"},"value":{"type":"ArrowFunctionExpression","start":5382,"end":5390,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"ArrayExpression","start":5388,"end":5390,"elements":[]},"id":null},"kind":"init"}]}]}}],"_rollupRemoved":[{"end":9033,"start":5395,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { Component, ViewEncapsulation } from '@angular/core';\nimport { GridFooterComponent } from '../GridFooterComponent';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"ngx-bootstrap/pagination\";\nexport class 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 = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: FormGridFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.3.12\", type: FormGridFooterComponent, selector: \"ng-component\", usesInheritance: true, ngImport: i0, 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\"], dependencies: [{ kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i1.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"directive\", type: i2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i2.NgModel, selector: \"[ngModel]:not([formControlName]):not([formControl])\", inputs: [\"name\", \"disabled\", \"ngModel\", \"ngModelOptions\"], outputs: [\"ngModelChange\"], exportAs: [\"ngModel\"] }, { kind: \"component\", type: i3.PaginationComponent, selector: \"pagination\", inputs: [\"align\", \"maxSize\", \"boundaryLinks\", \"directionLinks\", \"firstText\", \"previousText\", \"nextText\", \"lastText\", \"rotate\", \"pageBtnClass\", \"disabled\", \"customPageTemplate\", \"customNextTemplate\", \"customPreviousTemplate\", \"customFirstTemplate\", \"customLastTemplate\", \"itemsPerPage\", \"totalItems\"], outputs: [\"numPages\", \"pageChanged\"] }], encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: FormGridFooterComponent, decorators: [{\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 }], ctorParameters: () => [] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRm9ybUdyaWRGb290ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vZ3JpZC9zcmMvZm9ybS9Gb3JtR3JpZEZvb3Rlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9ncmlkL3NyYy9mb3JtL0Zvcm1HcmlkRm9vdGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsaUJBQWlCLEVBQVUsTUFB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@angular/core","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/GridFooterComponent.mjs","@angular/common","@angular/forms","ngx-bootstrap/pagination"],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/FormGridFooter.component.mjs","meta":{},"moduleSideEffects":false,"originalCode":"import { Component, ViewEncapsulation } from '@angular/core';\nimport { GridFooterComponent } from '../GridFooterComponent';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"ngx-bootstrap/pagination\";\nexport class 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 = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: FormGridFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.3.12\", type: FormGridFooterComponent, selector: \"ng-component\", usesInheritance: true, ngImport: i0, 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\"], dependencies: [{ kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i1.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"directive\", type: i2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i2.NgModel, selector: \"[ngModel]:not([formControlName]):not([formControl])\", inputs: [\"name\", \"disabled\", \"ngModel\", \"ngModelOptions\"], outputs: [\"ngModelChange\"], exportAs: [\"ngModel\"] }, { kind: \"component\", type: i3.PaginationComponent, selector: \"pagination\", inputs: [\"align\", \"maxSize\", \"boundaryLinks\", \"directionLinks\", \"firstText\", \"previousText\", \"nextText\", \"lastText\", \"rotate\", \"pageBtnClass\", \"disabled\", \"customPageTemplate\", \"customNextTemplate\", \"customPreviousTemplate\", \"customFirstTemplate\", \"customLastTemplate\", \"itemsPerPage\", \"totalItems\"], outputs: [\"numPages\", \"pageChanged\"] }], encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: FormGridFooterComponent, decorators: [{\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{marg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G4gICAgICA8c3BhbiBbYXR0ci5hcmlhLWxhYmVsXT1cImxhYmVsXCIgcm9sZT1cIm5hdmlnYXRpb25cIj5cbiAgICAgICAgPHBhZ2luYXRpb24gW3RvdGFsSXRlbXNdPVwiYm9keS50b3RhbFwiIFtpdGVtc1BlclBhZ2VdPVwiYm9keS5saW1pdFwiIFsobmdNb2RlbCldPVwiYm9keS5za2lwXCIgKHBhZ2VDaGFuZ2VkKT1cInBhZ2VDaGFuZ2VkLmVtaXQoJGV2ZW50KVwiIFttYXhTaXplXT1cInNpemVcIiBjbGFzcz1cImp1c3RpZnktY29udGVudC1jZW50ZXIgcGFnaW5hdGlvbi1zbVwiPlxuICAgICAgICA8L3BhZ2luYXRpb24+XG4gICAgICA8L3NwYW4+XG4gICAgPC90ZD5cbiAgPC90cj5cbjwvbmctdGVtcGxhdGU+XG4iXX0=","originalSourcemap":{"version":3,"file":"FormGridFooter.component.js","sourceRoot":"","sources":["../../../../../projects/angular-formio/grid/src/form/FormGridFooter.component.ts","../../../../../projects/angular-formio/grid/src/form/FormGridFooter.component.html"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,8],[18,0,0,17],[20,0,0,19],[37,0,0,36],[39,0,0,46],[45,0,0,52],[60,0,0,67],[61,0,0,68]],[[0,0,1,0],[7,0,1,7],[9,0,1,9],[28,0,1,28],[30,0,1,30],[36,0,1,36],[60,0,1,60],[61,0,1,61]],[],[],[],[],[[0,0,8,0],[6,0,8,6],[13,0,8,13],[36,0,8,37],[45,0,8,45],[64,0,8,64]],[[4,0,10,2]],[[8,0,11,4],[13,0,11,9],[15,0,11,11],[16,0,11,12]],[[4,0,12,2],[5,0,12,3]],[[4,0,14,2],[12,0,14,10]],[[8,0,15,4],[12,0,15,8],[13,0,15,9],[17,0,15,13],[18,0,15,14],[28,0,15,24],[30,0,15,26],[31,0,15,27]],[[12,0,16,6],[16,0,16,10],[17,0,16,11],[27,0,16,21],[30,0,16,24],[43,0,16,37],[44,0,16,38]],[[8,0,17,4],[9,0,17,5]],[[8,0,18,4],[12,0,18,8],[13,0,18,9],[17,0,18,13],[18,0,18,14],[22,0,18,18],[24,0,18,20],[25,0,18,21]],[[12,0,19,6],[16,0,19,10],[17,0,19,11],[21,0,19,15],[24,0,19,18],[25,0,19,19],[26,0,19,20]],[[8,0,20,4],[9,0,20,5]],[[4,0,21,2],[5,0,21,3]],[[104,0,8,13],[127,0,8,36]],[[92,0,8,13],[115,0,8,36],[190,1,0,0],[1567,1,21,0]],[],[[92,0,8,13],[115,0,8,36]],[[18,0,3,1],[27,0,3,10]],[[36,0,6,17],[53,0,6,34],[54,0,6,35],[58,0,6,39]]],"sourcesContent":["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","<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"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@angular/common":{"attributes":{},"external":true,"id":"@angular/common","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@angular/forms":{"attributes":{},"external":true,"id":"@angular/forms","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"ngx-bootstrap/pagination":{"attributes":{},"external":true,"id":"ngx-bootstrap/pagination","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"../GridFooterComponent":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/GridFooterComponent.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":1354,"body":[{"type":"ImportDeclaration","start":0,"end":69,"specifiers":[{"type":"ImportSpecifier","start":9,"end":32,"imported":{"type":"Identifier","start":9,"end":32,"name":"FormGridHeaderComponent"},"local":{"type":"Identifier","start":9,"end":32,"name":"FormGridHeaderComponent"}}],"source":{"type":"Literal","start":40,"end":68,"value":"./FormGridHeader.component","raw":"'./FormGridHeader.component'"},"attributes":[]},{"type":"ImportDeclaration","start":70,"end":135,"specifiers":[{"type":"ImportSpecifier","start":79,"end":100,"imported":{"type":"Identifier","start":79,"end":100,"name":"FormGridBodyComponent"},"local":{"type":"Identifier","start":79,"end":100,"name":"FormGridBodyComponent"}}],"source":{"type":"Literal","start":108,"end":134,"value":"./FormGridBody.component","raw":"'./FormGridBody.component'"},"attributes":[]},{"type":"ImportDeclaration","start":136,"end":205,"specifiers":[{"type":"ImportSpecifier","start":145,"end":168,"imported":{"type":"Identifier","start":145,"end":168,"name":"FormGridFooterComponent"},"local":{"type":"Identifier","start":145,"end":168,"name":"FormGridFooterComponent"}}],"source":{"type":"Literal","start":176,"end":204,"value":"./FormGridFooter.component","raw":"'./FormGridFooter.component'"},"attributes":[]},{"type":"ExportDefaultDeclaration","start":206,"end":331,"declaration":{"type":"ObjectExpression","start":221,"end":330,"properties":[{"type":"Property","start":227,"end":258,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":227,"end":233,"name":"header"},"value":{"type":"Identifier","start":235,"end":258,"name":"FormGridHeaderComponent"},"kind":"init"},{"type":"Property","start":264,"end":291,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":264,"end":268,"name":"body"},"value":{"type":"Identifier","start":270,"end":291,"name":"FormGridBodyComponent"},"kind":"init"},{"type":"Property","start":297,"end":328,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":297,"end":303,"name":"footer"},"value":{"type":"Identifier","start":305,"end":328,"name":"FormGridFooterComponent"},"kind":"init"}]}}],"_rollupRemoved":[{"end":1354,"start":332,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"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//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9ncmlkL3NyYy9mb3JtL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQ3JFLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQ2pFLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQ3JFLGVBQWU7SUFDYixNQUFNLEVBQUUsdUJBQXVCO0lBQy9CLElBQUksRUFBRSxxQkFBcUI7SUFDM0IsTUFBTSxFQUFFLHVCQUF1QjtDQUNoQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRm9ybUdyaWRIZWFkZXJDb21wb25lbnQgfSBmcm9tICcuL0Zvcm1HcmlkSGVhZGVyLmNvbXBvbmVudCc7XG5pbXBvcnQgeyBGb3JtR3JpZEJvZHlDb21wb25lbnQgfSBmcm9tICcuL0Zvcm1HcmlkQm9keS5jb21wb25lbnQnO1xuaW1wb3J0IHsgRm9ybUdyaWRGb290ZXJDb21wb25lbnQgfSBmcm9tICcuL0Zvcm1HcmlkRm9vdGVyLmNvbXBvbmVudCc7XG5leHBvcnQgZGVmYXVsdCB7XG4gIGhlYWRlcjogRm9ybUdyaWRIZWFkZXJDb21wb25lbnQsXG4gIGJvZHk6IEZvcm1HcmlkQm9keUNvbXBvbmVudCxcbiAgZm9vdGVyOiBGb3JtR3JpZEZvb3RlckNvbXBvbmVudFxufTtcbiJdfQ==","customTransformCache":false,"dependencies":["/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/FormGridHeader.component.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/FormGridBody.component.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/FormGridFooter.component.mjs"],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/index.mjs","meta":{},"moduleSideEffects":false,"originalCode":"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//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9ncmlkL3NyYy9mb3JtL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQ3JFLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQ2pFLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQ3JFLGVBQWU7SUFDYixNQUFNLEVBQUUsdUJBQXVCO0lBQy9CLElBQUksRUFBRSxxQkFBcUI7SUFDM0IsTUFBTSxFQUFFLHVCQUF1QjtDQUNoQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRm9ybUdyaWRIZWFkZXJDb21wb25lbnQgfSBmcm9tICcuL0Zvcm1HcmlkSGVhZGVyLmNvbXBvbmVudCc7XG5pbXBvcnQgeyBGb3JtR3JpZEJvZHlDb21wb25lbnQgfSBmcm9tICcuL0Zvcm1HcmlkQm9keS5jb21wb25lbnQnO1xuaW1wb3J0IHsgRm9ybUdyaWRGb290ZXJDb21wb25lbnQgfSBmcm9tICcuL0Zvcm1HcmlkRm9vdGVyLmNvbXBvbmVudCc7XG5leHBvcnQgZGVmYXVsdCB7XG4gIGhlYWRlcjogRm9ybUdyaWRIZWFkZXJDb21wb25lbnQsXG4gIGJvZHk6IEZvcm1HcmlkQm9keUNvbXBvbmVudCxcbiAgZm9vdGVyOiBGb3JtR3JpZEZvb3RlckNvbXBvbmVudFxufTtcbiJdfQ==","originalSourcemap":{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../projects/angular-formio/grid/src/form/index.ts"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,9],[32,0,0,32],[34,0,0,34],[40,0,0,40],[68,0,0,68],[69,0,0,69]],[[0,0,1,0],[7,0,1,7],[9,0,1,9],[30,0,1,30],[32,0,1,32],[38,0,1,38],[64,0,1,64],[65,0,1,65]],[[0,0,2,0],[7,0,2,7],[9,0,2,9],[32,0,2,32],[34,0,2,34],[40,0,2,40],[68,0,2,68],[69,0,2,69]],[[0,0,3,0],[15,0,3,15]],[[4,0,4,2],[10,0,4,8],[12,0,4,10],[35,0,4,33]],[[4,0,5,2],[8,0,5,6],[10,0,5,8],[31,0,5,29]],[[4,0,6,2],[10,0,6,8],[12,0,6,10],[35,0,6,33]],[[1,0,7,1],[2,0,7,2]]],"sourcesContent":["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"]},"resolvedIds":{"./FormGridHeader.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/FormGridHeader.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./FormGridBody.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/FormGridBody.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./FormGridFooter.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/FormGridFooter.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":11369,"body":[{"type":"ImportDeclaration","start":0,"end":42,"specifiers":[{"type":"ImportSpecifier","start":9,"end":18,"imported":{"type":"Identifier","start":9,"end":18,"name":"Component"},"local":{"type":"Identifier","start":9,"end":18,"name":"Component"}}],"source":{"type":"Literal","start":26,"end":41,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":43,"end":90,"specifiers":[{"type":"ImportSpecifier","start":52,"end":57,"imported":{"type":"Identifier","start":52,"end":57,"name":"Utils"},"local":{"type":"Identifier","start":52,"end":57,"name":"Utils"}},{"type":"ImportSpecifier","start":59,"end":69,"imported":{"type":"Identifier","start":59,"end":69,"name":"Components"},"local":{"type":"Identifier","start":59,"end":69,"name":"Components"}}],"source":{"type":"Literal","start":77,"end":89,"value":"@formio/js","raw":"'@formio/js'"},"attributes":[]},{"type":"ImportDeclaration","start":91,"end":152,"specifiers":[{"type":"ImportSpecifier","start":100,"end":119,"imported":{"type":"Identifier","start":100,"end":119,"name":"GridHeaderComponent"},"local":{"type":"Identifier","start":100,"end":119,"name":"GridHeaderComponent"}}],"source":{"type":"Literal","start":127,"end":151,"value":"../GridHeaderComponent","raw":"'../GridHeaderComponent'"},"attributes":[]},{"type":"ImportDeclaration","start":153,"end":189,"specifiers":[{"type":"ImportNamespaceSpecifier","start":160,"end":167,"local":{"type":"Identifier","start":165,"end":167,"name":"i0"}}],"source":{"type":"Literal","start":173,"end":188,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ImportDeclaration","start":190,"end":228,"specifiers":[{"type":"ImportNamespaceSpecifier","start":197,"end":204,"local":{"type":"Identifier","start":202,"end":204,"name":"i1"}}],"source":{"type":"Literal","start":210,"end":227,"value":"@angular/common","raw":"\"@angular/common\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":229,"end":3302,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":236,"end":3302,"decorators":[],"id":{"type":"Identifier","start":242,"end":271,"name":"SubmissionGridHeaderComponent"},"superClass":{"type":"Identifier","start":280,"end":299,"name":"GridHeaderComponent"},"body":{"type":"ClassBody","start":300,"end":3302,"body":[{"type":"PropertyDefinition","start":384,"end":399,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":384,"end":398,"name":"formComponents"},"value":null},{"type":"MethodDefinition","start":404,"end":924,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":404,"end":408,"name":"load"},"value":{"type":"FunctionExpression","start":408,"end":924,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":409,"end":415,"name":"formio"},{"type":"Identifier","start":417,"end":422,"name":"query"},{"type":"Identifier","start":424,"end":431,"name":"columns"}],"body":{"type":"BlockStatement","start":433,"end":924,"body":[{"type":"ExpressionStatement","start":443,"end":463,"expression":{"type":"AssignmentExpression","start":443,"end":462,"operator":"=","left":{"type":"Identifier","start":443,"end":448,"name":"query"},"right":{"type":"LogicalExpression","start":451,"end":462,"operator":"||","left":{"type":"Identifier","start":451,"end":456,"name":"query"},"right":{"type":"ObjectExpression","start":460,"end":462,"properties":[]}}}},{"type":"ReturnStatement","start":472,"end":918,"argument":{"type":"CallExpression","start":479,"end":917,"optional":false,"callee":{"type":"MemberExpression","start":479,"end":518,"computed":false,"optional":false,"object":{"type":"CallExpression","start":479,"end":513,"optional":false,"callee":{"type":"MemberExpression","start":479,"end":494,"computed":false,"optional":false,"object":{"type":"Identifier","start":479,"end":485,"name":"formio"},"property":{"type":"Identifier","start":486,"end":494,"name":"loadForm"}},"arguments":[{"type":"ObjectExpression","start":495,"end":512,"properties":[{"type":"Property","start":497,"end":510,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":497,"end":503,"name":"params"},"value":{"type":"Identifier","start":505,"end":510,"name":"query"},"kind":"init"}]}]},"property":{"type":"Identifier","start":514,"end":518,"name":"then"}},"arguments":[{"type":"ArrowFunctionExpression","start":519,"end":916,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":520,"end":524,"name":"form"}],"body":{"type":"BlockStatement","start":529,"end":916,"body":[{"type":"ExpressionStatement","start":543,"end":561,"expression":{"type":"AssignmentExpression","start":543,"end":560,"operator":"=","left":{"type":"MemberExpression","start":543,"end":555,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":543,"end":547},"property":{"type":"Identifier","start":548,"end":555,"name":"headers"}},"right":{"type":"ArrayExpression","start":558,"end":560,"elements":[]}}},{"type":"ExpressionStatement","start":574,"end":606,"expression":{"type":"AssignmentExpression","start":574,"end":605,"operator":"=","left":{"type":"MemberExpression","start":574,"end":593,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":574,"end":578},"property":{"type":"Identifier","start":579,"end":593,"name":"formComponents"}},"right":{"type":"NewExpression","start":596,"end":605,"callee":{"type":"Identifier","start":600,"end":603,"name":"Map"},"arguments":[]}}},{"type":"ExpressionStatement","start":619,"end":655,"expression":{"type":"CallExpression","start":619,"end":654,"optional":false,"callee":{"type":"MemberExpression","start":619,"end":637,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":619,"end":623},"property":{"type":"Identifier","start":624,"end":637,"name":"setComponents"}},"arguments":[{"type":"MemberExpression","start":638,"end":653,"computed":false,"optional":false,"object":{"type":"Identifier","start":638,"end":642,"name":"form"},"property":{"type":"Identifier","start":643,"end":653,"name":"components"}}]}},{"type":"ExpressionStatement","start":668,"end":873,"expression":{"type":"ConditionalExpression","start":668,"end":872,"test":{"type":"Identifier","start":668,"end":675,"name":"columns"},"consequent":{"type":"CallExpression","start":678,"end":823,"optional":false,"callee":{"type":"MemberExpression","start":678,"end":693,"computed":false,"optional":false,"object":{"type":"Identifier","start":678,"end":685,"name":"columns"},"property":{"type":"Identifier","start":686,"end":693,"name":"forEach"}},"arguments":[{"type":"ArrowFunctionExpression","start":694,"end":822,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":694,"end":700,"name":"column"}],"body":{"type":"BlockStatement","start":704,"end":822,"body":[{"type":"ExpressionStatement","start":722,"end":808,"expression":{"type":"CallExpression","start":722,"end":807,"optional":false,"callee":{"type":"MemberExpression","start":722,"end":736,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":722,"end":726},"property":{"type":"Identifier","start":727,"end":736,"name":"setHeader"}},"arguments":[{"type":"CallExpression","start":737,"end":806,"optional":false,"callee":{"type":"MemberExpression","start":737,"end":760,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":737,"end":741},"property":{"type":"Identifier","start":742,"end":760,"name":"getHeaderForColumn"}},"arguments":[{"type":"Identifier","start":761,"end":767,"name":"column"},{"type":"CallExpression","start":769,"end":805,"optional":false,"callee":{"type":"MemberExpression","start":769,"end":792,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":769,"end":788,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":769,"end":773},"property":{"type":"Identifier","start":774,"end":788,"name":"formComponents"}},"property":{"type":"Identifier","start":789,"end":792,"name":"get"}},"arguments":[{"type":"MemberExpression","start":793,"end":804,"computed":false,"optional":false,"object":{"type":"Identifier","start":793,"end":799,"name":"column"},"property":{"type":"Identifier","start":800,"end":804,"name":"path"}}]}]}]}}]},"id":null}]},"alternate":{"type":"CallExpression","start":826,"end":872,"optional":false,"callee":{"type":"MemberExpression","start":826,"end":851,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":826,"end":830},"property":{"type":"Identifier","start":831,"end":851,"name":"setComponentsHeaders"}},"arguments":[{"type":"MemberExpression","start":852,"end":871,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":852,"end":856},"property":{"type":"Identifier","start":857,"end":871,"name":"formComponents"}}]}}},{"type":"ReturnStatement","start":886,"end":906,"argument":{"type":"MemberExpression","start":893,"end":905,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":893,"end":897},"property":{"type":"Identifier","start":898,"end":905,"name":"headers"}}}]},"id":null}]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":929,"end":989,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":929,"end":938,"name":"setHeader"},"value":{"type":"FunctionExpression","start":938,"end":989,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":939,"end":945,"name":"header"}],"body":{"type":"BlockStatement","start":947,"end":989,"body":[{"type":"ExpressionStatement","start":957,"end":983,"expression":{"type":"CallExpression","start":957,"end":982,"optional":false,"callee":{"type":"MemberExpression","start":957,"end":974,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":957,"end":969,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":957,"end":961},"property":{"type":"Identifier","start":962,"end":969,"name":"headers"}},"property":{"type":"Identifier","start":970,"end":974,"name":"push"}},"arguments":[{"type":"Identifier","start":975,"end":981,"name":"header"}]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":994,"end":1312,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":994,"end":1012,"name":"getHeaderForColumn"},"value":{"type":"FunctionExpression","start":1012,"end":1312,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":1013,"end":1019,"name":"column"},{"type":"Identifier","start":1021,"end":1030,"name":"component"},{"type":"Identifier","start":1032,"end":1036,"name":"sort"}],"body":{"type":"BlockStatement","start":1038,"end":1312,"body":[{"type":"ReturnStatement","start":1048,"end":1306,"argument":{"type":"ObjectExpression","start":1055,"end":1305,"properties":[{"type":"Property","start":1069,"end":1088,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1069,"end":1074,"name":"label"},"value":{"type":"MemberExpression","start":1076,"end":1088,"computed":false,"optional":false,"object":{"type":"Identifier","start":1076,"end":1082,"name":"column"},"property":{"type":"Identifier","start":1083,"end":1088,"name":"label"}},"kind":"init"},{"type":"Property","start":1102,"end":1118,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1102,"end":1105,"name":"key"},"value":{"type":"MemberExpression","start":1107,"end":1118,"computed":false,"optional":false,"object":{"type":"Identifier","start":1107,"end":1113,"name":"column"},"property":{"type":"Identifier","start":1114,"end":1118,"name":"path"}},"kind":"init"},{"type":"Property","start":1132,"end":1142,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1132,"end":1136,"name":"sort"},"value":{"type":"Identifier","start":1138,"end":1142,"name":"sort"},"kind":"init"},{"type":"Property","start":1156,"end":1231,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1156,"end":1165,"name":"component"},"value":{"type":"ConditionalExpression","start":1167,"end":1231,"test":{"type":"Identifier","start":1167,"end":1176,"name":"component"},"consequent":{"type":"CallExpression","start":1179,"end":1219,"optional":false,"callee":{"type":"MemberExpression","start":1179,"end":1196,"computed":false,"optional":false,"object":{"type":"Identifier","start":1179,"end":1189,"name":"Components"},"property":{"type":"Identifier","start":1190,"end":1196,"name":"create"}},"arguments":[{"type":"Identifier","start":1197,"end":1206,"name":"component"},{"type":"Literal","start":1208,"end":1212,"raw":"null","value":null},{"type":"Literal","start":1214,"end":1218,"raw":"null","value":null}]},"alternate":{"type":"Identifier","start":1222,"end":1231,"name":"undefined"}},"kind":"init"},{"type":"Property","start":1245,"end":1295,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1245,"end":1255,"name":"renderCell"},"value":{"type":"ConditionalExpression","start":1257,"end":1295,"test":{"type":"Identifier","start":1257,"end":1263,"name":"column"},"consequent":{"type":"MemberExpression","start":1266,"end":1283,"computed":false,"optional":false,"object":{"type":"Identifier","start":1266,"end":1272,"name":"column"},"property":{"type":"Identifier","start":1273,"end":1283,"name":"renderCell"}},"alternate":{"type":"Identifier","start":1286,"end":1295,"name":"undefined"}},"kind":"init"}]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":1317,"end":1569,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1317,"end":1338,"name":"getHeaderForComponent"},"value":{"type":"FunctionExpression","start":1338,"end":1569,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":1339,"end":1348,"name":"component"},{"type":"Identifier","start":1350,"end":1354,"name":"path"},{"type":"Identifier","start":1356,"end":1360,"name":"sort"}],"body":{"type":"BlockStatement","start":1362,"end":1569,"body":[{"type":"ReturnStatement","start":1372,"end":1563,"argument":{"type":"ObjectExpression","start":1379,"end":1562,"properties":[{"type":"Property","start":1393,"end":1415,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1393,"end":1398,"name":"label"},"value":{"type":"MemberExpression","start":1400,"end":1415,"computed":false,"optional":false,"object":{"type":"Identifier","start":1400,"end":1409,"name":"component"},"property":{"type":"Identifier","start":1410,"end":1415,"name":"label"}},"kind":"init"},{"type":"Property","start":1429,"end":1438,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1429,"end":1432,"name":"key"},"value":{"type":"Identifier","start":1434,"end":1438,"name":"path"},"kind":"init"},{"type":"Property","start":1452,"end":1462,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1452,"end":1456,"name":"sort"},"value":{"type":"Identifier","start":1458,"end":1462,"name":"sort"},"kind":"init"},{"type":"Property","start":1476,"end":1551,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1476,"end":1485,"name":"component"},"value":{"type":"ConditionalExpression","start":1487,"end":1551,"test":{"type":"Identifier","start":1487,"end":1496,"name":"component"},"consequent":{"type":"CallExpression","start":1499,"end":1539,"optional":false,"callee":{"type":"MemberExpression","start":1499,"end":1516,"computed":false,"optional":false,"object":{"type":"Identifier","start":1499,"end":1509,"name":"Components"},"property":{"type":"Identifier","start":1510,"end":1516,"name":"create"}},"arguments":[{"type":"Identifier","start":1517,"end":1526,"name":"component"},{"type":"Literal","start":1528,"end":1532,"raw":"null","value":null},{"type":"Literal","start":1534,"end":1538,"raw":"null","value":null}]},"alternate":{"type":"Identifier","start":1542,"end":1551,"name":"undefined"}},"kind":"init"}]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":1645,"end":1968,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1645,"end":1665,"name":"setComponentsHeaders"},"value":{"type":"FunctionExpression","start":1665,"end":1968,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":1666,"end":1676,"name":"components"},{"type":"Identifier","start":1678,"end":1682,"name":"sort"}],"body":{"type":"BlockStatement","start":1684,"end":1968,"body":[{"type":"ExpressionStatement","start":1694,"end":1962,"expression":{"type":"CallExpression","start":1694,"end":1961,"optional":false,"callee":{"type":"MemberExpression","start":1694,"end":1712,"computed":false,"optional":false,"object":{"type":"Identifier","start":1694,"end":1704,"name":"components"},"property":{"type":"Identifier","start":1705,"end":1712,"name":"forEach"}},"arguments":[{"type":"ArrowFunctionExpression","start":1713,"end":1960,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":1714,"end":1723,"name":"component"},{"type":"Identifier","start":1725,"end":1729,"name":"path"}],"body":{"type":"BlockStatement","start":1734,"end":1960,"body":[{"type":"IfStatement","start":1748,"end":1950,"test":{"type":"LogicalExpression","start":1752,"end":1850,"operator":"&&","left":{"type":"MemberExpression","start":1752,"end":1767,"computed":false,"optional":false,"object":{"type":"Identifier","start":1752,"end":1761,"name":"component"},"property":{"type":"Identifier","start":1762,"end":1767,"name":"input"}},"right":{"type":"LogicalExpression","start":1788,"end":1849,"operator":"||","left":{"type":"UnaryExpression","start":1788,"end":1826,"operator":"!","argument":{"type":"CallExpression","start":1789,"end":1826,"optional":false,"callee":{"type":"MemberExpression","start":1789,"end":1813,"computed":false,"optional":false,"object":{"type":"Identifier","start":1789,"end":1798,"name":"component"},"property":{"type":"Identifier","start":1799,"end":1813,"name":"hasOwnProperty"}},"arguments":[{"type":"Literal","start":1814,"end":1825,"value":"tableView","raw":"'tableView'"}]},"prefix":true},"right":{"type":"MemberExpression","start":1830,"end":1849,"computed":false,"optional":false,"object":{"type":"Identifier","start":1830,"end":1839,"name":"component"},"property":{"type":"Identifier","start":1840,"end":1849,"name":"tableView"}}}},"consequent":{"type":"BlockStatement","start":1852,"end":1950,"body":[{"type":"ExpressionStatement","start":1870,"end":1936,"expression":{"type":"CallExpression","start":1870,"end":1935,"optional":false,"callee":{"type":"MemberExpression","start":1870,"end":1884,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1870,"end":1874},"property":{"type":"Identifier","start":1875,"end":1884,"name":"setHeader"}},"arguments":[{"type":"CallExpression","start":1885,"end":1934,"optional":false,"callee":{"type":"MemberExpression","start":1885,"end":1911,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1885,"end":1889},"property":{"type":"Identifier","start":1890,"end":1911,"name":"getHeaderForComponent"}},"arguments":[{"type":"Identifier","start":1912,"end":1921,"name":"component"},{"type":"Identifier","start":1923,"end":1927,"name":"path"},{"type":"Identifier","start":1929,"end":1933,"name":"sort"}]}]}}]},"alternate":null}]},"id":null}]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":1995,"end":2173,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1995,"end":2008,"name":"setComponents"},"value":{"type":"FunctionExpression","start":2008,"end":2173,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":2009,"end":2019,"name":"components"}],"body":{"type":"BlockStatement","start":2021,"end":2173,"body":[{"type":"ExpressionStatement","start":2031,"end":2167,"expression":{"type":"CallExpression","start":2031,"end":2166,"optional":false,"callee":{"type":"MemberExpression","start":2031,"end":2050,"computed":false,"optional":false,"object":{"type":"Identifier","start":2031,"end":2036,"name":"Utils"},"property":{"type":"Identifier","start":2037,"end":2050,"name":"eachComponent"}},"arguments":[{"type":"Identifier","start":2051,"end":2061,"name":"components"},{"type":"ArrowFunctionExpression","start":2063,"end":2165,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":2064,"end":2073,"name":"component"},{"type":"Identifier","start":2075,"end":2082,"name":"newPath"}],"body":{"type":"BlockStatement","start":2087,"end":2165,"body":[{"type":"ExpressionStatement","start":2101,"end":2155,"expression":{"type":"CallExpression","start":2101,"end":2154,"optional":false,"callee":{"type":"MemberExpression","start":2101,"end":2124,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2101,"end":2120,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2101,"end":2105},"property":{"type":"Identifier","start":2106,"end":2120,"name":"formComponents"}},"property":{"type":"Identifier","start":2121,"end":2124,"name":"set"}},"arguments":[{"type":"TemplateLiteral","start":2125,"end":2142,"quasis":[{"type":"TemplateElement","start":2126,"end":2131,"tail":false,"value":{"cooked":"data.","raw":"data."}},{"type":"TemplateElement","start":2141,"end":2141,"tail":true,"value":{"cooked":"","raw":""}}],"expressions":[{"type":"Identifier","start":2133,"end":2140,"name":"newPath"}]},{"type":"Identifier","start":2144,"end":2153,"name":"component"}]}}]},"id":null}]}}]},"expression":false},"kind":"method"},{"type":"PropertyDefinition","start":2178,"end":2361,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":2185,"end":2189,"name":"ɵfac"},"value":{"type":"CallExpression","start":2192,"end":2360,"optional":false,"callee":{"type":"MemberExpression","start":2192,"end":2213,"computed":false,"optional":false,"object":{"type":"Identifier","start":2192,"end":2194,"name":"i0"},"property":{"type":"Identifier","start":2195,"end":2213,"name":"ɵɵngDeclareFactory"}},"arguments":[{"type":"ObjectExpression","start":2214,"end":2359,"properties":[{"type":"Property","start":2216,"end":2236,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2216,"end":2226,"name":"minVersion"},"value":{"type":"Literal","start":2228,"end":2236,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":2238,"end":2256,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2238,"end":2245,"name":"version"},"value":{"type":"Literal","start":2247,"end":2256,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":2258,"end":2270,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2258,"end":2266,"name":"ngImport"},"value":{"type":"Identifier","start":2268,"end":2270,"name":"i0"},"kind":"init"},{"type":"Property","start":2272,"end":2307,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2272,"end":2276,"name":"type"},"value":{"type":"Identifier","start":2278,"end":2307,"name":"SubmissionGridHeaderComponent"},"kind":"init"},{"type":"Property","start":2309,"end":2319,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2309,"end":2313,"name":"deps"},"value":{"type":"Literal","start":2315,"end":2319,"raw":"null","value":null},"kind":"init"},{"type":"Property","start":2321,"end":2357,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2321,"end":2327,"name":"target"},"value":{"type":"MemberExpression","start":2329,"end":2357,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2329,"end":2347,"computed":false,"optional":false,"object":{"type":"Identifier","start":2329,"end":2331,"name":"i0"},"property":{"type":"Identifier","start":2332,"end":2347,"name":"ɵɵFactoryTarget"}},"property":{"type":"Identifier","start":2348,"end":2357,"name":"Component"}},"kind":"init"}]}]}},{"type":"PropertyDefinition","start":2366,"end":3300,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":2373,"end":2377,"name":"ɵcmp"},"value":{"type":"CallExpression","start":2380,"end":3299,"optional":false,"callee":{"type":"MemberExpression","start":2380,"end":2403,"computed":false,"optional":false,"object":{"type":"Identifier","start":2380,"end":2382,"name":"i0"},"property":{"type":"Identifier","start":2383,"end":2403,"name":"ɵɵngDeclareComponent"}},"arguments":[{"type":"ObjectExpression","start":2404,"end":3298,"properties":[{"type":"Property","start":2406,"end":2426,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2406,"end":2416,"name":"minVersion"},"value":{"type":"Literal","start":2418,"end":2426,"value":"14.0.0","raw":"\"14.0.0\""},"kind":"init"},{"type":"Property","start":2428,"end":2446,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2428,"end":2435,"name":"version"},"value":{"type":"Literal","start":2437,"end":2446,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":2448,"end":2483,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2448,"end":2452,"name":"type"},"value":{"type":"Identifier","start":2454,"end":2483,"name":"SubmissionGridHeaderComponent"},"kind":"init"},{"type":"Property","start":2485,"end":2509,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2485,"end":2493,"name":"selector"},"value":{"type":"Literal","start":2495,"end":2509,"value":"ng-component","raw":"\"ng-component\""},"kind":"init"},{"type":"Property","start":2511,"end":2532,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2511,"end":2526,"name":"usesInheritance"},"value":{"type":"Literal","start":2528,"end":2532,"value":true,"raw":"true"},"kind":"init"},{"type":"Property","start":2534,"end":2546,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2534,"end":2542,"name":"ngImport"},"value":{"type":"Identifier","start":2544,"end":2546,"name":"i0"},"kind":"init"},{"type":"Property","start":2548,"end":2961,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2548,"end":2556,"name":"template"},"value":{"type":"Literal","start":2558,"end":2961,"value":"<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","raw":"\"<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\""},"kind":"init"},{"type":"Property","start":2963,"end":3296,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2963,"end":2975,"name":"dependencies"},"value":{"type":"ArrayExpression","start":2977,"end":3296,"elements":[{"type":"ObjectExpression","start":2978,"end":3070,"properties":[{"type":"Property","start":2980,"end":2997,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2980,"end":2984,"name":"kind"},"value":{"type":"Literal","start":2986,"end":2997,"value":"directive","raw":"\"directive\""},"kind":"init"},{"type":"Property","start":2999,"end":3015,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2999,"end":3003,"name":"type"},"value":{"type":"MemberExpression","start":3005,"end":3015,"computed":false,"optional":false,"object":{"type":"Identifier","start":3005,"end":3007,"name":"i1"},"property":{"type":"Identifier","start":3008,"end":3015,"name":"NgClass"}},"kind":"init"},{"type":"Property","start":3017,"end":3038,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3017,"end":3025,"name":"selector"},"value":{"type":"Literal","start":3027,"end":3038,"value":"[ngClass]","raw":"\"[ngClass]\""},"kind":"init"},{"type":"Property","start":3040,"end":3068,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3040,"end":3046,"name":"inputs"},"value":{"type":"ArrayExpression","start":3048,"end":3068,"elements":[{"type":"Literal","start":3049,"end":3056,"value":"class","raw":"\"class\""},{"type":"Literal","start":3058,"end":3067,"value":"ngClass","raw":"\"ngClass\""}]},"kind":"init"}]},{"type":"ObjectExpression","start":3072,"end":3195,"properties":[{"type":"Property","start":3074,"end":3091,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3074,"end":3078,"name":"kind"},"value":{"type":"Literal","start":3080,"end":3091,"value":"directive","raw":"\"directive\""},"kind":"init"},{"type":"Property","start":3093,"end":3109,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3093,"end":3097,"name":"type"},"value":{"type":"MemberExpression","start":3099,"end":3109,"computed":false,"optional":false,"object":{"type":"Identifier","start":3099,"end":3101,"name":"i1"},"property":{"type":"Identifier","start":3102,"end":3109,"name":"NgForOf"}},"kind":"init"},{"type":"Property","start":3111,"end":3139,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3111,"end":3119,"name":"selector"},"value":{"type":"Literal","start":3121,"end":3139,"value":"[ngFor][ngForOf]","raw":"\"[ngFor][ngForOf]\""},"kind":"init"},{"type":"Property","start":3141,"end":3193,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3141,"end":3147,"name":"inputs"},"value":{"type":"ArrayExpression","start":3149,"end":3193,"elements":[{"type":"Literal","start":3150,"end":3159,"value":"ngForOf","raw":"\"ngForOf\""},{"type":"Literal","start":3161,"end":3175,"value":"ngForTrackBy","raw":"\"ngForTrackBy\""},{"type":"Literal","start":3177,"end":3192,"value":"ngForTemplate","raw":"\"ngForTemplate\""}]},"kind":"init"}]},{"type":"ObjectExpression","start":3197,"end":3295,"properties":[{"type":"Property","start":3199,"end":3216,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3199,"end":3203,"name":"kind"},"value":{"type":"Literal","start":3205,"end":3216,"value":"directive","raw":"\"directive\""},"kind":"init"},{"type":"Property","start":3218,"end":3231,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3218,"end":3222,"name":"type"},"value":{"type":"MemberExpression","start":3224,"end":3231,"computed":false,"optional":false,"object":{"type":"Identifier","start":3224,"end":3226,"name":"i1"},"property":{"type":"Identifier","start":3227,"end":3231,"name":"NgIf"}},"kind":"init"},{"type":"Property","start":3233,"end":3251,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3233,"end":3241,"name":"selector"},"value":{"type":"Literal","start":3243,"end":3251,"value":"[ngIf]","raw":"\"[ngIf]\""},"kind":"init"},{"type":"Property","start":3253,"end":3293,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3253,"end":3259,"name":"inputs"},"value":{"type":"ArrayExpression","start":3261,"end":3293,"elements":[{"type":"Literal","start":3262,"end":3268,"value":"ngIf","raw":"\"ngIf\""},{"type":"Literal","start":3270,"end":3280,"value":"ngIfThen","raw":"\"ngIfThen\""},{"type":"Literal","start":3282,"end":3292,"value":"ngIfElse","raw":"\"ngIfElse\""}]},"kind":"init"}]}]},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":3303,"end":3922,"expression":{"type":"CallExpression","start":3303,"end":3921,"optional":false,"callee":{"type":"MemberExpression","start":3303,"end":3330,"computed":false,"optional":false,"object":{"type":"Identifier","start":3303,"end":3305,"name":"i0"},"property":{"type":"Identifier","start":3306,"end":3330,"name":"ɵɵngDeclareClassMetadata"}},"arguments":[{"type":"ObjectExpression","start":3331,"end":3920,"properties":[{"type":"Property","start":3333,"end":3353,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3333,"end":3343,"name":"minVersion"},"value":{"type":"Literal","start":3345,"end":3353,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":3355,"end":3373,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3355,"end":3362,"name":"version"},"value":{"type":"Literal","start":3364,"end":3373,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":3375,"end":3387,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3375,"end":3383,"name":"ngImport"},"value":{"type":"Identifier","start":3385,"end":3387,"name":"i0"},"kind":"init"},{"type":"Property","start":3389,"end":3424,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3389,"end":3393,"name":"type"},"value":{"type":"Identifier","start":3395,"end":3424,"name":"SubmissionGridHeaderComponent"},"kind":"init"},{"type":"Property","start":3426,"end":3918,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3426,"end":3436,"name":"decorators"},"value":{"type":"ArrayExpression","start":3438,"end":3918,"elements":[{"type":"ObjectExpression","start":3439,"end":3917,"properties":[{"type":"Property","start":3453,"end":3468,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3453,"end":3457,"name":"type"},"value":{"type":"Identifier","start":3459,"end":3468,"name":"Component"},"kind":"init"},{"type":"Property","start":3482,"end":3907,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3482,"end":3486,"name":"args"},"value":{"type":"ArrayExpression","start":3488,"end":3907,"elements":[{"type":"ObjectExpression","start":3489,"end":3906,"properties":[{"type":"Property","start":3491,"end":3904,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3491,"end":3499,"name":"template"},"value":{"type":"Literal","start":3501,"end":3904,"value":"<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","raw":"\"<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\""},"kind":"init"}]}]},"kind":"init"}]}]},"kind":"init"}]}]}}],"_rollupRemoved":[{"end":11369,"start":3923,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { Component } from '@angular/core';\nimport { Utils, Components } from '@formio/js';\nimport { GridHeaderComponent } from '../GridHeaderComponent';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nexport class 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 = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: SubmissionGridHeaderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.3.12\", type: SubmissionGridHeaderComponent, selector: \"ng-component\", usesInheritance: true, ngImport: i0, 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\", dependencies: [{ kind: \"directive\", type: i1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: SubmissionGridHeaderComponent, decorators: [{\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 }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU3VibWlzc2lvbkdyaWRIZWFkZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vZ3JpZC9zcmMvc3VibWlzc2lvbi9TdWJtaXNzaW9uR3JpZEhlYWRlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9ncmlkL3NyYy9zdWJtaXNzaW9uL1N1Ym1pc3Npb25HcmlkSGVhZGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDeEMsT0FBTyxFQUFDLEtBQUssRUF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Zvcj1cImxldCBoZWFkZXIgb2YgaGVhZGVyc1wiPlxuICAgICAgICA8YSAoY2xpY2spPVwic29ydC5lbWl0KGhlYWRlcilcIj5cbiAgICAgICAgICB7eyBoZWFkZXIubGFiZWwgfX0mbmJzcDs8c3BhbiBbbmdDbGFzc109XCJ7J2ZhLWNhcmV0LXVwIGJpLWNhcmV0LXVwJzogKGhlYWRlci5zb3J0ID09PSAnYXNjJyksICdmYS1jYXJldC1kb3duIGJpLWNhcmV0LWRvd24nOiAoaGVhZGVyLnNvcnQgPT09ICdkZXNjJyl9XCIgY2xhc3M9XCJmYSBiaVwiICpuZ0lmPVwiaGVhZGVyLnNvcnRcIj48L3NwYW4+XG4gICAgICAgIDwvYT5cbiAgICAgIDwvdGg+XG4gICAgPC90cj5cbiAgPC90aGVhZD5cbjwvbmctdGVtcGxhdGU+XG4iXX0=","customTransformCache":false,"dependencies":["@angular/core","@formio/js","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/GridHeaderComponent.mjs","@angular/common"],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/submission/SubmissionGridHeader.component.mjs","meta":{},"moduleSideEffects":false,"originalCode":"import { Component } from '@angular/core';\nimport { Utils, Components } from '@formio/js';\nimport { GridHeaderComponent } from '../GridHeaderComponent';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nexport class 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 = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: SubmissionGridHeaderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.3.12\", type: SubmissionGridHeaderComponent, selector: \"ng-component\", usesInheritance: true, ngImport: i0, 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\", dependencies: [{ kind: \"directive\", type: i1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: SubmissionGridHeaderComponent, decorators: [{\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 }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU3VibWlzc2lvbkdyaWRIZWFkZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vZ3JpZC9zcmMvc3VibWlzc2lvbi9TdWJtaXNzaW9uR3JpZEhlYWRlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9ncmlkL3NyYy9zdWJtaXNzaW9uL1N1Ym1pc3Npb25HcmlkSGVhZGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDeEMsT0FBTyxFQUFDLEtBQUssRUFBRSxVQUFVLEVBQUMsTUFBTSxZQUFZLENBQUM7QUFFN0MsT0FBTyxFQUFDLG1CQUFtQixFQUFDLE1BQU0sd0JBQXdCLENBQUM7OztBQVMzRCxNQUFNLE9BQU8sNkJBQThCLFNBQVEsbUJBQW1CO0lBRXBFLHlFQUF5RTtJQUN6RSxjQUFjLENBQXVDO0lBRXJELElBQUksQ0FBQyxNQUE0QixFQUFFLEtBQVcsRUFBRSxPQUEyQjtRQUN6RSxLQUFLLEdBQUc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d24nOiAoaGVhZGVyLnNvcnQgPT09ICdkZXNjJyl9XCIgY2xhc3M9XCJmYSBiaVwiICpuZ0lmPVwiaGVhZGVyLnNvcnRcIj48L3NwYW4+XG4gICAgICAgIDwvYT5cbiAgICAgIDwvdGg+XG4gICAgPC90cj5cbiAgPC90aGVhZD5cbjwvbmctdGVtcGxhdGU+XG4iXX0=","originalSourcemap":{"version":3,"file":"SubmissionGridHeader.component.js","sourceRoot":"","sources":["../../../../../projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.ts","../../../../../projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.html"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,8],[18,0,0,17],[20,0,0,18],[26,0,0,24],[41,0,0,39],[42,0,0,40]],[[0,0,1,0],[7,0,1,7],[9,0,1,8],[14,0,1,13],[16,0,1,15],[26,0,1,25],[28,0,1,26],[34,0,1,32],[46,0,1,44],[47,0,1,45]],[[0,0,3,0],[7,0,3,7],[9,0,3,8],[28,0,3,27],[30,0,3,28],[36,0,3,34],[60,0,3,58],[61,0,3,59]],[],[],[[0,0,12,0],[6,0,12,6],[13,0,12,13],[42,0,12,43],[51,0,12,51],[70,0,12,70]],[[4,0,14,2],[77,0,14,75]],[[4,0,15,2],[18,0,15,16],[19,0,15,55]],[[4,0,17,2],[8,0,17,6],[9,0,17,7],[15,0,17,35],[17,0,17,37],[22,0,17,48],[24,0,17,50],[31,0,17,77]],[[8,0,18,4],[13,0,18,9],[16,0,18,12],[21,0,18,17],[25,0,18,21],[27,0,18,23],[28,0,18,24]],[[8,0,19,4],[15,0,19,11],[21,0,19,17],[22,0,19,18],[30,0,19,26],[31,0,19,27],[33,0,19,28],[39,0,19,34],[41,0,19,36],[46,0,19,41],[48,0,19,42],[49,0,19,43],[50,0,19,44],[54,0,19,48],[55,0,19,49],[56,0,19,50],[60,0,19,66],[62,0,19,68],[64,0,19,70]],[[12,0,20,6],[16,0,20,10],[17,0,20,11],[24,0,20,18],[27,0,20,21],[29,0,20,23],[30,0,20,24]],[[12,0,21,6],[16,0,21,10],[17,0,21,11],[31,0,21,25],[34,0,21,28],[38,0,21,32],[41,0,21,35],[43,0,21,70],[44,0,21,71]],[[12,0,22,6],[16,0,22,10],[17,0,22,11],[30,0,22,24],[31,0,22,25],[35,0,22,29],[36,0,22,30],[46,0,22,40],[47,0,22,41],[48,0,22,42]],[[12,0,23,6],[19,0,23,13],[20,0,23,14],[21,0,23,15],[22,0,23,16],[29,0,23,23],[30,0,23,24],[37,0,23,31],[38,0,23,32],[44,0,23,38],[45,0,23,39],[47,0,23,41]],[[16,0,24,10],[20,0,24,14],[21,0,24,15],[30,0,24,24],[31,0,24,25],[35,0,24,29],[36,0,24,30],[54,0,24,48],[55,0,24,49],[61,0,24,55],[63,0,24,57],[67,0,24,61],[68,0,24,62],[82,0,24,76],[83,0,24,77],[86,0,24,80],[87,0,24,81],[93,0,24,87],[94,0,24,88],[98,0,24,92],[99,0,24,93],[100,0,24,94],[101,0,24,95],[102,0,24,96]],[[12,0,25,8],[13,0,25,9],[14,0,25,10],[15,0,25,11],[16,0,25,12],[17,0,25,13],[21,0,25,17],[22,0,25,18],[42,0,25,38],[43,0,25,39],[47,0,25,43],[48,0,25,44],[62,0,25,58],[63,0,25,59],[64,0,25,60]],[[12,0,27,6],[19,0,27,13],[23,0,27,17],[24,0,27,18],[31,0,27,25],[32,0,27,26]],[[8,0,28,4],[9,0,28,5],[10,0,28,6],[11,0,28,7]],[[4,0,29,2],[5,0,29,3]],[[4,0,31,2],[13,0,31,11],[14,0,31,12],[20,0,31,30]],[[8,0,32,4],[12,0,32,8],[13,0,32,9],[20,0,32,16],[21,0,32,17],[25,0,32,21],[26,0,32,22],[32,0,32,28],[33,0,32,29],[34,0,32,30]],[[4,0,33,2],[5,0,33,3]],[[4,0,35,2],[22,0,35,20],[23,0,35,21],[29,0,35,39],[31,0,35,41],[40,0,35,76],[42,0,35,78],[46,0,35,93]],[[8,0,36,4],[15,0,36,11]],[[12,0,37,6],[17,0,37,11],[19,0,37,13],[25,0,37,19],[26,0,37,20],[31,0,37,25]],[[12,0,38,6],[15,0,38,9],[17,0,38,11],[23,0,38,17],[24,0,38,18],[28,0,38,22]],[[12,0,39,6],[16,0,39,10],[18,0,39,12],[22,0,39,16]],[[12,0,40,6],[21,0,40,15],[23,0,40,17],[32,0,40,26],[33,0,40,27],[34,0,40,28],[35,0,40,29],[45,0,40,39],[46,0,40,40],[52,0,40,46],[53,0,40,47],[62,0,40,56],[64,0,40,58],[68,0,40,62],[70,0,40,64],[74,0,40,68],[75,0,40,90],[76,0,40,91],[77,0,40,92],[78,0,40,93],[87,0,40,102]],[[12,0,41,6],[22,0,41,16],[24,0,41,18],[30,0,41,24],[31,0,41,25],[32,0,41,26],[33,0,41,27],[39,0,41,33],[40,0,41,34],[50,0,41,44],[51,0,41,45],[52,0,41,46],[53,0,41,47],[62,0,41,56]],[[9,0,42,5],[10,0,42,6]],[[4,0,43,2],[5,0,43,3]],[[4,0,45,2],[25,0,45,23],[26,0,45,24],[35,0,45,58],[37,0,45,60],[41,0,45,72],[43,0,45,74],[47,0,45,89]],[[8,0,46,4],[15,0,46,11]],[[12,0,47,6],[17,0,47,11],[19,0,47,13],[28,0,47,22],[29,0,47,23],[34,0,47,28]],[[12,0,48,6],[15,0,48,9],[17,0,48,11],[21,0,48,15]],[[12,0,49,6],[16,0,49,10],[18,0,49,12],[22,0,49,16]],[[12,0,50,6],[21,0,50,15],[23,0,50,17],[32,0,50,26],[33,0,50,27],[34,0,50,28],[35,0,50,29],[45,0,50,39],[46,0,50,40],[52,0,50,46],[53,0,50,47],[62,0,50,56],[64,0,50,58],[68,0,50,62],[70,0,50,64],[74,0,50,68],[75,0,50,90],[76,0,50,91],[77,0,50,92],[78,0,50,93],[87,0,50,102]],[[9,0,51,5],[10,0,51,6]],[[4,0,52,2],[5,0,52,3]],[[4,0,53,2],[70,0,53,68]],[[4,0,54,2],[24,0,54,22],[25,0,54,23],[35,0,54,71],[37,0,54,73],[41,0,54,88]],[[8,0,55,4],[18,0,55,14],[19,0,55,15],[26,0,55,22],[27,0,55,23],[28,0,55,24],[37,0,55,33],[39,0,55,35],[43,0,55,39],[45,0,55,41],[47,0,55,43]],[[12,0,56,6],[16,0,57,8],[25,0,57,17],[26,0,57,18],[31,0,57,23]],[[16,0,58,8],[17,0,58,9],[18,0,58,10],[27,0,58,19],[28,0,58,20],[42,0,58,34],[43,0,58,35],[54,0,58,46],[55,0,58,47],[59,0,58,51],[68,0,58,60],[69,0,58,61],[78,0,58,70],[79,0,58,71],[81,0,59,8],[82,0,59,9]],[[16,0,60,8],[20,0,60,12],[21,0,60,13],[30,0,60,22],[31,0,60,23],[35,0,60,27],[36,0,60,28],[57,0,60,49],[58,0,60,50],[67,0,60,59],[69,0,60,61],[73,0,60,65],[75,0,60,67],[79,0,60,71],[80,0,60,72],[81,0,60,73],[82,0,60,74]],[[12,0,61,6],[13,0,61,7]],[[8,0,62,4],[9,0,62,5],[10,0,62,6],[11,0,62,7]],[[4,0,63,2],[5,0,63,3]],[[4,0,65,2],[21,0,65,19]],[[4,0,66,2],[17,0,66,15],[18,0,66,16],[28,0,66,26]],[[8,0,67,4],[13,0,67,9],[14,0,67,10],[27,0,67,23],[28,0,67,24],[38,0,67,34],[40,0,67,36],[41,0,67,37],[50,0,67,71],[52,0,67,73],[59,0,67,88],[61,0,67,90],[63,0,67,92]],[[12,0,68,6],[16,0,68,10],[17,0,68,11],[31,0,68,25],[32,0,68,26],[35,0,68,29],[36,0,68,30],[44,0,68,38],[51,0,68,45],[53,0,68,47],[55,0,68,49],[64,0,68,58],[65,0,68,59],[66,0,68,60]],[[8,0,69,4],[9,0,69,5],[10,0,69,6],[11,0,69,7]],[[4,0,70,2],[5,0,70,3]],[[104,0,12,13],[133,0,12,42]],[[92,0,12,13],[121,0,12,42],[196,1,0,0],[599,1,11,0]],[],[[92,0,12,13],[121,0,12,42]],[[18,0,9,1],[27,0,9,10]]],"sourcesContent":["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 <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"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@formio/js":{"attributes":{},"external":true,"id":"@formio/js","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@angular/common":{"attributes":{},"external":true,"id":"@angular/common","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"../GridHeaderComponent":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/GridHeaderComponent.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":6144,"body":[{"type":"ImportDeclaration","start":0,"end":42,"specifiers":[{"type":"ImportSpecifier","start":9,"end":18,"imported":{"type":"Identifier","start":9,"end":18,"name":"Component"},"local":{"type":"Identifier","start":9,"end":18,"name":"Component"}}],"source":{"type":"Literal","start":26,"end":41,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":43,"end":72,"specifiers":[{"type":"ImportSpecifier","start":52,"end":55,"imported":{"type":"Identifier","start":52,"end":55,"name":"get"},"local":{"type":"Identifier","start":52,"end":55,"name":"get"}}],"source":{"type":"Literal","start":63,"end":71,"value":"lodash","raw":"'lodash'"},"attributes":[]},{"type":"ImportDeclaration","start":73,"end":130,"specifiers":[{"type":"ImportSpecifier","start":82,"end":99,"imported":{"type":"Identifier","start":82,"end":99,"name":"GridBodyComponent"},"local":{"type":"Identifier","start":82,"end":99,"name":"GridBodyComponent"}}],"source":{"type":"Literal","start":107,"end":129,"value":"../GridBodyComponent","raw":"'../GridBodyComponent'"},"attributes":[]},{"type":"ImportDeclaration","start":131,"end":167,"specifiers":[{"type":"ImportNamespaceSpecifier","start":138,"end":145,"local":{"type":"Identifier","start":143,"end":145,"name":"i0"}}],"source":{"type":"Literal","start":151,"end":166,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ImportDeclaration","start":168,"end":206,"specifiers":[{"type":"ImportNamespaceSpecifier","start":175,"end":182,"local":{"type":"Identifier","start":180,"end":182,"name":"i1"}}],"source":{"type":"Literal","start":188,"end":205,"value":"@angular/common","raw":"\"@angular/common\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":207,"end":1892,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":214,"end":1892,"decorators":[],"id":{"type":"Identifier","start":220,"end":247,"name":"SubmissionGridBodyComponent"},"superClass":{"type":"Identifier","start":256,"end":273,"name":"GridBodyComponent"},"body":{"type":"ClassBody","start":274,"end":1892,"body":[{"type":"MethodDefinition","start":280,"end":463,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":280,"end":284,"name":"load"},"value":{"type":"FunctionExpression","start":284,"end":463,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":285,"end":291,"name":"formio"},{"type":"Identifier","start":293,"end":298,"name":"query"}],"body":{"type":"BlockStatement","start":300,"end":463,"body":[{"type":"ExpressionStatement","start":310,"end":330,"expression":{"type":"AssignmentExpression","start":310,"end":329,"operator":"=","left":{"type":"Identifier","start":310,"end":315,"name":"query"},"right":{"type":"LogicalExpression","start":318,"end":329,"operator":"||","left":{"type":"Identifier","start":318,"end":323,"name":"query"},"right":{"type":"ObjectExpression","start":327,"end":329,"properties":[]}}}},{"type":"ReturnStatement","start":339,"end":457,"argument":{"type":"CallExpression","start":346,"end":456,"optional":false,"callee":{"type":"MemberExpression","start":346,"end":405,"computed":false,"optional":false,"object":{"type":"CallExpression","start":346,"end":387,"optional":false,"callee":{"type":"MemberExpression","start":346,"end":368,"computed":false,"optional":false,"object":{"type":"Identifier","start":346,"end":352,"name":"formio"},"property":{"type":"Identifier","start":353,"end":368,"name":"loadSubmissions"}},"arguments":[{"type":"ObjectExpression","start":369,"end":386,"properties":[{"type":"Property","start":371,"end":384,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":371,"end":377,"name":"params"},"value":{"type":"Identifier","start":379,"end":384,"name":"query"},"kind":"init"}]}]},"property":{"type":"Identifier","start":401,"end":405,"name":"then"}},"arguments":[{"type":"ArrowFunctionExpression","start":406,"end":455,"async":false,"expression":true,"generator":false,"params":[{"type":"Identifier","start":407,"end":418,"name":"submissions"}],"body":{"type":"CallExpression","start":423,"end":455,"optional":false,"callee":{"type":"MemberExpression","start":423,"end":435,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":423,"end":427},"property":{"type":"Identifier","start":428,"end":435,"name":"setRows"}},"arguments":[{"type":"Identifier","start":436,"end":441,"name":"query"},{"type":"Identifier","start":443,"end":454,"name":"submissions"}]},"id":null}]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":585,"end":1126,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":585,"end":589,"name":"view"},"value":{"type":"FunctionExpression","start":589,"end":1126,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":590,"end":600,"name":"submission"},{"type":"Identifier","start":602,"end":608,"name":"header"}],"body":{"type":"BlockStatement","start":610,"end":1126,"body":[{"type":"VariableDeclaration","start":620,"end":666,"kind":"const","declarations":[{"type":"VariableDeclarator","start":626,"end":665,"id":{"type":"Identifier","start":626,"end":635,"name":"cellValue"},"init":{"type":"CallExpression","start":638,"end":665,"optional":false,"callee":{"type":"Identifier","start":638,"end":641,"name":"get"},"arguments":[{"type":"Identifier","start":642,"end":652,"name":"submission"},{"type":"MemberExpression","start":654,"end":664,"computed":false,"optional":false,"object":{"type":"Identifier","start":654,"end":660,"name":"header"},"property":{"type":"Identifier","start":661,"end":664,"name":"key"}}]}}]},{"type":"IfStatement","start":675,"end":1120,"test":{"type":"MemberExpression","start":679,"end":696,"computed":false,"optional":false,"object":{"type":"Identifier","start":679,"end":685,"name":"header"},"property":{"type":"Identifier","start":686,"end":696,"name":"renderCell"}},"consequent":{"type":"BlockStatement","start":698,"end":776,"body":[{"type":"ReturnStatement","start":712,"end":766,"argument":{"type":"CallExpression","start":719,"end":765,"optional":false,"callee":{"type":"MemberExpression","start":719,"end":736,"computed":false,"optional":false,"object":{"type":"Identifier","start":719,"end":725,"name":"header"},"property":{"type":"Identifier","start":726,"end":736,"name":"renderCell"}},"arguments":[{"type":"Identifier","start":737,"end":746,"name":"cellValue"},{"type":"MemberExpression","start":748,"end":764,"computed":false,"optional":false,"object":{"type":"Identifier","start":748,"end":754,"name":"header"},"property":{"type":"Identifier","start":755,"end":764,"name":"component"}}]}}]},"alternate":{"type":"BlockStatement","start":790,"end":1120,"body":[{"type":"IfStatement","start":804,"end":1110,"test":{"type":"MemberExpression","start":808,"end":824,"computed":false,"optional":false,"object":{"type":"Identifier","start":808,"end":814,"name":"header"},"property":{"type":"Identifier","start":815,"end":824,"name":"component"}},"consequent":{"type":"BlockStatement","start":826,"end":1032,"body":[{"type":"IfStatement","start":844,"end":957,"test":{"type":"MemberExpression","start":848,"end":872,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":848,"end":864,"computed":false,"optional":false,"object":{"type":"Identifier","start":848,"end":854,"name":"header"},"property":{"type":"Identifier","start":855,"end":864,"name":"component"}},"property":{"type":"Identifier","start":865,"end":872,"name":"getView"}},"consequent":{"type":"BlockStatement","start":874,"end":957,"body":[{"type":"ReturnStatement","start":896,"end":939,"argument":{"type":"CallExpression","start":903,"end":938,"optional":false,"callee":{"type":"MemberExpression","start":903,"end":927,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":903,"end":919,"computed":false,"optional":false,"object":{"type":"Identifier","start":903,"end":909,"name":"header"},"property":{"type":"Identifier","start":910,"end":919,"name":"component"}},"property":{"type":"Identifier","start":920,"end":927,"name":"getView"}},"arguments":[{"type":"Identifier","start":928,"end":937,"name":"cellValue"}]}}]},"alternate":null},{"type":"ReturnStatement","start":974,"end":1018,"argument":{"type":"CallExpression","start":981,"end":1017,"optional":false,"callee":{"type":"MemberExpression","start":981,"end":1006,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":981,"end":997,"computed":false,"optional":false,"object":{"type":"Identifier","start":981,"end":987,"name":"header"},"property":{"type":"Identifier","start":988,"end":997,"name":"component"}},"property":{"type":"Identifier","start":998,"end":1006,"name":"asString"}},"arguments":[{"type":"Identifier","start":1007,"end":1016,"name":"cellValue"}]}}]},"alternate":{"type":"BlockStatement","start":1050,"end":1110,"body":[{"type":"ReturnStatement","start":1068,"end":1096,"argument":{"type":"CallExpression","start":1075,"end":1095,"optional":false,"callee":{"type":"MemberExpression","start":1075,"end":1093,"computed":false,"optional":false,"object":{"type":"Identifier","start":1075,"end":1084,"name":"cellValue"},"property":{"type":"Identifier","start":1085,"end":1093,"name":"toString"}},"arguments":[]}}]}}]}}]},"expression":false},"kind":"method"},{"type":"PropertyDefinition","start":1131,"end":1312,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1138,"end":1142,"name":"ɵfac"},"value":{"type":"CallExpression","start":1145,"end":1311,"optional":false,"callee":{"type":"MemberExpression","start":1145,"end":1166,"computed":false,"optional":false,"object":{"type":"Identifier","start":1145,"end":1147,"name":"i0"},"property":{"type":"Identifier","start":1148,"end":1166,"name":"ɵɵngDeclareFactory"}},"arguments":[{"type":"ObjectExpression","start":1167,"end":1310,"properties":[{"type":"Property","start":1169,"end":1189,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1169,"end":1179,"name":"minVersion"},"value":{"type":"Literal","start":1181,"end":1189,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":1191,"end":1209,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1191,"end":1198,"name":"version"},"value":{"type":"Literal","start":1200,"end":1209,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":1211,"end":1223,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1211,"end":1219,"name":"ngImport"},"value":{"type":"Identifier","start":1221,"end":1223,"name":"i0"},"kind":"init"},{"type":"Property","start":1225,"end":1258,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1225,"end":1229,"name":"type"},"value":{"type":"Identifier","start":1231,"end":1258,"name":"SubmissionGridBodyComponent"},"kind":"init"},{"type":"Property","start":1260,"end":1270,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1260,"end":1264,"name":"deps"},"value":{"type":"Literal","start":1266,"end":1270,"raw":"null","value":null},"kind":"init"},{"type":"Property","start":1272,"end":1308,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1272,"end":1278,"name":"target"},"value":{"type":"MemberExpression","start":1280,"end":1308,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1280,"end":1298,"computed":false,"optional":false,"object":{"type":"Identifier","start":1280,"end":1282,"name":"i0"},"property":{"type":"Identifier","start":1283,"end":1298,"name":"ɵɵFactoryTarget"}},"property":{"type":"Identifier","start":1299,"end":1308,"name":"Component"}},"kind":"init"}]}]}},{"type":"PropertyDefinition","start":1317,"end":1890,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1324,"end":1328,"name":"ɵcmp"},"value":{"type":"CallExpression","start":1331,"end":1889,"optional":false,"callee":{"type":"MemberExpression","start":1331,"end":1354,"computed":false,"optional":false,"object":{"type":"Identifier","start":1331,"end":1333,"name":"i0"},"property":{"type":"Identifier","start":1334,"end":1354,"name":"ɵɵngDeclareComponent"}},"arguments":[{"type":"ObjectExpression","start":1355,"end":1888,"properties":[{"type":"Property","start":1357,"end":1377,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1357,"end":1367,"name":"minVersion"},"value":{"type":"Literal","start":1369,"end":1377,"value":"14.0.0","raw":"\"14.0.0\""},"kind":"init"},{"type":"Property","start":1379,"end":1397,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1379,"end":1386,"name":"version"},"value":{"type":"Literal","start":1388,"end":1397,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":1399,"end":1432,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1399,"end":1403,"name":"type"},"value":{"type":"Identifier","start":1405,"end":1432,"name":"SubmissionGridBodyComponent"},"kind":"init"},{"type":"Property","start":1434,"end":1458,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1434,"end":1442,"name":"selector"},"value":{"type":"Literal","start":1444,"end":1458,"value":"ng-component","raw":"\"ng-component\""},"kind":"init"},{"type":"Property","start":1460,"end":1481,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1460,"end":1475,"name":"usesInheritance"},"value":{"type":"Literal","start":1477,"end":1481,"value":true,"raw":"true"},"kind":"init"},{"type":"Property","start":1483,"end":1495,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1483,"end":1491,"name":"ngImport"},"value":{"type":"Identifier","start":1493,"end":1495,"name":"i0"},"kind":"init"},{"type":"Property","start":1497,"end":1745,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1497,"end":1505,"name":"template"},"value":{"type":"Literal","start":1507,"end":1745,"value":"<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","raw":"\"<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\""},"kind":"init"},{"type":"Property","start":1747,"end":1886,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1747,"end":1759,"name":"dependencies"},"value":{"type":"ArrayExpression","start":1761,"end":1886,"elements":[{"type":"ObjectExpression","start":1762,"end":1885,"properties":[{"type":"Property","start":1764,"end":1781,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1764,"end":1768,"name":"kind"},"value":{"type":"Literal","start":1770,"end":1781,"value":"directive","raw":"\"directive\""},"kind":"init"},{"type":"Property","start":1783,"end":1799,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1783,"end":1787,"name":"type"},"value":{"type":"MemberExpression","start":1789,"end":1799,"computed":false,"optional":false,"object":{"type":"Identifier","start":1789,"end":1791,"name":"i1"},"property":{"type":"Identifier","start":1792,"end":1799,"name":"NgForOf"}},"kind":"init"},{"type":"Property","start":1801,"end":1829,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1801,"end":1809,"name":"selector"},"value":{"type":"Literal","start":1811,"end":1829,"value":"[ngFor][ngForOf]","raw":"\"[ngFor][ngForOf]\""},"kind":"init"},{"type":"Property","start":1831,"end":1883,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1831,"end":1837,"name":"inputs"},"value":{"type":"ArrayExpression","start":1839,"end":1883,"elements":[{"type":"Literal","start":1840,"end":1849,"value":"ngForOf","raw":"\"ngForOf\""},{"type":"Literal","start":1851,"end":1865,"value":"ngForTrackBy","raw":"\"ngForTrackBy\""},{"type":"Literal","start":1867,"end":1882,"value":"ngForTemplate","raw":"\"ngForTemplate\""}]},"kind":"init"}]}]},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":1893,"end":2345,"expression":{"type":"CallExpression","start":1893,"end":2344,"optional":false,"callee":{"type":"MemberExpression","start":1893,"end":1920,"computed":false,"optional":false,"object":{"type":"Identifier","start":1893,"end":1895,"name":"i0"},"property":{"type":"Identifier","start":1896,"end":1920,"name":"ɵɵngDeclareClassMetadata"}},"arguments":[{"type":"ObjectExpression","start":1921,"end":2343,"properties":[{"type":"Property","start":1923,"end":1943,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1923,"end":1933,"name":"minVersion"},"value":{"type":"Literal","start":1935,"end":1943,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":1945,"end":1963,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1945,"end":1952,"name":"version"},"value":{"type":"Literal","start":1954,"end":1963,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":1965,"end":1977,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1965,"end":1973,"name":"ngImport"},"value":{"type":"Identifier","start":1975,"end":1977,"name":"i0"},"kind":"init"},{"type":"Property","start":1979,"end":2012,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1979,"end":1983,"name":"type"},"value":{"type":"Identifier","start":1985,"end":2012,"name":"SubmissionGridBodyComponent"},"kind":"init"},{"type":"Property","start":2014,"end":2341,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2014,"end":2024,"name":"decorators"},"value":{"type":"ArrayExpression","start":2026,"end":2341,"elements":[{"type":"ObjectExpression","start":2027,"end":2340,"properties":[{"type":"Property","start":2041,"end":2056,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2041,"end":2045,"name":"type"},"value":{"type":"Identifier","start":2047,"end":2056,"name":"Component"},"kind":"init"},{"type":"Property","start":2070,"end":2330,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2070,"end":2074,"name":"args"},"value":{"type":"ArrayExpression","start":2076,"end":2330,"elements":[{"type":"ObjectExpression","start":2077,"end":2329,"properties":[{"type":"Property","start":2079,"end":2327,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2079,"end":2087,"name":"template"},"value":{"type":"Literal","start":2089,"end":2327,"value":"<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","raw":"\"<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\""},"kind":"init"}]}]},"kind":"init"}]}]},"kind":"init"}]}]}}],"_rollupRemoved":[{"end":6144,"start":2346,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { Component } from '@angular/core';\nimport { get } from 'lodash';\nimport { GridBodyComponent } from '../GridBodyComponent';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nexport class 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 = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: SubmissionGridBodyComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.3.12\", type: SubmissionGridBodyComponent, selector: \"ng-component\", usesInheritance: true, ngImport: i0, 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\", dependencies: [{ kind: \"directive\", type: i1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: SubmissionGridBodyComponent, decorators: [{\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 }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU3VibWlzc2lvbkdyaWRCb2R5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2dyaWQvc3JjL3N1Ym1pc3Npb24vU3VibWlzc2lvbkdyaWRCb2R5LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2dyaWQvc3JjL3N1Ym1pc3Npb24vU3VibWlzc2lvbkdyaWRCb2R5LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDMUMsT0FBTyxFQUFRLEdBQUcsRUFBRSxNQUFNLFFBQVEsQ0FBQztBQUNuQyxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQzs7O0FBT3pELE1BQU0sT0FBTywyQkFBNEIsU0FB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BAcGFyYW0gaGVhZGVyXG4gICAqIEByZXR1cm4gYW55XG4gICAqL1xuICB2aWV3KHN1Ym1pc3Npb246IEZvcm1pb1N1Ym1pc3Npb24sIGhlYWRlcjogR3JpZEhlYWRlcik6IHN0cmluZyB7XG4gICAgY29uc3QgY2VsbFZhbHVlOiBhbnkgPSBnZXQoc3VibWlzc2lvbiwgaGVhZGVyLmtleSk7XG4gICAgaWYgKGhlYWRlci5yZW5kZXJDZWxsKSB7XG4gICAgICByZXR1cm4gaGVhZGVyLnJlbmRlckNlbGwoY2VsbFZhbHVlLCBoZWFkZXIuY29tcG9uZW50KTtcbiAgICB9IGVsc2Uge1xuICAgICAgaWYgKGhlYWRlci5jb21wb25lbnQpIHtcbiAgICAgICAgaWYgKGhlYWRlci5jb21wb25lbnQuZ2V0Vmlldykge1xuICAgICAgICAgIHJldHVybiBoZWFkZXIuY29tcG9uZW50LmdldFZpZXcoY2VsbFZhbHVlKTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gaGVhZGVyLmNvbXBvbmVudC5hc1N0cmluZyhjZWxsVmFsdWUpO1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgcmV0dXJuIGNlbGxWYWx1ZS50b1N0cmluZygpO1xuICAgICAgfVxuICAgIH1cbiAgfVxufVxuIiwiPG5nLXRlbXBsYXRlPlxuICA8dGJvZHk+XG4gICAgPHRyICpuZ0Zvcj1cImxldCByb3cgb2Ygcm93c1wiIChjbGljayk9XCJvblJvd1NlbGVjdCgkZXZlbnQsIHJvdylcIj5cbiAgICAgIDx0ZCAqbmdGb3I9XCJsZXQgcm93SGVhZGVyIG9mIGhlYWRlci5oZWFkZXJzXCIgW2lubmVySFRNTF09XCJ2aWV3KHJvdywgcm93SGVhZGVyKVwiPjwvdGQ+XG4gICAgPC90cj5cbiAgPC90Ym9keT5cbjwvbmctdGVtcGxhdGU+XG4iXX0=","customTransformCache":false,"dependencies":["@angular/core","lodash","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/GridBodyComponent.mjs","@angular/common"],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/submission/SubmissionGridBody.component.mjs","meta":{},"moduleSideEffects":false,"originalCode":"import { Component } from '@angular/core';\nimport { get } from 'lodash';\nimport { GridBodyComponent } from '../GridBodyComponent';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nexport class 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 = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: SubmissionGridBodyComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.3.12\", type: SubmissionGridBodyComponent, selector: \"ng-component\", usesInheritance: true, ngImport: i0, 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\", dependencies: [{ kind: \"directive\", type: i1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: SubmissionGridBodyComponent, decorators: [{\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 }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU3VibWlzc2lvbkdyaWRCb2R5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2dyaWQvc3JjL3N1Ym1pc3Npb24vU3VibWlzc2lvbkdyaWRCb2R5LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2dyaWQvc3JjL3N1Ym1pc3Npb24vU3VibWlzc2lvbkdyaWRCb2R5LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDMUMsT0FBTyxFQUFRLEdBQUcsRUFBRSxNQUFNLFFBQVEsQ0FBQztBQUNuQyxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQzs7O0FBT3pELE1BQU0sT0FBTywyQkFBNEIsU0FBUSxpQkFBaUI7SUFDaEUsSUFBSSxDQUFDLE1BQTRCLEVBQUUsS0FBVztRQUM1QyxLQUFLLEdBQUcsS0FBSyxJQUFJLEVBQUUsQ0FBQztRQUNwQixPQUFPLE1BQU0sQ0FBQyxlQUFlLENBQUMsRUFBRSxNQUFNLEVBQUUsS0FBSyxFQUFFLENBQUM7YUFDN0MsSUFBSSxDQUFDLENBQUMsV0FBZ0IsRUFBRSxFQUFFLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQ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VhZGVyLnJlbmRlckNlbGwoY2VsbFZhbHVlLCBoZWFkZXIuY29tcG9uZW50KTtcbiAgICB9IGVsc2Uge1xuICAgICAgaWYgKGhlYWRlci5jb21wb25lbnQpIHtcbiAgICAgICAgaWYgKGhlYWRlci5jb21wb25lbnQuZ2V0Vmlldykge1xuICAgICAgICAgIHJldHVybiBoZWFkZXIuY29tcG9uZW50LmdldFZpZXcoY2VsbFZhbHVlKTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gaGVhZGVyLmNvbXBvbmVudC5hc1N0cmluZyhjZWxsVmFsdWUpO1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgcmV0dXJuIGNlbGxWYWx1ZS50b1N0cmluZygpO1xuICAgICAgfVxuICAgIH1cbiAgfVxufVxuIiwiPG5nLXRlbXBsYXRlPlxuICA8dGJvZHk+XG4gICAgPHRyICpuZ0Zvcj1cImxldCByb3cgb2Ygcm93c1wiIChjbGljayk9XCJvblJvd1NlbGVjdCgkZXZlbnQsIHJvdylcIj5cbiAgICAgIDx0ZCAqbmdGb3I9XCJsZXQgcm93SGVhZGVyIG9mIGhlYWRlci5oZWFkZXJzXCIgW2lubmVySFRNTF09XCJ2aWV3KHJvdywgcm93SGVhZGVyKVwiPjwvdGQ+XG4gICAgPC90cj5cbiAgPC90Ym9keT5cbjwvbmctdGVtcGxhdGU+XG4iXX0=","originalSourcemap":{"version":3,"file":"SubmissionGridBody.component.js","sourceRoot":"","sources":["../../../../../projects/angular-formio/grid/src/submission/SubmissionGridBody.component.ts","../../../../../projects/angular-formio/grid/src/submission/SubmissionGridBody.component.html"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,9],[18,0,0,18],[20,0,0,20],[26,0,0,26],[41,0,0,41],[42,0,0,42]],[[0,0,1,0],[7,0,1,7],[9,0,1,15],[12,0,1,18],[14,0,1,20],[20,0,1,26],[28,0,1,34],[29,0,1,35]],[[0,0,2,0],[7,0,2,7],[9,0,2,9],[26,0,2,26],[28,0,2,28],[34,0,2,34],[56,0,2,56],[57,0,2,57]],[],[],[[0,0,9,0],[6,0,9,6],[13,0,9,13],[40,0,9,41],[49,0,9,49],[66,0,9,66]],[[4,0,10,2],[8,0,10,6],[9,0,10,7],[15,0,10,35],[17,0,10,37],[22,0,10,48]],[[8,0,11,4],[13,0,11,9],[16,0,11,12],[21,0,11,17],[25,0,11,21],[27,0,11,23],[28,0,11,24]],[[8,0,12,4],[15,0,12,11],[21,0,12,17],[22,0,12,18],[37,0,12,33],[38,0,12,34],[40,0,12,36],[46,0,12,42],[48,0,12,44],[53,0,12,49],[55,0,12,51],[56,0,12,52]],[[13,0,13,7],[17,0,13,11],[18,0,13,12],[19,0,13,13],[30,0,13,29],[32,0,13,31],[34,0,13,33],[35,0,13,34],[39,0,13,38],[40,0,13,39],[47,0,13,46],[48,0,13,47],[53,0,13,52],[55,0,13,54],[66,0,13,65],[67,0,13,66],[68,0,13,67],[69,0,13,68]],[[4,0,14,2],[5,0,14,3]],[[4,0,16,2]],[],[],[],[],[],[[7,0,22,5]],[[4,0,23,2],[8,0,23,6],[9,0,23,7],[19,0,23,35],[21,0,23,37],[27,0,23,55]],[[8,0,24,4],[14,0,24,10],[23,0,24,19],[26,0,24,27],[29,0,24,30],[30,0,24,31],[40,0,24,41],[42,0,24,43],[48,0,24,49],[49,0,24,50],[52,0,24,53],[53,0,24,54],[54,0,24,55]],[[8,0,25,4],[12,0,25,8],[18,0,25,14],[19,0,25,15],[29,0,25,25],[31,0,25,27],[32,0,25,28]],[[12,0,26,6],[19,0,26,13],[25,0,26,19],[26,0,26,20],[36,0,26,30],[37,0,26,31],[46,0,26,40],[48,0,26,42],[54,0,26,48],[55,0,26,49],[64,0,26,58],[65,0,26,59],[66,0,26,60]],[[8,0,27,4],[9,0,27,5]],[[13,0,27,11],[14,0,27,12]],[[12,0,28,6],[16,0,28,10],[22,0,28,16],[23,0,28,17],[32,0,28,26],[34,0,28,28],[35,0,28,29]],[[16,0,29,8],[20,0,29,12],[26,0,29,18],[27,0,29,19],[36,0,29,28],[37,0,29,29],[44,0,29,36],[46,0,29,38],[47,0,29,39]],[[20,0,30,10],[27,0,30,17],[33,0,30,23],[34,0,30,24],[43,0,30,33],[44,0,30,34],[51,0,30,41],[52,0,30,42],[61,0,30,51],[62,0,30,52],[63,0,30,53]],[[16,0,31,8],[17,0,31,9]],[[16,0,32,8],[23,0,32,15],[29,0,32,21],[30,0,32,22],[39,0,32,31],[40,0,32,32],[48,0,32,40],[49,0,32,41],[58,0,32,50],[59,0,32,51],[60,0,32,52]],[[12,0,33,6],[13,0,33,7]],[[17,0,33,13],[18,0,33,14]],[[16,0,34,8],[23,0,34,15],[32,0,34,24],[33,0,34,25],[41,0,34,33],[43,0,34,35],[44,0,34,36]],[[12,0,35,6],[13,0,35,7]],[[8,0,36,4],[9,0,36,5]],[[4,0,37,2],[5,0,37,3]],[[104,0,9,13],[131,0,9,40]],[[92,0,9,13],[119,0,9,40],[194,1,0,0],[432,1,7,0]],[],[[92,0,9,13],[119,0,9,40]],[[18,0,6,1],[27,0,6,10]]],"sourcesContent":["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>\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"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"lodash":{"attributes":{},"external":true,"id":"lodash","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@angular/common":{"attributes":{},"external":true,"id":"@angular/common","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"../GridBodyComponent":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/GridBodyComponent.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":8074,"body":[{"type":"ImportDeclaration","start":0,"end":61,"specifiers":[{"type":"ImportSpecifier","start":9,"end":18,"imported":{"type":"Identifier","start":9,"end":18,"name":"Component"},"local":{"type":"Identifier","start":9,"end":18,"name":"Component"}},{"type":"ImportSpecifier","start":20,"end":37,"imported":{"type":"Identifier","start":20,"end":37,"name":"ViewEncapsulation"},"local":{"type":"Identifier","start":20,"end":37,"name":"ViewEncapsulation"}}],"source":{"type":"Literal","start":45,"end":60,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":62,"end":123,"specifiers":[{"type":"ImportSpecifier","start":71,"end":90,"imported":{"type":"Identifier","start":71,"end":90,"name":"GridFooterComponent"},"local":{"type":"Identifier","start":71,"end":90,"name":"GridFooterComponent"}}],"source":{"type":"Literal","start":98,"end":122,"value":"../GridFooterComponent","raw":"'../GridFooterComponent'"},"attributes":[]},{"type":"ImportDeclaration","start":124,"end":160,"specifiers":[{"type":"ImportNamespaceSpecifier","start":131,"end":138,"local":{"type":"Identifier","start":136,"end":138,"name":"i0"}}],"source":{"type":"Literal","start":144,"end":159,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ImportDeclaration","start":161,"end":199,"specifiers":[{"type":"ImportNamespaceSpecifier","start":168,"end":175,"local":{"type":"Identifier","start":173,"end":175,"name":"i1"}}],"source":{"type":"Literal","start":181,"end":198,"value":"@angular/common","raw":"\"@angular/common\""},"attributes":[]},{"type":"ImportDeclaration","start":200,"end":237,"specifiers":[{"type":"ImportNamespaceSpecifier","start":207,"end":214,"local":{"type":"Identifier","start":212,"end":214,"name":"i2"}}],"source":{"type":"Literal","start":220,"end":236,"value":"@angular/forms","raw":"\"@angular/forms\""},"attributes":[]},{"type":"ImportDeclaration","start":238,"end":285,"specifiers":[{"type":"ImportNamespaceSpecifier","start":245,"end":252,"local":{"type":"Identifier","start":250,"end":252,"name":"i3"}}],"source":{"type":"Literal","start":258,"end":284,"value":"ngx-bootstrap/pagination","raw":"\"ngx-bootstrap/pagination\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":286,"end":3273,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":293,"end":3273,"decorators":[],"id":{"type":"Identifier","start":299,"end":328,"name":"SubmissionGridFooterComponent"},"superClass":{"type":"Identifier","start":337,"end":356,"name":"GridFooterComponent"},"body":{"type":"ClassBody","start":357,"end":3273,"body":[{"type":"MethodDefinition","start":363,"end":401,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":363,"end":374,"name":"constructor"},"value":{"type":"FunctionExpression","start":374,"end":401,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":377,"end":401,"body":[{"type":"ExpressionStatement","start":387,"end":395,"expression":{"type":"CallExpression","start":387,"end":394,"optional":false,"callee":{"type":"Super","start":387,"end":392},"arguments":[]}}]},"expression":false},"kind":"constructor"},{"type":"MethodDefinition","start":406,"end":487,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":406,"end":414,"name":"ngOnInit"},"value":{"type":"FunctionExpression","start":414,"end":487,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":417,"end":487,"body":[{"type":"IfStatement","start":427,"end":481,"test":{"type":"UnaryExpression","start":431,"end":441,"operator":"!","argument":{"type":"MemberExpression","start":432,"end":441,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":432,"end":436},"property":{"type":"Identifier","start":437,"end":441,"name":"size"}},"prefix":true},"consequent":{"type":"BlockStatement","start":443,"end":481,"body":[{"type":"ExpressionStatement","start":457,"end":471,"expression":{"type":"AssignmentExpression","start":457,"end":470,"operator":"=","left":{"type":"MemberExpression","start":457,"end":466,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":457,"end":461},"property":{"type":"Identifier","start":462,"end":466,"name":"size"}},"right":{"type":"Literal","start":469,"end":470,"raw":"7","value":7}}}]},"alternate":null}]},"expression":false},"kind":"method"},{"type":"PropertyDefinition","start":492,"end":673,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":499,"end":503,"name":"ɵfac"},"value":{"type":"CallExpression","start":506,"end":672,"optional":false,"callee":{"type":"MemberExpression","start":506,"end":527,"computed":false,"optional":false,"object":{"type":"Identifier","start":506,"end":508,"name":"i0"},"property":{"type":"Identifier","start":509,"end":527,"name":"ɵɵngDeclareFactory"}},"arguments":[{"type":"ObjectExpression","start":528,"end":671,"properties":[{"type":"Property","start":530,"end":550,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":530,"end":540,"name":"minVersion"},"value":{"type":"Literal","start":542,"end":550,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":552,"end":570,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":552,"end":559,"name":"version"},"value":{"type":"Literal","start":561,"end":570,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":572,"end":584,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":572,"end":580,"name":"ngImport"},"value":{"type":"Identifier","start":582,"end":584,"name":"i0"},"kind":"init"},{"type":"Property","start":586,"end":621,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":586,"end":590,"name":"type"},"value":{"type":"Identifier","start":592,"end":621,"name":"SubmissionGridFooterComponent"},"kind":"init"},{"type":"Property","start":623,"end":631,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":623,"end":627,"name":"deps"},"value":{"type":"ArrayExpression","start":629,"end":631,"elements":[]},"kind":"init"},{"type":"Property","start":633,"end":669,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":633,"end":639,"name":"target"},"value":{"type":"MemberExpression","start":641,"end":669,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":641,"end":659,"computed":false,"optional":false,"object":{"type":"Identifier","start":641,"end":643,"name":"i0"},"property":{"type":"Identifier","start":644,"end":659,"name":"ɵɵFactoryTarget"}},"property":{"type":"Identifier","start":660,"end":669,"name":"Component"}},"kind":"init"}]}]}},{"type":"PropertyDefinition","start":678,"end":3271,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":685,"end":689,"name":"ɵcmp"},"value":{"type":"CallExpression","start":692,"end":3270,"optional":false,"callee":{"type":"MemberExpression","start":692,"end":715,"computed":false,"optional":false,"object":{"type":"Identifier","start":692,"end":694,"name":"i0"},"property":{"type":"Identifier","start":695,"end":715,"name":"ɵɵngDeclareComponent"}},"arguments":[{"type":"ObjectExpression","start":716,"end":3269,"properties":[{"type":"Property","start":718,"end":738,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":718,"end":728,"name":"minVersion"},"value":{"type":"Literal","start":730,"end":738,"value":"14.0.0","raw":"\"14.0.0\""},"kind":"init"},{"type":"Property","start":740,"end":758,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":740,"end":747,"name":"version"},"value":{"type":"Literal","start":749,"end":758,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":760,"end":795,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":760,"end":764,"name":"type"},"value":{"type":"Identifier","start":766,"end":795,"name":"SubmissionGridFooterComponent"},"kind":"init"},{"type":"Property","start":797,"end":821,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":797,"end":805,"name":"selector"},"value":{"type":"Literal","start":807,"end":821,"value":"ng-component","raw":"\"ng-component\""},"kind":"init"},{"type":"Property","start":823,"end":844,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":823,"end":838,"name":"usesInheritance"},"value":{"type":"Literal","start":840,"end":844,"value":true,"raw":"true"},"kind":"init"},{"type":"Property","start":846,"end":858,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":846,"end":854,"name":"ngImport"},"value":{"type":"Identifier","start":856,"end":858,"name":"i0"},"kind":"init"},{"type":"Property","start":860,"end":2027,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":860,"end":868,"name":"template"},"value":{"type":"Literal","start":870,"end":2027,"value":"<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","raw":"\"<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\""},"kind":"init"},{"type":"Property","start":2029,"end":2206,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2029,"end":2035,"name":"styles"},"value":{"type":"ArrayExpression","start":2037,"end":2206,"elements":[{"type":"Literal","start":2038,"end":2205,"value":"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","raw":"\"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\""}]},"kind":"init"},{"type":"Property","start":2208,"end":3225,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2208,"end":2220,"name":"dependencies"},"value":{"type":"ArrayExpression","start":2222,"end":3225,"elements":[{"type":"ObjectExpression","start":2223,"end":2321,"properties":[{"type":"Property","start":2225,"end":2242,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2225,"end":2229,"name":"kind"},"value":{"type":"Literal","start":2231,"end":2242,"value":"directive","raw":"\"directive\""},"kind":"init"},{"type":"Property","start":2244,"end":2257,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2244,"end":2248,"name":"type"},"value":{"type":"MemberExpression","start":2250,"end":2257,"computed":false,"optional":false,"object":{"type":"Identifier","start":2250,"end":2252,"name":"i1"},"property":{"type":"Identifier","start":2253,"end":2257,"name":"NgIf"}},"kind":"init"},{"type":"Property","start":2259,"end":2277,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2259,"end":2267,"name":"selector"},"value":{"type":"Literal","start":2269,"end":2277,"value":"[ngIf]","raw":"\"[ngIf]\""},"kind":"init"},{"type":"Property","start":2279,"end":2319,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2279,"end":2285,"name":"inputs"},"value":{"type":"ArrayExpression","start":2287,"end":2319,"elements":[{"type":"Literal","start":2288,"end":2294,"value":"ngIf","raw":"\"ngIf\""},{"type":"Literal","start":2296,"end":2306,"value":"ngIfThen","raw":"\"ngIfThen\""},{"type":"Literal","start":2308,"end":2318,"value":"ngIfElse","raw":"\"ngIfElse\""}]},"kind":"init"}]},{"type":"ObjectExpression","start":2323,"end":2488,"properties":[{"type":"Property","start":2325,"end":2342,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2325,"end":2329,"name":"kind"},"value":{"type":"Literal","start":2331,"end":2342,"value":"directive","raw":"\"directive\""},"kind":"init"},{"type":"Property","start":2344,"end":2369,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2344,"end":2348,"name":"type"},"value":{"type":"MemberExpression","start":2350,"end":2369,"computed":false,"optional":false,"object":{"type":"Identifier","start":2350,"end":2352,"name":"i1"},"property":{"type":"Identifier","start":2353,"end":2369,"name":"NgTemplateOutlet"}},"kind":"init"},{"type":"Property","start":2371,"end":2401,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2371,"end":2379,"name":"selector"},"value":{"type":"Literal","start":2381,"end":2401,"value":"[ngTemplateOutlet]","raw":"\"[ngTemplateOutlet]\""},"kind":"init"},{"type":"Property","start":2403,"end":2486,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2403,"end":2409,"name":"inputs"},"value":{"type":"ArrayExpression","start":2411,"end":2486,"elements":[{"type":"Literal","start":2412,"end":2437,"value":"ngTemplateOutletContext","raw":"\"ngTemplateOutletContext\""},{"type":"Literal","start":2439,"end":2457,"value":"ngTemplateOutlet","raw":"\"ngTemplateOutlet\""},{"type":"Literal","start":2459,"end":2485,"value":"ngTemplateOutletInjector","raw":"\"ngTemplateOutletInjector\""}]},"kind":"init"}]},{"type":"ObjectExpression","start":2490,"end":2592,"properties":[{"type":"Property","start":2492,"end":2509,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2492,"end":2496,"name":"kind"},"value":{"type":"Literal","start":2498,"end":2509,"value":"directive","raw":"\"directive\""},"kind":"init"},{"type":"Property","start":2511,"end":2535,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2511,"end":2515,"name":"type"},"value":{"type":"MemberExpression","start":2517,"end":2535,"computed":false,"optional":false,"object":{"type":"Identifier","start":2517,"end":2519,"name":"i2"},"property":{"type":"Identifier","start":2520,"end":2535,"name":"NgControlStatus"}},"kind":"init"},{"type":"Property","start":2537,"end":2590,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2537,"end":2545,"name":"selector"},"value":{"type":"Literal","start":2547,"end":2590,"value":"[formControlName],[ngModel],[formControl]","raw":"\"[formControlName],[ngModel],[formControl]\""},"kind":"init"}]},{"type":"ObjectExpression","start":2594,"end":2808,"properties":[{"type":"Property","start":2596,"end":2613,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2596,"end":2600,"name":"kind"},"value":{"type":"Literal","start":2602,"end":2613,"value":"directive","raw":"\"directive\""},"kind":"init"},{"type":"Property","start":2615,"end":2631,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2615,"end":2619,"name":"type"},"value":{"type":"MemberExpression","start":2621,"end":2631,"computed":false,"optional":false,"object":{"type":"Identifier","start":2621,"end":2623,"name":"i2"},"property":{"type":"Identifier","start":2624,"end":2631,"name":"NgModel"}},"kind":"init"},{"type":"Property","start":2633,"end":2696,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2633,"end":2641,"name":"selector"},"value":{"type":"Literal","start":2643,"end":2696,"value":"[ngModel]:not([formControlName]):not([formControl])","raw":"\"[ngModel]:not([formControlName]):not([formControl])\""},"kind":"init"},{"type":"Property","start":2698,"end":2755,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2698,"end":2704,"name":"inputs"},"value":{"type":"ArrayExpression","start":2706,"end":2755,"elements":[{"type":"Literal","start":2707,"end":2713,"value":"name","raw":"\"name\""},{"type":"Literal","start":2715,"end":2725,"value":"disabled","raw":"\"disabled\""},{"type":"Literal","start":2727,"end":2736,"value":"ngModel","raw":"\"ngModel\""},{"type":"Literal","start":2738,"end":2754,"value":"ngModelOptions","raw":"\"ngModelOptions\""}]},"kind":"init"},{"type":"Property","start":2757,"end":2783,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2757,"end":2764,"name":"outputs"},"value":{"type":"ArrayExpression","start":2766,"end":2783,"elements":[{"type":"Literal","start":2767,"end":2782,"value":"ngModelChange","raw":"\"ngModelChange\""}]},"kind":"init"},{"type":"Property","start":2785,"end":2806,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2785,"end":2793,"name":"exportAs"},"value":{"type":"ArrayExpression","start":2795,"end":2806,"elements":[{"type":"Literal","start":2796,"end":2805,"value":"ngModel","raw":"\"ngModel\""}]},"kind":"init"}]},{"type":"ObjectExpression","start":2810,"end":3224,"properties":[{"type":"Property","start":2812,"end":2829,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2812,"end":2816,"name":"kind"},"value":{"type":"Literal","start":2818,"end":2829,"value":"component","raw":"\"component\""},"kind":"init"},{"type":"Property","start":2831,"end":2859,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2831,"end":2835,"name":"type"},"value":{"type":"MemberExpression","start":2837,"end":2859,"computed":false,"optional":false,"object":{"type":"Identifier","start":2837,"end":2839,"name":"i3"},"property":{"type":"Identifier","start":2840,"end":2859,"name":"PaginationComponent"}},"kind":"init"},{"type":"Property","start":2861,"end":2883,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2861,"end":2869,"name":"selector"},"value":{"type":"Literal","start":2871,"end":2883,"value":"pagination","raw":"\"pagination\""},"kind":"init"},{"type":"Property","start":2885,"end":3184,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2885,"end":2891,"name":"inputs"},"value":{"type":"ArrayExpression","start":2893,"end":3184,"elements":[{"type":"Literal","start":2894,"end":2901,"value":"align","raw":"\"align\""},{"type":"Literal","start":2903,"end":2912,"value":"maxSize","raw":"\"maxSize\""},{"type":"Literal","start":2914,"end":2929,"value":"boundaryLinks","raw":"\"boundaryLinks\""},{"type":"Literal","start":2931,"end":2947,"value":"directionLinks","raw":"\"directionLinks\""},{"type":"Literal","start":2949,"end":2960,"value":"firstText","raw":"\"firstText\""},{"type":"Literal","start":2962,"end":2976,"value":"previousText","raw":"\"previousText\""},{"type":"Literal","start":2978,"end":2988,"value":"nextText","raw":"\"nextText\""},{"type":"Literal","start":2990,"end":3000,"value":"lastText","raw":"\"lastText\""},{"type":"Literal","start":3002,"end":3010,"value":"rotate","raw":"\"rotate\""},{"type":"Literal","start":3012,"end":3026,"value":"pageBtnClass","raw":"\"pageBtnClass\""},{"type":"Literal","start":3028,"end":3038,"value":"disabled","raw":"\"disabled\""},{"type":"Literal","start":3040,"end":3060,"value":"customPageTemplate","raw":"\"customPageTemplate\""},{"type":"Literal","start":3062,"end":3082,"value":"customNextTemplate","raw":"\"customNextTemplate\""},{"type":"Literal","start":3084,"end":3108,"value":"customPreviousTemplate","raw":"\"customPreviousTemplate\""},{"type":"Literal","start":3110,"end":3131,"value":"customFirstTemplate","raw":"\"customFirstTemplate\""},{"type":"Literal","start":3133,"end":3153,"value":"customLastTemplate","raw":"\"customLastTemplate\""},{"type":"Literal","start":3155,"end":3169,"value":"itemsPerPage","raw":"\"itemsPerPage\""},{"type":"Literal","start":3171,"end":3183,"value":"totalItems","raw":"\"totalItems\""}]},"kind":"init"},{"type":"Property","start":3186,"end":3222,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3186,"end":3193,"name":"outputs"},"value":{"type":"ArrayExpression","start":3195,"end":3222,"elements":[{"type":"Literal","start":3196,"end":3206,"value":"numPages","raw":"\"numPages\""},{"type":"Literal","start":3208,"end":3221,"value":"pageChanged","raw":"\"pageChanged\""}]},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":3227,"end":3267,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3227,"end":3240,"name":"encapsulation"},"value":{"type":"MemberExpression","start":3242,"end":3267,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3242,"end":3262,"computed":false,"optional":false,"object":{"type":"Identifier","start":3242,"end":3244,"name":"i0"},"property":{"type":"Identifier","start":3245,"end":3262,"name":"ViewEncapsulation"}},"property":{"type":"Identifier","start":3263,"end":3267,"name":"None"}},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":3274,"end":4891,"expression":{"type":"CallExpression","start":3274,"end":4890,"optional":false,"callee":{"type":"MemberExpression","start":3274,"end":3301,"computed":false,"optional":false,"object":{"type":"Identifier","start":3274,"end":3276,"name":"i0"},"property":{"type":"Identifier","start":3277,"end":3301,"name":"ɵɵngDeclareClassMetadata"}},"arguments":[{"type":"ObjectExpression","start":3302,"end":4889,"properties":[{"type":"Property","start":3304,"end":3324,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3304,"end":3314,"name":"minVersion"},"value":{"type":"Literal","start":3316,"end":3324,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":3326,"end":3344,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3326,"end":3333,"name":"version"},"value":{"type":"Literal","start":3335,"end":3344,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":3346,"end":3358,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3346,"end":3354,"name":"ngImport"},"value":{"type":"Identifier","start":3356,"end":3358,"name":"i0"},"kind":"init"},{"type":"Property","start":3360,"end":3395,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3360,"end":3364,"name":"type"},"value":{"type":"Identifier","start":3366,"end":3395,"name":"SubmissionGridFooterComponent"},"kind":"init"},{"type":"Property","start":3397,"end":4861,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3397,"end":3407,"name":"decorators"},"value":{"type":"ArrayExpression","start":3409,"end":4861,"elements":[{"type":"ObjectExpression","start":3410,"end":4860,"properties":[{"type":"Property","start":3424,"end":3439,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3424,"end":3428,"name":"type"},"value":{"type":"Identifier","start":3430,"end":3439,"name":"Component"},"kind":"init"},{"type":"Property","start":3453,"end":4850,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3453,"end":3457,"name":"args"},"value":{"type":"ArrayExpression","start":3459,"end":4850,"elements":[{"type":"ObjectExpression","start":3460,"end":4849,"properties":[{"type":"Property","start":3462,"end":3499,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3462,"end":3475,"name":"encapsulation"},"value":{"type":"MemberExpression","start":3477,"end":3499,"computed":false,"optional":false,"object":{"type":"Identifier","start":3477,"end":3494,"name":"ViewEncapsulation"},"property":{"type":"Identifier","start":3495,"end":3499,"name":"None"}},"kind":"init"},{"type":"Property","start":3501,"end":4668,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3501,"end":3509,"name":"template"},"value":{"type":"Literal","start":3511,"end":4668,"value":"<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","raw":"\"<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\""},"kind":"init"},{"type":"Property","start":4670,"end":4847,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":4670,"end":4676,"name":"styles"},"value":{"type":"ArrayExpression","start":4678,"end":4847,"elements":[{"type":"Literal","start":4679,"end":4846,"value":"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","raw":"\"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\""}]},"kind":"init"}]}]},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":4863,"end":4887,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":4863,"end":4877,"name":"ctorParameters"},"value":{"type":"ArrowFunctionExpression","start":4879,"end":4887,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"ArrayExpression","start":4885,"end":4887,"elements":[]},"id":null},"kind":"init"}]}]}}],"_rollupRemoved":[{"end":8074,"start":4892,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { Component, ViewEncapsulation } from '@angular/core';\nimport { GridFooterComponent } from '../GridFooterComponent';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"ngx-bootstrap/pagination\";\nexport class SubmissionGridFooterComponent extends GridFooterComponent {\n constructor() {\n super();\n }\n ngOnInit() {\n if (!this.size) {\n this.size = 7;\n }\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: SubmissionGridFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.3.12\", type: SubmissionGridFooterComponent, selector: \"ng-component\", usesInheritance: true, ngImport: i0, 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\"], dependencies: [{ kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i1.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"directive\", type: i2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i2.NgModel, selector: \"[ngModel]:not([formControlName]):not([formControl])\", inputs: [\"name\", \"disabled\", \"ngModel\", \"ngModelOptions\"], outputs: [\"ngModelChange\"], exportAs: [\"ngModel\"] }, { kind: \"component\", type: i3.PaginationComponent, selector: \"pagination\", inputs: [\"align\", \"maxSize\", \"boundaryLinks\", \"directionLinks\", \"firstText\", \"previousText\", \"nextText\", \"lastText\", \"rotate\", \"pageBtnClass\", \"disabled\", \"customPageTemplate\", \"customNextTemplate\", \"customPreviousTemplate\", \"customFirstTemplate\", \"customLastTemplate\", \"itemsPerPage\", \"totalItems\"], outputs: [\"numPages\", \"pageChanged\"] }], encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: SubmissionGridFooterComponent, decorators: [{\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 }], ctorParameters: () => [] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU3VibWlzc2lvbkdyaWRGb290ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vZ3JpZC9zcmMvc3VibWlzc2lvbi9TdWJtaXNzaW9uR3JpZEZvb3Rlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9ncmlkL3NyYy9zdWJtaXNzaW9uL1N1Ym1pc3Npb25HcmlkRm9vdGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFw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W0+IHt7IGNyZWF0ZVRleHQgfX08L2J1dHRvbj5cbiAgICAgIDxzcGFuIGNsYXNzPVwiZmxvYXQtZW5kIGl0ZW0tY291bnRlclwiPjxzcGFuIGNsYXNzPVwicGFnZS1udW1cIj57eyBib2R5LmZpcnN0SXRlbSB9fSAtIHt7IGJvZHkubGFzdEl0ZW0gfX08L3NwYW4+IC8ge3sgYm9keS50b3RhbCB9fSB0b3RhbDwvc3Bhbj5cbiAgICAgIDxwYWdpbmF0aW9uIFt0b3RhbEl0ZW1zXT1cImJvZHkudG90YWxcIiBbaXRlbXNQZXJQYWdlXT1cImJvZHkubGltaXRcIiBbKG5nTW9kZWwpXT1cImJvZHkuc2tpcFwiIChwYWdlQ2hhbmdlZCk9XCJwYWdlQ2hhbmdlZC5lbWl0KCRldmVudClcIiBbbWF4U2l6ZV09XCJzaXplXCIgY2xhc3M9XCJqdXN0aWZ5LWNvbnRlbnQtY2VudGVyIHBhZ2luYXRpb24tc21cIj48L3BhZ2luYXRpb24+XG4gICAgPC90ZD5cbiAgPC90cj5cbjwvbmctdGVtcGxhdGU+XG4iXX0=","customTransformCache":false,"dependencies":["@angular/core","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/GridFooterComponent.mjs","@angular/common","@angular/forms","ngx-bootstrap/pagination"],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/submission/SubmissionGridFooter.component.mjs","meta":{},"moduleSideEffects":false,"originalCode":"import { Component, ViewEncapsulation } from '@angular/core';\nimport { GridFooterComponent } from '../GridFooterComponent';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"ngx-bootstrap/pagination\";\nexport class SubmissionGridFooterComponent extends GridFooterComponent {\n constructor() {\n super();\n }\n ngOnInit() {\n if (!this.size) {\n this.size = 7;\n }\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: SubmissionGridFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.3.12\", type: SubmissionGridFooterComponent, selector: \"ng-component\", usesInheritance: true, ngImport: i0, 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\"], dependencies: [{ kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i1.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"directive\", type: i2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i2.NgModel, selector: \"[ngModel]:not([formControlName]):not([formControl])\", inputs: [\"name\", \"disabled\", \"ngModel\", \"ngModelOptions\"], outputs: [\"ngModelChange\"], exportAs: [\"ngModel\"] }, { kind: \"component\", type: i3.PaginationComponent, selector: \"pagination\", inputs: [\"align\", \"maxSize\", \"boundaryLinks\", \"directionLinks\", \"firstText\", \"previousText\", \"nextText\", \"lastText\", \"rotate\", \"pageBtnClass\", \"disabled\", \"customPageTemplate\", \"customNextTemplate\", \"customPreviousTemplate\", \"customFirstTemplate\", \"customLastTemplate\", \"itemsPerPage\", \"totalItems\"], outputs: [\"numPages\", \"pageChanged\"] }], encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: SubmissionGridFooterComponent, decorators: [{\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 }], ctorParameters: () => [] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU3VibWlzc2lvbkdyaWRGb290ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vZ3JpZC9zcmMvc3VibWlzc2lvbi9TdWJtaXNzaW9uR3JpZEZvb3Rlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9ncmlkL3NyYy9zdWJtaXNzaW9uL1N1Ym1pc3Npb25HcmlkRm9vdGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQVUsaUJBQWlCLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDbkUsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7Ozs7O0FBTzdELE1BQU0sT0FBTyw2QkFBOEIsU0FBUSxtQkFBbUI7SUFFcEU7UUFDRSxLQUFLLEVBQUUsQ0FBQztJQUNWLENBQUM7SUFFRCxRQUFRO1FBQ04sSUFBSSxDQUFDLElBQUksQ0FB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vZHkudG90YWxcIiBbaXRlbXNQZXJQYWdlXT1cImJvZHkubGltaXRcIiBbKG5nTW9kZWwpXT1cImJvZHkuc2tpcFwiIChwYWdlQ2hhbmdlZCk9XCJwYWdlQ2hhbmdlZC5lbWl0KCRldmVudClcIiBbbWF4U2l6ZV09XCJzaXplXCIgY2xhc3M9XCJqdXN0aWZ5LWNvbnRlbnQtY2VudGVyIHBhZ2luYXRpb24tc21cIj48L3BhZ2luYXRpb24+XG4gICAgPC90ZD5cbiAgPC90cj5cbjwvbmctdGVtcGxhdGU+XG4iXX0=","originalSourcemap":{"version":3,"file":"SubmissionGridFooter.component.js","sourceRoot":"","sources":["../../../../../projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.ts","../../../../../projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.html"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,8],[18,0,0,17],[20,0,0,27],[37,0,0,44],[39,0,0,45],[45,0,0,51],[60,0,0,66],[61,0,0,67]],[[0,0,1,0],[7,0,1,7],[9,0,1,9],[28,0,1,28],[30,0,1,30],[36,0,1,36],[60,0,1,60],[61,0,1,61]],[],[],[],[],[[0,0,8,0],[6,0,8,6],[13,0,8,13],[42,0,8,43],[51,0,8,51],[70,0,8,70]],[[4,0,10,2]],[[8,0,11,4],[13,0,11,9],[15,0,11,11],[16,0,11,12]],[[4,0,12,2],[5,0,12,3]],[[4,0,14,2],[12,0,14,10]],[[8,0,15,4],[12,0,15,8],[13,0,15,9],[17,0,15,13],[18,0,15,14],[22,0,15,18],[24,0,15,20],[25,0,15,21]],[[12,0,16,6],[16,0,16,10],[17,0,16,11],[21,0,16,15],[24,0,16,18],[25,0,16,19],[26,0,16,20]],[[8,0,17,4],[9,0,17,5]],[[4,0,18,2],[5,0,18,3]],[[104,0,8,13],[133,0,8,42]],[[92,0,8,13],[121,0,8,42],[196,1,0,0],[1353,1,18,0]],[],[[92,0,8,13],[121,0,8,42]],[[18,0,3,1],[27,0,3,10]],[[36,0,6,17],[53,0,6,34],[54,0,6,35],[58,0,6,39]]],"sourcesContent":["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","<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"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@angular/common":{"attributes":{},"external":true,"id":"@angular/common","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@angular/forms":{"attributes":{},"external":true,"id":"@angular/forms","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"ngx-bootstrap/pagination":{"attributes":{},"external":true,"id":"ngx-bootstrap/pagination","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"../GridFooterComponent":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/GridFooterComponent.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":1488,"body":[{"type":"ImportDeclaration","start":0,"end":81,"specifiers":[{"type":"ImportSpecifier","start":9,"end":38,"imported":{"type":"Identifier","start":9,"end":38,"name":"SubmissionGridHeaderComponent"},"local":{"type":"Identifier","start":9,"end":38,"name":"SubmissionGridHeaderComponent"}}],"source":{"type":"Literal","start":46,"end":80,"value":"./SubmissionGridHeader.component","raw":"'./SubmissionGridHeader.component'"},"attributes":[]},{"type":"ImportDeclaration","start":82,"end":159,"specifiers":[{"type":"ImportSpecifier","start":91,"end":118,"imported":{"type":"Identifier","start":91,"end":118,"name":"SubmissionGridBodyComponent"},"local":{"type":"Identifier","start":91,"end":118,"name":"SubmissionGridBodyComponent"}}],"source":{"type":"Literal","start":126,"end":158,"value":"./SubmissionGridBody.component","raw":"'./SubmissionGridBody.component'"},"attributes":[]},{"type":"ImportDeclaration","start":160,"end":241,"specifiers":[{"type":"ImportSpecifier","start":169,"end":198,"imported":{"type":"Identifier","start":169,"end":198,"name":"SubmissionGridFooterComponent"},"local":{"type":"Identifier","start":169,"end":198,"name":"SubmissionGridFooterComponent"}}],"source":{"type":"Literal","start":206,"end":240,"value":"./SubmissionGridFooter.component","raw":"'./SubmissionGridFooter.component'"},"attributes":[]},{"type":"ExportDefaultDeclaration","start":242,"end":385,"declaration":{"type":"ObjectExpression","start":257,"end":384,"properties":[{"type":"Property","start":263,"end":300,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":263,"end":269,"name":"header"},"value":{"type":"Identifier","start":271,"end":300,"name":"SubmissionGridHeaderComponent"},"kind":"init"},{"type":"Property","start":306,"end":339,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":306,"end":310,"name":"body"},"value":{"type":"Identifier","start":312,"end":339,"name":"SubmissionGridBodyComponent"},"kind":"init"},{"type":"Property","start":345,"end":382,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":345,"end":351,"name":"footer"},"value":{"type":"Identifier","start":353,"end":382,"name":"SubmissionGridFooterComponent"},"kind":"init"}]}}],"_rollupRemoved":[{"end":1488,"start":386,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"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//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9ncmlkL3NyYy9zdWJtaXNzaW9uL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSw2QkFBNkIsRUFBRSxNQUFNLGtDQUFrQyxDQUFDO0FBQ2pGLE9BQU8sRUFBRSwyQkFBMkIsRUFBRSxNQUFNLGdDQUFnQyxDQUFDO0FBQzdFLE9BQU8sRUFBRSw2QkFBNkIsRUFBRSxNQUFNLGtDQUFrQyxDQUFDO0FBQ2pGLGVBQWU7SUFDYixNQUFNLEVBQUUsNkJBQTZCO0lBQ3JDLElBQUksRUFBRSwyQkFBMkI7SUFDakMsTUFBTSxFQUFFLDZCQUE2QjtDQUN0QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgU3VibWlzc2lvbkdyaWRIZWFkZXJDb21wb25lbnQgfSBmcm9tICcuL1N1Ym1pc3Npb25HcmlkSGVhZGVyLmNvbXBvbmVudCc7XG5pbXBvcnQgeyBTdWJtaXNzaW9uR3JpZEJvZHlDb21wb25lbnQgfSBmcm9tICcuL1N1Ym1pc3Npb25HcmlkQm9keS5jb21wb25lbnQnO1xuaW1wb3J0IHsgU3VibWlzc2lvbkdyaWRGb290ZXJDb21wb25lbnQgfSBmcm9tICcuL1N1Ym1pc3Npb25HcmlkRm9vdGVyLmNvbXBvbmVudCc7XG5leHBvcnQgZGVmYXVsdCB7XG4gIGhlYWRlcjogU3VibWlzc2lvbkdyaWRIZWFkZXJDb21wb25lbnQsXG4gIGJvZHk6IFN1Ym1pc3Npb25HcmlkQm9keUNvbXBvbmVudCxcbiAgZm9vdGVyOiBTdWJtaXNzaW9uR3JpZEZvb3RlckNvbXBvbmVudFxufTtcbiJdfQ==","customTransformCache":false,"dependencies":["/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/submission/SubmissionGridHeader.component.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/submission/SubmissionGridBody.component.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/submission/SubmissionGridFooter.component.mjs"],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/submission/index.mjs","meta":{},"moduleSideEffects":false,"originalCode":"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//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlI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../../../projects/angular-formio/grid/src/submission/index.ts"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,9],[38,0,0,38],[40,0,0,40],[46,0,0,46],[80,0,0,80],[81,0,0,81]],[[0,0,1,0],[7,0,1,7],[9,0,1,9],[36,0,1,36],[38,0,1,38],[44,0,1,44],[76,0,1,76],[77,0,1,77]],[[0,0,2,0],[7,0,2,7],[9,0,2,9],[38,0,2,38],[40,0,2,40],[46,0,2,46],[80,0,2,80],[81,0,2,81]],[[0,0,3,0],[15,0,3,15]],[[4,0,4,2],[10,0,4,8],[12,0,4,10],[41,0,4,39]],[[4,0,5,2],[8,0,5,6],[10,0,5,8],[37,0,5,35]],[[4,0,6,2],[10,0,6,8],[12,0,6,10],[41,0,6,39]],[[1,0,7,1],[2,0,7,2]]],"sourcesContent":["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"]},"resolvedIds":{"./SubmissionGridHeader.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/submission/SubmissionGridHeader.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./SubmissionGridBody.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/submission/SubmissionGridBody.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./SubmissionGridFooter.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/submission/SubmissionGridFooter.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":35800,"body":[{"type":"ImportDeclaration","start":0,"end":68,"specifiers":[{"type":"ImportSpecifier","start":9,"end":28,"imported":{"type":"Identifier","start":9,"end":28,"name":"GridFooterPositions"},"local":{"type":"Identifier","start":9,"end":28,"name":"GridFooterPositions"}}],"source":{"type":"Literal","start":36,"end":67,"value":"./types/grid-footer-positions","raw":"'./types/grid-footer-positions'"},"attributes":[]},{"type":"ImportDeclaration","start":69,"end":169,"specifiers":[{"type":"ImportSpecifier","start":78,"end":87,"imported":{"type":"Identifier","start":78,"end":87,"name":"Component"},"local":{"type":"Identifier","start":78,"end":87,"name":"Component"}},{"type":"ImportSpecifier","start":89,"end":101,"imported":{"type":"Identifier","start":89,"end":101,"name":"EventEmitter"},"local":{"type":"Identifier","start":89,"end":101,"name":"EventEmitter"}},{"type":"ImportSpecifier","start":103,"end":108,"imported":{"type":"Identifier","start":103,"end":108,"name":"Input"},"local":{"type":"Identifier","start":103,"end":108,"name":"Input"}},{"type":"ImportSpecifier","start":110,"end":116,"imported":{"type":"Identifier","start":110,"end":116,"name":"Output"},"local":{"type":"Identifier","start":110,"end":116,"name":"Output"}},{"type":"ImportSpecifier","start":118,"end":127,"imported":{"type":"Identifier","start":118,"end":127,"name":"ViewChild"},"local":{"type":"Identifier","start":118,"end":127,"name":"ViewChild"}},{"type":"ImportSpecifier","start":129,"end":145,"imported":{"type":"Identifier","start":129,"end":145,"name":"ViewContainerRef"},"local":{"type":"Identifier","start":129,"end":145,"name":"ViewContainerRef"}}],"source":{"type":"Literal","start":153,"end":168,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":170,"end":200,"specifiers":[{"type":"ImportSpecifier","start":179,"end":183,"imported":{"type":"Identifier","start":179,"end":183,"name":"each"},"local":{"type":"Identifier","start":179,"end":183,"name":"each"}}],"source":{"type":"Literal","start":191,"end":199,"value":"lodash","raw":"'lodash'"},"attributes":[]},{"type":"ImportDeclaration","start":201,"end":251,"specifiers":[{"type":"ImportSpecifier","start":210,"end":230,"imported":{"type":"Identifier","start":210,"end":220,"name":"FormioCore"},"local":{"type":"Identifier","start":224,"end":230,"name":"Formio"}}],"source":{"type":"Literal","start":238,"end":250,"value":"@formio/js","raw":"'@formio/js'"},"attributes":[]},{"type":"ImportDeclaration","start":252,"end":294,"specifiers":[{"type":"ImportDefaultSpecifier","start":259,"end":273,"local":{"type":"Identifier","start":259,"end":273,"name":"FormComponents"}}],"source":{"type":"Literal","start":279,"end":293,"value":"./form/index","raw":"'./form/index'"},"attributes":[]},{"type":"ImportDeclaration","start":295,"end":349,"specifiers":[{"type":"ImportDefaultSpecifier","start":302,"end":322,"local":{"type":"Identifier","start":302,"end":322,"name":"SubmissionComponents"}}],"source":{"type":"Literal","start":328,"end":348,"value":"./submission/index","raw":"'./submission/index'"},"attributes":[]},{"type":"ImportDeclaration","start":350,"end":405,"specifiers":[{"type":"ImportSpecifier","start":359,"end":379,"imported":{"type":"Identifier","start":359,"end":379,"name":"FormioPromiseService"},"local":{"type":"Identifier","start":359,"end":379,"name":"FormioPromiseService"}}],"source":{"type":"Literal","start":387,"end":404,"value":"@formio/angular","raw":"'@formio/angular'"},"attributes":[]},{"type":"ImportDeclaration","start":406,"end":453,"specifiers":[{"type":"ImportSpecifier","start":415,"end":423,"imported":{"type":"Identifier","start":415,"end":423,"name":"SortType"},"local":{"type":"Identifier","start":415,"end":423,"name":"SortType"}}],"source":{"type":"Literal","start":431,"end":452,"value":"./types/grid-header","raw":"'./types/grid-header'"},"attributes":[]},{"type":"ImportDeclaration","start":454,"end":490,"specifiers":[{"type":"ImportNamespaceSpecifier","start":461,"end":468,"local":{"type":"Identifier","start":466,"end":468,"name":"i0"}}],"source":{"type":"Literal","start":474,"end":489,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ImportDeclaration","start":491,"end":529,"specifiers":[{"type":"ImportNamespaceSpecifier","start":498,"end":505,"local":{"type":"Identifier","start":503,"end":505,"name":"i1"}}],"source":{"type":"Literal","start":511,"end":528,"value":"@formio/angular","raw":"\"@formio/angular\""},"attributes":[]},{"type":"ImportDeclaration","start":530,"end":568,"specifiers":[{"type":"ImportNamespaceSpecifier","start":537,"end":544,"local":{"type":"Identifier","start":542,"end":544,"name":"i2"}}],"source":{"type":"Literal","start":550,"end":567,"value":"@angular/common","raw":"\"@angular/common\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":569,"end":9766,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":576,"end":9766,"decorators":[],"id":{"type":"Identifier","start":582,"end":601,"name":"FormioGridComponent"},"superClass":null,"body":{"type":"ClassBody","start":602,"end":9766,"body":[{"type":"PropertyDefinition","start":608,"end":615,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":608,"end":614,"name":"alerts"},"value":null},{"type":"PropertyDefinition","start":620,"end":629,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":620,"end":628,"name":"resolver"},"value":null},{"type":"PropertyDefinition","start":634,"end":638,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":634,"end":637,"name":"ref"},"value":null},{"type":"PropertyDefinition","start":643,"end":687,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":643,"end":657,"name":"footerPosition"},"value":{"type":"MemberExpression","start":660,"end":686,"computed":false,"optional":false,"object":{"type":"Identifier","start":660,"end":679,"name":"GridFooterPositions"},"property":{"type":"Identifier","start":680,"end":686,"name":"bottom"}}},{"type":"PropertyDefinition","start":692,"end":696,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":692,"end":695,"name":"src"},"value":null},{"type":"PropertyDefinition","start":701,"end":707,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":701,"end":706,"name":"items"},"value":null},{"type":"PropertyDefinition","start":712,"end":719,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":712,"end":718,"name":"onForm"},"value":null},{"type":"PropertyDefinition","start":724,"end":730,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":724,"end":729,"name":"query"},"value":null},{"type":"PropertyDefinition","start":735,"end":743,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":735,"end":742,"name":"refresh"},"value":null},{"type":"PropertyDefinition","start":748,"end":756,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":748,"end":755,"name":"columns"},"value":null},{"type":"PropertyDefinition","start":761,"end":770,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":761,"end":769,"name":"gridType"},"value":null},{"type":"PropertyDefinition","start":775,"end":780,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":775,"end":779,"name":"size"},"value":null},{"type":"PropertyDefinition","start":785,"end":796,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":785,"end":795,"name":"components"},"value":null},{"type":"PropertyDefinition","start":801,"end":808,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":801,"end":807,"name":"formio"},"value":null},{"type":"PropertyDefinition","start":813,"end":819,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":813,"end":818,"name":"label"},"value":null},{"type":"PropertyDefinition","start":824,"end":835,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":824,"end":834,"name":"createText"},"value":null},{"type":"PropertyDefinition","start":840,"end":856,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":840,"end":855,"name":"isActionAllowed"},"value":null},{"type":"PropertyDefinition","start":861,"end":868,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":861,"end":867,"name":"select"},"value":null},{"type":"PropertyDefinition","start":873,"end":883,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":873,"end":882,"name":"rowSelect"},"value":null},{"type":"PropertyDefinition","start":888,"end":898,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":888,"end":897,"name":"rowAction"},"value":null},{"type":"PropertyDefinition","start":903,"end":914,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":903,"end":913,"name":"createItem"},"value":null},{"type":"PropertyDefinition","start":919,"end":925,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":919,"end":924,"name":"error"},"value":null},{"type":"PropertyDefinition","start":930,"end":944,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":930,"end":943,"name":"headerElement"},"value":null},{"type":"PropertyDefinition","start":949,"end":961,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":949,"end":960,"name":"bodyElement"},"value":null},{"type":"PropertyDefinition","start":966,"end":980,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":966,"end":979,"name":"footerElement"},"value":null},{"type":"PropertyDefinition","start":985,"end":994,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":985,"end":989,"name":"page"},"value":{"type":"Literal","start":992,"end":993,"raw":"0","value":0}},{"type":"PropertyDefinition","start":999,"end":1017,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":999,"end":1008,"name":"isLoading"},"value":{"type":"Literal","start":1011,"end":1016,"value":false,"raw":"false"}},{"type":"PropertyDefinition","start":1022,"end":1042,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1022,"end":1033,"name":"initialized"},"value":{"type":"Literal","start":1036,"end":1041,"value":false,"raw":"false"}},{"type":"PropertyDefinition","start":1047,"end":1054,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1047,"end":1053,"name":"header"},"value":null},{"type":"PropertyDefinition","start":1059,"end":1064,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1059,"end":1063,"name":"body"},"value":null},{"type":"PropertyDefinition","start":1069,"end":1076,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1069,"end":1075,"name":"footer"},"value":null},{"type":"PropertyDefinition","start":1081,"end":1119,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1081,"end":1096,"name":"footerPositions"},"value":{"type":"Identifier","start":1099,"end":1118,"name":"GridFooterPositions"}},{"type":"MethodDefinition","start":1124,"end":1476,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1124,"end":1135,"name":"constructor"},"value":{"type":"FunctionExpression","start":1135,"end":1476,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":1136,"end":1142,"name":"alerts"},{"type":"Identifier","start":1144,"end":1152,"name":"resolver"},{"type":"Identifier","start":1154,"end":1157,"name":"ref"}],"body":{"type":"BlockStatement","start":1159,"end":1476,"body":[{"type":"ExpressionStatement","start":1169,"end":1190,"expression":{"type":"AssignmentExpression","start":1169,"end":1189,"operator":"=","left":{"type":"MemberExpression","start":1169,"end":1180,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1169,"end":1173},"property":{"type":"Identifier","start":1174,"end":1180,"name":"alerts"}},"right":{"type":"Identifier","start":1183,"end":1189,"name":"alerts"}}},{"type":"ExpressionStatement","start":1199,"end":1224,"expression":{"type":"AssignmentExpression","start":1199,"end":1223,"operator":"=","left":{"type":"MemberExpression","start":1199,"end":1212,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1199,"end":1203},"property":{"type":"Identifier","start":1204,"end":1212,"name":"resolver"}},"right":{"type":"Identifier","start":1215,"end":1223,"name":"resolver"}}},{"type":"ExpressionStatement","start":1233,"end":1248,"expression":{"type":"AssignmentExpression","start":1233,"end":1247,"operator":"=","left":{"type":"MemberExpression","start":1233,"end":1241,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1233,"end":1237},"property":{"type":"Identifier","start":1238,"end":1241,"name":"ref"}},"right":{"type":"Identifier","start":1244,"end":1247,"name":"ref"}}},{"type":"ExpressionStatement","start":1257,"end":1307,"expression":{"type":"AssignmentExpression","start":1257,"end":1306,"operator":"=","left":{"type":"MemberExpression","start":1257,"end":1268,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1257,"end":1261},"property":{"type":"Identifier","start":1262,"end":1268,"name":"select"}},"right":{"type":"AssignmentExpression","start":1271,"end":1306,"operator":"=","left":{"type":"MemberExpression","start":1271,"end":1285,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1271,"end":1275},"property":{"type":"Identifier","start":1276,"end":1285,"name":"rowSelect"}},"right":{"type":"NewExpression","start":1288,"end":1306,"callee":{"type":"Identifier","start":1292,"end":1304,"name":"EventEmitter"},"arguments":[]}}}},{"type":"ExpressionStatement","start":1316,"end":1352,"expression":{"type":"AssignmentExpression","start":1316,"end":1351,"operator":"=","left":{"type":"MemberExpression","start":1316,"end":1330,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1316,"end":1320},"property":{"type":"Identifier","start":1321,"end":1330,"name":"rowAction"}},"right":{"type":"NewExpression","start":1333,"end":1351,"callee":{"type":"Identifier","start":1337,"end":1349,"name":"EventEmitter"},"arguments":[]}}},{"type":"ExpressionStatement","start":1361,"end":1398,"expression":{"type":"AssignmentExpression","start":1361,"end":1397,"operator":"=","left":{"type":"MemberExpression","start":1361,"end":1376,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1361,"end":1365},"property":{"type":"Identifier","start":1366,"end":1376,"name":"createItem"}},"right":{"type":"NewExpression","start":1379,"end":1397,"callee":{"type":"Identifier","start":1383,"end":1395,"name":"EventEmitter"},"arguments":[]}}},{"type":"ExpressionStatement","start":1407,"end":1439,"expression":{"type":"AssignmentExpression","start":1407,"end":1438,"operator":"=","left":{"type":"MemberExpression","start":1407,"end":1417,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1407,"end":1411},"property":{"type":"Identifier","start":1412,"end":1417,"name":"error"}},"right":{"type":"NewExpression","start":1420,"end":1438,"callee":{"type":"Identifier","start":1424,"end":1436,"name":"EventEmitter"},"arguments":[]}}},{"type":"ExpressionStatement","start":1448,"end":1470,"expression":{"type":"AssignmentExpression","start":1448,"end":1469,"operator":"=","left":{"type":"MemberExpression","start":1448,"end":1462,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1448,"end":1452},"property":{"type":"Identifier","start":1453,"end":1462,"name":"isLoading"}},"right":{"type":"Literal","start":1465,"end":1469,"value":true,"raw":"true"}}}]},"expression":false},"kind":"constructor"},{"type":"MethodDefinition","start":1481,"end":1701,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1481,"end":1496,"name":"createComponent"},"value":{"type":"FunctionExpression","start":1496,"end":1701,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":1497,"end":1505,"name":"property"},{"type":"Identifier","start":1507,"end":1516,"name":"component"}],"body":{"type":"BlockStatement","start":1518,"end":1701,"body":[{"type":"VariableDeclaration","start":1528,"end":1593,"kind":"const","declarations":[{"type":"VariableDeclarator","start":1534,"end":1592,"id":{"type":"Identifier","start":1534,"end":1541,"name":"factory"},"init":{"type":"CallExpression","start":1544,"end":1592,"optional":false,"callee":{"type":"MemberExpression","start":1544,"end":1581,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1544,"end":1557,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1544,"end":1548},"property":{"type":"Identifier","start":1549,"end":1557,"name":"resolver"}},"property":{"type":"Identifier","start":1558,"end":1581,"name":"resolveComponentFactory"}},"arguments":[{"type":"Identifier","start":1582,"end":1591,"name":"component"}]}}]},{"type":"VariableDeclaration","start":1602,"end":1657,"kind":"const","declarations":[{"type":"VariableDeclarator","start":1608,"end":1656,"id":{"type":"Identifier","start":1608,"end":1620,"name":"componentRef"},"init":{"type":"CallExpression","start":1623,"end":1656,"optional":false,"callee":{"type":"MemberExpression","start":1623,"end":1647,"computed":false,"optional":false,"object":{"type":"Identifier","start":1623,"end":1631,"name":"property"},"property":{"type":"Identifier","start":1632,"end":1647,"name":"createComponent"}},"arguments":[{"type":"Identifier","start":1648,"end":1655,"name":"factory"}]}}]},{"type":"ReturnStatement","start":1666,"end":1695,"argument":{"type":"MemberExpression","start":1673,"end":1694,"computed":false,"optional":false,"object":{"type":"Identifier","start":1673,"end":1685,"name":"componentRef"},"property":{"type":"Identifier","start":1686,"end":1694,"name":"instance"}}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":1706,"end":2277,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1706,"end":1714,"name":"loadGrid"},"value":{"type":"FunctionExpression","start":1714,"end":2277,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":1715,"end":1718,"name":"src"}],"body":{"type":"BlockStatement","start":1720,"end":2277,"body":[{"type":"IfStatement","start":1778,"end":1835,"test":{"type":"LogicalExpression","start":1782,"end":1802,"operator":"&&","left":{"type":"UnaryExpression","start":1782,"end":1786,"operator":"!","argument":{"type":"Identifier","start":1783,"end":1786,"name":"src"},"prefix":true},"right":{"type":"UnaryExpression","start":1790,"end":1802,"operator":"!","argument":{"type":"MemberExpression","start":1791,"end":1802,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1791,"end":1795},"property":{"type":"Identifier","start":1796,"end":1802,"name":"formio"}},"prefix":true}},"consequent":{"type":"BlockStatement","start":1804,"end":1835,"body":[{"type":"ReturnStatement","start":1818,"end":1825,"argument":null}]},"alternate":null},{"type":"IfStatement","start":1875,"end":1957,"test":{"type":"LogicalExpression","start":1879,"end":1924,"operator":"&&","left":{"type":"LogicalExpression","start":1879,"end":1902,"operator":"&&","left":{"type":"MemberExpression","start":1879,"end":1890,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1879,"end":1883},"property":{"type":"Identifier","start":1884,"end":1890,"name":"formio"}},"right":{"type":"MemberExpression","start":1894,"end":1902,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1894,"end":1898},"property":{"type":"Identifier","start":1899,"end":1902,"name":"src"}}},"right":{"type":"BinaryExpression","start":1907,"end":1923,"operator":"===","left":{"type":"Identifier","start":1907,"end":1910,"name":"src"},"right":{"type":"MemberExpression","start":1915,"end":1923,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1915,"end":1919},"property":{"type":"Identifier","start":1920,"end":1923,"name":"src"}}}},"consequent":{"type":"BlockStatement","start":1926,"end":1957,"body":[{"type":"ReturnStatement","start":1940,"end":1947,"argument":null}]},"alternate":null},{"type":"IfStatement","start":1966,"end":2096,"test":{"type":"Identifier","start":1970,"end":1973,"name":"src"},"consequent":{"type":"BlockStatement","start":1975,"end":2096,"body":[{"type":"ExpressionStatement","start":1989,"end":2004,"expression":{"type":"AssignmentExpression","start":1989,"end":2003,"operator":"=","left":{"type":"MemberExpression","start":1989,"end":1997,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1989,"end":1993},"property":{"type":"Identifier","start":1994,"end":1997,"name":"src"}},"right":{"type":"Identifier","start":2000,"end":2003,"name":"src"}}},{"type":"ExpressionStatement","start":2017,"end":2086,"expression":{"type":"AssignmentExpression","start":2017,"end":2085,"operator":"=","left":{"type":"MemberExpression","start":2017,"end":2028,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2017,"end":2021},"property":{"type":"Identifier","start":2022,"end":2028,"name":"formio"}},"right":{"type":"NewExpression","start":2031,"end":2085,"callee":{"type":"Identifier","start":2035,"end":2055,"name":"FormioPromiseService"},"arguments":[{"type":"MemberExpression","start":2056,"end":2064,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2056,"end":2060},"property":{"type":"Identifier","start":2061,"end":2064,"name":"src"}},{"type":"ObjectExpression","start":2066,"end":2084,"properties":[{"type":"Property","start":2068,"end":2082,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2068,"end":2076,"name":"formOnly"},"value":{"type":"Literal","start":2078,"end":2082,"value":true,"raw":"true"},"kind":"init"}]}]}}}]},"alternate":null},{"type":"ExpressionStatement","start":2133,"end":2271,"expression":{"type":"CallExpression","start":2133,"end":2270,"optional":false,"callee":{"type":"MemberExpression","start":2133,"end":2240,"computed":false,"optional":false,"object":{"type":"CallExpression","start":2133,"end":2221,"optional":false,"callee":{"type":"MemberExpression","start":2133,"end":2198,"computed":false,"optional":false,"object":{"type":"CallExpression","start":2133,"end":2180,"optional":false,"callee":{"type":"MemberExpression","start":2133,"end":2149,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2133,"end":2144,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2133,"end":2137},"property":{"type":"Identifier","start":2138,"end":2144,"name":"header"}},"property":{"type":"Identifier","start":2145,"end":2149,"name":"load"}},"arguments":[{"type":"MemberExpression","start":2150,"end":2161,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2150,"end":2154},"property":{"type":"Identifier","start":2155,"end":2161,"name":"formio"}},{"type":"ObjectExpression","start":2163,"end":2165,"properties":[]},{"type":"MemberExpression","start":2167,"end":2179,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2167,"end":2171},"property":{"type":"Identifier","start":2172,"end":2179,"name":"columns"}}]},"property":{"type":"Identifier","start":2194,"end":2198,"name":"then"}},"arguments":[{"type":"ArrowFunctionExpression","start":2199,"end":2220,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"CallExpression","start":2205,"end":2220,"optional":false,"callee":{"type":"MemberExpression","start":2205,"end":2217,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2205,"end":2209},"property":{"type":"Identifier","start":2210,"end":2217,"name":"setPage"}},"arguments":[{"type":"Literal","start":2218,"end":2219,"raw":"0","value":0}]},"id":null}]},"property":{"type":"Identifier","start":2235,"end":2240,"name":"catch"}},"arguments":[{"type":"ArrowFunctionExpression","start":2241,"end":2269,"async":false,"expression":true,"generator":false,"params":[{"type":"Identifier","start":2241,"end":2246,"name":"error"}],"body":{"type":"CallExpression","start":2250,"end":2269,"optional":false,"callee":{"type":"MemberExpression","start":2250,"end":2262,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2250,"end":2254},"property":{"type":"Identifier","start":2255,"end":2262,"name":"onError"}},"arguments":[{"type":"Identifier","start":2263,"end":2268,"name":"error"}]},"id":null}]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":2282,"end":3454,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":2282,"end":2290,"name":"ngOnInit"},"value":{"type":"FunctionExpression","start":2290,"end":3454,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":2293,"end":3454,"body":[{"type":"VariableDeclaration","start":2337,"end":2439,"kind":"const","declarations":[{"type":"VariableDeclarator","start":2343,"end":2438,"id":{"type":"Identifier","start":2343,"end":2348,"name":"comps"},"init":{"type":"LogicalExpression","start":2351,"end":2438,"operator":"||","left":{"type":"MemberExpression","start":2351,"end":2366,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2351,"end":2355},"property":{"type":"Identifier","start":2356,"end":2366,"name":"components"}},"right":{"type":"ConditionalExpression","start":2371,"end":2437,"test":{"type":"BinaryExpression","start":2372,"end":2396,"operator":"===","left":{"type":"MemberExpression","start":2372,"end":2385,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2372,"end":2376},"property":{"type":"Identifier","start":2377,"end":2385,"name":"gridType"}},"right":{"type":"Literal","start":2390,"end":2396,"value":"form","raw":"'form'"}},"consequent":{"type":"Identifier","start":2400,"end":2414,"name":"FormComponents"},"alternate":{"type":"Identifier","start":2417,"end":2437,"name":"SubmissionComponents"}}}}]},{"type":"ExpressionStatement","start":2448,"end":2517,"expression":{"type":"AssignmentExpression","start":2448,"end":2516,"operator":"=","left":{"type":"MemberExpression","start":2448,"end":2459,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2448,"end":2452},"property":{"type":"Identifier","start":2453,"end":2459,"name":"header"}},"right":{"type":"CallExpression","start":2462,"end":2516,"optional":false,"callee":{"type":"MemberExpression","start":2462,"end":2482,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2462,"end":2466},"property":{"type":"Identifier","start":2467,"end":2482,"name":"createComponent"}},"arguments":[{"type":"MemberExpression","start":2483,"end":2501,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2483,"end":2487},"property":{"type":"Identifier","start":2488,"end":2501,"name":"headerElement"}},{"type":"MemberExpression","start":2503,"end":2515,"computed":false,"optional":false,"object":{"type":"Identifier","start":2503,"end":2508,"name":"comps"},"property":{"type":"Identifier","start":2509,"end":2515,"name":"header"}}]}}},{"type":"ExpressionStatement","start":2526,"end":2584,"expression":{"type":"AssignmentExpression","start":2526,"end":2583,"operator":"=","left":{"type":"MemberExpression","start":2526,"end":2551,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2526,"end":2537,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2526,"end":2530},"property":{"type":"Identifier","start":2531,"end":2537,"name":"header"}},"property":{"type":"Identifier","start":2538,"end":2551,"name":"actionAllowed"}},"right":{"type":"CallExpression","start":2554,"end":2583,"optional":false,"callee":{"type":"MemberExpression","start":2554,"end":2577,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2554,"end":2572,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2554,"end":2558},"property":{"type":"Identifier","start":2559,"end":2572,"name":"actionAllowed"}},"property":{"type":"Identifier","start":2573,"end":2577,"name":"bind"}},"arguments":[{"type":"ThisExpression","start":2578,"end":2582}]}}},{"type":"ExpressionStatement","start":2593,"end":2655,"expression":{"type":"CallExpression","start":2593,"end":2654,"optional":false,"callee":{"type":"MemberExpression","start":2593,"end":2619,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2593,"end":2609,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2593,"end":2604,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2593,"end":2597},"property":{"type":"Identifier","start":2598,"end":2604,"name":"header"}},"property":{"type":"Identifier","start":2605,"end":2609,"name":"sort"}},"property":{"type":"Identifier","start":2610,"end":2619,"name":"subscribe"}},"arguments":[{"type":"ArrowFunctionExpression","start":2620,"end":2653,"async":false,"expression":true,"generator":false,"params":[{"type":"Identifier","start":2620,"end":2626,"name":"header"}],"body":{"type":"CallExpression","start":2630,"end":2653,"optional":false,"callee":{"type":"MemberExpression","start":2630,"end":2645,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2630,"end":2634},"property":{"type":"Identifier","start":2635,"end":2645,"name":"sortColumn"}},"arguments":[{"type":"Identifier","start":2646,"end":2652,"name":"header"}]},"id":null}]}},{"type":"ExpressionStatement","start":2664,"end":2727,"expression":{"type":"AssignmentExpression","start":2664,"end":2726,"operator":"=","left":{"type":"MemberExpression","start":2664,"end":2673,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2664,"end":2668},"property":{"type":"Identifier","start":2669,"end":2673,"name":"body"}},"right":{"type":"CallExpression","start":2676,"end":2726,"optional":false,"callee":{"type":"MemberExpression","start":2676,"end":2696,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2676,"end":2680},"property":{"type":"Identifier","start":2681,"end":2696,"name":"createComponent"}},"arguments":[{"type":"MemberExpression","start":2697,"end":2713,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2697,"end":2701},"property":{"type":"Identifier","start":2702,"end":2713,"name":"bodyElement"}},{"type":"MemberExpression","start":2715,"end":2725,"computed":false,"optional":false,"object":{"type":"Identifier","start":2715,"end":2720,"name":"comps"},"property":{"type":"Identifier","start":2721,"end":2725,"name":"body"}}]}}},{"type":"ExpressionStatement","start":2736,"end":2767,"expression":{"type":"AssignmentExpression","start":2736,"end":2766,"operator":"=","left":{"type":"MemberExpression","start":2736,"end":2752,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2736,"end":2745,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2736,"end":2740},"property":{"type":"Identifier","start":2741,"end":2745,"name":"body"}},"property":{"type":"Identifier","start":2746,"end":2752,"name":"header"}},"right":{"type":"MemberExpression","start":2755,"end":2766,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2755,"end":2759},"property":{"type":"Identifier","start":2760,"end":2766,"name":"header"}}}},{"type":"ExpressionStatement","start":2776,"end":2832,"expression":{"type":"AssignmentExpression","start":2776,"end":2831,"operator":"=","left":{"type":"MemberExpression","start":2776,"end":2799,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2776,"end":2785,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2776,"end":2780},"property":{"type":"Identifier","start":2781,"end":2785,"name":"body"}},"property":{"type":"Identifier","start":2786,"end":2799,"name":"actionAllowed"}},"right":{"type":"CallExpression","start":2802,"end":2831,"optional":false,"callee":{"type":"MemberExpression","start":2802,"end":2825,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2802,"end":2820,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2802,"end":2806},"property":{"type":"Identifier","start":2807,"end":2820,"name":"actionAllowed"}},"property":{"type":"Identifier","start":2821,"end":2825,"name":"bind"}},"arguments":[{"type":"ThisExpression","start":2826,"end":2830}]}}},{"type":"ExpressionStatement","start":2841,"end":2904,"expression":{"type":"CallExpression","start":2841,"end":2903,"optional":false,"callee":{"type":"MemberExpression","start":2841,"end":2870,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2841,"end":2860,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2841,"end":2850,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2841,"end":2845},"property":{"type":"Identifier","start":2846,"end":2850,"name":"body"}},"property":{"type":"Identifier","start":2851,"end":2860,"name":"rowSelect"}},"property":{"type":"Identifier","start":2861,"end":2870,"name":"subscribe"}},"arguments":[{"type":"ArrowFunctionExpression","start":2871,"end":2902,"async":false,"expression":true,"generator":false,"params":[{"type":"Identifier","start":2871,"end":2874,"name":"row"}],"body":{"type":"CallExpression","start":2878,"end":2902,"optional":false,"callee":{"type":"MemberExpression","start":2878,"end":2897,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2878,"end":2892,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2878,"end":2882},"property":{"type":"Identifier","start":2883,"end":2892,"name":"rowSelect"}},"property":{"type":"Identifier","start":2893,"end":2897,"name":"emit"}},"arguments":[{"type":"Identifier","start":2898,"end":2901,"name":"row"}]},"id":null}]}},{"type":"ExpressionStatement","start":2913,"end":2982,"expression":{"type":"CallExpression","start":2913,"end":2981,"optional":false,"callee":{"type":"MemberExpression","start":2913,"end":2942,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2913,"end":2932,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2913,"end":2922,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2913,"end":2917},"property":{"type":"Identifier","start":2918,"end":2922,"name":"body"}},"property":{"type":"Identifier","start":2923,"end":2932,"name":"rowAction"}},"property":{"type":"Identifier","start":2933,"end":2942,"name":"subscribe"}},"arguments":[{"type":"ArrowFunctionExpression","start":2943,"end":2980,"async":false,"expression":true,"generator":false,"params":[{"type":"Identifier","start":2943,"end":2949,"name":"action"}],"body":{"type":"CallExpression","start":2953,"end":2980,"optional":false,"callee":{"type":"MemberExpression","start":2953,"end":2972,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2953,"end":2967,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2953,"end":2957},"property":{"type":"Identifier","start":2958,"end":2967,"name":"rowAction"}},"property":{"type":"Identifier","start":2968,"end":2972,"name":"emit"}},"arguments":[{"type":"Identifier","start":2973,"end":2979,"name":"action"}]},"id":null}]}},{"type":"ExpressionStatement","start":2991,"end":3060,"expression":{"type":"AssignmentExpression","start":2991,"end":3059,"operator":"=","left":{"type":"MemberExpression","start":2991,"end":3002,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2991,"end":2995},"property":{"type":"Identifier","start":2996,"end":3002,"name":"footer"}},"right":{"type":"CallExpression","start":3005,"end":3059,"optional":false,"callee":{"type":"MemberExpression","start":3005,"end":3025,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3005,"end":3009},"property":{"type":"Identifier","start":3010,"end":3025,"name":"createComponent"}},"arguments":[{"type":"MemberExpression","start":3026,"end":3044,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3026,"end":3030},"property":{"type":"Identifier","start":3031,"end":3044,"name":"footerElement"}},{"type":"MemberExpression","start":3046,"end":3058,"computed":false,"optional":false,"object":{"type":"Identifier","start":3046,"end":3051,"name":"comps"},"property":{"type":"Identifier","start":3052,"end":3058,"name":"footer"}}]}}},{"type":"ExpressionStatement","start":3069,"end":3102,"expression":{"type":"AssignmentExpression","start":3069,"end":3101,"operator":"=","left":{"type":"MemberExpression","start":3069,"end":3087,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3069,"end":3080,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3069,"end":3073},"property":{"type":"Identifier","start":3074,"end":3080,"name":"footer"}},"property":{"type":"Identifier","start":3081,"end":3087,"name":"header"}},"right":{"type":"MemberExpression","start":3090,"end":3101,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3090,"end":3094},"property":{"type":"Identifier","start":3095,"end":3101,"name":"header"}}}},{"type":"ExpressionStatement","start":3111,"end":3140,"expression":{"type":"AssignmentExpression","start":3111,"end":3139,"operator":"=","left":{"type":"MemberExpression","start":3111,"end":3127,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3111,"end":3122,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3111,"end":3115},"property":{"type":"Identifier","start":3116,"end":3122,"name":"footer"}},"property":{"type":"Identifier","start":3123,"end":3127,"name":"body"}},"right":{"type":"MemberExpression","start":3130,"end":3139,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3130,"end":3134},"property":{"type":"Identifier","start":3135,"end":3139,"name":"body"}}}},{"type":"ExpressionStatement","start":3149,"end":3207,"expression":{"type":"AssignmentExpression","start":3149,"end":3206,"operator":"=","left":{"type":"MemberExpression","start":3149,"end":3174,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3149,"end":3160,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3149,"end":3153},"property":{"type":"Identifier","start":3154,"end":3160,"name":"footer"}},"property":{"type":"Identifier","start":3161,"end":3174,"name":"actionAllowed"}},"right":{"type":"CallExpression","start":3177,"end":3206,"optional":false,"callee":{"type":"MemberExpression","start":3177,"end":3200,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3177,"end":3195,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3177,"end":3181},"property":{"type":"Identifier","start":3182,"end":3195,"name":"actionAllowed"}},"property":{"type":"Identifier","start":3196,"end":3200,"name":"bind"}},"arguments":[{"type":"ThisExpression","start":3201,"end":3205}]}}},{"type":"ExpressionStatement","start":3216,"end":3257,"expression":{"type":"AssignmentExpression","start":3216,"end":3256,"operator":"=","left":{"type":"MemberExpression","start":3216,"end":3238,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3216,"end":3227,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3216,"end":3220},"property":{"type":"Identifier","start":3221,"end":3227,"name":"footer"}},"property":{"type":"Identifier","start":3228,"end":3238,"name":"createText"}},"right":{"type":"MemberExpression","start":3241,"end":3256,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3241,"end":3245},"property":{"type":"Identifier","start":3246,"end":3256,"name":"createText"}}}},{"type":"ExpressionStatement","start":3266,"end":3295,"expression":{"type":"AssignmentExpression","start":3266,"end":3294,"operator":"=","left":{"type":"MemberExpression","start":3266,"end":3282,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3266,"end":3277,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3266,"end":3270},"property":{"type":"Identifier","start":3271,"end":3277,"name":"footer"}},"property":{"type":"Identifier","start":3278,"end":3282,"name":"size"}},"right":{"type":"MemberExpression","start":3285,"end":3294,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3285,"end":3289},"property":{"type":"Identifier","start":3290,"end":3294,"name":"size"}}}},{"type":"ExpressionStatement","start":3304,"end":3370,"expression":{"type":"CallExpression","start":3304,"end":3369,"optional":false,"callee":{"type":"MemberExpression","start":3304,"end":3337,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3304,"end":3327,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3304,"end":3315,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3304,"end":3308},"property":{"type":"Identifier","start":3309,"end":3315,"name":"footer"}},"property":{"type":"Identifier","start":3316,"end":3327,"name":"pageChanged"}},"property":{"type":"Identifier","start":3328,"end":3337,"name":"subscribe"}},"arguments":[{"type":"ArrowFunctionExpression","start":3338,"end":3368,"async":false,"expression":true,"generator":false,"params":[{"type":"Identifier","start":3338,"end":3342,"name":"page"}],"body":{"type":"CallExpression","start":3346,"end":3368,"optional":false,"callee":{"type":"MemberExpression","start":3346,"end":3362,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3346,"end":3350},"property":{"type":"Identifier","start":3351,"end":3362,"name":"pageChanged"}},"arguments":[{"type":"Identifier","start":3363,"end":3367,"name":"page"}]},"id":null}]}},{"type":"ExpressionStatement","start":3379,"end":3448,"expression":{"type":"CallExpression","start":3379,"end":3447,"optional":false,"callee":{"type":"MemberExpression","start":3379,"end":3411,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3379,"end":3401,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3379,"end":3390,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3379,"end":3383},"property":{"type":"Identifier","start":3384,"end":3390,"name":"footer"}},"property":{"type":"Identifier","start":3391,"end":3401,"name":"createItem"}},"property":{"type":"Identifier","start":3402,"end":3411,"name":"subscribe"}},"arguments":[{"type":"ArrowFunctionExpression","start":3412,"end":3446,"async":false,"expression":true,"generator":false,"params":[{"type":"Identifier","start":3412,"end":3416,"name":"item"}],"body":{"type":"CallExpression","start":3420,"end":3446,"optional":false,"callee":{"type":"MemberExpression","start":3420,"end":3440,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3420,"end":3435,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3420,"end":3424},"property":{"type":"Identifier","start":3425,"end":3435,"name":"createItem"}},"property":{"type":"Identifier","start":3436,"end":3440,"name":"emit"}},"arguments":[{"type":"Identifier","start":3441,"end":3445,"name":"item"}]},"id":null}]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":3459,"end":4019,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":3459,"end":3470,"name":"ngOnChanges"},"value":{"type":"FunctionExpression","start":3470,"end":4019,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":3471,"end":3478,"name":"changes"}],"body":{"type":"BlockStatement","start":3480,"end":4019,"body":[{"type":"IfStatement","start":3490,"end":3835,"test":{"type":"MemberExpression","start":3494,"end":3510,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3494,"end":3498},"property":{"type":"Identifier","start":3499,"end":3510,"name":"initialized"}},"consequent":{"type":"BlockStatement","start":3512,"end":3835,"body":[{"type":"IfStatement","start":3526,"end":3712,"test":{"type":"LogicalExpression","start":3530,"end":3638,"operator":"||","left":{"type":"LogicalExpression","start":3531,"end":3570,"operator":"&&","left":{"type":"MemberExpression","start":3531,"end":3542,"computed":false,"optional":false,"object":{"type":"Identifier","start":3531,"end":3538,"name":"changes"},"property":{"type":"Identifier","start":3539,"end":3542,"name":"src"}},"right":{"type":"MemberExpression","start":3546,"end":3570,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3546,"end":3557,"computed":false,"optional":false,"object":{"type":"Identifier","start":3546,"end":3553,"name":"changes"},"property":{"type":"Identifier","start":3554,"end":3557,"name":"src"}},"property":{"type":"Identifier","start":3558,"end":3570,"name":"currentValue"}}},"right":{"type":"LogicalExpression","start":3592,"end":3637,"operator":"&&","left":{"type":"MemberExpression","start":3592,"end":3606,"computed":false,"optional":false,"object":{"type":"Identifier","start":3592,"end":3599,"name":"changes"},"property":{"type":"Identifier","start":3600,"end":3606,"name":"formio"}},"right":{"type":"MemberExpression","start":3610,"end":3637,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3610,"end":3624,"computed":false,"optional":false,"object":{"type":"Identifier","start":3610,"end":3617,"name":"changes"},"property":{"type":"Identifier","start":3618,"end":3624,"name":"formio"}},"property":{"type":"Identifier","start":3625,"end":3637,"name":"currentValue"}}}},"consequent":{"type":"BlockStatement","start":3640,"end":3712,"body":[{"type":"ExpressionStatement","start":3658,"end":3698,"expression":{"type":"CallExpression","start":3658,"end":3697,"optional":false,"callee":{"type":"MemberExpression","start":3658,"end":3671,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3658,"end":3662},"property":{"type":"Identifier","start":3663,"end":3671,"name":"loadGrid"}},"arguments":[{"type":"MemberExpression","start":3672,"end":3696,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3672,"end":3683,"computed":false,"optional":false,"object":{"type":"Identifier","start":3672,"end":3679,"name":"changes"},"property":{"type":"Identifier","start":3680,"end":3683,"name":"src"}},"property":{"type":"Identifier","start":3684,"end":3696,"name":"currentValue"}}]}}]},"alternate":null},{"type":"IfStatement","start":3725,"end":3825,"test":{"type":"LogicalExpression","start":3729,"end":3772,"operator":"&&","left":{"type":"MemberExpression","start":3729,"end":3742,"computed":false,"optional":false,"object":{"type":"Identifier","start":3729,"end":3736,"name":"changes"},"property":{"type":"Identifier","start":3737,"end":3742,"name":"items"}},"right":{"type":"MemberExpression","start":3746,"end":3772,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3746,"end":3759,"computed":false,"optional":false,"object":{"type":"Identifier","start":3746,"end":3753,"name":"changes"},"property":{"type":"Identifier","start":3754,"end":3759,"name":"items"}},"property":{"type":"Identifier","start":3760,"end":3772,"name":"currentValue"}}},"consequent":{"type":"BlockStatement","start":3774,"end":3825,"body":[{"type":"ExpressionStatement","start":3792,"end":3811,"expression":{"type":"CallExpression","start":3792,"end":3810,"optional":false,"callee":{"type":"MemberExpression","start":3792,"end":3808,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3792,"end":3796},"property":{"type":"Identifier","start":3797,"end":3808,"name":"refreshGrid"}},"arguments":[]}}]},"alternate":null}]},"alternate":null},{"type":"IfStatement","start":3844,"end":4013,"test":{"type":"LogicalExpression","start":3848,"end":3930,"operator":"&&","left":{"type":"MemberExpression","start":3848,"end":3859,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3848,"end":3852},"property":{"type":"Identifier","start":3853,"end":3859,"name":"footer"}},"right":{"type":"LogicalExpression","start":3876,"end":3929,"operator":"&&","left":{"type":"MemberExpression","start":3876,"end":3894,"computed":false,"optional":false,"object":{"type":"Identifier","start":3876,"end":3883,"name":"changes"},"property":{"type":"Identifier","start":3884,"end":3894,"name":"createText"}},"right":{"type":"MemberExpression","start":3898,"end":3929,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3898,"end":3916,"computed":false,"optional":false,"object":{"type":"Identifier","start":3898,"end":3905,"name":"changes"},"property":{"type":"Identifier","start":3906,"end":3916,"name":"createText"}},"property":{"type":"Identifier","start":3917,"end":3929,"name":"currentValue"}}}},"consequent":{"type":"BlockStatement","start":3932,"end":4013,"body":[{"type":"ExpressionStatement","start":3946,"end":4003,"expression":{"type":"AssignmentExpression","start":3946,"end":4002,"operator":"=","left":{"type":"MemberExpression","start":3946,"end":3968,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3946,"end":3957,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3946,"end":3950},"property":{"type":"Identifier","start":3951,"end":3957,"name":"footer"}},"property":{"type":"Identifier","start":3958,"end":3968,"name":"createText"}},"right":{"type":"MemberExpression","start":3971,"end":4002,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3971,"end":3989,"computed":false,"optional":false,"object":{"type":"Identifier","start":3971,"end":3978,"name":"changes"},"property":{"type":"Identifier","start":3979,"end":3989,"name":"createText"}},"property":{"type":"Identifier","start":3990,"end":4002,"name":"currentValue"}}}}]},"alternate":null}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":4024,"end":4333,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":4024,"end":4039,"name":"ngAfterViewInit"},"value":{"type":"FunctionExpression","start":4039,"end":4333,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":4042,"end":4333,"body":[{"type":"ExpressionStatement","start":4052,"end":4078,"expression":{"type":"CallExpression","start":4052,"end":4077,"optional":false,"callee":{"type":"MemberExpression","start":4052,"end":4073,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":4052,"end":4063,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4052,"end":4056},"property":{"type":"Identifier","start":4057,"end":4063,"name":"alerts"}},"property":{"type":"Identifier","start":4064,"end":4073,"name":"setAlerts"}},"arguments":[{"type":"ArrayExpression","start":4074,"end":4076,"elements":[]}]}},{"type":"ExpressionStatement","start":4087,"end":4117,"expression":{"type":"AssignmentExpression","start":4087,"end":4116,"operator":"=","left":{"type":"MemberExpression","start":4087,"end":4097,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4087,"end":4091},"property":{"type":"Identifier","start":4092,"end":4097,"name":"query"}},"right":{"type":"LogicalExpression","start":4100,"end":4116,"operator":"||","left":{"type":"MemberExpression","start":4100,"end":4110,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4100,"end":4104},"property":{"type":"Identifier","start":4105,"end":4110,"name":"query"}},"right":{"type":"ObjectExpression","start":4114,"end":4116,"properties":[]}}}},{"type":"IfStatement","start":4126,"end":4227,"test":{"type":"MemberExpression","start":4130,"end":4142,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4130,"end":4134},"property":{"type":"Identifier","start":4135,"end":4142,"name":"refresh"}},"consequent":{"type":"BlockStatement","start":4144,"end":4227,"body":[{"type":"ExpressionStatement","start":4158,"end":4217,"expression":{"type":"CallExpression","start":4158,"end":4216,"optional":false,"callee":{"type":"MemberExpression","start":4158,"end":4180,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":4158,"end":4170,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4158,"end":4162},"property":{"type":"Identifier","start":4163,"end":4170,"name":"refresh"}},"property":{"type":"Identifier","start":4171,"end":4180,"name":"subscribe"}},"arguments":[{"type":"ArrowFunctionExpression","start":4181,"end":4215,"async":false,"expression":true,"generator":false,"params":[{"type":"Identifier","start":4182,"end":4187,"name":"query"}],"body":{"type":"CallExpression","start":4192,"end":4215,"optional":false,"callee":{"type":"MemberExpression","start":4192,"end":4208,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4192,"end":4196},"property":{"type":"Identifier","start":4197,"end":4208,"name":"refreshGrid"}},"arguments":[{"type":"Identifier","start":4209,"end":4214,"name":"query"}]},"id":null}]}}]},"alternate":null},{"type":"ExpressionStatement","start":4236,"end":4260,"expression":{"type":"CallExpression","start":4236,"end":4259,"optional":false,"callee":{"type":"MemberExpression","start":4236,"end":4249,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4236,"end":4240},"property":{"type":"Identifier","start":4241,"end":4249,"name":"loadGrid"}},"arguments":[{"type":"MemberExpression","start":4250,"end":4258,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4250,"end":4254},"property":{"type":"Identifier","start":4255,"end":4258,"name":"src"}}]}},{"type":"ExpressionStatement","start":4269,"end":4293,"expression":{"type":"AssignmentExpression","start":4269,"end":4292,"operator":"=","left":{"type":"MemberExpression","start":4269,"end":4285,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4269,"end":4273},"property":{"type":"Identifier","start":4274,"end":4285,"name":"initialized"}},"right":{"type":"Literal","start":4288,"end":4292,"value":true,"raw":"true"}}},{"type":"ExpressionStatement","start":4302,"end":4327,"expression":{"type":"CallExpression","start":4302,"end":4326,"optional":false,"callee":{"type":"MemberExpression","start":4302,"end":4324,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":4302,"end":4310,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4302,"end":4306},"property":{"type":"Identifier","start":4307,"end":4310,"name":"ref"}},"property":{"type":"Identifier","start":4311,"end":4324,"name":"detectChanges"}},"arguments":[]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":4338,"end":4512,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":4338,"end":4351,"name":"actionAllowed"},"value":{"type":"FunctionExpression","start":4351,"end":4512,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":4352,"end":4358,"name":"action"}],"body":{"type":"BlockStatement","start":4360,"end":4512,"body":[{"type":"IfStatement","start":4370,"end":4506,"test":{"type":"MemberExpression","start":4374,"end":4394,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4374,"end":4378},"property":{"type":"Identifier","start":4379,"end":4394,"name":"isActionAllowed"}},"consequent":{"type":"BlockStatement","start":4396,"end":4456,"body":[{"type":"ReturnStatement","start":4410,"end":4446,"argument":{"type":"CallExpression","start":4417,"end":4445,"optional":false,"callee":{"type":"MemberExpression","start":4417,"end":4437,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4417,"end":4421},"property":{"type":"Identifier","start":4422,"end":4437,"name":"isActionAllowed"}},"arguments":[{"type":"Identifier","start":4438,"end":4444,"name":"action"}]}}]},"alternate":{"type":"BlockStatement","start":4470,"end":4506,"body":[{"type":"ReturnStatement","start":4484,"end":4496,"argument":{"type":"Literal","start":4491,"end":4495,"value":true,"raw":"true"}}]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":4517,"end":4802,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":4517,"end":4524,"name":"onError"},"value":{"type":"FunctionExpression","start":4524,"end":4802,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":4525,"end":4530,"name":"error"}],"body":{"type":"BlockStatement","start":4532,"end":4802,"body":[{"type":"ExpressionStatement","start":4542,"end":4565,"expression":{"type":"AssignmentExpression","start":4542,"end":4564,"operator":"=","left":{"type":"MemberExpression","start":4542,"end":4556,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4542,"end":4546},"property":{"type":"Identifier","start":4547,"end":4556,"name":"isLoading"}},"right":{"type":"Literal","start":4559,"end":4564,"value":false,"raw":"false"}}},{"type":"ExpressionStatement","start":4574,"end":4597,"expression":{"type":"CallExpression","start":4574,"end":4596,"optional":false,"callee":{"type":"MemberExpression","start":4574,"end":4589,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":4574,"end":4584,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4574,"end":4578},"property":{"type":"Identifier","start":4579,"end":4584,"name":"error"}},"property":{"type":"Identifier","start":4585,"end":4589,"name":"emit"}},"arguments":[{"type":"Identifier","start":4590,"end":4595,"name":"error"}]}},{"type":"IfStatement","start":4606,"end":4796,"test":{"type":"LogicalExpression","start":4610,"end":4652,"operator":"||","left":{"type":"BinaryExpression","start":4610,"end":4635,"operator":"===","left":{"type":"UnaryExpression","start":4610,"end":4622,"operator":"typeof","argument":{"type":"Identifier","start":4617,"end":4622,"name":"error"},"prefix":true},"right":{"type":"Literal","start":4627,"end":4635,"value":"string","raw":"'string'"}},"right":{"type":"MemberExpression","start":4639,"end":4652,"computed":false,"optional":false,"object":{"type":"Identifier","start":4639,"end":4644,"name":"error"},"property":{"type":"Identifier","start":4645,"end":4652,"name":"message"}}},"consequent":{"type":"BlockStatement","start":4654,"end":4796,"body":[{"type":"ExpressionStatement","start":4668,"end":4786,"expression":{"type":"CallExpression","start":4668,"end":4785,"optional":false,"callee":{"type":"MemberExpression","start":4668,"end":4688,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":4668,"end":4679,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4668,"end":4672},"property":{"type":"Identifier","start":4673,"end":4679,"name":"alerts"}},"property":{"type":"Identifier","start":4680,"end":4688,"name":"setAlert"}},"arguments":[{"type":"ObjectExpression","start":4689,"end":4784,"properties":[{"type":"Property","start":4707,"end":4721,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":4707,"end":4711,"name":"type"},"value":{"type":"Literal","start":4713,"end":4721,"value":"danger","raw":"'danger'"},"kind":"init"},{"type":"Property","start":4739,"end":4770,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":4739,"end":4746,"name":"message"},"value":{"type":"LogicalExpression","start":4748,"end":4770,"operator":"||","left":{"type":"MemberExpression","start":4748,"end":4761,"computed":false,"optional":false,"object":{"type":"Identifier","start":4748,"end":4753,"name":"error"},"property":{"type":"Identifier","start":4754,"end":4761,"name":"message"}},"right":{"type":"Identifier","start":4765,"end":4770,"name":"error"}},"kind":"init"}]}]}}]},"alternate":null}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":4807,"end":5618,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":4807,"end":4818,"name":"refreshGrid"},"value":{"type":"FunctionExpression","start":4818,"end":5618,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":4819,"end":4824,"name":"query"}],"body":{"type":"BlockStatement","start":4826,"end":5618,"body":[{"type":"ExpressionStatement","start":4836,"end":4862,"expression":{"type":"CallExpression","start":4836,"end":4861,"optional":false,"callee":{"type":"MemberExpression","start":4836,"end":4857,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":4836,"end":4847,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4836,"end":4840},"property":{"type":"Identifier","start":4841,"end":4847,"name":"alerts"}},"property":{"type":"Identifier","start":4848,"end":4857,"name":"setAlerts"}},"arguments":[{"type":"ArrayExpression","start":4858,"end":4860,"elements":[]}]}},{"type":"ExpressionStatement","start":4871,"end":4904,"expression":{"type":"AssignmentExpression","start":4871,"end":4903,"operator":"=","left":{"type":"MemberExpression","start":4871,"end":4881,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4871,"end":4875},"property":{"type":"Identifier","start":4876,"end":4881,"name":"query"}},"right":{"type":"LogicalExpression","start":4884,"end":4903,"operator":"||","left":{"type":"Identifier","start":4884,"end":4889,"name":"query"},"right":{"type":"MemberExpression","start":4893,"end":4903,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4893,"end":4897},"property":{"type":"Identifier","start":4898,"end":4903,"name":"query"}}}}},{"type":"IfStatement","start":4913,"end":5000,"test":{"type":"UnaryExpression","start":4917,"end":4952,"operator":"!","argument":{"type":"CallExpression","start":4918,"end":4952,"optional":false,"callee":{"type":"MemberExpression","start":4918,"end":4943,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":4918,"end":4928,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4918,"end":4922},"property":{"type":"Identifier","start":4923,"end":4928,"name":"query"}},"property":{"type":"Identifier","start":4929,"end":4943,"name":"hasOwnProperty"}},"arguments":[{"type":"Literal","start":4944,"end":4951,"value":"limit","raw":"'limit'"}]},"prefix":true},"consequent":{"type":"BlockStatement","start":4954,"end":5000,"body":[{"type":"ExpressionStatement","start":4968,"end":4990,"expression":{"type":"AssignmentExpression","start":4968,"end":4989,"operator":"=","left":{"type":"MemberExpression","start":4968,"end":4984,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":4968,"end":4978,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4968,"end":4972},"property":{"type":"Identifier","start":4973,"end":4978,"name":"query"}},"property":{"type":"Identifier","start":4979,"end":4984,"name":"limit"}},"right":{"type":"Literal","start":4987,"end":4989,"raw":"10","value":10}}}]},"alternate":null},{"type":"IfStatement","start":5009,"end":5093,"test":{"type":"UnaryExpression","start":5013,"end":5047,"operator":"!","argument":{"type":"CallExpression","start":5014,"end":5047,"optional":false,"callee":{"type":"MemberExpression","start":5014,"end":5039,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":5014,"end":5024,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5014,"end":5018},"property":{"type":"Identifier","start":5019,"end":5024,"name":"query"}},"property":{"type":"Identifier","start":5025,"end":5039,"name":"hasOwnProperty"}},"arguments":[{"type":"Literal","start":5040,"end":5046,"value":"skip","raw":"'skip'"}]},"prefix":true},"consequent":{"type":"BlockStatement","start":5049,"end":5093,"body":[{"type":"ExpressionStatement","start":5063,"end":5083,"expression":{"type":"AssignmentExpression","start":5063,"end":5082,"operator":"=","left":{"type":"MemberExpression","start":5063,"end":5078,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":5063,"end":5073,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5063,"end":5067},"property":{"type":"Identifier","start":5068,"end":5073,"name":"query"}},"property":{"type":"Identifier","start":5074,"end":5078,"name":"skip"}},"right":{"type":"Literal","start":5081,"end":5082,"raw":"0","value":0}}}]},"alternate":null},{"type":"ExpressionStatement","start":5102,"end":5124,"expression":{"type":"AssignmentExpression","start":5102,"end":5123,"operator":"=","left":{"type":"MemberExpression","start":5102,"end":5116,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5102,"end":5106},"property":{"type":"Identifier","start":5107,"end":5116,"name":"isLoading"}},"right":{"type":"Literal","start":5119,"end":5123,"value":true,"raw":"true"}}},{"type":"ExpressionStatement","start":5133,"end":5158,"expression":{"type":"CallExpression","start":5133,"end":5157,"optional":false,"callee":{"type":"MemberExpression","start":5133,"end":5155,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":5133,"end":5141,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5133,"end":5137},"property":{"type":"Identifier","start":5138,"end":5141,"name":"ref"}},"property":{"type":"Identifier","start":5142,"end":5155,"name":"detectChanges"}},"arguments":[]}},{"type":"ExpressionStatement","start":5167,"end":5185,"expression":{"type":"AssignmentExpression","start":5167,"end":5184,"operator":"=","left":{"type":"MemberExpression","start":5167,"end":5179,"computed":false,"optional":false,"object":{"type":"Identifier","start":5167,"end":5173,"name":"Formio"},"property":{"type":"Identifier","start":5174,"end":5179,"name":"cache"}},"right":{"type":"ObjectExpression","start":5182,"end":5184,"properties":[]}}},{"type":"VariableDeclaration","start":5194,"end":5212,"kind":"let","declarations":[{"type":"VariableDeclarator","start":5198,"end":5211,"id":{"type":"Identifier","start":5198,"end":5204,"name":"loader"},"init":{"type":"Literal","start":5207,"end":5211,"raw":"null","value":null}}]},{"type":"IfStatement","start":5221,"end":5416,"test":{"type":"MemberExpression","start":5225,"end":5235,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5225,"end":5229},"property":{"type":"Identifier","start":5230,"end":5235,"name":"items"}},"consequent":{"type":"BlockStatement","start":5237,"end":5329,"body":[{"type":"ExpressionStatement","start":5251,"end":5319,"expression":{"type":"AssignmentExpression","start":5251,"end":5318,"operator":"=","left":{"type":"Identifier","start":5251,"end":5257,"name":"loader"},"right":{"type":"CallExpression","start":5260,"end":5318,"optional":false,"callee":{"type":"MemberExpression","start":5260,"end":5275,"computed":false,"optional":false,"object":{"type":"Identifier","start":5260,"end":5267,"name":"Promise"},"property":{"type":"Identifier","start":5268,"end":5275,"name":"resolve"}},"arguments":[{"type":"CallExpression","start":5276,"end":5317,"optional":false,"callee":{"type":"MemberExpression","start":5276,"end":5293,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":5276,"end":5285,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5276,"end":5280},"property":{"type":"Identifier","start":5281,"end":5285,"name":"body"}},"property":{"type":"Identifier","start":5286,"end":5293,"name":"setRows"}},"arguments":[{"type":"MemberExpression","start":5294,"end":5304,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5294,"end":5298},"property":{"type":"Identifier","start":5299,"end":5304,"name":"query"}},{"type":"MemberExpression","start":5306,"end":5316,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5306,"end":5310},"property":{"type":"Identifier","start":5311,"end":5316,"name":"items"}}]}]}}}]},"alternate":{"type":"BlockStatement","start":5343,"end":5416,"body":[{"type":"ExpressionStatement","start":5357,"end":5406,"expression":{"type":"AssignmentExpression","start":5357,"end":5405,"operator":"=","left":{"type":"Identifier","start":5357,"end":5363,"name":"loader"},"right":{"type":"CallExpression","start":5366,"end":5405,"optional":false,"callee":{"type":"MemberExpression","start":5366,"end":5380,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":5366,"end":5375,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5366,"end":5370},"property":{"type":"Identifier","start":5371,"end":5375,"name":"body"}},"property":{"type":"Identifier","start":5376,"end":5380,"name":"load"}},"arguments":[{"type":"MemberExpression","start":5381,"end":5392,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5381,"end":5385},"property":{"type":"Identifier","start":5386,"end":5392,"name":"formio"}},{"type":"MemberExpression","start":5394,"end":5404,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5394,"end":5398},"property":{"type":"Identifier","start":5399,"end":5404,"name":"query"}}]}}}]}},{"type":"ReturnStatement","start":5425,"end":5612,"argument":{"type":"CallExpression","start":5432,"end":5611,"optional":false,"callee":{"type":"MemberExpression","start":5432,"end":5581,"computed":false,"optional":false,"object":{"type":"CallExpression","start":5432,"end":5575,"optional":false,"callee":{"type":"MemberExpression","start":5432,"end":5443,"computed":false,"optional":false,"object":{"type":"Identifier","start":5432,"end":5438,"name":"loader"},"property":{"type":"Identifier","start":5439,"end":5443,"name":"then"}},"arguments":[{"type":"ArrowFunctionExpression","start":5444,"end":5574,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":5444,"end":5448,"name":"info"}],"body":{"type":"BlockStatement","start":5452,"end":5574,"body":[{"type":"ExpressionStatement","start":5466,"end":5489,"expression":{"type":"AssignmentExpression","start":5466,"end":5488,"operator":"=","left":{"type":"MemberExpression","start":5466,"end":5480,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5466,"end":5470},"property":{"type":"Identifier","start":5471,"end":5480,"name":"isLoading"}},"right":{"type":"Literal","start":5483,"end":5488,"value":false,"raw":"false"}}},{"type":"ExpressionStatement","start":5502,"end":5526,"expression":{"type":"AssignmentExpression","start":5502,"end":5525,"operator":"=","left":{"type":"MemberExpression","start":5502,"end":5518,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5502,"end":5506},"property":{"type":"Identifier","start":5507,"end":5518,"name":"initialized"}},"right":{"type":"Literal","start":5521,"end":5525,"value":true,"raw":"true"}}},{"type":"ExpressionStatement","start":5539,"end":5564,"expression":{"type":"CallExpression","start":5539,"end":5563,"optional":false,"callee":{"type":"MemberExpression","start":5539,"end":5561,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":5539,"end":5547,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5539,"end":5543},"property":{"type":"Identifier","start":5544,"end":5547,"name":"ref"}},"property":{"type":"Identifier","start":5548,"end":5561,"name":"detectChanges"}},"arguments":[]}}]},"id":null}]},"property":{"type":"Identifier","start":5576,"end":5581,"name":"catch"}},"arguments":[{"type":"ArrowFunctionExpression","start":5582,"end":5610,"async":false,"expression":true,"generator":false,"params":[{"type":"Identifier","start":5582,"end":5587,"name":"error"}],"body":{"type":"CallExpression","start":5591,"end":5610,"optional":false,"callee":{"type":"MemberExpression","start":5591,"end":5603,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5591,"end":5595},"property":{"type":"Identifier","start":5596,"end":5603,"name":"onError"}},"arguments":[{"type":"Identifier","start":5604,"end":5609,"name":"error"}]},"id":null}]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":5623,"end":5971,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":5623,"end":5630,"name":"setPage"},"value":{"type":"FunctionExpression","start":5630,"end":5971,"async":false,"generator":false,"id":null,"params":[{"type":"AssignmentPattern","start":5631,"end":5639,"left":{"type":"Identifier","start":5631,"end":5634,"name":"num"},"right":{"type":"UnaryExpression","start":5637,"end":5639,"operator":"-","argument":{"type":"Literal","start":5638,"end":5639,"raw":"1","value":1},"prefix":true}}],"body":{"type":"BlockStatement","start":5641,"end":5971,"body":[{"type":"ExpressionStatement","start":5651,"end":5692,"expression":{"type":"AssignmentExpression","start":5651,"end":5691,"operator":"=","left":{"type":"MemberExpression","start":5651,"end":5660,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5651,"end":5655},"property":{"type":"Identifier","start":5656,"end":5660,"name":"page"}},"right":{"type":"ConditionalExpression","start":5663,"end":5691,"test":{"type":"BinaryExpression","start":5663,"end":5673,"operator":"!==","left":{"type":"Identifier","start":5663,"end":5666,"name":"num"},"right":{"type":"UnaryExpression","start":5671,"end":5673,"operator":"-","argument":{"type":"Literal","start":5672,"end":5673,"raw":"1","value":1},"prefix":true}},"consequent":{"type":"Identifier","start":5676,"end":5679,"name":"num"},"alternate":{"type":"MemberExpression","start":5682,"end":5691,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5682,"end":5686},"property":{"type":"Identifier","start":5687,"end":5691,"name":"page"}}}}},{"type":"IfStatement","start":5701,"end":5788,"test":{"type":"UnaryExpression","start":5705,"end":5740,"operator":"!","argument":{"type":"CallExpression","start":5706,"end":5740,"optional":false,"callee":{"type":"MemberExpression","start":5706,"end":5731,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":5706,"end":5716,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5706,"end":5710},"property":{"type":"Identifier","start":5711,"end":5716,"name":"query"}},"property":{"type":"Identifier","start":5717,"end":5731,"name":"hasOwnProperty"}},"arguments":[{"type":"Literal","start":5732,"end":5739,"value":"limit","raw":"'limit'"}]},"prefix":true},"consequent":{"type":"BlockStatement","start":5742,"end":5788,"body":[{"type":"ExpressionStatement","start":5756,"end":5778,"expression":{"type":"AssignmentExpression","start":5756,"end":5777,"operator":"=","left":{"type":"MemberExpression","start":5756,"end":5772,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":5756,"end":5766,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5756,"end":5760},"property":{"type":"Identifier","start":5761,"end":5766,"name":"query"}},"property":{"type":"Identifier","start":5767,"end":5772,"name":"limit"}},"right":{"type":"Literal","start":5775,"end":5777,"raw":"10","value":10}}}]},"alternate":null},{"type":"IfStatement","start":5797,"end":5881,"test":{"type":"UnaryExpression","start":5801,"end":5835,"operator":"!","argument":{"type":"CallExpression","start":5802,"end":5835,"optional":false,"callee":{"type":"MemberExpression","start":5802,"end":5827,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":5802,"end":5812,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5802,"end":5806},"property":{"type":"Identifier","start":5807,"end":5812,"name":"query"}},"property":{"type":"Identifier","start":5813,"end":5827,"name":"hasOwnProperty"}},"arguments":[{"type":"Literal","start":5828,"end":5834,"value":"skip","raw":"'skip'"}]},"prefix":true},"consequent":{"type":"BlockStatement","start":5837,"end":5881,"body":[{"type":"ExpressionStatement","start":5851,"end":5871,"expression":{"type":"AssignmentExpression","start":5851,"end":5870,"operator":"=","left":{"type":"MemberExpression","start":5851,"end":5866,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":5851,"end":5861,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5851,"end":5855},"property":{"type":"Identifier","start":5856,"end":5861,"name":"query"}},"property":{"type":"Identifier","start":5862,"end":5866,"name":"skip"}},"right":{"type":"Literal","start":5869,"end":5870,"raw":"0","value":0}}}]},"alternate":null},{"type":"ExpressionStatement","start":5890,"end":5937,"expression":{"type":"AssignmentExpression","start":5890,"end":5936,"operator":"=","left":{"type":"MemberExpression","start":5890,"end":5905,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":5890,"end":5900,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5890,"end":5894},"property":{"type":"Identifier","start":5895,"end":5900,"name":"query"}},"property":{"type":"Identifier","start":5901,"end":5905,"name":"skip"}},"right":{"type":"BinaryExpression","start":5908,"end":5936,"operator":"*","left":{"type":"MemberExpression","start":5908,"end":5917,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5908,"end":5912},"property":{"type":"Identifier","start":5913,"end":5917,"name":"page"}},"right":{"type":"MemberExpression","start":5920,"end":5936,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":5920,"end":5930,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5920,"end":5924},"property":{"type":"Identifier","start":5925,"end":5930,"name":"query"}},"property":{"type":"Identifier","start":5931,"end":5936,"name":"limit"}}}}},{"type":"ExpressionStatement","start":5946,"end":5965,"expression":{"type":"CallExpression","start":5946,"end":5964,"optional":false,"callee":{"type":"MemberExpression","start":5946,"end":5962,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5946,"end":5950},"property":{"type":"Identifier","start":5951,"end":5962,"name":"refreshGrid"}},"arguments":[]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":5976,"end":6670,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":5976,"end":5986,"name":"sortColumn"},"value":{"type":"FunctionExpression","start":5986,"end":6670,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":5987,"end":5993,"name":"header"}],"body":{"type":"BlockStatement","start":5995,"end":6670,"body":[{"type":"ExpressionStatement","start":6046,"end":6181,"expression":{"type":"CallExpression","start":6046,"end":6180,"optional":false,"callee":{"type":"Identifier","start":6046,"end":6050,"name":"each"},"arguments":[{"type":"MemberExpression","start":6051,"end":6070,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":6051,"end":6062,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":6051,"end":6055},"property":{"type":"Identifier","start":6056,"end":6062,"name":"header"}},"property":{"type":"Identifier","start":6063,"end":6070,"name":"headers"}},{"type":"ArrowFunctionExpression","start":6072,"end":6179,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":6073,"end":6076,"name":"col"}],"body":{"type":"BlockStatement","start":6081,"end":6179,"body":[{"type":"IfStatement","start":6095,"end":6169,"test":{"type":"BinaryExpression","start":6099,"end":6121,"operator":"!==","left":{"type":"MemberExpression","start":6099,"end":6106,"computed":false,"optional":false,"object":{"type":"Identifier","start":6099,"end":6102,"name":"col"},"property":{"type":"Identifier","start":6103,"end":6106,"name":"key"}},"right":{"type":"MemberExpression","start":6111,"end":6121,"computed":false,"optional":false,"object":{"type":"Identifier","start":6111,"end":6117,"name":"header"},"property":{"type":"Identifier","start":6118,"end":6121,"name":"key"}}},"consequent":{"type":"BlockStatement","start":6123,"end":6169,"body":[{"type":"ExpressionStatement","start":6141,"end":6155,"expression":{"type":"AssignmentExpression","start":6141,"end":6154,"operator":"=","left":{"type":"MemberExpression","start":6141,"end":6149,"computed":false,"optional":false,"object":{"type":"Identifier","start":6141,"end":6144,"name":"col"},"property":{"type":"Identifier","start":6145,"end":6149,"name":"sort"}},"right":{"type":"Literal","start":6152,"end":6154,"value":"","raw":"''"}}}]},"alternate":null}]},"id":null}]}},{"type":"SwitchStatement","start":6190,"end":6636,"discriminant":{"type":"MemberExpression","start":6198,"end":6209,"computed":false,"optional":false,"object":{"type":"Identifier","start":6198,"end":6204,"name":"header"},"property":{"type":"Identifier","start":6205,"end":6209,"name":"sort"}},"cases":[{"type":"SwitchCase","start":6225,"end":6356,"test":{"type":"Literal","start":6230,"end":6235,"value":"asc","raw":"'asc'"},"consequent":[{"type":"ExpressionStatement","start":6253,"end":6281,"expression":{"type":"AssignmentExpression","start":6253,"end":6280,"operator":"=","left":{"type":"MemberExpression","start":6253,"end":6264,"computed":false,"optional":false,"object":{"type":"Identifier","start":6253,"end":6259,"name":"header"},"property":{"type":"Identifier","start":6260,"end":6264,"name":"sort"}},"right":{"type":"MemberExpression","start":6267,"end":6280,"computed":false,"optional":false,"object":{"type":"Identifier","start":6267,"end":6275,"name":"SortType"},"property":{"type":"Identifier","start":6276,"end":6280,"name":"DESC"}}}},{"type":"ExpressionStatement","start":6298,"end":6333,"expression":{"type":"AssignmentExpression","start":6298,"end":6332,"operator":"=","left":{"type":"MemberExpression","start":6298,"end":6313,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":6298,"end":6308,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":6298,"end":6302},"property":{"type":"Identifier","start":6303,"end":6308,"name":"query"}},"property":{"type":"Identifier","start":6309,"end":6313,"name":"sort"}},"right":{"type":"BinaryExpression","start":6316,"end":6332,"operator":"+","left":{"type":"Literal","start":6316,"end":6319,"value":"-","raw":"'-'"},"right":{"type":"MemberExpression","start":6322,"end":6332,"computed":false,"optional":false,"object":{"type":"Identifier","start":6322,"end":6328,"name":"header"},"property":{"type":"Identifier","start":6329,"end":6332,"name":"key"}}}}},{"type":"BreakStatement","start":6350,"end":6356,"label":null}]},{"type":"SwitchCase","start":6369,"end":6485,"test":{"type":"Literal","start":6374,"end":6380,"value":"desc","raw":"'desc'"},"consequent":[{"type":"ExpressionStatement","start":6398,"end":6422,"expression":{"type":"AssignmentExpression","start":6398,"end":6421,"operator":"=","left":{"type":"MemberExpression","start":6398,"end":6409,"computed":false,"optional":false,"object":{"type":"Identifier","start":6398,"end":6404,"name":"header"},"property":{"type":"Identifier","start":6405,"end":6409,"name":"sort"}},"right":{"type":"Identifier","start":6412,"end":6421,"name":"undefined"}}},{"type":"ExpressionStatement","start":6439,"end":6462,"expression":{"type":"UnaryExpression","start":6439,"end":6461,"operator":"delete","argument":{"type":"MemberExpression","start":6446,"end":6461,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":6446,"end":6456,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":6446,"end":6450},"property":{"type":"Identifier","start":6451,"end":6456,"name":"query"}},"property":{"type":"Identifier","start":6457,"end":6461,"name":"sort"}},"prefix":true}},{"type":"BreakStatement","start":6479,"end":6485,"label":null}]},{"type":"SwitchCase","start":6498,"end":6626,"test":{"type":"Identifier","start":6503,"end":6512,"name":"undefined"},"consequent":[{"type":"ExpressionStatement","start":6530,"end":6557,"expression":{"type":"AssignmentExpression","start":6530,"end":6556,"operator":"=","left":{"type":"MemberExpression","start":6530,"end":6541,"computed":false,"optional":false,"object":{"type":"Identifier","start":6530,"end":6536,"name":"header"},"property":{"type":"Identifier","start":6537,"end":6541,"name":"sort"}},"right":{"type":"MemberExpression","start":6544,"end":6556,"computed":false,"optional":false,"object":{"type":"Identifier","start":6544,"end":6552,"name":"SortType"},"property":{"type":"Identifier","start":6553,"end":6556,"name":"ASC"}}}},{"type":"ExpressionStatement","start":6574,"end":6603,"expression":{"type":"AssignmentExpression","start":6574,"end":6602,"operator":"=","left":{"type":"MemberExpression","start":6574,"end":6589,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":6574,"end":6584,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":6574,"end":6578},"property":{"type":"Identifier","start":6579,"end":6584,"name":"query"}},"property":{"type":"Identifier","start":6585,"end":6589,"name":"sort"}},"right":{"type":"MemberExpression","start":6592,"end":6602,"computed":false,"optional":false,"object":{"type":"Identifier","start":6592,"end":6598,"name":"header"},"property":{"type":"Identifier","start":6599,"end":6602,"name":"key"}}}},{"type":"BreakStatement","start":6620,"end":6626,"label":null}]}]},{"type":"ExpressionStatement","start":6645,"end":6664,"expression":{"type":"CallExpression","start":6645,"end":6663,"optional":false,"callee":{"type":"MemberExpression","start":6645,"end":6661,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":6645,"end":6649},"property":{"type":"Identifier","start":6650,"end":6661,"name":"refreshGrid"}},"arguments":[]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":6675,"end":6737,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":6675,"end":6686,"name":"pageChanged"},"value":{"type":"FunctionExpression","start":6686,"end":6737,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":6687,"end":6691,"name":"page"}],"body":{"type":"BlockStatement","start":6693,"end":6737,"body":[{"type":"ExpressionStatement","start":6703,"end":6731,"expression":{"type":"CallExpression","start":6703,"end":6730,"optional":false,"callee":{"type":"MemberExpression","start":6703,"end":6715,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":6703,"end":6707},"property":{"type":"Identifier","start":6708,"end":6715,"name":"setPage"}},"arguments":[{"type":"BinaryExpression","start":6716,"end":6729,"operator":"-","left":{"type":"MemberExpression","start":6716,"end":6725,"computed":false,"optional":false,"object":{"type":"Identifier","start":6716,"end":6720,"name":"page"},"property":{"type":"Identifier","start":6721,"end":6725,"name":"page"}},"right":{"type":"Literal","start":6728,"end":6729,"raw":"1","value":1}}]}}]},"expression":false},"kind":"method"},{"type":"PropertyDefinition","start":6742,"end":7012,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":6749,"end":6753,"name":"ɵfac"},"value":{"type":"CallExpression","start":6756,"end":7011,"optional":false,"callee":{"type":"MemberExpression","start":6756,"end":6777,"computed":false,"optional":false,"object":{"type":"Identifier","start":6756,"end":6758,"name":"i0"},"property":{"type":"Identifier","start":6759,"end":6777,"name":"ɵɵngDeclareFactory"}},"arguments":[{"type":"ObjectExpression","start":6778,"end":7010,"properties":[{"type":"Property","start":6780,"end":6800,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6780,"end":6790,"name":"minVersion"},"value":{"type":"Literal","start":6792,"end":6800,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":6802,"end":6820,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6802,"end":6809,"name":"version"},"value":{"type":"Literal","start":6811,"end":6820,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":6822,"end":6834,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6822,"end":6830,"name":"ngImport"},"value":{"type":"Identifier","start":6832,"end":6834,"name":"i0"},"kind":"init"},{"type":"Property","start":6836,"end":6861,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6836,"end":6840,"name":"type"},"value":{"type":"Identifier","start":6842,"end":6861,"name":"FormioGridComponent"},"kind":"init"},{"type":"Property","start":6863,"end":6970,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6863,"end":6867,"name":"deps"},"value":{"type":"ArrayExpression","start":6869,"end":6970,"elements":[{"type":"ObjectExpression","start":6870,"end":6896,"properties":[{"type":"Property","start":6872,"end":6894,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6872,"end":6877,"name":"token"},"value":{"type":"MemberExpression","start":6879,"end":6894,"computed":false,"optional":false,"object":{"type":"Identifier","start":6879,"end":6881,"name":"i1"},"property":{"type":"Identifier","start":6882,"end":6894,"name":"FormioAlerts"}},"kind":"init"}]},{"type":"ObjectExpression","start":6898,"end":6936,"properties":[{"type":"Property","start":6900,"end":6934,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6900,"end":6905,"name":"token"},"value":{"type":"MemberExpression","start":6907,"end":6934,"computed":false,"optional":false,"object":{"type":"Identifier","start":6907,"end":6909,"name":"i0"},"property":{"type":"Identifier","start":6910,"end":6934,"name":"ComponentFactoryResolver"}},"kind":"init"}]},{"type":"ObjectExpression","start":6938,"end":6969,"properties":[{"type":"Property","start":6940,"end":6967,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6940,"end":6945,"name":"token"},"value":{"type":"MemberExpression","start":6947,"end":6967,"computed":false,"optional":false,"object":{"type":"Identifier","start":6947,"end":6949,"name":"i0"},"property":{"type":"Identifier","start":6950,"end":6967,"name":"ChangeDetectorRef"}},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":6972,"end":7008,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6972,"end":6978,"name":"target"},"value":{"type":"MemberExpression","start":6980,"end":7008,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":6980,"end":6998,"computed":false,"optional":false,"object":{"type":"Identifier","start":6980,"end":6982,"name":"i0"},"property":{"type":"Identifier","start":6983,"end":6998,"name":"ɵɵFactoryTarget"}},"property":{"type":"Identifier","start":6999,"end":7008,"name":"Component"}},"kind":"init"}]}]}},{"type":"PropertyDefinition","start":7017,"end":9764,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":7024,"end":7028,"name":"ɵcmp"},"value":{"type":"CallExpression","start":7031,"end":9763,"optional":false,"callee":{"type":"MemberExpression","start":7031,"end":7054,"computed":false,"optional":false,"object":{"type":"Identifier","start":7031,"end":7033,"name":"i0"},"property":{"type":"Identifier","start":7034,"end":7054,"name":"ɵɵngDeclareComponent"}},"arguments":[{"type":"ObjectExpression","start":7055,"end":9762,"properties":[{"type":"Property","start":7057,"end":7077,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7057,"end":7067,"name":"minVersion"},"value":{"type":"Literal","start":7069,"end":7077,"value":"14.0.0","raw":"\"14.0.0\""},"kind":"init"},{"type":"Property","start":7079,"end":7097,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7079,"end":7086,"name":"version"},"value":{"type":"Literal","start":7088,"end":7097,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":7099,"end":7124,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7099,"end":7103,"name":"type"},"value":{"type":"Identifier","start":7105,"end":7124,"name":"FormioGridComponent"},"kind":"init"},{"type":"Property","start":7126,"end":7149,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7126,"end":7134,"name":"selector"},"value":{"type":"Literal","start":7136,"end":7149,"value":"formio-grid","raw":"\"formio-grid\""},"kind":"init"},{"type":"Property","start":7151,"end":7455,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7151,"end":7157,"name":"inputs"},"value":{"type":"ObjectExpression","start":7159,"end":7455,"properties":[{"type":"Property","start":7161,"end":7193,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7161,"end":7175,"name":"footerPosition"},"value":{"type":"Literal","start":7177,"end":7193,"value":"footerPosition","raw":"\"footerPosition\""},"kind":"init"},{"type":"Property","start":7195,"end":7205,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7195,"end":7198,"name":"src"},"value":{"type":"Literal","start":7200,"end":7205,"value":"src","raw":"\"src\""},"kind":"init"},{"type":"Property","start":7207,"end":7221,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7207,"end":7212,"name":"items"},"value":{"type":"Literal","start":7214,"end":7221,"value":"items","raw":"\"items\""},"kind":"init"},{"type":"Property","start":7223,"end":7239,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7223,"end":7229,"name":"onForm"},"value":{"type":"Literal","start":7231,"end":7239,"value":"onForm","raw":"\"onForm\""},"kind":"init"},{"type":"Property","start":7241,"end":7255,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7241,"end":7246,"name":"query"},"value":{"type":"Literal","start":7248,"end":7255,"value":"query","raw":"\"query\""},"kind":"init"},{"type":"Property","start":7257,"end":7275,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7257,"end":7264,"name":"refresh"},"value":{"type":"Literal","start":7266,"end":7275,"value":"refresh","raw":"\"refresh\""},"kind":"init"},{"type":"Property","start":7277,"end":7295,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7277,"end":7284,"name":"columns"},"value":{"type":"Literal","start":7286,"end":7295,"value":"columns","raw":"\"columns\""},"kind":"init"},{"type":"Property","start":7297,"end":7317,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7297,"end":7305,"name":"gridType"},"value":{"type":"Literal","start":7307,"end":7317,"value":"gridType","raw":"\"gridType\""},"kind":"init"},{"type":"Property","start":7319,"end":7331,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7319,"end":7323,"name":"size"},"value":{"type":"Literal","start":7325,"end":7331,"value":"size","raw":"\"size\""},"kind":"init"},{"type":"Property","start":7333,"end":7357,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7333,"end":7343,"name":"components"},"value":{"type":"Literal","start":7345,"end":7357,"value":"components","raw":"\"components\""},"kind":"init"},{"type":"Property","start":7359,"end":7375,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7359,"end":7365,"name":"formio"},"value":{"type":"Literal","start":7367,"end":7375,"value":"formio","raw":"\"formio\""},"kind":"init"},{"type":"Property","start":7377,"end":7391,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7377,"end":7382,"name":"label"},"value":{"type":"Literal","start":7384,"end":7391,"value":"label","raw":"\"label\""},"kind":"init"},{"type":"Property","start":7393,"end":7417,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7393,"end":7403,"name":"createText"},"value":{"type":"Literal","start":7405,"end":7417,"value":"createText","raw":"\"createText\""},"kind":"init"},{"type":"Property","start":7419,"end":7453,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7419,"end":7434,"name":"isActionAllowed"},"value":{"type":"Literal","start":7436,"end":7453,"value":"isActionAllowed","raw":"\"isActionAllowed\""},"kind":"init"}]},"kind":"init"},{"type":"Property","start":7457,"end":7576,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7457,"end":7464,"name":"outputs"},"value":{"type":"ObjectExpression","start":7466,"end":7576,"properties":[{"type":"Property","start":7468,"end":7484,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7468,"end":7474,"name":"select"},"value":{"type":"Literal","start":7476,"end":7484,"value":"select","raw":"\"select\""},"kind":"init"},{"type":"Property","start":7486,"end":7508,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7486,"end":7495,"name":"rowSelect"},"value":{"type":"Literal","start":7497,"end":7508,"value":"rowSelect","raw":"\"rowSelect\""},"kind":"init"},{"type":"Property","start":7510,"end":7532,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7510,"end":7519,"name":"rowAction"},"value":{"type":"Literal","start":7521,"end":7532,"value":"rowAction","raw":"\"rowAction\""},"kind":"init"},{"type":"Property","start":7534,"end":7558,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7534,"end":7544,"name":"createItem"},"value":{"type":"Literal","start":7546,"end":7558,"value":"createItem","raw":"\"createItem\""},"kind":"init"},{"type":"Property","start":7560,"end":7574,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7560,"end":7565,"name":"error"},"value":{"type":"Literal","start":7567,"end":7574,"value":"error","raw":"\"error\""},"kind":"init"}]},"kind":"init"},{"type":"Property","start":7578,"end":7995,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7578,"end":7589,"name":"viewQueries"},"value":{"type":"ArrayExpression","start":7591,"end":7995,"elements":[{"type":"ObjectExpression","start":7592,"end":7726,"properties":[{"type":"Property","start":7594,"end":7623,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7594,"end":7606,"name":"propertyName"},"value":{"type":"Literal","start":7608,"end":7623,"value":"headerElement","raw":"\"headerElement\""},"kind":"init"},{"type":"Property","start":7625,"end":7636,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7625,"end":7630,"name":"first"},"value":{"type":"Literal","start":7632,"end":7636,"value":true,"raw":"true"},"kind":"init"},{"type":"Property","start":7638,"end":7667,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7638,"end":7647,"name":"predicate"},"value":{"type":"ArrayExpression","start":7649,"end":7667,"elements":[{"type":"Literal","start":7650,"end":7666,"value":"headerTemplate","raw":"\"headerTemplate\""}]},"kind":"init"},{"type":"Property","start":7669,"end":7686,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7669,"end":7680,"name":"descendants"},"value":{"type":"Literal","start":7682,"end":7686,"value":true,"raw":"true"},"kind":"init"},{"type":"Property","start":7688,"end":7710,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7688,"end":7692,"name":"read"},"value":{"type":"Identifier","start":7694,"end":7710,"name":"ViewContainerRef"},"kind":"init"},{"type":"Property","start":7712,"end":7724,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7712,"end":7718,"name":"static"},"value":{"type":"Literal","start":7720,"end":7724,"value":true,"raw":"true"},"kind":"init"}]},{"type":"ObjectExpression","start":7728,"end":7858,"properties":[{"type":"Property","start":7730,"end":7757,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7730,"end":7742,"name":"propertyName"},"value":{"type":"Literal","start":7744,"end":7757,"value":"bodyElement","raw":"\"bodyElement\""},"kind":"init"},{"type":"Property","start":7759,"end":7770,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7759,"end":7764,"name":"first"},"value":{"type":"Literal","start":7766,"end":7770,"value":true,"raw":"true"},"kind":"init"},{"type":"Property","start":7772,"end":7799,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7772,"end":7781,"name":"predicate"},"value":{"type":"ArrayExpression","start":7783,"end":7799,"elements":[{"type":"Literal","start":7784,"end":7798,"value":"bodyTemplate","raw":"\"bodyTemplate\""}]},"kind":"init"},{"type":"Property","start":7801,"end":7818,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7801,"end":7812,"name":"descendants"},"value":{"type":"Literal","start":7814,"end":7818,"value":true,"raw":"true"},"kind":"init"},{"type":"Property","start":7820,"end":7842,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7820,"end":7824,"name":"read"},"value":{"type":"Identifier","start":7826,"end":7842,"name":"ViewContainerRef"},"kind":"init"},{"type":"Property","start":7844,"end":7856,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7844,"end":7850,"name":"static"},"value":{"type":"Literal","start":7852,"end":7856,"value":true,"raw":"true"},"kind":"init"}]},{"type":"ObjectExpression","start":7860,"end":7994,"properties":[{"type":"Property","start":7862,"end":7891,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7862,"end":7874,"name":"propertyName"},"value":{"type":"Literal","start":7876,"end":7891,"value":"footerElement","raw":"\"footerElement\""},"kind":"init"},{"type":"Property","start":7893,"end":7904,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7893,"end":7898,"name":"first"},"value":{"type":"Literal","start":7900,"end":7904,"value":true,"raw":"true"},"kind":"init"},{"type":"Property","start":7906,"end":7935,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7906,"end":7915,"name":"predicate"},"value":{"type":"ArrayExpression","start":7917,"end":7935,"elements":[{"type":"Literal","start":7918,"end":7934,"value":"footerTemplate","raw":"\"footerTemplate\""}]},"kind":"init"},{"type":"Property","start":7937,"end":7954,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7937,"end":7948,"name":"descendants"},"value":{"type":"Literal","start":7950,"end":7954,"value":true,"raw":"true"},"kind":"init"},{"type":"Property","start":7956,"end":7978,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7956,"end":7960,"name":"read"},"value":{"type":"Identifier","start":7962,"end":7978,"name":"ViewContainerRef"},"kind":"init"},{"type":"Property","start":7980,"end":7992,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7980,"end":7986,"name":"static"},"value":{"type":"Literal","start":7988,"end":7992,"value":true,"raw":"true"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":7997,"end":8016,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7997,"end":8010,"name":"usesOnChanges"},"value":{"type":"Literal","start":8012,"end":8016,"value":true,"raw":"true"},"kind":"init"},{"type":"Property","start":8018,"end":8030,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":8018,"end":8026,"name":"ngImport"},"value":{"type":"Identifier","start":8028,"end":8030,"name":"i0"},"kind":"init"},{"type":"Property","start":8032,"end":9145,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":8032,"end":8040,"name":"template"},"value":{"type":"Literal","start":8042,"end":9145,"value":"<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","raw":"\"<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\""},"kind":"init"},{"type":"Property","start":9147,"end":9241,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":9147,"end":9153,"name":"styles"},"value":{"type":"ArrayExpression","start":9155,"end":9241,"elements":[{"type":"Literal","start":9156,"end":9240,"value":".formio-grid{position:relative;width:100%}.grid-refresh{height:400px;width:100%}\n","raw":"\".formio-grid{position:relative;width:100%}.grid-refresh{height:400px;width:100%}\\n\""}]},"kind":"init"},{"type":"Property","start":9243,"end":9760,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":9243,"end":9255,"name":"dependencies"},"value":{"type":"ArrayExpression","start":9257,"end":9760,"elements":[{"type":"ObjectExpression","start":9258,"end":9356,"properties":[{"type":"Property","start":9260,"end":9277,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":9260,"end":9264,"name":"kind"},"value":{"type":"Literal","start":9266,"end":9277,"value":"directive","raw":"\"directive\""},"kind":"init"},{"type":"Property","start":9279,"end":9292,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":9279,"end":9283,"name":"type"},"value":{"type":"MemberExpression","start":9285,"end":9292,"computed":false,"optional":false,"object":{"type":"Identifier","start":9285,"end":9287,"name":"i2"},"property":{"type":"Identifier","start":9288,"end":9292,"name":"NgIf"}},"kind":"init"},{"type":"Property","start":9294,"end":9312,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":9294,"end":9302,"name":"selector"},"value":{"type":"Literal","start":9304,"end":9312,"value":"[ngIf]","raw":"\"[ngIf]\""},"kind":"init"},{"type":"Property","start":9314,"end":9354,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":9314,"end":9320,"name":"inputs"},"value":{"type":"ArrayExpression","start":9322,"end":9354,"elements":[{"type":"Literal","start":9323,"end":9329,"value":"ngIf","raw":"\"ngIf\""},{"type":"Literal","start":9331,"end":9341,"value":"ngIfThen","raw":"\"ngIfThen\""},{"type":"Literal","start":9343,"end":9353,"value":"ngIfElse","raw":"\"ngIfElse\""}]},"kind":"init"}]},{"type":"ObjectExpression","start":9358,"end":9523,"properties":[{"type":"Property","start":9360,"end":9377,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":9360,"end":9364,"name":"kind"},"value":{"type":"Literal","start":9366,"end":9377,"value":"directive","raw":"\"directive\""},"kind":"init"},{"type":"Property","start":9379,"end":9404,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":9379,"end":9383,"name":"type"},"value":{"type":"MemberExpression","start":9385,"end":9404,"computed":false,"optional":false,"object":{"type":"Identifier","start":9385,"end":9387,"name":"i2"},"property":{"type":"Identifier","start":9388,"end":9404,"name":"NgTemplateOutlet"}},"kind":"init"},{"type":"Property","start":9406,"end":9436,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":9406,"end":9414,"name":"selector"},"value":{"type":"Literal","start":9416,"end":9436,"value":"[ngTemplateOutlet]","raw":"\"[ngTemplateOutlet]\""},"kind":"init"},{"type":"Property","start":9438,"end":9521,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":9438,"end":9444,"name":"inputs"},"value":{"type":"ArrayExpression","start":9446,"end":9521,"elements":[{"type":"Literal","start":9447,"end":9472,"value":"ngTemplateOutletContext","raw":"\"ngTemplateOutletContext\""},{"type":"Literal","start":9474,"end":9492,"value":"ngTemplateOutlet","raw":"\"ngTemplateOutlet\""},{"type":"Literal","start":9494,"end":9520,"value":"ngTemplateOutletInjector","raw":"\"ngTemplateOutletInjector\""}]},"kind":"init"}]},{"type":"ObjectExpression","start":9525,"end":9628,"properties":[{"type":"Property","start":9527,"end":9544,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":9527,"end":9531,"name":"kind"},"value":{"type":"Literal","start":9533,"end":9544,"value":"component","raw":"\"component\""},"kind":"init"},{"type":"Property","start":9546,"end":9576,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":9546,"end":9550,"name":"type"},"value":{"type":"MemberExpression","start":9552,"end":9576,"computed":false,"optional":false,"object":{"type":"Identifier","start":9552,"end":9554,"name":"i1"},"property":{"type":"Identifier","start":9555,"end":9576,"name":"FormioLoaderComponent"}},"kind":"init"},{"type":"Property","start":9578,"end":9603,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":9578,"end":9586,"name":"selector"},"value":{"type":"Literal","start":9588,"end":9603,"value":"formio-loader","raw":"\"formio-loader\""},"kind":"init"},{"type":"Property","start":9605,"end":9626,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":9605,"end":9611,"name":"inputs"},"value":{"type":"ArrayExpression","start":9613,"end":9626,"elements":[{"type":"Literal","start":9614,"end":9625,"value":"isLoading","raw":"\"isLoading\""}]},"kind":"init"}]},{"type":"ObjectExpression","start":9630,"end":9759,"properties":[{"type":"Property","start":9632,"end":9649,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":9632,"end":9636,"name":"kind"},"value":{"type":"Literal","start":9638,"end":9649,"value":"component","raw":"\"component\""},"kind":"init"},{"type":"Property","start":9651,"end":9681,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":9651,"end":9655,"name":"type"},"value":{"type":"MemberExpression","start":9657,"end":9681,"computed":false,"optional":false,"object":{"type":"Identifier","start":9657,"end":9659,"name":"i1"},"property":{"type":"Identifier","start":9660,"end":9681,"name":"FormioAlertsComponent"}},"kind":"init"},{"type":"Property","start":9683,"end":9708,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":9683,"end":9691,"name":"selector"},"value":{"type":"Literal","start":9693,"end":9708,"value":"formio-alerts","raw":"\"formio-alerts\""},"kind":"init"},{"type":"Property","start":9710,"end":9728,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":9710,"end":9716,"name":"inputs"},"value":{"type":"ArrayExpression","start":9718,"end":9728,"elements":[{"type":"Literal","start":9719,"end":9727,"value":"alerts","raw":"\"alerts\""}]},"kind":"init"},{"type":"Property","start":9730,"end":9757,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":9730,"end":9737,"name":"outputs"},"value":{"type":"ArrayExpression","start":9739,"end":9757,"elements":[{"type":"Literal","start":9740,"end":9756,"value":"focusComponent","raw":"\"focusComponent\""}]},"kind":"init"}]}]},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":9767,"end":12865,"expression":{"type":"CallExpression","start":9767,"end":12864,"optional":false,"callee":{"type":"MemberExpression","start":9767,"end":9794,"computed":false,"optional":false,"object":{"type":"Identifier","start":9767,"end":9769,"name":"i0"},"property":{"type":"Identifier","start":9770,"end":9794,"name":"ɵɵngDeclareClassMetadata"}},"arguments":[{"type":"ObjectExpression","start":9795,"end":12863,"properties":[{"type":"Property","start":9797,"end":9817,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":9797,"end":9807,"name":"minVersion"},"value":{"type":"Literal","start":9809,"end":9817,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":9819,"end":9837,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":9819,"end":9826,"name":"version"},"value":{"type":"Literal","start":9828,"end":9837,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":9839,"end":9851,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":9839,"end":9847,"name":"ngImport"},"value":{"type":"Identifier","start":9849,"end":9851,"name":"i0"},"kind":"init"},{"type":"Property","start":9853,"end":9878,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":9853,"end":9857,"name":"type"},"value":{"type":"Identifier","start":9859,"end":9878,"name":"FormioGridComponent"},"kind":"init"},{"type":"Property","start":9880,"end":11193,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":9880,"end":9890,"name":"decorators"},"value":{"type":"ArrayExpression","start":9892,"end":11193,"elements":[{"type":"ObjectExpression","start":9893,"end":11192,"properties":[{"type":"Property","start":9907,"end":9922,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":9907,"end":9911,"name":"type"},"value":{"type":"Identifier","start":9913,"end":9922,"name":"Component"},"kind":"init"},{"type":"Property","start":9936,"end":11182,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":9936,"end":9940,"name":"args"},"value":{"type":"ArrayExpression","start":9942,"end":11182,"elements":[{"type":"ObjectExpression","start":9943,"end":11181,"properties":[{"type":"Property","start":9945,"end":9968,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":9945,"end":9953,"name":"selector"},"value":{"type":"Literal","start":9955,"end":9968,"value":"formio-grid","raw":"'formio-grid'"},"kind":"init"},{"type":"Property","start":9970,"end":11083,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":9970,"end":9978,"name":"template"},"value":{"type":"Literal","start":9980,"end":11083,"value":"<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","raw":"\"<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\""},"kind":"init"},{"type":"Property","start":11085,"end":11179,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11085,"end":11091,"name":"styles"},"value":{"type":"ArrayExpression","start":11093,"end":11179,"elements":[{"type":"Literal","start":11094,"end":11178,"value":".formio-grid{position:relative;width:100%}.grid-refresh{height:400px;width:100%}\n","raw":"\".formio-grid{position:relative;width:100%}.grid-refresh{height:400px;width:100%}\\n\""}]},"kind":"init"}]}]},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":11195,"end":11315,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11195,"end":11209,"name":"ctorParameters"},"value":{"type":"ArrowFunctionExpression","start":11211,"end":11315,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"ArrayExpression","start":11217,"end":11315,"elements":[{"type":"ObjectExpression","start":11218,"end":11243,"properties":[{"type":"Property","start":11220,"end":11241,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11220,"end":11224,"name":"type"},"value":{"type":"MemberExpression","start":11226,"end":11241,"computed":false,"optional":false,"object":{"type":"Identifier","start":11226,"end":11228,"name":"i1"},"property":{"type":"Identifier","start":11229,"end":11241,"name":"FormioAlerts"}},"kind":"init"}]},{"type":"ObjectExpression","start":11245,"end":11282,"properties":[{"type":"Property","start":11247,"end":11280,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11247,"end":11251,"name":"type"},"value":{"type":"MemberExpression","start":11253,"end":11280,"computed":false,"optional":false,"object":{"type":"Identifier","start":11253,"end":11255,"name":"i0"},"property":{"type":"Identifier","start":11256,"end":11280,"name":"ComponentFactoryResolver"}},"kind":"init"}]},{"type":"ObjectExpression","start":11284,"end":11314,"properties":[{"type":"Property","start":11286,"end":11312,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11286,"end":11290,"name":"type"},"value":{"type":"MemberExpression","start":11292,"end":11312,"computed":false,"optional":false,"object":{"type":"Identifier","start":11292,"end":11294,"name":"i0"},"property":{"type":"Identifier","start":11295,"end":11312,"name":"ChangeDetectorRef"}},"kind":"init"}]}]},"id":null},"kind":"init"},{"type":"Property","start":11317,"end":12861,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11317,"end":11331,"name":"propDecorators"},"value":{"type":"ObjectExpression","start":11333,"end":12861,"properties":[{"type":"Property","start":11335,"end":11396,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11335,"end":11349,"name":"footerPosition"},"value":{"type":"ArrayExpression","start":11351,"end":11396,"elements":[{"type":"ObjectExpression","start":11352,"end":11395,"properties":[{"type":"Property","start":11370,"end":11381,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11370,"end":11374,"name":"type"},"value":{"type":"Identifier","start":11376,"end":11381,"name":"Input"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":11398,"end":11448,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11398,"end":11401,"name":"src"},"value":{"type":"ArrayExpression","start":11403,"end":11448,"elements":[{"type":"ObjectExpression","start":11404,"end":11447,"properties":[{"type":"Property","start":11422,"end":11433,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11422,"end":11426,"name":"type"},"value":{"type":"Identifier","start":11428,"end":11433,"name":"Input"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":11450,"end":11502,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11450,"end":11455,"name":"items"},"value":{"type":"ArrayExpression","start":11457,"end":11502,"elements":[{"type":"ObjectExpression","start":11458,"end":11501,"properties":[{"type":"Property","start":11476,"end":11487,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11476,"end":11480,"name":"type"},"value":{"type":"Identifier","start":11482,"end":11487,"name":"Input"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":11504,"end":11557,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11504,"end":11510,"name":"onForm"},"value":{"type":"ArrayExpression","start":11512,"end":11557,"elements":[{"type":"ObjectExpression","start":11513,"end":11556,"properties":[{"type":"Property","start":11531,"end":11542,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11531,"end":11535,"name":"type"},"value":{"type":"Identifier","start":11537,"end":11542,"name":"Input"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":11559,"end":11611,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11559,"end":11564,"name":"query"},"value":{"type":"ArrayExpression","start":11566,"end":11611,"elements":[{"type":"ObjectExpression","start":11567,"end":11610,"properties":[{"type":"Property","start":11585,"end":11596,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11585,"end":11589,"name":"type"},"value":{"type":"Identifier","start":11591,"end":11596,"name":"Input"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":11613,"end":11667,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11613,"end":11620,"name":"refresh"},"value":{"type":"ArrayExpression","start":11622,"end":11667,"elements":[{"type":"ObjectExpression","start":11623,"end":11666,"properties":[{"type":"Property","start":11641,"end":11652,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11641,"end":11645,"name":"type"},"value":{"type":"Identifier","start":11647,"end":11652,"name":"Input"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":11669,"end":11723,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11669,"end":11676,"name":"columns"},"value":{"type":"ArrayExpression","start":11678,"end":11723,"elements":[{"type":"ObjectExpression","start":11679,"end":11722,"properties":[{"type":"Property","start":11697,"end":11708,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11697,"end":11701,"name":"type"},"value":{"type":"Identifier","start":11703,"end":11708,"name":"Input"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":11725,"end":11780,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11725,"end":11733,"name":"gridType"},"value":{"type":"ArrayExpression","start":11735,"end":11780,"elements":[{"type":"ObjectExpression","start":11736,"end":11779,"properties":[{"type":"Property","start":11754,"end":11765,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11754,"end":11758,"name":"type"},"value":{"type":"Identifier","start":11760,"end":11765,"name":"Input"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":11782,"end":11833,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11782,"end":11786,"name":"size"},"value":{"type":"ArrayExpression","start":11788,"end":11833,"elements":[{"type":"ObjectExpression","start":11789,"end":11832,"properties":[{"type":"Property","start":11807,"end":11818,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11807,"end":11811,"name":"type"},"value":{"type":"Identifier","start":11813,"end":11818,"name":"Input"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":11835,"end":11892,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11835,"end":11845,"name":"components"},"value":{"type":"ArrayExpression","start":11847,"end":11892,"elements":[{"type":"ObjectExpression","start":11848,"end":11891,"properties":[{"type":"Property","start":11866,"end":11877,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11866,"end":11870,"name":"type"},"value":{"type":"Identifier","start":11872,"end":11877,"name":"Input"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":11894,"end":11947,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11894,"end":11900,"name":"formio"},"value":{"type":"ArrayExpression","start":11902,"end":11947,"elements":[{"type":"ObjectExpression","start":11903,"end":11946,"properties":[{"type":"Property","start":11921,"end":11932,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11921,"end":11925,"name":"type"},"value":{"type":"Identifier","start":11927,"end":11932,"name":"Input"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":11949,"end":12001,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11949,"end":11954,"name":"label"},"value":{"type":"ArrayExpression","start":11956,"end":12001,"elements":[{"type":"ObjectExpression","start":11957,"end":12000,"properties":[{"type":"Property","start":11975,"end":11986,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":11975,"end":11979,"name":"type"},"value":{"type":"Identifier","start":11981,"end":11986,"name":"Input"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":12003,"end":12060,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12003,"end":12013,"name":"createText"},"value":{"type":"ArrayExpression","start":12015,"end":12060,"elements":[{"type":"ObjectExpression","start":12016,"end":12059,"properties":[{"type":"Property","start":12034,"end":12045,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12034,"end":12038,"name":"type"},"value":{"type":"Identifier","start":12040,"end":12045,"name":"Input"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":12062,"end":12124,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12062,"end":12077,"name":"isActionAllowed"},"value":{"type":"ArrayExpression","start":12079,"end":12124,"elements":[{"type":"ObjectExpression","start":12080,"end":12123,"properties":[{"type":"Property","start":12098,"end":12109,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12098,"end":12102,"name":"type"},"value":{"type":"Identifier","start":12104,"end":12109,"name":"Input"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":12126,"end":12180,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12126,"end":12132,"name":"select"},"value":{"type":"ArrayExpression","start":12134,"end":12180,"elements":[{"type":"ObjectExpression","start":12135,"end":12179,"properties":[{"type":"Property","start":12153,"end":12165,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12153,"end":12157,"name":"type"},"value":{"type":"Identifier","start":12159,"end":12165,"name":"Output"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":12182,"end":12239,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12182,"end":12191,"name":"rowSelect"},"value":{"type":"ArrayExpression","start":12193,"end":12239,"elements":[{"type":"ObjectExpression","start":12194,"end":12238,"properties":[{"type":"Property","start":12212,"end":12224,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12212,"end":12216,"name":"type"},"value":{"type":"Identifier","start":12218,"end":12224,"name":"Output"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":12241,"end":12298,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12241,"end":12250,"name":"rowAction"},"value":{"type":"ArrayExpression","start":12252,"end":12298,"elements":[{"type":"ObjectExpression","start":12253,"end":12297,"properties":[{"type":"Property","start":12271,"end":12283,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12271,"end":12275,"name":"type"},"value":{"type":"Identifier","start":12277,"end":12283,"name":"Output"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":12300,"end":12358,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12300,"end":12310,"name":"createItem"},"value":{"type":"ArrayExpression","start":12312,"end":12358,"elements":[{"type":"ObjectExpression","start":12313,"end":12357,"properties":[{"type":"Property","start":12331,"end":12343,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12331,"end":12335,"name":"type"},"value":{"type":"Identifier","start":12337,"end":12343,"name":"Output"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":12360,"end":12413,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12360,"end":12365,"name":"error"},"value":{"type":"ArrayExpression","start":12367,"end":12413,"elements":[{"type":"ObjectExpression","start":12368,"end":12412,"properties":[{"type":"Property","start":12386,"end":12398,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12386,"end":12390,"name":"type"},"value":{"type":"Identifier","start":12392,"end":12398,"name":"Output"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":12415,"end":12563,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12415,"end":12428,"name":"headerElement"},"value":{"type":"ArrayExpression","start":12430,"end":12563,"elements":[{"type":"ObjectExpression","start":12431,"end":12562,"properties":[{"type":"Property","start":12449,"end":12464,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12449,"end":12453,"name":"type"},"value":{"type":"Identifier","start":12455,"end":12464,"name":"ViewChild"},"kind":"init"},{"type":"Property","start":12482,"end":12548,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12482,"end":12486,"name":"args"},"value":{"type":"ArrayExpression","start":12488,"end":12548,"elements":[{"type":"Literal","start":12489,"end":12505,"value":"headerTemplate","raw":"'headerTemplate'"},{"type":"ObjectExpression","start":12507,"end":12547,"properties":[{"type":"Property","start":12509,"end":12531,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12509,"end":12513,"name":"read"},"value":{"type":"Identifier","start":12515,"end":12531,"name":"ViewContainerRef"},"kind":"init"},{"type":"Property","start":12533,"end":12545,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12533,"end":12539,"name":"static"},"value":{"type":"Literal","start":12541,"end":12545,"value":true,"raw":"true"},"kind":"init"}]}]},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":12565,"end":12709,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12565,"end":12576,"name":"bodyElement"},"value":{"type":"ArrayExpression","start":12578,"end":12709,"elements":[{"type":"ObjectExpression","start":12579,"end":12708,"properties":[{"type":"Property","start":12597,"end":12612,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12597,"end":12601,"name":"type"},"value":{"type":"Identifier","start":12603,"end":12612,"name":"ViewChild"},"kind":"init"},{"type":"Property","start":12630,"end":12694,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12630,"end":12634,"name":"args"},"value":{"type":"ArrayExpression","start":12636,"end":12694,"elements":[{"type":"Literal","start":12637,"end":12651,"value":"bodyTemplate","raw":"'bodyTemplate'"},{"type":"ObjectExpression","start":12653,"end":12693,"properties":[{"type":"Property","start":12655,"end":12677,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12655,"end":12659,"name":"read"},"value":{"type":"Identifier","start":12661,"end":12677,"name":"ViewContainerRef"},"kind":"init"},{"type":"Property","start":12679,"end":12691,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12679,"end":12685,"name":"static"},"value":{"type":"Literal","start":12687,"end":12691,"value":true,"raw":"true"},"kind":"init"}]}]},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":12711,"end":12859,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12711,"end":12724,"name":"footerElement"},"value":{"type":"ArrayExpression","start":12726,"end":12859,"elements":[{"type":"ObjectExpression","start":12727,"end":12858,"properties":[{"type":"Property","start":12745,"end":12760,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12745,"end":12749,"name":"type"},"value":{"type":"Identifier","start":12751,"end":12760,"name":"ViewChild"},"kind":"init"},{"type":"Property","start":12778,"end":12844,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12778,"end":12782,"name":"args"},"value":{"type":"ArrayExpression","start":12784,"end":12844,"elements":[{"type":"Literal","start":12785,"end":12801,"value":"footerTemplate","raw":"'footerTemplate'"},{"type":"ObjectExpression","start":12803,"end":12843,"properties":[{"type":"Property","start":12805,"end":12827,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12805,"end":12809,"name":"read"},"value":{"type":"Identifier","start":12811,"end":12827,"name":"ViewContainerRef"},"kind":"init"},{"type":"Property","start":12829,"end":12841,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":12829,"end":12835,"name":"static"},"value":{"type":"Literal","start":12837,"end":12841,"value":true,"raw":"true"},"kind":"init"}]}]},"kind":"init"}]}]},"kind":"init"}]},"kind":"init"}]}]}}],"_rollupRemoved":[{"end":35800,"start":12866,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { GridFooterPositions } from './types/grid-footer-positions';\nimport { Component, EventEmitter, Input, Output, ViewChild, ViewContainerRef } from '@angular/core';\nimport { each } from 'lodash';\nimport { FormioCore as Formio } from '@formio/js';\nimport FormComponents from './form/index';\nimport SubmissionComponents from './submission/index';\nimport { FormioPromiseService } from '@formio/angular';\nimport { SortType } from './types/grid-header';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@formio/angular\";\nimport * as i2 from \"@angular/common\";\nexport class 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 Formio.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 = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: FormioGridComponent, deps: [{ token: i1.FormioAlerts }, { token: i0.ComponentFactoryResolver }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.3.12\", type: FormioGridComponent, selector: \"formio-grid\", 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\" }, viewQueries: [{ propertyName: \"headerElement\", first: true, predicate: [\"headerTemplate\"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: \"bodyElement\", first: true, predicate: [\"bodyTemplate\"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: \"footerElement\", first: true, predicate: [\"footerTemplate\"], descendants: true, read: ViewContainerRef, static: true }], usesOnChanges: true, ngImport: i0, 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\"], dependencies: [{ kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"component\", type: i1.FormioLoaderComponent, selector: \"formio-loader\", inputs: [\"isLoading\"] }, { kind: \"component\", type: i1.FormioAlertsComponent, selector: \"formio-alerts\", inputs: [\"alerts\"], outputs: [\"focusComponent\"] }] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: FormioGridComponent, decorators: [{\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 }], ctorParameters: () => [{ type: i1.FormioAlerts }, { type: i0.ComponentFactoryResolver }, { type: i0.ChangeDetectorRef }], propDecorators: { 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//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JpZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9ncmlkL3NyYy9ncmlkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2d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mb290ZXJQb3NpdGlvbnMuYm90aF0uaW5kZXhPZihmb290ZXJQb3NpdGlvbikgIT09IC0xXCJcbiAgICAgIFtuZ1RlbXBsYXRlT3V0bGV0XT1cImZvb3Rlci50ZW1wbGF0ZVwiIFtuZ1RlbXBsYXRlT3V0bGV0Q29udGV4dF09XCJ7IHBvc2l0aW9uOiBmb290ZXJQb3NpdGlvbnMuYm90dG9tLCBsYWJlbDogbGFiZWwgfVwiPlxuICAgIDwvbmctY29udGFpbmVyPlxuICA8L3RhYmxlPlxuPC9kaXY+XG4iXX0=","customTransformCache":false,"dependencies":["/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/types/grid-footer-positions.mjs","@angular/core","lodash","@formio/js","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/index.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/submission/index.mjs","@formio/angular","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/types/grid-header.mjs","@angular/common"],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/grid.component.mjs","meta":{},"moduleSideEffects":false,"originalCode":"import { GridFooterPositions } from './types/grid-footer-positions';\nimport { Component, EventEmitter, Input, Output, ViewChild, ViewContainerRef } from '@angular/core';\nimport { each } from 'lodash';\nimport { FormioCore as Formio } from '@formio/js';\nimport FormComponents from './form/index';\nimport SubmissionComponents from './submission/index';\nimport { FormioPromiseService } from '@formio/angular';\nimport { SortType } from './types/grid-header';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@formio/angular\";\nimport * as i2 from \"@angular/common\";\nexport class 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 Formio.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 = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: FormioGridComponent, deps: [{ token: i1.FormioAlerts }, { token: i0.ComponentFactoryResolver }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"17.3.12\", type: FormioGridComponent, selector: \"formio-grid\", 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\" }, viewQueries: [{ propertyName: \"headerElement\", first: true, predicate: [\"headerTemplate\"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: \"bodyElement\", first: true, predicate: [\"bodyTemplate\"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: \"footerElement\", first: true, predicate: [\"footerTemplate\"], descendants: true, read: ViewContainerRef, static: true }], usesOnChanges: true, ngImport: i0, 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\"], dependencies: [{ kind: \"directive\", type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"component\", type: i1.FormioLoaderComponent, selector: \"formio-loader\", inputs: [\"isLoading\"] }, { kind: \"component\", type: i1.FormioAlertsComponent, selector: \"formio-alerts\", inputs: [\"alerts\"], outputs: [\"focusComponent\"] }] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: FormioGridComponent, decorators: [{\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 }], ctorParameters: () => [{ type: i1.FormioAlerts }, { type: i0.ComponentFactoryResolver }, { type: i0.ChangeDetectorRef }], propDecorators: { 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//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JpZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9ncmlkL3NyYy9ncmlkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2dyaWQvc3JjL2dyaWQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBw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09IC0xXCJcbiAgICAgIFtuZ1RlbXBsYXRlT3V0bGV0XT1cImZvb3Rlci50ZW1wbGF0ZVwiIFtuZ1RlbXBsYXRlT3V0bGV0Q29udGV4dF09XCJ7IHBvc2l0aW9uOiBmb290ZXJQb3NpdGlvbnMuYm90dG9tLCBsYWJlbDogbGFiZWwgfVwiPlxuICAgIDwvbmctY29udGFpbmVyPlxuICA8L3RhYmxlPlxuPC9kaXY+XG4iXX0=","originalSourcemap":{"version":3,"file":"grid.component.js","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/grid.component.ts","../../../../projects/angular-formio/grid/src/grid.component.html"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,9],[28,0,0,28],[30,0,0,30],[36,0,0,36],[67,0,0,67],[68,0,0,68]],[[0,0,1,0],[7,0,1,7],[9,0,4,2],[18,0,4,11],[20,0,6,2],[32,0,6,14],[34,0,7,2],[39,0,7,7],[41,0,10,2],[47,0,10,8],[49,0,11,2],[58,0,11,11],[60,0,12,2],[76,0,12,18],[78,0,13,1],[84,0,13,7],[99,0,13,22],[100,0,13,23]],[[0,0,15,0],[7,0,15,7],[9,0,15,8],[13,0,15,12],[15,0,15,13],[21,0,15,19],[29,0,15,27],[30,0,15,28]],[[0,0,16,0],[7,0,16,7],[9,0,16,8],[19,0,16,18],[23,0,16,22],[29,0,16,28],[31,0,16,29],[37,0,16,35],[49,0,16,47],[50,0,16,48]],[[0,0,20,0],[7,0,20,7],[21,0,20,21],[27,0,20,27],[41,0,20,41],[42,0,20,42]],[[0,0,21,0],[7,0,21,7],[27,0,21,27],[33,0,21,33],[53,0,21,53],[54,0,21,54]],[[0,0,22,0],[7,0,22,7],[9,0,22,8],[29,0,22,28],[31,0,22,29],[37,0,22,35],[54,0,22,52],[55,0,22,53]],[[0,0,24,0],[7,0,24,7],[9,0,24,20],[17,0,24,28],[19,0,24,29],[25,0,24,35],[46,0,24,56],[47,0,24,57]],[],[],[],[[0,0,31,0],[6,0,31,6],[13,0,31,13],[32,0,31,32]],[[4,0,64,11]],[[4,0,65,12]],[[4,0,66,12]],[[4,0,32,11],[18,0,32,25],[21,0,32,28],[40,0,32,47],[41,0,32,48],[47,0,32,54],[48,0,32,55]],[[4,0,33,11],[7,0,33,14],[8,0,33,24]],[[4,0,34,11],[9,0,34,16],[10,0,34,30]],[[4,0,35,11],[10,0,35,17],[11,0,35,33]],[[4,0,36,11],[9,0,36,16],[10,0,36,23]],[[4,0,37,11],[11,0,37,18],[12,0,37,42]],[[4,0,38,11],[11,0,38,18],[12,0,38,39]],[[4,0,39,11],[12,0,39,19],[13,0,39,29]],[[4,0,40,11],[8,0,40,15],[9,0,40,25]],[[4,0,41,11],[14,0,41,21],[15,0,41,28]],[[4,0,42,11],[10,0,42,17],[11,0,42,41]],[[4,0,43,11],[9,0,43,16],[10,0,43,26]],[[4,0,44,11],[14,0,44,21],[15,0,44,30]],[[4,0,45,11],[19,0,45,26],[20,0,45,32]],[[4,0,46,12],[10,0,46,18],[11,0,46,41]],[[4,0,47,12],[13,0,47,21],[14,0,47,44]],[[4,0,48,12],[13,0,48,21],[14,0,48,44]],[[4,0,49,12],[14,0,49,22],[15,0,49,42]],[[4,0,50,12],[9,0,50,17],[10,0,50,37]],[[4,0,51,71],[17,0,51,84],[18,0,51,103]],[[4,0,52,69],[15,0,52,80],[16,0,52,99]],[[4,0,53,71],[17,0,53,84],[18,0,53,103]],[[4,0,55,9],[8,0,55,13],[11,0,55,16],[12,0,55,17],[13,0,55,18]],[[4,0,56,9],[13,0,56,18],[16,0,56,21],[21,0,56,26],[22,0,56,27]],[[4,0,57,9],[15,0,57,20],[18,0,57,23],[23,0,57,28],[24,0,57,29]],[[4,0,58,9],[10,0,58,15],[11,0,58,37]],[[4,0,59,9],[8,0,59,13],[9,0,59,33]],[[4,0,60,9],[10,0,60,15],[11,0,60,37]],[[4,0,61,9],[19,0,61,24],[22,0,61,27],[41,0,61,46],[42,0,61,47]],[[4,0,63,2],[16,0,64,11],[22,0,64,31],[24,0,65,12],[32,0,65,46],[34,0,66,12],[37,0,66,34]],[[8,0,64,11],[19,0,64,17],[22,0,64,11],[28,0,64,17],[29,0,64,31]],[[8,0,65,12],[21,0,65,20],[24,0,65,12],[32,0,65,20],[33,0,65,46]],[[8,0,66,12],[16,0,66,15],[19,0,66,12],[22,0,66,15],[23,0,66,34]],[[8,0,68,4],[12,0,68,8],[13,0,68,9],[19,0,68,15],[22,0,68,18],[26,0,68,22],[27,0,68,23],[36,0,68,32],[39,0,68,35],[43,0,68,39],[55,0,68,51],[57,0,68,53],[58,0,68,54]],[[8,0,69,4],[12,0,69,8],[13,0,69,9],[22,0,69,18],[25,0,69,21],[29,0,69,25],[41,0,69,37],[43,0,69,39],[44,0,69,40]],[[8,0,70,4],[12,0,70,8],[13,0,70,9],[23,0,70,19],[26,0,70,22],[30,0,70,26],[42,0,70,38],[44,0,70,40],[45,0,70,41]],[[8,0,71,4],[12,0,71,8],[13,0,71,9],[18,0,71,14],[21,0,71,17],[25,0,71,21],[37,0,71,33],[39,0,71,35],[40,0,71,36]],[[8,0,72,4],[12,0,72,8],[13,0,72,9],[22,0,72,18],[25,0,72,21],[29,0,72,25],[30,0,72,26]],[[4,0,73,2],[5,0,73,3]],[[4,0,75,2],[19,0,75,17],[20,0,75,18],[28,0,75,26],[30,0,75,28],[39,0,75,37]],[[8,0,76,4],[14,0,76,10],[21,0,76,17],[24,0,76,20],[28,0,76,24],[29,0,76,25],[37,0,76,33],[38,0,76,34],[61,0,76,57],[62,0,76,58],[71,0,76,67],[72,0,76,68],[73,0,76,69]],[[8,0,77,4],[14,0,77,10],[26,0,77,22],[29,0,77,25],[37,0,77,33],[38,0,77,34],[53,0,77,49],[54,0,77,50],[61,0,77,57],[62,0,77,58],[63,0,77,59]],[[8,0,78,4],[15,0,78,11],[27,0,78,23],[28,0,78,24],[36,0,78,32],[37,0,78,33]],[[4,0,79,2],[5,0,79,3]],[[4,0,81,2],[12,0,81,10],[13,0,81,11],[16,0,81,23]],[[8,0,82,4],[47,0,82,43]],[[8,0,83,4],[12,0,83,8],[13,0,83,9],[16,0,83,12],[20,0,83,16],[21,0,83,17],[25,0,83,21],[26,0,83,22],[32,0,83,28],[34,0,83,30],[35,0,83,31]],[[12,0,84,6],[19,0,84,13]],[[8,0,85,4],[9,0,85,5]],[[8,0,86,4],[30,0,86,26]],[[8,0,87,4],[12,0,87,8],[16,0,87,12],[17,0,87,13],[23,0,87,19],[27,0,87,23],[31,0,87,27],[32,0,87,28],[35,0,87,31],[39,0,87,35],[40,0,87,36],[43,0,87,39],[48,0,87,44],[52,0,87,48],[53,0,87,49],[56,0,87,52],[57,0,87,53],[59,0,87,55],[60,0,87,56]],[[12,0,88,6],[19,0,88,13]],[[8,0,89,4],[9,0,89,5]],[[8,0,91,4],[12,0,91,8],[15,0,91,11],[17,0,91,13],[18,0,91,14]],[[12,0,92,6],[16,0,92,10],[17,0,92,11],[20,0,92,14],[23,0,92,17],[26,0,92,20],[27,0,92,21]],[[12,0,93,6],[16,0,93,10],[17,0,93,11],[23,0,93,17],[26,0,93,20],[30,0,93,24],[50,0,93,44],[51,0,93,45],[55,0,93,49],[56,0,93,50],[59,0,93,53],[61,0,93,55],[63,0,93,57],[71,0,93,65],[73,0,93,67],[77,0,93,71],[79,0,93,73],[80,0,93,74],[81,0,93,75]],[[8,0,94,4],[9,0,94,5]],[[8,0,96,4],[27,0,96,23]],[[8,0,97,4],[12,0,97,8],[13,0,97,9],[19,0,97,15],[20,0,97,16],[24,0,97,20],[25,0,97,21],[29,0,97,25],[30,0,97,26],[36,0,97,32],[38,0,97,34],[40,0,97,36],[42,0,97,38],[46,0,97,42],[47,0,97,43],[54,0,97,50],[55,0,97,51]],[[13,0,98,7],[17,0,98,11],[18,0,98,12],[21,0,98,15],[23,0,98,17],[24,0,98,18],[28,0,98,22],[29,0,98,23],[36,0,98,30],[37,0,98,31],[38,0,98,32],[39,0,98,33],[40,0,98,34]],[[13,0,99,7],[18,0,99,12],[19,0,99,13],[24,0,99,18],[25,0,99,19],[27,0,99,21],[28,0,99,22],[32,0,99,26],[33,0,99,27],[40,0,99,34],[41,0,99,35],[46,0,99,40],[47,0,99,41],[48,0,99,42],[49,0,99,43]],[[4,0,100,2],[5,0,100,3]],[[4,0,102,2],[12,0,102,10]],[[8,0,103,4],[33,0,103,29]],[[8,0,104,4],[14,0,104,10],[19,0,104,15],[22,0,104,18],[26,0,104,22],[27,0,104,23],[37,0,104,33],[41,0,104,37],[42,0,104,38],[43,0,104,39],[47,0,104,43],[48,0,104,44],[56,0,104,52],[61,0,104,57],[67,0,104,63],[68,0,104,64],[69,0,104,65],[70,0,104,66],[71,0,104,67],[85,0,104,81],[86,0,104,82],[87,0,104,83],[88,0,104,84],[108,0,104,104],[109,0,104,105],[110,0,104,106]],[[8,0,106,4],[12,0,106,8],[13,0,106,9],[19,0,106,15],[22,0,106,18],[26,0,106,22],[27,0,106,23],[42,0,106,38],[43,0,106,39],[47,0,106,43],[48,0,106,44],[61,0,106,57],[63,0,106,59],[68,0,106,64],[69,0,106,65],[75,0,106,71],[76,0,106,72],[77,0,106,73]],[[8,0,107,4],[12,0,107,8],[13,0,107,9],[19,0,107,15],[20,0,107,16],[33,0,107,29],[36,0,107,32],[40,0,107,36],[41,0,107,37],[54,0,107,50],[55,0,107,51],[59,0,107,55],[60,0,107,56],[64,0,107,60],[65,0,107,61],[66,0,107,62]],[[8,0,108,4],[12,0,108,8],[13,0,108,9],[19,0,108,15],[20,0,108,16],[24,0,108,20],[25,0,108,21],[34,0,108,30],[35,0,108,31],[41,0,108,37],[42,0,108,38],[44,0,108,40],[45,0,108,41],[49,0,108,45],[50,0,108,46],[60,0,108,56],[61,0,108,57],[67,0,108,63],[68,0,108,64],[69,0,108,65],[70,0,108,66]],[[8,0,110,4],[12,0,110,8],[13,0,110,9],[17,0,110,13],[20,0,110,16],[24,0,110,20],[25,0,110,21],[40,0,110,36],[41,0,110,37],[45,0,110,41],[46,0,110,42],[57,0,110,53],[59,0,110,55],[64,0,110,60],[65,0,110,61],[69,0,110,65],[70,0,110,66],[71,0,110,67]],[[8,0,111,4],[12,0,111,8],[13,0,111,9],[17,0,111,13],[18,0,111,14],[24,0,111,20],[27,0,111,23],[31,0,111,27],[32,0,111,28],[38,0,111,34],[39,0,111,35]],[[8,0,112,4],[12,0,112,8],[13,0,112,9],[17,0,112,13],[18,0,112,14],[31,0,112,27],[34,0,112,30],[38,0,112,34],[39,0,112,35],[52,0,112,48],[53,0,112,49],[57,0,112,53],[58,0,112,54],[62,0,112,58],[63,0,112,59],[64,0,112,60]],[[8,0,113,4],[12,0,113,8],[13,0,113,9],[17,0,113,13],[18,0,113,14],[27,0,113,23],[28,0,113,24],[37,0,113,33],[38,0,113,34],[41,0,113,37],[42,0,113,38],[44,0,113,40],[45,0,113,41],[49,0,113,45],[50,0,113,46],[59,0,113,55],[60,0,113,56],[64,0,113,60],[65,0,113,61],[68,0,113,64],[69,0,113,65],[70,0,113,66],[71,0,113,67]],[[8,0,114,4],[12,0,114,8],[13,0,114,9],[17,0,114,13],[18,0,114,14],[27,0,114,23],[28,0,114,24],[37,0,114,33],[38,0,114,34],[44,0,114,40],[45,0,114,41],[47,0,114,43],[48,0,114,44],[52,0,114,48],[53,0,114,49],[62,0,114,58],[63,0,114,59],[67,0,114,63],[68,0,114,64],[74,0,114,70],[75,0,114,71],[76,0,114,72],[77,0,114,73]],[[8,0,116,4],[12,0,116,8],[13,0,116,9],[19,0,116,15],[22,0,116,18],[26,0,116,22],[27,0,116,23],[42,0,116,38],[43,0,116,39],[47,0,116,43],[48,0,116,44],[61,0,116,57],[63,0,116,59],[68,0,116,64],[69,0,116,65],[75,0,116,71],[76,0,116,72],[77,0,116,73]],[[8,0,117,4],[12,0,117,8],[13,0,117,9],[19,0,117,15],[20,0,117,16],[26,0,117,22],[29,0,117,25],[33,0,117,29],[34,0,117,30],[40,0,117,36],[41,0,117,37]],[[8,0,118,4],[12,0,118,8],[13,0,118,9],[19,0,118,15],[20,0,118,16],[24,0,118,20],[27,0,118,23],[31,0,118,27],[32,0,118,28],[36,0,118,32],[37,0,118,33]],[[8,0,119,4],[12,0,119,8],[13,0,119,9],[19,0,119,15],[20,0,119,16],[33,0,119,29],[36,0,119,32],[40,0,119,36],[41,0,119,37],[54,0,119,50],[55,0,119,51],[59,0,119,55],[60,0,119,56],[64,0,119,60],[65,0,119,61],[66,0,119,62]],[[8,0,120,4],[12,0,120,8],[13,0,120,9],[19,0,120,15],[20,0,120,16],[30,0,120,26],[33,0,120,29],[37,0,120,33],[38,0,120,34],[48,0,120,44],[49,0,120,45]],[[8,0,121,4],[12,0,121,8],[13,0,121,9],[19,0,121,15],[20,0,121,16],[24,0,121,20],[27,0,121,23],[31,0,121,27],[32,0,121,28],[36,0,121,32],[37,0,121,33]],[[8,0,122,4],[12,0,122,8],[13,0,122,9],[19,0,122,15],[20,0,122,16],[31,0,122,27],[32,0,122,28],[41,0,122,37],[42,0,122,38],[46,0,122,42],[47,0,122,43],[49,0,122,45],[50,0,122,46],[54,0,122,50],[55,0,122,51],[66,0,122,62],[67,0,122,63],[71,0,122,67],[72,0,122,68],[73,0,122,69],[74,0,122,70]],[[8,0,123,4],[12,0,123,8],[13,0,123,9],[19,0,123,15],[20,0,123,16],[30,0,123,26],[31,0,123,27],[40,0,123,36],[41,0,123,37],[45,0,123,41],[46,0,123,42],[48,0,123,44],[49,0,123,45],[53,0,123,49],[54,0,123,50],[64,0,123,60],[65,0,123,61],[69,0,123,65],[70,0,123,66],[74,0,123,70],[75,0,123,71],[76,0,123,72],[77,0,123,73]],[[4,0,124,2],[5,0,124,3]],[[4,0,126,2],[15,0,126,13],[16,0,126,14],[23,0,126,26]],[[8,0,127,4],[12,0,127,8],[16,0,127,12],[17,0,127,13],[28,0,127,24],[30,0,127,26],[31,0,127,27]],[[12,0,128,6],[16,0,129,8],[17,0,129,9],[24,0,129,16],[25,0,129,17],[28,0,129,20],[32,0,129,24],[39,0,129,31],[40,0,129,32],[43,0,129,35],[44,0,129,36],[56,0,129,48],[57,0,129,49]],[[16,0,130,8],[17,0,130,9],[24,0,130,16],[25,0,130,17],[31,0,130,23],[35,0,130,27],[42,0,130,34],[43,0,130,35],[49,0,130,41],[50,0,130,42],[62,0,130,54],[63,0,130,55],[65,0,131,8],[66,0,131,9]],[[16,0,132,8],[20,0,132,12],[21,0,132,13],[29,0,132,21],[30,0,132,22],[37,0,132,29],[38,0,132,30],[41,0,132,33],[42,0,132,34],[54,0,132,46],[55,0,132,47],[56,0,132,48]],[[12,0,133,6],[13,0,133,7]],[[12,0,135,6],[16,0,135,10],[23,0,135,17],[24,0,135,18],[29,0,135,23],[33,0,135,27],[40,0,135,34],[41,0,135,35],[46,0,135,40],[47,0,135,41],[59,0,135,53],[61,0,135,55],[62,0,135,56]],[[16,0,136,8],[20,0,136,12],[21,0,136,13],[32,0,136,24],[34,0,136,26],[35,0,136,27]],[[12,0,137,6],[13,0,137,7]],[[8,0,138,4],[9,0,138,5]],[[8,0,140,4],[12,0,140,8],[16,0,140,12],[17,0,140,13],[23,0,140,19]],[[12,0,141,8],[13,0,141,9],[20,0,141,16],[21,0,141,17],[31,0,141,27],[35,0,141,31],[42,0,141,38],[43,0,141,39],[53,0,141,49],[54,0,141,50],[66,0,141,62],[67,0,141,63],[69,0,141,65],[70,0,141,66]],[[12,0,142,6],[16,0,142,10],[17,0,142,11],[23,0,142,17],[24,0,142,18],[34,0,142,28],[37,0,142,31],[44,0,142,38],[45,0,142,39],[55,0,142,49],[56,0,142,50],[68,0,142,62],[69,0,142,63]],[[8,0,143,4],[9,0,143,5]],[[4,0,144,2],[5,0,144,3]],[[4,0,146,2],[19,0,146,17]],[[8,0,147,4],[12,0,147,8],[13,0,147,9],[19,0,147,15],[20,0,147,16],[29,0,147,25],[30,0,147,26],[32,0,147,28],[33,0,147,29],[34,0,147,30]],[[8,0,148,4],[12,0,148,8],[13,0,148,9],[18,0,148,14],[21,0,148,17],[25,0,148,21],[26,0,148,22],[31,0,148,27],[35,0,148,31],[37,0,148,33],[38,0,148,34]],[[8,0,149,4],[12,0,149,8],[16,0,149,12],[17,0,149,13],[24,0,149,20],[26,0,149,22],[27,0,149,23]],[[12,0,150,6],[16,0,150,10],[17,0,150,11],[24,0,150,18],[25,0,150,19],[34,0,150,28],[35,0,150,29],[36,0,150,30],[41,0,150,43],[43,0,150,45],[45,0,150,47],[46,0,150,48],[50,0,150,52],[51,0,150,53],[62,0,150,64],[63,0,150,65],[68,0,150,70],[69,0,150,71],[70,0,150,72],[71,0,150,73]],[[8,0,151,4],[9,0,151,5]],[[8,0,152,4],[12,0,152,8],[13,0,152,9],[21,0,152,17],[22,0,152,18],[26,0,152,22],[27,0,152,23],[30,0,152,26],[31,0,152,27],[32,0,152,28]],[[8,0,153,4],[12,0,153,8],[13,0,153,9],[24,0,153,20],[27,0,153,23],[31,0,153,27],[32,0,153,28]],[[8,0,154,4],[12,0,154,8],[13,0,154,9],[16,0,154,12],[17,0,154,13],[30,0,154,26],[32,0,154,28],[33,0,154,29]],[[4,0,155,2],[5,0,155,3]],[[4,0,157,2],[17,0,157,15],[18,0,157,16],[24,0,157,22]],[[8,0,158,4],[12,0,158,8],[16,0,158,12],[17,0,158,13],[32,0,158,28],[34,0,158,30],[35,0,158,31]],[[12,0,159,6],[19,0,159,13],[23,0,159,17],[24,0,159,18],[39,0,159,33],[40,0,159,34],[46,0,159,40],[47,0,159,41],[48,0,159,42]],[[8,0,160,4],[9,0,160,5]],[[13,0,160,11],[14,0,160,12]],[[12,0,161,6],[19,0,161,13],[23,0,161,17],[24,0,161,18]],[[8,0,162,4],[9,0,162,5]],[[4,0,163,2],[5,0,163,3]],[[4,0,165,2],[11,0,165,9],[12,0,165,10],[17,0,165,20]],[[8,0,166,4],[12,0,166,8],[13,0,166,9],[22,0,166,18],[25,0,166,21],[30,0,166,26],[31,0,166,27]],[[8,0,167,4],[12,0,167,8],[13,0,167,9],[18,0,167,14],[19,0,167,15],[23,0,167,19],[24,0,167,20],[29,0,167,25],[30,0,167,26],[31,0,167,27]],[[8,0,168,4],[12,0,168,8],[19,0,168,15],[24,0,168,20],[29,0,168,25],[37,0,168,33],[41,0,168,37],[46,0,168,42],[47,0,168,43],[54,0,168,50],[56,0,168,52],[57,0,168,53]],[[12,0,169,6],[16,0,169,10],[17,0,169,11],[23,0,169,17],[24,0,169,18],[32,0,169,26],[33,0,169,27]],[[16,0,170,8],[20,0,170,12],[22,0,170,14],[30,0,170,22]],[[16,0,171,8],[23,0,171,15],[25,0,171,17],[30,0,171,22],[31,0,171,23],[38,0,171,30],[42,0,171,34],[47,0,171,39]],[[13,0,172,7],[14,0,172,8],[15,0,172,9]],[[8,0,173,4],[9,0,173,5]],[[4,0,174,2],[5,0,174,3]],[[4,0,176,2],[15,0,176,13],[16,0,176,14],[21,0,176,25]],[[8,0,177,4],[12,0,177,8],[13,0,177,9],[19,0,177,15],[20,0,177,16],[29,0,177,25],[30,0,177,26],[32,0,177,28],[33,0,177,29],[34,0,177,30]],[[8,0,178,4],[12,0,178,8],[13,0,178,9],[18,0,178,14],[21,0,178,17],[26,0,178,22],[30,0,178,26],[34,0,178,30],[35,0,178,31],[40,0,178,36],[41,0,178,37]],[[8,0,179,4],[12,0,179,8],[13,0,179,9],[17,0,179,13],[18,0,179,14],[23,0,179,19],[24,0,179,20],[38,0,179,34],[39,0,179,35],[46,0,179,42],[47,0,179,43],[49,0,179,45],[50,0,179,46]],[[12,0,180,6],[16,0,180,10],[17,0,180,11],[22,0,180,16],[23,0,180,17],[28,0,180,22],[31,0,180,25],[33,0,180,27],[34,0,180,28]],[[8,0,181,4],[9,0,181,5]],[[8,0,182,4],[12,0,182,8],[13,0,182,9],[17,0,182,13],[18,0,182,14],[23,0,182,19],[24,0,182,20],[38,0,182,34],[39,0,182,35],[45,0,182,41],[46,0,182,42],[48,0,182,44],[49,0,182,45]],[[12,0,183,6],[16,0,183,10],[17,0,183,11],[22,0,183,16],[23,0,183,17],[27,0,183,21],[30,0,183,24],[31,0,183,25],[32,0,183,26]],[[8,0,184,4],[9,0,184,5]],[[8,0,185,4],[12,0,185,8],[13,0,185,9],[22,0,185,18],[25,0,185,21],[29,0,185,25],[30,0,185,26]],[[8,0,186,4],[12,0,186,8],[13,0,186,9],[16,0,186,12],[17,0,186,13],[30,0,186,26],[32,0,186,28],[33,0,186,29]],[[8,0,187,4],[14,0,187,10],[15,0,187,11],[20,0,187,16],[23,0,187,19],[25,0,187,21],[26,0,187,22]],[[8,0,188,4],[12,0,188,8],[18,0,188,14],[21,0,188,17],[25,0,188,21],[26,0,188,22]],[[8,0,189,4],[12,0,189,8],[16,0,189,12],[17,0,189,13],[22,0,189,18],[24,0,189,20],[25,0,189,21]],[[12,0,190,6],[18,0,190,12],[21,0,190,15],[28,0,190,22],[29,0,190,23],[36,0,190,30],[37,0,190,31],[41,0,190,35],[42,0,190,36],[46,0,190,40],[47,0,190,41],[54,0,190,48],[55,0,190,49],[59,0,190,53],[60,0,190,54],[65,0,190,59],[67,0,190,61],[71,0,190,65],[72,0,190,66],[77,0,190,71],[78,0,190,72],[79,0,190,73],[80,0,190,74]],[[8,0,191,4],[9,0,191,5]],[[13,0,191,11],[14,0,191,12]],[[12,0,192,6],[18,0,192,12],[21,0,192,15],[25,0,192,19],[26,0,192,20],[30,0,192,24],[31,0,192,25],[35,0,192,29],[36,0,192,30],[40,0,192,34],[41,0,192,35],[47,0,192,41],[49,0,192,43],[53,0,192,47],[54,0,192,48],[59,0,192,53],[60,0,192,54],[61,0,192,55]],[[8,0,193,4],[9,0,193,5]],[[8,0,195,4],[15,0,195,11],[21,0,195,17],[22,0,195,18],[26,0,195,22],[27,0,195,23],[31,0,195,27],[32,0,195,28],[34,0,195,30]],[[12,0,196,6],[16,0,196,10],[17,0,196,11],[26,0,196,20],[29,0,196,23],[34,0,196,28],[35,0,196,29]],[[12,0,197,6],[16,0,197,10],[17,0,197,11],[28,0,197,22],[31,0,197,25],[35,0,197,29],[36,0,197,30]],[[12,0,198,6],[16,0,198,10],[17,0,198,11],[20,0,198,14],[21,0,198,15],[34,0,198,28],[36,0,198,30],[37,0,198,31]],[[8,0,199,4],[9,0,199,5],[10,0,199,6],[11,0,199,7],[16,0,199,12],[17,0,199,13],[22,0,199,18],[23,0,199,19],[25,0,199,21],[26,0,199,22],[30,0,199,26],[31,0,199,27],[38,0,199,34],[39,0,199,35],[44,0,199,40],[45,0,199,41],[46,0,199,42],[47,0,199,43]],[[4,0,200,2],[5,0,200,3]],[[4,0,202,2],[11,0,202,9],[12,0,202,10],[15,0,202,13],[18,0,202,16],[19,0,202,17],[20,0,202,18]],[[8,0,203,4],[12,0,203,8],[13,0,203,9],[17,0,203,13],[20,0,203,16],[23,0,203,19],[28,0,203,24],[29,0,203,25],[30,0,203,26],[31,0,203,27],[32,0,203,28],[33,0,203,29],[36,0,203,32],[37,0,203,33],[38,0,203,34],[39,0,203,35],[43,0,203,39],[44,0,203,40],[48,0,203,44],[49,0,203,45]],[[8,0,204,4],[12,0,204,8],[13,0,204,9],[17,0,204,13],[18,0,204,14],[23,0,204,19],[24,0,204,20],[38,0,204,34],[39,0,204,35],[46,0,204,42],[47,0,204,43],[49,0,204,45],[50,0,204,46]],[[12,0,205,6],[16,0,205,10],[17,0,205,11],[22,0,205,16],[23,0,205,17],[28,0,205,22],[31,0,205,25],[33,0,205,27],[34,0,205,28]],[[8,0,206,4],[9,0,206,5]],[[8,0,207,4],[12,0,207,8],[13,0,207,9],[17,0,207,13],[18,0,207,14],[23,0,207,19],[24,0,207,20],[38,0,207,34],[39,0,207,35],[45,0,207,41],[46,0,207,42],[48,0,207,44],[49,0,207,45]],[[12,0,208,6],[16,0,208,10],[17,0,208,11],[22,0,208,16],[23,0,208,17],[27,0,208,21],[30,0,208,24],[31,0,208,25],[32,0,208,26]],[[8,0,209,4],[9,0,209,5]],[[8,0,210,4],[12,0,210,8],[13,0,210,9],[18,0,210,14],[19,0,210,15],[23,0,210,19],[26,0,210,22],[30,0,210,26],[31,0,210,27],[35,0,210,31],[38,0,210,34],[42,0,210,38],[43,0,210,39],[48,0,210,44],[49,0,210,45],[54,0,210,50],[55,0,210,51]],[[8,0,211,4],[12,0,211,8],[13,0,211,9],[24,0,211,20],[26,0,211,22],[27,0,211,23]],[[4,0,212,2],[5,0,212,3]],[[4,0,214,2],[14,0,214,12],[15,0,214,13],[21,0,214,31]],[[8,0,215,4],[40,0,215,36]],[[8,0,216,4],[12,0,216,8],[13,0,216,9],[17,0,216,13],[18,0,216,14],[24,0,216,20],[25,0,216,21],[32,0,216,28],[34,0,216,30],[35,0,216,31],[38,0,216,39],[40,0,216,41],[42,0,216,43]],[[12,0,217,6],[16,0,217,10],[19,0,217,13],[20,0,217,14],[23,0,217,17],[28,0,217,22],[34,0,217,28],[35,0,217,29],[38,0,217,32],[40,0,217,34],[41,0,217,35]],[[16,0,218,8],[19,0,218,11],[20,0,218,12],[24,0,218,16],[27,0,218,19],[29,0,218,21],[30,0,218,22]],[[12,0,219,6],[13,0,219,7]],[[8,0,220,4],[9,0,220,5],[10,0,220,6],[11,0,220,7]],[[8,0,221,4],[16,0,221,12],[22,0,221,18],[23,0,221,19],[27,0,221,23],[29,0,221,25],[30,0,221,26]],[[12,0,222,6],[17,0,222,11],[22,0,222,16]],[[16,0,223,8],[22,0,223,14],[23,0,223,15],[27,0,223,19],[30,0,223,22],[38,0,223,30],[39,0,223,31],[43,0,223,35],[44,0,223,36]],[[16,0,224,8],[20,0,224,12],[21,0,224,13],[26,0,224,18],[27,0,224,19],[31,0,224,23],[34,0,224,26],[37,0,224,29],[40,0,224,32],[46,0,224,38],[47,0,224,39],[50,0,224,42],[51,0,224,43]],[[16,0,225,8],[22,0,225,14]],[[12,0,226,6],[17,0,226,11],[23,0,226,17]],[[16,0,227,8],[22,0,227,14],[23,0,227,15],[27,0,227,19],[30,0,227,22],[39,0,227,31],[40,0,227,32]],[[16,0,228,8],[23,0,228,15],[27,0,228,19],[28,0,228,20],[33,0,228,25],[34,0,228,26],[38,0,228,30],[39,0,228,31]],[[16,0,229,8],[22,0,229,14]],[[12,0,230,6],[17,0,230,11],[26,0,230,20]],[[16,0,231,8],[22,0,231,14],[23,0,231,15],[27,0,231,19],[30,0,231,22],[38,0,231,30],[39,0,231,31],[42,0,231,34],[43,0,231,35]],[[16,0,232,8],[20,0,232,12],[21,0,232,13],[26,0,232,18],[27,0,232,19],[31,0,232,23],[34,0,232,26],[40,0,232,32],[41,0,232,33],[44,0,232,36],[45,0,232,37]],[[16,0,233,8],[22,0,233,14]],[[8,0,234,4],[9,0,234,5]],[[8,0,235,4],[12,0,235,8],[13,0,235,9],[24,0,235,20],[26,0,235,22],[27,0,235,23]],[[4,0,236,2],[5,0,236,3]],[[4,0,238,2],[15,0,238,13],[16,0,238,14],[20,0,238,23]],[[8,0,239,4],[12,0,239,8],[13,0,239,9],[20,0,239,16],[21,0,239,17],[25,0,239,21],[26,0,239,22],[30,0,239,26],[33,0,239,29],[34,0,239,30],[35,0,239,31],[36,0,239,32]],[[4,0,240,2],[5,0,240,3]],[[104,0,31,13],[123,0,31,32]],[[92,0,31,13],[111,0,31,32],[681,0,51,38],[697,0,51,54],[813,0,52,36],[829,0,52,52],[949,0,53,38],[965,0,53,54],[1029,1,0,0],[2132,1,18,0]],[],[[92,0,31,13],[111,0,31,32]],[[18,0,26,1],[27,0,26,10]],[[31,0,27,12],[44,0,27,25]],[[152,0,32,11],[166,0,32,25]],[[22,0,32,3],[27,0,32,8]],[[16,0,33,11],[19,0,33,14]],[[22,0,33,3],[27,0,33,8]],[[16,0,34,11],[21,0,34,16]],[[22,0,34,3],[27,0,34,8]],[[16,0,35,11],[22,0,35,17]],[[22,0,35,3],[27,0,35,8]],[[16,0,36,11],[21,0,36,16]],[[22,0,36,3],[27,0,36,8]],[[16,0,37,11],[23,0,37,18]],[[22,0,37,3],[27,0,37,8]],[[16,0,38,11],[23,0,38,18]],[[22,0,38,3],[27,0,38,8]],[[16,0,39,11],[24,0,39,19]],[[22,0,39,3],[27,0,39,8]],[[16,0,40,11],[20,0,40,15]],[[22,0,40,3],[27,0,40,8]],[[16,0,41,11],[26,0,41,21]],[[22,0,41,3],[27,0,41,8]],[[16,0,42,11],[22,0,42,17]],[[22,0,42,3],[27,0,42,8]],[[16,0,43,11],[21,0,43,16]],[[22,0,43,3],[27,0,43,8]],[[16,0,44,11],[26,0,44,21]],[[22,0,44,3],[27,0,44,8]],[[16,0,45,11],[31,0,45,26]],[[22,0,45,3],[27,0,45,8]],[[16,0,46,12],[22,0,46,18]],[[22,0,46,3],[28,0,46,9]],[[16,0,47,12],[25,0,47,21]],[[22,0,47,3],[28,0,47,9]],[[16,0,48,12],[25,0,48,21]],[[22,0,48,3],[28,0,48,9]],[[16,0,49,12],[26,0,49,22]],[[22,0,49,3],[28,0,49,9]],[[16,0,50,12],[21,0,50,17]],[[22,0,50,3],[28,0,50,9]],[[16,0,51,71],[29,0,51,84]],[[22,0,51,3],[31,0,51,12]],[[23,0,51,13],[39,0,51,29],[41,0,51,31],[43,0,51,32],[47,0,51,36],[49,0,51,38],[65,0,51,54],[67,0,51,56],[73,0,51,62],[75,0,51,64],[79,0,51,68],[81,0,51,69]],[[16,0,52,69],[27,0,52,80]],[[22,0,52,3],[31,0,52,12]],[[23,0,52,13],[37,0,52,27],[39,0,52,29],[41,0,52,30],[45,0,52,34],[47,0,52,36],[63,0,52,52],[65,0,52,54],[71,0,52,60],[73,0,52,62],[77,0,52,66],[79,0,52,67]],[[16,0,53,71],[29,0,53,84]],[[22,0,53,3],[31,0,53,12]],[[23,0,53,13],[39,0,53,29],[41,0,53,31],[43,0,53,32],[47,0,53,36],[49,0,53,38],[65,0,53,54],[67,0,53,56],[73,0,53,62],[75,0,53,64],[79,0,53,68],[81,0,53,69]]],"sourcesContent":["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","<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"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"lodash":{"attributes":{},"external":true,"id":"lodash","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@formio/js":{"attributes":{},"external":true,"id":"@formio/js","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@formio/angular":{"attributes":{},"external":true,"id":"@formio/angular","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@angular/common":{"attributes":{},"external":true,"id":"@angular/common","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"./submission/index":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/submission/index.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./form/index":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/index.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./types/grid-footer-positions":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/types/grid-footer-positions.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./types/grid-header":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/types/grid-header.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":8619,"body":[{"type":"ImportDeclaration","start":0,"end":41,"specifiers":[{"type":"ImportSpecifier","start":9,"end":17,"imported":{"type":"Identifier","start":9,"end":17,"name":"NgModule"},"local":{"type":"Identifier","start":9,"end":17,"name":"NgModule"}}],"source":{"type":"Literal","start":25,"end":40,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":42,"end":89,"specifiers":[{"type":"ImportSpecifier","start":51,"end":63,"imported":{"type":"Identifier","start":51,"end":63,"name":"CommonModule"},"local":{"type":"Identifier","start":51,"end":63,"name":"CommonModule"}}],"source":{"type":"Literal","start":71,"end":88,"value":"@angular/common","raw":"'@angular/common'"},"attributes":[]},{"type":"ImportDeclaration","start":90,"end":135,"specifiers":[{"type":"ImportSpecifier","start":99,"end":110,"imported":{"type":"Identifier","start":99,"end":110,"name":"FormsModule"},"local":{"type":"Identifier","start":99,"end":110,"name":"FormsModule"}}],"source":{"type":"Literal","start":118,"end":134,"value":"@angular/forms","raw":"'@angular/forms'"},"attributes":[]},{"type":"ImportDeclaration","start":136,"end":183,"specifiers":[{"type":"ImportSpecifier","start":145,"end":157,"imported":{"type":"Identifier","start":145,"end":157,"name":"RouterModule"},"local":{"type":"Identifier","start":145,"end":157,"name":"RouterModule"}}],"source":{"type":"Literal","start":165,"end":182,"value":"@angular/router","raw":"'@angular/router'"},"attributes":[]},{"type":"ImportDeclaration","start":184,"end":231,"specifiers":[{"type":"ImportSpecifier","start":193,"end":205,"imported":{"type":"Identifier","start":193,"end":205,"name":"FormioModule"},"local":{"type":"Identifier","start":193,"end":205,"name":"FormioModule"}}],"source":{"type":"Literal","start":213,"end":230,"value":"@formio/angular","raw":"'@formio/angular'"},"attributes":[]},{"type":"ImportDeclaration","start":232,"end":279,"specifiers":[{"type":"ImportSpecifier","start":241,"end":253,"imported":{"type":"Identifier","start":241,"end":253,"name":"FormioAlerts"},"local":{"type":"Identifier","start":241,"end":253,"name":"FormioAlerts"}}],"source":{"type":"Literal","start":261,"end":278,"value":"@formio/angular","raw":"'@formio/angular'"},"attributes":[]},{"type":"ImportDeclaration","start":280,"end":335,"specifiers":[{"type":"ImportSpecifier","start":289,"end":308,"imported":{"type":"Identifier","start":289,"end":308,"name":"FormioGridComponent"},"local":{"type":"Identifier","start":289,"end":308,"name":"FormioGridComponent"}}],"source":{"type":"Literal","start":316,"end":334,"value":"./grid.component","raw":"'./grid.component'"},"attributes":[]},{"type":"ImportDeclaration","start":336,"end":396,"specifiers":[{"type":"ImportSpecifier","start":345,"end":361,"imported":{"type":"Identifier","start":345,"end":361,"name":"PaginationModule"},"local":{"type":"Identifier","start":345,"end":361,"name":"PaginationModule"}}],"source":{"type":"Literal","start":369,"end":395,"value":"ngx-bootstrap/pagination","raw":"'ngx-bootstrap/pagination'"},"attributes":[]},{"type":"ImportDeclaration","start":397,"end":471,"specifiers":[{"type":"ImportSpecifier","start":406,"end":429,"imported":{"type":"Identifier","start":406,"end":429,"name":"FormGridHeaderComponent"},"local":{"type":"Identifier","start":406,"end":429,"name":"FormGridHeaderComponent"}}],"source":{"type":"Literal","start":437,"end":470,"value":"./form/FormGridHeader.component","raw":"'./form/FormGridHeader.component'"},"attributes":[]},{"type":"ImportDeclaration","start":472,"end":542,"specifiers":[{"type":"ImportSpecifier","start":481,"end":502,"imported":{"type":"Identifier","start":481,"end":502,"name":"FormGridBodyComponent"},"local":{"type":"Identifier","start":481,"end":502,"name":"FormGridBodyComponent"}}],"source":{"type":"Literal","start":510,"end":541,"value":"./form/FormGridBody.component","raw":"'./form/FormGridBody.component'"},"attributes":[]},{"type":"ImportDeclaration","start":543,"end":617,"specifiers":[{"type":"ImportSpecifier","start":552,"end":575,"imported":{"type":"Identifier","start":552,"end":575,"name":"FormGridFooterComponent"},"local":{"type":"Identifier","start":552,"end":575,"name":"FormGridFooterComponent"}}],"source":{"type":"Literal","start":583,"end":616,"value":"./form/FormGridFooter.component","raw":"'./form/FormGridFooter.component'"},"attributes":[]},{"type":"ImportDeclaration","start":618,"end":710,"specifiers":[{"type":"ImportSpecifier","start":627,"end":656,"imported":{"type":"Identifier","start":627,"end":656,"name":"SubmissionGridHeaderComponent"},"local":{"type":"Identifier","start":627,"end":656,"name":"SubmissionGridHeaderComponent"}}],"source":{"type":"Literal","start":664,"end":709,"value":"./submission/SubmissionGridHeader.component","raw":"'./submission/SubmissionGridHeader.component'"},"attributes":[]},{"type":"ImportDeclaration","start":711,"end":799,"specifiers":[{"type":"ImportSpecifier","start":720,"end":747,"imported":{"type":"Identifier","start":720,"end":747,"name":"SubmissionGridBodyComponent"},"local":{"type":"Identifier","start":720,"end":747,"name":"SubmissionGridBodyComponent"}}],"source":{"type":"Literal","start":755,"end":798,"value":"./submission/SubmissionGridBody.component","raw":"'./submission/SubmissionGridBody.component'"},"attributes":[]},{"type":"ImportDeclaration","start":800,"end":892,"specifiers":[{"type":"ImportSpecifier","start":809,"end":838,"imported":{"type":"Identifier","start":809,"end":838,"name":"SubmissionGridFooterComponent"},"local":{"type":"Identifier","start":809,"end":838,"name":"SubmissionGridFooterComponent"}}],"source":{"type":"Literal","start":846,"end":891,"value":"./submission/SubmissionGridFooter.component","raw":"'./submission/SubmissionGridFooter.component'"},"attributes":[]},{"type":"ImportDeclaration","start":893,"end":953,"specifiers":[{"type":"ImportSpecifier","start":902,"end":921,"imported":{"type":"Identifier","start":902,"end":921,"name":"GridHeaderComponent"},"local":{"type":"Identifier","start":902,"end":921,"name":"GridHeaderComponent"}}],"source":{"type":"Literal","start":929,"end":952,"value":"./GridHeaderComponent","raw":"'./GridHeaderComponent'"},"attributes":[]},{"type":"ImportDeclaration","start":954,"end":1010,"specifiers":[{"type":"ImportSpecifier","start":963,"end":980,"imported":{"type":"Identifier","start":963,"end":980,"name":"GridBodyComponent"},"local":{"type":"Identifier","start":963,"end":980,"name":"GridBodyComponent"}}],"source":{"type":"Literal","start":988,"end":1009,"value":"./GridBodyComponent","raw":"'./GridBodyComponent'"},"attributes":[]},{"type":"ImportDeclaration","start":1011,"end":1071,"specifiers":[{"type":"ImportSpecifier","start":1020,"end":1039,"imported":{"type":"Identifier","start":1020,"end":1039,"name":"GridFooterComponent"},"local":{"type":"Identifier","start":1020,"end":1039,"name":"GridFooterComponent"}}],"source":{"type":"Literal","start":1047,"end":1070,"value":"./GridFooterComponent","raw":"'./GridFooterComponent'"},"attributes":[]},{"type":"ImportDeclaration","start":1072,"end":1117,"specifiers":[{"type":"ImportSpecifier","start":1081,"end":1092,"imported":{"type":"Identifier","start":1081,"end":1092,"name":"GridService"},"local":{"type":"Identifier","start":1081,"end":1092,"name":"GridService"}}],"source":{"type":"Literal","start":1100,"end":1116,"value":"./grid.service","raw":"'./grid.service'"},"attributes":[]},{"type":"ImportDeclaration","start":1118,"end":1169,"specifiers":[{"type":"ImportSpecifier","start":1127,"end":1136,"imported":{"type":"Identifier","start":1127,"end":1136,"name":"TimeSince"},"local":{"type":"Identifier","start":1127,"end":1136,"name":"TimeSince"}}],"source":{"type":"Literal","start":1144,"end":1168,"value":"./form/time-since.pipe","raw":"'./form/time-since.pipe'"},"attributes":[]},{"type":"ImportDeclaration","start":1170,"end":1206,"specifiers":[{"type":"ImportNamespaceSpecifier","start":1177,"end":1184,"local":{"type":"Identifier","start":1182,"end":1184,"name":"i0"}}],"source":{"type":"Literal","start":1190,"end":1205,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ImportDeclaration","start":1207,"end":1254,"specifiers":[{"type":"ImportNamespaceSpecifier","start":1214,"end":1221,"local":{"type":"Identifier","start":1219,"end":1221,"name":"i1"}}],"source":{"type":"Literal","start":1227,"end":1253,"value":"ngx-bootstrap/pagination","raw":"\"ngx-bootstrap/pagination\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":1255,"end":2452,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":1262,"end":2452,"decorators":[],"id":{"type":"Identifier","start":1268,"end":1278,"name":"FormioGrid"},"superClass":null,"body":{"type":"ClassBody","start":1279,"end":2452,"body":[{"type":"PropertyDefinition","start":1285,"end":1446,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1292,"end":1296,"name":"ɵfac"},"value":{"type":"CallExpression","start":1299,"end":1445,"optional":false,"callee":{"type":"MemberExpression","start":1299,"end":1320,"computed":false,"optional":false,"object":{"type":"Identifier","start":1299,"end":1301,"name":"i0"},"property":{"type":"Identifier","start":1302,"end":1320,"name":"ɵɵngDeclareFactory"}},"arguments":[{"type":"ObjectExpression","start":1321,"end":1444,"properties":[{"type":"Property","start":1323,"end":1343,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1323,"end":1333,"name":"minVersion"},"value":{"type":"Literal","start":1335,"end":1343,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":1345,"end":1363,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1345,"end":1352,"name":"version"},"value":{"type":"Literal","start":1354,"end":1363,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":1365,"end":1377,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1365,"end":1373,"name":"ngImport"},"value":{"type":"Identifier","start":1375,"end":1377,"name":"i0"},"kind":"init"},{"type":"Property","start":1379,"end":1395,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1379,"end":1383,"name":"type"},"value":{"type":"Identifier","start":1385,"end":1395,"name":"FormioGrid"},"kind":"init"},{"type":"Property","start":1397,"end":1405,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1397,"end":1401,"name":"deps"},"value":{"type":"ArrayExpression","start":1403,"end":1405,"elements":[]},"kind":"init"},{"type":"Property","start":1407,"end":1442,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1407,"end":1413,"name":"target"},"value":{"type":"MemberExpression","start":1415,"end":1442,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1415,"end":1433,"computed":false,"optional":false,"object":{"type":"Identifier","start":1415,"end":1417,"name":"i0"},"property":{"type":"Identifier","start":1418,"end":1433,"name":"ɵɵFactoryTarget"}},"property":{"type":"Identifier","start":1434,"end":1442,"name":"NgModule"}},"kind":"init"}]}]}},{"type":"PropertyDefinition","start":1451,"end":2114,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1458,"end":1462,"name":"ɵmod"},"value":{"type":"CallExpression","start":1465,"end":2113,"optional":false,"callee":{"type":"MemberExpression","start":1465,"end":1487,"computed":false,"optional":false,"object":{"type":"Identifier","start":1465,"end":1467,"name":"i0"},"property":{"type":"Identifier","start":1468,"end":1487,"name":"ɵɵngDeclareNgModule"}},"arguments":[{"type":"ObjectExpression","start":1488,"end":2112,"properties":[{"type":"Property","start":1490,"end":1510,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1490,"end":1500,"name":"minVersion"},"value":{"type":"Literal","start":1502,"end":1510,"value":"14.0.0","raw":"\"14.0.0\""},"kind":"init"},{"type":"Property","start":1512,"end":1530,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1512,"end":1519,"name":"version"},"value":{"type":"Literal","start":1521,"end":1530,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":1532,"end":1544,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1532,"end":1540,"name":"ngImport"},"value":{"type":"Identifier","start":1542,"end":1544,"name":"i0"},"kind":"init"},{"type":"Property","start":1546,"end":1562,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1546,"end":1550,"name":"type"},"value":{"type":"Identifier","start":1552,"end":1562,"name":"FormioGrid"},"kind":"init"},{"type":"Property","start":1564,"end":1955,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1564,"end":1576,"name":"declarations"},"value":{"type":"ArrayExpression","start":1578,"end":1955,"elements":[{"type":"Identifier","start":1579,"end":1598,"name":"FormioGridComponent"},{"type":"Identifier","start":1612,"end":1635,"name":"FormGridHeaderComponent"},{"type":"Identifier","start":1649,"end":1670,"name":"FormGridBodyComponent"},{"type":"Identifier","start":1684,"end":1707,"name":"FormGridFooterComponent"},{"type":"Identifier","start":1721,"end":1750,"name":"SubmissionGridHeaderComponent"},{"type":"Identifier","start":1764,"end":1791,"name":"SubmissionGridBodyComponent"},{"type":"Identifier","start":1805,"end":1834,"name":"SubmissionGridFooterComponent"},{"type":"Identifier","start":1848,"end":1867,"name":"GridHeaderComponent"},{"type":"Identifier","start":1881,"end":1898,"name":"GridBodyComponent"},{"type":"Identifier","start":1912,"end":1931,"name":"GridFooterComponent"},{"type":"Identifier","start":1945,"end":1954,"name":"TimeSince"}]},"kind":"init"},{"type":"Property","start":1957,"end":2078,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1957,"end":1964,"name":"imports"},"value":{"type":"ArrayExpression","start":1966,"end":2078,"elements":[{"type":"Identifier","start":1967,"end":1979,"name":"CommonModule"},{"type":"Identifier","start":1993,"end":2004,"name":"FormsModule"},{"type":"Identifier","start":2018,"end":2030,"name":"FormioModule"},{"type":"Identifier","start":2044,"end":2056,"name":"RouterModule"},{"type":"MemberExpression","start":2058,"end":2077,"computed":false,"optional":false,"object":{"type":"Identifier","start":2058,"end":2060,"name":"i1"},"property":{"type":"Identifier","start":2061,"end":2077,"name":"PaginationModule"}}]},"kind":"init"},{"type":"Property","start":2080,"end":2110,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2080,"end":2087,"name":"exports"},"value":{"type":"ArrayExpression","start":2089,"end":2110,"elements":[{"type":"Identifier","start":2090,"end":2109,"name":"FormioGridComponent"}]},"kind":"init"}]}]}},{"type":"PropertyDefinition","start":2119,"end":2450,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":2126,"end":2130,"name":"ɵinj"},"value":{"type":"CallExpression","start":2133,"end":2449,"optional":false,"callee":{"type":"MemberExpression","start":2133,"end":2155,"computed":false,"optional":false,"object":{"type":"Identifier","start":2133,"end":2135,"name":"i0"},"property":{"type":"Identifier","start":2136,"end":2155,"name":"ɵɵngDeclareInjector"}},"arguments":[{"type":"ObjectExpression","start":2156,"end":2448,"properties":[{"type":"Property","start":2158,"end":2178,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2158,"end":2168,"name":"minVersion"},"value":{"type":"Literal","start":2170,"end":2178,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":2180,"end":2198,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2180,"end":2187,"name":"version"},"value":{"type":"Literal","start":2189,"end":2198,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":2200,"end":2212,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2200,"end":2208,"name":"ngImport"},"value":{"type":"Identifier","start":2210,"end":2212,"name":"i0"},"kind":"init"},{"type":"Property","start":2214,"end":2230,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2214,"end":2218,"name":"type"},"value":{"type":"Identifier","start":2220,"end":2230,"name":"FormioGrid"},"kind":"init"},{"type":"Property","start":2232,"end":2304,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2232,"end":2241,"name":"providers"},"value":{"type":"ArrayExpression","start":2243,"end":2304,"elements":[{"type":"Identifier","start":2257,"end":2269,"name":"FormioAlerts"},{"type":"Identifier","start":2283,"end":2294,"name":"GridService"}]},"kind":"init"},{"type":"Property","start":2306,"end":2446,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2306,"end":2313,"name":"imports"},"value":{"type":"ArrayExpression","start":2315,"end":2446,"elements":[{"type":"Identifier","start":2316,"end":2328,"name":"CommonModule"},{"type":"Identifier","start":2342,"end":2353,"name":"FormsModule"},{"type":"Identifier","start":2367,"end":2379,"name":"FormioModule"},{"type":"Identifier","start":2393,"end":2405,"name":"RouterModule"},{"type":"CallExpression","start":2419,"end":2445,"optional":false,"callee":{"type":"MemberExpression","start":2419,"end":2443,"computed":false,"optional":false,"object":{"type":"Identifier","start":2419,"end":2435,"name":"PaginationModule"},"property":{"type":"Identifier","start":2436,"end":2443,"name":"forRoot"}},"arguments":[]}]},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":2453,"end":3716,"expression":{"type":"CallExpression","start":2453,"end":3715,"optional":false,"callee":{"type":"MemberExpression","start":2453,"end":2480,"computed":false,"optional":false,"object":{"type":"Identifier","start":2453,"end":2455,"name":"i0"},"property":{"type":"Identifier","start":2456,"end":2480,"name":"ɵɵngDeclareClassMetadata"}},"arguments":[{"type":"ObjectExpression","start":2481,"end":3714,"properties":[{"type":"Property","start":2483,"end":2503,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2483,"end":2493,"name":"minVersion"},"value":{"type":"Literal","start":2495,"end":2503,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":2505,"end":2523,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2505,"end":2512,"name":"version"},"value":{"type":"Literal","start":2514,"end":2523,"value":"17.3.12","raw":"\"17.3.12\""},"kind":"init"},{"type":"Property","start":2525,"end":2537,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2525,"end":2533,"name":"ngImport"},"value":{"type":"Identifier","start":2535,"end":2537,"name":"i0"},"kind":"init"},{"type":"Property","start":2539,"end":2555,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2539,"end":2543,"name":"type"},"value":{"type":"Identifier","start":2545,"end":2555,"name":"FormioGrid"},"kind":"init"},{"type":"Property","start":2557,"end":3712,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2557,"end":2567,"name":"decorators"},"value":{"type":"ArrayExpression","start":2569,"end":3712,"elements":[{"type":"ObjectExpression","start":2570,"end":3711,"properties":[{"type":"Property","start":2584,"end":2598,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2584,"end":2588,"name":"type"},"value":{"type":"Identifier","start":2590,"end":2598,"name":"NgModule"},"kind":"init"},{"type":"Property","start":2612,"end":3701,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2612,"end":2616,"name":"args"},"value":{"type":"ArrayExpression","start":2618,"end":3701,"elements":[{"type":"ObjectExpression","start":2619,"end":3700,"properties":[{"type":"Property","start":2641,"end":2875,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2641,"end":2648,"name":"imports"},"value":{"type":"ArrayExpression","start":2650,"end":2875,"elements":[{"type":"Identifier","start":2676,"end":2688,"name":"CommonModule"},{"type":"Identifier","start":2714,"end":2725,"name":"FormsModule"},{"type":"Identifier","start":2751,"end":2763,"name":"FormioModule"},{"type":"Identifier","start":2789,"end":2801,"name":"RouterModule"},{"type":"CallExpression","start":2827,"end":2853,"optional":false,"callee":{"type":"MemberExpression","start":2827,"end":2851,"computed":false,"optional":false,"object":{"type":"Identifier","start":2827,"end":2843,"name":"PaginationModule"},"property":{"type":"Identifier","start":2844,"end":2851,"name":"forRoot"}},"arguments":[]}]},"kind":"init"},{"type":"Property","start":2897,"end":3454,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2897,"end":2909,"name":"declarations"},"value":{"type":"ArrayExpression","start":2911,"end":3454,"elements":[{"type":"Identifier","start":2937,"end":2956,"name":"FormioGridComponent"},{"type":"Identifier","start":2982,"end":3005,"name":"FormGridHeaderComponent"},{"type":"Identifier","start":3031,"end":3052,"name":"FormGridBodyComponent"},{"type":"Identifier","start":3078,"end":3101,"name":"FormGridFooterComponent"},{"type":"Identifier","start":3127,"end":3156,"name":"SubmissionGridHeaderComponent"},{"type":"Identifier","start":3182,"end":3209,"name":"SubmissionGridBodyComponent"},{"type":"Identifier","start":3235,"end":3264,"name":"SubmissionGridFooterComponent"},{"type":"Identifier","start":3290,"end":3309,"name":"GridHeaderComponent"},{"type":"Identifier","start":3335,"end":3352,"name":"GridBodyComponent"},{"type":"Identifier","start":3378,"end":3397,"name":"GridFooterComponent"},{"type":"Identifier","start":3423,"end":3432,"name":"TimeSince"}]},"kind":"init"},{"type":"Property","start":3476,"end":3552,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3476,"end":3483,"name":"exports"},"value":{"type":"ArrayExpression","start":3485,"end":3552,"elements":[{"type":"Identifier","start":3511,"end":3530,"name":"FormioGridComponent"}]},"kind":"init"},{"type":"Property","start":3574,"end":3682,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":3574,"end":3583,"name":"providers"},"value":{"type":"ArrayExpression","start":3585,"end":3682,"elements":[{"type":"Identifier","start":3611,"end":3623,"name":"FormioAlerts"},{"type":"Identifier","start":3649,"end":3660,"name":"GridService"}]},"kind":"init"}]}]},"kind":"init"}]}]},"kind":"init"}]}]}}],"_rollupRemoved":[{"end":8619,"start":3717,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"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';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"ngx-bootstrap/pagination\";\nexport class FormioGrid {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: FormioGrid, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.3.12\", ngImport: i0, type: 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, i1.PaginationModule], exports: [FormioGridComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: FormioGrid, providers: [\n FormioAlerts,\n GridService\n ], imports: [CommonModule,\n FormsModule,\n FormioModule,\n RouterModule,\n PaginationModule.forRoot()] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: FormioGrid, decorators: [{\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 }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLC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AgIEZvcm1HcmlkQm9keUNvbXBvbmVudCxcbiAgICAgICAgRm9ybUdyaWRGb290ZXJDb21wb25lbnQsXG4gICAgICAgIFN1Ym1pc3Npb25HcmlkSGVhZGVyQ29tcG9uZW50LFxuICAgICAgICBTdWJtaXNzaW9uR3JpZEJvZHlDb21wb25lbnQsXG4gICAgICAgIFN1Ym1pc3Npb25HcmlkRm9vdGVyQ29tcG9uZW50LFxuICAgICAgICBHcmlkSGVhZGVyQ29tcG9uZW50LFxuICAgICAgICBHcmlkQm9keUNvbXBvbmVudCxcbiAgICAgICAgR3JpZEZvb3RlckNvbXBvbmVudCxcbiAgICAgICAgVGltZVNpbmNlXG4gICAgXSxcbiAgICBleHBvcnRzOiBbXG4gICAgICAgIEZvcm1pb0dyaWRDb21wb25lbnRcbiAgICBdLFxuICAgIHByb3ZpZGVyczogW1xuICAgICAgICBGb3JtaW9BbGVydHMsXG4gICAgICAgIEdyaWRTZXJ2aWNlXG4gICAgXVxufSlcbmV4cG9ydCBjbGFzcyBGb3JtaW9HcmlkIHt9XG4iXX0=","customTransformCache":false,"dependencies":["@angular/core","@angular/common","@angular/forms","@angular/router","@formio/angular","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/grid.component.mjs","ngx-bootstrap/pagination","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/FormGridHeader.component.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/FormGridBody.component.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/FormGridFooter.component.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/submission/SubmissionGridHeader.component.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/submission/SubmissionGridBody.component.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/submission/SubmissionGridFooter.component.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/GridHeaderComponent.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/GridBodyComponent.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/GridFooterComponent.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/grid.service.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/time-since.pipe.mjs"],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/grid.module.mjs","meta":{},"moduleSideEffects":false,"originalCode":"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';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"ngx-bootstrap/pagination\";\nexport class FormioGrid {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: FormioGrid, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"17.3.12\", ngImport: i0, type: 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, i1.PaginationModule], exports: [FormioGridComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: FormioGrid, providers: [\n FormioAlerts,\n GridService\n ], imports: [CommonModule,\n FormsModule,\n FormioModule,\n RouterModule,\n PaginationModule.forRoot()] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"17.3.12\", ngImport: i0, type: FormioGrid, decorators: [{\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 }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JpZC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9ncmlkL3NyYy9ncmlkLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQ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AgICAgR3JpZEZvb3RlckNvbXBvbmVudCxcbiAgICAgICAgVGltZVNpbmNlXG4gICAgXSxcbiAgICBleHBvcnRzOiBbXG4gICAgICAgIEZvcm1pb0dyaWRDb21wb25lbnRcbiAgICBdLFxuICAgIHByb3ZpZGVyczogW1xuICAgICAgICBGb3JtaW9BbGVydHMsXG4gICAgICAgIEdyaWRTZXJ2aWNlXG4gICAgXVxufSlcbmV4cG9ydCBjbGFzcyBGb3JtaW9HcmlkIHt9XG4iXX0=","originalSourcemap":{"version":3,"file":"grid.module.js","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/grid.module.ts"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,9],[17,0,0,17],[19,0,0,19],[25,0,0,25],[40,0,0,40],[41,0,0,41]],[[0,0,1,0],[7,0,1,7],[9,0,1,9],[21,0,1,21],[23,0,1,23],[29,0,1,29],[46,0,1,46],[47,0,1,47]],[[0,0,2,0],[7,0,2,7],[9,0,2,9],[20,0,2,20],[22,0,2,22],[28,0,2,28],[44,0,2,44],[45,0,2,45]],[[0,0,3,0],[7,0,3,7],[9,0,3,9],[21,0,3,21],[23,0,3,23],[29,0,3,29],[46,0,3,46],[47,0,3,47]],[[0,0,4,0],[7,0,4,7],[9,0,4,9],[21,0,4,21],[23,0,4,23],[29,0,4,29],[46,0,4,46],[47,0,4,47]],[[0,0,5,0],[7,0,5,7],[9,0,5,9],[21,0,5,21],[23,0,5,23],[29,0,5,29],[46,0,5,46],[47,0,5,47]],[[0,0,6,0],[7,0,6,7],[9,0,6,9],[28,0,6,28],[30,0,6,30],[36,0,6,36],[54,0,6,54],[55,0,6,55]],[[0,0,7,0],[7,0,7,7],[9,0,7,9],[25,0,7,25],[27,0,7,27],[33,0,7,33],[59,0,7,59],[60,0,7,60]],[[0,0,8,0],[7,0,8,7],[9,0,8,9],[32,0,8,32],[34,0,8,34],[40,0,8,40],[73,0,8,73],[74,0,8,74]],[[0,0,9,0],[7,0,9,7],[9,0,9,9],[30,0,9,30],[32,0,9,32],[38,0,9,38],[69,0,9,69],[70,0,9,70]],[[0,0,10,0],[7,0,10,7],[9,0,10,9],[32,0,10,32],[34,0,10,34],[40,0,10,40],[73,0,10,73],[74,0,10,74]],[[0,0,11,0],[7,0,11,7],[9,0,11,9],[38,0,11,38],[40,0,11,40],[46,0,11,46],[91,0,11,91],[92,0,11,92]],[[0,0,12,0],[7,0,12,7],[9,0,12,9],[36,0,12,36],[38,0,12,38],[44,0,12,44],[87,0,12,87],[88,0,12,88]],[[0,0,13,0],[7,0,13,7],[9,0,13,9],[38,0,13,38],[40,0,13,40],[46,0,13,46],[91,0,13,91],[92,0,13,92]],[[0,0,14,0],[7,0,14,7],[9,0,14,9],[28,0,14,28],[30,0,14,30],[36,0,14,36],[59,0,14,59],[60,0,14,60]],[[0,0,15,0],[7,0,15,7],[9,0,15,9],[26,0,15,26],[28,0,15,28],[34,0,15,34],[55,0,15,55],[56,0,15,56]],[[0,0,16,0],[7,0,16,7],[9,0,16,9],[28,0,16,28],[30,0,16,30],[36,0,16,36],[59,0,16,59],[60,0,16,60]],[[0,0,17,0],[7,0,17,7],[9,0,17,9],[20,0,17,20],[22,0,17,22],[28,0,17,28],[44,0,17,44],[45,0,17,45]],[[0,0,18,0],[7,0,18,7],[9,0,18,9],[18,0,18,18],[20,0,18,20],[26,0,18,26],[50,0,18,50],[51,0,18,50]],[],[],[[0,0,48,0],[6,0,48,6],[13,0,48,13],[23,0,48,23]],[[104,0,48,13],[114,0,48,23]],[[105,0,48,13],[115,0,48,23],[132,0,28,8],[151,0,28,27]],[[12,0,29,8],[35,0,29,31]],[[12,0,30,8],[33,0,30,29]],[[12,0,31,8],[35,0,31,31]],[[12,0,32,8],[41,0,32,37]],[[12,0,33,8],[39,0,33,35]],[[12,0,34,8],[41,0,34,37]],[[12,0,35,8],[31,0,35,27]],[[12,0,36,8],[29,0,36,25]],[[12,0,37,8],[31,0,37,27]],[[12,0,38,8],[21,0,38,17],[34,0,21,8],[46,0,21,20]],[[12,0,22,8],[23,0,22,19]],[[12,0,23,8],[24,0,23,20]],[[12,0,24,8],[24,0,24,20],[58,0,41,8],[77,0,41,27]],[[105,0,48,13],[115,0,48,23],[128,0,43,15]],[[12,0,44,8],[24,0,44,20]],[[12,0,45,8],[23,0,45,19]],[[9,0,46,5],[21,0,21,8],[33,0,21,20]],[[12,0,22,8],[23,0,22,19]],[[12,0,23,8],[24,0,23,20]],[[12,0,24,8],[24,0,24,20]],[[12,0,25,8],[28,0,25,24],[29,0,25,25],[36,0,25,32],[38,0,25,34]],[],[[92,0,48,13],[102,0,48,23]],[[18,0,19,1],[26,0,19,9]],[[19,0,19,10]],[[20,0,20,4],[27,0,20,11],[29,0,20,13]],[[24,0,21,8],[36,0,21,20]],[[24,0,22,8],[35,0,22,19]],[[24,0,23,8],[36,0,23,20]],[[24,0,24,8],[36,0,24,20]],[[24,0,25,8],[40,0,25,24],[41,0,25,25],[48,0,25,32],[50,0,25,34]],[[21,0,26,5]],[[20,0,27,4],[32,0,27,16],[34,0,27,18]],[[24,0,28,8],[43,0,28,27]],[[24,0,29,8],[47,0,29,31]],[[24,0,30,8],[45,0,30,29]],[[24,0,31,8],[47,0,31,31]],[[24,0,32,8],[53,0,32,37]],[[24,0,33,8],[51,0,33,35]],[[24,0,34,8],[53,0,34,37]],[[24,0,35,8],[43,0,35,27]],[[24,0,36,8],[41,0,36,25]],[[24,0,37,8],[43,0,37,27]],[[24,0,38,8],[33,0,38,17]],[[21,0,39,5]],[[20,0,40,4],[27,0,40,11],[29,0,40,13]],[[24,0,41,8],[43,0,41,27]],[[21,0,42,5]],[[20,0,43,4],[29,0,43,13],[31,0,43,15]],[[24,0,44,8],[36,0,44,20]],[[24,0,45,8],[35,0,45,19]],[[21,0,46,5]],[[17,0,47,1]]],"sourcesContent":["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"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@angular/common":{"attributes":{},"external":true,"id":"@angular/common","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@angular/forms":{"attributes":{},"external":true,"id":"@angular/forms","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@angular/router":{"attributes":{},"external":true,"id":"@angular/router","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@formio/angular":{"attributes":{},"external":true,"id":"@formio/angular","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"ngx-bootstrap/pagination":{"attributes":{},"external":true,"id":"ngx-bootstrap/pagination","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"./grid.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/grid.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./GridHeaderComponent":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/GridHeaderComponent.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./GridBodyComponent":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/GridBodyComponent.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./GridFooterComponent":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/GridFooterComponent.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./grid.service":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/grid.service.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./form/FormGridHeader.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/FormGridHeader.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./form/FormGridBody.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/FormGridBody.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./form/FormGridFooter.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/FormGridFooter.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./submission/SubmissionGridHeader.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/submission/SubmissionGridHeader.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./submission/SubmissionGridBody.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/submission/SubmissionGridBody.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./submission/SubmissionGridFooter.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/submission/SubmissionGridFooter.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./form/time-since.pipe":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/time-since.pipe.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":2907,"body":[{"type":"ExportNamedDeclaration","start":0,"end":43,"specifiers":[{"type":"ExportSpecifier","start":9,"end":19,"local":{"type":"Identifier","start":9,"end":19,"name":"FormioGrid"},"exported":{"type":"Identifier","start":9,"end":19,"name":"FormioGrid"}}],"source":{"type":"Literal","start":27,"end":42,"value":"./grid.module","raw":"'./grid.module'"},"attributes":[],"declaration":null},{"type":"ExportNamedDeclaration","start":44,"end":104,"specifiers":[{"type":"ExportSpecifier","start":53,"end":72,"local":{"type":"Identifier","start":53,"end":72,"name":"GridHeaderComponent"},"exported":{"type":"Identifier","start":53,"end":72,"name":"GridHeaderComponent"}}],"source":{"type":"Literal","start":80,"end":103,"value":"./GridHeaderComponent","raw":"'./GridHeaderComponent'"},"attributes":[],"declaration":null},{"type":"ExportNamedDeclaration","start":105,"end":165,"specifiers":[{"type":"ExportSpecifier","start":114,"end":133,"local":{"type":"Identifier","start":114,"end":133,"name":"GridFooterComponent"},"exported":{"type":"Identifier","start":114,"end":133,"name":"GridFooterComponent"}}],"source":{"type":"Literal","start":141,"end":164,"value":"./GridFooterComponent","raw":"'./GridFooterComponent'"},"attributes":[],"declaration":null},{"type":"ExportNamedDeclaration","start":166,"end":222,"specifiers":[{"type":"ExportSpecifier","start":175,"end":192,"local":{"type":"Identifier","start":175,"end":192,"name":"GridBodyComponent"},"exported":{"type":"Identifier","start":175,"end":192,"name":"GridBodyComponent"}}],"source":{"type":"Literal","start":200,"end":221,"value":"./GridBodyComponent","raw":"'./GridBodyComponent'"},"attributes":[],"declaration":null},{"type":"ExportNamedDeclaration","start":223,"end":297,"specifiers":[{"type":"ExportSpecifier","start":232,"end":255,"local":{"type":"Identifier","start":232,"end":255,"name":"FormGridHeaderComponent"},"exported":{"type":"Identifier","start":232,"end":255,"name":"FormGridHeaderComponent"}}],"source":{"type":"Literal","start":263,"end":296,"value":"./form/FormGridHeader.component","raw":"'./form/FormGridHeader.component'"},"attributes":[],"declaration":null},{"type":"ExportNamedDeclaration","start":298,"end":368,"specifiers":[{"type":"ExportSpecifier","start":307,"end":328,"local":{"type":"Identifier","start":307,"end":328,"name":"FormGridBodyComponent"},"exported":{"type":"Identifier","start":307,"end":328,"name":"FormGridBodyComponent"}}],"source":{"type":"Literal","start":336,"end":367,"value":"./form/FormGridBody.component","raw":"'./form/FormGridBody.component'"},"attributes":[],"declaration":null},{"type":"ExportNamedDeclaration","start":369,"end":443,"specifiers":[{"type":"ExportSpecifier","start":378,"end":401,"local":{"type":"Identifier","start":378,"end":401,"name":"FormGridFooterComponent"},"exported":{"type":"Identifier","start":378,"end":401,"name":"FormGridFooterComponent"}}],"source":{"type":"Literal","start":409,"end":442,"value":"./form/FormGridFooter.component","raw":"'./form/FormGridFooter.component'"},"attributes":[],"declaration":null},{"type":"ExportNamedDeclaration","start":444,"end":536,"specifiers":[{"type":"ExportSpecifier","start":453,"end":482,"local":{"type":"Identifier","start":453,"end":482,"name":"SubmissionGridHeaderComponent"},"exported":{"type":"Identifier","start":453,"end":482,"name":"SubmissionGridHeaderComponent"}}],"source":{"type":"Literal","start":490,"end":535,"value":"./submission/SubmissionGridHeader.component","raw":"'./submission/SubmissionGridHeader.component'"},"attributes":[],"declaration":null},{"type":"ExportNamedDeclaration","start":537,"end":625,"specifiers":[{"type":"ExportSpecifier","start":546,"end":573,"local":{"type":"Identifier","start":546,"end":573,"name":"SubmissionGridBodyComponent"},"exported":{"type":"Identifier","start":546,"end":573,"name":"SubmissionGridBodyComponent"}}],"source":{"type":"Literal","start":581,"end":624,"value":"./submission/SubmissionGridBody.component","raw":"'./submission/SubmissionGridBody.component'"},"attributes":[],"declaration":null},{"type":"ExportNamedDeclaration","start":626,"end":718,"specifiers":[{"type":"ExportSpecifier","start":635,"end":664,"local":{"type":"Identifier","start":635,"end":664,"name":"SubmissionGridFooterComponent"},"exported":{"type":"Identifier","start":635,"end":664,"name":"SubmissionGridFooterComponent"}}],"source":{"type":"Literal","start":672,"end":717,"value":"./submission/SubmissionGridFooter.component","raw":"'./submission/SubmissionGridFooter.component'"},"attributes":[],"declaration":null},{"type":"ExportNamedDeclaration","start":719,"end":774,"specifiers":[{"type":"ExportSpecifier","start":728,"end":747,"local":{"type":"Identifier","start":728,"end":747,"name":"FormioGridComponent"},"exported":{"type":"Identifier","start":728,"end":747,"name":"FormioGridComponent"}}],"source":{"type":"Literal","start":755,"end":773,"value":"./grid.component","raw":"'./grid.component'"},"attributes":[],"declaration":null},{"type":"ExportNamedDeclaration","start":775,"end":820,"specifiers":[{"type":"ExportSpecifier","start":784,"end":795,"local":{"type":"Identifier","start":784,"end":795,"name":"GridService"},"exported":{"type":"Identifier","start":784,"end":795,"name":"GridService"}}],"source":{"type":"Literal","start":803,"end":819,"value":"./grid.service","raw":"'./grid.service'"},"attributes":[],"declaration":null}],"_rollupRemoved":[{"end":2907,"start":821,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"export { FormioGrid } from './grid.module';\nexport { GridHeaderComponent } from './GridHeaderComponent';\nexport { GridFooterComponent } from './GridFooterComponent';\nexport { GridBodyComponent } from './GridBodyComponent';\nexport { FormGridHeaderComponent } from './form/FormGridHeader.component';\nexport { FormGridBodyComponent } from './form/FormGridBody.component';\nexport { FormGridFooterComponent } from './form/FormGridFooter.component';\nexport { SubmissionGridHeaderComponent } from './submission/SubmissionGridHeader.component';\nexport { SubmissionGridBodyComponent } from './submission/SubmissionGridBody.component';\nexport { SubmissionGridFooterComponent } from './submission/SubmissionGridFooter.component';\nexport { FormioGridComponent } from './grid.component';\nexport { GridService } from './grid.service';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9ncmlkL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQzVELE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQzVELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQ3hELE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBQzFFLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQ3RFLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLGlDQUF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hwb3J0IHsgU3VibWlzc2lvbkdyaWRCb2R5Q29tcG9uZW50IH0gZnJvbSAnLi9zdWJtaXNzaW9uL1N1Ym1pc3Npb25HcmlkQm9keS5jb21wb25lbnQnO1xuZXhwb3J0IHsgU3VibWlzc2lvbkdyaWRGb290ZXJDb21wb25lbnQgfSBmcm9tICcuL3N1Ym1pc3Npb24vU3VibWlzc2lvbkdyaWRGb290ZXIuY29tcG9uZW50JztcbmV4cG9ydCB7IEZvcm1pb0dyaWRDb21wb25lbnQgfSBmcm9tICcuL2dyaWQuY29tcG9uZW50JztcbmV4cG9ydCB7IEdyaWRTZXJ2aWNlIH0gZnJvbSAnLi9ncmlkLnNlcnZpY2UnO1xuIl19","customTransformCache":false,"dependencies":["/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/grid.module.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/GridHeaderComponent.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/GridFooterComponent.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/GridBodyComponent.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/FormGridHeader.component.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/FormGridBody.component.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/FormGridFooter.component.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/submission/SubmissionGridHeader.component.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/submission/SubmissionGridBody.component.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/submission/SubmissionGridFooter.component.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/grid.component.mjs","/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/grid.service.mjs"],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/index.mjs","meta":{},"moduleSideEffects":false,"originalCode":"export { FormioGrid } from './grid.module';\nexport { GridHeaderComponent } from './GridHeaderComponent';\nexport { GridFooterComponent } from './GridFooterComponent';\nexport { GridBodyComponent } from './GridBodyComponent';\nexport { FormGridHeaderComponent } from './form/FormGridHeader.component';\nexport { FormGridBodyComponent } from './form/FormGridBody.component';\nexport { FormGridFooterComponent } from './form/FormGridFooter.component';\nexport { SubmissionGridHeaderComponent } from './submission/SubmissionGridHeader.component';\nexport { SubmissionGridBodyComponent } from './submission/SubmissionGridBody.component';\nexport { SubmissionGridFooterComponent } from './submission/SubmissionGridFooter.component';\nexport { FormioGridComponent } from './grid.component';\nexport { GridService } from './grid.service';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9ncmlkL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQzVELE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQzVELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQ3hELE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBQzFFLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQ3RFLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBQzFFLE9BQU8sRU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RCb2R5Q29tcG9uZW50IH0gZnJvbSAnLi9zdWJtaXNzaW9uL1N1Ym1pc3Npb25HcmlkQm9keS5jb21wb25lbnQnO1xuZXhwb3J0IHsgU3VibWlzc2lvbkdyaWRGb290ZXJDb21wb25lbnQgfSBmcm9tICcuL3N1Ym1pc3Npb24vU3VibWlzc2lvbkdyaWRGb290ZXIuY29tcG9uZW50JztcbmV4cG9ydCB7IEZvcm1pb0dyaWRDb21wb25lbnQgfSBmcm9tICcuL2dyaWQuY29tcG9uZW50JztcbmV4cG9ydCB7IEdyaWRTZXJ2aWNlIH0gZnJvbSAnLi9ncmlkLnNlcnZpY2UnO1xuIl19","originalSourcemap":{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/index.ts"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,9],[19,0,0,19],[21,0,0,21],[27,0,0,27],[42,0,0,42],[43,0,0,43]],[[0,0,1,0],[7,0,1,7],[9,0,1,9],[28,0,1,28],[30,0,1,30],[36,0,1,36],[59,0,1,59],[60,0,1,60]],[[0,0,2,0],[7,0,2,7],[9,0,2,9],[28,0,2,28],[30,0,2,30],[36,0,2,36],[59,0,2,59],[60,0,2,60]],[[0,0,3,0],[7,0,3,7],[9,0,3,9],[26,0,3,26],[28,0,3,28],[34,0,3,34],[55,0,3,55],[56,0,3,56]],[[0,0,4,0],[7,0,4,7],[9,0,4,9],[32,0,4,32],[34,0,4,34],[40,0,4,40],[73,0,4,73],[74,0,4,74]],[[0,0,5,0],[7,0,5,7],[9,0,5,9],[30,0,5,30],[32,0,5,32],[38,0,5,38],[69,0,5,69],[70,0,5,70]],[[0,0,6,0],[7,0,6,7],[9,0,6,9],[32,0,6,32],[34,0,6,34],[40,0,6,40],[73,0,6,73],[74,0,6,74]],[[0,0,7,0],[7,0,7,7],[9,0,7,9],[38,0,7,38],[40,0,7,40],[46,0,7,46],[91,0,7,91],[92,0,7,92]],[[0,0,8,0],[7,0,8,7],[9,0,8,9],[36,0,8,36],[38,0,8,38],[44,0,8,44],[87,0,8,87],[88,0,8,88]],[[0,0,9,0],[7,0,9,7],[9,0,9,9],[38,0,9,38],[40,0,9,40],[46,0,9,46],[91,0,9,91],[92,0,9,92]],[[0,0,10,0],[7,0,10,7],[9,0,10,9],[28,0,10,28],[30,0,10,30],[36,0,10,36],[54,0,10,54],[55,0,10,55]],[[0,0,11,0],[7,0,11,7],[9,0,11,9],[20,0,11,20],[22,0,11,22],[28,0,11,28],[44,0,11,44],[45,0,11,45]]],"sourcesContent":["export { FormioGrid } from './grid.module';\nexport { GridHeaderComponent } from './GridHeaderComponent';\nexport { GridFooterComponent } from './GridFooterComponent';\nexport { GridBodyComponent } from './GridBodyComponent';\nexport { FormGridHeaderComponent } from './form/FormGridHeader.component';\nexport { FormGridBodyComponent } from './form/FormGridBody.component';\nexport { FormGridFooterComponent } from './form/FormGridFooter.component';\nexport { SubmissionGridHeaderComponent } from './submission/SubmissionGridHeader.component';\nexport { SubmissionGridBodyComponent } from './submission/SubmissionGridBody.component';\nexport { SubmissionGridFooterComponent } from './submission/SubmissionGridFooter.component';\nexport { FormioGridComponent } from './grid.component';\nexport { GridService } from './grid.service';\n"]},"resolvedIds":{"./grid.module":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/grid.module.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./GridHeaderComponent":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/GridHeaderComponent.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./GridFooterComponent":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/GridFooterComponent.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./GridBodyComponent":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/GridBodyComponent.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./grid.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/grid.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./grid.service":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/grid.service.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./form/FormGridHeader.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/FormGridHeader.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./form/FormGridFooter.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/FormGridFooter.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./submission/SubmissionGridHeader.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/submission/SubmissionGridHeader.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./form/FormGridBody.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/form/FormGridBody.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./submission/SubmissionGridFooter.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/submission/SubmissionGridFooter.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./submission/SubmissionGridBody.component":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/submission/SubmissionGridBody.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":523,"body":[{"type":"ExportAllDeclaration","start":48,"end":72,"exported":null,"source":{"type":"Literal","start":62,"end":71,"value":"./index","raw":"'./index'"},"attributes":[]}],"_rollupRemoved":[{"end":523,"start":73,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWlvLWFuZ3VsYXItZ3JpZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2dyaWQvc3JjL2Zvcm1pby1hbmd1bGFyLWdyaWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0=","customTransformCache":false,"dependencies":["/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/index.mjs"],"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/formio-angular-grid.mjs","meta":{},"moduleSideEffects":false,"originalCode":"/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWlvLWFuZ3VsYXItZ3JpZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2dyaWQvc3JjL2Zvcm1pby1hbmd1bGFyLWdyaWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0=","originalSourcemap":{"version":3,"file":"formio-angular-grid.js","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/formio-angular-grid.ts"],"names":[],"mappings":[[[0,0,0,0]],[],[[3,0,2,3]],[[0,0,4,0],[14,0,4,14],[23,0,4,23],[24,0,4,24]]],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]},"resolvedIds":{"./index":{"attributes":{},"external":false,"id":"/Users/brendanjbond/Projects/@formio/angular/dist/angular-formio/esm2022/grid/index.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]}],"plugins":{"node-resolve":{},"json":{},"file-loader":{}}}