@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,75 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { ReportingDocumentEmailSignDocBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-email-sign-doc-base-request';
|
|
3
|
-
import { ReportingDocumentPdfBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-pdf-base-request';
|
|
4
|
-
import { ReportingDocumentPrintSignDocBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-print-sign-doc-base-request';
|
|
5
|
-
import { Subject } from 'rxjs';
|
|
6
|
-
import { PrintPurchaseOrderForTransactionOrderWithoutLinesRequest } from '@colijnit/mainapi/build/model/print-purchase-order-for-transaction-order-without-lines-request';
|
|
7
|
-
export class SendMethodService {
|
|
8
|
-
constructor() {
|
|
9
|
-
this.reportingDocumentPrintSignDocBaseRequestChanged = new Subject();
|
|
10
|
-
this.reportingDocumentEmailSignDocBaseRequestChanged = new Subject();
|
|
11
|
-
this.reportingDocumentPdfBaseRequestChanged = new Subject();
|
|
12
|
-
this.reportingDocumentCombinedBaseRequestChanged = new Subject();
|
|
13
|
-
this.printerNotSet = new Subject();
|
|
14
|
-
this.selectedEmailAddresses = [];
|
|
15
|
-
this._reportingDocumentPrintSignDocBaseRequest = new ReportingDocumentPrintSignDocBaseRequest();
|
|
16
|
-
this._reportingDocumentEmailSignDocBaseRequest = new ReportingDocumentEmailSignDocBaseRequest();
|
|
17
|
-
this._reportingDocumentPdfBaseRequest = new ReportingDocumentPdfBaseRequest();
|
|
18
|
-
this._reportingDocumentCombinedRequest = new PrintPurchaseOrderForTransactionOrderWithoutLinesRequest();
|
|
19
|
-
}
|
|
20
|
-
set reportingDocumentPrintSignDocBaseRequest(value) {
|
|
21
|
-
this._reportingDocumentPrintSignDocBaseRequest = value;
|
|
22
|
-
this.activePrinter = this._reportingDocumentPrintSignDocBaseRequest.printerName;
|
|
23
|
-
this.reportingDocumentPrintSignDocBaseRequestChanged.next(this._reportingDocumentPrintSignDocBaseRequest);
|
|
24
|
-
}
|
|
25
|
-
get reportingDocumentPrintSignDocBaseRequest() {
|
|
26
|
-
return this._reportingDocumentPrintSignDocBaseRequest;
|
|
27
|
-
}
|
|
28
|
-
set reportingDocumentEmailSignDocBaseRequest(value) {
|
|
29
|
-
this._reportingDocumentEmailSignDocBaseRequest = value;
|
|
30
|
-
if (this._reportingDocumentEmailSignDocBaseRequest.toAddresses && this._reportingDocumentEmailSignDocBaseRequest.toAddresses.length !== 0) {
|
|
31
|
-
this.selectedEmailAddresses = this._reportingDocumentEmailSignDocBaseRequest.toAddresses.split(';');
|
|
32
|
-
}
|
|
33
|
-
else {
|
|
34
|
-
this.selectedEmailAddresses = [];
|
|
35
|
-
}
|
|
36
|
-
this.reportingDocumentEmailSignDocBaseRequestChanged.next(this._reportingDocumentEmailSignDocBaseRequest);
|
|
37
|
-
}
|
|
38
|
-
get reportingDocumentEmailSignDocBaseRequest() {
|
|
39
|
-
return this._reportingDocumentEmailSignDocBaseRequest;
|
|
40
|
-
}
|
|
41
|
-
set reportingDocumentPdfBaseRequest(value) {
|
|
42
|
-
this._reportingDocumentPdfBaseRequest = value;
|
|
43
|
-
this.reportingDocumentPdfBaseRequestChanged.next(this._reportingDocumentPdfBaseRequest);
|
|
44
|
-
}
|
|
45
|
-
get reportingDocumentPdfBaseRequest() {
|
|
46
|
-
return this._reportingDocumentPdfBaseRequest;
|
|
47
|
-
}
|
|
48
|
-
set reportingDocumentCombinedBaseRequest(value) {
|
|
49
|
-
this._reportingDocumentCombinedRequest = value;
|
|
50
|
-
this.reportingDocumentCombinedBaseRequestChanged.next(this._reportingDocumentCombinedRequest);
|
|
51
|
-
}
|
|
52
|
-
get reportingDocumentCombinedBaseRequest() {
|
|
53
|
-
return this._reportingDocumentCombinedRequest;
|
|
54
|
-
}
|
|
55
|
-
removeEmailAddress(address) {
|
|
56
|
-
if (this.selectedEmailAddresses.indexOf(address) > -1) {
|
|
57
|
-
this.selectedEmailAddresses.splice(this.selectedEmailAddresses.indexOf(address), 1);
|
|
58
|
-
this._updateEmailAddresses();
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
addEmailAddress(address) {
|
|
62
|
-
if (this.selectedEmailAddresses.indexOf(address) < 0) {
|
|
63
|
-
this.selectedEmailAddresses.push(address);
|
|
64
|
-
this._updateEmailAddresses();
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
_updateEmailAddresses() {
|
|
68
|
-
this._reportingDocumentEmailSignDocBaseRequest.toAddresses = this.selectedEmailAddresses.join(';');
|
|
69
|
-
this.reportingDocumentEmailSignDocBaseRequestChanged.next(this._reportingDocumentEmailSignDocBaseRequest);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
SendMethodService.decorators = [
|
|
73
|
-
{ type: Injectable }
|
|
74
|
-
];
|
|
75
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VuZC1tZXRob2Quc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NoYXJlZGNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL3NlbmQtbWV0aG9kLWRpYWxvZy9zZXJ2aWNlL3NlbmQtbWV0aG9kLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFVBQVUsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUMsd0NBQXdDLEVBQUMsTUFBTSw4RUFBOEUsQ0FBQztBQUN0SSxPQUFPLEVBQUMsK0JBQStCLEVBQUMsTUFBTSxtRUFBbUUsQ0FBQztBQUNsSCxPQUFPLEVBQUMsd0NBQXdDLEVBQUMsTUFBTSw4RUFBOEUsQ0FBQztBQUN0SSxPQUFPLEVBQUMsT0FBTyxFQUFDLE1BQU0sTUFBTSxDQUFDO0FBQzdCLE9BQU8sRUFBQyx3REFBd0QsRUFBQyxNQUFNLGdHQUFnRyxDQUFDO0FBR3hLLE1BQU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0aGlzLnNlbGVjdGVkRW1haWxBZGRyZXNzZXMuam9pbignOycpO1xyXG4gICAgdGhpcy5yZXBvcnRpbmdEb2N1bWVudEVtYWlsU2lnbkRvY0Jhc2VSZXF1ZXN0Q2hhbmdlZC5uZXh0KHRoaXMuX3JlcG9ydGluZ0RvY3VtZW50RW1haWxTaWduRG9jQmFzZVJlcXVlc3QpO1xyXG4gIH1cclxuXHJcbn1cclxuIl19
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, HostBinding, Input, Output, ViewEncapsulation } from "@angular/core";
|
|
2
|
-
import { IconCacheService } from "../../service/icon-cache.service";
|
|
3
|
-
import { Icon } from "../../enum/icon.enum";
|
|
4
|
-
import { SharedService } from "../../service/shared.service";
|
|
5
|
-
export class SimpleTagsComponent {
|
|
6
|
-
constructor(iconCacheService, sharedService) {
|
|
7
|
-
this.iconCacheService = iconCacheService;
|
|
8
|
-
this.sharedService = sharedService;
|
|
9
|
-
this.icon = Icon;
|
|
10
|
-
this.closeClick = new EventEmitter();
|
|
11
|
-
this.saveClick = new EventEmitter();
|
|
12
|
-
this.breadCrumbs = [];
|
|
13
|
-
this.displayTags = [];
|
|
14
|
-
this.searchString = '';
|
|
15
|
-
this._tags = [];
|
|
16
|
-
this._linkedTags = [];
|
|
17
|
-
}
|
|
18
|
-
set tags(tags) {
|
|
19
|
-
this._tags = tags;
|
|
20
|
-
}
|
|
21
|
-
get tags() {
|
|
22
|
-
return this._tags;
|
|
23
|
-
}
|
|
24
|
-
set linkedTags(tags) {
|
|
25
|
-
this._linkedTags = tags;
|
|
26
|
-
}
|
|
27
|
-
get linkedTags() {
|
|
28
|
-
return this._linkedTags;
|
|
29
|
-
}
|
|
30
|
-
showClass() {
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
handleSaveTags() {
|
|
34
|
-
this.saveClick.next(this._linkedTags);
|
|
35
|
-
this.closeClick.next();
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
SimpleTagsComponent.decorators = [
|
|
39
|
-
{ type: Component, args: [{
|
|
40
|
-
selector: "co-simple-tags",
|
|
41
|
-
template: `
|
|
42
|
-
<co-dialog
|
|
43
|
-
[headerTemplate]="headerTemplate"
|
|
44
|
-
[footerTemplate]="footerTemplate"
|
|
45
|
-
(closeClick)="closeClick.emit()"
|
|
46
|
-
>
|
|
47
|
-
<ng-template #headerTemplate>
|
|
48
|
-
<div class="header-wrapper">
|
|
49
|
-
<co-icon [iconData]="iconCacheService.getIcon(icon.TagRegular)"></co-icon>
|
|
50
|
-
<span class="co-dialog-header-title" [textContent]="'Tags'"></span>
|
|
51
|
-
</div>
|
|
52
|
-
</ng-template>
|
|
53
|
-
|
|
54
|
-
<div class="dialog-content-wrapper">
|
|
55
|
-
<co-simple-tags-form [tags]="tags" [(linkedTags)]="linkedTags"></co-simple-tags-form>
|
|
56
|
-
</div>
|
|
57
|
-
|
|
58
|
-
<ng-template #footerTemplate>
|
|
59
|
-
<div class="co-dialog-footer-button-wrapper">
|
|
60
|
-
<co-button class="save-button"
|
|
61
|
-
[iconData]="iconCacheService.getIcon(icon.CheckDuotone)"
|
|
62
|
-
(click)="handleSaveTags()"
|
|
63
|
-
></co-button>
|
|
64
|
-
<co-button
|
|
65
|
-
class="close-button"
|
|
66
|
-
[iconData]="iconCacheService.getIcon(icon.CrossSkinny)"
|
|
67
|
-
(click)="closeClick.next()"
|
|
68
|
-
></co-button>
|
|
69
|
-
</div>
|
|
70
|
-
</ng-template>
|
|
71
|
-
</co-dialog>
|
|
72
|
-
`,
|
|
73
|
-
encapsulation: ViewEncapsulation.None
|
|
74
|
-
},] }
|
|
75
|
-
];
|
|
76
|
-
SimpleTagsComponent.ctorParameters = () => [
|
|
77
|
-
{ type: IconCacheService },
|
|
78
|
-
{ type: SharedService }
|
|
79
|
-
];
|
|
80
|
-
SimpleTagsComponent.propDecorators = {
|
|
81
|
-
tags: [{ type: Input }],
|
|
82
|
-
linkedTags: [{ type: Input }],
|
|
83
|
-
closeClick: [{ type: Output }],
|
|
84
|
-
saveClick: [{ type: Output }],
|
|
85
|
-
showClass: [{ type: HostBinding, args: ["class.co-simple-tags",] }]
|
|
86
|
-
};
|
|
87
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2ltcGxlLXRhZ3MuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2hhcmVkY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvc2ltcGxlLXRhZ3Mvc2ltcGxlLXRhZ3MuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsWUFBWSxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLGlCQUFpQixFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3JHLE9BQU8sRUFBQyxnQkFBZ0IsRUFBQyxNQUFNLGtDQUFrQyxDQUFDO0FBQ2xFLE9BQU8sRUFBQyxJQUFJLEVBQUMsTUFBTSxzQkFBc0IsQ0FBQztBQUUxQyxPQUFPLEVBQUMsYUFBYSxFQUFDLE1BQU0sOEJBQThCLENBQUM7QUF1QzNELE1BQU0sT0FBTyxtQkFBbUI7SUF1QzlCLFlBQ1MsZ0JBQWtDLEVBQ2xDLGFBQTRCO1FBRDVCLHFCQUFnQixHQUFoQixnQkFBZ0IsQ0FBa0I7UUFDbEMsa0JBQWEsR0FBYixhQUFhLENBQWU7UUF4Q3JCLFNBQUksR0FBZ0IsSUFBSSxDQUFDO1FBcUJsQyxlQUFVLEdBQXVCLElBQUksWUFBWSxFQUFRLENBQUM7UUFHMUQsY0FBUyxHQUFnQyxJQUFJLFlBQVksRUFBaUIsQ0FBQztRQUUzRSxnQkFBVyxHQUFrQixFQUFFLENBQUM7UUFDaEMsZ0JBQVcs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aWMgZGlzcGxheVRhZ3M6IFRhZ1RyZWVJdGVtW10gPSBbXTtcclxuICBwdWJsaWMgc2VhcmNoU3RyaW5nOiBzdHJpbmcgPSAnJztcclxuXHJcbiAgcHJpdmF0ZSBfdGFnczogVGFnVHJlZUl0ZW1bXSA9IFtdO1xyXG4gIHByaXZhdGUgX2xpbmtlZFRhZ3M6IFRhZ1RyZWVJdGVtW10gPSBbXTtcclxuXHJcbiAgQEhvc3RCaW5kaW5nKFwiY2xhc3MuY28tc2ltcGxlLXRhZ3NcIilcclxuICBwdWJsaWMgc2hvd0NsYXNzKCkge1xyXG4gICAgcmV0dXJuIHRydWU7XHJcbiAgfVxyXG5cclxuICBjb25zdHJ1Y3RvcihcclxuICAgIHB1YmxpYyBpY29uQ2FjaGVTZXJ2aWNlOiBJY29uQ2FjaGVTZXJ2aWNlLFxyXG4gICAgcHVibGljIHNoYXJlZFNlcnZpY2U6IFNoYXJlZFNlcnZpY2UsXHJcbiAgKSB7IH1cclxuXHJcbiAgcHVibGljIGhhbmRsZVNhdmVUYWdzKCk6IHZvaWQge1xyXG4gICAgdGhpcy5zYXZlQ2xpY2submV4dCh0aGlzLl9saW5rZWRUYWdzKTtcclxuICAgIHRoaXMuY2xvc2VDbGljay5uZXh0KCk7XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { NgModule } from "@angular/core";
|
|
2
|
-
import { CommonModule } from "@angular/common";
|
|
3
|
-
import { SimpleTagsComponent } from "./simple-tags.component";
|
|
4
|
-
import { ButtonModule, CoDialogModule, IconModule, InputSearchModule } from "@colijnit/corecomponents_v12";
|
|
5
|
-
import { DragDropModule } from "@angular/cdk/drag-drop";
|
|
6
|
-
import { SimpleTagsFormModule } from "../simple-tags-form/simple-tags-form.module";
|
|
7
|
-
export class SimpleTagsModule {
|
|
8
|
-
}
|
|
9
|
-
SimpleTagsModule.decorators = [
|
|
10
|
-
{ type: NgModule, args: [{
|
|
11
|
-
imports: [
|
|
12
|
-
CommonModule,
|
|
13
|
-
CoDialogModule,
|
|
14
|
-
InputSearchModule,
|
|
15
|
-
IconModule,
|
|
16
|
-
DragDropModule,
|
|
17
|
-
ButtonModule,
|
|
18
|
-
SimpleTagsFormModule
|
|
19
|
-
],
|
|
20
|
-
declarations: [
|
|
21
|
-
SimpleTagsComponent
|
|
22
|
-
],
|
|
23
|
-
exports: [
|
|
24
|
-
SimpleTagsComponent
|
|
25
|
-
]
|
|
26
|
-
},] }
|
|
27
|
-
];
|
|
28
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2ltcGxlLXRhZ3MubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2hhcmVkY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvc2ltcGxlLXRhZ3Mvc2ltcGxlLXRhZ3MubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQzdDLE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNLHlCQUF5QixDQUFDO0FBQzVELE9BQU8sRUFBQyxZQUFZLEVBQUUsY0FBYyxFQUFFLFVBQVUsRUFBRSxpQkFBaUIsRUFBQyxNQUFNLDhCQUE4QixDQUFDO0FBQ3pHLE9BQU8sRUFBQyxjQUFjLEVBQUMsTUFBTSx3QkFBd0IsQ0FBQztBQUN0RCxPQUFPLEVBQUMsb0JBQW9CLEVBQUMsTUFBTSw2Q0FBNkMsQ0FBQztBQW1CakYsTUFBTSxPQUFPLGdCQUFnQjs7O1lBakI1QixRQUFRLFNBQUM7Z0JBQ04sT0FBTyxFQUFFO29CQUNMLFlBQVk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VUYWdzRm9ybU1vZHVsZVxyXG4gICAgXSxcclxuICBkZWNsYXJhdGlvbnM6IFtcclxuICAgIFNpbXBsZVRhZ3NDb21wb25lbnRcclxuICBdLFxyXG4gIGV4cG9ydHM6IFtcclxuICAgIFNpbXBsZVRhZ3NDb21wb25lbnRcclxuICBdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBTaW1wbGVUYWdzTW9kdWxlIHtcclxufVxyXG4iXX0=
|
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, HostBinding, Input, Output, ViewEncapsulation } from "@angular/core";
|
|
2
|
-
import { IconCacheService } from "../../service/icon-cache.service";
|
|
3
|
-
import { Icon } from "../../enum/icon.enum";
|
|
4
|
-
import { SharedService } from "../../service/shared.service";
|
|
5
|
-
export class SimpleTagsFormComponent {
|
|
6
|
-
constructor(iconCacheService, sharedService) {
|
|
7
|
-
this.iconCacheService = iconCacheService;
|
|
8
|
-
this.sharedService = sharedService;
|
|
9
|
-
this.icon = Icon;
|
|
10
|
-
this.linkedTagsChange = new EventEmitter();
|
|
11
|
-
this.breadCrumbs = [];
|
|
12
|
-
this.displayTags = [];
|
|
13
|
-
this.searchString = '';
|
|
14
|
-
this._tags = [];
|
|
15
|
-
this._linkedTags = [];
|
|
16
|
-
}
|
|
17
|
-
set tags(tags) {
|
|
18
|
-
this._tags = tags;
|
|
19
|
-
this.setRootDisplayTags();
|
|
20
|
-
}
|
|
21
|
-
set linkedTags(tags) {
|
|
22
|
-
this._linkedTags = tags;
|
|
23
|
-
tags.forEach((tag) => this._loadThumbnail(tag));
|
|
24
|
-
}
|
|
25
|
-
get linkedTags() {
|
|
26
|
-
return this._linkedTags;
|
|
27
|
-
}
|
|
28
|
-
showClass() {
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
setRootDisplayTags() {
|
|
32
|
-
this.displayTags = this._tags.filter((tag) => tag.treeLevel === 0);
|
|
33
|
-
this.breadCrumbs = [];
|
|
34
|
-
this.searchString = '';
|
|
35
|
-
}
|
|
36
|
-
handleTagSelected(selectedTag) {
|
|
37
|
-
if (selectedTag.tagType === 'TR' || selectedTag.tagType === 'TG') {
|
|
38
|
-
if (selectedTag !== this.breadCrumbs[0]) {
|
|
39
|
-
this.breadCrumbs.push(selectedTag);
|
|
40
|
-
}
|
|
41
|
-
this.displayTags = this._tags.filter((tag) => {
|
|
42
|
-
return tag.parentId === selectedTag.id && tag.treeLevel === selectedTag.treeLevel + 1;
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
handleCrumbClicked(tag, index) {
|
|
47
|
-
if (tag !== this.breadCrumbs[this.breadCrumbs.length - 1]) {
|
|
48
|
-
this.breadCrumbs.splice(index + 1);
|
|
49
|
-
this.handleTagSelected(tag);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
handleAddTag(event) {
|
|
53
|
-
const draggedTag = this.displayTags[event.previousIndex];
|
|
54
|
-
if (!this._linkedTags.includes(draggedTag)) {
|
|
55
|
-
this._linkedTags.push(this.displayTags[event.previousIndex]);
|
|
56
|
-
this._loadThumbnail(draggedTag);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
deleteLinkedTag(tag) {
|
|
60
|
-
this._linkedTags.splice(this._linkedTags.indexOf(tag), 1);
|
|
61
|
-
}
|
|
62
|
-
searchCollection() {
|
|
63
|
-
if (!this.searchString) {
|
|
64
|
-
this.searchString = '';
|
|
65
|
-
this.setRootDisplayTags();
|
|
66
|
-
return;
|
|
67
|
-
}
|
|
68
|
-
if (this.searchString.length < 2) {
|
|
69
|
-
return;
|
|
70
|
-
}
|
|
71
|
-
if (this.searchString === '') {
|
|
72
|
-
this.setRootDisplayTags();
|
|
73
|
-
return;
|
|
74
|
-
}
|
|
75
|
-
const matchingObjects = [];
|
|
76
|
-
this._tags.filter((item) => item.tagType === 'T').forEach((obj) => {
|
|
77
|
-
Object.values(obj).forEach((value) => {
|
|
78
|
-
if (typeof value === 'string' || typeof value === 'number') {
|
|
79
|
-
const stringValue = String(value).toLowerCase();
|
|
80
|
-
if (stringValue.includes(this.searchString.toLowerCase())) {
|
|
81
|
-
matchingObjects.push(obj);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
});
|
|
85
|
-
});
|
|
86
|
-
this.displayTags = matchingObjects;
|
|
87
|
-
this.breadCrumbs = [];
|
|
88
|
-
}
|
|
89
|
-
_loadThumbnail(tagTreeItem) {
|
|
90
|
-
if (tagTreeItem.image && tagTreeItem.image.documentId && !tagTreeItem.image.thumbnailBody) {
|
|
91
|
-
this.sharedService.getDocumentContent(tagTreeItem.image.documentId, true)
|
|
92
|
-
.then((result) => {
|
|
93
|
-
if (result) {
|
|
94
|
-
tagTreeItem.image.thumbnailBody = result;
|
|
95
|
-
}
|
|
96
|
-
});
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
SimpleTagsFormComponent.decorators = [
|
|
101
|
-
{ type: Component, args: [{
|
|
102
|
-
selector: "co-simple-tags-form",
|
|
103
|
-
template: `
|
|
104
|
-
<div class="form-content-wrapper">
|
|
105
|
-
<div class="collection-navigation co-small-scrollbar">
|
|
106
|
-
<span class="title" [textContent]="'Beschikbare tags'"></span>
|
|
107
|
-
<co-input-search
|
|
108
|
-
[(model)]="searchString"
|
|
109
|
-
[placeholder]="'Search for tag name'"
|
|
110
|
-
(search)="searchCollection()"
|
|
111
|
-
(modelChange)="searchCollection()"
|
|
112
|
-
(rightIconClick)="searchCollection()"
|
|
113
|
-
></co-input-search>
|
|
114
|
-
<div class="breadcrumbs">
|
|
115
|
-
<co-icon
|
|
116
|
-
[iconData]="iconCacheService.getIcon(icon.HouseBlankRegular)"
|
|
117
|
-
(click)="setRootDisplayTags()"
|
|
118
|
-
></co-icon>
|
|
119
|
-
<div class="crumbs">
|
|
120
|
-
<span class="spacer" [textContent]="'|'"></span>
|
|
121
|
-
<div class="crumb" *ngFor="let crumb of breadCrumbs; let index = index" (click)="handleCrumbClicked(crumb, index)">
|
|
122
|
-
<span class="spacer" *ngIf="index !== 0" [textContent]="'/'"></span>
|
|
123
|
-
<span [textContent]="crumb.description"></span>
|
|
124
|
-
</div>
|
|
125
|
-
</div>
|
|
126
|
-
</div>
|
|
127
|
-
<div class="collection-view"
|
|
128
|
-
cdkDropList
|
|
129
|
-
cdkDropListSortingDisabled
|
|
130
|
-
#collectionList="cdkDropList"
|
|
131
|
-
[cdkDropListData]="displayTags"
|
|
132
|
-
[cdkDropListConnectedTo]="[linkedList]">
|
|
133
|
-
<div class="collection-item"
|
|
134
|
-
*ngFor="let tag of displayTags"
|
|
135
|
-
cdkDrag
|
|
136
|
-
[cdkDragDisabled]="tag.tagType !== 'T' || linkedTags.includes(tag)"
|
|
137
|
-
[class.draggable]="tag.tagType === 'T' && !linkedTags.includes(tag)"
|
|
138
|
-
[class.disabled]="linkedTags.includes(tag)"
|
|
139
|
-
(click)="handleTagSelected(tag)">
|
|
140
|
-
|
|
141
|
-
<div class="collection-item" *cdkDragPlaceholder>
|
|
142
|
-
<co-icon *ngIf="tag.tagType === 'T'" [iconData]="iconCacheService.getIcon(icon.TagRegular)"></co-icon>
|
|
143
|
-
<span [textContent]="tag.description"></span>
|
|
144
|
-
</div>
|
|
145
|
-
|
|
146
|
-
<div *cdkDragPreview><co-icon [iconData]="iconCacheService.getIcon(icon.TagRegular)"></co-icon></div>
|
|
147
|
-
|
|
148
|
-
<co-icon *ngIf="tag.tagType === 'T'" [iconData]="iconCacheService.getIcon(icon.TagRegular)"></co-icon>
|
|
149
|
-
<span [textContent]="tag.description"></span>
|
|
150
|
-
</div>
|
|
151
|
-
</div>
|
|
152
|
-
</div>
|
|
153
|
-
|
|
154
|
-
<div class="linked-tags-view">
|
|
155
|
-
<span class="title" [textContent]="'Gekoppelde tags'"></span>
|
|
156
|
-
<div class="view-wrapper"
|
|
157
|
-
cdkDropList
|
|
158
|
-
#linkedList="cdkDropList"
|
|
159
|
-
[cdkDropListData]="linkedTags"
|
|
160
|
-
(cdkDropListDropped)="handleAddTag($event)">
|
|
161
|
-
<div class="tag-item" *ngFor="let tag of linkedTags" [cdkDragDisabled]="true" cdkDrag [style.background-color]="tag.color?.replace('0x', '#')">
|
|
162
|
-
<div class="placeholderLinked" *cdkDragPlaceholder></div>
|
|
163
|
-
|
|
164
|
-
<div class="thumbnail-description">
|
|
165
|
-
<co-icon *ngIf="!tag.image?.thumbnailBody" [iconData]="iconCacheService.getIcon(icon.TagRegular)"></co-icon>
|
|
166
|
-
<div *ngIf="tag.image" class="thumbnail-wrapper">
|
|
167
|
-
<img [src]="tag.image.thumbnailBodyAsDataUri">
|
|
168
|
-
</div>
|
|
169
|
-
|
|
170
|
-
<div class="description-wrapper">
|
|
171
|
-
<span [textContent]="tag.parentDescription"></span>
|
|
172
|
-
<span class="description" [textContent]="tag.description"></span>
|
|
173
|
-
</div>
|
|
174
|
-
</div>
|
|
175
|
-
<co-icon class="delete-tag" (click)="deleteLinkedTag(tag)"
|
|
176
|
-
[iconData]="iconCacheService.getIcon(icon.XSolid)"
|
|
177
|
-
></co-icon>
|
|
178
|
-
</div>
|
|
179
|
-
</div>
|
|
180
|
-
</div>
|
|
181
|
-
</div>
|
|
182
|
-
`,
|
|
183
|
-
encapsulation: ViewEncapsulation.None
|
|
184
|
-
},] }
|
|
185
|
-
];
|
|
186
|
-
SimpleTagsFormComponent.ctorParameters = () => [
|
|
187
|
-
{ type: IconCacheService },
|
|
188
|
-
{ type: SharedService }
|
|
189
|
-
];
|
|
190
|
-
SimpleTagsFormComponent.propDecorators = {
|
|
191
|
-
tags: [{ type: Input }],
|
|
192
|
-
linkedTags: [{ type: Input }],
|
|
193
|
-
linkedTagsChange: [{ type: Output }],
|
|
194
|
-
showClass: [{ type: HostBinding, args: ["class.co-simple-tags-form",] }]
|
|
195
|
-
};
|
|
196
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2ltcGxlLXRhZ3MtZm9ybS5jb21wb25lbn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PVwiJ1NlYXJjaCBmb3IgdGFnIG5hbWUnXCJcclxuICAgICAgICAgIChzZWFyY2gpPVwic2VhcmNoQ29sbGVjdGlvbigpXCJcclxuICAgICAgICAgIChtb2RlbENoYW5nZSk9XCJzZWFyY2hDb2xsZWN0aW9uKClcIlxyXG4gICAgICAgICAgKHJpZ2h0SWNvbkNsaWNrKT1cInNlYXJjaENvbGxlY3Rpb24oKVwiXHJcbiAgICAgICAgPjwvY28taW5wdXQtc2VhcmNoPlxyXG4gICAgICAgIDxkaXYgY2xhc3M9XCJicmVhZGNydW1ic1wiPlxyXG4gICAgICAgICAgPGNvLWljb25cclxuICAgICAgICAgICAgW2ljb25EYXRhXT1cImljb25DYWNoZVNlcnZpY2UuZ2V0SWNvbihpY29uLkhvdXNlQmxhbmtSZWd1bGFyKVwiXHJcbiAgICAgICAgICAgIChjbGljayk9XCJzZXRSb290RGlzcGxheVRhZ3MoKVwiXHJcbiAgICAgICAgICA+PC9jby1pY29uPlxyXG4gICAgICAgICAgPGRpdiBjbGFzcz1cImNydW1ic1wiPlxyXG4gICAgICAgICAgICA8c3BhbiBjbGFzcz1cInNwYWNlclwiIFt0ZXh0Q29udGVudF09XCInfCdcIj48L3NwYW4+XHJcbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJjcnVtYlwiICpuZ0Zvcj1cImxldCBjcnVtYiBvZiBicmVhZENydW1iczsgbGV0IGluZGV4ID0gaW5kZXhcIiAoY2xpY2spPVwiaGFuZGxlQ3J1bWJDbGlja2VkKGNydW1iLCBpbmRleClcIj5cclxuICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cInNwYWNlclwiICpuZ0lmPVwiaW5kZXggIT09IDBcIiBbdGV4dENvbnRlbnRdPVwiJy8nXCI+PC9zcGFuPlxyXG4gICAgICAgICAgICAgIDxzcGFuIFt0ZXh0Q29udGVudF09XCJjcnVtYi5kZXNjcmlwdGlvblwiPjwvc3Bhbj5cclxuICAgICAgICAgICAgPC9kaXY+XHJcbiA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IH1cclxuICB9XHJcbn1cclxuIl19
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { NgModule } from "@angular/core";
|
|
2
|
-
import { CommonModule } from "@angular/common";
|
|
3
|
-
import { SimpleTagsFormComponent } from "./simple-tags-form.component";
|
|
4
|
-
import { ButtonModule, CoDialogModule, IconModule, InputSearchModule } from "@colijnit/corecomponents_v12";
|
|
5
|
-
import { DragDropModule } from "@angular/cdk/drag-drop";
|
|
6
|
-
export class SimpleTagsFormModule {
|
|
7
|
-
}
|
|
8
|
-
SimpleTagsFormModule.decorators = [
|
|
9
|
-
{ type: NgModule, args: [{
|
|
10
|
-
imports: [
|
|
11
|
-
CommonModule,
|
|
12
|
-
CoDialogModule,
|
|
13
|
-
InputSearchModule,
|
|
14
|
-
IconModule,
|
|
15
|
-
DragDropModule,
|
|
16
|
-
ButtonModule
|
|
17
|
-
],
|
|
18
|
-
declarations: [
|
|
19
|
-
SimpleTagsFormComponent
|
|
20
|
-
],
|
|
21
|
-
exports: [
|
|
22
|
-
SimpleTagsFormComponent
|
|
23
|
-
]
|
|
24
|
-
},] }
|
|
25
|
-
];
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2ltcGxlLXRhZ3MtZm9ybS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaGFyZWRjb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9zaW1wbGUtdGFncy1mb3JtL3NpbXBsZS10YWdzLWZvcm0ubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQzdDLE9BQU8sRUFBQyx1QkFBdUIsRUFBQyxN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ICAgIElucHV0U2VhcmNoTW9kdWxlLFxyXG4gICAgSWNvbk1vZHVsZSxcclxuICAgIERyYWdEcm9wTW9kdWxlLFxyXG4gICAgQnV0dG9uTW9kdWxlXHJcbiAgXSxcclxuICBkZWNsYXJhdGlvbnM6IFtcclxuICAgIFNpbXBsZVRhZ3NGb3JtQ29tcG9uZW50XHJcbiAgXSxcclxuICBleHBvcnRzOiBbXHJcbiAgICBTaW1wbGVUYWdzRm9ybUNvbXBvbmVudFxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIFNpbXBsZVRhZ3NGb3JtTW9kdWxlIHtcclxufVxyXG4iXX0=
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { Component, ElementRef, EventEmitter, HostBinding, Input, Output, ViewChildren, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import { ArcElement, Chart, DoughnutController } from 'chart.js';
|
|
3
|
-
Chart.register(DoughnutController, ArcElement);
|
|
4
|
-
export var GaugeColor;
|
|
5
|
-
(function (GaugeColor) {
|
|
6
|
-
GaugeColor["Disabled"] = "#e7e7e7";
|
|
7
|
-
GaugeColor["Lowest"] = "#E0E0E0";
|
|
8
|
-
GaugeColor["Low"] = "#fff7b8";
|
|
9
|
-
GaugeColor["MediumLow"] = "#ffe367";
|
|
10
|
-
GaugeColor["MediumHigh"] = "#ffc15b";
|
|
11
|
-
GaugeColor["High"] = "#F88952";
|
|
12
|
-
GaugeColor["Highest"] = "#5FDCB3";
|
|
13
|
-
})(GaugeColor || (GaugeColor = {}));
|
|
14
|
-
export class StatusbarPopupComponent {
|
|
15
|
-
constructor() {
|
|
16
|
-
this.statusbarData = [];
|
|
17
|
-
this.statusClicked = new EventEmitter();
|
|
18
|
-
this.showClass = true;
|
|
19
|
-
this.doughnutCharts = [];
|
|
20
|
-
}
|
|
21
|
-
set content(content) {
|
|
22
|
-
this.doughnutCharts = content.toArray();
|
|
23
|
-
this._prepareChartData();
|
|
24
|
-
}
|
|
25
|
-
ngOnInit() {
|
|
26
|
-
this._prepareChartData();
|
|
27
|
-
}
|
|
28
|
-
_prepareChartData() {
|
|
29
|
-
if (!this.doughnutCharts || this.doughnutCharts.length === 0) {
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
this.doughnutCharts.forEach((chart, index) => {
|
|
33
|
-
new Chart(chart.nativeElement, {
|
|
34
|
-
type: 'doughnut',
|
|
35
|
-
data: {
|
|
36
|
-
datasets: [{
|
|
37
|
-
label: this.statusbarData[index].label,
|
|
38
|
-
data: this._getDataForChart(this.statusbarData[index].percentage),
|
|
39
|
-
backgroundColor: [
|
|
40
|
-
this._getColor(this.statusbarData[index].percentage),
|
|
41
|
-
this._getColor(-1),
|
|
42
|
-
],
|
|
43
|
-
borderWidth: 1
|
|
44
|
-
}]
|
|
45
|
-
},
|
|
46
|
-
options: {
|
|
47
|
-
cutout: '70%'
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
_getColor(value) {
|
|
53
|
-
if (value == null) {
|
|
54
|
-
return GaugeColor.Disabled;
|
|
55
|
-
}
|
|
56
|
-
else if (value <= 0) {
|
|
57
|
-
return GaugeColor.Lowest;
|
|
58
|
-
}
|
|
59
|
-
else if (value >= 1 && value < 25) {
|
|
60
|
-
return GaugeColor.Low;
|
|
61
|
-
}
|
|
62
|
-
else if (value >= 25 && value < 50) {
|
|
63
|
-
return GaugeColor.MediumLow;
|
|
64
|
-
}
|
|
65
|
-
else if (value >= 50 && value < 75) {
|
|
66
|
-
return GaugeColor.MediumHigh;
|
|
67
|
-
}
|
|
68
|
-
else if (value >= 75 && value < 100) {
|
|
69
|
-
return GaugeColor.High;
|
|
70
|
-
}
|
|
71
|
-
else if (value >= 100) {
|
|
72
|
-
return GaugeColor.Highest;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
_getDataForChart(value) {
|
|
76
|
-
if (value == null) {
|
|
77
|
-
return [100, 0];
|
|
78
|
-
}
|
|
79
|
-
else {
|
|
80
|
-
return [Math.max(0.0001, value), 100 - Math.max(0.0001, value)];
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
handleStatusClicked(label) {
|
|
84
|
-
this.statusClicked.emit(label);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
StatusbarPopupComponent.decorators = [
|
|
88
|
-
{ type: Component, args: [{
|
|
89
|
-
selector: "co-statusbar-popup",
|
|
90
|
-
template: `
|
|
91
|
-
<div class="co-statusbar-popup-wrapper" [overlay]="parentForOverlay">
|
|
92
|
-
<div class="status-descriptions">
|
|
93
|
-
<div *ngFor="let data of statusbarData; let index = index" class="status-description" (click)="handleStatusClicked(data.category ? data.category : '')">
|
|
94
|
-
<div class="statusbar-canvas-wrapper">
|
|
95
|
-
<canvas #doughnutCanvas class="chart-canvas"></canvas>
|
|
96
|
-
<span class="statusbar-inner-canvas-label" [textContent]="data.percentage"></span>
|
|
97
|
-
</div>
|
|
98
|
-
<span class="statusbar-description" [textContent]="data.label"></span>
|
|
99
|
-
</div>
|
|
100
|
-
</div>
|
|
101
|
-
</div>
|
|
102
|
-
`,
|
|
103
|
-
encapsulation: ViewEncapsulation.None
|
|
104
|
-
},] }
|
|
105
|
-
];
|
|
106
|
-
StatusbarPopupComponent.propDecorators = {
|
|
107
|
-
content: [{ type: ViewChildren, args: ['doughnutCanvas', { read: ElementRef },] }],
|
|
108
|
-
defaultColor: [{ type: Input }],
|
|
109
|
-
statusbarData: [{ type: Input }],
|
|
110
|
-
parentForOverlay: [{ type: Input }],
|
|
111
|
-
statusClicked: [{ type: Output }],
|
|
112
|
-
showClass: [{ type: HostBinding, args: ["class.co-statusbar-popup",] }]
|
|
113
|
-
};
|
|
114
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdHVzYmFyLXBvcHVwLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4u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Q2xhc3M6IGJvb2xlYW4gPSB0cnVlO1xyXG5cclxuICAgIHB1YmxpYyBkb3VnaG51dENoYXJ0czogRWxlbWVudFJlZltdID0gW107XHJcblxyXG4gICAgbmdPbkluaXQoKSB7XHJcbiAgICAgICAgdGhpcy5fcHJlcGFyZUNoYXJ0RGF0YSgpO1xyXG4gICAgfVxyXG5cclxuICAgIHByaXZhdGUgX3ByZXBhcmVDaGFydERhdGEoKTogdm9pZCB7XHJcbiAgICAgICAgaWYgKCF0aGlzLmRvdWdobnV0Q2hhcnRzIHx8IHRoaXMuZG91Z2hudXRDaGFydHMubGVuZ3RoID09PSAwKSB7XHJcbiAgICAgICAgICAgIHJldHVybjtcclxuICAgICAgICB9XHJcbiAgICAgICAgdGhpcy5kb3VnaG51dENoYXJ0cy5mb3JFYWNoKChjaGFydDogRWxlbWVudFJlZiwgaW5kZXg6IG51bWJlcikgPT4ge1xyXG4gICAgICAgICAgICBuZXcgQ2hhcnQoY2hhcnQubmF0aXZlRWxlbWVudCwge1xyXG4gICAgICAgICAgICAgICAgdHlwZTogJ2RvdWdobnV0JyxcclxuICAgICAgICAgICAgICAgIGRhdGE6IHtcclxuICAgICAgICAgICAgICAgICAgICBkYXRhc2V0czogW3tcclxuICAgICAgICAgICAgICAgICAgICAgICAgbGFiZWw6IHRoaXMuc3RhdHVzYmFyRGF0YVtpbmRleF0ubGFiZWwsXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGRhdGE6IHRoaXMuX2dldERhdGFGb3JDaGFydCh0aGlzLnN0YXR1c2JhckRhdGFbaW5kZXhdLnBlcmNlbnRhZ2UpLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kQ29sb3I6IFtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuX2dldENvbG9yKHRoaXMuc3RhdHVzYmFyRGF0YVtpbmRleF0ucGVyY2VudGFnZSksXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLl9nZXRDb2xvcigtMSksXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIF0sXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGJvcmRlcldpZHRoOiAxXHJcbiAgICAgICAgICAgICAgICAgICAgfV1cclxuICAgICAgICAgICAgICAgIH0sXHJcbiAgICAgICAgICAgICAgICBvcHRpb25zOiB7XHJcbiAgICAgICAgICAgICAgICAgICAgY3V0b3V0OiAnNzAlJ1xyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9KTtcclxuICAgICAgICB9KVxyXG4gICAgfVxyXG5cclxuICAgIHByaXZhdGUgX2dldENvbG9yKHZhbHVlOiBudW1iZXIpOiBzdHJpbmcge1xyXG4gICAgICAgIGlmICh2YWx1ZSA9PSBudWxsKSB7XHJcbiAgICAgICAgICByZXR1cm4gR2F1Z2VDb2xvci5EaXNhYmxlZDtcclxuICAgICAgICB9IGVsc2UgaWYgKHZhbHVlIDw9IDApIHtcclxuICAgICAgICAgICAgcmV0dXJuIEdhdWdlQ29sb3IuTG93ZXN0O1xyXG4gICAgICAgIH0gZWxzZSBpZiAodmFsdWUgPj0gMSAmJiB2YWx1ZSA8IDI1KSB7XHJcbiAgICAgICAgICAgIHJldHVybiBHYXVnZUNvbG9yLkxvdztcclxuICAgICAgICB9IGVsc2UgaWYgKHZhbHVlID49IDI1ICYmIHZhbHVlIDwgNTApIHtcclxuICAgICAgICAgICAgcmV0dXJuIEdhdWdlQ29sb3IuTWVkaXVtTG93O1xyXG4gICAgICAgIH0gZWxzZSBpZiAodmFsdWUgPj0gNTAgJiYgdmFsdWUgPCA3NSkge1xyXG4gICAgICAgICAgICByZXR1cm4gR2F1Z2VDb2xvci5NZWRpdW1IaWdoO1xyXG4gICAgICAgIH0gZWxzZSBpZiAodmFsdWUgPj0gNzUgJiYgdmFsdWUgPCAxMDApIHtcclxuICAgICAgICAgICAgcmV0dXJuIEdhdWdlQ29sb3IuSGlnaDtcclxuICAgICAgICB9IGVsc2UgaWYg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