@colijnit/sharedcomponents 1.0.56 → 1.0.58

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 (727) hide show
  1. package/README.md +8 -11
  2. package/bundles/colijnit-sharedcomponents.umd.js +10297 -0
  3. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -0
  4. package/colijnit-sharedcomponents.d.ts +91 -0
  5. package/colijnit-sharedcomponents.metadata.json +1 -0
  6. package/esm2015/colijnit-sharedcomponents.js +92 -0
  7. package/esm2015/lib/assets/dictionary/text.properties.js +11 -0
  8. package/esm2015/lib/businessobject/build-images-and-documentation-result.js +2 -0
  9. package/esm2015/lib/businessobject/co-document-right.bo.js +3 -0
  10. package/esm2015/lib/businessobject/drag-drop-container-element.js +2 -0
  11. package/esm2015/lib/businessobject/drag-drop-container.js +7 -0
  12. package/esm2015/lib/components/activity-list/activity-list.component.js +130 -0
  13. package/esm2015/lib/components/activity-list/activity-list.module.js +24 -0
  14. package/esm2015/lib/components/app-file-dropzone/app-file-dropzone.component.js +47 -0
  15. package/esm2015/lib/components/app-file-dropzone/app-file-dropzone.module.js +20 -0
  16. package/esm2015/lib/components/date-planning/component/agenda/agenda-base-view.component.js +61 -0
  17. package/esm2015/lib/components/date-planning/component/agenda/agenda-day-view.component.js +36 -0
  18. package/esm2015/lib/components/date-planning/component/agenda/agenda-event.component.js +56 -0
  19. package/esm2015/lib/components/date-planning/component/agenda/agenda-events.component.js +47 -0
  20. package/esm2015/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.js +68 -0
  21. package/esm2015/lib/components/date-planning/component/agenda/agenda-header.component.js +243 -0
  22. package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-cell.component.js +36 -0
  23. package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.js +50 -0
  24. package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-view.component.js +46 -0
  25. package/esm2015/lib/components/date-planning/component/agenda/agenda-month-view.component.js +61 -0
  26. package/esm2015/lib/components/date-planning/component/agenda/agenda-select-event.component.js +39 -0
  27. package/esm2015/lib/components/date-planning/component/agenda/agenda-view.component.js +35 -0
  28. package/esm2015/lib/components/date-planning/component/agenda/agenda-week-select-view.component.js +64 -0
  29. package/esm2015/lib/components/date-planning/component/agenda/agenda-week-view.component.js +48 -0
  30. package/esm2015/lib/components/date-planning/component/agenda/view-select.component.js +42 -0
  31. package/esm2015/lib/components/date-planning/component/calendar/calendar-all-months.component.js +34 -0
  32. package/esm2015/lib/components/date-planning/component/calendar/calendar-all-years.component.js +48 -0
  33. package/esm2015/lib/components/date-planning/component/calendar/calendar-header.component.js +107 -0
  34. package/esm2015/lib/components/date-planning/component/calendar/calendar-view.component.js +178 -0
  35. package/esm2015/lib/components/date-planning/component/calendar/calendar.component.js +34 -0
  36. package/esm2015/lib/components/date-planning/date-planning.component.js +113 -0
  37. package/esm2015/lib/components/date-planning/date-planning.module.js +63 -0
  38. package/esm2015/lib/components/docsign/component/signature/signature.component.js +75 -0
  39. package/esm2015/lib/components/docsign/component/signatures/signatures.component.js +44 -0
  40. package/esm2015/lib/components/docsign/docsign.component.js +242 -0
  41. package/esm2015/lib/components/docsign/docsign.module.js +23 -0
  42. package/esm2015/lib/components/file-upload/file-upload.component.js +189 -0
  43. package/esm2015/lib/components/file-upload/file-upload.module.js +25 -0
  44. package/esm2015/lib/components/file-upload-popup/file-upload-popup.component.js +397 -0
  45. package/esm2015/lib/components/file-upload-popup/file-upload-popup.module.js +30 -0
  46. package/esm2015/lib/components/files-upload/components/base-file-upload.component.js +469 -0
  47. package/esm2015/lib/components/files-upload/components/drag-drop-container.component.js +115 -0
  48. package/esm2015/lib/components/files-upload/files-upload.component.js +131 -0
  49. package/esm2015/lib/components/files-upload/files-upload.module.js +47 -0
  50. package/esm2015/lib/components/image-display/image-display.component.js +36 -0
  51. package/esm2015/lib/components/image-display/image-display.module.js +23 -0
  52. package/esm2015/lib/components/key-pad/key-pad.component.js +200 -0
  53. package/esm2015/lib/components/key-pad/key-pad.module.js +22 -0
  54. package/esm2015/lib/components/layout-switcher/layout-switcher.component.js +74 -0
  55. package/esm2015/lib/components/layout-switcher/layout-switcher.module.js +21 -0
  56. package/esm2015/lib/components/linear-gauge/co-linear-gauge.component.js +59 -0
  57. package/esm2015/lib/components/linear-gauge/co-linear-gauge.module.js +19 -0
  58. package/esm2015/lib/components/multi-property-toggler/multiple-property-toggler.component.js +89 -0
  59. package/esm2015/lib/components/multi-property-toggler/multiple-property-toggler.module.js +21 -0
  60. package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.js +79 -0
  61. package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.js +21 -0
  62. package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.js +85 -0
  63. package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.js +21 -0
  64. package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.js +64 -0
  65. package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.js +26 -0
  66. package/esm2015/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.js +40 -0
  67. package/esm2015/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.js +23 -0
  68. package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.js +61 -0
  69. package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.js +28 -0
  70. package/esm2015/lib/components/send-method-dialog/components/signature-button/signature-button.component.js +38 -0
  71. package/esm2015/lib/components/send-method-dialog/components/signature-button/signature-button.module.js +21 -0
  72. package/esm2015/lib/components/send-method-dialog/model/email-address-viewmodel.js +7 -0
  73. package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +258 -0
  74. package/esm2015/lib/components/send-method-dialog/send-method-dialog.module.js +35 -0
  75. package/esm2015/lib/components/send-method-dialog/send-method-params.interface.js +2 -0
  76. package/esm2015/lib/components/send-method-dialog/service/send-method.service.js +59 -0
  77. package/esm2015/lib/components/simple-tags/simple-tags.component.js +229 -0
  78. package/esm2015/lib/components/simple-tags/simple-tags.module.js +26 -0
  79. package/esm2015/lib/components/statusbar/statusbar-popup.component.js +97 -0
  80. package/esm2015/lib/components/statusbar/statusbar.component.js +81 -0
  81. package/esm2015/lib/components/statusbar/statusbar.module.js +27 -0
  82. package/esm2015/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.js +47 -0
  83. package/esm2015/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.js +47 -0
  84. package/esm2015/lib/components/stock/components/order-stock-history/order-stock-history.component.js +47 -0
  85. package/esm2015/lib/components/stock/components/order-stock-tab/order-stock-tab.component.js +47 -0
  86. package/esm2015/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.js +47 -0
  87. package/esm2015/lib/components/stock/components/order-tab/order-tab.component.js +67 -0
  88. package/esm2015/lib/components/stock/components/stock-history/stock-history.component.js +53 -0
  89. package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +240 -0
  90. package/esm2015/lib/components/stock/components/stock-prognose/stock-prognose.component.js +52 -0
  91. package/esm2015/lib/components/stock/components/stock-tab/stock-tab.component.js +41 -0
  92. package/esm2015/lib/components/stock/localization/translation.js +63 -0
  93. package/esm2015/lib/components/stock/stock-history-tabs/stock-history-tabs.component.js +33 -0
  94. package/esm2015/lib/components/stock/stock-information/stock-information.component.js +48 -0
  95. package/esm2015/lib/components/stock/stock-information-grid/stock-information-grid.component.js +457 -0
  96. package/esm2015/lib/components/stock/stock-tabs/stock-tabs.component.js +241 -0
  97. package/esm2015/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.js +2 -0
  98. package/esm2015/lib/components/stock/stock-transfer/stock-change-amount.component.js +72 -0
  99. package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +149 -0
  100. package/esm2015/lib/components/stock/stock.component.js +193 -0
  101. package/esm2015/lib/components/stock/stock.module.js +80 -0
  102. package/esm2015/lib/components/stock-statusbar/stock-statusbar.component.js +23 -0
  103. package/esm2015/lib/components/stock-statusbar/stock-statusbar.module.js +19 -0
  104. package/esm2015/lib/components/tab-bar/tab-bar.component.js +88 -0
  105. package/esm2015/lib/components/tab-bar/tab-bar.module.js +21 -0
  106. package/esm2015/lib/components/tab-bar/tab.interface.js +2 -0
  107. package/esm2015/lib/components/tile-renderer/tile-render.component.js +80 -0
  108. package/esm2015/lib/components/tile-renderer/tile-render.module.js +26 -0
  109. package/esm2015/lib/decorator/input-boolean.decorator.js +34 -0
  110. package/esm2015/lib/enum/calendar-view.enum.js +9 -0
  111. package/esm2015/lib/enum/document-email-report.enum.js +18 -0
  112. package/esm2015/lib/enum/domain-multiple-name.enum.js +13 -0
  113. package/esm2015/lib/enum/file-type.js +14 -0
  114. package/esm2015/lib/enum/files-upload-config-objects.js +3 -0
  115. package/esm2015/lib/enum/gauge-color.enum.js +10 -0
  116. package/esm2015/lib/enum/icon.enum.js +44 -0
  117. package/esm2015/lib/enum/internal-param.enum.js +38 -0
  118. package/esm2015/lib/enum/keyboard-code.enum.js +32 -0
  119. package/esm2015/lib/enum/language-code.enum.js +8 -0
  120. package/esm2015/lib/enum/month.enum.js +17 -0
  121. package/esm2015/lib/enum/read-write-access-config-names.enum.js +2 -0
  122. package/esm2015/lib/enum/table-name.enum.js +86 -0
  123. package/esm2015/lib/enum/tag-category.enum.js +22 -0
  124. package/esm2015/lib/enum/tags-component-config-names.js +2 -0
  125. package/esm2015/lib/enum/thumb-three-way-state.js +19 -0
  126. package/esm2015/lib/enum/tile-size-type.js +7 -0
  127. package/esm2015/lib/enum/time-period.enum.js +11 -0
  128. package/esm2015/lib/event/co-drag-event.js +2 -0
  129. package/esm2015/lib/event/co-drop-event.js +2 -0
  130. package/esm2015/lib/interface/key-value-pair.js +2 -0
  131. package/esm2015/lib/interface/operation-callback-simple-function.js +4 -0
  132. package/esm2015/lib/localization/localization.module.js +19 -0
  133. package/esm2015/lib/localization/localize.pipe.js +26 -0
  134. package/esm2015/lib/localization/localize.service.js +30 -0
  135. package/esm2015/lib/localization/translation.js +3 -0
  136. package/esm2015/lib/model/agenda-event-per-day.model.js +6 -0
  137. package/esm2015/lib/model/agenda-event.model.js +8 -0
  138. package/esm2015/lib/model/agenda-null-objects.js +11 -0
  139. package/esm2015/lib/model/constant/all-months.js +17 -0
  140. package/esm2015/lib/model/date-range.js +5 -0
  141. package/esm2015/lib/model/day.model.js +7 -0
  142. package/esm2015/lib/model/icon-svg.js +43 -0
  143. package/esm2015/lib/model/month.model.js +11 -0
  144. package/esm2015/lib/model/send-method.js +8 -0
  145. package/esm2015/lib/model/settings.js +4 -0
  146. package/esm2015/lib/model/tag-tree-item.bo.js +16 -0
  147. package/esm2015/lib/model/time-window.bo.js +26 -0
  148. package/esm2015/lib/model/tree-object.js +15 -0
  149. package/esm2015/lib/model/week.model.js +6 -0
  150. package/esm2015/lib/model/weekday.model.js +10 -0
  151. package/esm2015/lib/pipe/array-number.pipe.js +15 -0
  152. package/esm2015/lib/pipe/file-type-image.pipe.js +51 -0
  153. package/esm2015/lib/pipe/master-pipes.js +9 -0
  154. package/esm2015/lib/pipe/ucfirst.pipe.js +16 -0
  155. package/esm2015/lib/service/dictionary.service.js +76 -0
  156. package/esm2015/lib/service/drag-drop.service.js +365 -0
  157. package/esm2015/lib/service/icon-cache.service.js +51 -0
  158. package/esm2015/lib/service/options.service.js +48 -0
  159. package/esm2015/lib/service/shared-connector.service.js +433 -0
  160. package/esm2015/lib/service/shared.service.js +60 -0
  161. package/esm2015/lib/service/stock.service.js +110 -0
  162. package/esm2015/lib/utils/array-utils.js +202 -0
  163. package/esm2015/lib/utils/calendar.utils.js +68 -0
  164. package/esm2015/lib/utils/check-precision-and-scale-result.js +2 -0
  165. package/esm2015/lib/utils/check-within-stepped-bounds-result.js +2 -0
  166. package/esm2015/lib/utils/co-document-shared-field-logic.js +50 -0
  167. package/esm2015/lib/utils/date-utils.js +264 -0
  168. package/esm2015/lib/utils/enum-utils.js +128 -0
  169. package/esm2015/lib/utils/function/not-nill.function.js +5 -0
  170. package/esm2015/lib/utils/is-nill.function.js +5 -0
  171. package/esm2015/lib/utils/map-utils.js +41 -0
  172. package/esm2015/lib/utils/number-utils.js +390 -0
  173. package/esm2015/lib/utils/object-utils.js +278 -0
  174. package/esm2015/lib/utils/ref-code-utils.js +49 -0
  175. package/esm2015/lib/utils/string-utils.js +93 -0
  176. package/esm2015/public-api.js +31 -0
  177. package/fesm2015/colijnit-sharedcomponents.js +10555 -0
  178. package/fesm2015/colijnit-sharedcomponents.js.map +1 -0
  179. package/lib/assets/dictionary/text.properties.d.ts +3 -0
  180. package/lib/businessobject/build-images-and-documentation-result.d.ts +5 -0
  181. package/lib/businessobject/co-document-right.bo.d.ts +6 -0
  182. package/lib/businessobject/drag-drop-container-element.d.ts +6 -0
  183. package/lib/businessobject/drag-drop-container.d.ts +6 -0
  184. package/lib/components/access/read-write-access.scss +25 -0
  185. package/lib/components/access/style/_layout.scss +23 -0
  186. package/lib/components/access/style/_theme.scss +4 -0
  187. package/lib/components/activity-list/activity-list.component.d.ts +33 -0
  188. package/lib/components/activity-list/activity-list.module.d.ts +2 -0
  189. package/lib/components/activity-list/style/_layout.scss +68 -0
  190. package/lib/components/activity-list/style/_theme.scss +4 -0
  191. package/lib/components/app-file-dropzone/app-file-dropzone.component.d.ts +14 -0
  192. package/lib/components/app-file-dropzone/app-file-dropzone.module.d.ts +2 -0
  193. package/lib/components/app-file-dropzone/style/_layout.scss +61 -0
  194. package/lib/components/app-file-dropzone/style/_theme.scss +4 -0
  195. package/lib/components/date-planning/component/agenda/agenda-base-view.component.d.ts +21 -0
  196. package/lib/components/date-planning/component/agenda/agenda-day-view.component.d.ts +7 -0
  197. package/lib/components/date-planning/component/agenda/agenda-event.component.d.ts +18 -0
  198. package/lib/components/date-planning/component/agenda/agenda-events.component.d.ts +13 -0
  199. package/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.d.ts +18 -0
  200. package/lib/components/date-planning/component/agenda/agenda-header.component.d.ts +48 -0
  201. package/lib/components/date-planning/component/agenda/agenda-hour-cell.component.d.ts +9 -0
  202. package/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.d.ts +8 -0
  203. package/lib/components/date-planning/component/agenda/agenda-hour-view.component.d.ts +7 -0
  204. package/lib/components/date-planning/component/agenda/agenda-month-view.component.d.ts +10 -0
  205. package/lib/components/date-planning/component/agenda/agenda-select-event.component.d.ts +12 -0
  206. package/lib/components/date-planning/component/agenda/agenda-view.component.d.ts +12 -0
  207. package/lib/components/date-planning/component/agenda/agenda-week-select-view.component.d.ts +10 -0
  208. package/lib/components/date-planning/component/agenda/agenda-week-view.component.d.ts +9 -0
  209. package/lib/components/date-planning/component/agenda/view-select.component.d.ts +11 -0
  210. package/lib/components/date-planning/component/calendar/calendar-all-months.component.d.ts +9 -0
  211. package/lib/components/date-planning/component/calendar/calendar-all-years.component.d.ts +9 -0
  212. package/lib/components/date-planning/component/calendar/calendar-header.component.d.ts +23 -0
  213. package/lib/components/date-planning/component/calendar/calendar-view.component.d.ts +31 -0
  214. package/lib/components/date-planning/component/calendar/calendar.component.d.ts +10 -0
  215. package/lib/components/date-planning/date-planning.component.d.ts +28 -0
  216. package/lib/components/date-planning/date-planning.module.d.ts +2 -0
  217. package/lib/components/docsign/component/signature/signature.component.d.ts +16 -0
  218. package/lib/components/docsign/component/signatures/signatures.component.d.ts +12 -0
  219. package/lib/components/docsign/docsign.component.d.ts +94 -0
  220. package/lib/components/docsign/docsign.module.d.ts +2 -0
  221. package/lib/components/docsign/style/_material-definition.scss +12 -0
  222. package/lib/components/file-upload/file-upload.component.d.ts +42 -0
  223. package/lib/components/file-upload/file-upload.module.d.ts +2 -0
  224. package/lib/components/file-upload/style/_layout.scss +59 -0
  225. package/lib/components/file-upload/style/_material-definition.scss +2 -0
  226. package/lib/components/file-upload/style/_theme.scss +4 -0
  227. package/lib/components/file-upload/style/material.scss +4 -0
  228. package/lib/components/file-upload-popup/file-upload-popup.component.d.ts +75 -0
  229. package/lib/components/file-upload-popup/file-upload-popup.module.d.ts +2 -0
  230. package/lib/components/file-upload-popup/style/_layout.scss +48 -0
  231. package/lib/components/file-upload-popup/style/_material-definition.scss +2 -0
  232. package/lib/components/file-upload-popup/style/_theme.scss +5 -0
  233. package/lib/components/files-upload/components/base-file-upload.component.d.ts +98 -0
  234. package/lib/components/files-upload/components/drag-drop-container.component.d.ts +34 -0
  235. package/lib/components/files-upload/files-upload.component.d.ts +32 -0
  236. package/lib/components/files-upload/files-upload.module.d.ts +2 -0
  237. package/lib/components/files-upload/style/_layout.scss +49 -0
  238. package/lib/components/files-upload/style/_theme.scss +5 -0
  239. package/lib/components/files-upload/style/material.scss +4 -0
  240. package/lib/components/image-display/image-display.component.d.ts +14 -0
  241. package/lib/components/image-display/image-display.module.d.ts +2 -0
  242. package/lib/components/image-display/style/_layout.scss +56 -0
  243. package/lib/components/image-display/style/_material-definition.scss +4 -0
  244. package/lib/components/image-display/style/_theme.scss +6 -0
  245. package/lib/components/key-pad/key-pad.component.d.ts +38 -0
  246. package/lib/components/key-pad/key-pad.module.d.ts +2 -0
  247. package/lib/components/layout-switcher/layout-switcher.component.d.ts +16 -0
  248. package/lib/components/layout-switcher/layout-switcher.module.d.ts +2 -0
  249. package/lib/components/linear-gauge/co-linear-gauge.component.d.ts +11 -0
  250. package/lib/components/linear-gauge/co-linear-gauge.module.d.ts +2 -0
  251. package/lib/components/multi-property-toggler/multiple-property-toggler.component.d.ts +27 -0
  252. package/lib/components/multi-property-toggler/multiple-property-toggler.module.d.ts +2 -0
  253. package/lib/components/multi-property-toggler/style/_layout.scss +24 -0
  254. package/lib/components/multi-property-toggler/style/_theme.scss +4 -0
  255. package/lib/components/multi-property-toggler/style/material.scss +4 -0
  256. package/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.d.ts +19 -0
  257. package/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.d.ts +2 -0
  258. package/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.d.ts +19 -0
  259. package/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.d.ts +2 -0
  260. package/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.d.ts +14 -0
  261. package/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.d.ts +2 -0
  262. package/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.d.ts +8 -0
  263. package/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.d.ts +2 -0
  264. package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.d.ts +13 -0
  265. package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.d.ts +2 -0
  266. package/lib/components/send-method-dialog/components/signature-button/signature-button.component.d.ts +12 -0
  267. package/lib/components/send-method-dialog/components/signature-button/signature-button.module.d.ts +2 -0
  268. package/lib/components/send-method-dialog/model/email-address-viewmodel.d.ts +5 -0
  269. package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +71 -0
  270. package/lib/components/send-method-dialog/send-method-dialog.module.d.ts +2 -0
  271. package/lib/components/send-method-dialog/send-method-params.interface.d.ts +13 -0
  272. package/lib/components/send-method-dialog/service/send-method.service.d.ts +23 -0
  273. package/lib/components/simple-tags/simple-tags.component.d.ts +31 -0
  274. package/lib/components/simple-tags/simple-tags.module.d.ts +2 -0
  275. package/lib/components/simple-tags/style/material.scss +4 -0
  276. package/lib/components/statusbar/statusbar-popup.component.d.ts +21 -0
  277. package/lib/components/statusbar/statusbar.component.d.ts +26 -0
  278. package/lib/components/statusbar/statusbar.module.d.ts +2 -0
  279. package/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.d.ts +9 -0
  280. package/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.d.ts +9 -0
  281. package/lib/components/stock/components/order-stock-history/order-stock-history.component.d.ts +9 -0
  282. package/lib/components/stock/components/order-stock-tab/order-stock-tab.component.d.ts +11 -0
  283. package/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.d.ts +9 -0
  284. package/lib/components/stock/components/order-tab/order-tab.component.d.ts +20 -0
  285. package/lib/components/stock/components/stock-history/stock-history.component.d.ts +13 -0
  286. package/lib/components/stock/components/stock-location/stock-location.component.d.ts +50 -0
  287. package/lib/components/stock/components/stock-prognose/stock-prognose.component.d.ts +11 -0
  288. package/lib/components/stock/components/stock-tab/stock-tab.component.d.ts +9 -0
  289. package/lib/components/stock/localization/translation.d.ts +60 -0
  290. package/lib/components/stock/stock-history-tabs/stock-history-tabs.component.d.ts +7 -0
  291. package/lib/components/stock/stock-information/stock-information.component.d.ts +8 -0
  292. package/lib/components/stock/stock-information-grid/stock-information-grid.component.d.ts +75 -0
  293. package/lib/components/stock/stock-tabs/stock-tabs.component.d.ts +56 -0
  294. 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
  295. package/lib/components/stock/stock-transfer/stock-change-amount.component.d.ts +18 -0
  296. package/lib/components/stock/stock-transfer/stock-transfer.component.d.ts +42 -0
  297. package/lib/components/stock/stock.component.d.ts +57 -0
  298. package/lib/components/stock/stock.module.d.ts +2 -0
  299. package/lib/components/stock/style/material.scss +4 -0
  300. package/lib/components/stock-statusbar/stock-statusbar.component.d.ts +4 -0
  301. package/lib/components/stock-statusbar/stock-statusbar.module.d.ts +2 -0
  302. package/lib/components/stock-statusbar/style/_material-definition.scss +0 -0
  303. package/lib/components/stock-statusbar/style/_theme.scss +0 -0
  304. package/lib/components/stock-statusbar/style/material.scss +4 -0
  305. package/lib/components/tab-bar/style/_theme.scss +0 -0
  306. package/lib/components/tab-bar/style/material.scss +4 -0
  307. package/lib/components/tab-bar/tab-bar.component.d.ts +21 -0
  308. package/lib/components/tab-bar/tab-bar.module.d.ts +2 -0
  309. package/lib/components/tab-bar/tab.interface.d.ts +5 -0
  310. package/lib/components/tags/component/tag-join-label/style/material.scss +3 -0
  311. package/lib/components/tile-renderer/style/_layout.scss +90 -0
  312. package/lib/components/tile-renderer/style/_material-definition.scss +0 -0
  313. package/lib/components/tile-renderer/style/_theme.scss +4 -0
  314. package/lib/components/tile-renderer/style/material.scss +4 -0
  315. package/lib/components/tile-renderer/tile-render.component.d.ts +31 -0
  316. package/lib/components/tile-renderer/tile-render.module.d.ts +2 -0
  317. package/lib/decorator/input-boolean.decorator.d.ts +8 -0
  318. package/{projects/sharedcomponents/src/lib/enum/calendar-view.enum.ts → lib/enum/calendar-view.enum.d.ts} +2 -3
  319. package/lib/enum/document-email-report.enum.d.ts +15 -0
  320. package/lib/enum/domain-multiple-name.enum.d.ts +10 -0
  321. package/lib/enum/file-type.d.ts +7 -0
  322. package/lib/enum/files-upload-config-objects.d.ts +22 -0
  323. package/lib/enum/gauge-color.enum.d.ts +8 -0
  324. package/{projects/sharedcomponents/src/lib/enum/icon.enum.ts → lib/enum/icon.enum.d.ts} +8 -3
  325. package/lib/enum/internal-param.enum.d.ts +34 -0
  326. package/lib/enum/keyboard-code.enum.d.ts +30 -0
  327. package/lib/enum/language-code.enum.d.ts +6 -0
  328. package/{projects/sharedcomponents/src/lib/enum/month.enum.ts → lib/enum/month.enum.d.ts} +1 -2
  329. package/lib/enum/read-write-access-config-names.enum.d.ts +4 -0
  330. package/lib/enum/table-name.enum.d.ts +84 -0
  331. package/{projects/sharedcomponents/src/lib/enum/tag-category.enum.ts → lib/enum/tag-category.enum.d.ts} +1 -2
  332. package/lib/enum/tags-component-config-names.d.ts +4 -0
  333. package/lib/enum/thumb-three-way-state.d.ts +6 -0
  334. package/lib/enum/tile-size-type.d.ts +4 -0
  335. package/{projects/sharedcomponents/src/lib/enum/time-period.enum.ts → lib/enum/time-period.enum.d.ts} +1 -2
  336. package/lib/event/co-drag-event.d.ts +5 -0
  337. package/lib/event/co-drop-event.d.ts +8 -0
  338. package/lib/interface/key-value-pair.d.ts +4 -0
  339. package/lib/interface/operation-callback-simple-function.d.ts +4 -0
  340. package/lib/localization/localization.module.d.ts +2 -0
  341. package/lib/localization/localize.pipe.d.ts +7 -0
  342. package/lib/localization/localize.service.d.ts +7 -0
  343. package/lib/localization/translation.d.ts +2 -0
  344. package/lib/model/agenda-event-per-day.model.d.ts +5 -0
  345. package/lib/model/agenda-event.model.d.ts +17 -0
  346. package/lib/model/agenda-null-objects.d.ts +10 -0
  347. package/lib/model/constant/all-months.d.ts +2 -0
  348. package/lib/model/date-range.d.ts +7 -0
  349. package/lib/model/day.model.d.ts +8 -0
  350. package/lib/model/icon-svg.d.ts +4 -0
  351. package/lib/model/month.model.d.ts +5 -0
  352. package/lib/model/send-method.d.ts +7 -0
  353. package/lib/model/settings.d.ts +3 -0
  354. package/lib/model/tag-tree-item.bo.d.ts +18 -0
  355. package/lib/model/time-window.bo.d.ts +13 -0
  356. package/lib/model/tree-object.d.ts +8 -0
  357. package/lib/model/week.model.d.ts +4 -0
  358. package/lib/model/weekday.model.d.ts +16 -0
  359. package/lib/pipe/array-number.pipe.d.ts +4 -0
  360. package/lib/pipe/file-type-image.pipe.d.ts +12 -0
  361. package/lib/pipe/master-pipes.d.ts +1 -0
  362. package/lib/pipe/ucfirst.pipe.d.ts +4 -0
  363. package/lib/service/dictionary.service.d.ts +21 -0
  364. package/lib/service/drag-drop.service.d.ts +86 -0
  365. package/lib/service/icon-cache.service.d.ts +18 -0
  366. package/lib/service/options.service.d.ts +13 -0
  367. package/lib/service/shared-connector.service.d.ts +55 -0
  368. package/lib/service/shared.service.d.ts +18 -0
  369. package/lib/service/stock.service.d.ts +41 -0
  370. package/{projects/sharedcomponents/src/lib → lib}/style/_variables.scss +1 -1
  371. package/lib/utils/array-utils.d.ts +63 -0
  372. package/lib/utils/calendar.utils.d.ts +10 -0
  373. package/{projects/sharedcomponents/src/lib/utils/check-precision-and-scale-result.ts → lib/utils/check-precision-and-scale-result.d.ts} +0 -1
  374. package/lib/utils/co-document-shared-field-logic.d.ts +7 -0
  375. package/lib/utils/date-utils.d.ts +44 -0
  376. package/lib/utils/enum-utils.d.ts +31 -0
  377. package/lib/utils/function/not-nill.function.d.ts +1 -0
  378. package/lib/utils/is-nill.function.d.ts +1 -0
  379. package/lib/utils/map-utils.d.ts +16 -0
  380. package/lib/utils/number-utils.d.ts +125 -0
  381. package/lib/utils/object-utils.d.ts +40 -0
  382. package/lib/utils/ref-code-utils.d.ts +10 -0
  383. package/lib/utils/string-utils.d.ts +38 -0
  384. package/package.json +31 -68
  385. package/{projects/sharedcomponents/src/public-api.ts → public-api.d.ts} +4 -4
  386. package/.browserslistrc +0 -16
  387. package/.editorconfig +0 -16
  388. package/.vscode/extensions.json +0 -4
  389. package/.vscode/launch.json +0 -20
  390. package/.vscode/tasks.json +0 -42
  391. package/Sharedcomponents.iml +0 -11
  392. package/angular.json +0 -177
  393. package/custom-login-bundle.webpack.config.js +0 -3
  394. package/karma.conf.js +0 -44
  395. package/move-assets.js +0 -14
  396. package/projects/sharedcomponents/.browserslistrc +0 -16
  397. package/projects/sharedcomponents/README.md +0 -24
  398. package/projects/sharedcomponents/karma.conf.js +0 -44
  399. package/projects/sharedcomponents/ng-package.json +0 -17
  400. package/projects/sharedcomponents/package.json +0 -23
  401. package/projects/sharedcomponents/src/lib/assets/dictionary/text.properties.ts +0 -8
  402. package/projects/sharedcomponents/src/lib/assets/icons/account.svg +0 -1
  403. package/projects/sharedcomponents/src/lib/assets/icons/angle_left_solid.svg +0 -1
  404. package/projects/sharedcomponents/src/lib/assets/icons/angle_right_solid.svg +0 -1
  405. package/projects/sharedcomponents/src/lib/assets/icons/arrow_fat_right.svg +0 -1
  406. package/projects/sharedcomponents/src/lib/assets/icons/arrow_point_left.svg +0 -8
  407. package/projects/sharedcomponents/src/lib/assets/icons/arrow_point_right.svg +0 -4
  408. package/projects/sharedcomponents/src/lib/assets/icons/at_solid.svg +0 -1
  409. package/projects/sharedcomponents/src/lib/assets/icons/bring_forward_regular.svg +0 -1
  410. package/projects/sharedcomponents/src/lib/assets/icons/check_duotone.svg +0 -1
  411. package/projects/sharedcomponents/src/lib/assets/icons/check_round.svg +0 -1
  412. package/projects/sharedcomponents/src/lib/assets/icons/cross_skinny.svg +0 -1
  413. package/projects/sharedcomponents/src/lib/assets/icons/delete_left_regular.svg +0 -1
  414. package/projects/sharedcomponents/src/lib/assets/icons/delivery_truck.svg +0 -12
  415. package/projects/sharedcomponents/src/lib/assets/icons/email.svg +0 -5
  416. package/projects/sharedcomponents/src/lib/assets/icons/envelope_regular.svg +0 -1
  417. package/projects/sharedcomponents/src/lib/assets/icons/eye_regular.svg +0 -1
  418. package/projects/sharedcomponents/src/lib/assets/icons/file_export_regular.svg +0 -1
  419. package/projects/sharedcomponents/src/lib/assets/icons/file_export_solid.svg +0 -1
  420. package/projects/sharedcomponents/src/lib/assets/icons/file_pdf_regular.svg +0 -1
  421. package/projects/sharedcomponents/src/lib/assets/icons/file_pdf_solid.svg +0 -1
  422. package/projects/sharedcomponents/src/lib/assets/icons/file_signature_regular.svg +0 -1
  423. package/projects/sharedcomponents/src/lib/assets/icons/house_blank_regular.svg +0 -1
  424. package/projects/sharedcomponents/src/lib/assets/icons/lock.svg +0 -1
  425. package/projects/sharedcomponents/src/lib/assets/icons/message_sms_regular.svg +0 -1
  426. package/projects/sharedcomponents/src/lib/assets/icons/message_sms_solid.svg +0 -1
  427. package/projects/sharedcomponents/src/lib/assets/icons/pdf.svg +0 -15
  428. package/projects/sharedcomponents/src/lib/assets/icons/print.svg +0 -10
  429. package/projects/sharedcomponents/src/lib/assets/icons/print_regular.svg +0 -1
  430. package/projects/sharedcomponents/src/lib/assets/icons/print_solid.svg +0 -1
  431. package/projects/sharedcomponents/src/lib/assets/icons/signature_field.svg +0 -9
  432. package/projects/sharedcomponents/src/lib/assets/icons/tag_regular.svg +0 -1
  433. package/projects/sharedcomponents/src/lib/assets/icons/x_solid.svg +0 -1
  434. package/projects/sharedcomponents/src/lib/assets/icons/xml.svg +0 -1
  435. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-base-view.component.ts +0 -68
  436. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-day-view.component.ts +0 -35
  437. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-event.component.ts +0 -73
  438. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-events.component.ts +0 -53
  439. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.ts +0 -81
  440. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-header.component.ts +0 -275
  441. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-hour-cell.component.ts +0 -38
  442. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.ts +0 -50
  443. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-hour-view.component.ts +0 -46
  444. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-month-view.component.ts +0 -65
  445. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-select-event.component.ts +0 -39
  446. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-view.component.ts +0 -41
  447. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-week-select-view.component.ts +0 -63
  448. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-week-view.component.ts +0 -50
  449. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/view-select.component.ts +0 -43
  450. package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-all-months.component.ts +0 -37
  451. package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-all-years.component.ts +0 -52
  452. package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-header.component.ts +0 -123
  453. package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-view.component.ts +0 -200
  454. package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar.component.ts +0 -35
  455. package/projects/sharedcomponents/src/lib/components/date-planning/date-planning.component.ts +0 -141
  456. package/projects/sharedcomponents/src/lib/components/date-planning/date-planning.module.ts +0 -61
  457. package/projects/sharedcomponents/src/lib/components/docsign/component/signature/signature.component.ts +0 -82
  458. package/projects/sharedcomponents/src/lib/components/docsign/component/signatures/signatures.component.ts +0 -50
  459. package/projects/sharedcomponents/src/lib/components/docsign/docsign.component.ts +0 -270
  460. package/projects/sharedcomponents/src/lib/components/docsign/docsign.module.ts +0 -22
  461. package/projects/sharedcomponents/src/lib/components/key-pad/key-pad.component.ts +0 -216
  462. package/projects/sharedcomponents/src/lib/components/key-pad/key-pad.module.ts +0 -20
  463. package/projects/sharedcomponents/src/lib/components/layout-switcher/layout-switcher.component.ts +0 -98
  464. package/projects/sharedcomponents/src/lib/components/layout-switcher/layout-switcher.module.ts +0 -21
  465. package/projects/sharedcomponents/src/lib/components/linear-gauge/co-linear-gauge.component.ts +0 -57
  466. package/projects/sharedcomponents/src/lib/components/linear-gauge/co-linear-gauge.module.ts +0 -17
  467. package/projects/sharedcomponents/src/lib/components/login/components/login-base.component.ts +0 -98
  468. package/projects/sharedcomponents/src/lib/components/login/components/login-change-password.component.ts +0 -194
  469. package/projects/sharedcomponents/src/lib/components/login/components/login-mfa-code-entry.component.ts +0 -41
  470. package/projects/sharedcomponents/src/lib/components/login/components/login-mfa-code-setup.component.ts +0 -44
  471. package/projects/sharedcomponents/src/lib/components/login/components/login-username-password.component.ts +0 -167
  472. package/projects/sharedcomponents/src/lib/components/login/localization/login-translation.ts +0 -15
  473. package/projects/sharedcomponents/src/lib/components/login/login.component.ts +0 -137
  474. package/projects/sharedcomponents/src/lib/components/login/login.module.ts +0 -53
  475. package/projects/sharedcomponents/src/lib/components/login/service/login-adapter.service.ts +0 -58
  476. package/projects/sharedcomponents/src/lib/components/login/service/login.service.ts +0 -50
  477. package/projects/sharedcomponents/src/lib/components/screen-config-generator/enums/field-type.enum.ts +0 -9
  478. package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Config.ts +0 -6
  479. package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Field.ts +0 -8
  480. package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Header.ts +0 -8
  481. package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Module.ts +0 -6
  482. package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Rubric.ts +0 -10
  483. package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/ScreenConfig.ts +0 -9
  484. package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/SubCat.ts +0 -9
  485. package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/SubRubric.ts +0 -8
  486. package/projects/sharedcomponents/src/lib/components/screen-config-generator/screen-config-generator.component.ts +0 -539
  487. package/projects/sharedcomponents/src/lib/components/screen-config-generator/screen-config-generator.module.ts +0 -21
  488. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.ts +0 -91
  489. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.ts +0 -19
  490. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.ts +0 -84
  491. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.ts +0 -19
  492. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.ts +0 -63
  493. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.ts +0 -24
  494. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.ts +0 -38
  495. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.ts +0 -21
  496. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.ts +0 -60
  497. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.ts +0 -26
  498. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/signature-button/signature-button.component.ts +0 -42
  499. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/signature-button/signature-button.module.ts +0 -19
  500. package/projects/sharedcomponents/src/lib/components/send-method-dialog/model/email-address-viewmodel.ts +0 -9
  501. package/projects/sharedcomponents/src/lib/components/send-method-dialog/send-method-dialog.component.ts +0 -325
  502. package/projects/sharedcomponents/src/lib/components/send-method-dialog/send-method-dialog.module.ts +0 -32
  503. package/projects/sharedcomponents/src/lib/components/send-method-dialog/send-method-params.interface.ts +0 -13
  504. package/projects/sharedcomponents/src/lib/components/send-method-dialog/service/send-method.service.ts +0 -63
  505. package/projects/sharedcomponents/src/lib/components/simple-tags/simple-tags.component.ts +0 -243
  506. package/projects/sharedcomponents/src/lib/components/simple-tags/simple-tags.module.ts +0 -24
  507. package/projects/sharedcomponents/src/lib/components/statusbar/statusbar-popup.component.ts +0 -100
  508. package/projects/sharedcomponents/src/lib/components/statusbar/statusbar.component.ts +0 -107
  509. package/projects/sharedcomponents/src/lib/components/statusbar/statusbar.module.ts +0 -25
  510. package/projects/sharedcomponents/src/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.ts +0 -45
  511. package/projects/sharedcomponents/src/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.ts +0 -45
  512. package/projects/sharedcomponents/src/lib/components/stock/components/order-stock-history/order-stock-history.component.ts +0 -45
  513. package/projects/sharedcomponents/src/lib/components/stock/components/order-stock-tab/order-stock-tab.component.ts +0 -43
  514. package/projects/sharedcomponents/src/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.ts +0 -45
  515. package/projects/sharedcomponents/src/lib/components/stock/components/order-tab/order-tab.component.ts +0 -71
  516. package/projects/sharedcomponents/src/lib/components/stock/components/stock-history/stock-history.component.ts +0 -52
  517. package/projects/sharedcomponents/src/lib/components/stock/components/stock-location/stock-location.component.ts +0 -276
  518. package/projects/sharedcomponents/src/lib/components/stock/components/stock-prognose/stock-prognose.component.ts +0 -49
  519. package/projects/sharedcomponents/src/lib/components/stock/components/stock-tab/stock-tab.component.ts +0 -40
  520. package/projects/sharedcomponents/src/lib/components/stock/localization/translation.ts +0 -60
  521. package/projects/sharedcomponents/src/lib/components/stock/stock-history-tabs/stock-history-tabs.component.ts +0 -32
  522. package/projects/sharedcomponents/src/lib/components/stock/stock-information/stock-information.component.ts +0 -56
  523. package/projects/sharedcomponents/src/lib/components/stock/stock-information-grid/stock-information-grid.component.ts +0 -500
  524. package/projects/sharedcomponents/src/lib/components/stock/stock-tabs/stock-tabs.component.ts +0 -276
  525. package/projects/sharedcomponents/src/lib/components/stock/stock-transfer/stock-change-amount.component.ts +0 -77
  526. package/projects/sharedcomponents/src/lib/components/stock/stock-transfer/stock-transfer.component.ts +0 -178
  527. package/projects/sharedcomponents/src/lib/components/stock/stock.component.ts +0 -228
  528. package/projects/sharedcomponents/src/lib/components/stock/stock.module.ts +0 -97
  529. package/projects/sharedcomponents/src/lib/components/stock-statusbar/stock-statusbar.component.ts +0 -23
  530. package/projects/sharedcomponents/src/lib/components/stock-statusbar/stock-statusbar.module.ts +0 -17
  531. package/projects/sharedcomponents/src/lib/components/tab-bar/tab-bar.component.ts +0 -106
  532. package/projects/sharedcomponents/src/lib/components/tab-bar/tab-bar.module.ts +0 -20
  533. package/projects/sharedcomponents/src/lib/components/tab-bar/tab.interface.ts +0 -5
  534. package/projects/sharedcomponents/src/lib/components/tags/component/tag-join-label/tag-join-label.component.ts +0 -61
  535. package/projects/sharedcomponents/src/lib/components/tags/component/tag-label/tag-label.component.ts +0 -47
  536. package/projects/sharedcomponents/src/lib/components/tags/component/treeview/model/tree-view-node-item.ts +0 -132
  537. package/projects/sharedcomponents/src/lib/components/tags/component/treeview/treeview.component.ts +0 -258
  538. package/projects/sharedcomponents/src/lib/components/tags/tags.component.ts +0 -192
  539. package/projects/sharedcomponents/src/lib/components/tags/tags.module.ts +0 -27
  540. package/projects/sharedcomponents/src/lib/directives/click-outside.directive.ts +0 -25
  541. package/projects/sharedcomponents/src/lib/enum/gauge-color.enum.ts +0 -8
  542. package/projects/sharedcomponents/src/lib/enum/keyboard-code.enum.ts +0 -30
  543. package/projects/sharedcomponents/src/lib/enum/language-code.enum.ts +0 -6
  544. package/projects/sharedcomponents/src/lib/enum/login-component-extra-action-type.enum.ts +0 -4
  545. package/projects/sharedcomponents/src/lib/enum/login-component-page.type.enum.ts +0 -6
  546. package/projects/sharedcomponents/src/lib/enum/login-component-query-variables-name.enum.ts +0 -5
  547. package/projects/sharedcomponents/src/lib/enum/thumb-three-way-state.ts +0 -18
  548. package/projects/sharedcomponents/src/lib/localization/localization.module.ts +0 -17
  549. package/projects/sharedcomponents/src/lib/localization/localize.pipe.ts +0 -21
  550. package/projects/sharedcomponents/src/lib/localization/localize.service.ts +0 -28
  551. package/projects/sharedcomponents/src/lib/localization/translation.ts +0 -2
  552. package/projects/sharedcomponents/src/lib/model/agenda-event-per-day.model.ts +0 -6
  553. package/projects/sharedcomponents/src/lib/model/agenda-event.model.ts +0 -19
  554. package/projects/sharedcomponents/src/lib/model/agenda-null-objects.ts +0 -11
  555. package/projects/sharedcomponents/src/lib/model/constant/all-months.ts +0 -17
  556. package/projects/sharedcomponents/src/lib/model/date-range.ts +0 -10
  557. package/projects/sharedcomponents/src/lib/model/day.model.ts +0 -9
  558. package/projects/sharedcomponents/src/lib/model/icon-svg.ts +0 -37
  559. package/projects/sharedcomponents/src/lib/model/month.model.ts +0 -11
  560. package/projects/sharedcomponents/src/lib/model/send-method.ts +0 -13
  561. package/projects/sharedcomponents/src/lib/model/settings.ts +0 -5
  562. package/projects/sharedcomponents/src/lib/model/tag-tree-item.bo.ts +0 -28
  563. package/projects/sharedcomponents/src/lib/model/time-window.bo.ts +0 -21
  564. package/projects/sharedcomponents/src/lib/model/tree-object.ts +0 -13
  565. package/projects/sharedcomponents/src/lib/model/tree-view-default.model.ts +0 -107
  566. package/projects/sharedcomponents/src/lib/model/tree-view-node-default.model.ts +0 -196
  567. package/projects/sharedcomponents/src/lib/model/tree-view-node-item-options.model.ts +0 -12
  568. package/projects/sharedcomponents/src/lib/model/tree-view-node.model.ts +0 -150
  569. package/projects/sharedcomponents/src/lib/model/tree-view.model.ts +0 -57
  570. package/projects/sharedcomponents/src/lib/model/week.model.ts +0 -5
  571. package/projects/sharedcomponents/src/lib/model/weekday.model.ts +0 -17
  572. package/projects/sharedcomponents/src/lib/pipe/array-number.pipe.ts +0 -14
  573. package/projects/sharedcomponents/src/lib/pipe/master-pipes.ts +0 -7
  574. package/projects/sharedcomponents/src/lib/pipe/ucfirst.pipe.ts +0 -14
  575. package/projects/sharedcomponents/src/lib/service/dictionary.service.ts +0 -86
  576. package/projects/sharedcomponents/src/lib/service/icon-cache.service.ts +0 -51
  577. package/projects/sharedcomponents/src/lib/service/options.service.ts +0 -43
  578. package/projects/sharedcomponents/src/lib/service/shared-connector.service.ts +0 -401
  579. package/projects/sharedcomponents/src/lib/service/shared-initializer.service.ts +0 -29
  580. package/projects/sharedcomponents/src/lib/service/shared.service.ts +0 -49
  581. package/projects/sharedcomponents/src/lib/service/stock.service.ts +0 -124
  582. package/projects/sharedcomponents/src/lib/utils/array-utils.ts +0 -225
  583. package/projects/sharedcomponents/src/lib/utils/calendar.utils.ts +0 -75
  584. package/projects/sharedcomponents/src/lib/utils/css-utils.ts +0 -275
  585. package/projects/sharedcomponents/src/lib/utils/date-utils.ts +0 -302
  586. package/projects/sharedcomponents/src/lib/utils/function/not-nill.function.ts +0 -4
  587. package/projects/sharedcomponents/src/lib/utils/is-nill.function.ts +0 -4
  588. package/projects/sharedcomponents/src/lib/utils/map-utils.ts +0 -44
  589. package/projects/sharedcomponents/src/lib/utils/number-utils.ts +0 -439
  590. package/projects/sharedcomponents/src/lib/utils/object-utils.ts +0 -310
  591. package/projects/sharedcomponents/src/lib/utils/string-utils.ts +0 -67
  592. package/projects/sharedcomponents/src/lib/utils/tree-utils.ts +0 -63
  593. package/projects/sharedcomponents/src/test.ts +0 -27
  594. package/projects/sharedcomponents/tsconfig.lib.json +0 -18
  595. package/projects/sharedcomponents/tsconfig.lib.prod.json +0 -10
  596. package/projects/sharedcomponents/tsconfig.spec.json +0 -17
  597. package/script/create-bundle-version.js +0 -19
  598. package/script/merge-icons.js +0 -39
  599. package/src/app/app.component.scss +0 -31
  600. package/src/app/app.component.spec.ts +0 -31
  601. package/src/app/app.component.ts +0 -454
  602. package/src/app/app.module.ts +0 -69
  603. package/src/app/bundle/index.html +0 -14
  604. package/src/app/bundle/login/login-bundle.component.scss +0 -6
  605. package/src/app/bundle/login/login-bundle.component.ts +0 -111
  606. package/src/app/bundle/login/login-bundle.module.ts +0 -30
  607. package/src/app/bundle/main-login-bundle.ts +0 -11
  608. package/src/app/bundle/polyfills.ts +0 -63
  609. package/src/app/test-data.service.ts +0 -60
  610. package/src/environments/environment.bundle.prod.ts +0 -3
  611. package/src/environments/environment.prod.ts +0 -3
  612. package/src/environments/environment.ts +0 -16
  613. package/src/favicon.ico +0 -0
  614. package/src/index.html +0 -13
  615. package/src/main.ts +0 -12
  616. package/src/polyfills.ts +0 -53
  617. package/src/styles.scss +0 -54
  618. package/src/test.ts +0 -26
  619. package/tsconfig.app.json +0 -15
  620. package/tsconfig.bundle.json +0 -38
  621. package/tsconfig.json +0 -64
  622. package/tsconfig.spec.json +0 -18
  623. package/webpack.login.bundle.config.js +0 -32
  624. /package/{projects/sharedcomponents/src/lib/components/docsign → lib/components/access}/style/_material-definition.scss +0 -0
  625. /package/{projects/sharedcomponents/src/lib/components/stock-statusbar → lib/components/access}/style/material.scss +0 -0
  626. /package/{projects/sharedcomponents/src/lib/components/date-planning → lib/components/activity-list}/style/_material-definition.scss +0 -0
  627. /package/{projects/sharedcomponents/src/lib/components/key-pad → lib/components/activity-list}/style/material.scss +0 -0
  628. /package/{projects/sharedcomponents/src/lib/components/screen-config-generator → lib/components/app-file-dropzone}/style/_material-definition.scss +0 -0
  629. /package/{projects/sharedcomponents/src/lib/components/stock → lib/components/app-file-dropzone}/style/material.scss +0 -0
  630. /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/agenda/style/_layout.scss +0 -0
  631. /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/agenda/style/_material-definition.scss +0 -0
  632. /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/agenda/style/_theme.scss +0 -0
  633. /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/agenda/style/material.scss +0 -0
  634. /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/calendar/style/_layout.scss +0 -0
  635. /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/calendar/style/_material-definition.scss +0 -0
  636. /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/calendar/style/_theme.scss +0 -0
  637. /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/calendar/style/material.scss +0 -0
  638. /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/style/_layout.scss +0 -0
  639. /package/{projects/sharedcomponents/src/lib/components/stock-statusbar → lib/components/date-planning}/style/_material-definition.scss +0 -0
  640. /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/style/_theme.scss +0 -0
  641. /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/style/material.scss +0 -0
  642. /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signature/style/_layout.scss +0 -0
  643. /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signature/style/_material-definition.scss +0 -0
  644. /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signature/style/_theme.scss +0 -0
  645. /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signature/style/material.scss +0 -0
  646. /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signatures/style/_layout.scss +0 -0
  647. /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signatures/style/_material-definition.scss +0 -0
  648. /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signatures/style/_theme.scss +0 -0
  649. /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signatures/style/material.scss +0 -0
  650. /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/style/_layout.scss +0 -0
  651. /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/style/_theme.scss +0 -0
  652. /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/style/material.scss +0 -0
  653. /package/{projects/sharedcomponents/src/lib/components/tab-bar → lib/components/file-upload-popup}/style/material.scss +0 -0
  654. /package/{projects/sharedcomponents/src/lib/components/stock-statusbar/style/_theme.scss → lib/components/files-upload/style/_material-definition.scss} +0 -0
  655. /package/{projects/sharedcomponents/src/lib/components/tags/component → lib/components/image-display}/style/material.scss +0 -0
  656. /package/{projects/sharedcomponents/src/lib → lib}/components/key-pad/style/_layout.scss +0 -0
  657. /package/{projects/sharedcomponents/src/lib → lib}/components/key-pad/style/_material-definition.scss +0 -0
  658. /package/{projects/sharedcomponents/src/lib → lib}/components/key-pad/style/_theme.scss +0 -0
  659. /package/{projects/sharedcomponents/src/lib/components/login → lib/components/key-pad}/style/material.scss +0 -0
  660. /package/{projects/sharedcomponents/src/lib → lib}/components/layout-switcher/style/_layout.scss +0 -0
  661. /package/{projects/sharedcomponents/src/lib → lib}/components/layout-switcher/style/_material-definition.scss +0 -0
  662. /package/{projects/sharedcomponents/src/lib → lib}/components/layout-switcher/style/_theme.scss +0 -0
  663. /package/{projects/sharedcomponents/src/lib → lib}/components/layout-switcher/style/material.scss +0 -0
  664. /package/{projects/sharedcomponents/src/lib → lib}/components/linear-gauge/style/_layout.scss +0 -0
  665. /package/{projects/sharedcomponents/src/lib → lib}/components/linear-gauge/style/_material-definition.scss +0 -0
  666. /package/{projects/sharedcomponents/src/lib → lib}/components/linear-gauge/style/_theme.scss +0 -0
  667. /package/{projects/sharedcomponents/src/lib → lib}/components/linear-gauge/style/material.scss +0 -0
  668. /package/{projects/sharedcomponents/src/lib → lib}/components/login/style/_layout.scss +0 -0
  669. /package/{projects/sharedcomponents/src/lib → lib}/components/login/style/_material-definition.scss +0 -0
  670. /package/{projects/sharedcomponents/src/lib → lib}/components/login/style/_theme.scss +0 -0
  671. /package/{projects/sharedcomponents/src/lib/components/screen-config-generator → lib/components/login}/style/material.scss +0 -0
  672. /package/{projects/sharedcomponents/src/lib/components/tab-bar/style/_theme.scss → lib/components/multi-property-toggler/style/_material-definition.scss} +0 -0
  673. /package/{projects/sharedcomponents/src/lib → lib}/components/screen-config-generator/style/_layout.scss +0 -0
  674. /package/{src/assets/.gitkeep → lib/components/screen-config-generator/style/_material-definition.scss} +0 -0
  675. /package/{projects/sharedcomponents/src/lib → lib}/components/screen-config-generator/style/_theme.scss +0 -0
  676. /package/{projects/sharedcomponents/src/lib/components/simple-tags → lib/components/screen-config-generator}/style/material.scss +0 -0
  677. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/layout-selection/style/_layout.scss +0 -0
  678. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/layout-selection/style/_material-definition.scss +0 -0
  679. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/layout-selection/style/_theme.scss +0 -0
  680. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/layout-selection/style/material.scss +0 -0
  681. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/printer-selection/style/_layout.scss +0 -0
  682. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/printer-selection/style/_material-definition.scss +0 -0
  683. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/printer-selection/style/_theme.scss +0 -0
  684. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/printer-selection/style/material.scss +0 -0
  685. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-email/style/_layout.scss +0 -0
  686. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-email/style/_material-definition.scss +0 -0
  687. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-email/style/_theme.scss +0 -0
  688. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-email/style/material.scss +0 -0
  689. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-pdf/style/_layout.scss +0 -0
  690. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-pdf/style/_material-definition.scss +0 -0
  691. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-pdf/style/_theme.scss +0 -0
  692. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-pdf/style/material.scss +0 -0
  693. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-printer/style/_layout.scss +0 -0
  694. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-printer/style/_material-definition.scss +0 -0
  695. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-printer/style/_theme.scss +0 -0
  696. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-printer/style/material.scss +0 -0
  697. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/signature-button/style/_layout.scss +0 -0
  698. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/signature-button/style/_material-definition.scss +0 -0
  699. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/signature-button/style/_theme.scss +0 -0
  700. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/signature-button/style/material.scss +0 -0
  701. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/style/_layout.scss +0 -0
  702. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/style/_material-definition.scss +0 -0
  703. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/style/_theme.scss +0 -0
  704. /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/style/material.scss +0 -0
  705. /package/{projects/sharedcomponents/src/lib → lib}/components/simple-tags/style/_layout.scss +0 -0
  706. /package/{projects/sharedcomponents/src/lib → lib}/components/simple-tags/style/_material-definition.scss +0 -0
  707. /package/{projects/sharedcomponents/src/lib → lib}/components/simple-tags/style/_theme.scss +0 -0
  708. /package/{projects/sharedcomponents/src/lib → lib}/components/statusbar/style/_layout.scss +0 -0
  709. /package/{projects/sharedcomponents/src/lib → lib}/components/statusbar/style/_material-definition.scss +0 -0
  710. /package/{projects/sharedcomponents/src/lib → lib}/components/statusbar/style/_theme.scss +0 -0
  711. /package/{projects/sharedcomponents/src/lib → lib}/components/statusbar/style/material.scss +0 -0
  712. /package/{projects/sharedcomponents/src/lib → lib}/components/stock/style/_layout.scss +0 -0
  713. /package/{projects/sharedcomponents/src/lib → lib}/components/stock/style/_material-definition.scss +0 -0
  714. /package/{projects/sharedcomponents/src/lib → lib}/components/stock/style/_theme.scss +0 -0
  715. /package/{projects/sharedcomponents/src/lib → lib}/components/stock-statusbar/style/_layout.scss +0 -0
  716. /package/{projects/sharedcomponents/src/lib → lib}/components/tab-bar/style/_layout.scss +0 -0
  717. /package/{projects/sharedcomponents/src/lib → lib}/components/tab-bar/style/_material-definition.scss +0 -0
  718. /package/{projects/sharedcomponents/src/lib → lib}/components/tags/component/style/_layout.scss +0 -0
  719. /package/{projects/sharedcomponents/src/lib → lib}/components/tags/component/style/_material-definition.scss +0 -0
  720. /package/{projects/sharedcomponents/src/lib → lib}/components/tags/component/style/_theme.scss +0 -0
  721. /package/{projects/sharedcomponents/src/lib/components/tags/component/tag-join-label → lib/components/tags/component}/style/material.scss +0 -0
  722. /package/{projects/sharedcomponents/src/lib → lib}/components/tags/component/tag-join-label/style/_layout.scss +0 -0
  723. /package/{projects/sharedcomponents/src/lib → lib}/components/tags/component/tag-join-label/style/_material-definition.scss +0 -0
  724. /package/{projects/sharedcomponents/src/lib → lib}/components/tags/component/tag-join-label/style/_theme.scss +0 -0
  725. /package/{projects/sharedcomponents/src/lib → lib}/style/_mixin.scss +0 -0
  726. /package/{projects/sharedcomponents/src/lib → lib}/style/sharedcomponents-globals.scss +0 -0
  727. /package/{projects/sharedcomponents/src/lib/utils/check-within-stepped-bounds-result.ts → lib/utils/check-within-stepped-bounds-result.d.ts} +0 -0
@@ -1,167 +0,0 @@
1
- import {Component, HostBinding, ViewChild, ViewEncapsulation} from '@angular/core';
2
- import {LoginBaseComponent} from './login-base.component';
3
- import {LoginResponse} from '@colijnit/ioneconnector/build/model/login-response';
4
- import {FormComponent, InputTextComponent} from '@colijnit/corecomponents_v12';
5
- import {LoginRequest} from '@colijnit/ioneconnector/build/model/login-request';
6
- import {LoginStatus} from '@colijnit/ioneconnector/build/enum/login-status.enum';
7
- import {HttpErrorResponse} from '@angular/common/http';
8
- import {ResetPasswordStatus} from '@colijnit/ioneconnector/build/enum/reset-password-status.enum';
9
-
10
- @Component({
11
- selector: 'co-login-username-password',
12
- template: `
13
- <co-form #loginForm *ngIf="!showRecaptcha" class="user-and-pass" (validSubmit)="onLoginSubmit()"
14
- (validityChange)="onFormValidityChange($event)">
15
- <div class="login-header" *ngIf="title" [textContent]="title"></div>
16
- <div class="field-wrapper">
17
- <co-input-text #userNameInput required
18
- [(model)]="username"
19
- [placeholder]="'EMAIL_OR_USERNAME' | localize"
20
- [leftIconData]="iconCacheService.getIcon(icons.Account)"
21
- (keyDown)="handleInputKeyDown($event)"
22
- ></co-input-text>
23
- <co-input-text #passwordInput type="password" class="password" required
24
- [(model)]="password"
25
- [placeholder]="'PASSWORD' | localize"
26
- [leftIconData]="iconCacheService.getIcon(icons.Lock)"
27
- [rightIconData]="iconCacheService.getIcon(icons.EyeRegular)"
28
- (rightIconMouseDown)="handlePasswordShow($event)"
29
- (rightIconMouseUp)="handlePasswordHide($event)"
30
- (keyDown)="handleInputKeyDown($event)"
31
- ></co-input-text>
32
- <div *ngIf="validationErrorMessage" class="login-validation-error-message" [textContent]="validationErrorMessage | localize"></div>
33
- <div *ngIf="validationMessage" class="login-validation-message" [textContent]="validationMessage | localize"></div>
34
- <!--
35
- <co-list-of-values *ngIf="showLanguageSelect" doNotLoadCollection [collection]="languages" icon="dictionary" [(selectedModel)]="language"
36
- label="LANGUAGE" descriptionField="description" required></co-list-of-values>
37
- -->
38
- </div>
39
- <co-button class="login-submit-button" [label]="'LOGIN' | localize" [disabled]="!submitButtonEnabled"
40
- (click)="submitForm()"></co-button>
41
- <div class="login-extended-wrapper">
42
- <a [class.undefined-username]="!username" class="login-password-forget-text"
43
- [textContent]="'PASSWORD_FORGOTTEN_TEXT' | localize"
44
- (click)="onPasswordForgottenLinkClick()"></a>
45
- <span [class.undefined-username]="!username" class="login-no-username-text"
46
- [textContent]="'PASSWORD_FORGOTTEN_TEXT_EXTRA' | localize"></span>
47
- </div>
48
- </co-form>
49
- <re-captcha class="login-recaptcha" [class.hidden]="!showRecaptcha"
50
- [siteKey]="reCaptchaSiteKey"
51
- (resolved)="onReCaptchaResolved($event)"
52
- (clickOutside)="hideRecaptcha()"></re-captcha>
53
- `,
54
- encapsulation: ViewEncapsulation.None
55
- })
56
- export class LoginUsernamePasswordComponent extends LoginBaseComponent {
57
- @ViewChild('loginForm')
58
- public form: FormComponent;
59
-
60
- @ViewChild('passwordInput')
61
- public inputPassword: InputTextComponent;
62
-
63
- @HostBinding('class.co-login-username-password')
64
- public showClass() {
65
- return true;
66
- }
67
-
68
- public async onReCaptchaResolved(reCaptchaResponse: string): Promise<void> {
69
- if (!reCaptchaResponse) {
70
- return;
71
- }
72
-
73
- let resetPasswordSuccess: ResetPasswordStatus;
74
- try {
75
- resetPasswordSuccess = await this.loginService.sendResetPasswordOrInviteMessage(this.upId, this.username, reCaptchaResponse);
76
- } catch (error) {
77
- this.validationErrorMessage = "EMAIL_FORGOT_PW_NOT_SENT";
78
- }
79
-
80
- switch (resetPasswordSuccess) {
81
- case ResetPasswordStatus.SUCCESS:
82
- this.validationMessage = "EMAIL_SENT";
83
- break;
84
- case ResetPasswordStatus.ACCOUNT_IS_DEACTIVATED:
85
- this.validationMessage = "ACCOUNT_INACTIVE_PW_NOT_SENT";
86
- break;
87
- case ResetPasswordStatus.USER_DOESNT_HAVE_EMAIL:
88
- this.validationErrorMessage = "USER_DOESNT_HAVE_EMAIL_PW_NOT_SENT";
89
- break;
90
- }
91
- if (this.recaptchaComponent) {
92
- this.recaptchaComponent.reset();
93
- }
94
- this.showRecaptcha = false;
95
- }
96
-
97
- public async onLoginSubmit(): Promise<void> {
98
- const loginRequest: LoginRequest = new LoginRequest();
99
- loginRequest.upId = this.upId;
100
- loginRequest.userName = this.username;
101
- loginRequest.userPassword = this.password;
102
- loginRequest.clientVersion = this.clientVersion;
103
- loginRequest.clientLanguage = this.clientLanguage;
104
- loginRequest.clientDeviceFingerprint = this.clientDeviceFingerprint;
105
- // this._toolTip.destroyAllErrorTooltips();
106
- // this.passwordInput.forceBlur();
107
-
108
- // this._saveLanguage();
109
-
110
- this.submitButtonEnabled = false;
111
- let loginResponse: LoginResponse;
112
- try {
113
- loginResponse = await this.loginService.login(loginRequest);
114
- } catch (error) {
115
- if (error instanceof HttpErrorResponse) {
116
- this.validationErrorMessage = error.message;
117
- }
118
- return;
119
- } finally {
120
- this.submitButtonEnabled = true;
121
- }
122
-
123
- // for security reasons are both inputfields highlighted red when a login attempt failed (doesn't matter what kind of login failure)
124
- if (loginResponse.loginStatus === LoginStatus.LOGIN_INCORRECT) {
125
- this.validationErrorMessage = "LOGIN_INCORRECT";
126
- } else if (loginResponse.loginStatus === LoginStatus.SERVER_NOT_READY) {
127
- this.validationErrorMessage = "MESSAGE_SERVER_NOT_READY";
128
- } else if (loginResponse.loginStatus === LoginStatus.SERVER_FAILED_TO_START) {
129
- this.validationErrorMessage = "MESSAGE_SERVER_FAILED_TO_START";
130
- } else if (loginResponse.loginStatus === LoginStatus.MFA_SMS_CODE_CONFIRMATION_SENT
131
- || loginResponse.loginStatus === LoginStatus.MFA_EMAIL_CODE_CONFIRMATION_SENT
132
- || loginResponse.loginStatus === LoginStatus.MFA_GOOGLE_CODE_CONFIRMATION_AWAIT) {
133
- this.showMFAForm.emit(this.getEnterVerificationCodeLabel(loginResponse.loginStatus));
134
- }
135
- this.loginReponseReceived.emit(loginResponse);
136
- }
137
-
138
- public onPasswordForgottenLinkClick(): void {
139
- if (this.username) {
140
- this.showChangePasswordForm.emit(this.username);
141
- }
142
- }
143
-
144
- public handlePasswordShow(event: MouseEvent): void {
145
- if (this.inputPassword) {
146
- this.inputPassword.type = undefined;
147
- }
148
- }
149
-
150
- public handlePasswordHide(event: MouseEvent): void {
151
- if (this.inputPassword) {
152
- this.inputPassword.type = 'password';
153
- }
154
- }
155
-
156
- public submitForm(): void {
157
- if (this.form) {
158
- this.form.submit();
159
- }
160
- }
161
-
162
- public handleInputKeyDown(event: KeyboardEvent): void {
163
- if (event.key === 'Enter' || event.key === 'NumPadEnter') {
164
- this.submitForm();
165
- }
166
- }
167
- }
@@ -1,15 +0,0 @@
1
- import {Translation} from '../../../localization/translation';
2
-
3
- export class LoginTranslation extends Translation {
4
- public ACTIVATE_ACCOUNT?: string = 'ACTIVATE_ACCOUNT';
5
- public CHANGE_PASSWORD?: string = 'CHANGE_PASSWORD';
6
- public CHANGE_PASSWORD_ACTIVATE_USER_MSG?: string = 'CHANGE_PASSWORD_ACTIVATE_USER_MSG';
7
- public EMAIL_OR_USERNAME?: string = 'EMAIL_OR_USERNAME';
8
- public NEW_PASSWORD?: string = 'NEW_PASSWORD';
9
- public PASSWORD?: string = 'PASSWORD';
10
- public PASSWORD_FORGOTTEN_TEXT?: string = 'PASSWORD_FORGOTTEN_TEXT';
11
- public PASSWORD_FORGOTTEN_TEXT_EXTRA?: string = 'PASSWORD_FORGOTTEN_TEXT_EXTRA';
12
- public PASSWORD_REPEAT?: string = 'PASSWORD_REPEAT';
13
- public LOGIN?: string = 'LOGIN';
14
- public LOGIN_INCORRECT?: string = 'LOGIN_INCORRECT';
15
- }
@@ -1,137 +0,0 @@
1
- import {ChangeDetectorRef, Component, EventEmitter, HostBinding, Input, Output, ViewEncapsulation} from '@angular/core';
2
- import {LoginComponentPageType} from '../../enum/login-component-page.type.enum';
3
- import {LocalizeService} from '../../localization/localize.service';
4
- import {LoginTranslation} from './localization/login-translation';
5
- import {LoginService} from './service/login.service';
6
- import {LoginResponse} from '@colijnit/ioneconnector/build/model/login-response';
7
- import {LoginStatus} from '@colijnit/ioneconnector/build/enum/login-status.enum';
8
-
9
- @Component({
10
- selector: 'co-login',
11
- template: `
12
- <div class="co-login-wrapper" *ngIf="!loggedIn">
13
- <ng-container *ngIf="loginType === loginTypes.UserNameAndPasswordEntry">
14
- <co-login-username-password
15
- [username]="username"
16
- [password]="password"
17
- [upId]="upId"
18
- [clientVersion]="clientVersion"
19
- [clientDeviceFingerprint]="clientDeviceFingerprint"
20
- [clientLanguage]="clientLanguage"
21
- [reCaptchaSiteKey]="reCaptchaSiteKey"
22
- (showChangePasswordForm)="handleShowChangePasswordForm($event)"
23
- (loginReponseReceived)="handleLogin($event)"
24
- ></co-login-username-password>
25
- </ng-container>
26
- <ng-container *ngIf="loginType === loginTypes.MFACodeSetup">
27
- <co-login-mfa-code-setup></co-login-mfa-code-setup>
28
- </ng-container>
29
- <ng-container *ngIf="loginType === loginTypes.MFACodeEntry">
30
- <co-login-mfa-code-entry></co-login-mfa-code-entry>
31
- </ng-container>
32
- <ng-container *ngIf="loginType === loginTypes.ChangePasswordAndOptionallyActivateUser">
33
- <co-login-change-password
34
- [username]="username"
35
- [upId]="upId"
36
- [securityCode]="securityCode"
37
- [clientVersion]="clientVersion"
38
- [clientDeviceFingerprint]="clientDeviceFingerprint"
39
- [clientLanguage]="clientLanguage"
40
- [reCaptchaSiteKey]="reCaptchaSiteKey"
41
- (showMFAForm)="handleShowMFAForm($event)"
42
- (loginReponseReceived)="handleLogin($event)"
43
- ></co-login-change-password>
44
- </ng-container>
45
- </div>
46
- <co-button *ngIf="loggedIn" [label]="'Log uit'" (click)="logOut()"></co-button>
47
- `,
48
- encapsulation: ViewEncapsulation.None
49
- })
50
- export class LoginComponent {
51
- public readonly loginTypes: typeof LoginComponentPageType = LoginComponentPageType;
52
-
53
- @Input()
54
- public username: string;
55
-
56
- @Input()
57
- public password: string;
58
-
59
- @Input()
60
- public upId: number;
61
-
62
- @Input()
63
- public securityCode: string;
64
-
65
- @Input()
66
- public clientType: string;
67
-
68
- @Input()
69
- public clientVersion: string;
70
-
71
- @Input()
72
- public clientCompileRevision: string;
73
-
74
- @Input()
75
- public clientLanguage: string;
76
-
77
- @Input()
78
- public clientDeviceFingerprint: string;
79
-
80
- @Input()
81
- public loginType: LoginComponentPageType = LoginComponentPageType.UserNameAndPasswordEntry;
82
-
83
- @Input()
84
- public reCaptchaSiteKey: string;
85
-
86
- @Input()
87
- public set translation(value: LoginTranslation) {
88
- this._localizeService.translation = value;
89
- this._changeDetector.markForCheck();
90
- }
91
-
92
- @Input()
93
- public set settings(value: any) {
94
- this._loginService.init(value);
95
- }
96
-
97
- @Output()
98
- public userLoggedIn: EventEmitter<LoginResponse> = new EventEmitter<LoginResponse>();
99
-
100
- @HostBinding('class.co-login')
101
- public showClass() {
102
- return true;
103
- }
104
-
105
- public reCaptchaVisible: boolean = false;
106
- public verificationCodeLabel: string;
107
- public loggedIn: boolean = false;
108
-
109
- constructor(
110
- private _localizeService: LocalizeService,
111
- private _changeDetector: ChangeDetectorRef,
112
- private _loginService: LoginService
113
- ) {
114
- }
115
-
116
- public async logOut(): Promise<void> {
117
- if (await this._loginService.logout()) {
118
- this.loggedIn = false;
119
- }
120
- }
121
-
122
- public handleShowMFAForm(verificationCodeLabel: string): void {
123
- this.verificationCodeLabel = verificationCodeLabel;
124
- this.loginType = LoginComponentPageType.MFACodeEntry;
125
- }
126
-
127
- public handleShowChangePasswordForm(username: string): void {
128
- this.username = username;
129
- this.loginType = LoginComponentPageType.ChangePasswordAndOptionallyActivateUser;
130
- }
131
-
132
- public handleLogin(loginResponse: LoginResponse): void {
133
- this.loggedIn = loginResponse.loginStatus === LoginStatus.SUCCESS;
134
- this.userLoggedIn.next(loginResponse);
135
- }
136
-
137
- }
@@ -1,53 +0,0 @@
1
- import {NgModule} from '@angular/core';
2
- import {CommonModule} from '@angular/common';
3
- import {LoginComponent} from './login.component';
4
- import {
5
- ButtonModule,
6
- CoreComponentsTranslationModule,
7
- FormModule,
8
- IconModule,
9
- InputCheckboxModule,
10
- InputTextModule,
11
- ListOfValuesModule
12
- } from '@colijnit/corecomponents_v12';
13
- import {LoginUsernamePasswordComponent} from './components/login-username-password.component';
14
- import {LoginMfaCodeSetupComponent} from './components/login-mfa-code-setup.component';
15
- import {LoginMfaCodeEntryComponent} from './components/login-mfa-code-entry.component';
16
- import {LoginChangePasswordComponent} from './components/login-change-password.component';
17
- import {RecaptchaModule} from 'ng-recaptcha';
18
- import {LocalizationModule} from '../../localization/localization.module';
19
- import {LocalizeService} from '../../localization/localize.service';
20
- import {LoginService} from './service/login.service';
21
- import {LoginAdapterService} from './service/login-adapter.service';
22
-
23
- @NgModule({
24
- imports: [
25
- CommonModule,
26
- FormModule,
27
- InputTextModule,
28
- ListOfValuesModule,
29
- ButtonModule,
30
- IconModule,
31
- InputCheckboxModule,
32
- RecaptchaModule,
33
- CoreComponentsTranslationModule.forRoot()/*,
34
- LocalizationModule*/
35
- ],
36
- declarations: [
37
- LoginComponent,
38
- LoginUsernamePasswordComponent,
39
- LoginMfaCodeSetupComponent,
40
- LoginMfaCodeEntryComponent,
41
- LoginChangePasswordComponent
42
- ],
43
- providers: [
44
- LoginAdapterService,
45
- LoginService/*,
46
- LocalizeService*/
47
- ],
48
- exports: [
49
- LoginComponent
50
- ]
51
- })
52
- export class LoginModule {
53
- }
@@ -1,58 +0,0 @@
1
- import {Injectable} from '@angular/core';
2
- import {Connector} from '@colijnit/ioneconnector';
3
- import {LoginRequest} from '@colijnit/ioneconnector/build/model/login-request';
4
- import {LoginResponse} from '@colijnit/ioneconnector/build/model/login-response';
5
- import {BusinessObjectFactory} from '@colijnit/ioneconnector/build/service/business-object-factory';
6
- import {DataServiceResponseData} from '@colijnit/ioneconnector/build/model/data-service-response-data';
7
- import {ServerResponseData} from '@colijnit/ioneconnector/build/model/server-response-data';
8
- import {ILoginResponse} from '@colijnit/ioneconnector/build/model/login-response.interface';
9
- import {ActivateUserAccountStatus} from '@colijnit/ioneconnector/build/enum/activate-user-account-status.enum';
10
- import {ResetPasswordStatus} from '@colijnit/ioneconnector/build/enum/reset-password-status.enum';
11
-
12
- @Injectable()
13
- export class LoginAdapterService {
14
- private _connector: Connector;
15
- private _boFactory: BusinessObjectFactory;
16
-
17
- public connect(settings: any): void {
18
- this._connector = new Connector(settings);
19
- }
20
-
21
- public async login(request: LoginRequest): Promise<LoginResponse> {
22
- return this._connector.logIn(request);
23
- }
24
-
25
- public async confirmCode(upId: number, userName: string, confirmationCode: string, clientDeviceFingerprint: string, clientDeviceDescription: string, rememberClientDeviceForMFA: boolean): Promise<LoginResponse> {
26
- const response: ILoginResponse = await this._connector.confirmCode(upId, userName, confirmationCode, clientDeviceFingerprint, clientDeviceDescription, rememberClientDeviceForMFA) as ILoginResponse;
27
- return this._boFactory.makeWithRawBackendData(LoginResponse, response) as LoginResponse;
28
- }
29
-
30
- public async resetGoogleAuth(upId: number, userName: string): Promise<boolean> {
31
- return await this._connector.resetGoogleAuth(upId, userName) as boolean;
32
- }
33
-
34
- public async changePassword(password: string, securityCode: string, upId: number): Promise<boolean> {
35
- return await this._connector.changePassword(password, securityCode, upId) as boolean;
36
- }
37
-
38
- public async changePasswordAndActivateUser(password: string, securityCode: string, upId: number, reCaptchaResponse?: string): Promise<ActivateUserAccountStatus> {
39
- return await this._connector.changePasswordAndActivateUser(password, securityCode, upId, reCaptchaResponse) as ActivateUserAccountStatus;
40
- }
41
-
42
- public async sendResetPasswordOrInviteMessage(upId: number, userName: string, reCaptchaResponse: string): Promise<ResetPasswordStatus> {
43
- return await this._connector.sendResetPasswordOrInviteMessage(upId, userName, reCaptchaResponse) as ResetPasswordStatus;
44
- }
45
-
46
- public async getUserNameBySecurityCode(securityCode: string, upId: number): Promise<string> {
47
- const response: DataServiceResponseData = await this._connector.getUserNameBySecurityCode(securityCode, upId) as DataServiceResponseData;
48
- if (response && response.validationResult && response.validationResult.success) {
49
- return response.resultObject;
50
- } else {
51
- return null;
52
- }
53
- }
54
-
55
- public async logout(): Promise<boolean> {
56
- return await this._connector.logOut() as boolean;
57
- }
58
- }
@@ -1,50 +0,0 @@
1
- import {Injectable} from '@angular/core';
2
- import {LoginAdapterService} from './login-adapter.service';
3
- import {LoginRequest} from '@colijnit/ioneconnector/build/model/login-request';
4
- import {LoginResponse} from '@colijnit/ioneconnector/build/model/login-response';
5
- import {ServerResponseData} from '@colijnit/ioneconnector/build/model/server-response-data';
6
- import {ActivateUserAccountStatus} from '@colijnit/ioneconnector/build/enum/activate-user-account-status.enum';
7
- import {ResetPasswordStatus} from '@colijnit/ioneconnector/build/enum/reset-password-status.enum';
8
-
9
- @Injectable()
10
- export class LoginService {
11
-
12
- constructor(private _adapterService: LoginAdapterService) {
13
- }
14
-
15
- public init(settings: any): void {
16
- this._adapterService.connect(settings);
17
- }
18
-
19
- public login(request: LoginRequest): Promise<LoginResponse> {
20
- return this._adapterService.login(request);
21
- }
22
-
23
- public async confirmCode(upId: number, userName: string, confirmationCode: string, clientDeviceFingerprint: string, clientDeviceDescription: string, rememberClientDeviceForMFA: boolean): Promise<LoginResponse> {
24
- return this._adapterService.confirmCode(upId, userName, confirmationCode, clientDeviceFingerprint, clientDeviceDescription, rememberClientDeviceForMFA);
25
- }
26
-
27
- public async resetGoogleAuth(upId: number, userName: string): Promise<boolean> {
28
- return this._adapterService.resetGoogleAuth(upId, userName);
29
- }
30
-
31
- public async changePassword(password: string, securityCode: string, upId: number): Promise<boolean> {
32
- return this._adapterService.changePassword(password, securityCode, upId);
33
- }
34
-
35
- public async changePasswordAndActivateUser(password: string, securityCode: string, upId: number, reCaptchaResponse?: string): Promise<ActivateUserAccountStatus> {
36
- return this._adapterService.changePasswordAndActivateUser(password, securityCode, upId, reCaptchaResponse);
37
- }
38
-
39
- public async sendResetPasswordOrInviteMessage(upId: number, userName: string, reCaptchaResponse: string): Promise<ResetPasswordStatus> {
40
- return this._adapterService.sendResetPasswordOrInviteMessage(upId, userName, reCaptchaResponse);
41
- }
42
-
43
- public async getUserNameBySecurityCode(securityCode: string, upId: number): Promise<string> {
44
- return this._adapterService.getUserNameBySecurityCode(securityCode, upId);
45
- }
46
-
47
- public logout(): Promise<boolean> {
48
- return this._adapterService.logout();
49
- }
50
- }
@@ -1,9 +0,0 @@
1
- export enum FieldType {
2
- K = 'K',
3
- L = 'L',
4
- Date = 'D',
5
- N = 'N',
6
- Alphanumeric = 'A',
7
- J = 'J',
8
- MultiSelect = 'M'
9
- }
@@ -1,6 +0,0 @@
1
- import {Rubric} from "./Rubric";
2
- import {ConfigTreeObj} from "@colijnit/sharedapi/build/model/config-tree-obj";
3
-
4
- export class Config extends ConfigTreeObj {
5
- public rubrics: Rubric[] = [];
6
- }
@@ -1,8 +0,0 @@
1
- import {FieldType} from "../enums/field-type.enum";
2
-
3
- export class Field {
4
- public name: string;
5
- public id: number;
6
- public description: string;
7
- public fieldType: {name: string, value: FieldType};
8
- }
@@ -1,8 +0,0 @@
1
- import {ConfigTreeObj} from "@colijnit/sharedapi/build/model/config-tree-obj";
2
- import {SubRubric} from "./SubRubric";
3
-
4
- // nodeLevel 5
5
- export class Header extends ConfigTreeObj {
6
- public name: string;
7
- public subRubrics: SubRubric[] = [];
8
- }
@@ -1,6 +0,0 @@
1
- import {Config} from "./Config";
2
- import {ConfigTreeObj} from "@colijnit/sharedapi/build/model/config-tree-obj";
3
-
4
- export class Module extends ConfigTreeObj {
5
- public configs: Config[];
6
- }
@@ -1,10 +0,0 @@
1
- import {SubCat} from "./SubCat";
2
- import {ConfigTreeObj} from "@colijnit/sharedapi/build/model/config-tree-obj";
3
- import {Header} from "./Header";
4
-
5
- // nodeLevel 3
6
- export class Rubric extends ConfigTreeObj {
7
- public name: string;
8
- public subCats: SubCat[] = [];
9
- public headers: Header[] = [];
10
- }
@@ -1,9 +0,0 @@
1
- import {Rubric} from "./Rubric";
2
-
3
- export class ScreenConfig {
4
- public rubrics: Rubric[] = [];
5
- public moduleID: number;
6
- public moduleName: string;
7
- public moduleDescription: string;
8
- public configID: number;
9
- }
@@ -1,9 +0,0 @@
1
- import {Header} from "./Header";
2
- import {ConfigTreeObj} from "@colijnit/sharedapi/build/model/config-tree-obj";
3
-
4
- // nodeLevel 4
5
- export class SubCat extends ConfigTreeObj {
6
- public name: string;
7
- public id: number;
8
- public headers: Header[] = [];
9
- }
@@ -1,8 +0,0 @@
1
- import {ConfigSubRubric} from "@colijnit/sharedapi/build/model/config-sub-tab-rubric";
2
- import {Field} from "./Field";
3
-
4
- // separately retrieved from backend
5
- export class SubRubric extends ConfigSubRubric {
6
- public name: string;
7
- public fields: Field[] = [];
8
- }