@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,132 +0,0 @@
|
|
|
1
|
-
import {TreeObject} from "../../../../../model/tree-object";
|
|
2
|
-
import {CssUtils} from "../../../../../utils/css-utils";
|
|
3
|
-
import {CoDocument} from "@colijnit/corecomponents_v12/lib/core/model/co-document.bo";
|
|
4
|
-
import {TreeViewNode} from "../../../../../model/tree-view-node-default.model";
|
|
5
|
-
import {Icon} from "../../../../../enum/icon.enum";
|
|
6
|
-
|
|
7
|
-
export class TreeViewNodeItem extends TreeViewNode {
|
|
8
|
-
|
|
9
|
-
private _data: TreeObject;
|
|
10
|
-
|
|
11
|
-
private _code: string;
|
|
12
|
-
private _description: string;
|
|
13
|
-
|
|
14
|
-
private _img: CoDocument;
|
|
15
|
-
private _icon: Icon;
|
|
16
|
-
private _disabled: boolean;
|
|
17
|
-
private _customColor: string;
|
|
18
|
-
|
|
19
|
-
public constructor() {
|
|
20
|
-
super();
|
|
21
|
-
this.setChildren([]); // because the plugin leaves it undefined ...
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
protected filterCondition(term: any): boolean {
|
|
25
|
-
return this.title.toLowerCase().indexOf(term) !== -1;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
public styles(): any {
|
|
29
|
-
return {
|
|
30
|
-
"padding-left": this.getLevel() * 10 + "px"
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
public customColors(focusId: number): any {
|
|
35
|
-
if (this.customColor != null && focusId !== this.getId()) {
|
|
36
|
-
return {
|
|
37
|
-
"background-color": "" + CssUtils.DbRgbColorStringToCssRgbColor(this.customColor)
|
|
38
|
-
};
|
|
39
|
-
} else {
|
|
40
|
-
return "";
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
public iconClass(focusId: number): any {
|
|
45
|
-
return {
|
|
46
|
-
"dark": this.customColor == null && focusId !== this.getId(),
|
|
47
|
-
"light": this.customColor != null || focusId === this.getId()
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
public classes(focusId: number): any {
|
|
52
|
-
return {
|
|
53
|
-
"first-item": this.isFirst(),
|
|
54
|
-
"last-item": this.isLast(),
|
|
55
|
-
"middle-item": !this.isFirst() && !this.isLast(),
|
|
56
|
-
"focus-item": focusId === this.getId(),
|
|
57
|
-
"disable": this.isDisabled(),
|
|
58
|
-
"custom-colors": this.hasCustomColors()
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
public get data(): TreeObject {
|
|
63
|
-
return this._data;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
public setData(value: TreeObject): TreeViewNodeItem {
|
|
67
|
-
this._data = value;
|
|
68
|
-
return this;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
public get code(): string {
|
|
72
|
-
return this._code;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
public setCode(value: string): TreeViewNodeItem {
|
|
76
|
-
this._code = value;
|
|
77
|
-
return this;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
public get description(): string {
|
|
81
|
-
return this._description;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
public setDescription(value: string): TreeViewNodeItem {
|
|
85
|
-
this._description = value;
|
|
86
|
-
return this;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
public get img(): CoDocument {
|
|
90
|
-
return this._img;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
public setImg(value: CoDocument): TreeViewNodeItem {
|
|
94
|
-
this._img = value;
|
|
95
|
-
return this;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
public isDisabled(): boolean {
|
|
99
|
-
return this._disabled;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
public setDisabled(value: boolean): TreeViewNodeItem {
|
|
103
|
-
this._disabled = value;
|
|
104
|
-
return this;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
public hasCustomColors(): boolean {
|
|
108
|
-
return this._customColor != null;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
public get customColor(): string {
|
|
112
|
-
return this._customColor;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
public setCustomColor(value: string): TreeViewNodeItem {
|
|
116
|
-
this._customColor = value;
|
|
117
|
-
return this;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
public hasIcon(): boolean {
|
|
121
|
-
return this._icon != null;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
public get icon(): string {
|
|
125
|
-
return this._icon;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
public setIcon(value: Icon): TreeViewNodeItem {
|
|
129
|
-
this._icon = value;
|
|
130
|
-
return this;
|
|
131
|
-
}
|
|
132
|
-
}
|
package/projects/sharedcomponents/src/lib/components/tags/component/treeview/treeview.component.ts
DELETED
|
@@ -1,258 +0,0 @@
|
|
|
1
|
-
import {AfterContentInit, AfterViewInit, Component, DoCheck, Input, OnInit, ViewEncapsulation} from "@angular/core";
|
|
2
|
-
import {TreeViewNodeItem} from "./model/tree-view-node-item";
|
|
3
|
-
import {TreeUtils} from "../../../../utils/tree-utils";
|
|
4
|
-
import {TreeViewNodeItemOptions} from "../../../../model/tree-view-node-item-options.model";
|
|
5
|
-
import {TreeObject} from "../../../../model/tree-object";
|
|
6
|
-
import {TreeView} from "../../../../model/tree-view-default.model";
|
|
7
|
-
import {Icon} from "../../../../enum/icon.enum";
|
|
8
|
-
import {isNill} from "../../../../utils/is-nill.function";
|
|
9
|
-
|
|
10
|
-
@Component({
|
|
11
|
-
selector: "treeview",
|
|
12
|
-
template: `
|
|
13
|
-
<!-- <div class="tree-view" scrollable>-->
|
|
14
|
-
<!-- <ng-tree-view #baseTreeView [tree]="this.tree"-->
|
|
15
|
-
<!-- [treeViewHeaderTemplate]="ioneTreeViewHeader"-->
|
|
16
|
-
<!-- [treeViewNodeTemplate]="ioneTreeViewNode">-->
|
|
17
|
-
<!-- </ng-tree-view>-->
|
|
18
|
-
<!-- </div>-->
|
|
19
|
-
<!-- Header Definition -->
|
|
20
|
-
<ng-template #ioneTreeViewHeader
|
|
21
|
-
let-tree="tree"
|
|
22
|
-
let-filter="filter">
|
|
23
|
-
<div class="tree-header"></div>
|
|
24
|
-
</ng-template>
|
|
25
|
-
<!-- Node Definition-->
|
|
26
|
-
<ng-template #ioneTreeViewNode
|
|
27
|
-
let-node="node">
|
|
28
|
-
<!-- Group all node elements -->
|
|
29
|
-
<div *ngIf="node.isFiltered()"
|
|
30
|
-
class="tree-node-group"
|
|
31
|
-
id="n{{ node.getId() }}" (click)="setSelectedNode(node)" (dblclick)="node.toggle()"
|
|
32
|
-
[class.expanded]="node.isExpanded() && node.getChildren().length > 0"
|
|
33
|
-
[ngStyle]="node.styles()">
|
|
34
|
-
<!-- Expand button -->
|
|
35
|
-
<div *ngIf="node.getChildren().length > 0" class="tree-node-fork" (click)="node.toggle()">
|
|
36
|
-
<icon class="expand-fork" icon="triangle_up"></icon>
|
|
37
|
-
</div>
|
|
38
|
-
<!-- BusinessObject data -->
|
|
39
|
-
<div class="tree-node-row"
|
|
40
|
-
[draggable]="determineDragId(node)" [draggableObject]="determineDragSource(node)"
|
|
41
|
-
[ngStyle]="node.customColors(selectedId)"
|
|
42
|
-
[ngClass]="node.classes(selectedId)"
|
|
43
|
-
[class.selected]="isSelectedNode(node)">
|
|
44
|
-
<div *ngIf="node.img" class="tree-node-img">
|
|
45
|
-
<doc-image *ngIf="node.img" [docId]="node.img.documentId"></doc-image>
|
|
46
|
-
</div>
|
|
47
|
-
<icon *ngIf="node.hasIcon() && !node.img" [ngClass]="node.iconClass(selectedId)"
|
|
48
|
-
class="tree-node-icon" [icon]="node.icon"></icon>
|
|
49
|
-
<div class="text-primary value-text">
|
|
50
|
-
{{ node.description}}
|
|
51
|
-
</div>
|
|
52
|
-
</div>
|
|
53
|
-
</div>
|
|
54
|
-
<!-- Node Children Definition-->
|
|
55
|
-
<div *ngIf="node.isExpanded()">
|
|
56
|
-
<div *ngFor="let child of node.getChildren()">
|
|
57
|
-
<ng-tree-view-node [treeViewNodeTemplate]="ioneTreeViewNode"
|
|
58
|
-
[node]="child"></ng-tree-view-node>
|
|
59
|
-
</div>
|
|
60
|
-
</div>
|
|
61
|
-
</ng-template>
|
|
62
|
-
`,
|
|
63
|
-
encapsulation: ViewEncapsulation.None
|
|
64
|
-
})
|
|
65
|
-
export class TreeviewComponent implements OnInit, AfterContentInit, AfterViewInit, DoCheck {
|
|
66
|
-
@Input()
|
|
67
|
-
public testmode: boolean;
|
|
68
|
-
|
|
69
|
-
@Input()
|
|
70
|
-
public autoSelectFirstRow: boolean;
|
|
71
|
-
|
|
72
|
-
@Input()
|
|
73
|
-
public selectable: boolean;
|
|
74
|
-
|
|
75
|
-
@Input()
|
|
76
|
-
public selectOnlyLeafNodes: boolean;
|
|
77
|
-
|
|
78
|
-
@Input()
|
|
79
|
-
public allowDraggable: boolean;
|
|
80
|
-
|
|
81
|
-
@Input()
|
|
82
|
-
public dragOnlyLeafNodes: boolean;
|
|
83
|
-
|
|
84
|
-
@Input()
|
|
85
|
-
public expandNodesOnInit: boolean;
|
|
86
|
-
|
|
87
|
-
@Input()
|
|
88
|
-
public data: TreeObject[] = [];
|
|
89
|
-
|
|
90
|
-
@Input()
|
|
91
|
-
public set filterTerm(value: string) {
|
|
92
|
-
this.applyFilter(value);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
@Input()
|
|
96
|
-
public set idField(value: string) {
|
|
97
|
-
this._idField = value;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
@Input()
|
|
101
|
-
public set parentIdField(value: string) {
|
|
102
|
-
this._parentIdField = value;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
@Input()
|
|
106
|
-
public set descriptionField(value: string) {
|
|
107
|
-
this._descriptionField = value;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
@Input()
|
|
111
|
-
public set colorField(value: string) {
|
|
112
|
-
this._colorField = value;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
@Input()
|
|
116
|
-
public set imgField(value: string) {
|
|
117
|
-
this._imgField = value;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
@Input()
|
|
121
|
-
public set iconField(value: string) {
|
|
122
|
-
this._iconField = value;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
@Input()
|
|
126
|
-
public set leafIcon(value: Icon) {
|
|
127
|
-
this._leafIcon = value;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
@Input()
|
|
131
|
-
public set leafConditionField(value: string) {
|
|
132
|
-
this._leafConditionField = value;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
public get tree(): TreeView {
|
|
136
|
-
return this._tree;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
public get selectedId(): number {
|
|
140
|
-
return (this._selectedNode != null) ? this._selectedNode.getId() : -1;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
private _idField: string = "id";
|
|
144
|
-
private _parentIdField: string = "parentId";
|
|
145
|
-
private _descriptionField: string = "description";
|
|
146
|
-
private _colorField: string;
|
|
147
|
-
private _imgField: string;
|
|
148
|
-
private _iconField: string;
|
|
149
|
-
private _leafIcon: Icon;
|
|
150
|
-
private _leafConditionField: string;
|
|
151
|
-
|
|
152
|
-
private _tree: TreeView;
|
|
153
|
-
private _nodes: TreeViewNodeItem[] = [];
|
|
154
|
-
private _selectedNode: TreeViewNodeItem;
|
|
155
|
-
private _lastDataLength: number = 0;
|
|
156
|
-
|
|
157
|
-
constructor() {
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
ngOnInit(): void {
|
|
161
|
-
this._tree = new TreeView();
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
ngAfterContentInit(): void {
|
|
165
|
-
this._updateTree();
|
|
166
|
-
if (this.autoSelectFirstRow && this.selectable && this._nodes.length > 0) {
|
|
167
|
-
this.setSelectedNode(this._nodes[0]);
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
ngAfterViewInit(): void {
|
|
172
|
-
if (this.expandNodesOnInit && this._nodes) {
|
|
173
|
-
this._nodes.forEach(node => node.expand(true));
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
ngDoCheck(): void {
|
|
178
|
-
if (this.data && this._lastDataLength !== this.data.length) {
|
|
179
|
-
this._lastDataLength = this.data.length;
|
|
180
|
-
this._updateTree();
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
public determineDragId(node: TreeViewNodeItem): number {
|
|
185
|
-
if (this.allowDraggable && (!this.dragOnlyLeafNodes || (node.getSize() === 1 && TreeUtils.leafConditionMet(node.data, this._leafConditionField)))) {
|
|
186
|
-
return node.getId();
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
return null;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
public determineDragSource(node: TreeViewNodeItem): TreeObject {
|
|
193
|
-
if (this.allowDraggable && (!this.dragOnlyLeafNodes || (node.getSize() === 1 && TreeUtils.leafConditionMet(node.data, this._leafConditionField)))) {
|
|
194
|
-
return node.data;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
return null;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
public setSelectedNode(node: TreeViewNodeItem): void {
|
|
202
|
-
if (node.isDisabled() || !this.selectable || (this.selectOnlyLeafNodes && (node.getSize() > 1 || !TreeUtils.leafConditionMet(node.data, this._leafConditionField)))) {
|
|
203
|
-
return;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
this._selectedNode = node;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
public isSelectedNode(node: TreeViewNodeItem): boolean {
|
|
210
|
-
return node === this._selectedNode;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
public getSelectedNode(): TreeViewNodeItem {
|
|
214
|
-
return this._selectedNode;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
public getNodes(): TreeViewNodeItem[] {
|
|
218
|
-
return this._nodes;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
public getNodeThatContainsChildWithGivenData(childData: any): TreeViewNodeItem {
|
|
222
|
-
if (this._nodes) {
|
|
223
|
-
return this._nodes.find(node => node.containsChildWithGivenData(childData));
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
private _updateTree(): void {
|
|
228
|
-
if (this.data == null || this.data.length === 0) {
|
|
229
|
-
return;
|
|
230
|
-
} else {
|
|
231
|
-
this._nodes = TreeUtils.convertToTreeViewItems(this.data, this._treeViewNodeOptions());
|
|
232
|
-
}
|
|
233
|
-
this._tree.withNodes(this._nodes);
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
private _treeViewNodeOptions(): TreeViewNodeItemOptions {
|
|
237
|
-
return {
|
|
238
|
-
idField: this._idField,
|
|
239
|
-
parentIdField: this._parentIdField,
|
|
240
|
-
descriptionField: this._descriptionField,
|
|
241
|
-
colorField: this._colorField,
|
|
242
|
-
imgField: this._imgField,
|
|
243
|
-
iconField: this._iconField,
|
|
244
|
-
leafIcon: this._leafIcon,
|
|
245
|
-
leafConditionField: this._leafConditionField
|
|
246
|
-
};
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
private applyFilter(term: string): void {
|
|
250
|
-
if (this.tree) {
|
|
251
|
-
if (isNill(term)) {
|
|
252
|
-
this.tree.filterTree("");
|
|
253
|
-
} else {
|
|
254
|
-
this.tree.filterTree(term);
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
}
|
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
import {Component, EventEmitter, HostBinding, Input, Output, ViewEncapsulation} from "@angular/core";
|
|
2
|
-
import {TagTreeItem} from "../../model/tag-tree-item.bo";
|
|
3
|
-
import {TagCategory} from "../../enum/tag-category.enum";
|
|
4
|
-
import {isNill} from "../../utils/is-nill.function";
|
|
5
|
-
import {notNill} from "../../utils/function/not-nill.function";
|
|
6
|
-
|
|
7
|
-
@Component({
|
|
8
|
-
selector: "sc-tags",
|
|
9
|
-
template: `
|
|
10
|
-
<co-collapsible
|
|
11
|
-
[headerTitle]="'Collapsible Title'"
|
|
12
|
-
|
|
13
|
-
>
|
|
14
|
-
<div class="tag-list-wrapper">
|
|
15
|
-
<div class="tag-wrapper" *ngFor="let tag of joinedTags">
|
|
16
|
-
<sc-tag-label [model]="tag.description">
|
|
17
|
-
</sc-tag-label>
|
|
18
|
-
</div>
|
|
19
|
-
</div>
|
|
20
|
-
</co-collapsible>
|
|
21
|
-
|
|
22
|
-
<div class="tags-join-content">
|
|
23
|
-
<co-collapsible class="tags-available" [headerTitle]="'Collapsible Title 2'">
|
|
24
|
-
<treeview [selectable]="true"
|
|
25
|
-
[selectOnlyLeafNodes]="true"
|
|
26
|
-
[allowDraggable]="true"
|
|
27
|
-
[dragOnlyLeafNodes]="true"
|
|
28
|
-
leafIcon="tag"
|
|
29
|
-
leafConditionField="tagId"
|
|
30
|
-
colorField="color"
|
|
31
|
-
imgField="image"
|
|
32
|
-
[data]="allTags"
|
|
33
|
-
[filterTerm]="filterTerm"
|
|
34
|
-
></treeview>
|
|
35
|
-
</co-collapsible>
|
|
36
|
-
<co-collapsible class="tags-joined" (drop)="handleDrop($event)" [headerTitle]="'Collapsible Title 3'">
|
|
37
|
-
<div class="tag-list-wrapper">
|
|
38
|
-
<div class="tag-join-wrapper" *ngFor="let tag of tagsToBeJoinedFiltered" (click)="setSelectedTag(tag)">
|
|
39
|
-
<tag-join-label [tag]="tag" [selected]="isSelectedTag(tag)" (tagCrossClicked)="deleteClicked($event)">
|
|
40
|
-
</tag-join-label>
|
|
41
|
-
</div>
|
|
42
|
-
</div>
|
|
43
|
-
</co-collapsible>
|
|
44
|
-
</div>
|
|
45
|
-
<div class="footer">
|
|
46
|
-
<co-button label="OK" (click)="onOkClick()"></co-button>
|
|
47
|
-
<co-button label="CANCEL" (click)="hide()"></co-button>
|
|
48
|
-
</div>
|
|
49
|
-
`,
|
|
50
|
-
encapsulation: ViewEncapsulation.None
|
|
51
|
-
})
|
|
52
|
-
export class TagsComponent {
|
|
53
|
-
|
|
54
|
-
public readonly tagTreeItemClass: typeof TagTreeItem = TagTreeItem;
|
|
55
|
-
|
|
56
|
-
@Input()
|
|
57
|
-
public collapseable: boolean = true;
|
|
58
|
-
|
|
59
|
-
@Input()
|
|
60
|
-
public set tagCategory(value: TagCategory) {
|
|
61
|
-
this._tagCategory = value;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
@Input()
|
|
65
|
-
public cfgNameAvailableTags: string;
|
|
66
|
-
|
|
67
|
-
@Input()
|
|
68
|
-
public cfgNameJoinedTags: string;
|
|
69
|
-
|
|
70
|
-
@Input()
|
|
71
|
-
public readonly: boolean = false;
|
|
72
|
-
|
|
73
|
-
@Input()
|
|
74
|
-
@Input()
|
|
75
|
-
public showPlusButtonIfReadonly: boolean = false;
|
|
76
|
-
|
|
77
|
-
@Input()
|
|
78
|
-
public popupSubHeader: string;
|
|
79
|
-
|
|
80
|
-
@Input()
|
|
81
|
-
public set joinedTags(tagsCollection: TagTreeItem[]) {
|
|
82
|
-
this._joinedTags = tagsCollection || [];
|
|
83
|
-
this.tagsToBeJoined = [];
|
|
84
|
-
this.tagsToBeJoined = this.tagsToBeJoined.concat(this._joinedTags);
|
|
85
|
-
this.tagsToBeJoinedFiltered = [];
|
|
86
|
-
this.tagsToBeJoinedFiltered = this.tagsToBeJoinedFiltered.concat(this._joinedTags);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
public get joinedTags(): TagTreeItem[] {
|
|
90
|
-
return this._joinedTags;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
@Input()
|
|
94
|
-
public allTags: TagTreeItem[];
|
|
95
|
-
|
|
96
|
-
@Output()
|
|
97
|
-
public readonly popupCardOpen: EventEmitter<void> = new EventEmitter<void>();
|
|
98
|
-
|
|
99
|
-
@Output()
|
|
100
|
-
public readonly popupCardClose: EventEmitter<void> = new EventEmitter<void>();
|
|
101
|
-
|
|
102
|
-
@Output()
|
|
103
|
-
public deleteClickedPrompt: EventEmitter<void> = new EventEmitter<void>();
|
|
104
|
-
|
|
105
|
-
@Output()
|
|
106
|
-
public readonly joinedTagsChange: EventEmitter<TagTreeItem[]> = new EventEmitter<TagTreeItem[]>();
|
|
107
|
-
@HostBinding("class.hidden")
|
|
108
|
-
public hidden: boolean;
|
|
109
|
-
public plusButtonSelected: boolean;
|
|
110
|
-
public tagsToBeJoined: TagTreeItem[] = [];
|
|
111
|
-
public tagsToBeJoinedFiltered: TagTreeItem[] = [];
|
|
112
|
-
|
|
113
|
-
public selectedTagToBeJoined: TagTreeItem;
|
|
114
|
-
public filterTerm: string;
|
|
115
|
-
|
|
116
|
-
private _joinedTags: TagTreeItem[] = [];
|
|
117
|
-
|
|
118
|
-
private _tagCategory: TagCategory;
|
|
119
|
-
|
|
120
|
-
public objectConfigName: string;
|
|
121
|
-
public required: boolean;
|
|
122
|
-
public forceReadonly: boolean;
|
|
123
|
-
public maxLength: number;
|
|
124
|
-
public decimals: number;
|
|
125
|
-
|
|
126
|
-
public redErrorBackground: boolean;
|
|
127
|
-
|
|
128
|
-
constructor() {
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
public onPlusButtonSelectedChange(plusButtonSelected: boolean): void {
|
|
132
|
-
if (plusButtonSelected) {
|
|
133
|
-
this.popupCardOpen.emit();
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
public onPopupClose(): void {
|
|
138
|
-
this.hide();
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
public onOkClick(): void {
|
|
142
|
-
this.plusButtonSelected = false;
|
|
143
|
-
this._joinedTags.length = 0;
|
|
144
|
-
Array.prototype.push.apply(this._joinedTags, this.tagsToBeJoined);
|
|
145
|
-
this._emitTagsCollectionChange();
|
|
146
|
-
this.popupCardClose.next();
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
public hide(): void {
|
|
150
|
-
this.plusButtonSelected = false;
|
|
151
|
-
this.tagsToBeJoined = [];
|
|
152
|
-
this.tagsToBeJoined = this.tagsToBeJoined.concat(this._joinedTags);
|
|
153
|
-
this.popupCardClose.next();
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
public handleDrop(event: any): void {
|
|
157
|
-
const droppedItem: TagTreeItem = event.object;
|
|
158
|
-
if (droppedItem && isNill(this.tagsToBeJoined.find(x => x.tagId === droppedItem.tagId))) {
|
|
159
|
-
this.tagsToBeJoined.push(droppedItem);
|
|
160
|
-
this.tagsToBeJoinedFiltered.push(droppedItem);
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
public deleteClicked(event: any): void {
|
|
165
|
-
const tagToDelete: TagTreeItem = (event instanceof TagTreeItem) ? event : this.selectedTagToBeJoined;
|
|
166
|
-
const clearSelectionNeeded: boolean = (tagToDelete === this.selectedTagToBeJoined);
|
|
167
|
-
if (notNill(tagToDelete)) {
|
|
168
|
-
this.tagsToBeJoined.splice(this.tagsToBeJoined.indexOf(this.tagsToBeJoined.find(x => x.tagId === tagToDelete.tagId)), 1);
|
|
169
|
-
this.tagsToBeJoinedFiltered.splice(this.tagsToBeJoinedFiltered.indexOf(this.tagsToBeJoinedFiltered.find(x => x.tagId === tagToDelete.tagId)), 1);
|
|
170
|
-
if (clearSelectionNeeded) {
|
|
171
|
-
this.selectedTagToBeJoined = null;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
public setSelectedTag(tag: TagTreeItem): void {
|
|
177
|
-
if (this.selectedTagToBeJoined === tag) {
|
|
178
|
-
this.selectedTagToBeJoined = null;
|
|
179
|
-
} else {
|
|
180
|
-
this.selectedTagToBeJoined = tag;
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
public isSelectedTag(tag: TagTreeItem): any {
|
|
185
|
-
return this.selectedTagToBeJoined === tag;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
private _emitTagsCollectionChange(): void {
|
|
189
|
-
this.joinedTagsChange.emit(this._joinedTags);
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import {NgModule} from "@angular/core";
|
|
2
|
-
import {CommonModule} from "@angular/common";
|
|
3
|
-
import {TagsComponent} from "./tags.component";
|
|
4
|
-
import {ButtonModule, CollapsibleModule, ImageModule} from "@colijnit/corecomponents_v12";
|
|
5
|
-
import {TagLabelComponent} from "./component/tag-label/tag-label.component";
|
|
6
|
-
import {TreeviewComponent} from "./component/treeview/treeview.component";
|
|
7
|
-
import {TagJoinLabelComponent} from "./component/tag-join-label/tag-join-label.component";
|
|
8
|
-
|
|
9
|
-
@NgModule({
|
|
10
|
-
imports: [
|
|
11
|
-
CommonModule,
|
|
12
|
-
CollapsibleModule,
|
|
13
|
-
ImageModule,
|
|
14
|
-
ButtonModule,
|
|
15
|
-
],
|
|
16
|
-
declarations: [
|
|
17
|
-
TagsComponent,
|
|
18
|
-
TagLabelComponent,
|
|
19
|
-
TreeviewComponent,
|
|
20
|
-
TagJoinLabelComponent
|
|
21
|
-
],
|
|
22
|
-
exports: [
|
|
23
|
-
TagsComponent
|
|
24
|
-
]
|
|
25
|
-
})
|
|
26
|
-
export class TagsModule {
|
|
27
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Directive,
|
|
3
|
-
EventEmitter,
|
|
4
|
-
HostListener,
|
|
5
|
-
Output,
|
|
6
|
-
ElementRef,
|
|
7
|
-
} from '@angular/core';
|
|
8
|
-
|
|
9
|
-
@Directive({
|
|
10
|
-
selector: '[outsideClick]',
|
|
11
|
-
})
|
|
12
|
-
export class ClickOutsideDirective {
|
|
13
|
-
|
|
14
|
-
@Output()
|
|
15
|
-
outsideClick: EventEmitter<MouseEvent> = new EventEmitter();
|
|
16
|
-
|
|
17
|
-
@HostListener('document:mousedown', ['$event'])
|
|
18
|
-
onClick(event: MouseEvent): void {
|
|
19
|
-
if (!this.elementRef.nativeElement.contains(event.target)) {
|
|
20
|
-
this.outsideClick.emit(event);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
constructor(private elementRef: ElementRef) {}
|
|
25
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export enum KeyboardCode {
|
|
2
|
-
Backspace = "Backspace",
|
|
3
|
-
Digit0 = "Digit0",
|
|
4
|
-
Digit1 = "Digit1",
|
|
5
|
-
Digit2 = "Digit2",
|
|
6
|
-
Digit3 = "Digit3",
|
|
7
|
-
Digit4 = "Digit4",
|
|
8
|
-
Digit5 = "Digit5",
|
|
9
|
-
Digit6 = "Digit6",
|
|
10
|
-
Digit7 = "Digit7",
|
|
11
|
-
Digit8 = "Digit8",
|
|
12
|
-
Digit9 = "Digit9",
|
|
13
|
-
Enter = "Enter",
|
|
14
|
-
Escape = "Escape",
|
|
15
|
-
Minus = "Minus",
|
|
16
|
-
Numpad0 = "Numpad0",
|
|
17
|
-
Numpad1 = "Numpad1",
|
|
18
|
-
Numpad2 = "Numpad2",
|
|
19
|
-
Numpad3 = "Numpad3",
|
|
20
|
-
Numpad4 = "Numpad4",
|
|
21
|
-
Numpad5 = "Numpad5",
|
|
22
|
-
Numpad6 = "Numpad6",
|
|
23
|
-
Numpad7 = "Numpad7",
|
|
24
|
-
Numpad8 = "Numpad8",
|
|
25
|
-
Numpad9 = "Numpad9",
|
|
26
|
-
NumpadDecimal = "NumpadDecimal",
|
|
27
|
-
NumpadEnter = "NumpadEnter",
|
|
28
|
-
NumpadSubtract = "NumpadSubtract",
|
|
29
|
-
Period = "Period"
|
|
30
|
-
}
|