@colijnit/sharedcomponents 1.0.64 → 1.0.66
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/3rdpartylicenses.txt +1200 -0
- package/README.md +24 -24
- package/bundles/colijnit-sharedcomponents.umd.js +10078 -9926
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.d.ts +92 -91
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/colijnit-sharedcomponents.js +93 -92
- package/esm2015/lib/assets/dictionary/text.properties.js +11 -11
- package/esm2015/lib/businessobject/build-images-and-documentation-result.js +2 -2
- package/esm2015/lib/businessobject/co-document-right.bo.js +3 -3
- package/esm2015/lib/businessobject/drag-drop-container-element.js +2 -2
- package/esm2015/lib/businessobject/drag-drop-container.js +7 -7
- package/esm2015/lib/components/activity-list/activity-list.component.js +130 -130
- package/esm2015/lib/components/activity-list/activity-list.module.js +24 -24
- package/esm2015/lib/components/app-file-dropzone/app-file-dropzone.component.js +47 -47
- package/esm2015/lib/components/app-file-dropzone/app-file-dropzone.module.js +20 -20
- package/esm2015/lib/components/date-planning/component/agenda/agenda-base-view.component.js +61 -61
- package/esm2015/lib/components/date-planning/component/agenda/agenda-day-view.component.js +36 -36
- package/esm2015/lib/components/date-planning/component/agenda/agenda-event.component.js +56 -56
- package/esm2015/lib/components/date-planning/component/agenda/agenda-events.component.js +47 -47
- package/esm2015/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.js +68 -68
- package/esm2015/lib/components/date-planning/component/agenda/agenda-header.component.js +243 -243
- package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-cell.component.js +36 -36
- package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.js +50 -50
- package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-view.component.js +46 -46
- package/esm2015/lib/components/date-planning/component/agenda/agenda-month-view.component.js +61 -61
- package/esm2015/lib/components/date-planning/component/agenda/agenda-select-event.component.js +39 -39
- package/esm2015/lib/components/date-planning/component/agenda/agenda-view.component.js +35 -35
- package/esm2015/lib/components/date-planning/component/agenda/agenda-week-select-view.component.js +64 -64
- package/esm2015/lib/components/date-planning/component/agenda/agenda-week-view.component.js +48 -48
- package/esm2015/lib/components/date-planning/component/agenda/view-select.component.js +42 -42
- package/esm2015/lib/components/date-planning/component/calendar/calendar-all-months.component.js +34 -34
- package/esm2015/lib/components/date-planning/component/calendar/calendar-all-years.component.js +48 -48
- package/esm2015/lib/components/date-planning/component/calendar/calendar-header.component.js +107 -107
- package/esm2015/lib/components/date-planning/component/calendar/calendar-view.component.js +178 -178
- package/esm2015/lib/components/date-planning/component/calendar/calendar.component.js +34 -34
- package/esm2015/lib/components/date-planning/date-planning.component.js +113 -113
- package/esm2015/lib/components/date-planning/date-planning.module.js +63 -63
- package/esm2015/lib/components/docsign/component/signature/signature.component.js +75 -75
- package/esm2015/lib/components/docsign/component/signatures/signatures.component.js +44 -44
- package/esm2015/lib/components/docsign/docsign.component.js +242 -242
- package/esm2015/lib/components/docsign/docsign.module.js +23 -23
- package/esm2015/lib/components/file-upload/file-upload.component.js +189 -189
- package/esm2015/lib/components/file-upload/file-upload.module.js +25 -25
- package/esm2015/lib/components/file-upload-popup/file-upload-popup.component.js +397 -397
- package/esm2015/lib/components/file-upload-popup/file-upload-popup.module.js +30 -30
- package/esm2015/lib/components/files-upload/components/base-file-upload.component.js +469 -469
- package/esm2015/lib/components/files-upload/components/drag-drop-container.component.js +115 -115
- package/esm2015/lib/components/files-upload/files-upload.component.js +131 -131
- package/esm2015/lib/components/files-upload/files-upload.module.js +47 -47
- package/esm2015/lib/components/image-display/image-display.component.js +36 -36
- package/esm2015/lib/components/image-display/image-display.module.js +23 -23
- package/esm2015/lib/components/key-pad/key-pad.component.js +200 -200
- package/esm2015/lib/components/key-pad/key-pad.module.js +22 -22
- package/esm2015/lib/components/layout-switcher/layout-switcher.component.js +74 -74
- package/esm2015/lib/components/layout-switcher/layout-switcher.module.js +21 -21
- package/esm2015/lib/components/linear-gauge/co-linear-gauge.component.js +59 -59
- package/esm2015/lib/components/linear-gauge/co-linear-gauge.module.js +19 -19
- package/esm2015/lib/components/multi-property-toggler/multiple-property-toggler.component.js +89 -89
- package/esm2015/lib/components/multi-property-toggler/multiple-property-toggler.module.js +21 -21
- package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.js +79 -79
- package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.js +21 -21
- package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.js +85 -85
- package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.js +21 -21
- package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.js +64 -64
- package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.js +26 -26
- package/esm2015/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.js +40 -40
- package/esm2015/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.js +23 -23
- package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.js +61 -61
- package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.js +28 -28
- package/esm2015/lib/components/send-method-dialog/components/signature-button/signature-button.component.js +38 -38
- package/esm2015/lib/components/send-method-dialog/components/signature-button/signature-button.module.js +21 -21
- package/esm2015/lib/components/send-method-dialog/model/email-address-viewmodel.js +7 -7
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +258 -258
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.module.js +35 -35
- package/esm2015/lib/components/send-method-dialog/send-method-params.interface.js +2 -2
- package/esm2015/lib/components/send-method-dialog/service/send-method.service.js +59 -59
- package/esm2015/lib/components/simple-tags/simple-tags.component.js +229 -229
- package/esm2015/lib/components/simple-tags/simple-tags.module.js +26 -26
- package/esm2015/lib/components/statusbar/statusbar-popup.component.js +97 -97
- package/esm2015/lib/components/statusbar/statusbar.component.js +81 -81
- package/esm2015/lib/components/statusbar/statusbar.module.js +27 -27
- package/esm2015/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.js +47 -47
- package/esm2015/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.js +47 -47
- package/esm2015/lib/components/stock/components/order-stock-history/order-stock-history.component.js +47 -47
- package/esm2015/lib/components/stock/components/order-stock-tab/order-stock-tab.component.js +47 -47
- package/esm2015/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.js +47 -47
- package/esm2015/lib/components/stock/components/order-tab/order-tab.component.js +67 -67
- package/esm2015/lib/components/stock/components/stock-history/stock-history.component.js +53 -53
- package/esm2015/lib/components/stock/components/stock-location/components/stock-location-popup/stock-location-popup.component.js +210 -0
- package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +248 -251
- package/esm2015/lib/components/stock/components/stock-prognose/stock-prognose.component.js +52 -52
- package/esm2015/lib/components/stock/components/stock-tab/stock-tab.component.js +39 -39
- package/esm2015/lib/components/stock/localization/translation.js +74 -72
- package/esm2015/lib/components/stock/stock-history-tabs/stock-history-tabs.component.js +33 -33
- package/esm2015/lib/components/stock/stock-information/stock-information.component.js +48 -48
- package/esm2015/lib/components/stock/stock-information-grid/stock-information-grid.component.js +457 -457
- package/esm2015/lib/components/stock/stock-tabs/stock-tabs.component.js +251 -243
- package/esm2015/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.js +2 -2
- package/esm2015/lib/components/stock/stock-transfer/stock-change-amount.component.js +72 -72
- package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +160 -160
- package/esm2015/lib/components/stock/stock.component.js +237 -237
- package/esm2015/lib/components/stock/stock.module.js +82 -80
- package/esm2015/lib/components/stock-statusbar/stock-statusbar.component.js +23 -23
- package/esm2015/lib/components/stock-statusbar/stock-statusbar.module.js +19 -19
- package/esm2015/lib/components/tab-bar/tab-bar.component.js +90 -90
- package/esm2015/lib/components/tab-bar/tab-bar.module.js +21 -21
- package/esm2015/lib/components/tab-bar/tab.interface.js +2 -2
- package/esm2015/lib/components/tile-renderer/tile-render.component.js +80 -80
- package/esm2015/lib/components/tile-renderer/tile-render.module.js +26 -26
- package/esm2015/lib/decorator/input-boolean.decorator.js +34 -34
- package/esm2015/lib/enum/calendar-view.enum.js +9 -9
- package/esm2015/lib/enum/document-email-report.enum.js +18 -18
- package/esm2015/lib/enum/domain-multiple-name.enum.js +13 -13
- package/esm2015/lib/enum/file-type.js +14 -14
- package/esm2015/lib/enum/files-upload-config-objects.js +3 -3
- package/esm2015/lib/enum/gauge-color.enum.js +10 -10
- package/esm2015/lib/enum/icon.enum.js +49 -48
- package/esm2015/lib/enum/internal-param.enum.js +38 -38
- package/esm2015/lib/enum/keyboard-code.enum.js +32 -32
- package/esm2015/lib/enum/language-code.enum.js +8 -8
- package/esm2015/lib/enum/month.enum.js +17 -17
- package/esm2015/lib/enum/read-write-access-config-names.enum.js +2 -2
- package/esm2015/lib/enum/table-name.enum.js +86 -86
- package/esm2015/lib/enum/tag-category.enum.js +22 -22
- package/esm2015/lib/enum/tags-component-config-names.js +2 -2
- package/esm2015/lib/enum/thumb-three-way-state.js +19 -19
- package/esm2015/lib/enum/tile-size-type.js +7 -7
- package/esm2015/lib/enum/time-period.enum.js +11 -11
- package/esm2015/lib/event/co-drag-event.js +2 -2
- package/esm2015/lib/event/co-drop-event.js +2 -2
- package/esm2015/lib/interface/key-value-pair.js +2 -2
- package/esm2015/lib/interface/operation-callback-simple-function.js +4 -4
- package/esm2015/lib/localization/localization.module.js +19 -19
- package/esm2015/lib/localization/localize.pipe.js +26 -26
- package/esm2015/lib/localization/localize.service.js +30 -30
- package/esm2015/lib/localization/translation.js +3 -3
- package/esm2015/lib/model/agenda-event-per-day.model.js +6 -6
- package/esm2015/lib/model/agenda-event.model.js +8 -8
- package/esm2015/lib/model/agenda-null-objects.js +11 -11
- package/esm2015/lib/model/constant/all-months.js +17 -17
- package/esm2015/lib/model/date-range.js +5 -5
- package/esm2015/lib/model/day.model.js +7 -7
- package/esm2015/lib/model/icon-svg.js +48 -47
- package/esm2015/lib/model/month.model.js +11 -11
- package/esm2015/lib/model/send-method.js +8 -8
- package/esm2015/lib/model/settings.js +4 -4
- package/esm2015/lib/model/tag-tree-item.bo.js +16 -16
- package/esm2015/lib/model/time-window.bo.js +26 -26
- package/esm2015/lib/model/tree-object.js +15 -15
- package/esm2015/lib/model/week.model.js +6 -6
- package/esm2015/lib/model/weekday.model.js +10 -10
- package/esm2015/lib/pipe/array-number.pipe.js +15 -15
- package/esm2015/lib/pipe/file-type-image.pipe.js +51 -51
- package/esm2015/lib/pipe/master-pipes.js +9 -9
- package/esm2015/lib/pipe/ucfirst.pipe.js +16 -16
- package/esm2015/lib/service/dictionary.service.js +76 -76
- package/esm2015/lib/service/drag-drop.service.js +365 -365
- package/esm2015/lib/service/icon-cache.service.js +51 -51
- package/esm2015/lib/service/options.service.js +48 -48
- package/esm2015/lib/service/shared-connector.service.js +433 -433
- package/esm2015/lib/service/shared.service.js +60 -60
- package/esm2015/lib/service/stock.service.js +110 -110
- package/esm2015/lib/utils/array-utils.js +202 -202
- package/esm2015/lib/utils/calendar.utils.js +68 -68
- package/esm2015/lib/utils/check-precision-and-scale-result.js +2 -2
- package/esm2015/lib/utils/check-within-stepped-bounds-result.js +2 -2
- package/esm2015/lib/utils/co-document-shared-field-logic.js +50 -50
- package/esm2015/lib/utils/date-utils.js +264 -264
- package/esm2015/lib/utils/enum-utils.js +128 -128
- package/esm2015/lib/utils/function/not-nill.function.js +5 -5
- package/esm2015/lib/utils/is-nill.function.js +5 -5
- package/esm2015/lib/utils/map-utils.js +41 -41
- package/esm2015/lib/utils/number-utils.js +390 -390
- package/esm2015/lib/utils/object-utils.js +278 -278
- package/esm2015/lib/utils/ref-code-utils.js +49 -49
- package/esm2015/lib/utils/string-utils.js +93 -93
- package/esm2015/public-api.js +31 -31
- package/favicon.ico +0 -0
- package/fesm2015/colijnit-sharedcomponents.js +10622 -10408
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/index.html +12 -0
- package/lib/assets/dictionary/text.properties.d.ts +3 -3
- package/lib/businessobject/build-images-and-documentation-result.d.ts +5 -5
- package/lib/businessobject/co-document-right.bo.d.ts +6 -6
- package/lib/businessobject/drag-drop-container-element.d.ts +6 -6
- package/lib/businessobject/drag-drop-container.d.ts +6 -6
- package/lib/components/access/read-write-access.scss +25 -25
- package/lib/components/access/style/_layout.scss +23 -23
- package/lib/components/access/style/_material-definition.scss +12 -12
- package/lib/components/access/style/_theme.scss +4 -4
- package/lib/components/access/style/material.scss +4 -4
- package/lib/components/activity-list/activity-list.component.d.ts +33 -33
- package/lib/components/activity-list/activity-list.module.d.ts +2 -2
- package/lib/components/activity-list/style/_layout.scss +68 -68
- package/lib/components/activity-list/style/_theme.scss +4 -4
- package/lib/components/activity-list/style/material.scss +4 -4
- package/lib/components/app-file-dropzone/app-file-dropzone.component.d.ts +14 -14
- package/lib/components/app-file-dropzone/app-file-dropzone.module.d.ts +2 -2
- package/lib/components/app-file-dropzone/style/_layout.scss +61 -61
- package/lib/components/app-file-dropzone/style/_theme.scss +4 -4
- package/lib/components/app-file-dropzone/style/material.scss +4 -4
- package/lib/components/date-planning/component/agenda/agenda-base-view.component.d.ts +21 -21
- package/lib/components/date-planning/component/agenda/agenda-day-view.component.d.ts +7 -7
- package/lib/components/date-planning/component/agenda/agenda-event.component.d.ts +18 -18
- package/lib/components/date-planning/component/agenda/agenda-events.component.d.ts +13 -13
- package/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.d.ts +18 -18
- package/lib/components/date-planning/component/agenda/agenda-header.component.d.ts +48 -48
- package/lib/components/date-planning/component/agenda/agenda-hour-cell.component.d.ts +9 -9
- package/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.d.ts +8 -8
- package/lib/components/date-planning/component/agenda/agenda-hour-view.component.d.ts +7 -7
- package/lib/components/date-planning/component/agenda/agenda-month-view.component.d.ts +10 -10
- package/lib/components/date-planning/component/agenda/agenda-select-event.component.d.ts +12 -12
- package/lib/components/date-planning/component/agenda/agenda-view.component.d.ts +12 -12
- package/lib/components/date-planning/component/agenda/agenda-week-select-view.component.d.ts +10 -10
- package/lib/components/date-planning/component/agenda/agenda-week-view.component.d.ts +9 -9
- package/lib/components/date-planning/component/agenda/style/_layout.scss +443 -443
- package/lib/components/date-planning/component/agenda/style/_material-definition.scss +12 -12
- package/lib/components/date-planning/component/agenda/style/_theme.scss +7 -7
- package/lib/components/date-planning/component/agenda/style/material.scss +5 -5
- package/lib/components/date-planning/component/agenda/view-select.component.d.ts +11 -11
- package/lib/components/date-planning/component/calendar/calendar-all-months.component.d.ts +9 -9
- package/lib/components/date-planning/component/calendar/calendar-all-years.component.d.ts +9 -9
- package/lib/components/date-planning/component/calendar/calendar-header.component.d.ts +23 -23
- package/lib/components/date-planning/component/calendar/calendar-view.component.d.ts +31 -31
- package/lib/components/date-planning/component/calendar/calendar.component.d.ts +10 -10
- package/lib/components/date-planning/component/calendar/style/_layout.scss +167 -167
- package/lib/components/date-planning/component/calendar/style/_material-definition.scss +7 -7
- package/lib/components/date-planning/component/calendar/style/_theme.scss +7 -7
- package/lib/components/date-planning/component/calendar/style/material.scss +5 -5
- package/lib/components/date-planning/date-planning.component.d.ts +28 -28
- package/lib/components/date-planning/date-planning.module.d.ts +2 -2
- package/lib/components/date-planning/style/_layout.scss +45 -45
- package/lib/components/date-planning/style/_theme.scss +5 -5
- package/lib/components/date-planning/style/material.scss +7 -7
- package/lib/components/docsign/component/signature/signature.component.d.ts +16 -16
- package/lib/components/docsign/component/signature/style/_layout.scss +40 -40
- package/lib/components/docsign/component/signature/style/_material-definition.scss +11 -11
- package/lib/components/docsign/component/signature/style/_theme.scss +13 -13
- package/lib/components/docsign/component/signature/style/material.scss +4 -4
- package/lib/components/docsign/component/signatures/signatures.component.d.ts +12 -12
- package/lib/components/docsign/component/signatures/style/_layout.scss +13 -13
- package/lib/components/docsign/component/signatures/style/_material-definition.scss +1 -1
- package/lib/components/docsign/component/signatures/style/_theme.scss +4 -4
- package/lib/components/docsign/component/signatures/style/material.scss +5 -5
- package/lib/components/docsign/docsign.component.d.ts +94 -94
- package/lib/components/docsign/docsign.module.d.ts +2 -2
- package/lib/components/docsign/style/_layout.scss +40 -40
- package/lib/components/docsign/style/_material-definition.scss +12 -12
- package/lib/components/docsign/style/_theme.scss +12 -12
- package/lib/components/docsign/style/material.scss +15 -15
- package/lib/components/file-upload/file-upload.component.d.ts +42 -42
- package/lib/components/file-upload/file-upload.module.d.ts +2 -2
- package/lib/components/file-upload/style/_layout.scss +59 -59
- package/lib/components/file-upload/style/_material-definition.scss +2 -2
- package/lib/components/file-upload/style/_theme.scss +4 -4
- package/lib/components/file-upload/style/material.scss +4 -4
- package/lib/components/file-upload-popup/file-upload-popup.component.d.ts +75 -75
- package/lib/components/file-upload-popup/file-upload-popup.module.d.ts +2 -2
- package/lib/components/file-upload-popup/style/_layout.scss +48 -48
- package/lib/components/file-upload-popup/style/_material-definition.scss +2 -2
- package/lib/components/file-upload-popup/style/_theme.scss +5 -5
- package/lib/components/file-upload-popup/style/material.scss +4 -4
- package/lib/components/files-upload/components/base-file-upload.component.d.ts +98 -98
- package/lib/components/files-upload/components/drag-drop-container.component.d.ts +34 -34
- package/lib/components/files-upload/files-upload.component.d.ts +32 -32
- package/lib/components/files-upload/files-upload.module.d.ts +2 -2
- package/lib/components/files-upload/style/_layout.scss +49 -49
- package/lib/components/files-upload/style/_theme.scss +5 -5
- package/lib/components/files-upload/style/material.scss +4 -4
- package/lib/components/image-display/image-display.component.d.ts +14 -14
- package/lib/components/image-display/image-display.module.d.ts +2 -2
- package/lib/components/image-display/style/_layout.scss +56 -56
- package/lib/components/image-display/style/_material-definition.scss +4 -4
- package/lib/components/image-display/style/_theme.scss +6 -6
- package/lib/components/image-display/style/material.scss +3 -3
- package/lib/components/key-pad/key-pad.component.d.ts +38 -38
- package/lib/components/key-pad/key-pad.module.d.ts +2 -2
- package/lib/components/key-pad/style/_layout.scss +160 -160
- package/lib/components/key-pad/style/_material-definition.scss +19 -19
- package/lib/components/key-pad/style/_theme.scss +35 -35
- package/lib/components/key-pad/style/material.scss +4 -4
- package/lib/components/layout-switcher/layout-switcher.component.d.ts +16 -16
- package/lib/components/layout-switcher/layout-switcher.module.d.ts +2 -2
- package/lib/components/layout-switcher/style/_layout.scss +94 -94
- package/lib/components/layout-switcher/style/_material-definition.scss +16 -16
- package/lib/components/layout-switcher/style/_theme.scss +4 -4
- package/lib/components/layout-switcher/style/material.scss +6 -6
- package/lib/components/linear-gauge/co-linear-gauge.component.d.ts +11 -11
- package/lib/components/linear-gauge/co-linear-gauge.module.d.ts +2 -2
- package/lib/components/linear-gauge/style/_layout.scss +20 -20
- package/lib/components/linear-gauge/style/_material-definition.scss +8 -8
- package/lib/components/linear-gauge/style/_theme.scss +4 -4
- package/lib/components/linear-gauge/style/material.scss +6 -6
- package/lib/components/login/style/_layout.scss +57 -57
- package/lib/components/login/style/_material-definition.scss +23 -23
- package/lib/components/login/style/_theme.scss +7 -7
- package/lib/components/login/style/material.scss +4 -4
- package/lib/components/multi-property-toggler/multiple-property-toggler.component.d.ts +27 -27
- package/lib/components/multi-property-toggler/multiple-property-toggler.module.d.ts +2 -2
- package/lib/components/multi-property-toggler/style/_layout.scss +24 -24
- package/lib/components/multi-property-toggler/style/_theme.scss +4 -4
- package/lib/components/multi-property-toggler/style/material.scss +4 -4
- package/lib/components/screen-config-generator/style/_layout.scss +95 -95
- package/lib/components/screen-config-generator/style/_theme.scss +4 -4
- package/lib/components/screen-config-generator/style/material.scss +4 -4
- package/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.d.ts +19 -19
- package/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.d.ts +2 -2
- package/lib/components/send-method-dialog/components/layout-selection/style/_layout.scss +44 -44
- package/lib/components/send-method-dialog/components/layout-selection/style/_material-definition.scss +19 -19
- package/lib/components/send-method-dialog/components/layout-selection/style/_theme.scss +17 -17
- package/lib/components/send-method-dialog/components/layout-selection/style/material.scss +4 -4
- package/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.d.ts +19 -19
- package/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.d.ts +2 -2
- package/lib/components/send-method-dialog/components/printer-selection/style/_layout.scss +69 -69
- package/lib/components/send-method-dialog/components/printer-selection/style/_material-definition.scss +37 -37
- package/lib/components/send-method-dialog/components/printer-selection/style/_theme.scss +23 -23
- package/lib/components/send-method-dialog/components/printer-selection/style/material.scss +4 -4
- package/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.d.ts +14 -14
- package/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.d.ts +2 -2
- package/lib/components/send-method-dialog/components/send-method-email/style/_layout.scss +29 -29
- package/lib/components/send-method-dialog/components/send-method-email/style/_material-definition.scss +8 -8
- package/lib/components/send-method-dialog/components/send-method-email/style/_theme.scss +5 -5
- package/lib/components/send-method-dialog/components/send-method-email/style/material.scss +4 -4
- package/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.d.ts +8 -8
- package/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.d.ts +2 -2
- package/lib/components/send-method-dialog/components/send-method-pdf/style/_layout.scss +25 -25
- package/lib/components/send-method-dialog/components/send-method-pdf/style/_material-definition.scss +5 -5
- package/lib/components/send-method-dialog/components/send-method-pdf/style/_theme.scss +5 -5
- package/lib/components/send-method-dialog/components/send-method-pdf/style/material.scss +4 -4
- package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.d.ts +13 -13
- package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.d.ts +2 -2
- package/lib/components/send-method-dialog/components/send-method-printer/style/_layout.scss +30 -30
- package/lib/components/send-method-dialog/components/send-method-printer/style/_material-definition.scss +5 -5
- package/lib/components/send-method-dialog/components/send-method-printer/style/_theme.scss +5 -5
- package/lib/components/send-method-dialog/components/send-method-printer/style/material.scss +4 -4
- package/lib/components/send-method-dialog/components/signature-button/signature-button.component.d.ts +12 -12
- package/lib/components/send-method-dialog/components/signature-button/signature-button.module.d.ts +2 -2
- package/lib/components/send-method-dialog/components/signature-button/style/_layout.scss +28 -28
- package/lib/components/send-method-dialog/components/signature-button/style/_material-definition.scss +8 -8
- package/lib/components/send-method-dialog/components/signature-button/style/_theme.scss +4 -4
- package/lib/components/send-method-dialog/components/signature-button/style/material.scss +4 -4
- package/lib/components/send-method-dialog/model/email-address-viewmodel.d.ts +5 -5
- package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +71 -71
- package/lib/components/send-method-dialog/send-method-dialog.module.d.ts +2 -2
- package/lib/components/send-method-dialog/send-method-params.interface.d.ts +13 -13
- package/lib/components/send-method-dialog/service/send-method.service.d.ts +23 -23
- package/lib/components/send-method-dialog/style/_layout.scss +165 -165
- package/lib/components/send-method-dialog/style/_material-definition.scss +48 -48
- package/lib/components/send-method-dialog/style/_theme.scss +33 -33
- package/lib/components/send-method-dialog/style/material.scss +10 -10
- package/lib/components/simple-tags/simple-tags.component.d.ts +31 -31
- package/lib/components/simple-tags/simple-tags.module.d.ts +2 -2
- package/lib/components/simple-tags/style/_layout.scss +272 -272
- package/lib/components/simple-tags/style/_material-definition.scss +39 -39
- package/lib/components/simple-tags/style/_theme.scss +4 -4
- package/lib/components/simple-tags/style/material.scss +4 -4
- package/lib/components/statusbar/statusbar-popup.component.d.ts +21 -21
- package/lib/components/statusbar/statusbar.component.d.ts +26 -26
- package/lib/components/statusbar/statusbar.module.d.ts +2 -2
- package/lib/components/statusbar/style/_layout.scss +70 -70
- package/lib/components/statusbar/style/_material-definition.scss +23 -23
- package/lib/components/statusbar/style/_theme.scss +13 -13
- package/lib/components/statusbar/style/material.scss +5 -5
- package/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.d.ts +9 -9
- package/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.d.ts +9 -9
- package/lib/components/stock/components/order-stock-history/order-stock-history.component.d.ts +9 -9
- package/lib/components/stock/components/order-stock-tab/order-stock-tab.component.d.ts +11 -11
- package/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.d.ts +9 -9
- package/lib/components/stock/components/order-tab/order-tab.component.d.ts +20 -20
- package/lib/components/stock/components/stock-history/stock-history.component.d.ts +13 -13
- package/lib/components/stock/components/stock-location/components/stock-location-popup/stock-location-popup.component.d.ts +41 -0
- package/lib/components/stock/components/stock-location/stock-location.component.d.ts +54 -52
- package/lib/components/stock/components/stock-prognose/stock-prognose.component.d.ts +11 -11
- package/lib/components/stock/components/stock-tab/stock-tab.component.d.ts +7 -7
- package/lib/components/stock/localization/translation.d.ts +71 -69
- package/lib/components/stock/stock-history-tabs/stock-history-tabs.component.d.ts +7 -7
- package/lib/components/stock/stock-information/stock-information.component.d.ts +9 -9
- package/lib/components/stock/stock-information-grid/stock-information-grid.component.d.ts +75 -75
- package/lib/components/stock/stock-tabs/stock-tabs.component.d.ts +59 -56
- package/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.d.ts +4 -4
- package/lib/components/stock/stock-transfer/stock-change-amount.component.d.ts +18 -18
- package/lib/components/stock/stock-transfer/stock-transfer.component.d.ts +38 -38
- package/lib/components/stock/stock.component.d.ts +64 -64
- package/lib/components/stock/stock.module.d.ts +2 -2
- package/lib/components/stock/style/_layout.scss +519 -473
- package/lib/components/stock/style/_material-definition.scss +28 -28
- package/lib/components/stock/style/_theme.scss +5 -5
- package/lib/components/stock/style/material.scss +4 -4
- package/lib/components/stock-statusbar/stock-statusbar.component.d.ts +4 -4
- package/lib/components/stock-statusbar/stock-statusbar.module.d.ts +2 -2
- package/lib/components/stock-statusbar/style/_layout.scss +24 -24
- package/lib/components/stock-statusbar/style/material.scss +4 -4
- package/lib/components/tab-bar/style/_layout.scss +83 -83
- package/lib/components/tab-bar/style/_material-definition.scss +6 -6
- package/lib/components/tab-bar/style/material.scss +4 -4
- package/lib/components/tab-bar/tab-bar.component.d.ts +21 -21
- package/lib/components/tab-bar/tab-bar.module.d.ts +2 -2
- package/lib/components/tab-bar/tab.interface.d.ts +5 -5
- package/lib/components/tags/component/style/_layout.scss +67 -67
- package/lib/components/tags/component/style/_material-definition.scss +1 -1
- package/lib/components/tags/component/style/_theme.scss +8 -8
- package/lib/components/tags/component/style/material.scss +3 -3
- package/lib/components/tags/component/tag-join-label/style/_layout.scss +97 -97
- package/lib/components/tags/component/tag-join-label/style/_material-definition.scss +4 -4
- package/lib/components/tags/component/tag-join-label/style/_theme.scss +8 -8
- package/lib/components/tags/component/tag-join-label/style/material.scss +3 -3
- package/lib/components/tile-renderer/style/_layout.scss +90 -90
- package/lib/components/tile-renderer/style/_theme.scss +4 -4
- package/lib/components/tile-renderer/style/material.scss +4 -4
- package/lib/components/tile-renderer/tile-render.component.d.ts +31 -31
- package/lib/components/tile-renderer/tile-render.module.d.ts +2 -2
- package/lib/decorator/input-boolean.decorator.d.ts +8 -8
- package/lib/enum/calendar-view.enum.d.ts +7 -7
- package/lib/enum/document-email-report.enum.d.ts +15 -15
- package/lib/enum/domain-multiple-name.enum.d.ts +10 -10
- package/lib/enum/file-type.d.ts +7 -7
- package/lib/enum/files-upload-config-objects.d.ts +22 -22
- package/lib/enum/gauge-color.enum.d.ts +8 -8
- package/lib/enum/icon.enum.d.ts +47 -46
- package/lib/enum/internal-param.enum.d.ts +34 -34
- package/lib/enum/keyboard-code.enum.d.ts +30 -30
- package/lib/enum/language-code.enum.d.ts +6 -6
- package/lib/enum/month.enum.d.ts +14 -14
- package/lib/enum/read-write-access-config-names.enum.d.ts +4 -4
- package/lib/enum/table-name.enum.d.ts +84 -84
- package/lib/enum/tag-category.enum.d.ts +19 -19
- package/lib/enum/tags-component-config-names.d.ts +4 -4
- package/lib/enum/thumb-three-way-state.d.ts +6 -6
- package/lib/enum/tile-size-type.d.ts +4 -4
- package/lib/enum/time-period.enum.d.ts +8 -8
- package/lib/event/co-drag-event.d.ts +5 -5
- package/lib/event/co-drop-event.d.ts +8 -8
- package/lib/interface/key-value-pair.d.ts +4 -4
- package/lib/interface/operation-callback-simple-function.d.ts +4 -4
- package/lib/localization/localization.module.d.ts +2 -2
- package/lib/localization/localize.pipe.d.ts +7 -7
- package/lib/localization/localize.service.d.ts +7 -7
- package/lib/localization/translation.d.ts +2 -2
- package/lib/model/agenda-event-per-day.model.d.ts +5 -5
- package/lib/model/agenda-event.model.d.ts +17 -17
- package/lib/model/agenda-null-objects.d.ts +10 -10
- package/lib/model/constant/all-months.d.ts +2 -2
- package/lib/model/date-range.d.ts +7 -7
- package/lib/model/day.model.d.ts +8 -8
- package/lib/model/icon-svg.d.ts +4 -4
- package/lib/model/month.model.d.ts +5 -5
- package/lib/model/send-method.d.ts +7 -7
- package/lib/model/settings.d.ts +3 -3
- package/lib/model/tag-tree-item.bo.d.ts +18 -18
- package/lib/model/time-window.bo.d.ts +13 -13
- package/lib/model/tree-object.d.ts +8 -8
- package/lib/model/week.model.d.ts +4 -4
- package/lib/model/weekday.model.d.ts +16 -16
- package/lib/pipe/array-number.pipe.d.ts +4 -4
- package/lib/pipe/file-type-image.pipe.d.ts +12 -12
- package/lib/pipe/master-pipes.d.ts +1 -1
- package/lib/pipe/ucfirst.pipe.d.ts +4 -4
- package/lib/service/dictionary.service.d.ts +21 -21
- package/lib/service/drag-drop.service.d.ts +86 -86
- package/lib/service/icon-cache.service.d.ts +18 -18
- package/lib/service/options.service.d.ts +13 -13
- package/lib/service/shared-connector.service.d.ts +55 -55
- package/lib/service/shared.service.d.ts +18 -18
- package/lib/service/stock.service.d.ts +41 -41
- package/lib/style/_mixin.scss +14 -14
- package/lib/style/_variables.scss +21 -21
- package/lib/style/sharedcomponents-globals.scss +10 -10
- package/lib/utils/array-utils.d.ts +63 -63
- package/lib/utils/calendar.utils.d.ts +10 -10
- package/lib/utils/check-precision-and-scale-result.d.ts +4 -4
- package/lib/utils/check-within-stepped-bounds-result.d.ts +8 -8
- package/lib/utils/co-document-shared-field-logic.d.ts +7 -7
- package/lib/utils/date-utils.d.ts +44 -44
- package/lib/utils/enum-utils.d.ts +31 -31
- package/lib/utils/function/not-nill.function.d.ts +1 -1
- package/lib/utils/is-nill.function.d.ts +1 -1
- package/lib/utils/map-utils.d.ts +16 -16
- package/lib/utils/number-utils.d.ts +125 -125
- package/lib/utils/object-utils.d.ts +40 -40
- package/lib/utils/ref-code-utils.d.ts +10 -10
- package/lib/utils/string-utils.d.ts +38 -38
- package/main.1d1ac86d8023edac29b1.js +1 -0
- package/package.json +1 -1
- package/polyfills.907fe9d1887c5de17993.js +1 -0
- package/public-api.d.ts +27 -27
- package/runtime.8aac21847ed3d3829cca.js +1 -0
- package/styles.42e2561063e306e59f45.css +1 -0
package/esm2015/lib/components/date-planning/component/calendar/calendar-all-years.component.js
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output, ViewEncapsulation } from "@angular/core";
|
|
2
|
-
export class CalendarAllYearsComponent {
|
|
3
|
-
constructor() {
|
|
4
|
-
this.yearChange = new EventEmitter();
|
|
5
|
-
this.years = [];
|
|
6
|
-
}
|
|
7
|
-
ngOnInit() {
|
|
8
|
-
this.years.length = 0;
|
|
9
|
-
let start = this._determineStart();
|
|
10
|
-
const end = start + 11;
|
|
11
|
-
while (start < end) {
|
|
12
|
-
this.years.push(start);
|
|
13
|
-
start++;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
_determineStart() {
|
|
17
|
-
if (this.year > 0) {
|
|
18
|
-
let thisYear = this.year;
|
|
19
|
-
let thisYearLastDigit = parseInt(thisYear.toString().split("").pop());
|
|
20
|
-
while (thisYearLastDigit > 0) {
|
|
21
|
-
thisYear--;
|
|
22
|
-
thisYearLastDigit = parseInt(thisYear.toString().split("").pop());
|
|
23
|
-
}
|
|
24
|
-
return thisYear;
|
|
25
|
-
}
|
|
26
|
-
return 0;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
CalendarAllYearsComponent.decorators = [
|
|
30
|
-
{ type: Component, args: [{
|
|
31
|
-
selector: "calendar-all-years",
|
|
32
|
-
template: `
|
|
33
|
-
<div *ngFor="let currentYear of years"
|
|
34
|
-
[textContent]="currentYear"
|
|
35
|
-
[class.selected-year]="currentYear === year"
|
|
36
|
-
class="pointer-hover"
|
|
37
|
-
(click)="year = currentYear; yearChange.emit(year)"
|
|
38
|
-
></div>
|
|
39
|
-
`,
|
|
40
|
-
encapsulation: ViewEncapsulation.None
|
|
41
|
-
},] }
|
|
42
|
-
];
|
|
43
|
-
CalendarAllYearsComponent.ctorParameters = () => [];
|
|
44
|
-
CalendarAllYearsComponent.propDecorators = {
|
|
45
|
-
year: [{ type: Input }],
|
|
46
|
-
yearChange: [{ type: Output }]
|
|
47
|
-
};
|
|
48
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, EventEmitter, Input, Output, ViewEncapsulation } from "@angular/core";
|
|
2
|
+
export class CalendarAllYearsComponent {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.yearChange = new EventEmitter();
|
|
5
|
+
this.years = [];
|
|
6
|
+
}
|
|
7
|
+
ngOnInit() {
|
|
8
|
+
this.years.length = 0;
|
|
9
|
+
let start = this._determineStart();
|
|
10
|
+
const end = start + 11;
|
|
11
|
+
while (start < end) {
|
|
12
|
+
this.years.push(start);
|
|
13
|
+
start++;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
_determineStart() {
|
|
17
|
+
if (this.year > 0) {
|
|
18
|
+
let thisYear = this.year;
|
|
19
|
+
let thisYearLastDigit = parseInt(thisYear.toString().split("").pop());
|
|
20
|
+
while (thisYearLastDigit > 0) {
|
|
21
|
+
thisYear--;
|
|
22
|
+
thisYearLastDigit = parseInt(thisYear.toString().split("").pop());
|
|
23
|
+
}
|
|
24
|
+
return thisYear;
|
|
25
|
+
}
|
|
26
|
+
return 0;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
CalendarAllYearsComponent.decorators = [
|
|
30
|
+
{ type: Component, args: [{
|
|
31
|
+
selector: "calendar-all-years",
|
|
32
|
+
template: `
|
|
33
|
+
<div *ngFor="let currentYear of years"
|
|
34
|
+
[textContent]="currentYear"
|
|
35
|
+
[class.selected-year]="currentYear === year"
|
|
36
|
+
class="pointer-hover"
|
|
37
|
+
(click)="year = currentYear; yearChange.emit(year)"
|
|
38
|
+
></div>
|
|
39
|
+
`,
|
|
40
|
+
encapsulation: ViewEncapsulation.None
|
|
41
|
+
},] }
|
|
42
|
+
];
|
|
43
|
+
CalendarAllYearsComponent.ctorParameters = () => [];
|
|
44
|
+
CalendarAllYearsComponent.propDecorators = {
|
|
45
|
+
year: [{ type: Input }],
|
|
46
|
+
yearChange: [{ type: Output }]
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsZW5kYXItYWxsLXllYXJzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NoYXJlZGNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2RhdGUtcGxhbm5pbmcvY29tcG9uZW50L2NhbGVuZGFyL2NhbGVuZGFyLWFsbC15ZWFycy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFVLE1BQU0sRUFBRSxpQkFBaUIsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQWVoRyxNQUFNLE9BQU8seUJBQXlCO0lBVXBDO1FBSmdCLGVBQVUsR0FBeUIsSUFBSSxZQUFZLEVBQVUsQ0FBQztRQUV2RSxVQUFLLEdBQWEsRUFBRSxDQUFDO0lBRzVCLENBQUM7SUFFRCxRQUFRO1FBQ04sSUFBSSxDQUFDLEtBQUssQ0FBQyxNQUFNLEdBQUcsQ0FBQyxDQUFDO1FBQ3RCLElBQUksS0FBSyxHQUFXLElBQUksQ0FBQyx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IgPSB0aGlzLl9kZXRlcm1pbmVTdGFydCgpO1xyXG4gICAgY29uc3QgZW5kOiBudW1iZXIgPSBzdGFydCArIDExO1xyXG4gICAgd2hpbGUgKHN0YXJ0IDwgZW5kKSB7XHJcbiAgICAgIHRoaXMueWVhcnMucHVzaChzdGFydCk7XHJcbiAgICAgIHN0YXJ0Kys7XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICBwcml2YXRlIF9kZXRlcm1pbmVTdGFydCgpOiBudW1iZXIge1xyXG4gICAgaWYgKHRoaXMueWVhciA+IDApIHtcclxuICAgICAgbGV0IHRoaXNZZWFyOiBudW1iZXIgPSB0aGlzLnllYXI7XHJcbiAgICAgIGxldCB0aGlzWWVhckxhc3REaWdpdDogbnVtYmVyID0gcGFyc2VJbnQodGhpc1llYXIudG9TdHJpbmcoKS5zcGxpdChcIlwiKS5wb3AoKSk7XHJcbiAgICAgIHdoaWxlICh0aGlzWWVhckxhc3REaWdpdCA+IDApIHtcclxuICAgICAgICB0aGlzWWVhci0tO1xyXG4gICAgICAgIHRoaXNZZWFyTGFzdERpZ2l0ID0gcGFyc2VJbnQodGhpc1llYXIudG9TdHJpbmcoKS5zcGxpdChcIlwiKS5wb3AoKSk7XHJcbiAgICAgIH1cclxuICAgICAgcmV0dXJuIHRoaXNZZWFyO1xyXG4gICAgfVxyXG4gICAgcmV0dXJuIDA7XHJcbiAgfVxyXG5cclxufVxyXG4iXX0=
|
package/esm2015/lib/components/date-planning/component/calendar/calendar-header.component.js
CHANGED
|
@@ -1,107 +1,107 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output, ViewEncapsulation } from "@angular/core";
|
|
2
|
-
import { animate, state, style, transition, trigger } from "@angular/animations";
|
|
3
|
-
import { ALL_MONTHS } from "../../../../model/constant/all-months";
|
|
4
|
-
import { Icon } from "../../../../enum/icon.enum";
|
|
5
|
-
import { IconCacheService } from "../../../../service/icon-cache.service";
|
|
6
|
-
export class CalendarHeaderComponent {
|
|
7
|
-
constructor(iconCacheService) {
|
|
8
|
-
this.iconCacheService = iconCacheService;
|
|
9
|
-
this.selectedDate = new Date();
|
|
10
|
-
this.selectedDateChange = new EventEmitter();
|
|
11
|
-
this.icons = Icon;
|
|
12
|
-
this.showMonthYearSelect = false;
|
|
13
|
-
this.expanded = false;
|
|
14
|
-
}
|
|
15
|
-
ngDoCheck() {
|
|
16
|
-
if (this.selectedDate) {
|
|
17
|
-
this.currentMonth = ALL_MONTHS[this.selectedDate.getMonth()];
|
|
18
|
-
this.currentYear = this.selectedDate.getFullYear();
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
subMonth() {
|
|
22
|
-
const newDate = new Date(this.selectedDate);
|
|
23
|
-
newDate.setMonth(newDate.getMonth() - 1);
|
|
24
|
-
this.selectedDate = newDate;
|
|
25
|
-
this.selectedDateChange.emit(this.selectedDate);
|
|
26
|
-
}
|
|
27
|
-
addMonth() {
|
|
28
|
-
const newDate = new Date(this.selectedDate);
|
|
29
|
-
newDate.setMonth(newDate.getMonth() + 1);
|
|
30
|
-
this.selectedDate = newDate;
|
|
31
|
-
this.selectedDateChange.emit(this.selectedDate);
|
|
32
|
-
}
|
|
33
|
-
hideMonthYearSelection() {
|
|
34
|
-
this.expanded = false;
|
|
35
|
-
this.showMonthYearSelect = false;
|
|
36
|
-
}
|
|
37
|
-
setNewMonth(month) {
|
|
38
|
-
this.selectedMonth = month;
|
|
39
|
-
}
|
|
40
|
-
setNewYear(year) {
|
|
41
|
-
this.selectedYear = year;
|
|
42
|
-
}
|
|
43
|
-
changeMonthYear() {
|
|
44
|
-
this.hideMonthYearSelection();
|
|
45
|
-
const newDate = new Date(this.selectedDate);
|
|
46
|
-
newDate.setMonth(this.selectedMonth);
|
|
47
|
-
newDate.setFullYear(this.selectedYear);
|
|
48
|
-
this.selectedDate = newDate;
|
|
49
|
-
this.selectedDateChange.emit(this.selectedDate);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
CalendarHeaderComponent.decorators = [
|
|
53
|
-
{ type: Component, args: [{
|
|
54
|
-
selector: "calendar-header",
|
|
55
|
-
template: `
|
|
56
|
-
<div #monthYearSelect class="calendar-header-row">
|
|
57
|
-
<co-icon class="pointer-hover" [iconData]="iconCacheService.getIcon(icons.ArrowPointLeft)" (click)="subMonth()"></co-icon>
|
|
58
|
-
<div (click)="showMonthYearSelect = true">
|
|
59
|
-
<div class="month" [textContent]="currentMonth"></div>
|
|
60
|
-
<div class="year" [textContent]="currentYear"></div>
|
|
61
|
-
</div>
|
|
62
|
-
<co-icon class="pointer-hover" [iconData]="iconCacheService.getIcon(icons.ArrowPointRight)" (click)="addMonth()"></co-icon>
|
|
63
|
-
</div>
|
|
64
|
-
<ng-template #template>
|
|
65
|
-
<div *ngIf="showMonthYearSelect"
|
|
66
|
-
(clickOutside)="hideMonthYearSelection()"
|
|
67
|
-
class="select-month-year-window" [class.expanded]="expanded" @showMonthYearSelect
|
|
68
|
-
>
|
|
69
|
-
<div>
|
|
70
|
-
<calendar-all-months [month]="currentMonth" (monthChange)="setNewMonth($event)" shortDescriptions></calendar-all-months>
|
|
71
|
-
<div class="vertical-divider"></div>
|
|
72
|
-
<calendar-all-years [year]="currentYear" (yearChange)="setNewYear($event)"></calendar-all-years>
|
|
73
|
-
</div>
|
|
74
|
-
<!-- <default-ok-cancel-buttons-->
|
|
75
|
-
<!-- (okClick)="changeMonthYear()"-->
|
|
76
|
-
<!-- (cancelClick)="showMonthYearSelect = false"-->
|
|
77
|
-
<!-- >-->
|
|
78
|
-
<!-- </default-ok-cancel-buttons>-->
|
|
79
|
-
</div>
|
|
80
|
-
</ng-template>
|
|
81
|
-
`,
|
|
82
|
-
encapsulation: ViewEncapsulation.None,
|
|
83
|
-
animations: [
|
|
84
|
-
trigger("showMonthYearSelect", [
|
|
85
|
-
state("void", style({
|
|
86
|
-
"transform-origin": "top center",
|
|
87
|
-
transform: "scaleY(0)"
|
|
88
|
-
})),
|
|
89
|
-
state("*", style({
|
|
90
|
-
"transform-origin": "top center",
|
|
91
|
-
transform: "scaleY(1)"
|
|
92
|
-
})),
|
|
93
|
-
transition(":enter, :leave", [
|
|
94
|
-
animate("200ms ease-in-out")
|
|
95
|
-
])
|
|
96
|
-
])
|
|
97
|
-
]
|
|
98
|
-
},] }
|
|
99
|
-
];
|
|
100
|
-
CalendarHeaderComponent.ctorParameters = () => [
|
|
101
|
-
{ type: IconCacheService }
|
|
102
|
-
];
|
|
103
|
-
CalendarHeaderComponent.propDecorators = {
|
|
104
|
-
selectedDate: [{ type: Input }],
|
|
105
|
-
selectedDateChange: [{ type: Output }]
|
|
106
|
-
};
|
|
107
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, EventEmitter, Input, Output, ViewEncapsulation } from "@angular/core";
|
|
2
|
+
import { animate, state, style, transition, trigger } from "@angular/animations";
|
|
3
|
+
import { ALL_MONTHS } from "../../../../model/constant/all-months";
|
|
4
|
+
import { Icon } from "../../../../enum/icon.enum";
|
|
5
|
+
import { IconCacheService } from "../../../../service/icon-cache.service";
|
|
6
|
+
export class CalendarHeaderComponent {
|
|
7
|
+
constructor(iconCacheService) {
|
|
8
|
+
this.iconCacheService = iconCacheService;
|
|
9
|
+
this.selectedDate = new Date();
|
|
10
|
+
this.selectedDateChange = new EventEmitter();
|
|
11
|
+
this.icons = Icon;
|
|
12
|
+
this.showMonthYearSelect = false;
|
|
13
|
+
this.expanded = false;
|
|
14
|
+
}
|
|
15
|
+
ngDoCheck() {
|
|
16
|
+
if (this.selectedDate) {
|
|
17
|
+
this.currentMonth = ALL_MONTHS[this.selectedDate.getMonth()];
|
|
18
|
+
this.currentYear = this.selectedDate.getFullYear();
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
subMonth() {
|
|
22
|
+
const newDate = new Date(this.selectedDate);
|
|
23
|
+
newDate.setMonth(newDate.getMonth() - 1);
|
|
24
|
+
this.selectedDate = newDate;
|
|
25
|
+
this.selectedDateChange.emit(this.selectedDate);
|
|
26
|
+
}
|
|
27
|
+
addMonth() {
|
|
28
|
+
const newDate = new Date(this.selectedDate);
|
|
29
|
+
newDate.setMonth(newDate.getMonth() + 1);
|
|
30
|
+
this.selectedDate = newDate;
|
|
31
|
+
this.selectedDateChange.emit(this.selectedDate);
|
|
32
|
+
}
|
|
33
|
+
hideMonthYearSelection() {
|
|
34
|
+
this.expanded = false;
|
|
35
|
+
this.showMonthYearSelect = false;
|
|
36
|
+
}
|
|
37
|
+
setNewMonth(month) {
|
|
38
|
+
this.selectedMonth = month;
|
|
39
|
+
}
|
|
40
|
+
setNewYear(year) {
|
|
41
|
+
this.selectedYear = year;
|
|
42
|
+
}
|
|
43
|
+
changeMonthYear() {
|
|
44
|
+
this.hideMonthYearSelection();
|
|
45
|
+
const newDate = new Date(this.selectedDate);
|
|
46
|
+
newDate.setMonth(this.selectedMonth);
|
|
47
|
+
newDate.setFullYear(this.selectedYear);
|
|
48
|
+
this.selectedDate = newDate;
|
|
49
|
+
this.selectedDateChange.emit(this.selectedDate);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
CalendarHeaderComponent.decorators = [
|
|
53
|
+
{ type: Component, args: [{
|
|
54
|
+
selector: "calendar-header",
|
|
55
|
+
template: `
|
|
56
|
+
<div #monthYearSelect class="calendar-header-row">
|
|
57
|
+
<co-icon class="pointer-hover" [iconData]="iconCacheService.getIcon(icons.ArrowPointLeft)" (click)="subMonth()"></co-icon>
|
|
58
|
+
<div (click)="showMonthYearSelect = true">
|
|
59
|
+
<div class="month" [textContent]="currentMonth"></div>
|
|
60
|
+
<div class="year" [textContent]="currentYear"></div>
|
|
61
|
+
</div>
|
|
62
|
+
<co-icon class="pointer-hover" [iconData]="iconCacheService.getIcon(icons.ArrowPointRight)" (click)="addMonth()"></co-icon>
|
|
63
|
+
</div>
|
|
64
|
+
<ng-template #template>
|
|
65
|
+
<div *ngIf="showMonthYearSelect"
|
|
66
|
+
(clickOutside)="hideMonthYearSelection()"
|
|
67
|
+
class="select-month-year-window" [class.expanded]="expanded" @showMonthYearSelect
|
|
68
|
+
>
|
|
69
|
+
<div>
|
|
70
|
+
<calendar-all-months [month]="currentMonth" (monthChange)="setNewMonth($event)" shortDescriptions></calendar-all-months>
|
|
71
|
+
<div class="vertical-divider"></div>
|
|
72
|
+
<calendar-all-years [year]="currentYear" (yearChange)="setNewYear($event)"></calendar-all-years>
|
|
73
|
+
</div>
|
|
74
|
+
<!-- <default-ok-cancel-buttons-->
|
|
75
|
+
<!-- (okClick)="changeMonthYear()"-->
|
|
76
|
+
<!-- (cancelClick)="showMonthYearSelect = false"-->
|
|
77
|
+
<!-- >-->
|
|
78
|
+
<!-- </default-ok-cancel-buttons>-->
|
|
79
|
+
</div>
|
|
80
|
+
</ng-template>
|
|
81
|
+
`,
|
|
82
|
+
encapsulation: ViewEncapsulation.None,
|
|
83
|
+
animations: [
|
|
84
|
+
trigger("showMonthYearSelect", [
|
|
85
|
+
state("void", style({
|
|
86
|
+
"transform-origin": "top center",
|
|
87
|
+
transform: "scaleY(0)"
|
|
88
|
+
})),
|
|
89
|
+
state("*", style({
|
|
90
|
+
"transform-origin": "top center",
|
|
91
|
+
transform: "scaleY(1)"
|
|
92
|
+
})),
|
|
93
|
+
transition(":enter, :leave", [
|
|
94
|
+
animate("200ms ease-in-out")
|
|
95
|
+
])
|
|
96
|
+
])
|
|
97
|
+
]
|
|
98
|
+
},] }
|
|
99
|
+
];
|
|
100
|
+
CalendarHeaderComponent.ctorParameters = () => [
|
|
101
|
+
{ type: IconCacheService }
|
|
102
|
+
];
|
|
103
|
+
CalendarHeaderComponent.propDecorators = {
|
|
104
|
+
selectedDate: [{ type: Input }],
|
|
105
|
+
selectedDateChange: [{ type: Output }]
|
|
106
|
+
};
|
|
107
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsZW5kYXItaGVhZGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4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PSB0cnVlXCI+XHJcbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwibW9udGhcIiBbdGV4dENvbnRlbnRdPVwiY3VycmVudE1vbnRoXCI+PC9kaXY+XHJcbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwieWVhclwiIFt0ZXh0Q29udGVudF09XCJjdXJyZW50WWVhclwiPjwvZGl2PlxyXG4gICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgPGNvLWljb24gY2xhc3M9XCJwb2ludGVyLWhvdmVyXCIgW2ljb25EYXRhXT1cImljb25DYWNoZVNlcnZpY2UuZ2V0SWNvbihpY29ucy5BcnJvd1BvaW50UmlnaHQpXCIgKGNsaWNrKT1cImFkZE1vbnRoKClcIj48L2NvLWljb24+XHJcbiAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgPG5nLXRlbXBsYXRlICN0ZW1wbGF0ZT5cclxuICAgICAgICAgICAgPGRpdiAqbmdJZj1cInNob3dNb250aFllYXJTZWxlY3RcIlxyXG4gICAgICAgICAgICAgICAgIChjbGlja091dHNpZGUpPVwiaGlkZU1vbnRoWWVhclNlbGVjdGlvbigpXCJcclxuICAgICAgICAgICAgICAgICBjbGFzcz1cInNlbGVjdC1tb250aC15ZWFyLXdpbmRvd1wiIFtjbGFzcy5leHBhbmRlZF09XCJleHBhbmRlZFwiIEBzaG93TW9udGhZZWFyU2VsZWN0XHJcbiAgICAgICAgICAgID5cclxuICAgICAgICAgICAgICAgIDxkaXY+XHJcbiAgICAgICAgICAgICAgICAgICAgPGNhbGVuZGFyLWFsbC1tb250aHMgW21vbnRoXT1cImN1cnJlbnRNb250aFwiIChtb250aENoYW5nZSk9XCJzZXROZXdNb250aCgkZXZlbnQpXCIgc2hvcnREZXNjcmlwdGlvbnM+PC9jYWxlbmRhci1hbGwtbW9udGhzPlxyXG4gICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJ2ZXJ0aWNhbC1kaXZpZGVyXCI+PC9kaXY+XHJcbiAgICAgICAgICAgICAgICAgICAgPGNhbGVuZGFyLWFsbC15ZWFycyBbeWVhcl09XCJjdXJyZW50WWVhclwiICh5ZWFyQ2hhbmdlKT1cInNldE5ld1llYXIoJGV2ZW50KVwiPjwvY2FsZW5kYXItYWxsLXllYXJzPlxyXG4gICAgICAgICAgICAgICAgPC9kaXY+XHJcbjwhLS0gICAgICAgICAgICAgICAgPGRlZmF1bHQtb2stY2FuY2VsLWJ1dHRvbnMtLT5cclxuPCEtLSAgICAgICAgICAgICAgICAgICAgICAgIChva0NsaWNrKT1cImNoYW5nZU1vbnRoWWVhcigpXCItLT5cclxuPCEtLSAgICAgICAgICAgICAgICAgICAgICAgIChjYW5jZWxDbGljayk9XCJzaG93TW9udGhZZWFyU2VsZWN0ID0gZmFsc2VcIi0tPlxyXG48IS0tICAgICAgICAgICAgICAgID4tLT5cclxuPCEtLSAgICAgICAgICAgICAgICA8L2RlZmF1bHQtb2stY2FuY2VsLWJ1dHRvbnM+LS0+XHJcbiAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgIDwvbmctdGVtcGxhdGU+XHJcbiAgICBgLFxyXG4gIGVuY2Fwc3VsYXRpb246IFZpZXdFbmNhcHN1bGF0aW9uLk5vbmUsXHJcbiAgYW5pbWF0aW9uczogW1xyXG4gICAgdHJpZ2dlcihcInNob3dNb250aFllYXJTZWxlY3RcIiwgW1xyXG4gICAgICBzdGF0ZShcInZvaWRcIiwgc3R5bGUoe1xyXG4gICAgICAgIFwidHJhbnNmb3JtLW9yaWdpblwiOiBcInRvcCBjZW50ZXJcIixcclxuICAgICAgICB0cmFuc2Zvcm06IFwic2NhbGVZKDApXCJcclxuICAgICAgfSkpLFxyXG4gICAgICBzdGF0ZShcIipcIiwgc3R5bGUoe1xyXG4gICAgICAgIFwidHJhbnNmb3JtLW9yaWdpblwiOiBcInRvcCBjZW50ZXJcIixcclxuICAgICAgICB0cmFuc2Zvcm06IFwic2NhbGVZKDEpXCJcclxuICAgICAgf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