@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,32 @@
1
+ import { EventEmitter, TemplateRef } from '@angular/core';
2
+ import { GridHeaderComponent } from './GridHeaderComponent';
3
+ import { GridService } from './grid.service';
4
+ import { FormioPromiseService } from '@formio/angular';
5
+ export declare class GridBodyComponent {
6
+ service: GridService;
7
+ header: GridHeaderComponent;
8
+ actionAllowed: any;
9
+ rowSelect: EventEmitter<any>;
10
+ rowAction: EventEmitter<any>;
11
+ template: TemplateRef<any>;
12
+ rows: Array<any>;
13
+ loading: Boolean;
14
+ firstItem: number;
15
+ lastItem: number;
16
+ skip: number;
17
+ limit: number;
18
+ total: number;
19
+ constructor(service: GridService);
20
+ load(formio: FormioPromiseService, query?: any): Promise<any>;
21
+ onRowSelect(event: any, row: any): void;
22
+ onRowAction(event: any, row: any, action: any): void;
23
+ /**
24
+ * Set the rows for this Grid body.
25
+ *
26
+ * @param query
27
+ * @param items
28
+ * @return any
29
+ */
30
+ setRows(query: any, items: any): any[];
31
+ }
32
+ //# sourceMappingURL=GridBodyComponent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GridBodyComponent.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/grid/src/GridBodyComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,YAAY,EAAa,WAAW,EAAa,MAAM,eAAe,CAAC;AAE/F,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAC,oBAAoB,EAAC,MAAM,iBAAiB,CAAC;AAErD,qBAGa,iBAAiB;IAaT,OAAO,EAAE,WAAW;IAZ9B,MAAM,EAAE,mBAAmB,CAAC;IAC5B,aAAa,EAAE,GAAG,CAAC;IAClB,SAAS,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;IAC7B,SAAS,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;IACC,QAAQ,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC;IAC5D,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,SAAK;IACd,QAAQ,SAAK;IACb,IAAI,SAAK;IACT,KAAK,SAAK;IACV,KAAK,SAAK;gBACE,OAAO,EAAE,WAAW;IAMvC,IAAI,CAAC,MAAM,EAAE,oBAAoB,EAAE,KAAK,CAAC,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC;IAI7D,WAAW,CAAC,KAAK,KAAA,EAAE,GAAG,KAAA;IAKtB,WAAW,CAAC,KAAK,KAAA,EAAE,GAAG,KAAA,EAAE,MAAM,KAAA;IAK9B;;;;;;OAMG;IACH,OAAO,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG;CA8B/B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GridBodyComponent.ngfactory.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/grid/src/GridBodyComponent.ngfactory.ts"],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ import { GridFooterPositions } from './types/grid-footer-positions';
2
+ import { TemplateRef, EventEmitter } from '@angular/core';
3
+ import { GridHeaderComponent } from './GridHeaderComponent';
4
+ import { GridBodyComponent } from './GridBodyComponent';
5
+ export declare class GridFooterComponent {
6
+ header: GridHeaderComponent;
7
+ body: GridBodyComponent;
8
+ createText: String;
9
+ size: number;
10
+ actionAllowed: any;
11
+ pageChanged: EventEmitter<any>;
12
+ createItem: EventEmitter<any>;
13
+ template: TemplateRef<any>;
14
+ footerPositions: typeof GridFooterPositions;
15
+ constructor();
16
+ }
17
+ //# sourceMappingURL=GridFooterComponent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GridFooterComponent.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/grid/src/GridFooterComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAA4B,WAAW,EAAE,YAAY,EAAa,MAAM,eAAe,CAAC;AAC/F,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAGa,mBAAmB;IACrB,MAAM,EAAE,mBAAmB,CAAC;IAC5B,IAAI,EAAE,iBAAiB,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,GAAG,CAAC;IAClB,WAAW,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;IAC/B,UAAU,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;IACA,QAAQ,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC;IAE5D,eAAe,6BAAuB;;CAM9C"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GridFooterComponent.ngfactory.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/grid/src/GridFooterComponent.ngfactory.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ import { EventEmitter, TemplateRef } from '@angular/core';
2
+ import { FormioPromiseService } from '@formio/angular';
3
+ import { GridHeader } from './types/grid-header';
4
+ export declare class GridHeaderComponent {
5
+ actionAllowed: any;
6
+ sort: EventEmitter<GridHeader>;
7
+ template: TemplateRef<any>;
8
+ headers: Array<GridHeader>;
9
+ constructor();
10
+ get numHeaders(): number;
11
+ load(formio: FormioPromiseService, query?: any, columns?: Array<any>): Promise<any>;
12
+ }
13
+ //# sourceMappingURL=GridHeaderComponent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GridHeaderComponent.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/grid/src/GridHeaderComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,YAAY,EAAa,WAAW,EAAoB,MAAM,eAAe,CAAC;AAC/F,OAAO,EAAC,oBAAoB,EAAC,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAC,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAE/C,qBAGa,mBAAmB;IACrB,aAAa,EAAE,GAAG,CAAC;IAClB,IAAI,EAAE,YAAY,CAAC,UAAU,CAAC,CAAC;IACD,QAAQ,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC;IAC5D,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;;IAMlC,IAAI,UAAU,WAEb;IAED,IAAI,CAAC,MAAM,EAAE,oBAAoB,EAAE,KAAK,CAAC,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC;CAGpF"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GridHeaderComponent.ngfactory.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/grid/src/GridHeaderComponent.ngfactory.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import { GridBodyComponent } from '../GridBodyComponent';
2
+ import { FormioPromiseService } from '@formio/angular';
3
+ export declare class FormGridBodyComponent extends GridBodyComponent {
4
+ load(formio: FormioPromiseService, query?: any): Promise<any[]>;
5
+ }
6
+ //# sourceMappingURL=FormGridBody.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormGridBody.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/form/FormGridBody.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,qBAKa,qBAAsB,SAAQ,iBAAiB;IAC1D,IAAI,CAAC,MAAM,EAAE,oBAAoB,EAAE,KAAK,CAAC,EAAE,GAAG;CAI/C"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormGridBody.component.ngfactory.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/form/FormGridBody.component.ngfactory.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormGridBody.component.scss.shim.ngstyle.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/form/FormGridBody.component.scss.shim.ngstyle.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { GridFooterComponent } from '../GridFooterComponent';
3
+ export declare class FormGridFooterComponent extends GridFooterComponent implements OnInit {
4
+ constructor();
5
+ ngOnInit(): void;
6
+ }
7
+ //# sourceMappingURL=FormGridFooter.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormGridFooter.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/form/FormGridFooter.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+B,MAAM,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE7D,qBAKa,uBAAwB,SAAQ,mBAAoB,YAAW,MAAM;;IAMhF,QAAQ;CAQT"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormGridFooter.component.ngfactory.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/form/FormGridFooter.component.ngfactory.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { GridHeaderComponent } from '../GridHeaderComponent';
2
+ import { GridHeader } from '../types/grid-header';
3
+ export declare class FormGridHeaderComponent extends GridHeaderComponent {
4
+ header: GridHeader;
5
+ load(formio?: any): Promise<GridHeader[]>;
6
+ get numHeaders(): number;
7
+ }
8
+ //# sourceMappingURL=FormGridHeader.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormGridHeader.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/form/FormGridHeader.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,mBAAmB,EAAC,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAC,UAAU,EAAW,MAAM,sBAAsB,CAAC;AAE1D,qBAIa,uBAAwB,SAAQ,mBAAmB;IACvD,MAAM,EAAE,UAAU,CAAC;IAC1B,IAAI,CAAC,MAAM,CAAC,EAAE,GAAG;IAUjB,IAAI,UAAU,WAEb;CACF"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormGridHeader.component.ngfactory.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/form/FormGridHeader.component.ngfactory.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ import { FormGridHeaderComponent } from './FormGridHeader.component';
2
+ import { FormGridBodyComponent } from './FormGridBody.component';
3
+ import { FormGridFooterComponent } from './FormGridFooter.component';
4
+ declare const _default: {
5
+ header: typeof FormGridHeaderComponent;
6
+ body: typeof FormGridBodyComponent;
7
+ footer: typeof FormGridFooterComponent;
8
+ };
9
+ export default _default;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;;;;;;AACrE,wBAIE"}
@@ -0,0 +1,5 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ export declare class TimeSince implements PipeTransform {
3
+ transform(date: Date): string;
4
+ }
5
+ //# sourceMappingURL=time-since.pipe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"time-since.pipe.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/form/time-since.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,aAAa,EAAE,MAAM,eAAe,CAAC;AAEpD,qBAGa,SAAU,YAAW,aAAa;IAC7C,SAAS,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM;CAwB9B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"time-since.pipe.ngfactory.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/form/time-since.pipe.ngfactory.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public_api';
5
+ export { TimeSince as ɵa } from './form/time-since.pipe';
6
+ //# sourceMappingURL=formio-angular-grid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formio-angular-grid.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/grid/src/formio-angular-grid.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,cAAc,CAAC;AAE7B,OAAO,EAAC,SAAS,IAAI,EAAE,EAAC,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1 @@
1
+ {"__symbolic":"module","version":4,"metadata":{"FormioGrid":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":19,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":21,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":22,"character":4},{"__symbolic":"reference","module":"@formio/angular","name":"FormioModule","line":23,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":24,"character":4},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"ngx-bootstrap/pagination","name":"PaginationModule","line":25,"character":4},"member":"forRoot"}}],"declarations":[{"__symbolic":"reference","name":"FormioGridComponent"},{"__symbolic":"reference","name":"FormGridHeaderComponent"},{"__symbolic":"reference","name":"FormGridBodyComponent"},{"__symbolic":"reference","name":"FormGridFooterComponent"},{"__symbolic":"reference","name":"SubmissionGridHeaderComponent"},{"__symbolic":"reference","name":"SubmissionGridBodyComponent"},{"__symbolic":"reference","name":"SubmissionGridFooterComponent"},{"__symbolic":"reference","name":"GridHeaderComponent"},{"__symbolic":"reference","name":"GridBodyComponent"},{"__symbolic":"reference","name":"GridFooterComponent"},{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"FormioGridComponent"}],"entryComponents":[{"__symbolic":"reference","name":"FormGridHeaderComponent"},{"__symbolic":"reference","name":"FormGridBodyComponent"},{"__symbolic":"reference","name":"FormGridFooterComponent"},{"__symbolic":"reference","name":"SubmissionGridHeaderComponent"},{"__symbolic":"reference","name":"SubmissionGridBodyComponent"},{"__symbolic":"reference","name":"SubmissionGridFooterComponent"}],"providers":[{"__symbolic":"reference","module":"@formio/angular","name":"FormioAlerts","line":52,"character":4},{"__symbolic":"reference","name":"GridService"}]}]}],"members":{}},"GridHeaderComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"template":""}]}],"members":{"actionAllowed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":8,"character":3}}]}],"sort":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":9,"character":3}}]}],"template":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":10,"character":3},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","line":10,"character":13},{"static":true}]}]}],"__ctor__":[{"__symbolic":"constructor"}],"load":[{"__symbolic":"method"}]}},"GridFooterComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"template":""}]}],"members":{"header":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":3}}]}],"body":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"createText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"actionAllowed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"pageChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":14,"character":3}}]}],"createItem":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":15,"character":3}}]}],"template":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":16,"character":3},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","line":16,"character":13},{"static":true}]}]}],"__ctor__":[{"__symbolic":"constructor"}]}},"GridBodyComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"template":""}]}],"members":{"header":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"actionAllowed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"rowSelect":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":12,"character":3}}]}],"rowAction":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":13,"character":3}}]}],"template":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":14,"character":3},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","line":14,"character":13},{"static":true}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"GridService"}]}],"load":[{"__symbolic":"method"}],"onRowSelect":[{"__symbolic":"method"}],"onRowAction":[{"__symbolic":"method"}],"setRows":[{"__symbolic":"method"}]}},"FormGridHeaderComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"GridHeaderComponent"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"form-grid-header","template":"<ng-template>\n <thead>\n <tr>\n <th>\n <div class=\"row\">\n <div class=\"col-sm-8\">\n <a (click)=\"sort.emit(header)\">\n {{ header.label }}&nbsp;<span [ngClass]=\"{'glyphicon-triangle-top fa-caret-up': (header.sort === 'asc'), 'glyphicon-triangle-bottom fa-caret-down': (header.sort === 'desc')}\" class=\"glyphicon fa\" *ngIf=\"header.sort\"></span>\n </a>\n </div>\n <div class=\"col-sm-4\">\n Operations\n </div>\n </div>\n </th>\n </tr>\n </thead>\n</ng-template>\n"}]}],"members":{"load":[{"__symbolic":"method"}]}},"FormGridBodyComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"GridBodyComponent"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"form-grid-body","template":"<ng-template>\n <tbody *ngIf=\"rows\">\n <tr *ngFor=\"let form of rows\">\n <td>\n <div class=\"row\">\n <div class=\"col-sm-8\">\n <a routerLink=\"{{form._id}}/view\" (click)=\"onRowSelect($event, form)\"><h5>{{ form.title }}</h5></a>\n <div class=\"form-updated small text-muted\">\n Updated {{ form.modified | timeSince }} ago\n </div>\n </div>\n <div class=\"col-sm-4\">\n <button *ngIf=\"actionAllowed('formView')\" class=\"btn btn-outline-secondary btn-sm form-btn form-btn-use\" (click)=\"onRowAction($event, form, 'view')\"><span class=\"fa fa-pencil\"></span> Enter Data</button>&nbsp;\n <button *ngIf=\"actionAllowed('formSubmission')\" class=\"btn btn-outline-secondary btn-sm form-btn\" (click)=\"onRowAction($event, form, 'submission')\"><span class=\"fa fa-list-alt\"></span> View Data</button>&nbsp;\n <button *ngIf=\"actionAllowed('formEdit')\" class=\"btn btn-outline-secondary btn-sm form-btn\" (click)=\"onRowAction($event, form, 'edit')\"><span class=\"fa fa-edit\"></span> Edit Form</button>&nbsp;\n <button *ngIf=\"actionAllowed('formPermission')\" class=\"btn btn-outline-secondary btn-sm form-btn\" (click)=\"onRowAction($event, form, 'permissions')\"><span class=\"fa fa-lock\"></span> Permissions</button>&nbsp;\n <button *ngIf=\"actionAllowed('formDelete')\" class=\"btn btn-danger btn-sm form-btn form-btn-delete\" (click)=\"onRowAction($event, form, 'delete')\" title=\"Delete form\"><span class=\"fa fa-trash\"></span></button>\n </div>\n </div>\n </td>\n </tr>\n </tbody>\n</ng-template>\n","styles":[".form-btn{font-size:.75rem;margin:2px 0}\n"]}]}],"members":{"load":[{"__symbolic":"method"}]}},"FormGridFooterComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"GridFooterComponent"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":6,"character":17},"member":"None"},"template":"<ng-template #footer let-position=\"position\" let-label=\"label\">\n <thead class=\"formio-grid-footer\" *ngIf=\"position === footerPositions.top\">\n <ng-container [ngTemplateOutlet]=\"defaultFooterTemplate\" [ngTemplateOutletContext]=\"{ label: label }\"></ng-container>\n </thead>\n <tfoot class=\"formio-grid-footer\" *ngIf=\"position === footerPositions.bottom\">\n <ng-container [ngTemplateOutlet]=\"defaultFooterTemplate\" [ngTemplateOutletContext]=\"{ label: label }\"></ng-container>\n </tfoot>\n</ng-template>\n\n<ng-template let-label=\"label\" #defaultFooterTemplate>\n <tr>\n <td *ngIf=\"header\" [colSpan]=\"header.numHeaders\">\n <button *ngIf=\"actionAllowed('formCreate')\" class=\"btn btn-primary form-btn-use pull-left float-left\" (click)=\"createItem.emit('form')\"><i class=\"glyphicon glyphicon-plus fa fa-plus\"></i> {{ createText }}</button>\n <span class=\"pull-right float-right item-counter\"><span class=\"page-num\">{{ body.firstItem }} - {{ body.lastItem }}</span> / {{ body.total }} total</span>\n <span [attr.aria-label]=\"label\" role=\"navigation\">\n <pagination [totalItems]=\"body.total\" [itemsPerPage]=\"body.limit\" [(ngModel)]=\"body.skip\" (pageChanged)=\"pageChanged.emit($event)\" [maxSize]=\"size\" class=\"justify-content-center pagination-sm\">\n </pagination>\n </span>\n </td>\n </tr>\n</ng-template>\n","styles":["tfoot.formio-grid-footer td{padding:.3rem}tfoot.formio-grid-footer .page-num{font-size:1.4em}tfoot.formio-grid-footer ul.pagination{margin-top:5px;margin-bottom:0}\n"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"SubmissionGridHeaderComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"GridHeaderComponent"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":8,"character":1},"arguments":[{"template":"<ng-template>\n <thead>\n <tr>\n <th *ngFor=\"let header of headers\">\n <a (click)=\"sort.emit(header)\">\n {{ header.label }}&nbsp;<span [ngClass]=\"{'glyphicon-triangle-top': (header.sort === 'asc'), 'glyphicon-triangle-bottom': (header.sort === 'desc')}\" class=\"glyphicon\" *ngIf=\"header.sort\"></span>\n </a>\n </th>\n </tr>\n </thead>\n</ng-template>\n"}]}],"members":{"load":[{"__symbolic":"method"}],"setHeader":[{"__symbolic":"method"}],"getHeaderForColumn":[{"__symbolic":"method"}],"getHeaderForComponent":[{"__symbolic":"method"}],"setComponentsHeaders":[{"__symbolic":"method"}],"setComponents":[{"__symbolic":"method"}]}},"SubmissionGridBodyComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"GridBodyComponent"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"template":"<ng-template>\n <tbody>\n <tr *ngFor=\"let row of rows\" (click)=\"onRowSelect($event, row)\">\n <td *ngFor=\"let rowHeader of header.headers\" [innerHTML]=\"view(row, rowHeader)\"></td>\n </tr>\n </tbody>\n</ng-template>\n"}]}],"members":{"load":[{"__symbolic":"method"}],"view":[{"__symbolic":"method"}]}},"SubmissionGridFooterComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"GridFooterComponent"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":6,"character":17},"member":"None"},"template":"<ng-template #footer let-position=\"position\">\n <thead class=\"formio-grid-footer\" *ngIf=\"position === footerPositions.top\">\n <ng-container [ngTemplateOutlet]=\"defaultFooterTemplate\"></ng-container>\n </thead>\n <tfoot class=\"formio-grid-footer\" *ngIf=\"position === footerPositions.bottom\">\n <ng-container [ngTemplateOutlet]=\"defaultFooterTemplate\"></ng-container>\n </tfoot>\n</ng-template>\n\n<ng-template #defaultFooterTemplate>\n <tr>\n <td *ngIf=\"header\" [colSpan]=\"header.numHeaders\">\n <button *ngIf=\"actionAllowed('submissionCreate') && createText\" class=\"btn btn-primary pull-left float-left\" (click)=\"createItem.emit('form')\"><i class=\"glyphicon glyphicon-plus fa fa-plus\"></i> {{ createText }}</button>\n <span class=\"pull-right float-right item-counter\"><span class=\"page-num\">{{ body.firstItem }} - {{ body.lastItem }}</span> / {{ body.total }} total</span>\n <pagination [totalItems]=\"body.total\" [itemsPerPage]=\"body.limit\" [(ngModel)]=\"body.skip\" (pageChanged)=\"pageChanged.emit($event)\" [maxSize]=\"size\" class=\"justify-content-center pagination-sm\"></pagination>\n </td>\n </tr>\n</ng-template>\n","styles":["tfoot.formio-grid-footer td{padding:.3rem}tfoot.formio-grid-footer .page-num{font-size:1.4em}tfoot.formio-grid-footer ul.pagination{margin-top:5px;margin-bottom:0}\n"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"FormioGridComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":26,"character":1},"arguments":[{"selector":"formio-grid","template":"<ng-template #headerTemplate></ng-template>\n<ng-template #bodyTemplate></ng-template>\n<ng-template #footerTemplate></ng-template>\n<div class=\"formio-grid\">\n <formio-alerts [alerts]=\"alerts\"></formio-alerts>\n <table class=\"table table-bordered table-striped table-hover\">\n <ng-container *ngIf=\"initialized && [footerPositions.top, footerPositions.both].indexOf(footerPosition) !== -1\"\n [ngTemplateOutlet]=\"footer.template\" [ngTemplateOutletContext]=\"{ position: footerPositions.top, label: label }\">\n </ng-container>\n <ng-container *ngIf=\"initialized\"\n [ngTemplateOutlet]=\"header.template\"></ng-container>\n <formio-loader [isLoading]=\"isLoading\"></formio-loader>\n <ng-container *ngIf=\"initialized\" [ngTemplateOutlet]=\"body.template\"></ng-container>\n <ng-container *ngIf=\"initialized && [footerPositions.bottom, footerPositions.both].indexOf(footerPosition) !== -1\"\n [ngTemplateOutlet]=\"footer.template\" [ngTemplateOutletContext]=\"{ position: footerPositions.bottom, label: label }\">\n </ng-container>\n </table>\n</div>\n","styles":[".formio-grid{position:relative;width:100%}.grid-refresh{height:400px;width:100%}\n"]}]}],"members":{"footerPosition":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"src":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"items":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"onForm":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"query":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"refresh":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":3}}]}],"columns":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":38,"character":3}}]}],"gridType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":39,"character":3}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":40,"character":3}}]}],"components":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":41,"character":3}}]}],"formio":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":3}}]}],"label":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":43,"character":3}}]}],"createText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":44,"character":3}}]}],"isActionAllowed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3}}]}],"select":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":46,"character":3}}]}],"rowSelect":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":47,"character":3}}]}],"rowAction":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":48,"character":3}}]}],"createItem":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":49,"character":3}}]}],"error":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":50,"character":3}}]}],"headerElement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":51,"character":3},"arguments":["headerTemplate",{"read":{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":51,"character":38},"static":true}]}]}],"bodyElement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":52,"character":3},"arguments":["bodyTemplate",{"read":{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":52,"character":36},"static":true}]}]}],"footerElement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":53,"character":3},"arguments":["footerTemplate",{"read":{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":53,"character":38},"static":true}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@formio/angular","name":"FormioAlerts","line":64,"character":19},{"__symbolic":"reference","module":"@angular/core","name":"ComponentFactoryResolver","line":65,"character":22},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":66,"character":17}]}],"createComponent":[{"__symbolic":"method"}],"loadGrid":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"actionAllowed":[{"__symbolic":"method"}],"onError":[{"__symbolic":"method"}],"refreshGrid":[{"__symbolic":"method"}],"setPage":[{"__symbolic":"method"}],"sortColumn":[{"__symbolic":"method"}],"pageChanged":[{"__symbolic":"method"}]}},"GridService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":3,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"setRows":[{"__symbolic":"method"}],"getFormsPerPage":[{"__symbolic":"method"}]}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":2,"character":1},"arguments":[{"name":"timeSince"}]}],"members":{"transform":[{"__symbolic":"method"}]}}},"origins":{"FormioGrid":"./grid.module","GridHeaderComponent":"./GridHeaderComponent","GridFooterComponent":"./GridFooterComponent","GridBodyComponent":"./GridBodyComponent","FormGridHeaderComponent":"./form/FormGridHeader.component","FormGridBodyComponent":"./form/FormGridBody.component","FormGridFooterComponent":"./form/FormGridFooter.component","SubmissionGridHeaderComponent":"./submission/SubmissionGridHeader.component","SubmissionGridBodyComponent":"./submission/SubmissionGridBody.component","SubmissionGridFooterComponent":"./submission/SubmissionGridFooter.component","FormioGridComponent":"./grid.component","GridService":"./grid.service","ɵa":"./form/time-since.pipe"},"importAs":"@formio/angular/grid"}
@@ -0,0 +1,56 @@
1
+ import { GridFooterPositions } from './types/grid-footer-positions';
2
+ import { AfterViewInit, ChangeDetectorRef, ComponentFactoryResolver, EventEmitter, OnChanges, OnInit, ViewContainerRef } from '@angular/core';
3
+ import { FormioAlerts } from '@formio/angular';
4
+ import { GridHeaderComponent } from './GridHeaderComponent';
5
+ import { GridBodyComponent } from './GridBodyComponent';
6
+ import { GridFooterComponent } from './GridFooterComponent';
7
+ import { FormioPromiseService } from '@formio/angular';
8
+ import { GridColumn } from './types/grid-column';
9
+ import { GridHeader } from './types/grid-header';
10
+ export declare class FormioGridComponent implements OnChanges, OnInit, AfterViewInit {
11
+ alerts: FormioAlerts;
12
+ private resolver;
13
+ private ref;
14
+ footerPosition: GridFooterPositions;
15
+ src?: string;
16
+ items?: Array<any>;
17
+ onForm?: Promise<any>;
18
+ query?: any;
19
+ refresh?: EventEmitter<object>;
20
+ columns?: Array<GridColumn>;
21
+ gridType?: string;
22
+ size?: number;
23
+ components?: any;
24
+ formio?: FormioPromiseService;
25
+ label?: string;
26
+ createText: String;
27
+ isActionAllowed: any;
28
+ select: EventEmitter<object>;
29
+ rowSelect: EventEmitter<object>;
30
+ rowAction: EventEmitter<object>;
31
+ createItem: EventEmitter<any>;
32
+ error: EventEmitter<any>;
33
+ headerElement: ViewContainerRef;
34
+ bodyElement: ViewContainerRef;
35
+ footerElement: ViewContainerRef;
36
+ page: number;
37
+ isLoading: boolean;
38
+ initialized: boolean;
39
+ header: GridHeaderComponent;
40
+ body: GridBodyComponent;
41
+ footer: GridFooterComponent;
42
+ footerPositions: typeof GridFooterPositions;
43
+ constructor(alerts: FormioAlerts, resolver: ComponentFactoryResolver, ref: ChangeDetectorRef);
44
+ createComponent(property: any, component: any): any;
45
+ loadGrid(src?: string): void;
46
+ ngOnInit(): void;
47
+ ngOnChanges(changes: any): void;
48
+ ngAfterViewInit(): void;
49
+ actionAllowed(action: any): any;
50
+ onError(error: any): void;
51
+ refreshGrid(query?: any): any;
52
+ setPage(num?: number): void;
53
+ sortColumn(header: GridHeader): void;
54
+ pageChanged(page: any): void;
55
+ }
56
+ //# sourceMappingURL=grid.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grid.component.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/grid/src/grid.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EACL,aAAa,EACb,iBAAiB,EAEjB,wBAAwB,EACxB,YAAY,EAEZ,SAAS,EACT,MAAM,EAGN,gBAAgB,EACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAG7C,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAG1D,OAAO,EAAC,oBAAoB,EAAC,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAC,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAC,UAAU,EAAW,MAAM,qBAAqB,CAAC;AAEzD,qBAKa,mBAAoB,YAAW,SAAS,EAAE,MAAM,EAAE,aAAa;IAiCjE,MAAM,EAAE,YAAY;IAC3B,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,GAAG;IAlCJ,cAAc,sBAA8B;IAC5C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;IACtB,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,OAAO,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC/B,OAAO,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,GAAG,CAAC;IACpB,MAAM,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC7B,SAAS,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAChC,SAAS,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAChC,UAAU,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;IAC9B,KAAK,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;IACkC,aAAa,EAAE,gBAAgB,CAAC;IAClC,WAAW,EAAE,gBAAgB,CAAC;IAC5B,aAAa,EAAE,gBAAgB,CAAC;IAE9F,IAAI,SAAK;IACT,SAAS,UAAS;IAClB,WAAW,UAAS;IACpB,MAAM,EAAE,mBAAmB,CAAC;IAC5B,IAAI,EAAE,iBAAiB,CAAC;IACxB,MAAM,EAAE,mBAAmB,CAAC;IAC5B,eAAe,6BAAuB;gBAGpC,MAAM,EAAE,YAAY,EACnB,QAAQ,EAAE,wBAAwB,EAClC,GAAG,EAAE,iBAAiB;IAShC,eAAe,CAAC,QAAQ,KAAA,EAAE,SAAS,KAAA;IAMnC,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM;IAqBrB,QAAQ;IAwBR,WAAW,CAAC,OAAO,EAAE,GAAG;IAoBxB,eAAe;IAWf,aAAa,CAAC,MAAM,KAAA;IAQpB,OAAO,CAAC,KAAK,EAAE,GAAG;IAWlB,WAAW,CAAC,KAAK,CAAC,EAAE,GAAG;IA0BvB,OAAO,CAAC,GAAG,SAAK;IAYhB,UAAU,CAAC,MAAM,EAAE,UAAU;IAwB7B,WAAW,CAAC,IAAI,EAAE,GAAG;CAGtB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grid.component.ngfactory.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/grid/src/grid.component.ngfactory.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grid.component.scss.shim.ngstyle.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/grid/src/grid.component.scss.shim.ngstyle.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grid.footer.scss.ngstyle.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/grid/src/grid.footer.scss.ngstyle.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export declare class FormioGrid {
2
+ }
3
+ //# sourceMappingURL=grid.module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grid.module.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/grid/src/grid.module.ts"],"names":[],"mappings":"AAmBA,qBAqCa,UAAU;CAAG"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grid.module.ngfactory.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/grid/src/grid.module.ngfactory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,eAAe,CAAC;AACpC,OAAO,KAAK,EAAE,MAAM,eAAe,CAAC;AAiBpC,eAAO,MAAM,mBAAmB,EAAC,EAAE,CAAC,eAAe,CAAC,EAAE,CAAC,UAAU,CAAiB,CAAC"}
@@ -0,0 +1,7 @@
1
+ export declare class GridService {
2
+ rows: Array<any>;
3
+ constructor();
4
+ setRows(rows: any): void;
5
+ getFormsPerPage(): number;
6
+ }
7
+ //# sourceMappingURL=grid.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grid.service.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/grid/src/grid.service.ts"],"names":[],"mappings":"AAGA,qBACa,WAAW;IACf,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;;IAGxB,OAAO,CAAC,IAAI,KAAA;IAIZ,eAAe;CAGhB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grid.service.ngfactory.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/grid/src/grid.service.ngfactory.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ export { FormioGrid } from './grid.module';
2
+ export { GridHeaderComponent } from './GridHeaderComponent';
3
+ export { GridFooterComponent } from './GridFooterComponent';
4
+ export { GridBodyComponent } from './GridBodyComponent';
5
+ export { FormGridHeaderComponent } from './form/FormGridHeader.component';
6
+ export { FormGridBodyComponent } from './form/FormGridBody.component';
7
+ export { FormGridFooterComponent } from './form/FormGridFooter.component';
8
+ export { SubmissionGridHeaderComponent } from './submission/SubmissionGridHeader.component';
9
+ export { SubmissionGridBodyComponent } from './submission/SubmissionGridBody.component';
10
+ export { SubmissionGridFooterComponent } from './submission/SubmissionGridFooter.component';
11
+ export { FormioGridComponent } from './grid.component';
12
+ export { GridService } from './grid.service';
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../projects/angular-formio/grid/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,6BAA6B,EAAE,MAAM,6CAA6C,CAAC;AAC5F,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAC;AACxF,OAAO,EAAE,6BAA6B,EAAE,MAAM,6CAA6C,CAAC;AAC5F,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,11 @@
1
+ {
2
+ "main": "../bundles/formio-angular-grid.umd.js",
3
+ "module": "../fesm2015/formio-angular-grid.js",
4
+ "es2015": "../fesm2015/formio-angular-grid.js",
5
+ "esm2015": "../esm2015/grid/formio-angular-grid.js",
6
+ "fesm2015": "../fesm2015/formio-angular-grid.js",
7
+ "typings": "formio-angular-grid.d.ts",
8
+ "metadata": "formio-angular-grid.metadata.json",
9
+ "sideEffects": false,
10
+ "name": "@formio/angular/grid"
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/grid/src/public_api.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { GridBodyComponent } from '../GridBodyComponent';
2
+ import { FormioPromiseService } from '@formio/angular';
3
+ import { GridHeader } from '../types/grid-header';
4
+ import { FormioSubmission } from '@formio/angular';
5
+ export declare class SubmissionGridBodyComponent extends GridBodyComponent {
6
+ load(formio: FormioPromiseService, query?: any): Promise<any[]>;
7
+ /**
8
+ * Render the cell data.
9
+ *
10
+ * @param submission
11
+ * @param header
12
+ * @return any
13
+ */
14
+ view(submission: FormioSubmission, header: GridHeader): string;
15
+ }
16
+ //# sourceMappingURL=SubmissionGridBody.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubmissionGridBody.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/submission/SubmissionGridBody.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAC,oBAAoB,EAAC,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAC,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AACjD,qBAGa,2BAA4B,SAAQ,iBAAiB;IAChE,IAAI,CAAC,MAAM,EAAE,oBAAoB,EAAE,KAAK,CAAC,EAAE,GAAG;IAM9C;;;;;;OAMG;IACH,IAAI,CAAC,UAAU,EAAE,gBAAgB,EAAE,MAAM,EAAE,UAAU,GAAG,MAAM;CAe/D"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubmissionGridBody.component.ngfactory.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/submission/SubmissionGridBody.component.ngfactory.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { GridFooterComponent } from '../GridFooterComponent';
3
+ export declare class SubmissionGridFooterComponent extends GridFooterComponent implements OnInit {
4
+ constructor();
5
+ ngOnInit(): void;
6
+ }
7
+ //# sourceMappingURL=SubmissionGridFooter.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubmissionGridFooter.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,MAAM,EAAoB,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE7D,qBAKa,6BAA8B,SAAQ,mBAAoB,YAAW,MAAM;;IAMtF,QAAQ;CAKT"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubmissionGridFooter.component.ngfactory.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.ngfactory.ts"],"names":[],"mappings":""}
@@ -0,0 +1,27 @@
1
+ import { ExtendedComponentSchema } from 'formiojs';
2
+ import { GridHeaderComponent } from '../GridHeaderComponent';
3
+ import { FormioPromiseService } from '@formio/angular';
4
+ import { ComponentInstance } from '@formio/angular';
5
+ import { GridColumn } from '../types/grid-column';
6
+ import { GridHeader, SortType } from '../types/grid-header';
7
+ export declare class SubmissionGridHeaderComponent extends GridHeaderComponent {
8
+ formComponents: Map<string, ExtendedComponentSchema>;
9
+ load(formio: FormioPromiseService, query?: any, columns?: Array<GridColumn>): Promise<GridHeader[]>;
10
+ setHeader(header: GridHeader): void;
11
+ getHeaderForColumn(column: GridColumn, component?: ExtendedComponentSchema, sort?: SortType): {
12
+ label: string;
13
+ key: string;
14
+ sort: SortType;
15
+ component: ComponentInstance;
16
+ renderCell: (cellValue: any, component?: ComponentInstance) => string;
17
+ };
18
+ getHeaderForComponent(component: ExtendedComponentSchema, path: string, sort?: SortType): {
19
+ label: string;
20
+ key: string;
21
+ sort: SortType;
22
+ component: ComponentInstance;
23
+ };
24
+ setComponentsHeaders(components: Map<string, ExtendedComponentSchema>, sort?: SortType): void;
25
+ setComponents(components: any): void;
26
+ }
27
+ //# sourceMappingURL=SubmissionGridHeader.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubmissionGridHeader.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAoB,uBAAuB,EAAC,MAAM,UAAU,CAAC;AACpE,OAAO,EAAC,mBAAmB,EAAC,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAC,oBAAoB,EAAC,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAC,iBAAiB,EAAa,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAC,UAAU,EAAE,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAE1D,qBAGa,6BAA8B,SAAQ,mBAAmB;IAGpE,cAAc,EAAE,GAAG,CAAC,MAAM,EAAE,uBAAuB,CAAC,CAAC;IAErD,IAAI,CAAC,MAAM,EAAE,oBAAoB,EAAE,KAAK,CAAC,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC;IAc3E,SAAS,CAAC,MAAM,EAAE,UAAU;IAI5B,kBAAkB,CAAC,MAAM,EAAE,UAAU,EAAE,SAAS,CAAC,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,QAAQ;;;;;;;IAU3F,qBAAqB,CAAC,SAAS,EAAE,uBAAuB,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,QAAQ;;;;;;IASvF,oBAAoB,CAAC,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,uBAAuB,CAAC,EAAE,IAAI,CAAC,EAAE,QAAQ;IAYtF,aAAa,CAAC,UAAU,KAAA;CAKzB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubmissionGridHeader.component.ngfactory.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.ngfactory.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ import { SubmissionGridHeaderComponent } from './SubmissionGridHeader.component';
2
+ import { SubmissionGridBodyComponent } from './SubmissionGridBody.component';
3
+ import { SubmissionGridFooterComponent } from './SubmissionGridFooter.component';
4
+ declare const _default: {
5
+ header: typeof SubmissionGridHeaderComponent;
6
+ body: typeof SubmissionGridBodyComponent;
7
+ footer: typeof SubmissionGridFooterComponent;
8
+ };
9
+ export default _default;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/submission/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;;;;;;AACjF,wBAIE"}
@@ -0,0 +1,7 @@
1
+ import { ComponentInstance } from '@formio/angular';
2
+ export interface GridColumn {
3
+ label?: string;
4
+ path: string;
5
+ renderCell?(cellValue: any, component?: ComponentInstance): string;
6
+ }
7
+ //# sourceMappingURL=grid-column.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grid-column.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/types/grid-column.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpD,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,CAAC,SAAS,EAAE,GAAG,EAAE,SAAS,CAAC,EAAE,iBAAiB,GAAG,MAAM,CAAC;CACpE"}
@@ -0,0 +1,6 @@
1
+ export declare enum GridFooterPositions {
2
+ bottom = 0,
3
+ top = 1,
4
+ both = 2
5
+ }
6
+ //# sourceMappingURL=grid-footer-positions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grid-footer-positions.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/types/grid-footer-positions.ts"],"names":[],"mappings":"AAAA,oBAAY,mBAAmB;IAC7B,MAAM,IAAA;IACN,GAAG,IAAA;IACH,IAAI,IAAA;CACL"}
@@ -0,0 +1,13 @@
1
+ import { ComponentInstance } from '@formio/angular';
2
+ export interface GridHeader {
3
+ component?: ComponentInstance;
4
+ key: string;
5
+ sort?: SortType;
6
+ label: string;
7
+ renderCell?(cellValue: any, component?: ComponentInstance): string;
8
+ }
9
+ export declare enum SortType {
10
+ ASC = "asc",
11
+ DESC = "desc"
12
+ }
13
+ //# sourceMappingURL=grid-header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grid-header.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/grid/src/types/grid-header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AAElD,MAAM,WAAW,UAAU;IACzB,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,CAAC,SAAS,EAAE,GAAG,EAAE,SAAS,CAAC,EAAE,iBAAiB,GAAG,MAAM,CAAC;CACpE;AAED,oBAAY,QAAQ;IAClB,GAAG,QAAQ;IACX,IAAI,SAAS;CACd"}
package/index.d.ts ADDED
@@ -0,0 +1,6 @@
1
+ export * from './core';
2
+ export * from './elements.common';
3
+ export * from './custom-component/create-custom-component';
4
+ export * from './custom-component/register-custom-component';
5
+ export { default as FormioSubmission } from './types/formio-submission';
6
+ //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../projects/angular-formio/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8CAA8C,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,2BAA2B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FormManagerEditComponent } from '../edit/edit.component';
3
+ export declare class FormManagerCreateComponent extends FormManagerEditComponent implements OnInit {
4
+ ngOnInit(): void;
5
+ }
6
+ //# sourceMappingURL=create.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.component.d.ts","sourceRoot":"","sources":["../../../../projects/angular-formio/manager/src/create/create.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAElE,qBAGa,0BAA2B,SAAQ,wBAAyB,YAAW,MAAM;IACxF,QAAQ;CAGT"}