@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,228 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ChangeDetectorRef,
|
|
3
|
+
Component,
|
|
4
|
+
EventEmitter,
|
|
5
|
+
HostBinding,
|
|
6
|
+
Input, OnDestroy, OnInit,
|
|
7
|
+
Output,
|
|
8
|
+
ViewChild,
|
|
9
|
+
ViewEncapsulation
|
|
10
|
+
} from "@angular/core";
|
|
11
|
+
import {StockService} from "../../service/stock.service";
|
|
12
|
+
import {PrintStockStickers} from "@colijnit/sharedapi/build/model/print-stock-stickers";
|
|
13
|
+
import {ArticleStock as ArticleStockBo} from "@colijnit/articleapi/build/model/article-stock.bo";
|
|
14
|
+
import {ArticleExtended} from "@colijnit/articleapi/build/model/article-extended.bo";
|
|
15
|
+
import {ArticleStock} from "@colijnit/articleapi/build/model/article-stock";
|
|
16
|
+
import {StockHistoryBo} from "@colijnit/articleapi/build/model/stock-history.bo";
|
|
17
|
+
import {ArticleDetailsBo} from "@colijnit/articleapi/build/model/article-details.bo";
|
|
18
|
+
import {OptionsService} from "../../service/options.service";
|
|
19
|
+
import {Subscription} from "rxjs";
|
|
20
|
+
import {DictionaryService} from "../../service/dictionary.service";
|
|
21
|
+
import {StockManagementWarehouses} from "@colijnit/articleapi/build/model/stock-management-warehouses.bo";
|
|
22
|
+
import {Translation} from './localization/translation';
|
|
23
|
+
import {LocalizeService} from '../../localization/localize.service';
|
|
24
|
+
import {ArticleExtendedRequest} from "@colijnit/articleapi/build/model/article-extended-request";
|
|
25
|
+
import {SharedConnectorService} from "../../service/shared-connector.service";
|
|
26
|
+
import {ArticleFlat} from "@colijnit/articleapi/build/model/article-flat.bo";
|
|
27
|
+
|
|
28
|
+
@Component({
|
|
29
|
+
selector: "co-stock",
|
|
30
|
+
template: `
|
|
31
|
+
<div class="stock-info-container" *ngIf="loaded && articleExtended">
|
|
32
|
+
<co-stock-information [article]="articleExtended"
|
|
33
|
+
[articleStockState]="articleStockState"
|
|
34
|
+
[allAvailableStockInformation]="allAvailableStock"
|
|
35
|
+
[allTechnicalStockInformation]="allTechnicalStock"
|
|
36
|
+
>
|
|
37
|
+
</co-stock-information>
|
|
38
|
+
<hr>
|
|
39
|
+
<co-stock-tabs [stockInformation]="stockInformation"
|
|
40
|
+
[article]="articleExtended"
|
|
41
|
+
[articleFlat]="articleFlat"
|
|
42
|
+
(transferIconClicked)="handleStockTransferClick($event)"
|
|
43
|
+
(sendMethodDialogClicked)="handleSendMethodClick($event)"
|
|
44
|
+
[warehouses]="warehouses"
|
|
45
|
+
></co-stock-tabs>
|
|
46
|
+
|
|
47
|
+
<co-dialog *ngIf="showStockTransfer" (closeClick)="showStockTransfer = false">
|
|
48
|
+
<co-stock-transfer (handleClick)="backToStock()"
|
|
49
|
+
class="stock-transfer-dialog"
|
|
50
|
+
[article]="stockTransferArticle"
|
|
51
|
+
[articleToTransfer]="stockTransferArticleDetails"
|
|
52
|
+
(handleStickerClicked)="handleStickerClicked.emit($event)"
|
|
53
|
+
[articleWarehouse]="articleWarehouse"
|
|
54
|
+
[allWarehouses]="allWarehouses"
|
|
55
|
+
>
|
|
56
|
+
</co-stock-transfer>
|
|
57
|
+
</co-dialog>
|
|
58
|
+
|
|
59
|
+
<co-send-method-dialog *ngIf="showSendMethodDialog">
|
|
60
|
+
|
|
61
|
+
</co-send-method-dialog>
|
|
62
|
+
</div>
|
|
63
|
+
`,
|
|
64
|
+
encapsulation: ViewEncapsulation.None
|
|
65
|
+
})
|
|
66
|
+
export class StockComponent implements OnDestroy, OnInit {
|
|
67
|
+
|
|
68
|
+
@Input()
|
|
69
|
+
public set translation(value: Translation) {
|
|
70
|
+
this._localizeService.translation = value;
|
|
71
|
+
this._changeDetector.markForCheck();
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@Output()
|
|
75
|
+
public handleStickerClicked: EventEmitter<any> = new EventEmitter();
|
|
76
|
+
|
|
77
|
+
@Input()
|
|
78
|
+
public set article(articleOrGoodId: ArticleExtended | number) {
|
|
79
|
+
if(articleOrGoodId instanceof ArticleExtended) {
|
|
80
|
+
this.articleExtended = articleOrGoodId;
|
|
81
|
+
this._goodId = articleOrGoodId.goodId;
|
|
82
|
+
|
|
83
|
+
} else if(typeof articleOrGoodId === "number" ) {
|
|
84
|
+
this._goodId = articleOrGoodId;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
@Input()
|
|
90
|
+
public articleWarehouse: any[] = [];
|
|
91
|
+
|
|
92
|
+
@Input()
|
|
93
|
+
public allWarehouses: any[] = [];
|
|
94
|
+
|
|
95
|
+
@Output()
|
|
96
|
+
public readonly okButtonClicked: EventEmitter<any> = new EventEmitter();
|
|
97
|
+
|
|
98
|
+
@Output()
|
|
99
|
+
public readonly cancelButtonClicked: EventEmitter<any> = new EventEmitter();
|
|
100
|
+
|
|
101
|
+
@HostBinding("class.co-stock")
|
|
102
|
+
public showClass() {
|
|
103
|
+
return true;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
public loaded: boolean = false;
|
|
107
|
+
|
|
108
|
+
public showStockInformationGrid: boolean = true;
|
|
109
|
+
public showStockTransfer: boolean = false;
|
|
110
|
+
public stockInformation: ArticleStockBo[] = [];
|
|
111
|
+
public stockTransferArticle: ArticleStockBo;
|
|
112
|
+
public stockTransferArticleDetails: ArticleDetailsBo;
|
|
113
|
+
public articleExtended: ArticleExtended;
|
|
114
|
+
|
|
115
|
+
public articleFlat:ArticleFlat;
|
|
116
|
+
public stockHistory: StockHistoryBo[] = [];
|
|
117
|
+
public allAvailableStock: number = 0;
|
|
118
|
+
public allTechnicalStock: number = 0;
|
|
119
|
+
public showSendMethodDialog: boolean = false;
|
|
120
|
+
public articleStockState: number;
|
|
121
|
+
public warehouses: StockManagementWarehouses[] = [];
|
|
122
|
+
|
|
123
|
+
private _subscriptions: Subscription[] = [];
|
|
124
|
+
private _goodId: number;
|
|
125
|
+
|
|
126
|
+
constructor(
|
|
127
|
+
private _stockService: StockService,
|
|
128
|
+
private _optionsService: OptionsService,
|
|
129
|
+
private _dictionary: DictionaryService,
|
|
130
|
+
private _changeDetector: ChangeDetectorRef,
|
|
131
|
+
private _localizeService: LocalizeService,
|
|
132
|
+
private _connector: SharedConnectorService
|
|
133
|
+
) {
|
|
134
|
+
this._subscriptions.push(
|
|
135
|
+
this._optionsService.optionsLoaded.subscribe(loaded => this._handleSettingsLoaded(loaded)),
|
|
136
|
+
)
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
ngOnDestroy(): void {
|
|
140
|
+
this.articleExtended = undefined;
|
|
141
|
+
this.articleFlat = undefined;
|
|
142
|
+
this._subscriptions.forEach(subscription => subscription.unsubscribe());
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
ngOnInit() {
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
public handleStockTransferClick(event): void {
|
|
149
|
+
this.stockTransferArticleDetails = event;
|
|
150
|
+
this.showStockTransfer = !this.showStockTransfer;
|
|
151
|
+
this.showStockInformationGrid = !this.showStockInformationGrid;
|
|
152
|
+
this._stockService.stockStickers = new PrintStockStickers();
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
public handleSendMethodClick(event): void {
|
|
156
|
+
this.showSendMethodDialog = true;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
public backToStock(): void {
|
|
160
|
+
this.showStockTransfer = !this.showStockTransfer;
|
|
161
|
+
this.showStockInformationGrid = !this.showStockInformationGrid;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
public getStockInformation(goodId: number): void {
|
|
165
|
+
const articleData: ArticleStock = new ArticleStock();
|
|
166
|
+
articleData.goodId = goodId.toString();
|
|
167
|
+
articleData.viewKind = "M";
|
|
168
|
+
this._stockService.getStockInformation(articleData).then(result => {
|
|
169
|
+
this.stockInformation = result;
|
|
170
|
+
this.stockInformation.forEach((articleStock) => this.allAvailableStock += articleStock.availableStock);
|
|
171
|
+
this.stockInformation.forEach((articleStock) => this.allTechnicalStock += articleStock.technicalStock);
|
|
172
|
+
});
|
|
173
|
+
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
public getArtStockStatus(): void {
|
|
177
|
+
this._stockService.getArtStockStatus(this.articleExtended ? this.articleExtended.goodId : this._goodId).then(result => {
|
|
178
|
+
this.articleStockState = result;
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
public getStockManagementWarehouses(): void {
|
|
183
|
+
this._stockService.getStockManagementWarehouses().then((warehouses) => {
|
|
184
|
+
this.warehouses = warehouses;
|
|
185
|
+
})
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
private async _handleSettingsLoaded(loaded: boolean): Promise<void> {
|
|
189
|
+
if (loaded) {
|
|
190
|
+
await this._initConnection().then();
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
private async _initConnection(): Promise<void> {
|
|
195
|
+
await this._connector.connect();
|
|
196
|
+
if (this._optionsService.options.url) {
|
|
197
|
+
this._dictionary.rootUrl = this._optionsService.options.url.replace("/ajaxservice", "");
|
|
198
|
+
}
|
|
199
|
+
await this._dictionary.setDictionary(this._optionsService.options.languageCode);
|
|
200
|
+
setTimeout(() => {
|
|
201
|
+
this._changeDetector.detectChanges();
|
|
202
|
+
});
|
|
203
|
+
this.loaded = true;
|
|
204
|
+
this.loadData();
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
public loadData() {
|
|
209
|
+
if(this.loaded) {
|
|
210
|
+
if(this._goodId && !this.articleExtended) {
|
|
211
|
+
let request: ArticleExtendedRequest = new ArticleExtendedRequest();
|
|
212
|
+
request.goodId = this._goodId;
|
|
213
|
+
this._stockService.searchArticles(request).then((articleExtended: ArticleExtended[]) => {
|
|
214
|
+
this.articleExtended = articleExtended[0];
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
this._stockService.getArticleFlat(this.articleExtended.articleNumber).then(result => {
|
|
218
|
+
this.articleFlat = result;
|
|
219
|
+
})
|
|
220
|
+
this.getArtStockStatus();
|
|
221
|
+
this.getStockManagementWarehouses();
|
|
222
|
+
this.getStockInformation(this.articleExtended ? this.articleExtended.goodId : this._goodId);
|
|
223
|
+
}
|
|
224
|
+
this._changeDetector.markForCheck();
|
|
225
|
+
this._changeDetector.detectChanges();
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import {NgModule} from '@angular/core';
|
|
2
|
+
import {StockComponent} from './stock.component';
|
|
3
|
+
import {
|
|
4
|
+
ButtonModule,
|
|
5
|
+
CoDialogModule,
|
|
6
|
+
CoDialogWizardModule,
|
|
7
|
+
IconModule,
|
|
8
|
+
ImageModule,
|
|
9
|
+
InputNumberPickerModule,
|
|
10
|
+
InputRadioButtonModule,
|
|
11
|
+
InputTextareaModule,
|
|
12
|
+
InputTextModule,
|
|
13
|
+
ListOfValuesModule,
|
|
14
|
+
SimpleGridModule,
|
|
15
|
+
PopupModule,
|
|
16
|
+
} from '@colijnit/corecomponents_v12';
|
|
17
|
+
import {CommonModule} from '@angular/common';
|
|
18
|
+
import {StockInformationComponent} from './stock-information/stock-information.component';
|
|
19
|
+
import {StockInformationGridComponent} from './stock-information-grid/stock-information-grid.component';
|
|
20
|
+
import {StockService} from '../../service/stock.service';
|
|
21
|
+
import {StockTransferComponent} from './stock-transfer/stock-transfer.component';
|
|
22
|
+
import {SendMethodDialogModule} from '../send-method-dialog/send-method-dialog.module';
|
|
23
|
+
import {StockChangeAmountComponent} from './stock-transfer/stock-change-amount.component';
|
|
24
|
+
import {StockTabComponent} from './components/stock-tab/stock-tab.component';
|
|
25
|
+
import {OrderTabComponent} from './components/order-tab/order-tab.component';
|
|
26
|
+
import {StockTabsComponent} from './stock-tabs/stock-tabs.component';
|
|
27
|
+
import {StockHistoryTabsComponent} from './stock-history-tabs/stock-history-tabs.component';
|
|
28
|
+
import {OrderStockTabComponent} from './components/order-stock-tab/order-stock-tab.component';
|
|
29
|
+
import {StockLocationComponent} from './components/stock-location/stock-location.component';
|
|
30
|
+
import {StockHistoryComponent} from './components/stock-history/stock-history.component';
|
|
31
|
+
import {TabBarModule} from '../tab-bar/tab-bar.module';
|
|
32
|
+
import {
|
|
33
|
+
OrderSupplyStockHistoryComponent
|
|
34
|
+
} from './components/order-supply-stock-history/order-supply-stock-history.component';
|
|
35
|
+
import {
|
|
36
|
+
OrderCommissionStockHistoryComponent
|
|
37
|
+
} from './components/order-commission-stock-history/order-commission-stock-history.component';
|
|
38
|
+
import {OrderStockHistoryComponent} from './components/order-stock-history/order-stock-history.component';
|
|
39
|
+
import {
|
|
40
|
+
AllocationStockHistoryComponent
|
|
41
|
+
} from './components/allocation-stock-history/allocation-stock-history.component';
|
|
42
|
+
import {StatusbarModule} from '../statusbar/statusbar.module';
|
|
43
|
+
import {StockStatusbarModule} from '../stock-statusbar/stock-statusbar.module';
|
|
44
|
+
import {StockPrognoseComponent} from './components/stock-prognose/stock-prognose.component';
|
|
45
|
+
import {LocalizationModule} from '../../localization/localization.module';
|
|
46
|
+
import {LocalizeService} from '../../localization/localize.service';
|
|
47
|
+
|
|
48
|
+
@NgModule({
|
|
49
|
+
imports: [
|
|
50
|
+
ButtonModule,
|
|
51
|
+
CommonModule,
|
|
52
|
+
InputRadioButtonModule,
|
|
53
|
+
SimpleGridModule,
|
|
54
|
+
ImageModule,
|
|
55
|
+
InputTextModule,
|
|
56
|
+
SendMethodDialogModule,
|
|
57
|
+
IconModule,
|
|
58
|
+
InputNumberPickerModule,
|
|
59
|
+
CoDialogWizardModule,
|
|
60
|
+
InputTextareaModule,
|
|
61
|
+
TabBarModule,
|
|
62
|
+
CoDialogModule,
|
|
63
|
+
StatusbarModule,
|
|
64
|
+
StockStatusbarModule,
|
|
65
|
+
ListOfValuesModule,
|
|
66
|
+
LocalizationModule,
|
|
67
|
+
PopupModule
|
|
68
|
+
],
|
|
69
|
+
declarations: [
|
|
70
|
+
StockComponent,
|
|
71
|
+
StockInformationComponent,
|
|
72
|
+
StockInformationGridComponent,
|
|
73
|
+
StockTransferComponent,
|
|
74
|
+
StockChangeAmountComponent,
|
|
75
|
+
StockTabComponent,
|
|
76
|
+
OrderTabComponent,
|
|
77
|
+
StockTabsComponent,
|
|
78
|
+
StockHistoryTabsComponent,
|
|
79
|
+
OrderStockTabComponent,
|
|
80
|
+
StockLocationComponent,
|
|
81
|
+
StockHistoryComponent,
|
|
82
|
+
OrderSupplyStockHistoryComponent,
|
|
83
|
+
OrderCommissionStockHistoryComponent,
|
|
84
|
+
OrderStockHistoryComponent,
|
|
85
|
+
AllocationStockHistoryComponent,
|
|
86
|
+
StockPrognoseComponent
|
|
87
|
+
],
|
|
88
|
+
exports: [
|
|
89
|
+
StockComponent
|
|
90
|
+
],
|
|
91
|
+
providers: [
|
|
92
|
+
StockService,
|
|
93
|
+
LocalizeService
|
|
94
|
+
]
|
|
95
|
+
})
|
|
96
|
+
export class StockModule {
|
|
97
|
+
}
|
package/projects/sharedcomponents/src/lib/components/stock-statusbar/stock-statusbar.component.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import {Component, Input, ViewEncapsulation} from "@angular/core";
|
|
2
|
+
|
|
3
|
+
@Component({
|
|
4
|
+
selector: "co-stock-statusbar",
|
|
5
|
+
template: `
|
|
6
|
+
<div class="status-bar">
|
|
7
|
+
<div class="status-bar-block" [ngClass]="{'red': value === 0, 'orange': value === 1, 'green': value === 2}"></div>
|
|
8
|
+
<div class="status-bar-block" [ngClass]="{'orange': value === 1, 'green': value === 2}"></div>
|
|
9
|
+
<div class="status-bar-block" [ngClass]="{'green': value === 2}"></div>
|
|
10
|
+
</div>
|
|
11
|
+
`,
|
|
12
|
+
encapsulation: ViewEncapsulation.None
|
|
13
|
+
})
|
|
14
|
+
export class StockStatusbarComponent {
|
|
15
|
+
|
|
16
|
+
@Input()
|
|
17
|
+
public value: number;
|
|
18
|
+
|
|
19
|
+
constructor(
|
|
20
|
+
) {
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
}
|
package/projects/sharedcomponents/src/lib/components/stock-statusbar/stock-statusbar.module.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {NgModule} from "@angular/core";
|
|
2
|
+
import {CommonModule} from "@angular/common";
|
|
3
|
+
import {StockStatusbarComponent} from "./stock-statusbar.component";
|
|
4
|
+
|
|
5
|
+
@NgModule({
|
|
6
|
+
imports: [
|
|
7
|
+
CommonModule,
|
|
8
|
+
],
|
|
9
|
+
declarations: [
|
|
10
|
+
StockStatusbarComponent
|
|
11
|
+
],
|
|
12
|
+
exports: [
|
|
13
|
+
StockStatusbarComponent
|
|
14
|
+
]
|
|
15
|
+
})
|
|
16
|
+
export class StockStatusbarModule {
|
|
17
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import {Component, EventEmitter, Input, Output, ViewEncapsulation} from "@angular/core";
|
|
2
|
+
import {Tab} from "./tab.interface";
|
|
3
|
+
import {CoDropDownListFields} from "../stock/stock-transfer/co-drop-down-list-fields.interface";
|
|
4
|
+
import {StockManagementWarehouses} from "@colijnit/articleapi/build/model/stock-management-warehouses.bo";
|
|
5
|
+
import {ArticleStockManagement} from "@colijnit/articleapi/build/model/article-stock-management";
|
|
6
|
+
import {StockService} from "../../service/stock.service";
|
|
7
|
+
import {ArticleDetailsBo} from "@colijnit/articleapi/build/model/article-details.bo";
|
|
8
|
+
|
|
9
|
+
@Component({
|
|
10
|
+
selector: "co-tab-bar",
|
|
11
|
+
template: `
|
|
12
|
+
<div class="tab-bar-wrapper">
|
|
13
|
+
<div class="tab-bar-warehouse-wrapper">
|
|
14
|
+
<div class="stock-location-group">
|
|
15
|
+
<div class="stock-location-right-group">
|
|
16
|
+
<co-list-of-values *ngIf="showWarehouseSelection"
|
|
17
|
+
[label]="wareHouseLabel"
|
|
18
|
+
[displayField]="'warehouseDescription'"
|
|
19
|
+
[collection]="dataWareHouseCode"
|
|
20
|
+
[multiselect]="false"
|
|
21
|
+
[required]="false"
|
|
22
|
+
[readonly]="false"
|
|
23
|
+
[customCssClass]="'mini-scrollbar'"
|
|
24
|
+
[searchPlaceholder]="wareHouseSearchLabel"
|
|
25
|
+
[model]="selectedWarehouse"
|
|
26
|
+
(modelChange)="onSelectWarehouse($event)"
|
|
27
|
+
class="custom-height"
|
|
28
|
+
>
|
|
29
|
+
</co-list-of-values>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="tab-bar">
|
|
34
|
+
<div class="tab-bar-primary">
|
|
35
|
+
<button *ngFor="let tab of tabs" [class.active]="tab.active" (click)="selectTab(tab)">
|
|
36
|
+
{{tab.title}}
|
|
37
|
+
</button>
|
|
38
|
+
</div>
|
|
39
|
+
<div class="secondary-tab-bar" *ngIf="ActivateSecondaryTabs">
|
|
40
|
+
<button *ngFor="let tab of secondaryTabs" [class.active]="tab.active" (click)="selectSecondaryTab(tab)">
|
|
41
|
+
{{tab.title}}
|
|
42
|
+
</button>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
`,
|
|
47
|
+
encapsulation: ViewEncapsulation.None
|
|
48
|
+
})
|
|
49
|
+
export class TabBarComponent {
|
|
50
|
+
|
|
51
|
+
@Input()
|
|
52
|
+
public wareHouseLabel: string;
|
|
53
|
+
|
|
54
|
+
@Input()
|
|
55
|
+
public wareHouseSearchLabel: string;
|
|
56
|
+
|
|
57
|
+
@Input()
|
|
58
|
+
public tabs: Tab[] = [];
|
|
59
|
+
|
|
60
|
+
@Input()
|
|
61
|
+
public secondaryTabs: Tab[] = [];
|
|
62
|
+
|
|
63
|
+
@Input()
|
|
64
|
+
public ActivateSecondaryTabs: boolean = false;
|
|
65
|
+
|
|
66
|
+
@Input()
|
|
67
|
+
public dataWareHouseCode: StockManagementWarehouses[] = [];
|
|
68
|
+
|
|
69
|
+
@Input()
|
|
70
|
+
public article: any;
|
|
71
|
+
|
|
72
|
+
@Input()
|
|
73
|
+
public showWarehouseSelection: boolean = false;
|
|
74
|
+
|
|
75
|
+
@Output()
|
|
76
|
+
public warehouseSelected: EventEmitter<StockManagementWarehouses> = new EventEmitter<StockManagementWarehouses>();
|
|
77
|
+
|
|
78
|
+
@Input()
|
|
79
|
+
public selectedWarehouse: any;
|
|
80
|
+
|
|
81
|
+
constructor(
|
|
82
|
+
private _stockService: StockService,
|
|
83
|
+
) {
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
public selectTab(tab: Tab): void {
|
|
87
|
+
if (tab.clickHandler) {
|
|
88
|
+
tab.clickHandler();
|
|
89
|
+
}
|
|
90
|
+
this.tabs.forEach(t => t.active = false);
|
|
91
|
+
tab.active = true;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
public selectSecondaryTab(secondaryTab: Tab): void {
|
|
95
|
+
if (secondaryTab.clickHandler) {
|
|
96
|
+
secondaryTab.clickHandler();
|
|
97
|
+
}
|
|
98
|
+
this.secondaryTabs.forEach(t => t.active = false);
|
|
99
|
+
secondaryTab.active = true;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
public onSelectWarehouse(event): void {
|
|
103
|
+
this.warehouseSelected.emit(event);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {NgModule} from "@angular/core";
|
|
2
|
+
import {CommonModule} from "@angular/common";
|
|
3
|
+
import {TabBarComponent} from "./tab-bar.component";
|
|
4
|
+
import {ListOfValuesModule} from "@colijnit/corecomponents_v12";
|
|
5
|
+
|
|
6
|
+
@NgModule({
|
|
7
|
+
imports: [
|
|
8
|
+
CommonModule,
|
|
9
|
+
ListOfValuesModule,
|
|
10
|
+
],
|
|
11
|
+
declarations: [
|
|
12
|
+
TabBarComponent
|
|
13
|
+
],
|
|
14
|
+
exports: [
|
|
15
|
+
TabBarComponent
|
|
16
|
+
]
|
|
17
|
+
})
|
|
18
|
+
export class TabBarModule {
|
|
19
|
+
|
|
20
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import {Component, EventEmitter, Input, Output, ViewEncapsulation} from "@angular/core";
|
|
2
|
+
import {CssUtils} from "../../../../utils/css-utils";
|
|
3
|
+
import {TagTreeItem} from "../../../../model/tag-tree-item.bo";
|
|
4
|
+
|
|
5
|
+
@Component({
|
|
6
|
+
selector: "tag-join-label",
|
|
7
|
+
template: `
|
|
8
|
+
<div class="labelgroup" [ngStyle]="styles()" [class.custom-colors]="tag.color != null" [class.focus-item]="selected">
|
|
9
|
+
<co-image *ngIf="tag.image" [source]="tagImage"></co-image>
|
|
10
|
+
<div class="tag-icon" *ngIf="!tag.image">
|
|
11
|
+
<icon icon="tag"
|
|
12
|
+
[class.dark]="tag.color == null && !selected"
|
|
13
|
+
[class.light]="tag.color != null || selected"
|
|
14
|
+
></icon>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="labeltext">
|
|
17
|
+
<span class="parentText" [class.custom-colors]="tag.color != null" [class.focus-item]="selected" *ngIf="tag.parentDescription" [textContent]="tag.parentDescription"></span>
|
|
18
|
+
<span class="mainText value-text" [class.custom-colors]="tag.color != null" [class.focus-item]="selected" [textContent]="tag.description"></span>
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
<co-button class="circle transparent small"
|
|
22
|
+
(click)="onCrossClick($event)"
|
|
23
|
+
></co-button>
|
|
24
|
+
`,
|
|
25
|
+
encapsulation: ViewEncapsulation.None
|
|
26
|
+
})
|
|
27
|
+
// Component to show a fancy tag label for a raw label text.
|
|
28
|
+
export class TagJoinLabelComponent {
|
|
29
|
+
// The tag description text to show.
|
|
30
|
+
@Input()
|
|
31
|
+
public tag: TagTreeItem;
|
|
32
|
+
|
|
33
|
+
@Input()
|
|
34
|
+
public selected: boolean;
|
|
35
|
+
|
|
36
|
+
@Input()
|
|
37
|
+
public tagImage: string;
|
|
38
|
+
|
|
39
|
+
@Output()
|
|
40
|
+
public readonly tagCrossClicked: EventEmitter<TagTreeItem> = new EventEmitter<TagTreeItem>();
|
|
41
|
+
|
|
42
|
+
constructor() {
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
public styles(): any {
|
|
46
|
+
if (!this.selected && this.tag.color != null) {
|
|
47
|
+
return {
|
|
48
|
+
"background-color": "" + CssUtils.DbRgbColorStringToCssRgbColor(this.tag.color)
|
|
49
|
+
};
|
|
50
|
+
} else {
|
|
51
|
+
return "";
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
public onCrossClick(event: MouseEvent): void {
|
|
56
|
+
event.preventDefault();
|
|
57
|
+
event.stopPropagation();
|
|
58
|
+
event.stopImmediatePropagation();
|
|
59
|
+
this.tagCrossClicked.emit(this.tag);
|
|
60
|
+
}
|
|
61
|
+
}
|
package/projects/sharedcomponents/src/lib/components/tags/component/tag-label/tag-label.component.ts
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import {Component, Input, ViewEncapsulation} from "@angular/core";
|
|
2
|
+
|
|
3
|
+
@Component({
|
|
4
|
+
selector: "sc-tag-label",
|
|
5
|
+
template: `
|
|
6
|
+
<!--icon icon="label" [ngStyle]="fills()"></icon-->
|
|
7
|
+
<div class="labelgroup" [ngStyle]="styles()">
|
|
8
|
+
<div class="labeltext" [class.custom-colors]="this.customColor != null">
|
|
9
|
+
<span [textContent]="model"></span>
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
`,
|
|
13
|
+
encapsulation: ViewEncapsulation.None
|
|
14
|
+
})
|
|
15
|
+
|
|
16
|
+
export class TagLabelComponent {
|
|
17
|
+
// The tag description text to show.
|
|
18
|
+
@Input()
|
|
19
|
+
public model: string;
|
|
20
|
+
|
|
21
|
+
public get customColor(): string {
|
|
22
|
+
return this._customColor;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
private _customColor: string;
|
|
26
|
+
|
|
27
|
+
constructor() {
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
public fills(): any {
|
|
31
|
+
return this._getColorStyleObject("fill");
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public styles(): any {
|
|
35
|
+
return this._getColorStyleObject("background-color");
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
private _getColorStyleObject(cssStyleType: string): any {
|
|
39
|
+
if (this._customColor != null) {
|
|
40
|
+
const styleObj: any = {};
|
|
41
|
+
styleObj[cssStyleType] = "" + this._customColor;
|
|
42
|
+
return styleObj;
|
|
43
|
+
} else {
|
|
44
|
+
return "";
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|