@mintplayer/ng-bootstrap 15.22.0 → 15.22.2
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/dock.component.d.ts +8 -1
- package/dock/src/dock-pane-renderer/dock-pane-renderer.component.d.ts +4 -1
- package/dock/src/dock-panel/dock-panel.component.d.ts +5 -3
- package/dock/src/dock-panel-header/dock-panel-header.component.d.ts +4 -1
- package/dock/src/panes/floating-pane.d.ts +1 -0
- package/dock/src/panes/tab-group-pane.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 +46 -11
- package/esm2020/dock/src/dock-pane-renderer/dock-pane-renderer.component.mjs +10 -8
- package/esm2020/dock/src/dock-panel/dock-panel.component.mjs +18 -13
- package/esm2020/dock/src/dock-panel-header/dock-panel-header.component.mjs +29 -10
- package/esm2020/dock/src/dock.module.mjs +4 -4
- package/esm2020/dock/src/panes/floating-pane.mjs +4 -1
- package/esm2020/dock/src/panes/tab-group-pane.mjs +1 -1
- 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 +6 -6
- 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/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 +4 -6
- package/esm2020/splitter/src/splitter.module.mjs +4 -4
- package/esm2020/tab-control/src/index.mjs +2 -1
- package/esm2020/tab-control/src/tab-control/tab-control.component.mjs +6 -7
- package/esm2020/tab-control/src/tab-control.module.mjs +12 -7
- package/esm2020/tab-control/src/tab-page/tab-page.component.mjs +7 -6
- package/esm2020/tab-control/src/tab-page-header/tab-page-header.directive.mjs +16 -0
- 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 +100 -45
- 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 +36 -36
- 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-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-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 -15
- package/fesm2015/mintplayer-ng-bootstrap-splitter.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-tab-control.mjs +35 -18
- 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 +100 -44
- 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 +36 -36
- 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-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-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 -15
- package/fesm2020/mintplayer-ng-bootstrap-splitter.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-tab-control.mjs +35 -18
- 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/navbar/src/navbar-content/navbar-content.directive.d.ts +1 -1
- package/package.json +3 -3
- package/tab-control/src/index.d.ts +1 -0
- package/tab-control/src/tab-control.module.d.ts +6 -5
- package/tab-control/src/tab-page/tab-page.component.d.ts +3 -2
- package/tab-control/src/tab-page-header/tab-page-header.directive.d.ts +8 -0
|
@@ -1,16 +1,22 @@
|
|
|
1
|
-
import { Component, ContentChildren, Input, QueryList } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject, Subject } from 'rxjs';
|
|
1
|
+
import { Component, ContentChildren, ViewChildren, Input, QueryList, HostBinding } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject, Subject, takeUntil } from 'rxjs';
|
|
3
3
|
import { BsDockPanelComponent } from '../dock-panel/dock-panel.component';
|
|
4
4
|
import { BsTabGroupPane } from '../panes/tab-group-pane';
|
|
5
5
|
import { BsDocumentHost } from '../panes/document-host-pane';
|
|
6
|
+
import { Overlay } from '@angular/cdk/overlay';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "@angular/
|
|
8
|
-
import * as i2 from "
|
|
8
|
+
import * as i1 from "@angular/cdk/overlay";
|
|
9
|
+
import * as i2 from "@angular/common";
|
|
10
|
+
import * as i3 from "../dock-pane-renderer/dock-pane-renderer.component";
|
|
9
11
|
export class BsDockComponent {
|
|
10
|
-
constructor() {
|
|
12
|
+
constructor(overlay) {
|
|
13
|
+
this.overlay = overlay;
|
|
11
14
|
//#region Panels
|
|
12
15
|
this.panels$ = new BehaviorSubject([]);
|
|
13
16
|
//#endregion
|
|
17
|
+
this.floating$ = new BehaviorSubject([]);
|
|
18
|
+
this.positionAbsolute = true;
|
|
19
|
+
this.positionPx = 0;
|
|
14
20
|
this.destroyed$ = new Subject();
|
|
15
21
|
const tabs = new BsTabGroupPane();
|
|
16
22
|
const docHost = new BsDocumentHost();
|
|
@@ -23,6 +29,13 @@ export class BsDockComponent {
|
|
|
23
29
|
// .pipe(takeUntil(this.destroyed$))
|
|
24
30
|
// .subscribe(([layout, panels]) => {
|
|
25
31
|
// })
|
|
32
|
+
this.floating$.pipe(takeUntil(this.destroyed$))
|
|
33
|
+
.subscribe((floating) => {
|
|
34
|
+
floating.forEach((panel) => {
|
|
35
|
+
const overlayRef = this.overlay.create({});
|
|
36
|
+
overlayRef.attach(panel.portal);
|
|
37
|
+
});
|
|
38
|
+
});
|
|
26
39
|
}
|
|
27
40
|
set panels(value) {
|
|
28
41
|
this.panels$.next(value.toArray());
|
|
@@ -33,19 +46,41 @@ export class BsDockComponent {
|
|
|
33
46
|
set layout(value) {
|
|
34
47
|
this.layout$.next(value);
|
|
35
48
|
}
|
|
49
|
+
set floatingPanes(value) {
|
|
50
|
+
// value.changes.pipe(takeUntil(this.destroyed$)).subscribe((changes) => console.log('floatingPanes', changes));
|
|
51
|
+
this.floating$.next(value.toArray());
|
|
52
|
+
}
|
|
36
53
|
ngOnDestroy() {
|
|
37
54
|
this.destroyed$.next(true);
|
|
38
55
|
}
|
|
39
56
|
}
|
|
40
|
-
BsDockComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
41
|
-
BsDockComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
57
|
+
BsDockComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: BsDockComponent, deps: [{ token: i1.Overlay }], target: i0.ɵɵFactoryTarget.Component });
|
|
58
|
+
BsDockComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.5", type: BsDockComponent, selector: "bs-dock", inputs: { layout: "layout" }, host: { properties: { "class.position-absolute": "this.positionAbsolute", "style.top": "this.positionPx", "style.left": "this.positionPx", "style.bottom": "this.positionPx", "style.right": "this.positionPx" } }, queries: [{ propertyName: "panels", predicate: BsDockPanelComponent }], viewQueries: [{ propertyName: "floatingPanes", predicate: ["floating"], descendants: true }], ngImport: i0, template: "<ng-content></ng-content>\n<ng-container *ngIf=\"(layout$ | async) as layout\">\n <bs-dock-pane-renderer [layout]=\"layout.rootPane\"></bs-dock-pane-renderer>\n\n <ng-container *ngFor=\"let pane of layout.floatingPanes\">\n <bs-dock-pane-renderer #floating *ngIf=\"pane.pane\" [layout]=\"pane.pane\"></bs-dock-pane-renderer>\n </ng-container>\n</ng-container>\n<!-- <bs-splitter>\n <ng-content></ng-content>\n <ng-container *ngFor=\"let panel of (panels$ | async)\">\n <bs-split-panel>\n <ng-template [cdkPortalOutlet]=\"panel.portal\"></ng-template>\n </bs-split-panel>\n </ng-container>\n</bs-splitter> -->\n", styles: [":host ::ng-deep .tab-content{max-height:calc(100% - 41px);overflow:auto}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.BsDockPaneRendererComponent, selector: "bs-dock-pane-renderer", inputs: ["layout"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }] });
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: BsDockComponent, decorators: [{
|
|
43
60
|
type: Component,
|
|
44
|
-
args: [{ selector: 'bs-dock', template: "<ng-content></ng-content>\n<ng-container *ngIf=\"(layout$ | async) as layout\">\n <bs-dock-pane-renderer [layout]=\"layout.rootPane\"></bs-dock-pane-renderer>\n</ng-container>\n<!-- <bs-splitter>\n <ng-content></ng-content>\n <ng-container *ngFor=\"let panel of (panels$ | async)\">\n <bs-split-panel>\n <ng-template [cdkPortalOutlet]=\"panel.portal\"></ng-template>\n </bs-split-panel>\n </ng-container>\n</bs-splitter> -->\n" }]
|
|
45
|
-
}], ctorParameters: function () { return []; }, propDecorators: { panels: [{
|
|
61
|
+
args: [{ selector: 'bs-dock', template: "<ng-content></ng-content>\n<ng-container *ngIf=\"(layout$ | async) as layout\">\n <bs-dock-pane-renderer [layout]=\"layout.rootPane\"></bs-dock-pane-renderer>\n\n <ng-container *ngFor=\"let pane of layout.floatingPanes\">\n <bs-dock-pane-renderer #floating *ngIf=\"pane.pane\" [layout]=\"pane.pane\"></bs-dock-pane-renderer>\n </ng-container>\n</ng-container>\n<!-- <bs-splitter>\n <ng-content></ng-content>\n <ng-container *ngFor=\"let panel of (panels$ | async)\">\n <bs-split-panel>\n <ng-template [cdkPortalOutlet]=\"panel.portal\"></ng-template>\n </bs-split-panel>\n </ng-container>\n</bs-splitter> -->\n", styles: [":host ::ng-deep .tab-content{max-height:calc(100% - 41px);overflow:auto}\n"] }]
|
|
62
|
+
}], ctorParameters: function () { return [{ type: i1.Overlay }]; }, propDecorators: { panels: [{
|
|
46
63
|
type: ContentChildren,
|
|
47
64
|
args: [BsDockPanelComponent]
|
|
48
65
|
}], layout: [{
|
|
49
66
|
type: Input
|
|
67
|
+
}], floatingPanes: [{
|
|
68
|
+
type: ViewChildren,
|
|
69
|
+
args: ['floating']
|
|
70
|
+
}], positionAbsolute: [{
|
|
71
|
+
type: HostBinding,
|
|
72
|
+
args: ['class.position-absolute']
|
|
73
|
+
}], positionPx: [{
|
|
74
|
+
type: HostBinding,
|
|
75
|
+
args: ['style.top']
|
|
76
|
+
}, {
|
|
77
|
+
type: HostBinding,
|
|
78
|
+
args: ['style.left']
|
|
79
|
+
}, {
|
|
80
|
+
type: HostBinding,
|
|
81
|
+
args: ['style.bottom']
|
|
82
|
+
}, {
|
|
83
|
+
type: HostBinding,
|
|
84
|
+
args: ['style.right']
|
|
50
85
|
}] } });
|
|
51
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
86
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9jay5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL2RvY2svc3JjL2RvY2svZG9jay5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL2RvY2svc3JjL2RvY2svZG9jay5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1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VwiPjwvYnMtZG9jay1wYW5lLXJlbmRlcmVyPlxuXG4gICAgPG5nLWNvbnRhaW5lciAqbmdGb3I9XCJsZXQgcGFuZSBvZiBsYXlvdXQuZmxvYXRpbmdQYW5lc1wiPlxuICAgICAgICA8YnMtZG9jay1wYW5lLXJlbmRlcmVyICNmbG9hdGluZyAqbmdJZj1cInBhbmUucGFuZVwiIFtsYXlvdXRdPVwicGFuZS5wYW5lXCI+PC9icy1kb2NrLXBhbmUtcmVuZGVyZXI+XG4gICAgPC9uZy1jb250YWluZXI+XG48L25nLWNvbnRhaW5lcj5cbjwhLS0gPGJzLXNwbGl0dGVyPlxuICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgICA8bmctY29udGFpbmVyICpuZ0Zvcj1cImxldCBwYW5lbCBvZiAocGFuZWxzJCB8IGFzeW5jKVwiPlxuICAgICAgICA8YnMtc3BsaXQtcGFuZWw+XG4gICAgICAgICAgICA8bmctdGVtcGxhdGUgW2Nka1BvcnRhbE91dGxldF09XCJwYW5lbC5wb3J0YWxcIj48L25nLXRlbXBsYXRlPlxuICAgICAgICA8L2JzLXNwbGl0LXBhbmVsPlxuICAgIDwvbmctY29udGFpbmVyPlxuPC9icy1zcGxpdHRlcj4gLS0+XG4iXX0=
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
1
|
+
import { Component, ElementRef, Input } from '@angular/core';
|
|
2
2
|
import { BehaviorSubject } from 'rxjs';
|
|
3
3
|
import { EPaneType } from '../enums/pane-type.enum';
|
|
4
4
|
import { BsSplitPane } from '../panes/split-pane';
|
|
5
5
|
import { BsContentPane } from '../panes/content-pane';
|
|
6
6
|
import { BsDocumentHost } from '../panes/document-host-pane';
|
|
7
7
|
import { BsTabGroupPane } from '../panes/tab-group-pane';
|
|
8
|
+
import { DomPortal } from '@angular/cdk/portal';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
import * as i1 from "@angular/common";
|
|
10
11
|
import * as i2 from "@angular/cdk/portal";
|
|
@@ -12,7 +13,7 @@ import * as i3 from "@mintplayer/ng-bootstrap/instance-of";
|
|
|
12
13
|
import * as i4 from "@mintplayer/ng-bootstrap/splitter";
|
|
13
14
|
import * as i5 from "@mintplayer/ng-bootstrap/tab-control";
|
|
14
15
|
export class BsDockPaneRendererComponent {
|
|
15
|
-
constructor() {
|
|
16
|
+
constructor(element) {
|
|
16
17
|
this.paneTypes = EPaneType;
|
|
17
18
|
this.BsDocumentHostType = BsDocumentHost;
|
|
18
19
|
this.BsTabGroupType = BsTabGroupPane;
|
|
@@ -36,6 +37,7 @@ export class BsDockPaneRendererComponent {
|
|
|
36
37
|
// // throw 'unknown pane type';
|
|
37
38
|
// }
|
|
38
39
|
// }));
|
|
40
|
+
this.portal = new DomPortal(element);
|
|
39
41
|
}
|
|
40
42
|
get layout() {
|
|
41
43
|
return this.layout$.value;
|
|
@@ -45,12 +47,12 @@ export class BsDockPaneRendererComponent {
|
|
|
45
47
|
this.layout$.next(value);
|
|
46
48
|
}
|
|
47
49
|
}
|
|
48
|
-
BsDockPaneRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
49
|
-
BsDockPaneRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
50
|
+
BsDockPaneRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: BsDockPaneRendererComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
51
|
+
BsDockPaneRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.5", type: BsDockPaneRendererComponent, selector: "bs-dock-pane-renderer", inputs: { layout: "layout" }, ngImport: i0, template: "<!-- <ng-content></ng-content> -->\n<ng-container [bsInstanceof]=\"layout$ | async\">\n <div *bsInstanceofCase=\"BsDocumentHostType; let documentHost\" data-hello>\n <bs-dock-pane-renderer [layout]=\"documentHost\"></bs-dock-pane-renderer>\n </div>\n <bs-tab-control *bsInstanceofCase=\"BsTabGroupType; let tabGroup\" class=\"d-flex flex-column h-100 dock-tabs\">\n <bs-tab-page *ngFor=\"let tab of tabGroup.panes\">\n <ng-container *bsTabPageHeader>\n <ng-template [cdkPortalOutlet]=\"tab.dockPanel.headerPortal\"></ng-template>\n </ng-container>\n <bs-dock-pane-renderer [layout]=\"tab\"></bs-dock-pane-renderer>\n </bs-tab-page>\n </bs-tab-control>\n <bs-splitter *bsInstanceofCase=\"BsSplitterType; let splitter\" [orientation]=\"splitter.orientation\">\n <bs-split-panel *ngFor=\"let panel of splitter.panes\">\n <bs-dock-pane-renderer [layout]=\"panel\"></bs-dock-pane-renderer>\n </bs-split-panel>\n </bs-splitter>\n <ng-container *bsInstanceofCase=\"BsContentPaneType; let content\">\n <ng-template [cdkPortalOutlet]=\"content.dockPanel.contentPortal\"></ng-template>\n </ng-container>\n <div *bsInstanceofDefault>\n No match\n </div>\n</ng-container>", styles: [".dock-tabs{background:#F3F3F3}:host ::ng-deep .tab-page-content{background:#FFF;min-height:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: i3.BsInstanceOfDirective, selector: "[bsInstanceof]", inputs: ["bsInstanceof"] }, { kind: "directive", type: i3.BsInstanceofCaseDirective, selector: "[bsInstanceofCase]", inputs: ["bsInstanceofCase"] }, { kind: "directive", type: i3.BsInstanceOfDefaultDirective, selector: "[bsInstanceofDefault]" }, { kind: "component", type: i4.BsSplitterComponent, selector: "bs-splitter", inputs: ["orientation"] }, { kind: "component", type: i4.BsSplitPanelComponent, selector: "bs-split-panel" }, { kind: "component", type: i5.BsTabControlComponent, selector: "bs-tab-control", inputs: ["border", "restrictDragging", "selectFirstTab", "tabsPosition"] }, { kind: "component", type: i5.BsTabPageComponent, selector: "bs-tab-page", inputs: ["disabled"] }, { kind: "directive", type: i5.BsTabPageHeaderDirective, selector: "[bsTabPageHeader]" }, { kind: "component", type: BsDockPaneRendererComponent, selector: "bs-dock-pane-renderer", inputs: ["layout"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] });
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: BsDockPaneRendererComponent, decorators: [{
|
|
51
53
|
type: Component,
|
|
52
|
-
args: [{ selector: 'bs-dock-pane-renderer', template: "<!-- <ng-content></ng-content> -->\n<ng-container [bsInstanceof]=\"layout$ | async\">\n <div *bsInstanceofCase=\"BsDocumentHostType; let documentHost\">\n <bs-dock-pane-renderer [layout]=\"documentHost\"></bs-dock-pane-renderer>\n </div>\n <bs-tab-control *bsInstanceofCase=\"BsTabGroupType; let tabGroup\">\n <bs-tab-page *ngFor=\"let tab of tabGroup.panes\">\n <ng-template
|
|
53
|
-
}], ctorParameters: function () { return []; }, propDecorators: { layout: [{
|
|
54
|
+
args: [{ selector: 'bs-dock-pane-renderer', template: "<!-- <ng-content></ng-content> -->\n<ng-container [bsInstanceof]=\"layout$ | async\">\n <div *bsInstanceofCase=\"BsDocumentHostType; let documentHost\" data-hello>\n <bs-dock-pane-renderer [layout]=\"documentHost\"></bs-dock-pane-renderer>\n </div>\n <bs-tab-control *bsInstanceofCase=\"BsTabGroupType; let tabGroup\" class=\"d-flex flex-column h-100 dock-tabs\">\n <bs-tab-page *ngFor=\"let tab of tabGroup.panes\">\n <ng-container *bsTabPageHeader>\n <ng-template [cdkPortalOutlet]=\"tab.dockPanel.headerPortal\"></ng-template>\n </ng-container>\n <bs-dock-pane-renderer [layout]=\"tab\"></bs-dock-pane-renderer>\n </bs-tab-page>\n </bs-tab-control>\n <bs-splitter *bsInstanceofCase=\"BsSplitterType; let splitter\" [orientation]=\"splitter.orientation\">\n <bs-split-panel *ngFor=\"let panel of splitter.panes\">\n <bs-dock-pane-renderer [layout]=\"panel\"></bs-dock-pane-renderer>\n </bs-split-panel>\n </bs-splitter>\n <ng-container *bsInstanceofCase=\"BsContentPaneType; let content\">\n <ng-template [cdkPortalOutlet]=\"content.dockPanel.contentPortal\"></ng-template>\n </ng-container>\n <div *bsInstanceofDefault>\n No match\n </div>\n</ng-container>", styles: [".dock-tabs{background:#F3F3F3}:host ::ng-deep .tab-page-content{background:#FFF;min-height:100%}\n"] }]
|
|
55
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { layout: [{
|
|
54
56
|
type: Input
|
|
55
57
|
}] } });
|
|
56
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
58
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9jay1wYW5lLXJlbmRlcmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvbWludHBsYXllci1uZy1ib290c3RyYXAvZG9jay9zcmMvZG9jay1wYW5lLXJlbmRlcmVyL2RvY2stcGFuZS1yZW5kZXJlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL2RvY2svc3JjL2RvY2stcGFuZS1yZW5kZXJlci9kb2NrLXBhbmUtcmVuZGVyZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxVQUFVLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzdELE9BQU8sRUFBR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pb25cIj5cbiAgICAgICAgPGJzLXNwbGl0LXBhbmVsICpuZ0Zvcj1cImxldCBwYW5lbCBvZiBzcGxpdHRlci5wYW5lc1wiPlxuICAgICAgICAgICAgPGJzLWRvY2stcGFuZS1yZW5kZXJlciBbbGF5b3V0XT1cInBhbmVsXCI+PC9icy1kb2NrLXBhbmUtcmVuZGVyZXI+XG4gICAgICAgIDwvYnMtc3BsaXQtcGFuZWw+XG4gICAgPC9icy1zcGxpdHRlcj5cbiAgICA8bmctY29udGFpbmVyICpic0luc3RhbmNlb2ZDYXNlPVwiQnNDb250ZW50UGFuZVR5cGU7IGxldCBjb250ZW50XCI+XG4gICAgICAgIDxuZy10ZW1wbGF0ZSBbY2RrUG9ydGFsT3V0bGV0XT1cImNvbnRlbnQuZG9ja1BhbmVsLmNvbnRlbnRQb3J0YWxcIj48L25nLXRlbXBsYXRlPlxuICAgIDwvbmctY29udGFpbmVyPlxuICAgIDxkaXYgKmJzSW5zdGFuY2VvZkRlZmF1bHQ+XG4gICAgICAgIE5vIG1hdGNoXG4gICAgPC9kaXY+XG48L25nLWNvbnRhaW5lcj4iXX0=
|
|
@@ -1,24 +1,29 @@
|
|
|
1
1
|
import { DomPortal } from '@angular/cdk/portal';
|
|
2
|
-
import { Component, ElementRef, Input } from '@angular/core';
|
|
2
|
+
import { Component, ElementRef, Input, ViewChild } from '@angular/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@mintplayer/ng-bootstrap/card";
|
|
5
4
|
export class BsDockPanelComponent {
|
|
6
|
-
constructor(
|
|
7
|
-
this.element = element;
|
|
5
|
+
constructor() {
|
|
8
6
|
this.panelId = '';
|
|
9
|
-
this.
|
|
7
|
+
// this.contentPortal = new DomPortal(this.element.nativeElement);
|
|
10
8
|
}
|
|
11
9
|
ngAfterViewInit() {
|
|
12
|
-
console.log('attach dockpanel', this.element.nativeElement);
|
|
13
|
-
this.
|
|
10
|
+
// console.log('attach dockpanel', this.element.nativeElement);
|
|
11
|
+
this.headerPortal = new DomPortal(this.headerElement.nativeElement);
|
|
12
|
+
this.contentPortal = new DomPortal(this.contentElement.nativeElement);
|
|
14
13
|
}
|
|
15
14
|
}
|
|
16
|
-
BsDockPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
17
|
-
BsDockPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
15
|
+
BsDockPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: BsDockPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
BsDockPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.5", type: BsDockPanelComponent, selector: "bs-dock-panel", inputs: { panelId: "panelId" }, viewQueries: [{ propertyName: "headerElement", first: true, predicate: ["headerElement"], descendants: true }, { propertyName: "contentElement", first: true, predicate: ["contentElement"], descendants: true }], ngImport: i0, template: "<!-- <bs-split-panel> -->\n<div #headerElement class=\"dock-header\">\n <ng-content select=\"bs-dock-panel-header\"></ng-content>\n</div>\n<div #contentElement>\n <ng-content></ng-content>\n</div>\n<!-- </bs-split-panel> -->", styles: [".dock-header{padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);margin:calc(-1 * var(--bs-nav-link-padding-y)) calc(-1 * var(--bs-nav-link-padding-x))}\n"] });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: BsDockPanelComponent, decorators: [{
|
|
19
18
|
type: Component,
|
|
20
|
-
args: [{ selector: 'bs-dock-panel', template: "<!-- <bs-split-panel> -->\n
|
|
21
|
-
}], ctorParameters: function () { return [
|
|
19
|
+
args: [{ selector: 'bs-dock-panel', template: "<!-- <bs-split-panel> -->\n<div #headerElement class=\"dock-header\">\n <ng-content select=\"bs-dock-panel-header\"></ng-content>\n</div>\n<div #contentElement>\n <ng-content></ng-content>\n</div>\n<!-- </bs-split-panel> -->", styles: [".dock-header{padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);margin:calc(-1 * var(--bs-nav-link-padding-y)) calc(-1 * var(--bs-nav-link-padding-x))}\n"] }]
|
|
20
|
+
}], ctorParameters: function () { return []; }, propDecorators: { headerElement: [{
|
|
21
|
+
type: ViewChild,
|
|
22
|
+
args: ['headerElement']
|
|
23
|
+
}], contentElement: [{
|
|
24
|
+
type: ViewChild,
|
|
25
|
+
args: ['contentElement']
|
|
26
|
+
}], panelId: [{
|
|
22
27
|
type: Input
|
|
23
28
|
}] } });
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9jay1wYW5lbC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL2RvY2svc3JjL2RvY2stcGFuZWwvZG9jay1wYW5lbC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL2RvY2svc3JjL2RvY2stcGFuZWwvZG9jay1wYW5lbC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDaEQsT0FBTyxFQUFFLFNBQVMsRUFBRSxVQUFVLEVBQUUsS0FBSyxFQUFpQixTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBT3ZGLE1BQU0sT0FBTyxvQkFBb0I7SUFDL0I7UUFRUyxZQUFPLEd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{ Overlay } from '@angular/cdk/overlay';
|
|
2
2
|
import { Component, HostBinding, HostListener } from '@angular/core';
|
|
3
3
|
import { BsDockPanelComponent } from '../dock-panel/dock-panel.component';
|
|
4
|
+
import { BsDockComponent } from '../dock/dock.component';
|
|
5
|
+
import { BsTabGroupPane } from '../panes/tab-group-pane';
|
|
6
|
+
import { BsContentPane } from '../panes/content-pane';
|
|
7
|
+
import { BsFloatingPane } from '../panes/floating-pane';
|
|
4
8
|
import * as i0 from "@angular/core";
|
|
5
9
|
import * as i1 from "@angular/cdk/overlay";
|
|
6
10
|
import * as i2 from "../dock-panel/dock-panel.component";
|
|
11
|
+
import * as i3 from "../dock/dock.component";
|
|
7
12
|
export class BsDockPanelHeaderComponent {
|
|
8
|
-
constructor(overlay, dockPanel) {
|
|
13
|
+
constructor(overlay, dockPanel, dock) {
|
|
9
14
|
this.overlay = overlay;
|
|
10
15
|
this.dockPanel = dockPanel;
|
|
16
|
+
this.dock = dock;
|
|
11
17
|
this.isDragging = false;
|
|
18
|
+
this.isLayoutDetached = false;
|
|
12
19
|
this.dBlock = true;
|
|
13
20
|
this.overlayRef = this.overlay.create({
|
|
14
21
|
positionStrategy: this.overlay.position().global()
|
|
@@ -19,21 +26,33 @@ export class BsDockPanelHeaderComponent {
|
|
|
19
26
|
this.isDragging = true;
|
|
20
27
|
}
|
|
21
28
|
onMouseMove(ev) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
29
|
+
if (this.isDragging) {
|
|
30
|
+
if (!this.isLayoutDetached) {
|
|
31
|
+
this.isLayoutDetached = true;
|
|
32
|
+
this.dock.layout$.subscribe((layout) => {
|
|
33
|
+
layout.floatingPanes.push(new BsFloatingPane({
|
|
34
|
+
pane: new BsTabGroupPane({
|
|
35
|
+
panes: [
|
|
36
|
+
new BsContentPane({
|
|
37
|
+
dockPanel: this.dockPanel
|
|
38
|
+
})
|
|
39
|
+
]
|
|
40
|
+
})
|
|
41
|
+
}));
|
|
42
|
+
});
|
|
43
|
+
}
|
|
25
44
|
}
|
|
26
45
|
}
|
|
27
46
|
onMouseUp(ev) {
|
|
28
47
|
this.isDragging = false;
|
|
29
48
|
}
|
|
30
49
|
}
|
|
31
|
-
BsDockPanelHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
32
|
-
BsDockPanelHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
50
|
+
BsDockPanelHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: BsDockPanelHeaderComponent, deps: [{ token: i1.Overlay }, { token: i2.BsDockPanelComponent }, { token: i3.BsDockComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
51
|
+
BsDockPanelHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.5", type: BsDockPanelHeaderComponent, selector: "bs-dock-panel-header", host: { listeners: { "mousedown": "onMouseDown($event)", "document:mousemove": "onMouseMove($event)", "document:mouseup": "onMouseUp($event)" }, properties: { "class.d-block": "this.dBlock" } }, ngImport: i0, template: "<ng-content></ng-content>", styles: [":host{padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);margin:calc(-1 * var(--bs-nav-link-padding-y)) calc(-1 * var(--bs-nav-link-padding-x))}\n"] });
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: BsDockPanelHeaderComponent, decorators: [{
|
|
34
53
|
type: Component,
|
|
35
|
-
args: [{ selector: 'bs-dock-panel-header', template: "<ng-content></ng-content>", styles: [":host{
|
|
36
|
-
}], ctorParameters: function () { return [{ type: i1.Overlay }, { type: i2.BsDockPanelComponent }]; }, propDecorators: { onMouseDown: [{
|
|
54
|
+
args: [{ selector: 'bs-dock-panel-header', template: "<ng-content></ng-content>", styles: [":host{padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);margin:calc(-1 * var(--bs-nav-link-padding-y)) calc(-1 * var(--bs-nav-link-padding-x))}\n"] }]
|
|
55
|
+
}], ctorParameters: function () { return [{ type: i1.Overlay }, { type: i2.BsDockPanelComponent }, { type: i3.BsDockComponent }]; }, propDecorators: { onMouseDown: [{
|
|
37
56
|
type: HostListener,
|
|
38
57
|
args: ['mousedown', ['$event']]
|
|
39
58
|
}], onMouseMove: [{
|
|
@@ -46,4 +65,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
46
65
|
type: HostBinding,
|
|
47
66
|
args: ['class.d-block']
|
|
48
67
|
}] } });
|
|
49
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
68
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9jay1wYW5lbC1oZWFkZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9taW50cGxheWVyLW5nLWJvb3RzdHJhcC9kb2NrL3NyYy9kb2NrLXBhbmVsLWhlYWRlci9kb2NrLXBhbmVsLWhlYWRlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL2RvY2svc3JjL2RvY2stcGFuZWwtaGVhZGVyL2RvY2stcGFuZWwtaGVhZGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBMEIsT0FBTyxFQUFjLE1BQU0sc0JBQXNCLENBQUM7QUFDbkYsT0FBTyxFQUFFLFNBQVMsRUFBRSxXQUFXLEVBQUUsWUFBWSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3JFLE9BQU8sRU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ICAgIHRoaXMuaXNEcmFnZ2luZyA9IGZhbHNlO1xuICB9XG5cbiAgQEhvc3RCaW5kaW5nKCdjbGFzcy5kLWJsb2NrJykgZEJsb2NrID0gdHJ1ZTtcbn1cbiIsIjxuZy1jb250ZW50PjwvbmctY29udGVudD4iXX0=
|
|
@@ -12,8 +12,8 @@ import { BsDockPaneRendererComponent } from './dock-pane-renderer/dock-pane-rend
|
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
export class BsDockModule {
|
|
14
14
|
}
|
|
15
|
-
BsDockModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
16
|
-
BsDockModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.
|
|
15
|
+
BsDockModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: BsDockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16
|
+
BsDockModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.5", ngImport: i0, type: BsDockModule, declarations: [BsDockComponent,
|
|
17
17
|
BsDockPanelComponent,
|
|
18
18
|
BsDockPanelHeaderComponent,
|
|
19
19
|
BsDockPaneRendererComponent], imports: [CommonModule,
|
|
@@ -25,13 +25,13 @@ BsDockModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
|
25
25
|
BsDockPanelComponent,
|
|
26
26
|
BsDockPanelHeaderComponent,
|
|
27
27
|
BsDockPaneRendererComponent] });
|
|
28
|
-
BsDockModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.
|
|
28
|
+
BsDockModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: BsDockModule, imports: [CommonModule,
|
|
29
29
|
PortalModule,
|
|
30
30
|
BsCardModule,
|
|
31
31
|
BsInstanceOfModule,
|
|
32
32
|
BsSplitterModule,
|
|
33
33
|
BsTabControlModule] });
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: BsDockModule, decorators: [{
|
|
35
35
|
type: NgModule,
|
|
36
36
|
args: [{
|
|
37
37
|
declarations: [
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
export class BsFloatingPane {
|
|
2
|
+
constructor(data) {
|
|
3
|
+
Object.assign(this, data);
|
|
4
|
+
}
|
|
2
5
|
}
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmxvYXRpbmctcGFuZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvbWludHBsYXllci1uZy1ib290c3RyYXAvZG9jay9zcmMvcGFuZXMvZmxvYXRpbmctcGFuZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJQSxNQUFNLE9BQU8sY0FBYztJQUN2QixZQUFZLElBQThCO1FBQ3RDLE1BQU0sQ0FBQyxNQUFNLENBQUMsSUFBSSxFQUFFLElBQUksQ0FBQyxDQUFDO0lBQzlCLENBQUM7Q0FLSiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEJzRG9ja1BhbmUgfSBmcm9tIFwiLi9kb2NrLXBhbmVcIjtcbmltcG9ydCB7IFBvaW50IH0gZnJvbSBcIi4uL2ludGVyZmFjZXMvcG9pbnRcIjtcbmltcG9ydCB7IFNpemUgfSBmcm9tIFwiLi4vaW50ZXJmYWNlcy9zaXplXCI7XG5cbmV4cG9ydCBjbGFzcyBCc0Zsb2F0aW5nUGFuZSB7XG4gICAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8QnNGbG9hdGluZ1BhbmU+KSB7XG4gICAgICAgIE9iamVjdC5hc3NpZ24odGhpcywgZGF0YSk7XG4gICAgfVxuICAgIFxuICAgIHBhbmU/OiBCc0RvY2tQYW5lO1xuICAgIHNpemU/OiBTaXplO1xuICAgIGxvY2F0aW9uPzogUG9pbnQ7XG59Il19
|
|
@@ -6,4 +6,4 @@ export class BsTabGroupPane extends BsDockPane {
|
|
|
6
6
|
Object.assign(this, data);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLWdyb3VwLXBhbmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL2RvY2svc3JjL3BhbmVzL3RhYi1ncm91cC1wYW5lLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFFekMsTUFBTSxPQUFPLGNBQWUsU0FBUSxVQUFVO0lBQzFDLFlBQVksSUFBOEI7UUFDdEMsS0FBSyxFQUFFLENBQUM7UUFJWixVQUFLLEdBQW9CLEVBQUUsQ0FBQztRQUh4QixNQUFNLENBQUMsTUFBTSxDQUFDLElBQUksRUFBRSxJQUFJLENBQUMsQ0FBQztJQUM5QixDQUFDO0NBR0oiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBCc0NvbnRlbnRQYW5lIH0gZnJvbSBcIi4vY29udGVudC1wYW5lXCI7XG5pbXBvcnQgeyBCc0RvY2tQYW5lIH0gZnJvbSBcIi4vZG9jay1wYW5lXCI7XG5cbmV4cG9ydCBjbGFzcyBCc1RhYkdyb3VwUGFuZSBleHRlbmRzIEJzRG9ja1BhbmUge1xuICAgIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPEJzVGFiR3JvdXBQYW5lPikge1xuICAgICAgICBzdXBlcigpO1xuICAgICAgICBPYmplY3QuYXNzaWduKHRoaXMsIGRhdGEpO1xuICAgIH1cblxuICAgIHBhbmVzOiBCc0NvbnRlbnRQYW5lW10gPSBbXTtcbn0iXX0=
|
|
@@ -33,9 +33,9 @@ export class BsDropdownDirective {
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
BsDropdownDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
37
|
-
BsDropdownDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
36
|
+
BsDropdownDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: BsDropdownDirective, deps: [{ token: i0.ElementRef }, { token: BS_DEVELOPMENT }], target: i0.ɵɵFactoryTarget.Directive });
|
|
37
|
+
BsDropdownDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.5", type: BsDropdownDirective, selector: "[bsDropdown]", inputs: { hasBackdrop: "hasBackdrop", sameWidth: "sameWidth", closeOnClickOutside: "closeOnClickOutside", sameDropdownWidth: "sameDropdownWidth", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, host: { listeners: { "window:blur": "onBlur()" } }, queries: [{ propertyName: "menu", first: true, predicate: BsDropdownMenuDirective, descendants: true }, { propertyName: "toggle", first: true, predicate: BsDropdownToggleDirective, descendants: true }], ngImport: i0 });
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: BsDropdownDirective, decorators: [{
|
|
39
39
|
type: Directive,
|
|
40
40
|
args: [{
|
|
41
41
|
selector: '[bsDropdown]'
|
|
@@ -83,9 +83,9 @@ export class BsDropdownMenuDirective extends ClickOutsideDirective {
|
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
BsDropdownMenuDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
87
|
-
BsDropdownMenuDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
88
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
86
|
+
BsDropdownMenuDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: BsDropdownMenuDirective, deps: [{ token: forwardRef(() => BsDropdownDirective) }, { token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i1.Overlay }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: PLATFORM_ID }, { token: BS_DEVELOPMENT, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
87
|
+
BsDropdownMenuDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.5", type: BsDropdownMenuDirective, selector: "[bsDropdownMenu]", host: { listeners: { "clickOutside": "clickedOutside($event)", "document:keydown.escape": "onEscape($event)" }, properties: { "class.show": "this.show" } }, usesInheritance: true, ngImport: i0 });
|
|
88
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: BsDropdownMenuDirective, decorators: [{
|
|
89
89
|
type: Directive,
|
|
90
90
|
args: [{
|
|
91
91
|
selector: '[bsDropdownMenu]'
|
|
@@ -17,9 +17,9 @@ export class BsDropdownToggleDirective {
|
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
BsDropdownToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
21
|
-
BsDropdownToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
20
|
+
BsDropdownToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: BsDropdownToggleDirective, deps: [{ token: i1.BsDropdownDirective }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
21
|
+
BsDropdownToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.5", type: BsDropdownToggleDirective, selector: "[bsDropdownToggle]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: BsDropdownToggleDirective, decorators: [{
|
|
23
23
|
type: Directive,
|
|
24
24
|
args: [{
|
|
25
25
|
selector: '[bsDropdownToggle]'
|
|
@@ -10,18 +10,18 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
// import { BsDropdownComponent } from './dropdown/dropdown.component';
|
|
11
11
|
export class BsDropdownModule {
|
|
12
12
|
}
|
|
13
|
-
BsDropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
14
|
-
BsDropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.
|
|
13
|
+
BsDropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: BsDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14
|
+
BsDropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.5", ngImport: i0, type: BsDropdownModule, declarations: [BsDropdownDirective,
|
|
15
15
|
BsDropdownToggleDirective,
|
|
16
16
|
BsDropdownMenuDirective], imports: [CommonModule, OverlayModule, BsHasOverlayModule, ClickOutsideModule], exports: [BsDropdownDirective,
|
|
17
17
|
BsDropdownToggleDirective,
|
|
18
18
|
BsDropdownMenuDirective,
|
|
19
19
|
// BsDropdownComponent,
|
|
20
20
|
BsHasOverlayModule] });
|
|
21
|
-
BsDropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.
|
|
21
|
+
BsDropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: BsDropdownModule, imports: [CommonModule, OverlayModule, BsHasOverlayModule, ClickOutsideModule,
|
|
22
22
|
// BsDropdownComponent,
|
|
23
23
|
BsHasOverlayModule] });
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: BsDropdownModule, decorators: [{
|
|
25
25
|
type: NgModule,
|
|
26
26
|
args: [{
|
|
27
27
|
declarations: [
|
|
@@ -5,9 +5,9 @@ export class BsDropdownDividerDirective {
|
|
|
5
5
|
this.dropdownDividerClass = true;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
-
BsDropdownDividerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
9
|
-
BsDropdownDividerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
8
|
+
BsDropdownDividerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: BsDropdownDividerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
9
|
+
BsDropdownDividerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.5", type: BsDropdownDividerDirective, selector: "[bsDropdownDivider]", host: { properties: { "class.dropdown-divider": "this.dropdownDividerClass" } }, ngImport: i0 });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: BsDropdownDividerDirective, decorators: [{
|
|
11
11
|
type: Directive,
|
|
12
12
|
args: [{
|
|
13
13
|
selector: '[bsDropdownDivider]'
|
|
@@ -4,10 +4,10 @@ import { BsDropdownDividerDirective } from './dropdown-divider.directive';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export class BsDropdownDividerModule {
|
|
6
6
|
}
|
|
7
|
-
BsDropdownDividerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
8
|
-
BsDropdownDividerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.
|
|
9
|
-
BsDropdownDividerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
7
|
+
BsDropdownDividerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: BsDropdownDividerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
+
BsDropdownDividerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.5", ngImport: i0, type: BsDropdownDividerModule, declarations: [BsDropdownDividerDirective], imports: [CommonModule], exports: [BsDropdownDividerDirective] });
|
|
9
|
+
BsDropdownDividerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: BsDropdownDividerModule, imports: [CommonModule] });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: BsDropdownDividerModule, decorators: [{
|
|
11
11
|
type: NgModule,
|
|
12
12
|
args: [{
|
|
13
13
|
declarations: [BsDropdownDividerDirective],
|
|
@@ -6,9 +6,9 @@ export class BsDropdownItemComponent {
|
|
|
6
6
|
this.disabled = false;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
BsDropdownItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
10
|
-
BsDropdownItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
9
|
+
BsDropdownItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: BsDropdownItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10
|
+
BsDropdownItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.5", type: BsDropdownItemComponent, selector: "bs-dropdown-item", inputs: { isSelected: "isSelected", disabled: "disabled" }, ngImport: i0, template: "<li class=\"dropdown-item cursor-pointer\" [class.active]=\"isSelected\" [class.disabled]=\"disabled\">\n <ng-content></ng-content>\n</li>", styles: [""] });
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: BsDropdownItemComponent, decorators: [{
|
|
12
12
|
type: Component,
|
|
13
13
|
args: [{ selector: 'bs-dropdown-item', template: "<li class=\"dropdown-item cursor-pointer\" [class.active]=\"isSelected\" [class.disabled]=\"disabled\">\n <ng-content></ng-content>\n</li>" }]
|
|
14
14
|
}], propDecorators: { isSelected: [{
|