@ajf/material 13.0.0-next.2 → 13.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (450) hide show
  1. package/barcode/barcode-module.d.ts +11 -21
  2. package/barcode/barcode.d.ts +3 -0
  3. package/barcode/barcode_public_index.d.ts +4 -0
  4. package/barcode/index.d.ts +19 -1
  5. package/barcode/package.json +6 -6
  6. package/calendar/calendar-module.d.ts +10 -21
  7. package/calendar/calendar.d.ts +3 -0
  8. package/calendar/calendar_public_index.d.ts +4 -0
  9. package/calendar/index.d.ts +19 -1
  10. package/calendar/package.json +6 -6
  11. package/checkbox-group/checkbox-group-item.d.ts +3 -0
  12. package/checkbox-group/checkbox-group-module.d.ts +9 -21
  13. package/checkbox-group/checkbox-group_public_index.d.ts +4 -0
  14. package/checkbox-group/index.d.ts +19 -1
  15. package/checkbox-group/package.json +6 -6
  16. package/esm2020/barcode/barcode-module.mjs +63 -0
  17. package/esm2020/barcode/barcode.mjs +51 -0
  18. package/esm2020/barcode/barcode_public_index.mjs +5 -0
  19. package/esm2020/barcode/index.mjs +23 -0
  20. package/{esm2015/barcode/public-api.js → esm2020/barcode/public-api.mjs} +0 -0
  21. package/esm2020/calendar/calendar-module.mjs +43 -0
  22. package/esm2020/calendar/calendar.mjs +49 -0
  23. package/esm2020/calendar/calendar_public_index.mjs +5 -0
  24. package/esm2020/calendar/index.mjs +23 -0
  25. package/{esm2015/calendar/public-api.js → esm2020/calendar/public-api.mjs} +0 -0
  26. package/esm2020/checkbox-group/checkbox-group-item.mjs +51 -0
  27. package/esm2020/checkbox-group/checkbox-group-module.mjs +42 -0
  28. package/esm2020/checkbox-group/checkbox-group_public_index.mjs +5 -0
  29. package/{esm2015/report-builder/image-filter.js → esm2020/checkbox-group/index.mjs} +2 -11
  30. package/{esm2015/checkbox-group/public-api.js → esm2020/checkbox-group/public-api.mjs} +0 -0
  31. package/esm2020/form-builder/branch-line.mjs +68 -0
  32. package/{esm2015/form-builder/choices-origin-data-source.js → esm2020/form-builder/choices-origin-data-source.mjs} +1 -1
  33. package/esm2020/form-builder/choices-origin-editor-dialog.mjs +40 -0
  34. package/esm2020/form-builder/choices-origin-editor.mjs +83 -0
  35. package/esm2020/form-builder/condition-editor-dialog.mjs +38 -0
  36. package/esm2020/form-builder/condition-editor.mjs +147 -0
  37. package/esm2020/form-builder/form-builder-module.mjs +179 -0
  38. package/esm2020/form-builder/form-builder-service.mjs +766 -0
  39. package/{esm2015/form-builder/form-builder-utils.js → esm2020/form-builder/form-builder-utils.mjs} +4 -3
  40. package/esm2020/form-builder/form-builder.mjs +180 -0
  41. package/esm2020/form-builder/form-builder_public_index.mjs +5 -0
  42. package/esm2020/form-builder/index.mjs +23 -0
  43. package/esm2020/form-builder/node-entry.mjs +260 -0
  44. package/esm2020/form-builder/node-properties.mjs +960 -0
  45. package/esm2020/form-builder/node-type-entry.mjs +46 -0
  46. package/{esm2015/form-builder/operations.js → esm2020/form-builder/operations.mjs} +0 -0
  47. package/{esm2015/form-builder/public-api.js → esm2020/form-builder/public-api.mjs} +0 -0
  48. package/esm2020/form-builder/string-identifier-dialog.mjs +79 -0
  49. package/esm2020/form-builder/validation-condition-editor-dialog.mjs +41 -0
  50. package/esm2020/form-builder/warning-condition-editor-dialog.mjs +41 -0
  51. package/esm2020/forms/barcode-field.mjs +45 -0
  52. package/esm2020/forms/boolean-field.mjs +45 -0
  53. package/esm2020/forms/date-field.mjs +45 -0
  54. package/esm2020/forms/date-input-field.mjs +67 -0
  55. package/esm2020/forms/empty-field.mjs +43 -0
  56. package/esm2020/forms/field-service.mjs +116 -0
  57. package/esm2020/forms/field-warning-dialog.mjs +34 -0
  58. package/esm2020/forms/field.mjs +42 -0
  59. package/esm2020/forms/form.mjs +51 -0
  60. package/esm2020/forms/forms-module.mjs +208 -0
  61. package/esm2020/forms/forms_public_index.mjs +5 -0
  62. package/esm2020/forms/index.mjs +23 -0
  63. package/esm2020/forms/input-field.mjs +46 -0
  64. package/esm2020/forms/multiple-choice-field.mjs +54 -0
  65. package/{esm2015/forms/public-api.js → esm2020/forms/public-api.mjs} +0 -0
  66. package/esm2020/forms/range-field.mjs +46 -0
  67. package/esm2020/forms/single-choice-field.mjs +53 -0
  68. package/esm2020/forms/table-field.mjs +45 -0
  69. package/esm2020/forms/text-field.mjs +47 -0
  70. package/esm2020/forms/time-field.mjs +45 -0
  71. package/esm2020/forms/video-url-field.mjs +50 -0
  72. package/esm2020/forms/warning-alert-service.mjs +22 -0
  73. package/esm2020/image/image-module.mjs +40 -0
  74. package/esm2020/image/image.mjs +40 -0
  75. package/esm2020/image/image_public_index.mjs +5 -0
  76. package/esm2020/image/index.mjs +23 -0
  77. package/{esm2015/image/public-api.js → esm2020/image/public-api.mjs} +0 -0
  78. package/{esm2015/index.js → esm2020/index.mjs} +0 -0
  79. package/{esm2015/monaco-editor/auto-complete-item-model.js → esm2020/monaco-editor/auto-complete-item-model.mjs} +0 -0
  80. package/{esm2015/monaco-editor/autocomplete-singleton-model.js → esm2020/monaco-editor/autocomplete-singleton-model.mjs} +3 -2
  81. package/{esm2015/monaco-editor/editor-language-model.js → esm2020/monaco-editor/editor-language-model.mjs} +0 -0
  82. package/{esm2015/monaco-editor/editor-options-model.js → esm2020/monaco-editor/editor-options-model.mjs} +1 -1
  83. package/{esm2015/monaco-editor/editor-scrollbar-options.js → esm2020/monaco-editor/editor-scrollbar-options.mjs} +0 -0
  84. package/{esm2015/monaco-editor/editor-theme.js → esm2020/monaco-editor/editor-theme.mjs} +0 -0
  85. package/esm2020/monaco-editor/index.mjs +23 -0
  86. package/esm2020/monaco-editor/monaco-editor-module.mjs +37 -0
  87. package/esm2020/monaco-editor/monaco-editor.mjs +451 -0
  88. package/esm2020/monaco-editor/monaco-editor_public_index.mjs +5 -0
  89. package/{esm2015/monaco-editor/public-api.js → esm2020/monaco-editor/public-api.mjs} +0 -0
  90. package/esm2020/node-icon/index.mjs +23 -0
  91. package/esm2020/node-icon/node-icon-module.mjs +40 -0
  92. package/esm2020/node-icon/node-icon.mjs +35 -0
  93. package/esm2020/node-icon/node-icon_public_index.mjs +5 -0
  94. package/{esm2015/node-icon/public-api.js → esm2020/node-icon/public-api.mjs} +0 -0
  95. package/esm2020/page-slider/index.mjs +23 -0
  96. package/esm2020/page-slider/page-slider-module.mjs +59 -0
  97. package/esm2020/page-slider/page-slider.mjs +42 -0
  98. package/esm2020/page-slider/page-slider_public_index.mjs +5 -0
  99. package/{esm2015/page-slider/public-api.js → esm2020/page-slider/public-api.mjs} +0 -0
  100. package/esm2020/reports/chart-widget.mjs +38 -0
  101. package/esm2020/reports/formula-widget.mjs +37 -0
  102. package/esm2020/reports/image-container-widget.mjs +41 -0
  103. package/esm2020/reports/image-widget.mjs +37 -0
  104. package/esm2020/reports/index.mjs +23 -0
  105. package/{esm2015/reports/layout-widget.js → esm2020/reports/layout-widget.mjs} +0 -0
  106. package/esm2020/reports/map-widget.mjs +37 -0
  107. package/esm2020/reports/page-break-widget.mjs +37 -0
  108. package/{esm2015/reports/public-api.js → esm2020/reports/public-api.mjs} +0 -0
  109. package/esm2020/reports/report.mjs +39 -0
  110. package/esm2020/reports/reports-module.mjs +112 -0
  111. package/esm2020/reports/reports_public_index.mjs +5 -0
  112. package/esm2020/reports/table-widget.mjs +38 -0
  113. package/esm2020/reports/text-widget.mjs +38 -0
  114. package/esm2020/reports/widget.mjs +102 -0
  115. package/{esm2015/report-builder/operations.js → esm2020/time/index.mjs} +2 -2
  116. package/{esm2015/time/public-api.js → esm2020/time/public-api.mjs} +0 -0
  117. package/esm2020/time/time-module.mjs +41 -0
  118. package/esm2020/time/time.mjs +45 -0
  119. package/esm2020/time/time_public_index.mjs +5 -0
  120. package/fesm2015/barcode.mjs +162 -0
  121. package/fesm2015/barcode.mjs.map +1 -0
  122. package/fesm2015/calendar.mjs +138 -0
  123. package/fesm2015/calendar.mjs.map +1 -0
  124. package/fesm2015/checkbox-group.mjs +142 -0
  125. package/fesm2015/checkbox-group.mjs.map +1 -0
  126. package/fesm2015/form-builder.mjs +2922 -0
  127. package/fesm2015/form-builder.mjs.map +1 -0
  128. package/fesm2015/forms.mjs +1011 -0
  129. package/fesm2015/forms.mjs.map +1 -0
  130. package/fesm2015/image.mjs +127 -0
  131. package/fesm2015/image.mjs.map +1 -0
  132. package/fesm2015/{material.js → material.mjs} +1 -1
  133. package/{bundles/material.umd.js.map → fesm2015/material.mjs.map} +1 -1
  134. package/fesm2015/{monaco-editor.js → monaco-editor.mjs} +179 -124
  135. package/fesm2015/monaco-editor.mjs.map +1 -0
  136. package/fesm2015/node-icon.mjs +123 -0
  137. package/fesm2015/node-icon.mjs.map +1 -0
  138. package/fesm2015/page-slider.mjs +147 -0
  139. package/fesm2015/page-slider.mjs.map +1 -0
  140. package/fesm2015/reports.mjs +551 -0
  141. package/fesm2015/reports.mjs.map +1 -0
  142. package/fesm2015/time.mjs +133 -0
  143. package/fesm2015/time.mjs.map +1 -0
  144. package/fesm2020/barcode.mjs +162 -0
  145. package/fesm2020/barcode.mjs.map +1 -0
  146. package/fesm2020/calendar.mjs +138 -0
  147. package/fesm2020/calendar.mjs.map +1 -0
  148. package/fesm2020/checkbox-group.mjs +140 -0
  149. package/fesm2020/checkbox-group.mjs.map +1 -0
  150. package/fesm2020/form-builder.mjs +2921 -0
  151. package/fesm2020/form-builder.mjs.map +1 -0
  152. package/fesm2020/forms.mjs +985 -0
  153. package/fesm2020/forms.mjs.map +1 -0
  154. package/fesm2020/image.mjs +127 -0
  155. package/fesm2020/image.mjs.map +1 -0
  156. package/{report-builder/image-filter.d.ts → fesm2020/material.mjs} +9 -4
  157. package/fesm2020/material.mjs.map +1 -0
  158. package/fesm2020/monaco-editor.mjs +826 -0
  159. package/fesm2020/monaco-editor.mjs.map +1 -0
  160. package/fesm2020/node-icon.mjs +123 -0
  161. package/fesm2020/node-icon.mjs.map +1 -0
  162. package/fesm2020/page-slider.mjs +147 -0
  163. package/fesm2020/page-slider.mjs.map +1 -0
  164. package/fesm2020/reports.mjs +551 -0
  165. package/fesm2020/reports.mjs.map +1 -0
  166. package/fesm2020/time.mjs +133 -0
  167. package/fesm2020/time.mjs.map +1 -0
  168. package/form-builder/branch-line.d.ts +3 -0
  169. package/form-builder/choices-origin-editor-dialog.d.ts +3 -0
  170. package/form-builder/choices-origin-editor.d.ts +3 -0
  171. package/form-builder/condition-editor-dialog.d.ts +3 -0
  172. package/form-builder/condition-editor.d.ts +3 -0
  173. package/form-builder/form-builder-module.d.ts +41 -21
  174. package/form-builder/form-builder-service.d.ts +3 -0
  175. package/form-builder/form-builder.d.ts +3 -0
  176. package/form-builder/form-builder_public_index.d.ts +4 -0
  177. package/form-builder/index.d.ts +19 -12
  178. package/form-builder/node-entry.d.ts +3 -0
  179. package/form-builder/node-properties.d.ts +3 -0
  180. package/form-builder/node-type-entry.d.ts +3 -0
  181. package/form-builder/package.json +6 -6
  182. package/form-builder/string-identifier-dialog.d.ts +3 -0
  183. package/form-builder/validation-condition-editor-dialog.d.ts +3 -0
  184. package/form-builder/warning-condition-editor-dialog.d.ts +3 -0
  185. package/forms/barcode-field.d.ts +3 -0
  186. package/forms/boolean-field.d.ts +3 -0
  187. package/forms/date-field.d.ts +3 -0
  188. package/forms/date-input-field.d.ts +3 -0
  189. package/forms/empty-field.d.ts +3 -0
  190. package/forms/field-service.d.ts +3 -0
  191. package/forms/field-warning-dialog.d.ts +3 -21
  192. package/forms/field.d.ts +3 -0
  193. package/forms/form.d.ts +3 -0
  194. package/forms/forms-module.d.ts +43 -21
  195. package/forms/forms_public_index.d.ts +4 -0
  196. package/forms/index.d.ts +19 -5
  197. package/forms/input-field.d.ts +3 -0
  198. package/forms/multiple-choice-field.d.ts +3 -0
  199. package/forms/package.json +6 -6
  200. package/forms/range-field.d.ts +3 -0
  201. package/forms/single-choice-field.d.ts +3 -0
  202. package/forms/table-field.d.ts +3 -0
  203. package/forms/text-field.d.ts +3 -0
  204. package/forms/time-field.d.ts +3 -0
  205. package/forms/video-url-field.d.ts +3 -0
  206. package/forms/warning-alert-service.d.ts +3 -0
  207. package/image/image-module.d.ts +7 -21
  208. package/image/image.d.ts +3 -0
  209. package/image/image_public_index.d.ts +4 -0
  210. package/image/index.d.ts +19 -1
  211. package/image/package.json +6 -6
  212. package/monaco-editor/index.d.ts +19 -1
  213. package/monaco-editor/monaco-editor-module.d.ts +5 -21
  214. package/monaco-editor/monaco-editor.d.ts +3 -0
  215. package/monaco-editor/monaco-editor_public_index.d.ts +4 -0
  216. package/monaco-editor/package.json +6 -6
  217. package/node-icon/index.d.ts +19 -1
  218. package/node-icon/node-icon-module.d.ts +7 -21
  219. package/node-icon/node-icon.d.ts +3 -0
  220. package/node-icon/node-icon_public_index.d.ts +4 -0
  221. package/node-icon/package.json +6 -6
  222. package/package.json +111 -11
  223. package/page-slider/index.d.ts +19 -1
  224. package/page-slider/package.json +6 -6
  225. package/page-slider/page-slider-module.d.ts +10 -21
  226. package/page-slider/page-slider.d.ts +3 -0
  227. package/page-slider/page-slider_public_index.d.ts +4 -0
  228. package/reports/chart-widget.d.ts +3 -0
  229. package/reports/formula-widget.d.ts +3 -0
  230. package/reports/image-container-widget.d.ts +3 -0
  231. package/reports/image-widget.d.ts +3 -0
  232. package/reports/index.d.ts +19 -1
  233. package/reports/map-widget.d.ts +3 -0
  234. package/reports/package.json +6 -6
  235. package/reports/page-break-widget.d.ts +3 -0
  236. package/reports/report.d.ts +3 -0
  237. package/reports/reports-module.d.ts +24 -21
  238. package/reports/reports_public_index.d.ts +4 -0
  239. package/reports/table-widget.d.ts +3 -0
  240. package/reports/text-widget.d.ts +3 -0
  241. package/reports/widget.d.ts +9 -0
  242. package/time/index.d.ts +19 -1
  243. package/time/package.json +6 -6
  244. package/time/time-module.d.ts +8 -21
  245. package/time/time.d.ts +3 -0
  246. package/time/time_public_index.d.ts +4 -0
  247. package/barcode/index.metadata.json +0 -1
  248. package/bundles/material-barcode.umd.js +0 -433
  249. package/bundles/material-barcode.umd.js.map +0 -1
  250. package/bundles/material-calendar.umd.js +0 -435
  251. package/bundles/material-calendar.umd.js.map +0 -1
  252. package/bundles/material-checkbox-group.umd.js +0 -432
  253. package/bundles/material-checkbox-group.umd.js.map +0 -1
  254. package/bundles/material-form-builder.umd.js +0 -3558
  255. package/bundles/material-form-builder.umd.js.map +0 -1
  256. package/bundles/material-forms.umd.js +0 -968
  257. package/bundles/material-forms.umd.js.map +0 -1
  258. package/bundles/material-image.umd.js +0 -420
  259. package/bundles/material-image.umd.js.map +0 -1
  260. package/bundles/material-monaco-editor.umd.js +0 -755
  261. package/bundles/material-monaco-editor.umd.js.map +0 -1
  262. package/bundles/material-node-icon.umd.js +0 -415
  263. package/bundles/material-node-icon.umd.js.map +0 -1
  264. package/bundles/material-page-slider.umd.js +0 -424
  265. package/bundles/material-page-slider.umd.js.map +0 -1
  266. package/bundles/material-report-builder.umd.js +0 -5814
  267. package/bundles/material-report-builder.umd.js.map +0 -1
  268. package/bundles/material-reports.umd.js +0 -731
  269. package/bundles/material-reports.umd.js.map +0 -1
  270. package/bundles/material-time.umd.js +0 -424
  271. package/bundles/material-time.umd.js.map +0 -1
  272. package/bundles/material.umd.js +0 -40
  273. package/calendar/index.metadata.json +0 -1
  274. package/checkbox-group/index.metadata.json +0 -1
  275. package/esm2015/barcode/barcode-module.js +0 -50
  276. package/esm2015/barcode/barcode.externs.js +0 -6
  277. package/esm2015/barcode/barcode.js +0 -52
  278. package/esm2015/barcode/index.js +0 -5
  279. package/esm2015/calendar/calendar-module.js +0 -48
  280. package/esm2015/calendar/calendar.externs.js +0 -6
  281. package/esm2015/calendar/calendar.js +0 -55
  282. package/esm2015/calendar/index.js +0 -5
  283. package/esm2015/checkbox-group/checkbox-group-item.js +0 -51
  284. package/esm2015/checkbox-group/checkbox-group-module.js +0 -47
  285. package/esm2015/checkbox-group/checkbox-group.externs.js +0 -6
  286. package/esm2015/checkbox-group/index.js +0 -5
  287. package/esm2015/form-builder/branch-line.js +0 -73
  288. package/esm2015/form-builder/choices-origin-editor-dialog.js +0 -57
  289. package/esm2015/form-builder/choices-origin-editor.js +0 -78
  290. package/esm2015/form-builder/condition-editor-dialog.js +0 -59
  291. package/esm2015/form-builder/condition-editor.js +0 -143
  292. package/esm2015/form-builder/form-builder-module.js +0 -96
  293. package/esm2015/form-builder/form-builder-service.js +0 -764
  294. package/esm2015/form-builder/form-builder.externs.js +0 -6
  295. package/esm2015/form-builder/form-builder.js +0 -187
  296. package/esm2015/form-builder/index.js +0 -16
  297. package/esm2015/form-builder/node-entry.js +0 -245
  298. package/esm2015/form-builder/node-properties.js +0 -968
  299. package/esm2015/form-builder/node-type-entry.js +0 -50
  300. package/esm2015/form-builder/string-identifier-dialog.js +0 -94
  301. package/esm2015/form-builder/validation-condition-editor-dialog.js +0 -59
  302. package/esm2015/form-builder/warning-condition-editor-dialog.js +0 -59
  303. package/esm2015/forms/barcode-field.js +0 -43
  304. package/esm2015/forms/boolean-field.js +0 -43
  305. package/esm2015/forms/date-field.js +0 -43
  306. package/esm2015/forms/date-input-field.js +0 -65
  307. package/esm2015/forms/empty-field.js +0 -43
  308. package/esm2015/forms/field-service.js +0 -115
  309. package/esm2015/forms/field-warning-dialog.js +0 -32
  310. package/esm2015/forms/field.js +0 -45
  311. package/esm2015/forms/form.js +0 -46
  312. package/esm2015/forms/forms-module.js +0 -107
  313. package/esm2015/forms/forms.externs.js +0 -6
  314. package/esm2015/forms/index.js +0 -9
  315. package/esm2015/forms/input-field.js +0 -43
  316. package/esm2015/forms/multiple-choice-field.js +0 -44
  317. package/esm2015/forms/range-field.js +0 -45
  318. package/esm2015/forms/single-choice-field.js +0 -44
  319. package/esm2015/forms/table-field.js +0 -43
  320. package/esm2015/forms/text-field.js +0 -43
  321. package/esm2015/forms/time-field.js +0 -43
  322. package/esm2015/forms/video-url-field.js +0 -47
  323. package/esm2015/forms/warning-alert-service.js +0 -42
  324. package/esm2015/image/image-module.js +0 -42
  325. package/esm2015/image/image.externs.js +0 -6
  326. package/esm2015/image/image.js +0 -44
  327. package/esm2015/image/index.js +0 -5
  328. package/esm2015/material.externs.js +0 -0
  329. package/esm2015/monaco-editor/index.js +0 -5
  330. package/esm2015/monaco-editor/monaco-editor-module.js +0 -36
  331. package/esm2015/monaco-editor/monaco-editor.externs.js +0 -6
  332. package/esm2015/monaco-editor/monaco-editor.js +0 -389
  333. package/esm2015/node-icon/index.js +0 -5
  334. package/esm2015/node-icon/node-icon-module.js +0 -42
  335. package/esm2015/node-icon/node-icon.externs.js +0 -6
  336. package/esm2015/node-icon/node-icon.js +0 -35
  337. package/esm2015/page-slider/index.js +0 -5
  338. package/esm2015/page-slider/page-slider-module.js +0 -49
  339. package/esm2015/page-slider/page-slider.externs.js +0 -6
  340. package/esm2015/page-slider/page-slider.js +0 -44
  341. package/esm2015/report-builder/column.js +0 -97
  342. package/esm2015/report-builder/condition-editor.js +0 -159
  343. package/esm2015/report-builder/content.js +0 -255
  344. package/esm2015/report-builder/custom-widget-dialog.js +0 -51
  345. package/esm2015/report-builder/custom-widget-toolbar-button.js +0 -70
  346. package/esm2015/report-builder/custom-widgets-toolbar.js +0 -124
  347. package/esm2015/report-builder/forms-analyzer-dialog.js +0 -315
  348. package/esm2015/report-builder/forms-analyzer.js +0 -264
  349. package/esm2015/report-builder/image-group.js +0 -106
  350. package/esm2015/report-builder/index.js +0 -25
  351. package/esm2015/report-builder/models.js +0 -23
  352. package/esm2015/report-builder/properties.js +0 -765
  353. package/esm2015/report-builder/public-api.js +0 -26
  354. package/esm2015/report-builder/quill-editor.js +0 -299
  355. package/esm2015/report-builder/renderer-widget.js +0 -238
  356. package/esm2015/report-builder/report-builder-drag-data.js +0 -23
  357. package/esm2015/report-builder/report-builder-module.js +0 -114
  358. package/esm2015/report-builder/report-builder-service.js +0 -1685
  359. package/esm2015/report-builder/report-builder.externs.js +0 -6
  360. package/esm2015/report-builder/report-builder.js +0 -69
  361. package/esm2015/report-builder/theme-color-dialog.js +0 -90
  362. package/esm2015/report-builder/theme-color.js +0 -215
  363. package/esm2015/report-builder/tokens.js +0 -24
  364. package/esm2015/report-builder/toolbar-dialog.js +0 -56
  365. package/esm2015/report-builder/toolbar.js +0 -90
  366. package/esm2015/report-builder/utils.js +0 -48
  367. package/esm2015/report-builder/widget-toolbar-button.js +0 -47
  368. package/esm2015/report-builder/widgets-row-buttons.js +0 -133
  369. package/esm2015/report-builder/widgets-toolbar.js +0 -79
  370. package/esm2015/reports/chart-widget.js +0 -41
  371. package/esm2015/reports/formula-widget.js +0 -41
  372. package/esm2015/reports/image-container-widget.js +0 -43
  373. package/esm2015/reports/image-widget.js +0 -41
  374. package/esm2015/reports/index.js +0 -5
  375. package/esm2015/reports/map-widget.js +0 -41
  376. package/esm2015/reports/page-break-widget.js +0 -41
  377. package/esm2015/reports/report.js +0 -41
  378. package/esm2015/reports/reports-module.js +0 -79
  379. package/esm2015/reports/reports.externs.js +0 -6
  380. package/esm2015/reports/table-widget.js +0 -41
  381. package/esm2015/reports/text-widget.js +0 -41
  382. package/esm2015/reports/widget.js +0 -120
  383. package/esm2015/time/index.js +0 -5
  384. package/esm2015/time/time-module.js +0 -44
  385. package/esm2015/time/time.externs.js +0 -6
  386. package/esm2015/time/time.js +0 -46
  387. package/fesm2015/barcode.js +0 -129
  388. package/fesm2015/barcode.js.map +0 -1
  389. package/fesm2015/calendar.js +0 -128
  390. package/fesm2015/calendar.js.map +0 -1
  391. package/fesm2015/checkbox-group.js +0 -124
  392. package/fesm2015/checkbox-group.js.map +0 -1
  393. package/fesm2015/form-builder.js +0 -2987
  394. package/fesm2015/form-builder.js.map +0 -1
  395. package/fesm2015/forms.js +0 -923
  396. package/fesm2015/forms.js.map +0 -1
  397. package/fesm2015/image.js +0 -113
  398. package/fesm2015/image.js.map +0 -1
  399. package/fesm2015/material.js.map +0 -1
  400. package/fesm2015/monaco-editor.js.map +0 -1
  401. package/fesm2015/node-icon.js +0 -104
  402. package/fesm2015/node-icon.js.map +0 -1
  403. package/fesm2015/page-slider.js +0 -119
  404. package/fesm2015/page-slider.js.map +0 -1
  405. package/fesm2015/report-builder.js +0 -5332
  406. package/fesm2015/report-builder.js.map +0 -1
  407. package/fesm2015/reports.js +0 -560
  408. package/fesm2015/reports.js.map +0 -1
  409. package/fesm2015/time.js +0 -116
  410. package/fesm2015/time.js.map +0 -1
  411. package/form-builder/index.metadata.json +0 -1
  412. package/forms/index.metadata.json +0 -1
  413. package/image/index.metadata.json +0 -1
  414. package/monaco-editor/index.metadata.json +0 -1
  415. package/node-icon/index.metadata.json +0 -1
  416. package/page-slider/index.metadata.json +0 -1
  417. package/report-builder/_report-builder.scss +0 -0
  418. package/report-builder/column.d.ts +0 -63
  419. package/report-builder/condition-editor.d.ts +0 -67
  420. package/report-builder/content.d.ts +0 -142
  421. package/report-builder/custom-widget-dialog.d.ts +0 -31
  422. package/report-builder/custom-widget-toolbar-button.d.ts +0 -45
  423. package/report-builder/custom-widgets-toolbar.d.ts +0 -71
  424. package/report-builder/forms-analyzer-dialog.d.ts +0 -91
  425. package/report-builder/forms-analyzer.d.ts +0 -102
  426. package/report-builder/image-group.d.ts +0 -69
  427. package/report-builder/index.d.ts +0 -24
  428. package/report-builder/index.metadata.json +0 -1
  429. package/report-builder/models.d.ts +0 -43
  430. package/report-builder/operations.d.ts +0 -45
  431. package/report-builder/package.json +0 -9
  432. package/report-builder/properties.d.ts +0 -365
  433. package/report-builder/public-api.d.ts +0 -26
  434. package/report-builder/quill-editor.d.ts +0 -113
  435. package/report-builder/renderer-widget.d.ts +0 -80
  436. package/report-builder/report-builder-drag-data.d.ts +0 -32
  437. package/report-builder/report-builder-module.d.ts +0 -23
  438. package/report-builder/report-builder-service.d.ts +0 -722
  439. package/report-builder/report-builder.d.ts +0 -36
  440. package/report-builder/theme-color-dialog.d.ts +0 -42
  441. package/report-builder/theme-color.d.ts +0 -108
  442. package/report-builder/tokens.d.ts +0 -24
  443. package/report-builder/toolbar-dialog.d.ts +0 -30
  444. package/report-builder/toolbar.d.ts +0 -48
  445. package/report-builder/utils.d.ts +0 -29
  446. package/report-builder/widget-toolbar-button.d.ts +0 -28
  447. package/report-builder/widgets-row-buttons.d.ts +0 -57
  448. package/report-builder/widgets-toolbar.d.ts +0 -44
  449. package/reports/index.metadata.json +0 -1
  450. package/time/index.metadata.json +0 -1
@@ -1,560 +0,0 @@
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
@@ -1 +0,0 @@
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;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