@colijnit/sharedcomponents 1.0.56 → 1.0.57
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/README.md +8 -11
- package/bundles/colijnit-sharedcomponents.umd.js +6748 -0
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -0
- package/colijnit-sharedcomponents.d.ts +74 -0
- package/colijnit-sharedcomponents.metadata.json +1 -0
- package/esm2015/colijnit-sharedcomponents.js +75 -0
- package/esm2015/lib/assets/dictionary/text.properties.js +11 -0
- package/esm2015/lib/components/date-planning/component/agenda/agenda-base-view.component.js +61 -0
- package/esm2015/lib/components/date-planning/component/agenda/agenda-day-view.component.js +36 -0
- package/esm2015/lib/components/date-planning/component/agenda/agenda-event.component.js +56 -0
- package/esm2015/lib/components/date-planning/component/agenda/agenda-events.component.js +47 -0
- package/esm2015/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.js +68 -0
- package/esm2015/lib/components/date-planning/component/agenda/agenda-header.component.js +243 -0
- package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-cell.component.js +36 -0
- package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.js +50 -0
- package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-view.component.js +46 -0
- package/esm2015/lib/components/date-planning/component/agenda/agenda-month-view.component.js +61 -0
- package/esm2015/lib/components/date-planning/component/agenda/agenda-select-event.component.js +39 -0
- package/esm2015/lib/components/date-planning/component/agenda/agenda-view.component.js +35 -0
- package/esm2015/lib/components/date-planning/component/agenda/agenda-week-select-view.component.js +64 -0
- package/esm2015/lib/components/date-planning/component/agenda/agenda-week-view.component.js +48 -0
- package/esm2015/lib/components/date-planning/component/agenda/view-select.component.js +42 -0
- package/esm2015/lib/components/date-planning/component/calendar/calendar-all-months.component.js +34 -0
- package/esm2015/lib/components/date-planning/component/calendar/calendar-all-years.component.js +48 -0
- package/esm2015/lib/components/date-planning/component/calendar/calendar-header.component.js +107 -0
- package/esm2015/lib/components/date-planning/component/calendar/calendar-view.component.js +178 -0
- package/esm2015/lib/components/date-planning/component/calendar/calendar.component.js +34 -0
- package/esm2015/lib/components/date-planning/date-planning.component.js +113 -0
- package/esm2015/lib/components/date-planning/date-planning.module.js +63 -0
- package/esm2015/lib/components/docsign/component/signature/signature.component.js +75 -0
- package/esm2015/lib/components/docsign/component/signatures/signatures.component.js +44 -0
- package/esm2015/lib/components/docsign/docsign.component.js +242 -0
- package/esm2015/lib/components/docsign/docsign.module.js +23 -0
- package/esm2015/lib/components/key-pad/key-pad.component.js +200 -0
- package/esm2015/lib/components/key-pad/key-pad.module.js +22 -0
- package/esm2015/lib/components/layout-switcher/layout-switcher.component.js +74 -0
- package/esm2015/lib/components/layout-switcher/layout-switcher.module.js +21 -0
- package/esm2015/lib/components/linear-gauge/co-linear-gauge.component.js +59 -0
- package/esm2015/lib/components/linear-gauge/co-linear-gauge.module.js +19 -0
- package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.js +79 -0
- package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.js +21 -0
- package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.js +85 -0
- package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.js +21 -0
- package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.js +64 -0
- package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.js +26 -0
- package/esm2015/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.js +40 -0
- package/esm2015/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.js +23 -0
- package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.js +61 -0
- package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.js +28 -0
- package/esm2015/lib/components/send-method-dialog/components/signature-button/signature-button.component.js +38 -0
- package/esm2015/lib/components/send-method-dialog/components/signature-button/signature-button.module.js +21 -0
- package/esm2015/lib/components/send-method-dialog/model/email-address-viewmodel.js +7 -0
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +258 -0
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.module.js +35 -0
- package/esm2015/lib/components/send-method-dialog/send-method-params.interface.js +2 -0
- package/esm2015/lib/components/send-method-dialog/service/send-method.service.js +59 -0
- package/esm2015/lib/components/simple-tags/simple-tags.component.js +229 -0
- package/esm2015/lib/components/simple-tags/simple-tags.module.js +26 -0
- package/esm2015/lib/components/statusbar/statusbar-popup.component.js +97 -0
- package/esm2015/lib/components/statusbar/statusbar.component.js +81 -0
- package/esm2015/lib/components/statusbar/statusbar.module.js +27 -0
- package/esm2015/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.js +47 -0
- package/esm2015/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.js +47 -0
- package/esm2015/lib/components/stock/components/order-stock-history/order-stock-history.component.js +47 -0
- package/esm2015/lib/components/stock/components/order-stock-tab/order-stock-tab.component.js +47 -0
- package/esm2015/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.js +47 -0
- package/esm2015/lib/components/stock/components/order-tab/order-tab.component.js +67 -0
- package/esm2015/lib/components/stock/components/stock-history/stock-history.component.js +53 -0
- package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +240 -0
- package/esm2015/lib/components/stock/components/stock-prognose/stock-prognose.component.js +52 -0
- package/esm2015/lib/components/stock/components/stock-tab/stock-tab.component.js +41 -0
- package/esm2015/lib/components/stock/localization/translation.js +63 -0
- package/esm2015/lib/components/stock/stock-history-tabs/stock-history-tabs.component.js +33 -0
- package/esm2015/lib/components/stock/stock-information/stock-information.component.js +48 -0
- package/esm2015/lib/components/stock/stock-information-grid/stock-information-grid.component.js +457 -0
- package/esm2015/lib/components/stock/stock-tabs/stock-tabs.component.js +241 -0
- package/esm2015/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.js +2 -0
- package/esm2015/lib/components/stock/stock-transfer/stock-change-amount.component.js +72 -0
- package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +149 -0
- package/esm2015/lib/components/stock/stock.component.js +193 -0
- package/esm2015/lib/components/stock/stock.module.js +80 -0
- package/esm2015/lib/components/stock-statusbar/stock-statusbar.component.js +23 -0
- package/esm2015/lib/components/stock-statusbar/stock-statusbar.module.js +19 -0
- package/esm2015/lib/components/tab-bar/tab-bar.component.js +88 -0
- package/esm2015/lib/components/tab-bar/tab-bar.module.js +21 -0
- package/esm2015/lib/components/tab-bar/tab.interface.js +2 -0
- package/esm2015/lib/enum/calendar-view.enum.js +9 -0
- package/esm2015/lib/enum/gauge-color.enum.js +10 -0
- package/esm2015/lib/enum/icon.enum.js +38 -0
- package/esm2015/lib/enum/keyboard-code.enum.js +32 -0
- package/esm2015/lib/enum/language-code.enum.js +8 -0
- package/esm2015/lib/enum/month.enum.js +17 -0
- package/esm2015/lib/enum/thumb-three-way-state.js +19 -0
- package/esm2015/lib/enum/time-period.enum.js +11 -0
- package/esm2015/lib/localization/localization.module.js +19 -0
- package/esm2015/lib/localization/localize.pipe.js +26 -0
- package/esm2015/lib/localization/localize.service.js +30 -0
- package/esm2015/lib/localization/translation.js +3 -0
- package/esm2015/lib/model/agenda-event-per-day.model.js +6 -0
- package/esm2015/lib/model/agenda-event.model.js +8 -0
- package/esm2015/lib/model/agenda-null-objects.js +11 -0
- package/esm2015/lib/model/constant/all-months.js +17 -0
- package/esm2015/lib/model/date-range.js +5 -0
- package/esm2015/lib/model/day.model.js +7 -0
- package/esm2015/lib/model/icon-svg.js +37 -0
- package/esm2015/lib/model/month.model.js +11 -0
- package/esm2015/lib/model/send-method.js +8 -0
- package/esm2015/lib/model/settings.js +4 -0
- package/esm2015/lib/model/time-window.bo.js +26 -0
- package/esm2015/lib/model/week.model.js +6 -0
- package/esm2015/lib/model/weekday.model.js +10 -0
- package/esm2015/lib/pipe/array-number.pipe.js +15 -0
- package/esm2015/lib/pipe/master-pipes.js +7 -0
- package/esm2015/lib/pipe/ucfirst.pipe.js +16 -0
- package/esm2015/lib/service/dictionary.service.js +76 -0
- package/esm2015/lib/service/icon-cache.service.js +51 -0
- package/esm2015/lib/service/options.service.js +48 -0
- package/esm2015/lib/service/shared-connector.service.js +424 -0
- package/esm2015/lib/service/shared.service.js +60 -0
- package/esm2015/lib/service/stock.service.js +110 -0
- package/esm2015/lib/utils/calendar.utils.js +68 -0
- package/esm2015/lib/utils/date-utils.js +264 -0
- package/esm2015/lib/utils/function/not-nill.function.js +5 -0
- package/esm2015/lib/utils/map-utils.js +41 -0
- package/esm2015/lib/utils/string-utils.js +64 -0
- package/esm2015/public-api.js +27 -0
- package/fesm2015/colijnit-sharedcomponents.js +7033 -0
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -0
- package/lib/assets/dictionary/text.properties.d.ts +3 -0
- package/lib/components/date-planning/component/agenda/agenda-base-view.component.d.ts +21 -0
- package/lib/components/date-planning/component/agenda/agenda-day-view.component.d.ts +7 -0
- package/lib/components/date-planning/component/agenda/agenda-event.component.d.ts +18 -0
- package/lib/components/date-planning/component/agenda/agenda-events.component.d.ts +13 -0
- package/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.d.ts +18 -0
- package/lib/components/date-planning/component/agenda/agenda-header.component.d.ts +48 -0
- package/lib/components/date-planning/component/agenda/agenda-hour-cell.component.d.ts +9 -0
- package/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.d.ts +8 -0
- package/lib/components/date-planning/component/agenda/agenda-hour-view.component.d.ts +7 -0
- package/lib/components/date-planning/component/agenda/agenda-month-view.component.d.ts +10 -0
- package/lib/components/date-planning/component/agenda/agenda-select-event.component.d.ts +12 -0
- package/lib/components/date-planning/component/agenda/agenda-view.component.d.ts +12 -0
- package/lib/components/date-planning/component/agenda/agenda-week-select-view.component.d.ts +10 -0
- package/lib/components/date-planning/component/agenda/agenda-week-view.component.d.ts +9 -0
- package/lib/components/date-planning/component/agenda/view-select.component.d.ts +11 -0
- package/lib/components/date-planning/component/calendar/calendar-all-months.component.d.ts +9 -0
- package/lib/components/date-planning/component/calendar/calendar-all-years.component.d.ts +9 -0
- package/lib/components/date-planning/component/calendar/calendar-header.component.d.ts +23 -0
- package/lib/components/date-planning/component/calendar/calendar-view.component.d.ts +31 -0
- package/lib/components/date-planning/component/calendar/calendar.component.d.ts +10 -0
- package/lib/components/date-planning/date-planning.component.d.ts +28 -0
- package/lib/components/date-planning/date-planning.module.d.ts +2 -0
- package/lib/components/docsign/component/signature/signature.component.d.ts +16 -0
- package/lib/components/docsign/component/signatures/signatures.component.d.ts +12 -0
- package/lib/components/docsign/docsign.component.d.ts +94 -0
- package/lib/components/docsign/docsign.module.d.ts +2 -0
- package/lib/components/key-pad/key-pad.component.d.ts +38 -0
- package/lib/components/key-pad/key-pad.module.d.ts +2 -0
- package/lib/components/layout-switcher/layout-switcher.component.d.ts +16 -0
- package/lib/components/layout-switcher/layout-switcher.module.d.ts +2 -0
- package/lib/components/linear-gauge/co-linear-gauge.component.d.ts +11 -0
- package/lib/components/linear-gauge/co-linear-gauge.module.d.ts +2 -0
- package/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.d.ts +19 -0
- package/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.d.ts +2 -0
- package/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.d.ts +19 -0
- package/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.d.ts +2 -0
- package/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.d.ts +14 -0
- package/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.d.ts +2 -0
- package/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.d.ts +8 -0
- package/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.d.ts +2 -0
- package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.d.ts +13 -0
- package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.d.ts +2 -0
- package/lib/components/send-method-dialog/components/signature-button/signature-button.component.d.ts +12 -0
- package/lib/components/send-method-dialog/components/signature-button/signature-button.module.d.ts +2 -0
- package/lib/components/send-method-dialog/model/email-address-viewmodel.d.ts +5 -0
- package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +71 -0
- package/lib/components/send-method-dialog/send-method-dialog.module.d.ts +2 -0
- package/lib/components/send-method-dialog/send-method-params.interface.d.ts +13 -0
- package/lib/components/send-method-dialog/service/send-method.service.d.ts +23 -0
- package/lib/components/simple-tags/simple-tags.component.d.ts +31 -0
- package/lib/components/simple-tags/simple-tags.module.d.ts +2 -0
- package/lib/components/statusbar/statusbar-popup.component.d.ts +21 -0
- package/lib/components/statusbar/statusbar.component.d.ts +26 -0
- package/lib/components/statusbar/statusbar.module.d.ts +2 -0
- package/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.d.ts +9 -0
- package/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.d.ts +9 -0
- package/lib/components/stock/components/order-stock-history/order-stock-history.component.d.ts +9 -0
- package/lib/components/stock/components/order-stock-tab/order-stock-tab.component.d.ts +11 -0
- package/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.d.ts +9 -0
- package/lib/components/stock/components/order-tab/order-tab.component.d.ts +20 -0
- package/lib/components/stock/components/stock-history/stock-history.component.d.ts +13 -0
- package/lib/components/stock/components/stock-location/stock-location.component.d.ts +50 -0
- package/lib/components/stock/components/stock-prognose/stock-prognose.component.d.ts +11 -0
- package/lib/components/stock/components/stock-tab/stock-tab.component.d.ts +9 -0
- package/lib/components/stock/localization/translation.d.ts +60 -0
- package/lib/components/stock/stock-history-tabs/stock-history-tabs.component.d.ts +7 -0
- package/lib/components/stock/stock-information/stock-information.component.d.ts +8 -0
- package/lib/components/stock/stock-information-grid/stock-information-grid.component.d.ts +75 -0
- package/lib/components/stock/stock-tabs/stock-tabs.component.d.ts +56 -0
- package/{projects/sharedcomponents/src/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.ts → lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.d.ts} +2 -2
- package/lib/components/stock/stock-transfer/stock-change-amount.component.d.ts +18 -0
- package/lib/components/stock/stock-transfer/stock-transfer.component.d.ts +42 -0
- package/lib/components/stock/stock.component.d.ts +57 -0
- package/lib/components/stock/stock.module.d.ts +2 -0
- package/lib/components/stock-statusbar/stock-statusbar.component.d.ts +4 -0
- package/lib/components/stock-statusbar/stock-statusbar.module.d.ts +2 -0
- package/lib/components/tab-bar/tab-bar.component.d.ts +21 -0
- package/lib/components/tab-bar/tab-bar.module.d.ts +2 -0
- package/lib/components/tab-bar/tab.interface.d.ts +5 -0
- package/{projects/sharedcomponents/src/lib/enum/calendar-view.enum.ts → lib/enum/calendar-view.enum.d.ts} +2 -3
- package/lib/enum/gauge-color.enum.d.ts +8 -0
- package/{projects/sharedcomponents/src/lib/enum/icon.enum.ts → lib/enum/icon.enum.d.ts} +2 -3
- package/lib/enum/keyboard-code.enum.d.ts +30 -0
- package/lib/enum/language-code.enum.d.ts +6 -0
- package/{projects/sharedcomponents/src/lib/enum/month.enum.ts → lib/enum/month.enum.d.ts} +1 -2
- package/lib/enum/thumb-three-way-state.d.ts +6 -0
- package/{projects/sharedcomponents/src/lib/enum/time-period.enum.ts → lib/enum/time-period.enum.d.ts} +1 -2
- package/lib/localization/localization.module.d.ts +2 -0
- package/lib/localization/localize.pipe.d.ts +7 -0
- package/lib/localization/localize.service.d.ts +7 -0
- package/lib/localization/translation.d.ts +2 -0
- package/lib/model/agenda-event-per-day.model.d.ts +5 -0
- package/lib/model/agenda-event.model.d.ts +17 -0
- package/lib/model/agenda-null-objects.d.ts +10 -0
- package/lib/model/constant/all-months.d.ts +2 -0
- package/lib/model/date-range.d.ts +7 -0
- package/lib/model/day.model.d.ts +8 -0
- package/lib/model/icon-svg.d.ts +4 -0
- package/lib/model/month.model.d.ts +5 -0
- package/lib/model/send-method.d.ts +7 -0
- package/lib/model/settings.d.ts +3 -0
- package/lib/model/time-window.bo.d.ts +13 -0
- package/lib/model/week.model.d.ts +4 -0
- package/lib/model/weekday.model.d.ts +16 -0
- package/lib/pipe/array-number.pipe.d.ts +4 -0
- package/lib/pipe/master-pipes.d.ts +1 -0
- package/lib/pipe/ucfirst.pipe.d.ts +4 -0
- package/lib/service/dictionary.service.d.ts +21 -0
- package/lib/service/icon-cache.service.d.ts +18 -0
- package/lib/service/options.service.d.ts +13 -0
- package/lib/service/shared-connector.service.d.ts +53 -0
- package/lib/service/shared.service.d.ts +18 -0
- package/lib/service/stock.service.d.ts +41 -0
- package/lib/utils/calendar.utils.d.ts +10 -0
- package/lib/utils/date-utils.d.ts +44 -0
- package/lib/utils/function/not-nill.function.d.ts +1 -0
- package/lib/utils/map-utils.d.ts +16 -0
- package/lib/utils/string-utils.d.ts +22 -0
- package/package.json +31 -68
- package/{projects/sharedcomponents/src/public-api.ts → public-api.d.ts} +0 -4
- package/.browserslistrc +0 -16
- package/.editorconfig +0 -16
- package/.vscode/extensions.json +0 -4
- package/.vscode/launch.json +0 -20
- package/.vscode/tasks.json +0 -42
- package/Sharedcomponents.iml +0 -11
- package/angular.json +0 -177
- package/custom-login-bundle.webpack.config.js +0 -3
- package/karma.conf.js +0 -44
- package/move-assets.js +0 -14
- package/projects/sharedcomponents/.browserslistrc +0 -16
- package/projects/sharedcomponents/README.md +0 -24
- package/projects/sharedcomponents/karma.conf.js +0 -44
- package/projects/sharedcomponents/ng-package.json +0 -17
- package/projects/sharedcomponents/package.json +0 -23
- package/projects/sharedcomponents/src/lib/assets/dictionary/text.properties.ts +0 -8
- package/projects/sharedcomponents/src/lib/assets/icons/account.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/angle_left_solid.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/angle_right_solid.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/arrow_fat_right.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/arrow_point_left.svg +0 -8
- package/projects/sharedcomponents/src/lib/assets/icons/arrow_point_right.svg +0 -4
- package/projects/sharedcomponents/src/lib/assets/icons/at_solid.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/bring_forward_regular.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/check_duotone.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/check_round.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/cross_skinny.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/delete_left_regular.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/delivery_truck.svg +0 -12
- package/projects/sharedcomponents/src/lib/assets/icons/email.svg +0 -5
- package/projects/sharedcomponents/src/lib/assets/icons/envelope_regular.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/eye_regular.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/file_export_regular.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/file_export_solid.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/file_pdf_regular.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/file_pdf_solid.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/file_signature_regular.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/house_blank_regular.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/lock.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/message_sms_regular.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/message_sms_solid.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/pdf.svg +0 -15
- package/projects/sharedcomponents/src/lib/assets/icons/print.svg +0 -10
- package/projects/sharedcomponents/src/lib/assets/icons/print_regular.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/print_solid.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/signature_field.svg +0 -9
- package/projects/sharedcomponents/src/lib/assets/icons/tag_regular.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/x_solid.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/xml.svg +0 -1
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-base-view.component.ts +0 -68
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-day-view.component.ts +0 -35
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-event.component.ts +0 -73
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-events.component.ts +0 -53
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.ts +0 -81
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-header.component.ts +0 -275
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-hour-cell.component.ts +0 -38
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.ts +0 -50
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-hour-view.component.ts +0 -46
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-month-view.component.ts +0 -65
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-select-event.component.ts +0 -39
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-view.component.ts +0 -41
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-week-select-view.component.ts +0 -63
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-week-view.component.ts +0 -50
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/view-select.component.ts +0 -43
- package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-all-months.component.ts +0 -37
- package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-all-years.component.ts +0 -52
- package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-header.component.ts +0 -123
- package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-view.component.ts +0 -200
- package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar.component.ts +0 -35
- package/projects/sharedcomponents/src/lib/components/date-planning/date-planning.component.ts +0 -141
- package/projects/sharedcomponents/src/lib/components/date-planning/date-planning.module.ts +0 -61
- package/projects/sharedcomponents/src/lib/components/docsign/component/signature/signature.component.ts +0 -82
- package/projects/sharedcomponents/src/lib/components/docsign/component/signatures/signatures.component.ts +0 -50
- package/projects/sharedcomponents/src/lib/components/docsign/docsign.component.ts +0 -270
- package/projects/sharedcomponents/src/lib/components/docsign/docsign.module.ts +0 -22
- package/projects/sharedcomponents/src/lib/components/key-pad/key-pad.component.ts +0 -216
- package/projects/sharedcomponents/src/lib/components/key-pad/key-pad.module.ts +0 -20
- package/projects/sharedcomponents/src/lib/components/layout-switcher/layout-switcher.component.ts +0 -98
- package/projects/sharedcomponents/src/lib/components/layout-switcher/layout-switcher.module.ts +0 -21
- package/projects/sharedcomponents/src/lib/components/linear-gauge/co-linear-gauge.component.ts +0 -57
- package/projects/sharedcomponents/src/lib/components/linear-gauge/co-linear-gauge.module.ts +0 -17
- package/projects/sharedcomponents/src/lib/components/login/components/login-base.component.ts +0 -98
- package/projects/sharedcomponents/src/lib/components/login/components/login-change-password.component.ts +0 -194
- package/projects/sharedcomponents/src/lib/components/login/components/login-mfa-code-entry.component.ts +0 -41
- package/projects/sharedcomponents/src/lib/components/login/components/login-mfa-code-setup.component.ts +0 -44
- package/projects/sharedcomponents/src/lib/components/login/components/login-username-password.component.ts +0 -167
- package/projects/sharedcomponents/src/lib/components/login/localization/login-translation.ts +0 -15
- package/projects/sharedcomponents/src/lib/components/login/login.component.ts +0 -137
- package/projects/sharedcomponents/src/lib/components/login/login.module.ts +0 -53
- package/projects/sharedcomponents/src/lib/components/login/service/login-adapter.service.ts +0 -58
- package/projects/sharedcomponents/src/lib/components/login/service/login.service.ts +0 -50
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/enums/field-type.enum.ts +0 -9
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Config.ts +0 -6
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Field.ts +0 -8
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Header.ts +0 -8
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Module.ts +0 -6
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Rubric.ts +0 -10
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/ScreenConfig.ts +0 -9
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/SubCat.ts +0 -9
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/SubRubric.ts +0 -8
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/screen-config-generator.component.ts +0 -539
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/screen-config-generator.module.ts +0 -21
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.ts +0 -91
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.ts +0 -19
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.ts +0 -84
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.ts +0 -19
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.ts +0 -63
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.ts +0 -24
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.ts +0 -38
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.ts +0 -21
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.ts +0 -60
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.ts +0 -26
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/signature-button/signature-button.component.ts +0 -42
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/signature-button/signature-button.module.ts +0 -19
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/model/email-address-viewmodel.ts +0 -9
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/send-method-dialog.component.ts +0 -325
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/send-method-dialog.module.ts +0 -32
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/send-method-params.interface.ts +0 -13
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/service/send-method.service.ts +0 -63
- package/projects/sharedcomponents/src/lib/components/simple-tags/simple-tags.component.ts +0 -243
- package/projects/sharedcomponents/src/lib/components/simple-tags/simple-tags.module.ts +0 -24
- package/projects/sharedcomponents/src/lib/components/statusbar/statusbar-popup.component.ts +0 -100
- package/projects/sharedcomponents/src/lib/components/statusbar/statusbar.component.ts +0 -107
- package/projects/sharedcomponents/src/lib/components/statusbar/statusbar.module.ts +0 -25
- package/projects/sharedcomponents/src/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.ts +0 -45
- package/projects/sharedcomponents/src/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.ts +0 -45
- package/projects/sharedcomponents/src/lib/components/stock/components/order-stock-history/order-stock-history.component.ts +0 -45
- package/projects/sharedcomponents/src/lib/components/stock/components/order-stock-tab/order-stock-tab.component.ts +0 -43
- package/projects/sharedcomponents/src/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.ts +0 -45
- package/projects/sharedcomponents/src/lib/components/stock/components/order-tab/order-tab.component.ts +0 -71
- package/projects/sharedcomponents/src/lib/components/stock/components/stock-history/stock-history.component.ts +0 -52
- package/projects/sharedcomponents/src/lib/components/stock/components/stock-location/stock-location.component.ts +0 -276
- package/projects/sharedcomponents/src/lib/components/stock/components/stock-prognose/stock-prognose.component.ts +0 -49
- package/projects/sharedcomponents/src/lib/components/stock/components/stock-tab/stock-tab.component.ts +0 -40
- package/projects/sharedcomponents/src/lib/components/stock/localization/translation.ts +0 -60
- package/projects/sharedcomponents/src/lib/components/stock/stock-history-tabs/stock-history-tabs.component.ts +0 -32
- package/projects/sharedcomponents/src/lib/components/stock/stock-information/stock-information.component.ts +0 -56
- package/projects/sharedcomponents/src/lib/components/stock/stock-information-grid/stock-information-grid.component.ts +0 -500
- package/projects/sharedcomponents/src/lib/components/stock/stock-tabs/stock-tabs.component.ts +0 -276
- package/projects/sharedcomponents/src/lib/components/stock/stock-transfer/stock-change-amount.component.ts +0 -77
- package/projects/sharedcomponents/src/lib/components/stock/stock-transfer/stock-transfer.component.ts +0 -178
- package/projects/sharedcomponents/src/lib/components/stock/stock.component.ts +0 -228
- package/projects/sharedcomponents/src/lib/components/stock/stock.module.ts +0 -97
- package/projects/sharedcomponents/src/lib/components/stock-statusbar/stock-statusbar.component.ts +0 -23
- package/projects/sharedcomponents/src/lib/components/stock-statusbar/stock-statusbar.module.ts +0 -17
- package/projects/sharedcomponents/src/lib/components/tab-bar/tab-bar.component.ts +0 -106
- package/projects/sharedcomponents/src/lib/components/tab-bar/tab-bar.module.ts +0 -20
- package/projects/sharedcomponents/src/lib/components/tab-bar/tab.interface.ts +0 -5
- package/projects/sharedcomponents/src/lib/components/tags/component/tag-join-label/tag-join-label.component.ts +0 -61
- package/projects/sharedcomponents/src/lib/components/tags/component/tag-label/tag-label.component.ts +0 -47
- package/projects/sharedcomponents/src/lib/components/tags/component/treeview/model/tree-view-node-item.ts +0 -132
- package/projects/sharedcomponents/src/lib/components/tags/component/treeview/treeview.component.ts +0 -258
- package/projects/sharedcomponents/src/lib/components/tags/tags.component.ts +0 -192
- package/projects/sharedcomponents/src/lib/components/tags/tags.module.ts +0 -27
- package/projects/sharedcomponents/src/lib/directives/click-outside.directive.ts +0 -25
- package/projects/sharedcomponents/src/lib/enum/gauge-color.enum.ts +0 -8
- package/projects/sharedcomponents/src/lib/enum/keyboard-code.enum.ts +0 -30
- package/projects/sharedcomponents/src/lib/enum/language-code.enum.ts +0 -6
- package/projects/sharedcomponents/src/lib/enum/login-component-extra-action-type.enum.ts +0 -4
- package/projects/sharedcomponents/src/lib/enum/login-component-page.type.enum.ts +0 -6
- package/projects/sharedcomponents/src/lib/enum/login-component-query-variables-name.enum.ts +0 -5
- package/projects/sharedcomponents/src/lib/enum/tag-category.enum.ts +0 -20
- package/projects/sharedcomponents/src/lib/enum/thumb-three-way-state.ts +0 -18
- package/projects/sharedcomponents/src/lib/localization/localization.module.ts +0 -17
- package/projects/sharedcomponents/src/lib/localization/localize.pipe.ts +0 -21
- package/projects/sharedcomponents/src/lib/localization/localize.service.ts +0 -28
- package/projects/sharedcomponents/src/lib/localization/translation.ts +0 -2
- package/projects/sharedcomponents/src/lib/model/agenda-event-per-day.model.ts +0 -6
- package/projects/sharedcomponents/src/lib/model/agenda-event.model.ts +0 -19
- package/projects/sharedcomponents/src/lib/model/agenda-null-objects.ts +0 -11
- package/projects/sharedcomponents/src/lib/model/constant/all-months.ts +0 -17
- package/projects/sharedcomponents/src/lib/model/date-range.ts +0 -10
- package/projects/sharedcomponents/src/lib/model/day.model.ts +0 -9
- package/projects/sharedcomponents/src/lib/model/icon-svg.ts +0 -37
- package/projects/sharedcomponents/src/lib/model/month.model.ts +0 -11
- package/projects/sharedcomponents/src/lib/model/send-method.ts +0 -13
- package/projects/sharedcomponents/src/lib/model/settings.ts +0 -5
- package/projects/sharedcomponents/src/lib/model/tag-tree-item.bo.ts +0 -28
- package/projects/sharedcomponents/src/lib/model/time-window.bo.ts +0 -21
- package/projects/sharedcomponents/src/lib/model/tree-object.ts +0 -13
- package/projects/sharedcomponents/src/lib/model/tree-view-default.model.ts +0 -107
- package/projects/sharedcomponents/src/lib/model/tree-view-node-default.model.ts +0 -196
- package/projects/sharedcomponents/src/lib/model/tree-view-node-item-options.model.ts +0 -12
- package/projects/sharedcomponents/src/lib/model/tree-view-node.model.ts +0 -150
- package/projects/sharedcomponents/src/lib/model/tree-view.model.ts +0 -57
- package/projects/sharedcomponents/src/lib/model/week.model.ts +0 -5
- package/projects/sharedcomponents/src/lib/model/weekday.model.ts +0 -17
- package/projects/sharedcomponents/src/lib/pipe/array-number.pipe.ts +0 -14
- package/projects/sharedcomponents/src/lib/pipe/master-pipes.ts +0 -7
- package/projects/sharedcomponents/src/lib/pipe/ucfirst.pipe.ts +0 -14
- package/projects/sharedcomponents/src/lib/service/dictionary.service.ts +0 -86
- package/projects/sharedcomponents/src/lib/service/icon-cache.service.ts +0 -51
- package/projects/sharedcomponents/src/lib/service/options.service.ts +0 -43
- package/projects/sharedcomponents/src/lib/service/shared-connector.service.ts +0 -401
- package/projects/sharedcomponents/src/lib/service/shared-initializer.service.ts +0 -29
- package/projects/sharedcomponents/src/lib/service/shared.service.ts +0 -49
- package/projects/sharedcomponents/src/lib/service/stock.service.ts +0 -124
- package/projects/sharedcomponents/src/lib/utils/array-utils.ts +0 -225
- package/projects/sharedcomponents/src/lib/utils/calendar.utils.ts +0 -75
- package/projects/sharedcomponents/src/lib/utils/check-precision-and-scale-result.ts +0 -5
- package/projects/sharedcomponents/src/lib/utils/check-within-stepped-bounds-result.ts +0 -8
- package/projects/sharedcomponents/src/lib/utils/css-utils.ts +0 -275
- package/projects/sharedcomponents/src/lib/utils/date-utils.ts +0 -302
- package/projects/sharedcomponents/src/lib/utils/function/not-nill.function.ts +0 -4
- package/projects/sharedcomponents/src/lib/utils/is-nill.function.ts +0 -4
- package/projects/sharedcomponents/src/lib/utils/map-utils.ts +0 -44
- package/projects/sharedcomponents/src/lib/utils/number-utils.ts +0 -439
- package/projects/sharedcomponents/src/lib/utils/object-utils.ts +0 -310
- package/projects/sharedcomponents/src/lib/utils/string-utils.ts +0 -67
- package/projects/sharedcomponents/src/lib/utils/tree-utils.ts +0 -63
- package/projects/sharedcomponents/src/test.ts +0 -27
- package/projects/sharedcomponents/tsconfig.lib.json +0 -18
- package/projects/sharedcomponents/tsconfig.lib.prod.json +0 -10
- package/projects/sharedcomponents/tsconfig.spec.json +0 -17
- package/script/create-bundle-version.js +0 -19
- package/script/merge-icons.js +0 -39
- package/src/app/app.component.scss +0 -31
- package/src/app/app.component.spec.ts +0 -31
- package/src/app/app.component.ts +0 -454
- package/src/app/app.module.ts +0 -69
- package/src/app/bundle/index.html +0 -14
- package/src/app/bundle/login/login-bundle.component.scss +0 -6
- package/src/app/bundle/login/login-bundle.component.ts +0 -111
- package/src/app/bundle/login/login-bundle.module.ts +0 -30
- package/src/app/bundle/main-login-bundle.ts +0 -11
- package/src/app/bundle/polyfills.ts +0 -63
- package/src/app/test-data.service.ts +0 -60
- package/src/assets/.gitkeep +0 -0
- package/src/environments/environment.bundle.prod.ts +0 -3
- package/src/environments/environment.prod.ts +0 -3
- package/src/environments/environment.ts +0 -16
- package/src/favicon.ico +0 -0
- package/src/index.html +0 -13
- package/src/main.ts +0 -12
- package/src/polyfills.ts +0 -53
- package/src/styles.scss +0 -54
- package/src/test.ts +0 -26
- package/tsconfig.app.json +0 -15
- package/tsconfig.bundle.json +0 -38
- package/tsconfig.json +0 -64
- package/tsconfig.spec.json +0 -18
- package/webpack.login.bundle.config.js +0 -32
- /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/agenda/style/_layout.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/agenda/style/_material-definition.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/agenda/style/_theme.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/agenda/style/material.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/calendar/style/_layout.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/calendar/style/_material-definition.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/calendar/style/_theme.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/calendar/style/material.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/style/_layout.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/style/_material-definition.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/style/_theme.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/style/material.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signature/style/_layout.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signature/style/_material-definition.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signature/style/_theme.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signature/style/material.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signatures/style/_layout.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signatures/style/_material-definition.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signatures/style/_theme.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signatures/style/material.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/style/_layout.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/style/_material-definition.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/style/_theme.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/docsign/style/material.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/key-pad/style/_layout.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/key-pad/style/_material-definition.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/key-pad/style/_theme.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/key-pad/style/material.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/layout-switcher/style/_layout.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/layout-switcher/style/_material-definition.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/layout-switcher/style/_theme.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/layout-switcher/style/material.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/linear-gauge/style/_layout.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/linear-gauge/style/_material-definition.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/linear-gauge/style/_theme.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/linear-gauge/style/material.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/login/style/_layout.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/login/style/_material-definition.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/login/style/_theme.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/login/style/material.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/screen-config-generator/style/_layout.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/screen-config-generator/style/_material-definition.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/screen-config-generator/style/_theme.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/screen-config-generator/style/material.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/layout-selection/style/_layout.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/layout-selection/style/_material-definition.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/layout-selection/style/_theme.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/layout-selection/style/material.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/printer-selection/style/_layout.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/printer-selection/style/_material-definition.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/printer-selection/style/_theme.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/printer-selection/style/material.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-email/style/_layout.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-email/style/_material-definition.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-email/style/_theme.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-email/style/material.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-pdf/style/_layout.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-pdf/style/_material-definition.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-pdf/style/_theme.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-pdf/style/material.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-printer/style/_layout.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-printer/style/_material-definition.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-printer/style/_theme.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/send-method-printer/style/material.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/signature-button/style/_layout.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/signature-button/style/_material-definition.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/signature-button/style/_theme.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/components/signature-button/style/material.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/style/_layout.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/style/_material-definition.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/style/_theme.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/style/material.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/simple-tags/style/_layout.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/simple-tags/style/_material-definition.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/simple-tags/style/_theme.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/simple-tags/style/material.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/statusbar/style/_layout.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/statusbar/style/_material-definition.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/statusbar/style/_theme.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/statusbar/style/material.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/stock/style/_layout.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/stock/style/_material-definition.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/stock/style/_theme.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/stock/style/material.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/stock-statusbar/style/_layout.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/stock-statusbar/style/_material-definition.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/stock-statusbar/style/_theme.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/stock-statusbar/style/material.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/tab-bar/style/_layout.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/tab-bar/style/_material-definition.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/tab-bar/style/_theme.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/tab-bar/style/material.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/tags/component/style/_layout.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/tags/component/style/_material-definition.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/tags/component/style/_theme.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/tags/component/style/material.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/tags/component/tag-join-label/style/_layout.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/tags/component/tag-join-label/style/_material-definition.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/tags/component/tag-join-label/style/_theme.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/components/tags/component/tag-join-label/style/material.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/style/_mixin.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/style/_variables.scss +0 -0
- /package/{projects/sharedcomponents/src/lib → lib}/style/sharedcomponents-globals.scss +0 -0
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import {Component, EventEmitter, Input, Output, ViewEncapsulation} from "@angular/core";
|
|
2
|
-
import {CalendarView} from "../../../../enum/calendar-view.enum";
|
|
3
|
-
import {ThumbThreeWayState} from "../../../../enum/thumb-three-way-state";
|
|
4
|
-
import {MapUtils} from "../../../../utils/map-utils";
|
|
5
|
-
|
|
6
|
-
@Component({
|
|
7
|
-
selector: "view-select",
|
|
8
|
-
template: `
|
|
9
|
-
<div class="select-wrapper">
|
|
10
|
-
<div [textContent]="'DAY'" class="label"></div>
|
|
11
|
-
<div [textContent]="'MONTH'" class="label"></div>
|
|
12
|
-
</div>
|
|
13
|
-
`,
|
|
14
|
-
encapsulation: ViewEncapsulation.None
|
|
15
|
-
})
|
|
16
|
-
export class ViewSelectComponent {
|
|
17
|
-
|
|
18
|
-
private readonly _viewsToThumb: Map<CalendarView, ThumbThreeWayState> = new Map<CalendarView, ThumbThreeWayState>([
|
|
19
|
-
[CalendarView.DayView, ThumbThreeWayState.Left],
|
|
20
|
-
[CalendarView.WeekView, ThumbThreeWayState.Middle],
|
|
21
|
-
[CalendarView.MonthView, ThumbThreeWayState.Right]
|
|
22
|
-
]);
|
|
23
|
-
|
|
24
|
-
@Input()
|
|
25
|
-
public selectedView: CalendarView = CalendarView.WeekView;
|
|
26
|
-
|
|
27
|
-
@Output()
|
|
28
|
-
public selectedViewChange: EventEmitter<CalendarView> = new EventEmitter<CalendarView>();
|
|
29
|
-
|
|
30
|
-
public get modelAsThumbState(): ThumbThreeWayState {
|
|
31
|
-
return this._viewsToThumb.get(this.selectedView);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
constructor() {
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
public onThumbStateChange(thumbState: ThumbThreeWayState): void {
|
|
38
|
-
this.selectedView = MapUtils.FindKeyByValue<CalendarView, ThumbThreeWayState>(this._viewsToThumb, (value: ThumbThreeWayState) => {
|
|
39
|
-
return (value === thumbState);
|
|
40
|
-
});
|
|
41
|
-
this.selectedViewChange.emit(this.selectedView);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import {Component, EventEmitter, Input, OnInit, Output, ViewEncapsulation} from "@angular/core";
|
|
2
|
-
import {ALL_MONTHS} from "../../../../model/constant/all-months";
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: "calendar-all-months",
|
|
6
|
-
template: `
|
|
7
|
-
<div *ngFor="let currentMonth of months; let index = index"
|
|
8
|
-
[class.selected-month]="month === index"
|
|
9
|
-
[textContent]="currentMonth"
|
|
10
|
-
class="pointer-hover"
|
|
11
|
-
(click)="month = index; monthChange.emit(month)"
|
|
12
|
-
></div>
|
|
13
|
-
`,
|
|
14
|
-
encapsulation: ViewEncapsulation.None
|
|
15
|
-
})
|
|
16
|
-
|
|
17
|
-
export class CalendarAllMonthsComponent implements OnInit {
|
|
18
|
-
|
|
19
|
-
@Input()
|
|
20
|
-
public month: number;
|
|
21
|
-
|
|
22
|
-
@Input()
|
|
23
|
-
public shortDescriptions: boolean = false;
|
|
24
|
-
|
|
25
|
-
@Output()
|
|
26
|
-
public monthChange: EventEmitter<number> = new EventEmitter<number>();
|
|
27
|
-
|
|
28
|
-
public months: string[] = [];
|
|
29
|
-
|
|
30
|
-
constructor() {
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
ngOnInit(): void {
|
|
34
|
-
this.months.length = 0;
|
|
35
|
-
this.months = ALL_MONTHS;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import {Component, EventEmitter, Input, OnInit, Output, ViewEncapsulation} from "@angular/core";
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: "calendar-all-years",
|
|
5
|
-
template: `
|
|
6
|
-
<div *ngFor="let currentYear of years"
|
|
7
|
-
[textContent]="currentYear"
|
|
8
|
-
[class.selected-year]="currentYear === year"
|
|
9
|
-
class="pointer-hover"
|
|
10
|
-
(click)="year = currentYear; yearChange.emit(year)"
|
|
11
|
-
></div>
|
|
12
|
-
`,
|
|
13
|
-
encapsulation: ViewEncapsulation.None
|
|
14
|
-
})
|
|
15
|
-
|
|
16
|
-
export class CalendarAllYearsComponent implements OnInit {
|
|
17
|
-
|
|
18
|
-
@Input()
|
|
19
|
-
public year: number;
|
|
20
|
-
|
|
21
|
-
@Output()
|
|
22
|
-
public readonly yearChange: EventEmitter<number> = new EventEmitter<number>();
|
|
23
|
-
|
|
24
|
-
public years: number[] = [];
|
|
25
|
-
|
|
26
|
-
constructor() {
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
ngOnInit(): void {
|
|
30
|
-
this.years.length = 0;
|
|
31
|
-
let start: number = this._determineStart();
|
|
32
|
-
const end: number = start + 11;
|
|
33
|
-
while (start < end) {
|
|
34
|
-
this.years.push(start);
|
|
35
|
-
start++;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
private _determineStart(): number {
|
|
40
|
-
if (this.year > 0) {
|
|
41
|
-
let thisYear: number = this.year;
|
|
42
|
-
let thisYearLastDigit: number = parseInt(thisYear.toString().split("").pop());
|
|
43
|
-
while (thisYearLastDigit > 0) {
|
|
44
|
-
thisYear--;
|
|
45
|
-
thisYearLastDigit = parseInt(thisYear.toString().split("").pop());
|
|
46
|
-
}
|
|
47
|
-
return thisYear;
|
|
48
|
-
}
|
|
49
|
-
return 0;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
}
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import {Component, DoCheck, EventEmitter, Input, Output, ViewEncapsulation} from "@angular/core";
|
|
2
|
-
import {animate, state, style, transition, trigger} from "@angular/animations";
|
|
3
|
-
import {ALL_MONTHS} from "../../../../model/constant/all-months";
|
|
4
|
-
import {Icon} from "../../../../enum/icon.enum";
|
|
5
|
-
import {IconCacheService} from "../../../../service/icon-cache.service";
|
|
6
|
-
|
|
7
|
-
@Component({
|
|
8
|
-
selector: "calendar-header",
|
|
9
|
-
template: `
|
|
10
|
-
<div #monthYearSelect class="calendar-header-row">
|
|
11
|
-
<co-icon class="pointer-hover" [iconData]="iconCacheService.getIcon(icons.ArrowPointLeft)" (click)="subMonth()"></co-icon>
|
|
12
|
-
<div (click)="showMonthYearSelect = true">
|
|
13
|
-
<div class="month" [textContent]="currentMonth"></div>
|
|
14
|
-
<div class="year" [textContent]="currentYear"></div>
|
|
15
|
-
</div>
|
|
16
|
-
<co-icon class="pointer-hover" [iconData]="iconCacheService.getIcon(icons.ArrowPointRight)" (click)="addMonth()"></co-icon>
|
|
17
|
-
</div>
|
|
18
|
-
<ng-template #template>
|
|
19
|
-
<div *ngIf="showMonthYearSelect"
|
|
20
|
-
(clickOutside)="hideMonthYearSelection()"
|
|
21
|
-
class="select-month-year-window" [class.expanded]="expanded" @showMonthYearSelect
|
|
22
|
-
>
|
|
23
|
-
<div>
|
|
24
|
-
<calendar-all-months [month]="currentMonth" (monthChange)="setNewMonth($event)" shortDescriptions></calendar-all-months>
|
|
25
|
-
<div class="vertical-divider"></div>
|
|
26
|
-
<calendar-all-years [year]="currentYear" (yearChange)="setNewYear($event)"></calendar-all-years>
|
|
27
|
-
</div>
|
|
28
|
-
<!-- <default-ok-cancel-buttons-->
|
|
29
|
-
<!-- (okClick)="changeMonthYear()"-->
|
|
30
|
-
<!-- (cancelClick)="showMonthYearSelect = false"-->
|
|
31
|
-
<!-- >-->
|
|
32
|
-
<!-- </default-ok-cancel-buttons>-->
|
|
33
|
-
</div>
|
|
34
|
-
</ng-template>
|
|
35
|
-
`,
|
|
36
|
-
encapsulation: ViewEncapsulation.None,
|
|
37
|
-
animations: [
|
|
38
|
-
trigger("showMonthYearSelect", [
|
|
39
|
-
state("void", style({
|
|
40
|
-
"transform-origin": "top center",
|
|
41
|
-
transform: "scaleY(0)"
|
|
42
|
-
})),
|
|
43
|
-
state("*", style({
|
|
44
|
-
"transform-origin": "top center",
|
|
45
|
-
transform: "scaleY(1)"
|
|
46
|
-
})),
|
|
47
|
-
transition(":enter, :leave", [
|
|
48
|
-
animate("200ms ease-in-out")
|
|
49
|
-
])
|
|
50
|
-
])
|
|
51
|
-
]
|
|
52
|
-
})
|
|
53
|
-
|
|
54
|
-
export class CalendarHeaderComponent implements DoCheck {
|
|
55
|
-
|
|
56
|
-
@Input()
|
|
57
|
-
public selectedDate: Date = new Date();
|
|
58
|
-
|
|
59
|
-
@Output()
|
|
60
|
-
public readonly selectedDateChange: EventEmitter<Date> = new EventEmitter<Date>();
|
|
61
|
-
|
|
62
|
-
public readonly icons: typeof Icon = Icon;
|
|
63
|
-
|
|
64
|
-
public showMonthYearSelect: boolean = false;
|
|
65
|
-
|
|
66
|
-
public expanded: boolean = false;
|
|
67
|
-
|
|
68
|
-
public currentMonth: string;
|
|
69
|
-
|
|
70
|
-
public currentYear: number;
|
|
71
|
-
|
|
72
|
-
public selectedMonth: number;
|
|
73
|
-
|
|
74
|
-
public selectedYear: number;
|
|
75
|
-
|
|
76
|
-
constructor(
|
|
77
|
-
public iconCacheService: IconCacheService
|
|
78
|
-
) {
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
ngDoCheck(): void {
|
|
82
|
-
if (this.selectedDate) {
|
|
83
|
-
this.currentMonth = ALL_MONTHS[this.selectedDate.getMonth()];
|
|
84
|
-
this.currentYear = this.selectedDate.getFullYear();
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
public subMonth(): void {
|
|
89
|
-
const newDate: Date = new Date(this.selectedDate);
|
|
90
|
-
newDate.setMonth(newDate.getMonth() - 1);
|
|
91
|
-
this.selectedDate = newDate;
|
|
92
|
-
this.selectedDateChange.emit(this.selectedDate);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
public addMonth(): void {
|
|
96
|
-
const newDate: Date = new Date(this.selectedDate);
|
|
97
|
-
newDate.setMonth(newDate.getMonth() + 1);
|
|
98
|
-
this.selectedDate = newDate;
|
|
99
|
-
this.selectedDateChange.emit(this.selectedDate);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
public hideMonthYearSelection(): void {
|
|
103
|
-
this.expanded = false;
|
|
104
|
-
this.showMonthYearSelect = false;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
public setNewMonth(month: number): void {
|
|
108
|
-
this.selectedMonth = month;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
public setNewYear(year: number): void {
|
|
112
|
-
this.selectedYear = year;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
public changeMonthYear(): void {
|
|
116
|
-
this.hideMonthYearSelection();
|
|
117
|
-
const newDate: Date = new Date(this.selectedDate);
|
|
118
|
-
newDate.setMonth(this.selectedMonth);
|
|
119
|
-
newDate.setFullYear(this.selectedYear);
|
|
120
|
-
this.selectedDate = newDate;
|
|
121
|
-
this.selectedDateChange.emit(this.selectedDate);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
import {Component, EventEmitter, Inject, Input, LOCALE_ID, Output, ViewEncapsulation} from "@angular/core";
|
|
2
|
-
import {ArrayNumberPipe} from "../../../../pipe/array-number.pipe";
|
|
3
|
-
import {DatePipe} from "@angular/common";
|
|
4
|
-
import {DateUtils} from "../../../../utils/date-utils";
|
|
5
|
-
import {CalendarView} from "../../../../enum/calendar-view.enum";
|
|
6
|
-
import {LanguageCode} from "../../../../enum/language-code.enum";
|
|
7
|
-
|
|
8
|
-
type DateStamp = { day: number, inMonth: boolean, timestamp: number, week: number, selected: boolean };
|
|
9
|
-
|
|
10
|
-
@Component({
|
|
11
|
-
selector: "calendar-view",
|
|
12
|
-
template: `
|
|
13
|
-
<div class="calendar-content">
|
|
14
|
-
<div>
|
|
15
|
-
<div class="week-day-header week-row">
|
|
16
|
-
<div class="week-acronym"></div>
|
|
17
|
-
<div *ngFor="let weekDay of weekDayLabel" [textContent]="weekDay | ucfirst"
|
|
18
|
-
class="week-day-label"></div>
|
|
19
|
-
</div>
|
|
20
|
-
<div class="week-row" *ngFor="let week of weeks;trackBy:trackByWeek">
|
|
21
|
-
<div [textContent]="week[0].week" class="week-number"></div>
|
|
22
|
-
<div *ngFor="let date of week;trackBy:trackByStamp" class="week-day"
|
|
23
|
-
(click)="onDateClick(date)" [textContent]="date.day">
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
26
|
-
</div>
|
|
27
|
-
</div>
|
|
28
|
-
`,
|
|
29
|
-
encapsulation: ViewEncapsulation.None
|
|
30
|
-
})
|
|
31
|
-
//fixme we don't have a todayDayStamp field but our template references it
|
|
32
|
-
export class CalendarViewComponent {
|
|
33
|
-
|
|
34
|
-
@Input()
|
|
35
|
-
public set view(value: CalendarView) {
|
|
36
|
-
this._view = value;
|
|
37
|
-
this._selectDays();
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
public get view(): CalendarView {
|
|
41
|
-
return this._view;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
@Input()
|
|
45
|
-
public set selectedDate(value: Date) {
|
|
46
|
-
this._selectedDate = value;
|
|
47
|
-
this._selectedDate.setHours(0, 0, 0, 0);
|
|
48
|
-
this._prepareWeeks();
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
public get selectedDate(): Date {
|
|
52
|
-
return this._selectedDate;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
@Output()
|
|
56
|
-
public selectedDateChange: EventEmitter<Date> = new EventEmitter<Date>();
|
|
57
|
-
|
|
58
|
-
public trackByStamp: Function = (index: number, stamp: DateStamp): number => {
|
|
59
|
-
return stamp && stamp.timestamp || index;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
public trackByWeek: Function = (index: number, week: DateStamp[]): number => {
|
|
63
|
-
return week && week[0].week || index;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
public weekDayLabel: string[] = [];
|
|
67
|
-
|
|
68
|
-
public weeks: DateStamp[][] = [];
|
|
69
|
-
|
|
70
|
-
private _selectedDate: Date = new Date();
|
|
71
|
-
|
|
72
|
-
private _view: CalendarView = CalendarView.WeekView;
|
|
73
|
-
|
|
74
|
-
constructor(
|
|
75
|
-
@Inject(LOCALE_ID) private readonly _locale: LanguageCode,
|
|
76
|
-
) {
|
|
77
|
-
this.selectedDate.setHours(0, 0, 0, 0);
|
|
78
|
-
this._setLabels();
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
public onDateClick(date: DateStamp): void {
|
|
82
|
-
this.selectedDate = new Date(date.timestamp);
|
|
83
|
-
this.selectedDateChange.emit(this.selectedDate);
|
|
84
|
-
this._selectDays();
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private _setLabels(): void {
|
|
88
|
-
const datePipe: DatePipe = new DatePipe(this._locale);
|
|
89
|
-
|
|
90
|
-
const currentDay: number = this.selectedDate.getDay();
|
|
91
|
-
const startWeekDate: Date = new Date(this.selectedDate.getTime());
|
|
92
|
-
startWeekDate.setDate(startWeekDate.getDate() - currentDay - 1);
|
|
93
|
-
|
|
94
|
-
this.weekDayLabel = new ArrayNumberPipe().transform(7).map(() => {
|
|
95
|
-
startWeekDate.setDate(startWeekDate.getDate() + 1);
|
|
96
|
-
return datePipe.transform(startWeekDate, "E");
|
|
97
|
-
});
|
|
98
|
-
this.weekDayLabel.push(this.weekDayLabel.shift());
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
private _prepareWeeks(): void {
|
|
102
|
-
this.weeks.length = 0;
|
|
103
|
-
|
|
104
|
-
const date: Date = new Date(this.selectedDate.getTime());
|
|
105
|
-
date.setHours(0, 0, 0, 0);
|
|
106
|
-
|
|
107
|
-
// go to last day of month
|
|
108
|
-
date.setMonth(date.getMonth() + 1);
|
|
109
|
-
date.setDate(0);
|
|
110
|
-
const monthEndDay: number = date.getDay();
|
|
111
|
-
const monthEndDate: number = date.getDate();
|
|
112
|
-
|
|
113
|
-
// days after end of month
|
|
114
|
-
const daysAfter: number = !monthEndDay ? 0 : 7 - monthEndDay;
|
|
115
|
-
|
|
116
|
-
// go to first day of month
|
|
117
|
-
date.setDate(1);
|
|
118
|
-
const monthBeginDay: number = date.getDay();
|
|
119
|
-
|
|
120
|
-
// days before start of month
|
|
121
|
-
const daysBefore: number = !monthBeginDay ? 6 : monthBeginDay - 1;
|
|
122
|
-
|
|
123
|
-
// go to start of calendar view
|
|
124
|
-
date.setDate(-daysBefore + 1);
|
|
125
|
-
|
|
126
|
-
// amount of weeks to display
|
|
127
|
-
const weekCount: number = Math.ceil((daysBefore + daysAfter + monthEndDate) / 7);
|
|
128
|
-
const weekStart: number = DateUtils.GetWeekNumber(date);
|
|
129
|
-
const weekEnd: number = weekStart + weekCount - 1;
|
|
130
|
-
|
|
131
|
-
// iterate over week count
|
|
132
|
-
for (let i: number = weekStart; i <= weekEnd; i++) {
|
|
133
|
-
let week: number = i;
|
|
134
|
-
|
|
135
|
-
// only recalculate week when it's necessary
|
|
136
|
-
if (weekStart > 50) {
|
|
137
|
-
week = DateUtils.GetWeekNumber(date);
|
|
138
|
-
}
|
|
139
|
-
const days: DateStamp[] = [];
|
|
140
|
-
|
|
141
|
-
// iterate over 7 days
|
|
142
|
-
for (let ii: number = 1; ii <= 7; ii++) {
|
|
143
|
-
// check if we are in the current month
|
|
144
|
-
let inMonth: boolean = true;
|
|
145
|
-
if (i === weekStart) {
|
|
146
|
-
inMonth = ii > daysBefore;
|
|
147
|
-
} else if (i === weekEnd) {
|
|
148
|
-
inMonth = ii <= 7 - daysAfter;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
const timestamp: number = date.getTime();
|
|
152
|
-
// add dateStamp to date array
|
|
153
|
-
days.push({
|
|
154
|
-
week: week,
|
|
155
|
-
inMonth: inMonth,
|
|
156
|
-
day: date.getDate(),
|
|
157
|
-
timestamp: timestamp,
|
|
158
|
-
selected: this.selectedDate.getTime() === timestamp
|
|
159
|
-
});
|
|
160
|
-
// go one day further
|
|
161
|
-
date.setDate(date.getDate() + 1);
|
|
162
|
-
}
|
|
163
|
-
this.weeks.push(days);
|
|
164
|
-
}
|
|
165
|
-
this._selectDays();
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
private _selectDays(): void {
|
|
169
|
-
this._resetSelection();
|
|
170
|
-
if (!this.selectedDate) {
|
|
171
|
-
return;
|
|
172
|
-
}
|
|
173
|
-
const weekNumber: number = DateUtils.GetWeekNumber(this.selectedDate);
|
|
174
|
-
const len: number = this.weeks.length;
|
|
175
|
-
for (let i: number = 0; i < len; i++) {
|
|
176
|
-
const leni: number = this.weeks[i].length;
|
|
177
|
-
for (let ii: number = 0; ii < leni; ii++) {
|
|
178
|
-
if (this.weeks[i][ii].inMonth && this.view === CalendarView.MonthView) {
|
|
179
|
-
this.weeks[i][ii].selected = true;
|
|
180
|
-
} else if (this.weeks[i][ii].week === weekNumber && this.view === CalendarView.WeekView) {
|
|
181
|
-
this.weeks[i][ii].selected = true;
|
|
182
|
-
} else if (this.weeks[i][ii].timestamp === this.selectedDate.getTime() && this.view === CalendarView.WeekSelectView) {
|
|
183
|
-
this.weeks[i][ii].selected = true;
|
|
184
|
-
} else if (this.weeks[i][ii].timestamp === this.selectedDate.getTime() && this.view === CalendarView.DayView) {
|
|
185
|
-
this.weeks[i][ii].selected = true;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
private _resetSelection(): void {
|
|
192
|
-
const len: number = this.weeks.length;
|
|
193
|
-
for (let i: number = 0; i < len; i++) {
|
|
194
|
-
const leni: number = this.weeks[i].length;
|
|
195
|
-
for (let ii: number = 0; ii < leni; ii++) {
|
|
196
|
-
this.weeks[i][ii].selected = false;
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import {Component, EventEmitter, Input, Output, ViewEncapsulation} from "@angular/core";
|
|
2
|
-
import {CalendarView} from "../../../../enum/calendar-view.enum";
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: "calendar",
|
|
6
|
-
template: `
|
|
7
|
-
<div class="sc-calendar">
|
|
8
|
-
<calendar-header [selectedDate]="selectedDate" (selectedDateChange)="changeSelectedDate($event)"></calendar-header>
|
|
9
|
-
<calendar-view [view]="view" [selectedDate]="selectedDate" (selectedDateChange)="changeSelectedDate($event)"></calendar-view>
|
|
10
|
-
</div>
|
|
11
|
-
`,
|
|
12
|
-
encapsulation: ViewEncapsulation.None
|
|
13
|
-
})
|
|
14
|
-
export class CalendarComponent {
|
|
15
|
-
|
|
16
|
-
@Input()
|
|
17
|
-
public view: CalendarView = CalendarView.WeekView;
|
|
18
|
-
|
|
19
|
-
@Input()
|
|
20
|
-
public selectedDate: Date = new Date();
|
|
21
|
-
|
|
22
|
-
@Input()
|
|
23
|
-
public days: Date[] = [];
|
|
24
|
-
|
|
25
|
-
@Output()
|
|
26
|
-
public selectedDateChange: EventEmitter<Date> = new EventEmitter<Date>();
|
|
27
|
-
|
|
28
|
-
constructor() {
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
public changeSelectedDate(date: Date): void {
|
|
32
|
-
this.selectedDate = date;
|
|
33
|
-
this.selectedDateChange.emit(this.selectedDate);
|
|
34
|
-
}
|
|
35
|
-
}
|
package/projects/sharedcomponents/src/lib/components/date-planning/date-planning.component.ts
DELETED
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ChangeDetectorRef,
|
|
3
|
-
Component,
|
|
4
|
-
ElementRef,
|
|
5
|
-
EventEmitter,
|
|
6
|
-
HostBinding,
|
|
7
|
-
Input,
|
|
8
|
-
Output,
|
|
9
|
-
Renderer2,
|
|
10
|
-
ViewChild,
|
|
11
|
-
ViewEncapsulation
|
|
12
|
-
} from '@angular/core';
|
|
13
|
-
import {animate, state, style, transition, trigger} from "@angular/animations";
|
|
14
|
-
import {CalendarView} from '../../enum/calendar-view.enum';
|
|
15
|
-
import {AgendaEventPerDay} from "../../model/agenda-event-per-day.model";
|
|
16
|
-
|
|
17
|
-
@Component({
|
|
18
|
-
selector: "co-date-planning",
|
|
19
|
-
template: `
|
|
20
|
-
<div class="sc-agenda">
|
|
21
|
-
<div class="content-wrapper">
|
|
22
|
-
<calendar *ngIf="calendarNavigation"
|
|
23
|
-
[view]="view"
|
|
24
|
-
[(days)]="days"
|
|
25
|
-
[selectedDate]="selectedDate" (selectedDateChange)="doChangeSelectedDate($event)"></calendar>
|
|
26
|
-
<div class="agenda-content-wrapper mini-scrollbar">
|
|
27
|
-
<div class="agenda-content">
|
|
28
|
-
<agenda-header [view]="view" (viewChange)="doChangeView($event)"
|
|
29
|
-
[firstAvailableDate]="firstAvailableDate"
|
|
30
|
-
[eventsPerDay]="eventsPerDay"
|
|
31
|
-
[selectedDate]="selectedDate"
|
|
32
|
-
(selectedDateChange)="doChangeSelectedDate($event)"
|
|
33
|
-
(rangeChange)="doChangeSelectedDate($event, true)"></agenda-header>
|
|
34
|
-
<agenda-view [view]="view"
|
|
35
|
-
[customEventObject]="customEventObject"
|
|
36
|
-
[selectedDate]="selectedDate"
|
|
37
|
-
[eventsPerDay]="eventsPerDay"
|
|
38
|
-
(eventChecked)="eventChecked.emit($event)"></agenda-view>
|
|
39
|
-
</div>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
</div>
|
|
43
|
-
<co-button *ngIf="showButton && eventsPerDay.length > 0" class="text-only select-agenda-button"
|
|
44
|
-
[label]="buttonLabel"
|
|
45
|
-
(click)="buttonClick.emit($event)">
|
|
46
|
-
</co-button>
|
|
47
|
-
`,
|
|
48
|
-
animations: [
|
|
49
|
-
trigger("showHideWindow", [
|
|
50
|
-
state("void", style({transform: "scaleY(0)"})),
|
|
51
|
-
state("*", style({transform: "scaleY(1)"})),
|
|
52
|
-
transition(":enter, :leave", [
|
|
53
|
-
animate("200ms ease-in-out")
|
|
54
|
-
])
|
|
55
|
-
])
|
|
56
|
-
],
|
|
57
|
-
encapsulation: ViewEncapsulation.None
|
|
58
|
-
})
|
|
59
|
-
|
|
60
|
-
export class DatePlanningComponent {
|
|
61
|
-
@ViewChild("dayStart", { static: true })
|
|
62
|
-
public dayStart: ElementRef;
|
|
63
|
-
|
|
64
|
-
@Input()
|
|
65
|
-
public calendarNavigation: boolean = false;
|
|
66
|
-
|
|
67
|
-
@Input()
|
|
68
|
-
public customEventObject: boolean = false;
|
|
69
|
-
|
|
70
|
-
@Input()
|
|
71
|
-
public showButton: boolean = false;
|
|
72
|
-
|
|
73
|
-
@Input()
|
|
74
|
-
public selectedDate: Date;
|
|
75
|
-
|
|
76
|
-
@Input()
|
|
77
|
-
public firstAvailableDate: Date;
|
|
78
|
-
|
|
79
|
-
@Input()
|
|
80
|
-
public buttonLabel: string = "";
|
|
81
|
-
|
|
82
|
-
@Input()
|
|
83
|
-
public eventsPerDay: AgendaEventPerDay[] = [];
|
|
84
|
-
|
|
85
|
-
@Input()
|
|
86
|
-
public view: CalendarView = CalendarView.WeekView;
|
|
87
|
-
|
|
88
|
-
@Output()
|
|
89
|
-
public readonly eventChecked: EventEmitter<any> = new EventEmitter<any>();
|
|
90
|
-
|
|
91
|
-
@Output()
|
|
92
|
-
public readonly selectedDateChange: EventEmitter<Date> = new EventEmitter<Date>();
|
|
93
|
-
|
|
94
|
-
@Output()
|
|
95
|
-
public readonly rangeChange: EventEmitter<Date> = new EventEmitter<Date>();
|
|
96
|
-
|
|
97
|
-
@Output()
|
|
98
|
-
public readonly viewChange: EventEmitter<CalendarView> = new EventEmitter<CalendarView>();
|
|
99
|
-
|
|
100
|
-
@Output()
|
|
101
|
-
public readonly buttonClick: EventEmitter<MouseEvent> = new EventEmitter<MouseEvent>();
|
|
102
|
-
|
|
103
|
-
@HostBinding("class.co-date-planning")
|
|
104
|
-
public showClass: boolean = true;
|
|
105
|
-
|
|
106
|
-
public days: Date[] = [];
|
|
107
|
-
private _selectedDate: Date = new Date();
|
|
108
|
-
|
|
109
|
-
constructor(
|
|
110
|
-
private _changeDetector: ChangeDetectorRef,
|
|
111
|
-
private renderer: Renderer2
|
|
112
|
-
) {
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
public doChangeSelectedDate(date: Date, rangeChanged: boolean = false): void {
|
|
116
|
-
this.selectedDate = new Date(date);
|
|
117
|
-
if (rangeChanged) {
|
|
118
|
-
this.rangeChange.next(this.selectedDate);
|
|
119
|
-
} else {
|
|
120
|
-
this.selectedDateChange.next(this.selectedDate);
|
|
121
|
-
}
|
|
122
|
-
this._changeDetector.detectChanges();
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
public doChangeView(view: CalendarView): void {
|
|
126
|
-
this.view = view;
|
|
127
|
-
this.viewChange.next(this.view);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
public scrollToDayStart(): void {
|
|
131
|
-
if (this.dayStart !== undefined) {
|
|
132
|
-
const dayStart: any = this.renderer.selectRootElement("#dayStart");
|
|
133
|
-
if (dayStart) {
|
|
134
|
-
setTimeout(() => {
|
|
135
|
-
dayStart.scrollIntoView({behavior: "instant", block: "center"});
|
|
136
|
-
});
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import {NgModule} from "@angular/core";
|
|
2
|
-
import {CommonModule} from "@angular/common";
|
|
3
|
-
import {DatePlanningComponent} from "./date-planning.component";
|
|
4
|
-
import {ButtonModule, IconModule, InputDatePickerModule} from "@colijnit/corecomponents_v12";
|
|
5
|
-
import {CalendarAllYearsComponent} from "./component/calendar/calendar-all-years.component";
|
|
6
|
-
import {CalendarAllMonthsComponent} from "./component/calendar/calendar-all-months.component";
|
|
7
|
-
import {CalendarHeaderComponent} from "./component/calendar/calendar-header.component";
|
|
8
|
-
import {CalendarComponent} from "./component/calendar/calendar.component";
|
|
9
|
-
import {CalendarViewComponent} from "./component/calendar/calendar-view.component";
|
|
10
|
-
import {AgendaHeaderComponent} from "./component/agenda/agenda-header.component";
|
|
11
|
-
import {AgendaViewComponent} from "./component/agenda/agenda-view.component";
|
|
12
|
-
import {AgendaMonthViewComponent} from "./component/agenda/agenda-month-view.component";
|
|
13
|
-
import {AgendaDayViewComponent} from "./component/agenda/agenda-day-view.component";
|
|
14
|
-
import {AgendaWeekViewComponent} from "./component/agenda/agenda-week-view.component";
|
|
15
|
-
import {AgendaWeekSelectViewComponent} from "./component/agenda/agenda-week-select-view.component";
|
|
16
|
-
import {AgendaHourViewComponent} from "./component/agenda/agenda-hour-view.component";
|
|
17
|
-
import {AgendaHourCellComponent} from "./component/agenda/agenda-hour-cell.component";
|
|
18
|
-
import {AgendaHourViewLabelsComponent} from "./component/agenda/agenda-hour-view-labels.component";
|
|
19
|
-
import {AgendaHalfHourCellComponent} from "./component/agenda/agenda-half-hour-cell.component";
|
|
20
|
-
import {AgendaEventsComponent} from "./component/agenda/agenda-events.component";
|
|
21
|
-
import {AgendaEventComponent} from "./component/agenda/agenda-event.component";
|
|
22
|
-
import {MASTER_PIPES} from "../../pipe/master-pipes";
|
|
23
|
-
import {ViewSelectComponent} from "./component/agenda/view-select.component";
|
|
24
|
-
import {AgendaSelectEventComponent} from "./component/agenda/agenda-select-event.component";
|
|
25
|
-
|
|
26
|
-
@NgModule({
|
|
27
|
-
imports: [
|
|
28
|
-
CommonModule,
|
|
29
|
-
InputDatePickerModule,
|
|
30
|
-
IconModule,
|
|
31
|
-
ButtonModule,
|
|
32
|
-
],
|
|
33
|
-
declarations: [
|
|
34
|
-
DatePlanningComponent,
|
|
35
|
-
CalendarAllYearsComponent,
|
|
36
|
-
CalendarAllMonthsComponent,
|
|
37
|
-
CalendarHeaderComponent,
|
|
38
|
-
CalendarComponent,
|
|
39
|
-
CalendarViewComponent,
|
|
40
|
-
AgendaHeaderComponent,
|
|
41
|
-
AgendaViewComponent,
|
|
42
|
-
AgendaMonthViewComponent,
|
|
43
|
-
AgendaDayViewComponent,
|
|
44
|
-
AgendaWeekViewComponent,
|
|
45
|
-
AgendaWeekSelectViewComponent,
|
|
46
|
-
AgendaHourViewComponent,
|
|
47
|
-
AgendaHourCellComponent,
|
|
48
|
-
AgendaHourViewLabelsComponent,
|
|
49
|
-
AgendaHalfHourCellComponent,
|
|
50
|
-
AgendaEventsComponent,
|
|
51
|
-
AgendaEventComponent,
|
|
52
|
-
ViewSelectComponent,
|
|
53
|
-
AgendaSelectEventComponent,
|
|
54
|
-
MASTER_PIPES
|
|
55
|
-
],
|
|
56
|
-
exports: [
|
|
57
|
-
DatePlanningComponent
|
|
58
|
-
]
|
|
59
|
-
})
|
|
60
|
-
export class DatePlanningModule {
|
|
61
|
-
}
|