@mintplayer/ng-bootstrap 15.22.3 → 15.23.1
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/dock/src/dock-pane-renderer/dock-pane-renderer.component.d.ts +3 -1
- package/dock/src/dock.module.d.ts +2 -1
- 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 +3 -3
- 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/dock/src/dock/dock.component.mjs +5 -5
- package/esm2020/dock/src/dock-pane-renderer/dock-pane-renderer.component.mjs +9 -6
- package/esm2020/dock/src/dock-panel/dock-panel.component.mjs +3 -3
- package/esm2020/dock/src/dock-panel-header/dock-panel-header.component.mjs +3 -3
- package/esm2020/dock/src/dock.module.mjs +12 -8
- 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/instance-of/src/directives/instanceof-case.directive.mjs +3 -3
- package/esm2020/instance-of/src/directives/instanceof-default.directive.mjs +3 -3
- package/esm2020/instance-of/src/directives/instanceof.directive.mjs +3 -3
- package/esm2020/instance-of/src/instance-of.module.mjs +4 -4
- package/esm2020/instance-of/src/pipes/instance-of.pipe.mjs +3 -3
- 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/let/directive/let.directive.mjs +3 -3
- package/esm2020/let/let.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/resizable/index.mjs +2 -0
- package/esm2020/resizable/mintplayer-ng-bootstrap-resizable.mjs +5 -0
- package/esm2020/resizable/src/index.mjs +6 -0
- package/esm2020/resizable/src/interfaces/index.mjs +3 -0
- package/esm2020/resizable/src/interfaces/pointer-data.mjs +2 -0
- package/esm2020/resizable/src/interfaces/resize-action.mjs +2 -0
- package/esm2020/resizable/src/providers/index.mjs +2 -0
- package/esm2020/resizable/src/providers/resizable.provider.mjs +3 -0
- package/esm2020/resizable/src/resizable/resizable.component.mjs +45 -0
- package/esm2020/resizable/src/resizable.module.mjs +29 -0
- package/esm2020/resizable/src/resize-glyph/resize-glyph.directive.mjs +173 -0
- 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/splitter/src/element-at/element-at.pipe.mjs +3 -3
- package/esm2020/splitter/src/split-panel/split-panel.component.mjs +3 -3
- package/esm2020/splitter/src/splitter/splitter.component.mjs +3 -3
- package/esm2020/splitter/src/splitter.module.mjs +4 -4
- package/esm2020/tab-control/src/tab-control/tab-control.component.mjs +17 -5
- 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/tab-control/src/tab-page-header/tab-page-header.directive.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/user-agent.directive.mjs +3 -3
- package/esm2020/user-agent/src/user-agent.module.mjs +4 -4
- package/fesm2015/mintplayer-ng-bootstrap-accordion.mjs +13 -13
- package/fesm2015/mintplayer-ng-bootstrap-alert.mjs +10 -10
- package/fesm2015/mintplayer-ng-bootstrap-badge.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-breadcrumb.mjs +10 -10
- package/fesm2015/mintplayer-ng-bootstrap-button-group.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-button-type.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-calendar-month.mjs +17 -17
- package/fesm2015/mintplayer-ng-bootstrap-calendar.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-card.mjs +10 -10
- package/fesm2015/mintplayer-ng-bootstrap-carousel.mjs +10 -10
- package/fesm2015/mintplayer-ng-bootstrap-close.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-code-snippet.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-context-menu.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-copy.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-datatable.mjs +13 -13
- package/fesm2015/mintplayer-ng-bootstrap-datepicker.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-dock.mjs +38 -32
- package/fesm2015/mintplayer-ng-bootstrap-dock.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-dropdown-divider.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-dropdown-menu.mjs +10 -10
- package/fesm2015/mintplayer-ng-bootstrap-dropdown.mjs +13 -13
- package/fesm2015/mintplayer-ng-bootstrap-enhanced-paste.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-enum.mjs +3 -3
- package/fesm2015/mintplayer-ng-bootstrap-file-upload.mjs +13 -13
- package/fesm2015/mintplayer-ng-bootstrap-floating-labels.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-for.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-form.mjs +13 -13
- package/fesm2015/mintplayer-ng-bootstrap-grid.mjs +16 -16
- package/fesm2015/mintplayer-ng-bootstrap-has-overlay.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-icon.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-input-group.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-instance-of.mjs +16 -16
- package/fesm2015/mintplayer-ng-bootstrap-lazy-loading.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-let.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-list-group.mjs +10 -10
- package/fesm2015/mintplayer-ng-bootstrap-markdown.mjs +16 -16
- package/fesm2015/mintplayer-ng-bootstrap-modal.mjs +25 -25
- package/fesm2015/mintplayer-ng-bootstrap-multiselect.mjs +16 -16
- package/fesm2015/mintplayer-ng-bootstrap-navbar.mjs +34 -34
- package/fesm2015/mintplayer-ng-bootstrap-navigation-lock.mjs +10 -10
- package/fesm2015/mintplayer-ng-bootstrap-no-noscript.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-offcanvas.mjs +25 -25
- package/fesm2015/mintplayer-ng-bootstrap-ordinal-number.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-pagination.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-placeholder.mjs +10 -10
- package/fesm2015/mintplayer-ng-bootstrap-popover.mjs +16 -16
- package/fesm2015/mintplayer-ng-bootstrap-progress-bar.mjs +10 -10
- package/fesm2015/mintplayer-ng-bootstrap-range.mjs +10 -10
- package/fesm2015/mintplayer-ng-bootstrap-rating.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-resizable.mjs +239 -0
- package/fesm2015/mintplayer-ng-bootstrap-resizable.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-scheduler.mjs +25 -25
- package/fesm2015/mintplayer-ng-bootstrap-scrollspy.mjs +13 -13
- package/fesm2015/mintplayer-ng-bootstrap-select.mjs +13 -13
- package/fesm2015/mintplayer-ng-bootstrap-select2.mjs +10 -10
- package/fesm2015/mintplayer-ng-bootstrap-snackbar.mjs +13 -13
- package/fesm2015/mintplayer-ng-bootstrap-spinner.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-splitter.mjs +13 -13
- package/fesm2015/mintplayer-ng-bootstrap-tab-control.mjs +26 -14
- 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-timepicker.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-toast.mjs +25 -25
- package/fesm2015/mintplayer-ng-bootstrap-toggle-button.mjs +13 -13
- package/fesm2015/mintplayer-ng-bootstrap-tooltip.mjs +10 -10
- package/fesm2015/mintplayer-ng-bootstrap-typeahead.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap-user-agent.mjs +7 -7
- package/fesm2015/mintplayer-ng-bootstrap.mjs +21 -21
- package/fesm2020/mintplayer-ng-bootstrap-accordion.mjs +13 -13
- package/fesm2020/mintplayer-ng-bootstrap-alert.mjs +10 -10
- package/fesm2020/mintplayer-ng-bootstrap-badge.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-breadcrumb.mjs +10 -10
- package/fesm2020/mintplayer-ng-bootstrap-button-group.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-button-type.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-calendar-month.mjs +17 -17
- package/fesm2020/mintplayer-ng-bootstrap-calendar.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-card.mjs +10 -10
- package/fesm2020/mintplayer-ng-bootstrap-carousel.mjs +10 -10
- package/fesm2020/mintplayer-ng-bootstrap-close.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-code-snippet.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-context-menu.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-copy.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-datatable.mjs +13 -13
- package/fesm2020/mintplayer-ng-bootstrap-datepicker.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-dock.mjs +38 -32
- package/fesm2020/mintplayer-ng-bootstrap-dock.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-dropdown-divider.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-dropdown-menu.mjs +10 -10
- package/fesm2020/mintplayer-ng-bootstrap-dropdown.mjs +13 -13
- package/fesm2020/mintplayer-ng-bootstrap-enhanced-paste.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-enum.mjs +3 -3
- package/fesm2020/mintplayer-ng-bootstrap-file-upload.mjs +13 -13
- package/fesm2020/mintplayer-ng-bootstrap-floating-labels.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-for.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-form.mjs +13 -13
- package/fesm2020/mintplayer-ng-bootstrap-grid.mjs +16 -16
- package/fesm2020/mintplayer-ng-bootstrap-has-overlay.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-icon.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-input-group.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-instance-of.mjs +16 -16
- package/fesm2020/mintplayer-ng-bootstrap-lazy-loading.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-let.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-list-group.mjs +10 -10
- package/fesm2020/mintplayer-ng-bootstrap-markdown.mjs +16 -16
- package/fesm2020/mintplayer-ng-bootstrap-modal.mjs +25 -25
- package/fesm2020/mintplayer-ng-bootstrap-multiselect.mjs +16 -16
- package/fesm2020/mintplayer-ng-bootstrap-navbar.mjs +34 -34
- package/fesm2020/mintplayer-ng-bootstrap-navigation-lock.mjs +10 -10
- package/fesm2020/mintplayer-ng-bootstrap-no-noscript.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-offcanvas.mjs +25 -25
- package/fesm2020/mintplayer-ng-bootstrap-ordinal-number.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-pagination.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-placeholder.mjs +10 -10
- package/fesm2020/mintplayer-ng-bootstrap-popover.mjs +16 -16
- package/fesm2020/mintplayer-ng-bootstrap-progress-bar.mjs +10 -10
- package/fesm2020/mintplayer-ng-bootstrap-range.mjs +10 -10
- package/fesm2020/mintplayer-ng-bootstrap-rating.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-resizable.mjs +247 -0
- package/fesm2020/mintplayer-ng-bootstrap-resizable.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-scheduler.mjs +25 -25
- package/fesm2020/mintplayer-ng-bootstrap-scrollspy.mjs +13 -13
- package/fesm2020/mintplayer-ng-bootstrap-select.mjs +13 -13
- package/fesm2020/mintplayer-ng-bootstrap-select2.mjs +10 -10
- package/fesm2020/mintplayer-ng-bootstrap-snackbar.mjs +13 -13
- package/fesm2020/mintplayer-ng-bootstrap-spinner.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-splitter.mjs +13 -13
- package/fesm2020/mintplayer-ng-bootstrap-tab-control.mjs +26 -14
- 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-timepicker.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-toast.mjs +25 -25
- package/fesm2020/mintplayer-ng-bootstrap-toggle-button.mjs +13 -13
- package/fesm2020/mintplayer-ng-bootstrap-tooltip.mjs +10 -10
- package/fesm2020/mintplayer-ng-bootstrap-typeahead.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap-user-agent.mjs +7 -7
- package/fesm2020/mintplayer-ng-bootstrap.mjs +21 -21
- package/package.json +10 -3
- package/resizable/index.d.ts +1 -0
- package/resizable/src/index.d.ts +5 -0
- package/resizable/src/interfaces/index.d.ts +2 -0
- package/resizable/src/interfaces/pointer-data.d.ts +5 -0
- package/resizable/src/interfaces/resize-action.d.ts +16 -0
- package/resizable/src/providers/index.d.ts +1 -0
- package/resizable/src/providers/resizable.provider.d.ts +3 -0
- package/resizable/src/resizable/resizable.component.d.ts +16 -0
- package/resizable/src/resizable.module.d.ts +9 -0
- package/resizable/src/resize-glyph/resize-glyph.directive.d.ts +24 -0
- package/src/styles/utilities/cursor.scss +2 -2
- package/tab-control/src/tab-control/tab-control.component.d.ts +5 -1
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { Directive, HostBinding, HostListener, Inject, Input } from '@angular/core';
|
|
2
|
+
import { RESIZABLE } from '../providers/resizable.provider';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class BsResizeGlyphDirective {
|
|
5
|
+
constructor(resizable) {
|
|
6
|
+
this.positions = '';
|
|
7
|
+
this.glyphClass = true;
|
|
8
|
+
this.activeClass = false;
|
|
9
|
+
this.isBusy = false;
|
|
10
|
+
this.resizable = resizable;
|
|
11
|
+
}
|
|
12
|
+
set bsResizeGlyph(value) {
|
|
13
|
+
this.positions = value.join(' ');
|
|
14
|
+
}
|
|
15
|
+
onMouseDown(ev) {
|
|
16
|
+
ev.preventDefault();
|
|
17
|
+
this.onPointerDown();
|
|
18
|
+
}
|
|
19
|
+
onTouchStart(ev) {
|
|
20
|
+
ev.preventDefault();
|
|
21
|
+
this.onPointerDown();
|
|
22
|
+
}
|
|
23
|
+
onMouseMove(ev) {
|
|
24
|
+
this.onPointerMove({ clientX: ev.clientX, clientY: ev.clientY, preventDefault: () => ev.preventDefault() });
|
|
25
|
+
}
|
|
26
|
+
onTouchMove(ev) {
|
|
27
|
+
if (ev.touches.length === 1) {
|
|
28
|
+
this.onPointerMove({ clientX: ev.touches[0].clientX, clientY: ev.touches[0].clientY, preventDefault: () => ev.preventDefault() });
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
onMouseUp(ev) {
|
|
32
|
+
this.onPointerUp();
|
|
33
|
+
}
|
|
34
|
+
onTouchEnd(ev) {
|
|
35
|
+
this.onPointerUp();
|
|
36
|
+
}
|
|
37
|
+
onPointerDown() {
|
|
38
|
+
let action = {};
|
|
39
|
+
const rect = this.resizable.element.nativeElement.getBoundingClientRect();
|
|
40
|
+
const styles = window.getComputedStyle(this.resizable.element.nativeElement);
|
|
41
|
+
const marginLeft = parseFloat(styles.marginLeft.slice(0, -2));
|
|
42
|
+
const marginRight = parseFloat(styles.marginRight.slice(0, -2));
|
|
43
|
+
const marginTop = parseFloat(styles.marginTop.slice(0, -2));
|
|
44
|
+
const marginBottom = parseFloat(styles.marginBottom.slice(0, -2));
|
|
45
|
+
if (this.positions?.includes('start')) {
|
|
46
|
+
action = {
|
|
47
|
+
...action,
|
|
48
|
+
end: {
|
|
49
|
+
edge: rect.right,
|
|
50
|
+
size: rect.width,
|
|
51
|
+
margin: marginRight,
|
|
52
|
+
dragMargin: marginLeft
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
if (this.positions?.includes('end')) {
|
|
57
|
+
action = {
|
|
58
|
+
...action,
|
|
59
|
+
start: {
|
|
60
|
+
edge: rect.left,
|
|
61
|
+
size: rect.width,
|
|
62
|
+
margin: marginLeft,
|
|
63
|
+
dragMargin: marginRight
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
if (this.positions?.includes('top')) {
|
|
68
|
+
action = {
|
|
69
|
+
...action,
|
|
70
|
+
bottom: {
|
|
71
|
+
edge: rect.bottom,
|
|
72
|
+
size: rect.height,
|
|
73
|
+
margin: marginBottom,
|
|
74
|
+
dragMargin: marginTop
|
|
75
|
+
},
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
if (this.positions?.includes('bottom')) {
|
|
79
|
+
action = {
|
|
80
|
+
...action,
|
|
81
|
+
top: {
|
|
82
|
+
edge: rect.top,
|
|
83
|
+
size: rect.height,
|
|
84
|
+
margin: marginTop,
|
|
85
|
+
dragMargin: marginBottom
|
|
86
|
+
},
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
this.resizable.resizeAction = action;
|
|
90
|
+
this.activeClass = true;
|
|
91
|
+
console.log('resize', action);
|
|
92
|
+
}
|
|
93
|
+
onPointerMove(ev) {
|
|
94
|
+
if (this.resizable.resizeAction && !this.isBusy) {
|
|
95
|
+
ev.preventDefault();
|
|
96
|
+
this.isBusy = true;
|
|
97
|
+
const rct = this.resizable.element.nativeElement.getBoundingClientRect();
|
|
98
|
+
// console.log('position', ev);
|
|
99
|
+
if (this.resizable.resizeAction.start && this.positions?.includes('end')) {
|
|
100
|
+
// Right glyph
|
|
101
|
+
const initalMargin = this.resizable.marginRight ?? 0;
|
|
102
|
+
const x = (ev.clientX < rct.left + 10) ? rct.left + 10 : ev.clientX;
|
|
103
|
+
this.resizable.marginRight = initalMargin - (x - rct.right);
|
|
104
|
+
}
|
|
105
|
+
else if (this.resizable.resizeAction.end && this.positions?.includes('start')) {
|
|
106
|
+
// Left glyph
|
|
107
|
+
const initalMargin = this.resizable.marginLeft ?? 0;
|
|
108
|
+
const x = (ev.clientX > rct.right - 10) ? rct.right - 10 : ev.clientX;
|
|
109
|
+
this.resizable.marginLeft = initalMargin + x - rct.left;
|
|
110
|
+
}
|
|
111
|
+
if (this.resizable.resizeAction.top && this.positions?.includes('bottom')) {
|
|
112
|
+
// Bottom glyph
|
|
113
|
+
const initalMargin = this.resizable.marginBottom ?? 0;
|
|
114
|
+
const y = (ev.clientY < rct.top + 10) ? rct.top + 10 : ev.clientY;
|
|
115
|
+
this.resizable.height = y - rct.top;
|
|
116
|
+
this.resizable.marginBottom = initalMargin - (y - rct.bottom);
|
|
117
|
+
}
|
|
118
|
+
else if (this.resizable.resizeAction.bottom && this.positions?.includes('top')) {
|
|
119
|
+
// Top glyph
|
|
120
|
+
const initalMargin = this.resizable.marginTop ?? 0;
|
|
121
|
+
const y = (ev.clientY > rct.bottom - 10) ? rct.bottom - 10 : ev.clientY;
|
|
122
|
+
this.resizable.height = rct.bottom - y;
|
|
123
|
+
this.resizable.marginTop = initalMargin + y - rct.top;
|
|
124
|
+
}
|
|
125
|
+
this.isBusy = false;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
onPointerUp() {
|
|
129
|
+
this.resizable.resizeAction = undefined;
|
|
130
|
+
this.activeClass = false;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
BsResizeGlyphDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BsResizeGlyphDirective, deps: [{ token: RESIZABLE }], target: i0.ɵɵFactoryTarget.Directive });
|
|
134
|
+
BsResizeGlyphDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.6", type: BsResizeGlyphDirective, selector: "[bsResizeGlyph]", inputs: { bsResizeGlyph: "bsResizeGlyph" }, host: { listeners: { "mousedown": "onMouseDown($event)", "touchstart": "onTouchStart($event)", "document:mousemove": "onMouseMove($event)", "touchmove": "onTouchMove($event)", "document:mouseup": "onMouseUp($event)", "touchend": "onTouchEnd($event)" }, properties: { "class": "this.positions", "class.glyph": "this.glyphClass", "class.active": "this.activeClass" } }, ngImport: i0 });
|
|
135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BsResizeGlyphDirective, decorators: [{
|
|
136
|
+
type: Directive,
|
|
137
|
+
args: [{
|
|
138
|
+
selector: '[bsResizeGlyph]'
|
|
139
|
+
}]
|
|
140
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
141
|
+
type: Inject,
|
|
142
|
+
args: [RESIZABLE]
|
|
143
|
+
}] }]; }, propDecorators: { positions: [{
|
|
144
|
+
type: HostBinding,
|
|
145
|
+
args: ['class']
|
|
146
|
+
}], glyphClass: [{
|
|
147
|
+
type: HostBinding,
|
|
148
|
+
args: ['class.glyph']
|
|
149
|
+
}], activeClass: [{
|
|
150
|
+
type: HostBinding,
|
|
151
|
+
args: ['class.active']
|
|
152
|
+
}], bsResizeGlyph: [{
|
|
153
|
+
type: Input
|
|
154
|
+
}], onMouseDown: [{
|
|
155
|
+
type: HostListener,
|
|
156
|
+
args: ['mousedown', ['$event']]
|
|
157
|
+
}], onTouchStart: [{
|
|
158
|
+
type: HostListener,
|
|
159
|
+
args: ['touchstart', ['$event']]
|
|
160
|
+
}], onMouseMove: [{
|
|
161
|
+
type: HostListener,
|
|
162
|
+
args: ['document:mousemove', ['$event']]
|
|
163
|
+
}], onTouchMove: [{
|
|
164
|
+
type: HostListener,
|
|
165
|
+
args: ['touchmove', ['$event']]
|
|
166
|
+
}], onMouseUp: [{
|
|
167
|
+
type: HostListener,
|
|
168
|
+
args: ['document:mouseup', ['$event']]
|
|
169
|
+
}], onTouchEnd: [{
|
|
170
|
+
type: HostListener,
|
|
171
|
+
args: ['touchend', ['$event']]
|
|
172
|
+
}] } });
|
|
173
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzaXplLWdseXBoLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvbWludHBsYXllci1uZy1ib290c3RyYXAvcmVzaXphYmxlL3NyYy9yZXNpemUtZ2x5cGgvcmVzaXplLWdseXBoLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxZQUFZLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBd0IsTUFBTSxlQUFlLENBQUM7QUFLMUcsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGlDQUFpQyxDQUFDOztBQUs1RCxNQUFNLE9BQU8sc0JBQXNCO0lBR2pDLFlBQStCLFNBQWM7UUFJdkIsY0FBUyxHQUFHLEVBQUUsQ0FBQztRQUNULGVBQVUsR0FBRyxJQUFJLENBQUM7UUFDakIsZ0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BkcmFnTWFyZ2luOiBtYXJnaW5MZWZ0XG4gICAgICAgIH0sXG4gICAgICB9O1xuICAgIH1cbiAgICBpZiAodGhpcy5wb3NpdGlvbnM/LmluY2x1ZGVzKCdlbmQnKSkge1xuICAgICAgYWN0aW9uID0ge1xuICAgICAgICAuLi5hY3Rpb24sXG4gICAgICAgIHN0YXJ0OiB7XG4gICAgICAgICAgZWRnZTogcmVjdC5sZWZ0LFxuICAgICAgICAgIHNpemU6IHJlY3Qud2lkdGgsXG4gICAgICAgICAgbWFyZ2luOiBtYXJnaW5MZWZ0LFxuICAgICAgICAgIGRyYWdNYXJnaW46IG1hcmdpblJpZ2h0XG4gICAgICAgIH0sXG4gICAgICB9O1xuICAgIH1cbiAgICBpZiAodGhpcy5wb3NpdGlvbnM/LmluY2x1ZGVzKCd0b3AnKSkge1xuICAgICAgYWN0aW9uID0ge1xuICAgICAgICAuLi5hY3Rpb24sXG4gICAgICAgIGJvdHRvbToge1xuICAgICAgICAgIGVkZ2U6IHJlY3QuYm90dG9tLFxuICAgICAgICAgIHNpemU6IHJlY3QuaGVpZ2h0LFxuICAgICAgICAgIG1hcmdpbjogbWFyZ2luQm90dG9tLFxuICAgICAgICAgIGRyYWdNYXJnaW46IG1hcmdpblRvcFxuICAgICAgICB9LFxuICAgICAgfTtcbiAgICB9XG4gICAgaWYgKHRoaXMucG9zaXRpb25zPy5pbmNsdWRlcygnYm90dG9tJykpIHtcbiAgICAgIGFjdGlvbiA9IHtcbiAgICAgICAgLi4uYWN0aW9uLFxuICAgICAgICB0b3A6IHtcbiAgICAgICAgICBlZGdlOiByZWN0LnRvcCxcbiAgICAgICAgICBzaXplOiByZWN0LmhlaWdodCxcbiAgICAgICAgICBtYXJnaW46IG1hcmdpblRvcCxcbiAgICAgICAgICBkcmFnTWFyZ2luOiBtYXJnaW5Cb3R0b21cbiAgICAgICAgfSxcbiAgICAgIH07XG4gICAgfVxuXG4gICAgdGhpcy5yZXNpemFibGUucmVzaXplQWN0aW9uID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G4gICAgICAgIHRoaXMucmVzaXphYmxlLmhlaWdodCA9IHJjdC5ib3R0b20gLSB5O1xuICAgICAgICB0aGlzLnJlc2l6YWJsZS5tYXJnaW5Ub3AgPSBpbml0YWxNYXJnaW4gKyB5IC0gcmN0LnRvcDtcbiAgICAgIH1cbiAgICAgIHRoaXMuaXNCdXN5ID0gZmFsc2U7XG4gICAgfVxuICB9XG4gIFxuICBvblBvaW50ZXJVcCgpIHtcbiAgICB0aGlzLnJlc2l6YWJsZS5yZXNpemVBY3Rpb24gPSB1bmRlZmluZWQ7XG4gICAgdGhpcy5hY3RpdmVDbGFzcyA9IGZhbHNlO1xuICB9XG59XG4iXX0=
|
|
@@ -68,9 +68,9 @@ export class ResourceGroupPresenterComponent {
|
|
|
68
68
|
this.destroyed$.next(true);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
ResourceGroupPresenterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
72
|
-
ResourceGroupPresenterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.
|
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
71
|
+
ResourceGroupPresenterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: ResourceGroupPresenterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
72
|
+
ResourceGroupPresenterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", 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: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.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: i1.AsyncPipe, name: "async" }] });
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: ResourceGroupPresenterComponent, decorators: [{
|
|
74
74
|
type: Component,
|
|
75
75
|
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"] }]
|
|
76
76
|
}], ctorParameters: function () { return []; }, propDecorators: { level: [{
|
|
@@ -505,9 +505,9 @@ export class BsSchedulerComponent {
|
|
|
505
505
|
this.destroyed$.next(true);
|
|
506
506
|
}
|
|
507
507
|
}
|
|
508
|
-
BsSchedulerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
509
|
-
BsSchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.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: i4.BsIconComponent, selector: "bs-icon", inputs: ["icon"] }, { kind: "component", type: i5.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: i6.BsSecondsTimespanPipe, name: "bsSecondsTimespan" }, { kind: "pipe", type: i7.BsSecondsTodayOffsetPipe, name: "bsSecondsTodayOffset" }, { kind: "pipe", type: i8.DayOfWeekPipe, name: "dayOfWeek" }] });
|
|
510
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
508
|
+
BsSchedulerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BsSchedulerComponent, deps: [{ token: i1.BsCalendarMonthService }, { token: i2.BsTimelineService }], target: i0.ɵɵFactoryTarget.Component });
|
|
509
|
+
BsSchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", 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: i4.BsIconComponent, selector: "bs-icon", inputs: ["icon"] }, { kind: "component", type: i5.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: i6.BsSecondsTimespanPipe, name: "bsSecondsTimespan" }, { kind: "pipe", type: i7.BsSecondsTodayOffsetPipe, name: "bsSecondsTodayOffset" }, { kind: "pipe", type: i8.DayOfWeekPipe, name: "dayOfWeek" }] });
|
|
510
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BsSchedulerComponent, decorators: [{
|
|
511
511
|
type: Component,
|
|
512
512
|
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"] }]
|
|
513
513
|
}], ctorParameters: function () { return [{ type: i1.BsCalendarMonthService }, { type: i2.BsTimelineService }]; }, propDecorators: { timeSlotElements: [{
|
|
@@ -5,9 +5,9 @@ export class BsSecondsTimespanPipe {
|
|
|
5
5
|
return (value.end.getTime() - value.start.getTime()) / 1000;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
-
BsSecondsTimespanPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
9
|
-
BsSecondsTimespanPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
8
|
+
BsSecondsTimespanPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BsSecondsTimespanPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
9
|
+
BsSecondsTimespanPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.6", ngImport: i0, type: BsSecondsTimespanPipe, name: "bsSecondsTimespan" });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BsSecondsTimespanPipe, decorators: [{
|
|
11
11
|
type: Pipe,
|
|
12
12
|
args: [{
|
|
13
13
|
name: 'bsSecondsTimespan'
|
package/esm2020/scheduler/src/pipes/bs-seconds-today-offset/bs-seconds-today-offset.pipe.mjs
CHANGED
|
@@ -9,9 +9,9 @@ export class BsSecondsTodayOffsetPipe {
|
|
|
9
9
|
return (value.start.getTime() - today.getTime()) / 1000;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
BsSecondsTodayOffsetPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
13
|
-
BsSecondsTodayOffsetPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
12
|
+
BsSecondsTodayOffsetPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BsSecondsTodayOffsetPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
13
|
+
BsSecondsTodayOffsetPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.6", ngImport: i0, type: BsSecondsTodayOffsetPipe, name: "bsSecondsTodayOffset" });
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BsSecondsTodayOffsetPipe, decorators: [{
|
|
15
15
|
type: Pipe,
|
|
16
16
|
args: [{
|
|
17
17
|
name: 'bsSecondsTodayOffset'
|
|
@@ -9,9 +9,9 @@ export class DateOffsetPipe {
|
|
|
9
9
|
return (value.start.getTime() - today.getTime()) / 1000;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
DateOffsetPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
13
|
-
DateOffsetPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
12
|
+
DateOffsetPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: DateOffsetPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
13
|
+
DateOffsetPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.6", ngImport: i0, type: DateOffsetPipe, name: "dateOffset" });
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: DateOffsetPipe, decorators: [{
|
|
15
15
|
type: Pipe,
|
|
16
16
|
args: [{
|
|
17
17
|
name: 'dateOffset'
|
|
@@ -11,9 +11,9 @@ export class DayOfWeekPipe {
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
DayOfWeekPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
15
|
-
DayOfWeekPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
14
|
+
DayOfWeekPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: DayOfWeekPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
15
|
+
DayOfWeekPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.6", ngImport: i0, type: DayOfWeekPipe, name: "dayOfWeek" });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: DayOfWeekPipe, decorators: [{
|
|
17
17
|
type: Pipe,
|
|
18
18
|
args: [{
|
|
19
19
|
name: 'dayOfWeek'
|
|
@@ -10,8 +10,8 @@ import { ResourceGroupPresenterComponent } from './components/resource-group-pre
|
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export class BsSchedulerModule {
|
|
12
12
|
}
|
|
13
|
-
BsSchedulerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
14
|
-
BsSchedulerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.
|
|
13
|
+
BsSchedulerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BsSchedulerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14
|
+
BsSchedulerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.6", ngImport: i0, type: BsSchedulerModule, declarations: [BsSchedulerComponent,
|
|
15
15
|
BsSecondsTimespanPipe,
|
|
16
16
|
BsSecondsTodayOffsetPipe,
|
|
17
17
|
DateOffsetPipe,
|
|
@@ -19,9 +19,9 @@ BsSchedulerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versi
|
|
|
19
19
|
ResourceGroupPresenterComponent], imports: [CommonModule,
|
|
20
20
|
BsIconModule], exports: [BsSchedulerComponent,
|
|
21
21
|
ResourceGroupPresenterComponent] });
|
|
22
|
-
BsSchedulerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.
|
|
22
|
+
BsSchedulerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BsSchedulerModule, imports: [CommonModule,
|
|
23
23
|
BsIconModule] });
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BsSchedulerModule, decorators: [{
|
|
25
25
|
type: NgModule,
|
|
26
26
|
args: [{
|
|
27
27
|
declarations: [
|
|
@@ -54,9 +54,9 @@ export class BsTimelineService {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
BsTimelineService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
58
|
-
BsTimelineService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
57
|
+
BsTimelineService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BsTimelineService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
58
|
+
BsTimelineService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BsTimelineService, providedIn: 'root' });
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BsTimelineService, decorators: [{
|
|
60
60
|
type: Injectable,
|
|
61
61
|
args: [{
|
|
62
62
|
providedIn: 'root'
|
|
@@ -69,9 +69,9 @@ export class BsScrollspyComponent {
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
BsScrollspyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
73
|
-
BsScrollspyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.
|
|
74
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
72
|
+
BsScrollspyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BsScrollspyComponent, deps: [{ token: i1.BsScrollOffsetService }, { token: DOCUMENT }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
73
|
+
BsScrollspyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: BsScrollspyComponent, selector: "bs-scrollspy", host: { listeners: { "window:scroll": "onWindowScroll($event)" } }, queries: [{ propertyName: "directives", predicate: BsScrollspyDirective, descendants: true }], viewQueries: [{ propertyName: "anchors", predicate: ["anchor"], descendants: true }], ngImport: i0, template: "<div class=\"spy\">\n <ul class=\"text-muted\">\n <li *ngFor=\"let dir of directives; let i = index\">\n <span [attr.data-index]=\"i\" class=\"cursor-pointer\" [ngClass]=\"'nav' + dir.element.nativeElement.tagName\" [class.fw-bold]=\"activeDirective?.element === dir.element\" (click)=\"scrollToHeader(dir)\" [title]=\"dir.element.nativeElement.textContent\" #anchor>\n {{ dir.element.nativeElement.textContent }}\n </span>\n </li>\n </ul>\n</div>\n<div class=\"content\">\n <ng-content></ng-content>\n</div>", styles: [":host{display:block}.spy>ul{list-style-type:none;padding-left:0}.spy>ul>li:hover{color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.spy>ul>li{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 768px){:host{display:grid;grid-template-areas:\"content toc\";grid-template-columns:auto 200px;grid-template-rows:auto;gap:inherit;grid-area:main}.spy{position:sticky;top:5rem;right:0;z-index:2;height:calc(100vh - 7rem);overflow-y:auto;grid-area:toc}.spy>ul{padding-left:2rem}}.navH2{margin-left:20px}.navH3{margin-left:40px}.navH4{margin-left:60px}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
74
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BsScrollspyComponent, decorators: [{
|
|
75
75
|
type: Component,
|
|
76
76
|
args: [{ selector: 'bs-scrollspy', template: "<div class=\"spy\">\n <ul class=\"text-muted\">\n <li *ngFor=\"let dir of directives; let i = index\">\n <span [attr.data-index]=\"i\" class=\"cursor-pointer\" [ngClass]=\"'nav' + dir.element.nativeElement.tagName\" [class.fw-bold]=\"activeDirective?.element === dir.element\" (click)=\"scrollToHeader(dir)\" [title]=\"dir.element.nativeElement.textContent\" #anchor>\n {{ dir.element.nativeElement.textContent }}\n </span>\n </li>\n </ul>\n</div>\n<div class=\"content\">\n <ng-content></ng-content>\n</div>", styles: [":host{display:block}.spy>ul{list-style-type:none;padding-left:0}.spy>ul>li:hover{color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.spy>ul>li{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 768px){:host{display:grid;grid-template-areas:\"content toc\";grid-template-columns:auto 200px;grid-template-rows:auto;gap:inherit;grid-area:main}.spy{position:sticky;top:5rem;right:0;z-index:2;height:calc(100vh - 7rem);overflow-y:auto;grid-area:toc}.spy>ul{padding-left:2rem}}.navH2{margin-left:20px}.navH3{margin-left:40px}.navH4{margin-left:60px}\n"] }]
|
|
77
77
|
}], ctorParameters: function () { return [{ type: i1.BsScrollOffsetService }, { type: undefined, decorators: [{
|
|
@@ -5,9 +5,9 @@ export class BsScrollspyDirective {
|
|
|
5
5
|
this.element = element;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
-
BsScrollspyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
9
|
-
BsScrollspyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
8
|
+
BsScrollspyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BsScrollspyDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9
|
+
BsScrollspyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.6", type: BsScrollspyDirective, selector: "[bsScrollspy]", ngImport: i0 });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BsScrollspyDirective, decorators: [{
|
|
11
11
|
type: Directive,
|
|
12
12
|
args: [{
|
|
13
13
|
selector: '[bsScrollspy]'
|
|
@@ -5,12 +5,12 @@ import { BsScrollspyDirective } from './directives/scrollspy.directive';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export class BsScrollspyModule {
|
|
7
7
|
}
|
|
8
|
-
BsScrollspyModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
9
|
-
BsScrollspyModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.
|
|
8
|
+
BsScrollspyModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BsScrollspyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
+
BsScrollspyModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.6", ngImport: i0, type: BsScrollspyModule, declarations: [BsScrollspyComponent,
|
|
10
10
|
BsScrollspyDirective], imports: [CommonModule], exports: [BsScrollspyComponent,
|
|
11
11
|
BsScrollspyDirective] });
|
|
12
|
-
BsScrollspyModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
12
|
+
BsScrollspyModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BsScrollspyModule, imports: [CommonModule] });
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BsScrollspyModule, decorators: [{
|
|
14
14
|
type: NgModule,
|
|
15
15
|
args: [{
|
|
16
16
|
declarations: [
|
|
@@ -17,9 +17,9 @@ export class BsScrollOffsetService {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
BsScrollOffsetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
21
|
-
BsScrollOffsetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
20
|
+
BsScrollOffsetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BsScrollOffsetService, deps: [{ token: ROUTER_CONFIGURATION }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
21
|
+
BsScrollOffsetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BsScrollOffsetService, providedIn: 'root' });
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BsScrollOffsetService, decorators: [{
|
|
23
23
|
type: Injectable,
|
|
24
24
|
args: [{
|
|
25
25
|
providedIn: 'root'
|