@ajf/material 13.0.0-rc.1 → 13.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 (340) hide show
  1. package/README.md +2 -5
  2. package/ajf-material.d.ts +5 -0
  3. package/barcode/ajf-material-barcode.d.ts +5 -0
  4. package/barcode/barcode-module.d.ts +0 -0
  5. package/barcode/barcode.d.ts +0 -0
  6. package/barcode/package.json +8 -7
  7. package/barcode/{public-api.d.ts → public_api.d.ts} +0 -0
  8. package/calendar/ajf-material-calendar.d.ts +5 -0
  9. package/calendar/calendar-module.d.ts +0 -0
  10. package/calendar/calendar.d.ts +1 -1
  11. package/calendar/package.json +8 -7
  12. package/calendar/{public-api.d.ts → public_api.d.ts} +0 -0
  13. package/checkbox-group/ajf-material-checkbox-group.d.ts +5 -0
  14. package/checkbox-group/checkbox-group-item.d.ts +0 -0
  15. package/checkbox-group/checkbox-group-module.d.ts +0 -0
  16. package/checkbox-group/package.json +8 -7
  17. package/checkbox-group/{public-api.d.ts → public_api.d.ts} +0 -0
  18. package/esm2020/ajf-material.mjs +5 -0
  19. package/esm2020/barcode/ajf-material-barcode.mjs +5 -0
  20. package/esm2020/barcode/barcode-module.mjs +5 -5
  21. package/esm2020/barcode/barcode.mjs +6 -6
  22. package/esm2020/barcode/public_api.mjs +24 -0
  23. package/esm2020/calendar/ajf-material-calendar.mjs +5 -0
  24. package/esm2020/calendar/calendar-module.mjs +5 -5
  25. package/esm2020/calendar/calendar.mjs +7 -7
  26. package/esm2020/{page-slider/public-api.mjs → calendar/public_api.mjs} +3 -3
  27. package/esm2020/checkbox-group/ajf-material-checkbox-group.mjs +5 -0
  28. package/esm2020/checkbox-group/checkbox-group-item.mjs +6 -6
  29. package/esm2020/checkbox-group/checkbox-group-module.mjs +5 -5
  30. package/esm2020/{time/index.mjs → checkbox-group/public_api.mjs} +3 -2
  31. package/esm2020/form-builder/ajf-material-form-builder.mjs +5 -0
  32. package/esm2020/form-builder/branch-line.mjs +6 -5
  33. package/esm2020/form-builder/choices-origin-data-source.mjs +1 -1
  34. package/esm2020/form-builder/choices-origin-editor-dialog.mjs +5 -6
  35. package/esm2020/form-builder/choices-origin-editor.mjs +19 -8
  36. package/esm2020/form-builder/condition-editor-dialog.mjs +5 -6
  37. package/esm2020/form-builder/condition-editor.mjs +10 -6
  38. package/esm2020/form-builder/form-builder-module.mjs +5 -5
  39. package/esm2020/form-builder/form-builder-service.mjs +19 -6
  40. package/esm2020/form-builder/form-builder-utils.mjs +1 -1
  41. package/esm2020/form-builder/form-builder.mjs +12 -7
  42. package/esm2020/form-builder/node-entry.mjs +9 -7
  43. package/esm2020/form-builder/node-properties.mjs +35 -10
  44. package/esm2020/form-builder/node-type-entry.mjs +5 -5
  45. package/esm2020/form-builder/operations.mjs +1 -1
  46. package/esm2020/{monaco-editor/public-api.mjs → form-builder/public_api.mjs} +5 -3
  47. package/esm2020/form-builder/string-identifier-dialog.mjs +6 -7
  48. package/esm2020/form-builder/validation-condition-editor-dialog.mjs +6 -6
  49. package/esm2020/form-builder/warning-condition-editor-dialog.mjs +6 -6
  50. package/esm2020/forms/ajf-material-forms.mjs +5 -0
  51. package/esm2020/forms/barcode-field.mjs +7 -8
  52. package/esm2020/forms/boolean-field.mjs +7 -8
  53. package/esm2020/forms/date-field.mjs +7 -8
  54. package/esm2020/forms/date-input-field.mjs +10 -8
  55. package/esm2020/forms/empty-field.mjs +11 -11
  56. package/esm2020/forms/field-service.mjs +4 -4
  57. package/esm2020/forms/field-warning-dialog.mjs +7 -4
  58. package/esm2020/forms/field.mjs +6 -7
  59. package/esm2020/forms/form.mjs +18 -17
  60. package/esm2020/forms/forms-module.mjs +9 -5
  61. package/esm2020/forms/input-field.mjs +7 -8
  62. package/esm2020/forms/multiple-choice-field.mjs +7 -8
  63. package/esm2020/{barcode/public-api.mjs → forms/public_api.mjs} +16 -3
  64. package/esm2020/forms/range-field.mjs +7 -8
  65. package/esm2020/forms/single-choice-field.mjs +7 -8
  66. package/esm2020/forms/table-field.mjs +7 -8
  67. package/esm2020/forms/text-field.mjs +7 -8
  68. package/esm2020/forms/time-field.mjs +7 -8
  69. package/esm2020/forms/video-url-field.mjs +6 -9
  70. package/esm2020/forms/warning-alert-service.mjs +4 -5
  71. package/esm2020/image/ajf-material-image.mjs +5 -0
  72. package/esm2020/image/image-module.mjs +5 -5
  73. package/esm2020/image/image.mjs +5 -6
  74. package/esm2020/{calendar/public-api.mjs → image/public_api.mjs} +3 -3
  75. package/esm2020/monaco-editor/ajf-material-monaco-editor.mjs +5 -0
  76. package/esm2020/monaco-editor/auto-complete-item-model.mjs +7 -2
  77. package/esm2020/monaco-editor/autocomplete-singleton-model.mjs +1 -1
  78. package/esm2020/monaco-editor/editor-language-model.mjs +1 -1
  79. package/esm2020/monaco-editor/editor-options-model.mjs +11 -1
  80. package/esm2020/monaco-editor/editor-scrollbar-options.mjs +1 -1
  81. package/esm2020/monaco-editor/editor-theme.mjs +1 -1
  82. package/esm2020/monaco-editor/monaco-editor-module.mjs +5 -5
  83. package/esm2020/monaco-editor/monaco-editor.mjs +7 -7
  84. package/esm2020/{reports/layout-widget.mjs → monaco-editor/public_api.mjs} +3 -1
  85. package/esm2020/node-icon/ajf-material-node-icon.mjs +5 -0
  86. package/esm2020/node-icon/node-icon-module.mjs +5 -5
  87. package/esm2020/node-icon/node-icon.mjs +5 -5
  88. package/esm2020/{form-builder/public-api.mjs → node-icon/public_api.mjs} +3 -5
  89. package/esm2020/page-slider/ajf-material-page-slider.mjs +5 -0
  90. package/esm2020/page-slider/page-slider-module.mjs +5 -5
  91. package/esm2020/page-slider/page-slider.mjs +6 -7
  92. package/esm2020/page-slider/public_api.mjs +24 -0
  93. package/esm2020/{form-builder/index.mjs → public-api.mjs} +3 -2
  94. package/esm2020/reports/ajf-material-reports.mjs +5 -0
  95. package/esm2020/reports/chart-widget.mjs +7 -6
  96. package/esm2020/reports/filter-widget.mjs +38 -0
  97. package/esm2020/reports/formula-widget.mjs +7 -6
  98. package/esm2020/reports/image-container-widget.mjs +6 -6
  99. package/esm2020/reports/image-widget.mjs +7 -6
  100. package/esm2020/reports/map-widget.mjs +7 -6
  101. package/esm2020/reports/page-break-widget.mjs +6 -6
  102. package/esm2020/reports/public_api.mjs +34 -0
  103. package/esm2020/reports/report.mjs +6 -6
  104. package/esm2020/reports/reports-module.mjs +12 -5
  105. package/esm2020/reports/table-widget.mjs +7 -6
  106. package/esm2020/reports/text-widget.mjs +8 -7
  107. package/esm2020/reports/widget.mjs +19 -18
  108. package/esm2020/time/ajf-material-time.mjs +5 -0
  109. package/esm2020/{image/public-api.mjs → time/public_api.mjs} +3 -3
  110. package/esm2020/time/time-module.mjs +5 -5
  111. package/esm2020/time/time.mjs +4 -4
  112. package/fesm2015/{barcode.mjs → ajf-material-barcode.mjs} +9 -31
  113. package/fesm2015/ajf-material-barcode.mjs.map +1 -0
  114. package/fesm2015/ajf-material-calendar.mjs +116 -0
  115. package/fesm2015/ajf-material-calendar.mjs.map +1 -0
  116. package/fesm2015/{checkbox-group.mjs → ajf-material-checkbox-group.mjs} +9 -31
  117. package/fesm2015/ajf-material-checkbox-group.mjs.map +1 -0
  118. package/fesm2015/{form-builder.mjs → ajf-material-form-builder.mjs} +126 -77
  119. package/fesm2015/ajf-material-form-builder.mjs.map +1 -0
  120. package/fesm2015/ajf-material-forms.mjs +1000 -0
  121. package/fesm2015/ajf-material-forms.mjs.map +1 -0
  122. package/fesm2015/{image.mjs → ajf-material-image.mjs} +8 -30
  123. package/fesm2015/ajf-material-image.mjs.map +1 -0
  124. package/fesm2015/{monaco-editor.mjs → ajf-material-monaco-editor.mjs} +26 -31
  125. package/fesm2015/ajf-material-monaco-editor.mjs.map +1 -0
  126. package/{fesm2020/node-icon.mjs → fesm2015/ajf-material-node-icon.mjs} +9 -31
  127. package/fesm2015/ajf-material-node-icon.mjs.map +1 -0
  128. package/fesm2015/{page-slider.mjs → ajf-material-page-slider.mjs} +9 -31
  129. package/fesm2015/ajf-material-page-slider.mjs.map +1 -0
  130. package/fesm2015/ajf-material-reports.mjs +569 -0
  131. package/fesm2015/ajf-material-reports.mjs.map +1 -0
  132. package/fesm2015/{time.mjs → ajf-material-time.mjs} +8 -30
  133. package/fesm2015/ajf-material-time.mjs.map +1 -0
  134. package/{calendar/index.d.ts → fesm2015/ajf-material.mjs} +7 -1
  135. package/fesm2015/ajf-material.mjs.map +1 -0
  136. package/fesm2020/{barcode.mjs → ajf-material-barcode.mjs} +9 -31
  137. package/fesm2020/ajf-material-barcode.mjs.map +1 -0
  138. package/fesm2020/ajf-material-calendar.mjs +116 -0
  139. package/fesm2020/ajf-material-calendar.mjs.map +1 -0
  140. package/fesm2020/{checkbox-group.mjs → ajf-material-checkbox-group.mjs} +9 -31
  141. package/fesm2020/ajf-material-checkbox-group.mjs.map +1 -0
  142. package/fesm2020/{form-builder.mjs → ajf-material-form-builder.mjs} +126 -77
  143. package/fesm2020/ajf-material-form-builder.mjs.map +1 -0
  144. package/fesm2020/ajf-material-forms.mjs +974 -0
  145. package/fesm2020/ajf-material-forms.mjs.map +1 -0
  146. package/fesm2020/{image.mjs → ajf-material-image.mjs} +8 -30
  147. package/fesm2020/ajf-material-image.mjs.map +1 -0
  148. package/fesm2020/{monaco-editor.mjs → ajf-material-monaco-editor.mjs} +26 -61
  149. package/fesm2020/ajf-material-monaco-editor.mjs.map +1 -0
  150. package/{fesm2015/node-icon.mjs → fesm2020/ajf-material-node-icon.mjs} +9 -31
  151. package/fesm2020/ajf-material-node-icon.mjs.map +1 -0
  152. package/fesm2020/{page-slider.mjs → ajf-material-page-slider.mjs} +10 -32
  153. package/fesm2020/ajf-material-page-slider.mjs.map +1 -0
  154. package/fesm2020/ajf-material-reports.mjs +569 -0
  155. package/fesm2020/ajf-material-reports.mjs.map +1 -0
  156. package/fesm2020/{time.mjs → ajf-material-time.mjs} +8 -30
  157. package/fesm2020/ajf-material-time.mjs.map +1 -0
  158. package/{barcode/index.d.ts → fesm2020/ajf-material.mjs} +7 -1
  159. package/fesm2020/ajf-material.mjs.map +1 -0
  160. package/form-builder/ajf-material-form-builder.d.ts +5 -0
  161. package/form-builder/branch-line.d.ts +0 -0
  162. package/form-builder/choices-origin-data-source.d.ts +0 -0
  163. package/form-builder/choices-origin-editor-dialog.d.ts +0 -0
  164. package/form-builder/choices-origin-editor.d.ts +2 -2
  165. package/form-builder/condition-editor-dialog.d.ts +0 -0
  166. package/form-builder/condition-editor.d.ts +0 -0
  167. package/form-builder/form-builder-module.d.ts +0 -0
  168. package/form-builder/form-builder-service.d.ts +1 -1
  169. package/form-builder/form-builder-utils.d.ts +0 -0
  170. package/form-builder/form-builder.d.ts +2 -2
  171. package/form-builder/node-entry.d.ts +2 -2
  172. package/form-builder/node-properties.d.ts +4 -3
  173. package/form-builder/node-type-entry.d.ts +2 -2
  174. package/form-builder/operations.d.ts +0 -0
  175. package/form-builder/package.json +8 -7
  176. package/form-builder/{public-api.d.ts → public_api.d.ts} +0 -0
  177. package/form-builder/string-identifier-dialog.d.ts +0 -0
  178. package/form-builder/validation-condition-editor-dialog.d.ts +0 -0
  179. package/form-builder/warning-condition-editor-dialog.d.ts +0 -0
  180. package/forms/ajf-material-forms.d.ts +5 -0
  181. package/forms/barcode-field.d.ts +0 -0
  182. package/forms/boolean-field.d.ts +0 -0
  183. package/forms/date-field.d.ts +0 -0
  184. package/forms/date-input-field.d.ts +0 -0
  185. package/forms/empty-field.d.ts +0 -0
  186. package/forms/field-service.d.ts +0 -0
  187. package/forms/field-warning-dialog.d.ts +0 -0
  188. package/forms/field.d.ts +0 -0
  189. package/forms/form.d.ts +0 -0
  190. package/forms/forms-module.d.ts +15 -14
  191. package/forms/input-field.d.ts +0 -0
  192. package/forms/multiple-choice-field.d.ts +0 -0
  193. package/forms/package.json +8 -7
  194. package/forms/{public-api.d.ts → public_api.d.ts} +0 -0
  195. package/forms/range-field.d.ts +0 -0
  196. package/forms/single-choice-field.d.ts +0 -0
  197. package/forms/table-field.d.ts +0 -0
  198. package/forms/text-field.d.ts +0 -0
  199. package/forms/time-field.d.ts +0 -0
  200. package/forms/video-url-field.d.ts +0 -0
  201. package/forms/warning-alert-service.d.ts +0 -0
  202. package/image/ajf-material-image.d.ts +5 -0
  203. package/image/image-module.d.ts +0 -0
  204. package/image/image.d.ts +0 -0
  205. package/image/package.json +8 -7
  206. package/image/{public-api.d.ts → public_api.d.ts} +0 -0
  207. package/monaco-editor/ajf-material-monaco-editor.d.ts +5 -0
  208. package/monaco-editor/auto-complete-item-model.d.ts +0 -0
  209. package/monaco-editor/autocomplete-singleton-model.d.ts +0 -0
  210. package/monaco-editor/editor-language-model.d.ts +0 -0
  211. package/monaco-editor/editor-options-model.d.ts +0 -0
  212. package/monaco-editor/editor-scrollbar-options.d.ts +0 -0
  213. package/monaco-editor/editor-theme.d.ts +0 -0
  214. package/monaco-editor/monaco-editor-module.d.ts +0 -0
  215. package/monaco-editor/monaco-editor.d.ts +0 -0
  216. package/monaco-editor/package.json +8 -7
  217. package/monaco-editor/{public-api.d.ts → public_api.d.ts} +0 -0
  218. package/node-icon/ajf-material-node-icon.d.ts +5 -0
  219. package/node-icon/node-icon-module.d.ts +0 -0
  220. package/node-icon/node-icon.d.ts +0 -0
  221. package/node-icon/package.json +8 -7
  222. package/node-icon/{public-api.d.ts → public_api.d.ts} +0 -0
  223. package/package.json +90 -92
  224. package/page-slider/ajf-material-page-slider.d.ts +5 -0
  225. package/page-slider/package.json +8 -7
  226. package/page-slider/page-slider-module.d.ts +0 -0
  227. package/page-slider/page-slider.d.ts +0 -0
  228. package/page-slider/{public-api.d.ts → public_api.d.ts} +0 -0
  229. package/{checkbox-group/index.d.ts → public-api.d.ts} +2 -1
  230. package/reports/ajf-material-reports.d.ts +5 -0
  231. package/reports/chart-widget.d.ts +0 -0
  232. package/reports/filter-widget.d.ts +14 -0
  233. package/reports/formula-widget.d.ts +0 -0
  234. package/reports/image-container-widget.d.ts +0 -0
  235. package/reports/image-widget.d.ts +0 -0
  236. package/reports/map-widget.d.ts +0 -0
  237. package/reports/package.json +8 -7
  238. package/reports/page-break-widget.d.ts +0 -0
  239. package/reports/{public-api.d.ts → public_api.d.ts} +1 -0
  240. package/reports/report.d.ts +0 -0
  241. package/reports/reports-module.d.ts +21 -19
  242. package/reports/table-widget.d.ts +0 -0
  243. package/reports/text-widget.d.ts +0 -0
  244. package/reports/widget.d.ts +0 -0
  245. package/time/ajf-material-time.d.ts +5 -0
  246. package/time/package.json +8 -7
  247. package/time/{public-api.d.ts → public_api.d.ts} +0 -0
  248. package/time/time-module.d.ts +0 -0
  249. package/time/time.d.ts +0 -0
  250. package/LICENSE +0 -661
  251. package/barcode/_barcode.scss +0 -0
  252. package/barcode/barcode_public_index.d.ts +0 -4
  253. package/calendar/_calendar.scss +0 -0
  254. package/calendar/calendar_public_index.d.ts +0 -4
  255. package/checkbox-group/_checkbox-group.scss +0 -0
  256. package/checkbox-group/checkbox-group_public_index.d.ts +0 -4
  257. package/esm2020/barcode/barcode_public_index.mjs +0 -5
  258. package/esm2020/barcode/index.mjs +0 -23
  259. package/esm2020/calendar/calendar_public_index.mjs +0 -5
  260. package/esm2020/calendar/index.mjs +0 -23
  261. package/esm2020/checkbox-group/checkbox-group_public_index.mjs +0 -5
  262. package/esm2020/checkbox-group/index.mjs +0 -23
  263. package/esm2020/checkbox-group/public-api.mjs +0 -24
  264. package/esm2020/form-builder/form-builder_public_index.mjs +0 -5
  265. package/esm2020/forms/forms_public_index.mjs +0 -5
  266. package/esm2020/forms/index.mjs +0 -23
  267. package/esm2020/forms/public-api.mjs +0 -37
  268. package/esm2020/image/image_public_index.mjs +0 -5
  269. package/esm2020/image/index.mjs +0 -23
  270. package/esm2020/index.mjs +0 -28
  271. package/esm2020/monaco-editor/index.mjs +0 -23
  272. package/esm2020/monaco-editor/monaco-editor_public_index.mjs +0 -5
  273. package/esm2020/node-icon/index.mjs +0 -23
  274. package/esm2020/node-icon/node-icon_public_index.mjs +0 -5
  275. package/esm2020/node-icon/public-api.mjs +0 -24
  276. package/esm2020/page-slider/index.mjs +0 -23
  277. package/esm2020/page-slider/page-slider_public_index.mjs +0 -5
  278. package/esm2020/reports/index.mjs +0 -23
  279. package/esm2020/reports/public-api.mjs +0 -33
  280. package/esm2020/reports/reports_public_index.mjs +0 -5
  281. package/esm2020/time/public-api.mjs +0 -24
  282. package/esm2020/time/time_public_index.mjs +0 -5
  283. package/fesm2015/barcode.mjs.map +0 -1
  284. package/fesm2015/calendar.mjs +0 -138
  285. package/fesm2015/calendar.mjs.map +0 -1
  286. package/fesm2015/checkbox-group.mjs.map +0 -1
  287. package/fesm2015/form-builder.mjs.map +0 -1
  288. package/fesm2015/forms.mjs +0 -1011
  289. package/fesm2015/forms.mjs.map +0 -1
  290. package/fesm2015/image.mjs.map +0 -1
  291. package/fesm2015/material.mjs +0 -30
  292. package/fesm2015/material.mjs.map +0 -1
  293. package/fesm2015/monaco-editor.mjs.map +0 -1
  294. package/fesm2015/node-icon.mjs.map +0 -1
  295. package/fesm2015/page-slider.mjs.map +0 -1
  296. package/fesm2015/reports.mjs +0 -551
  297. package/fesm2015/reports.mjs.map +0 -1
  298. package/fesm2015/time.mjs.map +0 -1
  299. package/fesm2020/barcode.mjs.map +0 -1
  300. package/fesm2020/calendar.mjs +0 -138
  301. package/fesm2020/calendar.mjs.map +0 -1
  302. package/fesm2020/checkbox-group.mjs.map +0 -1
  303. package/fesm2020/form-builder.mjs.map +0 -1
  304. package/fesm2020/forms.mjs +0 -985
  305. package/fesm2020/forms.mjs.map +0 -1
  306. package/fesm2020/image.mjs.map +0 -1
  307. package/fesm2020/material.mjs +0 -30
  308. package/fesm2020/material.mjs.map +0 -1
  309. package/fesm2020/monaco-editor.mjs.map +0 -1
  310. package/fesm2020/node-icon.mjs.map +0 -1
  311. package/fesm2020/page-slider.mjs.map +0 -1
  312. package/fesm2020/reports.mjs +0 -551
  313. package/fesm2020/reports.mjs.map +0 -1
  314. package/fesm2020/time.mjs.map +0 -1
  315. package/form-builder/_form-builder.scss +0 -0
  316. package/form-builder/form-builder_public_index.d.ts +0 -4
  317. package/form-builder/index.d.ts +0 -22
  318. package/forms/_forms.scss +0 -0
  319. package/forms/forms_public_index.d.ts +0 -4
  320. package/forms/index.d.ts +0 -22
  321. package/image/_image.scss +0 -0
  322. package/image/image_public_index.d.ts +0 -4
  323. package/image/index.d.ts +0 -22
  324. package/index.d.ts +0 -22
  325. package/monaco-editor/_monaco-editor.scss +0 -0
  326. package/monaco-editor/index.d.ts +0 -22
  327. package/monaco-editor/monaco-editor_public_index.d.ts +0 -4
  328. package/node-icon/_node-icon.scss +0 -0
  329. package/node-icon/index.d.ts +0 -22
  330. package/node-icon/node-icon_public_index.d.ts +0 -4
  331. package/page-slider/_page-slider.scss +0 -0
  332. package/page-slider/index.d.ts +0 -22
  333. package/page-slider/page-slider_public_index.d.ts +0 -4
  334. package/reports/_reports.scss +0 -0
  335. package/reports/index.d.ts +0 -22
  336. package/reports/layout-widget.d.ts +0 -21
  337. package/reports/reports_public_index.d.ts +0 -4
  338. package/time/_time.scss +0 -0
  339. package/time/index.d.ts +0 -22
  340. package/time/time_public_index.d.ts +0 -4
@@ -1 +0,0 @@
1
- {"version":3,"file":"reports.mjs","sources":["../../../../../../src/material/reports/chart-widget.ts","../../../../../../src/material/reports/chart-widget.html","../../../../../../src/material/reports/formula-widget.ts","../../../../../../src/material/reports/formula-widget.html","../../../../../../src/material/reports/image-container-widget.ts","../../../../../../src/material/reports/image-container-widget.html","../../../../../../src/material/reports/image-widget.ts","../../../../../../src/material/reports/image-widget.html","../../../../../../src/material/reports/map-widget.ts","../../../../../../src/material/reports/map-widget.html","../../../../../../src/material/reports/page-break-widget.ts","../../../../../../src/material/reports/page-break-widget.html","../../../../../../src/material/reports/table-widget.ts","../../../../../../src/material/reports/table-widget.html","../../../../../../src/material/reports/text-widget.ts","../../../../../../src/material/reports/text-widget.html","../../../../../../src/material/reports/widget.ts","../../../../../../src/material/reports/widget.html","../../../../../../src/material/reports/column-widget.html","../../../../../../src/material/reports/layout-widget.html","../../../../../../src/material/reports/report.ts","../../../../../../src/material/reports/report.html","../../../../../../src/material/reports/reports-module.ts","../../../../../../src/material/reports/public-api.ts","../../../../../../src/material/reports/index.ts","../../../../../../src/material/reports/reports_public_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","<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","/**\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","<ajf-text [htmlText]=\"instance.formula\"></ajf-text>\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 AjfBaseWidgetComponent<AjfImageContainerWidgetInstance> {\n readonly imageTypes = AjfImageType;\n\n constructor(cdr: ChangeDetectorRef, el: ElementRef) {\n super(cdr, el);\n }\n}\n","<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","/**\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","<ajf-image\n [type]=\"instance.widget.imageType\"\n [imageUrl]=\"instance.url\"\n [icon]=\"instance.icon\"\n [flag]=\"instance.flag\"\n></ajf-image>\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","<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","/**\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","<ajf-page-break></ajf-page-break>\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","<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","/**\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","<ajf-text [htmlText]=\"instance.htmlText | transloco\"></ajf-text>\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\n extends AjfBaseWidgetComponent<AjfLayoutWidgetInstance>\n implements AfterContentChecked\n{\n private _allcolumnsRendered$: BehaviorSubject<boolean> = new BehaviorSubject<boolean>(false);\n readonly allcolumnsRendered$: Observable<boolean> = this\n ._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","<ng-template ajf-widget-host></ng-template>\n","<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","<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","/**\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@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","<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","/**\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 {AjfColumnWidgetComponent, AjfLayoutWidgetComponent, AjfReportWidget} 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: [AjfReportRenderer, AjfReportWidget],\n})\nexport class AjfReportsModule {}\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 * @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 './public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["wt","CoreService","CoreComponent","AjfCoreReportRenderer","CoreModule"],"mappings":"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"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"time.mjs","sources":["../../../../../../src/material/time/time.ts","../../../../../../src/material/time/time.html","../../../../../../src/material/time/time-module.ts","../../../../../../src/material/time/public-api.ts","../../../../../../src/material/time/index.ts","../../../../../../src/material/time/time_public_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 {AjfTime as Base} from '@ajf/core/time';\nimport {\n ChangeDetectionStrategy,\n Component,\n forwardRef,\n OnDestroy,\n ViewEncapsulation,\n} from '@angular/core';\nimport {ControlValueAccessor, NG_VALUE_ACCESSOR} from '@angular/forms';\n\nexport const AJF_TIME_CONTROL_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AjfTime),\n multi: true,\n};\n\n@Component({\n selector: 'ajf-time',\n templateUrl: 'time.html',\n styleUrls: ['time.css'],\n providers: [AJF_TIME_CONTROL_VALUE_ACCESSOR],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AjfTime extends Base implements ControlValueAccessor, OnDestroy {\n constructor() {\n super();\n }\n}\n","<div>\n <mat-form-field>\n <input\n matInput\n min=\"0\"\n max=\"23\"\n (focus)=\"focusHandler()\"\n [(ngModel)]=\"hours\"\n type=\"number\">\n </mat-form-field>\n :\n <mat-form-field>\n <input\n matInput\n min=\"0\"\n max=\"59\"\n (focus)=\"focusHandler()\"\n [(ngModel)]=\"minutes\"\n type=\"number\">\n </mat-form-field>\n</div>\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 {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {MatFormFieldModule} from '@angular/material/form-field';\nimport {MatInputModule} from '@angular/material/input';\n\nimport {AjfTime} from './time';\n\n@NgModule({\n imports: [FormsModule, MatFormFieldModule, MatInputModule],\n declarations: [AjfTime],\n exports: [AjfTime],\n})\nexport class AjfTimeModule {}\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 './time-module';\nexport * from './time';\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 './public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["Base"],"mappings":";;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;MAgCa,+BAA+B,GAAQ;IAClD,OAAO,EAAE,iBAAiB;IAC1B,WAAW,EAAE,UAAU,CAAC,MAAM,OAAO,CAAC;IACtC,KAAK,EAAE,IAAI;EACX;MAUW,gBAAgBA,SAAI;IAC/B;QACE,KAAK,EAAE,CAAC;KACT;;yGAHU,OAAO;6FAAP,OAAO,mCAJP,CAAC,+BAA+B,CAAC,iDC1C9C,8aAqBA;gGDyBa,OAAO;kBARnB,SAAS;+BACE,UAAU,aAGT,CAAC,+BAA+B,CAAC,iBAC7B,iBAAiB,CAAC,IAAI,mBACpB,uBAAuB,CAAC,MAAM;;;AE5CjD;;;;;;;;;;;;;;;;;;;;;MAkCa,aAAa;;+GAAb,aAAa;gHAAb,aAAa,iBAHT,OAAO,aADZ,WAAW,EAAE,kBAAkB,EAAE,cAAc,aAE/C,OAAO;gHAEN,aAAa,YAJf,CAAC,WAAW,EAAE,kBAAkB,EAAE,cAAc,CAAC;gGAI/C,aAAa;kBALzB,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,WAAW,EAAE,kBAAkB,EAAE,cAAc,CAAC;oBAC1D,YAAY,EAAE,CAAC,OAAO,CAAC;oBACvB,OAAO,EAAE,CAAC,OAAO,CAAC;iBACnB;;;ACjCD;;;;;;;;;;;;;;;;;;;;;;ACAA;;;;;;;;;;;;;;;;;;;;;;ACAA;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"barcode.mjs","sources":["../../../../../../src/material/barcode/barcode.ts","../../../../../../src/material/barcode/barcode.html","../../../../../../src/material/barcode/barcode-module.ts","../../../../../../src/material/barcode/public-api.ts","../../../../../../src/material/barcode/index.ts","../../../../../../src/material/barcode/barcode_public_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 {AjfBarcode} from '@ajf/core/barcode';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n forwardRef,\n Renderer2,\n ViewEncapsulation,\n} from '@angular/core';\nimport {NG_VALUE_ACCESSOR} from '@angular/forms';\n\nexport const BARCODE_CONTROL_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AjfBarcodeComponent),\n multi: true,\n};\n\n/**\n * Ajf barcode component.\n */\n@Component({\n selector: 'ajf-barcode',\n templateUrl: 'barcode.html',\n styleUrls: ['barcode.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [BARCODE_CONTROL_VALUE_ACCESSOR],\n})\nexport class AjfBarcodeComponent extends AjfBarcode {\n constructor(cdr: ChangeDetectorRef, renderer: Renderer2) {\n super(cdr, renderer);\n }\n}\n","<ng-container *ngIf=\"value; else barcode\">\n <div class=\"ajf-code-container\">\n <span>{{ value }}</span>\n <button mat-raised-button (click)=\"reset()\">\n <mat-icon style=\"transform: rotate(90deg)\">format_align_justify</mat-icon>\n </button>\n </div>\n</ng-container>\n<ng-template #barcode>\n <mat-button-toggle-group [value]=\"toggle\">\n <mat-button-toggle (click)=\"toggle = 'drop'; fileInput.click()\">\n <span>{{'Upload image'|transloco}}</span>\n <mat-icon>add_circle_outline</mat-icon>\n <input\n #fileInput\n type=\"file\"\n (change)=\"onSelectFile($event)\"\n multiple\n style=\"display: none\"\n />\n </mat-button-toggle>\n <mat-button-toggle (click)=\"toggle = 'drop'\">\n <span>{{'Drop image'|transloco}}</span>\n </mat-button-toggle>\n <mat-button-toggle (click)=\"toggle = 'camera'\">\n <span>{{'Camera'|transloco}}</span>\n </mat-button-toggle>\n </mat-button-toggle-group>\n <ng-container [ngSwitch]=\"toggle\">\n <ng-container *ngSwitchCase=\"'drop'\">\n <div class=\"ajf-drop-container\">\n <div class=\"ajf-dropzone\" ajfDnd (file)=\"onSelectDrop($event)\">\n <div class=\"ajf-text-wrapper\">\n <div class=\"ajf-centered\">\n {{'Drop your image here!'|transloco}}\n </div>\n </div>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'camera'\">\n <div\n ajfVideoDirective\n [source]=\"videoSource\"\n class=\"left\"\n (isInit)=\"takeSnapshot()\"\n ></div>\n </ng-container>\n </ng-container>\n</ng-template>\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 {AjfCommonModule} from '@ajf/core/common';\nimport {AjfTranslocoModule} from '@ajf/core/transloco';\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {MatButtonModule} from '@angular/material/button';\nimport {MatButtonToggleModule} from '@angular/material/button-toggle';\nimport {MatIconModule} from '@angular/material/icon';\n\nimport {AjfBarcodeComponent} from './barcode';\n\n@NgModule({\n imports: [\n AjfCommonModule,\n CommonModule,\n MatButtonModule,\n MatButtonToggleModule,\n MatIconModule,\n AjfTranslocoModule,\n ],\n declarations: [AjfBarcodeComponent],\n exports: [AjfBarcodeComponent],\n})\nexport class AjfBarcodeModule {}\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 './barcode';\nexport * from './barcode-module';\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 './public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;MAiCa,8BAA8B,GAAQ;IACjD,OAAO,EAAE,iBAAiB;IAC1B,WAAW,EAAE,UAAU,CAAC,MAAM,mBAAmB,CAAC;IAClD,KAAK,EAAE,IAAI;EACX;AAEF;;;MAWa,mBAAoB,SAAQ,UAAU;IACjD,YAAY,GAAsB,EAAE,QAAmB;QACrD,KAAK,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;KACtB;;qHAHU,mBAAmB;yGAAnB,mBAAmB,sCAFnB,CAAC,8BAA8B,CAAC,iDChD7C,qpDAkDA;gGDAa,mBAAmB;kBAR/B,SAAS;+BACE,aAAa,iBAGR,iBAAiB,CAAC,IAAI,mBACpB,uBAAuB,CAAC,MAAM,aACpC,CAAC,8BAA8B,CAAC;;;AEhD7C;;;;;;;;;;;;;;;;;;;;;MA4Ca,gBAAgB;;kHAAhB,gBAAgB;mHAAhB,gBAAgB,iBAHZ,mBAAmB,aAPhC,eAAe;QACf,YAAY;QACZ,eAAe;QACf,qBAAqB;QACrB,aAAa;QACb,kBAAkB,aAGV,mBAAmB;mHAElB,gBAAgB,YAXlB;YACP,eAAe;YACf,YAAY;YACZ,eAAe;YACf,qBAAqB;YACrB,aAAa;YACb,kBAAkB;SACnB;gGAIU,gBAAgB;kBAZ5B,QAAQ;mBAAC;oBACR,OAAO,EAAE;wBACP,eAAe;wBACf,YAAY;wBACZ,eAAe;wBACf,qBAAqB;wBACrB,aAAa;wBACb,kBAAkB;qBACnB;oBACD,YAAY,EAAE,CAAC,mBAAmB,CAAC;oBACnC,OAAO,EAAE,CAAC,mBAAmB,CAAC;iBAC/B;;;AC3CD;;;;;;;;;;;;;;;;;;;;;;ACAA;;;;;;;;;;;;;;;;;;;;;;ACAA;;;;;;"}
@@ -1,138 +0,0 @@
1
- import * as i1 from '@ajf/core/calendar';
2
- import { AjfCalendar, AjfCalendarModule as AjfCalendarModule$1 } from '@ajf/core/calendar';
3
- import * as i0 from '@angular/core';
4
- import { forwardRef, Component, ViewEncapsulation, ChangeDetectionStrategy, NgModule } from '@angular/core';
5
- import { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
6
- import * as i2 from '@angular/material/button';
7
- import { MatButtonModule } from '@angular/material/button';
8
- import * as i3 from '@angular/common';
9
- import { CommonModule } from '@angular/common';
10
- import * as i4 from '@ngneat/transloco';
11
- import { AjfTranslocoModule } from '@ajf/core/transloco';
12
-
13
- /**
14
- * @license
15
- * Copyright (C) Gnucoop soc. coop.
16
- *
17
- * This file is part of the Advanced JSON forms (ajf).
18
- *
19
- * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
20
- * modify it under the terms of the GNU Affero General Public License as
21
- * published by the Free Software Foundation, either version 3 of the License,
22
- * or (at your option) any later version.
23
- *
24
- * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
25
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
26
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
27
- * General Public License for more details.
28
- *
29
- * You should have received a copy of the GNU Affero General Public License
30
- * along with Advanced JSON forms (ajf).
31
- * If not, see http://www.gnu.org/licenses/.
32
- *
33
- */
34
- const CALENDAR_CONTROL_VALUE_ACCESSOR = {
35
- provide: NG_VALUE_ACCESSOR,
36
- useExisting: forwardRef(() => AjfCalendarComponent),
37
- multi: true,
38
- };
39
- /**
40
- * Ajf calendar component.
41
- */
42
- class AjfCalendarComponent extends AjfCalendar {
43
- constructor(cdr, service) {
44
- super(cdr, service);
45
- }
46
- }
47
- AjfCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfCalendarComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.AjfCalendarService }], target: i0.ɵɵFactoryTarget.Component });
48
- AjfCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0-rc.3", type: AjfCalendarComponent, selector: "ajf-calendar", outputs: { change: "change" }, providers: [CALENDAR_CONTROL_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0, template: "<div class=\"ajf-calendar-header\">\n <button (click)=\"prevPage()\" mat-mini-fab>&#8592;</button>\n <button (click)=\"previousViewMode()\" mat-button class=\"ajf-calendar-header-title\">\n {{ viewHeader | transloco }}\n </button>\n <button (click)=\"nextPage()\" mat-mini-fab>&#8594;</button>\n</div>\n<div class=\"ajf-calendar-row\" *ngIf=\"calendarHeaders.length > 0\">\n <div *ngFor=\"let calendarHeader of calendarHeaders\">\n {{ calendarHeader | transloco }}\n </div>\n</div>\n<div class=\"ajf-calendar-row\" *ngFor=\"let row of calendarRows\">\n <button\n *ngFor=\"let entry of row\"\n mat-raised-button\n [class.ajf-calendar-partial-selection]=\"entry.selected == 'partial'\"\n [disabled]=\"disabled || (entry.disabled || false)\"\n [color]=\"entry.selected != 'none' ? 'warn' : undefined\"\n (click)=\"selectEntry(entry)\"\n >{{ entry|ajfCalendarEntryLabel }}</button>\n</div>\n", styles: ["ajf-calendar{display:flex;box-sizing:border-box;width:100%;height:320px;flex-direction:column}ajf-calendar .ajf-calendar-header,ajf-calendar .ajf-calendar-row{display:flex;box-sizing:border-box;width:100%;flex-direction:row}ajf-calendar .ajf-calendar-header{height:40px}ajf-calendar .ajf-calendar-header .ajf-calendar-header-title{flex:1;margin:0 10px}ajf-calendar .ajf-calendar-row{flex:1}ajf-calendar .ajf-calendar-row button,ajf-calendar .ajf-calendar-row div{flex:1;margin:3px}ajf-calendar .ajf-calendar-row div{line-height:40px;text-align:center}ajf-calendar .ajf-calendar-row .ajf-calendar-partial-selection ::before{content:\"\";position:absolute;top:0;right:0;bottom:0;left:0;background-color:rgba(255,255,255,.5)}\n"], components: [{ type: i2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "transloco": i4.TranslocoPipe, "ajfCalendarEntryLabel": i1.AjfCalendarEntryLabelPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
49
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfCalendarComponent, decorators: [{
50
- type: Component,
51
- args: [{ selector: 'ajf-calendar', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, outputs: ['change'], providers: [CALENDAR_CONTROL_VALUE_ACCESSOR], template: "<div class=\"ajf-calendar-header\">\n <button (click)=\"prevPage()\" mat-mini-fab>&#8592;</button>\n <button (click)=\"previousViewMode()\" mat-button class=\"ajf-calendar-header-title\">\n {{ viewHeader | transloco }}\n </button>\n <button (click)=\"nextPage()\" mat-mini-fab>&#8594;</button>\n</div>\n<div class=\"ajf-calendar-row\" *ngIf=\"calendarHeaders.length > 0\">\n <div *ngFor=\"let calendarHeader of calendarHeaders\">\n {{ calendarHeader | transloco }}\n </div>\n</div>\n<div class=\"ajf-calendar-row\" *ngFor=\"let row of calendarRows\">\n <button\n *ngFor=\"let entry of row\"\n mat-raised-button\n [class.ajf-calendar-partial-selection]=\"entry.selected == 'partial'\"\n [disabled]=\"disabled || (entry.disabled || false)\"\n [color]=\"entry.selected != 'none' ? 'warn' : undefined\"\n (click)=\"selectEntry(entry)\"\n >{{ entry|ajfCalendarEntryLabel }}</button>\n</div>\n", styles: ["ajf-calendar{display:flex;box-sizing:border-box;width:100%;height:320px;flex-direction:column}ajf-calendar .ajf-calendar-header,ajf-calendar .ajf-calendar-row{display:flex;box-sizing:border-box;width:100%;flex-direction:row}ajf-calendar .ajf-calendar-header{height:40px}ajf-calendar .ajf-calendar-header .ajf-calendar-header-title{flex:1;margin:0 10px}ajf-calendar .ajf-calendar-row{flex:1}ajf-calendar .ajf-calendar-row button,ajf-calendar .ajf-calendar-row div{flex:1;margin:3px}ajf-calendar .ajf-calendar-row div{line-height:40px;text-align:center}ajf-calendar .ajf-calendar-row .ajf-calendar-partial-selection ::before{content:\"\";position:absolute;top:0;right:0;bottom:0;left:0;background-color:rgba(255,255,255,.5)}\n"] }]
52
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.AjfCalendarService }]; } });
53
-
54
- /**
55
- * @license
56
- * Copyright (C) Gnucoop soc. coop.
57
- *
58
- * This file is part of the Advanced JSON forms (ajf).
59
- *
60
- * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
61
- * modify it under the terms of the GNU Affero General Public License as
62
- * published by the Free Software Foundation, either version 3 of the License,
63
- * or (at your option) any later version.
64
- *
65
- * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
66
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
67
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
68
- * General Public License for more details.
69
- *
70
- * You should have received a copy of the GNU Affero General Public License
71
- * along with Advanced JSON forms (ajf).
72
- * If not, see http://www.gnu.org/licenses/.
73
- *
74
- */
75
- class AjfCalendarModule {
76
- }
77
- AjfCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
78
- AjfCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfCalendarModule, declarations: [AjfCalendarComponent], imports: [CommonModule, AjfCalendarModule$1, FormsModule, MatButtonModule, AjfTranslocoModule], exports: [AjfCalendarComponent] });
79
- AjfCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfCalendarModule, imports: [[CommonModule, AjfCalendarModule$1, FormsModule, MatButtonModule, AjfTranslocoModule]] });
80
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfCalendarModule, decorators: [{
81
- type: NgModule,
82
- args: [{
83
- imports: [CommonModule, AjfCalendarModule$1, FormsModule, MatButtonModule, AjfTranslocoModule],
84
- declarations: [AjfCalendarComponent],
85
- exports: [AjfCalendarComponent],
86
- }]
87
- }] });
88
-
89
- /**
90
- * @license
91
- * Copyright (C) Gnucoop soc. coop.
92
- *
93
- * This file is part of the Advanced JSON forms (ajf).
94
- *
95
- * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
96
- * modify it under the terms of the GNU Affero General Public License as
97
- * published by the Free Software Foundation, either version 3 of the License,
98
- * or (at your option) any later version.
99
- *
100
- * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
101
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
102
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
103
- * General Public License for more details.
104
- *
105
- * You should have received a copy of the GNU Affero General Public License
106
- * along with Advanced JSON forms (ajf).
107
- * If not, see http://www.gnu.org/licenses/.
108
- *
109
- */
110
-
111
- /**
112
- * @license
113
- * Copyright (C) Gnucoop soc. coop.
114
- *
115
- * This file is part of the Advanced JSON forms (ajf).
116
- *
117
- * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
118
- * modify it under the terms of the GNU Affero General Public License as
119
- * published by the Free Software Foundation, either version 3 of the License,
120
- * or (at your option) any later version.
121
- *
122
- * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
123
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
124
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
125
- * General Public License for more details.
126
- *
127
- * You should have received a copy of the GNU Affero General Public License
128
- * along with Advanced JSON forms (ajf).
129
- * If not, see http://www.gnu.org/licenses/.
130
- *
131
- */
132
-
133
- /**
134
- * Generated bundle index. Do not edit.
135
- */
136
-
137
- export { AjfCalendarComponent, AjfCalendarModule, CALENDAR_CONTROL_VALUE_ACCESSOR };
138
- //# sourceMappingURL=calendar.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"calendar.mjs","sources":["../../../../../../src/material/calendar/calendar.ts","../../../../../../src/material/calendar/calendar.html","../../../../../../src/material/calendar/calendar-module.ts","../../../../../../src/material/calendar/public-api.ts","../../../../../../src/material/calendar/index.ts","../../../../../../src/material/calendar/calendar_public_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 {AjfCalendar, AjfCalendarService} from '@ajf/core/calendar';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n forwardRef,\n ViewEncapsulation,\n} from '@angular/core';\nimport {NG_VALUE_ACCESSOR} from '@angular/forms';\n\nexport const CALENDAR_CONTROL_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AjfCalendarComponent),\n multi: true,\n};\n\n/**\n * Ajf calendar component.\n */\n@Component({\n selector: 'ajf-calendar',\n templateUrl: 'calendar.html',\n styleUrls: ['calendar.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n outputs: ['change'],\n providers: [CALENDAR_CONTROL_VALUE_ACCESSOR],\n})\nexport class AjfCalendarComponent extends AjfCalendar {\n constructor(cdr: ChangeDetectorRef, service: AjfCalendarService) {\n super(cdr, service);\n }\n}\n","<div class=\"ajf-calendar-header\">\n <button (click)=\"prevPage()\" mat-mini-fab>&#8592;</button>\n <button (click)=\"previousViewMode()\" mat-button class=\"ajf-calendar-header-title\">\n {{ viewHeader | transloco }}\n </button>\n <button (click)=\"nextPage()\" mat-mini-fab>&#8594;</button>\n</div>\n<div class=\"ajf-calendar-row\" *ngIf=\"calendarHeaders.length > 0\">\n <div *ngFor=\"let calendarHeader of calendarHeaders\">\n {{ calendarHeader | transloco }}\n </div>\n</div>\n<div class=\"ajf-calendar-row\" *ngFor=\"let row of calendarRows\">\n <button\n *ngFor=\"let entry of row\"\n mat-raised-button\n [class.ajf-calendar-partial-selection]=\"entry.selected == 'partial'\"\n [disabled]=\"disabled || (entry.disabled || false)\"\n [color]=\"entry.selected != 'none' ? 'warn' : undefined\"\n (click)=\"selectEntry(entry)\"\n >{{ entry|ajfCalendarEntryLabel }}</button>\n</div>\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 {AjfCalendarModule as CoreModule} from '@ajf/core/calendar';\nimport {AjfTranslocoModule} from '@ajf/core/transloco';\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {MatButtonModule} from '@angular/material/button';\n\nimport {AjfCalendarComponent} from './calendar';\n\n@NgModule({\n imports: [CommonModule, CoreModule, FormsModule, MatButtonModule, AjfTranslocoModule],\n declarations: [AjfCalendarComponent],\n exports: [AjfCalendarComponent],\n})\nexport class AjfCalendarModule {}\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 './calendar';\nexport * from './calendar-module';\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 './public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["CoreModule"],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;MAgCa,+BAA+B,GAAQ;IAClD,OAAO,EAAE,iBAAiB;IAC1B,WAAW,EAAE,UAAU,CAAC,MAAM,oBAAoB,CAAC;IACnD,KAAK,EAAE,IAAI;EACX;AAEF;;;MAYa,oBAAqB,SAAQ,WAAW;IACnD,YAAY,GAAsB,EAAE,OAA2B;QAC7D,KAAK,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;KACrB;;sHAHU,oBAAoB;0GAApB,oBAAoB,sEAFpB,CAAC,+BAA+B,CAAC,iDChD9C,q6BAsBA;gGD4Ba,oBAAoB;kBAThC,SAAS;+BACE,cAAc,iBAGT,iBAAiB,CAAC,IAAI,mBACpB,uBAAuB,CAAC,MAAM,WACtC,CAAC,QAAQ,CAAC,aACR,CAAC,+BAA+B,CAAC;;;AEhD9C;;;;;;;;;;;;;;;;;;;;;MAoCa,iBAAiB;;mHAAjB,iBAAiB;oHAAjB,iBAAiB,iBAHb,oBAAoB,aADzB,YAAY,EAAEA,mBAAU,EAAE,WAAW,EAAE,eAAe,EAAE,kBAAkB,aAE1E,oBAAoB;oHAEnB,iBAAiB,YAJnB,CAAC,YAAY,EAAEA,mBAAU,EAAE,WAAW,EAAE,eAAe,EAAE,kBAAkB,CAAC;gGAI1E,iBAAiB;kBAL7B,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,EAAEA,mBAAU,EAAE,WAAW,EAAE,eAAe,EAAE,kBAAkB,CAAC;oBACrF,YAAY,EAAE,CAAC,oBAAoB,CAAC;oBACpC,OAAO,EAAE,CAAC,oBAAoB,CAAC;iBAChC;;;ACnCD;;;;;;;;;;;;;;;;;;;;;;ACAA;;;;;;;;;;;;;;;;;;;;;;ACAA;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkbox-group.mjs","sources":["../../../../../../src/material/checkbox-group/checkbox-group-item.ts","../../../../../../src/material/checkbox-group/checkbox-group-item.html","../../../../../../src/material/checkbox-group/checkbox-group-module.ts","../../../../../../src/material/checkbox-group/public-api.ts","../../../../../../src/material/checkbox-group/index.ts","../../../../../../src/material/checkbox-group/checkbox-group_public_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 {\n AjfCheckboxGroup,\n AjfCheckboxGroupItem as AjfCoreCheckboxGroupItem,\n} from '@ajf/core/checkbox-group';\nimport {ChangeDetectionStrategy, Component, Optional, ViewEncapsulation} from '@angular/core';\n\n@Component({\n selector: 'ajf-checkbox-group-item',\n templateUrl: 'checkbox-group-item.html',\n styleUrls: ['checkbox-group-item.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[attr.id]': 'id',\n '[class.ajf-checkbox-group-checked]': 'checked',\n '[class.ajf-checkbox-group-disable]': 'disabled',\n },\n})\nexport class CheckboxGroupItem<T> extends AjfCoreCheckboxGroupItem<T> {\n constructor(\n // `AjfCheckboxGroupItem` is commonly used in combination with a `AjfCheckboxGroup`.\n // tslint:disable-next-line: lightweight-tokens\n @Optional() checkboxGroup: AjfCheckboxGroup<T>,\n ) {\n super(checkboxGroup);\n this.checkedIcon = 'check_box';\n this.notCheckedIcon = 'check_box_outline_blank';\n }\n}\n","<button mat-button (click)=\"onInputChange($event)\"\n type=\"button\"\n [id]=\"checkboxId|async\"\n [attr.aria-checked]=\"checkedState|async\"\n [attr.aria-disabled]=\"disabledState|async\">\n <span class=\"ajf-checkbox-group-content\">\n <ng-content></ng-content>\n </span>\n <mat-icon>{{ icon|async }}</mat-icon>\n</button>\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 {AjfCheckboxGroupModule as AjfCoreCheckboxGroupModule} from '@ajf/core/checkbox-group';\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {MatButtonModule} from '@angular/material/button';\nimport {MatIconModule} from '@angular/material/icon';\n\nimport {CheckboxGroupItem} from './checkbox-group-item';\n\n@NgModule({\n imports: [AjfCoreCheckboxGroupModule, CommonModule, MatButtonModule, MatIconModule],\n declarations: [CheckboxGroupItem],\n exports: [AjfCoreCheckboxGroupModule, CheckboxGroupItem],\n})\nexport class AjfCheckboxGroupModule {}\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 './checkbox-group-item';\nexport * from './checkbox-group-module';\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 './public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["AjfCoreCheckboxGroupItem","AjfCoreCheckboxGroupModule"],"mappings":";;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;MAwCa,iBAAqB,SAAQA,oBAA2B;IACnE;;;IAGc,aAAkC;QAE9C,KAAK,CAAC,aAAa,CAAC,CAAC;QACrB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,cAAc,GAAG,yBAAyB,CAAC;KACjD;;mHATU,iBAAiB;uGAAjB,iBAAiB,gOCxC9B,4VAUA;gGD8Ba,iBAAiB;kBAZ7B,SAAS;+BACE,yBAAyB,mBAGlB,uBAAuB,CAAC,MAAM,iBAChC,iBAAiB,CAAC,IAAI,QAC/B;wBACJ,WAAW,EAAE,IAAI;wBACjB,oCAAoC,EAAE,SAAS;wBAC/C,oCAAoC,EAAE,UAAU;qBACjD;;0BAME,QAAQ;;;AE5Cb;;;;;;;;;;;;;;;;;;;;;MAmCa,sBAAsB;;wHAAtB,sBAAsB;yHAAtB,sBAAsB,iBAHlB,iBAAiB,aADtBC,wBAA0B,EAAE,YAAY,EAAE,eAAe,EAAE,aAAa,aAExEA,wBAA0B,EAAE,iBAAiB;yHAE5C,sBAAsB,YAJxB,CAACA,wBAA0B,EAAE,YAAY,EAAE,eAAe,EAAE,aAAa,CAAC,EAEzEA,wBAA0B;gGAEzB,sBAAsB;kBALlC,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAACA,wBAA0B,EAAE,YAAY,EAAE,eAAe,EAAE,aAAa,CAAC;oBACnF,YAAY,EAAE,CAAC,iBAAiB,CAAC;oBACjC,OAAO,EAAE,CAACA,wBAA0B,EAAE,iBAAiB,CAAC;iBACzD;;;AClCD;;;;;;;;;;;;;;;;;;;;;;ACAA;;;;;;;;;;;;;;;;;;;;;;ACAA;;;;;;"}