@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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"forms.mjs","sources":["../../../../../../src/material/forms/field-warning-dialog.ts","../../../../../../src/material/forms/field-warning-dialog.html","../../../../../../src/material/forms/warning-alert-service.ts","../../../../../../src/material/forms/boolean-field.ts","../../../../../../src/material/forms/boolean-field.html","../../../../../../src/material/forms/date-field.ts","../../../../../../src/material/forms/date-field.html","../../../../../../src/material/forms/date-input-field.ts","../../../../../../src/material/forms/date-input-field.html","../../../../../../src/material/forms/empty-field.ts","../../../../../../src/material/forms/empty-field.html","../../../../../../src/material/forms/barcode-field.ts","../../../../../../src/material/forms/barcode-field.html","../../../../../../src/material/forms/input-field.ts","../../../../../../src/material/forms/input-field.html","../../../../../../src/material/forms/multiple-choice-field.ts","../../../../../../src/material/forms/multiple-choice-field.html","../../../../../../src/material/forms/range-field.ts","../../../../../../src/material/forms/range-field.html","../../../../../../src/material/forms/single-choice-field.ts","../../../../../../src/material/forms/single-choice-field.html","../../../../../../src/material/forms/table-field.ts","../../../../../../src/material/forms/table-field.html","../../../../../../src/material/forms/text-field.ts","../../../../../../src/material/forms/text-field.html","../../../../../../src/material/forms/time-field.ts","../../../../../../src/material/forms/time-field.html","../../../../../../src/material/forms/video-url-field.ts","../../../../../../src/material/forms/video-url-field.html","../../../../../../src/material/forms/field-service.ts","../../../../../../src/material/forms/field.ts","../../../../../../src/material/forms/field.html","../../../../../../src/material/forms/form.ts","../../../../../../src/material/forms/form.html","../../../../../../src/material/forms/forms-module.ts","../../../../../../src/material/forms/public-api.ts","../../../../../../src/material/forms/index.ts","../../../../../../src/material/forms/forms_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 {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n@Component({\n templateUrl: 'field-warning-dialog.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfFieldWarningDialog {\n message: string;\n}\n","<mat-dialog-content><div [innerHTML]=\"message\"></div></mat-dialog-content>\n<mat-dialog-actions>\n <button mat-button [mat-dialog-close]=\"true\">Ok</button>\n <button mat-button [mat-dialog-close]=\"false\">Cancel</button>\n</mat-dialog-actions>\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 AjfFieldWarningAlertResult,\n AjfWarningAlertService as CoreWarningAlertService,\n} from '@ajf/core/forms';\nimport {Injectable} from '@angular/core';\nimport {MatDialog} from '@angular/material/dialog';\nimport {Observable} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\nimport {AjfFieldWarningDialog} from './field-warning-dialog';\n\n@Injectable()\nexport class AjfWarningAlertService implements CoreWarningAlertService {\n constructor(private _dialog: MatDialog) {}\n\n showWarningAlertPrompt(warnings: string[]): Observable<AjfFieldWarningAlertResult> {\n const dialog = this._dialog.open(AjfFieldWarningDialog);\n dialog.componentInstance.message = warnings.join('<br>');\n return dialog.afterClosed().pipe(map((result: boolean) => ({result})));\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 AJF_WARNING_ALERT_SERVICE,\n AjfBaseFieldComponent,\n AjfFormRendererService,\n} from '@ajf/core/forms';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Inject,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport {AjfWarningAlertService} from './warning-alert-service';\n@Component({\n templateUrl: 'boolean-field.html',\n styleUrls: ['boolean-field.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfBooleanFieldComponent extends AjfBaseFieldComponent {\n constructor(\n cdr: ChangeDetectorRef,\n service: AjfFormRendererService,\n @Inject(AJF_WARNING_ALERT_SERVICE) was: AjfWarningAlertService,\n ) {\n super(cdr, service, was);\n }\n}\n","<mat-slide-toggle *ngIf=\"control|async as ctrl\" [formControl]=\"ctrl!\"></mat-slide-toggle>\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 AJF_WARNING_ALERT_SERVICE,\n AjfBaseFieldComponent,\n AjfDateFieldInstance,\n AjfFormRendererService,\n} from '@ajf/core/forms';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Inject,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport {AjfWarningAlertService} from './warning-alert-service';\n\n@Component({\n templateUrl: 'date-field.html',\n styleUrls: ['date-field.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfDateFieldComponent extends AjfBaseFieldComponent<AjfDateFieldInstance> {\n constructor(\n cdr: ChangeDetectorRef,\n service: AjfFormRendererService,\n @Inject(AJF_WARNING_ALERT_SERVICE) was: AjfWarningAlertService,\n ) {\n super(cdr, service, was);\n }\n}\n","<ajf-calendar\n *ngIf=\"control|async as ctrl\"\n selectionMode=\"day\"\n [dateOnlyForDay]=\"true\"\n [minDate]=\"instance.node.minDate|ajfDateValue\"\n [maxDate]=\"instance.node.maxDate|ajfDateValue\"\n [formControl]=\"ctrl!\"\n></ajf-calendar>\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 AJF_WARNING_ALERT_SERVICE,\n AjfBaseFieldComponent,\n AjfDateFieldInstance,\n AjfDateValueStringPipe,\n AjfFormRendererService,\n} from '@ajf/core/forms';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Inject,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport {MatInput} from '@angular/material/input';\n\nimport {AjfWarningAlertService} from './warning-alert-service';\n\n@Component({\n templateUrl: 'date-input-field.html',\n styleUrls: ['date-input-field.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfDateInputFieldComponent extends AjfBaseFieldComponent<AjfDateFieldInstance> {\n @ViewChild(MatInput, {static: false}) input: MatInput;\n\n private _minDateStr: string | undefined;\n private _maxDateStr: string | undefined;\n\n constructor(\n cdr: ChangeDetectorRef,\n service: AjfFormRendererService,\n @Inject(AJF_WARNING_ALERT_SERVICE) was: AjfWarningAlertService,\n private _dvs: AjfDateValueStringPipe,\n ) {\n super(cdr, service, was);\n }\n\n onChange(): void {\n if (this.input == null) {\n return;\n }\n const val = this.input.value || '';\n if (val.length > 0) {\n if (\n (this._minDateStr != null && val < this._minDateStr) ||\n (this._maxDateStr != null && val > this._maxDateStr)\n ) {\n this.input.value = '';\n }\n }\n }\n\n protected override _onInstanceChange(): void {\n this._minDateStr = this._dvs.transform(this.instance.node.minDate);\n this._maxDateStr = this._dvs.transform(this.instance.node.maxDate);\n }\n}\n","<mat-form-field *ngIf=\"control|async as ctrl\">\n <input matInput type=\"date\"\n [attr.aria-label]=\"instance|ajfNodeCompleteName\"\n [min]=\"instance.node.minDate|ajfDateValueString\"\n [max]=\"instance.node.maxDate|ajfDateValueString\"\n (change)=\"onChange()\"\n [formControl]=\"ctrl!\">\n</mat-form-field>\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 AJF_WARNING_ALERT_SERVICE,\n AjfBaseFieldComponent,\n AjfEmptyFieldInstance,\n AjfFormRendererService,\n} from '@ajf/core/forms';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Inject,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport {AjfWarningAlertService} from './warning-alert-service';\n\n@Component({\n templateUrl: 'empty-field.html',\n styleUrls: ['empty-field.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfEmptyFieldComponent extends AjfBaseFieldComponent<AjfEmptyFieldInstance> {\n constructor(\n cdr: ChangeDetectorRef,\n service: AjfFormRendererService,\n @Inject(AJF_WARNING_ALERT_SERVICE) was: AjfWarningAlertService,\n ) {\n super(cdr, service, was);\n }\n}\n","<h1 [innerHTML]=\"instance.node.label | transloco\"></h1>\n<div [innerHTML]=\"instance.node.HTML | transloco\"></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 {\n AJF_WARNING_ALERT_SERVICE,\n AjfBaseFieldComponent,\n AjfFormRendererService,\n} from '@ajf/core/forms';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Inject,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport {AjfWarningAlertService} from './warning-alert-service';\n\n@Component({\n templateUrl: 'barcode-field.html',\n styleUrls: ['barcode-field.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfBarcodeFieldComponent extends AjfBaseFieldComponent {\n constructor(\n cdr: ChangeDetectorRef,\n service: AjfFormRendererService,\n @Inject(AJF_WARNING_ALERT_SERVICE) was: AjfWarningAlertService,\n ) {\n super(cdr, service, was);\n }\n}\n","<ajf-barcode *ngIf=\"control|async as ctrl\" [formControl]=\"ctrl!\"></ajf-barcode>\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 AJF_WARNING_ALERT_SERVICE,\n AjfFormRendererService,\n AjfInputFieldComponent as CoreComponent,\n} from '@ajf/core/forms';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Inject,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport {AjfWarningAlertService} from './warning-alert-service';\n\n@Component({\n templateUrl: 'input-field.html',\n styleUrls: ['input-field.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfInputFieldComponent extends CoreComponent {\n constructor(\n cdr: ChangeDetectorRef,\n service: AjfFormRendererService,\n @Inject(AJF_WARNING_ALERT_SERVICE) was: AjfWarningAlertService,\n ) {\n super(cdr, service, was);\n }\n}\n","<mat-form-field *ngIf=\"control|async as ctrl\">\n <input matInput *ngIf=\"type === 'text'\" type=\"text\" [formControl]=\"ctrl!\"\n [readonly]=\"instance|ajfIsReadonlyInputField\" [attr.aria-labelledby]=\"instance.node.name\">\n <input matInput *ngIf=\"type === 'number'\" type=\"number\" [formControl]=\"ctrl!\"\n [readonly]=\"instance|ajfIsReadonlyInputField\" [attr.aria-labelledby]=\"instance.node.name\">\n</mat-form-field>\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 AJF_SEARCH_ALERT_THRESHOLD,\n AJF_WARNING_ALERT_SERVICE,\n AjfFieldWithChoicesComponent,\n AjfFormRendererService,\n} from '@ajf/core/forms';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Inject,\n Optional,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport {AjfWarningAlertService} from './warning-alert-service';\n\n@Component({\n templateUrl: 'multiple-choice-field.html',\n styleUrls: ['multiple-choice-field.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfMultipleChoiceFieldComponent<T> extends AjfFieldWithChoicesComponent<T> {\n constructor(\n cdr: ChangeDetectorRef,\n service: AjfFormRendererService,\n @Inject(AJF_WARNING_ALERT_SERVICE) was: AjfWarningAlertService,\n @Optional() @Inject(AJF_SEARCH_ALERT_THRESHOLD) searchThreshold: number,\n ) {\n super(cdr, service, was, searchThreshold);\n }\n}\n","<ng-container *ngIf=\"!(instance|ajfExpandFieldWithChoices:searchThreshold); else expanded\">\n <mat-select *ngIf=\"control|async as ctrl\" [formControl]=\"ctrl!\" [multiple]=\"true\">\n <mat-option [value]=\"choice.value\"\n *ngFor=\"let choice of instance.filteredChoices\">\n {{ choice.label | transloco }}\n </mat-option>\n </mat-select>\n</ng-container>\n<ng-template #expanded>\n <ajf-checkbox-group *ngIf=\"control|async as ctrl\" class=\"ajf-choices-container\"\n [formControl]=\"ctrl!\">\n <ajf-checkbox-group-item *ngFor=\"let choice of instance.filteredChoices\"\n [value]=\"choice.value\">\n {{ choice.label | transloco }}\n </ajf-checkbox-group-item>\n </ajf-checkbox-group>\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 {AJF_WARNING_ALERT_SERVICE, AjfFormRendererService} from '@ajf/core/forms';\nimport {AjfRange} from '@ajf/core/range';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Inject,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport {AjfWarningAlertService} from './warning-alert-service';\n\n@Component({\n selector: 'ajf-range',\n templateUrl: 'range-field.html',\n styleUrls: ['range-field.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfRangeFieldComponent extends AjfRange {\n constructor(\n cdr: ChangeDetectorRef,\n service: AjfFormRendererService,\n @Inject(AJF_WARNING_ALERT_SERVICE) was: AjfWarningAlertService,\n ) {\n super(cdr, service, was);\n }\n}\n","<mat-slider\n *ngIf=\"control|async as ctrl\"\n thumbLabel\n [formControl]=\"ctrl!\"\n [tickInterval]=\"step\"\n [step]=\"step\"\n [min]=\"start\"\n [max]=\"end\"\n [attr.aria-label]=\"name\"\n [attr.name]=\"name\"\n></mat-slider>\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 AJF_SEARCH_ALERT_THRESHOLD,\n AJF_WARNING_ALERT_SERVICE,\n AjfFieldWithChoicesComponent,\n AjfFormRendererService,\n} from '@ajf/core/forms';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Inject,\n Optional,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport {AjfWarningAlertService} from './warning-alert-service';\n\n@Component({\n templateUrl: 'single-choice-field.html',\n styleUrls: ['single-choice-field.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfSingleChoiceFieldComponent<T> extends AjfFieldWithChoicesComponent<T> {\n constructor(\n cdr: ChangeDetectorRef,\n service: AjfFormRendererService,\n @Inject(AJF_WARNING_ALERT_SERVICE) was: AjfWarningAlertService,\n @Optional() @Inject(AJF_SEARCH_ALERT_THRESHOLD) searchThreshold: number,\n ) {\n super(cdr, service, was, searchThreshold);\n }\n}\n","<ng-container *ngIf=\"!(instance|ajfExpandFieldWithChoices:searchThreshold) ; else expanded\">\n <mat-select *ngIf=\"control|async as ctrl\" [formControl]=\"ctrl!\">\n <mat-option [value]=\"choice.value\"\n *ngFor=\"let choice of instance.filteredChoices\">\n {{ choice.label | transloco }}\n </mat-option>\n </mat-select>\n</ng-container>\n<ng-template #expanded>\n <mat-radio-group *ngIf=\"control|async as ctrl\" class=\"ajf-choices-container\"\n [attr.aria-labelledby]=\"instance.node.name\"\n [formControl]=\"ctrl!\">\n <mat-radio-button [value]=\"choice.value\"\n *ngFor=\"let choice of instance.filteredChoices\">\n {{ choice.label | transloco }}\n </mat-radio-button>\n </mat-radio-group>\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 {\n AJF_WARNING_ALERT_SERVICE,\n AjfFormRendererService,\n AjfTableFieldComponent as AjfCoreTableFieldComponent,\n} from '@ajf/core/forms';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Inject,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport {AjfWarningAlertService} from './warning-alert-service';\n\n@Component({\n templateUrl: 'table-field.html',\n styleUrls: ['table-field.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfTableFieldComponent extends AjfCoreTableFieldComponent {\n constructor(\n cdr: ChangeDetectorRef,\n service: AjfFormRendererService,\n @Inject(AJF_WARNING_ALERT_SERVICE) was: AjfWarningAlertService,\n ) {\n super(cdr, service, was);\n }\n}\n","<table class=\"ajf-table-field\">\n <ng-container *ngIf=\"instance.node as node\">\n <ng-container *ngFor=\"let columns of instance.controls; let row = index\">\n <tr [ngClass]=\"row | ajfTableRowClass\">\n <td>\n <ng-container *ngIf=\"columns.length > 0 && columns[0] != null\">\n {{ columns[0] | ajfTranslateIfString | ajfFormatIfNumber: '.0-2' }}\n </ng-container>\n </td>\n <ng-container *ngIf=\"columns.length > 1\">\n <td *ngFor=\"let c of columns[1]; let column = index\">\n <ng-container *ngIf=\"row == 0; else controlCell\">\n {{ c | ajfTranslateIfString | ajfFormatIfNumber: '.0-2' }}\n </ng-container>\n <ng-template #controlCell>\n <ng-container *ngIf=\"c|ajfGetTableCellControl as contr\">\n <ng-container *ngIf=\"contr != null\">\n <ng-container\n *ngIf=\"contr!.show && (node.rows[row-1][column]|ajfIsCellEditable); else plainTextCell\"\n >\n <ng-container\n *ngIf=\"contr.type === 'number';else genericInput\"\n >\n <input\n (focusout)=\"contr!.show = false\"\n type=\"number\"\n [formControl]=\"contr.control\"\n (keydown.tab)=\"goToNextCell($event, row, column)\"\n autofocus\n />\n </ng-container>\n <ng-template #genericInput>\n <input\n (focusout)=\"contr!.show = false\"\n [type]=\"contr.type\"\n [formControl]=\"contr.control\"\n (keydown.tab)=\"goToNextCell($event, row, column)\"\n autofocus\n />\n </ng-template>\n </ng-container>\n\n <ng-template #plainTextCell>\n <span class=\"ajf-table-cell\" (click)=\"goToCell(row, column)\"\n >{{ contr.control!.value | ajfTranslateIfString |\n ajfFormatIfNumber: '.0-2' }}</span\n >\n </ng-template>\n </ng-container>\n </ng-container>\n </ng-template>\n </td>\n </ng-container>\n </tr>\n </ng-container>\n </ng-container>\n</table>\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 AJF_WARNING_ALERT_SERVICE,\n AjfFormRendererService,\n AjfInputFieldComponent as CoreComponent,\n} from '@ajf/core/forms';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Inject,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport {AjfWarningAlertService} from './warning-alert-service';\n\n@Component({\n templateUrl: 'text-field.html',\n styleUrls: ['text-field.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfTextFieldComponent extends CoreComponent {\n constructor(\n cdr: ChangeDetectorRef,\n service: AjfFormRendererService,\n @Inject(AJF_WARNING_ALERT_SERVICE) was: AjfWarningAlertService,\n ) {\n super(cdr, service, was);\n }\n}\n","<mat-form-field *ngIf=\"control|async as ctrl\">\n <textarea matInput cdkTextareaAutosize [formControl]=\"ctrl!\"></textarea>\n</mat-form-field>\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 AJF_WARNING_ALERT_SERVICE,\n AjfBaseFieldComponent,\n AjfFormRendererService,\n} from '@ajf/core/forms';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Inject,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport {AjfWarningAlertService} from './warning-alert-service';\n\n@Component({\n templateUrl: 'time-field.html',\n styleUrls: ['time-field.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfTimeFieldComponent extends AjfBaseFieldComponent {\n constructor(\n cdr: ChangeDetectorRef,\n service: AjfFormRendererService,\n @Inject(AJF_WARNING_ALERT_SERVICE) was: AjfWarningAlertService,\n ) {\n super(cdr, service, was);\n }\n}\n","<ajf-time *ngIf=\"control|async as ctrl\" [formControl]=\"ctrl!\"></ajf-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\nimport {\n AJF_WARNING_ALERT_SERVICE,\n AjfFormRendererService,\n AjfVideoUrlFieldComponent as CoreComponent,\n} from '@ajf/core/forms';\nimport {HttpClient} from '@angular/common/http';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Inject,\n ViewEncapsulation,\n} from '@angular/core';\nimport {DomSanitizer} from '@angular/platform-browser';\n\nimport {AjfWarningAlertService} from './warning-alert-service';\n\n@Component({\n templateUrl: 'video-url-field.html',\n styleUrls: ['video-url-field.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfVideoUrlFieldComponent extends CoreComponent {\n constructor(\n cdr: ChangeDetectorRef,\n service: AjfFormRendererService,\n @Inject(AJF_WARNING_ALERT_SERVICE) was: AjfWarningAlertService,\n domSanitizer: DomSanitizer,\n httpClient: HttpClient,\n ) {\n super(cdr, service, was, domSanitizer, httpClient);\n }\n}\n","<ng-container *ngIf=\"control|async as ctrl\">\n <mat-form-field class=\"ajf-video-input\">\n <input matInput type=\"url\" [formControl]=\"ctrl!\">\n </mat-form-field>\n <div class=\"ajf-video-thumbnail\">\n <ng-container *ngIf=\"validUrl|async\">\n <a target=\"_blank\" [href]=\"ctrl.value\">\n <img *ngIf=\"videoThumbnail|async as thumb\" [src]=\"thumb\" class=\"\" alt=\"\">\n </a>\n </ng-container>\n </div>\n</ng-container>\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 AjfFieldService as CoreService,\n AjfFieldType,\n AjfFileFieldComponent,\n AjfImageFieldComponent,\n AjfReadOnlyFieldComponent,\n AjfReadOnlyFileFieldComponent,\n AjfReadOnlyImageFieldComponent,\n AjfReadOnlySelectFieldComponent,\n AjfReadOnlyTableFieldComponent,\n AjfReadOnlyVideoUrlFieldComponent,\n} from '@ajf/core/forms';\nimport {Injectable} from '@angular/core';\n\nimport {AjfBarcodeFieldComponent} from './barcode-field';\nimport {AjfBooleanFieldComponent} from './boolean-field';\nimport {AjfDateFieldComponent} from './date-field';\nimport {AjfDateInputFieldComponent} from './date-input-field';\nimport {AjfEmptyFieldComponent} from './empty-field';\nimport {AjfInputFieldComponent} from './input-field';\nimport {AjfMultipleChoiceFieldComponent} from './multiple-choice-field';\nimport {AjfRangeFieldComponent} from './range-field';\nimport {AjfSingleChoiceFieldComponent} from './single-choice-field';\nimport {AjfTableFieldComponent} from './table-field';\nimport {AjfTextFieldComponent} from './text-field';\nimport {AjfTimeFieldComponent} from './time-field';\nimport {AjfVideoUrlFieldComponent} from './video-url-field';\n\n@Injectable({providedIn: 'root'})\nexport class AjfFieldService extends CoreService {\n constructor() {\n super();\n (this.componentsMap[AjfFieldType.String] = {\n component: AjfInputFieldComponent,\n readOnlyComponent: AjfReadOnlyFieldComponent,\n }),\n (this.componentsMap[AjfFieldType.Text] = {\n component: AjfTextFieldComponent,\n readOnlyComponent: AjfReadOnlyFieldComponent,\n }),\n (this.componentsMap[AjfFieldType.Number] = {\n component: AjfInputFieldComponent,\n readOnlyComponent: AjfReadOnlyFieldComponent,\n inputs: {type: 'number'},\n }),\n (this.componentsMap[AjfFieldType.Boolean] = {\n component: AjfBooleanFieldComponent,\n readOnlyComponent: AjfReadOnlyFieldComponent,\n }),\n (this.componentsMap[AjfFieldType.Formula] = {\n component: AjfInputFieldComponent,\n readOnlyComponent: AjfReadOnlyFieldComponent,\n inputs: {readonly: true},\n }),\n (this.componentsMap[AjfFieldType.Date] = {\n component: AjfDateFieldComponent,\n readOnlyComponent: AjfReadOnlyFieldComponent,\n }),\n (this.componentsMap[AjfFieldType.DateInput] = {\n component: AjfDateInputFieldComponent,\n readOnlyComponent: AjfReadOnlyFieldComponent,\n }),\n (this.componentsMap[AjfFieldType.Table] = {\n component: AjfTableFieldComponent,\n readOnlyComponent: AjfReadOnlyTableFieldComponent,\n }),\n (this.componentsMap[AjfFieldType.Empty] = {component: AjfEmptyFieldComponent}),\n (this.componentsMap[AjfFieldType.SingleChoice] = {\n component: AjfSingleChoiceFieldComponent,\n readOnlyComponent: AjfReadOnlySelectFieldComponent,\n }),\n (this.componentsMap[AjfFieldType.MultipleChoice] = {\n component: AjfMultipleChoiceFieldComponent,\n readOnlyComponent: AjfReadOnlySelectFieldComponent,\n }),\n (this.componentsMap[AjfFieldType.Time] = {\n component: AjfTimeFieldComponent,\n readOnlyComponent: AjfReadOnlyFieldComponent,\n }),\n (this.componentsMap[AjfFieldType.Barcode] = {\n component: AjfBarcodeFieldComponent,\n readOnlyComponent: AjfReadOnlyFieldComponent,\n });\n this.componentsMap[AjfFieldType.File] = {\n component: AjfFileFieldComponent,\n readOnlyComponent: AjfReadOnlyFileFieldComponent,\n };\n this.componentsMap[AjfFieldType.Image] = {\n component: AjfImageFieldComponent,\n readOnlyComponent: AjfReadOnlyImageFieldComponent,\n };\n this.componentsMap[AjfFieldType.VideoUrl] = {\n component: AjfVideoUrlFieldComponent,\n readOnlyComponent: AjfReadOnlyVideoUrlFieldComponent,\n };\n this.componentsMap[AjfFieldType.Range] = {\n component: AjfRangeFieldComponent,\n readOnlyComponent: AjfReadOnlyFieldComponent,\n };\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 {AjfFieldComponentsMap, AjfFormField as CoreFormField} from '@ajf/core/forms';\nimport {BooleanInput} from '@angular/cdk/coercion';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ComponentFactoryResolver,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport {AjfFieldService} from './field-service';\n\n@Component({\n selector: 'ajf-field,ajf-form-field',\n templateUrl: 'field.html',\n styleUrls: ['field.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfFormField extends CoreFormField {\n readonly componentsMap: AjfFieldComponentsMap;\n\n constructor(\n cdr: ChangeDetectorRef,\n cfr: ComponentFactoryResolver,\n fieldService: AjfFieldService,\n ) {\n super(cdr, cfr);\n this.componentsMap = fieldService.componentsMap;\n }\n\n static ngAcceptInputType_readonly: BooleanInput;\n}\n","<div\n [ngClass]=\"'ajf-field-' + (instance|ajfNodeCompleteName)\"\n [class.ajf-validated]=\"instance.validationResults|ajfFieldIsValid\"\n>\n <ng-template ajf-field-host></ng-template>\n</div>\n<ng-container *ngIf=\"instance && instance.node && instance.node.attachments\">\n <a *ngFor=\"let attachment of instance.node.attachments\"\n [href]=\"attachment.value\" target=\"_blank\">{{attachment.label | transloco}}</a>\n</ng-container>\n<div *ngIf=\"!readonly && instance && instance.validationResults\" class=\"ajf-errors\">\n <ng-container *ngFor=\"let res of instance.validationResults\">\n <div class=\"error\" *ngIf=\"!res.result\">\n {{ res.error|transloco }} \n </div>\n </ng-container>\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 {AjfFormRenderer as AjfCoreFormRenderer, AjfFormRendererService} from '@ajf/core/forms';\nimport {BooleanInput} from '@angular/cdk/coercion';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\n\n@Component({\n selector: 'ajf-form',\n templateUrl: 'form.html',\n styleUrls: ['form.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AjfFormRenderer extends AjfCoreFormRenderer {\n @Input() topBar: boolean = false;\n\n constructor(rendererService: AjfFormRendererService, changeDetectorRef: ChangeDetectorRef) {\n super(rendererService, changeDetectorRef);\n }\n\n static ngAcceptInputType_fixedOrientation: BooleanInput;\n static ngAcceptInputType_hasEndMessage: BooleanInput;\n static ngAcceptInputType_hasStartMessage: BooleanInput;\n static ngAcceptInputType_hideBottomToolbar: BooleanInput;\n static ngAcceptInputType_hideNavigationButtons: BooleanInput;\n static ngAcceptInputType_hideTopToolbar: BooleanInput;\n static ngAcceptInputType_readonly: BooleanInput;\n static ngAcceptInputType_saveDisabled: BooleanInput;\n}\n","<ng-container *ngIf=\"formGroup|async as fg\">\n <form novalidate [formGroup]=\"fg!\">\n <div class=\"ajf-form-container\">\n <mat-toolbar *ngIf=\"!hideTopToolbar && topBar\" class=\"ajf-btn-strip\">\n <ng-template\n ngFor\n let-slideInstance\n [ngForOf]=\"slides|async\"\n [ngForTrackBy]=\"trackNodeById\"\n >\n <button\n mat-button\n class=\"ajf-topbar-button\"\n *ngIf=\"slideInstance.node != null && slideInstance.node.label != null && slideInstance.node.label.length > 0\"\n (click)=\"scrollToSlide(slideInstance)\"\n >\n {{slideInstance.node.label | transloco}}\n </button>\n </ng-template>\n </mat-toolbar>\n <mat-toolbar *ngIf=\"!hideTopToolbar\">\n {{ title }}\n <span class=\"ajf-spacer\"></span>\n <!-- this content projection allow to add buttons on toolbar -->\n <ng-content select=\"[ajfFormTopToolbarButtons]\"></ng-content>\n <!-- apply a default save button only when ajfFormSaveButton is empty -->\n <span *ngIf=\"!saveDisabled\" (click)=\"onSave($event)\">\n <span #saveButton\n ><ng-content select=\"[ajfFormSaveButton]\"></ng-content\n ></span>\n <button\n *ngIf=\"saveButton != null && saveButton.childNodes != null && saveButton.childNodes.length == 0\"\n mat-button\n default\n >\n {{'Save'|transloco}}\n </button>\n </span>\n </mat-toolbar>\n <div class=\"ajf-slider-container\">\n <ajf-page-slider\n (orientationChange)=\"orientationChangeHandler($event)\"\n [fixedOrientation]=\"fixedOrientation\"\n [hideNavigationButtons]=\"hideNavigationButtons\"\n [orientation]=\"orientation\"\n #formSlider\n >\n <ng-container *ngIf=\"(slides|async) as curSlides\">\n <ng-container *ngIf=\"curSlides!.length > 0 && hasStartMessage\">\n <ajf-page-slider-item>\n <div class=\"ajf-form-page\">\n <mat-card>\n <mat-card-header>\n <div class=\"ajf-page-slider-item-header\">\n <h2>\n <span class=\"ajf-form-header-number\"> 1 &rarr; </span>\n <span class=\"ajf-title\">\n <ng-content\n select=\"[ajfFormStartMessageTitle]\"\n ></ng-content>\n </span>\n </h2>\n </div>\n </mat-card-header>\n <mat-card-content>\n <ng-content select=\"[ajfFormStartMessage]\"></ng-content>\n </mat-card-content>\n </mat-card>\n </div>\n </ajf-page-slider-item>\n </ng-container>\n <ng-container\n *ngFor=\"let slideInstance of curSlides; trackBy:trackNodeById\"\n >\n <!-- non repeating slides -->\n <ng-container *ngIf=\"slideInstance.visible\">\n <ng-container\n *ngIf=\"!(slideInstance|ajfIsRepeatingSlideInstance)\"\n >\n <ajf-page-slider-item>\n <div class=\"ajf-form-page\">\n <mat-card>\n <mat-card-header>\n <div class=\"ajf-page-slider-item-header\">\n <h2>\n <span class=\"ajf-form-header-number\"\n >{{ slideInstance.position + (hasStartMessage |\n ajfBoolToInt) }} &rarr;</span\n >\n <span\n [innerHTML]=\"slideInstance.node.label | transloco\"\n ></span>\n </h2>\n <mat-icon\n class=\"ajf-warning\"\n *ngIf=\"!slideInstance.valid\"\n >warning</mat-icon\n >\n <mat-icon\n class=\"ajf-success\"\n *ngIf=\"slideInstance.valid\"\n >check</mat-icon\n >\n </div>\n </mat-card-header>\n <mat-card-content>\n <ng-template\n ngFor\n let-fieldInstance\n [ngForOf]=\"slideInstance.flatNodes\"\n [ngForTrackBy]=\"trackNodeById\"\n >\n <div\n [ngClass]=\"'ajf-' + (fieldInstance|ajfAsFieldInstance).node.size\"\n class=\"ajf-field-entry\"\n *ngIf=\"fieldInstance.visible\"\n >\n <i\n [class]=\"(fieldInstance|ajfAsFieldInstance).node.fieldType | ajfFieldIcon\"\n item-right\n ></i>\n <p>\n {{\n ((fieldInstance|ajfAsFieldInstance).node.description\n || '') | transloco }}\n </p>\n <label\n [attr.id]=\"fieldInstance.node.name\"\n *ngIf=\"(fieldInstance|ajfAsFieldInstance).node.fieldType !== 7\"\n [innerHTML]=\"fieldInstance.node.label | transloco\"\n ></label>\n <mat-icon\n class=\"ajf-tooltip-icon\"\n *ngIf=\"(fieldInstance|ajfAsFieldInstance).node?.hint as hint\"\n [matTooltip]=\"hint\"\n matTooltipPosition=\"right\"\n >\n {{(fieldInstance|ajfAsFieldInstance).node?.hintIcon\n || 'help'}}</mat-icon\n >\n <ajf-field\n [instance]=\"fieldInstance|ajfAsFieldInstance\"\n [readonly]=\"readonly || !slideInstance.editable\"\n >\n </ajf-field>\n </div>\n </ng-template>\n </mat-card-content>\n </mat-card>\n </div>\n </ajf-page-slider-item>\n </ng-container>\n <!-- repeating slides -->\n <ng-container\n *ngIf=\"(slideInstance|ajfIsRepeatingSlideInstance)\"\n >\n <ajf-page-slider-item\n *ngFor=\"let curRep of ((slideInstance|ajfAsRepeatingSlideInstance).reps|ajfRange); let idx = index; let lastSlide = last\"\n >\n <div class=\"ajf-form-page\">\n <mat-card>\n <mat-card-header>\n <div class=\"ajf-page-slider-item-header\">\n <h2>\n <span class=\"ajf-form-header-number\"\n >{{ slideInstance.position|ajfIncrement:idx +\n (hasStartMessage | ajfBoolToInt) }} &rarr;</span\n >\n <span\n [innerHTML]=\"slideInstance.node.label | transloco\"\n ></span>\n </h2>\n <mat-icon\n class=\"ajf-warning\"\n *ngIf=\"!(slideInstance|ajfValidSlide:idx)\"\n >warning</mat-icon\n >\n <mat-icon\n class=\"ajf-success\"\n *ngIf=\"(slideInstance|ajfValidSlide:idx)\"\n >check</mat-icon\n >\n </div>\n </mat-card-header>\n <mat-card-content>\n <div\n *ngIf=\"lastSlide && !readonly\"\n class=\"ajf-group-actions\"\n >\n <button\n (click)=\"addGroup(slideInstance)\"\n [disabled]=\"!(slideInstance|ajfAsRepeatingSlideInstance).canAdd || ((slideInstance|ajfAsRepeatingSlideInstance).node?.disableRemoval && !slideInstance.valid)\"\n mat-mini-fab\n >\n <mat-icon>add</mat-icon>\n </button>\n <button\n (click)=\"removeGroup(slideInstance)\"\n [disabled]=\"!(slideInstance|ajfAsRepeatingSlideInstance).canRemove || (slideInstance|ajfAsRepeatingSlideInstance).node?.disableRemoval\"\n mat-mini-fab\n >\n <mat-icon>remove</mat-icon>\n </button>\n </div>\n <ng-template\n ngFor\n let-fieldInstance\n [ngForOf]=\"slideInstance.slideNodes[idx]\"\n [ngForTrackBy]=\"trackNodeById\"\n >\n <div\n [ngClass]=\"'ajf-' + (fieldInstance|ajfAsFieldInstance).node.size\"\n class=\"ajf-field-entry\"\n *ngIf=\"fieldInstance.visible\"\n >\n <i\n [class]=\"(fieldInstance|ajfAsFieldInstance).node.fieldType | ajfFieldIcon\"\n item-right\n ></i>\n <p>\n {{\n ((fieldInstance|ajfAsFieldInstance).node.description\n || '') | transloco }}\n </p>\n <label\n [attr.id]=\"fieldInstance.node.name\"\n [innerHTML]=\"fieldInstance.node.label | transloco\"\n ></label>\n <mat-icon\n class=\"ajf-tooltip-icon\"\n *ngIf=\"(fieldInstance|ajfAsFieldInstance).node?.hint as hint\"\n [matTooltip]=\"hint\"\n matTooltipPosition=\"right\"\n >\n {{(fieldInstance|ajfAsFieldInstance).node?.hintIcon\n || 'help'}}</mat-icon\n >\n <ajf-field\n [instance]=\"fieldInstance|ajfAsFieldInstance\"\n [readonly]=\"readonly || (!lastSlide && (slideInstance|ajfAsRepeatingSlideInstance).node?.disableRemoval)\"\n >\n </ajf-field>\n </div>\n </ng-template>\n </mat-card-content>\n </mat-card>\n </div>\n </ajf-page-slider-item>\n </ng-container>\n </ng-container>\n </ng-container>\n <ng-container\n *ngIf=\"curSlides && curSlides!.length > 0 && hasEndMessage\"\n >\n <ajf-page-slider-item>\n <div class=\"ajf-form-page\">\n <mat-card>\n <mat-card-header>\n <div class=\"ajf-page-slider-item-header\">\n <h2>\n <span\n *ngIf=\"(slidesNum|async) as snum\"\n class=\"ajf-form-header-number\"\n >\n {{ snum! + (hasStartMessage | ajfBoolToInt ) + 1 }}\n &rarr;\n </span>\n <span class=\"ajf-title\">\n <ng-content\n select=\"[ajfFormEndMessageTitle]\"\n ></ng-content>\n </span>\n </h2>\n </div>\n </mat-card-header>\n <mat-card-content>\n <ng-content select=\"[ajfFormEndMessage]\"></ng-content>\n </mat-card-content>\n </mat-card>\n </div>\n </ajf-page-slider-item>\n </ng-container>\n </ng-container>\n <div ajfPageSliderBar *ngIf=\"!hideBottomToolbar\">\n <div class=\"ajf-left-bar\">\n <div class=\"ajf-errors\" *ngIf=\"((errors | async) || 0) > 0\">\n <button mat-button (click)=\"goToPrevError()\" danger>\n <mat-icon>arrow_upward</mat-icon>\n </button>\n <button mat-button (click)=\"goToNextError()\" danger>\n <mat-icon>arrow_downward</mat-icon>\n </button>\n </div>\n <div class=\"ajf-info-box ajf-error\">\n <div class=\"ajf-title\">{{'Errors'|transloco}}</div>\n <div class=\"ajf-content\">\n {{ errors | async }} / {{ slidesNum|async }}\n </div>\n </div>\n </div>\n </div>\n </ajf-page-slider>\n </div>\n </div>\n </form>\n</ng-container>\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 {AJF_WARNING_ALERT_SERVICE, AjfFormsModule as AjfCoreFormsModule} from '@ajf/core/forms';\nimport {AjfTranslocoModule} from '@ajf/core/transloco';\nimport {AjfBarcodeModule} from '@ajf/material/barcode';\nimport {AjfCalendarModule} from '@ajf/material/calendar';\nimport {AjfCheckboxGroupModule} from '@ajf/material/checkbox-group';\nimport {AjfPageSliderModule} from '@ajf/material/page-slider';\nimport {AjfTimeModule} from '@ajf/material/time';\nimport {TextFieldModule} from '@angular/cdk/text-field';\nimport {CommonModule} from '@angular/common';\nimport {ModuleWithProviders, NgModule} from '@angular/core';\nimport {ReactiveFormsModule} from '@angular/forms';\nimport {MatButtonModule} from '@angular/material/button';\nimport {MatCardModule} from '@angular/material/card';\nimport {MatDialogModule} from '@angular/material/dialog';\nimport {MatFormFieldModule} from '@angular/material/form-field';\nimport {MatIconModule} from '@angular/material/icon';\nimport {MatInputModule} from '@angular/material/input';\nimport {MatRadioModule} from '@angular/material/radio';\nimport {MatSelectModule} from '@angular/material/select';\nimport {MatSlideToggleModule} from '@angular/material/slide-toggle';\nimport {MatSliderModule} from '@angular/material/slider';\nimport {MatToolbarModule} from '@angular/material/toolbar';\nimport {MatTooltipModule} from '@angular/material/tooltip';\n\nimport {AjfBarcodeFieldComponent} from './barcode-field';\nimport {AjfBooleanFieldComponent} from './boolean-field';\nimport {AjfDateFieldComponent} from './date-field';\nimport {AjfDateInputFieldComponent} from './date-input-field';\nimport {AjfEmptyFieldComponent} from './empty-field';\nimport {AjfFormField} from './field';\nimport {AjfFieldService} from './field-service';\nimport {AjfFieldWarningDialog} from './field-warning-dialog';\nimport {AjfFormRenderer} from './form';\nimport {AjfInputFieldComponent} from './input-field';\nimport {AjfMultipleChoiceFieldComponent} from './multiple-choice-field';\nimport {AjfRangeFieldComponent} from './range-field';\nimport {AjfSingleChoiceFieldComponent} from './single-choice-field';\nimport {AjfTableFieldComponent} from './table-field';\nimport {AjfTextFieldComponent} from './text-field';\nimport {AjfTimeFieldComponent} from './time-field';\nimport {AjfVideoUrlFieldComponent} from './video-url-field';\nimport {AjfWarningAlertService} from './warning-alert-service';\n\n@NgModule({\n imports: [\n AjfBarcodeModule,\n AjfCalendarModule,\n AjfCommonModule,\n AjfCoreFormsModule,\n AjfCheckboxGroupModule,\n AjfPageSliderModule,\n AjfTimeModule,\n AjfTranslocoModule,\n CommonModule,\n MatButtonModule,\n MatCardModule,\n MatDialogModule,\n MatFormFieldModule,\n MatIconModule,\n MatInputModule,\n MatRadioModule,\n MatSelectModule,\n MatSlideToggleModule,\n MatToolbarModule,\n MatTooltipModule,\n ReactiveFormsModule,\n TextFieldModule,\n MatSliderModule,\n ],\n declarations: [\n AjfBarcodeFieldComponent,\n AjfBooleanFieldComponent,\n AjfDateFieldComponent,\n AjfDateInputFieldComponent,\n AjfEmptyFieldComponent,\n AjfFieldWarningDialog,\n AjfFormField,\n AjfFormRenderer,\n AjfInputFieldComponent,\n AjfMultipleChoiceFieldComponent,\n AjfRangeFieldComponent,\n AjfSingleChoiceFieldComponent,\n AjfTableFieldComponent,\n AjfTextFieldComponent,\n AjfTimeFieldComponent,\n AjfVideoUrlFieldComponent,\n ],\n entryComponents: [\n AjfBarcodeFieldComponent,\n AjfBooleanFieldComponent,\n AjfDateFieldComponent,\n AjfDateInputFieldComponent,\n AjfEmptyFieldComponent,\n AjfInputFieldComponent,\n AjfMultipleChoiceFieldComponent,\n AjfRangeFieldComponent,\n AjfSingleChoiceFieldComponent,\n AjfTableFieldComponent,\n AjfTextFieldComponent,\n AjfTimeFieldComponent,\n AjfVideoUrlFieldComponent,\n ],\n exports: [AjfFormField, AjfFormRenderer],\n providers: [\n AjfFieldService,\n {provide: AJF_WARNING_ALERT_SERVICE, useClass: AjfWarningAlertService},\n ],\n})\nexport class AjfFormsModule {\n static forRoot(): ModuleWithProviders<AjfFormsModule> {\n return {\n ngModule: AjfFormsModule,\n providers: [AjfFieldService],\n };\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\nexport * from './boolean-field';\nexport * from './date-field';\nexport * from './date-input-field';\nexport * from './empty-field';\nexport * from './field';\nexport * from './field-service';\nexport * from './field-warning-dialog';\nexport * from './input-field';\nexport * from './form';\nexport * from './forms-module';\nexport * from './multiple-choice-field';\nexport * from './single-choice-field';\nexport * from './table-field';\nexport * from './time-field';\nexport * from './warning-alert-service';\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":["CoreComponent","AjfCoreTableFieldComponent","CoreService","CoreFormField","AjfCoreFormRenderer","AjfCoreFormsModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;MA6Ba,qBAAqB;;uHAArB,qBAAqB;2GAArB,qBAAqB,oDC7BlC,8PAKA;gGDwBa,qBAAqB;kBALjC,S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tB,6BAA6B;wBAC7B,sBAAsB;wBACtB,qBAAqB;wBACrB,qBAAqB;wBACrB,yBAAyB;qBAC1B;oBACD,eAAe,EAAE;wBACf,wBAAwB;wBACxB,wBAAwB;wBACxB,qBAAqB;wBACrB,0BAA0B;wBAC1B,sBAAsB;wBACtB,sBAAsB;wBACtB,+BAA+B;wBAC/B,sBAAsB;wBACtB,6BAA6B;wBAC7B,sBAAsB;wBACtB,qBAAqB;wBACrB,qBAAqB;wBACrB,yBAAyB;qBAC1B;oBACD,OAAO,EAAE,CAAC,YAAY,EAAE,eAAe,CAAC;oBACxC,SAAS,EAAE;wBACT,eAAe;wBACf,EAAC,OAAO,EAAE,yBAAyB,EAAE,QAAQ,EAAE,sBAAsB,EAAC;qBACvE;iBACF;;;AClID;;;;;;;;;;;;;;;;;;;;;;ACAA;;;;;;;;;;;;;;;;;;;;;;ACAA;;;;;;"}
@@ -0,0 +1,127 @@
1
+ import * as i3 from '@angular/common';
2
+ import { CommonModule } from '@angular/common';
3
+ import * as i0 from '@angular/core';
4
+ import { Component, ChangeDetectionStrategy, ViewEncapsulation, NgModule } from '@angular/core';
5
+ import * as i2 from '@angular/material/icon';
6
+ import { MatIconModule } from '@angular/material/icon';
7
+ import { AjfImage as AjfImage$1 } from '@ajf/core/image';
8
+ import * as i1 from '@angular/platform-browser';
9
+
10
+ /**
11
+ * @license
12
+ * Copyright (C) Gnucoop soc. coop.
13
+ *
14
+ * This file is part of the Advanced JSON forms (ajf).
15
+ *
16
+ * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
17
+ * modify it under the terms of the GNU Affero General Public License as
18
+ * published by the Free Software Foundation, either version 3 of the License,
19
+ * or (at your option) any later version.
20
+ *
21
+ * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
22
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
23
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
24
+ * General Public License for more details.
25
+ *
26
+ * You should have received a copy of the GNU Affero General Public License
27
+ * along with Advanced JSON forms (ajf).
28
+ * If not, see http://www.gnu.org/licenses/.
29
+ *
30
+ */
31
+ class AjfImage extends AjfImage$1 {
32
+ constructor(el, renderer, ds) {
33
+ super(el, renderer, ds);
34
+ }
35
+ }
36
+ AjfImage.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfImage, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
37
+ AjfImage.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0-rc.3", type: AjfImage, selector: "ajf-image", usesInheritance: true, ngImport: i0, template: "<ng-container [ngSwitch]=\"imageType|async\">\n <ng-template [ngSwitchCase]=\"imageTypes.Image\">\n <img *ngIf=\"url|async as iu\" [src]=\"iu\" alt=\"\">\n </ng-template>\n <ng-template [ngSwitchCase]=\"imageTypes.Icon\">\n <mat-icon *ngIf=\"iconObj|async as io\"\n [fontSet]=\"io!.fontSet\"\n [fontIcon]=\"io!.fontIcon\">\n </mat-icon>\n </ng-template>\n <span *ngSwitchCase=\"imageTypes.Flag\" [class]=\"flagName|async\"></span>\n</ng-container>\n", styles: ["ajf-image{display:flex;box-sizing:border-box;align-items:center;position:relative;font-size:inherit;width:inherit;height:inherit}ajf-image img{vertical-align:middle;position:relative;max-height:100%;max-width:100%;height:auto;width:auto}ajf-image span{height:inherit;width:inherit}ajf-image .mat-icon{font-size:inherit}\n"], components: [{ type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i3.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfImage, decorators: [{
39
+ type: Component,
40
+ args: [{ selector: 'ajf-image', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-container [ngSwitch]=\"imageType|async\">\n <ng-template [ngSwitchCase]=\"imageTypes.Image\">\n <img *ngIf=\"url|async as iu\" [src]=\"iu\" alt=\"\">\n </ng-template>\n <ng-template [ngSwitchCase]=\"imageTypes.Icon\">\n <mat-icon *ngIf=\"iconObj|async as io\"\n [fontSet]=\"io!.fontSet\"\n [fontIcon]=\"io!.fontIcon\">\n </mat-icon>\n </ng-template>\n <span *ngSwitchCase=\"imageTypes.Flag\" [class]=\"flagName|async\"></span>\n</ng-container>\n", styles: ["ajf-image{display:flex;box-sizing:border-box;align-items:center;position:relative;font-size:inherit;width:inherit;height:inherit}ajf-image img{vertical-align:middle;position:relative;max-height:100%;max-width:100%;height:auto;width:auto}ajf-image span{height:inherit;width:inherit}ajf-image .mat-icon{font-size:inherit}\n"] }]
41
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.DomSanitizer }]; } });
42
+
43
+ /**
44
+ * @license
45
+ * Copyright (C) Gnucoop soc. coop.
46
+ *
47
+ * This file is part of the Advanced JSON forms (ajf).
48
+ *
49
+ * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
50
+ * modify it under the terms of the GNU Affero General Public License as
51
+ * published by the Free Software Foundation, either version 3 of the License,
52
+ * or (at your option) any later version.
53
+ *
54
+ * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
55
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
56
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
57
+ * General Public License for more details.
58
+ *
59
+ * You should have received a copy of the GNU Affero General Public License
60
+ * along with Advanced JSON forms (ajf).
61
+ * If not, see http://www.gnu.org/licenses/.
62
+ *
63
+ */
64
+ class AjfImageModule {
65
+ }
66
+ AjfImageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfImageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
67
+ AjfImageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfImageModule, declarations: [AjfImage], imports: [CommonModule, MatIconModule], exports: [AjfImage] });
68
+ AjfImageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfImageModule, imports: [[CommonModule, MatIconModule]] });
69
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfImageModule, decorators: [{
70
+ type: NgModule,
71
+ args: [{
72
+ imports: [CommonModule, MatIconModule],
73
+ declarations: [AjfImage],
74
+ exports: [AjfImage],
75
+ }]
76
+ }] });
77
+
78
+ /**
79
+ * @license
80
+ * Copyright (C) Gnucoop soc. coop.
81
+ *
82
+ * This file is part of the Advanced JSON forms (ajf).
83
+ *
84
+ * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
85
+ * modify it under the terms of the GNU Affero General Public License as
86
+ * published by the Free Software Foundation, either version 3 of the License,
87
+ * or (at your option) any later version.
88
+ *
89
+ * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
90
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
91
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
92
+ * General Public License for more details.
93
+ *
94
+ * You should have received a copy of the GNU Affero General Public License
95
+ * along with Advanced JSON forms (ajf).
96
+ * If not, see http://www.gnu.org/licenses/.
97
+ *
98
+ */
99
+
100
+ /**
101
+ * @license
102
+ * Copyright (C) Gnucoop soc. coop.
103
+ *
104
+ * This file is part of the Advanced JSON forms (ajf).
105
+ *
106
+ * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
107
+ * modify it under the terms of the GNU Affero General Public License as
108
+ * published by the Free Software Foundation, either version 3 of the License,
109
+ * or (at your option) any later version.
110
+ *
111
+ * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
112
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
113
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
114
+ * General Public License for more details.
115
+ *
116
+ * You should have received a copy of the GNU Affero General Public License
117
+ * along with Advanced JSON forms (ajf).
118
+ * If not, see http://www.gnu.org/licenses/.
119
+ *
120
+ */
121
+
122
+ /**
123
+ * Generated bundle index. Do not edit.
124
+ */
125
+
126
+ export { AjfImage, AjfImageModule };
127
+ //# sourceMappingURL=image.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image.mjs","sources":["../../../../../../src/material/image/image.ts","../../../../../../src/material/image/image.html","../../../../../../src/material/image/image-module.ts","../../../../../../src/material/image/public-api.ts","../../../../../../src/material/image/index.ts","../../../../../../src/material/image/image_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 {AjfImage as AjfCoreImage} from '@ajf/core/image';\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Renderer2,\n ViewEncapsulation,\n} from '@angular/core';\nimport {DomSanitizer} from '@angular/platform-browser';\n\n@Component({\n selector: 'ajf-image',\n templateUrl: 'image.html',\n styleUrls: ['image.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfImage extends AjfCoreImage {\n constructor(el: ElementRef, renderer: Renderer2, ds: DomSanitizer) {\n super(el, renderer, ds);\n }\n}\n","<ng-container [ngSwitch]=\"imageType|async\">\n <ng-template [ngSwitchCase]=\"imageTypes.Image\">\n <img *ngIf=\"url|async as iu\" [src]=\"iu\" alt=\"\">\n </ng-template>\n <ng-template [ngSwitchCase]=\"imageTypes.Icon\">\n <mat-icon *ngIf=\"iconObj|async as io\"\n [fontSet]=\"io!.fontSet\"\n [fontIcon]=\"io!.fontIcon\">\n </mat-icon>\n </ng-template>\n <span *ngSwitchCase=\"imageTypes.Flag\" [class]=\"flagName|async\"></span>\n</ng-container>\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 {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {MatIconModule} from '@angular/material/icon';\n\nimport {AjfImage} from './image';\n\n@NgModule({\n imports: [CommonModule, MatIconModule],\n declarations: [AjfImage],\n exports: [AjfImage],\n})\nexport class AjfImageModule {}\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 './image-module';\nexport * from './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\nexport * from './public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["AjfCoreImage"],"mappings":";;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;MAuCa,iBAAiBA,UAAY;IACxC,YAAY,EAAc,EAAE,QAAmB,EAAE,EAAgB;QAC/D,KAAK,CAAC,EAAE,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAC;KACzB;;0GAHU,QAAQ;8FAAR,QAAQ,wECvCrB,+dAYA;gGD2Ba,QAAQ;kBAPpB,SAAS;+BACE,WAAW,mBAGJ,uBAAuB,CAAC,MAAM,iBAChC,iBAAiB,CAAC,IAAI;;;AErCvC;;;;;;;;;;;;;;;;;;;;;MAiCa,cAAc;;gHAAd,cAAc;iHAAd,cAAc,iBAHV,QAAQ,aADb,YAAY,EAAE,aAAa,aAE3B,QAAQ;iHAEP,cAAc,YAJhB,CAAC,YAAY,EAAE,aAAa,CAAC;gGAI3B,cAAc;kBAL1B,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,CAAC;oBACtC,YAAY,EAAE,CAAC,QAAQ,CAAC;oBACxB,OAAO,EAAE,CAAC,QAAQ,CAAC;iBACpB;;;AChCD;;;;;;;;;;;;;;;;;;;;;;ACAA;;;;;;;;;;;;;;;;;;;;;;ACAA;;;;;;"}
@@ -27,4 +27,4 @@
27
27
  const ɵɵtsModuleIndicatorApiExtractorWorkaround = true;
28
28
 
29
29
  export { ɵɵtsModuleIndicatorApiExtractorWorkaround };
30
- //# sourceMappingURL=material.js.map
30
+ //# sourceMappingURL=material.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"material.umd.js","sources":["../../../../../src/material/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\n// primary entry-point which is empty as of version 9. All components should\n// be imported through their individual entry-points. This file is needed to\n// satisfy the \"ng_package\" bazel rule which also requires a primary entry-point.\n\n// Workaround for: https://github.com/microsoft/rushstack/issues/2806.\n// This is a private export that can be removed at any time.\nexport const ɵɵtsModuleIndicatorApiExtractorWorkaround = true;\n"],"names":[],"mappings":";;;;;;CAAA;;;;;;;;;;;;;;;;;;;;;CAsBA;CACA;CACA;CAEA;CACA;KACa,yCAAyC,GAAG;;;;;;;;;;"}
1
+ {"version":3,"file":"material.mjs","sources":["../../../../../../src/material/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\n// primary entry-point which is empty as of version 9. All components should\n// be imported through their individual entry-points. This file is needed to\n// satisfy the \"ng_package\" bazel rule which also requires a primary entry-point.\n\n// Workaround for: https://github.com/microsoft/rushstack/issues/2806.\n// This is a private export that can be removed at any time.\nexport const ɵɵtsModuleIndicatorApiExtractorWorkaround = true;\n"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;AAsBA;AACA;AACA;AAEA;AACA;MACa,yCAAyC,GAAG;;;;"}