@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,275 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
AfterContentChecked,
|
|
3
|
-
Component,
|
|
4
|
-
ElementRef,
|
|
5
|
-
EventEmitter,
|
|
6
|
-
Inject,
|
|
7
|
-
Input,
|
|
8
|
-
LOCALE_ID,
|
|
9
|
-
NgZone,
|
|
10
|
-
OnDestroy,
|
|
11
|
-
OnInit,
|
|
12
|
-
Output,
|
|
13
|
-
Renderer2, ViewEncapsulation
|
|
14
|
-
} from "@angular/core";
|
|
15
|
-
import {CalendarView} from "../../../../enum/calendar-view.enum";
|
|
16
|
-
import {LanguageCode} from "../../../../enum/language-code.enum";
|
|
17
|
-
import {Weekday} from "../../../../model/weekday.model";
|
|
18
|
-
import {Week} from "../../../../model/week.model";
|
|
19
|
-
import {CalendarUtils} from "../../../../utils/calendar.utils";
|
|
20
|
-
import {NULL_DAY} from "../../../../model/agenda-null-objects";
|
|
21
|
-
import {Day} from "../../../../model/day.model"
|
|
22
|
-
import {Icon} from "../../../../enum/icon.enum";
|
|
23
|
-
import {AgendaEventPerDay} from "../../../../model/agenda-event-per-day.model";
|
|
24
|
-
import {DateUtils} from "../../../../utils/date-utils";
|
|
25
|
-
import {IconCacheService} from "../../../../service/icon-cache.service";
|
|
26
|
-
|
|
27
|
-
@Component({
|
|
28
|
-
selector: "agenda-header",
|
|
29
|
-
template: `
|
|
30
|
-
<div class="agenda-header-wrapper" *ngIf="view === viewTypes.DayView">
|
|
31
|
-
<div class="hour-label-placeholder">
|
|
32
|
-
<view-select [selectedView]="view" (selectedViewChange)="changeTheView($event)"></view-select>
|
|
33
|
-
</div>
|
|
34
|
-
<div class="week-day-label">
|
|
35
|
-
<co-icon class="pointer-hover no-user-select sub-unit-icon dark"
|
|
36
|
-
[iconData]="iconCacheService.getIcon(icons.ArrowPointLeft)" (click)="subUnit()"></co-icon>
|
|
37
|
-
<div class="day-description" [textContent]="day.description"></div>
|
|
38
|
-
<co-icon class="pointer-hover no-user-select add-unit-icon dark"
|
|
39
|
-
[iconData]="iconCacheService.getIcon(icons.ArrowPointRight)" (click)="addUnit()"></co-icon>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
<div class="agenda-header-wrapper" *ngIf="view === viewTypes.WeekView">
|
|
43
|
-
|
|
44
|
-
<div class="week-day-label" *ngFor="let weekDay of weekDays; let index = index"
|
|
45
|
-
[class.selected]="weekDay.weekdaySelected" (click)="setUnit(weekDay)">
|
|
46
|
-
<co-icon *ngIf="index === 0 && showBackButton" class="pointer-hover no-user-select sub-unit-icon dark"
|
|
47
|
-
[iconData]="iconCacheService.getIcon(icons.ArrowPointLeft)" (click)="subUnit()"></co-icon>
|
|
48
|
-
<div *ngIf="weekDay.newMonth" [textContent]="weekDay.weekdayMonthLong + ' ' + weekDay.weekdayYear"
|
|
49
|
-
class="month-description"></div>
|
|
50
|
-
<div class="weekday-value"
|
|
51
|
-
[textContent]="weekDay.weekdayLong + ' ' + weekDay.weekdayDay + ' ' + weekDay.weekdayMonthLong + ' ' + weekDay.weekdayYear "></div>
|
|
52
|
-
<!-- <div class="weekday-description" [textContent]="weekDay.weekdayYear"></div>-->
|
|
53
|
-
<co-icon *ngIf="index === 6" class="pointer-hover no-user-select add-unit-icon dark"
|
|
54
|
-
[iconData]="iconCacheService.getIcon(icons.ArrowPointRight)" (click)="addUnit()"></co-icon>
|
|
55
|
-
</div>
|
|
56
|
-
</div>
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
<div class="agenda-header-wrapper" *ngIf="view === viewTypes.WeekSelectView">
|
|
60
|
-
<div class="week-day-label" *ngFor="let weekDay of weekDays; let index = index"
|
|
61
|
-
[class.selected]="weekDay.weekdaySelected"
|
|
62
|
-
[class.selectable]="weekDay.events && weekDay.events.length > 0"
|
|
63
|
-
(click)="setUnit(weekDay)">
|
|
64
|
-
<co-icon *ngIf="index === 0 && showBackButton" class="pointer-hover no-user-select sub-unit-icon dark"
|
|
65
|
-
[iconData]="iconCacheService.getIcon(icons.ArrowPointLeft)" (click)="subUnit()"></co-icon>
|
|
66
|
-
<div class="weekday-description" [textContent]="weekDay.weekdayShort"></div>
|
|
67
|
-
<div class="weekday-value" [textContent]="weekDay.weekdayDay + ' ' + weekDay.weekdayMonthShort"></div>
|
|
68
|
-
<co-icon *ngIf="index === 6" class="pointer-hover no-user-select add-unit-icon dark"
|
|
69
|
-
[iconData]="iconCacheService.getIcon(icons.ArrowPointRight)" (click)="addUnit()"></co-icon>
|
|
70
|
-
</div>
|
|
71
|
-
</div>
|
|
72
|
-
<div class="agenda-header-wrapper" *ngIf="view === viewTypes.MonthView">
|
|
73
|
-
<div class="week-day-label" *ngFor="let weekDay of weekDays; let index = index">
|
|
74
|
-
<co-icon *ngIf="index === 0 && showBackButton" class="pointer-hover no-user-select sub-unit-icon dark"
|
|
75
|
-
[iconData]="iconCacheService.getIcon(icons.ArrowPointLeft)" (click)="subUnit()"></co-icon>
|
|
76
|
-
<div class="weekday-description" [textContent]="weekDay.weekdayShort"></div>
|
|
77
|
-
<co-icon *ngIf="index === 6" class="pointer-hover no-user-select add-unit-icon dark"
|
|
78
|
-
[iconData]="iconCacheService.getIcon(icons.ArrowPointRight)" (click)="addUnit()"></co-icon>
|
|
79
|
-
</div>
|
|
80
|
-
</div>
|
|
81
|
-
`,
|
|
82
|
-
encapsulation: ViewEncapsulation.None
|
|
83
|
-
})
|
|
84
|
-
export class AgendaHeaderComponent implements OnInit, OnDestroy, AfterContentChecked {
|
|
85
|
-
public readonly icons: typeof Icon = Icon;
|
|
86
|
-
public readonly viewTypes: typeof CalendarView = CalendarView;
|
|
87
|
-
|
|
88
|
-
private readonly scrollbarWidth: number = 15;
|
|
89
|
-
|
|
90
|
-
public today: Date = new Date();
|
|
91
|
-
|
|
92
|
-
@Input()
|
|
93
|
-
public set selectedDate(value: Date) {
|
|
94
|
-
this._selectedDate = new Date(value);
|
|
95
|
-
this._prepareHeaderData();
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
public get selectedDate(): Date {
|
|
99
|
-
return this._selectedDate;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
@Input()
|
|
103
|
-
public view: CalendarView;
|
|
104
|
-
|
|
105
|
-
@Input()
|
|
106
|
-
public set firstAvailableDate(value: Date) {
|
|
107
|
-
if (value) {
|
|
108
|
-
this._firstAvailableDate = new Date(value);
|
|
109
|
-
this._prepareHeaderData();
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
public get firstAvailableDate(): Date {
|
|
114
|
-
return this._firstAvailableDate;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
@Input()
|
|
118
|
-
public set eventsPerDay(value: AgendaEventPerDay[]) {
|
|
119
|
-
this._eventsPerDay = value;
|
|
120
|
-
this._prepareHeaderData();
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
@Output()
|
|
124
|
-
public viewChange: EventEmitter<CalendarView> = new EventEmitter<CalendarView>();
|
|
125
|
-
|
|
126
|
-
@Output()
|
|
127
|
-
public selectedDateChange: EventEmitter<Date> = new EventEmitter<Date>();
|
|
128
|
-
|
|
129
|
-
@Output()
|
|
130
|
-
public rangeChange: EventEmitter<Date> = new EventEmitter<Date>();
|
|
131
|
-
|
|
132
|
-
public weekDays: Weekday[] = [];
|
|
133
|
-
public day: Day = NULL_DAY;
|
|
134
|
-
public showBackButton: boolean = true;
|
|
135
|
-
|
|
136
|
-
private _selectedDate: Date;
|
|
137
|
-
private _firstAvailableDate: Date;
|
|
138
|
-
private _eventsPerDay: AgendaEventPerDay[] = [];
|
|
139
|
-
|
|
140
|
-
constructor(
|
|
141
|
-
@Inject(LOCALE_ID) private readonly _locale: LanguageCode,
|
|
142
|
-
private _elementRef: ElementRef,
|
|
143
|
-
private _renderer: Renderer2,
|
|
144
|
-
private _ngZone: NgZone,
|
|
145
|
-
public iconCacheService: IconCacheService
|
|
146
|
-
) {
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
ngOnDestroy(): void {
|
|
150
|
-
window.removeEventListener("resize", this._onResize);
|
|
151
|
-
this._elementRef = undefined;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
ngOnInit(): void {
|
|
155
|
-
this._ngZone.runOutsideAngular(() => {
|
|
156
|
-
window.addEventListener("resize", this._onResize);
|
|
157
|
-
});
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
ngAfterContentChecked(): void {
|
|
161
|
-
this._resizeHost();
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
public subUnit(): void {
|
|
165
|
-
if (this.selectedDate) {
|
|
166
|
-
const newDate: Date = new Date(this.selectedDate);
|
|
167
|
-
switch (this.view) {
|
|
168
|
-
case CalendarView.DayView:
|
|
169
|
-
newDate.setDate(this.selectedDate.getDate() - 1);
|
|
170
|
-
break;
|
|
171
|
-
case CalendarView.WeekView:
|
|
172
|
-
newDate.setDate(this.selectedDate.getDate() - 7);
|
|
173
|
-
break;
|
|
174
|
-
case CalendarView.WeekSelectView:
|
|
175
|
-
newDate.setDate(this.selectedDate.getDate() - 7);
|
|
176
|
-
break;
|
|
177
|
-
case CalendarView.MonthView:
|
|
178
|
-
newDate.setMonth(this.selectedDate.getMonth() - 1);
|
|
179
|
-
break;
|
|
180
|
-
}
|
|
181
|
-
this.selectedDate = newDate;
|
|
182
|
-
this.rangeChange.emit(this.selectedDate);
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
public addUnit(): void {
|
|
187
|
-
if (this.selectedDate) {
|
|
188
|
-
const newDate: Date = new Date(this.selectedDate);
|
|
189
|
-
switch (this.view) {
|
|
190
|
-
case CalendarView.DayView:
|
|
191
|
-
newDate.setDate(this.selectedDate.getDate() + 1);
|
|
192
|
-
break;
|
|
193
|
-
case CalendarView.WeekView:
|
|
194
|
-
newDate.setDate(this.selectedDate.getDate() + 7);
|
|
195
|
-
break;
|
|
196
|
-
case CalendarView.WeekSelectView:
|
|
197
|
-
newDate.setDate(this.selectedDate.getDate() + 7);
|
|
198
|
-
break;
|
|
199
|
-
case CalendarView.MonthView:
|
|
200
|
-
newDate.setMonth(this.selectedDate.getMonth() + 1);
|
|
201
|
-
break;
|
|
202
|
-
}
|
|
203
|
-
this.selectedDate = newDate;
|
|
204
|
-
this.rangeChange.emit(this.selectedDate);
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
public setUnit(weekDay: Weekday): void {
|
|
209
|
-
this.selectedDate = weekDay.date;
|
|
210
|
-
this.selectedDateChange.emit(this.selectedDate);
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
public changeTheView(view: CalendarView): void {
|
|
214
|
-
this.view = view;
|
|
215
|
-
this.viewChange.emit(view);
|
|
216
|
-
this._prepareHeaderData();
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
private _onResize: EventListener = async (): Promise<void> => {
|
|
220
|
-
this._resizeHost();
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* Need to resize the host component to size it's fixed positioned child through css
|
|
225
|
-
*/
|
|
226
|
-
private _resizeHost(): void {
|
|
227
|
-
if (this._elementRef) {
|
|
228
|
-
this._renderer.setStyle(
|
|
229
|
-
this._elementRef.nativeElement, "width", this._elementRef.nativeElement.parentElement.clientWidth - this.scrollbarWidth + "px");
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
private _prepareHeaderData(): void {
|
|
234
|
-
if (this.selectedDate) {
|
|
235
|
-
switch (this.view) {
|
|
236
|
-
case CalendarView.DayView:
|
|
237
|
-
const day: Day = new Day();
|
|
238
|
-
day.date = new Date(this.selectedDate);
|
|
239
|
-
const options: any = { year: "numeric", month: "long", day: "numeric" };
|
|
240
|
-
day.description = this.selectedDate.toLocaleDateString(this._locale, options);
|
|
241
|
-
this.day = day;
|
|
242
|
-
break;
|
|
243
|
-
case CalendarView.WeekView:
|
|
244
|
-
const weekView: Week = CalendarUtils.GetDaysOfWeek(this.selectedDate);
|
|
245
|
-
this.weekDays = weekView.weekDays;
|
|
246
|
-
if (this.firstAvailableDate) {
|
|
247
|
-
this.showBackButton = this.weekDays.find(wd => DateUtils.DatesEqual(this.firstAvailableDate, wd.date)) === undefined;
|
|
248
|
-
}
|
|
249
|
-
break;
|
|
250
|
-
case CalendarView.WeekSelectView:
|
|
251
|
-
const weekSelectView: Week = CalendarUtils.GetDaysOfWeek(this.selectedDate);
|
|
252
|
-
this.weekDays = weekSelectView.weekDays;
|
|
253
|
-
this.weekDays.forEach((wd: Weekday) => {
|
|
254
|
-
const evPerDay: AgendaEventPerDay = this._eventsPerDay && this._eventsPerDay.length > 0 ? this._eventsPerDay.find(e => DateUtils.DatesEqual(e.date, wd.date)) : null;
|
|
255
|
-
if (evPerDay) {
|
|
256
|
-
wd.events = evPerDay.events;
|
|
257
|
-
} else {
|
|
258
|
-
wd.weekdaySelected = false;
|
|
259
|
-
}
|
|
260
|
-
});
|
|
261
|
-
if (this.firstAvailableDate) {
|
|
262
|
-
this.showBackButton = this.weekDays.find(wd => DateUtils.DatesEqual(this.firstAvailableDate, wd.date)) === undefined;
|
|
263
|
-
}
|
|
264
|
-
break;
|
|
265
|
-
case CalendarView.MonthView:
|
|
266
|
-
const weekOfMonth: Week = CalendarUtils.GetDaysOfWeek(this.selectedDate);
|
|
267
|
-
this.weekDays = weekOfMonth.weekDays;
|
|
268
|
-
if (this.firstAvailableDate) {
|
|
269
|
-
this.showBackButton = this.weekDays.find(wd => DateUtils.DatesEqual(this.firstAvailableDate, wd.date)) === undefined;
|
|
270
|
-
}
|
|
271
|
-
break;
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import {Component, Input, ViewEncapsulation} from "@angular/core";
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: "agenda-hour-cell",
|
|
5
|
-
template: `
|
|
6
|
-
<div class="row-per-half-hour">
|
|
7
|
-
<agenda-half-hour-cell [date]="date" [showLabel]="onlyLabels && !noLabels"></agenda-half-hour-cell>
|
|
8
|
-
<agenda-half-hour-cell [date]="datePlushalfHour"></agenda-half-hour-cell>
|
|
9
|
-
</div>
|
|
10
|
-
`,
|
|
11
|
-
encapsulation: ViewEncapsulation.None
|
|
12
|
-
})
|
|
13
|
-
export class AgendaHourCellComponent {
|
|
14
|
-
@Input()
|
|
15
|
-
public onlyLabels: boolean = false;
|
|
16
|
-
|
|
17
|
-
@Input()
|
|
18
|
-
public noLabels: boolean = false;
|
|
19
|
-
|
|
20
|
-
@Input()
|
|
21
|
-
public set date(value: Date) {
|
|
22
|
-
this._date = value;
|
|
23
|
-
this._setNextHalfHour();
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
public get date(): Date {
|
|
27
|
-
return this._date;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
public datePlushalfHour: Date;
|
|
31
|
-
|
|
32
|
-
private _date: Date;
|
|
33
|
-
|
|
34
|
-
private _setNextHalfHour(): void {
|
|
35
|
-
this.datePlushalfHour = new Date(this._date);
|
|
36
|
-
this.datePlushalfHour.setMinutes(this.datePlushalfHour.getMinutes() + 30);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import {Component, Input, ViewEncapsulation} from "@angular/core";
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: "agenda-hour-view-labels",
|
|
5
|
-
template: `
|
|
6
|
-
<div class="row-per-hour" *ngFor="let dateByTheHour of datesByTheHour">
|
|
7
|
-
<div>
|
|
8
|
-
<agenda-hour-cell [date]="dateByTheHour" onlyLabels [noLabels]="noLabels"></agenda-hour-cell>
|
|
9
|
-
</div>
|
|
10
|
-
</div>
|
|
11
|
-
`,
|
|
12
|
-
encapsulation: ViewEncapsulation.None
|
|
13
|
-
})
|
|
14
|
-
export class AgendaHourViewLabelsComponent {
|
|
15
|
-
|
|
16
|
-
@Input()
|
|
17
|
-
public set date(value: Date) {
|
|
18
|
-
this._date = new Date(value);
|
|
19
|
-
this._date.setDate(1);
|
|
20
|
-
this._date.setMonth(1);
|
|
21
|
-
this._date.setFullYear(1);
|
|
22
|
-
this._prepareViewData();
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@Input()
|
|
26
|
-
public noLabels: boolean = false;
|
|
27
|
-
|
|
28
|
-
public readonly datesByTheHour: Date[] = [];
|
|
29
|
-
|
|
30
|
-
public get date(): Date {
|
|
31
|
-
return this._date;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
private _date: Date = new Date();
|
|
35
|
-
|
|
36
|
-
// fixme remove ctrl + c, ctrl + v code duplication with AgendaHourViewComponent._prepareViewData()
|
|
37
|
-
private _prepareViewData(): void {
|
|
38
|
-
this.datesByTheHour.length = 0;
|
|
39
|
-
if (this.date) {
|
|
40
|
-
let newDate: Date = new Date(this.date);
|
|
41
|
-
newDate.setHours(0, 0, 0, 0);
|
|
42
|
-
this.datesByTheHour.push(newDate);
|
|
43
|
-
for (let i: number = 0; i < 23; i++) {
|
|
44
|
-
newDate = new Date(newDate);
|
|
45
|
-
newDate.setHours(newDate.getHours() + 1);
|
|
46
|
-
this.datesByTheHour.push(newDate);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import {Component, Input, ViewEncapsulation} from "@angular/core";
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: "agenda-hour-view",
|
|
5
|
-
template: `
|
|
6
|
-
<div class="row-per-hour" *ngFor="let dateByTheHour of datesByTheHour">
|
|
7
|
-
<div fxLayout="row">
|
|
8
|
-
<agenda-hour-cell [date]="dateByTheHour"></agenda-hour-cell>
|
|
9
|
-
</div>
|
|
10
|
-
</div>
|
|
11
|
-
<ng-content></ng-content>
|
|
12
|
-
`,
|
|
13
|
-
encapsulation: ViewEncapsulation.None
|
|
14
|
-
})
|
|
15
|
-
export class AgendaHourViewComponent {
|
|
16
|
-
|
|
17
|
-
@Input()
|
|
18
|
-
public set date(value: Date) {
|
|
19
|
-
this._date = new Date(value);
|
|
20
|
-
this._prepareViewData();
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
public readonly datesByTheHour: Date[] = [];
|
|
24
|
-
|
|
25
|
-
public get date(): Date {
|
|
26
|
-
return this._date;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
private _date: Date = new Date();
|
|
30
|
-
|
|
31
|
-
// fixme remove ctrl + c, ctrl + v code duplication with AgendaHourViewLabelsComponent._prepareViewData()
|
|
32
|
-
private _prepareViewData(): void {
|
|
33
|
-
this.datesByTheHour.length = 0;
|
|
34
|
-
if (this.date) {
|
|
35
|
-
let newDate: Date = new Date(this.date);
|
|
36
|
-
newDate.setHours(0, 0, 0, 0);
|
|
37
|
-
this.datesByTheHour.push(newDate);
|
|
38
|
-
for (let i: number = 0; i < 23; i++) {
|
|
39
|
-
newDate = new Date(newDate);
|
|
40
|
-
newDate.setHours(newDate.getHours() + 1);
|
|
41
|
-
this.datesByTheHour.push(newDate);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import {Component, ViewEncapsulation} from "@angular/core";
|
|
2
|
-
import { AgendaBaseViewComponent } from "./agenda-base-view.component";
|
|
3
|
-
import {NULL_MONTH} from "../../../../model/agenda-null-objects";
|
|
4
|
-
import {Month} from "../../../../model/month.model";
|
|
5
|
-
import {Weekday} from "../../../../model/weekday.model";
|
|
6
|
-
import {Week} from "../../../../model/week.model";
|
|
7
|
-
import {DateUtils} from "../../../../utils/date-utils";
|
|
8
|
-
import {CalendarUtils} from "../../../../utils/calendar.utils";
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
@Component({
|
|
12
|
-
selector: "agenda-month-view",
|
|
13
|
-
template: `
|
|
14
|
-
<div class="view-wrapper">
|
|
15
|
-
<div class="hour-view-labels-wrapper"></div>
|
|
16
|
-
<div class="weeks">
|
|
17
|
-
<div class="week" *ngFor="let week of weeks" fxLayout="row">
|
|
18
|
-
<div class="week-day" *ngFor="let weekDay of week.weekDays" [class.not-in-month]="!weekDay.inView">
|
|
19
|
-
<div class="day" [textContent]="weekDay.weekdayDay"></div>
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
`,
|
|
25
|
-
encapsulation: ViewEncapsulation.None
|
|
26
|
-
})
|
|
27
|
-
export class AgendaMonthViewComponent extends AgendaBaseViewComponent {
|
|
28
|
-
|
|
29
|
-
public month: Month = NULL_MONTH;
|
|
30
|
-
|
|
31
|
-
public firstWeekDays: Weekday[] = [];
|
|
32
|
-
|
|
33
|
-
public weeks: Week[] = [];
|
|
34
|
-
|
|
35
|
-
protected prepareViewData(): void {
|
|
36
|
-
const month: Month = new Month();
|
|
37
|
-
if (this.selectedDate) {
|
|
38
|
-
const day: Date = DateUtils.GetFirstDayOfMonth(this.selectedDate);
|
|
39
|
-
const endOfMonth: Date = DateUtils.GetLastDayOfMonth(this.selectedDate);
|
|
40
|
-
let oneMoreIteration: boolean = false;
|
|
41
|
-
let continueLoop: boolean = true;
|
|
42
|
-
|
|
43
|
-
while (continueLoop) {
|
|
44
|
-
if (oneMoreIteration) {
|
|
45
|
-
continueLoop = false;
|
|
46
|
-
}
|
|
47
|
-
const week: Week = CalendarUtils.GetDaysOfWeek(day);
|
|
48
|
-
const len: number = week.weekDays.length;
|
|
49
|
-
for (let i: number = 0; i < len; i++) {
|
|
50
|
-
week.weekDays[i].events = this.getEventsFromDate(week.weekDays[i].date);
|
|
51
|
-
week.weekDays[i].inView = week.weekDays[i].date.getMonth() === this.selectedDate.getMonth();
|
|
52
|
-
}
|
|
53
|
-
month.weeks.push(week);
|
|
54
|
-
day.setDate(day.getDate() + 7);
|
|
55
|
-
if (day.getTime() >= endOfMonth.getTime()) {
|
|
56
|
-
oneMoreIteration = true;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
this.month = month;
|
|
60
|
-
this.firstWeekDays = this.month.firstWeek.weekDays;
|
|
61
|
-
this.weeks = month.weeks;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import {Component, EventEmitter, Input, Output} from "@angular/core";
|
|
2
|
-
import {AgendaEvent} from "../../../../model/agenda-event.model";
|
|
3
|
-
import {NULL_AGENDA_EVENT} from "../../../../model/agenda-null-objects";
|
|
4
|
-
import {Icon} from "../../../../enum/icon.enum";
|
|
5
|
-
import {IconCacheService} from "../../../../service/icon-cache.service";
|
|
6
|
-
|
|
7
|
-
@Component({
|
|
8
|
-
selector: "agenda-select-event",
|
|
9
|
-
template: `
|
|
10
|
-
<div class="week-select-item" (click)="checkEvent($event)">
|
|
11
|
-
<co-icon [iconData]="iconCacheService.getIcon(icons.ArrowPointRight)" class="select-icon action-color" *ngIf="!event.checked"></co-icon>
|
|
12
|
-
<co-icon [iconData]="iconCacheService.getIcon(icons.ArrowPointRight)" class="select-icon action-color" *ngIf="event.checked"></co-icon>
|
|
13
|
-
<div class="moment-name">
|
|
14
|
-
<small>{{ event.date | date: 'EEEE d MMMM' | uppercase }}</small>
|
|
15
|
-
<h2>{{ event.description }}</h2>
|
|
16
|
-
</div>
|
|
17
|
-
</div>
|
|
18
|
-
`
|
|
19
|
-
})
|
|
20
|
-
export class AgendaSelectEventComponent {
|
|
21
|
-
public readonly icons: typeof Icon = Icon;
|
|
22
|
-
|
|
23
|
-
@Input()
|
|
24
|
-
public event: AgendaEvent = NULL_AGENDA_EVENT;
|
|
25
|
-
|
|
26
|
-
@Output()
|
|
27
|
-
public eventChecked: EventEmitter<AgendaEvent> = new EventEmitter<AgendaEvent>();
|
|
28
|
-
|
|
29
|
-
constructor(
|
|
30
|
-
public iconCacheService: IconCacheService
|
|
31
|
-
) {
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
public checkEvent(event: MouseEvent): void {
|
|
35
|
-
this.event.checked = !this.event.checked;
|
|
36
|
-
this.eventChecked.emit(this.event);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import {Component, EventEmitter, Input, Output, ViewEncapsulation} from "@angular/core";
|
|
2
|
-
import {CalendarView} from "../../../../enum/calendar-view.enum";
|
|
3
|
-
import {AgendaEvent} from "../../../../model/agenda-event.model";
|
|
4
|
-
import {AgendaEventPerDay} from "../../../../model/agenda-event-per-day.model";
|
|
5
|
-
|
|
6
|
-
@Component({
|
|
7
|
-
selector: "agenda-view",
|
|
8
|
-
template: `
|
|
9
|
-
<div class="view-wrapper mini-scrollbar" [ngSwitch]="view">
|
|
10
|
-
<agenda-day-view *ngSwitchCase="viewTypes.DayView"
|
|
11
|
-
[selectedDate]="selectedDate" [customEventObject]="customEventObject" [eventsPerDay]="eventsPerDay" (eventChecked)="eventChecked.emit($event)"></agenda-day-view>
|
|
12
|
-
<agenda-week-view *ngSwitchCase="viewTypes.WeekView"
|
|
13
|
-
[view]="view" [selectedDate]="selectedDate" [customEventObject]="customEventObject" [eventsPerDay]="eventsPerDay" (eventChecked)="eventChecked.emit($event)"></agenda-week-view>
|
|
14
|
-
<agenda-week-select-view *ngSwitchCase="viewTypes.WeekSelectView"
|
|
15
|
-
[view]="view" [selectedDate]="selectedDate" [eventsPerDay]="eventsPerDay" (eventChecked)="eventChecked.emit($event)"></agenda-week-select-view>
|
|
16
|
-
<agenda-month-view *ngSwitchCase="viewTypes.MonthView"
|
|
17
|
-
[selectedDate]="selectedDate" [eventsPerDay]="eventsPerDay" (eventChecked)="eventChecked.emit($event)"></agenda-month-view>
|
|
18
|
-
</div>
|
|
19
|
-
`,
|
|
20
|
-
encapsulation: ViewEncapsulation.None
|
|
21
|
-
})
|
|
22
|
-
export class AgendaViewComponent {
|
|
23
|
-
|
|
24
|
-
@Input()
|
|
25
|
-
public view: CalendarView;
|
|
26
|
-
|
|
27
|
-
@Input()
|
|
28
|
-
public customEventObject: boolean;
|
|
29
|
-
|
|
30
|
-
@Input()
|
|
31
|
-
public selectedDate: Date;
|
|
32
|
-
|
|
33
|
-
@Input()
|
|
34
|
-
public eventsPerDay: AgendaEventPerDay[] = [];
|
|
35
|
-
|
|
36
|
-
@Output()
|
|
37
|
-
public readonly eventChecked: EventEmitter<AgendaEvent> = new EventEmitter<AgendaEvent>();
|
|
38
|
-
|
|
39
|
-
public readonly viewTypes: typeof CalendarView = CalendarView;
|
|
40
|
-
|
|
41
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import {Component, Input, ViewEncapsulation} from "@angular/core";
|
|
2
|
-
import {AgendaBaseViewComponent} from "./agenda-base-view.component";
|
|
3
|
-
import {NULL_WEEK} from "../../../../model/agenda-null-objects";
|
|
4
|
-
import {CalendarUtils} from "../../../../utils/calendar.utils";
|
|
5
|
-
import {Icon} from "../../../../enum/icon.enum";
|
|
6
|
-
import {CalendarView} from "../../../../enum/calendar-view.enum";
|
|
7
|
-
import {Week} from "../../../../model/week.model";
|
|
8
|
-
|
|
9
|
-
@Component({
|
|
10
|
-
selector: "agenda-week-select-view",
|
|
11
|
-
template: `
|
|
12
|
-
<div class="view-wrapper week-select-view">
|
|
13
|
-
<div class="week-day" *ngFor="let weekDay of week.weekDays">
|
|
14
|
-
<div class="week-select-container" *ngIf="weekDay.weekdaySelected">
|
|
15
|
-
<div class="week-select-left">
|
|
16
|
-
<h3 [textContent]="'AGENDA_CHOOSE_DELIVERY_PERIOD'"></h3>
|
|
17
|
-
<div class="week-select-list mini-scrollbar">
|
|
18
|
-
<agenda-events
|
|
19
|
-
[halfHourHeight]="40"
|
|
20
|
-
[events]="weekDay.events"
|
|
21
|
-
(eventChecked)="eventChecked.emit($event)"
|
|
22
|
-
[view]="view"
|
|
23
|
-
></agenda-events>
|
|
24
|
-
<div class="no-events-banner" *ngIf="weekDay.events.length === 0">
|
|
25
|
-
<p [textContent]="'AGENDA_NO_PERIODS_AVAILABLE'"></p>
|
|
26
|
-
</div>
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
|
-
<div class="week-select-right">
|
|
30
|
-
<h3 [textContent]="'AGENDA_FOR_EVERY_PERIOD'"></h3>
|
|
31
|
-
<ul>
|
|
32
|
-
<li><co-icon [iconData]="iconCacheService.getIcon(icons.CheckRound)" class="small action-color moment-icon"></co-icon><span [textContent]="'AGENDA_FOR_EVERY_PERIOD_REASON1'"></span></li>
|
|
33
|
-
<li><co-icon [iconData]="iconCacheService.getIcon(icons.CheckRound)" class="small action-color moment-icon"></co-icon><span [textContent]="'AGENDA_FOR_EVERY_PERIOD_REASON2'"></span></li>
|
|
34
|
-
</ul>
|
|
35
|
-
</div>
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
`,
|
|
40
|
-
encapsulation: ViewEncapsulation.None
|
|
41
|
-
})
|
|
42
|
-
export class AgendaWeekSelectViewComponent extends AgendaBaseViewComponent {
|
|
43
|
-
|
|
44
|
-
@Input()
|
|
45
|
-
public view: CalendarView = CalendarView.WeekSelectView;
|
|
46
|
-
|
|
47
|
-
public week: Week = NULL_WEEK;
|
|
48
|
-
|
|
49
|
-
public readonly icons: typeof Icon = Icon;
|
|
50
|
-
|
|
51
|
-
protected prepareViewData(): void {
|
|
52
|
-
if (this.selectedDate) {
|
|
53
|
-
// get the events
|
|
54
|
-
const week: Week = CalendarUtils.GetDaysOfWeek(this.selectedDate);
|
|
55
|
-
const len: number = week.weekDays.length;
|
|
56
|
-
for (let i: number = 0; i < len; i++) {
|
|
57
|
-
week.weekDays[i].events = this.getEventsFromDate(week.weekDays[i].date);
|
|
58
|
-
}
|
|
59
|
-
this.week = week;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import {Component, Input, ViewEncapsulation} from "@angular/core";
|
|
2
|
-
import {NULL_WEEK} from "../../../../model/agenda-null-objects";
|
|
3
|
-
import {CalendarUtils} from "../../../../utils/calendar.utils";
|
|
4
|
-
import {CalendarView} from "../../../../enum/calendar-view.enum";
|
|
5
|
-
import {Week} from "../../../../model/week.model";
|
|
6
|
-
import {AgendaBaseViewComponent} from "./agenda-base-view.component";
|
|
7
|
-
import {buildCustomWebpackKarma} from "@angular-builders/custom-webpack";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@Component({
|
|
11
|
-
selector: "agenda-week-view",
|
|
12
|
-
template: `
|
|
13
|
-
<div class="view-wrapper">
|
|
14
|
-
<agenda-hour-view-labels [date]="selectedDate"></agenda-hour-view-labels>
|
|
15
|
-
<div class="week-day" *ngFor="let weekDay of week.weekDays">
|
|
16
|
-
<agenda-hour-view [date]="weekDay.date">
|
|
17
|
-
<agenda-events
|
|
18
|
-
[halfHourHeight]="40"
|
|
19
|
-
[events]="weekDay.events"
|
|
20
|
-
(eventChecked)="eventChecked.emit($event)"
|
|
21
|
-
[view]="view"
|
|
22
|
-
[customEventObject]="customEventObject"
|
|
23
|
-
></agenda-events>
|
|
24
|
-
</agenda-hour-view>
|
|
25
|
-
</div>
|
|
26
|
-
</div>
|
|
27
|
-
`,
|
|
28
|
-
encapsulation: ViewEncapsulation.None
|
|
29
|
-
})
|
|
30
|
-
export class AgendaWeekViewComponent extends AgendaBaseViewComponent /*implements OnInit, OnDestroy*/ {
|
|
31
|
-
|
|
32
|
-
@Input()
|
|
33
|
-
public view: CalendarView;
|
|
34
|
-
|
|
35
|
-
@Input()
|
|
36
|
-
public customEventObject: boolean;
|
|
37
|
-
public week: Week = NULL_WEEK;
|
|
38
|
-
|
|
39
|
-
protected prepareViewData(): void {
|
|
40
|
-
if (this.selectedDate) {
|
|
41
|
-
// get the events
|
|
42
|
-
const week: Week = CalendarUtils.GetDaysOfWeek(this.selectedDate);
|
|
43
|
-
const len: number = week.weekDays.length;
|
|
44
|
-
for (let i: number = 0; i < len; i++) {
|
|
45
|
-
week.weekDays[i].events = this.getEventsFromDate(week.weekDays[i].date);
|
|
46
|
-
}
|
|
47
|
-
this.week = week;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|