@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
@@ -1,40 +1,40 @@
1
- @include export-module('co-docsign-layout') {
2
- .co-docsign {
3
- position: relative;
4
- display: block;
5
- width: 100%;
6
- height: 100%;
7
- iframe {
8
- border-style: none;
9
- height: 100%;
10
- width: 100%;
11
- }
12
- input[type="button"] {
13
- font-family: $sc-font-family;
14
- border-radius: $sc-signature-button-border-radius;
15
- border: $sc-signature-button-border;
16
- padding: $sc-signature-button-padding;
17
- }
18
- .button-sign-document {
19
- position: absolute;
20
- left: $sc-signature-button-sign-left;
21
- top: $sc-signature-button-sign-top;
22
- right: $sc-signature-button-sign-right;
23
- bottom: $sc-signature-button-sign-bottom;
24
- }
25
- .button-cancel {
26
- position: absolute;
27
- left: $sc-signature-button-cancel-left;
28
- top: $sc-signature-button-cancel-top;
29
- right: $sc-signature-button-cancel-right;
30
- bottom: $sc-signature-button-cancel-bottom;
31
- }
32
- .co-signatures {
33
- position: absolute;
34
- width: 100%;
35
- left: 50%;
36
- top: 50%;
37
- transform: translate(-50%, -50%);
38
- }
39
- }
40
- }
1
+ @include export-module('co-docsign-layout') {
2
+ .co-docsign {
3
+ position: relative;
4
+ display: block;
5
+ width: 100%;
6
+ height: 100%;
7
+ iframe {
8
+ border-style: none;
9
+ height: 100%;
10
+ width: 100%;
11
+ }
12
+ input[type="button"] {
13
+ font-family: $sc-font-family;
14
+ border-radius: $sc-signature-button-border-radius;
15
+ border: $sc-signature-button-border;
16
+ padding: $sc-signature-button-padding;
17
+ }
18
+ .button-sign-document {
19
+ position: absolute;
20
+ left: $sc-signature-button-sign-left;
21
+ top: $sc-signature-button-sign-top;
22
+ right: $sc-signature-button-sign-right;
23
+ bottom: $sc-signature-button-sign-bottom;
24
+ }
25
+ .button-cancel {
26
+ position: absolute;
27
+ left: $sc-signature-button-cancel-left;
28
+ top: $sc-signature-button-cancel-top;
29
+ right: $sc-signature-button-cancel-right;
30
+ bottom: $sc-signature-button-cancel-bottom;
31
+ }
32
+ .co-signatures {
33
+ position: absolute;
34
+ width: 100%;
35
+ left: 50%;
36
+ top: 50%;
37
+ transform: translate(-50%, -50%);
38
+ }
39
+ }
40
+ }
@@ -1,12 +1,12 @@
1
- $sc-signature-button-sign-left: inherit !default;
2
- $sc-signature-button-sign-top: inherit !default;
3
- $sc-signature-button-sign-right: 25px !default;
4
- $sc-signature-button-sign-bottom: 75px !default;
5
- $sc-signature-button-sign-background-color: $sc-color-action !default;
6
- $sc-signature-button-sign-color: $sc-color-light !default;
7
- $sc-signature-button-cancel-left: inherit !default;
8
- $sc-signature-button-cancel-top: inherit !default;
9
- $sc-signature-button-cancel-right: 25px !default;
10
- $sc-signature-button-cancel-bottom: 25px !default;
11
- $sc-signature-button-cancel-background-color: $sc-color-action !default;
12
- $sc-signature-button-cancel-color: $sc-color-light !default;
1
+ $sc-signature-button-sign-left: inherit !default;
2
+ $sc-signature-button-sign-top: inherit !default;
3
+ $sc-signature-button-sign-right: 25px !default;
4
+ $sc-signature-button-sign-bottom: 75px !default;
5
+ $sc-signature-button-sign-background-color: $sc-color-action !default;
6
+ $sc-signature-button-sign-color: $sc-color-light !default;
7
+ $sc-signature-button-cancel-left: inherit !default;
8
+ $sc-signature-button-cancel-top: inherit !default;
9
+ $sc-signature-button-cancel-right: 25px !default;
10
+ $sc-signature-button-cancel-bottom: 25px !default;
11
+ $sc-signature-button-cancel-background-color: $sc-color-action !default;
12
+ $sc-signature-button-cancel-color: $sc-color-light !default;
@@ -1,12 +1,12 @@
1
- @include export-module('co-docsign-theme') {
2
- .co-docsign {
3
- .button-sign-document {
4
- background-color: $sc-signature-button-sign-background-color;
5
- color: $sc-signature-button-sign-color;
6
- }
7
- .button-cancel {
8
- background-color: $sc-signature-button-cancel-background-color;
9
- color: $sc-signature-button-cancel-color;
10
- }
11
- }
12
- }
1
+ @include export-module('co-docsign-theme') {
2
+ .co-docsign {
3
+ .button-sign-document {
4
+ background-color: $sc-signature-button-sign-background-color;
5
+ color: $sc-signature-button-sign-color;
6
+ }
7
+ .button-cancel {
8
+ background-color: $sc-signature-button-cancel-background-color;
9
+ color: $sc-signature-button-cancel-color;
10
+ }
11
+ }
12
+ }
@@ -1,15 +1,15 @@
1
- @import "../../../style/mixin";
2
- @import "./material-definition";
3
- @import "./layout";
4
- @import "./theme";
5
-
6
- @import "../component/signatures/style/material";
7
- //@import 'ej2-base/styles/material.scss';
8
- //@import 'ej2-buttons/styles/material.scss';
9
- //@import 'ej2-dropdowns/styles/material.scss';
10
- //@import 'ej2-inputs/styles/material.scss';
11
- //@import 'ej2-navigations/styles/material.scss';
12
- //@import 'ej2-popups/styles/material.scss';
13
- //@import 'ej2-splitbuttons/styles/material.scss';
14
- //@import 'ej2-pdfviewer/styles/material.scss';
15
- //@import 'ej2-notifications/styles/material.scss';
1
+ @import "../../../style/mixin";
2
+ @import "./material-definition";
3
+ @import "./layout";
4
+ @import "./theme";
5
+
6
+ @import "../component/signatures/style/material";
7
+ //@import 'ej2-base/styles/material.scss';
8
+ //@import 'ej2-buttons/styles/material.scss';
9
+ //@import 'ej2-dropdowns/styles/material.scss';
10
+ //@import 'ej2-inputs/styles/material.scss';
11
+ //@import 'ej2-navigations/styles/material.scss';
12
+ //@import 'ej2-popups/styles/material.scss';
13
+ //@import 'ej2-splitbuttons/styles/material.scss';
14
+ //@import 'ej2-pdfviewer/styles/material.scss';
15
+ //@import 'ej2-notifications/styles/material.scss';
@@ -0,0 +1,42 @@
1
+ import { EventEmitter, OnDestroy } from "@angular/core";
2
+ import { FormComponent, PromptService } from "@colijnit/corecomponents_v12";
3
+ import { CoDocument } from "@colijnit/mainapi/build/model/co-document";
4
+ import { Icon } from "../../enum/icon.enum";
5
+ import { FileTypeImagePipe } from "../../pipe/file-type-image.pipe";
6
+ import { IconCacheService } from "../../service/icon-cache.service";
7
+ export declare class FileUploadComponent implements OnDestroy {
8
+ private _promptService;
9
+ private _fileTypeImgPipe;
10
+ iconService: IconCacheService;
11
+ readonly icons: typeof Icon;
12
+ form: FormComponent;
13
+ set file(document: CoDocument);
14
+ get file(): CoDocument;
15
+ icon: Icon;
16
+ link: boolean;
17
+ readonly: boolean;
18
+ isAddingTile: boolean;
19
+ fileSavesOnPopupOkClick: boolean;
20
+ isEditable: boolean;
21
+ set label(value: string);
22
+ get label(): string;
23
+ showTrashCan: boolean;
24
+ showImage: boolean;
25
+ customImageClick: boolean;
26
+ deleteClick: EventEmitter<any>;
27
+ editClick: EventEmitter<CoDocument>;
28
+ imageClick: EventEmitter<CoDocument>;
29
+ showClass(): boolean;
30
+ get isLink(): boolean;
31
+ previewImage: string;
32
+ private _file;
33
+ private _docBodyChangeSub;
34
+ private _label;
35
+ constructor(_promptService: PromptService, _fileTypeImgPipe: FileTypeImagePipe, iconService: IconCacheService);
36
+ ngOnDestroy(): void;
37
+ onDeleteClick(): void;
38
+ onImageClick(): Promise<void>;
39
+ onPencilClick(): Promise<void>;
40
+ private _listenForDocumentBodyChanges;
41
+ private _updatePreviewImage;
42
+ }
@@ -0,0 +1,2 @@
1
+ export declare class FileUploadModule {
2
+ }
@@ -0,0 +1,59 @@
1
+ @include export-module('co-file-upload-layout') {
2
+ .co-file-upload {
3
+ font-family: $sc-file-upload-font-family;
4
+ font-size: $sc-file-upload-font-size;
5
+ position: relative;
6
+ &.link {
7
+ .image {
8
+ cursor: pointer;
9
+ }
10
+ }
11
+ .image {
12
+ cursor: pointer;
13
+ }
14
+ ::ng-deep .hidden {
15
+ display: none !important;
16
+ }
17
+ &:hover {
18
+ button-colijn.edit-file {
19
+ opacity: 1;
20
+ transition: 0.14s ease-out
21
+ }
22
+ }
23
+ .trash {
24
+ cursor: pointer;
25
+ opacity: 0.5;
26
+ background-color: lightgrey;
27
+ position: absolute;
28
+ top: 0;
29
+ right: 0;
30
+ &:hover {
31
+ opacity: 1;
32
+ }
33
+ }
34
+ .add-button {
35
+ cursor: pointer;
36
+ position: absolute;
37
+ bottom: 0;
38
+ right: 0;
39
+ }
40
+
41
+ tile-render {
42
+ height: auto;
43
+ }
44
+
45
+ .edit-file {
46
+ position: absolute;
47
+ top: 50%;
48
+ left: 50%;
49
+ margin-right: -50%;
50
+ transform: translate(-50%, -50%);
51
+ cursor: pointer;
52
+ padding: 0;
53
+ opacity: 0;
54
+ background-color: #1A73E8;
55
+ }
56
+ }
57
+ }
58
+
59
+
@@ -0,0 +1,2 @@
1
+ $sc-file-upload-font-family: $sc-font-family !default;
2
+ $sc-file-upload-font-size: $sc-font-size !default;
@@ -0,0 +1,4 @@
1
+ @include export-module('co-file-upload-theme') {
2
+ .co-file-upload {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/mixin";
2
+ @import "./material-definition";
3
+ @import "./layout";
4
+ @import "./theme";
@@ -0,0 +1,75 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { FormComponent } from '@colijnit/corecomponents_v12';
3
+ import { DocumentPublication } from "@colijnit/articleapi/build/enum/refcode/document-publication.enum";
4
+ import { StoreGroup } from "@colijnit/mainapi/build/model/store-group.bo";
5
+ import { PromptService } from "@colijnit/corecomponents_v12";
6
+ import { CoDocument } from "@colijnit/mainapi/build/model/co-document";
7
+ import { TagCategory } from "../../enum/tag-category.enum";
8
+ import { FilesUploadConfigObjects } from "../../enum/files-upload-config-objects";
9
+ import { TableName } from "../../enum/table-name.enum";
10
+ import { FileType } from "../../enum/file-type";
11
+ import { DocumentEmailReport } from "../../enum/document-email-report.enum";
12
+ import { TagsComponentConfigNames } from "../../enum/tags-component-config-names";
13
+ import { DomainMultipleName } from "../../enum/domain-multiple-name.enum";
14
+ import { TagTreeItem } from "../../model/tag-tree-item.bo";
15
+ import { FileTypeImagePipe } from "../../pipe/file-type-image.pipe";
16
+ export declare class FileUploadPopupComponent implements OnInit {
17
+ private _promptService;
18
+ private _fileTypeImgPipe;
19
+ form: FormComponent;
20
+ useWithoutSettingProps: boolean;
21
+ hasPublicAccessVisible: boolean;
22
+ showDocumentReportPicker: boolean;
23
+ set documentUnderEdit(doc: CoDocument);
24
+ get documentUnderEdit(): CoDocument;
25
+ set readonly(value: boolean);
26
+ set filesUploadConfigObjects(value: FilesUploadConfigObjects);
27
+ tagCategory: TagCategory;
28
+ medicalUserGroups: boolean;
29
+ displayReadWriteAccess: boolean;
30
+ tagReferenceTable: TableName;
31
+ documentKey: string;
32
+ documentTable: string;
33
+ fileType: FileType;
34
+ addDocumentByUrl: boolean;
35
+ readonly documentChangeEvent: EventEmitter<CoDocument>;
36
+ readonly popupCloseEvent: EventEmitter<void>;
37
+ showClass(): boolean;
38
+ readonly documentPublication: typeof DocumentPublication;
39
+ readonly documentEmailReports: typeof DocumentEmailReport;
40
+ get showReadWriteAccess(): boolean;
41
+ get filesUploadConfigObjects(): FilesUploadConfigObjects;
42
+ get isWorkability(): boolean;
43
+ get docUnderEditIsReadOnly(): boolean;
44
+ get thumbnail(): string;
45
+ get popupHeader(): string;
46
+ get publicationConfigName(): string;
47
+ get tagsConfigName(): TagsComponentConfigNames;
48
+ readonly domain: typeof DomainMultipleName;
49
+ readonly fileTypes: typeof FileType;
50
+ _documentUnderEdit: CoDocument;
51
+ hideCancel: boolean;
52
+ storeGroups: StoreGroup[];
53
+ publicationIds: number[];
54
+ storeGroupIds: string[];
55
+ userGroupsForWrite: number[];
56
+ userGroupsForRead: number[];
57
+ documentTags: TagTreeItem[];
58
+ private _filesUploadConfigObjects;
59
+ private _boFactory;
60
+ private _readonly;
61
+ private _publicationNumber;
62
+ private _reportsNumber;
63
+ private _thumbnail;
64
+ constructor(_promptService: PromptService, _fileTypeImgPipe: FileTypeImagePipe);
65
+ ngOnInit(): void;
66
+ loadCollection(): Promise<void>;
67
+ onPreviewClick(): void;
68
+ saveDocumentUnderEditRights(): void;
69
+ onPopupOkClick(): void;
70
+ handlePropertyChange(refSumOfEnabledItems: number): any;
71
+ handleReportsPropertyChange(refSumOfEnabledItems: number): any;
72
+ onValidSubmit(): Promise<void>;
73
+ onPopupCancelClick(): Promise<void>;
74
+ onPopupClose(): void;
75
+ }
@@ -0,0 +1,2 @@
1
+ export declare class FileUploadPopupModule {
2
+ }
@@ -0,0 +1,48 @@
1
+ @include export-module('co-file-upload-popup-layout') {
2
+ .co-file-upload-popup {
3
+ font-family: $sc-file-upload-popup-font-family;
4
+ font-size: $sc-file-upload-popup-font-size;
5
+ .co-dialog {
6
+ display: flex;
7
+ flex-direction: row;
8
+ overflow-y: auto;
9
+
10
+ .document-thumb {
11
+ height: 120px;
12
+ }
13
+
14
+ .horizontal-layout-column {
15
+ > div {
16
+ width: 50%;
17
+
18
+ &.right, &.column-right {
19
+ margin-left: 15px;
20
+ }
21
+ }
22
+
23
+ display: flex;
24
+ }
25
+
26
+ multiple-property-toggler {
27
+ width: 500px;
28
+
29
+ .property-toggling-container {
30
+ height: 150px;
31
+ display: flex;
32
+ gap: 10px;
33
+ flex-wrap: wrap;
34
+
35
+ .row {
36
+ width: 32%;
37
+ display: flex;
38
+ font-size: 10px;
39
+ align-items: center;
40
+ height: auto;
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
47
+
48
+
@@ -0,0 +1,2 @@
1
+ $sc-file-upload-popup-font-family: $sc-font-family !default;
2
+ $sc-file-upload-popup-font-size: $sc-font-size !default;
@@ -0,0 +1,5 @@
1
+ @include export-module('co-file-upload-popup-theme') {
2
+ .co-file-upload-popup {
3
+
4
+ }
5
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/mixin";
2
+ @import "./material-definition";
3
+ @import "./layout";
4
+ @import "./theme";
@@ -0,0 +1,98 @@
1
+ import { ComponentFactoryResolver, EventEmitter, OnDestroy, ViewContainerRef } from "@angular/core";
2
+ import { ScreenConfigAdapterComponent } from "@colijnit/corecomponents_v12";
3
+ import { TableName } from "../../../enum/table-name.enum";
4
+ import { DictionaryService } from "../../../service/dictionary.service";
5
+ import { FileType } from "@colijnit/mainapi/build/enum/file-type.enum";
6
+ import { OperationCallbackSimpleFunction } from "../../../interface/operation-callback-simple-function";
7
+ import { InternalParam } from "../../../enum/internal-param.enum";
8
+ import { FilesUploadConfigObjects } from "../../../enum/files-upload-config-objects";
9
+ import { TagCategory } from "../../../enum/tag-category.enum";
10
+ import { CoDocument } from "@colijnit/mainapi/build/model/co-document";
11
+ export declare abstract class BaseFileUploadComponent implements ScreenConfigAdapterComponent, OnDestroy {
12
+ protected _dictionaryService: DictionaryService;
13
+ protected _container: ViewContainerRef;
14
+ protected _factory: ComponentFactoryResolver;
15
+ decimals: number;
16
+ forceReadonly: boolean;
17
+ maxLength: number;
18
+ objectConfigName: string;
19
+ redErrorBackground: boolean;
20
+ required: boolean;
21
+ set fileType(value: FileType);
22
+ get fileType(): FileType;
23
+ documents: CoDocument[];
24
+ documentTable: TableName;
25
+ set documentKey(value: string);
26
+ get documentKey(): string;
27
+ fullPageDrop: boolean;
28
+ canAdd: boolean;
29
+ dropMessage: string;
30
+ addWithButton: boolean;
31
+ canDelete: boolean;
32
+ noDragDropOrdering: boolean;
33
+ set readonly(value: boolean);
34
+ get readonly(): boolean;
35
+ askBeforeDelete: boolean;
36
+ resizeImages: boolean;
37
+ lockOperation: OperationCallbackSimpleFunction;
38
+ unlockOperation: OperationCallbackSimpleFunction;
39
+ beforeDeleteOperation: OperationCallbackSimpleFunction;
40
+ afterDeleteOperation: OperationCallbackSimpleFunction;
41
+ beforeCreateOperation: OperationCallbackSimpleFunction;
42
+ afterCreateOperation: OperationCallbackSimpleFunction;
43
+ beforeEditOperation: OperationCallbackSimpleFunction;
44
+ dontAskBeforeDelete: boolean;
45
+ noOwnDeleteOperation: boolean;
46
+ private _fileType;
47
+ set maxUploadSizeParam(value: InternalParam);
48
+ useWithoutSettingProps: boolean;
49
+ filesUploadConfigObjects: FilesUploadConfigObjects;
50
+ medicalUserGroups: boolean;
51
+ tagCategory: TagCategory;
52
+ tagReferenceTable: TableName;
53
+ displayReadWriteAccess: boolean;
54
+ useCustomFileDropEvent: boolean;
55
+ customFileDropEvent: EventEmitter<FileList>;
56
+ readonly documentsAdded: EventEmitter<CoDocument[]>;
57
+ readonly documentDeleted: EventEmitter<CoDocument>;
58
+ readonly sortableListChanged: EventEmitter<CoDocument[]>;
59
+ documentChangeEvent: EventEmitter<CoDocument>;
60
+ popupOpenedStateChange: EventEmitter<boolean>;
61
+ hidden: boolean;
62
+ onDrop(event: DragEvent): void;
63
+ onDragEnd(event: DragEvent): void;
64
+ onDragOver(event: DragEvent): void;
65
+ onDragEnter(event: DragEvent): void;
66
+ onDragLeave(event: DragEvent): void;
67
+ documentUnderEdit: CoDocument;
68
+ acceptedUploadFormats: string;
69
+ protected _maxUploadFileSize: number;
70
+ private _dragEnterTarget;
71
+ private _documentKey;
72
+ private _dropZone;
73
+ private _popup;
74
+ private _docChangeSub;
75
+ private _popupCloseSub;
76
+ private _readonly;
77
+ constructor(_dictionaryService: DictionaryService, _container: ViewContainerRef, _factory: ComponentFactoryResolver);
78
+ ngOnDestroy(): void;
79
+ private _showDropzone;
80
+ private _clearDropzone;
81
+ handleDelete(file: CoDocument): Promise<boolean>;
82
+ private _delete;
83
+ handleSortingChange(docs: CoDocument[]): void;
84
+ handleFileChange(event: any): Promise<void>;
85
+ handleEditDocumentClick(docToEdit: CoDocument): Promise<void>;
86
+ openPopup(): Promise<void>;
87
+ openPopupToAddDocumentByUrl(): void;
88
+ private _createDocumentToAddByUrl;
89
+ private _createAndFillPopupInstance;
90
+ protected convertFilesIntoCoDocuments(files: FileList): Promise<CoDocument[]>;
91
+ filesPicked(files: FileList): Promise<void>;
92
+ handleAcceptedFileTypesLoaded(value: FileType): void;
93
+ private _getFileAsDocument;
94
+ private _setInternalParamObj;
95
+ private _lockDocument;
96
+ private _unlockDocument;
97
+ private _prepareFileRights;
98
+ }
@@ -0,0 +1,34 @@
1
+ import { ElementRef, AfterViewInit, OnDestroy, Renderer2, EventEmitter } from "@angular/core";
2
+ import { DragDropService } from "../../../service/drag-drop.service";
3
+ export declare class DragDropContainerComponent implements AfterViewInit, OnDestroy {
4
+ private _elementRef;
5
+ private _renderer;
6
+ private _dragDropService;
7
+ /**
8
+ * Model of list containing draggable items
9
+ */
10
+ sortableList: any[];
11
+ handleSort: boolean;
12
+ set enabled(value: boolean);
13
+ /**
14
+ * Class of the handle to drag operations
15
+ */
16
+ dragHandle: string;
17
+ sortingChange: EventEmitter<any[]>;
18
+ showClass: boolean;
19
+ private _container;
20
+ private _enabled;
21
+ private _handleOrderSub;
22
+ private _initialized;
23
+ constructor(_elementRef: ElementRef, _renderer: Renderer2, _dragDropService: DragDropService);
24
+ ngAfterViewInit(): void;
25
+ /**
26
+ * Cleanup...
27
+ */
28
+ ngOnDestroy(): void;
29
+ handleEnabledChange(): void;
30
+ private _createDragDrop;
31
+ private _removeDragDrop;
32
+ private _handleOrder;
33
+ private _updateEnableDisableContainer;
34
+ }
@@ -0,0 +1,32 @@
1
+ import { ComponentFactoryResolver, ElementRef, EventEmitter, OnDestroy, TemplateRef, ViewContainerRef } from "@angular/core";
2
+ import { BaseFileUploadComponent } from "./components/base-file-upload.component";
3
+ import { DictionaryService } from "../../service/dictionary.service";
4
+ import { CoDocument } from "@colijnit/mainapi/build/model/co-document";
5
+ import { TagTreeItem } from "@colijnit/mainapi/build/model/tag-tree-item.bo";
6
+ export declare class FilesUploadComponent extends BaseFileUploadComponent implements OnDestroy {
7
+ protected _container: ViewContainerRef;
8
+ protected _factory: ComponentFactoryResolver;
9
+ set dropzone(value: boolean);
10
+ slideoutTemplate: TemplateRef<any>;
11
+ input: ElementRef;
12
+ label: string;
13
+ cfgNames: any;
14
+ customImageClick: boolean;
15
+ isEditable: boolean;
16
+ hideAvatars: boolean;
17
+ fileSavesOnPopupOkClick: string;
18
+ selected: string;
19
+ readonly editSlideoutSubmit: EventEmitter<void>;
20
+ tagsChangeEvent: EventEmitter<TagTreeItem[]>;
21
+ imageClick: EventEmitter<CoDocument>;
22
+ showClass(): boolean;
23
+ get editable(): boolean;
24
+ get empty(): boolean;
25
+ mouseOverAdd: boolean;
26
+ slideoutShown: boolean;
27
+ isDropzone: boolean;
28
+ constructor(dictionaryService: DictionaryService, _container: ViewContainerRef, _factory: ComponentFactoryResolver);
29
+ ngOnDestroy(): void;
30
+ openFileBrowser(): Promise<void>;
31
+ handleAddClick(): void;
32
+ }
@@ -0,0 +1,2 @@
1
+ export declare class FilesUploadModule {
2
+ }
@@ -0,0 +1,49 @@
1
+ @include export-module('files-upload-layout') {
2
+ .co-files-upload {
3
+ &:not(&.empty) {
4
+ min-height: 216px; // default of single tile-render dimensions
5
+ min-width: 117px;
6
+
7
+ &.dropzone {
8
+ height: 100px;
9
+ width: 200px;
10
+ max-height: 100px;
11
+ max-width: 200px;
12
+ min-height: 0; // default of single tile-render dimensions
13
+ min-width: 0;
14
+ }
15
+ }
16
+
17
+ file-upload {
18
+ margin: 1px;
19
+ margin-bottom: 10px;
20
+ }
21
+
22
+ file-upload:not(:last-child) {
23
+ margin-right: 10px;
24
+ }
25
+
26
+ file-upload.add-file {
27
+ display: none;
28
+ }
29
+
30
+ &.editable {
31
+ file-upload.add-file {
32
+ display: block;
33
+ }
34
+ }
35
+
36
+ &.filedrag {
37
+ .drop-files-wrapper {
38
+ display: flex;
39
+ }
40
+ }
41
+ .co-drag-drop-container {
42
+ display: flex;
43
+ align-items: center;
44
+ }
45
+
46
+ }
47
+ }
48
+
49
+
@@ -0,0 +1,5 @@
1
+ @include export-module('files-upload-theme') {
2
+ .files-upload {
3
+
4
+ }
5
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/mixin";
2
+ @import "./material-definition";
3
+ @import "./layout";
4
+ @import "./theme";