@colijnit/sharedcomponents 1.0.57 → 1.0.59

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 (484) hide show
  1. package/README.md +24 -24
  2. package/bundles/colijnit-sharedcomponents.umd.js +9938 -6389
  3. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
  4. package/colijnit-sharedcomponents.d.ts +91 -74
  5. package/colijnit-sharedcomponents.metadata.json +1 -1
  6. package/esm2015/colijnit-sharedcomponents.js +92 -75
  7. package/esm2015/lib/assets/dictionary/text.properties.js +11 -11
  8. package/esm2015/lib/businessobject/build-images-and-documentation-result.js +2 -0
  9. package/esm2015/lib/businessobject/co-document-right.bo.js +3 -0
  10. package/esm2015/lib/businessobject/drag-drop-container-element.js +2 -0
  11. package/esm2015/lib/businessobject/drag-drop-container.js +7 -0
  12. package/esm2015/lib/components/activity-list/activity-list.component.js +130 -0
  13. package/esm2015/lib/components/activity-list/activity-list.module.js +24 -0
  14. package/esm2015/lib/components/app-file-dropzone/app-file-dropzone.component.js +47 -0
  15. package/esm2015/lib/components/app-file-dropzone/app-file-dropzone.module.js +20 -0
  16. package/esm2015/lib/components/date-planning/component/agenda/agenda-base-view.component.js +61 -61
  17. package/esm2015/lib/components/date-planning/component/agenda/agenda-day-view.component.js +36 -36
  18. package/esm2015/lib/components/date-planning/component/agenda/agenda-event.component.js +56 -56
  19. package/esm2015/lib/components/date-planning/component/agenda/agenda-events.component.js +47 -47
  20. package/esm2015/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.js +68 -68
  21. package/esm2015/lib/components/date-planning/component/agenda/agenda-header.component.js +243 -243
  22. package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-cell.component.js +36 -36
  23. package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.js +50 -50
  24. package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-view.component.js +46 -46
  25. package/esm2015/lib/components/date-planning/component/agenda/agenda-month-view.component.js +61 -61
  26. package/esm2015/lib/components/date-planning/component/agenda/agenda-select-event.component.js +39 -39
  27. package/esm2015/lib/components/date-planning/component/agenda/agenda-view.component.js +35 -35
  28. package/esm2015/lib/components/date-planning/component/agenda/agenda-week-select-view.component.js +64 -64
  29. package/esm2015/lib/components/date-planning/component/agenda/agenda-week-view.component.js +48 -48
  30. package/esm2015/lib/components/date-planning/component/agenda/view-select.component.js +42 -42
  31. package/esm2015/lib/components/date-planning/component/calendar/calendar-all-months.component.js +34 -34
  32. package/esm2015/lib/components/date-planning/component/calendar/calendar-all-years.component.js +48 -48
  33. package/esm2015/lib/components/date-planning/component/calendar/calendar-header.component.js +107 -107
  34. package/esm2015/lib/components/date-planning/component/calendar/calendar-view.component.js +178 -178
  35. package/esm2015/lib/components/date-planning/component/calendar/calendar.component.js +34 -34
  36. package/esm2015/lib/components/date-planning/date-planning.component.js +113 -113
  37. package/esm2015/lib/components/date-planning/date-planning.module.js +63 -63
  38. package/esm2015/lib/components/docsign/component/signature/signature.component.js +75 -75
  39. package/esm2015/lib/components/docsign/component/signatures/signatures.component.js +44 -44
  40. package/esm2015/lib/components/docsign/docsign.component.js +242 -242
  41. package/esm2015/lib/components/docsign/docsign.module.js +23 -23
  42. package/esm2015/lib/components/file-upload/file-upload.component.js +189 -0
  43. package/esm2015/lib/components/file-upload/file-upload.module.js +25 -0
  44. package/esm2015/lib/components/file-upload-popup/file-upload-popup.component.js +397 -0
  45. package/esm2015/lib/components/file-upload-popup/file-upload-popup.module.js +30 -0
  46. package/esm2015/lib/components/files-upload/components/base-file-upload.component.js +469 -0
  47. package/esm2015/lib/components/files-upload/components/drag-drop-container.component.js +115 -0
  48. package/esm2015/lib/components/files-upload/files-upload.component.js +131 -0
  49. package/esm2015/lib/components/files-upload/files-upload.module.js +47 -0
  50. package/esm2015/lib/components/image-display/image-display.component.js +36 -0
  51. package/esm2015/lib/components/image-display/image-display.module.js +23 -0
  52. package/esm2015/lib/components/key-pad/key-pad.component.js +200 -200
  53. package/esm2015/lib/components/key-pad/key-pad.module.js +22 -22
  54. package/esm2015/lib/components/layout-switcher/layout-switcher.component.js +74 -74
  55. package/esm2015/lib/components/layout-switcher/layout-switcher.module.js +21 -21
  56. package/esm2015/lib/components/linear-gauge/co-linear-gauge.component.js +59 -59
  57. package/esm2015/lib/components/linear-gauge/co-linear-gauge.module.js +19 -19
  58. package/esm2015/lib/components/multi-property-toggler/multiple-property-toggler.component.js +89 -0
  59. package/esm2015/lib/components/multi-property-toggler/multiple-property-toggler.module.js +21 -0
  60. package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.js +79 -79
  61. package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.js +21 -21
  62. package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.js +85 -85
  63. package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.js +21 -21
  64. package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.js +64 -64
  65. package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.js +26 -26
  66. package/esm2015/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.js +40 -40
  67. package/esm2015/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.js +23 -23
  68. package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.js +61 -61
  69. package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.js +28 -28
  70. package/esm2015/lib/components/send-method-dialog/components/signature-button/signature-button.component.js +38 -38
  71. package/esm2015/lib/components/send-method-dialog/components/signature-button/signature-button.module.js +21 -21
  72. package/esm2015/lib/components/send-method-dialog/model/email-address-viewmodel.js +7 -7
  73. package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +258 -258
  74. package/esm2015/lib/components/send-method-dialog/send-method-dialog.module.js +35 -35
  75. package/esm2015/lib/components/send-method-dialog/send-method-params.interface.js +2 -2
  76. package/esm2015/lib/components/send-method-dialog/service/send-method.service.js +59 -59
  77. package/esm2015/lib/components/simple-tags/simple-tags.component.js +229 -229
  78. package/esm2015/lib/components/simple-tags/simple-tags.module.js +26 -26
  79. package/esm2015/lib/components/statusbar/statusbar-popup.component.js +97 -97
  80. package/esm2015/lib/components/statusbar/statusbar.component.js +81 -81
  81. package/esm2015/lib/components/statusbar/statusbar.module.js +27 -27
  82. package/esm2015/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.js +47 -47
  83. package/esm2015/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.js +47 -47
  84. package/esm2015/lib/components/stock/components/order-stock-history/order-stock-history.component.js +47 -47
  85. package/esm2015/lib/components/stock/components/order-stock-tab/order-stock-tab.component.js +47 -47
  86. package/esm2015/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.js +47 -47
  87. package/esm2015/lib/components/stock/components/order-tab/order-tab.component.js +67 -67
  88. package/esm2015/lib/components/stock/components/stock-history/stock-history.component.js +53 -53
  89. package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +240 -240
  90. package/esm2015/lib/components/stock/components/stock-prognose/stock-prognose.component.js +52 -52
  91. package/esm2015/lib/components/stock/components/stock-tab/stock-tab.component.js +41 -41
  92. package/esm2015/lib/components/stock/localization/translation.js +63 -63
  93. package/esm2015/lib/components/stock/stock-history-tabs/stock-history-tabs.component.js +33 -33
  94. package/esm2015/lib/components/stock/stock-information/stock-information.component.js +48 -48
  95. package/esm2015/lib/components/stock/stock-information-grid/stock-information-grid.component.js +457 -457
  96. package/esm2015/lib/components/stock/stock-tabs/stock-tabs.component.js +241 -241
  97. package/esm2015/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.js +2 -2
  98. package/esm2015/lib/components/stock/stock-transfer/stock-change-amount.component.js +72 -72
  99. package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +149 -149
  100. package/esm2015/lib/components/stock/stock.component.js +193 -193
  101. package/esm2015/lib/components/stock/stock.module.js +80 -80
  102. package/esm2015/lib/components/stock-statusbar/stock-statusbar.component.js +23 -23
  103. package/esm2015/lib/components/stock-statusbar/stock-statusbar.module.js +19 -19
  104. package/esm2015/lib/components/tab-bar/tab-bar.component.js +88 -88
  105. package/esm2015/lib/components/tab-bar/tab-bar.module.js +21 -21
  106. package/esm2015/lib/components/tab-bar/tab.interface.js +2 -2
  107. package/esm2015/lib/components/tile-renderer/tile-render.component.js +80 -0
  108. package/esm2015/lib/components/tile-renderer/tile-render.module.js +26 -0
  109. package/esm2015/lib/decorator/input-boolean.decorator.js +34 -0
  110. package/esm2015/lib/enum/calendar-view.enum.js +9 -9
  111. package/esm2015/lib/enum/document-email-report.enum.js +18 -0
  112. package/esm2015/lib/enum/domain-multiple-name.enum.js +13 -0
  113. package/esm2015/lib/enum/file-type.js +14 -0
  114. package/esm2015/lib/enum/files-upload-config-objects.js +3 -0
  115. package/esm2015/lib/enum/gauge-color.enum.js +10 -10
  116. package/esm2015/lib/enum/icon.enum.js +44 -38
  117. package/esm2015/lib/enum/internal-param.enum.js +38 -0
  118. package/esm2015/lib/enum/keyboard-code.enum.js +32 -32
  119. package/esm2015/lib/enum/language-code.enum.js +8 -8
  120. package/esm2015/lib/enum/month.enum.js +17 -17
  121. package/esm2015/lib/enum/read-write-access-config-names.enum.js +2 -0
  122. package/esm2015/lib/enum/table-name.enum.js +86 -0
  123. package/esm2015/lib/enum/tag-category.enum.js +22 -0
  124. package/esm2015/lib/enum/tags-component-config-names.js +2 -0
  125. package/esm2015/lib/enum/thumb-three-way-state.js +19 -19
  126. package/esm2015/lib/enum/tile-size-type.js +7 -0
  127. package/esm2015/lib/enum/time-period.enum.js +11 -11
  128. package/esm2015/lib/event/co-drag-event.js +2 -0
  129. package/esm2015/lib/event/co-drop-event.js +2 -0
  130. package/esm2015/lib/interface/key-value-pair.js +2 -0
  131. package/esm2015/lib/interface/operation-callback-simple-function.js +4 -0
  132. package/esm2015/lib/localization/localization.module.js +19 -19
  133. package/esm2015/lib/localization/localize.pipe.js +26 -26
  134. package/esm2015/lib/localization/localize.service.js +30 -30
  135. package/esm2015/lib/localization/translation.js +3 -3
  136. package/esm2015/lib/model/agenda-event-per-day.model.js +6 -6
  137. package/esm2015/lib/model/agenda-event.model.js +8 -8
  138. package/esm2015/lib/model/agenda-null-objects.js +11 -11
  139. package/esm2015/lib/model/constant/all-months.js +17 -17
  140. package/esm2015/lib/model/date-range.js +5 -5
  141. package/esm2015/lib/model/day.model.js +7 -7
  142. package/esm2015/lib/model/icon-svg.js +43 -37
  143. package/esm2015/lib/model/month.model.js +11 -11
  144. package/esm2015/lib/model/send-method.js +8 -8
  145. package/esm2015/lib/model/settings.js +4 -4
  146. package/esm2015/lib/model/tag-tree-item.bo.js +16 -0
  147. package/esm2015/lib/model/time-window.bo.js +26 -26
  148. package/esm2015/lib/model/tree-object.js +15 -0
  149. package/esm2015/lib/model/week.model.js +6 -6
  150. package/esm2015/lib/model/weekday.model.js +10 -10
  151. package/esm2015/lib/pipe/array-number.pipe.js +15 -15
  152. package/esm2015/lib/pipe/file-type-image.pipe.js +51 -0
  153. package/esm2015/lib/pipe/master-pipes.js +9 -7
  154. package/esm2015/lib/pipe/ucfirst.pipe.js +16 -16
  155. package/esm2015/lib/service/dictionary.service.js +76 -76
  156. package/esm2015/lib/service/drag-drop.service.js +365 -0
  157. package/esm2015/lib/service/icon-cache.service.js +51 -51
  158. package/esm2015/lib/service/options.service.js +48 -48
  159. package/esm2015/lib/service/shared-connector.service.js +433 -424
  160. package/esm2015/lib/service/shared.service.js +60 -60
  161. package/esm2015/lib/service/stock.service.js +110 -110
  162. package/esm2015/lib/utils/array-utils.js +202 -0
  163. package/esm2015/lib/utils/calendar.utils.js +68 -68
  164. package/esm2015/lib/utils/check-precision-and-scale-result.js +2 -0
  165. package/esm2015/lib/utils/check-within-stepped-bounds-result.js +2 -0
  166. package/esm2015/lib/utils/co-document-shared-field-logic.js +50 -0
  167. package/esm2015/lib/utils/date-utils.js +264 -264
  168. package/esm2015/lib/utils/enum-utils.js +128 -0
  169. package/esm2015/lib/utils/function/not-nill.function.js +5 -5
  170. package/esm2015/lib/utils/is-nill.function.js +5 -0
  171. package/esm2015/lib/utils/map-utils.js +41 -41
  172. package/esm2015/lib/utils/number-utils.js +390 -0
  173. package/esm2015/lib/utils/object-utils.js +278 -0
  174. package/esm2015/lib/utils/ref-code-utils.js +49 -0
  175. package/esm2015/lib/utils/string-utils.js +93 -64
  176. package/esm2015/public-api.js +31 -27
  177. package/fesm2015/colijnit-sharedcomponents.js +10379 -6857
  178. package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
  179. package/lib/assets/dictionary/text.properties.d.ts +3 -3
  180. package/lib/businessobject/build-images-and-documentation-result.d.ts +5 -0
  181. package/lib/businessobject/co-document-right.bo.d.ts +6 -0
  182. package/lib/businessobject/drag-drop-container-element.d.ts +6 -0
  183. package/lib/businessobject/drag-drop-container.d.ts +6 -0
  184. package/lib/components/access/read-write-access.scss +25 -0
  185. package/lib/components/access/style/_layout.scss +23 -0
  186. package/lib/components/access/style/_material-definition.scss +12 -0
  187. package/lib/components/access/style/_theme.scss +4 -0
  188. package/lib/components/access/style/material.scss +4 -0
  189. package/lib/components/activity-list/activity-list.component.d.ts +33 -0
  190. package/lib/components/activity-list/activity-list.module.d.ts +2 -0
  191. package/lib/components/activity-list/style/_layout.scss +68 -0
  192. package/lib/components/activity-list/style/_material-definition.scss +0 -0
  193. package/lib/components/activity-list/style/_theme.scss +4 -0
  194. package/lib/components/activity-list/style/material.scss +4 -0
  195. package/lib/components/app-file-dropzone/app-file-dropzone.component.d.ts +14 -0
  196. package/lib/components/app-file-dropzone/app-file-dropzone.module.d.ts +2 -0
  197. package/lib/components/app-file-dropzone/style/_layout.scss +61 -0
  198. package/lib/components/app-file-dropzone/style/_material-definition.scss +0 -0
  199. package/lib/components/app-file-dropzone/style/_theme.scss +4 -0
  200. package/lib/components/app-file-dropzone/style/material.scss +4 -0
  201. package/lib/components/date-planning/component/agenda/agenda-base-view.component.d.ts +21 -21
  202. package/lib/components/date-planning/component/agenda/agenda-day-view.component.d.ts +7 -7
  203. package/lib/components/date-planning/component/agenda/agenda-event.component.d.ts +18 -18
  204. package/lib/components/date-planning/component/agenda/agenda-events.component.d.ts +13 -13
  205. package/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.d.ts +18 -18
  206. package/lib/components/date-planning/component/agenda/agenda-header.component.d.ts +48 -48
  207. package/lib/components/date-planning/component/agenda/agenda-hour-cell.component.d.ts +9 -9
  208. package/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.d.ts +8 -8
  209. package/lib/components/date-planning/component/agenda/agenda-hour-view.component.d.ts +7 -7
  210. package/lib/components/date-planning/component/agenda/agenda-month-view.component.d.ts +10 -10
  211. package/lib/components/date-planning/component/agenda/agenda-select-event.component.d.ts +12 -12
  212. package/lib/components/date-planning/component/agenda/agenda-view.component.d.ts +12 -12
  213. package/lib/components/date-planning/component/agenda/agenda-week-select-view.component.d.ts +10 -10
  214. package/lib/components/date-planning/component/agenda/agenda-week-view.component.d.ts +9 -9
  215. package/lib/components/date-planning/component/agenda/style/_layout.scss +443 -443
  216. package/lib/components/date-planning/component/agenda/style/_material-definition.scss +12 -12
  217. package/lib/components/date-planning/component/agenda/style/_theme.scss +7 -7
  218. package/lib/components/date-planning/component/agenda/style/material.scss +5 -5
  219. package/lib/components/date-planning/component/agenda/view-select.component.d.ts +11 -11
  220. package/lib/components/date-planning/component/calendar/calendar-all-months.component.d.ts +9 -9
  221. package/lib/components/date-planning/component/calendar/calendar-all-years.component.d.ts +9 -9
  222. package/lib/components/date-planning/component/calendar/calendar-header.component.d.ts +23 -23
  223. package/lib/components/date-planning/component/calendar/calendar-view.component.d.ts +31 -31
  224. package/lib/components/date-planning/component/calendar/calendar.component.d.ts +10 -10
  225. package/lib/components/date-planning/component/calendar/style/_layout.scss +167 -167
  226. package/lib/components/date-planning/component/calendar/style/_material-definition.scss +7 -7
  227. package/lib/components/date-planning/component/calendar/style/_theme.scss +7 -7
  228. package/lib/components/date-planning/component/calendar/style/material.scss +5 -5
  229. package/lib/components/date-planning/date-planning.component.d.ts +28 -28
  230. package/lib/components/date-planning/date-planning.module.d.ts +2 -2
  231. package/lib/components/date-planning/style/_layout.scss +45 -45
  232. package/lib/components/date-planning/style/_theme.scss +5 -5
  233. package/lib/components/date-planning/style/material.scss +7 -7
  234. package/lib/components/docsign/component/signature/signature.component.d.ts +16 -16
  235. package/lib/components/docsign/component/signature/style/_layout.scss +40 -40
  236. package/lib/components/docsign/component/signature/style/_material-definition.scss +11 -11
  237. package/lib/components/docsign/component/signature/style/_theme.scss +13 -13
  238. package/lib/components/docsign/component/signature/style/material.scss +4 -4
  239. package/lib/components/docsign/component/signatures/signatures.component.d.ts +12 -12
  240. package/lib/components/docsign/component/signatures/style/_layout.scss +13 -13
  241. package/lib/components/docsign/component/signatures/style/_material-definition.scss +1 -1
  242. package/lib/components/docsign/component/signatures/style/_theme.scss +4 -4
  243. package/lib/components/docsign/component/signatures/style/material.scss +5 -5
  244. package/lib/components/docsign/docsign.component.d.ts +94 -94
  245. package/lib/components/docsign/docsign.module.d.ts +2 -2
  246. package/lib/components/docsign/style/_layout.scss +40 -40
  247. package/lib/components/docsign/style/_material-definition.scss +12 -12
  248. package/lib/components/docsign/style/_theme.scss +12 -12
  249. package/lib/components/docsign/style/material.scss +15 -15
  250. package/lib/components/file-upload/file-upload.component.d.ts +42 -0
  251. package/lib/components/file-upload/file-upload.module.d.ts +2 -0
  252. package/lib/components/file-upload/style/_layout.scss +59 -0
  253. package/lib/components/file-upload/style/_material-definition.scss +2 -0
  254. package/lib/components/file-upload/style/_theme.scss +4 -0
  255. package/lib/components/file-upload/style/material.scss +4 -0
  256. package/lib/components/file-upload-popup/file-upload-popup.component.d.ts +75 -0
  257. package/lib/components/file-upload-popup/file-upload-popup.module.d.ts +2 -0
  258. package/lib/components/file-upload-popup/style/_layout.scss +48 -0
  259. package/lib/components/file-upload-popup/style/_material-definition.scss +2 -0
  260. package/lib/components/file-upload-popup/style/_theme.scss +5 -0
  261. package/lib/components/file-upload-popup/style/material.scss +4 -0
  262. package/lib/components/files-upload/components/base-file-upload.component.d.ts +98 -0
  263. package/lib/components/files-upload/components/drag-drop-container.component.d.ts +34 -0
  264. package/lib/components/files-upload/files-upload.component.d.ts +32 -0
  265. package/lib/components/files-upload/files-upload.module.d.ts +2 -0
  266. package/lib/components/files-upload/style/_layout.scss +49 -0
  267. package/lib/components/files-upload/style/_material-definition.scss +0 -0
  268. package/lib/components/files-upload/style/_theme.scss +5 -0
  269. package/lib/components/files-upload/style/material.scss +4 -0
  270. package/lib/components/image-display/image-display.component.d.ts +14 -0
  271. package/lib/components/image-display/image-display.module.d.ts +2 -0
  272. package/lib/components/image-display/style/_layout.scss +56 -0
  273. package/lib/components/image-display/style/_material-definition.scss +4 -0
  274. package/lib/components/image-display/style/_theme.scss +6 -0
  275. package/lib/components/image-display/style/material.scss +3 -0
  276. package/lib/components/key-pad/key-pad.component.d.ts +38 -38
  277. package/lib/components/key-pad/key-pad.module.d.ts +2 -2
  278. package/lib/components/key-pad/style/_layout.scss +160 -160
  279. package/lib/components/key-pad/style/_material-definition.scss +19 -19
  280. package/lib/components/key-pad/style/_theme.scss +35 -35
  281. package/lib/components/key-pad/style/material.scss +4 -4
  282. package/lib/components/layout-switcher/layout-switcher.component.d.ts +16 -16
  283. package/lib/components/layout-switcher/layout-switcher.module.d.ts +2 -2
  284. package/lib/components/layout-switcher/style/_layout.scss +94 -94
  285. package/lib/components/layout-switcher/style/_material-definition.scss +16 -16
  286. package/lib/components/layout-switcher/style/_theme.scss +4 -4
  287. package/lib/components/layout-switcher/style/material.scss +6 -6
  288. package/lib/components/linear-gauge/co-linear-gauge.component.d.ts +11 -11
  289. package/lib/components/linear-gauge/co-linear-gauge.module.d.ts +2 -2
  290. package/lib/components/linear-gauge/style/_layout.scss +20 -20
  291. package/lib/components/linear-gauge/style/_material-definition.scss +8 -8
  292. package/lib/components/linear-gauge/style/_theme.scss +4 -4
  293. package/lib/components/linear-gauge/style/material.scss +6 -6
  294. package/lib/components/login/style/_layout.scss +57 -57
  295. package/lib/components/login/style/_material-definition.scss +23 -23
  296. package/lib/components/login/style/_theme.scss +7 -7
  297. package/lib/components/login/style/material.scss +4 -4
  298. package/lib/components/multi-property-toggler/multiple-property-toggler.component.d.ts +27 -0
  299. package/lib/components/multi-property-toggler/multiple-property-toggler.module.d.ts +2 -0
  300. package/lib/components/multi-property-toggler/style/_layout.scss +24 -0
  301. package/lib/components/multi-property-toggler/style/_material-definition.scss +0 -0
  302. package/lib/components/multi-property-toggler/style/_theme.scss +4 -0
  303. package/lib/components/multi-property-toggler/style/material.scss +4 -0
  304. package/lib/components/screen-config-generator/style/_layout.scss +95 -95
  305. package/lib/components/screen-config-generator/style/_theme.scss +4 -4
  306. package/lib/components/screen-config-generator/style/material.scss +4 -4
  307. package/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.d.ts +19 -19
  308. package/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.d.ts +2 -2
  309. package/lib/components/send-method-dialog/components/layout-selection/style/_layout.scss +44 -44
  310. package/lib/components/send-method-dialog/components/layout-selection/style/_material-definition.scss +19 -19
  311. package/lib/components/send-method-dialog/components/layout-selection/style/_theme.scss +17 -17
  312. package/lib/components/send-method-dialog/components/layout-selection/style/material.scss +4 -4
  313. package/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.d.ts +19 -19
  314. package/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.d.ts +2 -2
  315. package/lib/components/send-method-dialog/components/printer-selection/style/_layout.scss +69 -69
  316. package/lib/components/send-method-dialog/components/printer-selection/style/_material-definition.scss +37 -37
  317. package/lib/components/send-method-dialog/components/printer-selection/style/_theme.scss +23 -23
  318. package/lib/components/send-method-dialog/components/printer-selection/style/material.scss +4 -4
  319. package/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.d.ts +14 -14
  320. package/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.d.ts +2 -2
  321. package/lib/components/send-method-dialog/components/send-method-email/style/_layout.scss +29 -29
  322. package/lib/components/send-method-dialog/components/send-method-email/style/_material-definition.scss +8 -8
  323. package/lib/components/send-method-dialog/components/send-method-email/style/_theme.scss +5 -5
  324. package/lib/components/send-method-dialog/components/send-method-email/style/material.scss +4 -4
  325. package/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.d.ts +8 -8
  326. package/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.d.ts +2 -2
  327. package/lib/components/send-method-dialog/components/send-method-pdf/style/_layout.scss +25 -25
  328. package/lib/components/send-method-dialog/components/send-method-pdf/style/_material-definition.scss +5 -5
  329. package/lib/components/send-method-dialog/components/send-method-pdf/style/_theme.scss +5 -5
  330. package/lib/components/send-method-dialog/components/send-method-pdf/style/material.scss +4 -4
  331. package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.d.ts +13 -13
  332. package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.d.ts +2 -2
  333. package/lib/components/send-method-dialog/components/send-method-printer/style/_layout.scss +30 -30
  334. package/lib/components/send-method-dialog/components/send-method-printer/style/_material-definition.scss +5 -5
  335. package/lib/components/send-method-dialog/components/send-method-printer/style/_theme.scss +5 -5
  336. package/lib/components/send-method-dialog/components/send-method-printer/style/material.scss +4 -4
  337. package/lib/components/send-method-dialog/components/signature-button/signature-button.component.d.ts +12 -12
  338. package/lib/components/send-method-dialog/components/signature-button/signature-button.module.d.ts +2 -2
  339. package/lib/components/send-method-dialog/components/signature-button/style/_layout.scss +28 -28
  340. package/lib/components/send-method-dialog/components/signature-button/style/_material-definition.scss +8 -8
  341. package/lib/components/send-method-dialog/components/signature-button/style/_theme.scss +4 -4
  342. package/lib/components/send-method-dialog/components/signature-button/style/material.scss +4 -4
  343. package/lib/components/send-method-dialog/model/email-address-viewmodel.d.ts +5 -5
  344. package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +71 -71
  345. package/lib/components/send-method-dialog/send-method-dialog.module.d.ts +2 -2
  346. package/lib/components/send-method-dialog/send-method-params.interface.d.ts +13 -13
  347. package/lib/components/send-method-dialog/service/send-method.service.d.ts +23 -23
  348. package/lib/components/send-method-dialog/style/_layout.scss +165 -165
  349. package/lib/components/send-method-dialog/style/_material-definition.scss +48 -48
  350. package/lib/components/send-method-dialog/style/_theme.scss +33 -33
  351. package/lib/components/send-method-dialog/style/material.scss +10 -10
  352. package/lib/components/simple-tags/simple-tags.component.d.ts +31 -31
  353. package/lib/components/simple-tags/simple-tags.module.d.ts +2 -2
  354. package/lib/components/simple-tags/style/_layout.scss +272 -272
  355. package/lib/components/simple-tags/style/_material-definition.scss +39 -39
  356. package/lib/components/simple-tags/style/_theme.scss +4 -4
  357. package/lib/components/simple-tags/style/material.scss +4 -4
  358. package/lib/components/statusbar/statusbar-popup.component.d.ts +21 -21
  359. package/lib/components/statusbar/statusbar.component.d.ts +26 -26
  360. package/lib/components/statusbar/statusbar.module.d.ts +2 -2
  361. package/lib/components/statusbar/style/_layout.scss +70 -70
  362. package/lib/components/statusbar/style/_material-definition.scss +23 -23
  363. package/lib/components/statusbar/style/_theme.scss +13 -13
  364. package/lib/components/statusbar/style/material.scss +5 -5
  365. package/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.d.ts +9 -9
  366. package/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.d.ts +9 -9
  367. package/lib/components/stock/components/order-stock-history/order-stock-history.component.d.ts +9 -9
  368. package/lib/components/stock/components/order-stock-tab/order-stock-tab.component.d.ts +11 -11
  369. package/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.d.ts +9 -9
  370. package/lib/components/stock/components/order-tab/order-tab.component.d.ts +20 -20
  371. package/lib/components/stock/components/stock-history/stock-history.component.d.ts +13 -13
  372. package/lib/components/stock/components/stock-location/stock-location.component.d.ts +50 -50
  373. package/lib/components/stock/components/stock-prognose/stock-prognose.component.d.ts +11 -11
  374. package/lib/components/stock/components/stock-tab/stock-tab.component.d.ts +9 -9
  375. package/lib/components/stock/localization/translation.d.ts +60 -60
  376. package/lib/components/stock/stock-history-tabs/stock-history-tabs.component.d.ts +7 -7
  377. package/lib/components/stock/stock-information/stock-information.component.d.ts +8 -8
  378. package/lib/components/stock/stock-information-grid/stock-information-grid.component.d.ts +75 -75
  379. package/lib/components/stock/stock-tabs/stock-tabs.component.d.ts +56 -56
  380. package/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.d.ts +4 -4
  381. package/lib/components/stock/stock-transfer/stock-change-amount.component.d.ts +18 -18
  382. package/lib/components/stock/stock-transfer/stock-transfer.component.d.ts +42 -42
  383. package/lib/components/stock/stock.component.d.ts +57 -57
  384. package/lib/components/stock/stock.module.d.ts +2 -2
  385. package/lib/components/stock/style/_layout.scss +286 -286
  386. package/lib/components/stock/style/_material-definition.scss +25 -25
  387. package/lib/components/stock/style/_theme.scss +5 -5
  388. package/lib/components/stock/style/material.scss +4 -4
  389. package/lib/components/stock-statusbar/stock-statusbar.component.d.ts +4 -4
  390. package/lib/components/stock-statusbar/stock-statusbar.module.d.ts +2 -2
  391. package/lib/components/stock-statusbar/style/_layout.scss +24 -24
  392. package/lib/components/stock-statusbar/style/material.scss +4 -4
  393. package/lib/components/tab-bar/style/_layout.scss +78 -78
  394. package/lib/components/tab-bar/style/_material-definition.scss +6 -6
  395. package/lib/components/tab-bar/style/material.scss +4 -4
  396. package/lib/components/tab-bar/tab-bar.component.d.ts +21 -21
  397. package/lib/components/tab-bar/tab-bar.module.d.ts +2 -2
  398. package/lib/components/tab-bar/tab.interface.d.ts +5 -5
  399. package/lib/components/tags/component/style/_layout.scss +67 -67
  400. package/lib/components/tags/component/style/_material-definition.scss +1 -1
  401. package/lib/components/tags/component/style/_theme.scss +8 -8
  402. package/lib/components/tags/component/style/material.scss +3 -3
  403. package/lib/components/tags/component/tag-join-label/style/_layout.scss +97 -97
  404. package/lib/components/tags/component/tag-join-label/style/_material-definition.scss +4 -4
  405. package/lib/components/tags/component/tag-join-label/style/_theme.scss +8 -8
  406. package/lib/components/tags/component/tag-join-label/style/material.scss +3 -3
  407. package/lib/components/tile-renderer/style/_layout.scss +90 -0
  408. package/lib/components/tile-renderer/style/_material-definition.scss +0 -0
  409. package/lib/components/tile-renderer/style/_theme.scss +4 -0
  410. package/lib/components/tile-renderer/style/material.scss +4 -0
  411. package/lib/components/tile-renderer/tile-render.component.d.ts +31 -0
  412. package/lib/components/tile-renderer/tile-render.module.d.ts +2 -0
  413. package/lib/decorator/input-boolean.decorator.d.ts +8 -0
  414. package/lib/enum/calendar-view.enum.d.ts +7 -7
  415. package/lib/enum/document-email-report.enum.d.ts +15 -0
  416. package/lib/enum/domain-multiple-name.enum.d.ts +10 -0
  417. package/lib/enum/file-type.d.ts +7 -0
  418. package/lib/enum/files-upload-config-objects.d.ts +22 -0
  419. package/lib/enum/gauge-color.enum.d.ts +8 -8
  420. package/lib/enum/icon.enum.d.ts +42 -36
  421. package/lib/enum/internal-param.enum.d.ts +34 -0
  422. package/lib/enum/keyboard-code.enum.d.ts +30 -30
  423. package/lib/enum/language-code.enum.d.ts +6 -6
  424. package/lib/enum/month.enum.d.ts +14 -14
  425. package/lib/enum/read-write-access-config-names.enum.d.ts +4 -0
  426. package/lib/enum/table-name.enum.d.ts +84 -0
  427. package/lib/enum/tag-category.enum.d.ts +19 -0
  428. package/lib/enum/tags-component-config-names.d.ts +4 -0
  429. package/lib/enum/thumb-three-way-state.d.ts +6 -6
  430. package/lib/enum/tile-size-type.d.ts +4 -0
  431. package/lib/enum/time-period.enum.d.ts +8 -8
  432. package/lib/event/co-drag-event.d.ts +5 -0
  433. package/lib/event/co-drop-event.d.ts +8 -0
  434. package/lib/interface/key-value-pair.d.ts +4 -0
  435. package/lib/interface/operation-callback-simple-function.d.ts +4 -0
  436. package/lib/localization/localization.module.d.ts +2 -2
  437. package/lib/localization/localize.pipe.d.ts +7 -7
  438. package/lib/localization/localize.service.d.ts +7 -7
  439. package/lib/localization/translation.d.ts +2 -2
  440. package/lib/model/agenda-event-per-day.model.d.ts +5 -5
  441. package/lib/model/agenda-event.model.d.ts +17 -17
  442. package/lib/model/agenda-null-objects.d.ts +10 -10
  443. package/lib/model/constant/all-months.d.ts +2 -2
  444. package/lib/model/date-range.d.ts +7 -7
  445. package/lib/model/day.model.d.ts +8 -8
  446. package/lib/model/icon-svg.d.ts +4 -4
  447. package/lib/model/month.model.d.ts +5 -5
  448. package/lib/model/send-method.d.ts +7 -7
  449. package/lib/model/settings.d.ts +3 -3
  450. package/lib/model/tag-tree-item.bo.d.ts +18 -0
  451. package/lib/model/time-window.bo.d.ts +13 -13
  452. package/lib/model/tree-object.d.ts +8 -0
  453. package/lib/model/week.model.d.ts +4 -4
  454. package/lib/model/weekday.model.d.ts +16 -16
  455. package/lib/pipe/array-number.pipe.d.ts +4 -4
  456. package/lib/pipe/file-type-image.pipe.d.ts +12 -0
  457. package/lib/pipe/master-pipes.d.ts +1 -1
  458. package/lib/pipe/ucfirst.pipe.d.ts +4 -4
  459. package/lib/service/dictionary.service.d.ts +21 -21
  460. package/lib/service/drag-drop.service.d.ts +86 -0
  461. package/lib/service/icon-cache.service.d.ts +18 -18
  462. package/lib/service/options.service.d.ts +13 -13
  463. package/lib/service/shared-connector.service.d.ts +55 -53
  464. package/lib/service/shared.service.d.ts +18 -18
  465. package/lib/service/stock.service.d.ts +41 -41
  466. package/lib/style/_mixin.scss +14 -14
  467. package/lib/style/_variables.scss +21 -21
  468. package/lib/style/sharedcomponents-globals.scss +10 -10
  469. package/lib/utils/array-utils.d.ts +63 -0
  470. package/lib/utils/calendar.utils.d.ts +10 -10
  471. package/lib/utils/check-precision-and-scale-result.d.ts +4 -0
  472. package/lib/utils/check-within-stepped-bounds-result.d.ts +8 -0
  473. package/lib/utils/co-document-shared-field-logic.d.ts +7 -0
  474. package/lib/utils/date-utils.d.ts +44 -44
  475. package/lib/utils/enum-utils.d.ts +31 -0
  476. package/lib/utils/function/not-nill.function.d.ts +1 -1
  477. package/lib/utils/is-nill.function.d.ts +1 -0
  478. package/lib/utils/map-utils.d.ts +16 -16
  479. package/lib/utils/number-utils.d.ts +125 -0
  480. package/lib/utils/object-utils.d.ts +40 -0
  481. package/lib/utils/ref-code-utils.d.ts +10 -0
  482. package/lib/utils/string-utils.d.ts +38 -22
  483. package/package.json +6 -6
  484. package/public-api.d.ts +27 -23
@@ -0,0 +1,189 @@
1
+ import { __awaiter, __decorate } from "tslib";
2
+ import { Component, EventEmitter, HostBinding, Input, Output, ViewChild, ViewEncapsulation } from "@angular/core";
3
+ import { FormComponent, PromptService } from "@colijnit/corecomponents_v12";
4
+ import { Icon } from "../../enum/icon.enum";
5
+ import { InputBoolean } from "../../decorator/input-boolean.decorator";
6
+ import { FileTypeImagePipe } from "../../pipe/file-type-image.pipe";
7
+ import { IconCacheService } from "../../service/icon-cache.service";
8
+ // The GUI part of the files-upload component. Not a standalone component.
9
+ export class FileUploadComponent {
10
+ constructor(_promptService, _fileTypeImgPipe, iconService) {
11
+ this._promptService = _promptService;
12
+ this._fileTypeImgPipe = _fileTypeImgPipe;
13
+ this.iconService = iconService;
14
+ this.icons = Icon;
15
+ // Element clickable
16
+ this.link = false;
17
+ this.readonly = false;
18
+ // Is tile an 'adding' tile
19
+ this.isAddingTile = false;
20
+ // Set this parameter to false if clicking ok on the document edit popup does not save the document
21
+ // so that refreshing of content on file open works correctly
22
+ this.fileSavesOnPopupOkClick = true;
23
+ this.isEditable = false;
24
+ // Show a trashcan icon
25
+ this.showTrashCan = false;
26
+ // Show an image as placeholder
27
+ this.showImage = false;
28
+ this.customImageClick = false;
29
+ this.deleteClick = new EventEmitter();
30
+ this.editClick = new EventEmitter();
31
+ this.imageClick = new EventEmitter();
32
+ this.previewImage = "";
33
+ this._label = "";
34
+ }
35
+ // Input file to upload.
36
+ set file(document) {
37
+ this._file = document;
38
+ this._updatePreviewImage();
39
+ // we should produce a preview image from given document, but its contents might not yet have been loaded:
40
+ this._listenForDocumentBodyChanges();
41
+ }
42
+ get file() {
43
+ return this._file;
44
+ }
45
+ set label(value) {
46
+ this._label = value;
47
+ }
48
+ get label() {
49
+ if (this._file && this._file.description) {
50
+ return this._file.description;
51
+ }
52
+ else {
53
+ return this._label;
54
+ }
55
+ }
56
+ showClass() {
57
+ return true;
58
+ }
59
+ get isLink() {
60
+ return this.link;
61
+ }
62
+ ngOnDestroy() {
63
+ if (this._docBodyChangeSub) {
64
+ this._docBodyChangeSub.unsubscribe();
65
+ }
66
+ }
67
+ onDeleteClick() {
68
+ this.deleteClick.emit();
69
+ }
70
+ onImageClick() {
71
+ return __awaiter(this, void 0, void 0, function* () {
72
+ if (this.isAddingTile) {
73
+ return;
74
+ }
75
+ if (this.customImageClick) {
76
+ this.imageClick.next(this._file);
77
+ return;
78
+ }
79
+ //todo fix methods
80
+ //first download document body if it is stored in a private cdn directory
81
+ if (!this._file.documentBody) {
82
+ //await this._generalDal.getDocumentContent(this._file).then(documentBody => this._file.documentBody = documentBody);
83
+ }
84
+ if (this._file.isImageDocument()) { //preview image
85
+ this._promptService.showImage(this.file.documentBodyAsDataUri, "Preview");
86
+ }
87
+ else { //download document
88
+ try {
89
+ //FileUtils.DownloadFromDataUri(this._file.bodyAsDataUri, this._file.fileName);
90
+ }
91
+ catch (e) {
92
+ }
93
+ }
94
+ });
95
+ }
96
+ onPencilClick() {
97
+ return __awaiter(this, void 0, void 0, function* () {
98
+ // refresh file content if files are saved individually
99
+ if (this._file.hasId() && this.fileSavesOnPopupOkClick) {
100
+ let idForLink;
101
+ if (this._file.idForLink) {
102
+ idForLink = this._file.idForLink;
103
+ }
104
+ // Get most recent version of this file if it has an id and therefore has been saved in the db
105
+ //TODO fix fetch
106
+ // this._file = await this._generalDal.getDocumentFromTable(this._file.documentId);
107
+ //this._file.idForLink = idForLink; // Restore the idForLink
108
+ }
109
+ this.editClick.emit(this._file);
110
+ });
111
+ }
112
+ // updates this.previewImage when doc body changes
113
+ _listenForDocumentBodyChanges() {
114
+ if (this._file) {
115
+ if (this._docBodyChangeSub) {
116
+ this._docBodyChangeSub.unsubscribe();
117
+ }
118
+ // @ts-ignore
119
+ this._docBodyChangeSub = this._file.documentBodyChange.subscribe(() => {
120
+ this._updatePreviewImage();
121
+ });
122
+ }
123
+ }
124
+ _updatePreviewImage() {
125
+ if (this._file) {
126
+ if (this._file.isImageDocument()) {
127
+ this.previewImage = this._file.documentBodyAsDataUri;
128
+ if (this.previewImage === "") {
129
+ //TODO fix fetch
130
+ //this._generalDal.getDocumentContent(this._file).then(documentBody => this._file.documentBody = documentBody);
131
+ //this.previewImage = this._file.documentBody;
132
+ }
133
+ }
134
+ else {
135
+ this.previewImage = this._fileTypeImgPipe.transform(this.file.fileTypeInternal);
136
+ }
137
+ }
138
+ }
139
+ }
140
+ FileUploadComponent.decorators = [
141
+ { type: Component, args: [{
142
+ selector: "co-file-upload",
143
+ template: `
144
+ <co-tile-render [hideImageDisplayWhenNoImage]="true" [imageDataUri]="previewImage" [description]="label" (imageClick)="onImageClick()">
145
+ <ng-template #infoTemplate>
146
+ <co-button *ngIf="isEditable && !readonly" class="edit-file" [iconData]="iconService.getIcon(icons.Account)"
147
+ (click)="onPencilClick()"></co-button>
148
+ </ng-template>
149
+ <co-icon *ngIf="showTrashCan && !readonly" [iconData]="iconService.getIcon(icons.Trashbin)" class="trash" (click)="onDeleteClick()"></co-icon>
150
+ <co-icon tile-render-image-content *ngIf="icon" class="dark add-button" [icon]="icon"></co-icon>
151
+ </co-tile-render>
152
+ `,
153
+ encapsulation: ViewEncapsulation.None
154
+ },] }
155
+ ];
156
+ FileUploadComponent.ctorParameters = () => [
157
+ { type: PromptService },
158
+ { type: FileTypeImagePipe },
159
+ { type: IconCacheService }
160
+ ];
161
+ FileUploadComponent.propDecorators = {
162
+ form: [{ type: ViewChild, args: [FormComponent,] }],
163
+ file: [{ type: Input }],
164
+ icon: [{ type: Input }],
165
+ link: [{ type: Input }],
166
+ readonly: [{ type: Input }],
167
+ isAddingTile: [{ type: Input }],
168
+ fileSavesOnPopupOkClick: [{ type: Input }],
169
+ isEditable: [{ type: Input }],
170
+ label: [{ type: Input }],
171
+ showTrashCan: [{ type: Input }],
172
+ showImage: [{ type: Input }],
173
+ customImageClick: [{ type: Input }],
174
+ deleteClick: [{ type: Output }],
175
+ editClick: [{ type: Output }],
176
+ imageClick: [{ type: Output }],
177
+ showClass: [{ type: HostBinding, args: ['class.co-file-upload',] }],
178
+ isLink: [{ type: HostBinding, args: ["class.link",] }]
179
+ };
180
+ __decorate([
181
+ InputBoolean()
182
+ ], FileUploadComponent.prototype, "isAddingTile", void 0);
183
+ __decorate([
184
+ InputBoolean()
185
+ ], FileUploadComponent.prototype, "fileSavesOnPopupOkClick", void 0);
186
+ __decorate([
187
+ InputBoolean()
188
+ ], FileUploadComponent.prototype, "isEditable", void 0);
189
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS11cGxvYWQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2hhcmVkY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvZmlsZS11cGxvYWQvZmlsZS11cGxvYWQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUNULFlBQVksRUFDWixXQUFXLEVBQ1gsS0FBSyxFQUVMLE1BQU0sRUFDTixTQUFTLEVBQ1QsaUJBQWlCLEVBQ2xCLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBQyxhQUFhLEVBQUUsYUFBYSxFQUFDLE1BQU0sOEJBQThCLENBQUM7QUFFMUUsT0FBTyxFQUFDLElBQUksRUFBQyxNQUFNLHNCQUFzQixDQUFDO0FBQzFDLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSx5Q0FBeUMsQ0FBQztBQUNyRSxPQUFPLEVBQUMsaUJBQWlCLEVBQUMsT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{ NgModule } from "@angular/core";
2
+ import { FileUploadComponent } from "./file-upload.component";
3
+ import { ButtonModule, IconModule } from "@colijnit/corecomponents_v12";
4
+ import { TileRenderModule } from "../tile-renderer/tile-render.module";
5
+ import { CommonModule } from "@angular/common";
6
+ export class FileUploadModule {
7
+ }
8
+ FileUploadModule.decorators = [
9
+ { type: NgModule, args: [{
10
+ imports: [
11
+ IconModule,
12
+ TileRenderModule,
13
+ CommonModule,
14
+ ButtonModule
15
+ ],
16
+ declarations: [
17
+ FileUploadComponent
18
+ ],
19
+ exports: [
20
+ FileUploadComponent
21
+ ],
22
+ providers: []
23
+ },] }
24
+ ];
25
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS11cGxvYWQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2hhcmVkY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvZmlsZS11cGxvYWQvZmlsZS11cGxvYWQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLG1CQUFtQixFQUFDLE1BQU0seUJBQXlCLENBQUM7QUFDNUQsT0FBTyxFQUFDLFlBQVksRUFBRSxVQUFVLEVBQUMsTUFBTSw4QkFBOEIsQ0FBQztBQUN0RSxPQUFPLEVBQUMsZ0JBQWdCLEVBQUMsTUFBTSxxQ0FBcUMsQ0FBQztBQUNyRSxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFtQjdDLE1BQU0sT0FBTyxnQkFBZ0I7OztZQWhCNUIsUUFBUSxTQUFDO2dCQUNSLE9BQU8sRUFBRTtvQkFDUCxVQUFVO29CQUNWLGdCQUFnQjtvQkFDaEIsWUFBWTtvQk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