@ajf/material 12.1.0

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 (350) hide show
  1. package/LICENSE +661 -0
  2. package/README.md +6 -0
  3. package/barcode/_barcode.scss +0 -0
  4. package/barcode/barcode-module.d.ts +23 -0
  5. package/barcode/barcode.d.ts +30 -0
  6. package/barcode/index.d.ts +4 -0
  7. package/barcode/index.metadata.json +1 -0
  8. package/barcode/package.json +9 -0
  9. package/barcode/public-api.d.ts +23 -0
  10. package/bundles/material-barcode.umd.js +433 -0
  11. package/bundles/material-barcode.umd.js.map +1 -0
  12. package/bundles/material-calendar.umd.js +435 -0
  13. package/bundles/material-calendar.umd.js.map +1 -0
  14. package/bundles/material-checkbox-group.umd.js +432 -0
  15. package/bundles/material-checkbox-group.umd.js.map +1 -0
  16. package/bundles/material-form-builder.umd.js +3558 -0
  17. package/bundles/material-form-builder.umd.js.map +1 -0
  18. package/bundles/material-forms.umd.js +968 -0
  19. package/bundles/material-forms.umd.js.map +1 -0
  20. package/bundles/material-image.umd.js +420 -0
  21. package/bundles/material-image.umd.js.map +1 -0
  22. package/bundles/material-monaco-editor.umd.js +755 -0
  23. package/bundles/material-monaco-editor.umd.js.map +1 -0
  24. package/bundles/material-node-icon.umd.js +415 -0
  25. package/bundles/material-node-icon.umd.js.map +1 -0
  26. package/bundles/material-page-slider.umd.js +424 -0
  27. package/bundles/material-page-slider.umd.js.map +1 -0
  28. package/bundles/material-report-builder.umd.js +5814 -0
  29. package/bundles/material-report-builder.umd.js.map +1 -0
  30. package/bundles/material-reports.umd.js +731 -0
  31. package/bundles/material-reports.umd.js.map +1 -0
  32. package/bundles/material-time.umd.js +424 -0
  33. package/bundles/material-time.umd.js.map +1 -0
  34. package/bundles/material.umd.js +40 -0
  35. package/bundles/material.umd.js.map +1 -0
  36. package/calendar/_calendar.scss +0 -0
  37. package/calendar/calendar-module.d.ts +23 -0
  38. package/calendar/calendar.d.ts +30 -0
  39. package/calendar/index.d.ts +4 -0
  40. package/calendar/index.metadata.json +1 -0
  41. package/calendar/package.json +9 -0
  42. package/calendar/public-api.d.ts +23 -0
  43. package/checkbox-group/_checkbox-group.scss +0 -0
  44. package/checkbox-group/checkbox-group-item.d.ts +25 -0
  45. package/checkbox-group/checkbox-group-module.d.ts +23 -0
  46. package/checkbox-group/index.d.ts +4 -0
  47. package/checkbox-group/index.metadata.json +1 -0
  48. package/checkbox-group/package.json +9 -0
  49. package/checkbox-group/public-api.d.ts +23 -0
  50. package/esm2015/barcode/barcode-module.js +50 -0
  51. package/esm2015/barcode/barcode.externs.js +6 -0
  52. package/esm2015/barcode/barcode.js +52 -0
  53. package/esm2015/barcode/index.js +5 -0
  54. package/esm2015/barcode/public-api.js +24 -0
  55. package/esm2015/calendar/calendar-module.js +48 -0
  56. package/esm2015/calendar/calendar.externs.js +6 -0
  57. package/esm2015/calendar/calendar.js +55 -0
  58. package/esm2015/calendar/index.js +5 -0
  59. package/esm2015/calendar/public-api.js +24 -0
  60. package/esm2015/checkbox-group/checkbox-group-item.js +51 -0
  61. package/esm2015/checkbox-group/checkbox-group-module.js +47 -0
  62. package/esm2015/checkbox-group/checkbox-group.externs.js +6 -0
  63. package/esm2015/checkbox-group/index.js +5 -0
  64. package/esm2015/checkbox-group/public-api.js +24 -0
  65. package/esm2015/form-builder/branch-line.js +73 -0
  66. package/esm2015/form-builder/choices-origin-data-source.js +38 -0
  67. package/esm2015/form-builder/choices-origin-editor-dialog.js +57 -0
  68. package/esm2015/form-builder/choices-origin-editor.js +78 -0
  69. package/esm2015/form-builder/condition-editor-dialog.js +59 -0
  70. package/esm2015/form-builder/condition-editor.js +143 -0
  71. package/esm2015/form-builder/form-builder-module.js +96 -0
  72. package/esm2015/form-builder/form-builder-service.js +764 -0
  73. package/esm2015/form-builder/form-builder-utils.js +63 -0
  74. package/esm2015/form-builder/form-builder.externs.js +6 -0
  75. package/esm2015/form-builder/form-builder.js +187 -0
  76. package/esm2015/form-builder/index.js +16 -0
  77. package/esm2015/form-builder/node-entry.js +245 -0
  78. package/esm2015/form-builder/node-properties.js +968 -0
  79. package/esm2015/form-builder/node-type-entry.js +50 -0
  80. package/esm2015/form-builder/operations.js +23 -0
  81. package/esm2015/form-builder/public-api.js +26 -0
  82. package/esm2015/form-builder/string-identifier-dialog.js +94 -0
  83. package/esm2015/form-builder/validation-condition-editor-dialog.js +59 -0
  84. package/esm2015/form-builder/warning-condition-editor-dialog.js +59 -0
  85. package/esm2015/forms/barcode-field.js +43 -0
  86. package/esm2015/forms/boolean-field.js +43 -0
  87. package/esm2015/forms/date-field.js +43 -0
  88. package/esm2015/forms/date-input-field.js +65 -0
  89. package/esm2015/forms/empty-field.js +43 -0
  90. package/esm2015/forms/field-service.js +115 -0
  91. package/esm2015/forms/field-warning-dialog.js +32 -0
  92. package/esm2015/forms/field.js +45 -0
  93. package/esm2015/forms/form.js +46 -0
  94. package/esm2015/forms/forms-module.js +107 -0
  95. package/esm2015/forms/forms.externs.js +6 -0
  96. package/esm2015/forms/index.js +9 -0
  97. package/esm2015/forms/input-field.js +43 -0
  98. package/esm2015/forms/multiple-choice-field.js +44 -0
  99. package/esm2015/forms/public-api.js +37 -0
  100. package/esm2015/forms/range-field.js +45 -0
  101. package/esm2015/forms/single-choice-field.js +44 -0
  102. package/esm2015/forms/table-field.js +43 -0
  103. package/esm2015/forms/text-field.js +43 -0
  104. package/esm2015/forms/time-field.js +43 -0
  105. package/esm2015/forms/video-url-field.js +47 -0
  106. package/esm2015/forms/warning-alert-service.js +42 -0
  107. package/esm2015/image/image-module.js +42 -0
  108. package/esm2015/image/image.externs.js +6 -0
  109. package/esm2015/image/image.js +44 -0
  110. package/esm2015/image/index.js +5 -0
  111. package/esm2015/image/public-api.js +24 -0
  112. package/esm2015/index.js +28 -0
  113. package/esm2015/material.externs.js +0 -0
  114. package/esm2015/monaco-editor/auto-complete-item-model.js +44 -0
  115. package/esm2015/monaco-editor/autocomplete-singleton-model.js +134 -0
  116. package/esm2015/monaco-editor/editor-language-model.js +60 -0
  117. package/esm2015/monaco-editor/editor-options-model.js +27 -0
  118. package/esm2015/monaco-editor/editor-scrollbar-options.js +23 -0
  119. package/esm2015/monaco-editor/editor-theme.js +30 -0
  120. package/esm2015/monaco-editor/index.js +5 -0
  121. package/esm2015/monaco-editor/monaco-editor-module.js +36 -0
  122. package/esm2015/monaco-editor/monaco-editor.externs.js +6 -0
  123. package/esm2015/monaco-editor/monaco-editor.js +389 -0
  124. package/esm2015/monaco-editor/public-api.js +24 -0
  125. package/esm2015/node-icon/index.js +5 -0
  126. package/esm2015/node-icon/node-icon-module.js +42 -0
  127. package/esm2015/node-icon/node-icon.externs.js +6 -0
  128. package/esm2015/node-icon/node-icon.js +35 -0
  129. package/esm2015/node-icon/public-api.js +24 -0
  130. package/esm2015/page-slider/index.js +5 -0
  131. package/esm2015/page-slider/page-slider-module.js +49 -0
  132. package/esm2015/page-slider/page-slider.externs.js +6 -0
  133. package/esm2015/page-slider/page-slider.js +44 -0
  134. package/esm2015/page-slider/public-api.js +24 -0
  135. package/esm2015/report-builder/column.js +97 -0
  136. package/esm2015/report-builder/condition-editor.js +159 -0
  137. package/esm2015/report-builder/content.js +255 -0
  138. package/esm2015/report-builder/custom-widget-dialog.js +51 -0
  139. package/esm2015/report-builder/custom-widget-toolbar-button.js +70 -0
  140. package/esm2015/report-builder/custom-widgets-toolbar.js +124 -0
  141. package/esm2015/report-builder/forms-analyzer-dialog.js +315 -0
  142. package/esm2015/report-builder/forms-analyzer.js +264 -0
  143. package/esm2015/report-builder/image-filter.js +32 -0
  144. package/esm2015/report-builder/image-group.js +106 -0
  145. package/esm2015/report-builder/index.js +25 -0
  146. package/esm2015/report-builder/models.js +23 -0
  147. package/esm2015/report-builder/operations.js +23 -0
  148. package/esm2015/report-builder/properties.js +765 -0
  149. package/esm2015/report-builder/public-api.js +26 -0
  150. package/esm2015/report-builder/quill-editor.js +299 -0
  151. package/esm2015/report-builder/renderer-widget.js +238 -0
  152. package/esm2015/report-builder/report-builder-drag-data.js +23 -0
  153. package/esm2015/report-builder/report-builder-module.js +114 -0
  154. package/esm2015/report-builder/report-builder-service.js +1685 -0
  155. package/esm2015/report-builder/report-builder.externs.js +6 -0
  156. package/esm2015/report-builder/report-builder.js +69 -0
  157. package/esm2015/report-builder/theme-color-dialog.js +90 -0
  158. package/esm2015/report-builder/theme-color.js +215 -0
  159. package/esm2015/report-builder/tokens.js +24 -0
  160. package/esm2015/report-builder/toolbar-dialog.js +56 -0
  161. package/esm2015/report-builder/toolbar.js +90 -0
  162. package/esm2015/report-builder/utils.js +48 -0
  163. package/esm2015/report-builder/widget-toolbar-button.js +47 -0
  164. package/esm2015/report-builder/widgets-row-buttons.js +133 -0
  165. package/esm2015/report-builder/widgets-toolbar.js +79 -0
  166. package/esm2015/reports/chart-widget.js +41 -0
  167. package/esm2015/reports/formula-widget.js +41 -0
  168. package/esm2015/reports/image-container-widget.js +43 -0
  169. package/esm2015/reports/image-widget.js +41 -0
  170. package/esm2015/reports/index.js +5 -0
  171. package/esm2015/reports/layout-widget.js +22 -0
  172. package/esm2015/reports/map-widget.js +41 -0
  173. package/esm2015/reports/page-break-widget.js +41 -0
  174. package/esm2015/reports/public-api.js +33 -0
  175. package/esm2015/reports/report.js +41 -0
  176. package/esm2015/reports/reports-module.js +79 -0
  177. package/esm2015/reports/reports.externs.js +6 -0
  178. package/esm2015/reports/table-widget.js +41 -0
  179. package/esm2015/reports/text-widget.js +41 -0
  180. package/esm2015/reports/widget.js +120 -0
  181. package/esm2015/time/index.js +5 -0
  182. package/esm2015/time/public-api.js +24 -0
  183. package/esm2015/time/time-module.js +44 -0
  184. package/esm2015/time/time.externs.js +6 -0
  185. package/esm2015/time/time.js +46 -0
  186. package/fesm2015/barcode.js +129 -0
  187. package/fesm2015/barcode.js.map +1 -0
  188. package/fesm2015/calendar.js +128 -0
  189. package/fesm2015/calendar.js.map +1 -0
  190. package/fesm2015/checkbox-group.js +124 -0
  191. package/fesm2015/checkbox-group.js.map +1 -0
  192. package/fesm2015/form-builder.js +2987 -0
  193. package/fesm2015/form-builder.js.map +1 -0
  194. package/fesm2015/forms.js +923 -0
  195. package/fesm2015/forms.js.map +1 -0
  196. package/fesm2015/image.js +113 -0
  197. package/fesm2015/image.js.map +1 -0
  198. package/fesm2015/material.js +30 -0
  199. package/fesm2015/material.js.map +1 -0
  200. package/fesm2015/monaco-editor.js +741 -0
  201. package/fesm2015/monaco-editor.js.map +1 -0
  202. package/fesm2015/node-icon.js +104 -0
  203. package/fesm2015/node-icon.js.map +1 -0
  204. package/fesm2015/page-slider.js +119 -0
  205. package/fesm2015/page-slider.js.map +1 -0
  206. package/fesm2015/report-builder.js +5332 -0
  207. package/fesm2015/report-builder.js.map +1 -0
  208. package/fesm2015/reports.js +560 -0
  209. package/fesm2015/reports.js.map +1 -0
  210. package/fesm2015/time.js +116 -0
  211. package/fesm2015/time.js.map +1 -0
  212. package/form-builder/_form-builder.scss +0 -0
  213. package/form-builder/branch-line.d.ts +36 -0
  214. package/form-builder/choices-origin-data-source.d.ts +35 -0
  215. package/form-builder/choices-origin-editor-dialog.d.ts +34 -0
  216. package/form-builder/choices-origin-editor.d.ts +43 -0
  217. package/form-builder/condition-editor-dialog.d.ts +35 -0
  218. package/form-builder/condition-editor.d.ts +37 -0
  219. package/form-builder/form-builder-module.d.ts +23 -0
  220. package/form-builder/form-builder-service.d.ts +191 -0
  221. package/form-builder/form-builder-utils.d.ts +41 -0
  222. package/form-builder/form-builder.d.ts +78 -0
  223. package/form-builder/index.d.ts +15 -0
  224. package/form-builder/index.metadata.json +1 -0
  225. package/form-builder/node-entry.d.ts +93 -0
  226. package/form-builder/node-properties.d.ts +184 -0
  227. package/form-builder/node-type-entry.d.ts +30 -0
  228. package/form-builder/operations.d.ts +31 -0
  229. package/form-builder/package.json +9 -0
  230. package/form-builder/public-api.d.ts +25 -0
  231. package/form-builder/string-identifier-dialog.d.ts +45 -0
  232. package/form-builder/validation-condition-editor-dialog.d.ts +36 -0
  233. package/form-builder/warning-condition-editor-dialog.d.ts +36 -0
  234. package/forms/_forms.scss +0 -0
  235. package/forms/barcode-field.d.ts +27 -0
  236. package/forms/boolean-field.d.ts +27 -0
  237. package/forms/date-field.d.ts +27 -0
  238. package/forms/date-input-field.d.ts +34 -0
  239. package/forms/empty-field.d.ts +27 -0
  240. package/forms/field-service.d.ts +25 -0
  241. package/forms/field-warning-dialog.d.ts +24 -0
  242. package/forms/field.d.ts +30 -0
  243. package/forms/form.d.ts +36 -0
  244. package/forms/forms-module.d.ts +25 -0
  245. package/forms/index.d.ts +8 -0
  246. package/forms/index.metadata.json +1 -0
  247. package/forms/input-field.d.ts +27 -0
  248. package/forms/multiple-choice-field.d.ts +27 -0
  249. package/forms/package.json +9 -0
  250. package/forms/public-api.d.ts +36 -0
  251. package/forms/range-field.d.ts +28 -0
  252. package/forms/single-choice-field.d.ts +27 -0
  253. package/forms/table-field.d.ts +27 -0
  254. package/forms/text-field.d.ts +27 -0
  255. package/forms/time-field.d.ts +27 -0
  256. package/forms/video-url-field.d.ts +29 -0
  257. package/forms/warning-alert-service.d.ts +29 -0
  258. package/image/_image.scss +0 -0
  259. package/image/image-module.d.ts +23 -0
  260. package/image/image.d.ts +27 -0
  261. package/image/index.d.ts +4 -0
  262. package/image/index.metadata.json +1 -0
  263. package/image/package.json +9 -0
  264. package/image/public-api.d.ts +23 -0
  265. package/index.d.ts +22 -0
  266. package/monaco-editor/_monaco-editor.scss +0 -0
  267. package/monaco-editor/auto-complete-item-model.d.ts +35 -0
  268. package/monaco-editor/autocomplete-singleton-model.d.ts +55 -0
  269. package/monaco-editor/editor-language-model.d.ts +59 -0
  270. package/monaco-editor/editor-options-model.d.ts +334 -0
  271. package/monaco-editor/editor-scrollbar-options.d.ts +83 -0
  272. package/monaco-editor/editor-theme.d.ts +29 -0
  273. package/monaco-editor/index.d.ts +4 -0
  274. package/monaco-editor/index.metadata.json +1 -0
  275. package/monaco-editor/monaco-editor-module.d.ts +23 -0
  276. package/monaco-editor/monaco-editor.d.ts +152 -0
  277. package/monaco-editor/package.json +9 -0
  278. package/monaco-editor/public-api.d.ts +23 -0
  279. package/node-icon/_node-icon.scss +0 -0
  280. package/node-icon/index.d.ts +4 -0
  281. package/node-icon/index.metadata.json +1 -0
  282. package/node-icon/node-icon-module.d.ts +23 -0
  283. package/node-icon/node-icon.d.ts +24 -0
  284. package/node-icon/package.json +9 -0
  285. package/node-icon/public-api.d.ts +23 -0
  286. package/package.json +38 -0
  287. package/page-slider/_page-slider.scss +0 -0
  288. package/page-slider/index.d.ts +4 -0
  289. package/page-slider/index.metadata.json +1 -0
  290. package/page-slider/package.json +9 -0
  291. package/page-slider/page-slider-module.d.ts +23 -0
  292. package/page-slider/page-slider.d.ts +30 -0
  293. package/page-slider/public-api.d.ts +23 -0
  294. package/report-builder/_report-builder.scss +0 -0
  295. package/report-builder/column.d.ts +63 -0
  296. package/report-builder/condition-editor.d.ts +67 -0
  297. package/report-builder/content.d.ts +142 -0
  298. package/report-builder/custom-widget-dialog.d.ts +31 -0
  299. package/report-builder/custom-widget-toolbar-button.d.ts +45 -0
  300. package/report-builder/custom-widgets-toolbar.d.ts +71 -0
  301. package/report-builder/forms-analyzer-dialog.d.ts +91 -0
  302. package/report-builder/forms-analyzer.d.ts +102 -0
  303. package/report-builder/image-filter.d.ts +25 -0
  304. package/report-builder/image-group.d.ts +69 -0
  305. package/report-builder/index.d.ts +24 -0
  306. package/report-builder/index.metadata.json +1 -0
  307. package/report-builder/models.d.ts +43 -0
  308. package/report-builder/operations.d.ts +45 -0
  309. package/report-builder/package.json +9 -0
  310. package/report-builder/properties.d.ts +365 -0
  311. package/report-builder/public-api.d.ts +26 -0
  312. package/report-builder/quill-editor.d.ts +113 -0
  313. package/report-builder/renderer-widget.d.ts +80 -0
  314. package/report-builder/report-builder-drag-data.d.ts +32 -0
  315. package/report-builder/report-builder-module.d.ts +23 -0
  316. package/report-builder/report-builder-service.d.ts +722 -0
  317. package/report-builder/report-builder.d.ts +36 -0
  318. package/report-builder/theme-color-dialog.d.ts +42 -0
  319. package/report-builder/theme-color.d.ts +108 -0
  320. package/report-builder/tokens.d.ts +24 -0
  321. package/report-builder/toolbar-dialog.d.ts +30 -0
  322. package/report-builder/toolbar.d.ts +48 -0
  323. package/report-builder/utils.d.ts +29 -0
  324. package/report-builder/widget-toolbar-button.d.ts +28 -0
  325. package/report-builder/widgets-row-buttons.d.ts +57 -0
  326. package/report-builder/widgets-toolbar.d.ts +44 -0
  327. package/reports/_reports.scss +0 -0
  328. package/reports/chart-widget.d.ts +26 -0
  329. package/reports/formula-widget.d.ts +26 -0
  330. package/reports/image-container-widget.d.ts +28 -0
  331. package/reports/image-widget.d.ts +26 -0
  332. package/reports/index.d.ts +4 -0
  333. package/reports/index.metadata.json +1 -0
  334. package/reports/layout-widget.d.ts +21 -0
  335. package/reports/map-widget.d.ts +26 -0
  336. package/reports/package.json +9 -0
  337. package/reports/page-break-widget.d.ts +26 -0
  338. package/reports/public-api.d.ts +32 -0
  339. package/reports/report.d.ts +26 -0
  340. package/reports/reports-module.d.ts +23 -0
  341. package/reports/table-widget.d.ts +26 -0
  342. package/reports/text-widget.d.ts +26 -0
  343. package/reports/widget.d.ts +40 -0
  344. package/time/_time.scss +0 -0
  345. package/time/index.d.ts +4 -0
  346. package/time/index.metadata.json +1 -0
  347. package/time/package.json +9 -0
  348. package/time/public-api.d.ts +23 -0
  349. package/time/time-module.d.ts +23 -0
  350. package/time/time.d.ts +28 -0
@@ -0,0 +1,560 @@
1
+ import { AjfBaseWidgetComponent, AjfReportRenderer as AjfReportRenderer$1, AjfWidgetType, AjfWidgetService as AjfWidgetService$1, AjfReportWidget as AjfReportWidget$1, AjfReportsModule as AjfReportsModule$1 } from '@ajf/core/reports';
2
+ import * as i0 from '@angular/core';
3
+ import { Component, ChangeDetectionStrategy, ViewEncapsulation, ChangeDetectorRef, ElementRef, Injectable, ComponentFactoryResolver, Renderer2, NgModule } from '@angular/core';
4
+ import { AjfImageType } from '@ajf/core/image';
5
+ import { AjfChartModule } from '@ajf/core/chart';
6
+ import { AjfCommonModule } from '@ajf/core/common';
7
+ import { AjfMapModule } from '@ajf/core/map';
8
+ import { AjfPageBreakModule } from '@ajf/core/page-break';
9
+ import { AjfTableModule } from '@ajf/core/table';
10
+ import { AjfTextModule } from '@ajf/core/text';
11
+ import { AjfTranslocoModule } from '@ajf/core/transloco';
12
+ import { AjfImageModule } from '@ajf/material/image';
13
+ import { CommonModule } from '@angular/common';
14
+ import { BehaviorSubject } from 'rxjs';
15
+
16
+ /**
17
+ * @license
18
+ * Copyright (C) Gnucoop soc. coop.
19
+ *
20
+ * This file is part of the Advanced JSON forms (ajf).
21
+ *
22
+ * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
23
+ * modify it under the terms of the GNU Affero General Public License as
24
+ * published by the Free Software Foundation, either version 3 of the License,
25
+ * or (at your option) any later version.
26
+ *
27
+ * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
28
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
29
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
30
+ * General Public License for more details.
31
+ *
32
+ * You should have received a copy of the GNU Affero General Public License
33
+ * along with Advanced JSON forms (ajf).
34
+ * If not, see http://www.gnu.org/licenses/.
35
+ *
36
+ */
37
+ class AjfChartWidgetComponent extends AjfBaseWidgetComponent {
38
+ constructor(cdr, el) {
39
+ super(cdr, el);
40
+ }
41
+ }
42
+ AjfChartWidgetComponent.decorators = [
43
+ { type: Component, args: [{
44
+ template: "<ajf-widget-export \n [widgetType]=\"instance.widgetType\" \n [data]=\"instance.data\" \n [enable]=\"instance.exportable\">\n <ajf-chart\n [chartType]=\"instance.chartType\"\n [options]=\"instance.widget.options\"\n [data]=\"instance.data\"\n [instance]=\"instance\">\n </ajf-chart>\n</ajf-widget-export>\n",
45
+ changeDetection: ChangeDetectionStrategy.OnPush,
46
+ encapsulation: ViewEncapsulation.None,
47
+ styles: ["\n"]
48
+ },] }
49
+ ];
50
+ AjfChartWidgetComponent.ctorParameters = () => [
51
+ { type: ChangeDetectorRef },
52
+ { type: ElementRef }
53
+ ];
54
+
55
+ /**
56
+ * @license
57
+ * Copyright (C) Gnucoop soc. coop.
58
+ *
59
+ * This file is part of the Advanced JSON forms (ajf).
60
+ *
61
+ * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
62
+ * modify it under the terms of the GNU Affero General Public License as
63
+ * published by the Free Software Foundation, either version 3 of the License,
64
+ * or (at your option) any later version.
65
+ *
66
+ * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
67
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
68
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
69
+ * General Public License for more details.
70
+ *
71
+ * You should have received a copy of the GNU Affero General Public License
72
+ * along with Advanced JSON forms (ajf).
73
+ * If not, see http://www.gnu.org/licenses/.
74
+ *
75
+ */
76
+ class AjfFormulaWidgetComponent extends AjfBaseWidgetComponent {
77
+ constructor(cdr, el) {
78
+ super(cdr, el);
79
+ }
80
+ }
81
+ AjfFormulaWidgetComponent.decorators = [
82
+ { type: Component, args: [{
83
+ template: "<ajf-text [htmlText]=\"instance.formula\"></ajf-text>\n",
84
+ changeDetection: ChangeDetectionStrategy.OnPush,
85
+ encapsulation: ViewEncapsulation.None,
86
+ styles: ["\n"]
87
+ },] }
88
+ ];
89
+ AjfFormulaWidgetComponent.ctorParameters = () => [
90
+ { type: ChangeDetectorRef },
91
+ { type: ElementRef }
92
+ ];
93
+
94
+ /**
95
+ * @license
96
+ * Copyright (C) Gnucoop soc. coop.
97
+ *
98
+ * This file is part of the Advanced JSON forms (ajf).
99
+ *
100
+ * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
101
+ * modify it under the terms of the GNU Affero General Public License as
102
+ * published by the Free Software Foundation, either version 3 of the License,
103
+ * or (at your option) any later version.
104
+ *
105
+ * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
106
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
107
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
108
+ * General Public License for more details.
109
+ *
110
+ * You should have received a copy of the GNU Affero General Public License
111
+ * along with Advanced JSON forms (ajf).
112
+ * If not, see http://www.gnu.org/licenses/.
113
+ *
114
+ */
115
+ class AjfImageContainerWidgetComponent extends AjfBaseWidgetComponent {
116
+ constructor(cdr, el) {
117
+ super(cdr, el);
118
+ this.imageTypes = AjfImageType;
119
+ }
120
+ }
121
+ AjfImageContainerWidgetComponent.decorators = [
122
+ { type: Component, args: [{
123
+ template: "<div class=\"ajf-image-container ajf-columns\" [ngSwitch]=\"instance.widget.imageType\">\n <ng-template [ngSwitchCase]=\"imageTypes.Image\">\n <div *ngFor=\"let icw of instance.urls; let idx = index\" class=\"ajf-column\">\n <ajf-image\n [type]=\"instance.widget.imageType\"\n [imageUrl]=\"icw\"\n [icon]=\"null\"\n [flag]=\"null\"\n [applyStyles]=\"instance.widget!.styles\"\n ></ajf-image>\n </div>\n </ng-template>\n <ng-template [ngSwitchCase]=\"imageTypes.Flag\">\n <div *ngFor=\"let icw of instance.flags; let idx = index\" class=\"ajf-column\">\n <ajf-image\n [type]=\"instance.widget.imageType\"\n [imageUrl]=\"null\"\n [icon]=\"null\"\n [flag]=\"icw\"\n [applyStyles]=\"instance.widget!.styles\"\n ></ajf-image>\n </div>\n </ng-template>\n <ng-template [ngSwitchCase]=\"imageTypes.Icon\">\n <div *ngFor=\"let icw of instance.icons; let idx = index\" class=\"ajf-column\">\n <ajf-image\n [type]=\"instance.widget.imageType\"\n [imageUrl]=\"null\"\n [icon]=\"icw\"\n [flag]=\"null\"\n [applyStyles]=\"instance.widget!.styles\"\n ></ajf-image>\n </div>\n </ng-template>\n</div>\n",
124
+ changeDetection: ChangeDetectionStrategy.OnPush,
125
+ encapsulation: ViewEncapsulation.None,
126
+ styles: [".ajf-image-container img{max-width:none;max-height:none}\n"]
127
+ },] }
128
+ ];
129
+ AjfImageContainerWidgetComponent.ctorParameters = () => [
130
+ { type: ChangeDetectorRef },
131
+ { type: ElementRef }
132
+ ];
133
+
134
+ /**
135
+ * @license
136
+ * Copyright (C) Gnucoop soc. coop.
137
+ *
138
+ * This file is part of the Advanced JSON forms (ajf).
139
+ *
140
+ * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
141
+ * modify it under the terms of the GNU Affero General Public License as
142
+ * published by the Free Software Foundation, either version 3 of the License,
143
+ * or (at your option) any later version.
144
+ *
145
+ * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
146
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
147
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
148
+ * General Public License for more details.
149
+ *
150
+ * You should have received a copy of the GNU Affero General Public License
151
+ * along with Advanced JSON forms (ajf).
152
+ * If not, see http://www.gnu.org/licenses/.
153
+ *
154
+ */
155
+ class AjfImageWidgetComponent extends AjfBaseWidgetComponent {
156
+ constructor(cdr, el) {
157
+ super(cdr, el);
158
+ }
159
+ }
160
+ AjfImageWidgetComponent.decorators = [
161
+ { type: Component, args: [{
162
+ template: "<ajf-image\n [type]=\"instance.widget.imageType\"\n [imageUrl]=\"instance.url\"\n [icon]=\"instance.icon\"\n [flag]=\"instance.flag\"\n></ajf-image>\n",
163
+ changeDetection: ChangeDetectionStrategy.OnPush,
164
+ encapsulation: ViewEncapsulation.None,
165
+ styles: ["\n"]
166
+ },] }
167
+ ];
168
+ AjfImageWidgetComponent.ctorParameters = () => [
169
+ { type: ChangeDetectorRef },
170
+ { type: ElementRef }
171
+ ];
172
+
173
+ /**
174
+ * @license
175
+ * Copyright (C) Gnucoop soc. coop.
176
+ *
177
+ * This file is part of the Advanced JSON forms (ajf).
178
+ *
179
+ * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
180
+ * modify it under the terms of the GNU Affero General Public License as
181
+ * published by the Free Software Foundation, either version 3 of the License,
182
+ * or (at your option) any later version.
183
+ *
184
+ * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
185
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
186
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
187
+ * General Public License for more details.
188
+ *
189
+ * You should have received a copy of the GNU Affero General Public License
190
+ * along with Advanced JSON forms (ajf).
191
+ * If not, see http://www.gnu.org/licenses/.
192
+ *
193
+ */
194
+ class AjfMapWidgetComponent extends AjfBaseWidgetComponent {
195
+ constructor(cdr, el) {
196
+ super(cdr, el);
197
+ }
198
+ }
199
+ AjfMapWidgetComponent.decorators = [
200
+ { type: Component, args: [{
201
+ template: "<ajf-map\n [coordinate]=\"instance.coordinate\"\n [tileLayer]=\"instance.widget.tileLayer\"\n [attribution]=\"instance.widget.attribution\"\n [disabled]=\"instance.widget.disabled\"\n></ajf-map>\n",
202
+ changeDetection: ChangeDetectionStrategy.OnPush,
203
+ encapsulation: ViewEncapsulation.None,
204
+ styles: ["\n"]
205
+ },] }
206
+ ];
207
+ AjfMapWidgetComponent.ctorParameters = () => [
208
+ { type: ChangeDetectorRef },
209
+ { type: ElementRef }
210
+ ];
211
+
212
+ /**
213
+ * @license
214
+ * Copyright (C) Gnucoop soc. coop.
215
+ *
216
+ * This file is part of the Advanced JSON forms (ajf).
217
+ *
218
+ * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
219
+ * modify it under the terms of the GNU Affero General Public License as
220
+ * published by the Free Software Foundation, either version 3 of the License,
221
+ * or (at your option) any later version.
222
+ *
223
+ * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
224
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
225
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
226
+ * General Public License for more details.
227
+ *
228
+ * You should have received a copy of the GNU Affero General Public License
229
+ * along with Advanced JSON forms (ajf).
230
+ * If not, see http://www.gnu.org/licenses/.
231
+ *
232
+ */
233
+ class AjfPageBreakWidgetComponent extends AjfBaseWidgetComponent {
234
+ constructor(cdr, el) {
235
+ super(cdr, el);
236
+ }
237
+ }
238
+ AjfPageBreakWidgetComponent.decorators = [
239
+ { type: Component, args: [{
240
+ template: "<ajf-page-break></ajf-page-break>\n",
241
+ changeDetection: ChangeDetectionStrategy.OnPush,
242
+ encapsulation: ViewEncapsulation.None,
243
+ styles: ["\n"]
244
+ },] }
245
+ ];
246
+ AjfPageBreakWidgetComponent.ctorParameters = () => [
247
+ { type: ChangeDetectorRef },
248
+ { type: ElementRef }
249
+ ];
250
+
251
+ /**
252
+ * @license
253
+ * Copyright (C) Gnucoop soc. coop.
254
+ *
255
+ * This file is part of the Advanced JSON forms (ajf).
256
+ *
257
+ * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
258
+ * modify it under the terms of the GNU Affero General Public License as
259
+ * published by the Free Software Foundation, either version 3 of the License,
260
+ * or (at your option) any later version.
261
+ *
262
+ * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
263
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
264
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
265
+ * General Public License for more details.
266
+ *
267
+ * You should have received a copy of the GNU Affero General Public License
268
+ * along with Advanced JSON forms (ajf).
269
+ * If not, see http://www.gnu.org/licenses/.
270
+ *
271
+ */
272
+ class AjfReportRenderer extends AjfReportRenderer$1 {
273
+ constructor(cdr) {
274
+ super(cdr);
275
+ }
276
+ }
277
+ AjfReportRenderer.decorators = [
278
+ { type: Component, args: [{
279
+ selector: 'ajf-report',
280
+ template: "<ng-template [ngIf]=\"instance\">\n <div *ngIf=\"instance.header\" @.disabled [applyStyles]=\"instance.header.styles\" class=\"ajf-report-header\">\n <ng-template ngFor let-instance [ngForOf]=\"instance.header.content\">\n <ajf-widget *ngIf=\"instance.visible\" [instance]=\"instance\"></ajf-widget>\n </ng-template>\n </div>\n <div *ngIf=\"instance.content\" @.disabled [applyStyles]=\"instance.content.styles\" class=\"ajf-report-content\">\n <ng-template ngFor let-instance [ngForOf]=\"instance.content.content\">\n <ajf-widget *ngIf=\"instance.visible\" [instance]=\"instance\"></ajf-widget>\n </ng-template>\n </div>\n <div *ngIf=\"instance.footer\" @.disabled [applyStyles]=\"instance.footer.styles\" class=\"ajf-report-footer\">\n <ng-template ngFor let-instance [ngForOf]=\"instance.footer.content\">\n <ajf-widget *ngIf=\"instance.visible\" [instance]=\"instance\"></ajf-widget>\n </ng-template>\n </div>\n</ng-template>\n",
281
+ encapsulation: ViewEncapsulation.None,
282
+ changeDetection: ChangeDetectionStrategy.OnPush,
283
+ styles: ["ajf-report{display:flex;flex-direction:column;align-items:stretch;box-sizing:border-box;position:relative;width:100%}ajf-report h1,ajf-report h2,ajf-report h3,ajf-report h4,ajf-report h5,ajf-report h6,ajf-report p{padding:0;margin:0}ajf-report .ajf-loading{position:absolute;top:0;right:0;left:0;bottom:0;min-height:300px;padding:100px;text-align:center;background-color:rgba(240,240,240,.4);display:flex;justify-content:center}\n"]
284
+ },] }
285
+ ];
286
+ AjfReportRenderer.ctorParameters = () => [
287
+ { type: ChangeDetectorRef }
288
+ ];
289
+
290
+ /**
291
+ * @license
292
+ * Copyright (C) Gnucoop soc. coop.
293
+ *
294
+ * This file is part of the Advanced JSON forms (ajf).
295
+ *
296
+ * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
297
+ * modify it under the terms of the GNU Affero General Public License as
298
+ * published by the Free Software Foundation, either version 3 of the License,
299
+ * or (at your option) any later version.
300
+ *
301
+ * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
302
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
303
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
304
+ * General Public License for more details.
305
+ *
306
+ * You should have received a copy of the GNU Affero General Public License
307
+ * along with Advanced JSON forms (ajf).
308
+ * If not, see http://www.gnu.org/licenses/.
309
+ *
310
+ */
311
+ class AjfTableWidgetComponent extends AjfBaseWidgetComponent {
312
+ constructor(cdr, el) {
313
+ super(cdr, el);
314
+ }
315
+ }
316
+ AjfTableWidgetComponent.decorators = [
317
+ { type: Component, args: [{
318
+ template: "<ajf-widget-export \n[widgetType]=\"instance.widgetType\" \n[data]=\"instance.data\"\n[enable]=\"instance.exportable\"\n>\n <ajf-table [data]=\"instance.data\"></ajf-table>\n</ajf-widget-export>\n",
319
+ changeDetection: ChangeDetectionStrategy.OnPush,
320
+ encapsulation: ViewEncapsulation.None,
321
+ styles: ["\n"]
322
+ },] }
323
+ ];
324
+ AjfTableWidgetComponent.ctorParameters = () => [
325
+ { type: ChangeDetectorRef },
326
+ { type: ElementRef }
327
+ ];
328
+
329
+ /**
330
+ * @license
331
+ * Copyright (C) Gnucoop soc. coop.
332
+ *
333
+ * This file is part of the Advanced JSON forms (ajf).
334
+ *
335
+ * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
336
+ * modify it under the terms of the GNU Affero General Public License as
337
+ * published by the Free Software Foundation, either version 3 of the License,
338
+ * or (at your option) any later version.
339
+ *
340
+ * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
341
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
342
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
343
+ * General Public License for more details.
344
+ *
345
+ * You should have received a copy of the GNU Affero General Public License
346
+ * along with Advanced JSON forms (ajf).
347
+ * If not, see http://www.gnu.org/licenses/.
348
+ *
349
+ */
350
+ class AjfTextWidgetComponent extends AjfBaseWidgetComponent {
351
+ constructor(cdr, el) {
352
+ super(cdr, el);
353
+ }
354
+ }
355
+ AjfTextWidgetComponent.decorators = [
356
+ { type: Component, args: [{
357
+ template: "<ajf-text [htmlText]=\"instance.htmlText | transloco\"></ajf-text>\n",
358
+ changeDetection: ChangeDetectionStrategy.OnPush,
359
+ encapsulation: ViewEncapsulation.None,
360
+ styles: ["\n"]
361
+ },] }
362
+ ];
363
+ AjfTextWidgetComponent.ctorParameters = () => [
364
+ { type: ChangeDetectorRef },
365
+ { type: ElementRef }
366
+ ];
367
+
368
+ /**
369
+ * @license
370
+ * Copyright (C) Gnucoop soc. coop.
371
+ *
372
+ * This file is part of the Advanced JSON forms (ajf).
373
+ *
374
+ * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
375
+ * modify it under the terms of the GNU Affero General Public License as
376
+ * published by the Free Software Foundation, either version 3 of the License,
377
+ * or (at your option) any later version.
378
+ *
379
+ * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
380
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
381
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
382
+ * General Public License for more details.
383
+ *
384
+ * You should have received a copy of the GNU Affero General Public License
385
+ * along with Advanced JSON forms (ajf).
386
+ * If not, see http://www.gnu.org/licenses/.
387
+ *
388
+ */
389
+ const defaultWidgetsFactory = () => {
390
+ const defaultWidgets = {};
391
+ defaultWidgets[AjfWidgetType.Layout] = { component: AjfLayoutWidgetComponent };
392
+ defaultWidgets[AjfWidgetType.PageBreak] = { component: AjfPageBreakWidgetComponent };
393
+ defaultWidgets[AjfWidgetType.Image] = { component: AjfImageWidgetComponent };
394
+ defaultWidgets[AjfWidgetType.Text] = { component: AjfTextWidgetComponent };
395
+ defaultWidgets[AjfWidgetType.Chart] = { component: AjfChartWidgetComponent };
396
+ defaultWidgets[AjfWidgetType.Table] = { component: AjfTableWidgetComponent };
397
+ defaultWidgets[AjfWidgetType.DynamicTable] = { component: AjfTableWidgetComponent };
398
+ defaultWidgets[AjfWidgetType.Map] = { component: AjfMapWidgetComponent };
399
+ defaultWidgets[AjfWidgetType.Column] = { component: AjfColumnWidgetComponent };
400
+ defaultWidgets[AjfWidgetType.Formula] = { component: AjfFormulaWidgetComponent };
401
+ defaultWidgets[AjfWidgetType.ImageContainer] = { component: AjfImageContainerWidgetComponent };
402
+ return defaultWidgets;
403
+ };
404
+ const ɵ0 = defaultWidgetsFactory;
405
+ class AjfWidgetService extends AjfWidgetService$1 {
406
+ constructor() {
407
+ super(defaultWidgetsFactory());
408
+ }
409
+ }
410
+ AjfWidgetService.ɵprov = i0.ɵɵdefineInjectable({ factory: function AjfWidgetService_Factory() { return new AjfWidgetService(); }, token: AjfWidgetService, providedIn: "root" });
411
+ AjfWidgetService.decorators = [
412
+ { type: Injectable, args: [{ providedIn: 'root' },] }
413
+ ];
414
+ AjfWidgetService.ctorParameters = () => [];
415
+ class AjfReportWidget extends AjfReportWidget$1 {
416
+ constructor(cfr, renderer, widgetService) {
417
+ super(cfr, renderer);
418
+ this.widgetsMap = widgetService.componentsMap;
419
+ }
420
+ }
421
+ AjfReportWidget.decorators = [
422
+ { type: Component, args: [{
423
+ selector: 'ajf-widget',
424
+ template: "<ng-template ajf-widget-host></ng-template>\n",
425
+ encapsulation: ViewEncapsulation.None,
426
+ changeDetection: ChangeDetectionStrategy.OnPush,
427
+ styles: ["ajf-widget{display:flex;flex:1 1 auto;box-sizing:border-box}ajf-widget>ng-component{flex:1 1 auto;display:flex;align-items:center;box-sizing:border-box;background-color:transparent}\n"]
428
+ },] }
429
+ ];
430
+ AjfReportWidget.ctorParameters = () => [
431
+ { type: ComponentFactoryResolver },
432
+ { type: Renderer2 },
433
+ { type: AjfWidgetService }
434
+ ];
435
+ class AjfColumnWidgetComponent extends AjfBaseWidgetComponent {
436
+ constructor(cdr, el) {
437
+ super(cdr, el);
438
+ }
439
+ }
440
+ AjfColumnWidgetComponent.decorators = [
441
+ { type: Component, args: [{
442
+ template: "<div class=\"ajf-column-container\">\n <ng-container *ngFor=\"let w of instance.content\">\n <ajf-widget [instance]=\"w\">\n </ajf-widget>\n </ng-container>\n</div>\n",
443
+ changeDetection: ChangeDetectionStrategy.OnPush,
444
+ encapsulation: ViewEncapsulation.None,
445
+ styles: [".ajf-column-container{flex:1 1 auto}\n"]
446
+ },] }
447
+ ];
448
+ AjfColumnWidgetComponent.ctorParameters = () => [
449
+ { type: ChangeDetectorRef },
450
+ { type: ElementRef }
451
+ ];
452
+ class AjfLayoutWidgetComponent extends AjfBaseWidgetComponent {
453
+ constructor(cdr, el) {
454
+ super(cdr, el);
455
+ this._allcolumnsRendered$ = new BehaviorSubject(false);
456
+ this.allcolumnsRendered$ = this._allcolumnsRendered$;
457
+ }
458
+ ngAfterContentChecked() {
459
+ this._allcolumnsRendered$.next(true);
460
+ }
461
+ }
462
+ AjfLayoutWidgetComponent.decorators = [
463
+ { type: Component, args: [{
464
+ template: "<div class=\"ajf-columns\">\n <div\n *ngFor=\"let column of instance.widget.columns; let idx = index\"\n [ngStyle]=\"{'flex-grow': column > -1 ? 1 : null, 'flex-basis' : column > -1 ? (column * 100) + '%' : null}\"\n class=\"ajf-column\"\n >\n <ng-container *ngIf=\"allcolumnsRendered$|async\">\n <ajf-widget *ngIf=\"(instance|ajfGetColumnContent:idx) as cc\" [instance]=\"cc!\">\n </ajf-widget>\n </ng-container>\n </div>\n</div>\n",
465
+ changeDetection: ChangeDetectionStrategy.OnPush,
466
+ encapsulation: ViewEncapsulation.None,
467
+ styles: [".ajf-columns{flex:1 1 auto;display:flex;align-items:inherit;box-sizing:border-box}.ajf-columns>.ajf-column{box-sizing:border-box;display:flex;align-items:inherit;flex-shrink:1}\n"]
468
+ },] }
469
+ ];
470
+ AjfLayoutWidgetComponent.ctorParameters = () => [
471
+ { type: ChangeDetectorRef },
472
+ { type: ElementRef }
473
+ ];
474
+
475
+ /**
476
+ * @license
477
+ * Copyright (C) Gnucoop soc. coop.
478
+ *
479
+ * This file is part of the Advanced JSON forms (ajf).
480
+ *
481
+ * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
482
+ * modify it under the terms of the GNU Affero General Public License as
483
+ * published by the Free Software Foundation, either version 3 of the License,
484
+ * or (at your option) any later version.
485
+ *
486
+ * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
487
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
488
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
489
+ * General Public License for more details.
490
+ *
491
+ * You should have received a copy of the GNU Affero General Public License
492
+ * along with Advanced JSON forms (ajf).
493
+ * If not, see http://www.gnu.org/licenses/.
494
+ *
495
+ */
496
+ class AjfReportsModule {
497
+ }
498
+ AjfReportsModule.decorators = [
499
+ { type: NgModule, args: [{
500
+ imports: [
501
+ AjfChartModule,
502
+ AjfCommonModule,
503
+ AjfImageModule,
504
+ AjfMapModule,
505
+ AjfPageBreakModule,
506
+ AjfTableModule,
507
+ AjfTextModule,
508
+ CommonModule,
509
+ AjfReportsModule$1,
510
+ AjfTranslocoModule,
511
+ ],
512
+ declarations: [
513
+ AjfChartWidgetComponent,
514
+ AjfColumnWidgetComponent,
515
+ AjfFormulaWidgetComponent,
516
+ AjfImageContainerWidgetComponent,
517
+ AjfImageWidgetComponent,
518
+ AjfLayoutWidgetComponent,
519
+ AjfMapWidgetComponent,
520
+ AjfPageBreakWidgetComponent,
521
+ AjfReportRenderer,
522
+ AjfReportWidget,
523
+ AjfTableWidgetComponent,
524
+ AjfTextWidgetComponent,
525
+ ],
526
+ exports: [
527
+ AjfReportRenderer,
528
+ AjfReportWidget,
529
+ ],
530
+ },] }
531
+ ];
532
+
533
+ /**
534
+ * @license
535
+ * Copyright (C) Gnucoop soc. coop.
536
+ *
537
+ * This file is part of the Advanced JSON forms (ajf).
538
+ *
539
+ * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
540
+ * modify it under the terms of the GNU Affero General Public License as
541
+ * published by the Free Software Foundation, either version 3 of the License,
542
+ * or (at your option) any later version.
543
+ *
544
+ * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
545
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
546
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
547
+ * General Public License for more details.
548
+ *
549
+ * You should have received a copy of the GNU Affero General Public License
550
+ * along with Advanced JSON forms (ajf).
551
+ * If not, see http://www.gnu.org/licenses/.
552
+ *
553
+ */
554
+
555
+ /**
556
+ * Generated bundle index. Do not edit.
557
+ */
558
+
559
+ export { AjfChartWidgetComponent, AjfColumnWidgetComponent, AjfFormulaWidgetComponent, AjfImageContainerWidgetComponent, AjfImageWidgetComponent, AjfLayoutWidgetComponent, AjfMapWidgetComponent, AjfPageBreakWidgetComponent, AjfReportRenderer, AjfReportWidget, AjfReportsModule, AjfTableWidgetComponent, AjfTextWidgetComponent, AjfWidgetService, ɵ0 };
560
+ //# sourceMappingURL=reports.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reports.js","sources":["../../../../../../src/material/reports/chart-widget.ts","../../../../../../src/material/reports/formula-widget.ts","../../../../../../src/material/reports/image-container-widget.ts","../../../../../../src/material/reports/image-widget.ts","../../../../../../src/material/reports/map-widget.ts","../../../../../../src/material/reports/page-break-widget.ts","../../../../../../src/material/reports/report.ts","../../../../../../src/material/reports/table-widget.ts","../../../../../../src/material/reports/text-widget.ts","../../../../../../src/material/reports/widget.ts","../../../../../../src/material/reports/reports-module.ts","../../../../../../src/material/reports/public-api.ts","../../../../../../src/material/reports/index.ts"],"sourcesContent":["/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {AjfBaseWidgetComponent, AjfChartWidgetInstance} from '@ajf/core/reports';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n ViewEncapsulation\n} from '@angular/core';\n\n@Component({\n templateUrl: 'chart-widget.html',\n styleUrls: ['chart-widget.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfChartWidgetComponent extends AjfBaseWidgetComponent<AjfChartWidgetInstance> {\n constructor(cdr: ChangeDetectorRef, el: ElementRef) {\n super(cdr, el);\n }\n}\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {AjfBaseWidgetComponent, AjfFormulaWidgetInstance} from '@ajf/core/reports';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n ViewEncapsulation\n} from '@angular/core';\n\n@Component({\n templateUrl: 'formula-widget.html',\n styleUrls: ['formula-widget.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfFormulaWidgetComponent extends AjfBaseWidgetComponent<AjfFormulaWidgetInstance> {\n constructor(cdr: ChangeDetectorRef, el: ElementRef) {\n super(cdr, el);\n }\n}\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {AjfImageType} from '@ajf/core/image';\nimport {AjfBaseWidgetComponent, AjfImageContainerWidgetInstance} from '@ajf/core/reports';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n ViewEncapsulation\n} from '@angular/core';\n\n@Component({\n templateUrl: 'image-container-widget.html',\n styleUrls: ['image-container-widget.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfImageContainerWidgetComponent extends\n AjfBaseWidgetComponent<AjfImageContainerWidgetInstance> {\n readonly imageTypes = AjfImageType;\n\n constructor(cdr: ChangeDetectorRef, el: ElementRef) {\n super(cdr, el);\n }\n}\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {AjfBaseWidgetComponent, AjfImageWidgetInstance} from '@ajf/core/reports';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n ViewEncapsulation\n} from '@angular/core';\n\n@Component({\n templateUrl: 'image-widget.html',\n styleUrls: ['image-widget.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfImageWidgetComponent extends AjfBaseWidgetComponent<AjfImageWidgetInstance> {\n constructor(cdr: ChangeDetectorRef, el: ElementRef) {\n super(cdr, el);\n }\n}\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {AjfBaseWidgetComponent, AjfMapWidgetInstance} from '@ajf/core/reports';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n ViewEncapsulation\n} from '@angular/core';\n\n@Component({\n templateUrl: 'map-widget.html',\n styleUrls: ['map-widget.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfMapWidgetComponent extends AjfBaseWidgetComponent<AjfMapWidgetInstance> {\n constructor(cdr: ChangeDetectorRef, el: ElementRef) {\n super(cdr, el);\n }\n}\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {AjfBaseWidgetComponent} from '@ajf/core/reports';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n ViewEncapsulation\n} from '@angular/core';\n\n@Component({\n templateUrl: 'page-break-widget.html',\n styleUrls: ['page-break-widget.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfPageBreakWidgetComponent extends AjfBaseWidgetComponent {\n constructor(cdr: ChangeDetectorRef, el: ElementRef) {\n super(cdr, el);\n }\n}\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {AjfReportRenderer as AjfCoreReportRenderer} from '@ajf/core/reports';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ViewEncapsulation\n} from '@angular/core';\n\n\n@Component({\n selector: 'ajf-report',\n templateUrl: 'report.html',\n styleUrls: ['report.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AjfReportRenderer extends AjfCoreReportRenderer {\n constructor(cdr: ChangeDetectorRef) {\n super(cdr);\n }\n}\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {AjfBaseWidgetComponent, AjfTableWidgetInstance} from '@ajf/core/reports';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n ViewEncapsulation\n} from '@angular/core';\n\n@Component({\n templateUrl: 'table-widget.html',\n styleUrls: ['table-widget.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfTableWidgetComponent extends AjfBaseWidgetComponent<AjfTableWidgetInstance> {\n constructor(cdr: ChangeDetectorRef, el: ElementRef) {\n super(cdr, el);\n }\n}\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {AjfBaseWidgetComponent, AjfTextWidgetInstance} from '@ajf/core/reports';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n ViewEncapsulation\n} from '@angular/core';\n\n@Component({\n templateUrl: 'text-widget.html',\n styleUrls: ['text-widget.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfTextWidgetComponent extends AjfBaseWidgetComponent<AjfTextWidgetInstance> {\n constructor(cdr: ChangeDetectorRef, el: ElementRef) {\n super(cdr, el);\n }\n}\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {\n AjfBaseWidgetComponent,\n AjfColumnWidgetInstance,\n AjfLayoutWidgetInstance,\n AjfReportWidget as CoreComponent,\n AjfWidgetComponentsMap,\n AjfWidgetService as CoreService,\n AjfWidgetType as wt,\n} from '@ajf/core/reports';\nimport {\n AfterContentChecked,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ComponentFactoryResolver,\n ElementRef,\n Injectable,\n Renderer2,\n ViewEncapsulation,\n} from '@angular/core';\nimport {BehaviorSubject, Observable} from 'rxjs';\n\nimport {AjfChartWidgetComponent} from './chart-widget';\nimport {AjfFormulaWidgetComponent} from './formula-widget';\nimport {AjfImageContainerWidgetComponent} from './image-container-widget';\nimport {AjfImageWidgetComponent} from './image-widget';\nimport {AjfMapWidgetComponent} from './map-widget';\nimport {AjfPageBreakWidgetComponent} from './page-break-widget';\nimport {AjfTableWidgetComponent} from './table-widget';\nimport {AjfTextWidgetComponent} from './text-widget';\n\nconst defaultWidgetsFactory = (): AjfWidgetComponentsMap => {\n const defaultWidgets = {} as AjfWidgetComponentsMap;\n defaultWidgets[wt.Layout] = {component: AjfLayoutWidgetComponent};\n defaultWidgets[wt.PageBreak] = {component: AjfPageBreakWidgetComponent};\n defaultWidgets[wt.Image] = {component: AjfImageWidgetComponent};\n defaultWidgets[wt.Text] = {component: AjfTextWidgetComponent};\n defaultWidgets[wt.Chart] = {component: AjfChartWidgetComponent};\n defaultWidgets[wt.Table] = {component: AjfTableWidgetComponent};\n defaultWidgets[wt.DynamicTable] = {component: AjfTableWidgetComponent};\n defaultWidgets[wt.Map] = {component: AjfMapWidgetComponent};\n defaultWidgets[wt.Column] = {component: AjfColumnWidgetComponent};\n defaultWidgets[wt.Formula] = {component: AjfFormulaWidgetComponent};\n defaultWidgets[wt.ImageContainer] = {component: AjfImageContainerWidgetComponent};\n return defaultWidgets;\n};\n\n@Injectable({providedIn: 'root'})\nexport class AjfWidgetService extends CoreService {\n constructor() {\n super(defaultWidgetsFactory());\n }\n}\n\n@Component({\n selector: 'ajf-widget',\n templateUrl: 'widget.html',\n styleUrls: ['widget.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AjfReportWidget extends CoreComponent {\n readonly widgetsMap: AjfWidgetComponentsMap;\n\n constructor(cfr: ComponentFactoryResolver, renderer: Renderer2, widgetService: AjfWidgetService) {\n super(cfr, renderer);\n this.widgetsMap = widgetService.componentsMap;\n }\n}\n\n@Component({\n templateUrl: 'column-widget.html',\n styleUrls: ['column-widget.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfColumnWidgetComponent extends AjfBaseWidgetComponent<AjfColumnWidgetInstance> {\n constructor(cdr: ChangeDetectorRef, el: ElementRef) {\n super(cdr, el);\n }\n}\n\n@Component({\n templateUrl: 'layout-widget.html',\n styleUrls: ['layout-widget.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfLayoutWidgetComponent extends\n AjfBaseWidgetComponent<AjfLayoutWidgetInstance> implements AfterContentChecked {\n private _allcolumnsRendered$: BehaviorSubject<boolean> = new BehaviorSubject<boolean>(false);\n readonly allcolumnsRendered$: Observable<boolean> =\n this._allcolumnsRendered$ as Observable<boolean>;\n\n constructor(cdr: ChangeDetectorRef, el: ElementRef) {\n super(cdr, el);\n }\n ngAfterContentChecked(): void {\n this._allcolumnsRendered$.next(true);\n }\n}\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {AjfChartModule} from '@ajf/core/chart';\nimport {AjfCommonModule} from '@ajf/core/common';\nimport {AjfMapModule} from '@ajf/core/map';\nimport {AjfPageBreakModule} from '@ajf/core/page-break';\nimport {AjfReportsModule as CoreModule} from '@ajf/core/reports';\nimport {AjfTableModule} from '@ajf/core/table';\nimport {AjfTextModule} from '@ajf/core/text';\nimport {AjfTranslocoModule} from '@ajf/core/transloco';\nimport {AjfImageModule} from '@ajf/material/image';\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\n\nimport {AjfChartWidgetComponent} from './chart-widget';\nimport {AjfFormulaWidgetComponent} from './formula-widget';\nimport {AjfImageContainerWidgetComponent} from './image-container-widget';\nimport {AjfImageWidgetComponent} from './image-widget';\nimport {AjfMapWidgetComponent} from './map-widget';\nimport {AjfPageBreakWidgetComponent} from './page-break-widget';\nimport {AjfReportRenderer} from './report';\nimport {AjfTableWidgetComponent} from './table-widget';\nimport {AjfTextWidgetComponent} from './text-widget';\nimport {\n AjfColumnWidgetComponent,\n AjfLayoutWidgetComponent,\n AjfReportWidget,\n} from './widget';\n\n@NgModule({\n imports: [\n AjfChartModule,\n AjfCommonModule,\n AjfImageModule,\n AjfMapModule,\n AjfPageBreakModule,\n AjfTableModule,\n AjfTextModule,\n CommonModule,\n CoreModule,\n AjfTranslocoModule,\n ],\n declarations: [\n AjfChartWidgetComponent,\n AjfColumnWidgetComponent,\n AjfFormulaWidgetComponent,\n AjfImageContainerWidgetComponent,\n AjfImageWidgetComponent,\n AjfLayoutWidgetComponent,\n AjfMapWidgetComponent,\n AjfPageBreakWidgetComponent,\n AjfReportRenderer,\n AjfReportWidget,\n AjfTableWidgetComponent,\n AjfTextWidgetComponent,\n ],\n exports: [\n AjfReportRenderer,\n AjfReportWidget,\n ],\n})\nexport class AjfReportsModule {\n}\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nexport * from './chart-widget';\nexport * from './formula-widget';\nexport * from './image-container-widget';\nexport * from './image-widget';\nexport * from './map-widget';\nexport * from './page-break-widget';\nexport * from './report';\nexport * from './reports-module';\nexport * from './table-widget';\nexport * from './text-widget';\nexport * from './widget';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["AjfCoreReportRenderer","wt","CoreService","CoreComponent","CoreModule"],"mappings":";;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;MAqCa,uBAAwB,SAAQ,sBAA8C;IACzF,YAAY,GAAsB,EAAE,EAAc;QAChD,KAAK,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;KAChB;;;YATF,SAAS,SAAC;gBACT,8VAAgC;gBAEhC,eAAe,EAAE,uBAAuB,CAAC,MAAM;gBAC/C,aAAa,EAAE,iBAAiB,CAAC,IAAI;;aACtC;;;YAXC,iBAAiB;YAEjB,UAAU;;;AC3BZ;;;;;;;;;;;;;;;;;;;;;MAqCa,yBAA0B,SAAQ,sBAAgD;IAC7F,YAAY,GAAsB,EAAE,EAAc;QAChD,KAAK,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;KAChB;;;YATF,SAAS,SAAC;gBACT,mEAAkC;gBAElC,eAAe,EAAE,uBAAuB,CAAC,MAAM;gBAC/C,aAAa,EAAE,iBAAiB,CAAC,IAAI;;aACtC;;;YAXC,iBAAiB;YAEjB,UAAU;;;AC3BZ;;;;;;;;;;;;;;;;;;;;;MAsCa,gCAAiC,SAC1C,sBAAuD;IAGzD,YAAY,GAAsB,EAAE,EAAc;QAChD,KAAK,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;QAHR,eAAU,GAAG,YAAY,CAAC;KAIlC;;;YAZF,SAAS,SAAC;gBACT,0yCAA0C;gBAE1C,eAAe,EAAE,uBAAuB,CAAC,MAAM;gBAC/C,aAAa,EAAE,iBAAiB,CAAC,IAAI;;aACtC;;;YAXC,iBAAiB;YAEjB,UAAU;;;AC5BZ;;;;;;;;;;;;;;;;;;;;;MAqCa,uBAAwB,SAAQ,sBAA8C;IACzF,YAAY,GAAsB,EAAE,EAAc;QACh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