@mintplayer/ng-bootstrap 15.17.0 → 15.18.0
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/_bootstrap.scss +2 -2
- package/esm2020/accordion/src/accordion/accordion.component.mjs +3 -3
- package/esm2020/accordion/src/accordion-tab/accordion-tab.component.mjs +3 -3
- package/esm2020/accordion/src/accordion-tab-header/accordion-tab-header.component.mjs +3 -3
- package/esm2020/accordion/src/accordion.module.mjs +4 -4
- package/esm2020/alert/src/alert/alert.component.mjs +3 -3
- package/esm2020/alert/src/alert-close/alert-close.component.mjs +3 -3
- package/esm2020/alert/src/alert.module.mjs +4 -4
- package/esm2020/badge/src/badge.component.mjs +3 -3
- package/esm2020/badge/src/badge.module.mjs +4 -4
- package/esm2020/breadcrumb/src/breadcrumb/breadcrumb.component.mjs +3 -3
- package/esm2020/breadcrumb/src/breadcrumb-item/breadcrumb-item.component.mjs +3 -3
- package/esm2020/breadcrumb/src/breadcrumb.module.mjs +4 -4
- package/esm2020/button-group/src/button-group/button-group.component.mjs +3 -3
- package/esm2020/button-group/src/button-group.module.mjs +4 -4
- package/esm2020/button-type/src/button-type/button-type.directive.mjs +3 -3
- package/esm2020/button-type/src/button-type/button-type.module.mjs +4 -4
- package/esm2020/calendar/src/calendar.component.mjs +3 -3
- package/esm2020/calendar/src/calendar.module.mjs +4 -4
- package/esm2020/calendar-month/src/pipes/month-name/month-name.module.mjs +4 -4
- package/esm2020/calendar-month/src/pipes/month-name/month-name.pipe.mjs +3 -3
- package/esm2020/calendar-month/src/pipes/weekday-name/weekday-name.module.mjs +4 -4
- package/esm2020/calendar-month/src/pipes/weekday-name/weekday-name.pipe.mjs +3 -3
- package/esm2020/calendar-month/src/service/calendar-month.service.mjs +3 -3
- package/esm2020/card/src/card/card.component.mjs +3 -3
- package/esm2020/card/src/card-header/card-header.component.mjs +3 -3
- package/esm2020/card/src/card.module.mjs +4 -4
- package/esm2020/carousel/src/carousel/carousel.component.mjs +5 -5
- package/esm2020/carousel/src/carousel-image/carousel-image.directive.mjs +3 -3
- package/esm2020/carousel/src/carousel.module.mjs +4 -4
- package/esm2020/close/src/close.component.mjs +3 -3
- package/esm2020/close/src/close.module.mjs +4 -4
- package/esm2020/code-snippet/src/code-snippet.component.mjs +3 -3
- package/esm2020/code-snippet/src/code-snippet.module.mjs +4 -4
- package/esm2020/context-menu/src/context-menu.directive.mjs +3 -3
- package/esm2020/context-menu/src/context-menu.module.mjs +4 -4
- package/esm2020/copy/src/copy.directive.mjs +3 -3
- package/esm2020/copy/src/copy.module.mjs +4 -4
- package/esm2020/datatable/src/datatable/datatable.component.mjs +3 -3
- package/esm2020/datatable/src/datatable-column/datatable-column.directive.mjs +3 -3
- package/esm2020/datatable/src/datatable.module.mjs +4 -4
- package/esm2020/datatable/src/row-template/row-template.directive.mjs +3 -3
- package/esm2020/datepicker/src/datepicker.component.mjs +3 -3
- package/esm2020/datepicker/src/datepicker.module.mjs +4 -4
- package/esm2020/dropdown/src/dropdown/dropdown.directive.mjs +3 -3
- package/esm2020/dropdown/src/dropdown-menu/dropdown-menu.directive.mjs +3 -3
- package/esm2020/dropdown/src/dropdown-toggle/dropdown-toggle.directive.mjs +3 -3
- package/esm2020/dropdown/src/dropdown.module.mjs +4 -4
- package/esm2020/dropdown-divider/src/dropdown-divider.directive.mjs +3 -3
- package/esm2020/dropdown-divider/src/dropdown-divider.module.mjs +4 -4
- package/esm2020/dropdown-menu/src/dropdown-item/dropdown-item.component.mjs +3 -3
- package/esm2020/dropdown-menu/src/dropdown-menu/dropdown-menu.component.mjs +3 -3
- package/esm2020/dropdown-menu/src/dropdown-menu.module.mjs +4 -4
- package/esm2020/enhanced-paste/src/directive/enhanced-paste.directive.mjs +3 -3
- package/esm2020/enhanced-paste/src/enhanced-paste.module.mjs +4 -4
- package/esm2020/enum/src/service/enum.service.mjs +3 -3
- package/esm2020/file-upload/src/component/file-upload.component.mjs +3 -3
- package/esm2020/file-upload/src/directive/file-upload-template.directive.mjs +3 -3
- package/esm2020/file-upload/src/file-upload.module.mjs +4 -4
- package/esm2020/file-upload/src/pipes/format-bytes/format-bytes.pipe.mjs +3 -3
- package/esm2020/floating-labels/src/floating-labels/floating-label/floating-label.component.mjs +3 -3
- package/esm2020/floating-labels/src/floating-labels/floating-labels.module.mjs +4 -4
- package/esm2020/for/src/for.directive.mjs +3 -3
- package/esm2020/for/src/for.module.mjs +4 -4
- package/esm2020/form/src/form/form.component.mjs +3 -3
- package/esm2020/form/src/form-control/form-control.directive.mjs +3 -3
- package/esm2020/form/src/form-group/form-group.directive.mjs +3 -3
- package/esm2020/form/src/form.module.mjs +4 -4
- package/esm2020/grid/src/component/grid.component.mjs +3 -3
- package/esm2020/grid/src/directives/col-form-label/col-form-label.directive.mjs +3 -3
- package/esm2020/grid/src/directives/column/column.directive.mjs +3 -3
- package/esm2020/grid/src/directives/row/row.directive.mjs +3 -3
- package/esm2020/grid/src/grid.module.mjs +4 -4
- package/esm2020/has-overlay/src/has-overlay/has-overlay.component.mjs +3 -3
- package/esm2020/has-overlay/src/has-overlay/has-overlay.module.mjs +4 -4
- package/esm2020/icon/src/icon.component.mjs +3 -3
- package/esm2020/icon/src/icon.module.mjs +4 -4
- package/esm2020/input-group/src/input-group/input-group.component.mjs +3 -3
- package/esm2020/input-group/src/input-group.module.mjs +4 -4
- package/esm2020/lazy-loading/src/lazy-load/lazy-load.directive.mjs +3 -3
- package/esm2020/lazy-loading/src/lazy-loading.module.mjs +4 -4
- package/esm2020/lib/pipes/font-color/font-color.module.mjs +4 -4
- package/esm2020/lib/pipes/font-color/font-color.pipe.mjs +3 -3
- package/esm2020/lib/pipes/in-list/in-list.module.mjs +4 -4
- package/esm2020/lib/pipes/in-list/in-list.pipe.mjs +3 -3
- package/esm2020/lib/pipes/uc-first/uc-first.module.mjs +4 -4
- package/esm2020/lib/pipes/uc-first/uc-first.pipe.mjs +3 -3
- package/esm2020/list-group/src/list-group/list-group.component.mjs +3 -3
- package/esm2020/list-group/src/list-group-item/list-group-item.component.mjs +3 -3
- package/esm2020/list-group/src/list-group.module.mjs +4 -4
- package/esm2020/markdown/src/bold/bold.pipe.mjs +3 -3
- package/esm2020/markdown/src/italic/italic.pipe.mjs +3 -3
- package/esm2020/markdown/src/markdown.module.mjs +4 -4
- package/esm2020/markdown/src/strikethrough/strikethrough.pipe.mjs +3 -3
- package/esm2020/markdown/src/underline/underline.pipe.mjs +3 -3
- package/esm2020/modal/src/components/modal/modal.component.mjs +3 -3
- package/esm2020/modal/src/components/modal-host/modal-host.component.mjs +3 -3
- package/esm2020/modal/src/directives/modal/modal.directive.mjs +3 -3
- package/esm2020/modal/src/directives/modal-body/modal-body.directive.mjs +3 -3
- package/esm2020/modal/src/directives/modal-close/modal-close.directive.mjs +3 -3
- package/esm2020/modal/src/directives/modal-footer/modal-footer.directive.mjs +3 -3
- package/esm2020/modal/src/directives/modal-header/modal-header.directive.mjs +3 -3
- package/esm2020/modal/src/modal.module.mjs +4 -4
- package/esm2020/multiselect/src/component/multiselect.component.mjs +3 -3
- package/esm2020/multiselect/src/directives/button-template/button-template.directive.mjs +3 -3
- package/esm2020/multiselect/src/directives/footer-template/footer-template.directive.mjs +3 -3
- package/esm2020/multiselect/src/directives/header-template/header-template.directive.mjs +3 -3
- package/esm2020/multiselect/src/multiselect.module.mjs +4 -4
- package/esm2020/navbar/src/dropdown-toggle/dropdown-toggle.directive.mjs +3 -3
- package/esm2020/navbar/src/expand-button/expand-button.directive.mjs +3 -3
- package/esm2020/navbar/src/nav-link/nav-link.directive.mjs +3 -3
- package/esm2020/navbar/src/navbar/navbar.component.mjs +3 -3
- package/esm2020/navbar/src/navbar-brand/navbar-brand.component.mjs +3 -3
- package/esm2020/navbar/src/navbar-content/navbar-content.directive.mjs +3 -3
- package/esm2020/navbar/src/navbar-dropdown/navbar-dropdown.component.mjs +3 -3
- package/esm2020/navbar/src/navbar-item/navbar-item.component.mjs +3 -3
- package/esm2020/navbar/src/navbar-nav/navbar-nav.component.mjs +3 -3
- package/esm2020/navbar/src/navbar-toggler/navbar-toggler.component.mjs +3 -3
- package/esm2020/navbar/src/navbar.module.mjs +4 -4
- package/esm2020/navigation-lock/src/directive/navigation-lock.directive.mjs +3 -3
- package/esm2020/navigation-lock/src/guard/navigation-lock.guard.mjs +3 -3
- package/esm2020/navigation-lock/src/navigation-lock.module.mjs +4 -4
- package/esm2020/no-noscript/src/no-noscript/no-noscript.directive.mjs +3 -3
- package/esm2020/no-noscript/src/no-noscript.module.mjs +4 -4
- package/esm2020/offcanvas/src/components/offcanvas/offcanvas.component.mjs +3 -3
- package/esm2020/offcanvas/src/components/offcanvas-body/offcanvas-body.component.mjs +3 -3
- package/esm2020/offcanvas/src/components/offcanvas-header/offcanvas-header.component.mjs +3 -3
- package/esm2020/offcanvas/src/components/offcanvas-host/offcanvas-host.component.mjs +3 -3
- package/esm2020/offcanvas/src/directives/offcanvas-close/offcanvas-close.directive.mjs +3 -3
- package/esm2020/offcanvas/src/directives/offcanvas-content/offcanvas-content.directive.mjs +3 -3
- package/esm2020/offcanvas/src/directives/offcanvas-push/offcanvas-push.directive.mjs +3 -3
- package/esm2020/offcanvas/src/offcanvas.module.mjs +4 -4
- package/esm2020/ordinal-number/src/ordinal-number/ordinal-number.pipe.mjs +3 -3
- package/esm2020/ordinal-number/src/ordinal-number.module.mjs +4 -4
- package/esm2020/pagination/src/component/pagination/pagination.component.mjs +3 -3
- package/esm2020/pagination/src/pagination.module.mjs +4 -4
- package/esm2020/placeholder/src/placeholder/placeholder.component.mjs +3 -3
- package/esm2020/placeholder/src/placeholder-field/placeholder-field.directive.mjs +3 -3
- package/esm2020/placeholder/src/placeholder.module.mjs +4 -4
- package/esm2020/popover/src/component/popover.component.mjs +3 -3
- package/esm2020/popover/src/directives/popover/popover.directive.mjs +3 -3
- package/esm2020/popover/src/directives/popover-body/popover-body.directive.mjs +3 -3
- package/esm2020/popover/src/directives/popover-header/popover-header.directive.mjs +3 -3
- package/esm2020/popover/src/popover.module.mjs +4 -4
- package/esm2020/progress-bar/src/progress/progress.component.mjs +3 -3
- package/esm2020/progress-bar/src/progress-bar/progress-bar.component.mjs +3 -3
- package/esm2020/progress-bar/src/progress-bar.module.mjs +4 -4
- package/esm2020/range/src/component/range.component.mjs +3 -3
- package/esm2020/range/src/range.module.mjs +4 -4
- package/esm2020/range/src/value-accessor/range-value-accessor.mjs +3 -3
- package/esm2020/rating/src/component/rating.component.mjs +3 -3
- package/esm2020/rating/src/rating.module.mjs +4 -4
- package/esm2020/scheduler/src/components/resource-group-presenter/resource-group-presenter.component.mjs +3 -3
- package/esm2020/scheduler/src/components/scheduler/scheduler.component.mjs +3 -3
- package/esm2020/scheduler/src/pipes/bs-seconds-timespan.pipe/bs-seconds-timespan.pipe.mjs +3 -3
- package/esm2020/scheduler/src/pipes/bs-seconds-today-offset/bs-seconds-today-offset.pipe.mjs +3 -3
- package/esm2020/scheduler/src/pipes/date-offset/date-offset.pipe.mjs +3 -3
- package/esm2020/scheduler/src/pipes/day-of-week/day-of-week.pipe.mjs +3 -3
- package/esm2020/scheduler/src/scheduler.module.mjs +4 -4
- package/esm2020/scheduler/src/services/timeline/timeline.service.mjs +3 -3
- package/esm2020/scrollspy/src/component/scrollspy.component.mjs +3 -3
- package/esm2020/scrollspy/src/directives/scrollspy.directive.mjs +3 -3
- package/esm2020/scrollspy/src/scrollspy.module.mjs +4 -4
- package/esm2020/scrollspy/src/services/scroll-offset/scroll-offset.service.mjs +3 -3
- package/esm2020/select/src/component/select.component.mjs +3 -3
- package/esm2020/select/src/select.module.mjs +4 -4
- package/esm2020/select/src/value-accessors/select-value-accessor.mjs +6 -6
- package/esm2020/select2/src/component/select2.component.mjs +3 -3
- package/esm2020/select2/src/directive/item-template.directive.mjs +3 -3
- package/esm2020/select2/src/select2.module.mjs +4 -4
- package/esm2020/snackbar/src/component/snackbar.component.mjs +3 -3
- package/esm2020/snackbar/src/directives/snackbar-close/snackbar-close.directive.mjs +3 -3
- package/esm2020/snackbar/src/service/snackbar.service.mjs +3 -3
- package/esm2020/snackbar/src/snackbar.module.mjs +4 -4
- package/esm2020/spinner/src/spinner.component.mjs +3 -3
- package/esm2020/spinner/src/spinner.module.mjs +4 -4
- package/esm2020/tab-control/src/tab-control/tab-control.component.mjs +3 -3
- package/esm2020/tab-control/src/tab-control.module.mjs +4 -4
- package/esm2020/tab-control/src/tab-page/tab-page.component.mjs +3 -3
- package/esm2020/table/src/component/table.component.mjs +3 -3
- package/esm2020/table/src/table.module.mjs +4 -4
- package/esm2020/timepicker/src/timepicker.component.mjs +3 -3
- package/esm2020/timepicker/src/timepicker.module.mjs +4 -4
- package/esm2020/toast/src/components/toast/toast.component.mjs +3 -3
- package/esm2020/toast/src/components/toast-body/toast-body.component.mjs +3 -3
- package/esm2020/toast/src/components/toast-container/toast-container.component.mjs +3 -3
- package/esm2020/toast/src/components/toast-header/toast-header.component.mjs +3 -3
- package/esm2020/toast/src/directives/toast-close/toast-close.directive.mjs +3 -3
- package/esm2020/toast/src/pipes/add-properties.pipe.mjs +3 -3
- package/esm2020/toast/src/services/toast/toast.service.mjs +3 -3
- package/esm2020/toast/src/toast.module.mjs +4 -4
- package/esm2020/toggle-button/src/component/toggle-button.component.mjs +3 -3
- package/esm2020/toggle-button/src/directives/toggle-button-group/toggle-button-group.directive.mjs +3 -3
- package/esm2020/toggle-button/src/toggle-button.module.mjs +4 -4
- package/esm2020/toggle-button/src/value-accessor/toggle-button-value-accessor.mjs +3 -3
- package/esm2020/tooltip/src/component/tooltip.component.mjs +3 -3
- package/esm2020/tooltip/src/directive/tooltip.directive.mjs +3 -3
- package/esm2020/tooltip/src/tooltip.module.mjs +4 -4
- package/esm2020/typeahead/src/typeahead.component.mjs +3 -3
- package/esm2020/typeahead/src/typeahead.module.mjs +4 -4
- package/esm2020/user-agent/src/directive/index.mjs +2 -0
- package/esm2020/user-agent/src/directive/user-agent.directive.mjs +93 -0
- package/esm2020/user-agent/src/index.mjs +5 -4
- package/esm2020/user-agent/src/interfaces/index.mjs +2 -0
- package/esm2020/user-agent/src/interfaces/user-agent.mjs +2 -0
- package/esm2020/user-agent/src/types/index.mjs +3 -0
- package/esm2020/user-agent/src/types/operating-system.type.mjs +2 -0
- package/esm2020/user-agent/src/types/webbrowser.type.mjs +2 -0
- package/esm2020/user-agent/src/user-agent.module.mjs +24 -0
- package/fesm2015/mintplayer-ng-bootstrap-accordion.mjs +13 -13
- package/fesm2015/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-alert.mjs +10 -10
- package/fesm2015/mintplayer-ng-bootstrap-alert.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-badge.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-badge.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-breadcrumb.mjs +10 -10
- package/fesm2015/mintplayer-ng-bootstrap-breadcrumb.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-button-group.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-button-group.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-button-type.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-button-type.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-calendar-month.mjs +17 -17
- package/fesm2015/mintplayer-ng-bootstrap-calendar-month.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-calendar.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-calendar.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-card.mjs +10 -10
- package/fesm2015/mintplayer-ng-bootstrap-card.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-carousel.mjs +11 -11
- package/fesm2015/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-close.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-close.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-code-snippet.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-context-menu.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-context-menu.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-copy.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-copy.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-datatable.mjs +13 -13
- package/fesm2015/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-datepicker.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-dropdown-divider.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-dropdown-divider.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-dropdown-menu.mjs +10 -10
- package/fesm2015/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-dropdown.mjs +13 -13
- package/fesm2015/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-enhanced-paste.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-enhanced-paste.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-enum.mjs +3 -3
- package/fesm2015/mintplayer-ng-bootstrap-enum.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-file-upload.mjs +13 -13
- package/fesm2015/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-floating-labels.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-for.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-for.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-form.mjs +13 -13
- package/fesm2015/mintplayer-ng-bootstrap-form.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-grid.mjs +16 -16
- package/fesm2015/mintplayer-ng-bootstrap-grid.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-has-overlay.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-has-overlay.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-icon.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-icon.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-input-group.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-input-group.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-lazy-loading.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-lazy-loading.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-list-group.mjs +10 -10
- package/fesm2015/mintplayer-ng-bootstrap-list-group.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-markdown.mjs +16 -16
- package/fesm2015/mintplayer-ng-bootstrap-markdown.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-modal.mjs +25 -25
- package/fesm2015/mintplayer-ng-bootstrap-modal.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-multiselect.mjs +16 -16
- package/fesm2015/mintplayer-ng-bootstrap-multiselect.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-navbar.mjs +34 -34
- package/fesm2015/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-navigation-lock.mjs +10 -10
- package/fesm2015/mintplayer-ng-bootstrap-navigation-lock.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-no-noscript.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-no-noscript.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-offcanvas.mjs +25 -25
- package/fesm2015/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-ordinal-number.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-ordinal-number.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-pagination.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-placeholder.mjs +10 -10
- package/fesm2015/mintplayer-ng-bootstrap-placeholder.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-popover.mjs +16 -16
- package/fesm2015/mintplayer-ng-bootstrap-popover.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-progress-bar.mjs +10 -10
- package/fesm2015/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-range.mjs +10 -10
- package/fesm2015/mintplayer-ng-bootstrap-range.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-rating.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-scheduler.mjs +25 -25
- package/fesm2015/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-scrollspy.mjs +13 -13
- package/fesm2015/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-select.mjs +13 -13
- package/fesm2015/mintplayer-ng-bootstrap-select.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-select2.mjs +10 -10
- package/fesm2015/mintplayer-ng-bootstrap-select2.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-snackbar.mjs +13 -13
- package/fesm2015/mintplayer-ng-bootstrap-snackbar.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-spinner.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-spinner.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-tab-control.mjs +10 -10
- package/fesm2015/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-table.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-table.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-timepicker.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-toast.mjs +25 -25
- package/fesm2015/mintplayer-ng-bootstrap-toast.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-toggle-button.mjs +13 -13
- package/fesm2015/mintplayer-ng-bootstrap-toggle-button.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-tooltip.mjs +10 -10
- package/fesm2015/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-typeahead.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-user-agent.mjs +47 -11
- package/fesm2015/mintplayer-ng-bootstrap-user-agent.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap.mjs +21 -21
- package/fesm2015/mintplayer-ng-bootstrap.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-accordion.mjs +13 -13
- package/fesm2020/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-alert.mjs +10 -10
- package/fesm2020/mintplayer-ng-bootstrap-alert.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-badge.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-badge.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-breadcrumb.mjs +10 -10
- package/fesm2020/mintplayer-ng-bootstrap-breadcrumb.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-button-group.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-button-group.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-button-type.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-button-type.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-calendar-month.mjs +17 -17
- package/fesm2020/mintplayer-ng-bootstrap-calendar-month.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-calendar.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-calendar.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-card.mjs +10 -10
- package/fesm2020/mintplayer-ng-bootstrap-card.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-carousel.mjs +11 -11
- package/fesm2020/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-close.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-close.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-code-snippet.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-context-menu.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-context-menu.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-copy.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-copy.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-datatable.mjs +13 -13
- package/fesm2020/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-datepicker.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-dropdown-divider.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-dropdown-divider.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-dropdown-menu.mjs +10 -10
- package/fesm2020/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-dropdown.mjs +13 -13
- package/fesm2020/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-enhanced-paste.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-enhanced-paste.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-enum.mjs +3 -3
- package/fesm2020/mintplayer-ng-bootstrap-enum.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-file-upload.mjs +13 -13
- package/fesm2020/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-floating-labels.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-for.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-for.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-form.mjs +13 -13
- package/fesm2020/mintplayer-ng-bootstrap-form.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-grid.mjs +16 -16
- package/fesm2020/mintplayer-ng-bootstrap-grid.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-has-overlay.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-has-overlay.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-icon.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-icon.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-input-group.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-input-group.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-lazy-loading.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-lazy-loading.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-list-group.mjs +10 -10
- package/fesm2020/mintplayer-ng-bootstrap-list-group.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-markdown.mjs +16 -16
- package/fesm2020/mintplayer-ng-bootstrap-markdown.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-modal.mjs +25 -25
- package/fesm2020/mintplayer-ng-bootstrap-modal.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-multiselect.mjs +16 -16
- package/fesm2020/mintplayer-ng-bootstrap-multiselect.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-navbar.mjs +34 -34
- package/fesm2020/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-navigation-lock.mjs +10 -10
- package/fesm2020/mintplayer-ng-bootstrap-navigation-lock.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-no-noscript.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-no-noscript.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-offcanvas.mjs +25 -25
- package/fesm2020/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-ordinal-number.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-ordinal-number.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-pagination.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-placeholder.mjs +10 -10
- package/fesm2020/mintplayer-ng-bootstrap-placeholder.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-popover.mjs +16 -16
- package/fesm2020/mintplayer-ng-bootstrap-popover.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-progress-bar.mjs +10 -10
- package/fesm2020/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-range.mjs +10 -10
- package/fesm2020/mintplayer-ng-bootstrap-range.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-rating.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-scheduler.mjs +25 -25
- package/fesm2020/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-scrollspy.mjs +13 -13
- package/fesm2020/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-select.mjs +13 -13
- package/fesm2020/mintplayer-ng-bootstrap-select.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-select2.mjs +10 -10
- package/fesm2020/mintplayer-ng-bootstrap-select2.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-snackbar.mjs +13 -13
- package/fesm2020/mintplayer-ng-bootstrap-snackbar.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-spinner.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-spinner.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-tab-control.mjs +10 -10
- package/fesm2020/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-table.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-table.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-timepicker.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-toast.mjs +25 -25
- package/fesm2020/mintplayer-ng-bootstrap-toast.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-toggle-button.mjs +13 -13
- package/fesm2020/mintplayer-ng-bootstrap-toggle-button.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-tooltip.mjs +10 -10
- package/fesm2020/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-typeahead.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-user-agent.mjs +47 -11
- package/fesm2020/mintplayer-ng-bootstrap-user-agent.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap.mjs +21 -21
- package/fesm2020/mintplayer-ng-bootstrap.mjs.map +1 -1
- package/package.json +3 -3
- package/user-agent/src/directive/index.d.ts +1 -0
- package/user-agent/src/{user-agent → directive}/user-agent.directive.d.ts +4 -2
- package/user-agent/src/index.d.ts +4 -3
- package/user-agent/src/interfaces/index.d.ts +1 -0
- package/user-agent/src/interfaces/user-agent.d.ts +6 -0
- package/user-agent/src/types/index.d.ts +2 -0
- package/user-agent/src/types/operating-system.type.d.ts +1 -0
- package/user-agent/src/types/webbrowser.type.d.ts +1 -0
- package/user-agent/src/{user-agent/user-agent.module.d.ts → user-agent.module.d.ts} +1 -1
- package/esm2020/user-agent/src/user-agent/user-agent.directive.mjs +0 -57
- package/esm2020/user-agent/src/user-agent/user-agent.module.mjs +0 -24
- package/esm2020/user-agent/src/user-agent.type.mjs +0 -2
- package/user-agent/src/user-agent.type.d.ts +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-rating.mjs","sources":["../esm2020/rating/src/component/rating.component.mjs","../esm2020/rating/src/rating.module.mjs","../esm2020/rating/mintplayer-ng-bootstrap-rating.mjs"],"sourcesContent":["import { Component, EventEmitter, HostListener, Input, Output } from '@angular/core';\nimport { BehaviorSubject, combineLatest, map, Subject, takeUntil } from 'rxjs';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nexport class BsRatingComponent {\n constructor() {\n this.destroyed$ = new Subject();\n this.maximum$ = new BehaviorSubject(5);\n this.value$ = new BehaviorSubject(3);\n this.previewValue$ = new BehaviorSubject(null);\n //#endregion\n //#region Value\n this.valueChange = new EventEmitter();\n this.starsChange = new EventEmitter();\n this.stars$ = combineLatest([this.maximum$, this.previewValue$, this.value$])\n .pipe(map(([maximum, previewValue, value]) => {\n const v = previewValue ?? value;\n return [\n ...[...Array(v).keys()].map(i => true),\n ...[...Array(maximum - v).keys()].map(i => false)\n ];\n }));\n combineLatest([this.previewValue$, this.value$])\n .pipe(takeUntil(this.destroyed$))\n .subscribe(([previewValue, value]) => {\n const v = previewValue ?? value;\n this.starsChange.emit(v);\n });\n }\n //#region Maximum\n set maximum(value) {\n this.maximum$.next(value);\n }\n get value() {\n return this.value$.value;\n }\n set value(value) {\n this.value$.next(value);\n this.valueChange.emit(value);\n }\n //#endregion\n ngOnDestroy() {\n this.destroyed$.next(true);\n }\n hoverValue(index) {\n this.previewValue$.next(index + 1);\n }\n selectValue(index) {\n this.value = index + 1;\n }\n onMouseLeave() {\n this.previewValue$.next(null);\n }\n}\nBsRatingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.1.0\", ngImport: i0, type: BsRatingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\nBsRatingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"15.1.0\", type: BsRatingComponent, selector: \"bs-rating\", inputs: { maximum: \"maximum\", value: \"value\" }, outputs: { valueChange: \"valueChange\", starsChange: \"starsChange\" }, host: { listeners: { \"mouseleave\": \"onMouseLeave()\" } }, ngImport: i0, template: \"<span class=\\\"cursor-pointer\\\" *ngFor=\\\"let star of (stars$ | async), let i = index\\\" (mouseenter)=\\\"hoverValue(i)\\\" (click)=\\\"selectValue(i)\\\">\\n {{ star ? '★' : '☆' }}\\n</span>\", styles: [\"\"], dependencies: [{ kind: \"directive\", type: i1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"pipe\", type: i1.AsyncPipe, name: \"async\" }] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.1.0\", ngImport: i0, type: BsRatingComponent, decorators: [{\n type: Component,\n args: [{ selector: 'bs-rating', template: \"<span class=\\\"cursor-pointer\\\" *ngFor=\\\"let star of (stars$ | async), let i = index\\\" (mouseenter)=\\\"hoverValue(i)\\\" (click)=\\\"selectValue(i)\\\">\\n {{ star ? '★' : '☆' }}\\n</span>\" }]\n }], ctorParameters: function () { return []; }, propDecorators: { maximum: [{\n type: Input\n }], valueChange: [{\n type: Output\n }], starsChange: [{\n type: Output\n }], value: [{\n type: Input\n }], onMouseLeave: [{\n type: HostListener,\n args: ['mouseleave']\n }] } });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmF0aW5nLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvbWludHBsYXllci1uZy1ib290c3RyYXAvcmF0aW5nL3NyYy9jb21wb25lbnQvcmF0aW5nLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvbWludHBsYXllci1uZy1ib290c3RyYXAvcmF0aW5nL3NyYy9jb21wb25lbnQvcmF0aW5nLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQXFCLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN4RyxPQUFPLEVBQUUsZUFBZSxFQUFFLGFBQWEsRUFBRSxHQUFHLEVBQWMsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLE1BQU0sQ0FBQzs7O0FBTzNGLE1BQU0sT0FBTyxpQkFBaUI7SUFFNUI7UUFrQkEsZUFBVSxHQUFHLElBQUksT0FBTyxFQUFFLENBQUM7UUFDM0IsYUFBUSxHQUFHLElBQUksZUFBZSxDQUFTLENBQUMsQ0FBQyxDQUFDO1FBQzFDLFdBQU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bmV3IEV2ZW50RW1pdHRlcjxudW1iZXI+KCk7XG4gIEBPdXRwdXQoKSBwdWJsaWMgc3RhcnNDaGFuZ2UgPSBuZXcgRXZlbnRFbWl0dGVyPG51bWJlcj4oKTtcbiAgcHVibGljIGdldCB2YWx1ZSgpIHtcbiAgICByZXR1cm4gdGhpcy52YWx1ZSQudmFsdWU7XG4gIH1cbiAgQElucHV0KCkgcHVibGljIHNldCB2YWx1ZSh2YWx1ZTogbnVtYmVyKSB7XG4gICAgdGhpcy52YWx1ZSQubmV4dCh2YWx1ZSk7XG4gICAgdGhpcy52YWx1ZUNoYW5nZS5lbWl0KHZhbHVlKTtcbiAgfVxuICAvLyNlbmRyZWdpb25cblxuICBuZ09uRGVzdHJveSgpIHtcbiAgICB0aGlzLmRlc3Ryb3llZCQubmV4dCh0cnVlKTtcbiAgfVxuXG4gIGhvdmVyVmFsdWUoaW5kZXg6IG51bWJlcikge1xuICAgIHRoaXMucHJldmlld1ZhbHVlJC5uZXh0KGluZGV4ICsgMSk7XG4gIH1cbiAgc2VsZWN0VmFsdWUoaW5kZXg6IG51bWJlcikge1xuICAgIHRoaXMudmFsdWUgPSBpbmRleCArIDE7XG4gIH1cblxuICBASG9zdExpc3RlbmVyKCdtb3VzZWxlYXZlJykgb25Nb3VzZUxlYXZlKCkge1xuICAgIHRoaXMucHJldmlld1ZhbHVlJC5uZXh0KG51bGwpO1xuICB9XG59XG4iLCI8c3BhbiBjbGFzcz1cImN1cnNvci1wb2ludGVyXCIgKm5nRm9yPVwibGV0IHN0YXIgb2YgKHN0YXJzJCB8IGFzeW5jKSwgbGV0IGkgPSBpbmRleFwiIChtb3VzZWVudGVyKT1cImhvdmVyVmFsdWUoaSlcIiAoY2xpY2spPVwic2VsZWN0VmFsdWUoaSlcIj5cbiAgICB7eyBzdGFyID8gJyYjOTczMzsnIDogJyYjOTczNDsnIH19XG48L3NwYW4+Il19","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsRatingComponent } from './component/rating.component';\nimport * as i0 from \"@angular/core\";\nexport class BsRatingModule {\n}\nBsRatingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.1.0\", ngImport: i0, type: BsRatingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nBsRatingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.1.0\", ngImport: i0, type: BsRatingModule, declarations: [BsRatingComponent], imports: [CommonModule], exports: [BsRatingComponent] });\nBsRatingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.1.0\", ngImport: i0, type: BsRatingModule, imports: [CommonModule] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.1.0\", ngImport: i0, type: BsRatingModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n BsRatingComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n BsRatingComponent\n ]\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmF0aW5nLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvbWludHBsYXllci1uZy1ib290c3RyYXAvcmF0aW5nL3NyYy9yYXRpbmcubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLDhCQUE4QixDQUFDOztBQWVqRSxNQUFNLE9BQU8sY0FBYzs7MkdBQWQsY0FBYzs0R0FBZCxjQUFjLGlCQVR2QixpQkFBaUIsYUFHakIsWUFBWSxhQUdaLGlCQUFpQjs0R0FHUixjQUFjLFlBTnZCLFlBQVk7MkZBTUgsY0FBYztrQkFYMUIsUUFBUTttQkFBQztvQkFDUixZQUFZLEVBQUU7d0JBQ1osaUJBQWlCO3FCQUNsQjtvQkFDRCxPQUFPLEVBQUU7d0JBQ1AsWUFBWTtxQkFDYjtvQkFDRCxPQUFPLEVBQUU7d0JBQ1AsaUJBQWlCO3FCQUNsQjtpQkFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgQnNSYXRpbmdDb21wb25lbnQgfSBmcm9tICcuL2NvbXBvbmVudC9yYXRpbmcuY29tcG9uZW50JztcblxuXG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW1xuICAgIEJzUmF0aW5nQ29tcG9uZW50XG4gIF0sXG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGVcbiAgXSxcbiAgZXhwb3J0czogW1xuICAgIEJzUmF0aW5nQ29tcG9uZW50XG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgQnNSYXRpbmdNb2R1bGUgeyB9XG4iXX0=","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWludHBsYXllci1uZy1ib290c3RyYXAtcmF0aW5nLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9taW50cGxheWVyLW5nLWJvb3RzdHJhcC9yYXRpbmcvbWludHBsYXllci1uZy1ib290c3RyYXAtcmF0aW5nLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKip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C,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;AACvJ,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC;AACxH,YAAY,IAAI,EAAE,QAAQ;AAC1B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,YAAY,EAAE;AAClC,wBAAwB,iBAAiB;AACzC,qBAAqB;AACrB,oBAAoB,OAAO,EAAE;AAC7B,wBAAwB,YAAY;AACpC,qBAAqB;AACrB,oBAAoB,OAAO,EAAE;AAC7B,wBAAwB,iBAAiB;AACzC,qBAAqB;AACrB,iBAAiB,CAAC;AAClB,SAAS,CAAC,EAAE,CAAC;;ACtBb;AACA;AACA;;;;"}
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-rating.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/rating/src/component/rating.component.ts","../../../../libs/mintplayer-ng-bootstrap/rating/src/component/rating.component.html","../../../../libs/mintplayer-ng-bootstrap/rating/src/rating.module.ts","../../../../libs/mintplayer-ng-bootstrap/rating/mintplayer-ng-bootstrap-rating.ts"],"sourcesContent":["import { Component, EventEmitter, HostListener, Input, OnDestroy, OnInit, Output } from '@angular/core';\nimport { BehaviorSubject, combineLatest, map, Observable, Subject, takeUntil } from 'rxjs';\n\n@Component({\n selector: 'bs-rating',\n templateUrl: './rating.component.html',\n styleUrls: ['./rating.component.scss']\n})\nexport class BsRatingComponent implements OnDestroy {\n\n constructor() {\n this.stars$ = combineLatest([this.maximum$, this.previewValue$, this.value$])\n .pipe(map(([maximum, previewValue, value]) => {\n const v = previewValue ?? value;\n return [\n ...[...Array(v).keys()].map(i => true),\n ...[...Array(maximum - v).keys()].map(i => false)\n ];\n }));\n\n combineLatest([this.previewValue$, this.value$])\n .pipe(takeUntil(this.destroyed$))\n .subscribe(([previewValue, value]) => {\n const v = previewValue ?? value;\n this.starsChange.emit(v);\n });\n }\n\n destroyed$ = new Subject();\n maximum$ = new BehaviorSubject<number>(5);\n value$ = new BehaviorSubject<number>(3);\n previewValue$ = new BehaviorSubject<number | null>(null);\n stars$: Observable<boolean[]>;\n\n //#region Maximum\n @Input() public set maximum(value: number) {\n this.maximum$.next(value);\n }\n //#endregion\n\n //#region Value\n @Output() public valueChange = new EventEmitter<number>();\n @Output() public starsChange = new EventEmitter<number>();\n public get value() {\n return this.value$.value;\n }\n @Input() public set value(value: number) {\n this.value$.next(value);\n this.valueChange.emit(value);\n }\n //#endregion\n\n ngOnDestroy() {\n this.destroyed$.next(true);\n }\n\n hoverValue(index: number) {\n this.previewValue$.next(index + 1);\n }\n selectValue(index: number) {\n this.value = index + 1;\n }\n\n @HostListener('mouseleave') onMouseLeave() {\n this.previewValue$.next(null);\n }\n}\n","<span class=\"cursor-pointer\" *ngFor=\"let star of (stars$ | async), let i = index\" (mouseenter)=\"hoverValue(i)\" (click)=\"selectValue(i)\">\n {{ star ? '★' : '☆' }}\n</span>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsRatingComponent } from './component/rating.component';\n\n\n\n@NgModule({\n declarations: [\n BsRatingComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n BsRatingComponent\n ]\n})\nexport class BsRatingModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAQa,iBAAiB,CAAA;AAE5B,IAAA,WAAA,GAAA;AAkBA,QAAA,IAAA,CAAA,UAAU,GAAG,IAAI,OAAO,EAAE,CAAC;AAC3B,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,eAAe,CAAS,CAAC,CAAC,CAAC;AAC1C,QAAA,IAAA,CAAA,MAAM,G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D;;AAEG;;;;"}
|
|
@@ -75,9 +75,9 @@ class BsTimelineService {
|
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
BsTimelineService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
79
|
-
BsTimelineService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.
|
|
80
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
78
|
+
BsTimelineService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BsTimelineService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
79
|
+
BsTimelineService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BsTimelineService, providedIn: 'root' });
|
|
80
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BsTimelineService, decorators: [{
|
|
81
81
|
type: Injectable,
|
|
82
82
|
args: [{
|
|
83
83
|
providedIn: 'root'
|
|
@@ -149,9 +149,9 @@ class ResourceGroupPresenterComponent {
|
|
|
149
149
|
this.destroyed$.next(true);
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
|
-
ResourceGroupPresenterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
153
|
-
ResourceGroupPresenterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
154
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
152
|
+
ResourceGroupPresenterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ResourceGroupPresenterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
153
|
+
ResourceGroupPresenterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: ResourceGroupPresenterComponent, selector: "bs-resource-group-presenter", inputs: { level: "level", resourceGroup: "resourceGroup", timeSlots: "timeSlots", isExpanded: "isExpanded" }, ngImport: i0, template: "<ng-container *ngIf=\"(data$ | async) as data\">\n\n <!-- Data is a resource group -->\n <ng-container *ngIf=\"data.resourceGroup\">\n <!-- Header -->\n <tr class=\"p-0 cursor-pointer\" *ngIf=\"(timeSlots$ | async) as timeSlots\" [title]=\"data.resourceGroup.description\">\n <ng-container *ngIf=\"(colSpan$ | async) as colspan\">\n <td class=\"p-2 cursor-pointer\" [colSpan]=\"colspan + 1\" (click)=\"toggleExpanded()\">\n <span class=\"p-2 align-middle position-sticky\">\n <bs-icon [icon]=\"'chevron-down'\" [style.padding-left.px]=\"level * 20\" *ngIf=\"isExpanded$ | async\"></bs-icon>\n <bs-icon [icon]=\"'chevron-right'\" [style.padding-left.px]=\"level * 20\" *ngIf=\"(isExpanded$ | async) === false\"></bs-icon>\n {{ data.resourceGroup.description }}\n </span>\n </td>\n </ng-container>\n </tr>\n\n <!-- Subgroups or resources -->\n <ng-container *ngIf=\"isExpanded$ | async\">\n <ng-container *ngIf=\"(timeSlots$ | async) as timeSlots\">\n <ng-container *ngFor=\"let child of data.resourceGroup.children\">\n <bs-resource-group-presenter [resourceGroup]=\"child\" [timeSlots]=\"timeSlots\" [level]=\"level + 1\"></bs-resource-group-presenter>\n </ng-container>\n </ng-container>\n </ng-container>\n </ng-container>\n\n <!-- Data is a resource -->\n <tr *ngIf=\"data.resource\" class=\"p-0 bordered\" [title]=\"data.resource.description\">\n <td class=\"p-0 bg-white\">\n <div class=\"p-2\">{{ data.resource.description }}</div>\n </td>\n <ng-container *ngFor=\"let slots of (timeSlots$ | async)\">\n <td class=\"bg-white border-1\" *ngFor=\"let slot of slots.slots\">\n <!-- {{ slot.start | date: 'dd/MM/yyyy HH:mm:ss' }} -->\n </td>\n </ng-container>\n </tr>\n</ng-container>", styles: [":host{display:contents}tr{border-bottom-width:1px}tr:not(.bordered) td span.position-sticky{left:0;right:0}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.BsIconComponent, selector: "bs-icon", inputs: ["icon"] }, { kind: "component", type: ResourceGroupPresenterComponent, selector: "bs-resource-group-presenter", inputs: ["level", "resourceGroup", "timeSlots", "isExpanded"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }] });
|
|
154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ResourceGroupPresenterComponent, decorators: [{
|
|
155
155
|
type: Component,
|
|
156
156
|
args: [{ selector: 'bs-resource-group-presenter', template: "<ng-container *ngIf=\"(data$ | async) as data\">\n\n <!-- Data is a resource group -->\n <ng-container *ngIf=\"data.resourceGroup\">\n <!-- Header -->\n <tr class=\"p-0 cursor-pointer\" *ngIf=\"(timeSlots$ | async) as timeSlots\" [title]=\"data.resourceGroup.description\">\n <ng-container *ngIf=\"(colSpan$ | async) as colspan\">\n <td class=\"p-2 cursor-pointer\" [colSpan]=\"colspan + 1\" (click)=\"toggleExpanded()\">\n <span class=\"p-2 align-middle position-sticky\">\n <bs-icon [icon]=\"'chevron-down'\" [style.padding-left.px]=\"level * 20\" *ngIf=\"isExpanded$ | async\"></bs-icon>\n <bs-icon [icon]=\"'chevron-right'\" [style.padding-left.px]=\"level * 20\" *ngIf=\"(isExpanded$ | async) === false\"></bs-icon>\n {{ data.resourceGroup.description }}\n </span>\n </td>\n </ng-container>\n </tr>\n\n <!-- Subgroups or resources -->\n <ng-container *ngIf=\"isExpanded$ | async\">\n <ng-container *ngIf=\"(timeSlots$ | async) as timeSlots\">\n <ng-container *ngFor=\"let child of data.resourceGroup.children\">\n <bs-resource-group-presenter [resourceGroup]=\"child\" [timeSlots]=\"timeSlots\" [level]=\"level + 1\"></bs-resource-group-presenter>\n </ng-container>\n </ng-container>\n </ng-container>\n </ng-container>\n\n <!-- Data is a resource -->\n <tr *ngIf=\"data.resource\" class=\"p-0 bordered\" [title]=\"data.resource.description\">\n <td class=\"p-0 bg-white\">\n <div class=\"p-2\">{{ data.resource.description }}</div>\n </td>\n <ng-container *ngFor=\"let slots of (timeSlots$ | async)\">\n <td class=\"bg-white border-1\" *ngFor=\"let slot of slots.slots\">\n <!-- {{ slot.start | date: 'dd/MM/yyyy HH:mm:ss' }} -->\n </td>\n </ng-container>\n </tr>\n</ng-container>", styles: [":host{display:contents}tr{border-bottom-width:1px}tr:not(.bordered) td span.position-sticky{left:0;right:0}\n"] }]
|
|
157
157
|
}], ctorParameters: function () { return []; }, propDecorators: { level: [{
|
|
@@ -169,9 +169,9 @@ class BsSecondsTimespanPipe {
|
|
|
169
169
|
return (value.end.getTime() - value.start.getTime()) / 1000;
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
BsSecondsTimespanPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
173
|
-
BsSecondsTimespanPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.
|
|
174
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
172
|
+
BsSecondsTimespanPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BsSecondsTimespanPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
173
|
+
BsSecondsTimespanPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: BsSecondsTimespanPipe, name: "bsSecondsTimespan" });
|
|
174
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BsSecondsTimespanPipe, decorators: [{
|
|
175
175
|
type: Pipe,
|
|
176
176
|
args: [{
|
|
177
177
|
name: 'bsSecondsTimespan'
|
|
@@ -187,9 +187,9 @@ class BsSecondsTodayOffsetPipe {
|
|
|
187
187
|
return (value.start.getTime() - today.getTime()) / 1000;
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
BsSecondsTodayOffsetPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
191
|
-
BsSecondsTodayOffsetPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.
|
|
192
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
190
|
+
BsSecondsTodayOffsetPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BsSecondsTodayOffsetPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
191
|
+
BsSecondsTodayOffsetPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: BsSecondsTodayOffsetPipe, name: "bsSecondsTodayOffset" });
|
|
192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BsSecondsTodayOffsetPipe, decorators: [{
|
|
193
193
|
type: Pipe,
|
|
194
194
|
args: [{
|
|
195
195
|
name: 'bsSecondsTodayOffset'
|
|
@@ -207,9 +207,9 @@ class DayOfWeekPipe {
|
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
DayOfWeekPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
211
|
-
DayOfWeekPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.
|
|
212
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
210
|
+
DayOfWeekPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DayOfWeekPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
211
|
+
DayOfWeekPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: DayOfWeekPipe, name: "dayOfWeek" });
|
|
212
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DayOfWeekPipe, decorators: [{
|
|
213
213
|
type: Pipe,
|
|
214
214
|
args: [{
|
|
215
215
|
name: 'dayOfWeek'
|
|
@@ -707,9 +707,9 @@ class BsSchedulerComponent {
|
|
|
707
707
|
this.destroyed$.next(true);
|
|
708
708
|
}
|
|
709
709
|
}
|
|
710
|
-
BsSchedulerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
711
|
-
BsSchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: BsSchedulerComponent, selector: "bs-scheduler", inputs: { mode: "mode", weekOptions: "weekOptions", timelineOptions: "timelineOptions", maxInnerHeight: "maxInnerHeight", resources: "resources" }, outputs: { modeChange: "modeChange", weekOptionsChange: "weekOptionsChange", timelineOptionsChange: "timelineOptionsChange" }, host: { listeners: { "document:mousemove": "onMousemove($event)", "document:mouseup": "onMouseUp($event)" } }, viewQueries: [{ propertyName: "timeSlotElements", predicate: ["slot"], descendants: true }], ngImport: i0, template: "<div class=\"d-flex flex-column w-100 overflow-y-auto mb-0 week-schedule\" [style.max-height.px]=\"null\"\n *ngIf=\"(mode$ | async) === modes.week\">\n <div class=\"calendar-head\">\n <div class=\"w-100 d-flex flex-row\">\n <div class=\"d-flex calendar-left justify-content-between\">\n <button class=\"btn btn-default flex-start\" (click)=\"onPreviousWeekOrMonth()\">\n <bs-icon [icon]=\"'chevron-left'\" class=\"px-0\"></bs-icon>\n </button>\n <button class=\"btn btn-default flex-end\" (click)=\"onNextWeekOrMonth()\">\n <bs-icon [icon]=\"'chevron-right'\" class=\"px-0\"></bs-icon>\n </button>\n </div>\n <div class=\"flex-grow-1 calendar-head-cell\" *ngFor=\"let day of (shownDays$ | async)\">\n <span class=\"d-block col-form-label text-center text-nowrap\">\n <span>{{ day | date: 'dd-MM' }}</span><span class=\"d-none d-lg-inline-block\">-{{ day | date: 'yyyy' }}</span>\n </span>\n </div>\n </div>\n </div>\n <div class=\"calendar-body\" [style.height.px]=\"maxInnerHeight\">\n <div class=\"position-relative\" *ngIf=\"(timeSlots$ | async) as row\">\n <ng-container *ngIf=\"(weekOptions$ | async) as weekOptions\">\n <!-- Timeslots -->\n <div *ngFor=\"let timeslots of row; let i = index\" class=\"d-flex flex-row p-0 timeslot\" [style.height.px]=\"weekOptions.unitHeight\">\n <div class=\"calendar-cell calendar-left align-top px-2 py-0\">{{ timeslots.slots[0].start | date: 'HH:mm:ss' }}</div>\n <div class=\"calendar-cell flex-grow-1\" *ngFor=\"let slot of timeslots.slots; let j = index\" #slot (mousedown)=\"onCreateEvent($event, slot)\" [attr.data-row]=\"i\" [attr.data-column]=\"j\"></div>\n </div>\n\n <!-- Events -->\n <ng-container *ngIf=\"(timeSlotDuration$ | async) as timeSlotDuration\">\n <ng-container *ngIf=\"(timelinedEventPartsForThisWeek$ | async) as partData\">\n <div *ngFor=\"let eventPart of partData.parts\" class=\"event p-0\"\n [style.top.px]=\"(eventPart.part | bsSecondsTodayOffset) / timeSlotDuration * weekOptions.unitHeight\"\n [style.height.px]=\"(eventPart.part | bsSecondsTimespan) / timeSlotDuration * weekOptions.unitHeight\"\n [style.left]=\"'calc(90px + ((100% - 90px) / 7 * ' + ((eventPart.part | dayOfWeek) - 1) + '))'\">\n <div class=\"event-inner\" [class.hover]=\"(hoveredEvent$ | async) === eventPart.part.event\"\n [style.width]=\"'calc(100% / ' + partData.total + ')'\"\n [style.height.px]=\"(eventPart.part | bsSecondsTimespan) / timeSlotDuration * weekOptions.unitHeight\"\n [style.margin-left]=\"'calc(100% / ' + partData.total + ' * ' + eventPart.index + ')'\">\n\n <div class=\"event-resize top\"\n *ngIf=\"eventPart.part.start === eventPart.part.event?.start\"\n (mousedown)=\"onStartResizeEvent(eventPart.part.event, 'top')\"></div>\n <div class=\"event-border\"></div>\n <div class=\"event-wrapper\" *ngIf=\"eventPart.part.event\"\n (mousedown)=\"onStartDragEvent(eventPart.part, $event)\"\n (mouseenter)=\"onHoverEvent(eventPart.part.event)\"\n (mouseleave)=\"onLeaveEvent(eventPart.part.event)\">\n <div class=\"event-bg\" [style.background-color]=\"eventPart.part.event.color\"></div>\n <div class=\"event-label\">{{ eventPart.part.event.description }}</div>\n </div>\n <div class=\"event-resize bottom\"\n *ngIf=\"eventPart.part.end === eventPart.part.event?.end\"\n (mousedown)=\"onStartResizeEvent(eventPart.part.event, 'bottom')\"></div>\n </div>\n </div>\n </ng-container>\n <ng-container *ngIf=\"(previewEventPartsForThisWeek$ | async) as previewPartData\">\n <div *ngFor=\"let eventPart of previewPartData\" class=\"event preview p-0\"\n [style.top.px]=\"(eventPart | bsSecondsTodayOffset) / timeSlotDuration * weekOptions.unitHeight\"\n [style.height.px]=\"(eventPart | bsSecondsTimespan) / timeSlotDuration * weekOptions.unitHeight\"\n [style.left]=\"'calc(90px + ((100% - 90px) / 7 * ' + ((eventPart | dayOfWeek) - 1) + '))'\">\n <div class=\"event-inner w-100\"\n [style.height.px]=\"(eventPart | bsSecondsTimespan) / timeSlotDuration * weekOptions.unitHeight\">\n </div>\n </div>\n </ng-container>\n </ng-container>\n </ng-container>\n </div>\n </div>\n</div>\n<div class=\"d-flex flex-column-100 overflow-y-auto mb-0 bg-white timeline\" *ngIf=\"(mode$ | async) === modes.timeline\">\n <div class=\"calendar-head d-flex\">\n <button class=\"btn flex-start\" (click)=\"onPreviousWeekOrMonth()\">\n <bs-icon [icon]=\"'chevron-left'\" class=\"px-0\"></bs-icon>\n </button>\n <div class=\"flex-grow-1 h3 py-2 mb-0 text-center\">{{ currentWeekOrMonth$ | async | date: 'MMMM yyyy' }}</div>\n <button class=\"btn flex-start\" (click)=\"onNextWeekOrMonth()\">\n <bs-icon [icon]=\"'chevron-right'\" class=\"px-0\"></bs-icon>\n </button>\n </div>\n \n <div class=\"calendar-body table-responsive overflow-x-auto\">\n <table class=\"table mb-0\">\n <ng-container *ngIf=\"(timeSlots$ | async) as timeSlots\">\n <tr>\n <td></td>\n <td *ngFor=\"let day of timeSlots\" [attr.colspan]=\"day.slots.length\" class=\"text-center px-2\">\n <span class=\"position-sticky day-label\">{{ day.stamp | date: 'd EE' }}</span>\n </td>\n </tr>\n <tr>\n <td></td>\n <ng-container *ngIf=\"(timelineOptions$ | async) as timelineOptions\">\n <ng-container *ngFor=\"let day of timeSlots\">\n <td *ngFor=\"let slot of day.slots\">\n <span class=\"d-block p-0 text-center\" [style.width.px]=\"timelineOptions.unitWidth\">\n {{ slot.start | date: 'HH:mm' }}\n </span>\n </td>\n </ng-container>\n </ng-container>\n </tr>\n <bs-resource-group-presenter *ngFor=\"let group of (resources$ | async)\" [resourceGroup]=\"group\" [timeSlots]=\"timeSlots\"></bs-resource-group-presenter>\n </ng-container>\n </table>\n </div>\n</div>", styles: [":host{display:block;border:1px solid #333;border-top-right-radius:10px;border-top-left-radius:10px;overflow:hidden}.calendar-head{background:#F7F7F7;color:#007aff}.tabel .calendar-head{flex:0 0 auto}.tabel .calendar-body{display:block;flex:1 1 auto}.week-schedule .calendar-head>div{padding-right:18px}.week-schedule .calendar-body{overflow-y:scroll;overflow-x:hidden}.week-schedule .calendar-body .calendar-cell{border-right:1px solid #DEE2E6;border-bottom:1px solid #DEE2E6;cursor:default}.week-schedule .calendar-body .calendar-cell.hover{border-top-width:3px}.week-schedule .calendar-left{width:90px}.week-schedule .event{z-index:5;width:calc((100% - 90px) / 7);height:100px;overflow:hidden;position:absolute;-webkit-user-select:none;user-select:none;pointer-events:none}.week-schedule .event.preview{background:#666;opacity:.6}.week-schedule .event .event-border{background:black;top:0;left:0;bottom:3px;width:3px;position:absolute;z-index:10;opacity:.3}.week-schedule .event .event-inner{position:relative;inset:0 5px 5px 0;cursor:move;pointer-events:all;overflow:hidden}.week-schedule .event .event-inner .event-wrapper{width:calc(100% - 2px);margin:1px auto 1px 0;height:calc(100% - 3px)}.week-schedule .event .event-inner .event-wrapper .event-bg{opacity:.5;height:100%;transition:opacity .15s ease-in-out}.week-schedule .event .event-inner .event-wrapper .event-label{position:absolute;top:0;font-size:12px;font-weight:600;padding:4px}.week-schedule .event .event-inner .event-resize{position:absolute;cursor:ns-resize;height:4px;left:0;right:0;z-index:400}.week-schedule .event .event-inner .event-resize.top{top:0}.week-schedule .event .event-inner .event-resize.bottom{bottom:0}.week-schedule .event .event-inner .event-resize:hover{background:#DDD}.week-schedule .event .event-inner.hover .event-bg{opacity:.7!important}@media (max-width: 767px){.week-schedule.tabel .calendar-head .calendar-head-cell{text-orientation:sideways;writing-mode:vertical-rl}}.timeline.tabel{flex-flow:column}.timeline .calendar-body .tabel{background-color:#f7f7f7}.timeline .calendar-body .tabel tr:first-child td{background-color:#fff;border:1px solid #000}.timeline .calendar-body .tabel tr:first-child td:first-child{min-width:10rem}.timeline .calendar-body .tabel tr:first-child span.day-label{left:0;right:0}.timeline .calendar-body .tabel tr:nth-child(2) td{border-width:1px;border-color:inherit}.timeline .calendar-body .tabel>:not(:first-child){border-top:none!important}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.BsIconComponent, selector: "bs-icon", inputs: ["icon"] }, { kind: "component", type: ResourceGroupPresenterComponent, selector: "bs-resource-group-presenter", inputs: ["level", "resourceGroup", "timeSlots", "isExpanded"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.DatePipe, name: "date" }, { kind: "pipe", type: BsSecondsTimespanPipe, name: "bsSecondsTimespan" }, { kind: "pipe", type: BsSecondsTodayOffsetPipe, name: "bsSecondsTodayOffset" }, { kind: "pipe", type: DayOfWeekPipe, name: "dayOfWeek" }] });
|
|
712
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
710
|
+
BsSchedulerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BsSchedulerComponent, deps: [{ token: i1.BsCalendarMonthService }, { token: BsTimelineService }], target: i0.ɵɵFactoryTarget.Component });
|
|
711
|
+
BsSchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: BsSchedulerComponent, selector: "bs-scheduler", inputs: { mode: "mode", weekOptions: "weekOptions", timelineOptions: "timelineOptions", maxInnerHeight: "maxInnerHeight", resources: "resources" }, outputs: { modeChange: "modeChange", weekOptionsChange: "weekOptionsChange", timelineOptionsChange: "timelineOptionsChange" }, host: { listeners: { "document:mousemove": "onMousemove($event)", "document:mouseup": "onMouseUp($event)" } }, viewQueries: [{ propertyName: "timeSlotElements", predicate: ["slot"], descendants: true }], ngImport: i0, template: "<div class=\"d-flex flex-column w-100 overflow-y-auto mb-0 week-schedule\" [style.max-height.px]=\"null\"\n *ngIf=\"(mode$ | async) === modes.week\">\n <div class=\"calendar-head\">\n <div class=\"w-100 d-flex flex-row\">\n <div class=\"d-flex calendar-left justify-content-between\">\n <button class=\"btn btn-default flex-start\" (click)=\"onPreviousWeekOrMonth()\">\n <bs-icon [icon]=\"'chevron-left'\" class=\"px-0\"></bs-icon>\n </button>\n <button class=\"btn btn-default flex-end\" (click)=\"onNextWeekOrMonth()\">\n <bs-icon [icon]=\"'chevron-right'\" class=\"px-0\"></bs-icon>\n </button>\n </div>\n <div class=\"flex-grow-1 calendar-head-cell\" *ngFor=\"let day of (shownDays$ | async)\">\n <span class=\"d-block col-form-label text-center text-nowrap\">\n <span>{{ day | date: 'dd-MM' }}</span><span class=\"d-none d-lg-inline-block\">-{{ day | date: 'yyyy' }}</span>\n </span>\n </div>\n </div>\n </div>\n <div class=\"calendar-body\" [style.height.px]=\"maxInnerHeight\">\n <div class=\"position-relative\" *ngIf=\"(timeSlots$ | async) as row\">\n <ng-container *ngIf=\"(weekOptions$ | async) as weekOptions\">\n <!-- Timeslots -->\n <div *ngFor=\"let timeslots of row; let i = index\" class=\"d-flex flex-row p-0 timeslot\" [style.height.px]=\"weekOptions.unitHeight\">\n <div class=\"calendar-cell calendar-left align-top px-2 py-0\">{{ timeslots.slots[0].start | date: 'HH:mm:ss' }}</div>\n <div class=\"calendar-cell flex-grow-1\" *ngFor=\"let slot of timeslots.slots; let j = index\" #slot (mousedown)=\"onCreateEvent($event, slot)\" [attr.data-row]=\"i\" [attr.data-column]=\"j\"></div>\n </div>\n\n <!-- Events -->\n <ng-container *ngIf=\"(timeSlotDuration$ | async) as timeSlotDuration\">\n <ng-container *ngIf=\"(timelinedEventPartsForThisWeek$ | async) as partData\">\n <div *ngFor=\"let eventPart of partData.parts\" class=\"event p-0\"\n [style.top.px]=\"(eventPart.part | bsSecondsTodayOffset) / timeSlotDuration * weekOptions.unitHeight\"\n [style.height.px]=\"(eventPart.part | bsSecondsTimespan) / timeSlotDuration * weekOptions.unitHeight\"\n [style.left]=\"'calc(90px + ((100% - 90px) / 7 * ' + ((eventPart.part | dayOfWeek) - 1) + '))'\">\n <div class=\"event-inner\" [class.hover]=\"(hoveredEvent$ | async) === eventPart.part.event\"\n [style.width]=\"'calc(100% / ' + partData.total + ')'\"\n [style.height.px]=\"(eventPart.part | bsSecondsTimespan) / timeSlotDuration * weekOptions.unitHeight\"\n [style.margin-left]=\"'calc(100% / ' + partData.total + ' * ' + eventPart.index + ')'\">\n\n <div class=\"event-resize top\"\n *ngIf=\"eventPart.part.start === eventPart.part.event?.start\"\n (mousedown)=\"onStartResizeEvent(eventPart.part.event, 'top')\"></div>\n <div class=\"event-border\"></div>\n <div class=\"event-wrapper\" *ngIf=\"eventPart.part.event\"\n (mousedown)=\"onStartDragEvent(eventPart.part, $event)\"\n (mouseenter)=\"onHoverEvent(eventPart.part.event)\"\n (mouseleave)=\"onLeaveEvent(eventPart.part.event)\">\n <div class=\"event-bg\" [style.background-color]=\"eventPart.part.event.color\"></div>\n <div class=\"event-label\">{{ eventPart.part.event.description }}</div>\n </div>\n <div class=\"event-resize bottom\"\n *ngIf=\"eventPart.part.end === eventPart.part.event?.end\"\n (mousedown)=\"onStartResizeEvent(eventPart.part.event, 'bottom')\"></div>\n </div>\n </div>\n </ng-container>\n <ng-container *ngIf=\"(previewEventPartsForThisWeek$ | async) as previewPartData\">\n <div *ngFor=\"let eventPart of previewPartData\" class=\"event preview p-0\"\n [style.top.px]=\"(eventPart | bsSecondsTodayOffset) / timeSlotDuration * weekOptions.unitHeight\"\n [style.height.px]=\"(eventPart | bsSecondsTimespan) / timeSlotDuration * weekOptions.unitHeight\"\n [style.left]=\"'calc(90px + ((100% - 90px) / 7 * ' + ((eventPart | dayOfWeek) - 1) + '))'\">\n <div class=\"event-inner w-100\"\n [style.height.px]=\"(eventPart | bsSecondsTimespan) / timeSlotDuration * weekOptions.unitHeight\">\n </div>\n </div>\n </ng-container>\n </ng-container>\n </ng-container>\n </div>\n </div>\n</div>\n<div class=\"d-flex flex-column-100 overflow-y-auto mb-0 bg-white timeline\" *ngIf=\"(mode$ | async) === modes.timeline\">\n <div class=\"calendar-head d-flex\">\n <button class=\"btn flex-start\" (click)=\"onPreviousWeekOrMonth()\">\n <bs-icon [icon]=\"'chevron-left'\" class=\"px-0\"></bs-icon>\n </button>\n <div class=\"flex-grow-1 h3 py-2 mb-0 text-center\">{{ currentWeekOrMonth$ | async | date: 'MMMM yyyy' }}</div>\n <button class=\"btn flex-start\" (click)=\"onNextWeekOrMonth()\">\n <bs-icon [icon]=\"'chevron-right'\" class=\"px-0\"></bs-icon>\n </button>\n </div>\n \n <div class=\"calendar-body table-responsive overflow-x-auto\">\n <table class=\"table mb-0\">\n <ng-container *ngIf=\"(timeSlots$ | async) as timeSlots\">\n <tr>\n <td></td>\n <td *ngFor=\"let day of timeSlots\" [attr.colspan]=\"day.slots.length\" class=\"text-center px-2\">\n <span class=\"position-sticky day-label\">{{ day.stamp | date: 'd EE' }}</span>\n </td>\n </tr>\n <tr>\n <td></td>\n <ng-container *ngIf=\"(timelineOptions$ | async) as timelineOptions\">\n <ng-container *ngFor=\"let day of timeSlots\">\n <td *ngFor=\"let slot of day.slots\">\n <span class=\"d-block p-0 text-center\" [style.width.px]=\"timelineOptions.unitWidth\">\n {{ slot.start | date: 'HH:mm' }}\n </span>\n </td>\n </ng-container>\n </ng-container>\n </tr>\n <bs-resource-group-presenter *ngFor=\"let group of (resources$ | async)\" [resourceGroup]=\"group\" [timeSlots]=\"timeSlots\"></bs-resource-group-presenter>\n </ng-container>\n </table>\n </div>\n</div>", styles: [":host{display:block;border:1px solid #333;border-top-right-radius:10px;border-top-left-radius:10px;overflow:hidden}.calendar-head{background:#F7F7F7;color:#007aff}.tabel .calendar-head{flex:0 0 auto}.tabel .calendar-body{display:block;flex:1 1 auto}.week-schedule .calendar-head>div{padding-right:18px}.week-schedule .calendar-body{overflow-y:scroll;overflow-x:hidden}.week-schedule .calendar-body .calendar-cell{border-right:1px solid #DEE2E6;border-bottom:1px solid #DEE2E6;cursor:default}.week-schedule .calendar-body .calendar-cell.hover{border-top-width:3px}.week-schedule .calendar-left{width:90px}.week-schedule .event{z-index:5;width:calc((100% - 90px) / 7);height:100px;overflow:hidden;position:absolute;-webkit-user-select:none;user-select:none;pointer-events:none}.week-schedule .event.preview{background:#666;opacity:.6}.week-schedule .event .event-border{background:black;top:0;left:0;bottom:3px;width:3px;position:absolute;z-index:10;opacity:.3}.week-schedule .event .event-inner{position:relative;inset:0 5px 5px 0;cursor:move;pointer-events:all;overflow:hidden}.week-schedule .event .event-inner .event-wrapper{width:calc(100% - 2px);margin:1px auto 1px 0;height:calc(100% - 3px)}.week-schedule .event .event-inner .event-wrapper .event-bg{opacity:.5;height:100%;transition:opacity .15s ease-in-out}.week-schedule .event .event-inner .event-wrapper .event-label{position:absolute;top:0;font-size:12px;font-weight:600;padding:4px}.week-schedule .event .event-inner .event-resize{position:absolute;cursor:ns-resize;height:4px;left:0;right:0;z-index:400}.week-schedule .event .event-inner .event-resize.top{top:0}.week-schedule .event .event-inner .event-resize.bottom{bottom:0}.week-schedule .event .event-inner .event-resize:hover{background:#DDD}.week-schedule .event .event-inner.hover .event-bg{opacity:.7!important}@media (max-width: 767px){.week-schedule.tabel .calendar-head .calendar-head-cell{text-orientation:sideways;writing-mode:vertical-rl}}.timeline.tabel{flex-flow:column}.timeline .calendar-body .tabel{background-color:#f7f7f7}.timeline .calendar-body .tabel tr:first-child td{background-color:#fff;border:1px solid #000}.timeline .calendar-body .tabel tr:first-child td:first-child{min-width:10rem}.timeline .calendar-body .tabel tr:first-child span.day-label{left:0;right:0}.timeline .calendar-body .tabel tr:nth-child(2) td{border-width:1px;border-color:inherit}.timeline .calendar-body .tabel>:not(:first-child){border-top:none!important}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.BsIconComponent, selector: "bs-icon", inputs: ["icon"] }, { kind: "component", type: ResourceGroupPresenterComponent, selector: "bs-resource-group-presenter", inputs: ["level", "resourceGroup", "timeSlots", "isExpanded"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.DatePipe, name: "date" }, { kind: "pipe", type: BsSecondsTimespanPipe, name: "bsSecondsTimespan" }, { kind: "pipe", type: BsSecondsTodayOffsetPipe, name: "bsSecondsTodayOffset" }, { kind: "pipe", type: DayOfWeekPipe, name: "dayOfWeek" }] });
|
|
712
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BsSchedulerComponent, decorators: [{
|
|
713
713
|
type: Component,
|
|
714
714
|
args: [{ selector: 'bs-scheduler', template: "<div class=\"d-flex flex-column w-100 overflow-y-auto mb-0 week-schedule\" [style.max-height.px]=\"null\"\n *ngIf=\"(mode$ | async) === modes.week\">\n <div class=\"calendar-head\">\n <div class=\"w-100 d-flex flex-row\">\n <div class=\"d-flex calendar-left justify-content-between\">\n <button class=\"btn btn-default flex-start\" (click)=\"onPreviousWeekOrMonth()\">\n <bs-icon [icon]=\"'chevron-left'\" class=\"px-0\"></bs-icon>\n </button>\n <button class=\"btn btn-default flex-end\" (click)=\"onNextWeekOrMonth()\">\n <bs-icon [icon]=\"'chevron-right'\" class=\"px-0\"></bs-icon>\n </button>\n </div>\n <div class=\"flex-grow-1 calendar-head-cell\" *ngFor=\"let day of (shownDays$ | async)\">\n <span class=\"d-block col-form-label text-center text-nowrap\">\n <span>{{ day | date: 'dd-MM' }}</span><span class=\"d-none d-lg-inline-block\">-{{ day | date: 'yyyy' }}</span>\n </span>\n </div>\n </div>\n </div>\n <div class=\"calendar-body\" [style.height.px]=\"maxInnerHeight\">\n <div class=\"position-relative\" *ngIf=\"(timeSlots$ | async) as row\">\n <ng-container *ngIf=\"(weekOptions$ | async) as weekOptions\">\n <!-- Timeslots -->\n <div *ngFor=\"let timeslots of row; let i = index\" class=\"d-flex flex-row p-0 timeslot\" [style.height.px]=\"weekOptions.unitHeight\">\n <div class=\"calendar-cell calendar-left align-top px-2 py-0\">{{ timeslots.slots[0].start | date: 'HH:mm:ss' }}</div>\n <div class=\"calendar-cell flex-grow-1\" *ngFor=\"let slot of timeslots.slots; let j = index\" #slot (mousedown)=\"onCreateEvent($event, slot)\" [attr.data-row]=\"i\" [attr.data-column]=\"j\"></div>\n </div>\n\n <!-- Events -->\n <ng-container *ngIf=\"(timeSlotDuration$ | async) as timeSlotDuration\">\n <ng-container *ngIf=\"(timelinedEventPartsForThisWeek$ | async) as partData\">\n <div *ngFor=\"let eventPart of partData.parts\" class=\"event p-0\"\n [style.top.px]=\"(eventPart.part | bsSecondsTodayOffset) / timeSlotDuration * weekOptions.unitHeight\"\n [style.height.px]=\"(eventPart.part | bsSecondsTimespan) / timeSlotDuration * weekOptions.unitHeight\"\n [style.left]=\"'calc(90px + ((100% - 90px) / 7 * ' + ((eventPart.part | dayOfWeek) - 1) + '))'\">\n <div class=\"event-inner\" [class.hover]=\"(hoveredEvent$ | async) === eventPart.part.event\"\n [style.width]=\"'calc(100% / ' + partData.total + ')'\"\n [style.height.px]=\"(eventPart.part | bsSecondsTimespan) / timeSlotDuration * weekOptions.unitHeight\"\n [style.margin-left]=\"'calc(100% / ' + partData.total + ' * ' + eventPart.index + ')'\">\n\n <div class=\"event-resize top\"\n *ngIf=\"eventPart.part.start === eventPart.part.event?.start\"\n (mousedown)=\"onStartResizeEvent(eventPart.part.event, 'top')\"></div>\n <div class=\"event-border\"></div>\n <div class=\"event-wrapper\" *ngIf=\"eventPart.part.event\"\n (mousedown)=\"onStartDragEvent(eventPart.part, $event)\"\n (mouseenter)=\"onHoverEvent(eventPart.part.event)\"\n (mouseleave)=\"onLeaveEvent(eventPart.part.event)\">\n <div class=\"event-bg\" [style.background-color]=\"eventPart.part.event.color\"></div>\n <div class=\"event-label\">{{ eventPart.part.event.description }}</div>\n </div>\n <div class=\"event-resize bottom\"\n *ngIf=\"eventPart.part.end === eventPart.part.event?.end\"\n (mousedown)=\"onStartResizeEvent(eventPart.part.event, 'bottom')\"></div>\n </div>\n </div>\n </ng-container>\n <ng-container *ngIf=\"(previewEventPartsForThisWeek$ | async) as previewPartData\">\n <div *ngFor=\"let eventPart of previewPartData\" class=\"event preview p-0\"\n [style.top.px]=\"(eventPart | bsSecondsTodayOffset) / timeSlotDuration * weekOptions.unitHeight\"\n [style.height.px]=\"(eventPart | bsSecondsTimespan) / timeSlotDuration * weekOptions.unitHeight\"\n [style.left]=\"'calc(90px + ((100% - 90px) / 7 * ' + ((eventPart | dayOfWeek) - 1) + '))'\">\n <div class=\"event-inner w-100\"\n [style.height.px]=\"(eventPart | bsSecondsTimespan) / timeSlotDuration * weekOptions.unitHeight\">\n </div>\n </div>\n </ng-container>\n </ng-container>\n </ng-container>\n </div>\n </div>\n</div>\n<div class=\"d-flex flex-column-100 overflow-y-auto mb-0 bg-white timeline\" *ngIf=\"(mode$ | async) === modes.timeline\">\n <div class=\"calendar-head d-flex\">\n <button class=\"btn flex-start\" (click)=\"onPreviousWeekOrMonth()\">\n <bs-icon [icon]=\"'chevron-left'\" class=\"px-0\"></bs-icon>\n </button>\n <div class=\"flex-grow-1 h3 py-2 mb-0 text-center\">{{ currentWeekOrMonth$ | async | date: 'MMMM yyyy' }}</div>\n <button class=\"btn flex-start\" (click)=\"onNextWeekOrMonth()\">\n <bs-icon [icon]=\"'chevron-right'\" class=\"px-0\"></bs-icon>\n </button>\n </div>\n \n <div class=\"calendar-body table-responsive overflow-x-auto\">\n <table class=\"table mb-0\">\n <ng-container *ngIf=\"(timeSlots$ | async) as timeSlots\">\n <tr>\n <td></td>\n <td *ngFor=\"let day of timeSlots\" [attr.colspan]=\"day.slots.length\" class=\"text-center px-2\">\n <span class=\"position-sticky day-label\">{{ day.stamp | date: 'd EE' }}</span>\n </td>\n </tr>\n <tr>\n <td></td>\n <ng-container *ngIf=\"(timelineOptions$ | async) as timelineOptions\">\n <ng-container *ngFor=\"let day of timeSlots\">\n <td *ngFor=\"let slot of day.slots\">\n <span class=\"d-block p-0 text-center\" [style.width.px]=\"timelineOptions.unitWidth\">\n {{ slot.start | date: 'HH:mm' }}\n </span>\n </td>\n </ng-container>\n </ng-container>\n </tr>\n <bs-resource-group-presenter *ngFor=\"let group of (resources$ | async)\" [resourceGroup]=\"group\" [timeSlots]=\"timeSlots\"></bs-resource-group-presenter>\n </ng-container>\n </table>\n </div>\n</div>", styles: [":host{display:block;border:1px solid #333;border-top-right-radius:10px;border-top-left-radius:10px;overflow:hidden}.calendar-head{background:#F7F7F7;color:#007aff}.tabel .calendar-head{flex:0 0 auto}.tabel .calendar-body{display:block;flex:1 1 auto}.week-schedule .calendar-head>div{padding-right:18px}.week-schedule .calendar-body{overflow-y:scroll;overflow-x:hidden}.week-schedule .calendar-body .calendar-cell{border-right:1px solid #DEE2E6;border-bottom:1px solid #DEE2E6;cursor:default}.week-schedule .calendar-body .calendar-cell.hover{border-top-width:3px}.week-schedule .calendar-left{width:90px}.week-schedule .event{z-index:5;width:calc((100% - 90px) / 7);height:100px;overflow:hidden;position:absolute;-webkit-user-select:none;user-select:none;pointer-events:none}.week-schedule .event.preview{background:#666;opacity:.6}.week-schedule .event .event-border{background:black;top:0;left:0;bottom:3px;width:3px;position:absolute;z-index:10;opacity:.3}.week-schedule .event .event-inner{position:relative;inset:0 5px 5px 0;cursor:move;pointer-events:all;overflow:hidden}.week-schedule .event .event-inner .event-wrapper{width:calc(100% - 2px);margin:1px auto 1px 0;height:calc(100% - 3px)}.week-schedule .event .event-inner .event-wrapper .event-bg{opacity:.5;height:100%;transition:opacity .15s ease-in-out}.week-schedule .event .event-inner .event-wrapper .event-label{position:absolute;top:0;font-size:12px;font-weight:600;padding:4px}.week-schedule .event .event-inner .event-resize{position:absolute;cursor:ns-resize;height:4px;left:0;right:0;z-index:400}.week-schedule .event .event-inner .event-resize.top{top:0}.week-schedule .event .event-inner .event-resize.bottom{bottom:0}.week-schedule .event .event-inner .event-resize:hover{background:#DDD}.week-schedule .event .event-inner.hover .event-bg{opacity:.7!important}@media (max-width: 767px){.week-schedule.tabel .calendar-head .calendar-head-cell{text-orientation:sideways;writing-mode:vertical-rl}}.timeline.tabel{flex-flow:column}.timeline .calendar-body .tabel{background-color:#f7f7f7}.timeline .calendar-body .tabel tr:first-child td{background-color:#fff;border:1px solid #000}.timeline .calendar-body .tabel tr:first-child td:first-child{min-width:10rem}.timeline .calendar-body .tabel tr:first-child span.day-label{left:0;right:0}.timeline .calendar-body .tabel tr:nth-child(2) td{border-width:1px;border-color:inherit}.timeline .calendar-body .tabel>:not(:first-child){border-top:none!important}\n"] }]
|
|
715
715
|
}], ctorParameters: function () { return [{ type: i1.BsCalendarMonthService }, { type: BsTimelineService }]; }, propDecorators: { timeSlotElements: [{
|
|
@@ -760,9 +760,9 @@ class DateOffsetPipe {
|
|
|
760
760
|
return (value.start.getTime() - today.getTime()) / 1000;
|
|
761
761
|
}
|
|
762
762
|
}
|
|
763
|
-
DateOffsetPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
764
|
-
DateOffsetPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.
|
|
765
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
763
|
+
DateOffsetPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DateOffsetPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
764
|
+
DateOffsetPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: DateOffsetPipe, name: "dateOffset" });
|
|
765
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DateOffsetPipe, decorators: [{
|
|
766
766
|
type: Pipe,
|
|
767
767
|
args: [{
|
|
768
768
|
name: 'dateOffset'
|
|
@@ -771,8 +771,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
|
|
|
771
771
|
|
|
772
772
|
class BsSchedulerModule {
|
|
773
773
|
}
|
|
774
|
-
BsSchedulerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
775
|
-
BsSchedulerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.
|
|
774
|
+
BsSchedulerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BsSchedulerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
775
|
+
BsSchedulerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: BsSchedulerModule, declarations: [BsSchedulerComponent,
|
|
776
776
|
BsSecondsTimespanPipe,
|
|
777
777
|
BsSecondsTodayOffsetPipe,
|
|
778
778
|
DateOffsetPipe,
|
|
@@ -780,9 +780,9 @@ BsSchedulerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versi
|
|
|
780
780
|
ResourceGroupPresenterComponent], imports: [CommonModule,
|
|
781
781
|
BsIconModule], exports: [BsSchedulerComponent,
|
|
782
782
|
ResourceGroupPresenterComponent] });
|
|
783
|
-
BsSchedulerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.
|
|
783
|
+
BsSchedulerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BsSchedulerModule, imports: [CommonModule,
|
|
784
784
|
BsIconModule] });
|
|
785
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
785
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BsSchedulerModule, decorators: [{
|
|
786
786
|
type: NgModule,
|
|
787
787
|
args: [{
|
|
788
788
|
declarations: [
|