@colijnit/sharedcomponents 1.0.56 → 1.0.57

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 (594) hide show
  1. package/README.md +8 -11
  2. package/bundles/colijnit-sharedcomponents.umd.js +6748 -0
  3. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -0
  4. package/colijnit-sharedcomponents.d.ts +74 -0
  5. package/colijnit-sharedcomponents.metadata.json +1 -0
  6. package/esm2015/colijnit-sharedcomponents.js +75 -0
  7. package/esm2015/lib/assets/dictionary/text.properties.js +11 -0
  8. package/esm2015/lib/components/date-planning/component/agenda/agenda-base-view.component.js +61 -0
  9. package/esm2015/lib/components/date-planning/component/agenda/agenda-day-view.component.js +36 -0
  10. package/esm2015/lib/components/date-planning/component/agenda/agenda-event.component.js +56 -0
  11. package/esm2015/lib/components/date-planning/component/agenda/agenda-events.component.js +47 -0
  12. package/esm2015/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.js +68 -0
  13. package/esm2015/lib/components/date-planning/component/agenda/agenda-header.component.js +243 -0
  14. package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-cell.component.js +36 -0
  15. package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.js +50 -0
  16. package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-view.component.js +46 -0
  17. package/esm2015/lib/components/date-planning/component/agenda/agenda-month-view.component.js +61 -0
  18. package/esm2015/lib/components/date-planning/component/agenda/agenda-select-event.component.js +39 -0
  19. package/esm2015/lib/components/date-planning/component/agenda/agenda-view.component.js +35 -0
  20. package/esm2015/lib/components/date-planning/component/agenda/agenda-week-select-view.component.js +64 -0
  21. package/esm2015/lib/components/date-planning/component/agenda/agenda-week-view.component.js +48 -0
  22. package/esm2015/lib/components/date-planning/component/agenda/view-select.component.js +42 -0
  23. package/esm2015/lib/components/date-planning/component/calendar/calendar-all-months.component.js +34 -0
  24. package/esm2015/lib/components/date-planning/component/calendar/calendar-all-years.component.js +48 -0
  25. package/esm2015/lib/components/date-planning/component/calendar/calendar-header.component.js +107 -0
  26. package/esm2015/lib/components/date-planning/component/calendar/calendar-view.component.js +178 -0
  27. package/esm2015/lib/components/date-planning/component/calendar/calendar.component.js +34 -0
  28. package/esm2015/lib/components/date-planning/date-planning.component.js +113 -0
  29. package/esm2015/lib/components/date-planning/date-planning.module.js +63 -0
  30. package/esm2015/lib/components/docsign/component/signature/signature.component.js +75 -0
  31. package/esm2015/lib/components/docsign/component/signatures/signatures.component.js +44 -0
  32. package/esm2015/lib/components/docsign/docsign.component.js +242 -0
  33. package/esm2015/lib/components/docsign/docsign.module.js +23 -0
  34. package/esm2015/lib/components/key-pad/key-pad.component.js +200 -0
  35. package/esm2015/lib/components/key-pad/key-pad.module.js +22 -0
  36. package/esm2015/lib/components/layout-switcher/layout-switcher.component.js +74 -0
  37. package/esm2015/lib/components/layout-switcher/layout-switcher.module.js +21 -0
  38. package/esm2015/lib/components/linear-gauge/co-linear-gauge.component.js +59 -0
  39. package/esm2015/lib/components/linear-gauge/co-linear-gauge.module.js +19 -0
  40. package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.js +79 -0
  41. package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.js +21 -0
  42. package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.js +85 -0
  43. package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.js +21 -0
  44. package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.js +64 -0
  45. package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.js +26 -0
  46. package/esm2015/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.js +40 -0
  47. package/esm2015/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.js +23 -0
  48. package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.js +61 -0
  49. package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.js +28 -0
  50. package/esm2015/lib/components/send-method-dialog/components/signature-button/signature-button.component.js +38 -0
  51. package/esm2015/lib/components/send-method-dialog/components/signature-button/signature-button.module.js +21 -0
  52. package/esm2015/lib/components/send-method-dialog/model/email-address-viewmodel.js +7 -0
  53. package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +258 -0
  54. package/esm2015/lib/components/send-method-dialog/send-method-dialog.module.js +35 -0
  55. package/esm2015/lib/components/send-method-dialog/send-method-params.interface.js +2 -0
  56. package/esm2015/lib/components/send-method-dialog/service/send-method.service.js +59 -0
  57. package/esm2015/lib/components/simple-tags/simple-tags.component.js +229 -0
  58. package/esm2015/lib/components/simple-tags/simple-tags.module.js +26 -0
  59. package/esm2015/lib/components/statusbar/statusbar-popup.component.js +97 -0
  60. package/esm2015/lib/components/statusbar/statusbar.component.js +81 -0
  61. package/esm2015/lib/components/statusbar/statusbar.module.js +27 -0
  62. package/esm2015/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.js +47 -0
  63. package/esm2015/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.js +47 -0
  64. package/esm2015/lib/components/stock/components/order-stock-history/order-stock-history.component.js +47 -0
  65. package/esm2015/lib/components/stock/components/order-stock-tab/order-stock-tab.component.js +47 -0
  66. package/esm2015/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.js +47 -0
  67. package/esm2015/lib/components/stock/components/order-tab/order-tab.component.js +67 -0
  68. package/esm2015/lib/components/stock/components/stock-history/stock-history.component.js +53 -0
  69. package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +240 -0
  70. package/esm2015/lib/components/stock/components/stock-prognose/stock-prognose.component.js +52 -0
  71. package/esm2015/lib/components/stock/components/stock-tab/stock-tab.component.js +41 -0
  72. package/esm2015/lib/components/stock/localization/translation.js +63 -0
  73. package/esm2015/lib/components/stock/stock-history-tabs/stock-history-tabs.component.js +33 -0
  74. package/esm2015/lib/components/stock/stock-information/stock-information.component.js +48 -0
  75. package/esm2015/lib/components/stock/stock-information-grid/stock-information-grid.component.js +457 -0
  76. package/esm2015/lib/components/stock/stock-tabs/stock-tabs.component.js +241 -0
  77. package/esm2015/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.js +2 -0
  78. package/esm2015/lib/components/stock/stock-transfer/stock-change-amount.component.js +72 -0
  79. package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +149 -0
  80. package/esm2015/lib/components/stock/stock.component.js +193 -0
  81. package/esm2015/lib/components/stock/stock.module.js +80 -0
  82. package/esm2015/lib/components/stock-statusbar/stock-statusbar.component.js +23 -0
  83. package/esm2015/lib/components/stock-statusbar/stock-statusbar.module.js +19 -0
  84. package/esm2015/lib/components/tab-bar/tab-bar.component.js +88 -0
  85. package/esm2015/lib/components/tab-bar/tab-bar.module.js +21 -0
  86. package/esm2015/lib/components/tab-bar/tab.interface.js +2 -0
  87. package/esm2015/lib/enum/calendar-view.enum.js +9 -0
  88. package/esm2015/lib/enum/gauge-color.enum.js +10 -0
  89. package/esm2015/lib/enum/icon.enum.js +38 -0
  90. package/esm2015/lib/enum/keyboard-code.enum.js +32 -0
  91. package/esm2015/lib/enum/language-code.enum.js +8 -0
  92. package/esm2015/lib/enum/month.enum.js +17 -0
  93. package/esm2015/lib/enum/thumb-three-way-state.js +19 -0
  94. package/esm2015/lib/enum/time-period.enum.js +11 -0
  95. package/esm2015/lib/localization/localization.module.js +19 -0
  96. package/esm2015/lib/localization/localize.pipe.js +26 -0
  97. package/esm2015/lib/localization/localize.service.js +30 -0
  98. package/esm2015/lib/localization/translation.js +3 -0
  99. package/esm2015/lib/model/agenda-event-per-day.model.js +6 -0
  100. package/esm2015/lib/model/agenda-event.model.js +8 -0
  101. package/esm2015/lib/model/agenda-null-objects.js +11 -0
  102. package/esm2015/lib/model/constant/all-months.js +17 -0
  103. package/esm2015/lib/model/date-range.js +5 -0
  104. package/esm2015/lib/model/day.model.js +7 -0
  105. package/esm2015/lib/model/icon-svg.js +37 -0
  106. package/esm2015/lib/model/month.model.js +11 -0
  107. package/esm2015/lib/model/send-method.js +8 -0
  108. package/esm2015/lib/model/settings.js +4 -0
  109. package/esm2015/lib/model/time-window.bo.js +26 -0
  110. package/esm2015/lib/model/week.model.js +6 -0
  111. package/esm2015/lib/model/weekday.model.js +10 -0
  112. package/esm2015/lib/pipe/array-number.pipe.js +15 -0
  113. package/esm2015/lib/pipe/master-pipes.js +7 -0
  114. package/esm2015/lib/pipe/ucfirst.pipe.js +16 -0
  115. package/esm2015/lib/service/dictionary.service.js +76 -0
  116. package/esm2015/lib/service/icon-cache.service.js +51 -0
  117. package/esm2015/lib/service/options.service.js +48 -0
  118. package/esm2015/lib/service/shared-connector.service.js +424 -0
  119. package/esm2015/lib/service/shared.service.js +60 -0
  120. package/esm2015/lib/service/stock.service.js +110 -0
  121. package/esm2015/lib/utils/calendar.utils.js +68 -0
  122. package/esm2015/lib/utils/date-utils.js +264 -0
  123. package/esm2015/lib/utils/function/not-nill.function.js +5 -0
  124. package/esm2015/lib/utils/map-utils.js +41 -0
  125. package/esm2015/lib/utils/string-utils.js +64 -0
  126. package/esm2015/public-api.js +27 -0
  127. package/fesm2015/colijnit-sharedcomponents.js +7033 -0
  128. package/fesm2015/colijnit-sharedcomponents.js.map +1 -0
  129. package/lib/assets/dictionary/text.properties.d.ts +3 -0
  130. package/lib/components/date-planning/component/agenda/agenda-base-view.component.d.ts +21 -0
  131. package/lib/components/date-planning/component/agenda/agenda-day-view.component.d.ts +7 -0
  132. package/lib/components/date-planning/component/agenda/agenda-event.component.d.ts +18 -0
  133. package/lib/components/date-planning/component/agenda/agenda-events.component.d.ts +13 -0
  134. package/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.d.ts +18 -0
  135. package/lib/components/date-planning/component/agenda/agenda-header.component.d.ts +48 -0
  136. package/lib/components/date-planning/component/agenda/agenda-hour-cell.component.d.ts +9 -0
  137. package/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.d.ts +8 -0
  138. package/lib/components/date-planning/component/agenda/agenda-hour-view.component.d.ts +7 -0
  139. package/lib/components/date-planning/component/agenda/agenda-month-view.component.d.ts +10 -0
  140. package/lib/components/date-planning/component/agenda/agenda-select-event.component.d.ts +12 -0
  141. package/lib/components/date-planning/component/agenda/agenda-view.component.d.ts +12 -0
  142. package/lib/components/date-planning/component/agenda/agenda-week-select-view.component.d.ts +10 -0
  143. package/lib/components/date-planning/component/agenda/agenda-week-view.component.d.ts +9 -0
  144. package/lib/components/date-planning/component/agenda/view-select.component.d.ts +11 -0
  145. package/lib/components/date-planning/component/calendar/calendar-all-months.component.d.ts +9 -0
  146. package/lib/components/date-planning/component/calendar/calendar-all-years.component.d.ts +9 -0
  147. package/lib/components/date-planning/component/calendar/calendar-header.component.d.ts +23 -0
  148. package/lib/components/date-planning/component/calendar/calendar-view.component.d.ts +31 -0
  149. package/lib/components/date-planning/component/calendar/calendar.component.d.ts +10 -0
  150. package/lib/components/date-planning/date-planning.component.d.ts +28 -0
  151. package/lib/components/date-planning/date-planning.module.d.ts +2 -0
  152. package/lib/components/docsign/component/signature/signature.component.d.ts +16 -0
  153. package/lib/components/docsign/component/signatures/signatures.component.d.ts +12 -0
  154. package/lib/components/docsign/docsign.component.d.ts +94 -0
  155. package/lib/components/docsign/docsign.module.d.ts +2 -0
  156. package/lib/components/key-pad/key-pad.component.d.ts +38 -0
  157. package/lib/components/key-pad/key-pad.module.d.ts +2 -0
  158. package/lib/components/layout-switcher/layout-switcher.component.d.ts +16 -0
  159. package/lib/components/layout-switcher/layout-switcher.module.d.ts +2 -0
  160. package/lib/components/linear-gauge/co-linear-gauge.component.d.ts +11 -0
  161. package/lib/components/linear-gauge/co-linear-gauge.module.d.ts +2 -0
  162. package/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.d.ts +19 -0
  163. package/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.d.ts +2 -0
  164. package/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.d.ts +19 -0
  165. package/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.d.ts +2 -0
  166. package/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.d.ts +14 -0
  167. package/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.d.ts +2 -0
  168. package/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.d.ts +8 -0
  169. package/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.d.ts +2 -0
  170. package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.d.ts +13 -0
  171. package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.d.ts +2 -0
  172. package/lib/components/send-method-dialog/components/signature-button/signature-button.component.d.ts +12 -0
  173. package/lib/components/send-method-dialog/components/signature-button/signature-button.module.d.ts +2 -0
  174. package/lib/components/send-method-dialog/model/email-address-viewmodel.d.ts +5 -0
  175. package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +71 -0
  176. package/lib/components/send-method-dialog/send-method-dialog.module.d.ts +2 -0
  177. package/lib/components/send-method-dialog/send-method-params.interface.d.ts +13 -0
  178. package/lib/components/send-method-dialog/service/send-method.service.d.ts +23 -0
  179. package/lib/components/simple-tags/simple-tags.component.d.ts +31 -0
  180. package/lib/components/simple-tags/simple-tags.module.d.ts +2 -0
  181. package/lib/components/statusbar/statusbar-popup.component.d.ts +21 -0
  182. package/lib/components/statusbar/statusbar.component.d.ts +26 -0
  183. package/lib/components/statusbar/statusbar.module.d.ts +2 -0
  184. package/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.d.ts +9 -0
  185. package/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.d.ts +9 -0
  186. package/lib/components/stock/components/order-stock-history/order-stock-history.component.d.ts +9 -0
  187. package/lib/components/stock/components/order-stock-tab/order-stock-tab.component.d.ts +11 -0
  188. package/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.d.ts +9 -0
  189. package/lib/components/stock/components/order-tab/order-tab.component.d.ts +20 -0
  190. package/lib/components/stock/components/stock-history/stock-history.component.d.ts +13 -0
  191. package/lib/components/stock/components/stock-location/stock-location.component.d.ts +50 -0
  192. package/lib/components/stock/components/stock-prognose/stock-prognose.component.d.ts +11 -0
  193. package/lib/components/stock/components/stock-tab/stock-tab.component.d.ts +9 -0
  194. package/lib/components/stock/localization/translation.d.ts +60 -0
  195. package/lib/components/stock/stock-history-tabs/stock-history-tabs.component.d.ts +7 -0
  196. package/lib/components/stock/stock-information/stock-information.component.d.ts +8 -0
  197. package/lib/components/stock/stock-information-grid/stock-information-grid.component.d.ts +75 -0
  198. package/lib/components/stock/stock-tabs/stock-tabs.component.d.ts +56 -0
  199. package/{projects/sharedcomponents/src/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.ts → lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.d.ts} +2 -2
  200. package/lib/components/stock/stock-transfer/stock-change-amount.component.d.ts +18 -0
  201. package/lib/components/stock/stock-transfer/stock-transfer.component.d.ts +42 -0
  202. package/lib/components/stock/stock.component.d.ts +57 -0
  203. package/lib/components/stock/stock.module.d.ts +2 -0
  204. package/lib/components/stock-statusbar/stock-statusbar.component.d.ts +4 -0
  205. package/lib/components/stock-statusbar/stock-statusbar.module.d.ts +2 -0
  206. package/lib/components/tab-bar/tab-bar.component.d.ts +21 -0
  207. package/lib/components/tab-bar/tab-bar.module.d.ts +2 -0
  208. package/lib/components/tab-bar/tab.interface.d.ts +5 -0
  209. package/{projects/sharedcomponents/src/lib/enum/calendar-view.enum.ts → lib/enum/calendar-view.enum.d.ts} +2 -3
  210. package/lib/enum/gauge-color.enum.d.ts +8 -0
  211. package/{projects/sharedcomponents/src/lib/enum/icon.enum.ts → lib/enum/icon.enum.d.ts} +2 -3
  212. package/lib/enum/keyboard-code.enum.d.ts +30 -0
  213. package/lib/enum/language-code.enum.d.ts +6 -0
  214. package/{projects/sharedcomponents/src/lib/enum/month.enum.ts → lib/enum/month.enum.d.ts} +1 -2
  215. package/lib/enum/thumb-three-way-state.d.ts +6 -0
  216. package/{projects/sharedcomponents/src/lib/enum/time-period.enum.ts → lib/enum/time-period.enum.d.ts} +1 -2
  217. package/lib/localization/localization.module.d.ts +2 -0
  218. package/lib/localization/localize.pipe.d.ts +7 -0
  219. package/lib/localization/localize.service.d.ts +7 -0
  220. package/lib/localization/translation.d.ts +2 -0
  221. package/lib/model/agenda-event-per-day.model.d.ts +5 -0
  222. package/lib/model/agenda-event.model.d.ts +17 -0
  223. package/lib/model/agenda-null-objects.d.ts +10 -0
  224. package/lib/model/constant/all-months.d.ts +2 -0
  225. package/lib/model/date-range.d.ts +7 -0
  226. package/lib/model/day.model.d.ts +8 -0
  227. package/lib/model/icon-svg.d.ts +4 -0
  228. package/lib/model/month.model.d.ts +5 -0
  229. package/lib/model/send-method.d.ts +7 -0
  230. package/lib/model/settings.d.ts +3 -0
  231. package/lib/model/time-window.bo.d.ts +13 -0
  232. package/lib/model/week.model.d.ts +4 -0
  233. package/lib/model/weekday.model.d.ts +16 -0
  234. package/lib/pipe/array-number.pipe.d.ts +4 -0
  235. package/lib/pipe/master-pipes.d.ts +1 -0
  236. package/lib/pipe/ucfirst.pipe.d.ts +4 -0
  237. package/lib/service/dictionary.service.d.ts +21 -0
  238. package/lib/service/icon-cache.service.d.ts +18 -0
  239. package/lib/service/options.service.d.ts +13 -0
  240. package/lib/service/shared-connector.service.d.ts +53 -0
  241. package/lib/service/shared.service.d.ts +18 -0
  242. package/lib/service/stock.service.d.ts +41 -0
  243. package/lib/utils/calendar.utils.d.ts +10 -0
  244. package/lib/utils/date-utils.d.ts +44 -0
  245. package/lib/utils/function/not-nill.function.d.ts +1 -0
  246. package/lib/utils/map-utils.d.ts +16 -0
  247. package/lib/utils/string-utils.d.ts +22 -0
  248. package/package.json +31 -68
  249. package/{projects/sharedcomponents/src/public-api.ts → public-api.d.ts} +0 -4
  250. package/.browserslistrc +0 -16
  251. package/.editorconfig +0 -16
  252. package/.vscode/extensions.json +0 -4
  253. package/.vscode/launch.json +0 -20
  254. package/.vscode/tasks.json +0 -42
  255. package/Sharedcomponents.iml +0 -11
  256. package/angular.json +0 -177
  257. package/custom-login-bundle.webpack.config.js +0 -3
  258. package/karma.conf.js +0 -44
  259. package/move-assets.js +0 -14
  260. package/projects/sharedcomponents/.browserslistrc +0 -16
  261. package/projects/sharedcomponents/README.md +0 -24
  262. package/projects/sharedcomponents/karma.conf.js +0 -44
  263. package/projects/sharedcomponents/ng-package.json +0 -17
  264. package/projects/sharedcomponents/package.json +0 -23
  265. package/projects/sharedcomponents/src/lib/assets/dictionary/text.properties.ts +0 -8
  266. package/projects/sharedcomponents/src/lib/assets/icons/account.svg +0 -1
  267. package/projects/sharedcomponents/src/lib/assets/icons/angle_left_solid.svg +0 -1
  268. package/projects/sharedcomponents/src/lib/assets/icons/angle_right_solid.svg +0 -1
  269. package/projects/sharedcomponents/src/lib/assets/icons/arrow_fat_right.svg +0 -1
  270. package/projects/sharedcomponents/src/lib/assets/icons/arrow_point_left.svg +0 -8
  271. package/projects/sharedcomponents/src/lib/assets/icons/arrow_point_right.svg +0 -4
  272. package/projects/sharedcomponents/src/lib/assets/icons/at_solid.svg +0 -1
  273. package/projects/sharedcomponents/src/lib/assets/icons/bring_forward_regular.svg +0 -1
  274. package/projects/sharedcomponents/src/lib/assets/icons/check_duotone.svg +0 -1
  275. package/projects/sharedcomponents/src/lib/assets/icons/check_round.svg +0 -1
  276. package/projects/sharedcomponents/src/lib/assets/icons/cross_skinny.svg +0 -1
  277. package/projects/sharedcomponents/src/lib/assets/icons/delete_left_regular.svg +0 -1
  278. package/projects/sharedcomponents/src/lib/assets/icons/delivery_truck.svg +0 -12
  279. package/projects/sharedcomponents/src/lib/assets/icons/email.svg +0 -5
  280. package/projects/sharedcomponents/src/lib/assets/icons/envelope_regular.svg +0 -1
  281. package/projects/sharedcomponents/src/lib/assets/icons/eye_regular.svg +0 -1
  282. package/projects/sharedcomponents/src/lib/assets/icons/file_export_regular.svg +0 -1
  283. package/projects/sharedcomponents/src/lib/assets/icons/file_export_solid.svg +0 -1
  284. package/projects/sharedcomponents/src/lib/assets/icons/file_pdf_regular.svg +0 -1
  285. package/projects/sharedcomponents/src/lib/assets/icons/file_pdf_solid.svg +0 -1
  286. package/projects/sharedcomponents/src/lib/assets/icons/file_signature_regular.svg +0 -1
  287. package/projects/sharedcomponents/src/lib/assets/icons/house_blank_regular.svg +0 -1
  288. package/projects/sharedcomponents/src/lib/assets/icons/lock.svg +0 -1
  289. package/projects/sharedcomponents/src/lib/assets/icons/message_sms_regular.svg +0 -1
  290. package/projects/sharedcomponents/src/lib/assets/icons/message_sms_solid.svg +0 -1
  291. package/projects/sharedcomponents/src/lib/assets/icons/pdf.svg +0 -15
  292. package/projects/sharedcomponents/src/lib/assets/icons/print.svg +0 -10
  293. package/projects/sharedcomponents/src/lib/assets/icons/print_regular.svg +0 -1
  294. package/projects/sharedcomponents/src/lib/assets/icons/print_solid.svg +0 -1
  295. package/projects/sharedcomponents/src/lib/assets/icons/signature_field.svg +0 -9
  296. package/projects/sharedcomponents/src/lib/assets/icons/tag_regular.svg +0 -1
  297. package/projects/sharedcomponents/src/lib/assets/icons/x_solid.svg +0 -1
  298. package/projects/sharedcomponents/src/lib/assets/icons/xml.svg +0 -1
  299. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-base-view.component.ts +0 -68
  300. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-day-view.component.ts +0 -35
  301. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-event.component.ts +0 -73
  302. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-events.component.ts +0 -53
  303. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.ts +0 -81
  304. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-header.component.ts +0 -275
  305. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-hour-cell.component.ts +0 -38
  306. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.ts +0 -50
  307. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-hour-view.component.ts +0 -46
  308. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-month-view.component.ts +0 -65
  309. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-select-event.component.ts +0 -39
  310. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-view.component.ts +0 -41
  311. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-week-select-view.component.ts +0 -63
  312. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-week-view.component.ts +0 -50
  313. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/view-select.component.ts +0 -43
  314. package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-all-months.component.ts +0 -37
  315. package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-all-years.component.ts +0 -52
  316. package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-header.component.ts +0 -123
  317. package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-view.component.ts +0 -200
  318. package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar.component.ts +0 -35
  319. package/projects/sharedcomponents/src/lib/components/date-planning/date-planning.component.ts +0 -141
  320. package/projects/sharedcomponents/src/lib/components/date-planning/date-planning.module.ts +0 -61
  321. package/projects/sharedcomponents/src/lib/components/docsign/component/signature/signature.component.ts +0 -82
  322. package/projects/sharedcomponents/src/lib/components/docsign/component/signatures/signatures.component.ts +0 -50
  323. package/projects/sharedcomponents/src/lib/components/docsign/docsign.component.ts +0 -270
  324. package/projects/sharedcomponents/src/lib/components/docsign/docsign.module.ts +0 -22
  325. package/projects/sharedcomponents/src/lib/components/key-pad/key-pad.component.ts +0 -216
  326. package/projects/sharedcomponents/src/lib/components/key-pad/key-pad.module.ts +0 -20
  327. package/projects/sharedcomponents/src/lib/components/layout-switcher/layout-switcher.component.ts +0 -98
  328. package/projects/sharedcomponents/src/lib/components/layout-switcher/layout-switcher.module.ts +0 -21
  329. package/projects/sharedcomponents/src/lib/components/linear-gauge/co-linear-gauge.component.ts +0 -57
  330. package/projects/sharedcomponents/src/lib/components/linear-gauge/co-linear-gauge.module.ts +0 -17
  331. package/projects/sharedcomponents/src/lib/components/login/components/login-base.component.ts +0 -98
  332. package/projects/sharedcomponents/src/lib/components/login/components/login-change-password.component.ts +0 -194
  333. package/projects/sharedcomponents/src/lib/components/login/components/login-mfa-code-entry.component.ts +0 -41
  334. package/projects/sharedcomponents/src/lib/components/login/components/login-mfa-code-setup.component.ts +0 -44
  335. package/projects/sharedcomponents/src/lib/components/login/components/login-username-password.component.ts +0 -167
  336. package/projects/sharedcomponents/src/lib/components/login/localization/login-translation.ts +0 -15
  337. package/projects/sharedcomponents/src/lib/components/login/login.component.ts +0 -137
  338. package/projects/sharedcomponents/src/lib/components/login/login.module.ts +0 -53
  339. package/projects/sharedcomponents/src/lib/components/login/service/login-adapter.service.ts +0 -58
  340. package/projects/sharedcomponents/src/lib/components/login/service/login.service.ts +0 -50
  341. package/projects/sharedcomponents/src/lib/components/screen-config-generator/enums/field-type.enum.ts +0 -9
  342. package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Config.ts +0 -6
  343. package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Field.ts +0 -8
  344. package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Header.ts +0 -8
  345. package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Module.ts +0 -6
  346. package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Rubric.ts +0 -10
  347. package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/ScreenConfig.ts +0 -9
  348. package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/SubCat.ts +0 -9
  349. package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/SubRubric.ts +0 -8
  350. package/projects/sharedcomponents/src/lib/components/screen-config-generator/screen-config-generator.component.ts +0 -539
  351. package/projects/sharedcomponents/src/lib/components/screen-config-generator/screen-config-generator.module.ts +0 -21
  352. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.ts +0 -91
  353. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.ts +0 -19
  354. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.ts +0 -84
  355. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.ts +0 -19
  356. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.ts +0 -63
  357. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.ts +0 -24
  358. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.ts +0 -38
  359. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.ts +0 -21
  360. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.ts +0 -60
  361. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.ts +0 -26
  362. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/signature-button/signature-button.component.ts +0 -42
  363. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/signature-button/signature-button.module.ts +0 -19
  364. package/projects/sharedcomponents/src/lib/components/send-method-dialog/model/email-address-viewmodel.ts +0 -9
  365. package/projects/sharedcomponents/src/lib/components/send-method-dialog/send-method-dialog.component.ts +0 -325
  366. package/projects/sharedcomponents/src/lib/components/send-method-dialog/send-method-dialog.module.ts +0 -32
  367. package/projects/sharedcomponents/src/lib/components/send-method-dialog/send-method-params.interface.ts +0 -13
  368. package/projects/sharedcomponents/src/lib/components/send-method-dialog/service/send-method.service.ts +0 -63
  369. package/projects/sharedcomponents/src/lib/components/simple-tags/simple-tags.component.ts +0 -243
  370. package/projects/sharedcomponents/src/lib/components/simple-tags/simple-tags.module.ts +0 -24
  371. package/projects/sharedcomponents/src/lib/components/statusbar/statusbar-popup.component.ts +0 -100
  372. package/projects/sharedcomponents/src/lib/components/statusbar/statusbar.component.ts +0 -107
  373. package/projects/sharedcomponents/src/lib/components/statusbar/statusbar.module.ts +0 -25
  374. package/projects/sharedcomponents/src/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.ts +0 -45
  375. package/projects/sharedcomponents/src/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.ts +0 -45
  376. package/projects/sharedcomponents/src/lib/components/stock/components/order-stock-history/order-stock-history.component.ts +0 -45
  377. package/projects/sharedcomponents/src/lib/components/stock/components/order-stock-tab/order-stock-tab.component.ts +0 -43
  378. package/projects/sharedcomponents/src/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.ts +0 -45
  379. package/projects/sharedcomponents/src/lib/components/stock/components/order-tab/order-tab.component.ts +0 -71
  380. package/projects/sharedcomponents/src/lib/components/stock/components/stock-history/stock-history.component.ts +0 -52
  381. package/projects/sharedcomponents/src/lib/components/stock/components/stock-location/stock-location.component.ts +0 -276
  382. package/projects/sharedcomponents/src/lib/components/stock/components/stock-prognose/stock-prognose.component.ts +0 -49
  383. package/projects/sharedcomponents/src/lib/components/stock/components/stock-tab/stock-tab.component.ts +0 -40
  384. package/projects/sharedcomponents/src/lib/components/stock/localization/translation.ts +0 -60
  385. package/projects/sharedcomponents/src/lib/components/stock/stock-history-tabs/stock-history-tabs.component.ts +0 -32
  386. package/projects/sharedcomponents/src/lib/components/stock/stock-information/stock-information.component.ts +0 -56
  387. package/projects/sharedcomponents/src/lib/components/stock/stock-information-grid/stock-information-grid.component.ts +0 -500
  388. package/projects/sharedcomponents/src/lib/components/stock/stock-tabs/stock-tabs.component.ts +0 -276
  389. package/projects/sharedcomponents/src/lib/components/stock/stock-transfer/stock-change-amount.component.ts +0 -77
  390. package/projects/sharedcomponents/src/lib/components/stock/stock-transfer/stock-transfer.component.ts +0 -178
  391. package/projects/sharedcomponents/src/lib/components/stock/stock.component.ts +0 -228
  392. package/projects/sharedcomponents/src/lib/components/stock/stock.module.ts +0 -97
  393. package/projects/sharedcomponents/src/lib/components/stock-statusbar/stock-statusbar.component.ts +0 -23
  394. package/projects/sharedcomponents/src/lib/components/stock-statusbar/stock-statusbar.module.ts +0 -17
  395. package/projects/sharedcomponents/src/lib/components/tab-bar/tab-bar.component.ts +0 -106
  396. package/projects/sharedcomponents/src/lib/components/tab-bar/tab-bar.module.ts +0 -20
  397. package/projects/sharedcomponents/src/lib/components/tab-bar/tab.interface.ts +0 -5
  398. package/projects/sharedcomponents/src/lib/components/tags/component/tag-join-label/tag-join-label.component.ts +0 -61
  399. package/projects/sharedcomponents/src/lib/components/tags/component/tag-label/tag-label.component.ts +0 -47
  400. package/projects/sharedcomponents/src/lib/components/tags/component/treeview/model/tree-view-node-item.ts +0 -132
  401. package/projects/sharedcomponents/src/lib/components/tags/component/treeview/treeview.component.ts +0 -258
  402. package/projects/sharedcomponents/src/lib/components/tags/tags.component.ts +0 -192
  403. package/projects/sharedcomponents/src/lib/components/tags/tags.module.ts +0 -27
  404. package/projects/sharedcomponents/src/lib/directives/click-outside.directive.ts +0 -25
  405. package/projects/sharedcomponents/src/lib/enum/gauge-color.enum.ts +0 -8
  406. package/projects/sharedcomponents/src/lib/enum/keyboard-code.enum.ts +0 -30
  407. package/projects/sharedcomponents/src/lib/enum/language-code.enum.ts +0 -6
  408. package/projects/sharedcomponents/src/lib/enum/login-component-extra-action-type.enum.ts +0 -4
  409. package/projects/sharedcomponents/src/lib/enum/login-component-page.type.enum.ts +0 -6
  410. package/projects/sharedcomponents/src/lib/enum/login-component-query-variables-name.enum.ts +0 -5
  411. package/projects/sharedcomponents/src/lib/enum/tag-category.enum.ts +0 -20
  412. package/projects/sharedcomponents/src/lib/enum/thumb-three-way-state.ts +0 -18
  413. package/projects/sharedcomponents/src/lib/localization/localization.module.ts +0 -17
  414. package/projects/sharedcomponents/src/lib/localization/localize.pipe.ts +0 -21
  415. package/projects/sharedcomponents/src/lib/localization/localize.service.ts +0 -28
  416. package/projects/sharedcomponents/src/lib/localization/translation.ts +0 -2
  417. package/projects/sharedcomponents/src/lib/model/agenda-event-per-day.model.ts +0 -6
  418. package/projects/sharedcomponents/src/lib/model/agenda-event.model.ts +0 -19
  419. package/projects/sharedcomponents/src/lib/model/agenda-null-objects.ts +0 -11
  420. package/projects/sharedcomponents/src/lib/model/constant/all-months.ts +0 -17
  421. package/projects/sharedcomponents/src/lib/model/date-range.ts +0 -10
  422. package/projects/sharedcomponents/src/lib/model/day.model.ts +0 -9
  423. package/projects/sharedcomponents/src/lib/model/icon-svg.ts +0 -37
  424. package/projects/sharedcomponents/src/lib/model/month.model.ts +0 -11
  425. package/projects/sharedcomponents/src/lib/model/send-method.ts +0 -13
  426. package/projects/sharedcomponents/src/lib/model/settings.ts +0 -5
  427. package/projects/sharedcomponents/src/lib/model/tag-tree-item.bo.ts +0 -28
  428. package/projects/sharedcomponents/src/lib/model/time-window.bo.ts +0 -21
  429. package/projects/sharedcomponents/src/lib/model/tree-object.ts +0 -13
  430. package/projects/sharedcomponents/src/lib/model/tree-view-default.model.ts +0 -107
  431. package/projects/sharedcomponents/src/lib/model/tree-view-node-default.model.ts +0 -196
  432. package/projects/sharedcomponents/src/lib/model/tree-view-node-item-options.model.ts +0 -12
  433. package/projects/sharedcomponents/src/lib/model/tree-view-node.model.ts +0 -150
  434. package/projects/sharedcomponents/src/lib/model/tree-view.model.ts +0 -57
  435. package/projects/sharedcomponents/src/lib/model/week.model.ts +0 -5
  436. package/projects/sharedcomponents/src/lib/model/weekday.model.ts +0 -17
  437. package/projects/sharedcomponents/src/lib/pipe/array-number.pipe.ts +0 -14
  438. package/projects/sharedcomponents/src/lib/pipe/master-pipes.ts +0 -7
  439. package/projects/sharedcomponents/src/lib/pipe/ucfirst.pipe.ts +0 -14
  440. package/projects/sharedcomponents/src/lib/service/dictionary.service.ts +0 -86
  441. package/projects/sharedcomponents/src/lib/service/icon-cache.service.ts +0 -51
  442. package/projects/sharedcomponents/src/lib/service/options.service.ts +0 -43
  443. package/projects/sharedcomponents/src/lib/service/shared-connector.service.ts +0 -401
  444. package/projects/sharedcomponents/src/lib/service/shared-initializer.service.ts +0 -29
  445. package/projects/sharedcomponents/src/lib/service/shared.service.ts +0 -49
  446. package/projects/sharedcomponents/src/lib/service/stock.service.ts +0 -124
  447. package/projects/sharedcomponents/src/lib/utils/array-utils.ts +0 -225
  448. package/projects/sharedcomponents/src/lib/utils/calendar.utils.ts +0 -75
  449. package/projects/sharedcomponents/src/lib/utils/check-precision-and-scale-result.ts +0 -5
  450. package/projects/sharedcomponents/src/lib/utils/check-within-stepped-bounds-result.ts +0 -8
  451. package/projects/sharedcomponents/src/lib/utils/css-utils.ts +0 -275
  452. package/projects/sharedcomponents/src/lib/utils/date-utils.ts +0 -302
  453. package/projects/sharedcomponents/src/lib/utils/function/not-nill.function.ts +0 -4
  454. package/projects/sharedcomponents/src/lib/utils/is-nill.function.ts +0 -4
  455. package/projects/sharedcomponents/src/lib/utils/map-utils.ts +0 -44
  456. package/projects/sharedcomponents/src/lib/utils/number-utils.ts +0 -439
  457. package/projects/sharedcomponents/src/lib/utils/object-utils.ts +0 -310
  458. package/projects/sharedcomponents/src/lib/utils/string-utils.ts +0 -67
  459. package/projects/sharedcomponents/src/lib/utils/tree-utils.ts +0 -63
  460. package/projects/sharedcomponents/src/test.ts +0 -27
  461. package/projects/sharedcomponents/tsconfig.lib.json +0 -18
  462. package/projects/sharedcomponents/tsconfig.lib.prod.json +0 -10
  463. package/projects/sharedcomponents/tsconfig.spec.json +0 -17
  464. package/script/create-bundle-version.js +0 -19
  465. package/script/merge-icons.js +0 -39
  466. package/src/app/app.component.scss +0 -31
  467. package/src/app/app.component.spec.ts +0 -31
  468. package/src/app/app.component.ts +0 -454
  469. package/src/app/app.module.ts +0 -69
  470. package/src/app/bundle/index.html +0 -14
  471. package/src/app/bundle/login/login-bundle.component.scss +0 -6
  472. package/src/app/bundle/login/login-bundle.component.ts +0 -111
  473. package/src/app/bundle/login/login-bundle.module.ts +0 -30
  474. package/src/app/bundle/main-login-bundle.ts +0 -11
  475. package/src/app/bundle/polyfills.ts +0 -63
  476. package/src/app/test-data.service.ts +0 -60
  477. package/src/assets/.gitkeep +0 -0
  478. package/src/environments/environment.bundle.prod.ts +0 -3
  479. package/src/environments/environment.prod.ts +0 -3
  480. package/src/environments/environment.ts +0 -16
  481. package/src/favicon.ico +0 -0
  482. package/src/index.html +0 -13
  483. package/src/main.ts +0 -12
  484. package/src/polyfills.ts +0 -53
  485. package/src/styles.scss +0 -54
  486. package/src/test.ts +0 -26
  487. package/tsconfig.app.json +0 -15
  488. package/tsconfig.bundle.json +0 -38
  489. package/tsconfig.json +0 -64
  490. package/tsconfig.spec.json +0 -18
  491. package/webpack.login.bundle.config.js +0 -32
  492. /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/agenda/style/_layout.scss +0 -0
  493. /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/agenda/style/_material-definition.scss +0 -0
  494. /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/agenda/style/_theme.scss +0 -0
  495. /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/agenda/style/material.scss +0 -0
  496. /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/calendar/style/_layout.scss +0 -0
  497. /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/calendar/style/_material-definition.scss +0 -0
  498. /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/calendar/style/_theme.scss +0 -0
  499. /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/calendar/style/material.scss +0 -0
  500. /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/style/_layout.scss +0 -0
  501. /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/style/_material-definition.scss +0 -0
  502. /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/style/_theme.scss +0 -0
  503. /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/style/material.scss +0 -0
  504. /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signature/style/_layout.scss +0 -0
  505. /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signature/style/_material-definition.scss +0 -0
  506. /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signature/style/_theme.scss +0 -0
  507. /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signature/style/material.scss +0 -0
  508. /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signatures/style/_layout.scss +0 -0
  509. /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signatures/style/_material-definition.scss +0 -0
  510. /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signatures/style/_theme.scss +0 -0
  511. /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signatures/style/material.scss +0 -0
  512. /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/style/_layout.scss +0 -0
  513. /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/style/_material-definition.scss +0 -0
  514. /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/style/_theme.scss +0 -0
  515. /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/style/material.scss +0 -0
  516. /package/{projects/sharedcomponents/src/lib → lib}/components/key-pad/style/_layout.scss +0 -0
  517. /package/{projects/sharedcomponents/src/lib → lib}/components/key-pad/style/_material-definition.scss +0 -0
  518. /package/{projects/sharedcomponents/src/lib → lib}/components/key-pad/style/_theme.scss +0 -0
  519. /package/{projects/sharedcomponents/src/lib → lib}/components/key-pad/style/material.scss +0 -0
  520. /package/{projects/sharedcomponents/src/lib → lib}/components/layout-switcher/style/_layout.scss +0 -0
  521. /package/{projects/sharedcomponents/src/lib → lib}/components/layout-switcher/style/_material-definition.scss +0 -0
  522. /package/{projects/sharedcomponents/src/lib → lib}/components/layout-switcher/style/_theme.scss +0 -0
  523. /package/{projects/sharedcomponents/src/lib → lib}/components/layout-switcher/style/material.scss +0 -0
  524. /package/{projects/sharedcomponents/src/lib → lib}/components/linear-gauge/style/_layout.scss +0 -0
  525. /package/{projects/sharedcomponents/src/lib → lib}/components/linear-gauge/style/_material-definition.scss +0 -0
  526. /package/{projects/sharedcomponents/src/lib → lib}/components/linear-gauge/style/_theme.scss +0 -0
  527. /package/{projects/sharedcomponents/src/lib → lib}/components/linear-gauge/style/material.scss +0 -0
  528. /package/{projects/sharedcomponents/src/lib → lib}/components/login/style/_layout.scss +0 -0
  529. /package/{projects/sharedcomponents/src/lib → lib}/components/login/style/_material-definition.scss +0 -0
  530. /package/{projects/sharedcomponents/src/lib → lib}/components/login/style/_theme.scss +0 -0
  531. /package/{projects/sharedcomponents/src/lib → lib}/components/login/style/material.scss +0 -0
  532. /package/{projects/sharedcomponents/src/lib → lib}/components/screen-config-generator/style/_layout.scss +0 -0
  533. /package/{projects/sharedcomponents/src/lib → lib}/components/screen-config-generator/style/_material-definition.scss +0 -0
  534. /package/{projects/sharedcomponents/src/lib → lib}/components/screen-config-generator/style/_theme.scss +0 -0
  535. /package/{projects/sharedcomponents/src/lib → lib}/components/screen-config-generator/style/material.scss +0 -0
  536. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/layout-selection/style/_layout.scss +0 -0
  537. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/layout-selection/style/_material-definition.scss +0 -0
  538. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/layout-selection/style/_theme.scss +0 -0
  539. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/layout-selection/style/material.scss +0 -0
  540. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/printer-selection/style/_layout.scss +0 -0
  541. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/printer-selection/style/_material-definition.scss +0 -0
  542. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/printer-selection/style/_theme.scss +0 -0
  543. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/printer-selection/style/material.scss +0 -0
  544. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-email/style/_layout.scss +0 -0
  545. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-email/style/_material-definition.scss +0 -0
  546. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-email/style/_theme.scss +0 -0
  547. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-email/style/material.scss +0 -0
  548. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-pdf/style/_layout.scss +0 -0
  549. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-pdf/style/_material-definition.scss +0 -0
  550. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-pdf/style/_theme.scss +0 -0
  551. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-pdf/style/material.scss +0 -0
  552. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-printer/style/_layout.scss +0 -0
  553. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-printer/style/_material-definition.scss +0 -0
  554. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-printer/style/_theme.scss +0 -0
  555. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-printer/style/material.scss +0 -0
  556. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/signature-button/style/_layout.scss +0 -0
  557. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/signature-button/style/_material-definition.scss +0 -0
  558. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/signature-button/style/_theme.scss +0 -0
  559. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/signature-button/style/material.scss +0 -0
  560. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/style/_layout.scss +0 -0
  561. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/style/_material-definition.scss +0 -0
  562. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/style/_theme.scss +0 -0
  563. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/style/material.scss +0 -0
  564. /package/{projects/sharedcomponents/src/lib → lib}/components/simple-tags/style/_layout.scss +0 -0
  565. /package/{projects/sharedcomponents/src/lib → lib}/components/simple-tags/style/_material-definition.scss +0 -0
  566. /package/{projects/sharedcomponents/src/lib → lib}/components/simple-tags/style/_theme.scss +0 -0
  567. /package/{projects/sharedcomponents/src/lib → lib}/components/simple-tags/style/material.scss +0 -0
  568. /package/{projects/sharedcomponents/src/lib → lib}/components/statusbar/style/_layout.scss +0 -0
  569. /package/{projects/sharedcomponents/src/lib → lib}/components/statusbar/style/_material-definition.scss +0 -0
  570. /package/{projects/sharedcomponents/src/lib → lib}/components/statusbar/style/_theme.scss +0 -0
  571. /package/{projects/sharedcomponents/src/lib → lib}/components/statusbar/style/material.scss +0 -0
  572. /package/{projects/sharedcomponents/src/lib → lib}/components/stock/style/_layout.scss +0 -0
  573. /package/{projects/sharedcomponents/src/lib → lib}/components/stock/style/_material-definition.scss +0 -0
  574. /package/{projects/sharedcomponents/src/lib → lib}/components/stock/style/_theme.scss +0 -0
  575. /package/{projects/sharedcomponents/src/lib → lib}/components/stock/style/material.scss +0 -0
  576. /package/{projects/sharedcomponents/src/lib → lib}/components/stock-statusbar/style/_layout.scss +0 -0
  577. /package/{projects/sharedcomponents/src/lib → lib}/components/stock-statusbar/style/_material-definition.scss +0 -0
  578. /package/{projects/sharedcomponents/src/lib → lib}/components/stock-statusbar/style/_theme.scss +0 -0
  579. /package/{projects/sharedcomponents/src/lib → lib}/components/stock-statusbar/style/material.scss +0 -0
  580. /package/{projects/sharedcomponents/src/lib → lib}/components/tab-bar/style/_layout.scss +0 -0
  581. /package/{projects/sharedcomponents/src/lib → lib}/components/tab-bar/style/_material-definition.scss +0 -0
  582. /package/{projects/sharedcomponents/src/lib → lib}/components/tab-bar/style/_theme.scss +0 -0
  583. /package/{projects/sharedcomponents/src/lib → lib}/components/tab-bar/style/material.scss +0 -0
  584. /package/{projects/sharedcomponents/src/lib → lib}/components/tags/component/style/_layout.scss +0 -0
  585. /package/{projects/sharedcomponents/src/lib → lib}/components/tags/component/style/_material-definition.scss +0 -0
  586. /package/{projects/sharedcomponents/src/lib → lib}/components/tags/component/style/_theme.scss +0 -0
  587. /package/{projects/sharedcomponents/src/lib → lib}/components/tags/component/style/material.scss +0 -0
  588. /package/{projects/sharedcomponents/src/lib → lib}/components/tags/component/tag-join-label/style/_layout.scss +0 -0
  589. /package/{projects/sharedcomponents/src/lib → lib}/components/tags/component/tag-join-label/style/_material-definition.scss +0 -0
  590. /package/{projects/sharedcomponents/src/lib → lib}/components/tags/component/tag-join-label/style/_theme.scss +0 -0
  591. /package/{projects/sharedcomponents/src/lib → lib}/components/tags/component/tag-join-label/style/material.scss +0 -0
  592. /package/{projects/sharedcomponents/src/lib → lib}/style/_mixin.scss +0 -0
  593. /package/{projects/sharedcomponents/src/lib → lib}/style/_variables.scss +0 -0
  594. /package/{projects/sharedcomponents/src/lib → lib}/style/sharedcomponents-globals.scss +0 -0
@@ -1,276 +0,0 @@
1
- import {ChangeDetectorRef, Component, EventEmitter, Input, OnInit, Output, ViewEncapsulation} from '@angular/core';
2
- import {Icon} from "../../../enum/icon.enum";
3
- import {ArticleStock as ArticleStockBo} from "@colijnit/articleapi/build/model/article-stock.bo";
4
- import {GetStockHistoryRequest} from "@colijnit/articleapi/build/model/get-stock-history-request";
5
- import {StockService} from "../../../service/stock.service";
6
- import {StockHistoryBo} from "@colijnit/articleapi/build/model/stock-history.bo";
7
- import {Tab} from "../../tab-bar/tab.interface";
8
- import {ArticleTransaction} from "@colijnit/articleapi/build/model/article-transaction";
9
- import {ArticleTransaction as ArticleTransactionBo} from "@colijnit/articleapi/build/model/article-transaction.bo";
10
- import {StockManagementWarehouses} from "@colijnit/articleapi/build/model/stock-management-warehouses.bo";
11
- import {PrintPriceStickers} from "@colijnit/sharedapi/build/model/print-price-stickers.bo";
12
- import {StockForecast} from "@colijnit/articleapi/build/model/stock-forecast.bo";
13
- import {ArticleStockManagement} from "@colijnit/articleapi/build/model/article-stock-management";
14
- import {ArticleDetailsBo} from "@colijnit/articleapi/build/model/article-details.bo";
15
- import {LocalizeService} from '../../../localization/localize.service';
16
- import {ArticleExtended} from "@colijnit/articleapi/build/model/article-extended.bo";
17
- import {ArticleFlat} from "@colijnit/articleapi/build/model/article-flat.bo";
18
-
19
- @Component({
20
- selector: "co-stock-tabs",
21
- template: `
22
- <co-tab-bar [wareHouseLabel]="'CHOICES' | localize"
23
- [wareHouseSearchLabel]="'SEARCH' | localize"
24
- [tabs]="tabs"
25
- [dataWareHouseCode]="warehouses"
26
- [selectedWarehouse]="selectedWarehouse"
27
- [secondaryTabs]="historyTabs"
28
- [ActivateSecondaryTabs]="tabs[5].active"
29
- [showWarehouseSelection]="tabs[1].active || tabs[2].active"
30
- (warehouseSelected)="handleWarehouseSelected($event)"
31
- ></co-tab-bar>
32
-
33
- <co-stock-tab *ngIf="tabs[0].active"
34
- [articleStockInformation]="stockInformation"
35
- (locationClicked)="handleLocationClicked($event)"
36
- ></co-stock-tab>
37
-
38
- <co-stock-prognose *ngIf="tabs[1].active"
39
- [stockPrognose]="stockPrognose"
40
- ></co-stock-prognose>
41
-
42
- <co-stock-location *ngIf="tabs[2].active"
43
- [articleStockInfo]="articleDetails"
44
- [articleStockInformation]="stockInformation"
45
- [article]="article"
46
- [articleFlat]="articleFlat"
47
- [selectedWarehouse]="selectedWarehouse"
48
- [dataWareHouseCode]="warehouses"
49
- (transferIconClicked)="transferIconClicked.emit($event)"
50
- (sendMethodDialogClicked)="sendMethodDialogClicked.emit($event)"
51
-
52
- ></co-stock-location>
53
-
54
- <co-order-tab *ngIf="tabs[3].active"
55
- [articleStockInformation]="stockInformation"
56
- [inOrderInformation]="inOrderInformation"
57
- (transferIconClicked)="transferIconClicked.emit($event)"
58
- (sendMethodDialogClicked)="sendMethodDialogClicked.emit($event)"
59
- ></co-order-tab>
60
-
61
- <co-order-stock-tab *ngIf="tabs[4].active"
62
- [orderInformation]="orderInformation"
63
- ></co-order-stock-tab>
64
-
65
- <co-stock-history *ngIf="historyTabs[0].active && tabs[5].active"
66
- [stockHistory]="stockHistory"
67
- ></co-stock-history>
68
-
69
- <co-order-supply-stock-history *ngIf="historyTabs[1].active && tabs[5].active"
70
- [orderSupplyStockHistory]="orderSupplyStockHistory"
71
- ></co-order-supply-stock-history>
72
-
73
- <co-order-stock-commission-history *ngIf="historyTabs[2].active && tabs[5].active"
74
- [orderStockCommissionHistory]="orderCommissionStockHistory"
75
- ></co-order-stock-commission-history>
76
-
77
- <co-order-stock-history *ngIf="historyTabs[3].active && tabs[5].active"
78
- [orderStockHistory]="orderStockHistory"
79
- ></co-order-stock-history>
80
-
81
- <co-allocation-stock-history *ngIf="historyTabs[4].active && tabs[5].active"
82
- [allocationStockHistory]="orderAllocationStockHistory"
83
- ></co-allocation-stock-history>
84
-
85
- `,
86
- encapsulation: ViewEncapsulation.None
87
- })
88
- export class StockTabsComponent implements OnInit {
89
- public readonly icons: typeof Icon = Icon;
90
-
91
- @Input()
92
- public stockInformation: ArticleStockBo[] = [];
93
-
94
- @Input()
95
- public article: ArticleExtended;
96
-
97
- @Input()
98
- public articleFlat: ArticleFlat;
99
-
100
-
101
- @Input()
102
- public warehouses: StockManagementWarehouses[] = [];
103
-
104
- @Output()
105
- public readonly transferIconClicked: EventEmitter<ArticleStockBo> = new EventEmitter();
106
-
107
- @Output()
108
- public readonly sendMethodDialogClicked: EventEmitter<PrintPriceStickers> = new EventEmitter();
109
-
110
-
111
- public selectedLocationNo: string;
112
- public stockHistory: StockHistoryBo[] = [];
113
- public orderSupplyStockHistory: StockHistoryBo[] = [];
114
- public orderCommissionStockHistory: StockHistoryBo[] = [];
115
- public orderStockHistory: StockHistoryBo[] = [];
116
- public orderAllocationStockHistory: StockHistoryBo[] = [];
117
- public inOrderInformation: ArticleTransactionBo[] = [];
118
- public orderInformation: ArticleTransactionBo[] = [];
119
- public stockPrognose: StockForecast[] = [];
120
- public selectedWarehouse: StockManagementWarehouses;
121
- public articleDetailsInformation: ArticleStockManagement = new ArticleStockManagement()
122
- public showWarehouseSelection: boolean = false;
123
- public articleDetails: ArticleDetailsBo[] = [];
124
-
125
- public tabs: Tab[] = [];
126
- public historyTabs: Tab[] = [];
127
-
128
- constructor(
129
- private _stockService: StockService,
130
- private _localizeService: LocalizeService,
131
- private _changeDetector: ChangeDetectorRef,
132
- ) {
133
- }
134
-
135
- ngOnInit() {
136
- this.tabs = [
137
- {title: this._localizeService.get('OVERVIEW'), active: true},
138
- {title: this._localizeService.get('STOCK_FORECAST'), active: false},
139
- {title: this._localizeService.get('STOCK_DETAILS'), active: false},
140
- {title: this._localizeService.get('ALREADY_IN_ORDER'), active: false},
141
- {title: this._localizeService.get('IN_ORDER'), active: false},
142
- {title: this._localizeService.get('HISTORY'), active: false},
143
- ];
144
-
145
- this.historyTabs = [
146
- {title: this._localizeService.get('STOCK'), active: true},
147
- {
148
- title: this._localizeService.get('ORDER_STOCK'),
149
- active: false
150
- },
151
- {
152
- title: this._localizeService.get('ORDER_COMMISSION'),
153
- active: false
154
- },
155
- {title: this._localizeService.get('ORDER'), active: false},
156
- {
157
- title: this._localizeService.get('ALLOCATION'),
158
- active: false
159
- },
160
- ];
161
-
162
-
163
- }
164
-
165
- public handleLocationClicked(data: StockManagementWarehouses): void {
166
- this.tabs[0].active = false;
167
- this.tabs[2].active = true;
168
- this.selectedWarehouse = this.wareHouseForCode(data.warehouseNo);
169
- this.handleWarehouseSelected(this.selectedWarehouse);
170
- this.getStockData(data);
171
- }
172
-
173
- public getStockHistory(): void {
174
- const stockHistoryInformation: GetStockHistoryRequest = new GetStockHistoryRequest();
175
- stockHistoryInformation.type = "V";
176
- stockHistoryInformation.goodId = this.article.goodId.toString();
177
- this._stockService.getStockHistory(stockHistoryInformation).then(result => {
178
- this.stockHistory = result
179
- });
180
- }
181
-
182
- public getOrderSupplyStockHistory(): void {
183
- const stockHistoryInformation: GetStockHistoryRequest = new GetStockHistoryRequest();
184
- stockHistoryInformation.type = "O";
185
- stockHistoryInformation.goodId = this.article.goodId.toString();
186
- this._stockService.getStockHistory(stockHistoryInformation).then(result => {
187
- this.orderSupplyStockHistory = result;
188
- });
189
- }
190
-
191
- public getOrderCommissionStockHistory(): void {
192
- const stockHistoryInformation: GetStockHistoryRequest = new GetStockHistoryRequest();
193
- stockHistoryInformation.type = "C";
194
- stockHistoryInformation.goodId = this.article.goodId.toString();
195
- this._stockService.getStockHistory(stockHistoryInformation).then(result => {
196
- this.orderCommissionStockHistory = result;
197
- });
198
- }
199
-
200
- public getOrderStockHistory(): void {
201
- const stockHistoryInformation: GetStockHistoryRequest = new GetStockHistoryRequest();
202
- stockHistoryInformation.type = "B";
203
- stockHistoryInformation.goodId = this.article.goodId.toString();
204
- this._stockService.getStockHistory(stockHistoryInformation).then(result => {
205
- this.orderStockHistory = result;
206
- });
207
- }
208
-
209
- public getAllocationStockHistory(): void {
210
- const stockHistoryInformation: GetStockHistoryRequest = new GetStockHistoryRequest();
211
- stockHistoryInformation.type = "T";
212
- stockHistoryInformation.goodId = this.article.goodId.toString();
213
- this._stockService.getStockHistory(stockHistoryInformation).then(result => {
214
- this.orderAllocationStockHistory = result;
215
- });
216
- }
217
-
218
- public getInOrderData(): void {
219
- const inOrderData: ArticleTransaction = new ArticleTransaction();
220
- inOrderData.type = "V";
221
- inOrderData.goodId = this.stockInformation[0].goodId.toString();
222
- this._stockService.getArticleTransaction(inOrderData).then(result => {
223
- this.inOrderInformation = result;
224
- });
225
- }
226
-
227
- public getOrderData(): void {
228
- const orderData: ArticleTransaction = new ArticleTransaction();
229
- orderData.type = "I";
230
- orderData.goodId = this.stockInformation[0].goodId.toString();
231
- this._stockService.getArticleTransaction(orderData).then(result => {
232
- this.orderInformation = result;
233
- });
234
- }
235
-
236
- public getStockPrognose(warehouseNo: number): void {
237
- this._stockService.stockPrognose(this.article.goodId, warehouseNo).then(result => {
238
- this.stockPrognose = result;
239
- });
240
- }
241
-
242
- public handleWarehouseSelected(event: StockManagementWarehouses): void {
243
- this.selectedWarehouse = event;
244
- this._stockService.warehouseSelected.emit(event);
245
- if (this.tabs[1].active) {
246
- this.getStockPrognose(this.selectedWarehouse.warehouseNo);
247
- }
248
- if (this.tabs[2].active) {
249
- this.articleDetailsInformation.warehouseNumber = event.warehouseNo;
250
- this.articleDetailsInformation.goodId = this.article.goodId.toString();
251
- this._stockService.getArticleDetails(this.articleDetailsInformation).then((details) => {
252
- this.articleDetails = details;
253
- });
254
- }
255
-
256
- }
257
-
258
- public getStockData(warehouse: StockManagementWarehouses) {
259
- this.handleWarehouseSelected(warehouse);
260
- this.getStockPrognose(warehouse.warehouseNo);
261
- this.getOrderData();
262
- this.getInOrderData();
263
- this.getAllocationStockHistory();
264
- this.getOrderStockHistory();
265
- this.getOrderCommissionStockHistory();
266
- this.getOrderSupplyStockHistory();
267
- this.getStockHistory();
268
- this._changeDetector.markForCheck();
269
- this._changeDetector.detectChanges();
270
-
271
- }
272
-
273
- public wareHouseForCode(code: number) {
274
- return this.warehouses.find(warehouse => warehouse.warehouseNo === code);
275
- }
276
- }
@@ -1,77 +0,0 @@
1
- import {AfterViewInit, Component, EventEmitter, Input, Output, ViewEncapsulation} from "@angular/core";
2
- import {StockService} from "../../../service/stock.service";
3
- import {StockStatus} from "@colijnit/articleapi/build/model/stock-status.bo";
4
- import {CoDropDownListFields} from "./co-drop-down-list-fields.interface";
5
- import {ArticleDetailsBo} from "@colijnit/articleapi/build/model/article-details.bo";
6
-
7
- @Component({
8
- selector: "co-stock-change-amount",
9
- template: `
10
- <div class="stock-transfer">
11
- <co-dialog-wizard [showCloseIcon]="true" (closeClick)="closeDialogClick()">
12
- <ng-container header>
13
- <span [textContent]="'STOCK_CHANGE_REASON' | localize"></span>
14
- </ng-container>
15
- <div class="popup-wrapper">
16
- <!--
17
- <co-drop-down-list [collection]="stockState"
18
- [fields]="stockStateDropdownField"
19
- [placeholder]="'STOCK_STATE' | localize"
20
- [(model)]="selectedArticleDetailsData.stockStateId"
21
- ></co-drop-down-list>
22
- -->
23
-
24
- <co-input-textarea [(model)]="selectedArticleDetailsData.stockStateRemark"
25
-
26
- ></co-input-textarea>
27
- <div class="ok-cancel-buttons">
28
- <co-button [textContent]="'OK' | localize" (click)="handleOkClick(selectedArticleDetailsData)"></co-button>
29
- <co-button [textContent]="'CANCEL' | localize" (click)="handleCancelClick()"></co-button>
30
- </div>
31
- </div>
32
- </co-dialog-wizard>
33
- </div>
34
- `,
35
- encapsulation: ViewEncapsulation.None
36
- })
37
- export class StockChangeAmountComponent implements AfterViewInit {
38
-
39
- @Input()
40
- public selectedArticleDetailsData: ArticleDetailsBo;
41
-
42
- @Output()
43
- public readonly closeStockChangeAmount: EventEmitter<any> = new EventEmitter();
44
-
45
- public stockState: StockStatus[] = [];
46
- public stockStateDropdownField: CoDropDownListFields = {text: "stateDescription", value: "stockStateId"};
47
-
48
- constructor(
49
- private _stockService: StockService
50
- ) {
51
- }
52
-
53
- ngAfterViewInit() {
54
- this.getStockState();
55
- }
56
-
57
- public closeDialogClick(): void {
58
- this.closeStockChangeAmount.emit();
59
- }
60
-
61
- public async handleOkClick(data: ArticleDetailsBo): Promise<void> {
62
- data.selected = true;
63
- data.entryDate = new Date();
64
- await this._stockService.updateArticleDetails(data);
65
- }
66
-
67
- public handleCancelClick(): void {
68
- this.closeStockChangeAmount.emit();
69
- }
70
-
71
- public getStockState(): void {
72
- this._stockService.getStockState().then((state: StockStatus[]) => {
73
- this.stockState = state;
74
- });
75
- }
76
-
77
- }
@@ -1,178 +0,0 @@
1
- import {AfterViewInit, Component, EventEmitter, Input, Output, ViewEncapsulation} from "@angular/core";
2
- import {PrintStockStickers} from "@colijnit/articleapi/build/model/print-stock-stickers";
3
- import {StockService} from "../../../service/stock.service";
4
- import {CoDropDownListFields} from "./co-drop-down-list-fields.interface";
5
- import {ArticleStock as ArticleStockBo} from "@colijnit/articleapi/build/model/article-stock.bo";
6
- import {ArticleDetailsBo} from "@colijnit/articleapi/build/model/article-details.bo";
7
- import {StockManagementWarehouses} from "@colijnit/articleapi/build/model/stock-management-warehouses.bo";
8
- import {StockStatus} from "@colijnit/articleapi/build/model/stock-status.bo";
9
- import {StockLocation} from "@colijnit/articleapi/build/model/stock-location.bo";
10
- import {IconCacheService} from "../../../service/icon-cache.service";
11
- import {Icon} from "../../../enum/icon.enum";
12
-
13
- @Component({
14
- selector: "co-stock-transfer",
15
- template: `
16
- <div class="stock-transfer">
17
- <span [textContent]="'TRANSFER_STOCK' | localize"></span>
18
- <div class="stock-transfer-columns">
19
- <div *ngIf="articleToTransfer" class="stock-transfer-left-column">
20
- <co-input-text [readonly]="true"
21
- [(model)]="articleToTransfer.warehouseDescription"
22
- [placeholder]="'STANDARD_WAREHOUSE' | localize"
23
- >
24
- </co-input-text>
25
- <co-input-text [readonly]="true"
26
- [(model)]="articleToTransfer.locationNo"
27
- [placeholder]="'STANDARD_LOCATION' | localize">
28
- </co-input-text>
29
- <co-input-text [readonly]="true"
30
- [(model)]="articleToTransfer.batchItem"
31
- [placeholder]="'BATCH_NO' | localize">
32
- </co-input-text>
33
- <co-input-text [readonly]="true"
34
- [(model)]="articleToTransfer.serialNo"
35
- [placeholder]="'SERIE_NO' | localize">
36
- </co-input-text>
37
- <co-input-text
38
- [(model)]="articleToTransfer.amountTransfer"
39
- [placeholder]="'Aantal' | localize">
40
- </co-input-text>
41
- </div>
42
-
43
- <div class="icon-wrapper">
44
- <co-icon [iconData]="iconCacheService.getIcon(icons.ArrowFatRight)"></co-icon>
45
- </div>
46
-
47
- <div class="stock-transfer-right-column">
48
-
49
- <co-list-of-values [collection]="warehouses"
50
- [displayField]="'warehouseDescription'"
51
- (modelChange)="handleSelectedWarehouse($event)"
52
- [label]="'Magazijn' | localize"
53
- >
54
- </co-list-of-values>
55
- <co-list-of-values [collection]="locations"
56
- [displayField]="'description'"
57
- (modelChange)="handleSelectedLocation($event)"
58
- [label]="'Locatie' | localize"
59
- >
60
- </co-list-of-values>
61
- <co-list-of-values [collection]="stockState"
62
- [displayField]="'stateDescription'"
63
- [label]="'Voorraadstatus' | localize"
64
- (modelChange)="handleSelectedStockState($event)"
65
- >
66
- </co-list-of-values>
67
-
68
- <co-input-text [placeholder]="'Omschrijving' | localize"
69
- [(model)]="articleToTransfer.stockStateRemark">
70
- </co-input-text>
71
- </div>
72
- </div>
73
-
74
- <div class="ok-cancel-buttons">
75
- <co-button [textContent]="'OK' | localize" (click)="handleOkClick(articleToTransfer)"></co-button>
76
- <co-button [textContent]="'STICKER' | localize" (click)="handleStickerClick()"></co-button>
77
- </div>
78
- </div>
79
- `,
80
- encapsulation: ViewEncapsulation.None
81
- })
82
- export class StockTransferComponent implements AfterViewInit {
83
-
84
- @Input()
85
- public stockSticker: PrintStockStickers;
86
-
87
- @Input()
88
- public article: ArticleStockBo;
89
-
90
- @Input()
91
- public articleToTransfer: ArticleDetailsBo;
92
-
93
- @Input()
94
- public articleWarehouse: any[];
95
-
96
- @Input()
97
- public allWarehouses: any[];
98
-
99
- @Output()
100
- public handleClick: EventEmitter<any> = new EventEmitter();
101
-
102
- @Output()
103
- public handleStickerClicked: EventEmitter<any> = new EventEmitter();
104
-
105
- public allWarehousesDropdownFields: CoDropDownListFields = {text: "warehouseDescription", value: "warehouseNo"};
106
- public allLocationDropdownFields: CoDropDownListFields = {text: "locationNo", value: "locationNo"};
107
-
108
- public showSendMethodDialog: boolean = false;
109
- public warehouses: StockManagementWarehouses[] = [];
110
- public stockState: StockStatus[] = [];
111
- public stockStateDropdownField: CoDropDownListFields = {text: "stateDescription", value: "stockStateId"};
112
- public locations: StockLocation[] = [];
113
- public selectedWarehouse: StockManagementWarehouses;
114
-
115
- public readonly icons: typeof Icon = Icon;
116
-
117
- constructor(
118
- private _stockService: StockService,
119
- public iconCacheService: IconCacheService
120
- ) {
121
- }
122
-
123
- ngAfterViewInit() {
124
- this.getStockManagementWarehouses();
125
- this.getStockState();
126
- }
127
-
128
- public handleOkClick(data: ArticleDetailsBo): void {
129
- data.selected = true;
130
- data.entryDate = new Date;
131
- this._stockService.updateArticleDetails(data).then( result => {
132
- this.handleClick.emit();
133
- });
134
-
135
- }
136
-
137
- public handleCancelClick(): void {
138
- this.handleClick.emit();
139
- }
140
-
141
- public handleSelectedWarehouse(event: StockManagementWarehouses): void {
142
- this.articleToTransfer.targetWarehouse = event.warehouseNo;
143
- this.selectedWarehouse = event;
144
- this.getStockManagementLocations(this.selectedWarehouse.warehouseNo);
145
- }
146
-
147
- public handleSelectedLocation(event: StockLocation): void {
148
- this.articleToTransfer.targetLocation = event.locationNo;
149
- }
150
-
151
- public handleSelectedStockState(event: StockStatus): void {
152
- this.articleToTransfer.stockStateId = event.stockStateId;
153
- }
154
-
155
- public handleStickerClick(): void {
156
- this.handleStickerClicked.emit();
157
- this.showSendMethodDialog = true;
158
- }
159
-
160
- public getStockManagementWarehouses(): void {
161
- this._stockService.getStockManagementWarehouses().then((warehouses) => {
162
- this.warehouses = warehouses;
163
- })
164
- }
165
-
166
- public getStockManagementLocations(data): void {
167
- this._stockService.getStockManagementLocations(data).then((locations) => {
168
- this.locations = locations;
169
- })
170
- }
171
-
172
- public getStockState(): void {
173
- this._stockService.getStockState().then((state: StockStatus[]) => {
174
- this.stockState = state;
175
- });
176
- }
177
-
178
- }