@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.
- package/.browserslistrc +16 -0
- package/.editorconfig +16 -0
- package/README.md +11 -8
- package/Sharedcomponents.iml +15 -0
- package/angular.json +177 -0
- package/build.xml +31 -0
- package/custom-login-bundle.webpack.config.js +3 -0
- package/karma.conf.js +44 -0
- package/move-assets.js +14 -0
- package/package.json +79 -33
- package/projects/sharedcomponents/.browserslistrc +16 -0
- package/projects/sharedcomponents/README.md +24 -0
- package/projects/sharedcomponents/karma.conf.js +44 -0
- package/projects/sharedcomponents/ng-package.json +17 -0
- package/projects/sharedcomponents/package.json +25 -0
- package/projects/sharedcomponents/src/lib/assets/dictionary/text.properties.ts +8 -0
- package/projects/sharedcomponents/src/lib/assets/icons/account.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/angle_left_solid.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/angle_right_solid.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/arrow_down.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/arrow_down_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/arrow_fat_right.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/arrow_left_round_open.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/arrow_point_down.svg +6 -0
- package/projects/sharedcomponents/src/lib/assets/icons/arrow_point_left.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/arrow_point_right.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/arrow_point_up.svg +8 -0
- package/projects/sharedcomponents/src/lib/assets/icons/arrow_right_arrow_left_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/at_solid.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/barcode_read_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/bell_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/bell_slash_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/bring_forward_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/camera.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/check_duotone.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/check_round.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/check_solid.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/chevron_right_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/clock_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/comment_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/cross_skinny.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/cubes.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/delete_left_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/delivery_truck.svg +12 -0
- package/projects/sharedcomponents/src/lib/assets/icons/detail_view.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/diagram_project_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/dropzone.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/edit_pen_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/email.svg +5 -0
- package/projects/sharedcomponents/src/lib/assets/icons/email_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/employee.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/envelope_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/eye_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/file_export_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/file_export_solid.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/file_magnifying_glass.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/file_pdf_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/file_pdf_solid.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/file_signature_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/folders_sharp_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/house_blank_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/ione_workflow.svg +62 -0
- package/projects/sharedcomponents/src/lib/assets/icons/list_ul_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/lock.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/message_sms_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/message_sms_solid.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/minus_simple.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/notification.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/paper_plane_top_solid.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/paperclip_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/pdf.svg +15 -0
- package/projects/sharedcomponents/src/lib/assets/icons/person_digging_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/pin_round_open.svg +11 -0
- package/projects/sharedcomponents/src/lib/assets/icons/plus_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/plus_simple.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/print.svg +10 -0
- package/projects/sharedcomponents/src/lib/assets/icons/print_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/print_solid.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/regular_file_signature_circle_plus.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/share_solid.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/signature_field.svg +9 -0
- package/projects/sharedcomponents/src/lib/assets/icons/solid_barcode_read_tag.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/square_plus_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/tag_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/task.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/trash_can_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/trashbin.svg +2 -0
- package/projects/sharedcomponents/src/lib/assets/icons/x_solid.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/xml.svg +1 -0
- package/projects/sharedcomponents/src/lib/businessobject/build-images-and-documentation-result.ts +8 -0
- package/projects/sharedcomponents/src/lib/businessobject/document-allowed-extension.bo.ts +12 -0
- package/projects/sharedcomponents/src/lib/businessobject/drag-drop-container-element.ts +9 -0
- package/projects/sharedcomponents/src/lib/businessobject/drag-drop-container.ts +9 -0
- package/projects/sharedcomponents/src/lib/businessobject/user-group.bo.ts +34 -0
- package/projects/sharedcomponents/src/lib/components/access/read-write-access.component.ts +103 -0
- package/projects/sharedcomponents/src/lib/components/access/read-write-access.module.ts +15 -0
- package/projects/sharedcomponents/src/lib/components/activity-list/activity-list.component.ts +225 -0
- package/projects/sharedcomponents/src/lib/components/activity-list/activity-list.module.ts +22 -0
- package/projects/sharedcomponents/src/lib/components/activity-list-header/activity-list-header.component.ts +78 -0
- package/projects/sharedcomponents/src/lib/components/activity-list-header/activity-list-header.module.ts +27 -0
- package/projects/sharedcomponents/src/lib/components/activity-list-header/components/period-filter/period-filter-popup.component.ts +63 -0
- package/projects/sharedcomponents/src/lib/components/activity-list-header/components/period-filter/period-filter.component.ts +117 -0
- package/projects/sharedcomponents/src/lib/components/activity-list-header/components/period-filter/period-filter.module.ts +32 -0
- package/projects/sharedcomponents/src/lib/components/activity-overview-component/component-activity-overview.component.ts +224 -0
- package/projects/sharedcomponents/src/lib/components/activity-overview-component/component-activity-overview.module.ts +25 -0
- package/projects/sharedcomponents/src/lib/components/activity-overview-component/components/base-activity-overview.component.ts +342 -0
- package/projects/sharedcomponents/src/lib/components/app-file-dropzone/app-file-dropzone.component.ts +45 -0
- package/projects/sharedcomponents/src/lib/components/app-file-dropzone/app-file-dropzone.module.ts +21 -0
- package/projects/sharedcomponents/src/lib/components/custom-pdf/custom-pdf-dialog.component.ts +299 -0
- package/projects/sharedcomponents/src/lib/components/custom-pdf/custom-pdf-dialog.module.ts +28 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-base-view.component.ts +68 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-day-view.component.ts +35 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-event.component.ts +73 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-events.component.ts +53 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.ts +81 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-header.component.ts +405 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-hour-cell.component.ts +38 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.ts +50 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-hour-view.component.ts +46 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-month-view.component.ts +65 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-select-event.component.ts +39 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-view.component.ts +41 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-week-select-view.component.ts +63 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-week-view.component.ts +50 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/view-select.component.ts +78 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-all-months.component.ts +37 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-all-years.component.ts +52 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-header.component.ts +123 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-view.component.ts +200 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar.component.ts +35 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/date-planning.component.ts +145 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/date-planning.module.ts +63 -0
- package/projects/sharedcomponents/src/lib/components/docsign/component/signature/signature.component.ts +82 -0
- package/projects/sharedcomponents/src/lib/components/docsign/component/signatures/signatures.component.ts +50 -0
- package/projects/sharedcomponents/src/lib/components/docsign/docsign.component.ts +293 -0
- package/projects/sharedcomponents/src/lib/components/docsign/docsign.module.ts +22 -0
- package/projects/sharedcomponents/src/lib/components/email-selector/email-selector.component.ts +121 -0
- package/projects/sharedcomponents/src/lib/components/email-selector/email-selector.module.ts +32 -0
- package/projects/sharedcomponents/src/lib/components/file-upload/file-upload.component.ts +241 -0
- package/projects/sharedcomponents/src/lib/components/file-upload/file-upload.module.ts +28 -0
- package/projects/sharedcomponents/src/lib/components/file-upload-popup/file-upload-popup.component.ts +451 -0
- package/projects/sharedcomponents/src/lib/components/file-upload-popup/file-upload-popup.module.ts +39 -0
- package/projects/sharedcomponents/src/lib/components/files-upload/components/base-file-upload.component.ts +549 -0
- package/projects/sharedcomponents/src/lib/components/files-upload/components/drag-drop-container.component.ts +131 -0
- package/projects/sharedcomponents/src/lib/components/files-upload/files-upload.component.ts +187 -0
- package/projects/sharedcomponents/src/lib/components/files-upload/files-upload.module.ts +54 -0
- package/projects/sharedcomponents/src/lib/components/form-builder/form-builder-user-form/components/forms-test-component/forms-test-component.component.ts +58 -0
- package/projects/sharedcomponents/src/lib/components/form-builder/form-builder-user-form/components/forms-test-component/forms-test-component.module.ts +19 -0
- 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
- 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
- package/projects/sharedcomponents/src/lib/components/form-builder/form-builder-user-form/form-builder-question.component.ts +161 -0
- package/projects/sharedcomponents/src/lib/components/form-builder/form-builder-user-form/form-builder-user-form.component.ts +296 -0
- package/projects/sharedcomponents/src/lib/components/form-builder/form-builder-user-form/form-builder-user-form.module.ts +53 -0
- package/projects/sharedcomponents/src/lib/components/image-display/image-display.component.ts +42 -0
- package/projects/sharedcomponents/src/lib/components/image-display/image-display.module.ts +22 -0
- package/projects/sharedcomponents/src/lib/components/key-pad/key-pad.component.ts +216 -0
- package/projects/sharedcomponents/src/lib/components/key-pad/key-pad.module.ts +20 -0
- package/projects/sharedcomponents/src/lib/components/layout-switcher/layout-switcher.component.ts +98 -0
- package/projects/sharedcomponents/src/lib/components/layout-switcher/layout-switcher.module.ts +21 -0
- package/projects/sharedcomponents/src/lib/components/linear-gauge/co-linear-gauge.component.ts +63 -0
- package/projects/sharedcomponents/src/lib/components/linear-gauge/co-linear-gauge.module.ts +17 -0
- package/projects/sharedcomponents/src/lib/components/login/components/input-code/input-code.component.ts +187 -0
- package/projects/sharedcomponents/src/lib/components/login/components/input-code/input-code.module.ts +19 -0
- package/projects/sharedcomponents/src/lib/components/login/components/login-base.component.ts +150 -0
- package/projects/sharedcomponents/src/lib/components/login/components/login-change-password.component.ts +178 -0
- package/projects/sharedcomponents/src/lib/components/login/components/login-mfa-code-entry.component.ts +113 -0
- package/projects/sharedcomponents/src/lib/components/login/components/login-mfa-code-setup.component.ts +44 -0
- package/projects/sharedcomponents/src/lib/components/login/components/login-username-password.component.ts +160 -0
- package/projects/sharedcomponents/src/lib/components/login/enum/mfa-send-method-type.enum.ts +6 -0
- package/projects/sharedcomponents/src/lib/components/login/interface/finger-print-result.interface.ts +4 -0
- package/projects/sharedcomponents/src/lib/components/login/localization/login-translation.ts +15 -0
- package/projects/sharedcomponents/src/lib/components/login/login.component.ts +184 -0
- package/projects/sharedcomponents/src/lib/components/login/login.module.ts +54 -0
- package/projects/sharedcomponents/src/lib/components/login/service/finger-print.service.ts +45 -0
- package/projects/sharedcomponents/src/lib/components/login/service/login-adapter.service.ts +109 -0
- package/projects/sharedcomponents/src/lib/components/login/service/login.service.ts +104 -0
- package/projects/sharedcomponents/src/lib/components/modify-task-form/components/activity-summary-block/activity-summary-block.component.ts +117 -0
- package/projects/sharedcomponents/src/lib/components/modify-task-form/components/activity-summary-block/activity-summary-block.module.ts +24 -0
- package/projects/sharedcomponents/src/lib/components/modify-task-form/components/activity-summary-block/style/_layout.scss +211 -0
- package/projects/sharedcomponents/src/lib/components/modify-task-form/components/base-activity-summary.component.ts +164 -0
- package/projects/sharedcomponents/src/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.component.ts +140 -0
- package/projects/sharedcomponents/src/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.module.ts +26 -0
- package/projects/sharedcomponents/src/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.component.ts +83 -0
- package/projects/sharedcomponents/src/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.module.ts +23 -0
- package/projects/sharedcomponents/src/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.component.ts +149 -0
- package/projects/sharedcomponents/src/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.module.ts +29 -0
- package/projects/sharedcomponents/src/lib/components/modify-task-form/components/status-summary-block/status-summary-block.component.ts +65 -0
- package/projects/sharedcomponents/src/lib/components/modify-task-form/components/status-summary-block/status-summary-block.module.ts +24 -0
- package/projects/sharedcomponents/src/lib/components/modify-task-form/components/task-details/task-details.component.ts +103 -0
- package/projects/sharedcomponents/src/lib/components/modify-task-form/components/task-details/task-details.module.ts +24 -0
- package/projects/sharedcomponents/src/lib/components/modify-task-form/modify-task-form.component.ts +340 -0
- package/projects/sharedcomponents/src/lib/components/modify-task-form/modify-task-form.module.ts +40 -0
- package/projects/sharedcomponents/src/lib/components/multi-property-toggler/multiple-property-toggler.component.ts +106 -0
- package/projects/sharedcomponents/src/lib/components/multi-property-toggler/multiple-property-toggler.module.ts +20 -0
- package/projects/sharedcomponents/src/lib/components/open-activity-list/component-activity-list.component.ts +377 -0
- package/projects/sharedcomponents/src/lib/components/open-activity-list/component-activity-list.module.ts +30 -0
- package/projects/sharedcomponents/src/lib/components/open-activity-list/components/base-open-activity-list.component.ts +299 -0
- package/projects/sharedcomponents/src/lib/components/open-activity-list/components/personal-activity-overview/personal-activity-overview.component.ts +40 -0
- package/projects/sharedcomponents/src/lib/components/open-activity-list/components/personal-activity-overview/personal-activity-overview.module..ts +18 -0
- package/projects/sharedcomponents/src/lib/components/preferred-planning/preferred-planning.component.ts +254 -0
- package/projects/sharedcomponents/src/lib/components/preferred-planning/preferred-planning.module.ts +30 -0
- package/projects/sharedcomponents/src/lib/components/preview-pdf-dialog/preview-pdf-dialog.component.ts +86 -0
- package/projects/sharedcomponents/src/lib/components/preview-pdf-dialog/preview-pdf-dialog.module.ts +26 -0
- package/projects/sharedcomponents/src/lib/components/role-email-selector/role-email-selector.component.ts +181 -0
- package/projects/sharedcomponents/src/lib/components/role-email-selector/role-email-selector.module.ts +29 -0
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/enums/field-type.enum.ts +9 -0
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Config.ts +6 -0
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Field.ts +8 -0
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Header.ts +8 -0
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Module.ts +6 -0
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Rubric.ts +10 -0
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/ScreenConfig.ts +9 -0
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/SubCat.ts +9 -0
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/SubRubric.ts +8 -0
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/screen-config-generator.component.ts +539 -0
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/screen-config-generator.module.ts +21 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/additional-file-button/additional-file-button.component.ts +78 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/additional-file-button/additional-file-button.module.ts +21 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.ts +80 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.ts +22 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.ts +60 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.ts +22 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-combine-print-email/send-method-combine-print-email.component.ts +276 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-combine-print-email/send-method-combine-print-email.module.ts +26 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.ts +104 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.ts +28 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.ts +40 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.ts +23 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.ts +182 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.ts +34 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/signature-button/signature-button.component.ts +64 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/signature-button/signature-button.module.ts +20 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/model/email-address-viewmodel.ts +9 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/send-method-dialog.component.ts +495 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/send-method-dialog.module.ts +38 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/send-method-params.interface.ts +13 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/service/send-method.service.ts +86 -0
- package/projects/sharedcomponents/src/lib/components/simple-tags/simple-tags.component.ts +92 -0
- package/projects/sharedcomponents/src/lib/components/simple-tags/simple-tags.module.ts +26 -0
- package/projects/sharedcomponents/src/lib/components/simple-tags-form/simple-tags-form.component.ts +208 -0
- package/projects/sharedcomponents/src/lib/components/simple-tags-form/simple-tags-form.module.ts +24 -0
- package/projects/sharedcomponents/src/lib/components/statusbar/statusbar-popup.component.ts +118 -0
- package/projects/sharedcomponents/src/lib/components/statusbar/statusbar.component.ts +115 -0
- package/projects/sharedcomponents/src/lib/components/statusbar/statusbar.module.ts +25 -0
- package/projects/sharedcomponents/src/lib/components/stock/base/base-stock.component.ts +17 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.ts +77 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.ts +56 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/order-stock-history/order-stock-history.component.ts +55 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/order-stock-tab/order-stock-tab.component.ts +54 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.ts +55 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/order-tab/order-tab.component.ts +180 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/stock-history/stock-history.component.ts +63 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/stock-location/components/stock-location-popup/stock-location-popup.component.ts +266 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/stock-location/stock-location.component.ts +373 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/stock-prognose/stock-prognose.component.ts +71 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/stock-tab/stock-tab.component.ts +41 -0
- package/projects/sharedcomponents/src/lib/components/stock/service/stock-module-screen-config.service.ts +23 -0
- package/projects/sharedcomponents/src/lib/components/stock/stock-history-tabs/stock-history-tabs.component.ts +32 -0
- package/projects/sharedcomponents/src/lib/components/stock/stock-information/stock-information.component.ts +86 -0
- package/projects/sharedcomponents/src/lib/components/stock/stock-information-grid/stock-information-grid.component.ts +500 -0
- package/projects/sharedcomponents/src/lib/components/stock/stock-tabs/stock-tabs.component.ts +191 -0
- package/projects/sharedcomponents/src/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.ts +4 -0
- package/projects/sharedcomponents/src/lib/components/stock/stock-transfer/stock-change-amount.component.ts +77 -0
- package/projects/sharedcomponents/src/lib/components/stock/stock-transfer/stock-transfer.component.ts +264 -0
- package/projects/sharedcomponents/src/lib/components/stock/stock-transfer-allocated/stock-transfer-allocated.component.ts +317 -0
- package/projects/sharedcomponents/src/lib/components/stock/stock.component.ts +249 -0
- package/projects/sharedcomponents/src/lib/components/stock/stock.module.ts +99 -0
- package/projects/sharedcomponents/src/lib/components/stock-statusbar/stock-statusbar.component.ts +23 -0
- package/projects/sharedcomponents/src/lib/components/stock-statusbar/stock-statusbar.module.ts +17 -0
- package/projects/sharedcomponents/src/lib/components/tab-bar/tab-bar.component.ts +110 -0
- package/projects/sharedcomponents/src/lib/components/tab-bar/tab-bar.module.ts +22 -0
- package/projects/sharedcomponents/src/lib/components/tab-bar/tab.interface.ts +8 -0
- package/projects/sharedcomponents/src/lib/components/tags/component/tag-join-label/tag-join-label.component.ts +61 -0
- package/projects/sharedcomponents/src/lib/components/tags/component/tag-label/tag-label.component.ts +47 -0
- package/projects/sharedcomponents/src/lib/components/tags/component/treeview/model/tree-view-node-item.ts +132 -0
- package/projects/sharedcomponents/src/lib/components/tags/component/treeview/treeview.component.ts +261 -0
- package/projects/sharedcomponents/src/lib/components/tags/tags.component.ts +192 -0
- package/projects/sharedcomponents/src/lib/components/tags/tags.module.ts +28 -0
- package/projects/sharedcomponents/src/lib/components/task-creator/style/_layout.scss +213 -0
- package/projects/sharedcomponents/src/lib/components/task-creator/task-creator.component.ts +497 -0
- package/projects/sharedcomponents/src/lib/components/task-creator/task-creator.module.ts +49 -0
- package/projects/sharedcomponents/src/lib/components/task-modifyer/task-modifier.component.ts +355 -0
- package/projects/sharedcomponents/src/lib/components/task-modifyer/task-modifyer.module..ts +32 -0
- package/projects/sharedcomponents/src/lib/components/tile-renderer/tile-render.component.ts +137 -0
- package/projects/sharedcomponents/src/lib/components/tile-renderer/tile-render.module.ts +26 -0
- package/projects/sharedcomponents/src/lib/components/workflow-info-tiles/components/workflow-info-tile.component.ts +59 -0
- package/projects/sharedcomponents/src/lib/components/workflow-info-tiles/components/workflow-info-tile.module.ts +22 -0
- package/projects/sharedcomponents/src/lib/components/workflow-info-tiles/workflow-info-tiles.component.ts +63 -0
- package/projects/sharedcomponents/src/lib/components/workflow-info-tiles/workflow-info-tiles.module.ts +22 -0
- package/projects/sharedcomponents/src/lib/components/workflow-notification-toggle/workflow-notification-toggle-popup.ts +55 -0
- package/projects/sharedcomponents/src/lib/components/workflow-notification-toggle/workflow-notification-toggle.component.ts +88 -0
- package/projects/sharedcomponents/src/lib/components/workflow-notification-toggle/workflow-notification-toggle.module.ts +34 -0
- package/projects/sharedcomponents/src/lib/decorator/input-boolean.decorator.ts +35 -0
- package/projects/sharedcomponents/src/lib/directives/absolute-overlay-template.directive.ts +26 -0
- package/projects/sharedcomponents/src/lib/directives/align-with.directive.ts +191 -0
- package/projects/sharedcomponents/src/lib/directives/click-outside.directive.ts +25 -0
- package/projects/sharedcomponents/src/lib/directives/directives.module.ts +22 -0
- package/projects/sharedcomponents/src/lib/enum/activity-cfg-name.enum.ts +28 -0
- package/projects/sharedcomponents/src/lib/enum/app-button-type.enum.ts +9 -0
- package/projects/sharedcomponents/src/lib/enum/calendar-view.enum.ts +10 -0
- package/projects/sharedcomponents/src/lib/enum/co-document-type.ts +11 -0
- package/projects/sharedcomponents/src/lib/enum/document-allowed-type.enum.ts +10 -0
- package/projects/sharedcomponents/src/lib/enum/document-email-report.enum.ts +16 -0
- package/projects/sharedcomponents/src/lib/enum/domain-multiple-name.enum.ts +11 -0
- package/projects/sharedcomponents/src/lib/enum/file-type.ts +12 -0
- package/projects/sharedcomponents/src/lib/enum/files-upload-config-objects.ts +25 -0
- package/projects/sharedcomponents/src/lib/enum/gauge-color.enum.ts +9 -0
- package/projects/sharedcomponents/src/lib/enum/icon.enum.ts +77 -0
- package/projects/sharedcomponents/src/lib/enum/internal-param.enum.ts +38 -0
- package/projects/sharedcomponents/src/lib/enum/keyboard-code.enum.ts +31 -0
- package/projects/sharedcomponents/src/lib/enum/language-code.enum.ts +6 -0
- package/projects/sharedcomponents/src/lib/enum/login-component-extra-action-type.enum.ts +4 -0
- package/projects/sharedcomponents/src/lib/enum/login-component-page.type.enum.ts +6 -0
- package/projects/sharedcomponents/src/lib/enum/login-component-query-variables-name.enum.ts +5 -0
- package/projects/sharedcomponents/src/lib/enum/month.enum.ts +15 -0
- package/projects/sharedcomponents/src/lib/enum/read-write-access-config-names.enum.ts +5 -0
- package/projects/sharedcomponents/src/lib/enum/shared-cfg-name.enum.ts +32 -0
- package/projects/sharedcomponents/src/lib/enum/table-name.enum.ts +85 -0
- package/projects/sharedcomponents/src/lib/enum/tag-category.enum.ts +20 -0
- package/projects/sharedcomponents/src/lib/enum/tags-component-config-names.ts +5 -0
- package/projects/sharedcomponents/src/lib/enum/thumb-three-way-state.ts +18 -0
- package/projects/sharedcomponents/src/lib/enum/tile-size-type.ts +5 -0
- package/projects/sharedcomponents/src/lib/enum/time-period.enum.ts +9 -0
- package/projects/sharedcomponents/src/lib/enum/user-form-mode.enum.ts +5 -0
- package/projects/sharedcomponents/src/lib/event/co-drag-event.ts +6 -0
- package/projects/sharedcomponents/src/lib/event/co-drop-event.ts +12 -0
- package/projects/sharedcomponents/src/lib/interface/operation-callback-activity.ts +6 -0
- package/projects/sharedcomponents/src/lib/interface/operation-callback-function-with-validation.ts +6 -0
- package/projects/sharedcomponents/src/lib/interface/operation-callback-simple-function.ts +4 -0
- package/projects/sharedcomponents/src/lib/model/agenda-event-per-day.model.ts +6 -0
- package/projects/sharedcomponents/src/lib/model/agenda-event.model.ts +19 -0
- package/projects/sharedcomponents/src/lib/model/agenda-null-objects.ts +11 -0
- package/projects/sharedcomponents/src/lib/model/constant/all-months.ts +17 -0
- package/projects/sharedcomponents/src/lib/model/date-range.ts +10 -0
- package/projects/sharedcomponents/src/lib/model/day.model.ts +9 -0
- package/projects/sharedcomponents/src/lib/model/icon-svg.ts +77 -0
- package/projects/sharedcomponents/src/lib/model/month.model.ts +11 -0
- package/projects/sharedcomponents/src/lib/model/send-method.ts +13 -0
- package/projects/sharedcomponents/src/lib/model/settings.ts +5 -0
- package/projects/sharedcomponents/src/lib/model/tag-tree-item.bo.ts +28 -0
- package/projects/sharedcomponents/src/lib/model/time-window.bo.ts +21 -0
- package/projects/sharedcomponents/src/lib/model/tree-object.ts +13 -0
- package/projects/sharedcomponents/src/lib/model/tree-view-default.model.ts +107 -0
- package/projects/sharedcomponents/src/lib/model/tree-view-node-default.model.ts +196 -0
- package/projects/sharedcomponents/src/lib/model/tree-view-node-item-options.model.ts +12 -0
- package/projects/sharedcomponents/src/lib/model/tree-view-node.model.ts +150 -0
- package/projects/sharedcomponents/src/lib/model/tree-view.model.ts +57 -0
- package/projects/sharedcomponents/src/lib/model/util/forms-null-object.ts +7 -0
- package/projects/sharedcomponents/src/lib/model/week.model.ts +5 -0
- package/projects/sharedcomponents/src/lib/model/weekday.model.ts +17 -0
- package/projects/sharedcomponents/src/lib/pipe/array-number.pipe.ts +14 -0
- package/projects/sharedcomponents/src/lib/pipe/file-type-image.pipe.ts +50 -0
- package/projects/sharedcomponents/src/lib/pipe/master-pipes.ts +9 -0
- package/projects/sharedcomponents/src/lib/pipe/ucfirst.pipe.ts +14 -0
- package/projects/sharedcomponents/src/lib/res/dictionary/dictionaries.ts +7 -0
- package/projects/sharedcomponents/src/lib/res/dictionary/text_de.properties.json +1 -0
- package/projects/sharedcomponents/src/lib/res/dictionary/text_en.properties.json +1 -0
- package/projects/sharedcomponents/src/lib/res/dictionary/text_fr.properties.json +1 -0
- package/projects/sharedcomponents/src/lib/res/dictionary/text_nl.properties.json +1 -0
- package/projects/sharedcomponents/src/lib/service/app-absolute-overlay-outlet.service.ts +20 -0
- package/projects/sharedcomponents/src/lib/service/drag-drop.service.ts +423 -0
- package/projects/sharedcomponents/src/lib/service/icon-cache.service.ts +51 -0
- package/projects/sharedcomponents/src/lib/service/options.service.ts +43 -0
- package/projects/sharedcomponents/src/lib/service/shared-connector.service.ts +863 -0
- package/projects/sharedcomponents/src/lib/service/shared-event.service.ts +9 -0
- package/projects/sharedcomponents/src/lib/service/shared-initializer.service.ts +44 -0
- package/projects/sharedcomponents/src/lib/service/shared.service.ts +244 -0
- package/projects/sharedcomponents/src/lib/service/stock.service.ts +124 -0
- package/projects/sharedcomponents/src/lib/translation/shared-components-dictionary.service.ts +73 -0
- package/projects/sharedcomponents/src/lib/translation/shared-components-translation.module.ts +12 -0
- package/projects/sharedcomponents/src/lib/translation/shared-localize.pipe.ts +21 -0
- package/projects/sharedcomponents/src/lib/typings/local/fingerprintjs2/index.d.ts +42 -0
- package/projects/sharedcomponents/src/lib/utils/array-utils.ts +225 -0
- package/projects/sharedcomponents/src/lib/utils/browser-utils.ts +124 -0
- package/projects/sharedcomponents/src/lib/utils/calendar.utils.ts +199 -0
- package/projects/sharedcomponents/src/lib/utils/check-precision-and-scale-result.ts +5 -0
- package/projects/sharedcomponents/src/lib/utils/co-document-shared-field-logic.ts +58 -0
- package/projects/sharedcomponents/src/lib/utils/date-utils.ts +302 -0
- package/projects/sharedcomponents/src/lib/utils/enum-utils.ts +149 -0
- package/projects/sharedcomponents/src/lib/utils/event-utils.ts +70 -0
- package/projects/sharedcomponents/src/lib/utils/form-utils.ts +33 -0
- package/projects/sharedcomponents/src/lib/utils/function/not-nill.function.ts +4 -0
- package/projects/sharedcomponents/src/lib/utils/is-nill.function.ts +4 -0
- package/projects/sharedcomponents/src/lib/utils/map-utils.ts +44 -0
- package/projects/sharedcomponents/src/lib/utils/number-utils.ts +439 -0
- package/projects/sharedcomponents/src/lib/utils/object-utils.ts +310 -0
- package/projects/sharedcomponents/src/lib/utils/ref-code-utils.ts +60 -0
- package/projects/sharedcomponents/src/lib/utils/string-utils.ts +102 -0
- package/projects/sharedcomponents/src/lib/utils/tree-utils.ts +63 -0
- package/projects/sharedcomponents/src/public-api.ts +50 -0
- package/projects/sharedcomponents/src/test.ts +27 -0
- package/projects/sharedcomponents/tsconfig.lib.json +18 -0
- package/projects/sharedcomponents/tsconfig.lib.prod.json +10 -0
- package/projects/sharedcomponents/tsconfig.spec.json +17 -0
- package/script/create-bundle-version.js +19 -0
- package/script/create-dictionaries.js +41 -0
- package/script/merge-icons.js +39 -0
- package/src/app/app-login.component.ts +18 -0
- package/src/app/app-module.service.ts +7 -0
- package/src/app/app-screen-config.service.ts +13 -0
- package/src/app/app.component.scss +31 -0
- package/src/app/app.component.spec.ts +31 -0
- package/src/app/app.component.ts +798 -0
- package/src/app/app.module.ts +100 -0
- package/src/app/bundle/index.html +14 -0
- package/src/app/bundle/login/login-bundle.component.scss +8 -0
- package/src/app/bundle/login/login-bundle.component.ts +150 -0
- package/src/app/bundle/login/login-bundle.module.ts +32 -0
- package/src/app/bundle/main-login-bundle.ts +11 -0
- package/src/app/bundle/polyfills.ts +63 -0
- package/src/app/bundle/shared-version.ts +7 -0
- package/src/app/test-data.service.ts +230 -0
- package/src/assets/.gitkeep +0 -0
- package/src/environments/environment.bundle.prod.ts +3 -0
- package/src/environments/environment.prod.ts +3 -0
- package/src/environments/environment.ts +16 -0
- package/src/favicon.ico +0 -0
- package/src/index.html +13 -0
- package/src/main.ts +12 -0
- package/src/polyfills.ts +53 -0
- package/src/styles.scss +92 -0
- package/src/test.ts +26 -0
- package/tsconfig.app.json +15 -0
- package/tsconfig.bundle.json +38 -0
- package/tsconfig.json +64 -0
- package/tsconfig.spec.json +18 -0
- package/webpack.login.bundle.config.js +32 -0
- package/bundles/colijnit-sharedcomponents.umd.js +0 -17989
- package/bundles/colijnit-sharedcomponents.umd.js.map +0 -1
- package/colijnit-sharedcomponents.d.ts +0 -143
- package/colijnit-sharedcomponents.metadata.json +0 -1
- package/esm2015/colijnit-sharedcomponents.js +0 -144
- package/esm2015/lib/businessobject/build-images-and-documentation-result.js +0 -2
- package/esm2015/lib/businessobject/drag-drop-container-element.js +0 -2
- package/esm2015/lib/businessobject/drag-drop-container.js +0 -7
- package/esm2015/lib/components/activity-list/activity-list.component.js +0 -192
- package/esm2015/lib/components/activity-list/activity-list.module.js +0 -24
- package/esm2015/lib/components/activity-list-header/activity-list-header.component.js +0 -67
- package/esm2015/lib/components/activity-list-header/activity-list-header.module.js +0 -28
- package/esm2015/lib/components/activity-list-header/components/period-filter/period-filter-popup.component.js +0 -55
- package/esm2015/lib/components/activity-list-header/components/period-filter/period-filter.component.js +0 -103
- package/esm2015/lib/components/activity-list-header/components/period-filter/period-filter.module.js +0 -33
- package/esm2015/lib/components/activity-overview-component/component-activity-overview.component.js +0 -215
- package/esm2015/lib/components/activity-overview-component/component-activity-overview.module.js +0 -26
- package/esm2015/lib/components/activity-overview-component/components/base-activity-overview.component.js +0 -283
- package/esm2015/lib/components/app-file-dropzone/app-file-dropzone.component.js +0 -47
- package/esm2015/lib/components/app-file-dropzone/app-file-dropzone.module.js +0 -20
- package/esm2015/lib/components/custom-pdf/custom-pdf-dialog.component.js +0 -279
- package/esm2015/lib/components/custom-pdf/custom-pdf-dialog.module.js +0 -27
- package/esm2015/lib/components/date-planning/component/agenda/agenda-base-view.component.js +0 -61
- package/esm2015/lib/components/date-planning/component/agenda/agenda-day-view.component.js +0 -36
- package/esm2015/lib/components/date-planning/component/agenda/agenda-event.component.js +0 -56
- package/esm2015/lib/components/date-planning/component/agenda/agenda-events.component.js +0 -47
- package/esm2015/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.js +0 -68
- package/esm2015/lib/components/date-planning/component/agenda/agenda-header.component.js +0 -366
- package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-cell.component.js +0 -36
- package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.js +0 -50
- package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-view.component.js +0 -46
- package/esm2015/lib/components/date-planning/component/agenda/agenda-month-view.component.js +0 -61
- package/esm2015/lib/components/date-planning/component/agenda/agenda-select-event.component.js +0 -39
- package/esm2015/lib/components/date-planning/component/agenda/agenda-view.component.js +0 -35
- package/esm2015/lib/components/date-planning/component/agenda/agenda-week-select-view.component.js +0 -64
- package/esm2015/lib/components/date-planning/component/agenda/agenda-week-view.component.js +0 -48
- package/esm2015/lib/components/date-planning/component/agenda/view-select.component.js +0 -75
- package/esm2015/lib/components/date-planning/component/calendar/calendar-all-months.component.js +0 -34
- package/esm2015/lib/components/date-planning/component/calendar/calendar-all-years.component.js +0 -48
- package/esm2015/lib/components/date-planning/component/calendar/calendar-header.component.js +0 -107
- package/esm2015/lib/components/date-planning/component/calendar/calendar-view.component.js +0 -178
- package/esm2015/lib/components/date-planning/component/calendar/calendar.component.js +0 -34
- package/esm2015/lib/components/date-planning/date-planning.component.js +0 -116
- package/esm2015/lib/components/date-planning/date-planning.module.js +0 -65
- package/esm2015/lib/components/docsign/component/signature/signature.component.js +0 -75
- package/esm2015/lib/components/docsign/component/signatures/signatures.component.js +0 -44
- package/esm2015/lib/components/docsign/docsign.component.js +0 -263
- package/esm2015/lib/components/docsign/docsign.module.js +0 -23
- package/esm2015/lib/components/email-selector/email-selector.component.js +0 -117
- package/esm2015/lib/components/email-selector/email-selector.module.js +0 -32
- package/esm2015/lib/components/file-upload/file-upload.component.js +0 -210
- package/esm2015/lib/components/file-upload/file-upload.module.js +0 -27
- package/esm2015/lib/components/file-upload-popup/file-upload-popup.component.js +0 -404
- package/esm2015/lib/components/file-upload-popup/file-upload-popup.module.js +0 -31
- package/esm2015/lib/components/files-upload/components/base-file-upload.component.js +0 -468
- package/esm2015/lib/components/files-upload/components/drag-drop-container.component.js +0 -115
- package/esm2015/lib/components/files-upload/files-upload.component.js +0 -148
- package/esm2015/lib/components/files-upload/files-upload.module.js +0 -47
- package/esm2015/lib/components/form-builder/form-builder-user-form/components/user-form-input-scale/user-form-input-scale.component.js +0 -98
- package/esm2015/lib/components/form-builder/form-builder-user-form/components/user-form-input-scale/user-form-input-scale.module.js +0 -23
- package/esm2015/lib/components/form-builder/form-builder-user-form/form-builder-question.component.js +0 -148
- package/esm2015/lib/components/form-builder/form-builder-user-form/form-builder-user-form.component.js +0 -266
- package/esm2015/lib/components/form-builder/form-builder-user-form/form-builder-user-form.module.js +0 -43
- package/esm2015/lib/components/image-display/image-display.component.js +0 -36
- package/esm2015/lib/components/image-display/image-display.module.js +0 -23
- package/esm2015/lib/components/key-pad/key-pad.component.js +0 -200
- package/esm2015/lib/components/key-pad/key-pad.module.js +0 -22
- package/esm2015/lib/components/layout-switcher/layout-switcher.component.js +0 -74
- package/esm2015/lib/components/layout-switcher/layout-switcher.module.js +0 -21
- package/esm2015/lib/components/linear-gauge/co-linear-gauge.component.js +0 -67
- package/esm2015/lib/components/linear-gauge/co-linear-gauge.module.js +0 -19
- package/esm2015/lib/components/modify-task-form/components/activity-summary-block/activity-summary-block.component.js +0 -100
- package/esm2015/lib/components/modify-task-form/components/activity-summary-block/activity-summary-block.module.js +0 -25
- package/esm2015/lib/components/modify-task-form/components/base-activity-summary.component.js +0 -131
- package/esm2015/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.component.js +0 -120
- package/esm2015/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.module.js +0 -27
- package/esm2015/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.component.js +0 -88
- package/esm2015/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.module.js +0 -24
- package/esm2015/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.component.js +0 -108
- package/esm2015/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.module.js +0 -28
- package/esm2015/lib/components/modify-task-form/components/status-summary-block/status-summary-block.component.js +0 -74
- package/esm2015/lib/components/modify-task-form/components/status-summary-block/status-summary-block.module.js +0 -25
- package/esm2015/lib/components/modify-task-form/components/task-details/task-details.component.js +0 -105
- package/esm2015/lib/components/modify-task-form/components/task-details/task-details.module.js +0 -25
- package/esm2015/lib/components/modify-task-form/modify-task-form.component.js +0 -293
- package/esm2015/lib/components/modify-task-form/modify-task-form.module.js +0 -40
- package/esm2015/lib/components/multi-property-toggler/multiple-property-toggler.component.js +0 -89
- package/esm2015/lib/components/multi-property-toggler/multiple-property-toggler.module.js +0 -21
- package/esm2015/lib/components/open-activity-list/component-activity-list.component.js +0 -296
- package/esm2015/lib/components/open-activity-list/component-activity-list.module.js +0 -30
- package/esm2015/lib/components/open-activity-list/components/base-open-activity-list.component.js +0 -266
- package/esm2015/lib/components/open-activity-list/components/personal-activity-overview/personal-activity-overview.component.js +0 -41
- package/esm2015/lib/components/open-activity-list/components/personal-activity-overview/personal-activity-overview.module..js +0 -19
- package/esm2015/lib/components/preferred-planning/preferred-planning.component.js +0 -218
- package/esm2015/lib/components/preferred-planning/preferred-planning.module.js +0 -25
- package/esm2015/lib/components/preview-pdf-dialog/preview-pdf-dialog.component.js +0 -77
- package/esm2015/lib/components/preview-pdf-dialog/preview-pdf-dialog.module.js +0 -26
- package/esm2015/lib/components/role-email-selector/role-email-selector.component.js +0 -159
- package/esm2015/lib/components/role-email-selector/role-email-selector.module.js +0 -29
- package/esm2015/lib/components/send-method-dialog/components/additional-file-button/additional-file-button.component.js +0 -64
- package/esm2015/lib/components/send-method-dialog/components/additional-file-button/additional-file-button.module.js +0 -23
- package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.js +0 -73
- package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.js +0 -24
- package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.js +0 -58
- package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.js +0 -24
- package/esm2015/lib/components/send-method-dialog/components/send-method-combine-print-email/send-method-combine-print-email.component.js +0 -239
- package/esm2015/lib/components/send-method-dialog/components/send-method-combine-print-email/send-method-combine-print-email.module.js +0 -28
- package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.js +0 -94
- package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.js +0 -30
- package/esm2015/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.js +0 -42
- package/esm2015/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.js +0 -25
- package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.js +0 -163
- package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.js +0 -36
- package/esm2015/lib/components/send-method-dialog/components/signature-button/signature-button.component.js +0 -57
- package/esm2015/lib/components/send-method-dialog/components/signature-button/signature-button.module.js +0 -22
- package/esm2015/lib/components/send-method-dialog/model/email-address-viewmodel.js +0 -7
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +0 -404
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.module.js +0 -39
- package/esm2015/lib/components/send-method-dialog/send-method-params.interface.js +0 -2
- package/esm2015/lib/components/send-method-dialog/service/send-method.service.js +0 -75
- package/esm2015/lib/components/simple-tags/simple-tags.component.js +0 -87
- package/esm2015/lib/components/simple-tags/simple-tags.module.js +0 -28
- package/esm2015/lib/components/simple-tags-form/simple-tags-form.component.js +0 -196
- package/esm2015/lib/components/simple-tags-form/simple-tags-form.module.js +0 -26
- package/esm2015/lib/components/statusbar/statusbar-popup.component.js +0 -114
- package/esm2015/lib/components/statusbar/statusbar.component.js +0 -86
- package/esm2015/lib/components/statusbar/statusbar.module.js +0 -27
- package/esm2015/lib/components/stock/base/base-stock.component.js +0 -18
- package/esm2015/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.js +0 -79
- package/esm2015/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.js +0 -58
- package/esm2015/lib/components/stock/components/order-stock-history/order-stock-history.component.js +0 -58
- package/esm2015/lib/components/stock/components/order-stock-tab/order-stock-tab.component.js +0 -58
- package/esm2015/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.js +0 -58
- package/esm2015/lib/components/stock/components/order-tab/order-tab.component.js +0 -162
- package/esm2015/lib/components/stock/components/stock-history/stock-history.component.js +0 -66
- package/esm2015/lib/components/stock/components/stock-location/components/stock-location-popup/stock-location-popup.component.js +0 -241
- package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +0 -327
- package/esm2015/lib/components/stock/components/stock-prognose/stock-prognose.component.js +0 -73
- package/esm2015/lib/components/stock/components/stock-tab/stock-tab.component.js +0 -42
- package/esm2015/lib/components/stock/service/stock-module-screen-config.service.js +0 -27
- package/esm2015/lib/components/stock/stock-history-tabs/stock-history-tabs.component.js +0 -33
- package/esm2015/lib/components/stock/stock-information/stock-information.component.js +0 -76
- package/esm2015/lib/components/stock/stock-information-grid/stock-information-grid.component.js +0 -457
- package/esm2015/lib/components/stock/stock-tabs/stock-tabs.component.js +0 -173
- package/esm2015/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.js +0 -2
- package/esm2015/lib/components/stock/stock-transfer/stock-change-amount.component.js +0 -72
- package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +0 -219
- package/esm2015/lib/components/stock/stock-transfer-allocated/stock-transfer-allocated.component.js +0 -273
- package/esm2015/lib/components/stock/stock.component.js +0 -211
- package/esm2015/lib/components/stock/stock.module.js +0 -86
- package/esm2015/lib/components/stock-statusbar/stock-statusbar.component.js +0 -23
- package/esm2015/lib/components/stock-statusbar/stock-statusbar.module.js +0 -19
- package/esm2015/lib/components/tab-bar/tab-bar.component.js +0 -98
- package/esm2015/lib/components/tab-bar/tab-bar.module.js +0 -23
- package/esm2015/lib/components/tab-bar/tab.interface.js +0 -2
- package/esm2015/lib/components/task-creator/task-creator.component.js +0 -410
- package/esm2015/lib/components/task-creator/task-creator.module.js +0 -40
- package/esm2015/lib/components/task-modifyer/task-modifier.component.js +0 -282
- package/esm2015/lib/components/task-modifyer/task-modifyer.module..js +0 -32
- package/esm2015/lib/components/tile-renderer/tile-render.component.js +0 -90
- package/esm2015/lib/components/tile-renderer/tile-render.module.js +0 -26
- package/esm2015/lib/components/workflow-info-tiles/components/workflow-info-tile.component.js +0 -52
- package/esm2015/lib/components/workflow-info-tiles/components/workflow-info-tile.module.js +0 -22
- package/esm2015/lib/components/workflow-info-tiles/workflow-info-tiles.component.js +0 -60
- package/esm2015/lib/components/workflow-info-tiles/workflow-info-tiles.module.js +0 -22
- package/esm2015/lib/components/workflow-notification-toggle/workflow-notification-toggle-popup.js +0 -53
- package/esm2015/lib/components/workflow-notification-toggle/workflow-notification-toggle.component.js +0 -81
- package/esm2015/lib/components/workflow-notification-toggle/workflow-notification-toggle.module.js +0 -34
- package/esm2015/lib/decorator/input-boolean.decorator.js +0 -34
- package/esm2015/lib/directives/absolute-overlay-template.directive.js +0 -29
- package/esm2015/lib/directives/align-with.directive.js +0 -174
- package/esm2015/lib/directives/click-outside.directive.js +0 -25
- package/esm2015/lib/directives/directives.module.js +0 -22
- package/esm2015/lib/enum/activity-cfg-name.enum.js +0 -29
- package/esm2015/lib/enum/app-button-type.enum.js +0 -11
- package/esm2015/lib/enum/calendar-view.enum.js +0 -12
- package/esm2015/lib/enum/document-email-report.enum.js +0 -18
- package/esm2015/lib/enum/domain-multiple-name.enum.js +0 -13
- package/esm2015/lib/enum/file-type.js +0 -14
- package/esm2015/lib/enum/files-upload-config-objects.js +0 -3
- package/esm2015/lib/enum/gauge-color.enum.js +0 -11
- package/esm2015/lib/enum/icon.enum.js +0 -78
- package/esm2015/lib/enum/internal-param.enum.js +0 -38
- package/esm2015/lib/enum/keyboard-code.enum.js +0 -33
- package/esm2015/lib/enum/language-code.enum.js +0 -8
- package/esm2015/lib/enum/month.enum.js +0 -17
- package/esm2015/lib/enum/read-write-access-config-names.enum.js +0 -2
- package/esm2015/lib/enum/shared-cfg-name.enum.js +0 -19
- package/esm2015/lib/enum/table-name.enum.js +0 -86
- package/esm2015/lib/enum/tag-category.enum.js +0 -22
- package/esm2015/lib/enum/tags-component-config-names.js +0 -2
- package/esm2015/lib/enum/thumb-three-way-state.js +0 -19
- package/esm2015/lib/enum/tile-size-type.js +0 -7
- package/esm2015/lib/enum/time-period.enum.js +0 -11
- package/esm2015/lib/enum/user-form-mode.enum.js +0 -7
- package/esm2015/lib/event/co-drag-event.js +0 -2
- package/esm2015/lib/event/co-drop-event.js +0 -2
- package/esm2015/lib/interface/activities-task-config-names.js +0 -2
- package/esm2015/lib/interface/key-value-pair.js +0 -2
- package/esm2015/lib/interface/operation-callback-activity.js +0 -5
- package/esm2015/lib/interface/operation-callback-function-with-validation.js +0 -5
- package/esm2015/lib/interface/operation-callback-simple-function.js +0 -4
- package/esm2015/lib/model/agenda-event-per-day.model.js +0 -6
- package/esm2015/lib/model/agenda-event.model.js +0 -8
- package/esm2015/lib/model/agenda-null-objects.js +0 -11
- package/esm2015/lib/model/constant/all-months.js +0 -17
- package/esm2015/lib/model/date-range.js +0 -5
- package/esm2015/lib/model/day.model.js +0 -7
- package/esm2015/lib/model/icon-svg.js +0 -77
- package/esm2015/lib/model/month.model.js +0 -11
- package/esm2015/lib/model/send-method.js +0 -8
- package/esm2015/lib/model/settings.js +0 -4
- package/esm2015/lib/model/tag-tree-item.bo.js +0 -16
- package/esm2015/lib/model/time-window.bo.js +0 -26
- package/esm2015/lib/model/tree-object.js +0 -15
- package/esm2015/lib/model/util/forms-null-object.js +0 -7
- package/esm2015/lib/model/week.model.js +0 -6
- package/esm2015/lib/model/weekday.model.js +0 -10
- package/esm2015/lib/pipe/array-number.pipe.js +0 -15
- package/esm2015/lib/pipe/file-type-image.pipe.js +0 -51
- package/esm2015/lib/pipe/master-pipes.js +0 -9
- package/esm2015/lib/pipe/ucfirst.pipe.js +0 -16
- package/esm2015/lib/res/dictionary/dictionaries.js +0 -9
- package/esm2015/lib/service/app-absolute-overlay-outlet.service.js +0 -20
- package/esm2015/lib/service/drag-drop.service.js +0 -365
- package/esm2015/lib/service/icon-cache.service.js +0 -51
- package/esm2015/lib/service/options.service.js +0 -48
- package/esm2015/lib/service/shared-connector.service.js +0 -932
- package/esm2015/lib/service/shared-event.service.js +0 -15
- package/esm2015/lib/service/shared.service.js +0 -252
- package/esm2015/lib/service/stock.service.js +0 -109
- package/esm2015/lib/translation/shared-components-dictionary.service.js +0 -69
- package/esm2015/lib/translation/shared-components-translation.module.js +0 -15
- package/esm2015/lib/translation/shared-localize.pipe.js +0 -26
- package/esm2015/lib/utils/array-utils.js +0 -202
- package/esm2015/lib/utils/browser-utils.js +0 -100
- package/esm2015/lib/utils/calendar.utils.js +0 -179
- package/esm2015/lib/utils/check-precision-and-scale-result.js +0 -2
- package/esm2015/lib/utils/check-within-stepped-bounds-result.js +0 -2
- package/esm2015/lib/utils/co-document-shared-field-logic.js +0 -50
- package/esm2015/lib/utils/date-utils.js +0 -264
- package/esm2015/lib/utils/enum-utils.js +0 -128
- package/esm2015/lib/utils/event-utils.js +0 -59
- package/esm2015/lib/utils/form-utils.js +0 -32
- package/esm2015/lib/utils/function/not-nill.function.js +0 -5
- package/esm2015/lib/utils/is-nill.function.js +0 -5
- package/esm2015/lib/utils/map-utils.js +0 -41
- package/esm2015/lib/utils/number-utils.js +0 -390
- package/esm2015/lib/utils/object-utils.js +0 -278
- package/esm2015/lib/utils/ref-code-utils.js +0 -49
- package/esm2015/lib/utils/string-utils.js +0 -97
- package/esm2015/public-api.js +0 -48
- package/fesm2015/colijnit-sharedcomponents.js +0 -18716
- package/fesm2015/colijnit-sharedcomponents.js.map +0 -1
- package/lib/businessobject/build-images-and-documentation-result.d.ts +0 -5
- package/lib/businessobject/drag-drop-container-element.d.ts +0 -6
- package/lib/businessobject/drag-drop-container.d.ts +0 -6
- package/lib/components/activity-list/activity-list.component.d.ts +0 -51
- package/lib/components/activity-list/activity-list.module.d.ts +0 -2
- package/lib/components/activity-list-header/activity-list-header.component.d.ts +0 -25
- package/lib/components/activity-list-header/activity-list-header.module.d.ts +0 -2
- package/lib/components/activity-list-header/components/period-filter/period-filter-popup.component.d.ts +0 -11
- package/lib/components/activity-list-header/components/period-filter/period-filter.component.d.ts +0 -26
- package/lib/components/activity-list-header/components/period-filter/period-filter.module.d.ts +0 -2
- package/lib/components/activity-overview-component/component-activity-overview.component.d.ts +0 -24
- package/lib/components/activity-overview-component/component-activity-overview.module.d.ts +0 -2
- package/lib/components/activity-overview-component/components/base-activity-overview.component.d.ts +0 -81
- package/lib/components/app-file-dropzone/app-file-dropzone.component.d.ts +0 -14
- package/lib/components/app-file-dropzone/app-file-dropzone.module.d.ts +0 -2
- package/lib/components/custom-pdf/custom-pdf-dialog.component.d.ts +0 -41
- package/lib/components/custom-pdf/custom-pdf-dialog.module.d.ts +0 -2
- package/lib/components/date-planning/component/agenda/agenda-base-view.component.d.ts +0 -21
- package/lib/components/date-planning/component/agenda/agenda-day-view.component.d.ts +0 -7
- package/lib/components/date-planning/component/agenda/agenda-event.component.d.ts +0 -18
- package/lib/components/date-planning/component/agenda/agenda-events.component.d.ts +0 -13
- package/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.d.ts +0 -18
- package/lib/components/date-planning/component/agenda/agenda-header.component.d.ts +0 -51
- package/lib/components/date-planning/component/agenda/agenda-hour-cell.component.d.ts +0 -9
- package/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.d.ts +0 -8
- package/lib/components/date-planning/component/agenda/agenda-hour-view.component.d.ts +0 -7
- package/lib/components/date-planning/component/agenda/agenda-month-view.component.d.ts +0 -10
- package/lib/components/date-planning/component/agenda/agenda-select-event.component.d.ts +0 -12
- package/lib/components/date-planning/component/agenda/agenda-view.component.d.ts +0 -12
- package/lib/components/date-planning/component/agenda/agenda-week-select-view.component.d.ts +0 -10
- package/lib/components/date-planning/component/agenda/agenda-week-view.component.d.ts +0 -9
- package/lib/components/date-planning/component/agenda/view-select.component.d.ts +0 -13
- package/lib/components/date-planning/component/calendar/calendar-all-months.component.d.ts +0 -9
- package/lib/components/date-planning/component/calendar/calendar-all-years.component.d.ts +0 -9
- package/lib/components/date-planning/component/calendar/calendar-header.component.d.ts +0 -23
- package/lib/components/date-planning/component/calendar/calendar-view.component.d.ts +0 -31
- package/lib/components/date-planning/component/calendar/calendar.component.d.ts +0 -10
- package/lib/components/date-planning/date-planning.component.d.ts +0 -29
- package/lib/components/date-planning/date-planning.module.d.ts +0 -2
- package/lib/components/docsign/component/signature/signature.component.d.ts +0 -16
- package/lib/components/docsign/component/signatures/signatures.component.d.ts +0 -12
- package/lib/components/docsign/docsign.component.d.ts +0 -99
- package/lib/components/docsign/docsign.module.d.ts +0 -2
- package/lib/components/email-selector/email-selector.component.d.ts +0 -33
- package/lib/components/email-selector/email-selector.module.d.ts +0 -2
- package/lib/components/file-upload/file-upload.component.d.ts +0 -49
- package/lib/components/file-upload/file-upload.module.d.ts +0 -2
- package/lib/components/file-upload-popup/file-upload-popup.component.d.ts +0 -79
- package/lib/components/file-upload-popup/file-upload-popup.module.d.ts +0 -2
- package/lib/components/files-upload/components/base-file-upload.component.d.ts +0 -98
- package/lib/components/files-upload/components/drag-drop-container.component.d.ts +0 -34
- package/lib/components/files-upload/files-upload.component.d.ts +0 -32
- package/lib/components/files-upload/files-upload.module.d.ts +0 -2
- package/lib/components/form-builder/form-builder-user-form/components/user-form-input-scale/user-form-input-scale.component.d.ts +0 -23
- package/lib/components/form-builder/form-builder-user-form/components/user-form-input-scale/user-form-input-scale.module.d.ts +0 -2
- package/lib/components/form-builder/form-builder-user-form/form-builder-question.component.d.ts +0 -32
- package/lib/components/form-builder/form-builder-user-form/form-builder-user-form.component.d.ts +0 -64
- package/lib/components/form-builder/form-builder-user-form/form-builder-user-form.module.d.ts +0 -2
- package/lib/components/image-display/image-display.component.d.ts +0 -14
- package/lib/components/image-display/image-display.module.d.ts +0 -2
- package/lib/components/key-pad/key-pad.component.d.ts +0 -38
- package/lib/components/key-pad/key-pad.module.d.ts +0 -2
- package/lib/components/layout-switcher/layout-switcher.component.d.ts +0 -16
- package/lib/components/layout-switcher/layout-switcher.module.d.ts +0 -2
- package/lib/components/linear-gauge/co-linear-gauge.component.d.ts +0 -11
- package/lib/components/linear-gauge/co-linear-gauge.module.d.ts +0 -2
- package/lib/components/modify-task-form/components/activity-summary-block/activity-summary-block.component.d.ts +0 -31
- package/lib/components/modify-task-form/components/activity-summary-block/activity-summary-block.module.d.ts +0 -2
- package/lib/components/modify-task-form/components/activity-summary-block/style/_layout.scss +0 -160
- package/lib/components/modify-task-form/components/base-activity-summary.component.d.ts +0 -51
- package/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.component.d.ts +0 -28
- package/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.module.d.ts +0 -2
- package/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.component.d.ts +0 -24
- package/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.module.d.ts +0 -2
- package/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.component.d.ts +0 -28
- package/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.module.d.ts +0 -2
- package/lib/components/modify-task-form/components/status-summary-block/status-summary-block.component.d.ts +0 -17
- package/lib/components/modify-task-form/components/status-summary-block/status-summary-block.module.d.ts +0 -2
- package/lib/components/modify-task-form/components/task-details/task-details.component.d.ts +0 -23
- package/lib/components/modify-task-form/components/task-details/task-details.module.d.ts +0 -2
- package/lib/components/modify-task-form/modify-task-form.component.d.ts +0 -56
- package/lib/components/modify-task-form/modify-task-form.module.d.ts +0 -2
- package/lib/components/multi-property-toggler/multiple-property-toggler.component.d.ts +0 -27
- package/lib/components/multi-property-toggler/multiple-property-toggler.module.d.ts +0 -2
- package/lib/components/open-activity-list/component-activity-list.component.d.ts +0 -78
- package/lib/components/open-activity-list/component-activity-list.module.d.ts +0 -2
- package/lib/components/open-activity-list/components/base-open-activity-list.component.d.ts +0 -48
- package/lib/components/open-activity-list/components/personal-activity-overview/personal-activity-overview.component.d.ts +0 -4
- package/lib/components/open-activity-list/components/personal-activity-overview/personal-activity-overview.module..d.ts +0 -2
- package/lib/components/preferred-planning/preferred-planning.component.d.ts +0 -34
- package/lib/components/preferred-planning/preferred-planning.module.d.ts +0 -2
- package/lib/components/preview-pdf-dialog/preview-pdf-dialog.component.d.ts +0 -18
- package/lib/components/preview-pdf-dialog/preview-pdf-dialog.module.d.ts +0 -2
- package/lib/components/role-email-selector/role-email-selector.component.d.ts +0 -44
- package/lib/components/role-email-selector/role-email-selector.module.d.ts +0 -2
- package/lib/components/send-method-dialog/components/additional-file-button/additional-file-button.component.d.ts +0 -22
- package/lib/components/send-method-dialog/components/additional-file-button/additional-file-button.module.d.ts +0 -2
- package/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.d.ts +0 -20
- package/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.d.ts +0 -2
- package/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.d.ts +0 -16
- package/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.d.ts +0 -2
- package/lib/components/send-method-dialog/components/send-method-combine-print-email/send-method-combine-print-email.component.d.ts +0 -53
- package/lib/components/send-method-dialog/components/send-method-combine-print-email/send-method-combine-print-email.module.d.ts +0 -2
- package/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.d.ts +0 -25
- package/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.d.ts +0 -2
- package/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.d.ts +0 -11
- package/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.d.ts +0 -2
- package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.d.ts +0 -41
- package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.d.ts +0 -2
- package/lib/components/send-method-dialog/components/signature-button/signature-button.component.d.ts +0 -16
- package/lib/components/send-method-dialog/components/signature-button/signature-button.module.d.ts +0 -2
- package/lib/components/send-method-dialog/model/email-address-viewmodel.d.ts +0 -5
- package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +0 -103
- package/lib/components/send-method-dialog/send-method-dialog.module.d.ts +0 -2
- package/lib/components/send-method-dialog/send-method-params.interface.d.ts +0 -13
- package/lib/components/send-method-dialog/service/send-method.service.d.ts +0 -29
- package/lib/components/simple-tags/simple-tags.component.d.ts +0 -24
- package/lib/components/simple-tags/simple-tags.module.d.ts +0 -2
- package/lib/components/simple-tags-form/simple-tags-form.component.d.ts +0 -29
- package/lib/components/simple-tags-form/simple-tags-form.module.d.ts +0 -2
- package/lib/components/statusbar/statusbar-popup.component.d.ts +0 -25
- package/lib/components/statusbar/statusbar.component.d.ts +0 -29
- package/lib/components/statusbar/statusbar.module.d.ts +0 -2
- package/lib/components/stock/base/base-stock.component.d.ts +0 -6
- package/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.d.ts +0 -14
- package/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.d.ts +0 -11
- package/lib/components/stock/components/order-stock-history/order-stock-history.component.d.ts +0 -11
- package/lib/components/stock/components/order-stock-tab/order-stock-tab.component.d.ts +0 -13
- package/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.d.ts +0 -11
- package/lib/components/stock/components/order-tab/order-tab.component.d.ts +0 -41
- package/lib/components/stock/components/stock-history/stock-history.component.d.ts +0 -15
- package/lib/components/stock/components/stock-location/components/stock-location-popup/stock-location-popup.component.d.ts +0 -47
- package/lib/components/stock/components/stock-location/stock-location.component.d.ts +0 -72
- package/lib/components/stock/components/stock-prognose/stock-prognose.component.d.ts +0 -16
- package/lib/components/stock/components/stock-tab/stock-tab.component.d.ts +0 -9
- package/lib/components/stock/service/stock-module-screen-config.service.d.ts +0 -9
- package/lib/components/stock/stock-history-tabs/stock-history-tabs.component.d.ts +0 -7
- package/lib/components/stock/stock-information/stock-information.component.d.ts +0 -16
- package/lib/components/stock/stock-information-grid/stock-information-grid.component.d.ts +0 -75
- package/lib/components/stock/stock-tabs/stock-tabs.component.d.ts +0 -36
- package/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.d.ts +0 -4
- package/lib/components/stock/stock-transfer/stock-change-amount.component.d.ts +0 -18
- package/lib/components/stock/stock-transfer/stock-transfer.component.d.ts +0 -51
- package/lib/components/stock/stock-transfer-allocated/stock-transfer-allocated.component.d.ts +0 -59
- package/lib/components/stock/stock.component.d.ts +0 -67
- package/lib/components/stock/stock.module.d.ts +0 -2
- package/lib/components/stock-statusbar/stock-statusbar.component.d.ts +0 -4
- package/lib/components/stock-statusbar/stock-statusbar.module.d.ts +0 -2
- package/lib/components/tab-bar/tab-bar.component.d.ts +0 -21
- package/lib/components/tab-bar/tab-bar.module.d.ts +0 -2
- package/lib/components/tab-bar/tab.interface.d.ts +0 -7
- package/lib/components/task-creator/style/_layout.scss +0 -201
- package/lib/components/task-creator/task-creator.component.d.ts +0 -91
- package/lib/components/task-creator/task-creator.module.d.ts +0 -2
- package/lib/components/task-modifyer/task-modifier.component.d.ts +0 -67
- package/lib/components/task-modifyer/task-modifyer.module..d.ts +0 -2
- package/lib/components/tile-renderer/tile-render.component.d.ts +0 -35
- package/lib/components/tile-renderer/tile-render.module.d.ts +0 -2
- package/lib/components/workflow-info-tiles/components/workflow-info-tile.component.d.ts +0 -17
- package/lib/components/workflow-info-tiles/components/workflow-info-tile.module.d.ts +0 -2
- package/lib/components/workflow-info-tiles/workflow-info-tiles.component.d.ts +0 -22
- package/lib/components/workflow-info-tiles/workflow-info-tiles.module.d.ts +0 -2
- package/lib/components/workflow-notification-toggle/workflow-notification-toggle-popup.d.ts +0 -15
- package/lib/components/workflow-notification-toggle/workflow-notification-toggle.component.d.ts +0 -28
- package/lib/components/workflow-notification-toggle/workflow-notification-toggle.module.d.ts +0 -2
- package/lib/decorator/input-boolean.decorator.d.ts +0 -8
- package/lib/directives/absolute-overlay-template.directive.d.ts +0 -9
- package/lib/directives/align-with.directive.d.ts +0 -35
- package/lib/directives/click-outside.directive.d.ts +0 -7
- package/lib/directives/directives.module.d.ts +0 -2
- package/lib/enum/activity-cfg-name.enum.d.ts +0 -27
- package/lib/enum/app-button-type.enum.d.ts +0 -9
- package/lib/enum/calendar-view.enum.d.ts +0 -10
- package/lib/enum/document-email-report.enum.d.ts +0 -15
- package/lib/enum/domain-multiple-name.enum.d.ts +0 -10
- package/lib/enum/file-type.d.ts +0 -7
- package/lib/enum/files-upload-config-objects.d.ts +0 -22
- package/lib/enum/gauge-color.enum.d.ts +0 -9
- package/lib/enum/icon.enum.d.ts +0 -76
- package/lib/enum/internal-param.enum.d.ts +0 -34
- package/lib/enum/keyboard-code.enum.d.ts +0 -31
- package/lib/enum/language-code.enum.d.ts +0 -6
- package/lib/enum/month.enum.d.ts +0 -14
- package/lib/enum/read-write-access-config-names.enum.d.ts +0 -4
- package/lib/enum/shared-cfg-name.enum.d.ts +0 -14
- package/lib/enum/table-name.enum.d.ts +0 -84
- package/lib/enum/tag-category.enum.d.ts +0 -19
- package/lib/enum/tags-component-config-names.d.ts +0 -4
- package/lib/enum/thumb-three-way-state.d.ts +0 -6
- package/lib/enum/tile-size-type.d.ts +0 -4
- package/lib/enum/time-period.enum.d.ts +0 -8
- package/lib/enum/user-form-mode.enum.d.ts +0 -4
- package/lib/event/co-drag-event.d.ts +0 -5
- package/lib/event/co-drop-event.d.ts +0 -8
- package/lib/interface/operation-callback-activity.d.ts +0 -5
- package/lib/interface/operation-callback-function-with-validation.d.ts +0 -5
- package/lib/interface/operation-callback-simple-function.d.ts +0 -4
- package/lib/model/agenda-event-per-day.model.d.ts +0 -5
- package/lib/model/agenda-event.model.d.ts +0 -17
- package/lib/model/agenda-null-objects.d.ts +0 -10
- package/lib/model/constant/all-months.d.ts +0 -2
- package/lib/model/date-range.d.ts +0 -7
- package/lib/model/day.model.d.ts +0 -8
- package/lib/model/icon-svg.d.ts +0 -4
- package/lib/model/month.model.d.ts +0 -5
- package/lib/model/send-method.d.ts +0 -7
- package/lib/model/settings.d.ts +0 -3
- package/lib/model/tag-tree-item.bo.d.ts +0 -18
- package/lib/model/time-window.bo.d.ts +0 -13
- package/lib/model/tree-object.d.ts +0 -8
- package/lib/model/util/forms-null-object.d.ts +0 -6
- package/lib/model/week.model.d.ts +0 -4
- package/lib/model/weekday.model.d.ts +0 -16
- package/lib/pipe/array-number.pipe.d.ts +0 -4
- package/lib/pipe/file-type-image.pipe.d.ts +0 -12
- package/lib/pipe/master-pipes.d.ts +0 -1
- package/lib/pipe/ucfirst.pipe.d.ts +0 -4
- package/lib/res/dictionary/dictionaries.d.ts +0 -31988
- package/lib/service/app-absolute-overlay-outlet.service.d.ts +0 -9
- package/lib/service/drag-drop.service.d.ts +0 -86
- package/lib/service/icon-cache.service.d.ts +0 -18
- package/lib/service/options.service.d.ts +0 -13
- package/lib/service/shared-connector.service.d.ts +0 -115
- package/lib/service/shared-event.service.d.ts +0 -4
- package/lib/service/shared.service.d.ts +0 -75
- package/lib/service/stock.service.d.ts +0 -39
- package/lib/translation/shared-components-dictionary.service.d.ts +0 -19
- package/lib/translation/shared-components-translation.module.d.ts +0 -2
- package/lib/translation/shared-localize.pipe.d.ts +0 -7
- package/lib/utils/array-utils.d.ts +0 -63
- package/lib/utils/browser-utils.d.ts +0 -15
- package/lib/utils/calendar.utils.d.ts +0 -14
- package/lib/utils/check-precision-and-scale-result.d.ts +0 -4
- package/lib/utils/co-document-shared-field-logic.d.ts +0 -7
- package/lib/utils/date-utils.d.ts +0 -44
- package/lib/utils/enum-utils.d.ts +0 -31
- package/lib/utils/event-utils.d.ts +0 -12
- package/lib/utils/form-utils.d.ts +0 -5
- package/lib/utils/function/not-nill.function.d.ts +0 -1
- package/lib/utils/is-nill.function.d.ts +0 -1
- package/lib/utils/map-utils.d.ts +0 -16
- package/lib/utils/number-utils.d.ts +0 -125
- package/lib/utils/object-utils.d.ts +0 -40
- package/lib/utils/ref-code-utils.d.ts +0 -10
- package/lib/utils/string-utils.d.ts +0 -39
- package/public-api.d.ts +0 -44
- /package/{lib → projects/sharedcomponents/src/lib}/components/access/read-write-access.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/access/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/access/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/access/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/access/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/activity-list/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/activity-list/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/activity-list/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/activity-list/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/activity-list-header/components/period-filter/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/activity-list-header/components/period-filter/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/activity-list-header/components/period-filter/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/activity-list-header/components/period-filter/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/activity-list-header/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/activity-list-header/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/activity-list-header/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/activity-list-header/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/activity-overview-component/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/activity-overview-component/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/activity-overview-component/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/activity-overview-component/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/app-file-dropzone/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/app-file-dropzone/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/app-file-dropzone/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/app-file-dropzone/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/custom-pdf/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/custom-pdf/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/custom-pdf/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/custom-pdf/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/component/agenda/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/component/agenda/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/component/agenda/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/component/agenda/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/component/calendar/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/component/calendar/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/component/calendar/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/component/calendar/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signature/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signature/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signature/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signature/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signatures/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signatures/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signatures/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signatures/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/email-selector/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/email-selector/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/email-selector/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/email-selector/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/file-upload/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/file-upload/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/file-upload/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/file-upload/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/file-upload-popup/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/file-upload-popup/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/file-upload-popup/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/file-upload-popup/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/files-upload/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/files-upload/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/files-upload/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/files-upload/style/material.scss +0 -0
- /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
- /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
- /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
- /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
- /package/{lib → projects/sharedcomponents/src/lib}/components/form-builder/form-builder-user-form/components/user-form-input-scale/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/form-builder/form-builder-user-form/components/user-form-input-scale/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/form-builder/form-builder-user-form/components/user-form-input-scale/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/form-builder/form-builder-user-form/components/user-form-input-scale/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/form-builder/form-builder-user-form/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/form-builder/form-builder-user-form/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/form-builder/form-builder-user-form/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/form-builder/form-builder-user-form/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/image-display/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/image-display/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/image-display/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/image-display/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/key-pad/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/key-pad/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/key-pad/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/key-pad/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/layout-switcher/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/layout-switcher/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/layout-switcher/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/layout-switcher/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/linear-gauge/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/linear-gauge/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/linear-gauge/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/linear-gauge/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/login/components/input-code/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/login/components/input-code/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/login/components/input-code/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/login/components/input-code/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/login/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/login/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/login/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/login/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/activity-summary-block/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/activity-summary-block/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/activity-summary-block/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/creation-summary-block/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/creation-summary-block/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/creation-summary-block/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/creation-summary-block/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/executive-summary-block/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/executive-summary-block/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/executive-summary-block/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/executive-summary-block/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/notification-summary-block/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/notification-summary-block/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/notification-summary-block/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/notification-summary-block/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/status-summary-block/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/status-summary-block/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/status-summary-block/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/status-summary-block/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/task-details/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/task-details/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/task-details/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/components/task-details/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/modify-task-form/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/multi-property-toggler/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/multi-property-toggler/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/multi-property-toggler/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/multi-property-toggler/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/open-activity-list/components/personal-activity-overview/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/open-activity-list/components/personal-activity-overview/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/open-activity-list/components/personal-activity-overview/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/open-activity-list/components/personal-activity-overview/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/open-activity-list/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/open-activity-list/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/open-activity-list/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/open-activity-list/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/preferred-planning/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/preferred-planning/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/preferred-planning/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/preferred-planning/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/preview-pdf-dialog/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/preview-pdf-dialog/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/preview-pdf-dialog/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/preview-pdf-dialog/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/role-email-selector/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/role-email-selector/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/role-email-selector/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/role-email-selector/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/screen-config-generator/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/screen-config-generator/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/screen-config-generator/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/screen-config-generator/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/additional-file-button/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/additional-file-button/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/additional-file-button/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/additional-file-button/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/layout-selection/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/layout-selection/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/layout-selection/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/layout-selection/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/printer-selection/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/printer-selection/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/printer-selection/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/printer-selection/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-combine-print-email/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-combine-print-email/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-combine-print-email/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-combine-print-email/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-email/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-email/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-email/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-email/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-pdf/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-pdf/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-pdf/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-pdf/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-printer/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-printer/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-printer/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-printer/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/signature-button/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/signature-button/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/signature-button/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/signature-button/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/simple-tags/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/simple-tags/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/simple-tags/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/simple-tags/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/simple-tags-form/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/simple-tags-form/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/simple-tags-form/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/simple-tags-form/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/statusbar/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/statusbar/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/statusbar/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/statusbar/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/stock/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/stock/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/stock/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/stock/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/stock-statusbar/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/stock-statusbar/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/stock-statusbar/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/stock-statusbar/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/tab-bar/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/tab-bar/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/tab-bar/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/tab-bar/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/tags/component/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/tags/component/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/tags/component/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/tags/component/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/tags/component/tag-join-label/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/tags/component/tag-join-label/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/tags/component/tag-join-label/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/tags/component/tag-join-label/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/task-creator/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/task-creator/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/task-creator/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/task-modifyer/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/task-modifyer/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/task-modifyer/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/task-modifyer/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/tile-renderer/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/tile-renderer/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/tile-renderer/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/tile-renderer/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/workflow-info-tiles/components/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/workflow-info-tiles/components/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/workflow-info-tiles/components/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/workflow-info-tiles/components/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/workflow-info-tiles/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/workflow-info-tiles/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/workflow-info-tiles/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/workflow-info-tiles/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/workflow-notification-toggle/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/workflow-notification-toggle/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/workflow-notification-toggle/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/workflow-notification-toggle/style/material.scss +0 -0
- /package/{lib/interface/activities-task-config-names.d.ts → projects/sharedcomponents/src/lib/interface/activities-task-config-names.ts} +0 -0
- /package/{lib/interface/key-value-pair.d.ts → projects/sharedcomponents/src/lib/interface/key-value-pair.ts} +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/style/_mixin.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/style/_variables.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/style/sharedcomponents-globals.scss +0 -0
- /package/{lib/utils/check-within-stepped-bounds-result.d.ts → projects/sharedcomponents/src/lib/utils/check-within-stepped-bounds-result.ts} +0 -0
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { FileType } from "../enum/file-type";
|
|
2
|
-
export class CoDocumentSharedFieldLogic {
|
|
3
|
-
static BuildAllDocuments(documentation, images) {
|
|
4
|
-
let allDocuments = [];
|
|
5
|
-
allDocuments = allDocuments.concat(documentation);
|
|
6
|
-
allDocuments = allDocuments.concat(images);
|
|
7
|
-
allDocuments.sort((a, b) => {
|
|
8
|
-
return a.index < b.index ? -1 : 1;
|
|
9
|
-
});
|
|
10
|
-
return allDocuments;
|
|
11
|
-
}
|
|
12
|
-
static BuildImagesAndDocumentation(documents) {
|
|
13
|
-
const images = [];
|
|
14
|
-
const documentation = [];
|
|
15
|
-
const len = documents.length;
|
|
16
|
-
for (let i = 0; i < len; i++) {
|
|
17
|
-
// re-index documents order
|
|
18
|
-
documents[i].index = i + 1;
|
|
19
|
-
if (documents[i].fileType === FileType.Image) {
|
|
20
|
-
images.push(documents[i]);
|
|
21
|
-
}
|
|
22
|
-
else {
|
|
23
|
-
documentation.push(documents[i]);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
return {
|
|
27
|
-
images: images,
|
|
28
|
-
documentation: documentation
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
// Returns an index number that is 1 higher than the highest one in the collection
|
|
32
|
-
static GenerateAvailableIndexNr(documents) {
|
|
33
|
-
const indexNumbers = [];
|
|
34
|
-
documents.forEach((collectionItem) => {
|
|
35
|
-
if (collectionItem && collectionItem.index > -1) {
|
|
36
|
-
indexNumbers.push(collectionItem.index);
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
indexNumbers.sort((a, b) => {
|
|
40
|
-
return a - b;
|
|
41
|
-
});
|
|
42
|
-
if (indexNumbers && indexNumbers.length > 0) {
|
|
43
|
-
return indexNumbers[indexNumbers.length - 1] + 1;
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
return 0;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaW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gICAgcmV0dXJuIGEuaW5kZXggPCBiLmluZGV4ID8gLTEgOiAxO1xyXG4gICAgICAgIH0pO1xyXG4gICAgICAgIHJldHVybiBhbGxEb2N1bWVudHM7XHJcbiAgICB9XHJcblxyXG4gICAgcHVibGljIHN0YXRpYyBCdWlsZEltYWdlc0FuZERvY3VtZW50YXRpb24oZG9jdW1lbnRzOiBDb0RvY3VtZW50W10pOiBCdWlsZEltYWdlc0FuZERvY3VtZW50YXRpb25SZXN1bHQge1xyXG4gICAgICAgIGNvbnN0IGltYWdlczogQ29Eb2N1bWVudFtdID0gW107XHJcbiAgICAgICAgY29uc3QgZG9jdW1lbnRhdGlvbjogQ29Eb2N1bWVudFtdID0gW107XHJcblxyXG4gICAgICAgIGNvbnN0IGxlbjogbnVtYmVyID0gZG9jdW1lbnRzLmxlbmd0aDtcclxuICAgICAgICBmb3IgKGxldCBpOiBudW1iZXIgPSAwOyBpIDwgbGVuOyBpKyspIHtcclxuICAgICAgICAgICAgLy8gcmUtaW5kZXggZG9jdW1lbnRzIG9yZGVyXHJcbiAgICAgICAgICAgIGRvY3VtZW50c1tpXS5pbmRleCA9IGkgKyAxO1xyXG4gICAgICAgICAgICBpZiAoZG9jdW1lbnRzW2ldLmZpbGVUeXBlID09PSBGaWxlVHlwZS5JbWFnZSkge1xyXG4gICAgICAgICAgICAgICAgaW1hZ2VzLnB1c2goZG9jdW1lbnRzW2ldKTtcclxuICAgICAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgICAgIGRvY3VtZW50YXRpb24ucHVzaChkb2N1bWVudHNbaV0pO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICByZXR1cm4ge1xyXG4gICAgICAgICAgICBpbWFnZXM6IGltYWdlcyxcclxuICAgICAgICAgICAgZG9jdW1lbnRhdGlvbjogZG9jdW1lbnRhdGlvblxyXG4gICAgICAgIH07XHJcbiAgICB9XHJcblxyXG4gICAgLy8gUmV0dXJucyBhbiBpbmRleCBudW1iZXIgdGhhdCBpcyAxIGhpZ2hlciB0aGFuIHRoZSBoaWdoZXN0IG9uZSBpbiB0aGUgY29sbGVjdGlvblxyXG4gICAgcHVibGljIHN0YXRpYyBHZW5lcmF0ZUF2YWlsYWJsZUluZGV4TnIoZG9jdW1lbnRzOiBDb0RvY3VtZW50W10pOiBudW1iZXIge1xyXG4gICAgICAgIGNvbnN0IGluZGV4TnVtYmVyczogbnVtYmVyW10gPSBbXTtcclxuICAgICAgICBkb2N1bWVudHMuZm9yRWFjaCgoY29sbGVjdGlvbkl0ZW0pID0+IHtcclxuICAgICAgICAgICAgaWYgKGNvbGxlY3Rpb25JdGVtICYmIGNvbGxlY3Rpb25JdGVtLmluZGV4ID4gLTEpIHtcclxuICAgICAgICAgICAgICAgIGluZGV4TnVtYmVycy5wdXNoKGNvbGxlY3Rpb25JdGVtLmluZGV4KTtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH0pO1xyXG5cclxuICAgICAgICBpbmRleE51bWJlcnMuc29ydCgoYTogbnVtYmVyLCBiOiBudW1iZXIpID0+IHtcclxuICAgICAgICAgICAgcmV0dXJuIGEgLSBiO1xyXG4gICAgICAgIH0pO1xyXG5cclxuICAgICAgICBpZiAoaW5kZXhOdW1iZXJzICYmIGluZGV4TnVtYmVycy5sZW5ndGggPiAwKSB7XHJcbiAgICAgICAgICAgIHJldHVybiBpbmRleE51bWJlcnNbaW5kZXhOdW1iZXJzLmxlbmd0aCAtIDFdICsgMTtcclxuICAgICAgICB9IGVsc2Uge1xyXG4gICAgICAgICAgICByZXR1cm4gMDtcclxuICAgICAgICB9XHJcbiAgICB9XHJcbn1cclxuIl19
|
|
@@ -1,264 +0,0 @@
|
|
|
1
|
-
import { ALL_MONTHS } from "../model/constant/all-months";
|
|
2
|
-
import { notNill } from "./function/not-nill.function";
|
|
3
|
-
import * as moment from "moment";
|
|
4
|
-
import { DatePipe } from "@angular/common";
|
|
5
|
-
import { DateRange } from "../model/date-range";
|
|
6
|
-
Date.prototype.toJSON = function () {
|
|
7
|
-
return moment(this).format('YYYY-MM-DD[T]HH:mm:ss');
|
|
8
|
-
};
|
|
9
|
-
// static utility function holder related to dates
|
|
10
|
-
export class DateUtils {
|
|
11
|
-
static NowAsString() {
|
|
12
|
-
return DateUtils.ParseDate(new Date(), DateUtils.BACKEND_DATE_FORMAT);
|
|
13
|
-
}
|
|
14
|
-
static ParseDate(date, format = "d-m-y") {
|
|
15
|
-
if (!date) {
|
|
16
|
-
return "";
|
|
17
|
-
}
|
|
18
|
-
const day = ("0" + date.getDate()).slice(-2);
|
|
19
|
-
const month = ("0" + (date.getMonth() + 1)).slice(-2);
|
|
20
|
-
const year = date.getFullYear() + "";
|
|
21
|
-
const formatParts = format.split("-");
|
|
22
|
-
const dateParts = [];
|
|
23
|
-
for (let i = 0, l = formatParts.length; i < l; i++) {
|
|
24
|
-
switch (formatParts[i]) {
|
|
25
|
-
case "d":
|
|
26
|
-
case "DD":
|
|
27
|
-
dateParts.push(day);
|
|
28
|
-
break;
|
|
29
|
-
case "m":
|
|
30
|
-
case "MM":
|
|
31
|
-
dateParts.push(month);
|
|
32
|
-
break;
|
|
33
|
-
case "y":
|
|
34
|
-
case "YYYY":
|
|
35
|
-
dateParts.push(year);
|
|
36
|
-
break;
|
|
37
|
-
default:
|
|
38
|
-
break;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
return dateParts.join("-");
|
|
42
|
-
}
|
|
43
|
-
static GetWeekNumber(date) {
|
|
44
|
-
date = new Date(date.getTime());
|
|
45
|
-
date.setHours(0, 0, 0, 0);
|
|
46
|
-
date.setDate(date.getDate() + 4 - (date.getDay() || 7));
|
|
47
|
-
return Math.ceil((((date.getTime() - new Date(date.getFullYear(), 0, 1).getTime()) / 8.64e7) + 1) / 7);
|
|
48
|
-
}
|
|
49
|
-
// Returns the number of days from now, for the given date in the future. Returns negative days if given date is in the past from now.
|
|
50
|
-
static GetDaysFromNow(date) {
|
|
51
|
-
return DateUtils.GetDayDifference(new Date(Date.now()), date);
|
|
52
|
-
}
|
|
53
|
-
static StringAsDate(str, format = DateUtils.BACKEND_DATE_FORMAT) {
|
|
54
|
-
if (notNill(str)) {
|
|
55
|
-
if (!isNaN(Number(str))) {
|
|
56
|
-
return new Date(str);
|
|
57
|
-
}
|
|
58
|
-
else {
|
|
59
|
-
const time = moment(str, format, true);
|
|
60
|
-
return time.isValid() ? new Date(time) : undefined;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
else {
|
|
64
|
-
return undefined;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
static MomentToDate(time) {
|
|
68
|
-
if (!time || !time.isValid()) {
|
|
69
|
-
return undefined;
|
|
70
|
-
}
|
|
71
|
-
const d = new Date(time.format(DateUtils.BACKEND_DATE_FORMAT));
|
|
72
|
-
d.setHours(time.hours());
|
|
73
|
-
d.setMinutes(time.minutes());
|
|
74
|
-
d.setSeconds(time.seconds());
|
|
75
|
-
return d;
|
|
76
|
-
}
|
|
77
|
-
static GetCurrentMonth() {
|
|
78
|
-
return ALL_MONTHS[new Date().getMonth()];
|
|
79
|
-
}
|
|
80
|
-
// @returns e.g. ["FEBRUARI", "MARCH", ..] if it's Februari today, otherwise e.g. ["APRIL", "MAY", ...] if it's April today
|
|
81
|
-
static Get12MonthsArrayWithFirstMonthIsCurrentMonth() {
|
|
82
|
-
const answer = [];
|
|
83
|
-
let monthNrToAdd = new Date().getMonth();
|
|
84
|
-
for (let i = 0; i < 12; i++) {
|
|
85
|
-
answer.push(ALL_MONTHS[monthNrToAdd]);
|
|
86
|
-
monthNrToAdd = (monthNrToAdd + 1) % ALL_MONTHS.length;
|
|
87
|
-
}
|
|
88
|
-
return answer;
|
|
89
|
-
}
|
|
90
|
-
static GetFirstDayOfWeek(date) {
|
|
91
|
-
if (!DateUtils._ValidDate(date)) {
|
|
92
|
-
return null;
|
|
93
|
-
}
|
|
94
|
-
let firstDay;
|
|
95
|
-
const dayOfWeek = date.getDay() || 7;
|
|
96
|
-
if (dayOfWeek === 1) {
|
|
97
|
-
firstDay = new Date(date);
|
|
98
|
-
}
|
|
99
|
-
else {
|
|
100
|
-
firstDay = new Date(date);
|
|
101
|
-
firstDay.setHours(-24 * (dayOfWeek - 1));
|
|
102
|
-
}
|
|
103
|
-
return firstDay;
|
|
104
|
-
}
|
|
105
|
-
static GetLastDayOfWeek(date) {
|
|
106
|
-
const firstDayOfWeek = DateUtils.GetFirstDayOfWeek(date);
|
|
107
|
-
const lastDayOfWeek = new Date(firstDayOfWeek);
|
|
108
|
-
lastDayOfWeek.setDate(firstDayOfWeek.getDate() + 6);
|
|
109
|
-
return lastDayOfWeek;
|
|
110
|
-
}
|
|
111
|
-
static GetFirstDayOfMonth(date) {
|
|
112
|
-
if (!DateUtils._ValidDate(date)) {
|
|
113
|
-
return null;
|
|
114
|
-
}
|
|
115
|
-
const year = date.getFullYear();
|
|
116
|
-
const month = date.getMonth();
|
|
117
|
-
return new Date(year, month, 1);
|
|
118
|
-
}
|
|
119
|
-
static GetLastDayOfMonth(date) {
|
|
120
|
-
if (!DateUtils._ValidDate(date)) {
|
|
121
|
-
return null;
|
|
122
|
-
}
|
|
123
|
-
const year = date.getFullYear();
|
|
124
|
-
const month = date.getMonth();
|
|
125
|
-
return new Date(year, month + 1, 0);
|
|
126
|
-
}
|
|
127
|
-
static DatesEqual(date1, date2) {
|
|
128
|
-
let result = false;
|
|
129
|
-
if (DateUtils._ValidDate(date1) && DateUtils._ValidDate(date2)) {
|
|
130
|
-
result =
|
|
131
|
-
date1.getDate() === date2.getDate() &&
|
|
132
|
-
date1.getMonth() === date2.getMonth() &&
|
|
133
|
-
date1.getFullYear() === date2.getFullYear();
|
|
134
|
-
}
|
|
135
|
-
return result;
|
|
136
|
-
}
|
|
137
|
-
static DateRangeEqual(dates1, dates2) {
|
|
138
|
-
return (this.DatesEqual(dates1.startDate, dates2.startDate) &&
|
|
139
|
-
this.DatesEqual(dates1.endDate, dates2.endDate));
|
|
140
|
-
}
|
|
141
|
-
static AddMinutes(date, minutes) {
|
|
142
|
-
return new Date(date.getTime() + (minutes * 60000));
|
|
143
|
-
}
|
|
144
|
-
static AddDays(date, days) {
|
|
145
|
-
const result = new Date(date);
|
|
146
|
-
result.setDate(result.getDate() + days);
|
|
147
|
-
return result;
|
|
148
|
-
}
|
|
149
|
-
static AddMonths(date, months) {
|
|
150
|
-
const result = new Date(date);
|
|
151
|
-
result.setMonth(result.getMonth() + months);
|
|
152
|
-
return result;
|
|
153
|
-
}
|
|
154
|
-
static DetermineDSTBreakpoints() {
|
|
155
|
-
const endOfYear = new Date(new Date().getFullYear(), 11, 1);
|
|
156
|
-
let checkDate = new Date(new Date().getFullYear(), 0, 1);
|
|
157
|
-
let offset = checkDate.getTimezoneOffset();
|
|
158
|
-
const periodStart = new Date();
|
|
159
|
-
let periodStartSet = false;
|
|
160
|
-
const periodEnd = new Date();
|
|
161
|
-
let periodEndSet = false;
|
|
162
|
-
while (checkDate.getTime() < endOfYear.getTime()) {
|
|
163
|
-
checkDate = this.AddMinutes(checkDate, 60);
|
|
164
|
-
if (offset < checkDate.getTimezoneOffset()) {
|
|
165
|
-
periodEnd.setTime(checkDate.getTime());
|
|
166
|
-
periodEndSet = true;
|
|
167
|
-
}
|
|
168
|
-
else if (offset > checkDate.getTimezoneOffset()) {
|
|
169
|
-
periodStart.setTime(checkDate.getTime());
|
|
170
|
-
periodStartSet = true;
|
|
171
|
-
}
|
|
172
|
-
offset = checkDate.getTimezoneOffset();
|
|
173
|
-
if (periodStartSet && periodEndSet) {
|
|
174
|
-
break;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
if (periodStartSet && periodEndSet) {
|
|
178
|
-
return {
|
|
179
|
-
start: this._DateToTimeStringWithDateFormat(periodStart),
|
|
180
|
-
end: this._DateToTimeStringWithDateFormat(periodEnd)
|
|
181
|
-
};
|
|
182
|
-
}
|
|
183
|
-
else {
|
|
184
|
-
return { start: undefined, end: undefined }; // important otherwise we return new Date() for both
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
static _ValidDate(date) {
|
|
188
|
-
return date !== null && date !== undefined;
|
|
189
|
-
}
|
|
190
|
-
/**
|
|
191
|
-
* Returns the difference between the two given days as the number of days, in float precision (date to - date from).
|
|
192
|
-
* Returns negative values of the 'from' date is later than in time than the 'to' date.
|
|
193
|
-
*/
|
|
194
|
-
static GetDayDifference(from, to) {
|
|
195
|
-
if (!from || !to) {
|
|
196
|
-
return NaN;
|
|
197
|
-
}
|
|
198
|
-
return ((to.getTime() - from.getTime()) / 1000 / 60 / 60 / 24);
|
|
199
|
-
}
|
|
200
|
-
static IsSameDay(dateOne, dateTwo) {
|
|
201
|
-
return (dateOne && dateTwo &&
|
|
202
|
-
dateOne.getDate() === dateTwo.getDate()
|
|
203
|
-
&& dateOne.getMonth() === dateTwo.getMonth()
|
|
204
|
-
&& dateOne.getFullYear() === dateTwo.getFullYear());
|
|
205
|
-
}
|
|
206
|
-
static IsInBetween(date, startDate, endDate, withTime = true) {
|
|
207
|
-
if (startDate && endDate) {
|
|
208
|
-
if (withTime) {
|
|
209
|
-
return (date > startDate && date < endDate);
|
|
210
|
-
}
|
|
211
|
-
else {
|
|
212
|
-
const dateWithoutTime = new Date(date).setHours(0, 0, 0, 0), dateFromWithoutTime = new Date(startDate).setHours(0, 0, 0, 0), dateToWithoutTime = new Date(endDate).setHours(0, 0, 0, 0);
|
|
213
|
-
return dateWithoutTime >= dateFromWithoutTime && dateWithoutTime <= dateToWithoutTime;
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
static IsMonday(date) {
|
|
218
|
-
return date.getDay() === 1;
|
|
219
|
-
}
|
|
220
|
-
static IsSunday(date) {
|
|
221
|
-
return date.getDay() === 0;
|
|
222
|
-
}
|
|
223
|
-
static IsToday(date) {
|
|
224
|
-
const today = new Date();
|
|
225
|
-
return DateUtils.IsSameDay(today, date);
|
|
226
|
-
}
|
|
227
|
-
// Returns date format like it would when using a pipe in the templete, ie: "1 okt. 2020"
|
|
228
|
-
static ParseDateInShortDateFormat(date, locale) {
|
|
229
|
-
this.datePipe = new DatePipe(locale);
|
|
230
|
-
const parsedDate = this.datePipe.transform(date);
|
|
231
|
-
return parsedDate;
|
|
232
|
-
}
|
|
233
|
-
// Transforms a string that is formatted like "'17-08-2014'<=?<='17-08-2021'" into "'17-08-2014' Untill '17-08-2021'"
|
|
234
|
-
static getFormattedDateRangeString(dateRangeString, separator = " - ") {
|
|
235
|
-
let newString = dateRangeString;
|
|
236
|
-
newString = newString.replace("<=?<=", ` ${separator} `);
|
|
237
|
-
newString = newString.replace(/'/g, "");
|
|
238
|
-
return newString;
|
|
239
|
-
}
|
|
240
|
-
static SetDateOrDateRangeObjectHoursZero(date) {
|
|
241
|
-
if (date instanceof DateRange) {
|
|
242
|
-
if (date.startDate) {
|
|
243
|
-
date.startDate.setHours(0, 0, 0);
|
|
244
|
-
}
|
|
245
|
-
if (date.endDate) {
|
|
246
|
-
date.endDate.setHours(0, 0, 0);
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
else if (!!date && (date instanceof Date)) {
|
|
250
|
-
date.setHours(0, 0, 0, 0);
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
static _DateToTimeStringWithDateFormat(value, dateFormat = "d-m-y") {
|
|
254
|
-
if (!value) {
|
|
255
|
-
return "";
|
|
256
|
-
}
|
|
257
|
-
const hours = value.getHours() < 10 ? "0" + value.getHours() : "" + value.getHours();
|
|
258
|
-
const minutes = value.getMinutes() < 10 ? "0" + value.getMinutes() : "" + value.getMinutes();
|
|
259
|
-
return this.ParseDate(value, dateFormat) + " " + [hours, minutes].join(":");
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
DateUtils.BACKEND_DATE_FORMAT = 'YYYY-MM-DD[T]HH:mm:ss';
|
|
263
|
-
DateUtils.datePipe = new DatePipe('shortDate');
|
|
264
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW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oKCkgKyAxKSkuc2xpY2UoLTIpO1xyXG4gICAgICAgIGNvbnN0IHllYXI6IHN0cmluZyA9IGRhdGUuZ2V0RnVsbFllYXIoKSArIFwiXCI7XHJcblxyXG4gICAgICAgIGNvbnN0IGZvcm1hdFBhcnRzOiBzdHJpbmdbXSA9IGZvcm1hdC5zcGxpdChcIi1cIik7XHJcbiAgICAgICAgY29uc3QgZGF0ZVBhcnRzOiBzdHJpbmdbXSA9IFtdO1xyXG5cclxuXHJcbiAgICAgICAgZm9yIChsZXQgaTogbnVtYmVyID0gMCwgbDogbnVtYmVyID0gZm9ybWF0UGFydHMubGVuZ3RoOyBpIDwgbDsgaSsrKSB7XHJcbiAgICAgICAgICAgIHN3aXRjaCAoZm9ybWF0UGFydHNbaV0pIHtcclxuICAgICAgICAgICAgICAgIGNhc2UgXCJkXCIgOlxyXG4gICAgICAgICAgICAgICAgY2FzZSBcIkREXCIgOlxyXG4gICAgICAgICAgICAgICAgICAgIGRhdGVQYXJ0cy5wdXNoKGRheSk7XHJcbiAgICAgICAgICAgICAgICAgICAgYnJlYWs7XHJcbiAgICAgICAgICAgICAgICBjYXNlIFwibVwiIDpcclxuICAgICAgICAgICAgICAgIGNhc2UgXCJNTVwiIDpcclxuICAgICAgICAgICAgICAgICAgICBkYXRlUGFydHMucHVzaChtb250aCk7XHJcbiAgICAgICAgICAgICAgICAgICAgYnJlYWs7XHJcbiAgICAgICAgICAgICAgICBjYXNlIFwieVwiIDpcclxuICAgICAgICAgICAgICAgIGNhc2UgXCJZWVlZXCIgOlxyXG4gICAgICAgICAgICAgICAgICAgIGRhdGVQYXJ0cy5wdXNoKHllYXIpO1xyXG4gICAgICAgICAgICAgICAgICAgIGJyZWFrO1xyXG4gICAgICAgICAgICAgICAgZGVmYXVsdDpcclxuICAgICAgICAgICAgICAgICAgICBicmVhaztcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgICAgICByZXR1cm4gZGF0ZVBhcnRzLmpvaW4oXCItXC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clxuICAgICAgICAgICAgICAgIHJldHVybiBuZXcgRGF0ZShzdHIpO1xyXG4gICAgICAgICAgICB9IGVsc2Uge1xyXG4gICAgICAgICAgICAgICAgY29uc3QgdGltZTogYW55ID0gbW9tZW50KHN0ciwgZm9ybWF0LCB0cnVlKTtcclxuICAgICAgICAgICAgICAgIHJldHVybiB0aW1lLmlzVmFsaWQoKSA/IG5ldyBEYXRlKHRpbWUpIDogdW5kZWZpbmVkO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgcmV0dXJuIHVuZGVmaW5lZDtcclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgcHVibGljIHN0YXRpYyBNb21lbnRUb0RhdGUodGltZTogTW9tZW50KTogRGF0ZSB7XHJcbiAgICAgICAgaWYgKCF0aW1lIHx8ICF0aW1lLmlzVmFsaWQoKSkge1xyXG4gICAgICAgICAgICByZXR1cm4gdW5kZWZpbmVkO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgY29uc3QgZDogRGF0ZSA9IG5ldyBEYXRlKHRpbWUuZm9ybWF0KERhdGVVdGlscy5CQUNLRU5EX0RBVEVfRk9STUFUKSk7XHJcbiAgICAgICAgZC5zZXRIb3Vycyh0aW1lLmhvdXJzKCkpO1xyXG4gICAgICAgIGQuc2V0TWludXRlcyh0aW1lLm1pbnV0ZXMoKSk7XHJcbiAgICAgICAgZC5zZXRTZWNvbmRzKHRpbWUuc2Vjb25kcygpKTtcclxuICAgICAgICByZXR1cm4gZDtcclxuICAgIH1cclxuXHJcbiAgICBwdWJsaWMgc3RhdGljIEdldEN1cnJlbnRNb250aCgpOiBNb250aCB7XHJcbiAgICAgICAgcmV0dXJuIEFMTF9NT05USFNbbmV3IERhdGUoKS5nZXRNb250aCgpXTtcclxuICAgIH1cclxuXHJcbiAgICAvLyBAcmV0dXJucyBlLmcuIFtcIkZFQlJVQVJJXCIsIFwiTUFSQ0hcIiwgLi5dIGlmIGl0J3MgRmVicnVhcmkgdG9kYXksIG90aGVyd2lzZSBlLmcuIFtcIkFQUklMXCIsIFwiTUFZXCIsIC4uLl0gaWYgaXQncyBBcHJpbCB0b2RheVxyXG4gICAgcHVibGljIHN0YXRpYyBHZXQxMk1vbnRoc0FycmF5V2l0aEZpcnN0TW9udGhJc0N1cnJlbnRNb250aCgpOiBNb250aFtdIHtcclxuICAgICAgICBjb25zdCBhbnN3ZXI6IE1vbnRoW10gPSBbXTtcclxuXHJcbiAgICAgICAgbGV0IG1vbnRoTnJUb0FkZDogbnVtYmVyID0gbmV3IERhdGUoKS5nZXRNb250aCgpO1xyXG4gICAgICAgIGZvciAobGV0IGk6IG51bWJlciA9IDA7IGkgPCAxMjsgaSsrKSB7XHJcbiAgICAgICAgICAgIGFuc3dlci5wdXNoKEFMTF9NT05USFNbbW9udGhOclRvQWRkXSk7XHJcbiAgICAgICAgICAgIG1vbnRoTnJUb0FkZCA9IChtb250aE5yVG9BZGQgKyAxKSAlIEFMTF9NT05USFMubGVuZ3RoO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgcmV0dXJuIGFuc3dlcjtcclxuICAgIH1cclxuXHJcbiAgICBwdWJsaWMgc3RhdGljIEdldEZpcnN0RGF5T2ZXZWVrKGRhdGU6IERhdGUpOiBEYXRlIHtcclxuICAgICAgICBpZiAoIURhdGVVdGlscy5fVmFsaWREYXRlKGRhdGUpKSB7XHJcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xyXG4gICAgICAgIH1cclxuICAgICAgICBsZXQgZmlyc3REYXk6IERhdGU7XHJcbiAgICAgICAgY29uc3QgZGF5T2ZXZWVrOiBudW1iZXIgPSBkYXRlLmdldERheSgpIHx8IDc7XHJcbiAgICAgICAgaWYgKGRheU9mV2VlayA9PT0gMSkge1xyXG4gICAgICAgICAgICBmaXJzdERheSA9IG5ldyBEYXRlKGRhdGUpO1xyXG4gICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAgIGZpcnN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IgdGhhbiBpbiB0aW1lIHRoYW4gdGhlICd0bycgZGF0ZS5cclxuICAgICAqL1xyXG4gICAgcHVibGljIHN0YXRpYyBHZXREYXlEaWZmZXJlbmNlKGZyb206IERhdGUsIHRvOiBEYXRlKTogbnVtYmVyIHtcclxuICAgICAgICBpZiAoIWZyb20gfHwgIXRvKSB7XHJcbiAgICAgICAgICAgIHJldHVybiBOYU47XHJcbiAgICAgICAgfVxyXG4gICAgICAgIHJldHVybiAoKHRvLmdldFRpbWUoKSAtIGZyb20uZ2V0VGltZSgpKSAvIDEwMDAgLyA2MCAvIDYwIC8gMjQpO1xyXG4gICAgfVxyXG5cclxuICAgIHB1YmxpYyBzdGF0aWMgSXNTYW1lRGF5KGRhdGVPbmU6IERhdGUsIGRhdGVUd286IERhdGUpOiBib29sZWFuIHtcclxuICAgICAgICByZXR1cm4gKGRhdGVPbmUgJiYgZGF0ZVR3byAmJlxyXG4gICAgICAgICAgICBkYXRlT25lLmdldERhdGUoKSA9PT0gZGF0ZVR3by5nZXREYXRlKClcclxuICAgICAgICAgICAgJiYgZGF0ZU9uZS5nZXRNb250aCgpID09PSBkYXRlVHdvLmdldE1vbnRoKClcclxuICAgICAgICAgICAgJiYgZGF0ZU9uZS5nZXRGdWxsWWVhcigpID09PSBkYXRlVHdvLmdldEZ1bGxZZWFyKCkpO1xyXG4gICAgfVxyXG5cclxuICAgIHB1YmxpYyBzdGF0aWMgSXNJbkJldHdlZW4oZGF0ZTogRGF0ZSwgc3RhcnREYXRlOiBEYXRlLCBlbmREYXRlOiBEYXRlLCB3aXRoVGltZTogYm9vbGVhbiA9IHRydWUpOiBib29sZWFuIHtcclxuICAgICAgICBpZiAoc3RhcnREYXRlICYmIGVuZERhdGUpIHtcclxuICAgICAgICAgICAgaWYgKHdpdGhUaW1lKSB7XHJcbiAgICAgICAgICAgICAgICByZXR1cm4gKGRhdGUgPiBzdGFydERhdGUgJiYgZGF0ZSA8IGVuZERhdGUpO1xyXG4gICAgICAgICAgICB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oKTtcclxuICAgICAgICByZXR1cm4gdGhpcy5QYXJzZURhdGUodmFsdWUsIGRhdGVGb3JtYXQpICsgXCIgXCIgKyBbaG91cnMsIG1pbnV0ZXNdLmpvaW4oXCI6XCIpO1xyXG4gICAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import { CoDomainValue } from "@colijnit/mainapi/build/model/co-domain-value.bo";
|
|
2
|
-
import { NumberUtils } from "./number-utils";
|
|
3
|
-
import { StringUtils } from "./string-utils";
|
|
4
|
-
// @dynamic
|
|
5
|
-
export class EnumUtils {
|
|
6
|
-
// Returns a new array with all string values (not keys) of given string enum class.
|
|
7
|
-
static StringEnumToArray(clazz) {
|
|
8
|
-
const asArray = [];
|
|
9
|
-
const keys = Object.keys(clazz);
|
|
10
|
-
for (let i = 0, len = keys.length; i < len; i++) {
|
|
11
|
-
asArray.push(clazz[keys[i]]);
|
|
12
|
-
}
|
|
13
|
-
return asArray;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Returns a single string representation of given string enum class
|
|
17
|
-
* @param clazz
|
|
18
|
-
* @returns {string} eg "input-lov-slideout, financial-customer-group-select" for a given clazz of InputLovSlideoutComponentSelectors
|
|
19
|
-
*/
|
|
20
|
-
static StringEnumToSingleString(clazz) {
|
|
21
|
-
return StringEnumToSingleString(clazz);
|
|
22
|
-
}
|
|
23
|
-
// Get the number values from an enum
|
|
24
|
-
static GetNumberEnumValues(numberEnumClass) {
|
|
25
|
-
return this.GetObjValues(numberEnumClass).filter(value => NumberUtils.IsNumber(value));
|
|
26
|
-
}
|
|
27
|
-
// Get the the property object value names in string format from the enum
|
|
28
|
-
static GetStringEnumValues(stringEnumClass) {
|
|
29
|
-
return this.GetObjValues(stringEnumClass).filter(value => StringUtils.IsString(value));
|
|
30
|
-
}
|
|
31
|
-
static GetObjValues(numberEnumClass) {
|
|
32
|
-
return Object.keys(numberEnumClass).map(key => numberEnumClass[key]);
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Returns the enum in object format to make handling easier
|
|
36
|
-
* Works for Enums with the following format:
|
|
37
|
-
* foo: 1
|
|
38
|
-
* bar: 2
|
|
39
|
-
* etc...
|
|
40
|
-
* @param enumClass
|
|
41
|
-
* @returns {Object}
|
|
42
|
-
*/
|
|
43
|
-
static createObjectFromEnum(enumClass) {
|
|
44
|
-
// const objectifiedEnum: { refNumber: number; name: string }[] = [];
|
|
45
|
-
const objectifiedEnum = [];
|
|
46
|
-
for (const enumItem in enumClass) {
|
|
47
|
-
if (typeof enumClass[enumItem] === "number") {
|
|
48
|
-
objectifiedEnum.push({ key: enumClass[enumItem], value: enumItem });
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
return objectifiedEnum;
|
|
52
|
-
}
|
|
53
|
-
static getStringEnumKeysArray(enumType) {
|
|
54
|
-
const members = Object.keys(enumType);
|
|
55
|
-
if (!EnumUtils.isNumeral(enumType)) {
|
|
56
|
-
return members;
|
|
57
|
-
}
|
|
58
|
-
const keys = [];
|
|
59
|
-
members.forEach((x) => {
|
|
60
|
-
const parsedValue = parseInt(x, 10);
|
|
61
|
-
if (Number.isNaN(parsedValue)) {
|
|
62
|
-
keys.push(x);
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
return keys;
|
|
66
|
-
}
|
|
67
|
-
static buildPromiseDomainValueListFromEnumClass(enumClass, dictionary, keysAsDescription = false) {
|
|
68
|
-
return new Promise((resolve, reject) => {
|
|
69
|
-
try {
|
|
70
|
-
resolve(EnumUtils.buildDomainValueListFromEnumClass(enumClass, dictionary, keysAsDescription));
|
|
71
|
-
}
|
|
72
|
-
catch (e) {
|
|
73
|
-
reject();
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
static buildDomainValueListFromEnumClass(enumClass, dictionary, keysAsDescription = false) {
|
|
78
|
-
const collection = [];
|
|
79
|
-
if (keysAsDescription) {
|
|
80
|
-
const enumKeys = EnumUtils.getStringEnumKeysArray(enumClass);
|
|
81
|
-
enumKeys.forEach((key, index) => {
|
|
82
|
-
const domainObjectForLov = new CoDomainValue();
|
|
83
|
-
domainObjectForLov.code = enumClass[key];
|
|
84
|
-
domainObjectForLov.description = dictionary.get(key);
|
|
85
|
-
domainObjectForLov.sequence = index;
|
|
86
|
-
collection.push(domainObjectForLov);
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
else {
|
|
90
|
-
EnumUtils.StringEnumToArray(enumClass).forEach((strEnumVal, index) => {
|
|
91
|
-
const domainObjectForLov = new CoDomainValue();
|
|
92
|
-
domainObjectForLov.code = strEnumVal;
|
|
93
|
-
domainObjectForLov.description = dictionary.get(strEnumVal);
|
|
94
|
-
domainObjectForLov.sequence = index;
|
|
95
|
-
collection.push(domainObjectForLov);
|
|
96
|
-
});
|
|
97
|
-
}
|
|
98
|
-
return collection;
|
|
99
|
-
}
|
|
100
|
-
static getKeyByValue(enumType, enumValue) {
|
|
101
|
-
return Object.keys(enumType)[Object.values(enumType).indexOf(enumValue)];
|
|
102
|
-
}
|
|
103
|
-
static isNumeral(enumType) {
|
|
104
|
-
const members = Object.keys(enumType);
|
|
105
|
-
if (!members.some((x) => true)) {
|
|
106
|
-
throw new TypeError("Invalid enumeration type.");
|
|
107
|
-
}
|
|
108
|
-
let parsedCount = 0;
|
|
109
|
-
members.forEach((x) => {
|
|
110
|
-
const parsedValue = parseInt(x, 10);
|
|
111
|
-
if (!Number.isNaN(parsedValue)) {
|
|
112
|
-
parsedCount++;
|
|
113
|
-
}
|
|
114
|
-
});
|
|
115
|
-
return parsedCount === members.length / 2;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
// Outside the class because it's used to generate component selectors, and aot can't call statics.
|
|
119
|
-
export function StringEnumToSingleString(clazz) {
|
|
120
|
-
let str = "";
|
|
121
|
-
const keys = Object.keys(clazz);
|
|
122
|
-
for (let i = 0, len = keys.length; i < len; i++) {
|
|
123
|
-
str += clazz[keys[i]] + ", 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3QgZm9ybWF0IHRvIG1ha2UgaGFuZGxpbmcgZWFzaWVyXHJcbiAgICAgKiBXb3JrcyBmb3IgRW51bXMgd2l0aCB0aGUgZm9sbG93aW5nIGZvcm1hdDpcclxuICAgICAqIGZvbzogMVxyXG4gICAgICogYmFyOiAyXHJcbiAgICAgKiBldGMuLi5cclxuICAgICAqIEBwYXJhbSBlbnVtQ2xhc3NcclxuICAgICAqIEByZXR1cm5zIHtPYmplY3R9XHJcbiAgICAgKi9cclxuICAgIHB1YmxpYyBzdGF0aWMgY3JlYXRlT2JqZWN0RnJvbUVudW0oZW51bUNsYXNzOiBhbnkpOiBLZXlWYWx1ZVBhaXJbXSB7XHJcbiAgICAgICAvLyBjb25zdCBvYmplY3RpZmllZEVudW06IHsgcmVmTnVtYmVyOiBudW1iZXI7IG5hbWU6IHN0cmluZyB9W10gPSBbXTtcclxuICAgICAgICBjb25zdCBvYmplY3RpZmllZEVudW06IEtleVZhbHVlUGFpcltdID0gW107XHJcblxyXG4gICAgICAgIGZvciAoY29uc3QgZW51bUl0ZW0gaW4gZW51bUNsYXNzKSB7XHJcbiAgICAgICAgICAgIGlmICh0eXBlb2YgZW51bUNsYXNzW2VudW1JdGVtXSA9PT0gXCJudW1iZXJcIikge1xyXG4gICAgICAgICAgICAgICAgb2JqZWN0aWZpZWRFbnVtLnB1c2goe2tleTogPG51bWJlcj5lbnVtQ2xhc3NbZW51bUl0ZW1dLCB2YWx1ZTogZW51bUl0ZW19KTtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgcmV0dXJuIG9iamVjdGlmaWVkRW51bTtcclxuICAgIH1cclxuXHJcbiAgICBwdWJsaWMgc3RhdGljIGdldFN0cmluZ0VudW1LZXlzQXJyYXkoZW51bVR5cGU6IG9iamVjdCk6IHN0cmluZ1tdIHtcclxuICAgICAgICBjb25zdCBtZW1iZXJzID0gT2JqZWN0LmtleXMoZW51bVR5cGUpO1xyXG4gICAgICAgIGlmICghR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ICAgcHVibGljIHN0YXRpYyBidWlsZERvbWFpblZhbHVlTGlzdEZyb21FbnVtQ2xhc3MoZW51bUNsYXNzOiBhbnksIGRpY3Rpb25hcnk6IFNoYXJlZENvbXBvbmVudHNEaWN0aW9uYXJ5U2VydmljZSwga2V5c0FzRGVzY3JpcHRpb246IGJvb2xlYW4gPSBmYWxzZSk6IENvRG9tYWluVmFsdWVbXSB7XHJcbiAgICAgICAgY29uc3QgY29sbGVjdGlvbjogQ29Eb21haW5WYWx1ZVtdID0gW107XHJcblxyXG4gICAgICAgIGlmIChrZXlzQXNEZXNjcmlwdGlvbikge1xyXG4gICAgICAgICAgICBjb25zdCBlbnVtS2V5czogc3RyaW5nW10gPSBFbnVtVXRpbHMuZ2V0U3RyaW5nRW51bUtleXNBcnJheShlbnVtQ2xhc3MpO1xyXG4gICAgICAgICAgICBlbnVtS2V5cy5mb3JFYWNoKChrZXk6IHN0cmluZywgaW5kZXg6IG51bWJlcikgPT4ge1xyXG4gICAgICAgICAgICAgICAgY29uc3QgZG9tYWluT2JqZWN0Rm9yTG92OiBDb0RvbWFpblZhbHVlID0gbmV3IENvRG9tYWluVmFsdWUoKTtcclxuICAgICAgICAgICAgICAgIGRvbWFpbk9iamVjdEZvckxvdi5jb2RlID0gZW51bUNsYXNzW2tleV07XHJcbiAgICAgICAgICAgICAgICBkb21haW5PYmplY3RGb3JMb3YuZGVzY3JpcHRpb24gPSBkaWN0aW9uYXJ5LmdldChrZXkpO1xyXG4gICAgICAgICAgICAgICAgZG9tYWluT2JqZWN0Rm9yTG92LnNlcXVlbmNlID0gaW5kZXg7XHJcbiAgICAgICAgICAgICAgICBjb2xsZWN0aW9uLnB1c2goZG9tYWluT2JqZWN0Rm9yTG92KTtcclxuICAgICAgICAgICAgfSk7XHJcbiAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgRW51bVV0aWxzLlN0cmluZ0VudW1Ub0FycmF5KGVudW1DbGFzcykuZm9yRWFjaCgoc3RyRW51bVZhb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JcbiAgICAgICAgfVxyXG4gICAgICAgIGxldCBwYXJzZWRDb3VudCA9IDA7XHJcbiAgICAgICAgbWVtYmVycy5mb3JFYWNoKCh4KSA9PiB7XHJcbiAgICAgICAgICAgIGNvbnN0IHBhcnNlZFZhbHVlID0gcGFyc2VJbnQoeCwgMTApO1xyXG4gICAgICAgICAgICBpZiAoIU51bWJlci5pc05hTihwYXJzZWRWYWx1ZSkpIHtcclxuICAgICAgICAgICAgICAgIHBhcnNlZENvdW50Kys7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9KTtcclxuICAgICAgICByZXR1cm4gcGFyc2VkQ291bnQgPT09IG1lbWJlcnMubGVuZ3RoIC8gMjtcclxuICAgIH1cclxuXHJcbn1cclxuXHJcbi8vIE91dHNpZGUgdGhlIGNsYXNzIGJlY2F1c2UgaXQncyB1c2VkIHRvIGdlbmVyYXRlIGNvbXBvbmVudCBzZWxlY3RvcnMsIGFuZCBhb3QgY2FuJ3QgY2FsbCBzdGF0aWNzLlxyXG5leHBvcnQgZnVuY3Rpb24gU3RyaW5nRW51bVRvU2luZ2xlU3RyaW5nKGNsYXp6OiBhbnkpOiBzdHJpbmcge1xyXG4gICAgbGV0IHN0cjogc3RyaW5nID0gXCJcIjtcclxuXHJcbiAgICBjb25zdCBrZXlzOiBzdHJpbmdbXSA9IE9iamVjdC5rZXlzKGNsYXp6KTtcclxuICAgIGZvciAobGV0IGk6IG51bWJlciA9IDAsIGxlbjogbnVtYmVyID0ga2V5cy5sZW5ndGg7IGkgPCBsZW47IGkrKykge1xyXG4gICAgICAgIHN0ciArPSBjbGF6eltrZXlzW2ldXSArIFwiLCBcIjtcclxuICAgIH1cclxuXHJcbiAgICBzdHIgPSBTdHJpbmdVdGlscy5SZW1vdmVMYXN0Q2hhcnMoc3RyLCAyKTtcclxuICAgIHJldHVybiBzdHI7XHJcbn1cclxuIl19
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { isNill } from "./is-nill.function";
|
|
2
|
-
// @dynamic
|
|
3
|
-
export class EventUtils {
|
|
4
|
-
static get passiveSupported() {
|
|
5
|
-
if (isNill(EventUtils._passiveSupported)) {
|
|
6
|
-
EventUtils._CheckPassiveSupported();
|
|
7
|
-
}
|
|
8
|
-
return EventUtils._passiveSupported;
|
|
9
|
-
}
|
|
10
|
-
static get passiveBubble() {
|
|
11
|
-
if (isNill(EventUtils._passiveBubble)) {
|
|
12
|
-
EventUtils._passiveBubble = EventUtils.passiveSupported ? { passive: true, capture: false } : false;
|
|
13
|
-
}
|
|
14
|
-
return EventUtils._passiveBubble;
|
|
15
|
-
}
|
|
16
|
-
static get passiveCapture() {
|
|
17
|
-
if (isNill(EventUtils._passiveCapture)) {
|
|
18
|
-
EventUtils._passiveCapture = EventUtils.passiveSupported ? { passive: true, capture: true } : true;
|
|
19
|
-
}
|
|
20
|
-
return EventUtils._passiveCapture;
|
|
21
|
-
}
|
|
22
|
-
static GetMouseEventOrTouch(originalEvent) {
|
|
23
|
-
return originalEvent instanceof MouseEvent ? originalEvent : originalEvent.touches[0];
|
|
24
|
-
}
|
|
25
|
-
static StopEvent(event) {
|
|
26
|
-
if (!event) {
|
|
27
|
-
return;
|
|
28
|
-
}
|
|
29
|
-
event.preventDefault();
|
|
30
|
-
event.stopPropagation();
|
|
31
|
-
event.stopImmediatePropagation();
|
|
32
|
-
}
|
|
33
|
-
static KillEvent(event) {
|
|
34
|
-
this.StopEvent(event);
|
|
35
|
-
if (event) {
|
|
36
|
-
event.stopPropagation();
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
static _CheckPassiveSupported() {
|
|
40
|
-
let passiveSupported = false;
|
|
41
|
-
try {
|
|
42
|
-
const options = Object.defineProperty({}, "passive", {
|
|
43
|
-
get: function () {
|
|
44
|
-
passiveSupported = true;
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
window.addEventListener("test", null, options);
|
|
48
|
-
// Q; what is this? do we have to window.removeEventListener it?
|
|
49
|
-
// A: no, because it will certainly fail, but before it does it might have set the passiveSupported variable :)
|
|
50
|
-
}
|
|
51
|
-
catch (e) {
|
|
52
|
-
}
|
|
53
|
-
this._passiveSupported = passiveSupported;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
EventUtils._passiveSupported = null;
|
|
57
|
-
EventUtils._passiveCapture = null;
|
|
58
|
-
EventUtils._passiveBubble = null;
|
|
59
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZlbnQtdXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaGFyZWRjb21wb25lbnRzL3NyYy9saWIvdXRpbHMvZXZlbnQtdXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLE1BQU0sRUFBQyxNQUFNLG9CQUFvQixDQUFDO0FBRTFDLFdBQVc7QUFDWCxNQUFNLE9BQU8sVUFBVTtJQUVaLE1BQU0sS0FBSyxnQkFBZ0I7UUFDOUIsSUFBSSxNQUFNLENBQUMsVUFBVSxDQUFDLGlCQUFpQixDQUFDLEVBQUU7WUFDdEMsVUFBVSxDQUFDLHNCQUFzQixFQUFFLENBQUM7U0FDdkM7UUFDRCxPQUFPLFVBQVUsQ0FBQyxpQkFBaUIsQ0FBQztJQUN4QyxDQUFDO0lBRU0sTUFBTSxLQUFLLGFBQWE7UUFDM0IsSUFBSSxNQUFNLENBQUMsVUFBVSxDQUFDLGNBQWMsQ0FBQyxFQUFFO1lBQ25DLFVBQVUsQ0FBQyxjQUFjLEdBQUcsVUFBVSxDQUFDLGdCQUFnQixDQUFDLENBQUMsQ0FBQyxFQUFDLE9BQU8sRUFBRSxJQUFJLEVBQUUsT0FBTyxFQUFFLEtBQUssRUFBQyxDQUFDLENBQUMsQ0FBQyxLQUFLLENBQUM7U0FDckc7UUFDRCxPQUFPLFVBQVUsQ0FBQyxjQUFjLENBQUM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KTtcclxuICAgICAgICAgICAgd2luZG93LmFkZEV2ZW50TGlzdGVuZXIoXCJ0ZXN0XCIsIG51bGwsIG9wdGlvbnMpO1xyXG4gICAgICAgICAgICAvLyBROyB3aGF0IGlzIHRoaXM/IGRvIHdlIGhhdmUgdG8gd2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIgaXQ/XHJcbiAgICAgICAgICAgIC8vIEE6IG5vLCBiZWNhdXNlIGl0IHdpbGwgY2VydGFpbmx5IGZhaWwsIGJ1dCBiZWZvcmUgaXQgZG9lcyBpdCBtaWdodCBoYXZlIHNldCB0aGUgcGFzc2l2ZVN1cHBvcnRlZCB2YXJpYWJsZSA6KVxyXG4gICAgICAgIH0gY2F0Y2ggKGUpIHtcclxuICAgICAgICB9XHJcbiAgICAgICAgdGhpcy5fcGFzc2l2ZVN1cHBvcnRlZCA9IHBhc3NpdmVTdXBwb3J0ZWQ7XHJcbiAgICB9XHJcbn1cclxuIl19
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { FormQuestionResponse } from '@colijnit/mainapi/build/model/form-question-response.bo';
|
|
2
|
-
export class FormUtils {
|
|
3
|
-
static MergeResponseWithForm(form, response) {
|
|
4
|
-
var _a, _b;
|
|
5
|
-
if (form.questions && response.formQuestionResponses) {
|
|
6
|
-
(_a = form.questions) === null || _a === void 0 ? void 0 : _a.forEach((formQuestion) => {
|
|
7
|
-
let questionResponse = response.formQuestionResponses.find(qa => qa.questionId === formQuestion.questionId);
|
|
8
|
-
if (!questionResponse) {
|
|
9
|
-
questionResponse = new FormQuestionResponse();
|
|
10
|
-
questionResponse.questionId = formQuestion.questionId;
|
|
11
|
-
response.formQuestionResponses.push(questionResponse);
|
|
12
|
-
}
|
|
13
|
-
formQuestion.responseQuestion = questionResponse;
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
(_b = form.questions) === null || _b === void 0 ? void 0 : _b.forEach((formQuestion) => {
|
|
18
|
-
if (!formQuestion.responseQuestion) {
|
|
19
|
-
formQuestion.responseQuestion = new FormQuestionResponse();
|
|
20
|
-
formQuestion.responseQuestion.questionId = formQuestion.questionId;
|
|
21
|
-
}
|
|
22
|
-
else {
|
|
23
|
-
if (!response.formQuestionResponses) {
|
|
24
|
-
response.formQuestionResponses = [];
|
|
25
|
-
}
|
|
26
|
-
response.formQuestionResponses.push(formQuestion.responseQuestion);
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS11dGlscy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NoYXJlZGNvbXBvbmVudHMvc3JjL2xpYi91dGlscy9mb3JtLXV0aWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBLE9BQU8sRUFBQyxvQkFBb0IsRUFBQyxNQUFNLHlEQUF5RCxDQUFDO0FBRTdGLE1BQU0sT0FBTyxTQUFTO0lBQ1gsTUFBTSxDQUFDLHFCQUFxQixDQUFDLElBQVUsRUFBRSxRQUFzQjs7UUFDbEUsSUFBSSxJQUFJLENBQUMsU0FBUyxJQUFJLFFBQVEsQ0FBQyxxQkFBcUIsRUFBRTtZQUNsRCxNQUFBLElBQUksQ0FBQyxTQUFTLDBDQUFFLE9BQU8sQ0FBQyxDQUFDLFlBQTBCLEVBQUUsRUFBRTtnQkFDbkQsSUFBSSxnQkFBZ0IsR0FBeUIsUUFBUSxDQUFDLHFCQUFxQixDQUFDLElBQUksQ0FBQyxFQUFFLENBQUMsRUFBRSxDQUFDLEVBQUUsQ0FBQyxVQUFVLEtBQUssWUFBWSxDQUFDLFVBQVUsQ0FBQyxDQUFDO2dCQUNsSSxJQUFJLENBQUMsZ0JBQWdCLEVBQUU7b0JBQ25CLGdCQUFnQixHQUFHLElB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