@colijnit/sharedcomponents 1.0.24 → 1.0.25

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 (292) hide show
  1. package/.browserslistrc +16 -0
  2. package/.editorconfig +16 -0
  3. package/.vscode/extensions.json +4 -0
  4. package/.vscode/launch.json +20 -0
  5. package/.vscode/tasks.json +42 -0
  6. package/README.md +11 -8
  7. package/Sharedcomponents.iml +11 -0
  8. package/angular.json +133 -0
  9. package/karma.conf.js +44 -0
  10. package/move-assets.js +14 -0
  11. package/package.json +74 -26
  12. package/projects/sharedcomponents/.browserslistrc +16 -0
  13. package/projects/sharedcomponents/README.md +24 -0
  14. package/projects/sharedcomponents/karma.conf.js +44 -0
  15. package/projects/sharedcomponents/ng-package.json +17 -0
  16. package/projects/sharedcomponents/package.json +18 -0
  17. package/projects/sharedcomponents/src/lib/assets/dictionary/text.properties.ts +8 -0
  18. package/projects/sharedcomponents/src/lib/assets/icons/angle_left_solid.svg +1 -0
  19. package/projects/sharedcomponents/src/lib/assets/icons/angle_right_solid.svg +1 -0
  20. package/projects/sharedcomponents/src/lib/assets/icons/arrow_fat_right.svg +1 -0
  21. package/projects/sharedcomponents/src/lib/assets/icons/arrow_point_left.svg +8 -0
  22. package/projects/sharedcomponents/src/lib/assets/icons/arrow_point_right.svg +4 -0
  23. package/projects/sharedcomponents/src/lib/assets/icons/bring_forward_regular.svg +1 -0
  24. package/projects/sharedcomponents/src/lib/assets/icons/check_round.svg +1 -0
  25. package/projects/sharedcomponents/src/lib/assets/icons/delete_left_regular.svg +1 -0
  26. package/projects/sharedcomponents/src/lib/assets/icons/delivery_truck.svg +12 -0
  27. package/projects/sharedcomponents/src/lib/assets/icons/email.svg +5 -0
  28. package/projects/sharedcomponents/src/lib/assets/icons/pdf.svg +15 -0
  29. package/projects/sharedcomponents/src/lib/assets/icons/print.svg +10 -0
  30. package/projects/sharedcomponents/src/lib/assets/icons/signature_field.svg +9 -0
  31. package/projects/sharedcomponents/src/lib/assets/icons/xml.svg +9 -0
  32. package/projects/sharedcomponents/src/lib/components/circular-gauge/co-circular-gauge.component.ts +139 -0
  33. package/projects/sharedcomponents/src/lib/components/circular-gauge/co-circular-gauge.module.ts +19 -0
  34. package/{lib → projects/sharedcomponents/src/lib}/components/circular-gauge/style/_layout.scss +0 -0
  35. package/{lib → projects/sharedcomponents/src/lib}/components/circular-gauge/style/_material-definition.scss +0 -0
  36. package/{lib → projects/sharedcomponents/src/lib}/components/circular-gauge/style/_theme.scss +0 -0
  37. package/{lib → projects/sharedcomponents/src/lib}/components/circular-gauge/style/material.scss +0 -0
  38. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-base-view.component.ts +68 -0
  39. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-day-view.component.ts +31 -0
  40. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-event.component.ts +67 -0
  41. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-events.component.ts +48 -0
  42. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.ts +81 -0
  43. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-header.component.ts +265 -0
  44. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-hour-cell.component.ts +38 -0
  45. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.ts +50 -0
  46. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-hour-view.component.ts +46 -0
  47. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-month-view.component.ts +65 -0
  48. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-view.component.ts +38 -0
  49. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-week-select-view.component.ts +63 -0
  50. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-week-view.component.ts +46 -0
  51. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/style/_layout.scss +443 -0
  52. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/style/_material-definition.scss +11 -0
  53. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/style/_theme.scss +7 -0
  54. package/{lib/components/layout-switcher → projects/sharedcomponents/src/lib/components/date-planning/component/agenda}/style/material.scss +0 -0
  55. package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-all-months.component.ts +37 -0
  56. package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-all-years.component.ts +52 -0
  57. package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-header.component.ts +124 -0
  58. package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-view.component.ts +201 -0
  59. package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar.component.ts +35 -0
  60. package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/style/_layout.scss +167 -0
  61. package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/style/_material-definition.scss +7 -0
  62. package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/style/_theme.scss +7 -0
  63. package/{lib/components/linear-gauge → projects/sharedcomponents/src/lib/components/date-planning/component/calendar}/style/material.scss +0 -0
  64. package/projects/sharedcomponents/src/lib/components/date-planning/date-planning.component.ts +133 -0
  65. package/projects/sharedcomponents/src/lib/components/date-planning/date-planning.module.ts +56 -0
  66. package/projects/sharedcomponents/src/lib/components/date-planning/style/_layout.scss +47 -0
  67. package/projects/sharedcomponents/src/lib/components/date-planning/style/_material-definition.scss +0 -0
  68. package/projects/sharedcomponents/src/lib/components/date-planning/style/_theme.scss +7 -0
  69. package/projects/sharedcomponents/src/lib/components/date-planning/style/material.scss +5 -0
  70. package/projects/sharedcomponents/src/lib/components/docsign/component/signature/signature.component.ts +82 -0
  71. package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signature/style/_layout.scss +0 -0
  72. package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signature/style/_material-definition.scss +0 -0
  73. package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signature/style/_theme.scss +0 -0
  74. package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signature/style/material.scss +0 -0
  75. package/projects/sharedcomponents/src/lib/components/docsign/component/signatures/signatures.component.ts +50 -0
  76. package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signatures/style/_layout.scss +0 -0
  77. package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signatures/style/_material-definition.scss +0 -0
  78. package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signatures/style/_theme.scss +0 -0
  79. package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signatures/style/material.scss +0 -0
  80. package/projects/sharedcomponents/src/lib/components/docsign/docsign.component.ts +252 -0
  81. package/projects/sharedcomponents/src/lib/components/docsign/docsign.module.ts +22 -0
  82. package/{lib → projects/sharedcomponents/src/lib}/components/docsign/style/_layout.scss +0 -0
  83. package/{lib → projects/sharedcomponents/src/lib}/components/docsign/style/_material-definition.scss +0 -0
  84. package/{lib → projects/sharedcomponents/src/lib}/components/docsign/style/_theme.scss +0 -0
  85. package/{lib → projects/sharedcomponents/src/lib}/components/docsign/style/material.scss +0 -0
  86. package/projects/sharedcomponents/src/lib/components/key-pad/key-pad.component.ts +205 -0
  87. package/projects/sharedcomponents/src/lib/components/key-pad/key-pad.module.ts +19 -0
  88. package/{lib → projects/sharedcomponents/src/lib}/components/key-pad/style/_layout.scss +0 -0
  89. package/{lib → projects/sharedcomponents/src/lib}/components/key-pad/style/_material-definition.scss +0 -0
  90. package/{lib → projects/sharedcomponents/src/lib}/components/key-pad/style/_theme.scss +0 -0
  91. package/{lib → projects/sharedcomponents/src/lib}/components/key-pad/style/material.scss +0 -0
  92. package/projects/sharedcomponents/src/lib/components/layout-switcher/layout-switcher.component.ts +98 -0
  93. package/projects/sharedcomponents/src/lib/components/layout-switcher/layout-switcher.module.ts +21 -0
  94. package/{lib → projects/sharedcomponents/src/lib}/components/layout-switcher/style/_layout.scss +0 -0
  95. package/{lib → projects/sharedcomponents/src/lib}/components/layout-switcher/style/_material-definition.scss +0 -0
  96. package/{lib → projects/sharedcomponents/src/lib}/components/layout-switcher/style/_theme.scss +0 -0
  97. package/projects/sharedcomponents/src/lib/components/layout-switcher/style/material.scss +5 -0
  98. package/projects/sharedcomponents/src/lib/components/linear-gauge/co-linear-gauge.component.ts +56 -0
  99. package/projects/sharedcomponents/src/lib/components/linear-gauge/co-linear-gauge.module.ts +17 -0
  100. package/{lib → projects/sharedcomponents/src/lib}/components/linear-gauge/style/_layout.scss +0 -0
  101. package/{lib → projects/sharedcomponents/src/lib}/components/linear-gauge/style/_material-definition.scss +0 -0
  102. package/{lib → projects/sharedcomponents/src/lib}/components/linear-gauge/style/_theme.scss +0 -0
  103. package/projects/sharedcomponents/src/lib/components/linear-gauge/style/material.scss +5 -0
  104. package/projects/sharedcomponents/src/lib/components/send-method-dialog/enums/send-option.ts +6 -0
  105. package/projects/sharedcomponents/src/lib/components/send-method-dialog/send-method-dialog.component.ts +342 -0
  106. package/projects/sharedcomponents/src/lib/components/send-method-dialog/send-method-dialog.module.ts +33 -0
  107. package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/style/_layout.scss +0 -0
  108. package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/style/_material-definition.scss +0 -0
  109. package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/style/_theme.scss +0 -0
  110. package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/style/material.scss +0 -0
  111. package/projects/sharedcomponents/src/lib/components/statusbar/statusbar.component.ts +97 -0
  112. package/projects/sharedcomponents/src/lib/components/statusbar/statusbar.module.ts +21 -0
  113. package/{lib → projects/sharedcomponents/src/lib}/components/statusbar/style/_layout.scss +0 -0
  114. package/{lib → projects/sharedcomponents/src/lib}/components/statusbar/style/_material-definition.scss +0 -0
  115. package/{lib → projects/sharedcomponents/src/lib}/components/statusbar/style/_theme.scss +0 -0
  116. package/{lib → projects/sharedcomponents/src/lib}/components/statusbar/style/material.scss +0 -0
  117. package/projects/sharedcomponents/src/lib/components/stock/stock-in-order/stock-in-order.component.ts +0 -0
  118. package/projects/sharedcomponents/src/lib/components/stock/stock-information/stock-information.component.ts +64 -0
  119. package/projects/sharedcomponents/src/lib/components/stock/stock-information-grid/stock-information-grid.component.ts +384 -0
  120. package/projects/sharedcomponents/src/lib/components/stock/stock-location/stock-location.component.ts +84 -0
  121. package/{lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.d.ts → projects/sharedcomponents/src/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.ts} +2 -2
  122. package/projects/sharedcomponents/src/lib/components/stock/stock-transfer/stock-change-amount.component.ts +73 -0
  123. package/projects/sharedcomponents/src/lib/components/stock/stock-transfer/stock-transfer.component.ts +153 -0
  124. package/projects/sharedcomponents/src/lib/components/stock/stock.component.ts +165 -0
  125. package/projects/sharedcomponents/src/lib/components/stock/stock.module.ts +51 -0
  126. package/{lib → projects/sharedcomponents/src/lib}/components/stock/style/_layout.scss +0 -0
  127. package/{lib → projects/sharedcomponents/src/lib}/components/stock/style/_material-definition.scss +0 -0
  128. package/{lib → projects/sharedcomponents/src/lib}/components/stock/style/_theme.scss +0 -0
  129. package/{lib → projects/sharedcomponents/src/lib}/components/stock/style/material.scss +0 -0
  130. package/projects/sharedcomponents/src/lib/enum/calendar-view.enum.ts +6 -0
  131. package/{lib/enum/icon.enum.d.ts → projects/sharedcomponents/src/lib/enum/icon.enum.ts} +5 -2
  132. package/projects/sharedcomponents/src/lib/enum/keyboard-code.enum.ts +30 -0
  133. package/projects/sharedcomponents/src/lib/enum/language-code.enum.ts +6 -0
  134. package/projects/sharedcomponents/src/lib/enum/month.enum.ts +15 -0
  135. package/projects/sharedcomponents/src/lib/enum/time-period.enum.ts +9 -0
  136. package/projects/sharedcomponents/src/lib/factory/business-object-factory.ts +120 -0
  137. package/projects/sharedcomponents/src/lib/factory/decorators/boolean.decorator.ts +113 -0
  138. package/projects/sharedcomponents/src/lib/factory/decorators/complex-array.decorator.ts +61 -0
  139. package/projects/sharedcomponents/src/lib/factory/decorators/complex-field.decorator.ts +63 -0
  140. package/projects/sharedcomponents/src/lib/factory/decorators/date-field.decorator.ts +41 -0
  141. package/projects/sharedcomponents/src/lib/factory/decorators/string-number.decorator.ts +48 -0
  142. package/projects/sharedcomponents/src/lib/model/agenda-event-per-day.model.ts +6 -0
  143. package/projects/sharedcomponents/src/lib/model/agenda-event.model.ts +17 -0
  144. package/projects/sharedcomponents/src/lib/model/agenda-null-objects.ts +11 -0
  145. package/projects/sharedcomponents/src/lib/model/business-object.ts +85 -0
  146. package/projects/sharedcomponents/src/lib/model/constant/all-months.ts +17 -0
  147. package/projects/sharedcomponents/src/lib/model/date-range.ts +10 -0
  148. package/projects/sharedcomponents/src/lib/model/day.model.ts +9 -0
  149. package/projects/sharedcomponents/src/lib/model/icon-svg.ts +18 -0
  150. package/projects/sharedcomponents/src/lib/model/month.model.ts +11 -0
  151. package/projects/sharedcomponents/src/lib/model/time-window.bo.ts +21 -0
  152. package/projects/sharedcomponents/src/lib/model/week.model.ts +5 -0
  153. package/projects/sharedcomponents/src/lib/model/weekday.model.ts +17 -0
  154. package/projects/sharedcomponents/src/lib/pipe/array-number.pipe.ts +14 -0
  155. package/projects/sharedcomponents/src/lib/pipe/master-pipes.ts +7 -0
  156. package/projects/sharedcomponents/src/lib/pipe/ucfirst.pipe.ts +14 -0
  157. package/projects/sharedcomponents/src/lib/service/dictionary.service.ts +86 -0
  158. package/projects/sharedcomponents/src/lib/service/icon-cache.service.ts +51 -0
  159. package/projects/sharedcomponents/src/lib/service/options.service.ts +66 -0
  160. package/projects/sharedcomponents/src/lib/service/shared-connector.service.ts +258 -0
  161. package/projects/sharedcomponents/src/lib/service/shared-initializer.service.ts +29 -0
  162. package/projects/sharedcomponents/src/lib/service/shared.service.ts +21 -0
  163. package/projects/sharedcomponents/src/lib/service/stock.service.ts +95 -0
  164. package/{lib → projects/sharedcomponents/src/lib}/style/_mixin.scss +0 -0
  165. package/{lib → projects/sharedcomponents/src/lib}/style/_variables.scss +0 -0
  166. package/{lib → projects/sharedcomponents/src/lib}/style/sharedcomponents-globals.scss +0 -0
  167. package/projects/sharedcomponents/src/lib/utils/array-utils.ts +202 -0
  168. package/projects/sharedcomponents/src/lib/utils/calendar.utils.ts +75 -0
  169. package/projects/sharedcomponents/src/lib/utils/date-utils.ts +302 -0
  170. package/projects/sharedcomponents/src/lib/utils/function/not-nill.function.ts +4 -0
  171. package/projects/sharedcomponents/src/lib/utils/is-nill.function.ts +4 -0
  172. package/projects/sharedcomponents/src/lib/utils/string-utils.ts +67 -0
  173. package/{public-api.d.ts → projects/sharedcomponents/src/public-api.ts} +5 -0
  174. package/projects/sharedcomponents/src/test.ts +27 -0
  175. package/projects/sharedcomponents/tsconfig.lib.json +18 -0
  176. package/projects/sharedcomponents/tsconfig.lib.prod.json +10 -0
  177. package/projects/sharedcomponents/tsconfig.spec.json +17 -0
  178. package/script/merge-icons.js +39 -0
  179. package/src/app/app.component.scss +9 -0
  180. package/src/app/app.component.spec.ts +31 -0
  181. package/src/app/app.component.ts +156 -0
  182. package/src/app/app.module.ts +60 -0
  183. package/src/assets/.gitkeep +0 -0
  184. package/src/environments/environment.prod.ts +3 -0
  185. package/src/environments/environment.ts +16 -0
  186. package/src/favicon.ico +0 -0
  187. package/src/index.html +13 -0
  188. package/src/main.ts +12 -0
  189. package/src/polyfills.ts +53 -0
  190. package/src/styles.scss +40 -0
  191. package/src/test.ts +26 -0
  192. package/tsconfig.app.json +15 -0
  193. package/tsconfig.json +65 -0
  194. package/tsconfig.spec.json +18 -0
  195. package/bundles/colijnit-sharedcomponents.umd.js +0 -3701
  196. package/bundles/colijnit-sharedcomponents.umd.js.map +0 -1
  197. package/colijnit-sharedcomponents.d.ts +0 -16
  198. package/colijnit-sharedcomponents.metadata.json +0 -1
  199. package/esm2015/colijnit-sharedcomponents.js +0 -17
  200. package/esm2015/lib/assets/dictionary/text.properties.js +0 -11
  201. package/esm2015/lib/components/circular-gauge/co-circular-gauge.component.js +0 -125
  202. package/esm2015/lib/components/circular-gauge/co-circular-gauge.module.js +0 -21
  203. package/esm2015/lib/components/docsign/component/signature/signature.component.js +0 -75
  204. package/esm2015/lib/components/docsign/component/signatures/signatures.component.js +0 -44
  205. package/esm2015/lib/components/docsign/docsign.component.js +0 -225
  206. package/esm2015/lib/components/docsign/docsign.module.js +0 -23
  207. package/esm2015/lib/components/key-pad/key-pad.component.js +0 -191
  208. package/esm2015/lib/components/key-pad/key-pad.module.js +0 -21
  209. package/esm2015/lib/components/layout-switcher/layout-switcher.component.js +0 -74
  210. package/esm2015/lib/components/layout-switcher/layout-switcher.module.js +0 -21
  211. package/esm2015/lib/components/linear-gauge/co-linear-gauge.component.js +0 -55
  212. package/esm2015/lib/components/linear-gauge/co-linear-gauge.module.js +0 -19
  213. package/esm2015/lib/components/send-method-dialog/enums/send-option.js +0 -8
  214. package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +0 -309
  215. package/esm2015/lib/components/send-method-dialog/send-method-dialog.module.js +0 -31
  216. package/esm2015/lib/components/statusbar/statusbar.component.js +0 -81
  217. package/esm2015/lib/components/statusbar/statusbar.module.js +0 -23
  218. package/esm2015/lib/components/stock/stock-information/stock-information.component.js +0 -54
  219. package/esm2015/lib/components/stock/stock-information-grid/stock-information-grid.component.js +0 -350
  220. package/esm2015/lib/components/stock/stock-location/stock-location.component.js +0 -62
  221. package/esm2015/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.js +0 -2
  222. package/esm2015/lib/components/stock/stock-transfer/stock-change-amount.component.js +0 -68
  223. package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +0 -130
  224. package/esm2015/lib/components/stock/stock.component.js +0 -140
  225. package/esm2015/lib/components/stock/stock.module.js +0 -48
  226. package/esm2015/lib/enum/icon.enum.js +0 -17
  227. package/esm2015/lib/enum/keyboard-code.enum.js +0 -32
  228. package/esm2015/lib/enum/language-code.enum.js +0 -8
  229. package/esm2015/lib/factory/business-object-factory.js +0 -120
  230. package/esm2015/lib/factory/decorators/boolean.decorator.js +0 -102
  231. package/esm2015/lib/factory/decorators/complex-array.decorator.js +0 -55
  232. package/esm2015/lib/factory/decorators/complex-field.decorator.js +0 -57
  233. package/esm2015/lib/factory/decorators/date-field.decorator.js +0 -36
  234. package/esm2015/lib/factory/decorators/string-number.decorator.js +0 -43
  235. package/esm2015/lib/model/business-object.js +0 -81
  236. package/esm2015/lib/model/icon-svg.js +0 -16
  237. package/esm2015/lib/service/dictionary.service.js +0 -76
  238. package/esm2015/lib/service/icon-cache.service.js +0 -51
  239. package/esm2015/lib/service/options.service.js +0 -71
  240. package/esm2015/lib/service/shared-connector.service.js +0 -278
  241. package/esm2015/lib/service/shared.service.js +0 -30
  242. package/esm2015/lib/service/stock.service.js +0 -95
  243. package/esm2015/lib/utils/array-utils.js +0 -183
  244. package/esm2015/lib/utils/is-nill.function.js +0 -5
  245. package/esm2015/lib/utils/string-utils.js +0 -64
  246. package/esm2015/public-api.js +0 -21
  247. package/fesm2015/colijnit-sharedcomponents.js +0 -3511
  248. package/fesm2015/colijnit-sharedcomponents.js.map +0 -1
  249. package/lib/assets/dictionary/text.properties.d.ts +0 -3
  250. package/lib/components/circular-gauge/co-circular-gauge.component.d.ts +0 -20
  251. package/lib/components/circular-gauge/co-circular-gauge.module.d.ts +0 -2
  252. package/lib/components/docsign/component/signature/signature.component.d.ts +0 -16
  253. package/lib/components/docsign/component/signatures/signatures.component.d.ts +0 -12
  254. package/lib/components/docsign/docsign.component.d.ts +0 -92
  255. package/lib/components/docsign/docsign.module.d.ts +0 -2
  256. package/lib/components/key-pad/key-pad.component.d.ts +0 -36
  257. package/lib/components/key-pad/key-pad.module.d.ts +0 -2
  258. package/lib/components/layout-switcher/layout-switcher.component.d.ts +0 -16
  259. package/lib/components/layout-switcher/layout-switcher.module.d.ts +0 -2
  260. package/lib/components/linear-gauge/co-linear-gauge.component.d.ts +0 -16
  261. package/lib/components/linear-gauge/co-linear-gauge.module.d.ts +0 -2
  262. package/lib/components/send-method-dialog/enums/send-option.d.ts +0 -6
  263. package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +0 -62
  264. package/lib/components/send-method-dialog/send-method-dialog.module.d.ts +0 -2
  265. package/lib/components/statusbar/statusbar.component.d.ts +0 -23
  266. package/lib/components/statusbar/statusbar.module.d.ts +0 -2
  267. package/lib/components/stock/stock-information/stock-information.component.d.ts +0 -10
  268. package/lib/components/stock/stock-information-grid/stock-information-grid.component.d.ts +0 -60
  269. package/lib/components/stock/stock-location/stock-location.component.d.ts +0 -15
  270. package/lib/components/stock/stock-transfer/stock-change-amount.component.d.ts +0 -18
  271. package/lib/components/stock/stock-transfer/stock-transfer.component.d.ts +0 -36
  272. package/lib/components/stock/stock.component.d.ts +0 -42
  273. package/lib/components/stock/stock.module.d.ts +0 -2
  274. package/lib/enum/keyboard-code.enum.d.ts +0 -30
  275. package/lib/enum/language-code.enum.d.ts +0 -6
  276. package/lib/factory/business-object-factory.d.ts +0 -23
  277. package/lib/factory/decorators/boolean.decorator.d.ts +0 -43
  278. package/lib/factory/decorators/complex-array.decorator.d.ts +0 -25
  279. package/lib/factory/decorators/complex-field.decorator.d.ts +0 -25
  280. package/lib/factory/decorators/date-field.decorator.d.ts +0 -17
  281. package/lib/factory/decorators/string-number.decorator.d.ts +0 -22
  282. package/lib/model/business-object.d.ts +0 -7
  283. package/lib/model/icon-svg.d.ts +0 -4
  284. package/lib/service/dictionary.service.d.ts +0 -21
  285. package/lib/service/icon-cache.service.d.ts +0 -18
  286. package/lib/service/options.service.d.ts +0 -13
  287. package/lib/service/shared-connector.service.d.ts +0 -43
  288. package/lib/service/shared.service.d.ts +0 -8
  289. package/lib/service/stock.service.d.ts +0 -38
  290. package/lib/utils/array-utils.d.ts +0 -57
  291. package/lib/utils/is-nill.function.d.ts +0 -1
  292. package/lib/utils/string-utils.d.ts +0 -22
@@ -0,0 +1,443 @@
1
+ @import "../../../../../style/mixin";
2
+
3
+ @include export-module('sc-agenda') {
4
+ .sc-agenda {
5
+ width: 100%;
6
+ display: flex;
7
+ flex-direction: row;
8
+ height: 100%;
9
+ overflow: hidden;
10
+
11
+ .no-user-select {
12
+ user-select: none;
13
+ }
14
+
15
+ .agenda-header-wrapper {
16
+ display: flex;
17
+ width: inherit;
18
+ height: $agenda-week-view-header-height;
19
+ background: white;
20
+ z-index: 9001;
21
+ }
22
+
23
+ .week-day {
24
+ display: flex;
25
+ position: relative;
26
+ flex-basis: 100%;
27
+ }
28
+
29
+ .content-wrapper {
30
+ display: flex;
31
+ width: 100%;
32
+ height: 100%;
33
+ flex-wrap: wrap;
34
+ }
35
+
36
+ .hour-label-placeholder {
37
+ display: flex;
38
+ flex-basis: $agenda-hour-view-labels-width;
39
+ flex-shrink: 0;
40
+ border: 1px solid $color_border;
41
+ align-items: center;
42
+ justify-content: center;
43
+ }
44
+
45
+ .week-day-label {
46
+ background: #f1f1f1;
47
+ pointer-events: none;
48
+ position: relative;
49
+ flex-basis: 100%;
50
+ display: flex;
51
+ flex-direction: column;
52
+ align-items: center;
53
+ justify-content: center;
54
+ border: 1px solid $color_border;
55
+
56
+ &.selectable {
57
+ pointer-events: all;
58
+ }
59
+
60
+ &.selected {
61
+ background: white;
62
+
63
+ .weekday-description, .weekday-value {
64
+ color: $color-active-light;
65
+ }
66
+ }
67
+
68
+ &.selectable:not(.selected) {
69
+ cursor: pointer;
70
+ color: $color-label;
71
+
72
+ &:not(:hover) {
73
+ background: none;
74
+
75
+ .weekday-description, .weekday-value, .day-description {
76
+ color: $color-dark;
77
+ }
78
+ }
79
+ }
80
+
81
+ .add-unit-icon, .sub-unit-icon {
82
+ pointer-events: all;
83
+ }
84
+
85
+ &:hover {
86
+ background: $color_border;
87
+ }
88
+ }
89
+
90
+ .weekday-description {
91
+ color: $color-inactive-day;
92
+ font-size: 14px;
93
+ text-transform: uppercase;
94
+ margin-top: 7px;
95
+ }
96
+
97
+ .weekday-value {
98
+ color: $color-inactive-day;
99
+ font-size: $agenda-week-label-value-font-size;
100
+ font-weight: bold;
101
+ }
102
+
103
+ .sub-unit-icon {
104
+ position: absolute;
105
+ left: 7px;
106
+ }
107
+
108
+ .add-unit-icon {
109
+ position: absolute;
110
+ right: 7px;
111
+ }
112
+
113
+ .day-description {
114
+ color: $color-inactive-day;
115
+ font-size: $agenda-week-label-value-font-size;
116
+ font-weight: bold;
117
+ }
118
+
119
+ .month-description {
120
+ top: 1px;
121
+ left: 3px;
122
+ font-size: 11px;
123
+ text-transform: capitalize;
124
+ position: absolute;
125
+ width: 100px;
126
+ }
127
+
128
+ .view-wrapper {
129
+ display: flex;
130
+ width: 100%;
131
+ margin-top: -1px;
132
+ }
133
+
134
+ .week-select-view {
135
+ display: flex;
136
+ position: relative;
137
+ padding: 50px;
138
+ height: 100%;
139
+ }
140
+
141
+ .week-day {
142
+ display: flex;
143
+ position: relative;
144
+ flex-basis: 100%;
145
+ }
146
+
147
+ @media screen and (max-width: $xs-width) {
148
+ .popup-card-content {
149
+ padding: 0 0 15px !important;
150
+ }
151
+ }
152
+ @media screen and (min-width: $sm-width) {
153
+ .select-agenda-button {
154
+ left: 50px;
155
+ float: left;
156
+ position: absolute;
157
+ bottom: 0;
158
+ }
159
+ }
160
+
161
+ agenda {
162
+ position: relative;
163
+ }
164
+
165
+ .agenda-content-wrapper {
166
+ min-width: 0 !important;
167
+ }
168
+
169
+ agenda-header {
170
+ width: 100% !important;
171
+ }
172
+
173
+ .agenda-header-wrapper {
174
+ padding: 0 50px;
175
+ height: auto;
176
+
177
+ .week-day-label {
178
+
179
+ .sub-unit-icon {
180
+ height: 100%;
181
+ width: 50px;
182
+ left: -50px;
183
+ }
184
+
185
+ .add-unit-icon {
186
+ height: 100%;
187
+ width: 50px;
188
+ right: -50px;
189
+ }
190
+
191
+ @media screen and (max-width: $xs-width) {
192
+ .sub-unit-icon {
193
+ width: 25px;
194
+ left: -25px;
195
+ }
196
+
197
+ .add-unit-icon {
198
+ width: 25px;
199
+ right: -25px;
200
+ }
201
+ }
202
+
203
+ .weekday-description {
204
+ font-size: 14px;
205
+ line-height: 20px;
206
+ }
207
+
208
+ .weekday-value {
209
+ line-height: 30px;
210
+ }
211
+
212
+ @media screen and (min-width: $sm-width) {
213
+ .weekday-value {
214
+ font-size: 18px;
215
+ }
216
+ }
217
+ @media screen and (max-width: $xs-width) {
218
+ .weekday-value {
219
+ line-height: 20px;
220
+ font-size: 9px;
221
+ }
222
+ }
223
+ }
224
+ }
225
+
226
+ @media screen and (max-width: $xs-width) {
227
+ .agenda-header-wrapper {
228
+ padding: 0 25px;
229
+ height: 60px !important;
230
+ }
231
+ }
232
+
233
+ .view-wrapper {
234
+ display: flex;
235
+ flex-direction: column;
236
+ width: 100%;
237
+
238
+ .week-day {
239
+ display: flex;
240
+ width: 100%;
241
+ height: 100%;
242
+
243
+ .week-select-container {
244
+ display: flex;
245
+ width: 100%;
246
+
247
+ .week-select-left {
248
+ width: 40%;
249
+
250
+ .no-events-banner {
251
+ display: flex;
252
+ width: 100%;
253
+ padding: 15px;
254
+ border-radius: 4px;
255
+ justify-content: space-evenly;
256
+ border: 1px solid #f7f5f4;
257
+ box-shadow: 0 0 15px 0 rgba(72, 79, 96, .30);
258
+ }
259
+
260
+ .week-select-list {
261
+ height: 100%;
262
+ padding: 10px;
263
+ margin: -10px 0 0 -10px;
264
+
265
+ agenda-events {
266
+ position: static;
267
+ flex-direction: column;
268
+ height: auto;
269
+
270
+ agenda-select-event {
271
+ position: static;
272
+ width: 100%;
273
+ display: flex;
274
+ margin: 0 0 20px;
275
+ height: auto;
276
+
277
+ &:last-child {
278
+ margin: 0;
279
+ }
280
+
281
+ &:hover .week-select-item {
282
+ background: $color_border;
283
+ }
284
+
285
+ .week-select-item {
286
+ display: flex;
287
+ width: 100%;
288
+ padding: 30px 25px 30px 100px;
289
+ border-radius: 4px;
290
+ justify-content: space-evenly;
291
+ border: 1px solid #f7f5f4;
292
+ list-style-type: none;
293
+ position: relative;
294
+ cursor: pointer;
295
+ box-shadow: 0 0 15px 0 rgba(72, 79, 96, .30);
296
+
297
+ &.selected {
298
+ background: $color-active-light;
299
+ border-color: $color-active-light;
300
+ color: #fff;
301
+
302
+ .select-icon {
303
+ path {
304
+ fill: #fff !important;
305
+ }
306
+
307
+ polygon {
308
+ fill: #fff !important;
309
+ }
310
+ }
311
+ }
312
+
313
+ .select-icon {
314
+ height: 50px;
315
+ width: 100px;
316
+ position: absolute;
317
+ left: 0;
318
+ top: 50%;
319
+ margin: -25px 0 0;
320
+ opacity: 1;
321
+ }
322
+
323
+ @media screen and (max-width: $xs-width) {
324
+ .select-icon {
325
+ height: 40px;
326
+ width: 80px;
327
+ margin: -20px 0 0;
328
+ }
329
+ }
330
+
331
+ .moment-name {
332
+ display: flex;
333
+ align-items: flex-start;
334
+ width: 100%;
335
+ flex-direction: column;
336
+
337
+ h2 {
338
+ margin: 5px 0 0;
339
+ }
340
+
341
+ }
342
+
343
+ }
344
+
345
+ @media screen and (max-width: $xs-width) {
346
+ .week-select-item {
347
+ padding: 20px 25px 20px 80px;
348
+ }
349
+ }
350
+
351
+ }
352
+ }
353
+
354
+ }
355
+ }
356
+
357
+ @media screen and (max-width: $md-width) {
358
+ .week-select-left {
359
+ width: 50%;
360
+ }
361
+ }
362
+ @media screen and (max-width: $sm-width) {
363
+ .week-select-left {
364
+ width: 100%;
365
+ height: 100%;
366
+ display: flex;
367
+ flex-direction: column;
368
+ margin: 0 0 20px;
369
+ }
370
+ }
371
+ @media screen and (max-width: $xs-width) {
372
+ .week-select-left {
373
+ h3 {
374
+ font-size: 14px;
375
+ }
376
+ }
377
+ }
378
+
379
+ .week-select-right {
380
+ width: 50%;
381
+ padding: 0 0 0 50px;
382
+
383
+ li {
384
+ display: flex;
385
+ align-items: center;
386
+ margin: 10px 0;
387
+ line-height: 190%;
388
+ list-style-type: none;
389
+
390
+ .moment-icon {
391
+ float: left;
392
+ margin: 0 0 0 -50px;
393
+ width: 30px;
394
+ height: 35px;
395
+ }
396
+ }
397
+ }
398
+
399
+ @media screen and (max-width: $sm-width) {
400
+ .week-select-right {
401
+ display: flex;
402
+ flex-direction: column;
403
+ width: 100%;
404
+ padding: 0 0 40px;
405
+ }
406
+ }
407
+ @media screen and (max-width: $xs-width) {
408
+ .week-select-right {
409
+ font-size: 13px;
410
+
411
+ h3 {
412
+ font-size: 14px;
413
+ }
414
+
415
+ li {
416
+ margin: 10px 0;
417
+ }
418
+ }
419
+ }
420
+ }
421
+
422
+ @media screen and (max-width: $sm-width) {
423
+ .week-select-container {
424
+ flex-direction: column-reverse;
425
+ }
426
+ }
427
+ }
428
+ }
429
+
430
+ @media screen and (max-width: $sm-width) {
431
+ :host {
432
+ flex-direction: column;
433
+ padding: 50px 50px 0;
434
+ }
435
+ }
436
+
437
+ @media screen and (max-width: $xs-width) {
438
+ :host {
439
+ padding: 25px 25px 0;
440
+ }
441
+ }
442
+ }
443
+ }
@@ -0,0 +1,11 @@
1
+ $agenda-week-view-header-height: 100px;
2
+ $agenda-hour-view-labels-width: 80px;
3
+ $color-active-light: #74B77F;
4
+ $color-label: #5B6875;
5
+ $color-dark: #171721;
6
+ $color-inactive-day: rgba($color-dark, 0.2);
7
+ $agenda-week-label-value-font-size: 2vw;
8
+ $xs-width: 600px;
9
+ $sm-width: 960px;
10
+ $md-width: 1280px;
11
+ $lg-width: 1920px;
@@ -0,0 +1,7 @@
1
+ @import "../../../../../style/mixin";
2
+
3
+ @include export-module('sc-agenda-theme') {
4
+ .sc-agenda {
5
+
6
+ }
7
+ }
@@ -0,0 +1,37 @@
1
+ import {Component, EventEmitter, Input, OnInit, Output, ViewEncapsulation} from "@angular/core";
2
+ import {ALL_MONTHS} from "../../../../model/constant/all-months";
3
+
4
+ @Component({
5
+ selector: "calendar-all-months",
6
+ template: `
7
+ <div *ngFor="let currentMonth of months; let index = index"
8
+ [class.selected-month]="month === index"
9
+ [textContent]="currentMonth"
10
+ class="pointer-hover"
11
+ (click)="month = index; monthChange.emit(month)"
12
+ ></div>
13
+ `,
14
+ encapsulation: ViewEncapsulation.None
15
+ })
16
+
17
+ export class CalendarAllMonthsComponent implements OnInit {
18
+
19
+ @Input()
20
+ public month: number;
21
+
22
+ @Input()
23
+ public shortDescriptions: boolean = false;
24
+
25
+ @Output()
26
+ public monthChange: EventEmitter<number> = new EventEmitter<number>();
27
+
28
+ public months: string[] = [];
29
+
30
+ constructor() {
31
+ }
32
+
33
+ ngOnInit(): void {
34
+ this.months.length = 0;
35
+ this.months = ALL_MONTHS;
36
+ }
37
+ }
@@ -0,0 +1,52 @@
1
+ import {Component, EventEmitter, Input, OnInit, Output, ViewEncapsulation} from "@angular/core";
2
+
3
+ @Component({
4
+ selector: "calendar-all-years",
5
+ template: `
6
+ <div *ngFor="let currentYear of years"
7
+ [textContent]="currentYear"
8
+ [class.selected-year]="currentYear === year"
9
+ class="pointer-hover"
10
+ (click)="year = currentYear; yearChange.emit(year)"
11
+ ></div>
12
+ `,
13
+ encapsulation: ViewEncapsulation.None
14
+ })
15
+
16
+ export class CalendarAllYearsComponent implements OnInit {
17
+
18
+ @Input()
19
+ public year: number;
20
+
21
+ @Output()
22
+ public readonly yearChange: EventEmitter<number> = new EventEmitter<number>();
23
+
24
+ public years: number[] = [];
25
+
26
+ constructor() {
27
+ }
28
+
29
+ ngOnInit(): void {
30
+ this.years.length = 0;
31
+ let start: number = this._determineStart();
32
+ const end: number = start + 11;
33
+ while (start < end) {
34
+ this.years.push(start);
35
+ start++;
36
+ }
37
+ }
38
+
39
+ private _determineStart(): number {
40
+ if (this.year > 0) {
41
+ let thisYear: number = this.year;
42
+ let thisYearLastDigit: number = parseInt(thisYear.toString().split("").pop());
43
+ while (thisYearLastDigit > 0) {
44
+ thisYear--;
45
+ thisYearLastDigit = parseInt(thisYear.toString().split("").pop());
46
+ }
47
+ return thisYear;
48
+ }
49
+ return 0;
50
+ }
51
+
52
+ }
@@ -0,0 +1,124 @@
1
+ import {Component, DoCheck, EventEmitter, Input, Output, ViewEncapsulation} from "@angular/core";
2
+ import {animate, state, style, transition, trigger} from "@angular/animations";
3
+ import {ALL_MONTHS} from "../../../../model/constant/all-months";
4
+ import {Icon} from "../../../../enum/icon.enum";
5
+ import {IconCacheService} from "../../../../service/icon-cache.service";
6
+
7
+ @Component({
8
+ selector: "calendar-header",
9
+ template: `
10
+ <div #monthYearSelect class="calendar-header-row">
11
+ <co-icon class="pointer-hover" [iconData]="iconCacheService.getIcon(icons.ArrowPointLeft)" (click)="subMonth()"></co-icon>
12
+ <div (click)="showMonthYearSelect = true">
13
+ <div class="month" [textContent]="currentMonth"></div>
14
+ <div class="year" [textContent]="currentYear"></div>
15
+ </div>
16
+ <co-icon class="pointer-hover" [iconData]="iconCacheService.getIcon(icons.ArrowPointRight)" (click)="addMonth()"></co-icon>
17
+ </div>
18
+ <ng-template #template [absoluteOverlayTemplate]="template">
19
+ <div *ngIf="showMonthYearSelect"
20
+ (clickOutside)="hideMonthYearSelection()" [alignWith]="monthYearSelect"
21
+ class="select-month-year-window" [class.expanded]="expanded" @showMonthYearSelect
22
+ [alignTopOffsetPx]="20"
23
+ >
24
+ <div>
25
+ <calendar-all-months [month]="currentMonth" (monthChange)="setNewMonth($event)" shortDescriptions></calendar-all-months>
26
+ <div class="vertical-divider"></div>
27
+ <calendar-all-years [year]="currentYear" (yearChange)="setNewYear($event)"></calendar-all-years>
28
+ </div>
29
+ <default-ok-cancel-buttons
30
+ (okClick)="changeMonthYear()"
31
+ (cancelClick)="showMonthYearSelect = false"
32
+ >
33
+ </default-ok-cancel-buttons>
34
+ </div>
35
+ </ng-template>
36
+ `,
37
+ encapsulation: ViewEncapsulation.None,
38
+ animations: [
39
+ trigger("showMonthYearSelect", [
40
+ state("void", style({
41
+ "transform-origin": "top center",
42
+ transform: "scaleY(0)"
43
+ })),
44
+ state("*", style({
45
+ "transform-origin": "top center",
46
+ transform: "scaleY(1)"
47
+ })),
48
+ transition(":enter, :leave", [
49
+ animate("200ms ease-in-out")
50
+ ])
51
+ ])
52
+ ]
53
+ })
54
+
55
+ export class CalendarHeaderComponent implements DoCheck {
56
+
57
+ @Input()
58
+ public selectedDate: Date = new Date();
59
+
60
+ @Output()
61
+ public readonly selectedDateChange: EventEmitter<Date> = new EventEmitter<Date>();
62
+
63
+ public readonly icons: typeof Icon = Icon;
64
+
65
+ public showMonthYearSelect: boolean = false;
66
+
67
+ public expanded: boolean = false;
68
+
69
+ public currentMonth: string;
70
+
71
+ public currentYear: number;
72
+
73
+ public selectedMonth: number;
74
+
75
+ public selectedYear: number;
76
+
77
+ constructor(
78
+ public iconCacheService: IconCacheService
79
+ ) {
80
+ }
81
+
82
+ ngDoCheck(): void {
83
+ if (this.selectedDate) {
84
+ this.currentMonth = ALL_MONTHS[this.selectedDate.getMonth()];
85
+ this.currentYear = this.selectedDate.getFullYear();
86
+ }
87
+ }
88
+
89
+ public subMonth(): void {
90
+ const newDate: Date = new Date(this.selectedDate);
91
+ newDate.setMonth(newDate.getMonth() - 1);
92
+ this.selectedDate = newDate;
93
+ this.selectedDateChange.emit(this.selectedDate);
94
+ }
95
+
96
+ public addMonth(): void {
97
+ const newDate: Date = new Date(this.selectedDate);
98
+ newDate.setMonth(newDate.getMonth() + 1);
99
+ this.selectedDate = newDate;
100
+ this.selectedDateChange.emit(this.selectedDate);
101
+ }
102
+
103
+ public hideMonthYearSelection(): void {
104
+ this.expanded = false;
105
+ this.showMonthYearSelect = false;
106
+ }
107
+
108
+ public setNewMonth(month: number): void {
109
+ this.selectedMonth = month;
110
+ }
111
+
112
+ public setNewYear(year: number): void {
113
+ this.selectedYear = year;
114
+ }
115
+
116
+ public changeMonthYear(): void {
117
+ this.hideMonthYearSelection();
118
+ const newDate: Date = new Date(this.selectedDate);
119
+ newDate.setMonth(this.selectedMonth);
120
+ newDate.setFullYear(this.selectedYear);
121
+ this.selectedDate = newDate;
122
+ this.selectedDateChange.emit(this.selectedDate);
123
+ }
124
+ }