@formio/angular 7.0.0 → 7.5.0-rc.1-dev.1060.2e45ec8

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 (398) hide show
  1. package/.dockerignore +5 -0
  2. package/.editorconfig +13 -0
  3. package/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
  4. package/.github/ISSUE_TEMPLATE/custom-components-support-request.md +15 -0
  5. package/.github/ISSUE_TEMPLATE/question.md +8 -0
  6. package/.github/pull_request_template.md +35 -0
  7. package/.github/workflows/repo.yml +145 -0
  8. package/.travis.yml +4 -0
  9. package/.yo-rc.json +7 -0
  10. package/CHANGELOG.md +1153 -0
  11. package/Dockerfile +20 -0
  12. package/LICENSE +21 -0
  13. package/README.md +204 -13
  14. package/angular.json +38 -0
  15. package/bs-config.json +11 -0
  16. package/package.json +54 -57
  17. package/projects/angular-formio/README.md +24 -0
  18. package/projects/angular-formio/auth/ng-package.json +5 -0
  19. package/projects/angular-formio/auth/src/auth.component.html +11 -0
  20. package/projects/angular-formio/auth/src/auth.component.ts +5 -0
  21. package/projects/angular-formio/auth/src/auth.config.ts +72 -0
  22. package/projects/angular-formio/auth/src/auth.module.ts +33 -0
  23. package/projects/angular-formio/auth/src/auth.routes.ts +34 -0
  24. package/projects/angular-formio/auth/src/auth.service.ts +221 -0
  25. package/{auth/index.d.ts → projects/angular-formio/auth/src/index.ts} +1 -2
  26. package/projects/angular-formio/auth/src/login/login.component.html +1 -0
  27. package/projects/angular-formio/auth/src/login/login.component.ts +11 -0
  28. package/projects/angular-formio/auth/src/public_api.ts +5 -0
  29. package/projects/angular-formio/auth/src/register/register.component.html +1 -0
  30. package/projects/angular-formio/auth/src/register/register.component.ts +11 -0
  31. package/projects/angular-formio/auth/src/resetpass/resetpass.component.html +1 -0
  32. package/projects/angular-formio/auth/src/resetpass/resetpass.component.ts +8 -0
  33. package/projects/angular-formio/embed/ng-package.json +5 -0
  34. package/projects/angular-formio/embed/src/app.service.ts +59 -0
  35. package/projects/angular-formio/embed/src/builder.component.ts +19 -0
  36. package/projects/angular-formio/embed/src/embed.module.ts +23 -0
  37. package/projects/angular-formio/embed/src/formio.component.ts +27 -0
  38. package/projects/angular-formio/embed/src/index.ts +6 -0
  39. package/projects/angular-formio/grid/ng-package.json +5 -0
  40. package/projects/angular-formio/grid/src/GridBodyComponent.ts +80 -0
  41. package/projects/angular-formio/grid/src/GridFooterComponent.ts +25 -0
  42. package/projects/angular-formio/grid/src/GridHeaderComponent.ts +25 -0
  43. package/projects/angular-formio/grid/src/form/FormGridBody.component.html +22 -0
  44. package/projects/angular-formio/grid/src/form/FormGridBody.component.scss +4 -0
  45. package/projects/angular-formio/grid/src/form/FormGridBody.component.ts +46 -0
  46. package/projects/angular-formio/grid/src/form/FormGridFooter.component.html +21 -0
  47. package/projects/angular-formio/grid/src/form/FormGridFooter.component.ts +23 -0
  48. package/projects/angular-formio/grid/src/form/FormGridHeader.component.html +18 -0
  49. package/projects/angular-formio/grid/src/form/FormGridHeader.component.ts +24 -0
  50. package/projects/angular-formio/grid/src/form/index.ts +8 -0
  51. package/projects/angular-formio/grid/src/form/time-since.pipe.ts +31 -0
  52. package/projects/angular-formio/grid/src/grid.component.html +18 -0
  53. package/projects/angular-formio/grid/src/grid.component.scss +9 -0
  54. package/projects/angular-formio/grid/src/grid.component.ts +242 -0
  55. package/projects/angular-formio/grid/src/grid.footer.scss +14 -0
  56. package/projects/angular-formio/grid/src/grid.module.ts +49 -0
  57. package/projects/angular-formio/grid/src/grid.service.ts +16 -0
  58. package/{grid/index.d.ts → projects/angular-formio/grid/src/index.ts} +0 -1
  59. package/projects/angular-formio/grid/src/public_api.ts +5 -0
  60. package/projects/angular-formio/grid/src/submission/SubmissionGridBody.component.html +7 -0
  61. package/projects/angular-formio/grid/src/submission/SubmissionGridBody.component.ts +39 -0
  62. package/projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.html +18 -0
  63. package/projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.ts +20 -0
  64. package/projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.html +11 -0
  65. package/projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.ts +72 -0
  66. package/{grid/submission/index.d.ts → projects/angular-formio/grid/src/submission/index.ts} +4 -6
  67. package/projects/angular-formio/grid/src/types/grid-column.ts +7 -0
  68. package/projects/angular-formio/grid/src/types/grid-footer-positions.ts +5 -0
  69. package/projects/angular-formio/grid/src/types/grid-header.ts +14 -0
  70. package/projects/angular-formio/karma.conf.js +32 -0
  71. package/projects/angular-formio/manager/ng-package.json +5 -0
  72. package/projects/angular-formio/manager/src/create/create.component.ts +11 -0
  73. package/projects/angular-formio/manager/src/delete/delete.component.html +6 -0
  74. package/projects/angular-formio/manager/src/delete/delete.component.ts +37 -0
  75. package/projects/angular-formio/manager/src/edit/edit.component.html +19 -0
  76. package/projects/angular-formio/manager/src/edit/edit.component.ts +110 -0
  77. package/projects/angular-formio/manager/src/form/form.component.html +32 -0
  78. package/projects/angular-formio/manager/src/form/form.component.ts +73 -0
  79. package/projects/angular-formio/manager/src/form-manager.config.ts +31 -0
  80. package/projects/angular-formio/manager/src/form-manager.module.ts +54 -0
  81. package/projects/angular-formio/manager/src/form-manager.routes.ts +75 -0
  82. package/projects/angular-formio/manager/src/form-manager.service.ts +190 -0
  83. package/projects/angular-formio/manager/src/index/index.component.html +14 -0
  84. package/projects/angular-formio/manager/src/index/index.component.scss +22 -0
  85. package/projects/angular-formio/manager/src/index/index.component.ts +100 -0
  86. package/{manager/index.d.ts → projects/angular-formio/manager/src/index.ts} +0 -1
  87. package/projects/angular-formio/manager/src/public_api.ts +5 -0
  88. package/projects/angular-formio/manager/src/submission/delete/delete.component.html +6 -0
  89. package/projects/angular-formio/manager/src/submission/delete/delete.component.ts +26 -0
  90. package/projects/angular-formio/manager/src/submission/edit/edit.component.html +7 -0
  91. package/projects/angular-formio/manager/src/submission/edit/edit.component.ts +18 -0
  92. package/projects/angular-formio/manager/src/submission/index/index.component.html +1 -0
  93. package/projects/angular-formio/manager/src/submission/index/index.component.ts +18 -0
  94. package/projects/angular-formio/manager/src/submission/submission/submission.component.html +8 -0
  95. package/projects/angular-formio/manager/src/submission/submission/submission.component.ts +24 -0
  96. package/projects/angular-formio/manager/src/submission/view/view.component.html +7 -0
  97. package/projects/angular-formio/manager/src/submission/view/view.component.ts +9 -0
  98. package/projects/angular-formio/manager/src/view/view.component.html +11 -0
  99. package/projects/angular-formio/manager/src/view/view.component.ts +44 -0
  100. package/projects/angular-formio/ng-package.json +7 -0
  101. package/projects/angular-formio/package.json +37 -0
  102. package/projects/angular-formio/resource/ng-package.json +5 -0
  103. package/projects/angular-formio/resource/src/create/create.component.html +13 -0
  104. package/projects/angular-formio/resource/src/create/create.component.scss +3 -0
  105. package/projects/angular-formio/resource/src/create/create.component.ts +37 -0
  106. package/projects/angular-formio/resource/src/delete/delete.component.html +5 -0
  107. package/projects/angular-formio/resource/src/delete/delete.component.ts +24 -0
  108. package/projects/angular-formio/resource/src/edit/edit.component.html +7 -0
  109. package/projects/angular-formio/resource/src/edit/edit.component.ts +35 -0
  110. package/projects/angular-formio/resource/src/index/index.component.html +10 -0
  111. package/projects/angular-formio/resource/src/index/index.component.ts +64 -0
  112. package/projects/angular-formio/resource/src/index.js +24 -0
  113. package/{resource/index.d.ts → projects/angular-formio/resource/src/index.ts} +0 -1
  114. package/projects/angular-formio/resource/src/public_api.ts +5 -0
  115. package/projects/angular-formio/resource/src/resource.component.html +7 -0
  116. package/projects/angular-formio/resource/src/resource.component.ts +48 -0
  117. package/projects/angular-formio/resource/src/resource.config.ts +17 -0
  118. package/projects/angular-formio/resource/src/resource.module.ts +43 -0
  119. package/projects/angular-formio/resource/src/resource.routes.ts +43 -0
  120. package/projects/angular-formio/resource/src/resource.service.ts +258 -0
  121. package/projects/angular-formio/resource/src/resources.service.ts +24 -0
  122. package/projects/angular-formio/resource/src/view/view.component.html +6 -0
  123. package/projects/angular-formio/resource/src/view/view.component.ts +19 -0
  124. package/projects/angular-formio/src/FormioBaseComponent.ts +554 -0
  125. package/projects/angular-formio/src/components/alerts/formio.alerts.component.html +3 -0
  126. package/projects/angular-formio/src/components/alerts/formio.alerts.component.ts +19 -0
  127. package/projects/angular-formio/src/components/alerts/formio.alerts.ts +21 -0
  128. package/projects/angular-formio/src/components/alerts/parse-html-content.pipe.ts +15 -0
  129. package/projects/angular-formio/src/components/formbuilder/formbuilder.component.html +1 -0
  130. package/projects/angular-formio/src/components/formbuilder/formbuilder.component.ts +213 -0
  131. package/projects/angular-formio/src/components/formio/formio.component.html +8 -0
  132. package/projects/angular-formio/src/components/formio/formio.component.ts +33 -0
  133. package/projects/angular-formio/src/components/formioreport/formioreport.component.html +8 -0
  134. package/projects/angular-formio/src/components/formioreport/formioreport.component.ts +95 -0
  135. package/projects/angular-formio/src/components/loader/formio.loader.component.html +3 -0
  136. package/projects/angular-formio/src/components/loader/formio.loader.component.scss +26 -0
  137. package/projects/angular-formio/src/components/loader/formio.loader.component.ts +10 -0
  138. package/{core.d.ts → projects/angular-formio/src/core.ts} +12 -2
  139. package/projects/angular-formio/src/custom-tags.service.ts +9 -0
  140. package/projects/angular-formio/src/formio-promise.service.ts +36 -0
  141. package/projects/angular-formio/src/formio.common.ts +91 -0
  142. package/projects/angular-formio/src/formio.config.ts +26 -0
  143. package/projects/angular-formio/src/formio.module.ts +38 -0
  144. package/projects/angular-formio/src/formio.service.ts +57 -0
  145. package/projects/angular-formio/src/formio.utils.ts +23 -0
  146. package/{index.d.ts → projects/angular-formio/src/index.ts} +0 -1
  147. package/projects/angular-formio/src/public-api.ts +5 -0
  148. package/projects/angular-formio/src/test.ts +28 -0
  149. package/projects/angular-formio/src/types/alerts-position.ts +6 -0
  150. package/projects/angular-formio/src/types/formio-metadata.ts +10 -0
  151. package/projects/angular-formio/src/types/formio-submission.ts +20 -0
  152. package/projects/angular-formio/tsconfig.lib.json +27 -0
  153. package/projects/angular-formio/tsconfig.lib.prod.json +8 -0
  154. package/projects/angular-formio/tsconfig.spec.json +17 -0
  155. package/projects/angular-formio/tslint.json +17 -0
  156. package/tsconfig.json +39 -0
  157. package/tslint.json +140 -0
  158. package/FormioBaseComponent.d.ts +0 -93
  159. package/FormioBaseComponent.d.ts.map +0 -1
  160. package/auth/auth.component.d.ts +0 -6
  161. package/auth/auth.component.d.ts.map +0 -1
  162. package/auth/auth.config.d.ts +0 -63
  163. package/auth/auth.config.d.ts.map +0 -1
  164. package/auth/auth.module.d.ts +0 -17
  165. package/auth/auth.module.d.ts.map +0 -1
  166. package/auth/auth.routes.d.ts +0 -4
  167. package/auth/auth.routes.d.ts.map +0 -1
  168. package/auth/auth.service.d.ts +0 -41
  169. package/auth/auth.service.d.ts.map +0 -1
  170. package/auth/formio-angular-auth.d.ts.map +0 -1
  171. package/auth/index.d.ts.map +0 -1
  172. package/auth/login/login.component.d.ts +0 -10
  173. package/auth/login/login.component.d.ts.map +0 -1
  174. package/auth/register/register.component.d.ts +0 -10
  175. package/auth/register/register.component.d.ts.map +0 -1
  176. package/auth/resetpass/resetpass.component.d.ts +0 -9
  177. package/auth/resetpass/resetpass.component.d.ts.map +0 -1
  178. package/components/alerts/formio.alerts.component.d.ts +0 -12
  179. package/components/alerts/formio.alerts.component.d.ts.map +0 -1
  180. package/components/alerts/formio.alerts.d.ts +0 -12
  181. package/components/alerts/formio.alerts.d.ts.map +0 -1
  182. package/components/alerts/parse-html-content.pipe.d.ts +0 -8
  183. package/components/alerts/parse-html-content.pipe.d.ts.map +0 -1
  184. package/components/formbuilder/formbuilder.component.d.ts +0 -37
  185. package/components/formbuilder/formbuilder.component.d.ts.map +0 -1
  186. package/components/formio/formio.component.d.ts +0 -15
  187. package/components/formio/formio.component.d.ts.map +0 -1
  188. package/components/formioreport/formioreport.component.d.ts +0 -20
  189. package/components/formioreport/formioreport.component.d.ts.map +0 -1
  190. package/components/loader/formio.loader.component.d.ts +0 -7
  191. package/components/loader/formio.loader.component.d.ts.map +0 -1
  192. package/core.d.ts.map +0 -1
  193. package/custom-tags.service.d.ts +0 -8
  194. package/custom-tags.service.d.ts.map +0 -1
  195. package/esm2022/FormioBaseComponent.mjs +0 -583
  196. package/esm2022/auth/auth.component.mjs +0 -12
  197. package/esm2022/auth/auth.config.mjs +0 -21
  198. package/esm2022/auth/auth.module.mjs +0 -46
  199. package/esm2022/auth/auth.routes.mjs +0 -32
  200. package/esm2022/auth/auth.service.mjs +0 -199
  201. package/esm2022/auth/formio-angular-auth.mjs +0 -5
  202. package/esm2022/auth/index.mjs +0 -9
  203. package/esm2022/auth/login/login.component.mjs +0 -20
  204. package/esm2022/auth/register/register.component.mjs +0 -20
  205. package/esm2022/auth/resetpass/resetpass.component.mjs +0 -17
  206. package/esm2022/components/alerts/formio.alerts.component.mjs +0 -28
  207. package/esm2022/components/alerts/formio.alerts.mjs +0 -13
  208. package/esm2022/components/alerts/parse-html-content.pipe.mjs +0 -19
  209. package/esm2022/components/formbuilder/formbuilder.component.mjs +0 -202
  210. package/esm2022/components/formio/formio.component.mjs +0 -43
  211. package/esm2022/components/formioreport/formioreport.component.mjs +0 -86
  212. package/esm2022/components/loader/formio.loader.component.mjs +0 -15
  213. package/esm2022/core.mjs +0 -18
  214. package/esm2022/custom-tags.service.mjs +0 -14
  215. package/esm2022/formio-angular.mjs +0 -5
  216. package/esm2022/formio-promise.service.mjs +0 -36
  217. package/esm2022/formio.common.mjs +0 -11
  218. package/esm2022/formio.config.mjs +0 -29
  219. package/esm2022/formio.module.mjs +0 -59
  220. package/esm2022/formio.service.mjs +0 -62
  221. package/esm2022/formio.utils.mjs +0 -21
  222. package/esm2022/grid/GridBodyComponent.mjs +0 -89
  223. package/esm2022/grid/GridFooterComponent.mjs +0 -44
  224. package/esm2022/grid/GridHeaderComponent.mjs +0 -34
  225. package/esm2022/grid/form/FormGridBody.component.mjs +0 -63
  226. package/esm2022/grid/form/FormGridFooter.component.mjs +0 -26
  227. package/esm2022/grid/form/FormGridHeader.component.mjs +0 -27
  228. package/esm2022/grid/form/index.mjs +0 -9
  229. package/esm2022/grid/form/time-since.pipe.mjs +0 -37
  230. package/esm2022/grid/formio-angular-grid.mjs +0 -5
  231. package/esm2022/grid/grid.component.mjs +0 -257
  232. package/esm2022/grid/grid.module.mjs +0 -79
  233. package/esm2022/grid/grid.service.mjs +0 -18
  234. package/esm2022/grid/index.mjs +0 -13
  235. package/esm2022/grid/submission/SubmissionGridBody.component.mjs +0 -43
  236. package/esm2022/grid/submission/SubmissionGridFooter.component.mjs +0 -23
  237. package/esm2022/grid/submission/SubmissionGridHeader.component.mjs +0 -63
  238. package/esm2022/grid/submission/index.mjs +0 -9
  239. package/esm2022/grid/types/grid-column.mjs +0 -2
  240. package/esm2022/grid/types/grid-footer-positions.mjs +0 -7
  241. package/esm2022/grid/types/grid-header.mjs +0 -6
  242. package/esm2022/index.mjs +0 -3
  243. package/esm2022/manager/create/create.component.mjs +0 -18
  244. package/esm2022/manager/delete/delete.component.mjs +0 -42
  245. package/esm2022/manager/edit/edit.component.mjs +0 -125
  246. package/esm2022/manager/form/form.component.mjs +0 -80
  247. package/esm2022/manager/form-manager.config.mjs +0 -18
  248. package/esm2022/manager/form-manager.module.mjs +0 -83
  249. package/esm2022/manager/form-manager.routes.mjs +0 -74
  250. package/esm2022/manager/form-manager.service.mjs +0 -185
  251. package/esm2022/manager/formio-angular-manager.mjs +0 -5
  252. package/esm2022/manager/index/index.component.mjs +0 -108
  253. package/esm2022/manager/index.mjs +0 -16
  254. package/esm2022/manager/submission/delete/delete.component.mjs +0 -32
  255. package/esm2022/manager/submission/edit/edit.component.mjs +0 -25
  256. package/esm2022/manager/submission/index/index.component.mjs +0 -25
  257. package/esm2022/manager/submission/submission/submission.component.mjs +0 -29
  258. package/esm2022/manager/submission/view/view.component.mjs +0 -17
  259. package/esm2022/manager/view/view.component.mjs +0 -52
  260. package/esm2022/resource/create/create.component.mjs +0 -43
  261. package/esm2022/resource/delete/delete.component.mjs +0 -29
  262. package/esm2022/resource/edit/edit.component.mjs +0 -42
  263. package/esm2022/resource/formio-angular-resource.mjs +0 -5
  264. package/esm2022/resource/index/index.component.mjs +0 -69
  265. package/esm2022/resource/index.mjs +0 -12
  266. package/esm2022/resource/resource.component.mjs +0 -46
  267. package/esm2022/resource/resource.config.mjs +0 -13
  268. package/esm2022/resource/resource.module.mjs +0 -62
  269. package/esm2022/resource/resource.routes.mjs +0 -42
  270. package/esm2022/resource/resource.service.mjs +0 -229
  271. package/esm2022/resource/resources.service.mjs +0 -25
  272. package/esm2022/resource/view/view.component.mjs +0 -25
  273. package/esm2022/types/alerts-position.mjs +0 -8
  274. package/esm2022/types/formio-metadata.mjs +0 -2
  275. package/esm2022/types/formio-submission.mjs +0 -6
  276. package/fesm2022/formio-angular-auth.mjs +0 -345
  277. package/fesm2022/formio-angular-auth.mjs.map +0 -1
  278. package/fesm2022/formio-angular-grid.mjs +0 -771
  279. package/fesm2022/formio-angular-grid.mjs.map +0 -1
  280. package/fesm2022/formio-angular-manager.mjs +0 -822
  281. package/fesm2022/formio-angular-manager.mjs.map +0 -1
  282. package/fesm2022/formio-angular-resource.mjs +0 -571
  283. package/fesm2022/formio-angular-resource.mjs.map +0 -1
  284. package/fesm2022/formio-angular.mjs +0 -1186
  285. package/fesm2022/formio-angular.mjs.map +0 -1
  286. package/formio-angular.d.ts.map +0 -1
  287. package/formio-promise.service.d.ts +0 -16
  288. package/formio-promise.service.d.ts.map +0 -1
  289. package/formio.common.d.ts +0 -73
  290. package/formio.common.d.ts.map +0 -1
  291. package/formio.config.d.ts +0 -20
  292. package/formio.config.d.ts.map +0 -1
  293. package/formio.module.d.ts +0 -15
  294. package/formio.module.d.ts.map +0 -1
  295. package/formio.service.d.ts +0 -18
  296. package/formio.service.d.ts.map +0 -1
  297. package/formio.utils.d.ts +0 -2
  298. package/formio.utils.d.ts.map +0 -1
  299. package/grid/GridBodyComponent.d.ts +0 -35
  300. package/grid/GridBodyComponent.d.ts.map +0 -1
  301. package/grid/GridFooterComponent.d.ts +0 -20
  302. package/grid/GridFooterComponent.d.ts.map +0 -1
  303. package/grid/GridHeaderComponent.d.ts +0 -16
  304. package/grid/GridHeaderComponent.d.ts.map +0 -1
  305. package/grid/form/FormGridBody.component.d.ts +0 -19
  306. package/grid/form/FormGridBody.component.d.ts.map +0 -1
  307. package/grid/form/FormGridFooter.component.d.ts +0 -10
  308. package/grid/form/FormGridFooter.component.d.ts.map +0 -1
  309. package/grid/form/FormGridHeader.component.d.ts +0 -11
  310. package/grid/form/FormGridHeader.component.d.ts.map +0 -1
  311. package/grid/form/index.d.ts +0 -10
  312. package/grid/form/index.d.ts.map +0 -1
  313. package/grid/form/time-since.pipe.d.ts +0 -8
  314. package/grid/form/time-since.pipe.d.ts.map +0 -1
  315. package/grid/formio-angular-grid.d.ts.map +0 -1
  316. package/grid/grid.component.d.ts +0 -59
  317. package/grid/grid.component.d.ts.map +0 -1
  318. package/grid/grid.module.d.ts +0 -23
  319. package/grid/grid.module.d.ts.map +0 -1
  320. package/grid/grid.service.d.ts +0 -10
  321. package/grid/grid.service.d.ts.map +0 -1
  322. package/grid/index.d.ts.map +0 -1
  323. package/grid/submission/SubmissionGridBody.component.d.ts +0 -19
  324. package/grid/submission/SubmissionGridBody.component.d.ts.map +0 -1
  325. package/grid/submission/SubmissionGridFooter.component.d.ts +0 -10
  326. package/grid/submission/SubmissionGridFooter.component.d.ts.map +0 -1
  327. package/grid/submission/SubmissionGridHeader.component.d.ts +0 -30
  328. package/grid/submission/SubmissionGridHeader.component.d.ts.map +0 -1
  329. package/grid/submission/index.d.ts.map +0 -1
  330. package/grid/types/grid-column.d.ts +0 -7
  331. package/grid/types/grid-column.d.ts.map +0 -1
  332. package/grid/types/grid-footer-positions.d.ts +0 -6
  333. package/grid/types/grid-footer-positions.d.ts.map +0 -1
  334. package/grid/types/grid-header.d.ts +0 -13
  335. package/grid/types/grid-header.d.ts.map +0 -1
  336. package/index.d.ts.map +0 -1
  337. package/manager/create/create.component.d.ts +0 -9
  338. package/manager/create/create.component.d.ts.map +0 -1
  339. package/manager/delete/delete.component.d.ts +0 -18
  340. package/manager/delete/delete.component.d.ts.map +0 -1
  341. package/manager/edit/edit.component.d.ts +0 -31
  342. package/manager/edit/edit.component.d.ts.map +0 -1
  343. package/manager/form/form.component.d.ts +0 -29
  344. package/manager/form/form.component.d.ts.map +0 -1
  345. package/manager/form-manager.config.d.ts +0 -30
  346. package/manager/form-manager.config.d.ts.map +0 -1
  347. package/manager/form-manager.module.d.ts +0 -28
  348. package/manager/form-manager.module.d.ts.map +0 -1
  349. package/manager/form-manager.routes.d.ts +0 -4
  350. package/manager/form-manager.routes.d.ts.map +0 -1
  351. package/manager/form-manager.service.d.ts +0 -37
  352. package/manager/form-manager.service.d.ts.map +0 -1
  353. package/manager/formio-angular-manager.d.ts.map +0 -1
  354. package/manager/index/index.component.d.ts +0 -28
  355. package/manager/index/index.component.d.ts.map +0 -1
  356. package/manager/index.d.ts.map +0 -1
  357. package/manager/submission/delete/delete.component.d.ts +0 -16
  358. package/manager/submission/delete/delete.component.d.ts.map +0 -1
  359. package/manager/submission/edit/edit.component.d.ts +0 -13
  360. package/manager/submission/edit/edit.component.d.ts.map +0 -1
  361. package/manager/submission/index/index.component.d.ts +0 -13
  362. package/manager/submission/index/index.component.d.ts.map +0 -1
  363. package/manager/submission/submission/submission.component.d.ts +0 -15
  364. package/manager/submission/submission/submission.component.d.ts.map +0 -1
  365. package/manager/submission/view/view.component.d.ts +0 -9
  366. package/manager/submission/view/view.component.d.ts.map +0 -1
  367. package/manager/view/view.component.d.ts +0 -24
  368. package/manager/view/view.component.d.ts.map +0 -1
  369. package/resource/create/create.component.d.ts +0 -19
  370. package/resource/create/create.component.d.ts.map +0 -1
  371. package/resource/delete/delete.component.d.ts +0 -14
  372. package/resource/delete/delete.component.d.ts.map +0 -1
  373. package/resource/edit/edit.component.d.ts +0 -22
  374. package/resource/edit/edit.component.d.ts.map +0 -1
  375. package/resource/formio-angular-resource.d.ts.map +0 -1
  376. package/resource/index/index.component.d.ts +0 -23
  377. package/resource/index/index.component.d.ts.map +0 -1
  378. package/resource/index.d.ts.map +0 -1
  379. package/resource/resource.component.d.ts +0 -24
  380. package/resource/resource.component.d.ts.map +0 -1
  381. package/resource/resource.config.d.ts +0 -17
  382. package/resource/resource.config.d.ts.map +0 -1
  383. package/resource/resource.module.d.ts +0 -20
  384. package/resource/resource.module.d.ts.map +0 -1
  385. package/resource/resource.routes.d.ts +0 -4
  386. package/resource/resource.routes.d.ts.map +0 -1
  387. package/resource/resource.service.d.ts +0 -52
  388. package/resource/resource.service.d.ts.map +0 -1
  389. package/resource/resources.service.d.ts +0 -16
  390. package/resource/resources.service.d.ts.map +0 -1
  391. package/resource/view/view.component.d.ts +0 -16
  392. package/resource/view/view.component.d.ts.map +0 -1
  393. package/types/alerts-position.d.ts +0 -7
  394. package/types/alerts-position.d.ts.map +0 -1
  395. package/types/formio-metadata.d.ts +0 -11
  396. package/types/formio-metadata.d.ts.map +0 -1
  397. package/types/formio-submission.d.ts +0 -19
  398. package/types/formio-submission.d.ts.map +0 -1
@@ -0,0 +1,23 @@
1
+ import { RouterModule } from '@angular/router';
2
+ import { find, trim, each, intersection } from 'lodash';
3
+
4
+ export function extendRouter(Class: any, config: any, ClassRoutes: any) {
5
+ each(Class.decorators, decorator => {
6
+ each(decorator.args, arg => {
7
+ if (arg.declarations) {
8
+ each(config, component => arg.declarations.push(component));
9
+ }
10
+ if (arg.imports) {
11
+ each(arg.imports, (_import, index) => {
12
+ if (
13
+ (_import.ngModule && (_import.ngModule.name === 'RouterModule')) ||
14
+ (_import.name === 'RouterModule')
15
+ ) {
16
+ arg.imports[index] = RouterModule.forChild(ClassRoutes(config));
17
+ }
18
+ });
19
+ }
20
+ });
21
+ });
22
+ return Class;
23
+ }
@@ -1,4 +1,3 @@
1
1
  export * from './core';
2
2
  export * from './custom-tags.service';
3
3
  export { default as FormioSubmission } from './types/formio-submission';
4
- //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,5 @@
1
+ /*
2
+ * Public API Surface of angular-formio
3
+ */
4
+
5
+ export * from './index';
@@ -0,0 +1,28 @@
1
+ // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2
+
3
+ import 'zone.js';
4
+ import 'zone.js/testing';
5
+ import { getTestBed } from '@angular/core/testing';
6
+ import {
7
+ BrowserDynamicTestingModule,
8
+ platformBrowserDynamicTesting
9
+ } from '@angular/platform-browser-dynamic/testing';
10
+
11
+ declare const require: {
12
+ context(path: string, deep?: boolean, filter?: RegExp): {
13
+ keys(): string[];
14
+ <T>(id: string): T;
15
+ };
16
+ };
17
+
18
+ // First, initialize the Angular testing environment.
19
+ getTestBed().initTestEnvironment(
20
+ BrowserDynamicTestingModule,
21
+ platformBrowserDynamicTesting(), {
22
+ teardown: { destroyAfterEach: false }
23
+ }
24
+ );
25
+ // Then we find all the tests.
26
+ const context = require.context('./', true, /\.spec\.ts$/);
27
+ // And load the modules.
28
+ context.keys().map(context);
@@ -0,0 +1,6 @@
1
+ export enum AlertsPosition {
2
+ none,
3
+ top,
4
+ bottom,
5
+ both
6
+ }
@@ -0,0 +1,10 @@
1
+ export default interface FormioMetadata {
2
+ timezone?: string;
3
+ offset?: number;
4
+ origin?: string;
5
+ referrer?: string;
6
+ browserName?: string;
7
+ userAgent?: string;
8
+ pathName?: string;
9
+ onLine?: boolean;
10
+ }
@@ -0,0 +1,20 @@
1
+ import FormioMetadata from './formio-metadata';
2
+
3
+ export default interface FormioSubmission<T = any, stateType= FormioSubmissionState > {
4
+ _id?: string;
5
+ created?: string;
6
+ data?: T;
7
+ form?: string;
8
+ metadata?: FormioMetadata;
9
+ modified?: string;
10
+ owner?: string;
11
+ project?: string;
12
+ state?: stateType;
13
+ _fvid?: number;
14
+ _vid?: number;
15
+ }
16
+
17
+ export enum FormioSubmissionState {
18
+ draft = 'draft',
19
+ submitted = 'submitted'
20
+ }
@@ -0,0 +1,27 @@
1
+ /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
+ {
3
+ "extends": "../../tsconfig.json",
4
+ "compilerOptions": {
5
+ "outDir": "../../out-tsc/lib",
6
+ "module": "es2015",
7
+ "target": "es2020",
8
+ "declaration": true,
9
+ "declarationMap": true,
10
+ "inlineSources": true,
11
+ "types": [],
12
+ "lib": [
13
+ "dom",
14
+ "es2018"
15
+ ]
16
+ },
17
+ "angularCompilerOptions": {
18
+ "enableIvy": true,
19
+ "skipTemplateCodegen": true,
20
+ "strictMetadataEmit": true,
21
+ "enableResourceInlining": true
22
+ },
23
+ "exclude": [
24
+ "src/test.ts",
25
+ "**/*.spec.ts"
26
+ ]
27
+ }
@@ -0,0 +1,8 @@
1
+ /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
+ {
3
+ "extends": "./tsconfig.lib.json",
4
+ "angularCompilerOptions": {
5
+ "compilationMode": "partial",
6
+ "fullTemplateTypeCheck": true
7
+ }
8
+ }
@@ -0,0 +1,17 @@
1
+ /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
+ {
3
+ "extends": "../../tsconfig.json",
4
+ "compilerOptions": {
5
+ "outDir": "../../out-tsc/spec",
6
+ "types": [
7
+ "jasmine"
8
+ ]
9
+ },
10
+ "files": [
11
+ "src/test.ts"
12
+ ],
13
+ "include": [
14
+ "**/*.spec.ts",
15
+ "**/*.d.ts"
16
+ ]
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "extends": "../../tslint.json",
3
+ "rules": {
4
+ "directive-selector": [
5
+ true,
6
+ "attribute",
7
+ "lib",
8
+ "camelCase"
9
+ ],
10
+ "component-selector": [
11
+ true,
12
+ "element",
13
+ "lib",
14
+ "kebab-case"
15
+ ]
16
+ }
17
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,39 @@
1
+ {
2
+ "compileOnSave": false,
3
+ "compilerOptions": {
4
+ "baseUrl": "./",
5
+ "outDir": "./dist/out-tsc",
6
+ "sourceMap": true,
7
+ "declaration": false,
8
+ "downlevelIteration": true,
9
+ "experimentalDecorators": true,
10
+ "moduleResolution": "node",
11
+ "importHelpers": true,
12
+ "target": "es2020",
13
+ "module": "es2020",
14
+ "lib": [
15
+ "es2018",
16
+ "dom"
17
+ ],
18
+ "paths": {
19
+ "@formio/angular": [
20
+ "./projects/angular-formio/src"
21
+ ],
22
+ "@formio/angular/grid": [
23
+ "./projects/angular-formio/grid/src"
24
+ ],
25
+ "@formio/angular/auth": [
26
+ "./projects/angular-formio/auth/src"
27
+ ],
28
+ "@formio/angular/manager": [
29
+ "./projects/angular-formio/manager/src"
30
+ ],
31
+ "@formio/angular/resource": [
32
+ "./projects/angular-formio/resource/src"
33
+ ],
34
+ "@formio/angular/embed": [
35
+ "./projects/angular-formio/embed/src"
36
+ ]
37
+ }
38
+ }
39
+ }
package/tslint.json ADDED
@@ -0,0 +1,140 @@
1
+ {
2
+ "extends": "tslint:recommended",
3
+ "rulesDirectory": [
4
+ "codelyzer"
5
+ ],
6
+ "rules": {
7
+ "align": {
8
+ "options": [
9
+ "parameters",
10
+ "statements"
11
+ ]
12
+ },
13
+ "array-type": false,
14
+ "arrow-return-shorthand": true,
15
+ "curly": true,
16
+ "deprecation": {
17
+ "severity": "warning"
18
+ },
19
+ "eofline": true,
20
+ "import-blacklist": [
21
+ true,
22
+ "rxjs/Rx"
23
+ ],
24
+ "import-spacing": true,
25
+ "indent": {
26
+ "options": [
27
+ "spaces"
28
+ ]
29
+ },
30
+ "max-classes-per-file": false,
31
+ "max-line-length": [
32
+ true,
33
+ 140
34
+ ],
35
+ "member-ordering": [
36
+ true,
37
+ {
38
+ "order": [
39
+ "static-field",
40
+ "instance-field",
41
+ "static-method",
42
+ "instance-method"
43
+ ]
44
+ }
45
+ ],
46
+ "no-console": [
47
+ true,
48
+ "debug",
49
+ "info",
50
+ "time",
51
+ "timeEnd",
52
+ "trace"
53
+ ],
54
+ "no-empty": false,
55
+ "no-inferrable-types": [
56
+ true,
57
+ "ignore-params"
58
+ ],
59
+ "no-non-null-assertion": true,
60
+ "no-redundant-jsdoc": true,
61
+ "no-switch-case-fall-through": true,
62
+ "no-var-requires": false,
63
+ "object-literal-key-quotes": [
64
+ true,
65
+ "as-needed"
66
+ ],
67
+ "quotemark": [
68
+ true,
69
+ "single"
70
+ ],
71
+ "semicolon": {
72
+ "options": [
73
+ "always"
74
+ ]
75
+ },
76
+ "space-before-function-paren": {
77
+ "options": {
78
+ "anonymous": "never",
79
+ "asyncArrow": "always",
80
+ "constructor": "never",
81
+ "method": "never",
82
+ "named": "never"
83
+ }
84
+ },
85
+ "typedef": [
86
+ true,
87
+ "call-signature"
88
+ ],
89
+ "typedef-whitespace": {
90
+ "options": [
91
+ {
92
+ "call-signature": "nospace",
93
+ "index-signature": "nospace",
94
+ "parameter": "nospace",
95
+ "property-declaration": "nospace",
96
+ "variable-declaration": "nospace"
97
+ },
98
+ {
99
+ "call-signature": "onespace",
100
+ "index-signature": "onespace",
101
+ "parameter": "onespace",
102
+ "property-declaration": "onespace",
103
+ "variable-declaration": "onespace"
104
+ }
105
+ ]
106
+ },
107
+ "variable-name": {
108
+ "options": [
109
+ "ban-keywords",
110
+ "check-format",
111
+ "allow-pascal-case"
112
+ ]
113
+ },
114
+ "whitespace": {
115
+ "options": [
116
+ "check-branch",
117
+ "check-decl",
118
+ "check-operator",
119
+ "check-separator",
120
+ "check-type",
121
+ "check-typecast"
122
+ ]
123
+ },
124
+ "component-class-suffix": true,
125
+ "contextual-lifecycle": true,
126
+ "directive-class-suffix": true,
127
+ "no-conflicting-lifecycle": true,
128
+ "no-host-metadata-property": true,
129
+ "no-input-rename": true,
130
+ "no-inputs-metadata-property": true,
131
+ "no-output-native": true,
132
+ "no-output-on-prefix": true,
133
+ "no-output-rename": true,
134
+ "no-outputs-metadata-property": true,
135
+ "template-banana-in-box": true,
136
+ "template-no-negated-async": true,
137
+ "use-lifecycle-interface": true,
138
+ "use-pipe-transform-interface": true
139
+ }
140
+ }
@@ -1,93 +0,0 @@
1
- import { ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, OnInit } from '@angular/core';
2
- import { FormioService } from './formio.service';
3
- import { FormioAlerts } from './components/alerts/formio.alerts';
4
- import { FormioAppConfig } from './formio.config';
5
- import { FormioForm, FormioOptions, FormioRefreshValue } from './formio.common';
6
- import { CustomTagsService } from './custom-tags.service';
7
- import { AlertsPosition } from './types/alerts-position';
8
- import * as i0 from "@angular/core";
9
- export declare class FormioBaseComponent implements OnInit, OnChanges, OnDestroy {
10
- ngZone: NgZone;
11
- config: FormioAppConfig;
12
- customTags?: CustomTagsService;
13
- form?: FormioForm;
14
- submission?: any;
15
- src?: string;
16
- url?: string;
17
- service?: FormioService;
18
- options?: FormioOptions;
19
- noeval?: any;
20
- formioOptions?: any;
21
- renderOptions?: any;
22
- readOnly?: boolean;
23
- viewOnly?: boolean;
24
- hideLoading?: boolean;
25
- hideComponents?: string[];
26
- refresh?: EventEmitter<FormioRefreshValue>;
27
- error?: EventEmitter<any>;
28
- success?: EventEmitter<object>;
29
- submitDone?: EventEmitter<object>;
30
- language?: EventEmitter<string>;
31
- hooks?: any;
32
- renderer?: any;
33
- watchSubmissionErrors?: boolean;
34
- dataTableActions?: any;
35
- render: EventEmitter<object>;
36
- customEvent: EventEmitter<object>;
37
- fileUploadingStatus: EventEmitter<string>;
38
- submit: EventEmitter<object>;
39
- prevPage: EventEmitter<object>;
40
- nextPage: EventEmitter<object>;
41
- beforeSubmit: EventEmitter<object>;
42
- rowAdd: EventEmitter<any>;
43
- rowAdded: EventEmitter<any>;
44
- rowEdit: EventEmitter<any>;
45
- rowEdited: EventEmitter<any>;
46
- rowDelete: EventEmitter<any>;
47
- rowClick: EventEmitter<any>;
48
- rowSelectChange: EventEmitter<any>;
49
- page: EventEmitter<any>;
50
- changeItemsPerPage: EventEmitter<any>;
51
- change: EventEmitter<object>;
52
- invalid: EventEmitter<boolean>;
53
- errorChange: EventEmitter<any>;
54
- formLoad: EventEmitter<any>;
55
- submissionLoad: EventEmitter<any>;
56
- ready: EventEmitter<FormioBaseComponent>;
57
- formioElement?: ElementRef<any>;
58
- AlertsPosition: typeof AlertsPosition;
59
- formio: any;
60
- initialized: boolean;
61
- alerts: FormioAlerts;
62
- formioReady: Promise<any>;
63
- private formioReadyResolve;
64
- private submitting;
65
- private submissionSuccess;
66
- isLoading: boolean;
67
- noAlerts: boolean;
68
- label: string;
69
- constructor(ngZone: NgZone, config: FormioAppConfig, customTags?: CustomTagsService);
70
- getRenderer(): any;
71
- getRendererOptions(): any;
72
- createRenderer(): any;
73
- setFormUrl(url: any): void;
74
- setForm(form: FormioForm): any;
75
- attachFormEvents(): void;
76
- initialize(): void;
77
- ngOnInit(): void;
78
- setFormFromSrc(): void;
79
- ngOnDestroy(): void;
80
- onRefresh(refresh: FormioRefreshValue): void;
81
- ngOnChanges(changes: any): void;
82
- onPrevPage(data: any): void;
83
- onNextPage(data: any): void;
84
- onSubmit(submission: any, saved: boolean, noemit?: boolean): void;
85
- onError(err: any): void;
86
- focusOnComponet(key: any): void;
87
- submitExecute(submission: object, saved?: boolean): void;
88
- submitForm(submission: any, saved?: boolean): void;
89
- onChange(value: any, flags: any, isModified: boolean): void;
90
- static ɵfac: i0.ɵɵFactoryDeclaration<FormioBaseComponent, [null, { optional: true; }, { optional: true; }]>;
91
- static ɵcmp: i0.ɵɵComponentDeclaration<FormioBaseComponent, "ng-component", never, { "form": { "alias": "form"; "required": false; }; "submission": { "alias": "submission"; "required": false; }; "src": { "alias": "src"; "required": false; }; "url": { "alias": "url"; "required": false; }; "service": { "alias": "service"; "required": false; }; "options": { "alias": "options"; "required": false; }; "noeval": { "alias": "noeval"; "required": false; }; "formioOptions": { "alias": "formioOptions"; "required": false; }; "renderOptions": { "alias": "renderOptions"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "viewOnly": { "alias": "viewOnly"; "required": false; }; "hideLoading": { "alias": "hideLoading"; "required": false; }; "hideComponents": { "alias": "hideComponents"; "required": false; }; "refresh": { "alias": "refresh"; "required": false; }; "error": { "alias": "error"; "required": false; }; "success": { "alias": "success"; "required": false; }; "submitDone": { "alias": "submitDone"; "required": false; }; "language": { "alias": "language"; "required": false; }; "hooks": { "alias": "hooks"; "required": false; }; "renderer": { "alias": "renderer"; "required": false; }; "watchSubmissionErrors": { "alias": "watchSubmissionErrors"; "required": false; }; "dataTableActions": { "alias": "dataTableActions"; "required": false; }; }, { "render": "render"; "customEvent": "customEvent"; "fileUploadingStatus": "fileUploadingStatus"; "submit": "submit"; "prevPage": "prevPage"; "nextPage": "nextPage"; "beforeSubmit": "beforeSubmit"; "rowAdd": "rowAdd"; "rowAdded": "rowAdded"; "rowEdit": "rowEdit"; "rowEdited": "rowEdited"; "rowDelete": "rowDelete"; "rowClick": "rowClick"; "rowSelectChange": "rowSelectChange"; "page": "page"; "changeItemsPerPage": "changeItemsPerPage"; "change": "change"; "invalid": "invalid"; "errorChange": "errorChange"; "formLoad": "formLoad"; "submissionLoad": "submissionLoad"; "ready": "ready"; }, never, never, false, never>;
92
- }
93
- //# sourceMappingURL=FormioBaseComponent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormioBaseComponent.d.ts","sourceRoot":"","sources":["../../projects/angular-formio/src/FormioBaseComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,YAAY,EAAS,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,EAA+B,MAAM,eAAe,CAAC;AAC9I,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAe,UAAU,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE7F,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;;AAMzD,qBAGa,mBAAoB,YAAW,MAAM,EAAE,SAAS,EAAE,SAAS;IA6D7D,MAAM,EAA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QAAQ,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,OAAO;yCAhhBzC,mBAAmB;2CAAnB,mBAAmB;CA2hB/B"}
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class FormioAuthComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<FormioAuthComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<FormioAuthComponent, "ng-component", never, {}, {}, never, never, false, never>;
5
- }
6
- //# sourceMappingURL=auth.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth.component.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/auth/src/auth.component.ts"],"names":[],"mappings":";AACA,qBAGa,mBAAmB;yCAAnB,mBAAmB;2CAAnB,mBAAmB;CAAG"}
@@ -1,63 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export interface FormioAuthFormConfig {
3
- path?: string;
4
- form?: string;
5
- component?: any;
6
- }
7
- export interface FormioAuthRouteConfig {
8
- auth?: any;
9
- login?: any;
10
- register?: any;
11
- resetpass?: any;
12
- }
13
- export declare class FormioAuthConfig {
14
- component?: any;
15
- delayAuth?: any;
16
- login?: FormioAuthFormConfig;
17
- register?: FormioAuthFormConfig;
18
- resetpass?: FormioAuthFormConfig;
19
- oauth?: FormioOAuthConfig;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<FormioAuthConfig, never>;
21
- static ɵprov: i0.ɵɵInjectableDeclaration<FormioAuthConfig>;
22
- }
23
- export interface FormioOAuthConfig {
24
- type: FormioOauthType;
25
- options: FormioOktaConfig | FormioSamlConfig;
26
- }
27
- export declare enum FormioOauthType {
28
- okta = "okta",
29
- saml = "saml"
30
- }
31
- export interface FormioOktaConfig extends OktaConfig {
32
- formio?: any;
33
- }
34
- export interface FormioSamlConfig {
35
- relay: string;
36
- }
37
- export interface OktaConfig {
38
- url?: string;
39
- tokenManager?: OktaTokenManagerConfig;
40
- issuer?: string;
41
- clientId?: string;
42
- redirectUri?: string;
43
- postLogoutRedirectUri?: string;
44
- pkce?: boolean;
45
- authorizeUrl?: string;
46
- userinfoUrl?: string;
47
- tokenUrl?: string;
48
- ignoreSignature?: boolean;
49
- maxClockSkew?: number;
50
- scopes?: string[];
51
- httpRequestClient?: Function;
52
- }
53
- export interface OktaTokenManagerConfig {
54
- storage?: string | {
55
- getItem?: Function;
56
- setItem?: Function;
57
- };
58
- secure?: boolean;
59
- autoRenew?: boolean;
60
- expireEarlySeconds?: number;
61
- storageKey?: string;
62
- }
63
- //# sourceMappingURL=auth.config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth.config.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/auth/src/auth.config.ts"],"names":[],"mappings":";AAEA,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,GAAG,CAAC;CACjB;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,SAAS,CAAC,EAAE,GAAG,CAAC;CACjB;AAED,qBACa,gBAAgB;IAC3B,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,KAAK,CAAC,EAAE,oBAAoB,CAAC;IAC7B,QAAQ,CAAC,EAAE,oBAAoB,CAAC;IAChC,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC,KAAK,CAAC,EAAE,iBAAiB,CAAC;yCANf,gBAAgB;6CAAhB,gBAAgB;CAO5B;AAGD,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,eAAe,CAAC;IACtB,OAAO,EAAE,gBAAgB,GAAG,gBAAgB,CAAC;CAC9C;AAED,oBAAY,eAAe;IACzB,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAClD,MAAM,CAAC,EAAE,GAAG,CAAC;CACd;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;CACf;AAGD,MAAM,WAAW,UAAU;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,sBAAsB,CAAC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,iBAAiB,CAAC,EAAE,QAAQ,CAAC;CAC9B;AAED,MAAM,WAAW,sBAAsB;IACrC,OAAO,CAAC,EAAE,MAAM,GAAG;QACjB,OAAO,CAAC,EAAE,QAAQ,CAAC;QACnB,OAAO,CAAC,EAAE,QAAQ,CAAC;KACpB,CAAC;IACF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
@@ -1,17 +0,0 @@
1
- import { FormioAuthRouteConfig } from './auth.config';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "./auth.component";
4
- import * as i2 from "./login/login.component";
5
- import * as i3 from "./register/register.component";
6
- import * as i4 from "./resetpass/resetpass.component";
7
- import * as i5 from "@angular/common";
8
- import * as i6 from "@formio/angular";
9
- import * as i7 from "@angular/router";
10
- export declare class FormioAuth {
11
- static forRoot(config?: FormioAuthRouteConfig): any;
12
- static forChild(config?: FormioAuthRouteConfig): any;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<FormioAuth, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormioAuth, [typeof i1.FormioAuthComponent, typeof i2.FormioAuthLoginComponent, typeof i3.FormioAuthRegisterComponent, typeof i4.FormioResetPassComponent], [typeof i5.CommonModule, typeof i6.FormioModule, typeof i7.RouterModule], never>;
15
- static ɵinj: i0.ɵɵInjectorDeclaration<FormioAuth>;
16
- }
17
- //# sourceMappingURL=auth.module.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth.module.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/auth/src/auth.module.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;;;;;;;;;AAItD,qBAaa,UAAU;IACrB,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,qBAAqB,GAAG,GAAG;IAGnD,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,qBAAqB,GAAG,GAAG;yCAJzC,UAAU;0CAAV,UAAU;0CAAV,UAAU;CAOtB"}
@@ -1,4 +0,0 @@
1
- import { Routes } from '@angular/router';
2
- import { FormioAuthRouteConfig } from './auth.config';
3
- export declare function FormioAuthRoutes(config?: FormioAuthRouteConfig): Routes;
4
- //# sourceMappingURL=auth.routes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth.routes.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/auth/src/auth.routes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAMtD,wBAAgB,gBAAgB,CAAC,MAAM,CAAC,EAAE,qBAAqB,GAAG,MAAM,CA0BvE"}
@@ -1,41 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { FormioAuthConfig } from './auth.config';
3
- import { FormioAppConfig } from '@formio/angular';
4
- import * as i0 from "@angular/core";
5
- export declare class FormioAuthService {
6
- appConfig: FormioAppConfig;
7
- config: FormioAuthConfig;
8
- user: any;
9
- authenticated: boolean;
10
- loginForm: string;
11
- onLogin: EventEmitter<object>;
12
- onLogout: EventEmitter<object>;
13
- registerForm: string;
14
- onRegister: EventEmitter<object>;
15
- onUser: EventEmitter<object>;
16
- onError: EventEmitter<any>;
17
- resetPassForm: string;
18
- onResetPass: EventEmitter<object>;
19
- ready: Promise<boolean>;
20
- readyResolve: any;
21
- readyReject: any;
22
- projectReady?: Promise<any>;
23
- accessReady?: Promise<any>;
24
- userReady?: Promise<any>;
25
- formAccess: any;
26
- submissionAccess: any;
27
- roles: any;
28
- is: any;
29
- constructor(appConfig: FormioAppConfig, config: FormioAuthConfig);
30
- onLoginSubmit(submission: object): void;
31
- onRegisterSubmit(submission: object): void;
32
- onResetPassSubmit(submission: object): void;
33
- init(): void;
34
- setUser(user: any): void;
35
- setUserRoles(): void;
36
- logoutError(): void;
37
- logout(): void;
38
- static ɵfac: i0.ɵɵFactoryDeclaration<FormioAuthService, never>;
39
- static ɵprov: i0.ɵɵInjectableDeclaration<FormioAuthService>;
40
- }
41
- //# sourceMappingURL=auth.service.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth.service.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/auth/src/auth.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAsB,MAAM,eAAe,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;;AAIlD,qBACa,iBAAiB;IA6BnB,SAAS,EAAE,eAAe;IAC1B,MAAM,EAAE,gBAAgB;IA7B1B,IAAI,EAAE,GAAG,CAAC;IACV,aAAa,UAA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,SAAS,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/auth/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAO,kBAAkB,CAAC;AACxD,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC"}
@@ -1,10 +0,0 @@
1
- import { FormioAuthService } from '../auth.service';
2
- import * as i0 from "@angular/core";
3
- export declare class FormioAuthLoginComponent {
4
- service: FormioAuthService;
5
- renderOptions: any;
6
- constructor(service: FormioAuthService);
7
- static ɵfac: i0.ɵɵFactoryDeclaration<FormioAuthLoginComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<FormioAuthLoginComponent, "ng-component", never, {}, {}, never, never, false, never>;
9
- }
10
- //# sourceMappingURL=login.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"login.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/auth/src/login/login.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;;AACpD,qBAGa,wBAAwB;IAIhB,OAAO,EAAE,iBAAiB;IAHtC,aAAa,EAAE,GAAG,CAEvB;gBACiB,OAAO,EAAE,iBAAiB;yCAJlC,wBAAwB;2CAAxB,wBAAwB;CAKpC"}
@@ -1,10 +0,0 @@
1
- import { FormioAuthService } from '../auth.service';
2
- import * as i0 from "@angular/core";
3
- export declare class FormioAuthRegisterComponent {
4
- service: FormioAuthService;
5
- renderOptions: any;
6
- constructor(service: FormioAuthService);
7
- static ɵfac: i0.ɵɵFactoryDeclaration<FormioAuthRegisterComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<FormioAuthRegisterComponent, "ng-component", never, {}, {}, never, never, false, never>;
9
- }
10
- //# sourceMappingURL=register.component.d.ts.map