@formio/angular 5.2.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (321) hide show
  1. package/FormioBaseComponent.d.ts +75 -0
  2. package/FormioBaseComponent.d.ts.map +1 -0
  3. package/FormioBaseComponent.ngfactory.d.ts.map +1 -0
  4. package/README.md +24 -0
  5. package/auth/auth.component.d.ts +3 -0
  6. package/auth/auth.component.d.ts.map +1 -0
  7. package/auth/auth.config.d.ts +60 -0
  8. package/auth/auth.config.d.ts.map +1 -0
  9. package/auth/auth.module.d.ts +6 -0
  10. package/auth/auth.module.d.ts.map +1 -0
  11. package/auth/auth.routes.d.ts +4 -0
  12. package/auth/auth.routes.d.ts.map +1 -0
  13. package/auth/auth.service.d.ts +38 -0
  14. package/auth/auth.service.d.ts.map +1 -0
  15. package/auth/formio-angular-auth.d.ts +5 -0
  16. package/auth/formio-angular-auth.d.ts.map +1 -0
  17. package/auth/formio-angular-auth.metadata.json +1 -0
  18. package/auth/index.d.ts +9 -0
  19. package/auth/index.d.ts.map +1 -0
  20. package/auth/login/login.component.d.ts +6 -0
  21. package/auth/login/login.component.d.ts.map +1 -0
  22. package/auth/package.json +11 -0
  23. package/auth/public_api.d.ts +2 -0
  24. package/auth/public_api.d.ts.map +1 -0
  25. package/auth/register/register.component.d.ts +6 -0
  26. package/auth/register/register.component.d.ts.map +1 -0
  27. package/auth/resetpass/resetpass.component.d.ts +6 -0
  28. package/auth/resetpass/resetpass.component.d.ts.map +1 -0
  29. package/bundles/formio-angular-auth.umd.js +312 -0
  30. package/bundles/formio-angular-auth.umd.js.map +1 -0
  31. package/bundles/formio-angular-grid.umd.js +1010 -0
  32. package/bundles/formio-angular-grid.umd.js.map +1 -0
  33. package/bundles/formio-angular-manager.umd.js +1122 -0
  34. package/bundles/formio-angular-manager.umd.js.map +1 -0
  35. package/bundles/formio-angular-resource.umd.js +556 -0
  36. package/bundles/formio-angular-resource.umd.js.map +1 -0
  37. package/bundles/formio-angular.umd.js +1497 -0
  38. package/bundles/formio-angular.umd.js.map +1 -0
  39. package/components/alerts/formio.alerts.component.d.ts +9 -0
  40. package/components/alerts/formio.alerts.component.d.ts.map +1 -0
  41. package/components/alerts/formio.alerts.component.ngfactory.d.ts.map +1 -0
  42. package/components/alerts/formio.alerts.d.ts +12 -0
  43. package/components/alerts/formio.alerts.d.ts.map +1 -0
  44. package/components/alerts/parse-html-content.pipe.d.ts +5 -0
  45. package/components/alerts/parse-html-content.pipe.d.ts.map +1 -0
  46. package/components/alerts/parse-html-content.pipe.ngfactory.d.ts.map +1 -0
  47. package/components/formbuilder/formbuilder.component.d.ts +34 -0
  48. package/components/formbuilder/formbuilder.component.d.ts.map +1 -0
  49. package/components/formbuilder/formbuilder.component.ngfactory.d.ts.map +1 -0
  50. package/components/formio/formio.component.d.ts +12 -0
  51. package/components/formio/formio.component.d.ts.map +1 -0
  52. package/components/formio/formio.component.ngfactory.d.ts.map +1 -0
  53. package/components/loader/formio.loader.component.d.ts +4 -0
  54. package/components/loader/formio.loader.component.d.ts.map +1 -0
  55. package/components/loader/formio.loader.component.ngfactory.d.ts.map +1 -0
  56. package/components/loader/formio.loader.component.scss.shim.ngstyle.d.ts.map +1 -0
  57. package/core.d.ts +14 -0
  58. package/core.d.ts.map +1 -0
  59. package/custom-component/create-custom-component.d.ts +239 -0
  60. package/custom-component/create-custom-component.d.ts.map +1 -0
  61. package/custom-component/custom-tags.service.d.ts +5 -0
  62. package/custom-component/custom-tags.service.d.ts.map +1 -0
  63. package/custom-component/custom-tags.service.ngfactory.d.ts.map +1 -0
  64. package/custom-component/register-custom-component.d.ts +7 -0
  65. package/custom-component/register-custom-component.d.ts.map +1 -0
  66. package/elements.common.d.ts +31 -0
  67. package/elements.common.d.ts.map +1 -0
  68. package/esm2015/FormioBaseComponent.js +456 -0
  69. package/esm2015/auth/auth.component.js +9 -0
  70. package/esm2015/auth/auth.config.js +12 -0
  71. package/esm2015/auth/auth.module.js +34 -0
  72. package/esm2015/auth/auth.routes.js +32 -0
  73. package/esm2015/auth/auth.service.js +160 -0
  74. package/esm2015/auth/formio-angular-auth.js +5 -0
  75. package/esm2015/auth/index.js +9 -0
  76. package/esm2015/auth/login/login.component.js +16 -0
  77. package/esm2015/auth/public_api.js +5 -0
  78. package/esm2015/auth/register/register.component.js +16 -0
  79. package/esm2015/auth/resetpass/resetpass.component.js +16 -0
  80. package/esm2015/components/alerts/formio.alerts.component.js +26 -0
  81. package/esm2015/components/alerts/formio.alerts.js +15 -0
  82. package/esm2015/components/alerts/parse-html-content.pipe.js +15 -0
  83. package/esm2015/components/formbuilder/formbuilder.component.js +185 -0
  84. package/esm2015/components/formio/formio.component.js +39 -0
  85. package/esm2015/components/loader/formio.loader.component.js +14 -0
  86. package/esm2015/core.js +14 -0
  87. package/esm2015/custom-component/create-custom-component.js +130 -0
  88. package/esm2015/custom-component/custom-tags.service.js +13 -0
  89. package/esm2015/custom-component/register-custom-component.js +23 -0
  90. package/esm2015/elements.common.js +2 -0
  91. package/esm2015/formio-angular.js +7 -0
  92. package/esm2015/formio-promise.service.js +33 -0
  93. package/esm2015/formio.common.js +8 -0
  94. package/esm2015/formio.config.js +11 -0
  95. package/esm2015/formio.module.js +42 -0
  96. package/esm2015/formio.service.js +59 -0
  97. package/esm2015/formio.utils.js +21 -0
  98. package/esm2015/grid/GridBodyComponent.js +76 -0
  99. package/esm2015/grid/GridFooterComponent.js +26 -0
  100. package/esm2015/grid/GridHeaderComponent.js +25 -0
  101. package/esm2015/grid/form/FormGridBody.component.js +16 -0
  102. package/esm2015/grid/form/FormGridFooter.component.js +24 -0
  103. package/esm2015/grid/form/FormGridHeader.component.js +24 -0
  104. package/esm2015/grid/form/index.js +9 -0
  105. package/esm2015/grid/form/time-since.pipe.js +33 -0
  106. package/esm2015/grid/formio-angular-grid.js +6 -0
  107. package/esm2015/grid/grid.component.js +211 -0
  108. package/esm2015/grid/grid.module.js +61 -0
  109. package/esm2015/grid/grid.service.js +16 -0
  110. package/esm2015/grid/index.js +13 -0
  111. package/esm2015/grid/public_api.js +5 -0
  112. package/esm2015/grid/submission/SubmissionGridBody.component.js +40 -0
  113. package/esm2015/grid/submission/SubmissionGridFooter.component.js +21 -0
  114. package/esm2015/grid/submission/SubmissionGridHeader.component.js +58 -0
  115. package/esm2015/grid/submission/index.js +9 -0
  116. package/esm2015/grid/types/grid-column.js +2 -0
  117. package/esm2015/grid/types/grid-footer-positions.js +7 -0
  118. package/esm2015/grid/types/grid-header.js +6 -0
  119. package/esm2015/index.js +5 -0
  120. package/esm2015/manager/create/create.component.js +13 -0
  121. package/esm2015/manager/delete/delete.component.js +42 -0
  122. package/esm2015/manager/edit/edit.component.js +109 -0
  123. package/esm2015/manager/form/form.component.js +73 -0
  124. package/esm2015/manager/form-manager.config.js +12 -0
  125. package/esm2015/manager/form-manager.module.js +56 -0
  126. package/esm2015/manager/form-manager.routes.js +74 -0
  127. package/esm2015/manager/form-manager.service.js +180 -0
  128. package/esm2015/manager/formio-angular-manager.js +5 -0
  129. package/esm2015/manager/index/index.component.js +86 -0
  130. package/esm2015/manager/index.js +16 -0
  131. package/esm2015/manager/public_api.js +5 -0
  132. package/esm2015/manager/submission/delete/delete.component.js +32 -0
  133. package/esm2015/manager/submission/edit/edit.component.js +24 -0
  134. package/esm2015/manager/submission/index/index.component.js +24 -0
  135. package/esm2015/manager/submission/submission/submission.component.js +27 -0
  136. package/esm2015/manager/submission/view/view.component.js +16 -0
  137. package/esm2015/manager/view/view.component.js +45 -0
  138. package/esm2015/public-api.js +5 -0
  139. package/esm2015/resource/create/create.component.js +40 -0
  140. package/esm2015/resource/delete/delete.component.js +29 -0
  141. package/esm2015/resource/edit/edit.component.js +39 -0
  142. package/esm2015/resource/formio-angular-resource.js +5 -0
  143. package/esm2015/resource/index/index.component.js +65 -0
  144. package/esm2015/resource/index.js +12 -0
  145. package/esm2015/resource/public_api.js +5 -0
  146. package/esm2015/resource/resource.component.js +48 -0
  147. package/esm2015/resource/resource.config.js +12 -0
  148. package/esm2015/resource/resource.module.js +44 -0
  149. package/esm2015/resource/resource.routes.js +42 -0
  150. package/esm2015/resource/resource.service.js +187 -0
  151. package/esm2015/resource/resources.service.js +22 -0
  152. package/esm2015/resource/view/view.component.js +24 -0
  153. package/esm2015/types/alerts-position.js +8 -0
  154. package/esm2015/types/formio-metadata.js +2 -0
  155. package/esm2015/types/formio-submission.js +6 -0
  156. package/fesm2015/formio-angular-auth.js +285 -0
  157. package/fesm2015/formio-angular-auth.js.map +1 -0
  158. package/fesm2015/formio-angular-grid.js +624 -0
  159. package/fesm2015/formio-angular-grid.js.map +1 -0
  160. package/fesm2015/formio-angular-manager.js +750 -0
  161. package/fesm2015/formio-angular-manager.js.map +1 -0
  162. package/fesm2015/formio-angular-resource.js +515 -0
  163. package/fesm2015/formio-angular-resource.js.map +1 -0
  164. package/fesm2015/formio-angular.js +1073 -0
  165. package/fesm2015/formio-angular.js.map +1 -0
  166. package/formio-angular.d.ts +7 -0
  167. package/formio-angular.d.ts.map +1 -0
  168. package/formio-angular.metadata.json +1 -0
  169. package/formio-promise.service.d.ts +16 -0
  170. package/formio-promise.service.d.ts.map +1 -0
  171. package/formio.common.d.ts +64 -0
  172. package/formio.common.d.ts.map +1 -0
  173. package/formio.config.d.ts +7 -0
  174. package/formio.config.d.ts.map +1 -0
  175. package/formio.config.ngfactory.d.ts.map +1 -0
  176. package/formio.module.d.ts +3 -0
  177. package/formio.module.d.ts.map +1 -0
  178. package/formio.module.ngfactory.d.ts.map +1 -0
  179. package/formio.service.d.ts +18 -0
  180. package/formio.service.d.ts.map +1 -0
  181. package/formio.utils.d.ts +2 -0
  182. package/formio.utils.d.ts.map +1 -0
  183. package/grid/GridBodyComponent.d.ts +32 -0
  184. package/grid/GridBodyComponent.d.ts.map +1 -0
  185. package/grid/GridBodyComponent.ngfactory.d.ts.map +1 -0
  186. package/grid/GridFooterComponent.d.ts +17 -0
  187. package/grid/GridFooterComponent.d.ts.map +1 -0
  188. package/grid/GridFooterComponent.ngfactory.d.ts.map +1 -0
  189. package/grid/GridHeaderComponent.d.ts +13 -0
  190. package/grid/GridHeaderComponent.d.ts.map +1 -0
  191. package/grid/GridHeaderComponent.ngfactory.d.ts.map +1 -0
  192. package/grid/form/FormGridBody.component.d.ts +6 -0
  193. package/grid/form/FormGridBody.component.d.ts.map +1 -0
  194. package/grid/form/FormGridBody.component.ngfactory.d.ts.map +1 -0
  195. package/grid/form/FormGridBody.component.scss.shim.ngstyle.d.ts.map +1 -0
  196. package/grid/form/FormGridFooter.component.d.ts +7 -0
  197. package/grid/form/FormGridFooter.component.d.ts.map +1 -0
  198. package/grid/form/FormGridFooter.component.ngfactory.d.ts.map +1 -0
  199. package/grid/form/FormGridHeader.component.d.ts +8 -0
  200. package/grid/form/FormGridHeader.component.d.ts.map +1 -0
  201. package/grid/form/FormGridHeader.component.ngfactory.d.ts.map +1 -0
  202. package/grid/form/index.d.ts +10 -0
  203. package/grid/form/index.d.ts.map +1 -0
  204. package/grid/form/time-since.pipe.d.ts +5 -0
  205. package/grid/form/time-since.pipe.d.ts.map +1 -0
  206. package/grid/form/time-since.pipe.ngfactory.d.ts.map +1 -0
  207. package/grid/formio-angular-grid.d.ts +6 -0
  208. package/grid/formio-angular-grid.d.ts.map +1 -0
  209. package/grid/formio-angular-grid.metadata.json +1 -0
  210. package/grid/grid.component.d.ts +56 -0
  211. package/grid/grid.component.d.ts.map +1 -0
  212. package/grid/grid.component.ngfactory.d.ts.map +1 -0
  213. package/grid/grid.component.scss.shim.ngstyle.d.ts.map +1 -0
  214. package/grid/grid.footer.scss.ngstyle.d.ts.map +1 -0
  215. package/grid/grid.module.d.ts +3 -0
  216. package/grid/grid.module.d.ts.map +1 -0
  217. package/grid/grid.module.ngfactory.d.ts.map +1 -0
  218. package/grid/grid.service.d.ts +7 -0
  219. package/grid/grid.service.d.ts.map +1 -0
  220. package/grid/grid.service.ngfactory.d.ts.map +1 -0
  221. package/grid/index.d.ts +13 -0
  222. package/grid/index.d.ts.map +1 -0
  223. package/grid/package.json +11 -0
  224. package/grid/public_api.d.ts +2 -0
  225. package/grid/public_api.d.ts.map +1 -0
  226. package/grid/submission/SubmissionGridBody.component.d.ts +16 -0
  227. package/grid/submission/SubmissionGridBody.component.d.ts.map +1 -0
  228. package/grid/submission/SubmissionGridBody.component.ngfactory.d.ts.map +1 -0
  229. package/grid/submission/SubmissionGridFooter.component.d.ts +7 -0
  230. package/grid/submission/SubmissionGridFooter.component.d.ts.map +1 -0
  231. package/grid/submission/SubmissionGridFooter.component.ngfactory.d.ts.map +1 -0
  232. package/grid/submission/SubmissionGridHeader.component.d.ts +27 -0
  233. package/grid/submission/SubmissionGridHeader.component.d.ts.map +1 -0
  234. package/grid/submission/SubmissionGridHeader.component.ngfactory.d.ts.map +1 -0
  235. package/grid/submission/index.d.ts +10 -0
  236. package/grid/submission/index.d.ts.map +1 -0
  237. package/grid/types/grid-column.d.ts +7 -0
  238. package/grid/types/grid-column.d.ts.map +1 -0
  239. package/grid/types/grid-footer-positions.d.ts +6 -0
  240. package/grid/types/grid-footer-positions.d.ts.map +1 -0
  241. package/grid/types/grid-header.d.ts +13 -0
  242. package/grid/types/grid-header.d.ts.map +1 -0
  243. package/index.d.ts +6 -0
  244. package/index.d.ts.map +1 -0
  245. package/manager/create/create.component.d.ts +6 -0
  246. package/manager/create/create.component.d.ts.map +1 -0
  247. package/manager/delete/delete.component.d.ts +15 -0
  248. package/manager/delete/delete.component.d.ts.map +1 -0
  249. package/manager/edit/edit.component.d.ts +28 -0
  250. package/manager/edit/edit.component.d.ts.map +1 -0
  251. package/manager/form/form.component.d.ts +26 -0
  252. package/manager/form/form.component.d.ts.map +1 -0
  253. package/manager/form-manager.config.d.ts +23 -0
  254. package/manager/form-manager.config.d.ts.map +1 -0
  255. package/manager/form-manager.module.d.ts +6 -0
  256. package/manager/form-manager.module.d.ts.map +1 -0
  257. package/manager/form-manager.routes.d.ts +4 -0
  258. package/manager/form-manager.routes.d.ts.map +1 -0
  259. package/manager/form-manager.service.d.ts +35 -0
  260. package/manager/form-manager.service.d.ts.map +1 -0
  261. package/manager/formio-angular-manager.d.ts +5 -0
  262. package/manager/formio-angular-manager.d.ts.map +1 -0
  263. package/manager/formio-angular-manager.metadata.json +1 -0
  264. package/manager/index/index.component.d.ts +23 -0
  265. package/manager/index/index.component.d.ts.map +1 -0
  266. package/manager/index.d.ts +17 -0
  267. package/manager/index.d.ts.map +1 -0
  268. package/manager/package.json +11 -0
  269. package/manager/public_api.d.ts +2 -0
  270. package/manager/public_api.d.ts.map +1 -0
  271. package/manager/submission/delete/delete.component.d.ts +13 -0
  272. package/manager/submission/delete/delete.component.d.ts.map +1 -0
  273. package/manager/submission/edit/edit.component.d.ts +10 -0
  274. package/manager/submission/edit/edit.component.d.ts.map +1 -0
  275. package/manager/submission/index/index.component.d.ts +10 -0
  276. package/manager/submission/index/index.component.d.ts.map +1 -0
  277. package/manager/submission/submission/submission.component.d.ts +12 -0
  278. package/manager/submission/submission/submission.component.d.ts.map +1 -0
  279. package/manager/submission/view/view.component.d.ts +6 -0
  280. package/manager/submission/view/view.component.d.ts.map +1 -0
  281. package/manager/view/view.component.d.ts +20 -0
  282. package/manager/view/view.component.d.ts.map +1 -0
  283. package/package.json +47 -0
  284. package/public-api.d.ts +2 -0
  285. package/public-api.d.ts.map +1 -0
  286. package/resource/create/create.component.d.ts +16 -0
  287. package/resource/create/create.component.d.ts.map +1 -0
  288. package/resource/delete/delete.component.d.ts +11 -0
  289. package/resource/delete/delete.component.d.ts.map +1 -0
  290. package/resource/edit/edit.component.d.ts +18 -0
  291. package/resource/edit/edit.component.d.ts.map +1 -0
  292. package/resource/formio-angular-resource.d.ts +5 -0
  293. package/resource/formio-angular-resource.d.ts.map +1 -0
  294. package/resource/formio-angular-resource.metadata.json +1 -0
  295. package/resource/index/index.component.d.ts +20 -0
  296. package/resource/index/index.component.d.ts.map +1 -0
  297. package/resource/index.d.ts +12 -0
  298. package/resource/index.d.ts.map +1 -0
  299. package/resource/package.json +11 -0
  300. package/resource/public_api.d.ts +2 -0
  301. package/resource/public_api.d.ts.map +1 -0
  302. package/resource/resource.component.d.ts +19 -0
  303. package/resource/resource.component.d.ts.map +1 -0
  304. package/resource/resource.config.d.ts +14 -0
  305. package/resource/resource.config.d.ts.map +1 -0
  306. package/resource/resource.module.d.ts +6 -0
  307. package/resource/resource.module.d.ts.map +1 -0
  308. package/resource/resource.routes.d.ts +4 -0
  309. package/resource/resource.routes.d.ts.map +1 -0
  310. package/resource/resource.service.d.ts +46 -0
  311. package/resource/resource.service.d.ts.map +1 -0
  312. package/resource/resources.service.d.ts +13 -0
  313. package/resource/resources.service.d.ts.map +1 -0
  314. package/resource/view/view.component.d.ts +13 -0
  315. package/resource/view/view.component.d.ts.map +1 -0
  316. package/types/alerts-position.d.ts +7 -0
  317. package/types/alerts-position.d.ts.map +1 -0
  318. package/types/formio-metadata.d.ts +11 -0
  319. package/types/formio-metadata.d.ts.map +1 -0
  320. package/types/formio-submission.d.ts +19 -0
  321. package/types/formio-submission.d.ts.map +1 -0
@@ -0,0 +1 @@
1
+ {"__symbolic":"module","version":4,"metadata":{"FormioResourceConfig":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":11,"character":1}}],"members":{}},"FormioResources":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@formio/angular/auth","name":"FormioAuthService","line":13,"character":18}]}]}},"FormioResourceService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":12,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":38,"character":5}}],null],"parameters":[{"__symbolic":"reference","module":"@formio/angular","name":"FormioAppConfig","line":36,"character":22},{"__symbolic":"reference","name":"FormioResourceConfig"},{"__symbolic":"reference","name":"FormioResources"},{"__symbolic":"reference","module":"@angular/core","name":"ApplicationRef","line":39,"character":19}]}],"initialize":[{"__symbolic":"method"}],"init":[{"__symbolic":"method"}],"onError":[{"__symbolic":"method"}],"onFormError":[{"__symbolic":"method"}],"setContext":[{"__symbolic":"method"}],"loadForm":[{"__symbolic":"method"}],"loadParents":[{"__symbolic":"method"}],"onSubmissionError":[{"__symbolic":"method"}],"loadResource":[{"__symbolic":"method"}],"save":[{"__symbolic":"method"}],"remove":[{"__symbolic":"method"}]}},"FormioResourceComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"template":"<ul class=\"nav nav-tabs\" style=\"margin-bottom: 10px\">\n <li class=\"nav-item\"><a class=\"nav-link\" routerLink=\"../\"><i class=\"fa fa-chevron-left glyphicon glyphicon-chevron-left\"></i></a></li>\n <li class=\"nav-item\" routerLinkActive=\"active\"><a class=\"nav-link\" routerLink=\"view\" routerLinkActive=\"active\">View</a></li>\n <li class=\"nav-item\" routerLinkActive=\"active\" *ngIf=\"perms.edit\"><a class=\"nav-link\" routerLink=\"edit\" routerLinkActive=\"active\">Edit</a></li>\n <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>\n</ul>\n<router-outlet></router-outlet>\n"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FormioResourceService"},{"__symbolic":"reference","module":"@angular/router","name":"ActivatedRoute","line":15,"character":18},{"__symbolic":"reference","module":"@formio/angular/auth","name":"FormioAuthService","line":16,"character":17}]}],"ngOnInit":[{"__symbolic":"method"}],"init":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"FormioResourceViewComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"template":"<formio\n [form]=\"service.form\"\n [submission]=\"service.resource\"\n [hideComponents]=\"config.parents\"\n [readOnly]=\"true\"\n></formio>\n"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FormioResourceService"},{"__symbolic":"reference","name":"FormioResourceConfig"}]}],"ngOnDestroy":[{"__symbolic":"method"}]}},"FormioResourceEditComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"template":"<formio\n [form]=\"service.form\"\n [submission]=\"service.resource\"\n [error]=\"triggerError\"\n (submit)=\"onSubmit($event)\"\n></formio>\n"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FormioResourceService"},{"__symbolic":"reference","module":"@angular/router","name":"ActivatedRoute","line":14,"character":18},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":15,"character":19},{"__symbolic":"reference","name":"FormioResourceConfig"}]}],"onSubmit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"FormioResourceDeleteComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"template":"<h3>Are you sure you wish to delete this record?</h3>\n<div class=\"btn-toolbar\">\n <button type=\"button\" (click)=\"onDelete()\" class=\"btn btn-danger\" style=\"margin-right: 10px;\">Yes</button>\n <button type=\"button\" (click)=\"onCancel()\" class=\"btn btn-danger\">No</button>\n</div>\n"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FormioResourceService"},{"__symbolic":"reference","module":"@angular/router","name":"ActivatedRoute","line":10,"character":18},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":11,"character":19}]}],"onDelete":[{"__symbolic":"method"}],"onCancel":[{"__symbolic":"method"}]}},"FormioResourceCreateComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"template":"<h3 *ngIf=\"service.form\" style=\"margin-top:0;\">\n <a routerLink=\"../\" class=\"back-button\">\n <i class=\"fa fa-chevron-left glyphicon glyphicon-chevron-left\"></i>\n </a> | New {{ service.form.title }}\n</h3>\n<formio\n [form]=\"service.form\"\n [submission]=\"service.resource\"\n [refresh]=\"service.refresh\"\n [error]=\"onError\"\n [success]=\"onSuccess\"\n (submit)=\"onSubmit($event)\"\n></formio>\n","styles":[".back-button{font-size:.8em}\n"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FormioResourceService"},{"__symbolic":"reference","module":"@angular/router","name":"ActivatedRoute","line":14,"character":18},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":15,"character":19},{"__symbolic":"reference","name":"FormioResourceConfig"}]}],"ngOnInit":[{"__symbolic":"method"}],"onSubmit":[{"__symbolic":"method"}]}},"FormioResourceIndexComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"template":"<formio-alerts [alerts]=\"service.alerts\"></formio-alerts>\n<formio-grid\n [src]=\"gridSrc\"\n [query]=\"gridQuery\"\n [onForm]=\"service.formLoaded\"\n (rowSelect)=\"onSelect($event)\"\n (error)=\"service.onError($event)\"\n (createItem)=\"onCreateItem()\"\n [createText]=\"createText\"\n></formio-grid>\n"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FormioResourceService"},{"__symbolic":"reference","module":"@angular/router","name":"ActivatedRoute","line":16,"character":18},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":17,"character":19},{"__symbolic":"reference","name":"FormioResourceConfig"},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":19,"character":16},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":20,"character":19}]}],"ngOnInit":[{"__symbolic":"method"}],"onSelect":[{"__symbolic":"method"}],"onCreateItem":[{"__symbolic":"method"}]}},"FormioResourceRoutes":{"__symbolic":"function","parameters":["config"],"value":[{"path":"","component":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"config"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"index"}},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"index"},"elseExpression":{"__symbolic":"reference","name":"FormioResourceIndexComponent"}}},{"path":"new","component":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"config"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"create"}},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"create"},"elseExpression":{"__symbolic":"reference","name":"FormioResourceCreateComponent"}}},{"path":":id","component":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"config"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"resource"}},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"resource"},"elseExpression":{"__symbolic":"reference","name":"FormioResourceComponent"}},"children":[{"path":"","redirectTo":"view","pathMatch":"full"},{"path":"view","component":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"config"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"view"}},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"view"},"elseExpression":{"__symbolic":"reference","name":"FormioResourceViewComponent"}}},{"path":"edit","component":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"config"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"edit"}},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"edit"},"elseExpression":{"__symbolic":"reference","name":"FormioResourceEditComponent"}}},{"path":"delete","component":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"config"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"delete"}},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"delete"},"elseExpression":{"__symbolic":"reference","name":"FormioResourceDeleteComponent"}}}]}]},"FormioResource":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":16,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":18,"character":4},{"__symbolic":"reference","module":"@formio/angular","name":"FormioModule","line":19,"character":4},{"__symbolic":"reference","module":"@formio/angular/grid","name":"FormioGrid","line":20,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":21,"character":4}],"declarations":[{"__symbolic":"reference","name":"FormioResourceComponent"},{"__symbolic":"reference","name":"FormioResourceCreateComponent"},{"__symbolic":"reference","name":"FormioResourceIndexComponent"},{"__symbolic":"reference","name":"FormioResourceViewComponent"},{"__symbolic":"reference","name":"FormioResourceEditComponent"},{"__symbolic":"reference","name":"FormioResourceDeleteComponent"}],"providers":[{"__symbolic":"reference","module":"@formio/angular","name":"FormioAlerts","line":32,"character":4}]}]}],"members":{},"statics":{"forChild":{"__symbolic":"function","parameters":["config"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@formio/angular","name":"extendRouter","line":37,"character":11},"arguments":[{"__symbolic":"reference","name":"FormioResource"},{"__symbolic":"reference","name":"config"},{"__symbolic":"reference","name":"FormioResourceRoutes"}]}},"forRoot":{"__symbolic":"function","parameters":["config"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@formio/angular","name":"extendRouter","line":40,"character":11},"arguments":[{"__symbolic":"reference","name":"FormioResource"},{"__symbolic":"reference","name":"config"},{"__symbolic":"reference","name":"FormioResourceRoutes"}]}}}}},"origins":{"FormioResourceConfig":"./resource.config","FormioResources":"./resources.service","FormioResourceService":"./resource.service","FormioResourceComponent":"./resource.component","FormioResourceViewComponent":"./view/view.component","FormioResourceEditComponent":"./edit/edit.component","FormioResourceDeleteComponent":"./delete/delete.component","FormioResourceCreateComponent":"./create/create.component","FormioResourceIndexComponent":"./index/index.component","FormioResourceRoutes":"./resource.routes","FormioResource":"./resource.module"},"importAs":"@formio/angular/resource"}
@@ -0,0 +1,20 @@
1
+ import { 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
+ export declare class FormioResourceIndexComponent implements OnInit {
6
+ service: FormioResourceService;
7
+ route: ActivatedRoute;
8
+ router: Router;
9
+ config: FormioResourceConfig;
10
+ cdr: ChangeDetectorRef;
11
+ ngZone: NgZone;
12
+ gridSrc?: string;
13
+ gridQuery: any;
14
+ createText: String;
15
+ constructor(service: FormioResourceService, route: ActivatedRoute, router: Router, config: FormioResourceConfig, cdr: ChangeDetectorRef, ngZone: NgZone);
16
+ ngOnInit(): void;
17
+ onSelect(row: any): void;
18
+ onCreateItem(): void;
19
+ }
20
+ //# sourceMappingURL=index.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/resource/src/index/index.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC7E,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAG1D,qBAGa,4BAA6B,YAAW,MAAM;IAMhD,OAAO,EAAE,qBAAqB;IAC9B,KAAK,EAAE,cAAc;IACrB,MAAM,EAAE,MAAM;IACd,MAAM,EAAE,oBAAoB;IAC5B,GAAG,EAAE,iBAAiB;IACtB,MAAM,EAAE,MAAM;IAVhB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,GAAG,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;gBAGjB,OAAO,EAAE,qBAAqB,EAC9B,KAAK,EAAE,cAAc,EACrB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,oBAAoB,EAC5B,GAAG,EAAE,iBAAiB,EACtB,MAAM,EAAE,MAAM;IAIvB,QAAQ;IA8BR,QAAQ,CAAC,GAAG,EAAE,GAAG;IAMjB,YAAY;CAKb"}
@@ -0,0 +1,12 @@
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';
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/resource/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAAE,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAAE,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,11 @@
1
+ {
2
+ "main": "../bundles/formio-angular-resource.umd.js",
3
+ "module": "../fesm2015/formio-angular-resource.js",
4
+ "es2015": "../fesm2015/formio-angular-resource.js",
5
+ "esm2015": "../esm2015/resource/formio-angular-resource.js",
6
+ "fesm2015": "../fesm2015/formio-angular-resource.js",
7
+ "typings": "formio-angular-resource.d.ts",
8
+ "metadata": "formio-angular-resource.metadata.json",
9
+ "sideEffects": false,
10
+ "name": "@formio/angular/resource"
11
+ }
@@ -0,0 +1,2 @@
1
+ export * from './index';
2
+ //# sourceMappingURL=public_api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public_api.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/resource/src/public_api.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { ActivatedRoute } from '@angular/router';
3
+ import { FormioAuthService } from '@formio/angular/auth';
4
+ import { FormioResourceService } from './resource.service';
5
+ export declare class FormioResourceComponent implements OnInit, OnDestroy {
6
+ service: FormioResourceService;
7
+ route: ActivatedRoute;
8
+ auth: FormioAuthService;
9
+ private paramsSubscription;
10
+ perms: {
11
+ delete: boolean;
12
+ edit: boolean;
13
+ };
14
+ constructor(service: FormioResourceService, route: ActivatedRoute, auth: FormioAuthService);
15
+ ngOnInit(): void;
16
+ init(): void;
17
+ ngOnDestroy(): void;
18
+ }
19
+ //# sourceMappingURL=resource.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resource.component.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/resource/src/resource.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAyB,MAAM,iBAAiB,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAG3D,qBAGa,uBAAwB,YAAW,MAAM,EAAE,SAAS;IAKtD,OAAO,EAAE,qBAAqB;IAC9B,KAAK,EAAE,cAAc;IACrB,IAAI,EAAE,iBAAiB;IANhC,OAAO,CAAC,kBAAkB,CAAe;IAClC,KAAK;;;MAAgC;gBAGnC,OAAO,EAAE,qBAAqB,EAC9B,KAAK,EAAE,cAAc,EACrB,IAAI,EAAE,iBAAiB;IAQhC,QAAQ;IAIR,IAAI;IAcJ,WAAW;CAKZ"}
@@ -0,0 +1,14 @@
1
+ export interface FormioResourceRouteConfig {
2
+ index?: any;
3
+ create?: any;
4
+ resource?: any;
5
+ view?: any;
6
+ edit?: any;
7
+ delete?: any;
8
+ }
9
+ export declare class FormioResourceConfig {
10
+ name: string;
11
+ form: string;
12
+ parents: any[];
13
+ }
14
+ //# sourceMappingURL=resource.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resource.config.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/resource/src/resource.config.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,yBAAyB;IACxC,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,MAAM,CAAC,EAAE,GAAG,CAAC;CACd;AAED,qBACa,oBAAoB;IAC/B,IAAI,SAAM;IACV,IAAI,SAAM;IACV,OAAO,EAAE,GAAG,EAAE,CAAM;CACrB"}
@@ -0,0 +1,6 @@
1
+ import { FormioResourceRouteConfig } from './resource.config';
2
+ export declare class FormioResource {
3
+ static forChild(config?: FormioResourceRouteConfig): any;
4
+ static forRoot(config?: FormioResourceRouteConfig): any;
5
+ }
6
+ //# sourceMappingURL=resource.module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resource.module.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/resource/src/resource.module.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAI9D,qBAmBa,cAAc;IACzB,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,yBAAyB,GAAG,GAAG;IAGxD,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,yBAAyB,GAAG,GAAG;CAGxD"}
@@ -0,0 +1,4 @@
1
+ import { Routes } from '@angular/router';
2
+ import { FormioResourceRouteConfig } from './resource.config';
3
+ export declare function FormioResourceRoutes(config?: FormioResourceRouteConfig): Routes;
4
+ //# sourceMappingURL=resource.routes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resource.routes.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/resource/src/resource.routes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAOzC,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,wBAAgB,oBAAoB,CAAC,MAAM,CAAC,EAAE,yBAAyB,GAAG,MAAM,CAkC/E"}
@@ -0,0 +1,46 @@
1
+ import { ApplicationRef, EventEmitter } from '@angular/core';
2
+ import { ActivatedRoute } from '@angular/router';
3
+ import { FormioResourceConfig } from './resource.config';
4
+ import { FormioResources } from './resources.service';
5
+ import { FormioPromiseService } from '@formio/angular';
6
+ import { FormioAlerts } from '@formio/angular';
7
+ import { FormioAppConfig } from '@formio/angular';
8
+ import { FormioRefreshValue } from '@formio/angular';
9
+ import Promise from 'native-promise-only';
10
+ export declare class FormioResourceService {
11
+ appConfig: FormioAppConfig;
12
+ config: FormioResourceConfig;
13
+ resourcesService: FormioResources;
14
+ appRef: ApplicationRef;
15
+ initialized: boolean;
16
+ form: any;
17
+ alerts: FormioAlerts;
18
+ resource: any;
19
+ resourceUrl?: string;
20
+ formUrl: string;
21
+ formFormio: FormioPromiseService;
22
+ formio: FormioPromiseService;
23
+ refresh: EventEmitter<FormioRefreshValue>;
24
+ resourceLoading?: Promise<any>;
25
+ resourceLoaded?: Promise<any>;
26
+ resourceId?: string;
27
+ resources: any;
28
+ formLoading?: Promise<any>;
29
+ formLoaded: Promise<any>;
30
+ formResolve: any;
31
+ formReject: any;
32
+ isLoading: boolean;
33
+ constructor(appConfig: FormioAppConfig, config: FormioResourceConfig, resourcesService: FormioResources, appRef: ApplicationRef);
34
+ initialize(): void;
35
+ init(): any;
36
+ onError(error: any): void;
37
+ onFormError(err: any): void;
38
+ setContext(route: ActivatedRoute): void;
39
+ loadForm(): any;
40
+ loadParents(): any;
41
+ onSubmissionError(err: any): void;
42
+ loadResource(route: ActivatedRoute): any;
43
+ save(resource: any): Promise<any>;
44
+ remove(): Promise<void>;
45
+ }
46
+ //# sourceMappingURL=resource.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resource.service.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/resource/src/resource.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAwB,MAAM,eAAe,CAAC;AACnF,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,OAAO,MAAM,qBAAqB,CAAC;AAI1C,qBACa,qBAAqB;IAuBvB,SAAS,EAAE,eAAe;IAC1B,MAAM,EAAE,oBAAoB;IAChB,gBAAgB,EAAE,eAAe;IAC7C,MAAM,EAAE,cAAc;IAzBxB,WAAW,UAAS;IACpB,IAAI,EAAE,GAAG,CAAC;IACV,MAAM,EAAE,YAAY,CAAC;IACrB,QAAQ,EAAE,GAAG,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,oBAAoB,CAAC;IACjC,MAAM,EAAE,oBAAoB,CAAC;IAC7B,OAAO,EAAE,YAAY,CAAC,kBAAkB,CAAC,CAAC;IAE1C,eAAe,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;IAC/B,cAAc,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,GAAG,CAAC;IAEf,WAAW,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;IAC3B,UAAU,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;IACzB,WAAW,EAAE,GAAG,CAAC;IACjB,UAAU,EAAE,GAAG,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;gBAGjB,SAAS,EAAE,eAAe,EAC1B,MAAM,EAAE,oBAAoB,EAChB,gBAAgB,EAAE,eAAe,EAC7C,MAAM,EAAE,cAAc;IAY/B,UAAU;IAIV,IAAI;IA0BJ,OAAO,CAAC,KAAK,EAAE,GAAG;IAWlB,WAAW,CAAC,GAAG,EAAE,GAAG;IAKpB,UAAU,CAAC,KAAK,EAAE,cAAc;IAchC,QAAQ;IAmBR,WAAW;IAmDX,iBAAiB,CAAC,GAAG,EAAE,GAAG;IAI1B,YAAY,CAAC,KAAK,EAAE,cAAc;IAqBlC,IAAI,CAAC,QAAQ,EAAE,GAAG;IAclB,MAAM;CAWP"}
@@ -0,0 +1,13 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FormioAuthService } from '@formio/angular/auth';
3
+ export interface FormioResourceMap {
4
+ [name: string]: any;
5
+ }
6
+ export declare class FormioResources {
7
+ auth?: FormioAuthService;
8
+ resources: FormioResourceMap;
9
+ error: EventEmitter<any>;
10
+ onError: EventEmitter<any>;
11
+ constructor(auth?: FormioAuthService);
12
+ }
13
+ //# sourceMappingURL=resources.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resources.service.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/resource/src/resources.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,YAAY,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,MAAM,WAAW,iBAAiB;IAChC,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC;CACrB;AAED,qBACa,eAAe;IAKjB,IAAI,CAAC,EAAE,iBAAiB;IAJjC,SAAS,EAAE,iBAAiB,CAAM;IAClC,KAAK,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;IACzB,OAAO,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;gBAElB,IAAI,CAAC,EAAE,iBAAiB;CAUlC"}
@@ -0,0 +1,13 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import { FormioResourceService } from '../resource.service';
3
+ import { FormioResourceConfig } from '../resource.config';
4
+ export declare class FormioResourceViewComponent implements OnDestroy {
5
+ service: FormioResourceService;
6
+ config: FormioResourceConfig;
7
+ constructor(service: FormioResourceService, config: FormioResourceConfig);
8
+ submission: {
9
+ data: {};
10
+ };
11
+ ngOnDestroy(): void;
12
+ }
13
+ //# sourceMappingURL=view.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"view.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/resource/src/view/view.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,SAAS,EAAC,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAG1D,qBAGa,2BAA4B,YAAW,SAAS;IAElD,OAAO,EAAE,qBAAqB;IAC9B,MAAM,EAAE,oBAAoB;gBAD5B,OAAO,EAAE,qBAAqB,EAC9B,MAAM,EAAE,oBAAoB;IAE9B,UAAU;;MAAc;IAE/B,WAAW;CAGZ"}
@@ -0,0 +1,7 @@
1
+ export declare enum AlertsPosition {
2
+ none = 0,
3
+ top = 1,
4
+ bottom = 2,
5
+ both = 3
6
+ }
7
+ //# sourceMappingURL=alerts-position.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alerts-position.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/src/types/alerts-position.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACxB,IAAI,IAAA;IACJ,GAAG,IAAA;IACH,MAAM,IAAA;IACN,IAAI,IAAA;CACL"}
@@ -0,0 +1,11 @@
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
+ }
11
+ //# sourceMappingURL=formio-metadata.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formio-metadata.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/src/types/formio-metadata.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,WAAW,cAAc;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB"}
@@ -0,0 +1,19 @@
1
+ import FormioMetadata from './formio-metadata';
2
+ export default interface FormioSubmission<T = any, stateType = FormioSubmissionState> {
3
+ _id?: string;
4
+ created?: string;
5
+ data?: T;
6
+ form?: string;
7
+ metadata?: FormioMetadata;
8
+ modified?: string;
9
+ owner?: string;
10
+ project?: string;
11
+ state?: stateType;
12
+ _fvid?: number;
13
+ _vid?: number;
14
+ }
15
+ export declare enum FormioSubmissionState {
16
+ draft = "draft",
17
+ submitted = "submitted"
18
+ }
19
+ //# sourceMappingURL=formio-submission.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formio-submission.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/src/types/formio-submission.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAE/C,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC,CAAC,GAAG,GAAG,EAAE,SAAS,GAAE,qBAAqB;IACjF,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,CAAC,CAAC;IACT,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,oBAAY,qBAAqB;IAC/B,KAAK,UAAU;IACf,SAAS,cAAc;CACxB"}