@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
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
import {ChangeDetectorRef, Component, EventEmitter, HostBinding, Input, OnDestroy, Output, ViewChild, ViewEncapsulation} from '@angular/core';
|
|
2
|
+
import {FormQuestionType} from '@colijnit/mainapi/build/enum/form-question.type';
|
|
3
|
+
import {TableName} from '@colijnit/mainapi/build/enum/table-name.enum';
|
|
4
|
+
import {Form} from '@colijnit/mainapi/build/model/form.bo';
|
|
5
|
+
import {FormResponse} from '@colijnit/mainapi/build/model/form-response.bo';
|
|
6
|
+
import {InputBoolean} from '../../../decorator/input-boolean.decorator';
|
|
7
|
+
import {FormQuestion} from '@colijnit/mainapi/build/model/form-question.bo';
|
|
8
|
+
import {NULL_FORM_FULL_OBJECT, NULL_FORM_RESPONSE_OBJECT} from '../../../model/util/forms-null-object';
|
|
9
|
+
import {FormQuestionAnswer} from '@colijnit/mainapi/build/model/form-question-answer.bo';
|
|
10
|
+
import {FormQuestionResponse} from '@colijnit/mainapi/build/model/form-question-response.bo';
|
|
11
|
+
import {CoDocument} from '@colijnit/mainapi/build/model/co-document.bo';
|
|
12
|
+
import {ArrayUtils} from '../../../utils/array-utils';
|
|
13
|
+
import {BusinessObjectFactory} from '@colijnit/ioneconnector/build/service/business-object-factory';
|
|
14
|
+
import {FormUtils} from '../../../utils/form-utils';
|
|
15
|
+
import {Icon} from '../../../enum/icon.enum';
|
|
16
|
+
import {IconCacheService} from '../../../service/icon-cache.service';
|
|
17
|
+
import {UserFormMode} from '../../../enum/user-form-mode.enum';
|
|
18
|
+
import {SharedConnectorService} from '../../../service/shared-connector.service';
|
|
19
|
+
import {FilesUploadComponent} from '../../files-upload/files-upload.component';
|
|
20
|
+
import {PromptService} from '@colijnit/corecomponents_v12';
|
|
21
|
+
import {ValidationErrors} from '@angular/forms';
|
|
22
|
+
|
|
23
|
+
@Component({
|
|
24
|
+
selector: 'co-form-builder-user-form',
|
|
25
|
+
template: `
|
|
26
|
+
<co-dialog [headerTemplate]="headerTemplate" [footerTemplate]="footerTemplate" (closeClick)="handleCancelForm()">
|
|
27
|
+
<div class="main-content-wrapper">
|
|
28
|
+
<div class="section-wrapper mini-scrollbar" #sectionWrapper>
|
|
29
|
+
<co-form #coForm (validSubmit)="onValid()" [keepInView]="sectionWrapper">
|
|
30
|
+
<ng-container *ngFor="let question of cloneForm.questions; let index = index">
|
|
31
|
+
<co-form-builder-question
|
|
32
|
+
[mode]="mode"
|
|
33
|
+
[questionIndex]="index"
|
|
34
|
+
[question]="question"
|
|
35
|
+
[active]="form.questions.indexOf(question) === form.questions.indexOf(activeQuestion)"
|
|
36
|
+
[readonly]="readonly"
|
|
37
|
+
[(formResponse)]="formResponse.formQuestionResponses"
|
|
38
|
+
(updateQuestion)="enabledNextQuestion($event.question, $event.answer)">
|
|
39
|
+
</co-form-builder-question>
|
|
40
|
+
</ng-container>
|
|
41
|
+
</co-form>
|
|
42
|
+
</div>
|
|
43
|
+
<div class="section-wrapper mini-scrollbar" #sectionWrapper>
|
|
44
|
+
<co-input-checkbox [model]="formResponse?.isFinal" (modelChange)="handleDefinitiveChange($event)" [label]="'DEFINITIVE' | sharedLocalize"></co-input-checkbox>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
</co-dialog>
|
|
48
|
+
<ng-template #headerTemplate>
|
|
49
|
+
<div class="header-wrapper">
|
|
50
|
+
<span class="form-title" [textContent]="form?.formName"></span>
|
|
51
|
+
</div>
|
|
52
|
+
</ng-template>
|
|
53
|
+
<ng-template #footerTemplate>
|
|
54
|
+
<div class="footer-wrapper">
|
|
55
|
+
<div class="attachments-wrapper">
|
|
56
|
+
<div class="row">
|
|
57
|
+
<input type="file" accept="image/*" capture="environment" (change)="handleDocumentsAdded($event)">
|
|
58
|
+
<co-files-upload #filesUploadComponent
|
|
59
|
+
class="co-files-upload"
|
|
60
|
+
[documents]="formResponse.documents"
|
|
61
|
+
(documentsAdded)="handleDocumentsAdded($event)"
|
|
62
|
+
(documentChangeEvent)="handleDocumentChanged($event)"
|
|
63
|
+
(documentDeleted)="handleDocumentDeleted($event)"
|
|
64
|
+
></co-files-upload>
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
<div class="row">
|
|
68
|
+
<co-button class="save-button" (click)="commitUserForm()" [iconData]="iconCacheService.getIcon(icons.CheckDuotone)"></co-button>
|
|
69
|
+
<co-button class="close-button" [iconData]="iconCacheService.getIcon(icons.CrossSkinny)" (click)="handleCancelForm()"></co-button>
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
|
72
|
+
|
|
73
|
+
</ng-template>
|
|
74
|
+
|
|
75
|
+
`,
|
|
76
|
+
encapsulation: ViewEncapsulation.None
|
|
77
|
+
})
|
|
78
|
+
export class FormBuilderUserFormComponent implements OnDestroy {
|
|
79
|
+
|
|
80
|
+
public readonly formQuestionType: typeof FormQuestionType = FormQuestionType;
|
|
81
|
+
public readonly TableName: typeof TableName = TableName;
|
|
82
|
+
public readonly icons: typeof Icon = Icon;
|
|
83
|
+
|
|
84
|
+
public mode: UserFormMode = UserFormMode.Create;
|
|
85
|
+
public documents: CoDocument[] = [];
|
|
86
|
+
|
|
87
|
+
private _form: Form;
|
|
88
|
+
|
|
89
|
+
@ViewChild('filesUploadComponent')
|
|
90
|
+
public filesUploadComponent: FilesUploadComponent;
|
|
91
|
+
|
|
92
|
+
@Input()
|
|
93
|
+
public showPopup: boolean = false;
|
|
94
|
+
|
|
95
|
+
@Input()
|
|
96
|
+
public set form(form: Form) {
|
|
97
|
+
this._form = form;
|
|
98
|
+
this._prepareNewForm();
|
|
99
|
+
this._changeDetectorRef.detectChanges();
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
public get form(): Form {
|
|
103
|
+
return this._form;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@Input()
|
|
107
|
+
public userForm: FormResponse;
|
|
108
|
+
|
|
109
|
+
@Input()
|
|
110
|
+
public table: TableName;
|
|
111
|
+
|
|
112
|
+
@Input()
|
|
113
|
+
public key: string;
|
|
114
|
+
|
|
115
|
+
@Input()
|
|
116
|
+
@InputBoolean()
|
|
117
|
+
public readonly: boolean = false;
|
|
118
|
+
|
|
119
|
+
@Input()
|
|
120
|
+
public enableQuestions: boolean = true;
|
|
121
|
+
|
|
122
|
+
@Input()
|
|
123
|
+
public lineUUID: string = "";
|
|
124
|
+
|
|
125
|
+
@Output()
|
|
126
|
+
public readonly cancelForm: EventEmitter<void> = new EventEmitter<void>();
|
|
127
|
+
|
|
128
|
+
@Output()
|
|
129
|
+
public readonly saveForm: EventEmitter<FormResponse> = new EventEmitter<FormResponse>();
|
|
130
|
+
|
|
131
|
+
@Output()
|
|
132
|
+
public readonly definitiveChange: EventEmitter<{ value: boolean, lineUUID: string }> = new EventEmitter<{ value: boolean, lineUUID: string }>();
|
|
133
|
+
|
|
134
|
+
@Output()
|
|
135
|
+
public readonly createNewFormResponse: EventEmitter<FormResponse> = new EventEmitter<FormResponse>();
|
|
136
|
+
|
|
137
|
+
@Output()
|
|
138
|
+
public readonly errorMessage: EventEmitter<string> = new EventEmitter<string>();
|
|
139
|
+
|
|
140
|
+
public cloneForm: Form = NULL_FORM_FULL_OBJECT;
|
|
141
|
+
public formResponse: FormResponse;
|
|
142
|
+
|
|
143
|
+
public activeQuestion: FormQuestion;
|
|
144
|
+
public gotoQuestion: number;
|
|
145
|
+
|
|
146
|
+
@HostBinding('class.co-form-builder-user-form')
|
|
147
|
+
public showClass() {
|
|
148
|
+
return true;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
constructor(
|
|
152
|
+
private _detectorRef: ChangeDetectorRef,
|
|
153
|
+
private _boFactory: BusinessObjectFactory,
|
|
154
|
+
private _changeDetectorRef: ChangeDetectorRef,
|
|
155
|
+
private _sharedConnectorService: SharedConnectorService,
|
|
156
|
+
public iconCacheService: IconCacheService
|
|
157
|
+
) {
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
ngOnDestroy(): void {
|
|
161
|
+
this._detectorRef = undefined;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
public enabledNextQuestion(question: FormQuestion, answer?: FormQuestionAnswer | number): void {
|
|
165
|
+
this.activeQuestion = question;
|
|
166
|
+
if (typeof answer === 'number') {
|
|
167
|
+
answer = question.formQuestionAnswers.find(a => a.answerId === answer);
|
|
168
|
+
}
|
|
169
|
+
const gotoQuestion: number = answer ? answer.gotoQuestionId : question.gotoQuestionId;
|
|
170
|
+
const currentIndex: number = this.cloneForm.questions.findIndex(q => q.questionId === question.questionId);
|
|
171
|
+
let nextQuestion: FormQuestion = this.cloneForm.questions[currentIndex + 1];
|
|
172
|
+
if (gotoQuestion) {
|
|
173
|
+
nextQuestion = this.cloneForm.questions.find(q => q.questionId === gotoQuestion);
|
|
174
|
+
}
|
|
175
|
+
if (nextQuestion) {
|
|
176
|
+
nextQuestion.active = false;
|
|
177
|
+
this.gotoQuestion = nextQuestion.sequence;
|
|
178
|
+
} else {
|
|
179
|
+
this.gotoQuestion = undefined;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
public onValid(): void {
|
|
184
|
+
this.saveForm.next(this.formResponse);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
public async handleCancelForm(): Promise<void> {
|
|
188
|
+
if (this.userForm && this.userForm.responseId) {
|
|
189
|
+
try {
|
|
190
|
+
await this._sharedConnectorService.unlockFormResponse(this.userForm.responseId);
|
|
191
|
+
} catch (e: any) {
|
|
192
|
+
this.errorMessage.emit(<string>e);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
this.cloneForm = undefined;
|
|
196
|
+
this.userForm = undefined;
|
|
197
|
+
this.formResponse = undefined;
|
|
198
|
+
this.cancelForm.next();
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
public handleDocumentDeleted(doc: CoDocument): void {
|
|
202
|
+
ArrayUtils.RemoveElement(doc, this.formResponse.documents);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
public handleDocumentChanged(doc: CoDocument): void {
|
|
206
|
+
this.formResponse.documents.push(doc);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
public handleDocumentsAdded(docs: CoDocument[]): void {
|
|
210
|
+
docs.forEach((document: CoDocument) => {
|
|
211
|
+
this.formResponse.documents.push(document);
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
private async _prepareNewForm(): Promise<void> {
|
|
216
|
+
this.cloneForm = <Form>this._boFactory.makeWithRawBackendData(Form, this.form);
|
|
217
|
+
if (!this.userForm?.responseId) {
|
|
218
|
+
this.formResponse = <FormResponse>this._boFactory.makeWithRawBackendData(FormResponse, this.userForm);
|
|
219
|
+
this.formResponse.formId = this.form.formId;
|
|
220
|
+
this.formResponse.table = this.table;
|
|
221
|
+
this.formResponse.key = this.key;
|
|
222
|
+
FormUtils.MergeResponseWithForm(this.cloneForm, this.formResponse);
|
|
223
|
+
} else {
|
|
224
|
+
this.mode = UserFormMode.Edit;
|
|
225
|
+
this._prepareExistingForm();
|
|
226
|
+
try {
|
|
227
|
+
await this._sharedConnectorService.lockFormResponse(this.userForm.responseId);
|
|
228
|
+
} catch (e: any) {
|
|
229
|
+
this.errorMessage.emit(<string>e);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
this._loadDocs();
|
|
234
|
+
if (this.enableQuestions) {
|
|
235
|
+
this._enableQuestions();
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
private _prepareExistingForm(): void {
|
|
240
|
+
this.cloneForm = <Form>this._boFactory.makeWithRawBackendData(Form, this.form);
|
|
241
|
+
this.formResponse = <FormResponse>this._boFactory.makeWithRawBackendData(FormResponse, this.userForm);
|
|
242
|
+
FormUtils.MergeResponseWithForm(this.cloneForm, this.formResponse);
|
|
243
|
+
|
|
244
|
+
if (this.enableQuestions) {
|
|
245
|
+
this._enableQuestions();
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
private _enableQuestions(): void {
|
|
250
|
+
for (const currentIndex in this.cloneForm.questions) {
|
|
251
|
+
if (this.cloneForm.questions[currentIndex]) {
|
|
252
|
+
const nextQuestion: FormQuestion = this.cloneForm.questions[currentIndex];
|
|
253
|
+
if (nextQuestion) {
|
|
254
|
+
nextQuestion.active = false;
|
|
255
|
+
this.gotoQuestion = nextQuestion.sequence;
|
|
256
|
+
} else {
|
|
257
|
+
this.gotoQuestion = undefined;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
private _loadDocs(): void {
|
|
264
|
+
if (!this.formResponse.documents) {
|
|
265
|
+
this.formResponse.documents = [];
|
|
266
|
+
}
|
|
267
|
+
this.formResponse.documents.forEach((doc: CoDocument) => {
|
|
268
|
+
if (doc.documentId && !doc.documentBody) {
|
|
269
|
+
this._sharedConnectorService.getDocumentContent(doc.documentId).then((content: string) => {
|
|
270
|
+
doc.documentBody = content;
|
|
271
|
+
});
|
|
272
|
+
}
|
|
273
|
+
});
|
|
274
|
+
this._changeDetectorRef.detectChanges();
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
public handleDefinitiveChange(definitive: boolean) {
|
|
278
|
+
this.formResponse.isFinal = definitive;
|
|
279
|
+
this.definitiveChange.next({value: definitive, lineUUID: this.lineUUID});
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
public commitUserForm() {
|
|
283
|
+
FormUtils.MergeResponseWithForm(this.cloneForm, this.formResponse);
|
|
284
|
+
switch (this.mode) {
|
|
285
|
+
case UserFormMode.Create:
|
|
286
|
+
this.saveForm.next(this.formResponse);
|
|
287
|
+
this.handleCancelForm();
|
|
288
|
+
break;
|
|
289
|
+
case UserFormMode.Edit:
|
|
290
|
+
this.saveForm.next(this.formResponse);
|
|
291
|
+
this.handleCancelForm();
|
|
292
|
+
break;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import {NgModule} from '@angular/core';
|
|
2
|
+
import {CommonModule} from '@angular/common';
|
|
3
|
+
import {FormBuilderUserFormComponent} from './form-builder-user-form.component';
|
|
4
|
+
import {
|
|
5
|
+
ButtonModule,
|
|
6
|
+
CoDialogModule,
|
|
7
|
+
FormModule,
|
|
8
|
+
IconModule,
|
|
9
|
+
InputCheckboxModule,
|
|
10
|
+
InputDatePickerModule,
|
|
11
|
+
InputRadioButtonModule,
|
|
12
|
+
InputTextareaModule,
|
|
13
|
+
InputTextModule,
|
|
14
|
+
InputTimeModule,
|
|
15
|
+
ListOfValuesModule
|
|
16
|
+
} from '@colijnit/corecomponents_v12';
|
|
17
|
+
import {UserFormInputScaleModule} from './components/user-form-input-scale/user-form-input-scale.module';
|
|
18
|
+
import {SharedComponentsTranslationModule} from '../../../translation/shared-components-translation.module';
|
|
19
|
+
import {FilesUploadModule} from '../../files-upload/files-upload.module';
|
|
20
|
+
import {FileUploadPopupModule} from '../../file-upload-popup/file-upload-popup.module';
|
|
21
|
+
import {FileUploadModule} from '../../file-upload/file-upload.module';
|
|
22
|
+
import {FormBuilderQuestionComponent} from './form-builder-question.component';
|
|
23
|
+
|
|
24
|
+
@NgModule({
|
|
25
|
+
imports: [
|
|
26
|
+
CommonModule,
|
|
27
|
+
FormModule,
|
|
28
|
+
InputTextModule,
|
|
29
|
+
InputTextareaModule,
|
|
30
|
+
InputRadioButtonModule,
|
|
31
|
+
InputCheckboxModule,
|
|
32
|
+
ListOfValuesModule,
|
|
33
|
+
UserFormInputScaleModule,
|
|
34
|
+
InputDatePickerModule,
|
|
35
|
+
InputTimeModule,
|
|
36
|
+
SharedComponentsTranslationModule,
|
|
37
|
+
CoDialogModule,
|
|
38
|
+
ButtonModule,
|
|
39
|
+
IconModule,
|
|
40
|
+
FilesUploadModule,
|
|
41
|
+
FileUploadPopupModule,
|
|
42
|
+
FileUploadModule
|
|
43
|
+
],
|
|
44
|
+
declarations: [
|
|
45
|
+
FormBuilderUserFormComponent,
|
|
46
|
+
FormBuilderQuestionComponent
|
|
47
|
+
],
|
|
48
|
+
exports: [
|
|
49
|
+
FormBuilderUserFormComponent
|
|
50
|
+
]
|
|
51
|
+
})
|
|
52
|
+
export class FormBuilderUserFormModule {
|
|
53
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import {Component, forwardRef, HostBinding, Input, ViewEncapsulation} from '@angular/core';
|
|
2
|
+
import {SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME, ScreenConfigAdapterComponent} from '@colijnit/corecomponents_v12';
|
|
3
|
+
|
|
4
|
+
@Component({
|
|
5
|
+
selector: "co-image-display",
|
|
6
|
+
template: `
|
|
7
|
+
<img class="image" *ngIf="!!model" [src]="model">
|
|
8
|
+
<div class="no-image" *ngIf="!model">
|
|
9
|
+
<div class="img"></div>
|
|
10
|
+
<div class="no-image-label" [textContent]="label | sharedLocalize"></div>
|
|
11
|
+
</div>
|
|
12
|
+
`,
|
|
13
|
+
providers: [{
|
|
14
|
+
provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
|
|
15
|
+
useExisting: forwardRef(() => ImageDisplayComponent)}
|
|
16
|
+
],
|
|
17
|
+
encapsulation: ViewEncapsulation.None
|
|
18
|
+
})
|
|
19
|
+
export class ImageDisplayComponent implements ScreenConfigAdapterComponent {
|
|
20
|
+
// Image data URI string. Meant for direct use in [src] attribute of an <img> tag.
|
|
21
|
+
@Input()
|
|
22
|
+
public model: string;
|
|
23
|
+
|
|
24
|
+
// The (localized) text to show when there is no image. Defaults to 'NO_IMAGE'.
|
|
25
|
+
@Input()
|
|
26
|
+
public label: string = "NO_IMAGE";
|
|
27
|
+
|
|
28
|
+
@HostBinding('class.co-image-display')
|
|
29
|
+
public showClass() {
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public objectConfigName: string;
|
|
34
|
+
@HostBinding("class.co-transaction-hidden")
|
|
35
|
+
public hidden: boolean;
|
|
36
|
+
public required: boolean;
|
|
37
|
+
public forceReadonly: boolean;
|
|
38
|
+
public readonly: boolean;
|
|
39
|
+
public maxLength: number;
|
|
40
|
+
public decimals: number;
|
|
41
|
+
public redErrorBackground: boolean;
|
|
42
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {NgModule} from '@angular/core';
|
|
2
|
+
import {ImageDisplayComponent} from './image-display.component';
|
|
3
|
+
import {CoreComponentsTranslationModule} from '@colijnit/corecomponents_v12';
|
|
4
|
+
import {CommonModule} from '@angular/common';
|
|
5
|
+
import {SharedComponentsTranslationModule} from '../../translation/shared-components-translation.module';
|
|
6
|
+
|
|
7
|
+
@NgModule({
|
|
8
|
+
imports: [
|
|
9
|
+
CoreComponentsTranslationModule,
|
|
10
|
+
CommonModule,
|
|
11
|
+
SharedComponentsTranslationModule
|
|
12
|
+
],
|
|
13
|
+
declarations: [
|
|
14
|
+
ImageDisplayComponent
|
|
15
|
+
],
|
|
16
|
+
exports: [
|
|
17
|
+
ImageDisplayComponent
|
|
18
|
+
]
|
|
19
|
+
})
|
|
20
|
+
export class ImageDisplayModule {
|
|
21
|
+
|
|
22
|
+
}
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import {Component, EventEmitter, HostBinding, HostListener, Input, OnInit, Output, ViewEncapsulation} from '@angular/core';
|
|
2
|
+
import {Icon} from '../../enum/icon.enum';
|
|
3
|
+
import {IconCacheService} from '../../service/icon-cache.service';
|
|
4
|
+
import {KeyboardCode} from '../../enum/keyboard-code.enum';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'co-key-pad',
|
|
8
|
+
template: `
|
|
9
|
+
<div class="key-pad-wrapper">
|
|
10
|
+
<div class="key-pad-model-wrapper" *ngIf="showValue">
|
|
11
|
+
<co-responsive-text class="key-pad-model" [text]="internalModel" [class.negative]="isNegative"></co-responsive-text>
|
|
12
|
+
</div>
|
|
13
|
+
<div class="key-pad-button-wrapper">
|
|
14
|
+
<div class="key-pad-button button-7" (click)="handleButtonClick('7')"><co-responsive-text class="key-pad-button-text" [text]="'7'"></co-responsive-text></div>
|
|
15
|
+
<div class="key-pad-button button-8" (click)="handleButtonClick('8')"><co-responsive-text class="key-pad-button-text" [text]="'8'"></co-responsive-text></div>
|
|
16
|
+
<div class="key-pad-button button-9" (click)="handleButtonClick('9')"><co-responsive-text class="key-pad-button-text" [text]="'9'"></co-responsive-text></div>
|
|
17
|
+
<div class="key-pad-button button-bs" (click)="handleBsClick($event)">
|
|
18
|
+
<co-icon [iconData]="iconCacheService.getIcon(icons.DeleteLeftRegular)"></co-icon>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="key-pad-button button-4" (click)="handleButtonClick('4')"><co-responsive-text class="key-pad-button-text" [text]="'4'"></co-responsive-text></div>
|
|
21
|
+
<div class="key-pad-button button-5" (click)="handleButtonClick('5')"><co-responsive-text class="key-pad-button-text" [text]="'5'"></co-responsive-text></div>
|
|
22
|
+
<div class="key-pad-button button-6" (click)="handleButtonClick('6')"><co-responsive-text class="key-pad-button-text" [text]="'6'"></co-responsive-text></div>
|
|
23
|
+
<div class="key-pad-button button-minus" (click)="handleMinusClick($event)"><co-responsive-text class="key-pad-button-text" [text]="'-'"></co-responsive-text></div>
|
|
24
|
+
<div class="key-pad-button button-1" (click)="handleButtonClick('1')"><co-responsive-text class="key-pad-button-text" [text]="'1'"></co-responsive-text></div>
|
|
25
|
+
<div class="key-pad-button button-2" (click)="handleButtonClick('2')"><co-responsive-text class="key-pad-button-text" [text]="'2'"></co-responsive-text></div>
|
|
26
|
+
<div class="key-pad-button button-3" (click)="handleButtonClick('3')"><co-responsive-text class="key-pad-button-text" [text]="'3'"></co-responsive-text></div>
|
|
27
|
+
<div class="key-pad-button button-enter" (click)="handleEnterClick($event)">
|
|
28
|
+
<co-responsive-text class="key-pad-button-text" [text]="'enter'"></co-responsive-text>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="key-pad-button button-0" (click)="handleButtonClick('0')"><co-responsive-text class="key-pad-button-text" [text]="'0'"></co-responsive-text></div>
|
|
31
|
+
<div class="key-pad-button button-dot" (click)="handleButtonClick('.')"><co-responsive-text class="key-pad-button-text" [text]="'.'"></co-responsive-text></div>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
`,
|
|
35
|
+
encapsulation: ViewEncapsulation.None
|
|
36
|
+
})
|
|
37
|
+
export class KeyPadComponent {
|
|
38
|
+
public icons: typeof Icon = Icon;
|
|
39
|
+
|
|
40
|
+
@Input()
|
|
41
|
+
public set model(value: number) {
|
|
42
|
+
this._model = value;
|
|
43
|
+
this._internalModel = this._model + "";
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public get model(): number {
|
|
47
|
+
return this._model;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@Input()
|
|
51
|
+
public showValue: boolean = true;
|
|
52
|
+
|
|
53
|
+
@Input()
|
|
54
|
+
public resetModelOnInit: boolean = true;
|
|
55
|
+
|
|
56
|
+
@Input()
|
|
57
|
+
public emitModelChangeOnEnter: boolean = true;
|
|
58
|
+
|
|
59
|
+
@Output()
|
|
60
|
+
public modelChange: EventEmitter<number> = new EventEmitter<number>();
|
|
61
|
+
|
|
62
|
+
@Output()
|
|
63
|
+
public internalModelChange: EventEmitter<string> = new EventEmitter<string>();
|
|
64
|
+
|
|
65
|
+
@Output()
|
|
66
|
+
public enterClick: EventEmitter<void> = new EventEmitter<void>();
|
|
67
|
+
|
|
68
|
+
@HostBinding('class.co-key-pad')
|
|
69
|
+
public showClass() {
|
|
70
|
+
return true;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@HostListener('window:keydown', ['$event'])
|
|
74
|
+
public handleKeyDown(event: KeyboardEvent) {
|
|
75
|
+
if (document.activeElement instanceof HTMLBodyElement) {
|
|
76
|
+
this._keyDown(event);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
private readonly _validKeyMap: Map<KeyboardCode | string, string> = new Map<KeyboardCode, string>([
|
|
81
|
+
[KeyboardCode.Digit0, "0"],
|
|
82
|
+
[KeyboardCode.Digit1, "1"],
|
|
83
|
+
[KeyboardCode.Digit2, "2"],
|
|
84
|
+
[KeyboardCode.Digit3, "3"],
|
|
85
|
+
[KeyboardCode.Digit4, "4"],
|
|
86
|
+
[KeyboardCode.Digit5, "5"],
|
|
87
|
+
[KeyboardCode.Digit6, "6"],
|
|
88
|
+
[KeyboardCode.Digit7, "7"],
|
|
89
|
+
[KeyboardCode.Digit8, "8"],
|
|
90
|
+
[KeyboardCode.Digit9, "9"],
|
|
91
|
+
[KeyboardCode.Numpad0, "0"],
|
|
92
|
+
[KeyboardCode.Numpad1, "1"],
|
|
93
|
+
[KeyboardCode.Numpad2, "2"],
|
|
94
|
+
[KeyboardCode.Numpad3, "3"],
|
|
95
|
+
[KeyboardCode.Numpad4, "4"],
|
|
96
|
+
[KeyboardCode.Numpad5, "5"],
|
|
97
|
+
[KeyboardCode.Numpad6, "6"],
|
|
98
|
+
[KeyboardCode.Numpad7, "7"],
|
|
99
|
+
[KeyboardCode.Numpad8, "8"],
|
|
100
|
+
[KeyboardCode.Numpad9, "9"],
|
|
101
|
+
[KeyboardCode.NumpadDecimal, "."],
|
|
102
|
+
[KeyboardCode.Period, "."]
|
|
103
|
+
])
|
|
104
|
+
|
|
105
|
+
private _init: boolean = true;
|
|
106
|
+
|
|
107
|
+
constructor(public iconCacheService: IconCacheService) {
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
public set internalModel(value: string) {
|
|
111
|
+
this._internalModel = value;
|
|
112
|
+
this.isNegative = parseFloat(this._internalModel) < 0;
|
|
113
|
+
this.internalModelChange.emit(this._internalModel);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
public get internalModel(): string {
|
|
117
|
+
return this._internalModel;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
public isNegative: boolean = false;
|
|
121
|
+
|
|
122
|
+
private _model: number = 0;
|
|
123
|
+
private _internalModel: string = "0";
|
|
124
|
+
private _maxCharacters: number = 11;
|
|
125
|
+
|
|
126
|
+
public handleMinusClick(event: MouseEvent | KeyboardEvent): void {
|
|
127
|
+
const model: number = parseFloat(this.internalModel);
|
|
128
|
+
if (model !== 0) {
|
|
129
|
+
if (model < 0) {
|
|
130
|
+
this.internalModel = Math.abs(model) + "";
|
|
131
|
+
} else {
|
|
132
|
+
this.internalModel = -model + "";
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
this._emitModelChange();
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
public handleClearClick(event: MouseEvent | KeyboardEvent): void {
|
|
139
|
+
this.internalModel = "0";
|
|
140
|
+
this._emitModelChange();
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
public handleBsClick(event: MouseEvent | KeyboardEvent): void {
|
|
144
|
+
let wish: string = this.internalModel;
|
|
145
|
+
wish = wish.slice(0, wish.length - 1) || "0";
|
|
146
|
+
if (!isNaN(parseFloat(wish))) {
|
|
147
|
+
this.internalModel = parseFloat(wish) + "";
|
|
148
|
+
}
|
|
149
|
+
this._emitModelChange();
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
public handleButtonClick(chr: string): void {
|
|
153
|
+
this._updateModel(chr);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
public handleEnterClick(event: MouseEvent | KeyboardEvent): void {
|
|
157
|
+
this._emitModelChange(true);
|
|
158
|
+
this.enterClick.emit();
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
private _updateModel(value: string): void {
|
|
162
|
+
if (this.resetModelOnInit && this._init) {
|
|
163
|
+
this._internalModel = "0";
|
|
164
|
+
this._init = false;
|
|
165
|
+
}
|
|
166
|
+
if (value === undefined || value === null ||
|
|
167
|
+
(value === '.' && this.internalModel.indexOf('.') > -1) ||
|
|
168
|
+
this.internalModel.length >= this._maxCharacters) {
|
|
169
|
+
return;
|
|
170
|
+
}
|
|
171
|
+
this.internalModel = this.internalModel !== "0" ? this.internalModel + value : value;
|
|
172
|
+
this._emitModelChange();
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
private _keyDown(event: KeyboardEvent): void {
|
|
176
|
+
if (this._isEnter(event)) {
|
|
177
|
+
this.handleEnterClick(event);
|
|
178
|
+
} else if (this._isMinus(event)) {
|
|
179
|
+
this.handleMinusClick(event);
|
|
180
|
+
} else if (this._isEscape(event)) {
|
|
181
|
+
this.handleClearClick(event);
|
|
182
|
+
} else if (this._isBackspace(event)) {
|
|
183
|
+
this.handleBsClick(event);
|
|
184
|
+
} else {
|
|
185
|
+
this._updateModel(this._validKeyMap.get(event.code));
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
private _isEnter(event: KeyboardEvent): boolean {
|
|
190
|
+
return event.code === KeyboardCode.Enter || event.code === KeyboardCode.NumpadEnter;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
private _isMinus(event: KeyboardEvent): boolean {
|
|
194
|
+
return event.code === KeyboardCode.Minus || event.code === KeyboardCode.NumpadSubtract;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
private _isEscape(event: KeyboardEvent): boolean {
|
|
198
|
+
return event.code === KeyboardCode.Escape;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
private _isBackspace(event: KeyboardEvent): boolean {
|
|
202
|
+
return event.code === KeyboardCode.Backspace;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
private _emitModelChange(enter: boolean = false): void {
|
|
206
|
+
if ((enter && this.emitModelChangeOnEnter) || (!enter && !this.emitModelChangeOnEnter)) {
|
|
207
|
+
const model: number = parseFloat(this.internalModel);
|
|
208
|
+
if (!isNaN(model)) {
|
|
209
|
+
if (enter && this.emitModelChangeOnEnter) {
|
|
210
|
+
this.model = model;
|
|
211
|
+
}
|
|
212
|
+
this.modelChange.emit(model);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {NgModule} from '@angular/core';
|
|
2
|
+
import {CommonModule} from '@angular/common';
|
|
3
|
+
import {KeyPadComponent} from './key-pad.component';
|
|
4
|
+
import {IconModule, ResponsiveTextModule} from '@colijnit/corecomponents_v12';
|
|
5
|
+
|
|
6
|
+
@NgModule({
|
|
7
|
+
imports: [
|
|
8
|
+
CommonModule,
|
|
9
|
+
IconModule,
|
|
10
|
+
ResponsiveTextModule
|
|
11
|
+
],
|
|
12
|
+
declarations: [
|
|
13
|
+
KeyPadComponent
|
|
14
|
+
],
|
|
15
|
+
exports: [
|
|
16
|
+
KeyPadComponent
|
|
17
|
+
]
|
|
18
|
+
})
|
|
19
|
+
export class KeyPadModule {
|
|
20
|
+
}
|