@colijnit/sharedcomponents 1.0.55 → 1.0.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.browserslistrc +16 -0
- package/.editorconfig +16 -0
- package/.vscode/extensions.json +4 -0
- package/.vscode/launch.json +20 -0
- package/.vscode/tasks.json +42 -0
- package/README.md +11 -8
- package/Sharedcomponents.iml +11 -0
- package/angular.json +177 -0
- package/custom-login-bundle.webpack.config.js +3 -0
- package/karma.conf.js +44 -0
- package/move-assets.js +14 -0
- package/package.json +68 -31
- package/projects/sharedcomponents/.browserslistrc +16 -0
- package/projects/sharedcomponents/README.md +24 -0
- package/projects/sharedcomponents/karma.conf.js +44 -0
- package/projects/sharedcomponents/ng-package.json +17 -0
- package/projects/sharedcomponents/package.json +23 -0
- package/projects/sharedcomponents/src/lib/assets/dictionary/text.properties.ts +8 -0
- package/projects/sharedcomponents/src/lib/assets/icons/account.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/angle_left_solid.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/angle_right_solid.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/arrow_fat_right.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/arrow_point_left.svg +8 -0
- package/projects/sharedcomponents/src/lib/assets/icons/arrow_point_right.svg +4 -0
- package/projects/sharedcomponents/src/lib/assets/icons/at_solid.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/bring_forward_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/check_duotone.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/check_round.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/cross_skinny.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/delete_left_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/delivery_truck.svg +12 -0
- package/projects/sharedcomponents/src/lib/assets/icons/email.svg +5 -0
- package/projects/sharedcomponents/src/lib/assets/icons/envelope_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/eye_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/file_export_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/file_export_solid.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/file_pdf_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/file_pdf_solid.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/file_signature_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/house_blank_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/lock.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/message_sms_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/message_sms_solid.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/pdf.svg +15 -0
- package/projects/sharedcomponents/src/lib/assets/icons/print.svg +10 -0
- package/projects/sharedcomponents/src/lib/assets/icons/print_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/print_solid.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/signature_field.svg +9 -0
- package/projects/sharedcomponents/src/lib/assets/icons/tag_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/x_solid.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/xml.svg +1 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-base-view.component.ts +68 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-day-view.component.ts +35 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-event.component.ts +73 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-events.component.ts +53 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.ts +81 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-header.component.ts +275 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-hour-cell.component.ts +38 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.ts +50 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-hour-view.component.ts +46 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-month-view.component.ts +65 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-select-event.component.ts +39 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-view.component.ts +41 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-week-select-view.component.ts +63 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-week-view.component.ts +50 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/component/agenda/style/_layout.scss +12 -12
- package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/component/agenda/style/_material-definition.scss +2 -1
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/view-select.component.ts +43 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-all-months.component.ts +37 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-all-years.component.ts +52 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-header.component.ts +123 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-view.component.ts +200 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar.component.ts +35 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/date-planning.component.ts +141 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/date-planning.module.ts +61 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/style/material.scss +7 -0
- package/projects/sharedcomponents/src/lib/components/docsign/component/signature/signature.component.ts +82 -0
- package/projects/sharedcomponents/src/lib/components/docsign/component/signatures/signatures.component.ts +50 -0
- package/projects/sharedcomponents/src/lib/components/docsign/docsign.component.ts +270 -0
- package/projects/sharedcomponents/src/lib/components/docsign/docsign.module.ts +22 -0
- package/projects/sharedcomponents/src/lib/components/key-pad/key-pad.component.ts +216 -0
- package/projects/sharedcomponents/src/lib/components/key-pad/key-pad.module.ts +20 -0
- package/projects/sharedcomponents/src/lib/components/layout-switcher/layout-switcher.component.ts +98 -0
- package/projects/sharedcomponents/src/lib/components/layout-switcher/layout-switcher.module.ts +21 -0
- package/projects/sharedcomponents/src/lib/components/linear-gauge/co-linear-gauge.component.ts +57 -0
- package/projects/sharedcomponents/src/lib/components/linear-gauge/co-linear-gauge.module.ts +17 -0
- package/projects/sharedcomponents/src/lib/components/login/components/login-base.component.ts +98 -0
- package/projects/sharedcomponents/src/lib/components/login/components/login-change-password.component.ts +194 -0
- package/projects/sharedcomponents/src/lib/components/login/components/login-mfa-code-entry.component.ts +41 -0
- package/projects/sharedcomponents/src/lib/components/login/components/login-mfa-code-setup.component.ts +44 -0
- package/projects/sharedcomponents/src/lib/components/login/components/login-username-password.component.ts +167 -0
- package/projects/sharedcomponents/src/lib/components/login/localization/login-translation.ts +15 -0
- package/projects/sharedcomponents/src/lib/components/login/login.component.ts +137 -0
- package/projects/sharedcomponents/src/lib/components/login/login.module.ts +53 -0
- package/projects/sharedcomponents/src/lib/components/login/service/login-adapter.service.ts +58 -0
- package/projects/sharedcomponents/src/lib/components/login/service/login.service.ts +50 -0
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/enums/field-type.enum.ts +9 -0
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Config.ts +6 -0
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Field.ts +8 -0
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Header.ts +8 -0
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Module.ts +6 -0
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/Rubric.ts +10 -0
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/ScreenConfig.ts +9 -0
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/SubCat.ts +9 -0
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/models/SubRubric.ts +8 -0
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/screen-config-generator.component.ts +539 -0
- package/projects/sharedcomponents/src/lib/components/screen-config-generator/screen-config-generator.module.ts +21 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.ts +91 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.ts +19 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.ts +84 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.ts +19 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.ts +63 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.ts +24 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.ts +38 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.ts +21 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.ts +60 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.ts +26 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/signature-button/signature-button.component.ts +42 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/components/signature-button/signature-button.module.ts +19 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/model/email-address-viewmodel.ts +9 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/send-method-dialog.component.ts +325 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/send-method-dialog.module.ts +32 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/send-method-params.interface.ts +13 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/service/send-method.service.ts +63 -0
- package/projects/sharedcomponents/src/lib/components/simple-tags/simple-tags.component.ts +243 -0
- package/projects/sharedcomponents/src/lib/components/simple-tags/simple-tags.module.ts +24 -0
- package/projects/sharedcomponents/src/lib/components/statusbar/statusbar-popup.component.ts +100 -0
- package/projects/sharedcomponents/src/lib/components/statusbar/statusbar.component.ts +107 -0
- package/projects/sharedcomponents/src/lib/components/statusbar/statusbar.module.ts +25 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.ts +45 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.ts +45 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/order-stock-history/order-stock-history.component.ts +45 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/order-stock-tab/order-stock-tab.component.ts +43 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.ts +45 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/order-tab/order-tab.component.ts +71 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/stock-history/stock-history.component.ts +52 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/stock-location/stock-location.component.ts +276 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/stock-prognose/stock-prognose.component.ts +49 -0
- package/projects/sharedcomponents/src/lib/components/stock/components/stock-tab/stock-tab.component.ts +40 -0
- package/projects/sharedcomponents/src/lib/components/stock/localization/translation.ts +60 -0
- package/projects/sharedcomponents/src/lib/components/stock/stock-history-tabs/stock-history-tabs.component.ts +32 -0
- package/projects/sharedcomponents/src/lib/components/stock/stock-information/stock-information.component.ts +56 -0
- package/projects/sharedcomponents/src/lib/components/stock/stock-information-grid/stock-information-grid.component.ts +500 -0
- package/projects/sharedcomponents/src/lib/components/stock/stock-tabs/stock-tabs.component.ts +276 -0
- package/{lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.d.ts → projects/sharedcomponents/src/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.ts} +2 -2
- package/projects/sharedcomponents/src/lib/components/stock/stock-transfer/stock-change-amount.component.ts +77 -0
- package/projects/sharedcomponents/src/lib/components/stock/stock-transfer/stock-transfer.component.ts +178 -0
- package/projects/sharedcomponents/src/lib/components/stock/stock.component.ts +228 -0
- package/projects/sharedcomponents/src/lib/components/stock/stock.module.ts +97 -0
- package/projects/sharedcomponents/src/lib/components/stock-statusbar/stock-statusbar.component.ts +23 -0
- package/projects/sharedcomponents/src/lib/components/stock-statusbar/stock-statusbar.module.ts +17 -0
- package/projects/sharedcomponents/src/lib/components/tab-bar/tab-bar.component.ts +106 -0
- package/projects/sharedcomponents/src/lib/components/tab-bar/tab-bar.module.ts +20 -0
- package/projects/sharedcomponents/src/lib/components/tab-bar/tab.interface.ts +5 -0
- package/projects/sharedcomponents/src/lib/components/tags/component/tag-join-label/tag-join-label.component.ts +61 -0
- package/projects/sharedcomponents/src/lib/components/tags/component/tag-label/tag-label.component.ts +47 -0
- package/projects/sharedcomponents/src/lib/components/tags/component/treeview/model/tree-view-node-item.ts +132 -0
- package/projects/sharedcomponents/src/lib/components/tags/component/treeview/treeview.component.ts +258 -0
- package/projects/sharedcomponents/src/lib/components/tags/tags.component.ts +192 -0
- package/projects/sharedcomponents/src/lib/components/tags/tags.module.ts +27 -0
- package/projects/sharedcomponents/src/lib/directives/click-outside.directive.ts +25 -0
- package/projects/sharedcomponents/src/lib/enum/calendar-view.enum.ts +8 -0
- package/projects/sharedcomponents/src/lib/enum/gauge-color.enum.ts +8 -0
- package/{lib/enum/icon.enum.d.ts → projects/sharedcomponents/src/lib/enum/icon.enum.ts} +3 -2
- package/projects/sharedcomponents/src/lib/enum/keyboard-code.enum.ts +30 -0
- package/projects/sharedcomponents/src/lib/enum/language-code.enum.ts +6 -0
- package/projects/sharedcomponents/src/lib/enum/login-component-extra-action-type.enum.ts +4 -0
- package/projects/sharedcomponents/src/lib/enum/login-component-page.type.enum.ts +6 -0
- package/projects/sharedcomponents/src/lib/enum/login-component-query-variables-name.enum.ts +5 -0
- package/{lib/enum/month.enum.d.ts → projects/sharedcomponents/src/lib/enum/month.enum.ts} +2 -1
- package/projects/sharedcomponents/src/lib/enum/tag-category.enum.ts +20 -0
- package/projects/sharedcomponents/src/lib/enum/thumb-three-way-state.ts +18 -0
- package/{lib/enum/time-period.enum.d.ts → projects/sharedcomponents/src/lib/enum/time-period.enum.ts} +2 -1
- package/projects/sharedcomponents/src/lib/localization/localization.module.ts +17 -0
- package/projects/sharedcomponents/src/lib/localization/localize.pipe.ts +21 -0
- package/projects/sharedcomponents/src/lib/localization/localize.service.ts +28 -0
- package/projects/sharedcomponents/src/lib/localization/translation.ts +2 -0
- package/projects/sharedcomponents/src/lib/model/agenda-event-per-day.model.ts +6 -0
- package/projects/sharedcomponents/src/lib/model/agenda-event.model.ts +19 -0
- package/projects/sharedcomponents/src/lib/model/agenda-null-objects.ts +11 -0
- package/projects/sharedcomponents/src/lib/model/constant/all-months.ts +17 -0
- package/projects/sharedcomponents/src/lib/model/date-range.ts +10 -0
- package/projects/sharedcomponents/src/lib/model/day.model.ts +9 -0
- package/projects/sharedcomponents/src/lib/model/icon-svg.ts +37 -0
- package/projects/sharedcomponents/src/lib/model/month.model.ts +11 -0
- package/projects/sharedcomponents/src/lib/model/send-method.ts +13 -0
- package/projects/sharedcomponents/src/lib/model/settings.ts +5 -0
- package/projects/sharedcomponents/src/lib/model/tag-tree-item.bo.ts +28 -0
- package/projects/sharedcomponents/src/lib/model/time-window.bo.ts +21 -0
- package/projects/sharedcomponents/src/lib/model/tree-object.ts +13 -0
- package/projects/sharedcomponents/src/lib/model/tree-view-default.model.ts +107 -0
- package/projects/sharedcomponents/src/lib/model/tree-view-node-default.model.ts +196 -0
- package/projects/sharedcomponents/src/lib/model/tree-view-node-item-options.model.ts +12 -0
- package/projects/sharedcomponents/src/lib/model/tree-view-node.model.ts +150 -0
- package/projects/sharedcomponents/src/lib/model/tree-view.model.ts +57 -0
- package/projects/sharedcomponents/src/lib/model/week.model.ts +5 -0
- package/projects/sharedcomponents/src/lib/model/weekday.model.ts +17 -0
- package/projects/sharedcomponents/src/lib/pipe/array-number.pipe.ts +14 -0
- package/projects/sharedcomponents/src/lib/pipe/master-pipes.ts +7 -0
- package/projects/sharedcomponents/src/lib/pipe/ucfirst.pipe.ts +14 -0
- package/projects/sharedcomponents/src/lib/service/dictionary.service.ts +86 -0
- package/projects/sharedcomponents/src/lib/service/icon-cache.service.ts +51 -0
- package/projects/sharedcomponents/src/lib/service/options.service.ts +43 -0
- package/projects/sharedcomponents/src/lib/service/shared-connector.service.ts +401 -0
- package/projects/sharedcomponents/src/lib/service/shared-initializer.service.ts +29 -0
- package/projects/sharedcomponents/src/lib/service/shared.service.ts +49 -0
- package/projects/sharedcomponents/src/lib/service/stock.service.ts +124 -0
- package/projects/sharedcomponents/src/lib/utils/array-utils.ts +225 -0
- package/projects/sharedcomponents/src/lib/utils/calendar.utils.ts +75 -0
- package/projects/sharedcomponents/src/lib/utils/check-precision-and-scale-result.ts +5 -0
- package/projects/sharedcomponents/src/lib/utils/check-within-stepped-bounds-result.ts +8 -0
- package/projects/sharedcomponents/src/lib/utils/css-utils.ts +275 -0
- package/projects/sharedcomponents/src/lib/utils/date-utils.ts +302 -0
- package/projects/sharedcomponents/src/lib/utils/function/not-nill.function.ts +4 -0
- package/projects/sharedcomponents/src/lib/utils/is-nill.function.ts +4 -0
- package/projects/sharedcomponents/src/lib/utils/map-utils.ts +44 -0
- package/projects/sharedcomponents/src/lib/utils/number-utils.ts +439 -0
- package/projects/sharedcomponents/src/lib/utils/object-utils.ts +310 -0
- package/projects/sharedcomponents/src/lib/utils/string-utils.ts +67 -0
- package/projects/sharedcomponents/src/lib/utils/tree-utils.ts +63 -0
- package/{public-api.d.ts → projects/sharedcomponents/src/public-api.ts} +7 -0
- package/projects/sharedcomponents/src/test.ts +27 -0
- package/projects/sharedcomponents/tsconfig.lib.json +18 -0
- package/projects/sharedcomponents/tsconfig.lib.prod.json +10 -0
- package/projects/sharedcomponents/tsconfig.spec.json +17 -0
- package/script/create-bundle-version.js +19 -0
- package/script/merge-icons.js +39 -0
- package/src/app/app.component.scss +31 -0
- package/src/app/app.component.spec.ts +31 -0
- package/src/app/app.component.ts +454 -0
- package/src/app/app.module.ts +69 -0
- package/src/app/bundle/index.html +14 -0
- package/src/app/bundle/login/login-bundle.component.scss +6 -0
- package/src/app/bundle/login/login-bundle.component.ts +111 -0
- package/src/app/bundle/login/login-bundle.module.ts +30 -0
- package/src/app/bundle/main-login-bundle.ts +11 -0
- package/src/app/bundle/polyfills.ts +63 -0
- package/src/app/test-data.service.ts +60 -0
- package/src/assets/.gitkeep +0 -0
- package/src/environments/environment.bundle.prod.ts +3 -0
- package/src/environments/environment.prod.ts +3 -0
- package/src/environments/environment.ts +16 -0
- package/src/favicon.ico +0 -0
- package/src/index.html +13 -0
- package/src/main.ts +12 -0
- package/src/polyfills.ts +53 -0
- package/src/styles.scss +54 -0
- package/src/test.ts +26 -0
- package/tsconfig.app.json +15 -0
- package/tsconfig.bundle.json +38 -0
- package/tsconfig.json +64 -0
- package/tsconfig.spec.json +18 -0
- package/webpack.login.bundle.config.js +32 -0
- package/bundles/colijnit-sharedcomponents.umd.js +0 -6733
- package/bundles/colijnit-sharedcomponents.umd.js.map +0 -1
- package/colijnit-sharedcomponents.d.ts +0 -74
- package/colijnit-sharedcomponents.metadata.json +0 -1
- package/esm2015/colijnit-sharedcomponents.js +0 -75
- package/esm2015/lib/assets/dictionary/text.properties.js +0 -11
- package/esm2015/lib/components/date-planning/component/agenda/agenda-base-view.component.js +0 -61
- package/esm2015/lib/components/date-planning/component/agenda/agenda-day-view.component.js +0 -32
- package/esm2015/lib/components/date-planning/component/agenda/agenda-event.component.js +0 -54
- package/esm2015/lib/components/date-planning/component/agenda/agenda-events.component.js +0 -43
- package/esm2015/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.js +0 -68
- package/esm2015/lib/components/date-planning/component/agenda/agenda-header.component.js +0 -232
- package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-cell.component.js +0 -36
- package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.js +0 -50
- package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-view.component.js +0 -46
- package/esm2015/lib/components/date-planning/component/agenda/agenda-month-view.component.js +0 -61
- package/esm2015/lib/components/date-planning/component/agenda/agenda-select-event.component.js +0 -39
- package/esm2015/lib/components/date-planning/component/agenda/agenda-view.component.js +0 -35
- package/esm2015/lib/components/date-planning/component/agenda/agenda-week-select-view.component.js +0 -64
- package/esm2015/lib/components/date-planning/component/agenda/agenda-week-view.component.js +0 -48
- package/esm2015/lib/components/date-planning/component/agenda/view-select.component.js +0 -42
- package/esm2015/lib/components/date-planning/component/calendar/calendar-all-months.component.js +0 -34
- package/esm2015/lib/components/date-planning/component/calendar/calendar-all-years.component.js +0 -48
- package/esm2015/lib/components/date-planning/component/calendar/calendar-header.component.js +0 -107
- package/esm2015/lib/components/date-planning/component/calendar/calendar-view.component.js +0 -178
- package/esm2015/lib/components/date-planning/component/calendar/calendar.component.js +0 -34
- package/esm2015/lib/components/date-planning/date-planning.component.js +0 -108
- package/esm2015/lib/components/date-planning/date-planning.module.js +0 -63
- package/esm2015/lib/components/docsign/component/signature/signature.component.js +0 -75
- package/esm2015/lib/components/docsign/component/signatures/signatures.component.js +0 -44
- package/esm2015/lib/components/docsign/docsign.component.js +0 -242
- package/esm2015/lib/components/docsign/docsign.module.js +0 -23
- package/esm2015/lib/components/key-pad/key-pad.component.js +0 -200
- package/esm2015/lib/components/key-pad/key-pad.module.js +0 -22
- package/esm2015/lib/components/layout-switcher/layout-switcher.component.js +0 -74
- package/esm2015/lib/components/layout-switcher/layout-switcher.module.js +0 -21
- package/esm2015/lib/components/linear-gauge/co-linear-gauge.component.js +0 -59
- package/esm2015/lib/components/linear-gauge/co-linear-gauge.module.js +0 -19
- package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.js +0 -79
- package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.js +0 -21
- package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.js +0 -85
- package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.js +0 -21
- package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.js +0 -64
- package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.js +0 -26
- package/esm2015/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.js +0 -40
- package/esm2015/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.js +0 -23
- package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.js +0 -59
- package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.js +0 -28
- package/esm2015/lib/components/send-method-dialog/components/signature-button/signature-button.component.js +0 -38
- package/esm2015/lib/components/send-method-dialog/components/signature-button/signature-button.module.js +0 -21
- package/esm2015/lib/components/send-method-dialog/model/email-address-viewmodel.js +0 -7
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +0 -255
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.module.js +0 -35
- package/esm2015/lib/components/send-method-dialog/send-method-params.interface.js +0 -2
- package/esm2015/lib/components/send-method-dialog/service/send-method.service.js +0 -59
- package/esm2015/lib/components/simple-tags/simple-tags.component.js +0 -229
- package/esm2015/lib/components/simple-tags/simple-tags.module.js +0 -26
- package/esm2015/lib/components/statusbar/statusbar-popup.component.js +0 -97
- package/esm2015/lib/components/statusbar/statusbar.component.js +0 -81
- package/esm2015/lib/components/statusbar/statusbar.module.js +0 -27
- package/esm2015/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.js +0 -47
- package/esm2015/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.js +0 -47
- package/esm2015/lib/components/stock/components/order-stock-history/order-stock-history.component.js +0 -47
- package/esm2015/lib/components/stock/components/order-stock-tab/order-stock-tab.component.js +0 -47
- package/esm2015/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.js +0 -47
- package/esm2015/lib/components/stock/components/order-tab/order-tab.component.js +0 -67
- package/esm2015/lib/components/stock/components/stock-history/stock-history.component.js +0 -53
- package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +0 -240
- package/esm2015/lib/components/stock/components/stock-prognose/stock-prognose.component.js +0 -52
- package/esm2015/lib/components/stock/components/stock-tab/stock-tab.component.js +0 -41
- package/esm2015/lib/components/stock/localization/translation.js +0 -63
- package/esm2015/lib/components/stock/stock-history-tabs/stock-history-tabs.component.js +0 -33
- package/esm2015/lib/components/stock/stock-information/stock-information.component.js +0 -48
- package/esm2015/lib/components/stock/stock-information-grid/stock-information-grid.component.js +0 -457
- package/esm2015/lib/components/stock/stock-tabs/stock-tabs.component.js +0 -241
- package/esm2015/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.js +0 -2
- package/esm2015/lib/components/stock/stock-transfer/stock-change-amount.component.js +0 -72
- package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +0 -149
- package/esm2015/lib/components/stock/stock.component.js +0 -193
- package/esm2015/lib/components/stock/stock.module.js +0 -80
- package/esm2015/lib/components/stock-statusbar/stock-statusbar.component.js +0 -23
- package/esm2015/lib/components/stock-statusbar/stock-statusbar.module.js +0 -19
- package/esm2015/lib/components/tab-bar/tab-bar.component.js +0 -88
- package/esm2015/lib/components/tab-bar/tab-bar.module.js +0 -21
- package/esm2015/lib/components/tab-bar/tab.interface.js +0 -2
- package/esm2015/lib/enum/calendar-view.enum.js +0 -8
- package/esm2015/lib/enum/gauge-color.enum.js +0 -10
- package/esm2015/lib/enum/icon.enum.js +0 -38
- package/esm2015/lib/enum/keyboard-code.enum.js +0 -32
- package/esm2015/lib/enum/language-code.enum.js +0 -8
- package/esm2015/lib/enum/month.enum.js +0 -17
- package/esm2015/lib/enum/thumb-three-way-state.js +0 -19
- package/esm2015/lib/enum/time-period.enum.js +0 -11
- package/esm2015/lib/localization/localization.module.js +0 -19
- package/esm2015/lib/localization/localize.pipe.js +0 -26
- package/esm2015/lib/localization/localize.service.js +0 -30
- package/esm2015/lib/localization/translation.js +0 -3
- package/esm2015/lib/model/agenda-event-per-day.model.js +0 -6
- package/esm2015/lib/model/agenda-event.model.js +0 -8
- package/esm2015/lib/model/agenda-null-objects.js +0 -11
- package/esm2015/lib/model/constant/all-months.js +0 -17
- package/esm2015/lib/model/date-range.js +0 -5
- package/esm2015/lib/model/day.model.js +0 -7
- package/esm2015/lib/model/icon-svg.js +0 -37
- package/esm2015/lib/model/month.model.js +0 -11
- package/esm2015/lib/model/send-method.js +0 -8
- package/esm2015/lib/model/settings.js +0 -4
- package/esm2015/lib/model/time-window.bo.js +0 -26
- package/esm2015/lib/model/week.model.js +0 -6
- package/esm2015/lib/model/weekday.model.js +0 -10
- package/esm2015/lib/pipe/array-number.pipe.js +0 -15
- package/esm2015/lib/pipe/master-pipes.js +0 -7
- package/esm2015/lib/pipe/ucfirst.pipe.js +0 -16
- package/esm2015/lib/service/dictionary.service.js +0 -76
- package/esm2015/lib/service/icon-cache.service.js +0 -51
- package/esm2015/lib/service/options.service.js +0 -48
- package/esm2015/lib/service/shared-connector.service.js +0 -424
- package/esm2015/lib/service/shared.service.js +0 -60
- package/esm2015/lib/service/stock.service.js +0 -110
- package/esm2015/lib/utils/calendar.utils.js +0 -69
- package/esm2015/lib/utils/date-utils.js +0 -264
- package/esm2015/lib/utils/function/not-nill.function.js +0 -5
- package/esm2015/lib/utils/map-utils.js +0 -41
- package/esm2015/lib/utils/string-utils.js +0 -64
- package/esm2015/public-api.js +0 -24
- package/fesm2015/colijnit-sharedcomponents.js +0 -7001
- package/fesm2015/colijnit-sharedcomponents.js.map +0 -1
- package/lib/assets/dictionary/text.properties.d.ts +0 -3
- package/lib/components/date-planning/component/agenda/agenda-base-view.component.d.ts +0 -21
- package/lib/components/date-planning/component/agenda/agenda-day-view.component.d.ts +0 -6
- package/lib/components/date-planning/component/agenda/agenda-event.component.d.ts +0 -17
- package/lib/components/date-planning/component/agenda/agenda-events.component.d.ts +0 -12
- package/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.d.ts +0 -18
- package/lib/components/date-planning/component/agenda/agenda-header.component.d.ts +0 -47
- package/lib/components/date-planning/component/agenda/agenda-hour-cell.component.d.ts +0 -9
- package/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.d.ts +0 -8
- package/lib/components/date-planning/component/agenda/agenda-hour-view.component.d.ts +0 -7
- package/lib/components/date-planning/component/agenda/agenda-month-view.component.d.ts +0 -10
- package/lib/components/date-planning/component/agenda/agenda-select-event.component.d.ts +0 -12
- package/lib/components/date-planning/component/agenda/agenda-view.component.d.ts +0 -11
- package/lib/components/date-planning/component/agenda/agenda-week-select-view.component.d.ts +0 -10
- package/lib/components/date-planning/component/agenda/agenda-week-view.component.d.ts +0 -8
- package/lib/components/date-planning/component/agenda/view-select.component.d.ts +0 -11
- package/lib/components/date-planning/component/calendar/calendar-all-months.component.d.ts +0 -9
- package/lib/components/date-planning/component/calendar/calendar-all-years.component.d.ts +0 -9
- package/lib/components/date-planning/component/calendar/calendar-header.component.d.ts +0 -23
- package/lib/components/date-planning/component/calendar/calendar-view.component.d.ts +0 -31
- package/lib/components/date-planning/component/calendar/calendar.component.d.ts +0 -10
- package/lib/components/date-planning/date-planning.component.d.ts +0 -26
- package/lib/components/date-planning/date-planning.module.d.ts +0 -2
- package/lib/components/date-planning/style/material.scss +0 -5
- package/lib/components/docsign/component/signature/signature.component.d.ts +0 -16
- package/lib/components/docsign/component/signatures/signatures.component.d.ts +0 -12
- package/lib/components/docsign/docsign.component.d.ts +0 -94
- package/lib/components/docsign/docsign.module.d.ts +0 -2
- package/lib/components/key-pad/key-pad.component.d.ts +0 -38
- package/lib/components/key-pad/key-pad.module.d.ts +0 -2
- package/lib/components/layout-switcher/layout-switcher.component.d.ts +0 -16
- package/lib/components/layout-switcher/layout-switcher.module.d.ts +0 -2
- package/lib/components/linear-gauge/co-linear-gauge.component.d.ts +0 -11
- package/lib/components/linear-gauge/co-linear-gauge.module.d.ts +0 -2
- package/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.d.ts +0 -19
- package/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.d.ts +0 -2
- package/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.d.ts +0 -19
- package/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.d.ts +0 -2
- package/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.d.ts +0 -14
- package/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.d.ts +0 -2
- package/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.d.ts +0 -8
- package/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.d.ts +0 -2
- package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.d.ts +0 -12
- package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.d.ts +0 -2
- package/lib/components/send-method-dialog/components/signature-button/signature-button.component.d.ts +0 -12
- package/lib/components/send-method-dialog/components/signature-button/signature-button.module.d.ts +0 -2
- package/lib/components/send-method-dialog/model/email-address-viewmodel.d.ts +0 -5
- package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +0 -70
- package/lib/components/send-method-dialog/send-method-dialog.module.d.ts +0 -2
- package/lib/components/send-method-dialog/send-method-params.interface.d.ts +0 -13
- package/lib/components/send-method-dialog/service/send-method.service.d.ts +0 -23
- package/lib/components/simple-tags/simple-tags.component.d.ts +0 -31
- package/lib/components/simple-tags/simple-tags.module.d.ts +0 -2
- package/lib/components/statusbar/statusbar-popup.component.d.ts +0 -21
- package/lib/components/statusbar/statusbar.component.d.ts +0 -26
- package/lib/components/statusbar/statusbar.module.d.ts +0 -2
- package/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.d.ts +0 -9
- package/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.d.ts +0 -9
- package/lib/components/stock/components/order-stock-history/order-stock-history.component.d.ts +0 -9
- package/lib/components/stock/components/order-stock-tab/order-stock-tab.component.d.ts +0 -11
- package/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.d.ts +0 -9
- package/lib/components/stock/components/order-tab/order-tab.component.d.ts +0 -20
- package/lib/components/stock/components/stock-history/stock-history.component.d.ts +0 -13
- package/lib/components/stock/components/stock-location/stock-location.component.d.ts +0 -50
- package/lib/components/stock/components/stock-prognose/stock-prognose.component.d.ts +0 -11
- package/lib/components/stock/components/stock-tab/stock-tab.component.d.ts +0 -9
- package/lib/components/stock/localization/translation.d.ts +0 -60
- package/lib/components/stock/stock-history-tabs/stock-history-tabs.component.d.ts +0 -7
- package/lib/components/stock/stock-information/stock-information.component.d.ts +0 -8
- package/lib/components/stock/stock-information-grid/stock-information-grid.component.d.ts +0 -75
- package/lib/components/stock/stock-tabs/stock-tabs.component.d.ts +0 -56
- package/lib/components/stock/stock-transfer/stock-change-amount.component.d.ts +0 -18
- package/lib/components/stock/stock-transfer/stock-transfer.component.d.ts +0 -42
- package/lib/components/stock/stock.component.d.ts +0 -57
- package/lib/components/stock/stock.module.d.ts +0 -2
- package/lib/components/stock-statusbar/stock-statusbar.component.d.ts +0 -4
- package/lib/components/stock-statusbar/stock-statusbar.module.d.ts +0 -2
- package/lib/components/tab-bar/tab-bar.component.d.ts +0 -21
- package/lib/components/tab-bar/tab-bar.module.d.ts +0 -2
- package/lib/components/tab-bar/tab.interface.d.ts +0 -5
- package/lib/enum/calendar-view.enum.d.ts +0 -6
- package/lib/enum/gauge-color.enum.d.ts +0 -8
- package/lib/enum/keyboard-code.enum.d.ts +0 -30
- package/lib/enum/language-code.enum.d.ts +0 -6
- package/lib/enum/thumb-three-way-state.d.ts +0 -6
- package/lib/localization/localization.module.d.ts +0 -2
- package/lib/localization/localize.pipe.d.ts +0 -7
- package/lib/localization/localize.service.d.ts +0 -7
- package/lib/localization/translation.d.ts +0 -2
- package/lib/model/agenda-event-per-day.model.d.ts +0 -5
- package/lib/model/agenda-event.model.d.ts +0 -16
- package/lib/model/agenda-null-objects.d.ts +0 -10
- package/lib/model/constant/all-months.d.ts +0 -2
- package/lib/model/date-range.d.ts +0 -7
- package/lib/model/day.model.d.ts +0 -8
- package/lib/model/icon-svg.d.ts +0 -4
- package/lib/model/month.model.d.ts +0 -5
- package/lib/model/send-method.d.ts +0 -7
- package/lib/model/settings.d.ts +0 -3
- package/lib/model/time-window.bo.d.ts +0 -13
- package/lib/model/week.model.d.ts +0 -4
- package/lib/model/weekday.model.d.ts +0 -16
- package/lib/pipe/array-number.pipe.d.ts +0 -4
- package/lib/pipe/master-pipes.d.ts +0 -1
- package/lib/pipe/ucfirst.pipe.d.ts +0 -4
- package/lib/service/dictionary.service.d.ts +0 -21
- package/lib/service/icon-cache.service.d.ts +0 -18
- package/lib/service/options.service.d.ts +0 -13
- package/lib/service/shared-connector.service.d.ts +0 -53
- package/lib/service/shared.service.d.ts +0 -18
- package/lib/service/stock.service.d.ts +0 -41
- package/lib/utils/calendar.utils.d.ts +0 -10
- package/lib/utils/date-utils.d.ts +0 -44
- package/lib/utils/function/not-nill.function.d.ts +0 -1
- package/lib/utils/map-utils.d.ts +0 -16
- package/lib/utils/string-utils.d.ts +0 -22
- /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/component/agenda/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/component/agenda/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/component/calendar/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/component/calendar/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/component/calendar/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/component/calendar/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/date-planning/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signature/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signature/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signature/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signature/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signatures/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signatures/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signatures/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signatures/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/docsign/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/key-pad/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/key-pad/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/key-pad/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/key-pad/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/layout-switcher/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/layout-switcher/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/layout-switcher/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/layout-switcher/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/linear-gauge/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/linear-gauge/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/linear-gauge/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/linear-gauge/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/login/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/login/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/login/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/login/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/screen-config-generator/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/screen-config-generator/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/screen-config-generator/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/screen-config-generator/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/layout-selection/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/layout-selection/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/layout-selection/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/layout-selection/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/printer-selection/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/printer-selection/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/printer-selection/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/printer-selection/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-email/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-email/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-email/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-email/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-pdf/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-pdf/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-pdf/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-pdf/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-printer/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-printer/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-printer/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/send-method-printer/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/signature-button/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/signature-button/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/signature-button/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/components/signature-button/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/simple-tags/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/simple-tags/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/simple-tags/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/simple-tags/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/statusbar/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/statusbar/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/statusbar/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/statusbar/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/stock/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/stock/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/stock/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/stock/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/stock-statusbar/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/stock-statusbar/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/stock-statusbar/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/stock-statusbar/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/tab-bar/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/tab-bar/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/tab-bar/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/tab-bar/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/tags/component/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/tags/component/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/tags/component/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/tags/component/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/tags/component/tag-join-label/style/_layout.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/tags/component/tag-join-label/style/_material-definition.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/tags/component/tag-join-label/style/_theme.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/components/tags/component/tag-join-label/style/material.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/style/_mixin.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/style/_variables.scss +0 -0
- /package/{lib → projects/sharedcomponents/src/lib}/style/sharedcomponents-globals.scss +0 -0
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output, ViewEncapsulation } from "@angular/core";
|
|
2
|
-
import { CalendarView } from "../../../../enum/calendar-view.enum";
|
|
3
|
-
export class CalendarComponent {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.view = CalendarView.WeekView;
|
|
6
|
-
this.selectedDate = new Date();
|
|
7
|
-
this.days = [];
|
|
8
|
-
this.selectedDateChange = new EventEmitter();
|
|
9
|
-
}
|
|
10
|
-
changeSelectedDate(date) {
|
|
11
|
-
this.selectedDate = date;
|
|
12
|
-
this.selectedDateChange.emit(this.selectedDate);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
CalendarComponent.decorators = [
|
|
16
|
-
{ type: Component, args: [{
|
|
17
|
-
selector: "calendar",
|
|
18
|
-
template: `
|
|
19
|
-
<div class="sc-calendar">
|
|
20
|
-
<calendar-header [selectedDate]="selectedDate" (selectedDateChange)="changeSelectedDate($event)"></calendar-header>
|
|
21
|
-
<calendar-view [view]="view" [selectedDate]="selectedDate" (selectedDateChange)="changeSelectedDate($event)"></calendar-view>
|
|
22
|
-
</div>
|
|
23
|
-
`,
|
|
24
|
-
encapsulation: ViewEncapsulation.None
|
|
25
|
-
},] }
|
|
26
|
-
];
|
|
27
|
-
CalendarComponent.ctorParameters = () => [];
|
|
28
|
-
CalendarComponent.propDecorators = {
|
|
29
|
-
view: [{ type: Input }],
|
|
30
|
-
selectedDate: [{ type: Input }],
|
|
31
|
-
days: [{ type: Input }],
|
|
32
|
-
selectedDateChange: [{ type: Output }]
|
|
33
|
-
};
|
|
34
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsZW5kYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2hhcmVkY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvZGF0ZS1wbGFubmluZy9jb21wb25lbnQvY2FsZW5kYXIvY2FsZW5kYXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsaUJBQWlCLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDeEYsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLHFDQUFxQyxDQUFDO0FBWWpFLE1BQU0sT0FBTyxpQkFBaUI7SUFjNUI7UUFYTyxTQUFJLEdBQWlCLFlBQVksQ0FBQyxRQUFRLENBQUM7UUFHM0MsaUJBQVksR0FBUyxJQUFJLElBQUksRUFBRSxDQUFDO1FBR2hDLFNBQUksR0FBVyxFQUFFLENBQUM7UUFHbEIsdUJBQWtCLEdBQXVCLElBQUksWUFBWSxFQUFRLENBQ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hdGVDaGFuZ2UpPVwiY2hhbmdlU2VsZWN0ZWREYXRlKCRldmVudClcIj48L2NhbGVuZGFyLXZpZXc+XHJcbiAgICAgICAgPC9kaXY+XHJcbiAgICBgLFxyXG4gIGVuY2Fwc3VsYXRpb246IFZpZXdFbmNhcHN1bGF0aW9uLk5vbmVcclxufSlcclxuZXhwb3J0IGNsYXNzIENhbGVuZGFyQ29tcG9uZW50IHtcclxuXHJcbiAgQElucHV0KClcclxuICBwdWJsaWMgdmlldzogQ2FsZW5kYXJWaWV3ID0gQ2FsZW5kYXJWaWV3LldlZWtWaWV3O1xyXG5cclxuICBASW5wdXQoKVxyXG4gIHB1YmxpYyBzZWxlY3RlZERhdGU6IERhdGUgPSBuZXcgRGF0ZSgpO1xyXG5cclxuICBASW5wdXQoKVxyXG4gIHB1YmxpYyBkYXlzOiBEYXRlW10gPSBbXTtcclxuXHJcbiAgQE91dHB1dCgpXHJcbiAgcHVibGljIHNlbGVjdGVkRGF0ZUNoYW5nZTogRXZlbnRFbWl0dGVyPERhdGU+ID0gbmV3IEV2ZW50RW1pdHRlcjxEYXRlPigpO1xyXG5cclxuICBjb25zdHJ1Y3RvcigpIHtcclxuICB9XHJcblxyXG4gIHB1YmxpYyBjaGFuZ2VTZWxlY3RlZERhdGUoZGF0ZTogRGF0ZSk6IHZvaWQge1xyXG4gICAgdGhpcy5zZWxlY3RlZERhdGUgPSBkYXRlO1xyXG4gICAgdGhpcy5zZWxlY3RlZERhdGVDaGFuZ2UuZW1pdCh0aGlzLnNlbGVjdGVkRGF0ZSk7XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, Component, EventEmitter, HostBinding, Input, Output, Renderer2, ViewChild, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import { animate, state, style, transition, trigger } from "@angular/animations";
|
|
3
|
-
export class DatePlanningComponent {
|
|
4
|
-
constructor(_changeDetector, renderer) {
|
|
5
|
-
this._changeDetector = _changeDetector;
|
|
6
|
-
this.renderer = renderer;
|
|
7
|
-
this.calendarNavigation = false;
|
|
8
|
-
this.showButton = false;
|
|
9
|
-
this.buttonLabel = "";
|
|
10
|
-
this.eventsPerDay = [];
|
|
11
|
-
this.eventChecked = new EventEmitter();
|
|
12
|
-
this.selectedDateChange = new EventEmitter();
|
|
13
|
-
this.rangeChange = new EventEmitter();
|
|
14
|
-
this.viewChange = new EventEmitter();
|
|
15
|
-
this.buttonClick = new EventEmitter();
|
|
16
|
-
this.showClass = true;
|
|
17
|
-
this.days = [];
|
|
18
|
-
this._selectedDate = new Date();
|
|
19
|
-
}
|
|
20
|
-
doChangeSelectedDate(date, rangeChanged = false) {
|
|
21
|
-
this.selectedDate = new Date(date);
|
|
22
|
-
if (rangeChanged) {
|
|
23
|
-
this.rangeChange.next(this.selectedDate);
|
|
24
|
-
}
|
|
25
|
-
else {
|
|
26
|
-
this.selectedDateChange.next(this.selectedDate);
|
|
27
|
-
}
|
|
28
|
-
this._changeDetector.detectChanges();
|
|
29
|
-
}
|
|
30
|
-
doChangeView(view) {
|
|
31
|
-
this.view = view;
|
|
32
|
-
this.viewChange.next(this.view);
|
|
33
|
-
}
|
|
34
|
-
scrollToDayStart() {
|
|
35
|
-
if (this.dayStart !== undefined) {
|
|
36
|
-
const dayStart = this.renderer.selectRootElement("#dayStart");
|
|
37
|
-
if (dayStart) {
|
|
38
|
-
setTimeout(() => {
|
|
39
|
-
dayStart.scrollIntoView({ behavior: "instant", block: "center" });
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
DatePlanningComponent.decorators = [
|
|
46
|
-
{ type: Component, args: [{
|
|
47
|
-
selector: "co-date-planning",
|
|
48
|
-
template: `
|
|
49
|
-
<div class="sc-agenda">
|
|
50
|
-
<div class="content-wrapper">
|
|
51
|
-
<calendar *ngIf="calendarNavigation"
|
|
52
|
-
[view]="view"
|
|
53
|
-
[(days)]="days"
|
|
54
|
-
[selectedDate]="selectedDate" (selectedDateChange)="doChangeSelectedDate($event)"></calendar>
|
|
55
|
-
<div class="agenda-content-wrapper mini-scrollbar">
|
|
56
|
-
<div class="agenda-content">
|
|
57
|
-
<agenda-header [view]="view" (viewChange)="doChangeView($event)"
|
|
58
|
-
[firstAvailableDate]="firstAvailableDate"
|
|
59
|
-
[eventsPerDay]="eventsPerDay"
|
|
60
|
-
[selectedDate]="selectedDate"
|
|
61
|
-
(selectedDateChange)="doChangeSelectedDate($event)"
|
|
62
|
-
(rangeChange)="doChangeSelectedDate($event, true)"></agenda-header>
|
|
63
|
-
<agenda-view [view]="view"
|
|
64
|
-
[selectedDate]="selectedDate"
|
|
65
|
-
[eventsPerDay]="eventsPerDay"
|
|
66
|
-
(eventChecked)="eventChecked.emit($event)"></agenda-view>
|
|
67
|
-
</div>
|
|
68
|
-
</div>
|
|
69
|
-
</div>
|
|
70
|
-
</div>
|
|
71
|
-
<co-button *ngIf="showButton && eventsPerDay.length > 0" class="text-only select-agenda-button"
|
|
72
|
-
[label]="buttonLabel"
|
|
73
|
-
(click)="buttonClick.emit($event)">
|
|
74
|
-
</co-button>
|
|
75
|
-
`,
|
|
76
|
-
animations: [
|
|
77
|
-
trigger("showHideWindow", [
|
|
78
|
-
state("void", style({ transform: "scaleY(0)" })),
|
|
79
|
-
state("*", style({ transform: "scaleY(1)" })),
|
|
80
|
-
transition(":enter, :leave", [
|
|
81
|
-
animate("200ms ease-in-out")
|
|
82
|
-
])
|
|
83
|
-
])
|
|
84
|
-
],
|
|
85
|
-
encapsulation: ViewEncapsulation.None
|
|
86
|
-
},] }
|
|
87
|
-
];
|
|
88
|
-
DatePlanningComponent.ctorParameters = () => [
|
|
89
|
-
{ type: ChangeDetectorRef },
|
|
90
|
-
{ type: Renderer2 }
|
|
91
|
-
];
|
|
92
|
-
DatePlanningComponent.propDecorators = {
|
|
93
|
-
dayStart: [{ type: ViewChild, args: ["dayStart", { static: true },] }],
|
|
94
|
-
calendarNavigation: [{ type: Input }],
|
|
95
|
-
showButton: [{ type: Input }],
|
|
96
|
-
selectedDate: [{ type: Input }],
|
|
97
|
-
firstAvailableDate: [{ type: Input }],
|
|
98
|
-
buttonLabel: [{ type: Input }],
|
|
99
|
-
eventsPerDay: [{ type: Input }],
|
|
100
|
-
view: [{ type: Input }],
|
|
101
|
-
eventChecked: [{ type: Output }],
|
|
102
|
-
selectedDateChange: [{ type: Output }],
|
|
103
|
-
rangeChange: [{ type: Output }],
|
|
104
|
-
viewChange: [{ type: Output }],
|
|
105
|
-
buttonClick: [{ type: Output }],
|
|
106
|
-
showClass: [{ type: HostBinding, args: ["class.co-date-planning",] }]
|
|
107
|
-
};
|
|
108
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS1wbGFubmluZy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaGFyZWRjb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9kYXRlLXBsYW5uaW5nL2RhdGUtcGxhbm5pbmcuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxpQkFBaUIsRUFDakIsU0FBUyxFQUVULFlBQVksRUFBRSxXQUFXLEVBQ3pCLEtBQUssRUFDTCxNQUFNLEVBQ04sU0FBUyxFQUNULFNBQVMsRUFDVCxpQkFBaUIsRUFDbEIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFDLE9BQU8sRUFBRSxLQUFLLEVBQUUsS0FBSyxFQUFFLFVBQVUsRUFBRSxPQUFPLEVBQUMsTUFBTSxxQkFBcUIsQ0FBQztBQTZDL0UsTUFBTSxPQUFPLHFCQUFxQjtJQThDaEMsWUFDVSxlQUFrQyxFQUNsQyxRQUFtQjtRQURuQixvQkFBZSxHQUFmLGVBQW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AgICAgICAgICAgICAgIFt2aWV3XT1cInZpZXdcIlxyXG4gICAgICAgICAgICAgICAgICBbKGRheXMpXT1cImRheXNcIlxyXG4gICAgICAgICAgICAgICAgICBbc2VsZWN0ZWREYXRlXT1cInNlbGVjdGVkRGF0ZVwiIChzZWxlY3RlZERhdGVDaGFuZ2UpPVwiZG9DaGFuZ2VTZWxlY3RlZERhdGUoJGV2ZW50KVwiPjwvY2FsZW5kYXI+XHJcbiAgICAgICAgPGRpdiBjbGFzcz1cImFnZW5kYS1jb250ZW50LXdyYXBwZXIgbWluaS1zY3JvbGxiYXJcIj5cclxuICAgICAgICAgIDxkaXYgY2xhc3M9XCJhZ2VuZGEtY29udGVudFwiPlxyXG4gICAgICAgICAgICA8YWdlbmRhLWhlYWRlciBbdmlld109XCJ2aWV3XCIgKHZpZXdDaGFuZ2UpPVwiZG9DaGFuZ2VWaWV3KCRldmVudClcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICBbZmlyc3RBdmFpbGFibGVEYXRlXT1cImZpcnN0QXZhaWxhYmxlRGF0ZVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgIFtldmVudHNQZXJEYXldPVwiZXZlbnRzUGVyRGF5XCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgW3NlbGVjdGVkRGF0ZV09XCJzZWxlY3RlZERhdGVcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAoc2VsZWN0ZWREYXRlQ2hhbmdlKT1cImRvQ2hhbmdlU2VsZWN0ZWREYXRlKCRldmVudClcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAocmFuZ2VDaGFuZ2UpPVwiZG9DaGFuZ2VTZWxlY3RlZERhdGUoJGV2ZW50LCB0cnVlKVwiPjwvYWdlbmRhLWhlYWRlcj5cclxuICAgICAgICAgICAgPGFnZW5kYS12aWV3IFt2aWV3XT1cInZpZXdcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgW3NlbGVjdGVkRGF0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9jaGFuZ2VEZXRlY3Rvci5kZXRlY3RDaGFuZ2VzKCk7XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgZG9DaGFuZ2VWaWV3KHZpZXc6IENhbGVuZGFyVmlldyk6IHZvaWQge1xyXG4gICAgdGhpcy52aWV3ID0gdmlldztcclxuICAgIHRoaXMudmlld0NoYW5nZS5uZXh0KHRoaXMudmlldyk7XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgc2Nyb2xsVG9EYXlTdGFydCgpOiB2b2lkIHtcclxuICAgIGlmICh0aGlzLmRheVN0YXJ0ICE9PSB1bmRlZmluZWQpIHtcclxuICAgICAgY29uc3QgZGF5U3RhcnQ6IGFueSA9IHRoaXMucmVuZGVyZXIuc2VsZWN0Um9vdEVsZW1lbnQoXCIjZGF5U3RhcnRcIik7XHJcbiAgICAgIGlmIChkYXlTdGFydCkge1xyXG4gICAgICAgIHNldFRpbWVvdXQoKCkgPT4ge1xyXG4gICAgICAgICAgZGF5U3RhcnQuc2Nyb2xsSW50b1ZpZXcoe2JlaGF2aW9yOiBcImluc3RhbnRcIiwgYmxvY2s6IFwiY2VudGVyXCJ9KTtcclxuICAgICAgICB9KTtcclxuICAgICAgfVxyXG4gICAgfVxyXG4gIH1cclxuXHJcbn1cclxuIl19
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { NgModule } from "@angular/core";
|
|
2
|
-
import { CommonModule } from "@angular/common";
|
|
3
|
-
import { DatePlanningComponent } from "./date-planning.component";
|
|
4
|
-
import { ButtonModule, IconModule, InputDatePickerModule } from "@colijnit/corecomponents_v12";
|
|
5
|
-
import { CalendarAllYearsComponent } from "./component/calendar/calendar-all-years.component";
|
|
6
|
-
import { CalendarAllMonthsComponent } from "./component/calendar/calendar-all-months.component";
|
|
7
|
-
import { CalendarHeaderComponent } from "./component/calendar/calendar-header.component";
|
|
8
|
-
import { CalendarComponent } from "./component/calendar/calendar.component";
|
|
9
|
-
import { CalendarViewComponent } from "./component/calendar/calendar-view.component";
|
|
10
|
-
import { AgendaHeaderComponent } from "./component/agenda/agenda-header.component";
|
|
11
|
-
import { AgendaViewComponent } from "./component/agenda/agenda-view.component";
|
|
12
|
-
import { AgendaMonthViewComponent } from "./component/agenda/agenda-month-view.component";
|
|
13
|
-
import { AgendaDayViewComponent } from "./component/agenda/agenda-day-view.component";
|
|
14
|
-
import { AgendaWeekViewComponent } from "./component/agenda/agenda-week-view.component";
|
|
15
|
-
import { AgendaWeekSelectViewComponent } from "./component/agenda/agenda-week-select-view.component";
|
|
16
|
-
import { AgendaHourViewComponent } from "./component/agenda/agenda-hour-view.component";
|
|
17
|
-
import { AgendaHourCellComponent } from "./component/agenda/agenda-hour-cell.component";
|
|
18
|
-
import { AgendaHourViewLabelsComponent } from "./component/agenda/agenda-hour-view-labels.component";
|
|
19
|
-
import { AgendaHalfHourCellComponent } from "./component/agenda/agenda-half-hour-cell.component";
|
|
20
|
-
import { AgendaEventsComponent } from "./component/agenda/agenda-events.component";
|
|
21
|
-
import { AgendaEventComponent } from "./component/agenda/agenda-event.component";
|
|
22
|
-
import { MASTER_PIPES } from "../../pipe/master-pipes";
|
|
23
|
-
import { ViewSelectComponent } from "./component/agenda/view-select.component";
|
|
24
|
-
import { AgendaSelectEventComponent } from "./component/agenda/agenda-select-event.component";
|
|
25
|
-
export class DatePlanningModule {
|
|
26
|
-
}
|
|
27
|
-
DatePlanningModule.decorators = [
|
|
28
|
-
{ type: NgModule, args: [{
|
|
29
|
-
imports: [
|
|
30
|
-
CommonModule,
|
|
31
|
-
InputDatePickerModule,
|
|
32
|
-
IconModule,
|
|
33
|
-
ButtonModule,
|
|
34
|
-
],
|
|
35
|
-
declarations: [
|
|
36
|
-
DatePlanningComponent,
|
|
37
|
-
CalendarAllYearsComponent,
|
|
38
|
-
CalendarAllMonthsComponent,
|
|
39
|
-
CalendarHeaderComponent,
|
|
40
|
-
CalendarComponent,
|
|
41
|
-
CalendarViewComponent,
|
|
42
|
-
AgendaHeaderComponent,
|
|
43
|
-
AgendaViewComponent,
|
|
44
|
-
AgendaMonthViewComponent,
|
|
45
|
-
AgendaDayViewComponent,
|
|
46
|
-
AgendaWeekViewComponent,
|
|
47
|
-
AgendaWeekSelectViewComponent,
|
|
48
|
-
AgendaHourViewComponent,
|
|
49
|
-
AgendaHourCellComponent,
|
|
50
|
-
AgendaHourViewLabelsComponent,
|
|
51
|
-
AgendaHalfHourCellComponent,
|
|
52
|
-
AgendaEventsComponent,
|
|
53
|
-
AgendaEventComponent,
|
|
54
|
-
ViewSelectComponent,
|
|
55
|
-
AgendaSelectEventComponent,
|
|
56
|
-
MASTER_PIPES
|
|
57
|
-
],
|
|
58
|
-
exports: [
|
|
59
|
-
DatePlanningComponent
|
|
60
|
-
]
|
|
61
|
-
},] }
|
|
62
|
-
];
|
|
63
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS1wbGFubmluZy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaGFyZWRjb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9kYXRlLXBsYW5uaW5nL2RhdGUtcGxhbm5pbmcubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBQyxxQkFBcUIsRUFBQyxNQUFNLDJCQUEyQixDQUFDO0FBQ2hFLE9BQU8sRUFBQyxZQUFZLEVBQUUsVUFBVSxFQUFFLHFCQUFxQixFQUFDLE1BQU0sOEJBQThCLENBQUM7QUFDN0YsT0FBTyxFQUFDLHlCQUF5QixFQUFDLE1BQU0sbURBQW1ELENBQUM7QUFDNUYsT0FBTyxFQUFDLDBCQUEwQ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0NvbXBvbmVudCxcclxuICAgIEFnZW5kYUhhbGZIb3VyQ2VsbENvbXBvbmVudCxcclxuICAgIEFnZW5kYUV2ZW50c0NvbXBvbmVudCxcclxuICAgIEFnZW5kYUV2ZW50Q29tcG9uZW50LFxyXG4gICAgVmlld1NlbGVjdENvbXBvbmVudCxcclxuICAgIEFnZW5kYVNlbGVjdEV2ZW50Q29tcG9uZW50LFxyXG4gICAgTUFTVEVSX1BJUEVTXHJcbiAgXSxcclxuICBleHBvcnRzOiBbXHJcbiAgICBEYXRlUGxhbm5pbmdDb21wb25lbnRcclxuICBdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBEYXRlUGxhbm5pbmdNb2R1bGUge1xyXG59XHJcbiJdfQ==
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { Component, ElementRef, EventEmitter, HostBinding, Input, Output, ViewChild, ViewEncapsulation } from "@angular/core";
|
|
2
|
-
import SignaturePad from "signature_pad";
|
|
3
|
-
export class SignatureComponent {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.saveButtonLabel = 'SAVE';
|
|
6
|
-
this.clearButtonLabel = 'CLEAR';
|
|
7
|
-
this.save = new EventEmitter();
|
|
8
|
-
}
|
|
9
|
-
set content(content) {
|
|
10
|
-
if (content) {
|
|
11
|
-
this.signatureCanvas = content;
|
|
12
|
-
this._initCanvas();
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
showClass() {
|
|
16
|
-
return true;
|
|
17
|
-
}
|
|
18
|
-
handleSave(event) {
|
|
19
|
-
// save canvas as svg
|
|
20
|
-
// const sig: string = this.signature.toDataURL("image/svg+xml");
|
|
21
|
-
const sig = this.signature.toDataURL("image/png");
|
|
22
|
-
// emit signature string
|
|
23
|
-
this.save.next(sig);
|
|
24
|
-
}
|
|
25
|
-
handleClear(event) {
|
|
26
|
-
if (this.signature) {
|
|
27
|
-
this.signature.clear();
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
_initCanvas() {
|
|
31
|
-
if (this.signatureCanvas && this.signatureCanvas.nativeElement) {
|
|
32
|
-
this.signature = new SignaturePad(this.signatureCanvas.nativeElement);
|
|
33
|
-
setTimeout(() => {
|
|
34
|
-
this._resizeSignatureCanvas(this.signature, this.signatureCanvas);
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
_resizeSignatureCanvas(signature, signatureCanvas) {
|
|
39
|
-
const imageBeforeResize = signature.toDataURL();
|
|
40
|
-
const ratio = Math.max(window.devicePixelRatio || 1, 1);
|
|
41
|
-
signatureCanvas.nativeElement.width = signatureCanvas.nativeElement.offsetWidth * ratio;
|
|
42
|
-
signatureCanvas.nativeElement.height = signatureCanvas.nativeElement.offsetHeight * ratio;
|
|
43
|
-
signatureCanvas.nativeElement.getContext("2d").scale(ratio, ratio);
|
|
44
|
-
signature.fromDataURL(imageBeforeResize);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
SignatureComponent.decorators = [
|
|
48
|
-
{ type: Component, args: [{
|
|
49
|
-
selector: "co-signature",
|
|
50
|
-
template: `
|
|
51
|
-
<div class="signature-wrapper">
|
|
52
|
-
<div class="signature-header">
|
|
53
|
-
<span *ngIf="title" class="title" [textContent]="title"></span>
|
|
54
|
-
<div class="button-wrapper">
|
|
55
|
-
<input type="button" (click)="handleSave($event)" [value]="saveButtonLabel"/>
|
|
56
|
-
<input type="button" (click)="handleClear($event)" [value]="clearButtonLabel">
|
|
57
|
-
</div>
|
|
58
|
-
</div>
|
|
59
|
-
<div class="canvas">
|
|
60
|
-
<canvas #signature></canvas>
|
|
61
|
-
</div>
|
|
62
|
-
</div>
|
|
63
|
-
`,
|
|
64
|
-
encapsulation: ViewEncapsulation.None
|
|
65
|
-
},] }
|
|
66
|
-
];
|
|
67
|
-
SignatureComponent.propDecorators = {
|
|
68
|
-
content: [{ type: ViewChild, args: ["signature", { read: ElementRef },] }],
|
|
69
|
-
title: [{ type: Input }],
|
|
70
|
-
saveButtonLabel: [{ type: Input }],
|
|
71
|
-
clearButtonLabel: [{ type: Input }],
|
|
72
|
-
save: [{ type: Output }],
|
|
73
|
-
showClass: [{ type: HostBinding, args: ["class.co-signature",] }]
|
|
74
|
-
};
|
|
75
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lnbmF0dXJlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NoYXJlZGNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2RvY3NpZ24vY29tcG9uZW50L3NpZ25hdHVyZS9zaWduYXR1cmUuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsVUFBVSxFQUFFLFlBQVksRUFBRSxXQUFXLEVBQUUsS0FBSyxFQUFVLE1BQU0sRUFBRSxTQUFTLEVBQUUsaUJBQWlCLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDcEksT0FBTyxZQUFZLE1BQU0sZUFBZSxDQUFDO0FBb0J6QyxNQUFNLE9BQU8sa0JBQWtCO0lBbEIvQjtRQThCUyxvQkFBZSxHQUFXLE1BQU0sQ0FBQztRQUdqQyxxQkFBZ0IsR0FBVyxPQUFPLENBQUM7UUFHbkMsU0FBSSxHQUF5QixJQUFJLFlBQVksRUFBVSxDQUFDO0lBMENqRSxDQUFDO0lBM0RDLElBQWdELE9BQU8sQ0FBQyxPQUFtQjtRQUN6RSxJQUFJLE9BQU8sRUFBRTtZQUNYLElBQUksQ0FBQyxlQUFlLEdBQUcsT0FBTyxDQUFDO1lBQy9CLElBQUksQ0FBQyxXQUFXLEVBQUUsQ0FBQztTQUNwQjtJQUNILENBQUM7SUFlTSxTQUFTO1FBQ2QsT0FBTyxJQUFJLENBQUM7SUFDZCxDQUFDO0lBS00sVUFBVSxDQUFDLEtB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dGl2ZUVsZW1lbnQuZ2V0Q29udGV4dChcIjJkXCIpLnNjYWxlKHJhdGlvLCByYXRpbyk7XHJcbiAgICBzaWduYXR1cmUuZnJvbURhdGFVUkwoaW1hZ2VCZWZvcmVSZXNpemUpO1xyXG4gIH1cclxuXHJcbn1cclxuIl19
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, HostBinding, Input, Output, ViewEncapsulation } from "@angular/core";
|
|
2
|
-
export class SignaturesComponent {
|
|
3
|
-
constructor() {
|
|
4
|
-
this.showFirstSignature = false;
|
|
5
|
-
this.showSecondSignature = false;
|
|
6
|
-
this.saveButtonLabel = 'SAVE';
|
|
7
|
-
this.clearButtonLabel = 'CLEAR';
|
|
8
|
-
this.saveFirstSignature = new EventEmitter();
|
|
9
|
-
this.saveSecondSignature = new EventEmitter();
|
|
10
|
-
}
|
|
11
|
-
showClass() {
|
|
12
|
-
return true;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
SignaturesComponent.decorators = [
|
|
16
|
-
{ type: Component, args: [{
|
|
17
|
-
selector: "co-signatures",
|
|
18
|
-
template: `
|
|
19
|
-
<co-signature *ngIf="showFirstSignature"
|
|
20
|
-
[title]="firstSignatureTitle"
|
|
21
|
-
[saveButtonLabel]="saveButtonLabel"
|
|
22
|
-
[clearButtonLabel]="clearButtonLabel"
|
|
23
|
-
(save)="saveFirstSignature.emit($event)"></co-signature>
|
|
24
|
-
<co-signature *ngIf="showSecondSignature"
|
|
25
|
-
[title]="secondSignatureTitle"
|
|
26
|
-
[saveButtonLabel]="saveButtonLabel"
|
|
27
|
-
[clearButtonLabel]="clearButtonLabel"
|
|
28
|
-
(save)="saveSecondSignature.emit($event)"></co-signature>
|
|
29
|
-
`,
|
|
30
|
-
encapsulation: ViewEncapsulation.None
|
|
31
|
-
},] }
|
|
32
|
-
];
|
|
33
|
-
SignaturesComponent.propDecorators = {
|
|
34
|
-
showFirstSignature: [{ type: Input }],
|
|
35
|
-
firstSignatureTitle: [{ type: Input }],
|
|
36
|
-
showSecondSignature: [{ type: Input }],
|
|
37
|
-
secondSignatureTitle: [{ type: Input }],
|
|
38
|
-
saveButtonLabel: [{ type: Input }],
|
|
39
|
-
clearButtonLabel: [{ type: Input }],
|
|
40
|
-
saveFirstSignature: [{ type: Output }],
|
|
41
|
-
saveSecondSignature: [{ type: Output }],
|
|
42
|
-
showClass: [{ type: HostBinding, args: ["class.co-signatures",] }]
|
|
43
|
-
};
|
|
44
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lnbmF0dXJlcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaGFyZWRjb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9kb2NzaWduL2NvbXBvbmVudC9zaWduYXR1cmVzL3NpZ25hdHVyZXMuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsWUFBWSxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLGlCQUFpQixFQUFDLE1BQU0sZUFBZSxDQUFDO0FBa0JyRyxNQUFNLE9BQU8sbUJBQW1CO0lBaEJoQztRQW1CUyx1QkFBa0IsR0FBWSxLQUFLLENBQUM7UUFNcEMsd0JBQW1CLEdBQVksS0FBSyxDQUFDO1FBTXJDLG9CQUFlLEdBQVcsTUFBTSxDQUFDO1FBR2pDLHFCQUFnQixHQUFXLE9BQU8sQ0FBQztRQUduQyx1QkFBa0IsR0FBeUIsSUFBSSxZQUFZLEVBQVUsQ0FBQztRQUd0RSx3QkFBbUIsR0FBeUIsSUFBSSxZQUFZLEVBQVUsQ0FBQztJQU9oRixDQUFDO0lBSlEsU0FBUztRQUNkLE9BQU8sSUFBSSxDQUFDO0lBQ2QsQ0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