@formio/angular 5.4.0-rc.2 → 5.5.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (529) hide show
  1. package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/01/e5/e23b89936960de6ad3508f850be720524a6231b49e8520d80bd5f9468e9404dd6ee313e5127d0648608ef8fa2b469c2c0f7c49f89162b05bbcce80461e9c +1 -0
  2. package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/03/23/c769271f9bbd8eda9edbc085d8f53d3bb02909ee0a22a3de1c89b7df544beced4e74167af785a6bf25e0c981807e78868d1032267e98cd714e7779902ff9 +1 -0
  3. package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/0c/7a/916bd866cb386cc87b9ea07c40edc23df9d726d1865e6699b42dedfbfb2a8364ced191aa62680a9297d7644cdfa64753b8975cc254c7c581f28bba0acd15 +1 -0
  4. package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/15/a9/1d68fcff615e0cffcaad777402e5642b8a3bd360ad0af813af9691e0b7309038151eac43ae8e67d6b3be5a00cfaea2667e654c24ea55ff4cd2f8b58dc2a7 +1 -0
  5. package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/22/f0/5cfa42afa778fe6e8c9d64a24c1a0c66e766ea8737f3336df95c535613589b840b5d7d45cfc0548bb91e69d1ec3acc0055e0d56b19fb05d7de846d1b8b43 +1 -0
  6. package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/43/05/c86feb68c6e6f17d2b1e7d4aadfbef2f8554b42c9e0b7516b22a7c34044b513c23987b00507d17cb8f89b9b762b5499483d4ec16708519940e00cee5863a +1 -0
  7. package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/52/5a/4fa0f73bf834435defcfd550b63ea9924b0f0af5d8cbfe2c79ee2a3efd8b4c50c47a048c8daf54afceec58ad38159c690afe1224832ecd8e724ff4030068 +1 -0
  8. package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/5f/1e/aef8c84037440da9067e57fe4fb8d14c4226a97e0d41a321755d9068d490b7c37504fd2e4345ca98b2c824b940fe036e499998be3343a89e6845767dc806 +1 -0
  9. package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/69/49/5bcde08bb3541360e80c857e93c622592b2605f53500ec939f264908603a030c9e3da2f7ec05883f3f8ccb19f158d4e249a665f5d6a46c6c8aae7ecb7ff2 +1 -0
  10. package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/81/f7/21b01b64900856c9f64f17129a8865cd92a471eb4c6dd452e870d5f3d685b57bc7a48759458d345cb081523d23b4f8ff7f3e6d133fcea11f971be8d7b396 +1 -0
  11. package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/94/37/128b088664cddaff6cbdcabc604d8f559d8b8f7c3655c1e42d86e9d91c3e51483fff7e27be62ca9790fc43d271fd4c87d2246c5423f9e681793832bd3b4e +1 -0
  12. package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/9c/21/3b8af7b6ee09c29bf340610026191af56f9ba1cba1f5e4476424775d5e322f84d7e900c4d264d39804cebf3dcb5aaa5eb5e9d8fd143bc3a8aa76c3d5325e +1 -0
  13. package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/a2/a1/90177481ee6a42670513d750763246aef60819ab74d0835ca92f243cd8970edc9c6e2d63a576e9edb1f702810a8632512b623550c454d16596aa29f6553a +1 -0
  14. package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/ab/fd/668e4582483cadf906c6b8199541af6c4c843761aa3d2372088613a1b17498c302709580ea641920b5c1e67265bf88e6e3901a210be18a8f24bc58743200 +1 -0
  15. package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/af/5c/97d9a08342685ee95844b54aed260370df0de7c2408ec7b14f7da3972c811ee5a4cae7be4f51de07dd039c8639ec4e9008733bcf0b6a438b29a83d7fabe3 +1 -0
  16. package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/b9/9d/f7b80ff9e7ab8eb61b27b29fa5b2790f18fda8b2d23d4e821ede655c7f981c37d90094cf772ec02b8fc1730b94bd8154534a39191b9a9fc7de88974d57f4 +1 -0
  17. package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/ba/5d/d939f6c0890924d0234b6253e4c7baab7e285c4e9e3b838d4f223f5365ce00c421e48383fc21ecdf847e1592936f5be80b0d20ea3db471bfe39e181c091a +1 -0
  18. package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/c3/a1/25be872308b2510aa4e49fee9fb3708fe45d0526c4094a8b1af3bf8edd7e3c5cfb58a1c15523673b91a4c02bd4ec7baa1b88ec8ab73c7e3dde53898fe98a +1 -0
  19. package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/c7/4b/efaebbbabff0924b290dafa529aee821d250fc178047868b7f63c849de6af1f9557825b665fd50a87cf363e2967a7913e60a9860cac818737c43f088a0b6 +1 -0
  20. package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/e8/bf/a382f2ee2851df30c90d614c8104b97c8352c9d894966fe19f3c5ae632bc3fdf2c4879c1f9ec67fb28afdf19cd1683e9305c193d6e82835b688e3474447e +1 -0
  21. package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/e9/87/edf15f2af87d650e35a6dd3675d7e6910c0ee3f095e95542c581d3b89e3cfde325714bf4a93e1c7665bc33adbbfe4cc49c073ac122ee697681d01d041eba +1 -0
  22. package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/e9/ca/53ff813610ae5d57a25518e6546b659a092de2c929fd43130db59358947aa9aa5797289f7ca39fe550d2e41050a69cb26e6b5dd6ebbcae0207ab08474dc8 +1 -0
  23. package/.angular/cache/15.0.1/ng-packagr/content-v2/sha512/ff/c7/bd261ba278c31a35ab220845891f83c1a18a7cf5f398b7a4332a32e1644dd6c07d5895d3cdfc546b48c66757613d53238d475eb2ce78d9fdf5e917b917f7 +1 -0
  24. package/.angular/cache/15.0.1/ng-packagr/index-v5/15/37/6487aecd2b887fd9938044ee0b6b002f232abb4c6aec11e76060169b9e17 +2 -0
  25. package/.angular/cache/15.0.1/ng-packagr/index-v5/16/6d/027642a28349d275131e5f0b4ad89dd3195a2f18a3f50faa97040e54a6ed +2 -0
  26. package/.angular/cache/15.0.1/ng-packagr/index-v5/20/1f/18abae6c79ef08c9450a94eb2437726e500da0b14300d33930df97307cb0 +2 -0
  27. package/.angular/cache/15.0.1/ng-packagr/index-v5/2c/fe/611a98b5c956bb3f524e1f272f4b9774f7fc218f52aba3dc2cab06fcf387 +2 -0
  28. package/.angular/cache/15.0.1/ng-packagr/index-v5/3d/b3/64dc80c6357f1a2b2c91aa11aa6ecb61f21e75fa0bbbc24e6c943d6ec9c4 +2 -0
  29. package/.angular/cache/15.0.1/ng-packagr/index-v5/45/ac/c73386e65ccdcdd759a1005f9529b60e5f62b952e99c3ff44fdf91ca3597 +2 -0
  30. package/.angular/cache/15.0.1/ng-packagr/index-v5/4d/17/ade79a816bd9ec1fe3ed0094c6663e36d494fb60dc2fd5b9152ef6a92154 +2 -0
  31. package/.angular/cache/15.0.1/ng-packagr/index-v5/5a/5a/2ea76a4fa29eeba07bf099c32987d2c0e772b5550ae461c48f330004eb13 +2 -0
  32. package/.angular/cache/15.0.1/ng-packagr/index-v5/69/a1/d2c99d238cd15fce83d764481d6ecd5aba0f315b2013cc786399af5bba7e +2 -0
  33. package/.angular/cache/15.0.1/ng-packagr/index-v5/6e/0f/2a2f6d0f5e763edefe274f04be01a682b7ff3b273317529d0811e7fff34d +2 -0
  34. package/.angular/cache/15.0.1/ng-packagr/index-v5/81/90/4cdd95a8c37245adad95077bb618adab90df01de114668e4ebf3f2a1e743 +2 -0
  35. package/.angular/cache/15.0.1/ng-packagr/index-v5/88/38/558f66bfdbac1cf6bb7af18752df87101e04586813c23311b30277327000 +2 -0
  36. package/.angular/cache/15.0.1/ng-packagr/index-v5/90/12/9dab17b6ac5409fb5088b46f01d7fc9fa2ae6f497b210ad215149856deac +2 -0
  37. package/.angular/cache/15.0.1/ng-packagr/index-v5/9a/be/450f4f44251c1ada84de327410e3cd1122c019774eeeb19a32e25257c00b +2 -0
  38. package/.angular/cache/15.0.1/ng-packagr/index-v5/9d/fc/b6889318df1cc51a1588cacb4017e725777e9c218239d49c9f81eb2fb5a0 +2 -0
  39. package/.angular/cache/15.0.1/ng-packagr/index-v5/ae/7e/c1b7a3d4262ee1e7602bffa167279a4f87c28fb896a6ced429b70103b7df +2 -0
  40. package/.angular/cache/15.0.1/ng-packagr/index-v5/bc/3e/9599aa4a23f1e642f1c9e194c6ab52c84468a90b96b7e736f9bd5a607a19 +2 -0
  41. package/.angular/cache/15.0.1/ng-packagr/index-v5/c6/36/d327400b7b6399d718fc68d5cac0cbd87552b456c2c2d5ce5b614ee10009 +2 -0
  42. package/.angular/cache/15.0.1/ng-packagr/index-v5/cc/ed/ffba3de0599f554db4d2b4a12e7099247521660f7cfcd92971593e98eaf1 +2 -0
  43. package/.angular/cache/15.0.1/ng-packagr/index-v5/cf/0c/9b4c301350d8bcec537c0c04a268f1710fea9e9635a6c5015799d7c77c41 +2 -0
  44. package/.angular/cache/15.0.1/ng-packagr/index-v5/de/45/beac4cd852a628afa272062823137beb64fea6591b775133caf55358d021 +2 -0
  45. package/.angular/cache/15.0.1/ng-packagr/index-v5/e1/de/7105702be767c43ff63b8192a07fc2a6685d997867cd0b39c09599acf769 +2 -0
  46. package/.angular/cache/15.0.1/ng-packagr/index-v5/f6/d8/e94a21d22f73e0e1744e3509373c84104e0267b44be10ef1597a9bce2dd0 +2 -0
  47. package/.dccache +1 -0
  48. package/.dockerignore +5 -0
  49. package/.editorconfig +13 -0
  50. package/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
  51. package/.github/ISSUE_TEMPLATE/custom-components-support-request.md +15 -0
  52. package/.github/ISSUE_TEMPLATE/question.md +8 -0
  53. package/.travis.yml +4 -0
  54. package/.yo-rc.json +7 -0
  55. package/CHANGELOG.md +1045 -0
  56. package/Dockerfile +20 -0
  57. package/LICENSE +21 -0
  58. package/README.md +170 -13
  59. package/angular.json +38 -0
  60. package/bs-config.json +11 -0
  61. package/{FormioBaseComponent.d.ts → dist/angular-formio/FormioBaseComponent.d.ts} +1 -1
  62. package/{FormioBaseComponent.d.ts.map → dist/angular-formio/FormioBaseComponent.d.ts.map} +0 -0
  63. package/dist/angular-formio/README.md +24 -0
  64. package/{auth → dist/angular-formio/auth}/auth.component.d.ts +1 -1
  65. package/{auth → dist/angular-formio/auth}/auth.component.d.ts.map +0 -0
  66. package/{auth → dist/angular-formio/auth}/auth.config.d.ts +0 -0
  67. package/{auth → dist/angular-formio/auth}/auth.config.d.ts.map +0 -0
  68. package/{auth → dist/angular-formio/auth}/auth.module.d.ts +0 -0
  69. package/{auth → dist/angular-formio/auth}/auth.module.d.ts.map +0 -0
  70. package/{auth → dist/angular-formio/auth}/auth.routes.d.ts +0 -0
  71. package/{auth → dist/angular-formio/auth}/auth.routes.d.ts.map +0 -0
  72. package/{auth → dist/angular-formio/auth}/auth.service.d.ts +1 -0
  73. package/{auth → dist/angular-formio/auth}/auth.service.d.ts.map +1 -1
  74. package/{auth → dist/angular-formio/auth}/formio-angular-auth.d.ts.map +0 -0
  75. package/{auth → dist/angular-formio/auth}/index.d.ts +0 -0
  76. package/{auth → dist/angular-formio/auth}/index.d.ts.map +0 -0
  77. package/{auth → dist/angular-formio/auth}/login/login.component.d.ts +1 -1
  78. package/{auth → dist/angular-formio/auth}/login/login.component.d.ts.map +0 -0
  79. package/{auth → dist/angular-formio/auth}/register/register.component.d.ts +1 -1
  80. package/{auth → dist/angular-formio/auth}/register/register.component.d.ts.map +0 -0
  81. package/{auth → dist/angular-formio/auth}/resetpass/resetpass.component.d.ts +1 -1
  82. package/{auth → dist/angular-formio/auth}/resetpass/resetpass.component.d.ts.map +0 -0
  83. package/{components → dist/angular-formio/components}/alerts/formio.alerts.component.d.ts +1 -1
  84. package/{components → dist/angular-formio/components}/alerts/formio.alerts.component.d.ts.map +0 -0
  85. package/{components → dist/angular-formio/components}/alerts/formio.alerts.d.ts +0 -0
  86. package/{components → dist/angular-formio/components}/alerts/formio.alerts.d.ts.map +0 -0
  87. package/{components → dist/angular-formio/components}/alerts/parse-html-content.pipe.d.ts +0 -0
  88. package/{components → dist/angular-formio/components}/alerts/parse-html-content.pipe.d.ts.map +0 -0
  89. package/{components → dist/angular-formio/components}/formbuilder/formbuilder.component.d.ts +1 -1
  90. package/{components → dist/angular-formio/components}/formbuilder/formbuilder.component.d.ts.map +0 -0
  91. package/{components → dist/angular-formio/components}/formio/formio.component.d.ts +1 -1
  92. package/{components → dist/angular-formio/components}/formio/formio.component.d.ts.map +0 -0
  93. package/{components → dist/angular-formio/components}/loader/formio.loader.component.d.ts +1 -1
  94. package/{components → dist/angular-formio/components}/loader/formio.loader.component.d.ts.map +0 -0
  95. package/{core.d.ts → dist/angular-formio/core.d.ts} +0 -0
  96. package/{core.d.ts.map → dist/angular-formio/core.d.ts.map} +0 -0
  97. package/{custom-component → dist/angular-formio/custom-component}/create-custom-component.d.ts +0 -0
  98. package/{custom-component → dist/angular-formio/custom-component}/create-custom-component.d.ts.map +0 -0
  99. package/{custom-component → dist/angular-formio/custom-component}/custom-tags.service.d.ts +0 -0
  100. package/{custom-component → dist/angular-formio/custom-component}/custom-tags.service.d.ts.map +0 -0
  101. package/{custom-component → dist/angular-formio/custom-component}/register-custom-component.d.ts +0 -0
  102. package/{custom-component → dist/angular-formio/custom-component}/register-custom-component.d.ts.map +0 -0
  103. package/{elements.common.d.ts → dist/angular-formio/elements.common.d.ts} +0 -0
  104. package/{elements.common.d.ts.map → dist/angular-formio/elements.common.d.ts.map} +0 -0
  105. package/dist/angular-formio/esm2020/FormioBaseComponent.mjs +533 -0
  106. package/dist/angular-formio/esm2020/auth/auth.component.mjs +25 -0
  107. package/dist/angular-formio/esm2020/auth/auth.config.mjs +15 -0
  108. package/dist/angular-formio/esm2020/auth/auth.module.mjs +47 -0
  109. package/{esm2020 → dist/angular-formio/esm2020}/auth/auth.routes.mjs +0 -0
  110. package/{esm2020 → dist/angular-formio/esm2020}/auth/auth.service.mjs +13 -6
  111. package/{esm2020 → dist/angular-formio/esm2020}/auth/formio-angular-auth.mjs +0 -0
  112. package/{esm2020 → dist/angular-formio/esm2020}/auth/index.mjs +0 -0
  113. package/dist/angular-formio/esm2020/auth/login/login.component.mjs +22 -0
  114. package/dist/angular-formio/esm2020/auth/register/register.component.mjs +22 -0
  115. package/dist/angular-formio/esm2020/auth/resetpass/resetpass.component.mjs +22 -0
  116. package/dist/angular-formio/esm2020/components/alerts/formio.alerts.component.mjs +46 -0
  117. package/{esm2020 → dist/angular-formio/esm2020}/components/alerts/formio.alerts.mjs +0 -0
  118. package/dist/angular-formio/esm2020/components/alerts/parse-html-content.pipe.mjs +19 -0
  119. package/dist/angular-formio/esm2020/components/formbuilder/formbuilder.component.mjs +195 -0
  120. package/dist/angular-formio/esm2020/components/formio/formio.component.mjs +82 -0
  121. package/dist/angular-formio/esm2020/components/loader/formio.loader.component.mjs +23 -0
  122. package/{esm2020 → dist/angular-formio/esm2020}/core.mjs +0 -0
  123. package/{esm2020 → dist/angular-formio/esm2020}/custom-component/create-custom-component.mjs +0 -0
  124. package/dist/angular-formio/esm2020/custom-component/custom-tags.service.mjs +16 -0
  125. package/{esm2020 → dist/angular-formio/esm2020}/custom-component/register-custom-component.mjs +0 -0
  126. package/{esm2020 → dist/angular-formio/esm2020}/elements.common.mjs +0 -0
  127. package/{esm2020 → dist/angular-formio/esm2020}/formio-angular.mjs +0 -0
  128. package/{esm2020 → dist/angular-formio/esm2020}/formio-promise.service.mjs +0 -0
  129. package/{esm2020 → dist/angular-formio/esm2020}/formio.common.mjs +0 -0
  130. package/dist/angular-formio/esm2020/formio.config.mjs +14 -0
  131. package/dist/angular-formio/esm2020/formio.module.mjs +55 -0
  132. package/{esm2020 → dist/angular-formio/esm2020}/formio.service.mjs +0 -0
  133. package/{esm2020 → dist/angular-formio/esm2020}/formio.utils.mjs +0 -0
  134. package/dist/angular-formio/esm2020/grid/GridBodyComponent.mjs +86 -0
  135. package/dist/angular-formio/esm2020/grid/GridFooterComponent.mjs +41 -0
  136. package/dist/angular-formio/esm2020/grid/GridHeaderComponent.mjs +35 -0
  137. package/dist/angular-formio/esm2020/grid/form/FormGridBody.component.mjs +117 -0
  138. package/dist/angular-formio/esm2020/grid/form/FormGridFooter.component.mjs +110 -0
  139. package/dist/angular-formio/esm2020/grid/form/FormGridHeader.component.mjs +52 -0
  140. package/{esm2020 → dist/angular-formio/esm2020}/grid/form/index.mjs +0 -0
  141. package/{esm2020 → dist/angular-formio/esm2020}/grid/form/time-since.pipe.mjs +9 -9
  142. package/{esm2020 → dist/angular-formio/esm2020}/grid/formio-angular-grid.mjs +0 -0
  143. package/dist/angular-formio/esm2020/grid/grid.component.mjs +297 -0
  144. package/dist/angular-formio/esm2020/grid/grid.module.mjs +80 -0
  145. package/dist/angular-formio/esm2020/grid/grid.service.mjs +17 -0
  146. package/{esm2020 → dist/angular-formio/esm2020}/grid/index.mjs +0 -0
  147. package/dist/angular-formio/esm2020/grid/submission/SubmissionGridBody.component.mjs +73 -0
  148. package/dist/angular-formio/esm2020/grid/submission/SubmissionGridFooter.component.mjs +101 -0
  149. package/dist/angular-formio/esm2020/grid/submission/SubmissionGridHeader.component.mjs +93 -0
  150. package/{esm2020 → dist/angular-formio/esm2020}/grid/submission/index.mjs +0 -0
  151. package/{esm2020 → dist/angular-formio/esm2020}/grid/types/grid-column.mjs +0 -0
  152. package/{esm2020 → dist/angular-formio/esm2020}/grid/types/grid-footer-positions.mjs +0 -0
  153. package/{esm2020 → dist/angular-formio/esm2020}/grid/types/grid-header.mjs +0 -0
  154. package/{esm2020 → dist/angular-formio/esm2020}/index.mjs +0 -0
  155. package/dist/angular-formio/esm2020/manager/create/create.component.mjs +59 -0
  156. package/dist/angular-formio/esm2020/manager/delete/delete.component.mjs +52 -0
  157. package/dist/angular-formio/esm2020/manager/edit/edit.component.mjs +161 -0
  158. package/dist/angular-formio/esm2020/manager/form/form.component.mjs +167 -0
  159. package/dist/angular-formio/esm2020/manager/form-manager.config.mjs +15 -0
  160. package/dist/angular-formio/esm2020/manager/form-manager.module.mjs +84 -0
  161. package/{esm2020 → dist/angular-formio/esm2020}/manager/form-manager.routes.mjs +0 -0
  162. package/{esm2020 → dist/angular-formio/esm2020}/manager/form-manager.service.mjs +6 -6
  163. package/{esm2020 → dist/angular-formio/esm2020}/manager/formio-angular-manager.mjs +0 -0
  164. package/dist/angular-formio/esm2020/manager/index/index.component.mjs +126 -0
  165. package/{esm2020 → dist/angular-formio/esm2020}/manager/index.mjs +0 -0
  166. package/dist/angular-formio/esm2020/manager/submission/delete/delete.component.mjs +43 -0
  167. package/dist/angular-formio/esm2020/manager/submission/edit/edit.component.mjs +28 -0
  168. package/dist/angular-formio/esm2020/manager/submission/index/index.component.mjs +28 -0
  169. package/dist/angular-formio/esm2020/manager/submission/submission/submission.component.mjs +64 -0
  170. package/dist/angular-formio/esm2020/manager/submission/view/view.component.mjs +22 -0
  171. package/dist/angular-formio/esm2020/manager/view/view.component.mjs +55 -0
  172. package/dist/angular-formio/esm2020/resource/create/create.component.mjs +57 -0
  173. package/dist/angular-formio/esm2020/resource/delete/delete.component.mjs +38 -0
  174. package/dist/angular-formio/esm2020/resource/edit/edit.component.mjs +42 -0
  175. package/{esm2020 → dist/angular-formio/esm2020}/resource/formio-angular-resource.mjs +0 -0
  176. package/dist/angular-formio/esm2020/resource/index/index.component.mjs +70 -0
  177. package/{esm2020 → dist/angular-formio/esm2020}/resource/index.mjs +0 -0
  178. package/dist/angular-formio/esm2020/resource/resource.component.mjs +72 -0
  179. package/dist/angular-formio/esm2020/resource/resource.config.mjs +15 -0
  180. package/dist/angular-formio/esm2020/resource/resource.module.mjs +63 -0
  181. package/{esm2020 → dist/angular-formio/esm2020}/resource/resource.routes.mjs +0 -0
  182. package/{esm2020 → dist/angular-formio/esm2020}/resource/resource.service.mjs +8 -8
  183. package/dist/angular-formio/esm2020/resource/resources.service.mjs +22 -0
  184. package/dist/angular-formio/esm2020/resource/view/view.component.mjs +27 -0
  185. package/{esm2020 → dist/angular-formio/esm2020}/types/alerts-position.mjs +0 -0
  186. package/{esm2020 → dist/angular-formio/esm2020}/types/formio-metadata.mjs +0 -0
  187. package/{esm2020 → dist/angular-formio/esm2020}/types/formio-submission.mjs +0 -0
  188. package/{fesm2020 → dist/angular-formio/fesm2015}/formio-angular-auth.mjs +101 -34
  189. package/dist/angular-formio/fesm2015/formio-angular-auth.mjs.map +1 -0
  190. package/dist/angular-formio/fesm2015/formio-angular-grid.mjs +1255 -0
  191. package/dist/angular-formio/fesm2015/formio-angular-grid.mjs.map +1 -0
  192. package/dist/angular-formio/fesm2015/formio-angular-manager.mjs +1178 -0
  193. package/dist/angular-formio/fesm2015/formio-angular-manager.mjs.map +1 -0
  194. package/{fesm2015 → dist/angular-formio/fesm2015}/formio-angular-resource.mjs +175 -50
  195. package/dist/angular-formio/fesm2015/formio-angular-resource.mjs.map +1 -0
  196. package/{fesm2015 → dist/angular-formio/fesm2015}/formio-angular.mjs +188 -53
  197. package/dist/angular-formio/fesm2015/formio-angular.mjs.map +1 -0
  198. package/dist/angular-formio/fesm2020/formio-angular-auth.mjs +330 -0
  199. package/dist/angular-formio/fesm2020/formio-angular-auth.mjs.map +1 -0
  200. package/dist/angular-formio/fesm2020/formio-angular-grid.mjs +1108 -0
  201. package/dist/angular-formio/fesm2020/formio-angular-grid.mjs.map +1 -0
  202. package/dist/angular-formio/fesm2020/formio-angular-manager.mjs +1066 -0
  203. package/dist/angular-formio/fesm2020/formio-angular-manager.mjs.map +1 -0
  204. package/dist/angular-formio/fesm2020/formio-angular-resource.mjs +582 -0
  205. package/dist/angular-formio/fesm2020/formio-angular-resource.mjs.map +1 -0
  206. package/dist/angular-formio/fesm2020/formio-angular.mjs +1253 -0
  207. package/dist/angular-formio/fesm2020/formio-angular.mjs.map +1 -0
  208. package/{formio-angular.d.ts.map → dist/angular-formio/formio-angular.d.ts.map} +0 -0
  209. package/{formio-promise.service.d.ts → dist/angular-formio/formio-promise.service.d.ts} +0 -0
  210. package/{formio-promise.service.d.ts.map → dist/angular-formio/formio-promise.service.d.ts.map} +0 -0
  211. package/{formio.common.d.ts → dist/angular-formio/formio.common.d.ts} +0 -0
  212. package/{formio.common.d.ts.map → dist/angular-formio/formio.common.d.ts.map} +0 -0
  213. package/{formio.config.d.ts → dist/angular-formio/formio.config.d.ts} +0 -0
  214. package/{formio.config.d.ts.map → dist/angular-formio/formio.config.d.ts.map} +0 -0
  215. package/{formio.module.d.ts → dist/angular-formio/formio.module.d.ts} +0 -0
  216. package/{formio.module.d.ts.map → dist/angular-formio/formio.module.d.ts.map} +0 -0
  217. package/{formio.service.d.ts → dist/angular-formio/formio.service.d.ts} +0 -0
  218. package/{formio.service.d.ts.map → dist/angular-formio/formio.service.d.ts.map} +0 -0
  219. package/{formio.utils.d.ts → dist/angular-formio/formio.utils.d.ts} +0 -0
  220. package/{formio.utils.d.ts.map → dist/angular-formio/formio.utils.d.ts.map} +0 -0
  221. package/{grid → dist/angular-formio/grid}/GridBodyComponent.d.ts +1 -1
  222. package/{grid → dist/angular-formio/grid}/GridBodyComponent.d.ts.map +0 -0
  223. package/{grid → dist/angular-formio/grid}/GridFooterComponent.d.ts +1 -1
  224. package/{grid → dist/angular-formio/grid}/GridFooterComponent.d.ts.map +0 -0
  225. package/{grid → dist/angular-formio/grid}/GridHeaderComponent.d.ts +1 -1
  226. package/{grid → dist/angular-formio/grid}/GridHeaderComponent.d.ts.map +0 -0
  227. package/{grid → dist/angular-formio/grid}/form/FormGridBody.component.d.ts +1 -1
  228. package/{grid → dist/angular-formio/grid}/form/FormGridBody.component.d.ts.map +0 -0
  229. package/{grid → dist/angular-formio/grid}/form/FormGridFooter.component.d.ts +1 -1
  230. package/{grid → dist/angular-formio/grid}/form/FormGridFooter.component.d.ts.map +0 -0
  231. package/{grid → dist/angular-formio/grid}/form/FormGridHeader.component.d.ts +1 -1
  232. package/{grid → dist/angular-formio/grid}/form/FormGridHeader.component.d.ts.map +0 -0
  233. package/{grid → dist/angular-formio/grid}/form/index.d.ts +0 -0
  234. package/{grid → dist/angular-formio/grid}/form/index.d.ts.map +0 -0
  235. package/{grid → dist/angular-formio/grid}/form/time-since.pipe.d.ts +0 -0
  236. package/{grid → dist/angular-formio/grid}/form/time-since.pipe.d.ts.map +0 -0
  237. package/{grid → dist/angular-formio/grid}/formio-angular-grid.d.ts.map +0 -0
  238. package/{grid → dist/angular-formio/grid}/grid.component.d.ts +1 -1
  239. package/{grid → dist/angular-formio/grid}/grid.component.d.ts.map +0 -0
  240. package/{grid → dist/angular-formio/grid}/grid.module.d.ts +0 -0
  241. package/{grid → dist/angular-formio/grid}/grid.module.d.ts.map +0 -0
  242. package/{grid → dist/angular-formio/grid}/grid.service.d.ts +0 -0
  243. package/{grid → dist/angular-formio/grid}/grid.service.d.ts.map +0 -0
  244. package/{grid → dist/angular-formio/grid}/index.d.ts +0 -0
  245. package/{grid → dist/angular-formio/grid}/index.d.ts.map +0 -0
  246. package/{grid → dist/angular-formio/grid}/submission/SubmissionGridBody.component.d.ts +1 -1
  247. package/{grid → dist/angular-formio/grid}/submission/SubmissionGridBody.component.d.ts.map +0 -0
  248. package/{grid → dist/angular-formio/grid}/submission/SubmissionGridFooter.component.d.ts +1 -1
  249. package/{grid → dist/angular-formio/grid}/submission/SubmissionGridFooter.component.d.ts.map +0 -0
  250. package/{grid → dist/angular-formio/grid}/submission/SubmissionGridHeader.component.d.ts +1 -1
  251. package/{grid → dist/angular-formio/grid}/submission/SubmissionGridHeader.component.d.ts.map +0 -0
  252. package/{grid → dist/angular-formio/grid}/submission/index.d.ts +0 -0
  253. package/{grid → dist/angular-formio/grid}/submission/index.d.ts.map +0 -0
  254. package/{grid → dist/angular-formio/grid}/types/grid-column.d.ts +0 -0
  255. package/{grid → dist/angular-formio/grid}/types/grid-column.d.ts.map +0 -0
  256. package/{grid → dist/angular-formio/grid}/types/grid-footer-positions.d.ts +0 -0
  257. package/{grid → dist/angular-formio/grid}/types/grid-footer-positions.d.ts.map +0 -0
  258. package/{grid → dist/angular-formio/grid}/types/grid-header.d.ts +0 -0
  259. package/{grid → dist/angular-formio/grid}/types/grid-header.d.ts.map +0 -0
  260. package/{index.d.ts → dist/angular-formio/index.d.ts} +0 -0
  261. package/{index.d.ts.map → dist/angular-formio/index.d.ts.map} +0 -0
  262. package/{manager → dist/angular-formio/manager}/create/create.component.d.ts +1 -1
  263. package/{manager → dist/angular-formio/manager}/create/create.component.d.ts.map +0 -0
  264. package/{manager → dist/angular-formio/manager}/delete/delete.component.d.ts +1 -1
  265. package/{manager → dist/angular-formio/manager}/delete/delete.component.d.ts.map +0 -0
  266. package/{manager → dist/angular-formio/manager}/edit/edit.component.d.ts +1 -1
  267. package/{manager → dist/angular-formio/manager}/edit/edit.component.d.ts.map +0 -0
  268. package/{manager → dist/angular-formio/manager}/form/form.component.d.ts +1 -1
  269. package/{manager → dist/angular-formio/manager}/form/form.component.d.ts.map +0 -0
  270. package/{manager → dist/angular-formio/manager}/form-manager.config.d.ts +0 -0
  271. package/{manager → dist/angular-formio/manager}/form-manager.config.d.ts.map +0 -0
  272. package/{manager → dist/angular-formio/manager}/form-manager.module.d.ts +0 -0
  273. package/{manager → dist/angular-formio/manager}/form-manager.module.d.ts.map +0 -0
  274. package/{manager → dist/angular-formio/manager}/form-manager.routes.d.ts +0 -0
  275. package/{manager → dist/angular-formio/manager}/form-manager.routes.d.ts.map +0 -0
  276. package/{manager → dist/angular-formio/manager}/form-manager.service.d.ts +0 -0
  277. package/{manager → dist/angular-formio/manager}/form-manager.service.d.ts.map +0 -0
  278. package/{manager → dist/angular-formio/manager}/formio-angular-manager.d.ts.map +0 -0
  279. package/{manager → dist/angular-formio/manager}/index/index.component.d.ts +1 -1
  280. package/{manager → dist/angular-formio/manager}/index/index.component.d.ts.map +0 -0
  281. package/{manager → dist/angular-formio/manager}/index.d.ts +0 -0
  282. package/{manager → dist/angular-formio/manager}/index.d.ts.map +0 -0
  283. package/{manager → dist/angular-formio/manager}/submission/delete/delete.component.d.ts +1 -1
  284. package/{manager → dist/angular-formio/manager}/submission/delete/delete.component.d.ts.map +0 -0
  285. package/{manager → dist/angular-formio/manager}/submission/edit/edit.component.d.ts +1 -1
  286. package/{manager → dist/angular-formio/manager}/submission/edit/edit.component.d.ts.map +0 -0
  287. package/{manager → dist/angular-formio/manager}/submission/index/index.component.d.ts +1 -1
  288. package/{manager → dist/angular-formio/manager}/submission/index/index.component.d.ts.map +0 -0
  289. package/{manager → dist/angular-formio/manager}/submission/submission/submission.component.d.ts +1 -1
  290. package/{manager → dist/angular-formio/manager}/submission/submission/submission.component.d.ts.map +0 -0
  291. package/{manager → dist/angular-formio/manager}/submission/view/view.component.d.ts +1 -1
  292. package/{manager → dist/angular-formio/manager}/submission/view/view.component.d.ts.map +0 -0
  293. package/{manager → dist/angular-formio/manager}/view/view.component.d.ts +1 -1
  294. package/{manager → dist/angular-formio/manager}/view/view.component.d.ts.map +0 -0
  295. package/dist/angular-formio/package.json +94 -0
  296. package/{resource → dist/angular-formio/resource}/create/create.component.d.ts +1 -1
  297. package/{resource → dist/angular-formio/resource}/create/create.component.d.ts.map +0 -0
  298. package/{resource → dist/angular-formio/resource}/delete/delete.component.d.ts +1 -1
  299. package/{resource → dist/angular-formio/resource}/delete/delete.component.d.ts.map +0 -0
  300. package/{resource → dist/angular-formio/resource}/edit/edit.component.d.ts +1 -1
  301. package/{resource → dist/angular-formio/resource}/edit/edit.component.d.ts.map +0 -0
  302. package/{resource → dist/angular-formio/resource}/formio-angular-resource.d.ts.map +0 -0
  303. package/{resource → dist/angular-formio/resource}/index/index.component.d.ts +1 -1
  304. package/{resource → dist/angular-formio/resource}/index/index.component.d.ts.map +0 -0
  305. package/{resource → dist/angular-formio/resource}/index.d.ts +0 -0
  306. package/{resource → dist/angular-formio/resource}/index.d.ts.map +0 -0
  307. package/{resource → dist/angular-formio/resource}/resource.component.d.ts +1 -1
  308. package/{resource → dist/angular-formio/resource}/resource.component.d.ts.map +0 -0
  309. package/{resource → dist/angular-formio/resource}/resource.config.d.ts +0 -0
  310. package/{resource → dist/angular-formio/resource}/resource.config.d.ts.map +0 -0
  311. package/{resource → dist/angular-formio/resource}/resource.module.d.ts +0 -0
  312. package/{resource → dist/angular-formio/resource}/resource.module.d.ts.map +0 -0
  313. package/{resource → dist/angular-formio/resource}/resource.routes.d.ts +0 -0
  314. package/{resource → dist/angular-formio/resource}/resource.routes.d.ts.map +0 -0
  315. package/{resource → dist/angular-formio/resource}/resource.service.d.ts +0 -0
  316. package/{resource → dist/angular-formio/resource}/resource.service.d.ts.map +0 -0
  317. package/{resource → dist/angular-formio/resource}/resources.service.d.ts +0 -0
  318. package/{resource → dist/angular-formio/resource}/resources.service.d.ts.map +0 -0
  319. package/{resource → dist/angular-formio/resource}/view/view.component.d.ts +1 -1
  320. package/{resource → dist/angular-formio/resource}/view/view.component.d.ts.map +0 -0
  321. package/{types → dist/angular-formio/types}/alerts-position.d.ts +0 -0
  322. package/{types → dist/angular-formio/types}/alerts-position.d.ts.map +0 -0
  323. package/{types → dist/angular-formio/types}/formio-metadata.d.ts +0 -0
  324. package/{types → dist/angular-formio/types}/formio-metadata.d.ts.map +0 -0
  325. package/{types → dist/angular-formio/types}/formio-submission.d.ts +0 -0
  326. package/{types → dist/angular-formio/types}/formio-submission.d.ts.map +0 -0
  327. package/package.json +56 -72
  328. package/projects/angular-formio/README.md +24 -0
  329. package/projects/angular-formio/auth/ng-package.json +5 -0
  330. package/projects/angular-formio/auth/src/auth.component.html +12 -0
  331. package/projects/angular-formio/auth/src/auth.component.ts +5 -0
  332. package/projects/angular-formio/auth/src/auth.config.ts +72 -0
  333. package/projects/angular-formio/auth/src/auth.module.ts +33 -0
  334. package/projects/angular-formio/auth/src/auth.routes.ts +34 -0
  335. package/projects/angular-formio/auth/src/auth.service.ts +209 -0
  336. package/projects/angular-formio/auth/src/index.ts +8 -0
  337. package/projects/angular-formio/auth/src/login/login.component.html +1 -0
  338. package/projects/angular-formio/auth/src/login/login.component.ts +8 -0
  339. package/projects/angular-formio/auth/src/public_api.ts +5 -0
  340. package/projects/angular-formio/auth/src/register/register.component.html +1 -0
  341. package/projects/angular-formio/auth/src/register/register.component.ts +8 -0
  342. package/projects/angular-formio/auth/src/resetpass/resetpass.component.html +1 -0
  343. package/projects/angular-formio/auth/src/resetpass/resetpass.component.ts +8 -0
  344. package/projects/angular-formio/grid/ng-package.json +5 -0
  345. package/projects/angular-formio/grid/src/GridBodyComponent.ts +80 -0
  346. package/projects/angular-formio/grid/src/GridFooterComponent.ts +25 -0
  347. package/projects/angular-formio/grid/src/GridHeaderComponent.ts +25 -0
  348. package/projects/angular-formio/grid/src/form/FormGridBody.component.html +23 -0
  349. package/projects/angular-formio/grid/src/form/FormGridBody.component.scss +4 -0
  350. package/projects/angular-formio/grid/src/form/FormGridBody.component.ts +15 -0
  351. package/projects/angular-formio/grid/src/form/FormGridFooter.component.html +21 -0
  352. package/projects/angular-formio/grid/src/form/FormGridFooter.component.ts +23 -0
  353. package/projects/angular-formio/grid/src/form/FormGridHeader.component.html +18 -0
  354. package/projects/angular-formio/grid/src/form/FormGridHeader.component.ts +24 -0
  355. package/projects/angular-formio/grid/src/form/index.ts +8 -0
  356. package/projects/angular-formio/grid/src/form/time-since.pipe.ts +31 -0
  357. package/projects/angular-formio/grid/src/grid.component.html +18 -0
  358. package/projects/angular-formio/grid/src/grid.component.scss +9 -0
  359. package/projects/angular-formio/grid/src/grid.component.ts +242 -0
  360. package/projects/angular-formio/grid/src/grid.footer.scss +14 -0
  361. package/projects/angular-formio/grid/src/grid.module.ts +49 -0
  362. package/projects/angular-formio/grid/src/grid.service.ts +16 -0
  363. package/projects/angular-formio/grid/src/index.ts +12 -0
  364. package/projects/angular-formio/grid/src/public_api.ts +5 -0
  365. package/projects/angular-formio/grid/src/submission/SubmissionGridBody.component.html +7 -0
  366. package/projects/angular-formio/grid/src/submission/SubmissionGridBody.component.ts +39 -0
  367. package/projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.html +18 -0
  368. package/projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.ts +20 -0
  369. package/projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.html +11 -0
  370. package/projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.ts +72 -0
  371. package/projects/angular-formio/grid/src/submission/index.ts +8 -0
  372. package/projects/angular-formio/grid/src/types/grid-column.ts +7 -0
  373. package/projects/angular-formio/grid/src/types/grid-footer-positions.ts +5 -0
  374. package/projects/angular-formio/grid/src/types/grid-header.ts +14 -0
  375. package/projects/angular-formio/karma.conf.js +32 -0
  376. package/projects/angular-formio/manager/ng-package.json +5 -0
  377. package/projects/angular-formio/manager/src/create/create.component.ts +11 -0
  378. package/projects/angular-formio/manager/src/delete/delete.component.html +6 -0
  379. package/projects/angular-formio/manager/src/delete/delete.component.ts +37 -0
  380. package/projects/angular-formio/manager/src/edit/edit.component.html +19 -0
  381. package/projects/angular-formio/manager/src/edit/edit.component.ts +107 -0
  382. package/projects/angular-formio/manager/src/form/form.component.html +32 -0
  383. package/projects/angular-formio/manager/src/form/form.component.ts +73 -0
  384. package/projects/angular-formio/manager/src/form-manager.config.ts +26 -0
  385. package/projects/angular-formio/manager/src/form-manager.module.ts +54 -0
  386. package/projects/angular-formio/manager/src/form-manager.routes.ts +75 -0
  387. package/projects/angular-formio/manager/src/form-manager.service.ts +195 -0
  388. package/projects/angular-formio/manager/src/index/index.component.html +14 -0
  389. package/projects/angular-formio/manager/src/index/index.component.scss +22 -0
  390. package/projects/angular-formio/manager/src/index/index.component.ts +84 -0
  391. package/projects/angular-formio/manager/src/index.ts +16 -0
  392. package/projects/angular-formio/manager/src/public_api.ts +5 -0
  393. package/projects/angular-formio/manager/src/submission/delete/delete.component.html +6 -0
  394. package/projects/angular-formio/manager/src/submission/delete/delete.component.ts +26 -0
  395. package/projects/angular-formio/manager/src/submission/edit/edit.component.html +7 -0
  396. package/projects/angular-formio/manager/src/submission/edit/edit.component.ts +18 -0
  397. package/projects/angular-formio/manager/src/submission/index/index.component.html +1 -0
  398. package/projects/angular-formio/manager/src/submission/index/index.component.ts +18 -0
  399. package/projects/angular-formio/manager/src/submission/submission/submission.component.html +8 -0
  400. package/projects/angular-formio/manager/src/submission/submission/submission.component.ts +24 -0
  401. package/projects/angular-formio/manager/src/submission/view/view.component.html +7 -0
  402. package/projects/angular-formio/manager/src/submission/view/view.component.ts +9 -0
  403. package/projects/angular-formio/manager/src/view/view.component.html +10 -0
  404. package/projects/angular-formio/manager/src/view/view.component.ts +41 -0
  405. package/projects/angular-formio/ng-package.json +7 -0
  406. package/projects/angular-formio/package.json +39 -0
  407. package/projects/angular-formio/resource/ng-package.json +5 -0
  408. package/projects/angular-formio/resource/src/create/create.component.html +13 -0
  409. package/projects/angular-formio/resource/src/create/create.component.scss +3 -0
  410. package/projects/angular-formio/resource/src/create/create.component.ts +37 -0
  411. package/projects/angular-formio/resource/src/delete/delete.component.html +5 -0
  412. package/projects/angular-formio/resource/src/delete/delete.component.ts +24 -0
  413. package/projects/angular-formio/resource/src/edit/edit.component.html +6 -0
  414. package/projects/angular-formio/resource/src/edit/edit.component.ts +33 -0
  415. package/projects/angular-formio/resource/src/index/index.component.html +10 -0
  416. package/projects/angular-formio/resource/src/index/index.component.ts +66 -0
  417. package/projects/angular-formio/resource/src/index.js +24 -0
  418. package/projects/angular-formio/resource/src/index.ts +11 -0
  419. package/projects/angular-formio/resource/src/public_api.ts +5 -0
  420. package/projects/angular-formio/resource/src/resource.component.html +7 -0
  421. package/projects/angular-formio/resource/src/resource.component.ts +48 -0
  422. package/projects/angular-formio/resource/src/resource.config.ts +17 -0
  423. package/projects/angular-formio/resource/src/resource.module.ts +43 -0
  424. package/projects/angular-formio/resource/src/resource.routes.ts +43 -0
  425. package/projects/angular-formio/resource/src/resource.service.ts +232 -0
  426. package/projects/angular-formio/resource/src/resources.service.ts +24 -0
  427. package/projects/angular-formio/resource/src/view/view.component.html +6 -0
  428. package/projects/angular-formio/resource/src/view/view.component.ts +19 -0
  429. package/projects/angular-formio/src/FormioBaseComponent.ts +525 -0
  430. package/projects/angular-formio/src/components/alerts/formio.alerts.component.html +3 -0
  431. package/projects/angular-formio/src/components/alerts/formio.alerts.component.ts +19 -0
  432. package/projects/angular-formio/src/components/alerts/formio.alerts.ts +21 -0
  433. package/projects/angular-formio/src/components/alerts/parse-html-content.pipe.ts +15 -0
  434. package/projects/angular-formio/src/components/formbuilder/formbuilder.component.html +1 -0
  435. package/projects/angular-formio/src/components/formbuilder/formbuilder.component.ts +213 -0
  436. package/projects/angular-formio/src/components/formio/formio.component.html +8 -0
  437. package/projects/angular-formio/src/components/formio/formio.component.ts +33 -0
  438. package/projects/angular-formio/src/components/loader/formio.loader.component.html +3 -0
  439. package/projects/angular-formio/src/components/loader/formio.loader.component.scss +26 -0
  440. package/projects/angular-formio/src/components/loader/formio.loader.component.ts +10 -0
  441. package/projects/angular-formio/src/core.ts +21 -0
  442. package/projects/angular-formio/src/custom-component/create-custom-component.ts +173 -0
  443. package/projects/angular-formio/src/custom-component/custom-tags.service.ts +10 -0
  444. package/projects/angular-formio/src/custom-component/register-custom-component.ts +41 -0
  445. package/projects/angular-formio/src/elements.common.ts +31 -0
  446. package/projects/angular-formio/src/formio-promise.service.ts +36 -0
  447. package/projects/angular-formio/src/formio.common.ts +81 -0
  448. package/projects/angular-formio/src/formio.config.ts +9 -0
  449. package/projects/angular-formio/src/formio.module.ts +35 -0
  450. package/projects/angular-formio/src/formio.service.ts +57 -0
  451. package/projects/angular-formio/src/formio.utils.ts +23 -0
  452. package/projects/angular-formio/src/index.ts +6 -0
  453. package/projects/angular-formio/src/public-api.ts +5 -0
  454. package/projects/angular-formio/src/test.ts +28 -0
  455. package/projects/angular-formio/src/types/alerts-position.ts +6 -0
  456. package/projects/angular-formio/src/types/formio-metadata.ts +10 -0
  457. package/projects/angular-formio/src/types/formio-submission.ts +20 -0
  458. package/projects/angular-formio/tsconfig.lib.json +27 -0
  459. package/projects/angular-formio/tsconfig.lib.prod.json +8 -0
  460. package/projects/angular-formio/tsconfig.spec.json +17 -0
  461. package/projects/angular-formio/tslint.json +17 -0
  462. package/tsconfig.json +28 -0
  463. package/tslint.json +140 -0
  464. package/esm2020/FormioBaseComponent.mjs +0 -527
  465. package/esm2020/auth/auth.component.mjs +0 -12
  466. package/esm2020/auth/auth.config.mjs +0 -15
  467. package/esm2020/auth/auth.module.mjs +0 -46
  468. package/esm2020/auth/login/login.component.mjs +0 -16
  469. package/esm2020/auth/register/register.component.mjs +0 -16
  470. package/esm2020/auth/resetpass/resetpass.component.mjs +0 -16
  471. package/esm2020/components/alerts/formio.alerts.component.mjs +0 -29
  472. package/esm2020/components/alerts/parse-html-content.pipe.mjs +0 -19
  473. package/esm2020/components/formbuilder/formbuilder.component.mjs +0 -187
  474. package/esm2020/components/formio/formio.component.mjs +0 -40
  475. package/esm2020/components/loader/formio.loader.component.mjs +0 -14
  476. package/esm2020/custom-component/custom-tags.service.mjs +0 -16
  477. package/esm2020/formio.config.mjs +0 -14
  478. package/esm2020/formio.module.mjs +0 -54
  479. package/esm2020/grid/GridBodyComponent.mjs +0 -81
  480. package/esm2020/grid/GridFooterComponent.mjs +0 -36
  481. package/esm2020/grid/GridHeaderComponent.mjs +0 -30
  482. package/esm2020/grid/form/FormGridBody.component.mjs +0 -19
  483. package/esm2020/grid/form/FormGridFooter.component.mjs +0 -26
  484. package/esm2020/grid/form/FormGridHeader.component.mjs +0 -26
  485. package/esm2020/grid/grid.component.mjs +0 -230
  486. package/esm2020/grid/grid.module.mjs +0 -79
  487. package/esm2020/grid/grid.service.mjs +0 -17
  488. package/esm2020/grid/submission/SubmissionGridBody.component.mjs +0 -43
  489. package/esm2020/grid/submission/SubmissionGridFooter.component.mjs +0 -23
  490. package/esm2020/grid/submission/SubmissionGridHeader.component.mjs +0 -61
  491. package/esm2020/manager/create/create.component.mjs +0 -18
  492. package/esm2020/manager/delete/delete.component.mjs +0 -37
  493. package/esm2020/manager/edit/edit.component.mjs +0 -109
  494. package/esm2020/manager/form/form.component.mjs +0 -70
  495. package/esm2020/manager/form-manager.config.mjs +0 -15
  496. package/esm2020/manager/form-manager.module.mjs +0 -83
  497. package/esm2020/manager/index/index.component.mjs +0 -84
  498. package/esm2020/manager/submission/delete/delete.component.mjs +0 -28
  499. package/esm2020/manager/submission/edit/edit.component.mjs +0 -22
  500. package/esm2020/manager/submission/index/index.component.mjs +0 -22
  501. package/esm2020/manager/submission/submission/submission.component.mjs +0 -26
  502. package/esm2020/manager/submission/view/view.component.mjs +0 -16
  503. package/esm2020/manager/view/view.component.mjs +0 -42
  504. package/esm2020/resource/create/create.component.mjs +0 -37
  505. package/esm2020/resource/delete/delete.component.mjs +0 -26
  506. package/esm2020/resource/edit/edit.component.mjs +0 -36
  507. package/esm2020/resource/index/index.component.mjs +0 -61
  508. package/esm2020/resource/resource.component.mjs +0 -46
  509. package/esm2020/resource/resource.config.mjs +0 -15
  510. package/esm2020/resource/resource.module.mjs +0 -62
  511. package/esm2020/resource/resources.service.mjs +0 -22
  512. package/esm2020/resource/view/view.component.mjs +0 -23
  513. package/fesm2015/formio-angular-auth.mjs +0 -290
  514. package/fesm2015/formio-angular-auth.mjs.map +0 -1
  515. package/fesm2015/formio-angular-grid.mjs +0 -677
  516. package/fesm2015/formio-angular-grid.mjs.map +0 -1
  517. package/fesm2015/formio-angular-manager.mjs +0 -733
  518. package/fesm2015/formio-angular-manager.mjs.map +0 -1
  519. package/fesm2015/formio-angular-resource.mjs.map +0 -1
  520. package/fesm2015/formio-angular.mjs.map +0 -1
  521. package/fesm2020/formio-angular-auth.mjs.map +0 -1
  522. package/fesm2020/formio-angular-grid.mjs +0 -676
  523. package/fesm2020/formio-angular-grid.mjs.map +0 -1
  524. package/fesm2020/formio-angular-manager.mjs +0 -733
  525. package/fesm2020/formio-angular-manager.mjs.map +0 -1
  526. package/fesm2020/formio-angular-resource.mjs +0 -503
  527. package/fesm2020/formio-angular-resource.mjs.map +0 -1
  528. package/fesm2020/formio-angular.mjs +0 -1169
  529. package/fesm2020/formio-angular.mjs.map +0 -1
@@ -0,0 +1,84 @@
1
+ import { Component, OnInit, ViewChild } from '@angular/core';
2
+ import { Router, ActivatedRoute } from '@angular/router';
3
+ import { FormManagerService } from '../form-manager.service';
4
+ import { FormManagerConfig } from '../form-manager.config';
5
+ import { FormioGridComponent } from '@formio/angular/grid';
6
+ import { debounce } from 'lodash';
7
+
8
+ @Component({
9
+ templateUrl: './index.component.html',
10
+ styleUrls: ['./index.component.scss']
11
+ })
12
+ export class FormManagerIndexComponent implements OnInit {
13
+ @ViewChild(FormioGridComponent, {static: false}) formGrid: FormioGridComponent;
14
+ public gridQuery: any;
15
+ public search = '';
16
+ constructor(
17
+ public service: FormManagerService,
18
+ public route: ActivatedRoute,
19
+ public router: Router,
20
+ public config: FormManagerConfig
21
+ ) {
22
+ this.gridQuery = {tags: this.config.tag, type: 'form', sort: 'title'};
23
+ this.onSearch = debounce(this.onSearch, 300);
24
+ }
25
+
26
+ loadGrid() {
27
+ this.search = localStorage.getItem('searchInput');
28
+ this.gridQuery = JSON.parse(localStorage.getItem('query')) || this.gridQuery;
29
+ const currentPage = +localStorage.getItem('currentPage') || 0;
30
+ this.formGrid
31
+ .refreshGrid(this.gridQuery)
32
+ .then(() => this.formGrid.setPage(currentPage - 1));
33
+ }
34
+
35
+ ngOnInit() {
36
+ this.gridQuery = {tags: this.config.tag, type: 'form', sort: 'title'};
37
+ this.service.reset();
38
+ this.service.ready.then(() => {
39
+ this.loadGrid();
40
+ this.formGrid.footer.pageChanged.subscribe(page => {
41
+ localStorage.setItem('currentPage', page.page);
42
+ });
43
+ });
44
+ }
45
+
46
+ onSearch(event?: KeyboardEvent) {
47
+ const searchInput = this.search;
48
+ if (searchInput.length > 0) {
49
+ this.gridQuery.skip = 0;
50
+ this.gridQuery.title__regex = '/' + searchInput + '/i';
51
+ this.gridQuery.title__regex = '/' + searchInput.trim() + '/i';
52
+ } else {
53
+ delete this.gridQuery.title__regex;
54
+ }
55
+ localStorage.setItem('query', JSON.stringify(this.gridQuery));
56
+ localStorage.setItem('searchInput', this.search);
57
+ this.formGrid.pageChanged({page: 1, itemPerPage: this.gridQuery.limit});
58
+ this.formGrid.refreshGrid(this.gridQuery);
59
+ }
60
+
61
+ clearSearch() {
62
+ this.gridQuery = {tags: this.config.tag, type: 'form', sort: 'title'};
63
+ localStorage.removeItem('query');
64
+ localStorage.removeItem('searchInput');
65
+ localStorage.removeItem('currentPage');
66
+ this.search = '';
67
+ this.formGrid.pageChanged({page: 1});
68
+ this.formGrid.query = {};
69
+ this.formGrid.refreshGrid({tags: this.config.tag, type: 'form', sort: 'title'});
70
+ }
71
+
72
+ onAction(action: any) {
73
+ this.service.form = null; // Reset previous form data
74
+ this.router.navigate([action.row._id, action.action], { relativeTo: this.route });
75
+ }
76
+
77
+ onSelect(row: any) {
78
+ this.router.navigate([row._id], { relativeTo: this.route });
79
+ }
80
+
81
+ onCreateItem() {
82
+ this.router.navigate(['create'], { relativeTo: this.route });
83
+ }
84
+ }
@@ -0,0 +1,16 @@
1
+ export { FormManagerConfig } from './form-manager.config';
2
+ export { FormManagerService } from './form-manager.service';
3
+ export { FormManagerRoutes } from './form-manager.routes';
4
+ export { FormManagerIndexComponent } from './index/index.component';
5
+ export { FormManagerCreateComponent } from './create/create.component';
6
+ export { FormManagerFormComponent } from './form/form.component';
7
+ export { FormManagerViewComponent } from './view/view.component';
8
+ export { FormManagerEditComponent } from './edit/edit.component';
9
+ export { FormManagerDeleteComponent } from './delete/delete.component';
10
+ export { SubmissionEditComponent } from './submission/edit/edit.component';
11
+ export { SubmissionDeleteComponent } from './submission/delete/delete.component';
12
+ export { SubmissionViewComponent } from './submission/view/view.component';
13
+ export { SubmissionIndexComponent } from './submission/index/index.component';
14
+ export { SubmissionComponent } from './submission/submission/submission.component';
15
+ export { FormManagerRouteConfig } from './form-manager.config';
16
+ export { FormManagerModule } from './form-manager.module';
@@ -0,0 +1,5 @@
1
+ /*
2
+ * Public API Surface of @formio/angular
3
+ */
4
+
5
+ export * from './index';
@@ -0,0 +1,6 @@
1
+ <formio-alerts [alerts]="alerts"></formio-alerts>
2
+ <h3>Are you sure you wish to delete this record?</h3>
3
+ <div class="btn-toolbar">
4
+ <button type="button" (click)="onDelete()" class="btn btn-danger" style="margin-right: 10px;">Yes</button>
5
+ <button type="button" (click)="onCancel()" class="btn btn-default">No</button>
6
+ </div>
@@ -0,0 +1,26 @@
1
+ import { Component } from '@angular/core';
2
+ import { FormManagerService } from '../../form-manager.service';
3
+ import { ActivatedRoute, Router } from '@angular/router';
4
+ import { FormioAlerts } from '@formio/angular';
5
+
6
+ @Component({
7
+ templateUrl: './delete.component.html'
8
+ })
9
+ export class SubmissionDeleteComponent {
10
+ constructor(
11
+ public service: FormManagerService,
12
+ public router: Router,
13
+ public route: ActivatedRoute,
14
+ public alerts: FormioAlerts
15
+ ) {}
16
+
17
+ onDelete() {
18
+ this.service.formio.deleteSubmission().then(() => {
19
+ this.router.navigate(['../../'], { relativeTo: this.route });
20
+ }).catch(err => this.alerts.setAlert({type: 'danger', message: (err.message || err)}));
21
+ }
22
+
23
+ onCancel() {
24
+ this.router.navigate(['../', 'view'], { relativeTo: this.route });
25
+ }
26
+ }
@@ -0,0 +1,7 @@
1
+ <formio
2
+ [renderer]="service.config.renderer"
3
+ [src]="service.formio.submissionUrl"
4
+ (submit)="onSubmit($event)"
5
+ (formLoad)="service.setForm($event)"
6
+ (submissionLoad)="service.submissionLoaded($event)"
7
+ ></formio>
@@ -0,0 +1,18 @@
1
+ import { Component } from '@angular/core';
2
+ import { FormManagerService } from '../../form-manager.service';
3
+ import { ActivatedRoute, Router } from '@angular/router';
4
+
5
+ @Component({
6
+ templateUrl: './edit.component.html'
7
+ })
8
+ export class SubmissionEditComponent {
9
+ constructor(
10
+ public service: FormManagerService,
11
+ public router: Router,
12
+ public route: ActivatedRoute
13
+ ) { }
14
+
15
+ onSubmit(submission) {
16
+ this.router.navigate(['../../'], {relativeTo: this.route});
17
+ }
18
+ }
@@ -0,0 +1 @@
1
+ <formio-grid [formio]="service.formio" (rowSelect)="onSelect($event)"></formio-grid>
@@ -0,0 +1,18 @@
1
+ import { Component } from '@angular/core';
2
+ import { Router, ActivatedRoute } from '@angular/router';
3
+ import { FormManagerService } from '../../form-manager.service';
4
+
5
+ @Component({
6
+ templateUrl: './index.component.html'
7
+ })
8
+ export class SubmissionIndexComponent {
9
+ constructor(
10
+ public service: FormManagerService,
11
+ public route: ActivatedRoute,
12
+ public router: Router
13
+ ) {}
14
+
15
+ onSelect(row: any) {
16
+ this.router.navigate([row._id, 'view'], {relativeTo: this.route});
17
+ }
18
+ }
@@ -0,0 +1,8 @@
1
+ <a *ngIf="downloadUrl" [href]="downloadUrl" target="_blank" class="pull-right"><img src="https://pro.formview.io/assets/pdf.png" alt="pdfImage" style="height: 2em;" /></a>
2
+ <ul aria-label="Submission" role="navigation" class="nav nav-tabs" style="margin-bottom:10px">
3
+ <li class="nav-item"><a class="nav-link" routerLink="../"><em class="fa fa-chevron-left glyphicon glyphicon-chevron-left"></em></a></li>
4
+ <li class="nav-item" routerLinkActive="active"><a class="nav-link" routerLink="view" routerLinkActive="active"><em class="fa fa-eye glyphicon glyphicon-eye"></em> View</a></li>
5
+ <li class="nav-item" routerLinkActive="active" *ngIf="service.perms.edit"><a class="nav-link" routerLink="edit" routerLinkActive="active"><em class="fa fa-edit glyphicon glyphicon-edit"></em> Edit</a></li>
6
+ <li class="nav-item" routerLinkActive="active" *ngIf="service.perms.delete"><a class="nav-link" routerLink="delete" routerLinkActive="active"><span class="fa fa-trash glyphicon glyphicon-trash"></span></a></li>
7
+ </ul>
8
+ <router-outlet></router-outlet>
@@ -0,0 +1,24 @@
1
+ import { Component, OnInit } from '@angular/core';
2
+ import { FormManagerService } from '../../form-manager.service';
3
+ import { ActivatedRoute } from '@angular/router';
4
+
5
+ @Component({
6
+ templateUrl: './submission.component.html'
7
+ })
8
+ export class SubmissionComponent implements OnInit {
9
+ public downloadUrl: string;
10
+ constructor(
11
+ public service: FormManagerService,
12
+ public route: ActivatedRoute
13
+ ) { }
14
+
15
+ setDownloadUrl(url) {
16
+ this.downloadUrl = url;
17
+ }
18
+
19
+ ngOnInit() {
20
+ this.service.setSubmission(this.route).then((formio: any) => {
21
+ formio.getDownloadUrl().then((url) => this.setDownloadUrl(url));
22
+ });
23
+ }
24
+ }
@@ -0,0 +1,7 @@
1
+ <formio
2
+ [renderer]="service.config.renderer"
3
+ [src]="service.formio.submissionUrl"
4
+ [readOnly]="true"
5
+ (formLoad)="service.setForm($event)"
6
+ (submissionLoad)="service.submissionLoaded($event)"
7
+ ></formio>
@@ -0,0 +1,9 @@
1
+ import { Component } from '@angular/core';
2
+ import { FormManagerService } from '../../form-manager.service';
3
+
4
+ @Component({
5
+ templateUrl: './view.component.html'
6
+ })
7
+ export class SubmissionViewComponent {
8
+ constructor(public service: FormManagerService) { }
9
+ }
@@ -0,0 +1,10 @@
1
+ <formio *ngIf="service.form"
2
+ [renderer]="config.renderer"
3
+ [renderOptions]="renderOptions"
4
+ [url]="service.formio.formUrl"
5
+ [form]="service.form"
6
+ [submission]="submission"
7
+ [success]="onSuccess"
8
+ [error]="onError"
9
+ (submit)="onSubmit($event)"
10
+ ></formio>
@@ -0,0 +1,41 @@
1
+ import { Component, OnInit, EventEmitter } from '@angular/core';
2
+ import { FormManagerConfig } from '../form-manager.config';
3
+ import { FormManagerService } from '../form-manager.service';
4
+ import { ActivatedRoute, Router } from '@angular/router';
5
+ import { FormioAuthService } from '@formio/angular/auth';
6
+ import { Formio } from 'formiojs';
7
+
8
+ @Component({
9
+ templateUrl: './view.component.html'
10
+ })
11
+ export class FormManagerViewComponent implements OnInit {
12
+ public submission: any;
13
+ public renderOptions: any;
14
+ public onSuccess: EventEmitter<object> = new EventEmitter();
15
+ public onError: EventEmitter<object> = new EventEmitter();
16
+ constructor(
17
+ public service: FormManagerService,
18
+ public router: Router,
19
+ public route: ActivatedRoute,
20
+ public config: FormManagerConfig,
21
+ public auth: FormioAuthService
22
+ ) {
23
+ this.renderOptions = {
24
+ saveDraft: this.config.saveDraft
25
+ };
26
+ this.submission = {data: {}};
27
+ }
28
+
29
+ ngOnInit() {
30
+ this.service.formio = new Formio(this.service.formio.formUrl);
31
+ }
32
+
33
+ onSubmit(submission: any) {
34
+ this.submission.data = submission.data;
35
+ this.submission.state = 'complete';
36
+ this.service.formio.saveSubmission(this.submission).then(saved => {
37
+ this.onSuccess.emit();
38
+ this.router.navigate(['../', 'submission', saved._id], {relativeTo: this.route});
39
+ }).catch((err) => this.onError.emit(err));
40
+ }
41
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3
+ "dest": "../../dist/angular-formio",
4
+ "lib": {
5
+ "entryFile": "./src/index.ts"
6
+ }
7
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "@formio/angular",
3
+ "version": "5.5.0-rc.1",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "https://github.com/formio/angular-formio"
7
+ },
8
+ "author": {
9
+ "name": "Travis Tidwell",
10
+ "email": "travis@form.io"
11
+ },
12
+ "keywords": [
13
+ "angular",
14
+ "forms",
15
+ "json forms",
16
+ "javascript forms",
17
+ "model driven forms",
18
+ "form.io"
19
+ ],
20
+ "license": "MIT",
21
+ "bugs": {
22
+ "url": "https://github.com/formio/angular-formio/issues"
23
+ },
24
+ "engines": {
25
+ "node": ">=6.0.0"
26
+ },
27
+ "peerDependencies": {
28
+ "@angular/core": "^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0",
29
+ "@angular/common": "^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0",
30
+ "@angular/elements": "^9.0.0 || ^10.0.0 || ^11.0.0|| ^12.0.0 || ^13.0.0 || ^14.0.0",
31
+ "zone.js": "~0.11.4",
32
+ "formiojs": "^4.14.9",
33
+ "lodash": "^4.17.20",
34
+ "ngx-bootstrap": "^5.6.1"
35
+ },
36
+ "dependencies": {
37
+ "tslib": "^2.0.0"
38
+ }
39
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "lib": {
3
+ "entryFile": "../resource/src/index.ts"
4
+ }
5
+ }
@@ -0,0 +1,13 @@
1
+ <h3 *ngIf="service.form" style="margin-top:0;">
2
+ <a routerLink="../" class="back-button">
3
+ <em class="fa fa-chevron-left glyphicon glyphicon-chevron-left"></em>
4
+ </a> | New {{ service.form.title }}
5
+ </h3>
6
+ <formio
7
+ [form]="service.form"
8
+ [submission]="service.resource"
9
+ [refresh]="service.refresh"
10
+ [error]="onError"
11
+ [success]="onSuccess"
12
+ (submit)="onSubmit($event)"
13
+ ></formio>
@@ -0,0 +1,3 @@
1
+ .back-button {
2
+ font-size: 0.8em;
3
+ }
@@ -0,0 +1,37 @@
1
+ import { Component, EventEmitter, OnInit } from '@angular/core';
2
+ import { Router, ActivatedRoute } from '@angular/router';
3
+ import { FormioResourceService } from '../resource.service';
4
+ import { FormioResourceConfig } from '../resource.config';
5
+
6
+ @Component({
7
+ styleUrls: ['./create.component.scss'],
8
+ templateUrl: './create.component.html'
9
+ })
10
+ export class FormioResourceCreateComponent implements OnInit {
11
+ public onError: EventEmitter<any>;
12
+ public onSuccess: EventEmitter<any>;
13
+ constructor(
14
+ public service: FormioResourceService,
15
+ public route: ActivatedRoute,
16
+ public router: Router,
17
+ public config: FormioResourceConfig
18
+ ) {
19
+ this.onError = new EventEmitter();
20
+ this.onSuccess = new EventEmitter();
21
+ }
22
+
23
+ ngOnInit() {
24
+ this.service.setContext(this.route);
25
+ }
26
+
27
+ onSubmit(submission: any) {
28
+ this.service
29
+ .save(submission)
30
+ .then(() => {
31
+ this.router.navigate(['../', this.service.resource._id, 'view'], {
32
+ relativeTo: this.route
33
+ });
34
+ })
35
+ .catch((err: any) => this.onError.emit(err));
36
+ }
37
+ }
@@ -0,0 +1,5 @@
1
+ <h3>Are you sure you wish to delete this record?</h3>
2
+ <div class="btn-toolbar">
3
+ <button type="button" (click)="onDelete()" class="btn btn-danger" style="margin-right: 10px;">Yes</button>
4
+ <button type="button" (click)="onCancel()" class="btn btn-danger">No</button>
5
+ </div>
@@ -0,0 +1,24 @@
1
+ import { Component } from '@angular/core';
2
+ import { Router, ActivatedRoute } from '@angular/router';
3
+ import { FormioResourceService } from '../resource.service';
4
+
5
+ @Component({
6
+ templateUrl: './delete.component.html'
7
+ })
8
+ export class FormioResourceDeleteComponent {
9
+ constructor(
10
+ public service: FormioResourceService,
11
+ public route: ActivatedRoute,
12
+ public router: Router
13
+ ) {}
14
+
15
+ onDelete() {
16
+ this.service.remove().then(() => {
17
+ this.router.navigate(['../../'], { relativeTo: this.route });
18
+ });
19
+ }
20
+
21
+ onCancel() {
22
+ this.router.navigate(['../', 'view'], { relativeTo: this.route });
23
+ }
24
+ }
@@ -0,0 +1,6 @@
1
+ <formio
2
+ [form]="service.form"
3
+ [submission]="service.resource"
4
+ [error]="triggerError"
5
+ (submit)="onSubmit($event)"
6
+ ></formio>
@@ -0,0 +1,33 @@
1
+ import {Component, EventEmitter, OnDestroy} from '@angular/core';
2
+ import { Router, ActivatedRoute } from '@angular/router';
3
+ import { FormioResourceService } from '../resource.service';
4
+ import { FormioResourceConfig } from '../resource.config';
5
+ import { Formio } from 'formiojs';
6
+
7
+ @Component({
8
+ templateUrl: './edit.component.html'
9
+ })
10
+ export class FormioResourceEditComponent implements OnDestroy {
11
+ public triggerError: EventEmitter<any> = new EventEmitter();
12
+ public submission = {data: {}};
13
+ constructor(
14
+ public service: FormioResourceService,
15
+ public route: ActivatedRoute,
16
+ public router: Router,
17
+ public config: FormioResourceConfig
18
+ ) {}
19
+
20
+ onSubmit(submission: any) {
21
+ const edit = this.service.resource;
22
+ edit.data = submission.data;
23
+ this.service.save(edit)
24
+ .then(() => {
25
+ this.router.navigate(['../', 'view'], { relativeTo: this.route });
26
+ })
27
+ .catch((err) => this.triggerError.emit(err));
28
+ }
29
+
30
+ ngOnDestroy() {
31
+ Formio.clearCache();
32
+ }
33
+ }
@@ -0,0 +1,10 @@
1
+ <formio-alerts [alerts]="service.alerts"></formio-alerts>
2
+ <formio-grid
3
+ [src]="gridSrc"
4
+ [query]="gridQuery"
5
+ [onForm]="service.formLoaded"
6
+ (rowSelect)="onSelect($event)"
7
+ (error)="service.onError($event)"
8
+ (createItem)="onCreateItem()"
9
+ [createText]="createText"
10
+ ></formio-grid>
@@ -0,0 +1,66 @@
1
+ import { Component, OnInit, ChangeDetectorRef, NgZone } from '@angular/core';
2
+ import { Router, ActivatedRoute } from '@angular/router';
3
+ import { FormioResourceService } from '../resource.service';
4
+ import { FormioResourceConfig } from '../resource.config';
5
+ import { each } from 'lodash';
6
+
7
+ @Component({
8
+ templateUrl: './index.component.html'
9
+ })
10
+ export class FormioResourceIndexComponent implements OnInit {
11
+ public gridSrc?: string;
12
+ public gridQuery: any;
13
+ public createText: String;
14
+
15
+ constructor(
16
+ public service: FormioResourceService,
17
+ public route: ActivatedRoute,
18
+ public router: Router,
19
+ public config: FormioResourceConfig,
20
+ public cdr: ChangeDetectorRef,
21
+ public ngZone: NgZone,
22
+ ) {
23
+ }
24
+
25
+ ngOnInit() {
26
+ this.gridQuery = {};
27
+ this.service.setContext(this.route);
28
+ this.service.formLoaded.then(() => {
29
+ if (
30
+ this.service &&
31
+ this.config.parents &&
32
+ this.config.parents.length
33
+ ) {
34
+ this.service.loadParents().then((parents: any) => {
35
+ each(parents, (parent: any) => {
36
+ if (parent && parent.filter) {
37
+ this.gridQuery['data.' + parent.name + '._id'] =
38
+ parent.resource._id;
39
+ }
40
+ });
41
+
42
+ // Set the source to load the grid.
43
+ this.gridSrc = this.service.formUrl;
44
+ this.createText = `New ${this.service.form.title}`;
45
+ });
46
+ } else if (this.service.formUrl) {
47
+ this.gridSrc = this.service.formUrl;
48
+ this.createText = `New ${this.service.form.title}`;
49
+ }
50
+
51
+ this.cdr.detectChanges();
52
+ });
53
+ }
54
+
55
+ onSelect(row: any) {
56
+ this.ngZone.run(() => {
57
+ this.router.navigate([row._id, 'view'], { relativeTo: this.route });
58
+ });
59
+ }
60
+
61
+ onCreateItem() {
62
+ this.ngZone.run(() => {
63
+ this.router.navigate(['new'], { relativeTo: this.route });
64
+ });
65
+ }
66
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var resource_config_1 = require("./resource.config");
4
+ exports.FormioResourceConfig = resource_config_1.FormioResourceConfig;
5
+ var resources_service_1 = require("./resources.service");
6
+ exports.FormioResources = resources_service_1.FormioResources;
7
+ var resource_service_1 = require("./resource.service");
8
+ exports.FormioResourceService = resource_service_1.FormioResourceService;
9
+ var resource_component_1 = require("./resource.component");
10
+ exports.FormioResourceComponent = resource_component_1.FormioResourceComponent;
11
+ var view_component_1 = require("./view/view.component");
12
+ exports.FormioResourceViewComponent = view_component_1.FormioResourceViewComponent;
13
+ var edit_component_1 = require("./edit/edit.component");
14
+ exports.FormioResourceEditComponent = edit_component_1.FormioResourceEditComponent;
15
+ var delete_component_1 = require("./delete/delete.component");
16
+ exports.FormioResourceDeleteComponent = delete_component_1.FormioResourceDeleteComponent;
17
+ var create_component_1 = require("./create/create.component");
18
+ exports.FormioResourceCreateComponent = create_component_1.FormioResourceCreateComponent;
19
+ var index_component_1 = require("./index/index.component");
20
+ exports.FormioResourceIndexComponent = index_component_1.FormioResourceIndexComponent;
21
+ var resource_routes_1 = require("./resource.routes");
22
+ exports.FormioResourceRoutes = resource_routes_1.FormioResourceRoutes;
23
+ var resource_module_1 = require("./resource.module");
24
+ exports.FormioResource = resource_module_1.FormioResource;
@@ -0,0 +1,11 @@
1
+ export { FormioResourceConfig } from './resource.config';
2
+ export { FormioResources } from './resources.service';
3
+ export { FormioResourceService } from './resource.service';
4
+ export { FormioResourceComponent } from './resource.component';
5
+ export { FormioResourceViewComponent } from './view/view.component';
6
+ export { FormioResourceEditComponent } from './edit/edit.component';
7
+ export { FormioResourceDeleteComponent } from './delete/delete.component';
8
+ export { FormioResourceCreateComponent } from './create/create.component';
9
+ export { FormioResourceIndexComponent } from './index/index.component';
10
+ export { FormioResourceRoutes } from './resource.routes';
11
+ export { FormioResource } from './resource.module';
@@ -0,0 +1,5 @@
1
+ /*
2
+ * Public API Surface of angular-formio
3
+ */
4
+
5
+ export * from './index';
@@ -0,0 +1,7 @@
1
+ <ul class="nav nav-tabs" style="margin-bottom: 10px">
2
+ <li class="nav-item"><a class="nav-link" routerLink="../"><em class="fa fa-chevron-left glyphicon glyphicon-chevron-left"></em></a></li>
3
+ <li class="nav-item" routerLinkActive="active"><a class="nav-link" routerLink="view" routerLinkActive="active">View</a></li>
4
+ <li class="nav-item" routerLinkActive="active" *ngIf="perms.edit"><a class="nav-link" routerLink="edit" routerLinkActive="active">Edit</a></li>
5
+ <li class="nav-item" routerLinkActive="active" *ngIf="perms.delete"><a class="nav-link" routerLink="delete" routerLinkActive="active"><span class="fa fa-trash glyphicon glyphicon-trash"></span></a></li>
6
+ </ul>
7
+ <router-outlet></router-outlet>