@colijnit/sharedcomponents 1.0.54 → 1.0.56
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/.vscode/extensions.json +4 -0
- package/.vscode/launch.json +20 -0
- package/.vscode/tasks.json +42 -0
- package/README.md +11 -8
- package/Sharedcomponents.iml +11 -0
- package/angular.json +177 -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 +68 -31
- 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 +23 -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_fat_right.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/arrow_point_left.svg +8 -0
- package/projects/sharedcomponents/src/lib/assets/icons/arrow_point_right.svg +4 -0
- package/projects/sharedcomponents/src/lib/assets/icons/at_solid.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/bring_forward_regular.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/cross_skinny.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/email.svg +5 -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_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/house_blank_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/pdf.svg +15 -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/signature_field.svg +9 -0
- package/projects/sharedcomponents/src/lib/assets/icons/tag_regular.svg +1 -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/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 +275 -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/{lib → projects/sharedcomponents/src/lib}/components/date-planning/component/agenda/style/_layout.scss +12 -12
- package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/component/agenda/style/_material-definition.scss +2 -1
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/view-select.component.ts +43 -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 +141 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/date-planning.module.ts +61 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/style/material.scss +7 -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 +270 -0
- package/projects/sharedcomponents/src/lib/components/docsign/docsign.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 +57 -0
- package/projects/sharedcomponents/src/lib/components/linear-gauge/co-linear-gauge.module.ts +17 -0
- package/projects/sharedcomponents/src/lib/components/login/components/login-base.component.ts +98 -0
- package/projects/sharedcomponents/src/lib/components/login/components/login-change-password.component.ts +194 -0
- package/projects/sharedcomponents/src/lib/components/login/components/login-mfa-code-entry.component.ts +41 -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 +167 -0
- package/projects/sharedcomponents/src/lib/components/login/localization/login-translation.ts +15 -0
- package/projects/sharedcomponents/src/lib/components/login/login.component.ts +137 -0
- package/projects/sharedcomponents/src/lib/components/login/login.module.ts +53 -0
- package/projects/sharedcomponents/src/lib/components/login/service/login-adapter.service.ts +58 -0
- package/projects/sharedcomponents/src/lib/components/login/service/login.service.ts +50 -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/layout-selection/layout-selection.component.ts +91 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.ts +19 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.ts +84 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.ts +19 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.ts +63 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.ts +24 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.ts +38 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.ts +21 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-pdf/style/_layout.scss +25 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-pdf/style/_material-definition.scss +5 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-pdf/style/_theme.scss +5 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.ts +60 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.ts +26 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/signature-button/signature-button.component.ts +42 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/signature-button/signature-button.module.ts +19 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/signature-button/style/material.scss +4 -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 +325 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/send-method-dialog.module.ts +32 -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 +63 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/style/_layout.scss +1 -1
- package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/style/material.scss +1 -0
- package/projects/sharedcomponents/src/lib/components/simple-tags/simple-tags.component.ts +243 -0
- package/projects/sharedcomponents/src/lib/components/simple-tags/simple-tags.module.ts +24 -0
- package/projects/sharedcomponents/src/lib/components/statusbar/statusbar-popup.component.ts +100 -0
- package/projects/sharedcomponents/src/lib/components/statusbar/statusbar.component.ts +107 -0
- package/projects/sharedcomponents/src/lib/components/statusbar/statusbar.module.ts +25 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.ts +45 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.ts +45 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/order-stock-history/order-stock-history.component.ts +45 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/order-stock-tab/order-stock-tab.component.ts +43 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.ts +45 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/order-tab/order-tab.component.ts +71 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/stock-history/stock-history.component.ts +52 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/stock-location/stock-location.component.ts +276 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/stock-prognose/stock-prognose.component.ts +49 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/stock-tab/stock-tab.component.ts +40 -0
- package/projects/sharedcomponents/src/lib/components/stock/localization/translation.ts +60 -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 +56 -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 +276 -0
- package/{lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.d.ts → projects/sharedcomponents/src/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.ts} +2 -2
- 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 +178 -0
- package/projects/sharedcomponents/src/lib/components/stock/stock.component.ts +228 -0
- package/projects/sharedcomponents/src/lib/components/stock/stock.module.ts +97 -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 +106 -0
- package/projects/sharedcomponents/src/lib/components/tab-bar/tab-bar.module.ts +20 -0
- package/projects/sharedcomponents/src/lib/components/tab-bar/tab.interface.ts +5 -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 +258 -0
- package/projects/sharedcomponents/src/lib/components/tags/tags.component.ts +192 -0
- package/projects/sharedcomponents/src/lib/components/tags/tags.module.ts +27 -0
- package/projects/sharedcomponents/src/lib/directives/click-outside.directive.ts +25 -0
- package/projects/sharedcomponents/src/lib/enum/calendar-view.enum.ts +8 -0
- package/projects/sharedcomponents/src/lib/enum/gauge-color.enum.ts +8 -0
- package/{lib/enum/icon.enum.d.ts → projects/sharedcomponents/src/lib/enum/icon.enum.ts} +3 -2
- package/projects/sharedcomponents/src/lib/enum/keyboard-code.enum.ts +30 -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/{lib/enum/month.enum.d.ts → projects/sharedcomponents/src/lib/enum/month.enum.ts} +2 -1
- package/projects/sharedcomponents/src/lib/enum/tag-category.enum.ts +20 -0
- package/projects/sharedcomponents/src/lib/enum/thumb-three-way-state.ts +18 -0
- package/{lib/enum/time-period.enum.d.ts → projects/sharedcomponents/src/lib/enum/time-period.enum.ts} +2 -1
- package/projects/sharedcomponents/src/lib/localization/localization.module.ts +17 -0
- package/projects/sharedcomponents/src/lib/localization/localize.pipe.ts +21 -0
- package/projects/sharedcomponents/src/lib/localization/localize.service.ts +28 -0
- package/projects/sharedcomponents/src/lib/localization/translation.ts +2 -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 +37 -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/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/master-pipes.ts +7 -0
- package/projects/sharedcomponents/src/lib/pipe/ucfirst.pipe.ts +14 -0
- package/projects/sharedcomponents/src/lib/service/dictionary.service.ts +86 -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 +401 -0
- package/projects/sharedcomponents/src/lib/service/shared-initializer.service.ts +29 -0
- package/projects/sharedcomponents/src/lib/service/shared.service.ts +49 -0
- package/projects/sharedcomponents/src/lib/service/stock.service.ts +124 -0
- package/projects/sharedcomponents/src/lib/utils/array-utils.ts +225 -0
- package/projects/sharedcomponents/src/lib/utils/calendar.utils.ts +75 -0
- package/projects/sharedcomponents/src/lib/utils/check-precision-and-scale-result.ts +5 -0
- package/projects/sharedcomponents/src/lib/utils/check-within-stepped-bounds-result.ts +8 -0
- package/projects/sharedcomponents/src/lib/utils/css-utils.ts +275 -0
- package/projects/sharedcomponents/src/lib/utils/date-utils.ts +302 -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/string-utils.ts +67 -0
- package/projects/sharedcomponents/src/lib/utils/tree-utils.ts +63 -0
- package/{public-api.d.ts → projects/sharedcomponents/src/public-api.ts} +7 -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/merge-icons.js +39 -0
- package/src/app/app.component.scss +31 -0
- package/src/app/app.component.spec.ts +31 -0
- package/src/app/app.component.ts +454 -0
- package/src/app/app.module.ts +69 -0
- package/src/app/bundle/index.html +14 -0
- package/src/app/bundle/login/login-bundle.component.scss +6 -0
- package/src/app/bundle/login/login-bundle.component.ts +111 -0
- package/src/app/bundle/login/login-bundle.module.ts +30 -0
- package/src/app/bundle/main-login-bundle.ts +11 -0
- package/src/app/bundle/polyfills.ts +63 -0
- package/src/app/test-data.service.ts +60 -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 +54 -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 -6630
- package/bundles/colijnit-sharedcomponents.umd.js.map +0 -1
- package/colijnit-sharedcomponents.d.ts +0 -72
- package/colijnit-sharedcomponents.metadata.json +0 -1
- package/esm2015/colijnit-sharedcomponents.js +0 -73
- package/esm2015/lib/assets/dictionary/text.properties.js +0 -11
- 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 -32
- package/esm2015/lib/components/date-planning/component/agenda/agenda-event.component.js +0 -54
- package/esm2015/lib/components/date-planning/component/agenda/agenda-events.component.js +0 -43
- 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 -232
- 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 -42
- 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 -108
- package/esm2015/lib/components/date-planning/date-planning.module.js +0 -63
- 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 -242
- package/esm2015/lib/components/docsign/docsign.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 -59
- package/esm2015/lib/components/linear-gauge/co-linear-gauge.module.js +0 -19
- package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.js +0 -79
- package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.js +0 -21
- package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.js +0 -85
- package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.js +0 -21
- package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.js +0 -64
- package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.js +0 -26
- package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.js +0 -59
- package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.js +0 -28
- package/esm2015/lib/components/send-method-dialog/components/signature-button/signature-button.component.js +0 -38
- package/esm2015/lib/components/send-method-dialog/components/signature-button/signature-button.module.js +0 -21
- 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 -243
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.module.js +0 -33
- 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 -59
- package/esm2015/lib/components/simple-tags/simple-tags.component.js +0 -229
- package/esm2015/lib/components/simple-tags/simple-tags.module.js +0 -26
- package/esm2015/lib/components/statusbar/statusbar-popup.component.js +0 -97
- package/esm2015/lib/components/statusbar/statusbar.component.js +0 -81
- package/esm2015/lib/components/statusbar/statusbar.module.js +0 -27
- package/esm2015/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.js +0 -46
- package/esm2015/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.js +0 -46
- package/esm2015/lib/components/stock/components/order-stock-history/order-stock-history.component.js +0 -46
- package/esm2015/lib/components/stock/components/order-stock-tab/order-stock-tab.component.js +0 -46
- package/esm2015/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.js +0 -46
- package/esm2015/lib/components/stock/components/order-tab/order-tab.component.js +0 -65
- package/esm2015/lib/components/stock/components/stock-history/stock-history.component.js +0 -51
- package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +0 -236
- package/esm2015/lib/components/stock/components/stock-prognose/stock-prognose.component.js +0 -51
- package/esm2015/lib/components/stock/components/stock-tab/stock-tab.component.js +0 -40
- package/esm2015/lib/components/stock/localization/translation.js +0 -63
- 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 -48
- 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 -220
- 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 -147
- package/esm2015/lib/components/stock/stock.component.js +0 -186
- package/esm2015/lib/components/stock/stock.module.js +0 -80
- 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 -85
- package/esm2015/lib/components/tab-bar/tab-bar.module.js +0 -21
- package/esm2015/lib/components/tab-bar/tab.interface.js +0 -2
- package/esm2015/lib/enum/calendar-view.enum.js +0 -8
- package/esm2015/lib/enum/gauge-color.enum.js +0 -10
- package/esm2015/lib/enum/icon.enum.js +0 -38
- package/esm2015/lib/enum/keyboard-code.enum.js +0 -32
- package/esm2015/lib/enum/language-code.enum.js +0 -8
- package/esm2015/lib/enum/month.enum.js +0 -17
- package/esm2015/lib/enum/thumb-three-way-state.js +0 -19
- package/esm2015/lib/enum/time-period.enum.js +0 -11
- package/esm2015/lib/localization/localization.module.js +0 -19
- package/esm2015/lib/localization/localize.pipe.js +0 -26
- package/esm2015/lib/localization/localize.service.js +0 -30
- package/esm2015/lib/localization/translation.js +0 -3
- 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 -37
- 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/time-window.bo.js +0 -26
- 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/master-pipes.js +0 -7
- package/esm2015/lib/pipe/ucfirst.pipe.js +0 -16
- package/esm2015/lib/service/dictionary.service.js +0 -76
- 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 -424
- package/esm2015/lib/service/shared.service.js +0 -60
- package/esm2015/lib/service/stock.service.js +0 -110
- package/esm2015/lib/utils/calendar.utils.js +0 -69
- package/esm2015/lib/utils/date-utils.js +0 -264
- package/esm2015/lib/utils/function/not-nill.function.js +0 -5
- package/esm2015/lib/utils/map-utils.js +0 -41
- package/esm2015/lib/utils/string-utils.js +0 -64
- package/esm2015/public-api.js +0 -24
- package/fesm2015/colijnit-sharedcomponents.js +0 -6884
- package/fesm2015/colijnit-sharedcomponents.js.map +0 -1
- package/lib/assets/dictionary/text.properties.d.ts +0 -3
- 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 -6
- package/lib/components/date-planning/component/agenda/agenda-event.component.d.ts +0 -17
- package/lib/components/date-planning/component/agenda/agenda-events.component.d.ts +0 -12
- 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 -47
- 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 -11
- 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 -8
- package/lib/components/date-planning/component/agenda/view-select.component.d.ts +0 -11
- 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 -26
- package/lib/components/date-planning/date-planning.module.d.ts +0 -2
- package/lib/components/date-planning/style/material.scss +0 -5
- 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 -94
- package/lib/components/docsign/docsign.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/send-method-dialog/components/layout-selection/layout-selection.component.d.ts +0 -19
- 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 -19
- 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-email/send-method-email.component.d.ts +0 -14
- 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-printer/send-method-printer.component.d.ts +0 -12
- 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 -12
- 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 -68
- 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 -23
- package/lib/components/simple-tags/simple-tags.component.d.ts +0 -31
- package/lib/components/simple-tags/simple-tags.module.d.ts +0 -2
- package/lib/components/statusbar/statusbar-popup.component.d.ts +0 -21
- package/lib/components/statusbar/statusbar.component.d.ts +0 -26
- package/lib/components/statusbar/statusbar.module.d.ts +0 -2
- package/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.d.ts +0 -9
- package/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.d.ts +0 -9
- package/lib/components/stock/components/order-stock-history/order-stock-history.component.d.ts +0 -9
- package/lib/components/stock/components/order-stock-tab/order-stock-tab.component.d.ts +0 -11
- package/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.d.ts +0 -9
- package/lib/components/stock/components/order-tab/order-tab.component.d.ts +0 -20
- package/lib/components/stock/components/stock-history/stock-history.component.d.ts +0 -13
- package/lib/components/stock/components/stock-location/stock-location.component.d.ts +0 -50
- package/lib/components/stock/components/stock-prognose/stock-prognose.component.d.ts +0 -11
- package/lib/components/stock/components/stock-tab/stock-tab.component.d.ts +0 -9
- package/lib/components/stock/localization/translation.d.ts +0 -60
- 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 -8
- 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 -54
- 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 -42
- package/lib/components/stock/stock.component.d.ts +0 -57
- 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 -5
- package/lib/enum/calendar-view.enum.d.ts +0 -6
- package/lib/enum/gauge-color.enum.d.ts +0 -8
- package/lib/enum/keyboard-code.enum.d.ts +0 -30
- package/lib/enum/language-code.enum.d.ts +0 -6
- package/lib/enum/thumb-three-way-state.d.ts +0 -6
- package/lib/localization/localization.module.d.ts +0 -2
- package/lib/localization/localize.pipe.d.ts +0 -7
- package/lib/localization/localize.service.d.ts +0 -7
- package/lib/localization/translation.d.ts +0 -2
- package/lib/model/agenda-event-per-day.model.d.ts +0 -5
- package/lib/model/agenda-event.model.d.ts +0 -16
- 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/time-window.bo.d.ts +0 -13
- 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/master-pipes.d.ts +0 -1
- package/lib/pipe/ucfirst.pipe.d.ts +0 -4
- package/lib/service/dictionary.service.d.ts +0 -21
- 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 -53
- package/lib/service/shared.service.d.ts +0 -18
- package/lib/service/stock.service.d.ts +0 -41
- package/lib/utils/calendar.utils.d.ts +0 -10
- package/lib/utils/date-utils.d.ts +0 -44
- package/lib/utils/function/not-nill.function.d.ts +0 -1
- package/lib/utils/map-utils.d.ts +0 -16
- package/lib/utils/string-utils.d.ts +0 -22
- /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/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/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/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/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/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-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/components/send-method-dialog/components/send-method-printer → 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/components/send-method-dialog/components/signature-button → 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/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/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/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}/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
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {Component, Input, ViewEncapsulation} from "@angular/core";
|
|
2
|
+
import {Icon} from "../../../enum/icon.enum";
|
|
3
|
+
import {ArticleStock as ArticleStockBo} from "@colijnit/articleapi/build/model/article-stock.bo";
|
|
4
|
+
|
|
5
|
+
@Component({
|
|
6
|
+
selector: "co-stock-history-tabs",
|
|
7
|
+
template: `
|
|
8
|
+
<div class="stock-history-tabs-wrapper">
|
|
9
|
+
<div class="tab-container">
|
|
10
|
+
<div class="tab-header">
|
|
11
|
+
<button class="tab-button" (click)="selectedTab = 0" [class.active]="selectedTab === 0">{{ 'STOCK' | localize }}</button>
|
|
12
|
+
<button class="tab-button" (click)="selectedTab = 1" [class.active]="selectedTab === 1">{{ 'ORDER_STOCK' | localize }}</button>
|
|
13
|
+
<button class="tab-button" (click)="selectedTab = 2" [class.active]="selectedTab === 2">{{ 'ORDER_COMMISSION' | localize }}</button>
|
|
14
|
+
<button class="tab-button" (click)="selectedTab = 3" [class.active]="selectedTab === 3">{{ 'ORDER' | localize }}</button>
|
|
15
|
+
<button class="tab-button" (click)="selectedTab = 4" [class.active]="selectedTab === 4">{{ 'ALLOCATION' | localize }}</button>
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
`,
|
|
22
|
+
encapsulation: ViewEncapsulation.None
|
|
23
|
+
})
|
|
24
|
+
export class StockHistoryTabsComponent {
|
|
25
|
+
public readonly icons: typeof Icon = Icon;
|
|
26
|
+
|
|
27
|
+
public selectedTab = 0;
|
|
28
|
+
|
|
29
|
+
@Input()
|
|
30
|
+
public stockInformation: ArticleStockBo[];
|
|
31
|
+
|
|
32
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import {Component, Input, ViewEncapsulation} from "@angular/core";
|
|
2
|
+
import {ArticleExtended} from "@colijnit/articleapi/build/model/article-extended.bo";
|
|
3
|
+
|
|
4
|
+
@Component({
|
|
5
|
+
selector: "co-stock-information",
|
|
6
|
+
template: `
|
|
7
|
+
<div class="stock-info" *ngIf="article">
|
|
8
|
+
<div class="stock-info-row" >
|
|
9
|
+
<div class="stock-info-row-image">
|
|
10
|
+
<div class="stock-image">
|
|
11
|
+
<co-image class="stock-image" [source]="article.imageData"></co-image>
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="stock-status">
|
|
15
|
+
<label class="stock-label" [textContent]="'DESCRIPTION' | localize"></label>
|
|
16
|
+
<span class="stock-span" [textContent]="article.description"></span>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="stock-status">
|
|
20
|
+
<label class="stock-label" [textContent]="'STOCK_STATUS' | localize"></label>
|
|
21
|
+
<span class="stock-span" [textContent]="article.stockStatus"></span>
|
|
22
|
+
<co-stock-statusbar [value]="articleStockState"></co-stock-statusbar>
|
|
23
|
+
</div>
|
|
24
|
+
<div class="stock-status">
|
|
25
|
+
<label class="stock-label" [textContent]="'AMOUNT_IN_STOCK' | localize"></label>
|
|
26
|
+
<span class="stock-span" [textContent]="allTechnicalStockInformation"></span>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="stock-status">
|
|
29
|
+
<label class="stock-label" [textContent]="'AMOUNT_AVAILABLE' | localize"></label>
|
|
30
|
+
<span class="stock-span" [textContent]="allAvailableStockInformation"></span>
|
|
31
|
+
</div>
|
|
32
|
+
<div class="stock-status">
|
|
33
|
+
<label class="stock-label" [textContent]="'ECONOMICAL_STOCK' | localize"></label>
|
|
34
|
+
<span class="stock-span" [textContent]=""></span>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
`,
|
|
38
|
+
encapsulation: ViewEncapsulation.None
|
|
39
|
+
})
|
|
40
|
+
export class StockInformationComponent {
|
|
41
|
+
|
|
42
|
+
public image: string;
|
|
43
|
+
|
|
44
|
+
@Input()
|
|
45
|
+
public article: ArticleExtended;
|
|
46
|
+
|
|
47
|
+
@Input()
|
|
48
|
+
public articleStockState: number;
|
|
49
|
+
|
|
50
|
+
@Input()
|
|
51
|
+
public allAvailableStockInformation: number;
|
|
52
|
+
|
|
53
|
+
@Input()
|
|
54
|
+
public allTechnicalStockInformation: number;
|
|
55
|
+
|
|
56
|
+
}
|
|
@@ -0,0 +1,500 @@
|
|
|
1
|
+
import {Component, EventEmitter, Input, Output, ViewChild, ViewEncapsulation} from "@angular/core";
|
|
2
|
+
import {StockService} from "../../../service/stock.service";
|
|
3
|
+
import {IconCacheService} from "../../../service/icon-cache.service";
|
|
4
|
+
import {Icon} from "../../../enum/icon.enum";
|
|
5
|
+
import {ArticleStock as ArticleStockBo} from "@colijnit/articleapi/build/model/article-stock.bo";
|
|
6
|
+
import {ArticleStock} from "@colijnit/articleapi/build/model/article-stock";
|
|
7
|
+
import {StockHistoryBo} from "@colijnit/articleapi/build/model/stock-history.bo";
|
|
8
|
+
import {ArticleStockManagement} from "@colijnit/articleapi/build/model/article-stock-management";
|
|
9
|
+
import {ArticleDetailsBo} from "@colijnit/articleapi/build/model/article-details.bo";
|
|
10
|
+
import {StockManagementWarehouses} from "@colijnit/articleapi/build/model/stock-management-warehouses.bo";
|
|
11
|
+
import {CoDropDownListFields} from "../stock-transfer/co-drop-down-list-fields.interface";
|
|
12
|
+
import {ArticleTransaction} from "@colijnit/articleapi/build/model/article-transaction";
|
|
13
|
+
import {ArticleTransaction as ArticleTransactionBo} from "@colijnit/articleapi/build/model/article-transaction.bo";
|
|
14
|
+
import {PrintPriceStickers} from "@colijnit/sharedapi/build/model/print-price-stickers.bo";
|
|
15
|
+
import {StockLocation} from "@colijnit/articleapi/build/model/stock-location.bo";
|
|
16
|
+
import {ArticleExtended} from "@colijnit/articleapi/build/model/article-extended.bo";
|
|
17
|
+
import {SendMethodType} from "@colijnit/mainapi/build/enum/send-method-type.enum";
|
|
18
|
+
|
|
19
|
+
@Component({
|
|
20
|
+
selector: "co-stock-information-grid",
|
|
21
|
+
template: `
|
|
22
|
+
<div class="tab-link show" *ngIf="hideOrShowTabs">
|
|
23
|
+
<span class="tab-link-buttons"
|
|
24
|
+
*ngFor="let tab of tabs"
|
|
25
|
+
(click)="handleTabClick(tab)"
|
|
26
|
+
[textContent]="tab"
|
|
27
|
+
[class.active]="tab === activeTab"
|
|
28
|
+
></span>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
<div class="stock-line">
|
|
32
|
+
<div [textContent]="activeTabText"></div>
|
|
33
|
+
|
|
34
|
+
</div>
|
|
35
|
+
|
|
36
|
+
<div class="stock-grid">
|
|
37
|
+
<co-simple-grid *ngIf="activeTab === tabs[0] && hideOrShowTabs"
|
|
38
|
+
[data]="articleStockInformation"
|
|
39
|
+
class="simple-grid"
|
|
40
|
+
[rowsPerPage]="20"
|
|
41
|
+
>
|
|
42
|
+
<co-simple-grid-column [headerText]="'WAREHOUSE' | localize" [field]="'warehouseNo'" [order]="10"></co-simple-grid-column>
|
|
43
|
+
<co-simple-grid-column [headerText]="'DESCRIPTION' | localize" [field]="'warehouseName'" [order]="11"></co-simple-grid-column>
|
|
44
|
+
<co-simple-grid-column [headerText]="'STOCK' | localize" [field]="'technicalStock'" [order]="12"></co-simple-grid-column>
|
|
45
|
+
<co-simple-grid-column [headerText]="'AVAILABLE_STOCK' | localize" [field]="'availableStock'" [order]="13"></co-simple-grid-column>
|
|
46
|
+
<co-simple-grid-column [headerText]="'ECONOMICAL_STOCK' | localize" [field]="'economicalStock'" [order]="14"></co-simple-grid-column>
|
|
47
|
+
<co-simple-grid-column [headerText]="'LOCATION' | localize" [field]="'locationNo'" [order]="15">
|
|
48
|
+
<ng-template #template let-row="row">
|
|
49
|
+
<span class="location-link" [textContent]="'LOOK_AT' | localize" (click)="onLocationClick(row)"></span>
|
|
50
|
+
</ng-template>
|
|
51
|
+
</co-simple-grid-column>
|
|
52
|
+
</co-simple-grid>
|
|
53
|
+
|
|
54
|
+
<co-simple-grid *ngIf="activeTab === tabs[1]"
|
|
55
|
+
[data]="inOrderInformation"
|
|
56
|
+
class="simple-grid"
|
|
57
|
+
[rowsPerPage]="20"
|
|
58
|
+
>
|
|
59
|
+
<co-simple-grid-column [headerText]="'IN_ORDER' | localize" [field]="'transactionNr'"></co-simple-grid-column>
|
|
60
|
+
<co-simple-grid-column [headerText]="'CUSTOMER' | localize" [field]="'customerName'"></co-simple-grid-column>
|
|
61
|
+
<co-simple-grid-column [headerText]="'DATE' | localize">
|
|
62
|
+
<ng-template #template let-row="row">
|
|
63
|
+
<span [textContent]="row.transactionDate | date:'dd-MM-yyyy'"></span>
|
|
64
|
+
</ng-template>
|
|
65
|
+
</co-simple-grid-column>
|
|
66
|
+
<co-simple-grid-column [headerText]="'AMOUNT' | localize" [field]="'amountInOrder'"></co-simple-grid-column>
|
|
67
|
+
<co-simple-grid-column [headerText]="'WAREHOUSE' | localize" [field]="'warehouseNumber'"></co-simple-grid-column>
|
|
68
|
+
<co-simple-grid-column [headerText]="'DESCRIPTION' | localize" [field]="'warehouseDescription'"></co-simple-grid-column>
|
|
69
|
+
<co-simple-grid-column [headerText]="'TRANSFER' | localize" [field]="'transfer'">
|
|
70
|
+
<ng-template #template let-row="row">
|
|
71
|
+
<co-icon class="menu-icon" [iconData]="iconCacheService.getIcon(icons.DeliveryTruck)" (click)="handleStockTransferClick($event)"></co-icon>
|
|
72
|
+
</ng-template>
|
|
73
|
+
</co-simple-grid-column>
|
|
74
|
+
<co-simple-grid-column [headerText]="'STICKER' | localize" [field]="'sticker'">
|
|
75
|
+
<ng-template #template let-row="row">
|
|
76
|
+
<co-icon class="menu-icon" [iconData]="iconCacheService.getIcon(icons.Print)" (click)="openSendMethodDialog(row)"></co-icon>
|
|
77
|
+
</ng-template>
|
|
78
|
+
</co-simple-grid-column>
|
|
79
|
+
</co-simple-grid>
|
|
80
|
+
|
|
81
|
+
<co-simple-grid *ngIf="activeTab === tabs[2]"
|
|
82
|
+
[data]="orderInformation"
|
|
83
|
+
class="simple-grid"
|
|
84
|
+
[rowsPerPage]="20"
|
|
85
|
+
>
|
|
86
|
+
<co-simple-grid-column [headerText]="'PURCHASE_ORDER_NR' | localize" [field]="'transactionNr'"></co-simple-grid-column>
|
|
87
|
+
<co-simple-grid-column [headerText]="'DATE' | localize">
|
|
88
|
+
<ng-template #template let-row="row">
|
|
89
|
+
<span [textContent]="row.transactionDate | date:'dd-MM-yyyy'"></span>
|
|
90
|
+
</ng-template>
|
|
91
|
+
</co-simple-grid-column>
|
|
92
|
+
<co-simple-grid-column [headerText]="'AMOUNT' | localize" [field]="'amountInOrder'"></co-simple-grid-column>
|
|
93
|
+
<co-simple-grid-column [headerText]="'RESERVED' | localize" [field]="'reserved'"></co-simple-grid-column>
|
|
94
|
+
<co-simple-grid-column [headerText]="'FREE_STOCK' | localize" [field]="'InOrderForStock'"></co-simple-grid-column>
|
|
95
|
+
<co-simple-grid-column [headerText]="'DELIVERY_DATE' | localize">
|
|
96
|
+
<ng-template #template let-row="row">
|
|
97
|
+
<span [textContent]="row.deliveryDate | date:'dd-MM-yyyy'"></span>
|
|
98
|
+
</ng-template>
|
|
99
|
+
</co-simple-grid-column>
|
|
100
|
+
</co-simple-grid>
|
|
101
|
+
</div>
|
|
102
|
+
|
|
103
|
+
<div class="stock-grid" *ngIf="hideOrShowLocationTab">
|
|
104
|
+
<div class="stock-location-group">
|
|
105
|
+
<div class="stock-location-left-group">
|
|
106
|
+
<span class="stock-button-back" [textContent]="'BACK_TO_STOCK_LINES' | localize" (click)="handleBackToStockClick()"></span>
|
|
107
|
+
</div>
|
|
108
|
+
<div class="stock-location-right-group">
|
|
109
|
+
<!--
|
|
110
|
+
<co-drop-down-list [(model)]="selectedWarehouse"
|
|
111
|
+
[collection]="dataWareHouseCode"
|
|
112
|
+
[fields]="dataWareHouseFields"
|
|
113
|
+
[placeholder]="'WAREHOUSE' | localize"
|
|
114
|
+
(modelChange)="onSelectWarehouse($event)"
|
|
115
|
+
[required]="true"
|
|
116
|
+
></co-drop-down-list>
|
|
117
|
+
-->
|
|
118
|
+
</div>
|
|
119
|
+
</div>
|
|
120
|
+
|
|
121
|
+
<!-- TODO move to own component stock-location-->
|
|
122
|
+
<co-simple-grid [data]="articleDetails"
|
|
123
|
+
class="simple-grid"
|
|
124
|
+
[rowsPerPage]="20"
|
|
125
|
+
[showAdd]="true"
|
|
126
|
+
[showToolbar]="true"
|
|
127
|
+
[showDelete]="true"
|
|
128
|
+
[inlineEdit]="true"
|
|
129
|
+
(dblClickRow)="lockSelectedRow($event)"
|
|
130
|
+
>
|
|
131
|
+
<div class="stock-location-group">
|
|
132
|
+
<div class="stock-location-left-group">
|
|
133
|
+
<co-button class="stock-lines-button" [textContent]="'BACK_TO_STOCK_LINES' | localize" (click)="handleBackToStockClick()"></co-button>
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
<co-simple-grid-column [headerText]="'LOCATION' | localize" [field]="'locationNo'">
|
|
137
|
+
<ng-template #editTemplate let-row="row">
|
|
138
|
+
<!--
|
|
139
|
+
<co-drop-down-list [(model)]="row.locationNo"
|
|
140
|
+
[collection]="stockLocations"
|
|
141
|
+
[fields]="dataLocationFields"
|
|
142
|
+
[placeholder]="'LOCATION' | localize"
|
|
143
|
+
(click)="onLocationDropdownClick()"
|
|
144
|
+
[required]="true"
|
|
145
|
+
></co-drop-down-list>
|
|
146
|
+
-->
|
|
147
|
+
</ng-template>
|
|
148
|
+
</co-simple-grid-column>
|
|
149
|
+
<co-simple-grid-column *ngIf="articleDetails" [headerText]="'BATCH' | localize" [field]="'batchNo'">
|
|
150
|
+
<ng-template #editTemplate let-row="row">
|
|
151
|
+
<co-input-text [(model)]="row.batchNo"
|
|
152
|
+
[placeholder]="'BATCH' | localize"
|
|
153
|
+
></co-input-text>
|
|
154
|
+
</ng-template>
|
|
155
|
+
</co-simple-grid-column>
|
|
156
|
+
<co-simple-grid-column *ngIf="articleDetails" [headerText]="'SERIAL_NO' | localize" [field]="'serialNo'">
|
|
157
|
+
<ng-template #editTemplate let-row="row">
|
|
158
|
+
<co-input-text [(model)]="row.serialNo"
|
|
159
|
+
[placeholder]="'SERIAL_NO' | localize"
|
|
160
|
+
></co-input-text>
|
|
161
|
+
</ng-template>
|
|
162
|
+
</co-simple-grid-column>
|
|
163
|
+
<co-simple-grid-column [headerText]="'STOCK' | localize" [field]="'amountInStock'">
|
|
164
|
+
<ng-template #editTemplate let-row="row">
|
|
165
|
+
<co-input-text [(model)]="row.amountInStock"
|
|
166
|
+
[label]="'STOCK' | localize"
|
|
167
|
+
(modelChange)="amountInStockChanged($event)"
|
|
168
|
+
></co-input-text>
|
|
169
|
+
</ng-template>
|
|
170
|
+
</co-simple-grid-column>
|
|
171
|
+
<co-simple-grid-column [headerText]="'ALLOCATED' | localize" [field]="'stockAssigned'">
|
|
172
|
+
<ng-template #editTemplate let-row="row">
|
|
173
|
+
<span [textContent]="row.stockAssigned"></span>
|
|
174
|
+
</ng-template>
|
|
175
|
+
</co-simple-grid-column>
|
|
176
|
+
<co-simple-grid-column [headerText]="'AVAILABLE_STOCK' | localize" [field]="'amountInStockFree'">
|
|
177
|
+
<ng-template #editTemplate let-row="row">
|
|
178
|
+
<span [textContent]="row.amountInStockFree"></span>
|
|
179
|
+
</ng-template>
|
|
180
|
+
</co-simple-grid-column>
|
|
181
|
+
<co-simple-grid-column [headerText]="'VALUTA' | localize" [field]="'currency'">
|
|
182
|
+
<ng-template #editTemplate let-row="row">
|
|
183
|
+
<span [textContent]="row.currency"></span>
|
|
184
|
+
</ng-template>
|
|
185
|
+
</co-simple-grid-column>
|
|
186
|
+
<co-simple-grid-column [headerText]="'PURCHASE_PRICE' | localize" [field]="'purchasePrice'">
|
|
187
|
+
<ng-template #editTemplate let-row="row">
|
|
188
|
+
<span [textContent]="row.purchasePrice"></span>
|
|
189
|
+
</ng-template>
|
|
190
|
+
</co-simple-grid-column>
|
|
191
|
+
<co-simple-grid-column [headerText]="'SUPPLIER_NUMBER' | localize" [field]="'supplierNo'">
|
|
192
|
+
<ng-template #editTemplate let-row="row">
|
|
193
|
+
<span [textContent]="row.supplierNo"></span>
|
|
194
|
+
</ng-template>
|
|
195
|
+
</co-simple-grid-column>
|
|
196
|
+
<co-simple-grid-column [headerText]="'TRANSFER' | localize" [field]="'transfer'">
|
|
197
|
+
<ng-template #template let-row="row">
|
|
198
|
+
<co-icon class="menu-icon" [iconData]="iconCacheService.getIcon(icons.DeliveryTruck)" (click)="handleStockTransferClick(row)"></co-icon>
|
|
199
|
+
</ng-template>
|
|
200
|
+
</co-simple-grid-column>
|
|
201
|
+
<co-simple-grid-column [headerText]="'STICKER' | localize" [field]="'sticker'">
|
|
202
|
+
<ng-template #template let-row="row">
|
|
203
|
+
<co-icon class="menu-icon" [iconData]="iconCacheService.getIcon(icons.Print)" (click)="openSendMethodDialog(row)"></co-icon>
|
|
204
|
+
</ng-template>
|
|
205
|
+
</co-simple-grid-column>
|
|
206
|
+
</co-simple-grid>
|
|
207
|
+
</div>
|
|
208
|
+
|
|
209
|
+
<co-stock-change-amount *ngIf="showChangeStockDetails"
|
|
210
|
+
(closeStockChangeAmount)="showChangeStockDetails = false"
|
|
211
|
+
[selectedArticleDetailsData]="selectedArticleDetailsData"
|
|
212
|
+
>
|
|
213
|
+
</co-stock-change-amount>
|
|
214
|
+
|
|
215
|
+
<div class="stock-grid" *ngIf="showStockHistory">
|
|
216
|
+
<div class="stock-button-left-group">
|
|
217
|
+
<span class="stock-button-back" [textContent]="'BACK_TO_STOCK_LINES' | localize" (click)="backToStockInformation()"></span>
|
|
218
|
+
</div>
|
|
219
|
+
<co-simple-grid [data]="stockHistoryInformation"
|
|
220
|
+
class="simple-grid"
|
|
221
|
+
[rowsPerPage]="20"
|
|
222
|
+
>
|
|
223
|
+
<co-simple-grid-column [headerText]="'MUTATION_DATE' | localize">
|
|
224
|
+
<ng-template #template let-row="row">
|
|
225
|
+
<span [textContent]="row.mutationDate | date:'dd-MM-yyyy'"></span>
|
|
226
|
+
</ng-template>
|
|
227
|
+
</co-simple-grid-column>
|
|
228
|
+
<co-simple-grid-column [headerText]="'MUTATION_TIME' | localize" [field]="'mutationTime'"></co-simple-grid-column>
|
|
229
|
+
<co-simple-grid-column [headerText]="'AMOUNT' | localize" [field]="'amount'"></co-simple-grid-column>
|
|
230
|
+
<co-simple-grid-column [headerText]="'WAREHOUSE' | localize" [field]="'wareHouseNr'"></co-simple-grid-column>
|
|
231
|
+
<co-simple-grid-column [headerText]="'LOCATION' | localize" [field]="'locationNr'"></co-simple-grid-column>
|
|
232
|
+
<co-simple-grid-column [headerText]="'TRANSACTION_TYPE' | localize" [field]="'transType'"></co-simple-grid-column>
|
|
233
|
+
<co-simple-grid-column [headerText]="'DOCUMENT_NUMBER' | localize" [field]="'docNr'"></co-simple-grid-column>
|
|
234
|
+
<co-simple-grid-column [headerText]="'LINE' | localize" [field]="'posLineNr'"></co-simple-grid-column>
|
|
235
|
+
<co-simple-grid-column [headerText]="'STOCK_STATE' | localize" [field]="'stockStateId'"></co-simple-grid-column>
|
|
236
|
+
<co-simple-grid-column [headerText]="'STOCK_REMARK' | localize" [field]="'stockStateRemarkId'"></co-simple-grid-column>
|
|
237
|
+
<co-simple-grid-column [headerText]="'VALUTA' | localize" [field]="'currencyCode'"></co-simple-grid-column>
|
|
238
|
+
<co-simple-grid-column [headerText]="'RELATION_ID' | localize" [field]="'relationId'"></co-simple-grid-column>
|
|
239
|
+
<co-simple-grid-column [headerText]="'USER' | localize" [field]="'user'"></co-simple-grid-column>
|
|
240
|
+
<co-simple-grid-column [headerText]="'MUTATION_TYPE' | localize" [field]="'mutationType'"></co-simple-grid-column>
|
|
241
|
+
<co-simple-grid-column [headerText]="'STICKER' | localize" [field]="'sticker'">
|
|
242
|
+
<ng-template #template let-row="row">
|
|
243
|
+
<co-icon class="menu-icon" [iconData]="iconCacheService.getIcon(icons.Print)" (click)="openSendMethodDialog(row)"></co-icon>
|
|
244
|
+
</ng-template>
|
|
245
|
+
</co-simple-grid-column>
|
|
246
|
+
</co-simple-grid>
|
|
247
|
+
</div>
|
|
248
|
+
|
|
249
|
+
<div class="stock-button-toolbar">
|
|
250
|
+
<div class="stock-button-left-group">
|
|
251
|
+
<co-button *ngIf="activeTab === tabs[0]" [label]="'HISTORY' | localize" (click)="handleHistoryClick()"></co-button>
|
|
252
|
+
</div>
|
|
253
|
+
<div class="stock-button-middle-group" *ngIf="activeTab !== tabs[0]">
|
|
254
|
+
<div class="button-left">
|
|
255
|
+
<co-button [textContent]="'OK' | localize" (click)="onOkClick()"></co-button>
|
|
256
|
+
</div>
|
|
257
|
+
<div class="button-right">
|
|
258
|
+
<co-button [textContent]="'CANCEL' | localize" (click)="onCancelClick()"></co-button>
|
|
259
|
+
</div>
|
|
260
|
+
</div>
|
|
261
|
+
|
|
262
|
+
<div class="stock-button-middle-group" *ngIf="hideOrShowLocationTab">
|
|
263
|
+
<div class="button-left">
|
|
264
|
+
<co-button [textContent]="'OK' | localize" (click)="onOkClickSendLocations()"></co-button>
|
|
265
|
+
</div>
|
|
266
|
+
<div class="button-right">
|
|
267
|
+
<co-button [textContent]="'CANCEL' | localize" (click)="onCancelClickSendLocations()"></co-button>
|
|
268
|
+
</div>
|
|
269
|
+
</div>
|
|
270
|
+
</div>
|
|
271
|
+
<co-send-method-dialog *ngIf="showSendMethodDialog"
|
|
272
|
+
(closeClick)="showSendMethodDialog = false"
|
|
273
|
+
[visibleMethods]="sendMethod[1]"
|
|
274
|
+
></co-send-method-dialog>
|
|
275
|
+
`,
|
|
276
|
+
encapsulation: ViewEncapsulation.None
|
|
277
|
+
})
|
|
278
|
+
|
|
279
|
+
export class StockInformationGridComponent {
|
|
280
|
+
public readonly icons: typeof Icon = Icon;
|
|
281
|
+
|
|
282
|
+
@ViewChild(StockInformationGridComponent)
|
|
283
|
+
public stock: StockInformationGridComponent;
|
|
284
|
+
|
|
285
|
+
@Input()
|
|
286
|
+
public articleStockInformation: ArticleStockBo[];
|
|
287
|
+
|
|
288
|
+
@Input()
|
|
289
|
+
public stockLocationData: ArticleStockBo[];
|
|
290
|
+
|
|
291
|
+
@Input()
|
|
292
|
+
public stockHistoryInformation: StockHistoryBo[];
|
|
293
|
+
|
|
294
|
+
@Input()
|
|
295
|
+
public article: ArticleExtended;
|
|
296
|
+
|
|
297
|
+
@Output()
|
|
298
|
+
public readonly transferIconClicked: EventEmitter<ArticleStockBo> = new EventEmitter();
|
|
299
|
+
|
|
300
|
+
@Output()
|
|
301
|
+
public readonly historyClicked: EventEmitter<any> = new EventEmitter();
|
|
302
|
+
|
|
303
|
+
@Output()
|
|
304
|
+
public readonly cancelButtonClicked: EventEmitter<any> = new EventEmitter();
|
|
305
|
+
|
|
306
|
+
@Output()
|
|
307
|
+
public readonly okButtonClicked: EventEmitter<any> = new EventEmitter();
|
|
308
|
+
|
|
309
|
+
public image: string;
|
|
310
|
+
public show: boolean = false;
|
|
311
|
+
public hideOrShowLocationTab: boolean = false;
|
|
312
|
+
public showStockHistory: boolean = false;
|
|
313
|
+
public showSendMethodDialog: boolean = false;
|
|
314
|
+
|
|
315
|
+
public inOrderInformation: ArticleTransactionBo[];
|
|
316
|
+
public orderInformation: ArticleTransactionBo[]
|
|
317
|
+
public hideOrShowTabs: boolean = true;
|
|
318
|
+
public dataWareHouseCode: StockManagementWarehouses[];
|
|
319
|
+
public dataWareHouseFields: CoDropDownListFields = { text: "warehouseDescription", value: "warehouseNo" };
|
|
320
|
+
public dataLocationFields: CoDropDownListFields = {text: "locationNo", value: "locationNo"};
|
|
321
|
+
public selectedWarehouse: any;
|
|
322
|
+
public selectedLocation: StockLocation;
|
|
323
|
+
public stockLocations: StockLocation[];
|
|
324
|
+
public articleStockSearchInfo: ArticleStock = new ArticleStock();
|
|
325
|
+
public articleDetails: ArticleDetailsBo[];
|
|
326
|
+
public selectedArticleDetailsData: ArticleDetailsBo = new ArticleDetailsBo();
|
|
327
|
+
public showChangeStockDetails: boolean = false;
|
|
328
|
+
public articleDetailsInformation: ArticleStockManagement = new ArticleStockManagement();
|
|
329
|
+
public sendMethod: SendMethodType[];
|
|
330
|
+
|
|
331
|
+
public tabs: string[] = [
|
|
332
|
+
"STOCK",
|
|
333
|
+
"IN_ORDER2",
|
|
334
|
+
"ORDERS1"
|
|
335
|
+
];
|
|
336
|
+
public activeTab: string = this.tabs[0];
|
|
337
|
+
|
|
338
|
+
public get activeTabText(): string {
|
|
339
|
+
switch (this.activeTab) {
|
|
340
|
+
case this.tabs[0]:
|
|
341
|
+
return "Voorraadregels";
|
|
342
|
+
case this.tabs[1]:
|
|
343
|
+
return "Gevonden in order(s)";
|
|
344
|
+
case this.tabs[2]:
|
|
345
|
+
return "Gevonden in bestellingen";
|
|
346
|
+
default:
|
|
347
|
+
return "Voorraadlocatie regels";
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
constructor(
|
|
352
|
+
public iconCacheService: IconCacheService,
|
|
353
|
+
private _stockService: StockService,
|
|
354
|
+
) {
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
public handleTabClick(tabData): void {
|
|
358
|
+
this.activeTab = tabData;
|
|
359
|
+
if (this.activeTab === "IN_ORDER2") {
|
|
360
|
+
this.getInOrderData();
|
|
361
|
+
} if (this.activeTab === "ORDERS1") {
|
|
362
|
+
this.getOrderData();
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
public onLocationClick(data: ArticleStockBo): void {
|
|
367
|
+
this.articleStockSearchInfo.goodId = data.goodId.toString();
|
|
368
|
+
this.articleStockSearchInfo.wareHouseNo = data.warehouseNo.toString();
|
|
369
|
+
this.articleStockSearchInfo.viewKind = "D";
|
|
370
|
+
this.selectedWarehouse = data.warehouseNo;
|
|
371
|
+
if (!this.dataWareHouseCode) {
|
|
372
|
+
this.getStockManagementWarehouses(data);
|
|
373
|
+
}
|
|
374
|
+
this.getArticleDetails(data);
|
|
375
|
+
this.hideOrShowTabs = false;
|
|
376
|
+
this.hideOrShowLocationTab = true;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
public handleHistoryClick(): void {
|
|
380
|
+
this.historyClicked.emit()
|
|
381
|
+
this.hideOrShowLocationTab = false;
|
|
382
|
+
this.showChangeStockDetails = false;
|
|
383
|
+
this.hideOrShowTabs = false;
|
|
384
|
+
this.showStockHistory = true;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
public backToStockInformation(): void {
|
|
388
|
+
this.showStockHistory = false;
|
|
389
|
+
this.hideOrShowTabs = true;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
public handleStockTransferClick(event): void {
|
|
393
|
+
this.transferIconClicked.emit(event);
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
public async handleBackToStockClick(): Promise<void> {
|
|
397
|
+
this.activeTab = this.tabs[0];
|
|
398
|
+
this.hideOrShowTabs = true;
|
|
399
|
+
this.hideOrShowLocationTab = false;
|
|
400
|
+
this.articleDetails = undefined;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
public openSendMethodDialog(data): void {
|
|
404
|
+
if (!(this._stockService.printLayoutParams instanceof PrintPriceStickers)) {
|
|
405
|
+
this._stockService.printLayoutParams.goodId = data.goodId;
|
|
406
|
+
this._stockService.printLayoutParams.warehouse = data.warehouseNo;
|
|
407
|
+
}
|
|
408
|
+
this.showSendMethodDialog = true;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
public printStockStickers(): void {
|
|
412
|
+
// this._stockService.getPrintStockStickers(this._stockService.printLayoutParams);
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
public onOkClick(): void {
|
|
416
|
+
this.okButtonClicked.emit();
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
public onCancelClick(): void {
|
|
420
|
+
this.cancelButtonClicked.emit();
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
public openDialogClick(data): void {
|
|
424
|
+
this.selectedArticleDetailsData = data;
|
|
425
|
+
this.showChangeStockDetails = true;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
public getArticleDetails(data: any): void {
|
|
429
|
+
// const info = new ArticleStockManagement();
|
|
430
|
+
this.articleDetailsInformation.goodId = data.goodId;
|
|
431
|
+
this.articleDetailsInformation.lineId = data.lineId;
|
|
432
|
+
this.articleDetailsInformation.warehouseNumber = data.warehouseNo;
|
|
433
|
+
this._stockService.getArticleDetails(this.articleDetailsInformation).then((details) => {
|
|
434
|
+
this.articleDetails = details;
|
|
435
|
+
});
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
public getStockManagementWarehouses(data: ArticleStockBo): void {
|
|
439
|
+
this._stockService.getStockManagementWarehouses().then((warehouses) => {
|
|
440
|
+
this.dataWareHouseCode = warehouses;
|
|
441
|
+
this.selectedWarehouse = data.warehouseNo;
|
|
442
|
+
})
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
public onSelectWarehouse(event): void {
|
|
446
|
+
this.articleDetailsInformation.warehouseNumber = event;
|
|
447
|
+
if (this.selectedWarehouse || this.selectedWarehouse === 0) {
|
|
448
|
+
this._stockService.getArticleDetails(this.articleDetailsInformation).then((details) => {
|
|
449
|
+
this.articleDetails = details;
|
|
450
|
+
});
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
public async getInOrderData(): Promise<void> {
|
|
455
|
+
const inOrderData: ArticleTransaction = new ArticleTransaction();
|
|
456
|
+
inOrderData.type = "V";
|
|
457
|
+
inOrderData.goodId = this.articleStockInformation[0].goodId.toString();
|
|
458
|
+
this.inOrderInformation = await this._stockService.getArticleTransaction(inOrderData);
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
public async getOrderData(): Promise<void> {
|
|
462
|
+
const orderData: ArticleTransaction = new ArticleTransaction();
|
|
463
|
+
orderData.type = "I";
|
|
464
|
+
orderData.goodId = this.articleStockInformation[0].goodId.toString();
|
|
465
|
+
this.orderInformation = await this._stockService.getArticleTransaction(orderData);
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
public onLocationDropdownClick(): void {
|
|
469
|
+
this._stockService.getStockManagementLocations(this.selectedWarehouse).then((locations) => {
|
|
470
|
+
this.stockLocations = locations;
|
|
471
|
+
})
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
public onLocationSelected(location): void {
|
|
475
|
+
this.selectedArticleDetailsData.locationNo = location;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
public async onOkClickSendLocations(): Promise<void> {
|
|
479
|
+
this.selectedArticleDetailsData.selected = true;
|
|
480
|
+
this.selectedArticleDetailsData.goodId = this.article.goodId;
|
|
481
|
+
this.selectedArticleDetailsData.entryDate = new Date();
|
|
482
|
+
this.selectedArticleDetailsData.warehouseNo = this.selectedWarehouse;
|
|
483
|
+
await this._stockService.updateArticleDetails(this.selectedArticleDetailsData);
|
|
484
|
+
await this._stockService.getArticleDetails(this.articleDetailsInformation).then((details) => {
|
|
485
|
+
this.articleDetails = details;
|
|
486
|
+
});
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
public onCancelClickSendLocations(): void {
|
|
490
|
+
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
public amountInStockChanged(data): void {
|
|
494
|
+
this.selectedArticleDetailsData.amountInStock = data;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
public lockSelectedRow(row): void {
|
|
498
|
+
this._stockService.lockArticleDetails(row);
|
|
499
|
+
}
|
|
500
|
+
}
|