@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
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWdlbmRhLXZpZXcuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2hhcmVkY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvZGF0ZS1wbGFubmluZy9jb21wb25lbnQvYWdlbmRhL2FnZW5kYS12aWV3LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLGlCQUFpQixFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3hGLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSxxQ0FBcUMsQ0FBQztBQW9CakUsTUFBTSxPQUFPLG1CQUFtQjtJQWhCaEM7UUE0QlcsaU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W3NlbGVjdGVkRGF0ZV09XCJzZWxlY3RlZERhdGVcIiBbZXZlbnRzUGVyRGF5XT1cImV2ZW50c1BlckRheVwiIChldmVudENoZWNrZWQpPVwiZXZlbnRDaGVja2VkLmVtaXQoJGV2ZW50KVwiPjwvYWdlbmRhLW1vbnRoLXZpZXc+XHJcbiAgICAgICAgPC9kaXY+XHJcbiAgICBgLFxyXG4gIGVuY2Fwc3VsYXRpb246IFZpZXdFbmNhcHN1bGF0aW9uLk5vbmVcclxufSlcclxuZXhwb3J0IGNsYXNzIEFnZW5kYVZpZXdDb21wb25lbnQge1xyXG5cclxuICAgIEBJbnB1dCgpXHJcbiAgICBwdWJsaWMgdmlldzogQ2FsZW5kYXJWaWV3O1xyXG5cclxuICAgIEBJbnB1dCgpXHJcbiAgICBwdWJsaWMgY3VzdG9tRXZlbnRPYmplY3Q6IGJvb2xlYW47XHJcblxyXG4gICAgQElucHV0KClcclxuICAgIHB1YmxpYyBzZWxlY3RlZERhdGU6IERhdGU7XHJcblxyXG4gICAgQElucHV0KClcclxuICAgIHB1YmxpYyBldmVudHNQZXJEYXk6IEFnZW5kYUV2ZW50UGVyRGF5W10gPSBbXTtcclxuXHJcbiAgICBAT3V0cHV0KClcclxuICAgIHB1YmxpYyByZWFkb25seSBldmVudENoZWNrZWQ6IEV2ZW50RW1pdHRlcjxBZ2VuZGFFdmVudD4gPSBuZXcgRXZlbnRFbWl0dGVyPEFnZW5kYUV2ZW50PigpO1xyXG5cclxuICAgIHB1YmxpYyByZWFkb25seSB2aWV3VHlwZXM6IHR5cGVvZiBDYWxlbmRhclZpZXcgPSBDYWxlbmRhclZpZXc7XHJcblxyXG59XHJcbiJdfQ==
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWdlbmRhLXdlZWstc2VsZWN0LXZpZXcuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2hhcmVkY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvZGF0ZS1wbGFubmluZy9jb21wb25lbnQvYWdlbmRhL2FnZW5kYS13ZWVrLXNlbGVjdC12aWV3LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLEtBQUssRUFBRSxpQkFBaUIsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUNsRSxPQUFPLEVBQUMsdUJBQXVCLEVBQUMsTUFBTSw4QkFBOEIsQ0FBQztBQUNyRSxPQUFPLEVBQUMsU0FBUyxFQUFDLE1BQU0sdUNBQXVDLENBQUM7QUFDaEUsT0FBTyxFQUFDLGFBQWEsRUFBQyxNQUFNLGtDQUFrQyxDQUFDO0FBQy9ELE9BQU8sRUFBQyxJQUFJLEVBQUMsTUFBTSw0QkFBNEIsQ0FBQztBQUNoRCxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0scUNBQXFDLENBQUM7QUFvQ2pFLE1BQU0sT0FBTyw2QkFBOEIsU0FBUSx1QkFBdUI7SUFqQz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cclxuICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cIndlZWstc2VsZWN0LWxpc3QgbWluaS1zY3JvbGxiYXJcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxhZ2VuZGEtZXZlbnRzXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtoYWxmSG91ckhlaWdodF09XCI0MFwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtldmVudHNdPVwid2Vla0RheS5ldmVudHNcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoZXZlbnRDaGVja2VkKT1cImV2ZW50Q2hlY2tlZC5lbWl0KCRldmVudClcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbdmlld109XCJ2aWV3XCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgID48L2FnZW5kYS1ldmVudHM+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwibm8tZXZlbnRzLWJhbm5lclwiICpuZ0lmPVwid2Vla0RheS5ldmVudHMubGVuZ3RoID09PSAwXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHAgW3RleHRDb250ZW50XT1cIidBR0VOREFfTk9fUEVSSU9EU19BVkFJTEFCTEUnXCI+PC9wPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJ3ZWVrLXNlbGVjdC1yaWdodFwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8aDMgW3RleHRDb250ZW50XT1cIidBR0VOREFfRk9SX0VWRVJZX1BFUklPRCdcIj48L2gzPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8dWw+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bGk+PGNvLWljb24gW2ljb25EYXRhXT1cImljb25DYWNoZVNlcnZpY2UuZ2V0SWNvbihpY29ucy5DaGVja1JvdW5kKVwiIGNsYXNzPVwic21hbGwgYWN0aW9uLWNvbG9yIG1vbWVudC1pY29uXCI+PC9jby1pY29uPjxzcGFuIFt0ZXh0Q29udGVudF09XCInQUdFTkRBX0ZPUl9FVkVSWV9QRVJJT0RfUkVBU09OMSdcIj48L3NwYW4+PC9saT5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxsaT48Y28taWNvbiBbaWNvbkRhdGFdPVwiaWNvbkNhY2hlU2VydmljZS5nZXRJY29uKGljb25zLkNoZWNrUm91bmQpXCIgY2xhc3M9XCJzbWFsbCBhY3Rpb24tY29sb3IgbW9tZW50LWljb25cIj48L2NvLWljb24+PHNwYW4gW3RleHRDb250ZW50XT1cIidBR0VOREFfRk9SX0VWRVJZX1BFUklPRF9SRUFTT04yJ1wiPjwvc3Bhbj48L2xpPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8L3VsPlxyXG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgYCxcclxuICBlbmNhcHN1bGF0aW9uOiBWaWV3RW5jYXBzdWxhdGlvbi5Ob25lXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBBZ2VuZGFXZWVrU2VsZWN0Vmlld0NvbXBvbmVudCBleHRlbmRzIEFnZW5kYUJhc2VWaWV3Q29tcG9uZW50IHtcclxuXHJcbiAgICBASW5wdXQoKVxyXG4gICAgcHVibGljIHZpZXc6IENhbGVuZGFyVmlldyA9IENhbGVuZGFyVmlldy5XZWVrU2VsZWN0VmlldztcclxuXHJcbiAgICBwdWJsaWMgd2VlazogV2VlayA9IE5VTExfV0VFSztcclxuXHJcbiAgICBwdWJsaWMgcmVhZG9ubHkgaWNvbnM6IHR5cGVvZiBJY29uID0gSWNvbjtcclxuXHJcbiAgICBwcm90ZWN0ZWQgcHJlcGFyZVZpZXdEYXRhKCk6IHZvaWQge1xyXG4gICAgICAgIGlmICh0aGlzLnNlbGVjdGVkRGF0ZSkge1xyXG4gICAgICAgICAgICAvLyBnZXQgdGhlIGV2ZW50c1xyXG4gICAgICAgICAgICBjb25zdCB3ZWVrOiBXZWVrID0gQ2FsZW5kYXJVdGlscy5HZXREYXlzT2ZXZWVrKHRoaXMuc2VsZWN0ZWREYXRlKTtcclxuICAgICAgICAgICAgY29uc3QgbGVuOiBudW1iZXIgPSB3ZWVrLndlZWtEYXlzLmxlbmd0aDtcclxuICAgICAgICAgICAgZm9yIChsZXQgaTogbnVtYmVyID0gMDsgaSA8IGxlbjsgaSsrKSB7XHJcbiAgICAgICAgICAgICAgICB3ZWVrLndlZWtEYXlzW2ldLmV2ZW50cyA9IHRoaXMuZ2V0RXZlbnRzRnJvbURhdGUod2Vlay53ZWVrRGF5c1tpXS5kYXRlKTtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB0aGlzLndlZWsgPSB3ZWVrO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbn1cclxuIl19
|
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWdlbmRhLXdlZWstdmlldy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290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ZWVrLXZpZXdcIixcclxuICAgIHRlbXBsYXRlOiBgXHJcbiAgICAgICAgPGRpdiBjbGFzcz1cInZpZXctd3JhcHBlclwiPlxyXG4gICAgICAgICAgICA8YWdlbmRhLWhvdXItdmlldy1sYWJlbHMgW2RhdGVdPVwic2VsZWN0ZWREYXRlXCI+PC9hZ2VuZGEtaG91ci12aWV3LWxhYmVscz5cclxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cIndlZWstZGF5XCIgKm5nRm9yPVwibGV0IHdlZWtEYXkgb2Ygd2Vlay53ZWVrRGF5c1wiPlxyXG4gICAgICAgICAgICAgICAgPGFnZW5kYS1ob3VyLXZpZXcgIFtkYXRlXT1cIndlZWtEYXkuZGF0ZVwiPlxyXG4gICAgICAgICAgICAgICAgICAgIDxhZ2VuZGEtZXZlbnRzXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIFtoYWxmSG91ckhlaWdodF09XCI0MFwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIFtldmVudHNdPVwid2Vla0RheS5ldmVudHNcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAoZXZlbnRDaGVja2VkKT1cImV2ZW50Q2hlY2tlZC5lbWl0KCRldmVudClcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICBbdmlld109XCJ2aWV3XCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgW2N1c3RvbUV2ZW50T2JqZWN0XT1cImN1c3RvbUV2ZW50T2JqZWN0XCJcclxuICAgICAgICAgICAgICAgID48L2FnZW5kYS1ldmVudHM+XHJcbiAgICAgICAgICAgICAgICA8L2FnZW5kYS1ob3VyLXZpZXc+XHJcbiAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgYCxcclxuICBlbmNhcHN1bGF0aW9uOiBWaWV3RW5jYXBzdWxhdGlvbi5Ob25lXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBBZ2VuZGFXZWVrVmlld0NvbXBvbmVudCBleHRlbmRzIEFnZW5kYUJhc2VWaWV3Q29tcG9uZW50IC8qaW1wbGVtZW50cyBPbkluaXQsIE9uRGVzdHJveSovIHtcclxuXHJcbiAgICBASW5wdXQoKVxyXG4gICAgcHVibGljIHZpZXc6IENhbGVuZGFyVmlldztcclxuXHJcbiAgICBASW5wdXQoKVxyXG4gICAgcHVibGljIGN1c3RvbUV2ZW50T2JqZWN0OiBib29sZWFuO1xyXG4gICAgcHVibGljIHdlZWs6IFdlZWsgPSBOVUxMX1dFRUs7XHJcblxyXG4gICAgcHJvdGVjdGVkIHByZXBhcmVWaWV3RGF0YSgpOiB2b2lkIHtcclxuICAgICAgICBpZiAodGhpcy5zZWxlY3RlZERhdGUpIHtcclxuICAgICAgICAgICAgLy8gZ2V0IHRoZSBldmVudHNcclxuICAgICAgICAgICAgY29uc3Qgd2VlazogV2VlayA9IENhbGVuZGFyVXRpbHMuR2V0RGF5c09mV2Vlayh0aGlzLnNlbGVjdGVkRGF0ZSk7XHJcbiAgICAgICAgICAgIGNvbnN0IGxlbjogbnVtYmVyID0gd2Vlay53ZWVrRGF5cy5sZW5ndGg7XHJcbiAgICAgICAgICAgIGZvciAobGV0IGk6IG51bWJlciA9IDA7IGkgPCBsZW47IGkrKykge1xyXG4gICAgICAgICAgICAgICAgd2Vlay53ZWVrRGF5c1tpXS5ldmVudHMgPSB0aGlzLmdldEV2ZW50c0Zyb21EYXRlKHdlZWsud2Vla0RheXNbaV0uZGF0ZSk7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgdGhpcy53ZWVrID0gd2VlaztcclxuICAgICAgICB9XHJcbiAgICB9XHJcbn1cclxuIl19
|
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlldy1zZWxlY3QuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4v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Ck6IFRodW1iVGhyZWVXYXlTdGF0ZSB7XHJcbiAgICAgICAgcmV0dXJuIHRoaXMuX3ZpZXdzVG9UaHVtYi5nZXQodGhpcy5zZWxlY3RlZFZpZXcpO1xyXG4gICAgfVxyXG5cclxuICAgIGNvbnN0cnVjdG9yKCkge1xyXG4gICAgfVxyXG5cclxuICAgIHB1YmxpYyBvblRodW1iU3RhdGVDaGFuZ2UodGh1bWJTdGF0ZTogVGh1bWJUaHJlZVdheVN0YXRlKTogdm9pZCB7XHJcbiAgICAgICAgdGhpcy5zZWxlY3RlZFZpZXcgPSBNYXBVdGlscy5GaW5kS2V5QnlWYWx1ZTxDYWxlbmRhclZpZXcsIFRodW1iVGhyZWVXYXlTdGF0ZT4odGhpcy5fdmlld3NUb1RodW1iLCAodmFsdWU6IFRodW1iVGhyZWVXYXlTdGF0ZSkgPT4ge1xyXG4gICAgICAgICAgICByZXR1cm4gKHZhbHVlID09PSB0aHVtYlN0YXRlKTtcclxuICAgICAgICB9KTtcclxuICAgICAgICB0aGlzLnNlbGVjdGVkVmlld0NoYW5nZS5lbWl0KHRoaXMuc2VsZWN0ZWRWaWV3KTtcclxuICAgIH1cclxufVxyXG4iXX0=
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsZW5kYXItYWxsLW1vbnRocy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaGFyZWRjb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9kYXRlLXBsYW5uaW5nL2NvbXBvbmVudC9jYWxlbmRhci9jYWxlbmRhci1hbGwtbW9udGhzLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQVUsTUFBTSxFQUFFLGlCQUFpQixFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ2hHLE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSx1Q0FBdUMsQ0FBQztBQWVqRSxNQUFNLE9BQU8sMEJBQTBCO0lBYXJDO1FBUE8sc0JBQWlCLEdBQVksS0FBSyxDQUFDO1FBR25DLGdCQUFXLEdBQXlCLElBQUksWUFBWSxFQUFVLENBQUM7UUFFL0QsV0FBTSxHQUFhLEVBQUUsQ0FBQztJQUc3QixDQUFDO0lBRUQsUUFBUTtRQUNOLElBQUksQ0FBQyxNQUFNLENBQUMsTUFBTSxHQUFHLENBQUMsQ0FBQztRQUN2QixJQUFJLENBQUMsTUFBTSxHQUFHLFVBQVUsQ0FBQztJQUMzQixDQUFDOzs7WUFoQ0YsU0FBUyxTQUFDO2dCQUNULFFBQVEsRUFBRSxxQkFBcUI7Z0JBQy9CL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