@colijnit/sharedcomponents 261.1.0 → 261.1.2

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 (1184) hide show
  1. package/.browserslistrc +16 -0
  2. package/.editorconfig +16 -0
  3. package/README.md +11 -8
  4. package/Sharedcomponents.iml +15 -0
  5. package/angular.json +177 -0
  6. package/build.xml +31 -0
  7. package/custom-login-bundle.webpack.config.js +3 -0
  8. package/karma.conf.js +44 -0
  9. package/move-assets.js +14 -0
  10. package/package.json +79 -33
  11. package/projects/sharedcomponents/.browserslistrc +16 -0
  12. package/projects/sharedcomponents/README.md +24 -0
  13. package/projects/sharedcomponents/karma.conf.js +44 -0
  14. package/projects/sharedcomponents/ng-package.json +17 -0
  15. package/projects/sharedcomponents/package.json +25 -0
  16. package/projects/sharedcomponents/src/lib/assets/dictionary/text.properties.ts +8 -0
  17. package/projects/sharedcomponents/src/lib/assets/icons/account.svg +1 -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_down.svg +1 -0
  21. package/projects/sharedcomponents/src/lib/assets/icons/arrow_down_regular.svg +1 -0
  22. package/projects/sharedcomponents/src/lib/assets/icons/arrow_fat_right.svg +1 -0
  23. package/projects/sharedcomponents/src/lib/assets/icons/arrow_left_round_open.svg +1 -0
  24. package/projects/sharedcomponents/src/lib/assets/icons/arrow_point_down.svg +6 -0
  25. package/projects/sharedcomponents/src/lib/assets/icons/arrow_point_left.svg +1 -0
  26. package/projects/sharedcomponents/src/lib/assets/icons/arrow_point_right.svg +1 -0
  27. package/projects/sharedcomponents/src/lib/assets/icons/arrow_point_up.svg +8 -0
  28. package/projects/sharedcomponents/src/lib/assets/icons/arrow_right_arrow_left_regular.svg +1 -0
  29. package/projects/sharedcomponents/src/lib/assets/icons/at_solid.svg +1 -0
  30. package/projects/sharedcomponents/src/lib/assets/icons/barcode_read_regular.svg +1 -0
  31. package/projects/sharedcomponents/src/lib/assets/icons/bell_regular.svg +1 -0
  32. package/projects/sharedcomponents/src/lib/assets/icons/bell_slash_regular.svg +1 -0
  33. package/projects/sharedcomponents/src/lib/assets/icons/bring_forward_regular.svg +1 -0
  34. package/projects/sharedcomponents/src/lib/assets/icons/camera.svg +1 -0
  35. package/projects/sharedcomponents/src/lib/assets/icons/check_duotone.svg +1 -0
  36. package/projects/sharedcomponents/src/lib/assets/icons/check_round.svg +1 -0
  37. package/projects/sharedcomponents/src/lib/assets/icons/check_solid.svg +1 -0
  38. package/projects/sharedcomponents/src/lib/assets/icons/chevron_right_regular.svg +1 -0
  39. package/projects/sharedcomponents/src/lib/assets/icons/clock_regular.svg +1 -0
  40. package/projects/sharedcomponents/src/lib/assets/icons/comment_regular.svg +1 -0
  41. package/projects/sharedcomponents/src/lib/assets/icons/cross_skinny.svg +1 -0
  42. package/projects/sharedcomponents/src/lib/assets/icons/cubes.svg +1 -0
  43. package/projects/sharedcomponents/src/lib/assets/icons/delete_left_regular.svg +1 -0
  44. package/projects/sharedcomponents/src/lib/assets/icons/delivery_truck.svg +12 -0
  45. package/projects/sharedcomponents/src/lib/assets/icons/detail_view.svg +1 -0
  46. package/projects/sharedcomponents/src/lib/assets/icons/diagram_project_regular.svg +1 -0
  47. package/projects/sharedcomponents/src/lib/assets/icons/dropzone.svg +1 -0
  48. package/projects/sharedcomponents/src/lib/assets/icons/edit_pen_regular.svg +1 -0
  49. package/projects/sharedcomponents/src/lib/assets/icons/email.svg +5 -0
  50. package/projects/sharedcomponents/src/lib/assets/icons/email_regular.svg +1 -0
  51. package/projects/sharedcomponents/src/lib/assets/icons/employee.svg +1 -0
  52. package/projects/sharedcomponents/src/lib/assets/icons/envelope_regular.svg +1 -0
  53. package/projects/sharedcomponents/src/lib/assets/icons/eye_regular.svg +1 -0
  54. package/projects/sharedcomponents/src/lib/assets/icons/file_export_regular.svg +1 -0
  55. package/projects/sharedcomponents/src/lib/assets/icons/file_export_solid.svg +1 -0
  56. package/projects/sharedcomponents/src/lib/assets/icons/file_magnifying_glass.svg +1 -0
  57. package/projects/sharedcomponents/src/lib/assets/icons/file_pdf_regular.svg +1 -0
  58. package/projects/sharedcomponents/src/lib/assets/icons/file_pdf_solid.svg +1 -0
  59. package/projects/sharedcomponents/src/lib/assets/icons/file_signature_regular.svg +1 -0
  60. package/projects/sharedcomponents/src/lib/assets/icons/folders_sharp_regular.svg +1 -0
  61. package/projects/sharedcomponents/src/lib/assets/icons/house_blank_regular.svg +1 -0
  62. package/projects/sharedcomponents/src/lib/assets/icons/ione_workflow.svg +62 -0
  63. package/projects/sharedcomponents/src/lib/assets/icons/list_ul_regular.svg +1 -0
  64. package/projects/sharedcomponents/src/lib/assets/icons/lock.svg +1 -0
  65. package/projects/sharedcomponents/src/lib/assets/icons/message_sms_regular.svg +1 -0
  66. package/projects/sharedcomponents/src/lib/assets/icons/message_sms_solid.svg +1 -0
  67. package/projects/sharedcomponents/src/lib/assets/icons/minus_simple.svg +1 -0
  68. package/projects/sharedcomponents/src/lib/assets/icons/notification.svg +1 -0
  69. package/projects/sharedcomponents/src/lib/assets/icons/paper_plane_top_solid.svg +1 -0
  70. package/projects/sharedcomponents/src/lib/assets/icons/paperclip_regular.svg +1 -0
  71. package/projects/sharedcomponents/src/lib/assets/icons/pdf.svg +15 -0
  72. package/projects/sharedcomponents/src/lib/assets/icons/person_digging_regular.svg +1 -0
  73. package/projects/sharedcomponents/src/lib/assets/icons/pin_round_open.svg +11 -0
  74. package/projects/sharedcomponents/src/lib/assets/icons/plus_regular.svg +1 -0
  75. package/projects/sharedcomponents/src/lib/assets/icons/plus_simple.svg +1 -0
  76. package/projects/sharedcomponents/src/lib/assets/icons/print.svg +10 -0
  77. package/projects/sharedcomponents/src/lib/assets/icons/print_regular.svg +1 -0
  78. package/projects/sharedcomponents/src/lib/assets/icons/print_solid.svg +1 -0
  79. package/projects/sharedcomponents/src/lib/assets/icons/regular_file_signature_circle_plus.svg +1 -0
  80. package/projects/sharedcomponents/src/lib/assets/icons/share_solid.svg +1 -0
  81. package/projects/sharedcomponents/src/lib/assets/icons/signature_field.svg +9 -0
  82. package/projects/sharedcomponents/src/lib/assets/icons/solid_barcode_read_tag.svg +1 -0
  83. package/projects/sharedcomponents/src/lib/assets/icons/square_plus_regular.svg +1 -0
  84. package/projects/sharedcomponents/src/lib/assets/icons/tag_regular.svg +1 -0
  85. package/projects/sharedcomponents/src/lib/assets/icons/task.svg +1 -0
  86. package/projects/sharedcomponents/src/lib/assets/icons/trash_can_regular.svg +1 -0
  87. package/projects/sharedcomponents/src/lib/assets/icons/trashbin.svg +2 -0
  88. package/projects/sharedcomponents/src/lib/assets/icons/x_solid.svg +1 -0
  89. package/projects/sharedcomponents/src/lib/assets/icons/xml.svg +1 -0
  90. package/projects/sharedcomponents/src/lib/businessobject/build-images-and-documentation-result.ts +8 -0
  91. package/projects/sharedcomponents/src/lib/businessobject/document-allowed-extension.bo.ts +12 -0
  92. package/projects/sharedcomponents/src/lib/businessobject/drag-drop-container-element.ts +9 -0
  93. package/projects/sharedcomponents/src/lib/businessobject/drag-drop-container.ts +9 -0
  94. package/projects/sharedcomponents/src/lib/businessobject/user-group.bo.ts +34 -0
  95. package/projects/sharedcomponents/src/lib/components/access/read-write-access.component.ts +103 -0
  96. package/projects/sharedcomponents/src/lib/components/access/read-write-access.module.ts +15 -0
  97. package/projects/sharedcomponents/src/lib/components/activity-list/activity-list.component.ts +225 -0
  98. package/projects/sharedcomponents/src/lib/components/activity-list/activity-list.module.ts +22 -0
  99. package/projects/sharedcomponents/src/lib/components/activity-list-header/activity-list-header.component.ts +78 -0
  100. package/projects/sharedcomponents/src/lib/components/activity-list-header/activity-list-header.module.ts +27 -0
  101. package/projects/sharedcomponents/src/lib/components/activity-list-header/components/period-filter/period-filter-popup.component.ts +63 -0
  102. package/projects/sharedcomponents/src/lib/components/activity-list-header/components/period-filter/period-filter.component.ts +117 -0
  103. package/projects/sharedcomponents/src/lib/components/activity-list-header/components/period-filter/period-filter.module.ts +32 -0
  104. package/projects/sharedcomponents/src/lib/components/activity-overview-component/component-activity-overview.component.ts +224 -0
  105. package/projects/sharedcomponents/src/lib/components/activity-overview-component/component-activity-overview.module.ts +25 -0
  106. package/projects/sharedcomponents/src/lib/components/activity-overview-component/components/base-activity-overview.component.ts +342 -0
  107. package/projects/sharedcomponents/src/lib/components/app-file-dropzone/app-file-dropzone.component.ts +45 -0
  108. package/projects/sharedcomponents/src/lib/components/app-file-dropzone/app-file-dropzone.module.ts +21 -0
  109. package/projects/sharedcomponents/src/lib/components/custom-pdf/custom-pdf-dialog.component.ts +299 -0
  110. package/projects/sharedcomponents/src/lib/components/custom-pdf/custom-pdf-dialog.module.ts +28 -0
  111. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-base-view.component.ts +68 -0
  112. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-day-view.component.ts +35 -0
  113. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-event.component.ts +73 -0
  114. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-events.component.ts +53 -0
  115. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.ts +81 -0
  116. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-header.component.ts +405 -0
  117. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-hour-cell.component.ts +38 -0
  118. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.ts +50 -0
  119. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-hour-view.component.ts +46 -0
  120. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-month-view.component.ts +65 -0
  121. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-select-event.component.ts +39 -0
  122. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-view.component.ts +41 -0
  123. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-week-select-view.component.ts +63 -0
  124. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-week-view.component.ts +50 -0
  125. package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/view-select.component.ts +78 -0
  126. package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-all-months.component.ts +37 -0
  127. package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-all-years.component.ts +52 -0
  128. package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-header.component.ts +123 -0
  129. package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-view.component.ts +200 -0
  130. package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar.component.ts +35 -0
  131. package/projects/sharedcomponents/src/lib/components/date-planning/date-planning.component.ts +145 -0
  132. package/projects/sharedcomponents/src/lib/components/date-planning/date-planning.module.ts +63 -0
  133. package/projects/sharedcomponents/src/lib/components/docsign/component/signature/signature.component.ts +82 -0
  134. package/projects/sharedcomponents/src/lib/components/docsign/component/signatures/signatures.component.ts +50 -0
  135. package/projects/sharedcomponents/src/lib/components/docsign/docsign.component.ts +293 -0
  136. package/projects/sharedcomponents/src/lib/components/docsign/docsign.module.ts +22 -0
  137. package/projects/sharedcomponents/src/lib/components/email-selector/email-selector.component.ts +121 -0
  138. package/projects/sharedcomponents/src/lib/components/email-selector/email-selector.module.ts +32 -0
  139. package/projects/sharedcomponents/src/lib/components/file-upload/file-upload.component.ts +241 -0
  140. package/projects/sharedcomponents/src/lib/components/file-upload/file-upload.module.ts +28 -0
  141. package/projects/sharedcomponents/src/lib/components/file-upload-popup/file-upload-popup.component.ts +451 -0
  142. package/projects/sharedcomponents/src/lib/components/file-upload-popup/file-upload-popup.module.ts +39 -0
  143. package/projects/sharedcomponents/src/lib/components/files-upload/components/base-file-upload.component.ts +549 -0
  144. package/projects/sharedcomponents/src/lib/components/files-upload/components/drag-drop-container.component.ts +131 -0
  145. package/projects/sharedcomponents/src/lib/components/files-upload/files-upload.component.ts +187 -0
  146. package/projects/sharedcomponents/src/lib/components/files-upload/files-upload.module.ts +54 -0
  147. package/projects/sharedcomponents/src/lib/components/form-builder/form-builder-user-form/components/forms-test-component/forms-test-component.component.ts +58 -0
  148. package/projects/sharedcomponents/src/lib/components/form-builder/form-builder-user-form/components/forms-test-component/forms-test-component.module.ts +19 -0
  149. package/projects/sharedcomponents/src/lib/components/form-builder/form-builder-user-form/components/user-form-input-scale/user-form-input-scale.component.ts +113 -0
  150. package/projects/sharedcomponents/src/lib/components/form-builder/form-builder-user-form/components/user-form-input-scale/user-form-input-scale.module.ts +21 -0
  151. package/projects/sharedcomponents/src/lib/components/form-builder/form-builder-user-form/form-builder-question.component.ts +161 -0
  152. package/projects/sharedcomponents/src/lib/components/form-builder/form-builder-user-form/form-builder-user-form.component.ts +296 -0
  153. package/projects/sharedcomponents/src/lib/components/form-builder/form-builder-user-form/form-builder-user-form.module.ts +53 -0
  154. package/projects/sharedcomponents/src/lib/components/image-display/image-display.component.ts +42 -0
  155. package/projects/sharedcomponents/src/lib/components/image-display/image-display.module.ts +22 -0
  156. package/projects/sharedcomponents/src/lib/components/key-pad/key-pad.component.ts +216 -0
  157. package/projects/sharedcomponents/src/lib/components/key-pad/key-pad.module.ts +20 -0
  158. package/projects/sharedcomponents/src/lib/components/layout-switcher/layout-switcher.component.ts +98 -0
  159. package/projects/sharedcomponents/src/lib/components/layout-switcher/layout-switcher.module.ts +21 -0
  160. package/projects/sharedcomponents/src/lib/components/linear-gauge/co-linear-gauge.component.ts +63 -0
  161. package/projects/sharedcomponents/src/lib/components/linear-gauge/co-linear-gauge.module.ts +17 -0
  162. package/projects/sharedcomponents/src/lib/components/login/components/input-code/input-code.component.ts +187 -0
  163. package/projects/sharedcomponents/src/lib/components/login/components/input-code/input-code.module.ts +19 -0
  164. package/projects/sharedcomponents/src/lib/components/login/components/login-base.component.ts +150 -0
  165. package/projects/sharedcomponents/src/lib/components/login/components/login-change-password.component.ts +178 -0
  166. package/projects/sharedcomponents/src/lib/components/login/components/login-mfa-code-entry.component.ts +113 -0
  167. package/projects/sharedcomponents/src/lib/components/login/components/login-mfa-code-setup.component.ts +44 -0
  168. package/projects/sharedcomponents/src/lib/components/login/components/login-username-password.component.ts +160 -0
  169. package/projects/sharedcomponents/src/lib/components/login/enum/mfa-send-method-type.enum.ts +6 -0
  170. package/projects/sharedcomponents/src/lib/components/login/interface/finger-print-result.interface.ts +4 -0
  171. package/projects/sharedcomponents/src/lib/components/login/localization/login-translation.ts +15 -0
  172. package/projects/sharedcomponents/src/lib/components/login/login.component.ts +184 -0
  173. package/projects/sharedcomponents/src/lib/components/login/login.module.ts +54 -0
  174. package/projects/sharedcomponents/src/lib/components/login/service/finger-print.service.ts +45 -0
  175. package/projects/sharedcomponents/src/lib/components/login/service/login-adapter.service.ts +109 -0
  176. package/projects/sharedcomponents/src/lib/components/login/service/login.service.ts +104 -0
  177. package/projects/sharedcomponents/src/lib/components/modify-task-form/components/activity-summary-block/activity-summary-block.component.ts +117 -0
  178. package/projects/sharedcomponents/src/lib/components/modify-task-form/components/activity-summary-block/activity-summary-block.module.ts +24 -0
  179. package/projects/sharedcomponents/src/lib/components/modify-task-form/components/activity-summary-block/style/_layout.scss +211 -0
  180. package/projects/sharedcomponents/src/lib/components/modify-task-form/components/base-activity-summary.component.ts +164 -0
  181. package/projects/sharedcomponents/src/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.component.ts +140 -0
  182. package/projects/sharedcomponents/src/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.module.ts +26 -0
  183. package/projects/sharedcomponents/src/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.component.ts +83 -0
  184. package/projects/sharedcomponents/src/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.module.ts +23 -0
  185. package/projects/sharedcomponents/src/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.component.ts +149 -0
  186. package/projects/sharedcomponents/src/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.module.ts +29 -0
  187. package/projects/sharedcomponents/src/lib/components/modify-task-form/components/status-summary-block/status-summary-block.component.ts +65 -0
  188. package/projects/sharedcomponents/src/lib/components/modify-task-form/components/status-summary-block/status-summary-block.module.ts +24 -0
  189. package/projects/sharedcomponents/src/lib/components/modify-task-form/components/task-details/task-details.component.ts +103 -0
  190. package/projects/sharedcomponents/src/lib/components/modify-task-form/components/task-details/task-details.module.ts +24 -0
  191. package/projects/sharedcomponents/src/lib/components/modify-task-form/modify-task-form.component.ts +340 -0
  192. package/projects/sharedcomponents/src/lib/components/modify-task-form/modify-task-form.module.ts +40 -0
  193. package/projects/sharedcomponents/src/lib/components/multi-property-toggler/multiple-property-toggler.component.ts +106 -0
  194. package/projects/sharedcomponents/src/lib/components/multi-property-toggler/multiple-property-toggler.module.ts +20 -0
  195. package/projects/sharedcomponents/src/lib/components/open-activity-list/component-activity-list.component.ts +377 -0
  196. package/projects/sharedcomponents/src/lib/components/open-activity-list/component-activity-list.module.ts +30 -0
  197. package/projects/sharedcomponents/src/lib/components/open-activity-list/components/base-open-activity-list.component.ts +299 -0
  198. package/projects/sharedcomponents/src/lib/components/open-activity-list/components/personal-activity-overview/personal-activity-overview.component.ts +40 -0
  199. package/projects/sharedcomponents/src/lib/components/open-activity-list/components/personal-activity-overview/personal-activity-overview.module..ts +18 -0
  200. package/projects/sharedcomponents/src/lib/components/preferred-planning/preferred-planning.component.ts +254 -0
  201. package/projects/sharedcomponents/src/lib/components/preferred-planning/preferred-planning.module.ts +30 -0
  202. package/projects/sharedcomponents/src/lib/components/preview-pdf-dialog/preview-pdf-dialog.component.ts +86 -0
  203. package/projects/sharedcomponents/src/lib/components/preview-pdf-dialog/preview-pdf-dialog.module.ts +26 -0
  204. package/projects/sharedcomponents/src/lib/components/role-email-selector/role-email-selector.component.ts +181 -0
  205. package/projects/sharedcomponents/src/lib/components/role-email-selector/role-email-selector.module.ts +29 -0
  206. package/projects/sharedcomponents/src/lib/components/screen-config-generator/enums/field-type.enum.ts +9 -0
  207. package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Config.ts +6 -0
  208. package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Field.ts +8 -0
  209. package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Header.ts +8 -0
  210. package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Module.ts +6 -0
  211. package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Rubric.ts +10 -0
  212. package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/ScreenConfig.ts +9 -0
  213. package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/SubCat.ts +9 -0
  214. package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/SubRubric.ts +8 -0
  215. package/projects/sharedcomponents/src/lib/components/screen-config-generator/screen-config-generator.component.ts +539 -0
  216. package/projects/sharedcomponents/src/lib/components/screen-config-generator/screen-config-generator.module.ts +21 -0
  217. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/additional-file-button/additional-file-button.component.ts +78 -0
  218. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/additional-file-button/additional-file-button.module.ts +21 -0
  219. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.ts +80 -0
  220. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.ts +22 -0
  221. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.ts +60 -0
  222. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.ts +22 -0
  223. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-combine-print-email/send-method-combine-print-email.component.ts +276 -0
  224. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-combine-print-email/send-method-combine-print-email.module.ts +26 -0
  225. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.ts +104 -0
  226. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.ts +28 -0
  227. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.ts +40 -0
  228. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.ts +23 -0
  229. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.ts +182 -0
  230. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.ts +34 -0
  231. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/signature-button/signature-button.component.ts +64 -0
  232. package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/signature-button/signature-button.module.ts +20 -0
  233. package/projects/sharedcomponents/src/lib/components/send-method-dialog/model/email-address-viewmodel.ts +9 -0
  234. package/projects/sharedcomponents/src/lib/components/send-method-dialog/send-method-dialog.component.ts +495 -0
  235. package/projects/sharedcomponents/src/lib/components/send-method-dialog/send-method-dialog.module.ts +38 -0
  236. package/projects/sharedcomponents/src/lib/components/send-method-dialog/send-method-params.interface.ts +13 -0
  237. package/projects/sharedcomponents/src/lib/components/send-method-dialog/service/send-method.service.ts +86 -0
  238. package/projects/sharedcomponents/src/lib/components/simple-tags/simple-tags.component.ts +92 -0
  239. package/projects/sharedcomponents/src/lib/components/simple-tags/simple-tags.module.ts +26 -0
  240. package/projects/sharedcomponents/src/lib/components/simple-tags-form/simple-tags-form.component.ts +208 -0
  241. package/projects/sharedcomponents/src/lib/components/simple-tags-form/simple-tags-form.module.ts +24 -0
  242. package/projects/sharedcomponents/src/lib/components/statusbar/statusbar-popup.component.ts +118 -0
  243. package/projects/sharedcomponents/src/lib/components/statusbar/statusbar.component.ts +115 -0
  244. package/projects/sharedcomponents/src/lib/components/statusbar/statusbar.module.ts +25 -0
  245. package/projects/sharedcomponents/src/lib/components/stock/base/base-stock.component.ts +17 -0
  246. package/projects/sharedcomponents/src/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.ts +77 -0
  247. package/projects/sharedcomponents/src/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.ts +56 -0
  248. package/projects/sharedcomponents/src/lib/components/stock/components/order-stock-history/order-stock-history.component.ts +55 -0
  249. package/projects/sharedcomponents/src/lib/components/stock/components/order-stock-tab/order-stock-tab.component.ts +54 -0
  250. package/projects/sharedcomponents/src/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.ts +55 -0
  251. package/projects/sharedcomponents/src/lib/components/stock/components/order-tab/order-tab.component.ts +180 -0
  252. package/projects/sharedcomponents/src/lib/components/stock/components/stock-history/stock-history.component.ts +63 -0
  253. package/projects/sharedcomponents/src/lib/components/stock/components/stock-location/components/stock-location-popup/stock-location-popup.component.ts +266 -0
  254. package/projects/sharedcomponents/src/lib/components/stock/components/stock-location/stock-location.component.ts +373 -0
  255. package/projects/sharedcomponents/src/lib/components/stock/components/stock-prognose/stock-prognose.component.ts +71 -0
  256. package/projects/sharedcomponents/src/lib/components/stock/components/stock-tab/stock-tab.component.ts +41 -0
  257. package/projects/sharedcomponents/src/lib/components/stock/service/stock-module-screen-config.service.ts +23 -0
  258. package/projects/sharedcomponents/src/lib/components/stock/stock-history-tabs/stock-history-tabs.component.ts +32 -0
  259. package/projects/sharedcomponents/src/lib/components/stock/stock-information/stock-information.component.ts +86 -0
  260. package/projects/sharedcomponents/src/lib/components/stock/stock-information-grid/stock-information-grid.component.ts +500 -0
  261. package/projects/sharedcomponents/src/lib/components/stock/stock-tabs/stock-tabs.component.ts +191 -0
  262. package/projects/sharedcomponents/src/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.ts +4 -0
  263. package/projects/sharedcomponents/src/lib/components/stock/stock-transfer/stock-change-amount.component.ts +77 -0
  264. package/projects/sharedcomponents/src/lib/components/stock/stock-transfer/stock-transfer.component.ts +264 -0
  265. package/projects/sharedcomponents/src/lib/components/stock/stock-transfer-allocated/stock-transfer-allocated.component.ts +317 -0
  266. package/projects/sharedcomponents/src/lib/components/stock/stock.component.ts +249 -0
  267. package/projects/sharedcomponents/src/lib/components/stock/stock.module.ts +99 -0
  268. package/projects/sharedcomponents/src/lib/components/stock-statusbar/stock-statusbar.component.ts +23 -0
  269. package/projects/sharedcomponents/src/lib/components/stock-statusbar/stock-statusbar.module.ts +17 -0
  270. package/projects/sharedcomponents/src/lib/components/tab-bar/tab-bar.component.ts +110 -0
  271. package/projects/sharedcomponents/src/lib/components/tab-bar/tab-bar.module.ts +22 -0
  272. package/projects/sharedcomponents/src/lib/components/tab-bar/tab.interface.ts +8 -0
  273. package/projects/sharedcomponents/src/lib/components/tags/component/tag-join-label/tag-join-label.component.ts +61 -0
  274. package/projects/sharedcomponents/src/lib/components/tags/component/tag-label/tag-label.component.ts +47 -0
  275. package/projects/sharedcomponents/src/lib/components/tags/component/treeview/model/tree-view-node-item.ts +132 -0
  276. package/projects/sharedcomponents/src/lib/components/tags/component/treeview/treeview.component.ts +261 -0
  277. package/projects/sharedcomponents/src/lib/components/tags/tags.component.ts +192 -0
  278. package/projects/sharedcomponents/src/lib/components/tags/tags.module.ts +28 -0
  279. package/projects/sharedcomponents/src/lib/components/task-creator/style/_layout.scss +213 -0
  280. package/projects/sharedcomponents/src/lib/components/task-creator/task-creator.component.ts +497 -0
  281. package/projects/sharedcomponents/src/lib/components/task-creator/task-creator.module.ts +49 -0
  282. package/projects/sharedcomponents/src/lib/components/task-modifyer/task-modifier.component.ts +355 -0
  283. package/projects/sharedcomponents/src/lib/components/task-modifyer/task-modifyer.module..ts +32 -0
  284. package/projects/sharedcomponents/src/lib/components/tile-renderer/tile-render.component.ts +137 -0
  285. package/projects/sharedcomponents/src/lib/components/tile-renderer/tile-render.module.ts +26 -0
  286. package/projects/sharedcomponents/src/lib/components/workflow-info-tiles/components/workflow-info-tile.component.ts +59 -0
  287. package/projects/sharedcomponents/src/lib/components/workflow-info-tiles/components/workflow-info-tile.module.ts +22 -0
  288. package/projects/sharedcomponents/src/lib/components/workflow-info-tiles/workflow-info-tiles.component.ts +63 -0
  289. package/projects/sharedcomponents/src/lib/components/workflow-info-tiles/workflow-info-tiles.module.ts +22 -0
  290. package/projects/sharedcomponents/src/lib/components/workflow-notification-toggle/workflow-notification-toggle-popup.ts +55 -0
  291. package/projects/sharedcomponents/src/lib/components/workflow-notification-toggle/workflow-notification-toggle.component.ts +88 -0
  292. package/projects/sharedcomponents/src/lib/components/workflow-notification-toggle/workflow-notification-toggle.module.ts +34 -0
  293. package/projects/sharedcomponents/src/lib/decorator/input-boolean.decorator.ts +35 -0
  294. package/projects/sharedcomponents/src/lib/directives/absolute-overlay-template.directive.ts +26 -0
  295. package/projects/sharedcomponents/src/lib/directives/align-with.directive.ts +191 -0
  296. package/projects/sharedcomponents/src/lib/directives/click-outside.directive.ts +25 -0
  297. package/projects/sharedcomponents/src/lib/directives/directives.module.ts +22 -0
  298. package/projects/sharedcomponents/src/lib/enum/activity-cfg-name.enum.ts +28 -0
  299. package/projects/sharedcomponents/src/lib/enum/app-button-type.enum.ts +9 -0
  300. package/projects/sharedcomponents/src/lib/enum/calendar-view.enum.ts +10 -0
  301. package/projects/sharedcomponents/src/lib/enum/co-document-type.ts +11 -0
  302. package/projects/sharedcomponents/src/lib/enum/document-allowed-type.enum.ts +10 -0
  303. package/projects/sharedcomponents/src/lib/enum/document-email-report.enum.ts +16 -0
  304. package/projects/sharedcomponents/src/lib/enum/domain-multiple-name.enum.ts +11 -0
  305. package/projects/sharedcomponents/src/lib/enum/file-type.ts +12 -0
  306. package/projects/sharedcomponents/src/lib/enum/files-upload-config-objects.ts +25 -0
  307. package/projects/sharedcomponents/src/lib/enum/gauge-color.enum.ts +9 -0
  308. package/projects/sharedcomponents/src/lib/enum/icon.enum.ts +77 -0
  309. package/projects/sharedcomponents/src/lib/enum/internal-param.enum.ts +38 -0
  310. package/projects/sharedcomponents/src/lib/enum/keyboard-code.enum.ts +31 -0
  311. package/projects/sharedcomponents/src/lib/enum/language-code.enum.ts +6 -0
  312. package/projects/sharedcomponents/src/lib/enum/login-component-extra-action-type.enum.ts +4 -0
  313. package/projects/sharedcomponents/src/lib/enum/login-component-page.type.enum.ts +6 -0
  314. package/projects/sharedcomponents/src/lib/enum/login-component-query-variables-name.enum.ts +5 -0
  315. package/projects/sharedcomponents/src/lib/enum/month.enum.ts +15 -0
  316. package/projects/sharedcomponents/src/lib/enum/read-write-access-config-names.enum.ts +5 -0
  317. package/projects/sharedcomponents/src/lib/enum/shared-cfg-name.enum.ts +32 -0
  318. package/projects/sharedcomponents/src/lib/enum/table-name.enum.ts +85 -0
  319. package/projects/sharedcomponents/src/lib/enum/tag-category.enum.ts +20 -0
  320. package/projects/sharedcomponents/src/lib/enum/tags-component-config-names.ts +5 -0
  321. package/projects/sharedcomponents/src/lib/enum/thumb-three-way-state.ts +18 -0
  322. package/projects/sharedcomponents/src/lib/enum/tile-size-type.ts +5 -0
  323. package/projects/sharedcomponents/src/lib/enum/time-period.enum.ts +9 -0
  324. package/projects/sharedcomponents/src/lib/enum/user-form-mode.enum.ts +5 -0
  325. package/projects/sharedcomponents/src/lib/event/co-drag-event.ts +6 -0
  326. package/projects/sharedcomponents/src/lib/event/co-drop-event.ts +12 -0
  327. package/projects/sharedcomponents/src/lib/interface/operation-callback-activity.ts +6 -0
  328. package/projects/sharedcomponents/src/lib/interface/operation-callback-function-with-validation.ts +6 -0
  329. package/projects/sharedcomponents/src/lib/interface/operation-callback-simple-function.ts +4 -0
  330. package/projects/sharedcomponents/src/lib/model/agenda-event-per-day.model.ts +6 -0
  331. package/projects/sharedcomponents/src/lib/model/agenda-event.model.ts +19 -0
  332. package/projects/sharedcomponents/src/lib/model/agenda-null-objects.ts +11 -0
  333. package/projects/sharedcomponents/src/lib/model/constant/all-months.ts +17 -0
  334. package/projects/sharedcomponents/src/lib/model/date-range.ts +10 -0
  335. package/projects/sharedcomponents/src/lib/model/day.model.ts +9 -0
  336. package/projects/sharedcomponents/src/lib/model/icon-svg.ts +77 -0
  337. package/projects/sharedcomponents/src/lib/model/month.model.ts +11 -0
  338. package/projects/sharedcomponents/src/lib/model/send-method.ts +13 -0
  339. package/projects/sharedcomponents/src/lib/model/settings.ts +5 -0
  340. package/projects/sharedcomponents/src/lib/model/tag-tree-item.bo.ts +28 -0
  341. package/projects/sharedcomponents/src/lib/model/time-window.bo.ts +21 -0
  342. package/projects/sharedcomponents/src/lib/model/tree-object.ts +13 -0
  343. package/projects/sharedcomponents/src/lib/model/tree-view-default.model.ts +107 -0
  344. package/projects/sharedcomponents/src/lib/model/tree-view-node-default.model.ts +196 -0
  345. package/projects/sharedcomponents/src/lib/model/tree-view-node-item-options.model.ts +12 -0
  346. package/projects/sharedcomponents/src/lib/model/tree-view-node.model.ts +150 -0
  347. package/projects/sharedcomponents/src/lib/model/tree-view.model.ts +57 -0
  348. package/projects/sharedcomponents/src/lib/model/util/forms-null-object.ts +7 -0
  349. package/projects/sharedcomponents/src/lib/model/week.model.ts +5 -0
  350. package/projects/sharedcomponents/src/lib/model/weekday.model.ts +17 -0
  351. package/projects/sharedcomponents/src/lib/pipe/array-number.pipe.ts +14 -0
  352. package/projects/sharedcomponents/src/lib/pipe/file-type-image.pipe.ts +50 -0
  353. package/projects/sharedcomponents/src/lib/pipe/master-pipes.ts +9 -0
  354. package/projects/sharedcomponents/src/lib/pipe/ucfirst.pipe.ts +14 -0
  355. package/projects/sharedcomponents/src/lib/res/dictionary/dictionaries.ts +7 -0
  356. package/projects/sharedcomponents/src/lib/res/dictionary/text_de.properties.json +1 -0
  357. package/projects/sharedcomponents/src/lib/res/dictionary/text_en.properties.json +1 -0
  358. package/projects/sharedcomponents/src/lib/res/dictionary/text_fr.properties.json +1 -0
  359. package/projects/sharedcomponents/src/lib/res/dictionary/text_nl.properties.json +1 -0
  360. package/projects/sharedcomponents/src/lib/service/app-absolute-overlay-outlet.service.ts +20 -0
  361. package/projects/sharedcomponents/src/lib/service/drag-drop.service.ts +423 -0
  362. package/projects/sharedcomponents/src/lib/service/icon-cache.service.ts +51 -0
  363. package/projects/sharedcomponents/src/lib/service/options.service.ts +43 -0
  364. package/projects/sharedcomponents/src/lib/service/shared-connector.service.ts +863 -0
  365. package/projects/sharedcomponents/src/lib/service/shared-event.service.ts +9 -0
  366. package/projects/sharedcomponents/src/lib/service/shared-initializer.service.ts +44 -0
  367. package/projects/sharedcomponents/src/lib/service/shared.service.ts +244 -0
  368. package/projects/sharedcomponents/src/lib/service/stock.service.ts +124 -0
  369. package/projects/sharedcomponents/src/lib/translation/shared-components-dictionary.service.ts +73 -0
  370. package/projects/sharedcomponents/src/lib/translation/shared-components-translation.module.ts +12 -0
  371. package/projects/sharedcomponents/src/lib/translation/shared-localize.pipe.ts +21 -0
  372. package/projects/sharedcomponents/src/lib/typings/local/fingerprintjs2/index.d.ts +42 -0
  373. package/projects/sharedcomponents/src/lib/utils/array-utils.ts +225 -0
  374. package/projects/sharedcomponents/src/lib/utils/browser-utils.ts +124 -0
  375. package/projects/sharedcomponents/src/lib/utils/calendar.utils.ts +199 -0
  376. package/projects/sharedcomponents/src/lib/utils/check-precision-and-scale-result.ts +5 -0
  377. package/projects/sharedcomponents/src/lib/utils/co-document-shared-field-logic.ts +58 -0
  378. package/projects/sharedcomponents/src/lib/utils/date-utils.ts +302 -0
  379. package/projects/sharedcomponents/src/lib/utils/enum-utils.ts +149 -0
  380. package/projects/sharedcomponents/src/lib/utils/event-utils.ts +70 -0
  381. package/projects/sharedcomponents/src/lib/utils/form-utils.ts +33 -0
  382. package/projects/sharedcomponents/src/lib/utils/function/not-nill.function.ts +4 -0
  383. package/projects/sharedcomponents/src/lib/utils/is-nill.function.ts +4 -0
  384. package/projects/sharedcomponents/src/lib/utils/map-utils.ts +44 -0
  385. package/projects/sharedcomponents/src/lib/utils/number-utils.ts +439 -0
  386. package/projects/sharedcomponents/src/lib/utils/object-utils.ts +310 -0
  387. package/projects/sharedcomponents/src/lib/utils/ref-code-utils.ts +60 -0
  388. package/projects/sharedcomponents/src/lib/utils/string-utils.ts +102 -0
  389. package/projects/sharedcomponents/src/lib/utils/tree-utils.ts +63 -0
  390. package/projects/sharedcomponents/src/public-api.ts +50 -0
  391. package/projects/sharedcomponents/src/test.ts +27 -0
  392. package/projects/sharedcomponents/tsconfig.lib.json +18 -0
  393. package/projects/sharedcomponents/tsconfig.lib.prod.json +10 -0
  394. package/projects/sharedcomponents/tsconfig.spec.json +17 -0
  395. package/script/create-bundle-version.js +19 -0
  396. package/script/create-dictionaries.js +41 -0
  397. package/script/merge-icons.js +39 -0
  398. package/src/app/app-login.component.ts +18 -0
  399. package/src/app/app-module.service.ts +7 -0
  400. package/src/app/app-screen-config.service.ts +13 -0
  401. package/src/app/app.component.scss +31 -0
  402. package/src/app/app.component.spec.ts +31 -0
  403. package/src/app/app.component.ts +798 -0
  404. package/src/app/app.module.ts +100 -0
  405. package/src/app/bundle/index.html +14 -0
  406. package/src/app/bundle/login/login-bundle.component.scss +8 -0
  407. package/src/app/bundle/login/login-bundle.component.ts +150 -0
  408. package/src/app/bundle/login/login-bundle.module.ts +32 -0
  409. package/src/app/bundle/main-login-bundle.ts +11 -0
  410. package/src/app/bundle/polyfills.ts +63 -0
  411. package/src/app/bundle/shared-version.ts +7 -0
  412. package/src/app/test-data.service.ts +230 -0
  413. package/src/assets/.gitkeep +0 -0
  414. package/src/environments/environment.bundle.prod.ts +3 -0
  415. package/src/environments/environment.prod.ts +3 -0
  416. package/src/environments/environment.ts +16 -0
  417. package/src/favicon.ico +0 -0
  418. package/src/index.html +13 -0
  419. package/src/main.ts +12 -0
  420. package/src/polyfills.ts +53 -0
  421. package/src/styles.scss +92 -0
  422. package/src/test.ts +26 -0
  423. package/tsconfig.app.json +15 -0
  424. package/tsconfig.bundle.json +38 -0
  425. package/tsconfig.json +64 -0
  426. package/tsconfig.spec.json +18 -0
  427. package/webpack.login.bundle.config.js +32 -0
  428. package/bundles/colijnit-sharedcomponents.umd.js +0 -17989
  429. package/bundles/colijnit-sharedcomponents.umd.js.map +0 -1
  430. package/colijnit-sharedcomponents.d.ts +0 -143
  431. package/colijnit-sharedcomponents.metadata.json +0 -1
  432. package/esm2015/colijnit-sharedcomponents.js +0 -144
  433. package/esm2015/lib/businessobject/build-images-and-documentation-result.js +0 -2
  434. package/esm2015/lib/businessobject/drag-drop-container-element.js +0 -2
  435. package/esm2015/lib/businessobject/drag-drop-container.js +0 -7
  436. package/esm2015/lib/components/activity-list/activity-list.component.js +0 -192
  437. package/esm2015/lib/components/activity-list/activity-list.module.js +0 -24
  438. package/esm2015/lib/components/activity-list-header/activity-list-header.component.js +0 -67
  439. package/esm2015/lib/components/activity-list-header/activity-list-header.module.js +0 -28
  440. package/esm2015/lib/components/activity-list-header/components/period-filter/period-filter-popup.component.js +0 -55
  441. package/esm2015/lib/components/activity-list-header/components/period-filter/period-filter.component.js +0 -103
  442. package/esm2015/lib/components/activity-list-header/components/period-filter/period-filter.module.js +0 -33
  443. package/esm2015/lib/components/activity-overview-component/component-activity-overview.component.js +0 -215
  444. package/esm2015/lib/components/activity-overview-component/component-activity-overview.module.js +0 -26
  445. package/esm2015/lib/components/activity-overview-component/components/base-activity-overview.component.js +0 -283
  446. package/esm2015/lib/components/app-file-dropzone/app-file-dropzone.component.js +0 -47
  447. package/esm2015/lib/components/app-file-dropzone/app-file-dropzone.module.js +0 -20
  448. package/esm2015/lib/components/custom-pdf/custom-pdf-dialog.component.js +0 -279
  449. package/esm2015/lib/components/custom-pdf/custom-pdf-dialog.module.js +0 -27
  450. package/esm2015/lib/components/date-planning/component/agenda/agenda-base-view.component.js +0 -61
  451. package/esm2015/lib/components/date-planning/component/agenda/agenda-day-view.component.js +0 -36
  452. package/esm2015/lib/components/date-planning/component/agenda/agenda-event.component.js +0 -56
  453. package/esm2015/lib/components/date-planning/component/agenda/agenda-events.component.js +0 -47
  454. package/esm2015/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.js +0 -68
  455. package/esm2015/lib/components/date-planning/component/agenda/agenda-header.component.js +0 -366
  456. package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-cell.component.js +0 -36
  457. package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.js +0 -50
  458. package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-view.component.js +0 -46
  459. package/esm2015/lib/components/date-planning/component/agenda/agenda-month-view.component.js +0 -61
  460. package/esm2015/lib/components/date-planning/component/agenda/agenda-select-event.component.js +0 -39
  461. package/esm2015/lib/components/date-planning/component/agenda/agenda-view.component.js +0 -35
  462. package/esm2015/lib/components/date-planning/component/agenda/agenda-week-select-view.component.js +0 -64
  463. package/esm2015/lib/components/date-planning/component/agenda/agenda-week-view.component.js +0 -48
  464. package/esm2015/lib/components/date-planning/component/agenda/view-select.component.js +0 -75
  465. package/esm2015/lib/components/date-planning/component/calendar/calendar-all-months.component.js +0 -34
  466. package/esm2015/lib/components/date-planning/component/calendar/calendar-all-years.component.js +0 -48
  467. package/esm2015/lib/components/date-planning/component/calendar/calendar-header.component.js +0 -107
  468. package/esm2015/lib/components/date-planning/component/calendar/calendar-view.component.js +0 -178
  469. package/esm2015/lib/components/date-planning/component/calendar/calendar.component.js +0 -34
  470. package/esm2015/lib/components/date-planning/date-planning.component.js +0 -116
  471. package/esm2015/lib/components/date-planning/date-planning.module.js +0 -65
  472. package/esm2015/lib/components/docsign/component/signature/signature.component.js +0 -75
  473. package/esm2015/lib/components/docsign/component/signatures/signatures.component.js +0 -44
  474. package/esm2015/lib/components/docsign/docsign.component.js +0 -263
  475. package/esm2015/lib/components/docsign/docsign.module.js +0 -23
  476. package/esm2015/lib/components/email-selector/email-selector.component.js +0 -117
  477. package/esm2015/lib/components/email-selector/email-selector.module.js +0 -32
  478. package/esm2015/lib/components/file-upload/file-upload.component.js +0 -210
  479. package/esm2015/lib/components/file-upload/file-upload.module.js +0 -27
  480. package/esm2015/lib/components/file-upload-popup/file-upload-popup.component.js +0 -404
  481. package/esm2015/lib/components/file-upload-popup/file-upload-popup.module.js +0 -31
  482. package/esm2015/lib/components/files-upload/components/base-file-upload.component.js +0 -468
  483. package/esm2015/lib/components/files-upload/components/drag-drop-container.component.js +0 -115
  484. package/esm2015/lib/components/files-upload/files-upload.component.js +0 -148
  485. package/esm2015/lib/components/files-upload/files-upload.module.js +0 -47
  486. package/esm2015/lib/components/form-builder/form-builder-user-form/components/user-form-input-scale/user-form-input-scale.component.js +0 -98
  487. package/esm2015/lib/components/form-builder/form-builder-user-form/components/user-form-input-scale/user-form-input-scale.module.js +0 -23
  488. package/esm2015/lib/components/form-builder/form-builder-user-form/form-builder-question.component.js +0 -148
  489. package/esm2015/lib/components/form-builder/form-builder-user-form/form-builder-user-form.component.js +0 -266
  490. package/esm2015/lib/components/form-builder/form-builder-user-form/form-builder-user-form.module.js +0 -43
  491. package/esm2015/lib/components/image-display/image-display.component.js +0 -36
  492. package/esm2015/lib/components/image-display/image-display.module.js +0 -23
  493. package/esm2015/lib/components/key-pad/key-pad.component.js +0 -200
  494. package/esm2015/lib/components/key-pad/key-pad.module.js +0 -22
  495. package/esm2015/lib/components/layout-switcher/layout-switcher.component.js +0 -74
  496. package/esm2015/lib/components/layout-switcher/layout-switcher.module.js +0 -21
  497. package/esm2015/lib/components/linear-gauge/co-linear-gauge.component.js +0 -67
  498. package/esm2015/lib/components/linear-gauge/co-linear-gauge.module.js +0 -19
  499. package/esm2015/lib/components/modify-task-form/components/activity-summary-block/activity-summary-block.component.js +0 -100
  500. package/esm2015/lib/components/modify-task-form/components/activity-summary-block/activity-summary-block.module.js +0 -25
  501. package/esm2015/lib/components/modify-task-form/components/base-activity-summary.component.js +0 -131
  502. package/esm2015/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.component.js +0 -120
  503. package/esm2015/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.module.js +0 -27
  504. package/esm2015/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.component.js +0 -88
  505. package/esm2015/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.module.js +0 -24
  506. package/esm2015/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.component.js +0 -108
  507. package/esm2015/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.module.js +0 -28
  508. package/esm2015/lib/components/modify-task-form/components/status-summary-block/status-summary-block.component.js +0 -74
  509. package/esm2015/lib/components/modify-task-form/components/status-summary-block/status-summary-block.module.js +0 -25
  510. package/esm2015/lib/components/modify-task-form/components/task-details/task-details.component.js +0 -105
  511. package/esm2015/lib/components/modify-task-form/components/task-details/task-details.module.js +0 -25
  512. package/esm2015/lib/components/modify-task-form/modify-task-form.component.js +0 -293
  513. package/esm2015/lib/components/modify-task-form/modify-task-form.module.js +0 -40
  514. package/esm2015/lib/components/multi-property-toggler/multiple-property-toggler.component.js +0 -89
  515. package/esm2015/lib/components/multi-property-toggler/multiple-property-toggler.module.js +0 -21
  516. package/esm2015/lib/components/open-activity-list/component-activity-list.component.js +0 -296
  517. package/esm2015/lib/components/open-activity-list/component-activity-list.module.js +0 -30
  518. package/esm2015/lib/components/open-activity-list/components/base-open-activity-list.component.js +0 -266
  519. package/esm2015/lib/components/open-activity-list/components/personal-activity-overview/personal-activity-overview.component.js +0 -41
  520. package/esm2015/lib/components/open-activity-list/components/personal-activity-overview/personal-activity-overview.module..js +0 -19
  521. package/esm2015/lib/components/preferred-planning/preferred-planning.component.js +0 -218
  522. package/esm2015/lib/components/preferred-planning/preferred-planning.module.js +0 -25
  523. package/esm2015/lib/components/preview-pdf-dialog/preview-pdf-dialog.component.js +0 -77
  524. package/esm2015/lib/components/preview-pdf-dialog/preview-pdf-dialog.module.js +0 -26
  525. package/esm2015/lib/components/role-email-selector/role-email-selector.component.js +0 -159
  526. package/esm2015/lib/components/role-email-selector/role-email-selector.module.js +0 -29
  527. package/esm2015/lib/components/send-method-dialog/components/additional-file-button/additional-file-button.component.js +0 -64
  528. package/esm2015/lib/components/send-method-dialog/components/additional-file-button/additional-file-button.module.js +0 -23
  529. package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.js +0 -73
  530. package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.js +0 -24
  531. package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.js +0 -58
  532. package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.js +0 -24
  533. package/esm2015/lib/components/send-method-dialog/components/send-method-combine-print-email/send-method-combine-print-email.component.js +0 -239
  534. package/esm2015/lib/components/send-method-dialog/components/send-method-combine-print-email/send-method-combine-print-email.module.js +0 -28
  535. package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.js +0 -94
  536. package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.js +0 -30
  537. package/esm2015/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.js +0 -42
  538. package/esm2015/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.js +0 -25
  539. package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.js +0 -163
  540. package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.js +0 -36
  541. package/esm2015/lib/components/send-method-dialog/components/signature-button/signature-button.component.js +0 -57
  542. package/esm2015/lib/components/send-method-dialog/components/signature-button/signature-button.module.js +0 -22
  543. package/esm2015/lib/components/send-method-dialog/model/email-address-viewmodel.js +0 -7
  544. package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +0 -404
  545. package/esm2015/lib/components/send-method-dialog/send-method-dialog.module.js +0 -39
  546. package/esm2015/lib/components/send-method-dialog/send-method-params.interface.js +0 -2
  547. package/esm2015/lib/components/send-method-dialog/service/send-method.service.js +0 -75
  548. package/esm2015/lib/components/simple-tags/simple-tags.component.js +0 -87
  549. package/esm2015/lib/components/simple-tags/simple-tags.module.js +0 -28
  550. package/esm2015/lib/components/simple-tags-form/simple-tags-form.component.js +0 -196
  551. package/esm2015/lib/components/simple-tags-form/simple-tags-form.module.js +0 -26
  552. package/esm2015/lib/components/statusbar/statusbar-popup.component.js +0 -114
  553. package/esm2015/lib/components/statusbar/statusbar.component.js +0 -86
  554. package/esm2015/lib/components/statusbar/statusbar.module.js +0 -27
  555. package/esm2015/lib/components/stock/base/base-stock.component.js +0 -18
  556. package/esm2015/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.js +0 -79
  557. package/esm2015/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.js +0 -58
  558. package/esm2015/lib/components/stock/components/order-stock-history/order-stock-history.component.js +0 -58
  559. package/esm2015/lib/components/stock/components/order-stock-tab/order-stock-tab.component.js +0 -58
  560. package/esm2015/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.js +0 -58
  561. package/esm2015/lib/components/stock/components/order-tab/order-tab.component.js +0 -162
  562. package/esm2015/lib/components/stock/components/stock-history/stock-history.component.js +0 -66
  563. package/esm2015/lib/components/stock/components/stock-location/components/stock-location-popup/stock-location-popup.component.js +0 -241
  564. package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +0 -327
  565. package/esm2015/lib/components/stock/components/stock-prognose/stock-prognose.component.js +0 -73
  566. package/esm2015/lib/components/stock/components/stock-tab/stock-tab.component.js +0 -42
  567. package/esm2015/lib/components/stock/service/stock-module-screen-config.service.js +0 -27
  568. package/esm2015/lib/components/stock/stock-history-tabs/stock-history-tabs.component.js +0 -33
  569. package/esm2015/lib/components/stock/stock-information/stock-information.component.js +0 -76
  570. package/esm2015/lib/components/stock/stock-information-grid/stock-information-grid.component.js +0 -457
  571. package/esm2015/lib/components/stock/stock-tabs/stock-tabs.component.js +0 -173
  572. package/esm2015/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.js +0 -2
  573. package/esm2015/lib/components/stock/stock-transfer/stock-change-amount.component.js +0 -72
  574. package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +0 -219
  575. package/esm2015/lib/components/stock/stock-transfer-allocated/stock-transfer-allocated.component.js +0 -273
  576. package/esm2015/lib/components/stock/stock.component.js +0 -211
  577. package/esm2015/lib/components/stock/stock.module.js +0 -86
  578. package/esm2015/lib/components/stock-statusbar/stock-statusbar.component.js +0 -23
  579. package/esm2015/lib/components/stock-statusbar/stock-statusbar.module.js +0 -19
  580. package/esm2015/lib/components/tab-bar/tab-bar.component.js +0 -98
  581. package/esm2015/lib/components/tab-bar/tab-bar.module.js +0 -23
  582. package/esm2015/lib/components/tab-bar/tab.interface.js +0 -2
  583. package/esm2015/lib/components/task-creator/task-creator.component.js +0 -410
  584. package/esm2015/lib/components/task-creator/task-creator.module.js +0 -40
  585. package/esm2015/lib/components/task-modifyer/task-modifier.component.js +0 -282
  586. package/esm2015/lib/components/task-modifyer/task-modifyer.module..js +0 -32
  587. package/esm2015/lib/components/tile-renderer/tile-render.component.js +0 -90
  588. package/esm2015/lib/components/tile-renderer/tile-render.module.js +0 -26
  589. package/esm2015/lib/components/workflow-info-tiles/components/workflow-info-tile.component.js +0 -52
  590. package/esm2015/lib/components/workflow-info-tiles/components/workflow-info-tile.module.js +0 -22
  591. package/esm2015/lib/components/workflow-info-tiles/workflow-info-tiles.component.js +0 -60
  592. package/esm2015/lib/components/workflow-info-tiles/workflow-info-tiles.module.js +0 -22
  593. package/esm2015/lib/components/workflow-notification-toggle/workflow-notification-toggle-popup.js +0 -53
  594. package/esm2015/lib/components/workflow-notification-toggle/workflow-notification-toggle.component.js +0 -81
  595. package/esm2015/lib/components/workflow-notification-toggle/workflow-notification-toggle.module.js +0 -34
  596. package/esm2015/lib/decorator/input-boolean.decorator.js +0 -34
  597. package/esm2015/lib/directives/absolute-overlay-template.directive.js +0 -29
  598. package/esm2015/lib/directives/align-with.directive.js +0 -174
  599. package/esm2015/lib/directives/click-outside.directive.js +0 -25
  600. package/esm2015/lib/directives/directives.module.js +0 -22
  601. package/esm2015/lib/enum/activity-cfg-name.enum.js +0 -29
  602. package/esm2015/lib/enum/app-button-type.enum.js +0 -11
  603. package/esm2015/lib/enum/calendar-view.enum.js +0 -12
  604. package/esm2015/lib/enum/document-email-report.enum.js +0 -18
  605. package/esm2015/lib/enum/domain-multiple-name.enum.js +0 -13
  606. package/esm2015/lib/enum/file-type.js +0 -14
  607. package/esm2015/lib/enum/files-upload-config-objects.js +0 -3
  608. package/esm2015/lib/enum/gauge-color.enum.js +0 -11
  609. package/esm2015/lib/enum/icon.enum.js +0 -78
  610. package/esm2015/lib/enum/internal-param.enum.js +0 -38
  611. package/esm2015/lib/enum/keyboard-code.enum.js +0 -33
  612. package/esm2015/lib/enum/language-code.enum.js +0 -8
  613. package/esm2015/lib/enum/month.enum.js +0 -17
  614. package/esm2015/lib/enum/read-write-access-config-names.enum.js +0 -2
  615. package/esm2015/lib/enum/shared-cfg-name.enum.js +0 -19
  616. package/esm2015/lib/enum/table-name.enum.js +0 -86
  617. package/esm2015/lib/enum/tag-category.enum.js +0 -22
  618. package/esm2015/lib/enum/tags-component-config-names.js +0 -2
  619. package/esm2015/lib/enum/thumb-three-way-state.js +0 -19
  620. package/esm2015/lib/enum/tile-size-type.js +0 -7
  621. package/esm2015/lib/enum/time-period.enum.js +0 -11
  622. package/esm2015/lib/enum/user-form-mode.enum.js +0 -7
  623. package/esm2015/lib/event/co-drag-event.js +0 -2
  624. package/esm2015/lib/event/co-drop-event.js +0 -2
  625. package/esm2015/lib/interface/activities-task-config-names.js +0 -2
  626. package/esm2015/lib/interface/key-value-pair.js +0 -2
  627. package/esm2015/lib/interface/operation-callback-activity.js +0 -5
  628. package/esm2015/lib/interface/operation-callback-function-with-validation.js +0 -5
  629. package/esm2015/lib/interface/operation-callback-simple-function.js +0 -4
  630. package/esm2015/lib/model/agenda-event-per-day.model.js +0 -6
  631. package/esm2015/lib/model/agenda-event.model.js +0 -8
  632. package/esm2015/lib/model/agenda-null-objects.js +0 -11
  633. package/esm2015/lib/model/constant/all-months.js +0 -17
  634. package/esm2015/lib/model/date-range.js +0 -5
  635. package/esm2015/lib/model/day.model.js +0 -7
  636. package/esm2015/lib/model/icon-svg.js +0 -77
  637. package/esm2015/lib/model/month.model.js +0 -11
  638. package/esm2015/lib/model/send-method.js +0 -8
  639. package/esm2015/lib/model/settings.js +0 -4
  640. package/esm2015/lib/model/tag-tree-item.bo.js +0 -16
  641. package/esm2015/lib/model/time-window.bo.js +0 -26
  642. package/esm2015/lib/model/tree-object.js +0 -15
  643. package/esm2015/lib/model/util/forms-null-object.js +0 -7
  644. package/esm2015/lib/model/week.model.js +0 -6
  645. package/esm2015/lib/model/weekday.model.js +0 -10
  646. package/esm2015/lib/pipe/array-number.pipe.js +0 -15
  647. package/esm2015/lib/pipe/file-type-image.pipe.js +0 -51
  648. package/esm2015/lib/pipe/master-pipes.js +0 -9
  649. package/esm2015/lib/pipe/ucfirst.pipe.js +0 -16
  650. package/esm2015/lib/res/dictionary/dictionaries.js +0 -9
  651. package/esm2015/lib/service/app-absolute-overlay-outlet.service.js +0 -20
  652. package/esm2015/lib/service/drag-drop.service.js +0 -365
  653. package/esm2015/lib/service/icon-cache.service.js +0 -51
  654. package/esm2015/lib/service/options.service.js +0 -48
  655. package/esm2015/lib/service/shared-connector.service.js +0 -932
  656. package/esm2015/lib/service/shared-event.service.js +0 -15
  657. package/esm2015/lib/service/shared.service.js +0 -252
  658. package/esm2015/lib/service/stock.service.js +0 -109
  659. package/esm2015/lib/translation/shared-components-dictionary.service.js +0 -69
  660. package/esm2015/lib/translation/shared-components-translation.module.js +0 -15
  661. package/esm2015/lib/translation/shared-localize.pipe.js +0 -26
  662. package/esm2015/lib/utils/array-utils.js +0 -202
  663. package/esm2015/lib/utils/browser-utils.js +0 -100
  664. package/esm2015/lib/utils/calendar.utils.js +0 -179
  665. package/esm2015/lib/utils/check-precision-and-scale-result.js +0 -2
  666. package/esm2015/lib/utils/check-within-stepped-bounds-result.js +0 -2
  667. package/esm2015/lib/utils/co-document-shared-field-logic.js +0 -50
  668. package/esm2015/lib/utils/date-utils.js +0 -264
  669. package/esm2015/lib/utils/enum-utils.js +0 -128
  670. package/esm2015/lib/utils/event-utils.js +0 -59
  671. package/esm2015/lib/utils/form-utils.js +0 -32
  672. package/esm2015/lib/utils/function/not-nill.function.js +0 -5
  673. package/esm2015/lib/utils/is-nill.function.js +0 -5
  674. package/esm2015/lib/utils/map-utils.js +0 -41
  675. package/esm2015/lib/utils/number-utils.js +0 -390
  676. package/esm2015/lib/utils/object-utils.js +0 -278
  677. package/esm2015/lib/utils/ref-code-utils.js +0 -49
  678. package/esm2015/lib/utils/string-utils.js +0 -97
  679. package/esm2015/public-api.js +0 -48
  680. package/fesm2015/colijnit-sharedcomponents.js +0 -18716
  681. package/fesm2015/colijnit-sharedcomponents.js.map +0 -1
  682. package/lib/businessobject/build-images-and-documentation-result.d.ts +0 -5
  683. package/lib/businessobject/drag-drop-container-element.d.ts +0 -6
  684. package/lib/businessobject/drag-drop-container.d.ts +0 -6
  685. package/lib/components/activity-list/activity-list.component.d.ts +0 -51
  686. package/lib/components/activity-list/activity-list.module.d.ts +0 -2
  687. package/lib/components/activity-list-header/activity-list-header.component.d.ts +0 -25
  688. package/lib/components/activity-list-header/activity-list-header.module.d.ts +0 -2
  689. package/lib/components/activity-list-header/components/period-filter/period-filter-popup.component.d.ts +0 -11
  690. package/lib/components/activity-list-header/components/period-filter/period-filter.component.d.ts +0 -26
  691. package/lib/components/activity-list-header/components/period-filter/period-filter.module.d.ts +0 -2
  692. package/lib/components/activity-overview-component/component-activity-overview.component.d.ts +0 -24
  693. package/lib/components/activity-overview-component/component-activity-overview.module.d.ts +0 -2
  694. package/lib/components/activity-overview-component/components/base-activity-overview.component.d.ts +0 -81
  695. package/lib/components/app-file-dropzone/app-file-dropzone.component.d.ts +0 -14
  696. package/lib/components/app-file-dropzone/app-file-dropzone.module.d.ts +0 -2
  697. package/lib/components/custom-pdf/custom-pdf-dialog.component.d.ts +0 -41
  698. package/lib/components/custom-pdf/custom-pdf-dialog.module.d.ts +0 -2
  699. package/lib/components/date-planning/component/agenda/agenda-base-view.component.d.ts +0 -21
  700. package/lib/components/date-planning/component/agenda/agenda-day-view.component.d.ts +0 -7
  701. package/lib/components/date-planning/component/agenda/agenda-event.component.d.ts +0 -18
  702. package/lib/components/date-planning/component/agenda/agenda-events.component.d.ts +0 -13
  703. package/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.d.ts +0 -18
  704. package/lib/components/date-planning/component/agenda/agenda-header.component.d.ts +0 -51
  705. package/lib/components/date-planning/component/agenda/agenda-hour-cell.component.d.ts +0 -9
  706. package/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.d.ts +0 -8
  707. package/lib/components/date-planning/component/agenda/agenda-hour-view.component.d.ts +0 -7
  708. package/lib/components/date-planning/component/agenda/agenda-month-view.component.d.ts +0 -10
  709. package/lib/components/date-planning/component/agenda/agenda-select-event.component.d.ts +0 -12
  710. package/lib/components/date-planning/component/agenda/agenda-view.component.d.ts +0 -12
  711. package/lib/components/date-planning/component/agenda/agenda-week-select-view.component.d.ts +0 -10
  712. package/lib/components/date-planning/component/agenda/agenda-week-view.component.d.ts +0 -9
  713. package/lib/components/date-planning/component/agenda/view-select.component.d.ts +0 -13
  714. package/lib/components/date-planning/component/calendar/calendar-all-months.component.d.ts +0 -9
  715. package/lib/components/date-planning/component/calendar/calendar-all-years.component.d.ts +0 -9
  716. package/lib/components/date-planning/component/calendar/calendar-header.component.d.ts +0 -23
  717. package/lib/components/date-planning/component/calendar/calendar-view.component.d.ts +0 -31
  718. package/lib/components/date-planning/component/calendar/calendar.component.d.ts +0 -10
  719. package/lib/components/date-planning/date-planning.component.d.ts +0 -29
  720. package/lib/components/date-planning/date-planning.module.d.ts +0 -2
  721. package/lib/components/docsign/component/signature/signature.component.d.ts +0 -16
  722. package/lib/components/docsign/component/signatures/signatures.component.d.ts +0 -12
  723. package/lib/components/docsign/docsign.component.d.ts +0 -99
  724. package/lib/components/docsign/docsign.module.d.ts +0 -2
  725. package/lib/components/email-selector/email-selector.component.d.ts +0 -33
  726. package/lib/components/email-selector/email-selector.module.d.ts +0 -2
  727. package/lib/components/file-upload/file-upload.component.d.ts +0 -49
  728. package/lib/components/file-upload/file-upload.module.d.ts +0 -2
  729. package/lib/components/file-upload-popup/file-upload-popup.component.d.ts +0 -79
  730. package/lib/components/file-upload-popup/file-upload-popup.module.d.ts +0 -2
  731. package/lib/components/files-upload/components/base-file-upload.component.d.ts +0 -98
  732. package/lib/components/files-upload/components/drag-drop-container.component.d.ts +0 -34
  733. package/lib/components/files-upload/files-upload.component.d.ts +0 -32
  734. package/lib/components/files-upload/files-upload.module.d.ts +0 -2
  735. package/lib/components/form-builder/form-builder-user-form/components/user-form-input-scale/user-form-input-scale.component.d.ts +0 -23
  736. package/lib/components/form-builder/form-builder-user-form/components/user-form-input-scale/user-form-input-scale.module.d.ts +0 -2
  737. package/lib/components/form-builder/form-builder-user-form/form-builder-question.component.d.ts +0 -32
  738. package/lib/components/form-builder/form-builder-user-form/form-builder-user-form.component.d.ts +0 -64
  739. package/lib/components/form-builder/form-builder-user-form/form-builder-user-form.module.d.ts +0 -2
  740. package/lib/components/image-display/image-display.component.d.ts +0 -14
  741. package/lib/components/image-display/image-display.module.d.ts +0 -2
  742. package/lib/components/key-pad/key-pad.component.d.ts +0 -38
  743. package/lib/components/key-pad/key-pad.module.d.ts +0 -2
  744. package/lib/components/layout-switcher/layout-switcher.component.d.ts +0 -16
  745. package/lib/components/layout-switcher/layout-switcher.module.d.ts +0 -2
  746. package/lib/components/linear-gauge/co-linear-gauge.component.d.ts +0 -11
  747. package/lib/components/linear-gauge/co-linear-gauge.module.d.ts +0 -2
  748. package/lib/components/modify-task-form/components/activity-summary-block/activity-summary-block.component.d.ts +0 -31
  749. package/lib/components/modify-task-form/components/activity-summary-block/activity-summary-block.module.d.ts +0 -2
  750. package/lib/components/modify-task-form/components/activity-summary-block/style/_layout.scss +0 -160
  751. package/lib/components/modify-task-form/components/base-activity-summary.component.d.ts +0 -51
  752. package/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.component.d.ts +0 -28
  753. package/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.module.d.ts +0 -2
  754. package/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.component.d.ts +0 -24
  755. package/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.module.d.ts +0 -2
  756. package/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.component.d.ts +0 -28
  757. package/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.module.d.ts +0 -2
  758. package/lib/components/modify-task-form/components/status-summary-block/status-summary-block.component.d.ts +0 -17
  759. package/lib/components/modify-task-form/components/status-summary-block/status-summary-block.module.d.ts +0 -2
  760. package/lib/components/modify-task-form/components/task-details/task-details.component.d.ts +0 -23
  761. package/lib/components/modify-task-form/components/task-details/task-details.module.d.ts +0 -2
  762. package/lib/components/modify-task-form/modify-task-form.component.d.ts +0 -56
  763. package/lib/components/modify-task-form/modify-task-form.module.d.ts +0 -2
  764. package/lib/components/multi-property-toggler/multiple-property-toggler.component.d.ts +0 -27
  765. package/lib/components/multi-property-toggler/multiple-property-toggler.module.d.ts +0 -2
  766. package/lib/components/open-activity-list/component-activity-list.component.d.ts +0 -78
  767. package/lib/components/open-activity-list/component-activity-list.module.d.ts +0 -2
  768. package/lib/components/open-activity-list/components/base-open-activity-list.component.d.ts +0 -48
  769. package/lib/components/open-activity-list/components/personal-activity-overview/personal-activity-overview.component.d.ts +0 -4
  770. package/lib/components/open-activity-list/components/personal-activity-overview/personal-activity-overview.module..d.ts +0 -2
  771. package/lib/components/preferred-planning/preferred-planning.component.d.ts +0 -34
  772. package/lib/components/preferred-planning/preferred-planning.module.d.ts +0 -2
  773. package/lib/components/preview-pdf-dialog/preview-pdf-dialog.component.d.ts +0 -18
  774. package/lib/components/preview-pdf-dialog/preview-pdf-dialog.module.d.ts +0 -2
  775. package/lib/components/role-email-selector/role-email-selector.component.d.ts +0 -44
  776. package/lib/components/role-email-selector/role-email-selector.module.d.ts +0 -2
  777. package/lib/components/send-method-dialog/components/additional-file-button/additional-file-button.component.d.ts +0 -22
  778. package/lib/components/send-method-dialog/components/additional-file-button/additional-file-button.module.d.ts +0 -2
  779. package/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.d.ts +0 -20
  780. package/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.d.ts +0 -2
  781. package/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.d.ts +0 -16
  782. package/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.d.ts +0 -2
  783. package/lib/components/send-method-dialog/components/send-method-combine-print-email/send-method-combine-print-email.component.d.ts +0 -53
  784. package/lib/components/send-method-dialog/components/send-method-combine-print-email/send-method-combine-print-email.module.d.ts +0 -2
  785. package/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.d.ts +0 -25
  786. package/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.d.ts +0 -2
  787. package/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.d.ts +0 -11
  788. package/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.d.ts +0 -2
  789. package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.d.ts +0 -41
  790. package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.d.ts +0 -2
  791. package/lib/components/send-method-dialog/components/signature-button/signature-button.component.d.ts +0 -16
  792. package/lib/components/send-method-dialog/components/signature-button/signature-button.module.d.ts +0 -2
  793. package/lib/components/send-method-dialog/model/email-address-viewmodel.d.ts +0 -5
  794. package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +0 -103
  795. package/lib/components/send-method-dialog/send-method-dialog.module.d.ts +0 -2
  796. package/lib/components/send-method-dialog/send-method-params.interface.d.ts +0 -13
  797. package/lib/components/send-method-dialog/service/send-method.service.d.ts +0 -29
  798. package/lib/components/simple-tags/simple-tags.component.d.ts +0 -24
  799. package/lib/components/simple-tags/simple-tags.module.d.ts +0 -2
  800. package/lib/components/simple-tags-form/simple-tags-form.component.d.ts +0 -29
  801. package/lib/components/simple-tags-form/simple-tags-form.module.d.ts +0 -2
  802. package/lib/components/statusbar/statusbar-popup.component.d.ts +0 -25
  803. package/lib/components/statusbar/statusbar.component.d.ts +0 -29
  804. package/lib/components/statusbar/statusbar.module.d.ts +0 -2
  805. package/lib/components/stock/base/base-stock.component.d.ts +0 -6
  806. package/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.d.ts +0 -14
  807. package/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.d.ts +0 -11
  808. package/lib/components/stock/components/order-stock-history/order-stock-history.component.d.ts +0 -11
  809. package/lib/components/stock/components/order-stock-tab/order-stock-tab.component.d.ts +0 -13
  810. package/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.d.ts +0 -11
  811. package/lib/components/stock/components/order-tab/order-tab.component.d.ts +0 -41
  812. package/lib/components/stock/components/stock-history/stock-history.component.d.ts +0 -15
  813. package/lib/components/stock/components/stock-location/components/stock-location-popup/stock-location-popup.component.d.ts +0 -47
  814. package/lib/components/stock/components/stock-location/stock-location.component.d.ts +0 -72
  815. package/lib/components/stock/components/stock-prognose/stock-prognose.component.d.ts +0 -16
  816. package/lib/components/stock/components/stock-tab/stock-tab.component.d.ts +0 -9
  817. package/lib/components/stock/service/stock-module-screen-config.service.d.ts +0 -9
  818. package/lib/components/stock/stock-history-tabs/stock-history-tabs.component.d.ts +0 -7
  819. package/lib/components/stock/stock-information/stock-information.component.d.ts +0 -16
  820. package/lib/components/stock/stock-information-grid/stock-information-grid.component.d.ts +0 -75
  821. package/lib/components/stock/stock-tabs/stock-tabs.component.d.ts +0 -36
  822. package/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.d.ts +0 -4
  823. package/lib/components/stock/stock-transfer/stock-change-amount.component.d.ts +0 -18
  824. package/lib/components/stock/stock-transfer/stock-transfer.component.d.ts +0 -51
  825. package/lib/components/stock/stock-transfer-allocated/stock-transfer-allocated.component.d.ts +0 -59
  826. package/lib/components/stock/stock.component.d.ts +0 -67
  827. package/lib/components/stock/stock.module.d.ts +0 -2
  828. package/lib/components/stock-statusbar/stock-statusbar.component.d.ts +0 -4
  829. package/lib/components/stock-statusbar/stock-statusbar.module.d.ts +0 -2
  830. package/lib/components/tab-bar/tab-bar.component.d.ts +0 -21
  831. package/lib/components/tab-bar/tab-bar.module.d.ts +0 -2
  832. package/lib/components/tab-bar/tab.interface.d.ts +0 -7
  833. package/lib/components/task-creator/style/_layout.scss +0 -201
  834. package/lib/components/task-creator/task-creator.component.d.ts +0 -91
  835. package/lib/components/task-creator/task-creator.module.d.ts +0 -2
  836. package/lib/components/task-modifyer/task-modifier.component.d.ts +0 -67
  837. package/lib/components/task-modifyer/task-modifyer.module..d.ts +0 -2
  838. package/lib/components/tile-renderer/tile-render.component.d.ts +0 -35
  839. package/lib/components/tile-renderer/tile-render.module.d.ts +0 -2
  840. package/lib/components/workflow-info-tiles/components/workflow-info-tile.component.d.ts +0 -17
  841. package/lib/components/workflow-info-tiles/components/workflow-info-tile.module.d.ts +0 -2
  842. package/lib/components/workflow-info-tiles/workflow-info-tiles.component.d.ts +0 -22
  843. package/lib/components/workflow-info-tiles/workflow-info-tiles.module.d.ts +0 -2
  844. package/lib/components/workflow-notification-toggle/workflow-notification-toggle-popup.d.ts +0 -15
  845. package/lib/components/workflow-notification-toggle/workflow-notification-toggle.component.d.ts +0 -28
  846. package/lib/components/workflow-notification-toggle/workflow-notification-toggle.module.d.ts +0 -2
  847. package/lib/decorator/input-boolean.decorator.d.ts +0 -8
  848. package/lib/directives/absolute-overlay-template.directive.d.ts +0 -9
  849. package/lib/directives/align-with.directive.d.ts +0 -35
  850. package/lib/directives/click-outside.directive.d.ts +0 -7
  851. package/lib/directives/directives.module.d.ts +0 -2
  852. package/lib/enum/activity-cfg-name.enum.d.ts +0 -27
  853. package/lib/enum/app-button-type.enum.d.ts +0 -9
  854. package/lib/enum/calendar-view.enum.d.ts +0 -10
  855. package/lib/enum/document-email-report.enum.d.ts +0 -15
  856. package/lib/enum/domain-multiple-name.enum.d.ts +0 -10
  857. package/lib/enum/file-type.d.ts +0 -7
  858. package/lib/enum/files-upload-config-objects.d.ts +0 -22
  859. package/lib/enum/gauge-color.enum.d.ts +0 -9
  860. package/lib/enum/icon.enum.d.ts +0 -76
  861. package/lib/enum/internal-param.enum.d.ts +0 -34
  862. package/lib/enum/keyboard-code.enum.d.ts +0 -31
  863. package/lib/enum/language-code.enum.d.ts +0 -6
  864. package/lib/enum/month.enum.d.ts +0 -14
  865. package/lib/enum/read-write-access-config-names.enum.d.ts +0 -4
  866. package/lib/enum/shared-cfg-name.enum.d.ts +0 -14
  867. package/lib/enum/table-name.enum.d.ts +0 -84
  868. package/lib/enum/tag-category.enum.d.ts +0 -19
  869. package/lib/enum/tags-component-config-names.d.ts +0 -4
  870. package/lib/enum/thumb-three-way-state.d.ts +0 -6
  871. package/lib/enum/tile-size-type.d.ts +0 -4
  872. package/lib/enum/time-period.enum.d.ts +0 -8
  873. package/lib/enum/user-form-mode.enum.d.ts +0 -4
  874. package/lib/event/co-drag-event.d.ts +0 -5
  875. package/lib/event/co-drop-event.d.ts +0 -8
  876. package/lib/interface/operation-callback-activity.d.ts +0 -5
  877. package/lib/interface/operation-callback-function-with-validation.d.ts +0 -5
  878. package/lib/interface/operation-callback-simple-function.d.ts +0 -4
  879. package/lib/model/agenda-event-per-day.model.d.ts +0 -5
  880. package/lib/model/agenda-event.model.d.ts +0 -17
  881. package/lib/model/agenda-null-objects.d.ts +0 -10
  882. package/lib/model/constant/all-months.d.ts +0 -2
  883. package/lib/model/date-range.d.ts +0 -7
  884. package/lib/model/day.model.d.ts +0 -8
  885. package/lib/model/icon-svg.d.ts +0 -4
  886. package/lib/model/month.model.d.ts +0 -5
  887. package/lib/model/send-method.d.ts +0 -7
  888. package/lib/model/settings.d.ts +0 -3
  889. package/lib/model/tag-tree-item.bo.d.ts +0 -18
  890. package/lib/model/time-window.bo.d.ts +0 -13
  891. package/lib/model/tree-object.d.ts +0 -8
  892. package/lib/model/util/forms-null-object.d.ts +0 -6
  893. package/lib/model/week.model.d.ts +0 -4
  894. package/lib/model/weekday.model.d.ts +0 -16
  895. package/lib/pipe/array-number.pipe.d.ts +0 -4
  896. package/lib/pipe/file-type-image.pipe.d.ts +0 -12
  897. package/lib/pipe/master-pipes.d.ts +0 -1
  898. package/lib/pipe/ucfirst.pipe.d.ts +0 -4
  899. package/lib/res/dictionary/dictionaries.d.ts +0 -31988
  900. package/lib/service/app-absolute-overlay-outlet.service.d.ts +0 -9
  901. package/lib/service/drag-drop.service.d.ts +0 -86
  902. package/lib/service/icon-cache.service.d.ts +0 -18
  903. package/lib/service/options.service.d.ts +0 -13
  904. package/lib/service/shared-connector.service.d.ts +0 -115
  905. package/lib/service/shared-event.service.d.ts +0 -4
  906. package/lib/service/shared.service.d.ts +0 -75
  907. package/lib/service/stock.service.d.ts +0 -39
  908. package/lib/translation/shared-components-dictionary.service.d.ts +0 -19
  909. package/lib/translation/shared-components-translation.module.d.ts +0 -2
  910. package/lib/translation/shared-localize.pipe.d.ts +0 -7
  911. package/lib/utils/array-utils.d.ts +0 -63
  912. package/lib/utils/browser-utils.d.ts +0 -15
  913. package/lib/utils/calendar.utils.d.ts +0 -14
  914. package/lib/utils/check-precision-and-scale-result.d.ts +0 -4
  915. package/lib/utils/co-document-shared-field-logic.d.ts +0 -7
  916. package/lib/utils/date-utils.d.ts +0 -44
  917. package/lib/utils/enum-utils.d.ts +0 -31
  918. package/lib/utils/event-utils.d.ts +0 -12
  919. package/lib/utils/form-utils.d.ts +0 -5
  920. package/lib/utils/function/not-nill.function.d.ts +0 -1
  921. package/lib/utils/is-nill.function.d.ts +0 -1
  922. package/lib/utils/map-utils.d.ts +0 -16
  923. package/lib/utils/number-utils.d.ts +0 -125
  924. package/lib/utils/object-utils.d.ts +0 -40
  925. package/lib/utils/ref-code-utils.d.ts +0 -10
  926. package/lib/utils/string-utils.d.ts +0 -39
  927. package/public-api.d.ts +0 -44
  928. /package/{lib → projects/sharedcomponents/src/lib}/components/access/read-write-access.scss +0 -0
  929. /package/{lib → projects/sharedcomponents/src/lib}/components/access/style/_layout.scss +0 -0
  930. /package/{lib → projects/sharedcomponents/src/lib}/components/access/style/_material-definition.scss +0 -0
  931. /package/{lib → projects/sharedcomponents/src/lib}/components/access/style/_theme.scss +0 -0
  932. /package/{lib → projects/sharedcomponents/src/lib}/components/access/style/material.scss +0 -0
  933. /package/{lib → projects/sharedcomponents/src/lib}/components/activity-list/style/_layout.scss +0 -0
  934. /package/{lib → projects/sharedcomponents/src/lib}/components/activity-list/style/_material-definition.scss +0 -0
  935. /package/{lib → projects/sharedcomponents/src/lib}/components/activity-list/style/_theme.scss +0 -0
  936. /package/{lib → projects/sharedcomponents/src/lib}/components/activity-list/style/material.scss +0 -0
  937. /package/{lib → projects/sharedcomponents/src/lib}/components/activity-list-header/components/period-filter/style/_layout.scss +0 -0
  938. /package/{lib → projects/sharedcomponents/src/lib}/components/activity-list-header/components/period-filter/style/_material-definition.scss +0 -0
  939. /package/{lib → projects/sharedcomponents/src/lib}/components/activity-list-header/components/period-filter/style/_theme.scss +0 -0
  940. /package/{lib → projects/sharedcomponents/src/lib}/components/activity-list-header/components/period-filter/style/material.scss +0 -0
  941. /package/{lib → projects/sharedcomponents/src/lib}/components/activity-list-header/style/_layout.scss +0 -0
  942. /package/{lib → projects/sharedcomponents/src/lib}/components/activity-list-header/style/_material-definition.scss +0 -0
  943. /package/{lib → projects/sharedcomponents/src/lib}/components/activity-list-header/style/_theme.scss +0 -0
  944. /package/{lib → projects/sharedcomponents/src/lib}/components/activity-list-header/style/material.scss +0 -0
  945. /package/{lib → projects/sharedcomponents/src/lib}/components/activity-overview-component/style/_layout.scss +0 -0
  946. /package/{lib → projects/sharedcomponents/src/lib}/components/activity-overview-component/style/_material-definition.scss +0 -0
  947. /package/{lib → projects/sharedcomponents/src/lib}/components/activity-overview-component/style/_theme.scss +0 -0
  948. /package/{lib → projects/sharedcomponents/src/lib}/components/activity-overview-component/style/material.scss +0 -0
  949. /package/{lib → projects/sharedcomponents/src/lib}/components/app-file-dropzone/style/_layout.scss +0 -0
  950. /package/{lib → projects/sharedcomponents/src/lib}/components/app-file-dropzone/style/_material-definition.scss +0 -0
  951. /package/{lib → projects/sharedcomponents/src/lib}/components/app-file-dropzone/style/_theme.scss +0 -0
  952. /package/{lib → projects/sharedcomponents/src/lib}/components/app-file-dropzone/style/material.scss +0 -0
  953. /package/{lib → projects/sharedcomponents/src/lib}/components/custom-pdf/style/_layout.scss +0 -0
  954. /package/{lib → projects/sharedcomponents/src/lib}/components/custom-pdf/style/_material-definition.scss +0 -0
  955. /package/{lib → projects/sharedcomponents/src/lib}/components/custom-pdf/style/_theme.scss +0 -0
  956. /package/{lib → projects/sharedcomponents/src/lib}/components/custom-pdf/style/material.scss +0 -0
  957. /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/component/agenda/style/_layout.scss +0 -0
  958. /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/component/agenda/style/_material-definition.scss +0 -0
  959. /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/component/agenda/style/_theme.scss +0 -0
  960. /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/component/agenda/style/material.scss +0 -0
  961. /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/component/calendar/style/_layout.scss +0 -0
  962. /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/component/calendar/style/_material-definition.scss +0 -0
  963. /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/component/calendar/style/_theme.scss +0 -0
  964. /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/component/calendar/style/material.scss +0 -0
  965. /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/style/_layout.scss +0 -0
  966. /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/style/_material-definition.scss +0 -0
  967. /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/style/_theme.scss +0 -0
  968. /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/style/material.scss +0 -0
  969. /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signature/style/_layout.scss +0 -0
  970. /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signature/style/_material-definition.scss +0 -0
  971. /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signature/style/_theme.scss +0 -0
  972. /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signature/style/material.scss +0 -0
  973. /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signatures/style/_layout.scss +0 -0
  974. /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signatures/style/_material-definition.scss +0 -0
  975. /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signatures/style/_theme.scss +0 -0
  976. /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signatures/style/material.scss +0 -0
  977. /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/style/_layout.scss +0 -0
  978. /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/style/_material-definition.scss +0 -0
  979. /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/style/_theme.scss +0 -0
  980. /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/style/material.scss +0 -0
  981. /package/{lib → projects/sharedcomponents/src/lib}/components/email-selector/style/_layout.scss +0 -0
  982. /package/{lib → projects/sharedcomponents/src/lib}/components/email-selector/style/_material-definition.scss +0 -0
  983. /package/{lib → projects/sharedcomponents/src/lib}/components/email-selector/style/_theme.scss +0 -0
  984. /package/{lib → projects/sharedcomponents/src/lib}/components/email-selector/style/material.scss +0 -0
  985. /package/{lib → projects/sharedcomponents/src/lib}/components/file-upload/style/_layout.scss +0 -0
  986. /package/{lib → projects/sharedcomponents/src/lib}/components/file-upload/style/_material-definition.scss +0 -0
  987. /package/{lib → projects/sharedcomponents/src/lib}/components/file-upload/style/_theme.scss +0 -0
  988. /package/{lib → projects/sharedcomponents/src/lib}/components/file-upload/style/material.scss +0 -0
  989. /package/{lib → projects/sharedcomponents/src/lib}/components/file-upload-popup/style/_layout.scss +0 -0
  990. /package/{lib → projects/sharedcomponents/src/lib}/components/file-upload-popup/style/_material-definition.scss +0 -0
  991. /package/{lib → projects/sharedcomponents/src/lib}/components/file-upload-popup/style/_theme.scss +0 -0
  992. /package/{lib → projects/sharedcomponents/src/lib}/components/file-upload-popup/style/material.scss +0 -0
  993. /package/{lib → projects/sharedcomponents/src/lib}/components/files-upload/style/_layout.scss +0 -0
  994. /package/{lib → projects/sharedcomponents/src/lib}/components/files-upload/style/_material-definition.scss +0 -0
  995. /package/{lib → projects/sharedcomponents/src/lib}/components/files-upload/style/_theme.scss +0 -0
  996. /package/{lib → projects/sharedcomponents/src/lib}/components/files-upload/style/material.scss +0 -0
  997. /package/{lib → projects/sharedcomponents/src/lib}/components/form-builder/form-builder-user-form/components/forms-test-component/style/_layout.component.ts.child.3.scss +0 -0
  998. /package/{lib → projects/sharedcomponents/src/lib}/components/form-builder/form-builder-user-form/components/forms-test-component/style/_material-definition.component.ts.child.0.scss +0 -0
  999. /package/{lib → projects/sharedcomponents/src/lib}/components/form-builder/form-builder-user-form/components/forms-test-component/style/_theme.component.ts.child.2.scss +0 -0
  1000. /package/{lib → projects/sharedcomponents/src/lib}/components/form-builder/form-builder-user-form/components/forms-test-component/style/material.component.ts.child.1.scss +0 -0
  1001. /package/{lib → projects/sharedcomponents/src/lib}/components/form-builder/form-builder-user-form/components/user-form-input-scale/style/_layout.scss +0 -0
  1002. /package/{lib → projects/sharedcomponents/src/lib}/components/form-builder/form-builder-user-form/components/user-form-input-scale/style/_material-definition.scss +0 -0
  1003. /package/{lib → projects/sharedcomponents/src/lib}/components/form-builder/form-builder-user-form/components/user-form-input-scale/style/_theme.scss +0 -0
  1004. /package/{lib → projects/sharedcomponents/src/lib}/components/form-builder/form-builder-user-form/components/user-form-input-scale/style/material.scss +0 -0
  1005. /package/{lib → projects/sharedcomponents/src/lib}/components/form-builder/form-builder-user-form/style/_layout.scss +0 -0
  1006. /package/{lib → projects/sharedcomponents/src/lib}/components/form-builder/form-builder-user-form/style/_material-definition.scss +0 -0
  1007. /package/{lib → projects/sharedcomponents/src/lib}/components/form-builder/form-builder-user-form/style/_theme.scss +0 -0
  1008. /package/{lib → projects/sharedcomponents/src/lib}/components/form-builder/form-builder-user-form/style/material.scss +0 -0
  1009. /package/{lib → projects/sharedcomponents/src/lib}/components/image-display/style/_layout.scss +0 -0
  1010. /package/{lib → projects/sharedcomponents/src/lib}/components/image-display/style/_material-definition.scss +0 -0
  1011. /package/{lib → projects/sharedcomponents/src/lib}/components/image-display/style/_theme.scss +0 -0
  1012. /package/{lib → projects/sharedcomponents/src/lib}/components/image-display/style/material.scss +0 -0
  1013. /package/{lib → projects/sharedcomponents/src/lib}/components/key-pad/style/_layout.scss +0 -0
  1014. /package/{lib → projects/sharedcomponents/src/lib}/components/key-pad/style/_material-definition.scss +0 -0
  1015. /package/{lib → projects/sharedcomponents/src/lib}/components/key-pad/style/_theme.scss +0 -0
  1016. /package/{lib → projects/sharedcomponents/src/lib}/components/key-pad/style/material.scss +0 -0
  1017. /package/{lib → projects/sharedcomponents/src/lib}/components/layout-switcher/style/_layout.scss +0 -0
  1018. /package/{lib → projects/sharedcomponents/src/lib}/components/layout-switcher/style/_material-definition.scss +0 -0
  1019. /package/{lib → projects/sharedcomponents/src/lib}/components/layout-switcher/style/_theme.scss +0 -0
  1020. /package/{lib → projects/sharedcomponents/src/lib}/components/layout-switcher/style/material.scss +0 -0
  1021. /package/{lib → projects/sharedcomponents/src/lib}/components/linear-gauge/style/_layout.scss +0 -0
  1022. /package/{lib → projects/sharedcomponents/src/lib}/components/linear-gauge/style/_material-definition.scss +0 -0
  1023. /package/{lib → projects/sharedcomponents/src/lib}/components/linear-gauge/style/_theme.scss +0 -0
  1024. /package/{lib → projects/sharedcomponents/src/lib}/components/linear-gauge/style/material.scss +0 -0
  1025. /package/{lib → projects/sharedcomponents/src/lib}/components/login/components/input-code/style/_layout.scss +0 -0
  1026. /package/{lib → projects/sharedcomponents/src/lib}/components/login/components/input-code/style/_material-definition.scss +0 -0
  1027. /package/{lib → projects/sharedcomponents/src/lib}/components/login/components/input-code/style/_theme.scss +0 -0
  1028. /package/{lib → projects/sharedcomponents/src/lib}/components/login/components/input-code/style/material.scss +0 -0
  1029. /package/{lib → projects/sharedcomponents/src/lib}/components/login/style/_layout.scss +0 -0
  1030. /package/{lib → projects/sharedcomponents/src/lib}/components/login/style/_material-definition.scss +0 -0
  1031. /package/{lib → projects/sharedcomponents/src/lib}/components/login/style/_theme.scss +0 -0
  1032. /package/{lib → projects/sharedcomponents/src/lib}/components/login/style/material.scss +0 -0
  1033. /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/activity-summary-block/style/_material-definition.scss +0 -0
  1034. /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/activity-summary-block/style/_theme.scss +0 -0
  1035. /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/activity-summary-block/style/material.scss +0 -0
  1036. /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/creation-summary-block/style/_layout.scss +0 -0
  1037. /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/creation-summary-block/style/_material-definition.scss +0 -0
  1038. /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/creation-summary-block/style/_theme.scss +0 -0
  1039. /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/creation-summary-block/style/material.scss +0 -0
  1040. /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/executive-summary-block/style/_layout.scss +0 -0
  1041. /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/executive-summary-block/style/_material-definition.scss +0 -0
  1042. /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/executive-summary-block/style/_theme.scss +0 -0
  1043. /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/executive-summary-block/style/material.scss +0 -0
  1044. /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/notification-summary-block/style/_layout.scss +0 -0
  1045. /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/notification-summary-block/style/_material-definition.scss +0 -0
  1046. /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/notification-summary-block/style/_theme.scss +0 -0
  1047. /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/notification-summary-block/style/material.scss +0 -0
  1048. /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/status-summary-block/style/_layout.scss +0 -0
  1049. /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/status-summary-block/style/_material-definition.scss +0 -0
  1050. /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/status-summary-block/style/_theme.scss +0 -0
  1051. /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/status-summary-block/style/material.scss +0 -0
  1052. /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/task-details/style/_layout.scss +0 -0
  1053. /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/task-details/style/_material-definition.scss +0 -0
  1054. /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/task-details/style/_theme.scss +0 -0
  1055. /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/task-details/style/material.scss +0 -0
  1056. /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/style/_layout.scss +0 -0
  1057. /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/style/_material-definition.scss +0 -0
  1058. /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/style/_theme.scss +0 -0
  1059. /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/style/material.scss +0 -0
  1060. /package/{lib → projects/sharedcomponents/src/lib}/components/multi-property-toggler/style/_layout.scss +0 -0
  1061. /package/{lib → projects/sharedcomponents/src/lib}/components/multi-property-toggler/style/_material-definition.scss +0 -0
  1062. /package/{lib → projects/sharedcomponents/src/lib}/components/multi-property-toggler/style/_theme.scss +0 -0
  1063. /package/{lib → projects/sharedcomponents/src/lib}/components/multi-property-toggler/style/material.scss +0 -0
  1064. /package/{lib → projects/sharedcomponents/src/lib}/components/open-activity-list/components/personal-activity-overview/style/_layout.scss +0 -0
  1065. /package/{lib → projects/sharedcomponents/src/lib}/components/open-activity-list/components/personal-activity-overview/style/_material-definition.scss +0 -0
  1066. /package/{lib → projects/sharedcomponents/src/lib}/components/open-activity-list/components/personal-activity-overview/style/_theme.scss +0 -0
  1067. /package/{lib → projects/sharedcomponents/src/lib}/components/open-activity-list/components/personal-activity-overview/style/material.scss +0 -0
  1068. /package/{lib → projects/sharedcomponents/src/lib}/components/open-activity-list/style/_layout.scss +0 -0
  1069. /package/{lib → projects/sharedcomponents/src/lib}/components/open-activity-list/style/_material-definition.scss +0 -0
  1070. /package/{lib → projects/sharedcomponents/src/lib}/components/open-activity-list/style/_theme.scss +0 -0
  1071. /package/{lib → projects/sharedcomponents/src/lib}/components/open-activity-list/style/material.scss +0 -0
  1072. /package/{lib → projects/sharedcomponents/src/lib}/components/preferred-planning/style/_layout.scss +0 -0
  1073. /package/{lib → projects/sharedcomponents/src/lib}/components/preferred-planning/style/_material-definition.scss +0 -0
  1074. /package/{lib → projects/sharedcomponents/src/lib}/components/preferred-planning/style/_theme.scss +0 -0
  1075. /package/{lib → projects/sharedcomponents/src/lib}/components/preferred-planning/style/material.scss +0 -0
  1076. /package/{lib → projects/sharedcomponents/src/lib}/components/preview-pdf-dialog/style/_layout.scss +0 -0
  1077. /package/{lib → projects/sharedcomponents/src/lib}/components/preview-pdf-dialog/style/_material-definition.scss +0 -0
  1078. /package/{lib → projects/sharedcomponents/src/lib}/components/preview-pdf-dialog/style/_theme.scss +0 -0
  1079. /package/{lib → projects/sharedcomponents/src/lib}/components/preview-pdf-dialog/style/material.scss +0 -0
  1080. /package/{lib → projects/sharedcomponents/src/lib}/components/role-email-selector/style/_layout.scss +0 -0
  1081. /package/{lib → projects/sharedcomponents/src/lib}/components/role-email-selector/style/_material-definition.scss +0 -0
  1082. /package/{lib → projects/sharedcomponents/src/lib}/components/role-email-selector/style/_theme.scss +0 -0
  1083. /package/{lib → projects/sharedcomponents/src/lib}/components/role-email-selector/style/material.scss +0 -0
  1084. /package/{lib → projects/sharedcomponents/src/lib}/components/screen-config-generator/style/_layout.scss +0 -0
  1085. /package/{lib → projects/sharedcomponents/src/lib}/components/screen-config-generator/style/_material-definition.scss +0 -0
  1086. /package/{lib → projects/sharedcomponents/src/lib}/components/screen-config-generator/style/_theme.scss +0 -0
  1087. /package/{lib → projects/sharedcomponents/src/lib}/components/screen-config-generator/style/material.scss +0 -0
  1088. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/additional-file-button/style/_layout.scss +0 -0
  1089. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/additional-file-button/style/_material-definition.scss +0 -0
  1090. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/additional-file-button/style/_theme.scss +0 -0
  1091. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/additional-file-button/style/material.scss +0 -0
  1092. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/layout-selection/style/_layout.scss +0 -0
  1093. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/layout-selection/style/_material-definition.scss +0 -0
  1094. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/layout-selection/style/_theme.scss +0 -0
  1095. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/layout-selection/style/material.scss +0 -0
  1096. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/printer-selection/style/_layout.scss +0 -0
  1097. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/printer-selection/style/_material-definition.scss +0 -0
  1098. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/printer-selection/style/_theme.scss +0 -0
  1099. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/printer-selection/style/material.scss +0 -0
  1100. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-combine-print-email/style/_layout.scss +0 -0
  1101. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-combine-print-email/style/_material-definition.scss +0 -0
  1102. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-combine-print-email/style/_theme.scss +0 -0
  1103. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-combine-print-email/style/material.scss +0 -0
  1104. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-email/style/_layout.scss +0 -0
  1105. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-email/style/_material-definition.scss +0 -0
  1106. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-email/style/_theme.scss +0 -0
  1107. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-email/style/material.scss +0 -0
  1108. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-pdf/style/_layout.scss +0 -0
  1109. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-pdf/style/_material-definition.scss +0 -0
  1110. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-pdf/style/_theme.scss +0 -0
  1111. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-pdf/style/material.scss +0 -0
  1112. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-printer/style/_layout.scss +0 -0
  1113. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-printer/style/_material-definition.scss +0 -0
  1114. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-printer/style/_theme.scss +0 -0
  1115. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-printer/style/material.scss +0 -0
  1116. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/signature-button/style/_layout.scss +0 -0
  1117. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/signature-button/style/_material-definition.scss +0 -0
  1118. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/signature-button/style/_theme.scss +0 -0
  1119. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/signature-button/style/material.scss +0 -0
  1120. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/style/_layout.scss +0 -0
  1121. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/style/_material-definition.scss +0 -0
  1122. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/style/_theme.scss +0 -0
  1123. /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/style/material.scss +0 -0
  1124. /package/{lib → projects/sharedcomponents/src/lib}/components/simple-tags/style/_layout.scss +0 -0
  1125. /package/{lib → projects/sharedcomponents/src/lib}/components/simple-tags/style/_material-definition.scss +0 -0
  1126. /package/{lib → projects/sharedcomponents/src/lib}/components/simple-tags/style/_theme.scss +0 -0
  1127. /package/{lib → projects/sharedcomponents/src/lib}/components/simple-tags/style/material.scss +0 -0
  1128. /package/{lib → projects/sharedcomponents/src/lib}/components/simple-tags-form/style/_layout.scss +0 -0
  1129. /package/{lib → projects/sharedcomponents/src/lib}/components/simple-tags-form/style/_material-definition.scss +0 -0
  1130. /package/{lib → projects/sharedcomponents/src/lib}/components/simple-tags-form/style/_theme.scss +0 -0
  1131. /package/{lib → projects/sharedcomponents/src/lib}/components/simple-tags-form/style/material.scss +0 -0
  1132. /package/{lib → projects/sharedcomponents/src/lib}/components/statusbar/style/_layout.scss +0 -0
  1133. /package/{lib → projects/sharedcomponents/src/lib}/components/statusbar/style/_material-definition.scss +0 -0
  1134. /package/{lib → projects/sharedcomponents/src/lib}/components/statusbar/style/_theme.scss +0 -0
  1135. /package/{lib → projects/sharedcomponents/src/lib}/components/statusbar/style/material.scss +0 -0
  1136. /package/{lib → projects/sharedcomponents/src/lib}/components/stock/style/_layout.scss +0 -0
  1137. /package/{lib → projects/sharedcomponents/src/lib}/components/stock/style/_material-definition.scss +0 -0
  1138. /package/{lib → projects/sharedcomponents/src/lib}/components/stock/style/_theme.scss +0 -0
  1139. /package/{lib → projects/sharedcomponents/src/lib}/components/stock/style/material.scss +0 -0
  1140. /package/{lib → projects/sharedcomponents/src/lib}/components/stock-statusbar/style/_layout.scss +0 -0
  1141. /package/{lib → projects/sharedcomponents/src/lib}/components/stock-statusbar/style/_material-definition.scss +0 -0
  1142. /package/{lib → projects/sharedcomponents/src/lib}/components/stock-statusbar/style/_theme.scss +0 -0
  1143. /package/{lib → projects/sharedcomponents/src/lib}/components/stock-statusbar/style/material.scss +0 -0
  1144. /package/{lib → projects/sharedcomponents/src/lib}/components/tab-bar/style/_layout.scss +0 -0
  1145. /package/{lib → projects/sharedcomponents/src/lib}/components/tab-bar/style/_material-definition.scss +0 -0
  1146. /package/{lib → projects/sharedcomponents/src/lib}/components/tab-bar/style/_theme.scss +0 -0
  1147. /package/{lib → projects/sharedcomponents/src/lib}/components/tab-bar/style/material.scss +0 -0
  1148. /package/{lib → projects/sharedcomponents/src/lib}/components/tags/component/style/_layout.scss +0 -0
  1149. /package/{lib → projects/sharedcomponents/src/lib}/components/tags/component/style/_material-definition.scss +0 -0
  1150. /package/{lib → projects/sharedcomponents/src/lib}/components/tags/component/style/_theme.scss +0 -0
  1151. /package/{lib → projects/sharedcomponents/src/lib}/components/tags/component/style/material.scss +0 -0
  1152. /package/{lib → projects/sharedcomponents/src/lib}/components/tags/component/tag-join-label/style/_layout.scss +0 -0
  1153. /package/{lib → projects/sharedcomponents/src/lib}/components/tags/component/tag-join-label/style/_material-definition.scss +0 -0
  1154. /package/{lib → projects/sharedcomponents/src/lib}/components/tags/component/tag-join-label/style/_theme.scss +0 -0
  1155. /package/{lib → projects/sharedcomponents/src/lib}/components/tags/component/tag-join-label/style/material.scss +0 -0
  1156. /package/{lib → projects/sharedcomponents/src/lib}/components/task-creator/style/_material-definition.scss +0 -0
  1157. /package/{lib → projects/sharedcomponents/src/lib}/components/task-creator/style/_theme.scss +0 -0
  1158. /package/{lib → projects/sharedcomponents/src/lib}/components/task-creator/style/material.scss +0 -0
  1159. /package/{lib → projects/sharedcomponents/src/lib}/components/task-modifyer/style/_layout.scss +0 -0
  1160. /package/{lib → projects/sharedcomponents/src/lib}/components/task-modifyer/style/_material-definition.scss +0 -0
  1161. /package/{lib → projects/sharedcomponents/src/lib}/components/task-modifyer/style/_theme.scss +0 -0
  1162. /package/{lib → projects/sharedcomponents/src/lib}/components/task-modifyer/style/material.scss +0 -0
  1163. /package/{lib → projects/sharedcomponents/src/lib}/components/tile-renderer/style/_layout.scss +0 -0
  1164. /package/{lib → projects/sharedcomponents/src/lib}/components/tile-renderer/style/_material-definition.scss +0 -0
  1165. /package/{lib → projects/sharedcomponents/src/lib}/components/tile-renderer/style/_theme.scss +0 -0
  1166. /package/{lib → projects/sharedcomponents/src/lib}/components/tile-renderer/style/material.scss +0 -0
  1167. /package/{lib → projects/sharedcomponents/src/lib}/components/workflow-info-tiles/components/style/_layout.scss +0 -0
  1168. /package/{lib → projects/sharedcomponents/src/lib}/components/workflow-info-tiles/components/style/_material-definition.scss +0 -0
  1169. /package/{lib → projects/sharedcomponents/src/lib}/components/workflow-info-tiles/components/style/_theme.scss +0 -0
  1170. /package/{lib → projects/sharedcomponents/src/lib}/components/workflow-info-tiles/components/style/material.scss +0 -0
  1171. /package/{lib → projects/sharedcomponents/src/lib}/components/workflow-info-tiles/style/_layout.scss +0 -0
  1172. /package/{lib → projects/sharedcomponents/src/lib}/components/workflow-info-tiles/style/_material-definition.scss +0 -0
  1173. /package/{lib → projects/sharedcomponents/src/lib}/components/workflow-info-tiles/style/_theme.scss +0 -0
  1174. /package/{lib → projects/sharedcomponents/src/lib}/components/workflow-info-tiles/style/material.scss +0 -0
  1175. /package/{lib → projects/sharedcomponents/src/lib}/components/workflow-notification-toggle/style/_layout.scss +0 -0
  1176. /package/{lib → projects/sharedcomponents/src/lib}/components/workflow-notification-toggle/style/_material-definition.scss +0 -0
  1177. /package/{lib → projects/sharedcomponents/src/lib}/components/workflow-notification-toggle/style/_theme.scss +0 -0
  1178. /package/{lib → projects/sharedcomponents/src/lib}/components/workflow-notification-toggle/style/material.scss +0 -0
  1179. /package/{lib/interface/activities-task-config-names.d.ts → projects/sharedcomponents/src/lib/interface/activities-task-config-names.ts} +0 -0
  1180. /package/{lib/interface/key-value-pair.d.ts → projects/sharedcomponents/src/lib/interface/key-value-pair.ts} +0 -0
  1181. /package/{lib → projects/sharedcomponents/src/lib}/style/_mixin.scss +0 -0
  1182. /package/{lib → projects/sharedcomponents/src/lib}/style/_variables.scss +0 -0
  1183. /package/{lib → projects/sharedcomponents/src/lib}/style/sharedcomponents-globals.scss +0 -0
  1184. /package/{lib/utils/check-within-stepped-bounds-result.d.ts → projects/sharedcomponents/src/lib/utils/check-within-stepped-bounds-result.ts} +0 -0
@@ -1,202 +0,0 @@
1
- import { ObjectUtils } from "./object-utils";
2
- import { NumberUtils } from "./number-utils";
3
- import { isNill } from "./is-nill.function";
4
- import { notNill } from "./function/not-nill.function";
5
- export class ArrayUtils {
6
- /**
7
- * Returns whether at least one element in given array could be found by given finder function.
8
- *
9
- * @param {T[]} array
10
- * @param {(element: T) => boolean} finder A finder function that takes an element of the array and returns a boolean that represents
11
- * the 'found status' for that element; whether it should have been found or not.
12
- */
13
- static ContainsAnElementFoundBy(array, finder) {
14
- if (!array || !finder) {
15
- return false;
16
- }
17
- return notNill(this.Find(array, finder));
18
- }
19
- /**
20
- * Cross-browser Array.find() function. Returns the first item in given array for which the foundBy function returns true. Returns
21
- * undefined when none was found.
22
- *
23
- * Example usage:
24
- * const foundItem: BusinessObject = ArrayUtils.Find<BusinessObject>(modelArray, (modelItem: BusinessObject) => <br>
25
- * (return modelItem.getId() === '1')
26
- * * });
27
- *
28
- * @param array The array with items to search in.
29
- * @param foundBy The finder function applied on each items of the array, when that returns true, the item is considered found.
30
- */
31
- static Find(array, foundBy) {
32
- if (!array || !foundBy) {
33
- return undefined;
34
- }
35
- for (let i = 0, len = array.length; i < len; i++) {
36
- const itemCur = array[i];
37
- if (foundBy(itemCur)) {
38
- return itemCur;
39
- }
40
- }
41
- return undefined;
42
- }
43
- // @returns empty array when nothing found, otherwise array with found items
44
- static FindAll(array, foundBy) {
45
- const answer = [];
46
- if (!array || !foundBy) {
47
- return answer;
48
- }
49
- for (let i = 0, len = array.length; i < len; i++) {
50
- const itemCur = array[i];
51
- if (foundBy(itemCur)) {
52
- answer.push(itemCur);
53
- }
54
- }
55
- return answer;
56
- }
57
- // returns a simple clone of given array, using array.slice(0)
58
- static CloneArray(array) {
59
- let answer = [];
60
- if (array) {
61
- answer = array.slice(0);
62
- }
63
- return answer;
64
- }
65
- /**
66
- * Returns a 'semi deep clone' of given array. Its first-level members are object-shallow-cloned (optionally with a strongly typed constructor),
67
- * or just as plain object (see param arrayItemsClass).
68
- * @param array
69
- * @param arrayItemsClass If provided, the cloned array's first-level items will be strongly typed to / constructed as this class. Otherwise
70
- * it'll be a plain object.
71
- * @param deepClone Set to true if array items contain FUNCTIONS that need to be cloned..
72
- * @returns {Array} semi-deep clone of given array
73
- */
74
- static CloneArrayAndItsItems(array, arrayItemsClass, deepClone = false) {
75
- const cloneArray = [];
76
- if (array) {
77
- for (let i = 0, len = array.length; i < len; i++) {
78
- if (deepClone) {
79
- cloneArray.push(ObjectUtils.GetDeepClone(array[i]));
80
- }
81
- else {
82
- cloneArray.push(ObjectUtils.GetShallowClone(array[i], arrayItemsClass));
83
- }
84
- }
85
- }
86
- else {
87
- return [];
88
- }
89
- return cloneArray;
90
- }
91
- /**
92
- * Removes element at given index from given array. Doesn't just set it to null like JavaScripts standard 'delete' does, but really
93
- * removes the element using splice().
94
- *
95
- * @param {number} index
96
- * @param {any[]} array in-out
97
- * @returns {boolean} True if and only if the element on given index is succesfully removed from given array.
98
- */
99
- static RemoveElementAtIndex(index, array) {
100
- if (NumberUtils.IsNaN(index) || index < 0 || !Array.isArray(array) || array.length === 0) {
101
- return false;
102
- }
103
- if (index in array) {
104
- array.splice(index, 1);
105
- return true;
106
- }
107
- else {
108
- return false;
109
- }
110
- }
111
- /**
112
- * Removes given element from given array. Doesn't just set it to null like JavaScripts standard 'delete' does, but really removes the
113
- * element using splice(). Also works on associative arrays.
114
- *
115
- * @param {T} element The element to remove.
116
- * @param {T[]} array The array to remove the element from.
117
- * @returns {boolean} True iff given element was truly successfully removed from given array.
118
- */
119
- static RemoveElement(element, array) {
120
- if (!Array.isArray(array)) {
121
- return false;
122
- }
123
- const index = array.indexOf(element);
124
- return ArrayUtils.RemoveElementAtIndex(index, array);
125
- }
126
- // Checks if given array is defined, and is an array, and has length > 0, and, optionally checks that the first element is of type given clazz.
127
- static IsArrayWithElements(arrayToCheck, classItemsMustBeInstanceOf) {
128
- if (isNill(arrayToCheck)) {
129
- return false;
130
- }
131
- if (Array.isArray(arrayToCheck) && arrayToCheck.length > 0) {
132
- if (classItemsMustBeInstanceOf) {
133
- return arrayToCheck[0] instanceof classItemsMustBeInstanceOf;
134
- }
135
- else {
136
- return true;
137
- }
138
- }
139
- else {
140
- return false;
141
- }
142
- }
143
- // Removes all elements from given array for which given filter function holds true. Returns true if at least one removed, else false.
144
- static RemoveElementsByFilter(array, filterFunction) {
145
- if (!ArrayUtils.IsArrayWithElements(array) || !filterFunction) {
146
- return false;
147
- }
148
- let atLeastOneRemoved = false;
149
- const len = array.length;
150
- for (let i = len - 1; i >= 0; i--) {
151
- const item = array[i];
152
- if (filterFunction.call(this, item) === true) {
153
- array.splice(i, 1);
154
- atLeastOneRemoved = true;
155
- }
156
- }
157
- return atLeastOneRemoved;
158
- }
159
- static MoveElement(element, toIndex, array) {
160
- if (!Array.isArray(array) || isNill(toIndex)) {
161
- return false;
162
- }
163
- const fromIndex = array.indexOf(element);
164
- const toIndexCorrected = NumberUtils.GetNearestNumberWithinBounds(toIndex, 0, array.length - 1);
165
- if (fromIndex === -1 || array[toIndexCorrected] === element) {
166
- // element did not exist in given array, or already existed on given toIndex
167
- return false;
168
- }
169
- array.splice(toIndexCorrected, 0, array.splice(fromIndex, 1)[0]);
170
- return true;
171
- }
172
- // PRE: elements exists in given array. POST: given elementToPlace has a lower index than given afterThisElement. Array is in-out manipulated.
173
- static PlaceElementAfterOther(array, elementToPlace, afterThisElement) {
174
- if (array) {
175
- const afterThisElIdx = array.indexOf(afterThisElement);
176
- const elToPlaceIdx = array.indexOf(elementToPlace);
177
- if (afterThisElIdx >= elToPlaceIdx) {
178
- ArrayUtils.MoveElement(elementToPlace, afterThisElIdx + 1, array);
179
- }
180
- }
181
- }
182
- /**
183
- * Returns max value from all resulting values from applying given itemValueFunction to all items of given array.
184
- * @param array
185
- * @param itemValueFunction The function applied to each array item that gives it a numerical value. The max num val found is returned.
186
- */
187
- static GetMaxCalculatedValue(array, itemValueFunction) {
188
- if (!array || !itemValueFunction) {
189
- return NaN;
190
- }
191
- let max = undefined;
192
- const len = array.length;
193
- for (let i = 0; i < len; i++) {
194
- const valueCur = itemValueFunction.call(this);
195
- if (valueCur > max) {
196
- max = valueCur;
197
- }
198
- }
199
- return max;
200
- }
201
- }
202
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJyYXktdXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaGFyZWRjb21wb25lbnRzL3NyYy9saWIvdXRpbHMvYXJyYXktdXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFdBQVcsRUFBQyxNQUFNLGdCQUFnQixDQUFDO0FBQzNDLE9BQU8sRUFBQyxXQUFXLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUMzQyxPQUFPLEVBQUMsTUFBTSxFQUFDLE1BQU0sb0JBQW9CLENBQUM7QUFDMUMsT0FBTyxFQUFDLE9BQU8sRUFBQyxNQUFNLDhCQ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yBpIDwgbGVuOyBpKyspIHtcclxuICAgICAgICAgICAgY29uc3QgaXRlbUN1cjogVCA9IGFycmF5W2ldO1xyXG4gICAgICAgICAgICBpZiAoZm91bmRCeShpdGVtQ3VyKSApIHtcclxuICAgICAgICAgICAgICAgIHJldHVybiBpdGVtQ3VyO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgICAgIHJldHVybiB1bmRlZmluZWQ7XHJcbiAgICB9XHJcblxyXG4gICAgLy8gQHJldHVybnMgZW1wdHkgYXJyYXkgd2hlbiBub3RoaW5nIGZvdW5kLCBvdGhlcndpc2UgYXJyYXkgd2l0aCBmb3VuZCBpdGVtc1xyXG4gICAgcHVibGljIHN0YXRpYyBGaW5kQWxsPFQ+KGFycmF5OiBUW10sIGZvdW5kQnk6IChpdGVtOiBUKSA9PiBib29sZWFuKTogVFtdIHtcclxuICAgICAgICBjb25zdCBhbnN3ZXI6IFRbXSA9IFtdO1xyXG4gICAgICAgIGlmICghYXJyYXkgfHwgIWZvdW5kQnkpIHtcclxuICAgICAgICAgICAgcmV0dXJuIGFuc3dlcjtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIGZvciAobGV0IGk6IG51bWJlciA9IDAsIGxlbjogbnVtYmVyID0gYXJyYXkubGVuZ3RoOyBpIDwgbGVuOyBpKyspIHtcclxuICAgICAgICAgICAgY29uc3QgaXRlbUN1cjogVCA9IGFycmF5W2ldO1xyXG4gICAgICAgICAgICBpZiAoZm91bmRCeShpdGVtQ3VyKSkge1xyXG4gICAgICAgICAgICAgICAgYW5zd2VyLnB1c2goaXRlbUN1cik7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICAgICAgcmV0dXJuIGFuc3dlcjtcclxuICAgIH1cclxuXHJcbiAgICAvLyByZXR1cm5zIGEgc2ltcGxlIGNsb25lIG9mIGdpdmVuIGFycmF5LCB1c2luZyBhcnJheS5zbGljZSgwKVxyXG4gICAgcHVibGljIHN0YXRpYy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YXlBbmRJdHNJdGVtczxUPihhcnJheTogVFtdLCBhcnJheUl0ZW1zQ2xhc3M/OiBhbnksIGRlZXBDbG9uZTogYm9vbGVhbiA9IGZhbHNlKTogVFtdIHtcclxuICAgICAgICBjb25zdCBjbG9uZUFycmF5OiBUW10gPSBbXTtcclxuXHJcbiAgICAgICAgaWYgKGFycmF5KSB7XHJcbiAgICAgICAgICAgIGZvciAobGV0IGk6IG51bWJlciA9IDAsIGxlbjogbnVtYmVyID0gYXJyYXkubGVuZ3RoOyBpIDwgbGVuOyBpKyspIHtcclxuICAgICAgICAgICAgICAgIGlmIChkZWVwQ2xvbmUpIHtcclxuICAgICAgICAgICAgICAgICAgICBjbG9uZUFycmF5LnB1c2goT2JqZWN0VXRpbHMuR2V0RGVlcENsb25lKGFycmF5W2ldKSk7XHJcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xyXG4gICAgICAgICAgICAgICAgICAgIGNsb25lQXJyYXkucHVzaChPYmplY3RVdGlscy5HZXRTaGFsbG93Q2xvbmUoYXJyYXlbaV0sIGFycmF5SXRlbXNDbGFzcykpO1xyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgcmV0dXJuIFtdO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgcmV0dXJuIGNsb25lQXJyYXk7XHJcbiAgICB9XHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiBSZW1vdmVzIGVsZW1lbnQgYXQgZ2l2ZW4gaW5kZXggZnJvbSBnaXZlbiBhcnJheS4gRG9lc24ndCBqdXN0IHNldCBpdCB0byBudWxsIGxpa2UgSmF2YVNjcmlwdHMgc3RhbmRhcmQgJ2RlbGV0ZScgZG9lcywgYnV0IHJlYWxseVxyXG4gICAgICogcmVtb3ZlcyB0aGUgZWxlbWVudCB1c2luZyBzcGxpY2UoKS5cclxuICAgICAqXHJcbiAgICAgKiBAcGFyYW0ge251bWJlc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md0aDtcclxuICAgICAgICBmb3IgKGxldCBpOiBudW1iZXIgPSBsZW4gLSAxOyBpID49IDA7IGktLSkge1xyXG4gICAgICAgICAgICBjb25zdCBpdGVtOiBhbnkgPSBhcnJheVtpXTtcclxuICAgICAgICAgICAgaWYgKGZpbHRlckZ1bmN0aW9uLmNhbGwodGhpcywgaXRlbSkgPT09IHRydWUpIHtcclxuICAgICAgICAgICAgICAgIGFycmF5LnNwbGljZShpLCAxKTtcclxuICAgICAgICAgICAgICAgIGF0TGVhc3RPbmVSZW1vdmVkID0gdHJ1ZTtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgcmV0dXJuIGF0TGVhc3RPbmVSZW1vdmVkO1xyXG4gICAgfVxyXG5cclxuICAgIHB1YmxpYyBzdGF0aWMgTW92ZUVsZW1lbnQ8VD4oZWxlbWVudDogVCwgdG9JbmRleDogbnVtYmVyLCBhcnJheTogVFtdKTogYm9vbGVhbiB7XHJcbiAgICAgICAgaWYgKCFBcnJheS5pc0FycmF5KGFycmF5KSB8fCBpc05pbGwodG9JbmRleCkpIHtcclxuICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgY29uc3QgZnJvbUluZGV4OiBudW1iZXIgPSBhcnJheS5pbmRleE9mKGVsZW1lbnQpO1xyXG4gICAgICAgIGNvbnN0IHRvSW5kZXhDb3JyZWN0ZWQ6IG51bWJlciA9IE51bWJlclV0aWxzLkdldE5lYXJlc3ROdW1iZXJXaXRoaW5Cb3VuZHModG9JbmRleCwgMCwgYXJyYXkubGVuZ3RoIC0gMSk7XHJcbiAgICAgICAgaWYgKGZyb21JbmRleCA9PT0gLTEgfHwgYXJyYXlbdG9JbmRleENvcnJlY3RlZF0gPT09IGVsZW1lbnQpIHtcclxuICAgICAgICAgICAgLy8gZWxlbWVudCBkaWQgbm90IGV4aXN0IGluIGdpdmVuIGFycmF5LCBvciBhbHJlYWR5IG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JucyBtYXggdmFsdWUgZnJvbSBhbGwgcmVzdWx0aW5nIHZhbHVlcyBmcm9tIGFwcGx5aW5nIGdpdmVuIGl0ZW1WYWx1ZUZ1bmN0aW9uIHRvIGFsbCBpdGVtcyBvZiBnaXZlbiBhcnJheS5cclxuICAgKiBAcGFyYW0gYXJyYXlcclxuICAgKiBAcGFyYW0gaXRlbVZhbHVlRnVuY3Rpb24gVGhlIGZ1bmN0aW9uIGFwcGxpZWQgdG8gZWFjaCBhcnJheSBpdGVtIHRoYXQgZ2l2ZXMgaXQgYSBudW1lcmljYWwgdmFsdWUuIFRoZSBtYXggbnVtIHZhbCBmb3VuZCBpcyByZXR1cm5lZC5cclxuICAgKi9cclxuICBwdWJsaWMgc3RhdGljIEdldE1heENhbGN1bGF0ZWRWYWx1ZTxUPihhcnJheTogVFtdLCBpdGVtVmFsdWVGdW5jdGlvbjogKGl0ZW06IFQpID0+IG51bWJlcik6IG51bWJlciB7XHJcbiAgICBpZiAoIWFycmF5IHx8ICFpdGVtVmFsdWVGdW5jdGlvbikge1xyXG4gICAgICByZXR1cm4gTmFOO1xyXG4gICAgfVxyXG5cclxuICAgIGxldCBtYXg6IG51bWJlciA9IHVuZGVmaW5lZDtcclxuXHJcbiAgICBjb25zdCBsZW46IG51bWJlciA9IGFycmF5Lmxlbmd0aDtcclxuICAgIGZvciAobGV0IGk6IG51bWJlciA9IDA7IGkgPCBsZW47IGkrKykge1xyXG4gICAgICBjb25zdCB2YWx1ZUN1cjogbnVtYmVyID0gaXRlbVZhbHVlRnVuY3Rpb24uY2FsbCh0aGlzKTtcclxuICAgICAgaWYgKHZhbHVlQ3VyID4gbWF4KSB7XHJcbiAgICAgICAgbWF4ID0gdmFsdWVDdXI7XHJcbiAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICByZXR1cm4gbWF4O1xyXG4gIH1cclxufVxyXG4iXX0=
@@ -1,100 +0,0 @@
1
- export class BrowserUtils {
2
- static ScrollToTop(nativeElement, milliSeconds = 200) {
3
- return BrowserUtils._ScrollTo("scrollTop", nativeElement, milliSeconds, 0);
4
- }
5
- static DownloadFile(encodedUri, fileType) {
6
- const link = document.createElement("a");
7
- const date = new Date().toDateString();
8
- link.href = encodedUri;
9
- link.target = "_blank";
10
- link.download = "export_" + date + fileType;
11
- document.body.appendChild(link);
12
- link.click();
13
- document.body.removeChild(link);
14
- }
15
- static CopyToClipboard(data) {
16
- const textArea = document.createElement("TEXTAREA");
17
- const textNode = document.createTextNode(data);
18
- textArea.appendChild(textNode);
19
- document.body.appendChild(textArea); // Required for FF
20
- textArea.select();
21
- document.execCommand("copy");
22
- document.body.removeChild(textArea);
23
- }
24
- static TabFocusNextElement() {
25
- const nextTabStop = BrowserUtils._FindNextTabStop(document.activeElement);
26
- if (nextTabStop) {
27
- nextTabStop.focus();
28
- }
29
- }
30
- static AreDimensionsInView(dimensions, view) {
31
- const vp = BrowserUtils.GetDimensions(view);
32
- return dimensions.top >= vp.top && dimensions.left >= vp.left && dimensions.bottom <= vp.bottom && dimensions.right <= vp.right;
33
- }
34
- static HorizontalFitInView(dimensions, view) {
35
- const vp = BrowserUtils.GetDimensions(view);
36
- return dimensions.left >= vp.left && dimensions.right <= vp.right;
37
- }
38
- static VerticalFitInView(dimensions, view) {
39
- const vp = BrowserUtils.GetDimensions(view);
40
- return dimensions.top >= vp.top && dimensions.bottom <= vp.bottom;
41
- }
42
- static GetViewport() {
43
- let viewPortWidth;
44
- let viewPortHeight;
45
- // the more standards compliant browsers (mozilla/netscape/opera/IE7) use window.innerWidth and window.innerHeight
46
- if (typeof window.innerWidth !== "undefined") {
47
- viewPortWidth = window.innerWidth;
48
- viewPortHeight = window.innerHeight;
49
- }
50
- else if (typeof document.documentElement !== "undefined" &&
51
- typeof document.documentElement.clientWidth !== "undefined" &&
52
- document.documentElement.clientWidth !== 0) {
53
- viewPortWidth = document.documentElement.clientWidth;
54
- viewPortHeight = document.documentElement.clientHeight;
55
- }
56
- else {
57
- viewPortWidth = document.getElementsByTagName("body")[0].clientWidth;
58
- viewPortHeight = document.getElementsByTagName("body")[0].clientHeight;
59
- }
60
- return { left: 0, top: 0, right: viewPortWidth, bottom: viewPortHeight };
61
- }
62
- static GetDimensions(view) {
63
- if (!view) {
64
- return this.GetViewport();
65
- }
66
- else {
67
- const elem = view instanceof HTMLElement ? view : view.nativeElement;
68
- const cr = elem.getBoundingClientRect();
69
- return { left: cr.left, top: cr.top, right: cr.right, bottom: cr.bottom };
70
- }
71
- }
72
- // Recursive.
73
- static _ScrollTo(elementScrollProp, element, milliSeconds, toScrollEnd) {
74
- if (!element || milliSeconds <= 0) {
75
- return;
76
- }
77
- const difference = toScrollEnd - element[elementScrollProp];
78
- const scrollPerTick = difference / milliSeconds * 10;
79
- setTimeout(() => {
80
- element[elementScrollProp] = element[elementScrollProp] + scrollPerTick;
81
- if (element[elementScrollProp] === toScrollEnd) {
82
- return;
83
- }
84
- BrowserUtils._ScrollTo(elementScrollProp, element, milliSeconds - 10, toScrollEnd);
85
- }, 10);
86
- }
87
- static _FindNextTabStop(element) {
88
- const tabStopElements = document.querySelectorAll("a[href], area[href], input:not(.hidden):not(.disabled):not(.readonly):not(.read-only), select:not(.hidden):not(.disabled):not(.readonly):not(.read-only), textarea:not(.hidden):not(.disabled):not(.readonly):not(.read-only), button:not(.hidden):not(.disabled):not(.readonly):not(.read-only), iframe, object, embed, *[tabindex]:not(.hidden):not(.disabled):not(.readonly):not(.read-only), *[contenteditable]:not(.hidden):not(.disabled):not(.readonly):not(.read-only)");
89
- const actualStopEls = [];
90
- for (let i = 0, len = tabStopElements.length; i < len; i++) {
91
- const tabEl = tabStopElements[i];
92
- if (tabEl.tabIndex >= 0) {
93
- actualStopEls.push(tabEl);
94
- }
95
- }
96
- const elIdx = actualStopEls.indexOf(element);
97
- return actualStopEls[elIdx + 1] || undefined;
98
- }
99
- }
100
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJvd3Nlci11dGlscy5qcyIsInNv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JZHg6IG51bWJlciA9IGFjdHVhbFN0b3BFbHMuaW5kZXhPZihlbGVtZW50KTtcclxuICAgICAgICByZXR1cm4gYWN0dWFsU3RvcEVsc1tlbElkeCArIDFdIHx8IHVuZGVmaW5lZDtcclxuICAgIH1cclxufVxyXG4iXX0=
@@ -1,179 +0,0 @@
1
- import { Weekday } from "../model/weekday.model";
2
- import { Inject, LOCALE_ID } from "@angular/core";
3
- import { LanguageCode } from "../enum/language-code.enum";
4
- import { Week } from "../model/week.model";
5
- export class CalendarUtils {
6
- constructor(_locale) {
7
- this._locale = _locale;
8
- CalendarUtils.Locale = _locale;
9
- }
10
- // public static GetCurrentYear(): number {
11
- // return this.Now.getFullYear();
12
- // }
13
- //
14
- // public static GetCurrentMonth(): number {
15
- // return this.Now.getUTCMonth() + 1;
16
- // }
17
- static GetDayHours(day) {
18
- const datesByTheHour = [];
19
- if (day) {
20
- let newDate = new Date(day);
21
- newDate.setHours(0, 0, 0, 0);
22
- datesByTheHour.push(newDate);
23
- for (let i = 0; i < 23; i++) {
24
- newDate = new Date(newDate);
25
- newDate.setHours(newDate.getHours() + 1);
26
- datesByTheHour.push(newDate);
27
- }
28
- }
29
- return datesByTheHour;
30
- }
31
- static GetDaysOfWeek(date) {
32
- let day = date ? new Date(date) : new Date();
33
- day = CalendarUtils.getMonday(day);
34
- const daysOfWeek = [];
35
- let options;
36
- let month;
37
- for (let i = 0; i < 7; i++) {
38
- const dayPerWeek = new Weekday();
39
- const dayHours = CalendarUtils.GetDayHours(day);
40
- dayPerWeek.newMonth = day.getMonth() !== month;
41
- dayPerWeek.weekdaySelected = day.getDay() === date.getDay();
42
- dayPerWeek.weekdayDay = day.getDate();
43
- options = { weekday: "short" };
44
- dayPerWeek.weekdayShort = day.toLocaleDateString(CalendarUtils.Locale, options);
45
- options = { weekday: "long" };
46
- dayPerWeek.weekdayLong = day.toLocaleDateString(CalendarUtils.Locale, options);
47
- options = { month: "short" };
48
- dayPerWeek.weekdayMonthShort = day.toLocaleDateString(CalendarUtils.Locale, options);
49
- options = { month: "long" };
50
- dayPerWeek.weekdayMonthLong = day.toLocaleDateString(CalendarUtils.Locale, options);
51
- dayPerWeek.weekdayYear = day.getFullYear();
52
- dayPerWeek.date = new Date(day);
53
- dayPerWeek.datesByTheHour = dayHours;
54
- daysOfWeek.push(dayPerWeek);
55
- month = day.getMonth();
56
- day = new Date(day);
57
- day.setDate(day.getDate() + 1);
58
- }
59
- const week = new Week();
60
- week.weekDays = daysOfWeek;
61
- return week;
62
- }
63
- static GetWorkDaysOfWeek(date) {
64
- let day = date ? new Date(date) : new Date();
65
- day = CalendarUtils.getMonday(day);
66
- const daysOfWeek = [];
67
- let options;
68
- let month;
69
- for (let i = 0; i < 5; i++) {
70
- const dayPerWeek = new Weekday();
71
- const dayHours = CalendarUtils.GetDayHours(day);
72
- dayPerWeek.newMonth = day.getMonth() !== month;
73
- dayPerWeek.weekdaySelected = day.getDay() === date.getDay();
74
- dayPerWeek.weekdayDay = day.getDate();
75
- options = { weekday: "short" };
76
- dayPerWeek.weekdayShort = day.toLocaleDateString(CalendarUtils.Locale, options);
77
- options = { weekday: "long" };
78
- dayPerWeek.weekdayLong = day.toLocaleDateString(CalendarUtils.Locale, options);
79
- options = { month: "short" };
80
- dayPerWeek.weekdayMonthShort = day.toLocaleDateString(CalendarUtils.Locale, options);
81
- options = { month: "long" };
82
- dayPerWeek.weekdayMonthLong = day.toLocaleDateString(CalendarUtils.Locale, options);
83
- dayPerWeek.weekdayYear = day.getFullYear();
84
- dayPerWeek.date = new Date(day);
85
- dayPerWeek.datesByTheHour = dayHours;
86
- daysOfWeek.push(dayPerWeek);
87
- month = day.getMonth();
88
- day = new Date(day);
89
- day.setDate(day.getDate() + 1);
90
- }
91
- const week = new Week();
92
- week.weekDays = daysOfWeek;
93
- return week;
94
- }
95
- static GetThreeDays(date) {
96
- let day;
97
- if (!date) {
98
- day = new Date();
99
- }
100
- else {
101
- day = date;
102
- }
103
- const daysOfWeek = [];
104
- let options;
105
- let month;
106
- for (let i = 0; i < 3; i++) {
107
- const dayPerWeek = new Weekday();
108
- const dayHours = CalendarUtils.GetDayHours(day);
109
- dayPerWeek.newMonth = day.getMonth() !== month;
110
- dayPerWeek.weekdaySelected = day.getDay() === date.getDay();
111
- dayPerWeek.weekdayDay = day.getDate();
112
- options = { weekday: "short" };
113
- dayPerWeek.weekdayShort = day.toLocaleDateString(CalendarUtils.Locale, options);
114
- options = { weekday: "long" };
115
- dayPerWeek.weekdayLong = day.toLocaleDateString(CalendarUtils.Locale, options);
116
- options = { month: "short" };
117
- dayPerWeek.weekdayMonthShort = day.toLocaleDateString(CalendarUtils.Locale, options);
118
- options = { month: "long" };
119
- dayPerWeek.weekdayMonthLong = day.toLocaleDateString(CalendarUtils.Locale, options);
120
- dayPerWeek.weekdayYear = day.getFullYear();
121
- dayPerWeek.date = new Date(day);
122
- dayPerWeek.datesByTheHour = dayHours;
123
- daysOfWeek.push(dayPerWeek);
124
- month = day.getMonth();
125
- day = new Date(day);
126
- day.setDate(day.getDate() + 1);
127
- }
128
- const week = new Week();
129
- week.weekDays = daysOfWeek;
130
- return week;
131
- }
132
- static GetDaysAround(date) {
133
- const daysAround = [];
134
- const currentDate = date ? new Date(date) : new Date();
135
- currentDate.setHours(0, 0, 0, 0);
136
- // Get the current day and go two days back
137
- let day = new Date(currentDate);
138
- day.setDate(day.getDate() - 2);
139
- // Loop to get the two days before and four days after the current day
140
- for (let i = 0; i < 7; i++) {
141
- const dayPerWeek = new Weekday();
142
- const dayHours = CalendarUtils.GetDayHours(day);
143
- dayPerWeek.newMonth = day.getMonth() !== currentDate.getMonth();
144
- dayPerWeek.weekdaySelected = day.getDate() === currentDate.getDate();
145
- dayPerWeek.weekdayDay = day.getDate();
146
- let options = { weekday: "short" };
147
- dayPerWeek.weekdayShort = day.toLocaleDateString(CalendarUtils.Locale, options);
148
- options = { weekday: "long" };
149
- dayPerWeek.weekdayLong = day.toLocaleDateString(CalendarUtils.Locale, options);
150
- options = { month: "short" };
151
- dayPerWeek.weekdayMonthShort = day.toLocaleDateString(CalendarUtils.Locale, options);
152
- options = { month: "long" };
153
- dayPerWeek.weekdayMonthLong = day.toLocaleDateString(CalendarUtils.Locale, options);
154
- dayPerWeek.weekdayYear = day.getFullYear();
155
- dayPerWeek.date = new Date(day);
156
- dayPerWeek.datesByTheHour = dayHours;
157
- daysAround.push(dayPerWeek);
158
- // Move to the next day
159
- day.setDate(day.getDate() + 1);
160
- }
161
- const week = new Week();
162
- week.weekDays = daysAround;
163
- return week;
164
- }
165
- static getMonday(date) {
166
- const d = new Date(date);
167
- const day = d.getDay(); // 0 (Sun) - 6 (Sat)
168
- const diff = (day === 0 ? -6 : 1) - day;
169
- d.setDate(d.getDate() + diff);
170
- d.setHours(0, 0, 0, 0);
171
- return d;
172
- }
173
- }
174
- CalendarUtils.Locale = undefined;
175
- CalendarUtils.Now = new Date();
176
- CalendarUtils.ctorParameters = () => [
177
- { type: LanguageCode, decorators: [{ type: Inject, args: [LOCALE_ID,] }] }
178
- ];
179
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsZW5kYXIudXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaGFyZWRjb21wb25lbnRzL3NyYy9saWIvdXRpbHMvY2FsZW5kYXIudXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFDLE9BQU8sRUFBQyxNQUFNLHdCQUF3QixDQUFDO0FBQy9DLE9BQU8sRUFBQyxNQUFNLEVBQUUsU0FBUyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ2hELE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSw0QkFBNEIsQ0FBQztBQUN4RCxPQUFPLEVBQUMsSUFBSSxFQUFDLE1BQU0scUJBQXFCLENBQUM7QUFFekMsTUFBTSxPQUFPLGFBQWE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VyID0gZGF5SG91cnM7XHJcbiAgICAgICAgICAgIGRheXNPZldlZWsucHVzaChkYXlQZXJXZWVrKTtcclxuICAgICAgICAgICAgbW9udGggPSBkYXkuZ2V0TW9udGgoKTtcclxuICAgICAgICAgICAgZGF5ID0gbmV3IERhdGUoZGF5KTtcclxuICAgICAgICAgICAgZGF5LnNldERhdGUoZGF5LmdldERhdGUoKSArIDEpO1xyXG4gICAgICAgIH1cclxuICAgICAgICBjb25zdCB3ZWVrOiBXZWVrID0gbmV3IFdlZWsoKTtcclxuICAgICAgICB3ZWVrLndlZWtEYXlzID0gZGF5c09mV2VlaztcclxuICAgICAgICByZXR1cm4gd2VlaztcclxuICAgIH1cclxuXHJcbiAgcHVibGljIHN0YXRpYyBHZXRXb3JrRGF5c09mV2VlayhkYXRlOiBEYXRlKTogV2VlayB7XHJcbiAgICBsZXQgZGF5ID0gZGF0ZSA/IG5ldyBEYXRlKGRhdGUpIDogbmV3IERhdGUoKTtcclxuICAgIGRheSA9IENhbGVuZGFyVXRpbHMuZ2V0TW9uZGF5KGRheSk7XHJcbiAgICBjb25zdCBkYXlzT2ZXZWVrOiBXZWVrZGF5W10gPSBbXTtcclxuICAgIGxldCBvcHRpb25zOiBhbnk7XHJcbiAgICBsZXQgbW9udGg6IG51bWJlcjtcclxuICAgIGZvciAobGV0IGk6IG51bWJlciA9IDA7IGkgPCA1OyBpKyspIHtcclxuICAgICAgY29uc3QgZGF5UGVyV2VlazogV2Vla2RheSA9IG5ldyBXZWVrZGF5KCk7XHJcbiAgICAgIGNvbnN0IGRheUhvdXJzOiBEYXRlW10gPSBDYWxlbmRhclV0aWxzLkdldERheUhvdXJzKGRheSk7XHJcbiAgICAgIGRheVBlcldlZWsubmV3TW9udGggPSBkYXkuZ2V0TW9udGgoKSAhPT0gbW9udGg7XHJcbiAgICAgIGRheVBlcldlZWsud2Vla2RheVNlbGVjdGVkID0gZGF5LmdldERheSgpID09PSBkYXRlLmdldERheSgpO1xyXG4gICAgICBkYXl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V2VlaygpO1xyXG4gICAgd2Vlay53ZWVrRGF5cyA9IGRheXNBcm91bmQ7XHJcbiAgICByZXR1cm4gd2VlaztcclxuICB9XHJcblxyXG4gIHByaXZhdGUgc3RhdGljIGdldE1vbmRheShkYXRlOiBEYXRlKTogRGF0ZSB7XHJcbiAgICBjb25zdCBkID0gbmV3IERhdGUoZGF0ZSk7XHJcbiAgICBjb25zdCBkYXkgPSBkLmdldERheSgpOyAvLyAwIChTdW4pIC0gNiAoU2F0KVxyXG4gICAgY29uc3QgZGlmZiA9IChkYXkgPT09IDAgPyAtNiA6IDEpIC0gZGF5O1xyXG4gICAgZC5zZXREYXRlKGQuZ2V0RGF0ZSgpICsgZGlmZik7XHJcbiAgICBkLnNldEhvdXJzKDAsIDAsIDAsIDApO1xyXG4gICAgcmV0dXJuIGQ7XHJcbiAgfVxyXG5cclxufVxyXG4iXX0=
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2stcHJlY2lzaW9uLWFuZC1zY2FsZS1yZXN1bHQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaGFyZWRjb21wb25lbnRzL3NyYy9saWIvdXRpbHMvY2hlY2stcHJlY2lzaW9uLWFuZC1zY2FsZS1yZXN1bHQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbIi8vIE91dHB1dCBvYmplY3Qgc2hhcGUgZm9yIE51bWJlclV0aWxzLkNoZWNrUHJlY2lzaW9uQW5kU2NhbGUoKS5cclxuZXhwb3J0IGludGVyZmFjZSBDaGVja1ByZWNpc2lvbkFuZFNjYWxlUmVzdWx0IHtcclxuICAgIGlzT2s6IGJvb2xlYW47XHJcbiAgICBuZWFyZXN0T2tOcj86IG51bWJlcjtcclxufVxyXG4iXX0=
@@ -1,2 +0,0 @@
1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