@colijnit/sharedcomponents 1.0.62 → 1.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -24
- package/bundles/colijnit-sharedcomponents.umd.js +9888 -9855
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.d.ts +91 -91
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/colijnit-sharedcomponents.js +91 -91
- 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/stock-location.component.js +251 -240
- 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 +72 -63
- 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 -49
- 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 +243 -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 -149
- package/esm2015/lib/components/stock/stock.component.js +237 -197
- package/esm2015/lib/components/stock/stock.module.js +80 -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 +48 -44
- 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 +47 -43
- 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/fesm2015/colijnit-sharedcomponents.js +10411 -10335
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- 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/stock-location.component.d.ts +52 -50
- 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 +69 -60
- 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 +56 -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 -42
- package/lib/components/stock/stock.component.d.ts +64 -58
- package/lib/components/stock/stock.module.d.ts +2 -2
- package/lib/components/stock/style/_layout.scss +473 -286
- package/lib/components/stock/style/_material-definition.scss +28 -25
- 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 -78
- 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 +46 -42
- 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/package.json +6 -6
- package/public-api.d.ts +27 -27
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output, ViewEncapsulation } from "@angular/core";
|
|
2
|
-
import { CalendarView } from "../../../../enum/calendar-view.enum";
|
|
3
|
-
export class AgendaViewComponent {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.eventsPerDay = [];
|
|
6
|
-
this.eventChecked = new EventEmitter();
|
|
7
|
-
this.viewTypes = CalendarView;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
AgendaViewComponent.decorators = [
|
|
11
|
-
{ type: Component, args: [{
|
|
12
|
-
selector: "agenda-view",
|
|
13
|
-
template: `
|
|
14
|
-
<div class="view-wrapper mini-scrollbar" [ngSwitch]="view">
|
|
15
|
-
<agenda-day-view *ngSwitchCase="viewTypes.DayView"
|
|
16
|
-
[selectedDate]="selectedDate" [customEventObject]="customEventObject" [eventsPerDay]="eventsPerDay" (eventChecked)="eventChecked.emit($event)"></agenda-day-view>
|
|
17
|
-
<agenda-week-view *ngSwitchCase="viewTypes.WeekView"
|
|
18
|
-
[view]="view" [selectedDate]="selectedDate" [customEventObject]="customEventObject" [eventsPerDay]="eventsPerDay" (eventChecked)="eventChecked.emit($event)"></agenda-week-view>
|
|
19
|
-
<agenda-week-select-view *ngSwitchCase="viewTypes.WeekSelectView"
|
|
20
|
-
[view]="view" [selectedDate]="selectedDate" [eventsPerDay]="eventsPerDay" (eventChecked)="eventChecked.emit($event)"></agenda-week-select-view>
|
|
21
|
-
<agenda-month-view *ngSwitchCase="viewTypes.MonthView"
|
|
22
|
-
[selectedDate]="selectedDate" [eventsPerDay]="eventsPerDay" (eventChecked)="eventChecked.emit($event)"></agenda-month-view>
|
|
23
|
-
</div>
|
|
24
|
-
`,
|
|
25
|
-
encapsulation: ViewEncapsulation.None
|
|
26
|
-
},] }
|
|
27
|
-
];
|
|
28
|
-
AgendaViewComponent.propDecorators = {
|
|
29
|
-
view: [{ type: Input }],
|
|
30
|
-
customEventObject: [{ type: Input }],
|
|
31
|
-
selectedDate: [{ type: Input }],
|
|
32
|
-
eventsPerDay: [{ type: Input }],
|
|
33
|
-
eventChecked: [{ type: Output }]
|
|
34
|
-
};
|
|
35
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, EventEmitter, Input, Output, ViewEncapsulation } from "@angular/core";
|
|
2
|
+
import { CalendarView } from "../../../../enum/calendar-view.enum";
|
|
3
|
+
export class AgendaViewComponent {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.eventsPerDay = [];
|
|
6
|
+
this.eventChecked = new EventEmitter();
|
|
7
|
+
this.viewTypes = CalendarView;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
AgendaViewComponent.decorators = [
|
|
11
|
+
{ type: Component, args: [{
|
|
12
|
+
selector: "agenda-view",
|
|
13
|
+
template: `
|
|
14
|
+
<div class="view-wrapper mini-scrollbar" [ngSwitch]="view">
|
|
15
|
+
<agenda-day-view *ngSwitchCase="viewTypes.DayView"
|
|
16
|
+
[selectedDate]="selectedDate" [customEventObject]="customEventObject" [eventsPerDay]="eventsPerDay" (eventChecked)="eventChecked.emit($event)"></agenda-day-view>
|
|
17
|
+
<agenda-week-view *ngSwitchCase="viewTypes.WeekView"
|
|
18
|
+
[view]="view" [selectedDate]="selectedDate" [customEventObject]="customEventObject" [eventsPerDay]="eventsPerDay" (eventChecked)="eventChecked.emit($event)"></agenda-week-view>
|
|
19
|
+
<agenda-week-select-view *ngSwitchCase="viewTypes.WeekSelectView"
|
|
20
|
+
[view]="view" [selectedDate]="selectedDate" [eventsPerDay]="eventsPerDay" (eventChecked)="eventChecked.emit($event)"></agenda-week-select-view>
|
|
21
|
+
<agenda-month-view *ngSwitchCase="viewTypes.MonthView"
|
|
22
|
+
[selectedDate]="selectedDate" [eventsPerDay]="eventsPerDay" (eventChecked)="eventChecked.emit($event)"></agenda-month-view>
|
|
23
|
+
</div>
|
|
24
|
+
`,
|
|
25
|
+
encapsulation: ViewEncapsulation.None
|
|
26
|
+
},] }
|
|
27
|
+
];
|
|
28
|
+
AgendaViewComponent.propDecorators = {
|
|
29
|
+
view: [{ type: Input }],
|
|
30
|
+
customEventObject: [{ type: Input }],
|
|
31
|
+
selectedDate: [{ type: Input }],
|
|
32
|
+
eventsPerDay: [{ type: Input }],
|
|
33
|
+
eventChecked: [{ type: Output }]
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWdlbmRhLXZpZXcuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2hhcmVkY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvZGF0ZS1wbGFubmluZy9jb21wb25lbnQvYWdlbmRhL2FnZW5kYS12aWV3LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLGlCQUFpQixFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3hGLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSxxQ0FBcUMsQ0FBQztBQW9CakUsTUFBTSxPQUFPLG1CQUFtQjtJQWhCaEM7UUE0QlcsaUJBQVksR0FBd0IsRUFBRSxDQUFDO1FBRzlCLGlCQUFZLEdBQThCLElBQUksWUFBWSxFQUFlLENBQUM7UUFFMUUsY0FBUyxHQUF3QixZQUFZLENBQUM7SUFFbEUsQ0FBQzs7O1lBbkNBLFNBQVMsU0FBQztnQkFDUCxRQUFRLEVBQUUsYUFBYTtnQkFDdkIsUUFBUSxFQUFFOzs7Ozs7Ozs7OztLQVdUO2dCQUNILGFBQWEsRUFBRSxpQkFBaUIsQ0FBQyx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uXG4gICAgQElucHV0KClcbiAgICBwdWJsaWMgdmlldzogQ2FsZW5kYXJWaWV3O1xuXG4gICAgQElucHV0KClcbiAgICBwdWJsaWMgY3VzdG9tRXZlbnRPYmplY3Q6IGJvb2xlYW47XG5cbiAgICBASW5wdXQoKVxuICAgIHB1YmxpYyBzZWxlY3RlZERhdGU6IERhdGU7XG5cbiAgICBASW5wdXQoKVxuICAgIHB1YmxpYyBldmVudHNQZXJEYXk6IEFnZW5kYUV2ZW50UGVyRGF5W10gPSBbXTtcblxuICAgIEBPdXRwdXQoKVxuICAgIHB1YmxpYyByZWFkb25seSBldmVudENoZWNrZWQ6IEV2ZW50RW1pdHRlcjxBZ2VuZGFFdmVudD4gPSBuZXcgRXZlbnRFbWl0dGVyPEFnZW5kYUV2ZW50PigpO1xuXG4gICAgcHVibGljIHJlYWRvbmx5IHZpZXdUeXBlczogdHlwZW9mIENhbGVuZGFyVmlldyA9IENhbGVuZGFyVmlldztcblxufVxuIl19
|
package/esm2015/lib/components/date-planning/component/agenda/agenda-week-select-view.component.js
CHANGED
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
import { Component, Input, ViewEncapsulation } from "@angular/core";
|
|
2
|
-
import { AgendaBaseViewComponent } from "./agenda-base-view.component";
|
|
3
|
-
import { NULL_WEEK } from "../../../../model/agenda-null-objects";
|
|
4
|
-
import { CalendarUtils } from "../../../../utils/calendar.utils";
|
|
5
|
-
import { Icon } from "../../../../enum/icon.enum";
|
|
6
|
-
import { CalendarView } from "../../../../enum/calendar-view.enum";
|
|
7
|
-
export class AgendaWeekSelectViewComponent extends AgendaBaseViewComponent {
|
|
8
|
-
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.view = CalendarView.WeekSelectView;
|
|
11
|
-
this.week = NULL_WEEK;
|
|
12
|
-
this.icons = Icon;
|
|
13
|
-
}
|
|
14
|
-
prepareViewData() {
|
|
15
|
-
if (this.selectedDate) {
|
|
16
|
-
// get the events
|
|
17
|
-
const week = CalendarUtils.GetDaysOfWeek(this.selectedDate);
|
|
18
|
-
const len = week.weekDays.length;
|
|
19
|
-
for (let i = 0; i < len; i++) {
|
|
20
|
-
week.weekDays[i].events = this.getEventsFromDate(week.weekDays[i].date);
|
|
21
|
-
}
|
|
22
|
-
this.week = week;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
AgendaWeekSelectViewComponent.decorators = [
|
|
27
|
-
{ type: Component, args: [{
|
|
28
|
-
selector: "agenda-week-select-view",
|
|
29
|
-
template: `
|
|
30
|
-
<div class="view-wrapper week-select-view">
|
|
31
|
-
<div class="week-day" *ngFor="let weekDay of week.weekDays">
|
|
32
|
-
<div class="week-select-container" *ngIf="weekDay.weekdaySelected">
|
|
33
|
-
<div class="week-select-left">
|
|
34
|
-
<h3 [textContent]="'AGENDA_CHOOSE_DELIVERY_PERIOD'"></h3>
|
|
35
|
-
<div class="week-select-list mini-scrollbar">
|
|
36
|
-
<agenda-events
|
|
37
|
-
[halfHourHeight]="40"
|
|
38
|
-
[events]="weekDay.events"
|
|
39
|
-
(eventChecked)="eventChecked.emit($event)"
|
|
40
|
-
[view]="view"
|
|
41
|
-
></agenda-events>
|
|
42
|
-
<div class="no-events-banner" *ngIf="weekDay.events.length === 0">
|
|
43
|
-
<p [textContent]="'AGENDA_NO_PERIODS_AVAILABLE'"></p>
|
|
44
|
-
</div>
|
|
45
|
-
</div>
|
|
46
|
-
</div>
|
|
47
|
-
<div class="week-select-right">
|
|
48
|
-
<h3 [textContent]="'AGENDA_FOR_EVERY_PERIOD'"></h3>
|
|
49
|
-
<ul>
|
|
50
|
-
<li><co-icon [iconData]="iconCacheService.getIcon(icons.CheckRound)" class="small action-color moment-icon"></co-icon><span [textContent]="'AGENDA_FOR_EVERY_PERIOD_REASON1'"></span></li>
|
|
51
|
-
<li><co-icon [iconData]="iconCacheService.getIcon(icons.CheckRound)" class="small action-color moment-icon"></co-icon><span [textContent]="'AGENDA_FOR_EVERY_PERIOD_REASON2'"></span></li>
|
|
52
|
-
</ul>
|
|
53
|
-
</div>
|
|
54
|
-
</div>
|
|
55
|
-
</div>
|
|
56
|
-
</div>
|
|
57
|
-
`,
|
|
58
|
-
encapsulation: ViewEncapsulation.None
|
|
59
|
-
},] }
|
|
60
|
-
];
|
|
61
|
-
AgendaWeekSelectViewComponent.propDecorators = {
|
|
62
|
-
view: [{ type: Input }]
|
|
63
|
-
};
|
|
64
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, Input, ViewEncapsulation } from "@angular/core";
|
|
2
|
+
import { AgendaBaseViewComponent } from "./agenda-base-view.component";
|
|
3
|
+
import { NULL_WEEK } from "../../../../model/agenda-null-objects";
|
|
4
|
+
import { CalendarUtils } from "../../../../utils/calendar.utils";
|
|
5
|
+
import { Icon } from "../../../../enum/icon.enum";
|
|
6
|
+
import { CalendarView } from "../../../../enum/calendar-view.enum";
|
|
7
|
+
export class AgendaWeekSelectViewComponent extends AgendaBaseViewComponent {
|
|
8
|
+
constructor() {
|
|
9
|
+
super(...arguments);
|
|
10
|
+
this.view = CalendarView.WeekSelectView;
|
|
11
|
+
this.week = NULL_WEEK;
|
|
12
|
+
this.icons = Icon;
|
|
13
|
+
}
|
|
14
|
+
prepareViewData() {
|
|
15
|
+
if (this.selectedDate) {
|
|
16
|
+
// get the events
|
|
17
|
+
const week = CalendarUtils.GetDaysOfWeek(this.selectedDate);
|
|
18
|
+
const len = week.weekDays.length;
|
|
19
|
+
for (let i = 0; i < len; i++) {
|
|
20
|
+
week.weekDays[i].events = this.getEventsFromDate(week.weekDays[i].date);
|
|
21
|
+
}
|
|
22
|
+
this.week = week;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
AgendaWeekSelectViewComponent.decorators = [
|
|
27
|
+
{ type: Component, args: [{
|
|
28
|
+
selector: "agenda-week-select-view",
|
|
29
|
+
template: `
|
|
30
|
+
<div class="view-wrapper week-select-view">
|
|
31
|
+
<div class="week-day" *ngFor="let weekDay of week.weekDays">
|
|
32
|
+
<div class="week-select-container" *ngIf="weekDay.weekdaySelected">
|
|
33
|
+
<div class="week-select-left">
|
|
34
|
+
<h3 [textContent]="'AGENDA_CHOOSE_DELIVERY_PERIOD'"></h3>
|
|
35
|
+
<div class="week-select-list mini-scrollbar">
|
|
36
|
+
<agenda-events
|
|
37
|
+
[halfHourHeight]="40"
|
|
38
|
+
[events]="weekDay.events"
|
|
39
|
+
(eventChecked)="eventChecked.emit($event)"
|
|
40
|
+
[view]="view"
|
|
41
|
+
></agenda-events>
|
|
42
|
+
<div class="no-events-banner" *ngIf="weekDay.events.length === 0">
|
|
43
|
+
<p [textContent]="'AGENDA_NO_PERIODS_AVAILABLE'"></p>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
<div class="week-select-right">
|
|
48
|
+
<h3 [textContent]="'AGENDA_FOR_EVERY_PERIOD'"></h3>
|
|
49
|
+
<ul>
|
|
50
|
+
<li><co-icon [iconData]="iconCacheService.getIcon(icons.CheckRound)" class="small action-color moment-icon"></co-icon><span [textContent]="'AGENDA_FOR_EVERY_PERIOD_REASON1'"></span></li>
|
|
51
|
+
<li><co-icon [iconData]="iconCacheService.getIcon(icons.CheckRound)" class="small action-color moment-icon"></co-icon><span [textContent]="'AGENDA_FOR_EVERY_PERIOD_REASON2'"></span></li>
|
|
52
|
+
</ul>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
57
|
+
`,
|
|
58
|
+
encapsulation: ViewEncapsulation.None
|
|
59
|
+
},] }
|
|
60
|
+
];
|
|
61
|
+
AgendaWeekSelectViewComponent.propDecorators = {
|
|
62
|
+
view: [{ type: Input }]
|
|
63
|
+
};
|
|
64
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWdlbmRhLXdlZWstc2VsZWN0LXZpZXcuY29tcG9uZW50LmpzI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9jYWxlbmRhci12aWV3LmVudW1cIjtcbmltcG9ydCB7V2Vla30gZnJvbSBcIi4uLy4uLy4uLy4uL21vZGVsL3dlZWsubW9kZWxcIjtcblxuQENvbXBvbmVudCh7XG4gICAgc2VsZWN0b3I6IFwiYWdlbmRhLXdlZWstc2VsZWN0LXZpZXdcIixcbiAgICB0ZW1wbGF0ZTogYFxuICAgICAgICA8ZGl2IGNsYXNzPVwidmlldy13cmFwcGVyIHdlZWstc2VsZWN0LXZpZXdcIj5cbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJ3ZWVrLWRheVwiICpuZ0Zvcj1cImxldCB3ZWVrRGF5IG9mIHdlZWsud2Vla0RheXNcIj5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwid2Vlay1zZWxlY3QtY29udGFpbmVyXCIgKm5nSWY9XCJ3ZWVrRGF5LndlZWtkYXlTZWxlY3RlZFwiPlxuICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwid2Vlay1zZWxlY3QtbGVmdFwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgPGgzIFt0ZXh0Q29udGVudF09XCInQUdFTkRBX0NIT09TRV9ERUxJVkVSWV9QRVJJT0QnXCI+PC9oMz5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJ3ZWVrLXNlbGVjdC1saXN0IG1pbmktc2Nyb2xsYmFyXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPGFnZW5kYS1ldmVudHNcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtoYWxmSG91ckhlaWdodF09XCI0MFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbZXZlbnRzXT1cIndlZWtEYXkuZXZlbnRzXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChldmVudENoZWNrZWQpPVwiZXZlbnRDaGVja2VkLmVtaXQoJGV2ZW50KVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbdmlld109XCJ2aWV3XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA+PC9hZ2VuZGEtZXZlbnRzPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJuby1ldmVudHMtYmFubmVyXCIgKm5nSWY9XCJ3ZWVrRGF5LmV2ZW50cy5sZW5ndGggPT09IDBcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHAgW3RleHRDb250ZW50XT1cIidBR0VOREFfTk9fUEVSSU9EU19BVkFJTEFCTEUnXCI+PC9wPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwid2Vlay1zZWxlY3QtcmlnaHRcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxoMyBbdGV4dENvbnRlbnRdPVwiJ0FHRU5EQV9GT1JfRVZFUllfUEVSSU9EJ1wiPjwvaDM+XG4gICAgICAgICAgICAgICAgICAgICAgICA8dWw+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPGxpPjxjby1pY29uIFtpY29uRGF0YV09XCJpY29uQ2FjaGVTZXJ2aWNlLmdldEljb24oaWNvbnMuQ2hlY2tSb3VuZClcIiBjbGFzcz1cInNtYWxsIGFjdGlvbi1jb2xvciBtb21lbnQtaWNvblwiPjwvY28taWNvbj48c3BhbiBbdGV4dENvbnRlbnRdPVwiJ0FHRU5EQV9GT1JfRVZFUllfUEVSSU9EX1JFQVNPTjEnXCI+PC9zcGFuPjwvbGk+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPGxpPjxjby1pY29uIFtpY29uRGF0YV09XCJpY29uQ2FjaGVTZXJ2aWNlLmdldEljb24oaWNvbnMuQ2hlY2tSb3VuZClcIiBjbGFzcz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gICAgICAgIHdlZWsud2Vla0RheXNbaV0uZXZlbnRzID0gdGhpcy5nZXRFdmVudHNGcm9tRGF0ZSh3ZWVrLndlZWtEYXlzW2ldLmRhdGUpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgdGhpcy53ZWVrID0gd2VlaztcbiAgICAgICAgfVxuICAgIH1cblxufVxuIl19
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { Component, Input, ViewEncapsulation } from "@angular/core";
|
|
2
|
-
import { NULL_WEEK } from "../../../../model/agenda-null-objects";
|
|
3
|
-
import { CalendarUtils } from "../../../../utils/calendar.utils";
|
|
4
|
-
import { AgendaBaseViewComponent } from "./agenda-base-view.component";
|
|
5
|
-
export class AgendaWeekViewComponent extends AgendaBaseViewComponent /*implements OnInit, OnDestroy*/ {
|
|
6
|
-
constructor() {
|
|
7
|
-
super(...arguments);
|
|
8
|
-
this.week = NULL_WEEK;
|
|
9
|
-
}
|
|
10
|
-
prepareViewData() {
|
|
11
|
-
if (this.selectedDate) {
|
|
12
|
-
// get the events
|
|
13
|
-
const week = CalendarUtils.GetDaysOfWeek(this.selectedDate);
|
|
14
|
-
const len = week.weekDays.length;
|
|
15
|
-
for (let i = 0; i < len; i++) {
|
|
16
|
-
week.weekDays[i].events = this.getEventsFromDate(week.weekDays[i].date);
|
|
17
|
-
}
|
|
18
|
-
this.week = week;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
AgendaWeekViewComponent.decorators = [
|
|
23
|
-
{ type: Component, args: [{
|
|
24
|
-
selector: "agenda-week-view",
|
|
25
|
-
template: `
|
|
26
|
-
<div class="view-wrapper">
|
|
27
|
-
<agenda-hour-view-labels [date]="selectedDate"></agenda-hour-view-labels>
|
|
28
|
-
<div class="week-day" *ngFor="let weekDay of week.weekDays">
|
|
29
|
-
<agenda-hour-view [date]="weekDay.date">
|
|
30
|
-
<agenda-events
|
|
31
|
-
[halfHourHeight]="40"
|
|
32
|
-
[events]="weekDay.events"
|
|
33
|
-
(eventChecked)="eventChecked.emit($event)"
|
|
34
|
-
[view]="view"
|
|
35
|
-
[customEventObject]="customEventObject"
|
|
36
|
-
></agenda-events>
|
|
37
|
-
</agenda-hour-view>
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
40
|
-
`,
|
|
41
|
-
encapsulation: ViewEncapsulation.None
|
|
42
|
-
},] }
|
|
43
|
-
];
|
|
44
|
-
AgendaWeekViewComponent.propDecorators = {
|
|
45
|
-
view: [{ type: Input }],
|
|
46
|
-
customEventObject: [{ type: Input }]
|
|
47
|
-
};
|
|
48
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, Input, ViewEncapsulation } from "@angular/core";
|
|
2
|
+
import { NULL_WEEK } from "../../../../model/agenda-null-objects";
|
|
3
|
+
import { CalendarUtils } from "../../../../utils/calendar.utils";
|
|
4
|
+
import { AgendaBaseViewComponent } from "./agenda-base-view.component";
|
|
5
|
+
export class AgendaWeekViewComponent extends AgendaBaseViewComponent /*implements OnInit, OnDestroy*/ {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
this.week = NULL_WEEK;
|
|
9
|
+
}
|
|
10
|
+
prepareViewData() {
|
|
11
|
+
if (this.selectedDate) {
|
|
12
|
+
// get the events
|
|
13
|
+
const week = CalendarUtils.GetDaysOfWeek(this.selectedDate);
|
|
14
|
+
const len = week.weekDays.length;
|
|
15
|
+
for (let i = 0; i < len; i++) {
|
|
16
|
+
week.weekDays[i].events = this.getEventsFromDate(week.weekDays[i].date);
|
|
17
|
+
}
|
|
18
|
+
this.week = week;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
AgendaWeekViewComponent.decorators = [
|
|
23
|
+
{ type: Component, args: [{
|
|
24
|
+
selector: "agenda-week-view",
|
|
25
|
+
template: `
|
|
26
|
+
<div class="view-wrapper">
|
|
27
|
+
<agenda-hour-view-labels [date]="selectedDate"></agenda-hour-view-labels>
|
|
28
|
+
<div class="week-day" *ngFor="let weekDay of week.weekDays">
|
|
29
|
+
<agenda-hour-view [date]="weekDay.date">
|
|
30
|
+
<agenda-events
|
|
31
|
+
[halfHourHeight]="40"
|
|
32
|
+
[events]="weekDay.events"
|
|
33
|
+
(eventChecked)="eventChecked.emit($event)"
|
|
34
|
+
[view]="view"
|
|
35
|
+
[customEventObject]="customEventObject"
|
|
36
|
+
></agenda-events>
|
|
37
|
+
</agenda-hour-view>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
`,
|
|
41
|
+
encapsulation: ViewEncapsulation.None
|
|
42
|
+
},] }
|
|
43
|
+
];
|
|
44
|
+
AgendaWeekViewComponent.propDecorators = {
|
|
45
|
+
view: [{ type: Input }],
|
|
46
|
+
customEventObject: [{ type: Input }]
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWdlbmRhLXdlZWstdmlldy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaGFyZWRjb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9kYXRlLXBsYW5uaW5nL2NvbXBvbmVudC9hZ2VuZGEvYWdlbmRhLXdlZWstdmlldy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxLQUFLLEVBQUUsaUJBQWlCLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDbEUsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLHVDQUF1QyxDQUFDO0FBQ2hFLE9BQU8sRUFBQyxhQUFhLEVBQUMsTUFBTSxrQ0FBa0MsQ0FBQztBQUcvRCxPQUFPLEVBQUMsdUJBQXVCLEVBQUMsTUFBTSw4QkFBOEIsQ0FBQztBQXdCckUsTUF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Gg7XG4gICAgICAgICAgICBmb3IgKGxldCBpOiBudW1iZXIgPSAwOyBpIDwgbGVuOyBpKyspIHtcbiAgICAgICAgICAgICAgICB3ZWVrLndlZWtEYXlzW2ldLmV2ZW50cyA9IHRoaXMuZ2V0RXZlbnRzRnJvbURhdGUod2Vlay53ZWVrRGF5c1tpXS5kYXRlKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHRoaXMud2VlayA9IHdlZWs7XG4gICAgICAgIH1cbiAgICB9XG59XG4iXX0=
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output, ViewEncapsulation } from "@angular/core";
|
|
2
|
-
import { CalendarView } from "../../../../enum/calendar-view.enum";
|
|
3
|
-
import { ThumbThreeWayState } from "../../../../enum/thumb-three-way-state";
|
|
4
|
-
import { MapUtils } from "../../../../utils/map-utils";
|
|
5
|
-
export class ViewSelectComponent {
|
|
6
|
-
constructor() {
|
|
7
|
-
this._viewsToThumb = new Map([
|
|
8
|
-
[CalendarView.DayView, ThumbThreeWayState.Left],
|
|
9
|
-
[CalendarView.WeekView, ThumbThreeWayState.Middle],
|
|
10
|
-
[CalendarView.MonthView, ThumbThreeWayState.Right]
|
|
11
|
-
]);
|
|
12
|
-
this.selectedView = CalendarView.WeekView;
|
|
13
|
-
this.selectedViewChange = new EventEmitter();
|
|
14
|
-
}
|
|
15
|
-
get modelAsThumbState() {
|
|
16
|
-
return this._viewsToThumb.get(this.selectedView);
|
|
17
|
-
}
|
|
18
|
-
onThumbStateChange(thumbState) {
|
|
19
|
-
this.selectedView = MapUtils.FindKeyByValue(this._viewsToThumb, (value) => {
|
|
20
|
-
return (value === thumbState);
|
|
21
|
-
});
|
|
22
|
-
this.selectedViewChange.emit(this.selectedView);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
ViewSelectComponent.decorators = [
|
|
26
|
-
{ type: Component, args: [{
|
|
27
|
-
selector: "view-select",
|
|
28
|
-
template: `
|
|
29
|
-
<div class="select-wrapper">
|
|
30
|
-
<div [textContent]="'DAY'" class="label"></div>
|
|
31
|
-
<div [textContent]="'MONTH'" class="label"></div>
|
|
32
|
-
</div>
|
|
33
|
-
`,
|
|
34
|
-
encapsulation: ViewEncapsulation.None
|
|
35
|
-
},] }
|
|
36
|
-
];
|
|
37
|
-
ViewSelectComponent.ctorParameters = () => [];
|
|
38
|
-
ViewSelectComponent.propDecorators = {
|
|
39
|
-
selectedView: [{ type: Input }],
|
|
40
|
-
selectedViewChange: [{ type: Output }]
|
|
41
|
-
};
|
|
42
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, EventEmitter, Input, Output, ViewEncapsulation } from "@angular/core";
|
|
2
|
+
import { CalendarView } from "../../../../enum/calendar-view.enum";
|
|
3
|
+
import { ThumbThreeWayState } from "../../../../enum/thumb-three-way-state";
|
|
4
|
+
import { MapUtils } from "../../../../utils/map-utils";
|
|
5
|
+
export class ViewSelectComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this._viewsToThumb = new Map([
|
|
8
|
+
[CalendarView.DayView, ThumbThreeWayState.Left],
|
|
9
|
+
[CalendarView.WeekView, ThumbThreeWayState.Middle],
|
|
10
|
+
[CalendarView.MonthView, ThumbThreeWayState.Right]
|
|
11
|
+
]);
|
|
12
|
+
this.selectedView = CalendarView.WeekView;
|
|
13
|
+
this.selectedViewChange = new EventEmitter();
|
|
14
|
+
}
|
|
15
|
+
get modelAsThumbState() {
|
|
16
|
+
return this._viewsToThumb.get(this.selectedView);
|
|
17
|
+
}
|
|
18
|
+
onThumbStateChange(thumbState) {
|
|
19
|
+
this.selectedView = MapUtils.FindKeyByValue(this._viewsToThumb, (value) => {
|
|
20
|
+
return (value === thumbState);
|
|
21
|
+
});
|
|
22
|
+
this.selectedViewChange.emit(this.selectedView);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
ViewSelectComponent.decorators = [
|
|
26
|
+
{ type: Component, args: [{
|
|
27
|
+
selector: "view-select",
|
|
28
|
+
template: `
|
|
29
|
+
<div class="select-wrapper">
|
|
30
|
+
<div [textContent]="'DAY'" class="label"></div>
|
|
31
|
+
<div [textContent]="'MONTH'" class="label"></div>
|
|
32
|
+
</div>
|
|
33
|
+
`,
|
|
34
|
+
encapsulation: ViewEncapsulation.None
|
|
35
|
+
},] }
|
|
36
|
+
];
|
|
37
|
+
ViewSelectComponent.ctorParameters = () => [];
|
|
38
|
+
ViewSelectComponent.propDecorators = {
|
|
39
|
+
selectedView: [{ type: Input }],
|
|
40
|
+
selectedViewChange: [{ type: Output }]
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlldy1zZWxlY3QuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2hhcmVkY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvZGF0ZS1wbGFubmluZy9jb21wb25lbnQvYWdlbmRhL3ZpZXctc2VsZWN0LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLGlCQUFpQixFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3hGLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSxxQ0FBcUMsQ0FBQztBQUNqRSxPQUFPLEVBQUMsa0JBQWtCLEVBQUMsTUFBTSx3Q0FBd0MsQ0FBQztBQUMxRSxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sNkJBQTZCLENBQUM7QUFZckQsTUFBTSxPQUFPLG1CQUFtQjtJQWtCNUI7UUFoQmlCLGtCQUFhLEdBQTBDLElBQUksR0FBRyxDQUFtQztZQUM5RyxDQUFDLFlBQVksQ0FBQyxPQUFPLEVB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kZGxlXSxcbiAgICAgICAgW0NhbGVuZGFyVmlldy5Nb250aFZpZXcsIFRodW1iVGhyZWVXYXlTdGF0ZS5SaWdodF1cbiAgICBdKTtcblxuICAgIEBJbnB1dCgpXG4gICAgcHVibGljIHNlbGVjdGVkVmlldzogQ2FsZW5kYXJWaWV3ID0gQ2FsZW5kYXJWaWV3LldlZWtWaWV3O1xuXG4gICAgQE91dHB1dCgpXG4gICAgcHVibGljIHNlbGVjdGVkVmlld0NoYW5nZTogRXZlbnRFbWl0dGVyPENhbGVuZGFyVmlldz4gPSBuZXcgRXZlbnRFbWl0dGVyPENhbGVuZGFyVmlldz4oKTtcblxuICAgIHB1YmxpYyBnZXQgbW9kZWxBc1RodW1iU3RhdGUoKTogVGh1bWJUaHJlZVdheVN0YXRlIHtcbiAgICAgICAgcmV0dXJuIHRoaXMuX3ZpZXdzVG9UaHVtYi5nZXQodGhpcy5zZWxlY3RlZFZpZXcpO1xuICAgIH1cblxuICAgIGNvbnN0cnVjdG9yKCkge1xuICAgIH1cblxuICAgIHB1YmxpYyBvblRodW1iU3RhdGVDaGFuZ2UodGh1bWJTdGF0ZTogVGh1bWJUaHJlZVdheVN0YXRlKTogdm9pZCB7XG4gICAgICAgIHRoaXMuc2VsZWN0ZWRWaWV3ID0gTWFwVXRpbHMuRmluZEtleUJ5VmFsdWU8Q2FsZW5kYXJWaWV3LCBUaHVtYlRocmVlV2F5U3RhdGU+KHRoaXMuX3ZpZXdzVG9UaHVtYiwgKHZhbHVlOiBUaHVtYlRocmVlV2F5U3RhdGUpID0+IHtcbiAgICAgICAgICAgIHJldHVybiAodmFsdWUgPT09IHRodW1iU3RhdGUpO1xuICAgICAgICB9KTtcbiAgICAgICAgdGhpcy5zZWxlY3RlZFZpZXdDaGFuZ2UuZW1pdCh0aGlzLnNlbGVjdGVkVmlldyk7XG4gICAgfVxufVxuIl19
|
package/esm2015/lib/components/date-planning/component/calendar/calendar-all-months.component.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output, ViewEncapsulation } from "@angular/core";
|
|
2
|
-
import { ALL_MONTHS } from "../../../../model/constant/all-months";
|
|
3
|
-
export class CalendarAllMonthsComponent {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.shortDescriptions = false;
|
|
6
|
-
this.monthChange = new EventEmitter();
|
|
7
|
-
this.months = [];
|
|
8
|
-
}
|
|
9
|
-
ngOnInit() {
|
|
10
|
-
this.months.length = 0;
|
|
11
|
-
this.months = ALL_MONTHS;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
CalendarAllMonthsComponent.decorators = [
|
|
15
|
-
{ type: Component, args: [{
|
|
16
|
-
selector: "calendar-all-months",
|
|
17
|
-
template: `
|
|
18
|
-
<div *ngFor="let currentMonth of months; let index = index"
|
|
19
|
-
[class.selected-month]="month === index"
|
|
20
|
-
[textContent]="currentMonth"
|
|
21
|
-
class="pointer-hover"
|
|
22
|
-
(click)="month = index; monthChange.emit(month)"
|
|
23
|
-
></div>
|
|
24
|
-
`,
|
|
25
|
-
encapsulation: ViewEncapsulation.None
|
|
26
|
-
},] }
|
|
27
|
-
];
|
|
28
|
-
CalendarAllMonthsComponent.ctorParameters = () => [];
|
|
29
|
-
CalendarAllMonthsComponent.propDecorators = {
|
|
30
|
-
month: [{ type: Input }],
|
|
31
|
-
shortDescriptions: [{ type: Input }],
|
|
32
|
-
monthChange: [{ type: Output }]
|
|
33
|
-
};
|
|
34
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, EventEmitter, Input, Output, ViewEncapsulation } from "@angular/core";
|
|
2
|
+
import { ALL_MONTHS } from "../../../../model/constant/all-months";
|
|
3
|
+
export class CalendarAllMonthsComponent {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.shortDescriptions = false;
|
|
6
|
+
this.monthChange = new EventEmitter();
|
|
7
|
+
this.months = [];
|
|
8
|
+
}
|
|
9
|
+
ngOnInit() {
|
|
10
|
+
this.months.length = 0;
|
|
11
|
+
this.months = ALL_MONTHS;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
CalendarAllMonthsComponent.decorators = [
|
|
15
|
+
{ type: Component, args: [{
|
|
16
|
+
selector: "calendar-all-months",
|
|
17
|
+
template: `
|
|
18
|
+
<div *ngFor="let currentMonth of months; let index = index"
|
|
19
|
+
[class.selected-month]="month === index"
|
|
20
|
+
[textContent]="currentMonth"
|
|
21
|
+
class="pointer-hover"
|
|
22
|
+
(click)="month = index; monthChange.emit(month)"
|
|
23
|
+
></div>
|
|
24
|
+
`,
|
|
25
|
+
encapsulation: ViewEncapsulation.None
|
|
26
|
+
},] }
|
|
27
|
+
];
|
|
28
|
+
CalendarAllMonthsComponent.ctorParameters = () => [];
|
|
29
|
+
CalendarAllMonthsComponent.propDecorators = {
|
|
30
|
+
month: [{ type: Input }],
|
|
31
|
+
shortDescriptions: [{ type: Input }],
|
|
32
|
+
monthChange: [{ type: Output }]
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsZW5kYXItYWxsLW1vbnRocy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaGFyZWRjb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9kYXRlLXBsYW5uaW5nL2NvbXBvbmVudC9jYWxlbmRhci9jYWxlbmRhci1hbGwtbW9udGhzLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQVUsTUFBTSxFQUFFLGlCQUFpQixFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ2hHLE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSx1Q0FBdUMsQ0FBQztBQWVqRSxNQUFNLE9BQ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