@mintplayer/ng-bootstrap 16.18.1 → 16.18.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/esm2022/accordion/src/accordion/accordion.component.mjs +4 -4
- package/esm2022/accordion/src/accordion-tab/accordion-tab.component.mjs +4 -4
- package/esm2022/accordion/src/accordion-tab-header/accordion-tab-header.component.mjs +4 -4
- package/esm2022/accordion/src/accordion.module.mjs +5 -5
- package/esm2022/alert/src/alert/alert.component.mjs +4 -4
- package/esm2022/alert/src/alert-close/alert-close.component.mjs +4 -4
- package/esm2022/alert/src/alert.module.mjs +5 -5
- package/esm2022/async-host-binding/src/async-host-binding.module.mjs +5 -5
- package/esm2022/badge/src/badge.component.mjs +4 -4
- package/esm2022/badge/src/badge.module.mjs +5 -5
- package/esm2022/breadcrumb/src/breadcrumb/breadcrumb.component.mjs +4 -4
- package/esm2022/breadcrumb/src/breadcrumb-item/breadcrumb-item.component.mjs +4 -4
- package/esm2022/breadcrumb/src/breadcrumb.module.mjs +5 -5
- package/esm2022/button-group/src/button-group/button-group.component.mjs +4 -4
- package/esm2022/button-group/src/button-group.module.mjs +5 -5
- package/esm2022/button-type/src/button-type/button-type.directive.mjs +4 -4
- package/esm2022/button-type/src/button-type/button-type.module.mjs +5 -5
- package/esm2022/calendar/src/calendar.component.mjs +4 -4
- package/esm2022/calendar/src/calendar.module.mjs +5 -5
- package/esm2022/calendar-month/src/pipes/month-name/month-name.module.mjs +5 -5
- package/esm2022/calendar-month/src/pipes/month-name/month-name.pipe.mjs +4 -4
- package/esm2022/calendar-month/src/pipes/weekday-name/weekday-name.module.mjs +5 -5
- package/esm2022/calendar-month/src/pipes/weekday-name/weekday-name.pipe.mjs +4 -4
- package/esm2022/calendar-month/src/service/calendar-month.service.mjs +4 -4
- package/esm2022/card/src/card/card.component.mjs +4 -4
- package/esm2022/card/src/card-header/card-header.component.mjs +4 -4
- package/esm2022/card/src/card.module.mjs +5 -5
- package/esm2022/carousel/src/carousel/carousel.component.mjs +5 -5
- package/esm2022/carousel/src/carousel-image/carousel-image.directive.mjs +4 -4
- package/esm2022/carousel/src/carousel-img/carousel-img.directive.mjs +4 -4
- package/esm2022/carousel/src/carousel.module.mjs +5 -5
- package/esm2022/close/src/close.component.mjs +4 -4
- package/esm2022/close/src/close.module.mjs +5 -5
- package/esm2022/code-snippet/src/code-snippet.component.mjs +4 -4
- package/esm2022/code-snippet/src/code-snippet.module.mjs +5 -5
- package/esm2022/color-picker/color-picker.module.mjs +5 -5
- package/esm2022/color-picker/components/alpha-strip/alpha-strip.component.mjs +4 -4
- package/esm2022/color-picker/components/color-picker/color-picker.component.mjs +4 -4
- package/esm2022/color-picker/components/color-wheel/color-wheel.component.mjs +4 -4
- package/esm2022/color-picker/components/luminosity-strip/luminosity-strip.component.mjs +4 -4
- package/esm2022/color-picker/components/slider/slider.component.mjs +10 -10
- package/esm2022/color-picker/directives/color-picker-value-accessor/color-picker-value-accessor.directive.mjs +4 -4
- package/esm2022/container/src/container/container.component.mjs +4 -4
- package/esm2022/container/src/container.module.mjs +5 -5
- package/esm2022/context-menu/src/context-menu.directive.mjs +4 -4
- package/esm2022/context-menu/src/context-menu.module.mjs +5 -5
- package/esm2022/copy/src/copy.directive.mjs +4 -4
- package/esm2022/copy/src/copy.module.mjs +5 -5
- package/esm2022/datatable/src/datatable/datatable.component.mjs +4 -4
- package/esm2022/datatable/src/datatable-column/datatable-column.directive.mjs +4 -4
- package/esm2022/datatable/src/datatable.module.mjs +5 -5
- package/esm2022/datatable/src/row-template/row-template.directive.mjs +4 -4
- package/esm2022/datepicker/src/datepicker.component.mjs +4 -4
- package/esm2022/datepicker/src/datepicker.module.mjs +5 -5
- package/esm2022/dock/src/dock/dock.component.mjs +4 -4
- package/esm2022/dock/src/dock-pane-renderer/dock-pane-renderer.component.mjs +4 -4
- package/esm2022/dock/src/dock-panel/dock-panel.component.mjs +4 -4
- package/esm2022/dock/src/dock-panel-header/dock-panel-header.component.mjs +4 -4
- package/esm2022/dock/src/dock.module.mjs +5 -5
- package/esm2022/dock/src/services/dock/dock.service.mjs +4 -4
- package/esm2022/dropdown/src/dropdown/dropdown.directive.mjs +4 -4
- package/esm2022/dropdown/src/dropdown-menu/dropdown-menu.directive.mjs +4 -4
- package/esm2022/dropdown/src/dropdown-toggle/dropdown-toggle.directive.mjs +4 -4
- package/esm2022/dropdown/src/dropdown.module.mjs +5 -5
- package/esm2022/dropdown-divider/src/dropdown-divider.directive.mjs +4 -4
- package/esm2022/dropdown-divider/src/dropdown-divider.module.mjs +5 -5
- package/esm2022/dropdown-menu/src/dropdown-item/dropdown-item.component.mjs +4 -4
- package/esm2022/dropdown-menu/src/dropdown-menu/dropdown-menu.component.mjs +4 -4
- package/esm2022/dropdown-menu/src/dropdown-menu.module.mjs +5 -5
- package/esm2022/enhanced-paste/src/directive/enhanced-paste.directive.mjs +4 -4
- package/esm2022/enhanced-paste/src/enhanced-paste.module.mjs +5 -5
- package/esm2022/enum/src/service/enum.service.mjs +4 -4
- package/esm2022/file-upload/src/component/file-upload.component.mjs +4 -4
- package/esm2022/file-upload/src/directive/file-upload-template.directive.mjs +4 -4
- package/esm2022/file-upload/src/file-upload.module.mjs +5 -5
- package/esm2022/file-upload/src/pipes/format-bytes/format-bytes.pipe.mjs +4 -4
- package/esm2022/floating-labels/src/floating-labels/floating-label/floating-label.component.mjs +4 -4
- package/esm2022/floating-labels/src/floating-labels/floating-labels.module.mjs +5 -5
- package/esm2022/font-color/src/font-color.module.mjs +5 -5
- package/esm2022/font-color/src/font-color.pipe.mjs +4 -4
- package/esm2022/for/src/for.directive.mjs +4 -4
- package/esm2022/for/src/for.module.mjs +5 -5
- package/esm2022/form/src/form/form.component.mjs +5 -5
- package/esm2022/form/src/form-control/form-control.directive.mjs +4 -4
- package/esm2022/form/src/form-group/form-group.directive.mjs +4 -4
- package/esm2022/form/src/form.module.mjs +5 -5
- package/esm2022/grid/src/component/grid.component.mjs +4 -4
- package/esm2022/grid/src/directives/col-form-label/col-form-label.directive.mjs +4 -4
- package/esm2022/grid/src/directives/column/column.directive.mjs +4 -4
- package/esm2022/grid/src/directives/row/row.directive.mjs +4 -4
- package/esm2022/grid/src/grid.module.mjs +5 -5
- package/esm2022/has-overlay/src/has-overlay/has-overlay.component.mjs +4 -4
- package/esm2022/has-overlay/src/has-overlay/has-overlay.module.mjs +5 -5
- package/esm2022/has-property/src/has-property.module.mjs +5 -5
- package/esm2022/has-property/src/has-property.pipe.mjs +4 -4
- package/esm2022/icon/src/icon.component.mjs +5 -5
- package/esm2022/icon/src/icon.module.mjs +5 -5
- package/esm2022/in-list/src/in-list.module.mjs +5 -5
- package/esm2022/in-list/src/in-list.pipe.mjs +4 -4
- package/esm2022/input-group/src/input-group/input-group.component.mjs +4 -4
- package/esm2022/input-group/src/input-group.module.mjs +5 -5
- package/esm2022/instance-of/src/directives/instanceof-case.directive.mjs +4 -4
- package/esm2022/instance-of/src/directives/instanceof-default.directive.mjs +4 -4
- package/esm2022/instance-of/src/directives/instanceof.directive.mjs +4 -4
- package/esm2022/instance-of/src/instance-of.module.mjs +5 -5
- package/esm2022/instance-of/src/pipes/instance-of.pipe.mjs +4 -4
- package/esm2022/lazy-loading/src/lazy-load/lazy-load.directive.mjs +4 -4
- package/esm2022/lazy-loading/src/lazy-loading.module.mjs +5 -5
- package/esm2022/let/directive/let.directive.mjs +4 -4
- package/esm2022/let/let.module.mjs +5 -5
- package/esm2022/linify/src/linify.module.mjs +5 -5
- package/esm2022/linify/src/linify.pipe.mjs +4 -4
- package/esm2022/list-group/src/list-group/list-group.component.mjs +4 -4
- package/esm2022/list-group/src/list-group-item/list-group-item.component.mjs +4 -4
- package/esm2022/list-group/src/list-group.module.mjs +5 -5
- package/esm2022/markdown/src/bold/bold.pipe.mjs +4 -4
- package/esm2022/markdown/src/italic/italic.pipe.mjs +4 -4
- package/esm2022/markdown/src/markdown.module.mjs +5 -5
- package/esm2022/markdown/src/strikethrough/strikethrough.pipe.mjs +4 -4
- package/esm2022/markdown/src/underline/underline.pipe.mjs +4 -4
- package/esm2022/marquee/src/marquee/marquee.component.mjs +4 -4
- package/esm2022/marquee/src/marquee.module.mjs +5 -5
- package/esm2022/modal/src/components/modal/modal.component.mjs +4 -4
- package/esm2022/modal/src/components/modal-host/modal-host.component.mjs +4 -4
- package/esm2022/modal/src/directives/modal/modal.directive.mjs +4 -4
- package/esm2022/modal/src/directives/modal-body/modal-body.directive.mjs +4 -4
- package/esm2022/modal/src/directives/modal-close/modal-close.directive.mjs +4 -4
- package/esm2022/modal/src/directives/modal-footer/modal-footer.directive.mjs +4 -4
- package/esm2022/modal/src/directives/modal-header/modal-header.directive.mjs +4 -4
- package/esm2022/modal/src/modal.module.mjs +5 -5
- package/esm2022/multiselect/src/component/multiselect.component.mjs +4 -4
- package/esm2022/multiselect/src/directives/button-template/button-template.directive.mjs +4 -4
- package/esm2022/multiselect/src/directives/footer-template/footer-template.directive.mjs +4 -4
- package/esm2022/multiselect/src/directives/header-template/header-template.directive.mjs +4 -4
- package/esm2022/multiselect/src/multiselect.module.mjs +5 -5
- package/esm2022/navbar/src/dropdown-toggle/dropdown-toggle.directive.mjs +4 -4
- package/esm2022/navbar/src/expand-button/expand-button.directive.mjs +4 -4
- package/esm2022/navbar/src/nav-link/nav-link.directive.mjs +4 -4
- package/esm2022/navbar/src/navbar/navbar.component.mjs +4 -4
- package/esm2022/navbar/src/navbar-brand/navbar-brand.component.mjs +4 -4
- package/esm2022/navbar/src/navbar-content/navbar-content.directive.mjs +4 -4
- package/esm2022/navbar/src/navbar-dropdown/navbar-dropdown.component.mjs +4 -4
- package/esm2022/navbar/src/navbar-item/navbar-item.component.mjs +4 -4
- package/esm2022/navbar/src/navbar-nav/navbar-nav.component.mjs +4 -4
- package/esm2022/navbar/src/navbar.module.mjs +5 -5
- package/esm2022/navbar-toggler/src/navbar-toggler/navbar-toggler.component.mjs +4 -4
- package/esm2022/navbar-toggler/src/navbar-toggler.module.mjs +5 -5
- package/esm2022/navigation-lock/src/directive/navigation-lock.directive.mjs +4 -4
- package/esm2022/navigation-lock/src/guard/navigation-lock.guard.mjs +4 -4
- package/esm2022/navigation-lock/src/navigation-lock.module.mjs +5 -5
- package/esm2022/no-noscript/src/no-noscript/no-noscript.directive.mjs +4 -4
- package/esm2022/no-noscript/src/no-noscript.module.mjs +5 -5
- package/esm2022/offcanvas/src/components/offcanvas/offcanvas.component.mjs +4 -4
- package/esm2022/offcanvas/src/components/offcanvas-body/offcanvas-body.component.mjs +4 -4
- package/esm2022/offcanvas/src/components/offcanvas-header/offcanvas-header.component.mjs +4 -4
- package/esm2022/offcanvas/src/components/offcanvas-host/offcanvas-host.component.mjs +4 -4
- package/esm2022/offcanvas/src/directives/offcanvas-close/offcanvas-close.directive.mjs +4 -4
- package/esm2022/offcanvas/src/directives/offcanvas-content/offcanvas-content.directive.mjs +4 -4
- package/esm2022/offcanvas/src/directives/offcanvas-push/offcanvas-push.directive.mjs +4 -4
- package/esm2022/offcanvas/src/offcanvas.module.mjs +5 -5
- package/esm2022/ordinal-number/src/ordinal-number/ordinal-number.pipe.mjs +4 -4
- package/esm2022/ordinal-number/src/ordinal-number.module.mjs +5 -5
- package/esm2022/pagination/src/component/pagination/pagination.component.mjs +4 -4
- package/esm2022/pagination/src/pagination.module.mjs +5 -5
- package/esm2022/placeholder/src/placeholder/placeholder.component.mjs +4 -4
- package/esm2022/placeholder/src/placeholder-field/placeholder-field.directive.mjs +4 -4
- package/esm2022/placeholder/src/placeholder.module.mjs +5 -5
- package/esm2022/playlist-toggler/src/playlist-toggler/playlist-toggler.component.mjs +4 -4
- package/esm2022/playlist-toggler/src/playlist-toggler.module.mjs +5 -5
- package/esm2022/popover/src/component/popover.component.mjs +4 -4
- package/esm2022/popover/src/directives/popover/popover.directive.mjs +4 -4
- package/esm2022/popover/src/directives/popover-body/popover-body.directive.mjs +4 -4
- package/esm2022/popover/src/directives/popover-header/popover-header.directive.mjs +4 -4
- package/esm2022/popover/src/popover.module.mjs +5 -5
- package/esm2022/progress-bar/src/progress/progress.component.mjs +4 -4
- package/esm2022/progress-bar/src/progress-bar/progress-bar.component.mjs +4 -4
- package/esm2022/progress-bar/src/progress-bar.module.mjs +5 -5
- package/esm2022/range/src/component/range.component.mjs +5 -5
- package/esm2022/range/src/range.module.mjs +5 -5
- package/esm2022/range/src/value-accessor/range-value-accessor.mjs +4 -4
- package/esm2022/rating/src/component/rating.component.mjs +4 -4
- package/esm2022/rating/src/rating.module.mjs +5 -5
- package/esm2022/resizable/src/resizable/resizable.component.mjs +4 -4
- package/esm2022/resizable/src/resizable.module.mjs +5 -5
- package/esm2022/resizable/src/resize-glyph/resize-glyph.directive.mjs +4 -4
- package/esm2022/scheduler/src/components/resource-group-presenter/resource-group-presenter.component.mjs +4 -4
- package/esm2022/scheduler/src/components/scheduler/scheduler.component.mjs +4 -4
- package/esm2022/scheduler/src/pipes/bs-seconds-timespan.pipe/bs-seconds-timespan.pipe.mjs +4 -4
- package/esm2022/scheduler/src/pipes/bs-seconds-today-offset/bs-seconds-today-offset.pipe.mjs +4 -4
- package/esm2022/scheduler/src/pipes/date-offset/date-offset.pipe.mjs +4 -4
- package/esm2022/scheduler/src/pipes/day-of-week/day-of-week.pipe.mjs +4 -4
- package/esm2022/scheduler/src/scheduler.module.mjs +5 -5
- package/esm2022/scheduler/src/services/timeline/timeline.service.mjs +4 -4
- package/esm2022/scrollspy/src/component/scrollspy.component.mjs +4 -4
- package/esm2022/scrollspy/src/directives/scrollspy.directive.mjs +4 -4
- package/esm2022/scrollspy/src/scrollspy.module.mjs +5 -5
- package/esm2022/scrollspy/src/services/scroll-offset/scroll-offset.service.mjs +4 -4
- package/esm2022/searchbox/src/directives/enter-search-term.directive.mjs +4 -4
- package/esm2022/searchbox/src/directives/no-results.directive.mjs +4 -4
- package/esm2022/searchbox/src/directives/suggestion.directive.mjs +4 -4
- package/esm2022/searchbox/src/searchbox/searchbox.component.mjs +4 -4
- package/esm2022/searchbox/src/searchbox.module.mjs +5 -5
- package/esm2022/select/src/component/select.component.mjs +5 -5
- package/esm2022/select/src/select.module.mjs +5 -5
- package/esm2022/select/src/value-accessors/select-value-accessor.mjs +7 -7
- package/esm2022/select2/src/component/select2.component.mjs +4 -4
- package/esm2022/select2/src/directive/item-template/item-template.directive.mjs +4 -4
- package/esm2022/select2/src/directive/suggestion-template/suggestion-template.directive.mjs +4 -4
- package/esm2022/select2/src/select2.module.mjs +5 -5
- package/esm2022/signature-pad/src/component/signature-pad.component.mjs +4 -4
- package/esm2022/signature-pad/src/signature-pad.module.mjs +5 -5
- package/esm2022/slugify/src/slugify.module.mjs +5 -5
- package/esm2022/slugify/src/slugify.pipe.mjs +4 -4
- package/esm2022/spinner/src/spinner.component.mjs +4 -4
- package/esm2022/spinner/src/spinner.module.mjs +5 -5
- package/esm2022/split-string/src/split-string.module.mjs +5 -5
- package/esm2022/split-string/src/split-string.pipe.mjs +4 -4
- package/esm2022/splitter/src/element-at/element-at.pipe.mjs +4 -4
- package/esm2022/splitter/src/split-panel/split-panel.component.mjs +4 -4
- package/esm2022/splitter/src/splitter/splitter.component.mjs +4 -4
- package/esm2022/splitter/src/splitter.module.mjs +5 -5
- package/esm2022/sticky-footer/src/sticky-footer/sticky-footer.component.mjs +4 -4
- package/esm2022/sticky-footer/src/sticky-footer-parent/sticky-footer-parent.directive.mjs +4 -4
- package/esm2022/sticky-footer/src/sticky-footer.module.mjs +5 -5
- package/esm2022/tab-control/src/tab-control/tab-control.component.mjs +4 -4
- package/esm2022/tab-control/src/tab-control.module.mjs +5 -5
- package/esm2022/tab-control/src/tab-page/tab-page.component.mjs +4 -4
- package/esm2022/tab-control/src/tab-page-header/tab-page-header.directive.mjs +4 -4
- package/esm2022/table/src/component/table.component.mjs +4 -4
- package/esm2022/table/src/table.module.mjs +5 -5
- package/esm2022/timepicker/src/timepicker.component.mjs +4 -4
- package/esm2022/timepicker/src/timepicker.module.mjs +5 -5
- package/esm2022/toast/src/components/toast/toast.component.mjs +4 -4
- package/esm2022/toast/src/components/toast-body/toast-body.component.mjs +4 -4
- package/esm2022/toast/src/components/toast-container/toast-container.component.mjs +4 -4
- package/esm2022/toast/src/components/toast-header/toast-header.component.mjs +4 -4
- package/esm2022/toast/src/directives/toast-close/toast-close.directive.mjs +4 -4
- package/esm2022/toast/src/pipes/add-properties.pipe.mjs +4 -4
- package/esm2022/toast/src/services/toast/toast.service.mjs +4 -4
- package/esm2022/toast/src/toast.module.mjs +5 -5
- package/esm2022/toggle-button/src/component/toggle-button.component.mjs +5 -5
- package/esm2022/toggle-button/src/directives/toggle-button-group/toggle-button-group.directive.mjs +4 -4
- package/esm2022/toggle-button/src/toggle-button.module.mjs +5 -5
- package/esm2022/toggle-button/src/value-accessor/toggle-button-value-accessor.mjs +4 -4
- package/esm2022/tooltip/src/component/tooltip.component.mjs +4 -4
- package/esm2022/tooltip/src/directive/tooltip.directive.mjs +4 -4
- package/esm2022/tooltip/src/tooltip.module.mjs +5 -5
- package/esm2022/track-by/src/track-by-index.directive.mjs +4 -4
- package/esm2022/track-by/src/track-by.directive.mjs +4 -4
- package/esm2022/track-by/src/track-by.module.mjs +5 -5
- package/esm2022/treeview/src/treeview/treeview.component.mjs +4 -4
- package/esm2022/treeview/src/treeview-item/treeview-item.component.mjs +4 -4
- package/esm2022/treeview/src/treeview.module.mjs +5 -5
- package/esm2022/trust-html/src/trust-html.module.mjs +5 -5
- package/esm2022/trust-html/src/trust-html.pipe.mjs +4 -4
- package/esm2022/typeahead/src/typeahead.component.mjs +4 -4
- package/esm2022/typeahead/src/typeahead.module.mjs +5 -5
- package/esm2022/uc-first/src/uc-first.module.mjs +5 -5
- package/esm2022/uc-first/src/uc-first.pipe.mjs +4 -4
- package/esm2022/user-agent/src/directive/user-agent.directive.mjs +4 -4
- package/esm2022/user-agent/src/user-agent.module.mjs +5 -5
- package/esm2022/word-count/src/word-count.module.mjs +5 -5
- package/esm2022/word-count/src/word-count.pipe.mjs +4 -4
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +13 -13
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +10 -10
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-async-host-binding.mjs +4 -4
- package/fesm2022/mintplayer-ng-bootstrap-async-host-binding.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs +10 -10
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-button-type.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-button-type.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs +17 -17
- package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs +10 -10
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +14 -14
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs +28 -28
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-container.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-container.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-copy.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-copy.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +13 -13
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs +19 -19
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +10 -10
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +13 -13
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-enhanced-paste.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-enhanced-paste.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-enum.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-enum.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs +13 -13
- package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-font-color.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-font-color.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-for.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-for.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-form.mjs +14 -14
- package/fesm2022/mintplayer-ng-bootstrap-form.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +16 -16
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-has-property.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-has-property.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-icon.mjs +8 -8
- package/fesm2022/mintplayer-ng-bootstrap-icon.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-in-list.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-in-list.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-instance-of.mjs +16 -16
- package/fesm2022/mintplayer-ng-bootstrap-instance-of.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-lazy-loading.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-lazy-loading.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-let.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-let.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-linify.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-linify.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs +10 -10
- package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-markdown.mjs +16 -16
- package/fesm2022/mintplayer-ng-bootstrap-markdown.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs +25 -25
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-multiselect.mjs +16 -16
- package/fesm2022/mintplayer-ng-bootstrap-multiselect.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +31 -31
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navigation-lock.mjs +10 -10
- package/fesm2022/mintplayer-ng-bootstrap-navigation-lock.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +25 -25
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-ordinal-number.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-ordinal-number.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs +10 -10
- package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +16 -16
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +10 -10
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs +11 -11
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs +10 -10
- package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +25 -25
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +13 -13
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-searchbox.mjs +16 -16
- package/fesm2022/mintplayer-ng-bootstrap-searchbox.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs +14 -14
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-select2.mjs +13 -13
- package/fesm2022/mintplayer-ng-bootstrap-select2.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-slugify.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-slugify.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-split-string.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-split-string.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs +13 -13
- package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs +10 -10
- package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +13 -13
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +25 -25
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-toggle-button.mjs +14 -14
- package/fesm2022/mintplayer-ng-bootstrap-toggle-button.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +10 -10
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-track-by.mjs +10 -10
- package/fesm2022/mintplayer-ng-bootstrap-track-by.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +10 -10
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-trust-html.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-trust-html.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-uc-first.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-uc-first.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-user-agent.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-user-agent.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-word-count.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-word-count.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-tooltip.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/tooltip/src/providers/tooltip-content.provider.ts","../../../../libs/mintplayer-ng-bootstrap/tooltip/src/component/tooltip.component.ts","../../../../libs/mintplayer-ng-bootstrap/tooltip/src/component/tooltip.component.html","../../../../libs/mintplayer-ng-bootstrap/tooltip/src/directive/tooltip.directive.ts","../../../../libs/mintplayer-ng-bootstrap/tooltip/src/tooltip.module.ts","../../../../libs/mintplayer-ng-bootstrap/tooltip/mintplayer-ng-bootstrap-tooltip.ts"],"sourcesContent":["import { InjectionToken, TemplateRef } from \"@angular/core\";\n\nexport const TOOLTIP_CONTENT = new InjectionToken<TemplateRef<any>>('TooltipContent');","import { Component, HostBinding, Inject, Input, TemplateRef } from '@angular/core';\nimport { BehaviorSubject, map, Observable } from 'rxjs';\nimport { FadeInOutAnimation } from '@mintplayer/ng-animations';\nimport { Position } from '@mintplayer/ng-bootstrap';\nimport { TOOLTIP_CONTENT } from '../providers/tooltip-content.provider';\n\n@Component({\n selector: 'bs-tooltip',\n templateUrl: './tooltip.component.html',\n styleUrls: ['./tooltip.component.scss'],\n animations: [FadeInOutAnimation]\n})\nexport class BsTooltipComponent {\n constructor(@Inject(TOOLTIP_CONTENT) content: TemplateRef<any>) {\n this.template = content; \n this.positionClass$ = this.position$\n .pipe(map(position => `bs-tooltip-${position}`));\n this.marginClass$ = this.position$\n .pipe(map(position => {\n switch (position) {\n case 'start': return 'me-1';\n case 'end': return 'ms-1';\n case 'top': return 'mb-1';\n case 'bottom': return 'mt-1';\n }\n }));\n }\n\n //#region Position\n position$ = new BehaviorSubject<Position>('bottom');\n public get position() {\n return this.position$.value;\n }\n @Input() public set position(value: Position) {\n this.position$.next(value);\n }\n //#endregion\n\n template: TemplateRef<any>;\n positionClass$: Observable<string>;\n marginClass$: Observable<string>;\n\n @HostBinding('class.position-relative') positionRelative = true;\n\n}\n","<bs-has-overlay></bs-has-overlay>\n<div [@fadeInOut] class=\"tooltip position-absolute show\"\n [class]=\"[positionClass$ | async, marginClass$ | async]\">\n <div class=\"tooltip-arrow position-absolute\"></div>\n <div class=\"tooltip-inner\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n </div>\n</div>\n","import { ConnectedPosition, Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport { Directive, ElementRef, Host, HostListener, Injector, Input, OnDestroy, SkipSelf, TemplateRef } from '@angular/core';\nimport { Position } from '@mintplayer/ng-bootstrap';\nimport { BsTooltipComponent } from '../component/tooltip.component';\nimport { TOOLTIP_CONTENT } from '../providers/tooltip-content.provider';\n\n@Directive({\n selector: '*[bsTooltip]'\n})\nexport class BsTooltipDirective implements OnDestroy {\n\n constructor(\n private overlay: Overlay,\n private templateRef: TemplateRef<any>,\n private parentInjector: Injector,\n @Host() @SkipSelf() private parent: ElementRef\n ) {\n this.injector = Injector.create({\n providers: [{ provide: TOOLTIP_CONTENT, useValue: this.templateRef }],\n parent: this.parentInjector\n });\n this.portal = new ComponentPortal(BsTooltipComponent, null, this.injector);\n\n parent.nativeElement.onmouseenter = () => {\n this.showTooltip();\n };\n parent.nativeElement.onmouseleave = () => {\n this.hideTooltip();\n }\n }\n\n @Input() public bsTooltip: Position = 'bottom';\n\n private injector: Injector;\n private portal: ComponentPortal<any>;\n private overlayRef: OverlayRef | null = null;\n\n @HostListener('window:blur') private onBlur() {\n this.hideTooltip();\n }\n\n showTooltip() {\n const positions: ConnectedPosition[] = [];\n switch (this.bsTooltip) {\n case 'bottom': {\n positions.push({\n originX: \"center\",\n originY: \"bottom\", //<--\n overlayX: \"center\",\n overlayY: \"top\"\n });\n } break;\n case 'top': {\n positions.push({\n originX: \"center\",\n originY: \"top\", //<--\n overlayX: \"center\",\n overlayY: \"bottom\"\n });\n } break;\n case 'start': {\n positions.push({\n originX: \"start\", //<--\n originY: \"center\",\n overlayX: \"end\",\n overlayY: \"center\",\n });\n } break;\n case 'end': {\n positions.push({\n originX: \"end\", //<--\n originY: \"center\",\n overlayX: \"start\",\n overlayY: \"center\"\n });\n } break;\n }\n\n this.overlayRef = this.overlay.create({\n scrollStrategy: this.overlay.scrollStrategies.reposition(),\n positionStrategy: this.overlay.position()\n .flexibleConnectedTo(this.parent)\n .withPositions(positions),\n });\n const component = this.overlayRef.attach<BsTooltipComponent>(this.portal);\n component.instance.position = this.bsTooltip;\n }\n\n hideTooltip() {\n if (this.overlayRef) {\n this.overlayRef.detach();\n this.overlayRef.dispose();\n this.overlayRef = null;\n }\n }\n\n ngOnDestroy() {\n this.hideTooltip();\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport { BsHasOverlayModule } from '@mintplayer/ng-bootstrap/has-overlay';\nimport { BsTooltipDirective } from './directive/tooltip.directive';\nimport { BsTooltipComponent } from './component/tooltip.component';\n\n@NgModule({\n declarations: [\n BsTooltipDirective,\n BsTooltipComponent\n ],\n imports: [\n CommonModule,\n OverlayModule,\n BsHasOverlayModule,\n ],\n exports: [\n BsTooltipDirective\n ]\n})\nexport class BsTooltipModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AAEO,MAAM,eAAe,GAAG,IAAI,cAAc,CAAmB,gBAAgB,CAAC;;MCUxE,kBAAkB,CAAA;AAC7B,IAAA,WAAA,CAAqC,OAAyB,EAAA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GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,iBAZxB,kBAAkB;AAClB,YAAA,kBAAkB,aAGlB,YAAY;YACZ,aAAa;AACb,YAAA,kBAAkB,aAGlB,kBAAkB,CAAA,EAAA,CAAA,CAAA,EAAA;AAGT,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,YARxB,YAAY;YACZ,aAAa;YACb,kBAAkB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAMT,eAAe,EAAA,UAAA,EAAA,CAAA;kBAd3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,kBAAkB;wBAClB,kBAAkB;AACnB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,aAAa;wBACb,kBAAkB;AACnB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,kBAAkB;AACnB,qBAAA;AACF,iBAAA,CAAA;;;ACpBD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-tooltip.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/tooltip/src/providers/tooltip-content.provider.ts","../../../../libs/mintplayer-ng-bootstrap/tooltip/src/component/tooltip.component.ts","../../../../libs/mintplayer-ng-bootstrap/tooltip/src/component/tooltip.component.html","../../../../libs/mintplayer-ng-bootstrap/tooltip/src/directive/tooltip.directive.ts","../../../../libs/mintplayer-ng-bootstrap/tooltip/src/tooltip.module.ts","../../../../libs/mintplayer-ng-bootstrap/tooltip/mintplayer-ng-bootstrap-tooltip.ts"],"sourcesContent":["import { InjectionToken, TemplateRef } from \"@angular/core\";\n\nexport const TOOLTIP_CONTENT = new InjectionToken<TemplateRef<any>>('TooltipContent');","import { Component, HostBinding, Inject, Input, TemplateRef } from '@angular/core';\nimport { BehaviorSubject, map, Observable } from 'rxjs';\nimport { FadeInOutAnimation } from '@mintplayer/ng-animations';\nimport { Position } from '@mintplayer/ng-bootstrap';\nimport { TOOLTIP_CONTENT } from '../providers/tooltip-content.provider';\n\n@Component({\n selector: 'bs-tooltip',\n templateUrl: './tooltip.component.html',\n styleUrls: ['./tooltip.component.scss'],\n animations: [FadeInOutAnimation]\n})\nexport class BsTooltipComponent {\n constructor(@Inject(TOOLTIP_CONTENT) content: TemplateRef<any>) {\n this.template = content; \n this.positionClass$ = this.position$\n .pipe(map(position => `bs-tooltip-${position}`));\n this.marginClass$ = this.position$\n .pipe(map(position => {\n switch (position) {\n case 'start': return 'me-1';\n case 'end': return 'ms-1';\n case 'top': return 'mb-1';\n case 'bottom': return 'mt-1';\n }\n }));\n }\n\n //#region Position\n position$ = new BehaviorSubject<Position>('bottom');\n public get position() {\n return this.position$.value;\n }\n @Input() public set position(value: Position) {\n this.position$.next(value);\n }\n //#endregion\n\n template: TemplateRef<any>;\n positionClass$: Observable<string>;\n marginClass$: Observable<string>;\n\n @HostBinding('class.position-relative') positionRelative = true;\n\n}\n","<bs-has-overlay></bs-has-overlay>\n<div [@fadeInOut] class=\"tooltip position-absolute show\"\n [class]=\"[positionClass$ | async, marginClass$ | async]\">\n <div class=\"tooltip-arrow position-absolute\"></div>\n <div class=\"tooltip-inner\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n </div>\n</div>\n","import { ConnectedPosition, Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport { Directive, ElementRef, Host, HostListener, Injector, Input, OnDestroy, SkipSelf, TemplateRef } from '@angular/core';\nimport { Position } from '@mintplayer/ng-bootstrap';\nimport { BsTooltipComponent } from '../component/tooltip.component';\nimport { TOOLTIP_CONTENT } from '../providers/tooltip-content.provider';\n\n@Directive({\n selector: '*[bsTooltip]'\n})\nexport class BsTooltipDirective implements OnDestroy {\n\n constructor(\n private overlay: Overlay,\n private templateRef: TemplateRef<any>,\n private parentInjector: Injector,\n @Host() @SkipSelf() private parent: ElementRef\n ) {\n this.injector = Injector.create({\n providers: [{ provide: TOOLTIP_CONTENT, useValue: this.templateRef }],\n parent: this.parentInjector\n });\n this.portal = new ComponentPortal(BsTooltipComponent, null, this.injector);\n\n parent.nativeElement.onmouseenter = () => {\n this.showTooltip();\n };\n parent.nativeElement.onmouseleave = () => {\n this.hideTooltip();\n }\n }\n\n @Input() public bsTooltip: Position = 'bottom';\n\n private injector: Injector;\n private portal: ComponentPortal<any>;\n private overlayRef: OverlayRef | null = null;\n\n @HostListener('window:blur') private onBlur() {\n this.hideTooltip();\n }\n\n showTooltip() {\n const positions: ConnectedPosition[] = [];\n switch (this.bsTooltip) {\n case 'bottom': {\n positions.push({\n originX: \"center\",\n originY: \"bottom\", //<--\n overlayX: \"center\",\n overlayY: \"top\"\n });\n } break;\n case 'top': {\n positions.push({\n originX: \"center\",\n originY: \"top\", //<--\n overlayX: \"center\",\n overlayY: \"bottom\"\n });\n } break;\n case 'start': {\n positions.push({\n originX: \"start\", //<--\n originY: \"center\",\n overlayX: \"end\",\n overlayY: \"center\",\n });\n } break;\n case 'end': {\n positions.push({\n originX: \"end\", //<--\n originY: \"center\",\n overlayX: \"start\",\n overlayY: \"center\"\n });\n } break;\n }\n\n this.overlayRef = this.overlay.create({\n scrollStrategy: this.overlay.scrollStrategies.reposition(),\n positionStrategy: this.overlay.position()\n .flexibleConnectedTo(this.parent)\n .withPositions(positions),\n });\n const component = this.overlayRef.attach<BsTooltipComponent>(this.portal);\n component.instance.position = this.bsTooltip;\n }\n\n hideTooltip() {\n if (this.overlayRef) {\n this.overlayRef.detach();\n this.overlayRef.dispose();\n this.overlayRef = null;\n }\n }\n\n ngOnDestroy() {\n this.hideTooltip();\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport { BsHasOverlayModule } from '@mintplayer/ng-bootstrap/has-overlay';\nimport { BsTooltipDirective } from './directive/tooltip.directive';\nimport { BsTooltipComponent } from './component/tooltip.component';\n\n@NgModule({\n declarations: [\n BsTooltipDirective,\n BsTooltipComponent\n ],\n imports: [\n CommonModule,\n OverlayModule,\n BsHasOverlayModule,\n ],\n exports: [\n BsTooltipDirective\n ]\n})\nexport class BsTooltipModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AAEO,MAAM,eAAe,GAAG,IAAI,cAAc,CAAmB,gBAAgB,CAAC;;MCUxE,kBAAkB,CAAA;AAC7B,IAAA,WAAA,CAAqC,OAAyB,EAAA;;AAgB9D,QAAA,IAAA,CAAA,SAAS,GAAG,IAAI,eAAe,CAAW,QAAQ,CAAC,CAAC;QAaZ,IAAgB,CAAA,gBAAA,GAAG,IAAI,CAAC;AA5B9D,QAAA,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;AACxB,QAAA,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,SAAS;AACjC,aAAA,IAAI,CAAC,GAAG,CAAC,QAAQ,IAAI,CAAA,WAAA,EAAc,QAAQ,CAAA,CAAE,CAAC,CAAC,CAAC;AACnD,QAAA,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,SAAS;AAC/B,aAAA,IAAI,CAAC,GAAG,CAAC,QAAQ,IAAG;AACnB,YAAA,QAAQ,QAAQ;AACd,gBAAA,KAAK,OAAO,EAAE,OAAO,MAAM,CAAC;AAC5B,gBAAA,KAAK,KAAK,EAAE,OAAO,MAAM,CAAC;AAC1B,gBAAA,KAAK,KAAK,EAAE,OAAO,MAAM,CAAC;AAC1B,gBAAA,KAAK,QAAQ,EAAE,OAAO,MAAM,CAAC;AAC9B,aAAA;SACF,CAAC,CAAC,CAAC;KACP;AAID,IAAA,IAAW,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AA,OAAO,EAAE;wBACP,kBAAkB;AACnB,qBAAA;AACF,iBAAA,CAAA;;;ACpBD;;AAEG;;;;"}
|
|
@@ -10,10 +10,10 @@ class BsTrackByDirective {
|
|
|
10
10
|
set bsTrackBy(ngForTrackBy) {
|
|
11
11
|
this.ngFor.ngForTrackBy = (index, item) => item[ngForTrackBy];
|
|
12
12
|
}
|
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
14
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsTrackByDirective, deps: [{ token: i1.NgForOf, self: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
14
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: BsTrackByDirective, selector: "[ngForBsTrackBy]", inputs: { ngForOf: "ngForOf", bsTrackBy: ["ngForBsTrackBy", "bsTrackBy"] }, ngImport: i0 }); }
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsTrackByDirective, decorators: [{
|
|
17
17
|
type: Directive,
|
|
18
18
|
args: [{
|
|
19
19
|
selector: '[ngForBsTrackBy]',
|
|
@@ -31,10 +31,10 @@ class BsTrackByIndexDirective {
|
|
|
31
31
|
constructor(ngFor) {
|
|
32
32
|
ngFor.ngForTrackBy = (index, item) => index;
|
|
33
33
|
}
|
|
34
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
35
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.
|
|
34
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsTrackByIndexDirective, deps: [{ token: i1.NgForOf, self: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
35
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: BsTrackByIndexDirective, selector: "[ngForBsTrackByIndex]", inputs: { ngForOf: "ngForOf" }, ngImport: i0 }); }
|
|
36
36
|
}
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsTrackByIndexDirective, decorators: [{
|
|
38
38
|
type: Directive,
|
|
39
39
|
args: [{
|
|
40
40
|
selector: '[ngForBsTrackByIndex]',
|
|
@@ -46,11 +46,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
|
|
|
46
46
|
}] } });
|
|
47
47
|
|
|
48
48
|
class BsTrackByModule {
|
|
49
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
50
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.
|
|
51
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.
|
|
49
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsTrackByModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
50
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: BsTrackByModule, declarations: [BsTrackByDirective, BsTrackByIndexDirective], imports: [CommonModule], exports: [BsTrackByDirective, BsTrackByIndexDirective] }); }
|
|
51
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsTrackByModule, imports: [CommonModule] }); }
|
|
52
52
|
}
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsTrackByModule, decorators: [{
|
|
54
54
|
type: NgModule,
|
|
55
55
|
args: [{
|
|
56
56
|
declarations: [BsTrackByDirective, BsTrackByIndexDirective],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-track-by.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/track-by/src/track-by.directive.ts","../../../../libs/mintplayer-ng-bootstrap/track-by/src/track-by-index.directive.ts","../../../../libs/mintplayer-ng-bootstrap/track-by/src/track-by.module.ts","../../../../libs/mintplayer-ng-bootstrap/track-by/mintplayer-ng-bootstrap-track-by.ts"],"sourcesContent":["import { NgForOf } from '@angular/common';\nimport { Directive, Input, NgIterable, Self } from '@angular/core';\n\n@Directive({\n selector: '[ngForBsTrackBy]',\n})\nexport class BsTrackByDirective<T> {\n constructor(@Self() private ngFor: NgForOf<T>) {}\n\n @Input() ngForOf!: NgIterable<T> | null;\n\n @Input('ngForBsTrackBy') set bsTrackBy(ngForTrackBy: keyof T) {\n this.ngFor.ngForTrackBy = (index: number, item: T) => item[ngForTrackBy];\n }\n}\n\n","import { NgForOf } from '@angular/common';\nimport { Directive, Input, NgIterable, Self } from '@angular/core';\n\n@Directive({\n selector: '[ngForBsTrackByIndex]',\n})\nexport class BsTrackByIndexDirective<T> {\n constructor(@Self() ngFor: NgForOf<T>) {\n ngFor.ngForTrackBy = (index: number, item: T) => index;\n }\n\n @Input() ngForOf!: NgIterable<T> | null;\n}\n\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsTrackByDirective } from './track-by.directive';\nimport { BsTrackByIndexDirective } from './track-by-index.directive';\n\n@NgModule({\n declarations: [BsTrackByDirective, BsTrackByIndexDirective],\n imports: [CommonModule],\n exports: [BsTrackByDirective, BsTrackByIndexDirective],\n})\nexport class BsTrackByModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAMa,kBAAkB,CAAA;AAC7B,IAAA,WAAA,CAA4B,KAAiB,EAAA;QAAjB,IAAK,CAAA,KAAA,GAAL,KAAK,CAAY;KAAI;IAIjD,IAA6B,SAAS,CAAC,YAAqB,EAAA;AAC1D,QAAA,IAAI,CAAC,KAAK,CAAC,YAAY,GAAG,CAAC,KAAa,EAAE,IAAO,KAAK,IAAI,CAAC,YAAY,CAAC,CAAC;KAC1E
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-track-by.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/track-by/src/track-by.directive.ts","../../../../libs/mintplayer-ng-bootstrap/track-by/src/track-by-index.directive.ts","../../../../libs/mintplayer-ng-bootstrap/track-by/src/track-by.module.ts","../../../../libs/mintplayer-ng-bootstrap/track-by/mintplayer-ng-bootstrap-track-by.ts"],"sourcesContent":["import { NgForOf } from '@angular/common';\nimport { Directive, Input, NgIterable, Self } from '@angular/core';\n\n@Directive({\n selector: '[ngForBsTrackBy]',\n})\nexport class BsTrackByDirective<T> {\n constructor(@Self() private ngFor: NgForOf<T>) {}\n\n @Input() ngForOf!: NgIterable<T> | null;\n\n @Input('ngForBsTrackBy') set bsTrackBy(ngForTrackBy: keyof T) {\n this.ngFor.ngForTrackBy = (index: number, item: T) => item[ngForTrackBy];\n }\n}\n\n","import { NgForOf } from '@angular/common';\nimport { Directive, Input, NgIterable, Self } from '@angular/core';\n\n@Directive({\n selector: '[ngForBsTrackByIndex]',\n})\nexport class BsTrackByIndexDirective<T> {\n constructor(@Self() ngFor: NgForOf<T>) {\n ngFor.ngForTrackBy = (index: number, item: T) => index;\n }\n\n @Input() ngForOf!: NgIterable<T> | null;\n}\n\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsTrackByDirective } from './track-by.directive';\nimport { BsTrackByIndexDirective } from './track-by-index.directive';\n\n@NgModule({\n declarations: [BsTrackByDirective, BsTrackByIndexDirective],\n imports: [CommonModule],\n exports: [BsTrackByDirective, BsTrackByIndexDirective],\n})\nexport class BsTrackByModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAMa,kBAAkB,CAAA;AAC7B,IAAA,WAAA,CAA4B,KAAiB,EAAA;QAAjB,IAAK,CAAA,KAAA,GAAL,KAAK,CAAY;KAAI;IAIjD,IAA6B,SAAS,CAAC,YAAqB,EAAA;AAC1D,QAAA,IAAI,CAAC,KAAK,CAAC,YAAY,GAAG,CAAC,KAAa,EAAE,IAAO,KAAK,IAAI,CAAC,YAAY,CAAC,CAAC;KAC1E;+GAPU,kBAAkB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,OAAA,EAAA,IAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAAlB,kBAAkB,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,SAAA,EAAA,CAAA,gBAAA,EAAA,WAAA,CAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAH9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,kBAAkB;AAC7B,iBAAA,CAAA;;0BAEc,IAAI;4CAER,OAAO,EAAA,CAAA;sBAAf,KAAK;gBAEuB,SAAS,EAAA,CAAA;sBAArC,KAAK;uBAAC,gBAAgB,CAAA;;;MCLZ,uBAAuB,CAAA;AAClC,IAAA,WAAA,CAAoB,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AuB,CAAC;oBAC3D,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,OAAO,EAAE,CAAC,kBAAkB,EAAE,uBAAuB,CAAC;AACvD,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
|
|
@@ -29,10 +29,10 @@ class BsTreeviewComponent {
|
|
|
29
29
|
set isExpanded(value) {
|
|
30
30
|
this.isExpanded$.next(value);
|
|
31
31
|
}
|
|
32
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
33
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.
|
|
32
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsTreeviewComponent, deps: [{ token: BsTreeviewComponent, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
33
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BsTreeviewComponent, selector: "bs-treeview", inputs: { isExpanded: "isExpanded" }, outputs: { isExpandedChange: "isExpandedChange" }, ngImport: i0, template: "<bs-list-group [@slideUpDown]=\"isExpanded$ | async\" class=\"d-block overflow-y-hidden\">\n <ng-content></ng-content>\n</bs-list-group>", styles: [":host{margin-top:-1px}\n"], dependencies: [{ kind: "component", type: i1.BsListGroupComponent, selector: "bs-list-group" }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], animations: [SlideUpDownAnimation] }); }
|
|
34
34
|
}
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsTreeviewComponent, decorators: [{
|
|
36
36
|
type: Component,
|
|
37
37
|
args: [{ selector: 'bs-treeview', animations: [SlideUpDownAnimation], template: "<bs-list-group [@slideUpDown]=\"isExpanded$ | async\" class=\"d-block overflow-y-hidden\">\n <ng-content></ng-content>\n</bs-list-group>", styles: [":host{margin-top:-1px}\n"] }]
|
|
38
38
|
}], ctorParameters: function () { return [{ type: BsTreeviewComponent, decorators: [{
|
|
@@ -54,10 +54,10 @@ class BsTreeviewItemComponent {
|
|
|
54
54
|
this.childTree.isExpanded = !this.childTree.isExpanded;
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
58
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.
|
|
57
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsTreeviewItemComponent, deps: [{ token: BsTreeviewComponent }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
58
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BsTreeviewItemComponent, selector: "bs-treeview-item", queries: [{ propertyName: "childTree", first: true, predicate: BsTreeviewComponent }], ngImport: i0, template: "<bs-list-group-item (click)=\"onClick($event)\" class=\"d-block cursor-pointer list-group-item-action\">\n <span [style.padding-left.px]=\"parent.indentation$ | async\">\n <bs-icon [icon]=\"'chevron-right'\" [class.open]=\"childTree?.isExpanded$ | async\" [class.invisible]=\"!childTree\" class=\"d-inline-block me-2\"></bs-icon>\n <ng-content></ng-content>\n </span>\n</bs-list-group-item>\n<ng-content select=\"bs-treeview\"></ng-content>\n", styles: ["bs-list-group-item{margin-bottom:-1px}bs-icon{transition:transform .2s}bs-icon.open{transform:rotate(90deg)}\n"], dependencies: [{ kind: "component", type: i1.BsListGroupItemComponent, selector: "bs-list-group-item" }, { kind: "component", type: i3.BsIconComponent, selector: "bs-icon", inputs: ["icon"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }] }); }
|
|
59
59
|
}
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsTreeviewItemComponent, decorators: [{
|
|
61
61
|
type: Component,
|
|
62
62
|
args: [{ selector: 'bs-treeview-item', template: "<bs-list-group-item (click)=\"onClick($event)\" class=\"d-block cursor-pointer list-group-item-action\">\n <span [style.padding-left.px]=\"parent.indentation$ | async\">\n <bs-icon [icon]=\"'chevron-right'\" [class.open]=\"childTree?.isExpanded$ | async\" [class.invisible]=\"!childTree\" class=\"d-inline-block me-2\"></bs-icon>\n <ng-content></ng-content>\n </span>\n</bs-list-group-item>\n<ng-content select=\"bs-treeview\"></ng-content>\n", styles: ["bs-list-group-item{margin-bottom:-1px}bs-icon{transition:transform .2s}bs-icon.open{transform:rotate(90deg)}\n"] }]
|
|
63
63
|
}], ctorParameters: function () { return [{ type: BsTreeviewComponent }]; }, propDecorators: { childTree: [{
|
|
@@ -66,11 +66,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
|
|
|
66
66
|
}] } });
|
|
67
67
|
|
|
68
68
|
class BsTreeviewModule {
|
|
69
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
70
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.
|
|
71
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.
|
|
69
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsTreeviewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
70
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: BsTreeviewModule, declarations: [BsTreeviewComponent, BsTreeviewItemComponent], imports: [CommonModule, BsListGroupModule, BsIconModule], exports: [BsTreeviewComponent, BsTreeviewItemComponent] }); }
|
|
71
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsTreeviewModule, imports: [CommonModule, BsListGroupModule, BsIconModule] }); }
|
|
72
72
|
}
|
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsTreeviewModule, decorators: [{
|
|
74
74
|
type: NgModule,
|
|
75
75
|
args: [{
|
|
76
76
|
declarations: [BsTreeviewComponent, BsTreeviewItemComponent],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-treeview.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/treeview/src/treeview/treeview.component.ts","../../../../libs/mintplayer-ng-bootstrap/treeview/src/treeview/treeview.component.html","../../../../libs/mintplayer-ng-bootstrap/treeview/src/treeview-item/treeview-item.component.ts","../../../../libs/mintplayer-ng-bootstrap/treeview/src/treeview-item/treeview-item.component.html","../../../../libs/mintplayer-ng-bootstrap/treeview/src/treeview.module.ts","../../../../libs/mintplayer-ng-bootstrap/treeview/mintplayer-ng-bootstrap-treeview.ts"],"sourcesContent":["import { Component, SkipSelf, Input, Output, EventEmitter, Optional } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { BehaviorSubject, Observable, map } from 'rxjs';\nimport { SlideUpDownAnimation } from '@mintplayer/ng-animations';\n\n@Component({\n selector: 'bs-treeview',\n templateUrl: './treeview.component.html',\n styleUrls: ['./treeview.component.scss'],\n animations: [SlideUpDownAnimation]\n})\nexport class BsTreeviewComponent {\n constructor(\n @SkipSelf() @Optional() parent: BsTreeviewComponent\n ) {\n const level = !parent ? 0 : parent.level$.value + 1\n this.level$ = new BehaviorSubject<number>(level);\n this.indentation$ = this.level$.pipe(map(level => level * 30));\n\n this.isExpanded$.next(!parent);\n this.isExpanded$\n .pipe(takeUntilDestroyed())\n .subscribe(isExpanded => this.isExpandedChange.emit(isExpanded));\n }\n \n level$: BehaviorSubject<number>;\n indentation$: Observable<number>;\n\n //#region isExpanded\n isExpanded$ = new BehaviorSubject<boolean>(false);\n @Output() isExpandedChange = new EventEmitter<boolean>();\n public get isExpanded() {\n return this.isExpanded$.value;\n }\n @Input() public set isExpanded(value: boolean) {\n this.isExpanded$.next(value);\n }\n //#endregion\n}\n","<bs-list-group [@slideUpDown]=\"isExpanded$ | async\" class=\"d-block overflow-y-hidden\">\n <ng-content></ng-content>\n</bs-list-group>","import { Component, ContentChild, HostListener } from '@angular/core';\nimport { BsTreeviewComponent } from '../treeview/treeview.component';\n\n@Component({\n selector: 'bs-treeview-item',\n templateUrl: './treeview-item.component.html',\n styleUrls: ['./treeview-item.component.scss'],\n})\nexport class BsTreeviewItemComponent {\n readonly parent: BsTreeviewComponent;\n constructor(parent: BsTreeviewComponent) {\n this.parent = parent;\n }\n\n @ContentChild(BsTreeviewComponent, { descendants: false }) childTree?: BsTreeviewComponent;\n\n onClick(ev: MouseEvent) {\n if (this.childTree) {\n this.childTree.isExpanded = !this.childTree.isExpanded;\n }\n }\n}\n","<bs-list-group-item (click)=\"onClick($event)\" class=\"d-block cursor-pointer list-group-item-action\">\n <span [style.padding-left.px]=\"parent.indentation$ | async\">\n <bs-icon [icon]=\"'chevron-right'\" [class.open]=\"childTree?.isExpanded$ | async\" [class.invisible]=\"!childTree\" class=\"d-inline-block me-2\"></bs-icon>\n <ng-content></ng-content>\n </span>\n</bs-list-group-item>\n<ng-content select=\"bs-treeview\"></ng-content>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsIconModule } from '@mintplayer/ng-bootstrap/icon';\nimport { BsListGroupModule } from '@mintplayer/ng-bootstrap/list-group';\nimport { BsTreeviewComponent } from './treeview/treeview.component';\nimport { BsTreeviewItemComponent } from './treeview-item/treeview-item.component';\n\n@NgModule({\n declarations: [BsTreeviewComponent, BsTreeviewItemComponent],\n imports: [CommonModule, BsListGroupModule, BsIconModule],\n exports: [BsTreeviewComponent, BsTreeviewItemComponent],\n})\nexport class BsTreeviewModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.BsTreeviewComponent","i2","i4"],"mappings":";;;;;;;;;;;;MAWa,mBAAmB,CAAA;AAC9B,IAAA,WAAA,CAC0B,MAA2B,EAAA;;AAgBrD,QAAA,IAAA,CAAA,WAAW,GAAG,IAAI,eAAe,CAAU,KAAK,CAAC,CAAC;AACxC,QAAA,IAAA,CAAA,gBAAgB,GAAG,IAAI,YAAY,EAAW,CAAC;AAfvD,QAAA,MAAM,KAAK,GAAG,CAAC,MAAM,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,GAAG,CAAC,CAAA;QACnD,IAAI,CAAC,MAAM,GAAG,IAAI,eAAe,CAAS,KAAK,CAAC,CAAC;QACjD,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,IAAI,KAAK,GAAG,EAAE,CAAC,CAAC,CAAC;QAE/D,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC;AAC/B,QAAA,IAAI,CAAC,WAAW;aACb,IAAI,CAAC,kBAAkB,EAAE,CAAC;AAC1B,aAAA,SAAS,CAAC,UAAU,IAAI,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;KACpE;AAQD,IAAA,IAAW,UAAU,GAAA;AACnB,QAAA,OAAO,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC;KAC/B;IACD,IAAoB,UAAU,CAAC,KAAc,EAAA;AAC3C,QAAA,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KAC9B
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-treeview.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/treeview/src/treeview/treeview.component.ts","../../../../libs/mintplayer-ng-bootstrap/treeview/src/treeview/treeview.component.html","../../../../libs/mintplayer-ng-bootstrap/treeview/src/treeview-item/treeview-item.component.ts","../../../../libs/mintplayer-ng-bootstrap/treeview/src/treeview-item/treeview-item.component.html","../../../../libs/mintplayer-ng-bootstrap/treeview/src/treeview.module.ts","../../../../libs/mintplayer-ng-bootstrap/treeview/mintplayer-ng-bootstrap-treeview.ts"],"sourcesContent":["import { Component, SkipSelf, Input, Output, EventEmitter, Optional } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { BehaviorSubject, Observable, map } from 'rxjs';\nimport { SlideUpDownAnimation } from '@mintplayer/ng-animations';\n\n@Component({\n selector: 'bs-treeview',\n templateUrl: './treeview.component.html',\n styleUrls: ['./treeview.component.scss'],\n animations: [SlideUpDownAnimation]\n})\nexport class BsTreeviewComponent {\n constructor(\n @SkipSelf() @Optional() parent: BsTreeviewComponent\n ) {\n const level = !parent ? 0 : parent.level$.value + 1\n this.level$ = new BehaviorSubject<number>(level);\n this.indentation$ = this.level$.pipe(map(level => level * 30));\n\n this.isExpanded$.next(!parent);\n this.isExpanded$\n .pipe(takeUntilDestroyed())\n .subscribe(isExpanded => this.isExpandedChange.emit(isExpanded));\n }\n \n level$: BehaviorSubject<number>;\n indentation$: Observable<number>;\n\n //#region isExpanded\n isExpanded$ = new BehaviorSubject<boolean>(false);\n @Output() isExpandedChange = new EventEmitter<boolean>();\n public get isExpanded() {\n return this.isExpanded$.value;\n }\n @Input() public set isExpanded(value: boolean) {\n this.isExpanded$.next(value);\n }\n //#endregion\n}\n","<bs-list-group [@slideUpDown]=\"isExpanded$ | async\" class=\"d-block overflow-y-hidden\">\n <ng-content></ng-content>\n</bs-list-group>","import { Component, ContentChild, HostListener } from '@angular/core';\nimport { BsTreeviewComponent } from '../treeview/treeview.component';\n\n@Component({\n selector: 'bs-treeview-item',\n templateUrl: './treeview-item.component.html',\n styleUrls: ['./treeview-item.component.scss'],\n})\nexport class BsTreeviewItemComponent {\n readonly parent: BsTreeviewComponent;\n constructor(parent: BsTreeviewComponent) {\n this.parent = parent;\n }\n\n @ContentChild(BsTreeviewComponent, { descendants: false }) childTree?: BsTreeviewComponent;\n\n onClick(ev: MouseEvent) {\n if (this.childTree) {\n this.childTree.isExpanded = !this.childTree.isExpanded;\n }\n }\n}\n","<bs-list-group-item (click)=\"onClick($event)\" class=\"d-block cursor-pointer list-group-item-action\">\n <span [style.padding-left.px]=\"parent.indentation$ | async\">\n <bs-icon [icon]=\"'chevron-right'\" [class.open]=\"childTree?.isExpanded$ | async\" [class.invisible]=\"!childTree\" class=\"d-inline-block me-2\"></bs-icon>\n <ng-content></ng-content>\n </span>\n</bs-list-group-item>\n<ng-content select=\"bs-treeview\"></ng-content>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsIconModule } from '@mintplayer/ng-bootstrap/icon';\nimport { BsListGroupModule } from '@mintplayer/ng-bootstrap/list-group';\nimport { BsTreeviewComponent } from './treeview/treeview.component';\nimport { BsTreeviewItemComponent } from './treeview-item/treeview-item.component';\n\n@NgModule({\n declarations: [BsTreeviewComponent, BsTreeviewItemComponent],\n imports: [CommonModule, BsListGroupModule, BsIconModule],\n exports: [BsTreeviewComponent, BsTreeviewItemComponent],\n})\nexport class BsTreeviewModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.BsTreeviewComponent","i2","i4"],"mappings":";;;;;;;;;;;;MAWa,mBAAmB,CAAA;AAC9B,IAAA,WAAA,CAC0B,MAA2B,EAAA;;AAgBrD,QAAA,IAAA,CAAA,WAAW,GAAG,IAAI,eAAe,CAAU,KAAK,CAAC,CAAC;AACxC,QAAA,IAAA,CAAA,gBAAgB,GAAG,IAAI,YAAY,EAAW,CAAC;AAfvD,QAAA,MAAM,KAAK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AAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,EAHjB,OAAA,EAAA,CAAA,YAAY,EAAE,iBAAiB,EAAE,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAG5C,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAL5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,mBAAmB,EAAE,uBAAuB,CAAC;AAC5D,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,iBAAiB,EAAE,YAAY,CAAC;AACxD,oBAAA,OAAO,EAAE,CAAC,mBAAmB,EAAE,uBAAuB,CAAC;AACxD,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
|
|
@@ -10,10 +10,10 @@ class BsTrustHtmlPipe {
|
|
|
10
10
|
transform(value) {
|
|
11
11
|
return this.sanitizer.bypassSecurityTrustHtml(value);
|
|
12
12
|
}
|
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
14
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsTrustHtmlPipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
14
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: BsTrustHtmlPipe, name: "bsTrustHtml" }); }
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsTrustHtmlPipe, decorators: [{
|
|
17
17
|
type: Pipe,
|
|
18
18
|
args: [{
|
|
19
19
|
name: 'bsTrustHtml',
|
|
@@ -22,11 +22,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
|
|
|
22
22
|
}], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; } });
|
|
23
23
|
|
|
24
24
|
class BsTrustHtmlModule {
|
|
25
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
26
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.
|
|
27
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.
|
|
25
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsTrustHtmlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
26
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: BsTrustHtmlModule, declarations: [BsTrustHtmlPipe], imports: [CommonModule], exports: [BsTrustHtmlPipe] }); }
|
|
27
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsTrustHtmlModule, imports: [CommonModule] }); }
|
|
28
28
|
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsTrustHtmlModule, decorators: [{
|
|
30
30
|
type: NgModule,
|
|
31
31
|
args: [{
|
|
32
32
|
declarations: [BsTrustHtmlPipe],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-trust-html.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/trust-html/src/trust-html.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/trust-html/src/trust-html.module.ts","../../../../libs/mintplayer-ng-bootstrap/trust-html/mintplayer-ng-bootstrap-trust-html.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { DomSanitizer } from '@angular/platform-browser';\n\n@Pipe({\n name: 'bsTrustHtml',\n pure: true\n})\nexport class BsTrustHtmlPipe implements PipeTransform {\n constructor(private sanitizer: DomSanitizer) {}\n\n transform(value: string) {\n return this.sanitizer.bypassSecurityTrustHtml(value);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsTrustHtmlPipe } from './trust-html.pipe';\n\n@NgModule({\n declarations: [BsTrustHtmlPipe],\n imports: [CommonModule],\n exports: [BsTrustHtmlPipe],\n})\nexport class BsTrustHtmlModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAOa,eAAe,CAAA;AAC1B,IAAA,WAAA,CAAoB,SAAuB,EAAA;QAAvB,IAAS,CAAA,SAAA,GAAT,SAAS,CAAc;KAAI;AAE/C,IAAA,SAAS,CAAC,KAAa,EAAA;QACrB,OAAO,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC,KAAK,CAAC,CAAC;KACtD
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-trust-html.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/trust-html/src/trust-html.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/trust-html/src/trust-html.module.ts","../../../../libs/mintplayer-ng-bootstrap/trust-html/mintplayer-ng-bootstrap-trust-html.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { DomSanitizer } from '@angular/platform-browser';\n\n@Pipe({\n name: 'bsTrustHtml',\n pure: true\n})\nexport class BsTrustHtmlPipe implements PipeTransform {\n constructor(private sanitizer: DomSanitizer) {}\n\n transform(value: string) {\n return this.sanitizer.bypassSecurityTrustHtml(value);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsTrustHtmlPipe } from './trust-html.pipe';\n\n@NgModule({\n declarations: [BsTrustHtmlPipe],\n imports: [CommonModule],\n exports: [BsTrustHtmlPipe],\n})\nexport class BsTrustHtmlModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAOa,eAAe,CAAA;AAC1B,IAAA,WAAA,CAAoB,SAAuB,EAAA;QAAvB,IAAS,CAAA,SAAA,GAAT,SAAS,CAAc;KAAI;AAE/C,IAAA,SAAS,CAAC,KAAa,EAAA;QACrB,OAAO,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC,KAAK,CAAC,CAAC;KACtD;+GALU,eAAe,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,YAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;6GAAf,eAAe,EAAA,IAAA,EAAA,aAAA,EAAA,CAAA,CAAA,EAAA;;4FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,aAAa;AACnB,oBAAA,IAAI,EAAE,IAAI;AACX,iBAAA,CAAA;;;MCGY,iBAAiB,CAAA;+GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAjB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,EAJb,YAAA,EAAA,CAAA,eAAe,CACpB,EAAA,OAAA,EAAA,CAAA,YAAY,aACZ,eAAe,CAAA,EAAA,CAAA,CAAA,EAAA;AAEd,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAHlB,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAGX,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAL7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,eAAe,CAAC;oBAC/B,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,eAAe,CAAC;AAC3B,iBAAA,CAAA;;;ACRD;;AAEG;;;;"}
|
|
@@ -60,10 +60,10 @@ class BsTypeaheadComponent {
|
|
|
60
60
|
focus() {
|
|
61
61
|
this.textbox.nativeElement.focus();
|
|
62
62
|
}
|
|
63
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
64
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.
|
|
63
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsTypeaheadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
64
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BsTypeaheadComponent, selector: "bs-typeahead", inputs: { searchterm: "searchterm", isLoadingText: "isLoadingText", noSuggestionsText: "noSuggestionsText", suggestions: "suggestions" }, outputs: { provideSuggestions: "provideSuggestions", suggestionSelected: "suggestionSelected", searchtermChange: "searchtermChange", submitted: "submitted" }, viewQueries: [{ propertyName: "textbox", first: true, predicate: ["textbox"], descendants: true }], ngImport: i0, template: "<!-- <bs-dropdown [(isOpen)]=\"isOpen\" [hasBackdrop]=\"false\"></bs-dropdown> -->\n<bs-has-overlay></bs-has-overlay>\n<bs-form>\n <div bsDropdown [(isOpen)]=\"isOpen\" [hasBackdrop]=\"false\" [sameDropdownWidth]=\"true\">\n <input type=\"text\" #textbox [(ngModel)]=\"searchterm\" (ngModelChange)=\"onProvideSuggestions($event)\" (keyup.enter)=\"onSubmit()\" />\n <bs-dropdown-menu *bsDropdownMenu>\n <bs-progress *ngIf=\"isLoading$ | async\" [height]=\"2\" [isIndeterminate]=\"true\"></bs-progress>\n <bs-dropdown-item *ngIf=\"isLoading$ | async\" [disabled]=\"true\">\n {{ isLoadingText }}\n </bs-dropdown-item>\n <ng-container *ngIf=\"(isLoading$ | async) === false\">\n <bs-dropdown-item *ngIf=\"showNoSuggestions$ | async\" [disabled]=\"true\">\n {{ noSuggestionsText }}\n </bs-dropdown-item>\n <bs-dropdown-item *ngFor=\"let suggestion of (suggestions$ | async)\" (click)=\"suggestionClicked(suggestion)\">\n {{ suggestion.text }}\n </bs-dropdown-item>\n </ng-container>\n </bs-dropdown-menu>\n </div>\n</bs-form>", styles: ["bs-progress{margin-top:-8px;margin-bottom:6px}\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: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.BsFormComponent, selector: "bs-form", inputs: ["action", "method"], outputs: ["submitted"] }, { kind: "directive", type: i3.BsFormControlDirective, selector: "bs-form input:not(.no-form-control), bs-form textarea:not(.no-form-control)" }, { kind: "directive", type: i4.BsDropdownDirective, selector: "[bsDropdown]", inputs: ["hasBackdrop", "sameWidth", "closeOnClickOutside", "sameDropdownWidth", "isOpen"], outputs: ["isOpenChange"] }, { kind: "directive", type: i4.BsDropdownMenuDirective, selector: "[bsDropdownMenu]" }, { kind: "component", type: i5.BsHasOverlayComponent, selector: "bs-has-overlay" }, { kind: "component", type: i6.BsDropdownMenuComponent, selector: "bs-dropdown-menu", inputs: ["maxHeight"] }, { kind: "component", type: i6.BsDropdownItemComponent, selector: "bs-dropdown-item", inputs: ["isSelected", "disabled"] }, { kind: "component", type: i7.BsProgressComponent, selector: "bs-progress", inputs: ["height", "isIndeterminate"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
|
|
65
65
|
}
|
|
66
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
66
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsTypeaheadComponent, decorators: [{
|
|
67
67
|
type: Component,
|
|
68
68
|
args: [{ selector: 'bs-typeahead', template: "<!-- <bs-dropdown [(isOpen)]=\"isOpen\" [hasBackdrop]=\"false\"></bs-dropdown> -->\n<bs-has-overlay></bs-has-overlay>\n<bs-form>\n <div bsDropdown [(isOpen)]=\"isOpen\" [hasBackdrop]=\"false\" [sameDropdownWidth]=\"true\">\n <input type=\"text\" #textbox [(ngModel)]=\"searchterm\" (ngModelChange)=\"onProvideSuggestions($event)\" (keyup.enter)=\"onSubmit()\" />\n <bs-dropdown-menu *bsDropdownMenu>\n <bs-progress *ngIf=\"isLoading$ | async\" [height]=\"2\" [isIndeterminate]=\"true\"></bs-progress>\n <bs-dropdown-item *ngIf=\"isLoading$ | async\" [disabled]=\"true\">\n {{ isLoadingText }}\n </bs-dropdown-item>\n <ng-container *ngIf=\"(isLoading$ | async) === false\">\n <bs-dropdown-item *ngIf=\"showNoSuggestions$ | async\" [disabled]=\"true\">\n {{ noSuggestionsText }}\n </bs-dropdown-item>\n <bs-dropdown-item *ngFor=\"let suggestion of (suggestions$ | async)\" (click)=\"suggestionClicked(suggestion)\">\n {{ suggestion.text }}\n </bs-dropdown-item>\n </ng-container>\n </bs-dropdown-menu>\n </div>\n</bs-form>", styles: ["bs-progress{margin-top:-8px;margin-bottom:6px}\n"] }]
|
|
69
69
|
}], ctorParameters: function () { return []; }, propDecorators: { textbox: [{
|
|
@@ -88,15 +88,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
|
|
|
88
88
|
}] } });
|
|
89
89
|
|
|
90
90
|
class BsTypeaheadModule {
|
|
91
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
92
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.
|
|
91
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsTypeaheadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
92
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: BsTypeaheadModule, declarations: [BsTypeaheadComponent], imports: [CommonModule,
|
|
93
93
|
FormsModule,
|
|
94
94
|
BsFormModule,
|
|
95
95
|
BsDropdownModule,
|
|
96
96
|
BsDropdownMenuModule,
|
|
97
97
|
BsProgressBarModule,
|
|
98
98
|
BsHasOverlayModule], exports: [BsTypeaheadComponent] }); }
|
|
99
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.
|
|
99
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsTypeaheadModule, imports: [CommonModule,
|
|
100
100
|
FormsModule,
|
|
101
101
|
BsFormModule,
|
|
102
102
|
BsDropdownModule,
|
|
@@ -104,7 +104,7 @@ class BsTypeaheadModule {
|
|
|
104
104
|
BsProgressBarModule,
|
|
105
105
|
BsHasOverlayModule] }); }
|
|
106
106
|
}
|
|
107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsTypeaheadModule, decorators: [{
|
|
108
108
|
type: NgModule,
|
|
109
109
|
args: [{
|
|
110
110
|
declarations: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-typeahead.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/typeahead/src/typeahead.component.ts","../../../../libs/mintplayer-ng-bootstrap/typeahead/src/typeahead.component.html","../../../../libs/mintplayer-ng-bootstrap/typeahead/src/typeahead.module.ts","../../../../libs/mintplayer-ng-bootstrap/typeahead/mintplayer-ng-bootstrap-typeahead.ts"],"sourcesContent":["import { Component, ElementRef, EventEmitter, Input, Output, ViewChild } from '@angular/core';\nimport { BehaviorSubject, map, Observable } from 'rxjs';\n\n@Component({\n selector: 'bs-typeahead',\n templateUrl: './typeahead.component.html',\n styleUrls: ['./typeahead.component.scss']\n})\nexport class BsTypeaheadComponent {\n\n isOpen = false;\n \n suggestions$ = new BehaviorSubject<any[]>([]);\n isLoading$ = new BehaviorSubject<boolean>(false);\n showNoSuggestions$: Observable<boolean>;\n \n @ViewChild('textbox') textbox!: ElementRef<HTMLInputElement>;\n @Input() searchterm = '';\n @Input() public isLoadingText = 'Loading...';\n @Input() public noSuggestionsText = 'No suggestions found';\n @Output() public provideSuggestions = new EventEmitter<string>();\n @Output() suggestionSelected = new EventEmitter<any>();\n @Output() searchtermChange = new EventEmitter<string>();\n @Output() submitted = new EventEmitter<string>();\n \n constructor() {\n this.showNoSuggestions$ = this.suggestions$\n .pipe(map(suggestions => suggestions.length === 0));\n }\n\n onProvideSuggestions(value: string) {\n this.searchtermChange.emit(value);\n if (value === '') {\n this.isOpen = false;\n this.suggestions$.next([]);\n } else {\n this.isLoading$.next(true);\n this.isOpen = true;\n this.provideSuggestions.emit(value);\n }\n }\n\n @Input() public set suggestions(value: any[]) {\n this.isLoading$.next(false);\n this.suggestions$.next(value);\n }\n suggestionClicked(suggestion: any) {\n this.searchterm = suggestion.text;\n this.searchtermChange.emit(this.searchterm);\n\n this.isOpen = false;\n this.suggestionSelected.emit(suggestion);\n }\n\n onSubmit() {\n this.isOpen = false;\n this.submitted.emit(this.searchterm);\n }\n\n public focus() {\n this.textbox.nativeElement.focus();\n }\n\n}\n","<!-- <bs-dropdown [(isOpen)]=\"isOpen\" [hasBackdrop]=\"false\"></bs-dropdown> -->\n<bs-has-overlay></bs-has-overlay>\n<bs-form>\n <div bsDropdown [(isOpen)]=\"isOpen\" [hasBackdrop]=\"false\" [sameDropdownWidth]=\"true\">\n <input type=\"text\" #textbox [(ngModel)]=\"searchterm\" (ngModelChange)=\"onProvideSuggestions($event)\" (keyup.enter)=\"onSubmit()\" />\n <bs-dropdown-menu *bsDropdownMenu>\n <bs-progress *ngIf=\"isLoading$ | async\" [height]=\"2\" [isIndeterminate]=\"true\"></bs-progress>\n <bs-dropdown-item *ngIf=\"isLoading$ | async\" [disabled]=\"true\">\n {{ isLoadingText }}\n </bs-dropdown-item>\n <ng-container *ngIf=\"(isLoading$ | async) === false\">\n <bs-dropdown-item *ngIf=\"showNoSuggestions$ | async\" [disabled]=\"true\">\n {{ noSuggestionsText }}\n </bs-dropdown-item>\n <bs-dropdown-item *ngFor=\"let suggestion of (suggestions$ | async)\" (click)=\"suggestionClicked(suggestion)\">\n {{ suggestion.text }}\n </bs-dropdown-item>\n </ng-container>\n </bs-dropdown-menu>\n </div>\n</bs-form>","import { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { CommonModule } from '@angular/common';\nimport { BsFormModule } from '@mintplayer/ng-bootstrap/form';\nimport { BsDropdownModule } from '@mintplayer/ng-bootstrap/dropdown';\nimport { BsDropdownMenuModule } from '@mintplayer/ng-bootstrap/dropdown-menu';\nimport { BsProgressBarModule } from '@mintplayer/ng-bootstrap/progress-bar';\nimport { BsHasOverlayModule } from '@mintplayer/ng-bootstrap/has-overlay';\nimport { BsTypeaheadComponent } from './typeahead.component';\n\n\n\n@NgModule({\n declarations: [\n BsTypeaheadComponent\n ],\n imports: [\n CommonModule,\n FormsModule,\n BsFormModule,\n BsDropdownModule,\n BsDropdownMenuModule,\n BsProgressBarModule,\n BsHasOverlayModule,\n ],\n exports: [\n BsTypeaheadComponent\n ]\n})\nexport class BsTypeaheadModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;MAQa,oBAAoB,CAAA;AAiB/B,IAAA,WAAA,GAAA;QAfA,IAAM,CAAA,MAAA,GAAG,KAAK,CAAC;AAEf,QAAA,IAAA,CAAA,YAAY,GAAG,IAAI,eAAe,CAAQ,EAAE,CAAC,CAAC;AAC9C,QAAA,IAAA,CAAA,UAAU,GAAG,IAAI,eAAe,CAAU,KAAK,CAAC,CAAC;QAIxC,IAAU,CAAA,UAAA,GAAG,EAAE,CAAC;QACT,IAAa,CAAA,aAAA,GAAG,YAAY,CAAC;QAC7B,IAAiB,CAAA,iBAAA,GAAG,sBAAsB,CAAC;AAC1C,QAAA,IAAA,CAAA,kBAAkB,GAAG,IAAI,YAAY,EAAU,CAAC;AACvD,QAAA,IAAA,CAAA,kBAAkB,GAAG,IAAI,YAAY,EAAO,CAAC;AAC7C,QAAA,IAAA,CAAA,gBAAgB,GAAG,IAAI,YAAY,EAAU,CAAC;AAC9C,QAAA,IAAA,CAAA,SAAS,GAAG,IAAI,YAAY,EAAU,CAAC;AAG/C,QAAA,IAAI,CAAC,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tC;IAEM,KAAK,GAAA;AACV,QAAA,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,KAAK,EAAE,CAAC;KACpC
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-typeahead.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/typeahead/src/typeahead.component.ts","../../../../libs/mintplayer-ng-bootstrap/typeahead/src/typeahead.component.html","../../../../libs/mintplayer-ng-bootstrap/typeahead/src/typeahead.module.ts","../../../../libs/mintplayer-ng-bootstrap/typeahead/mintplayer-ng-bootstrap-typeahead.ts"],"sourcesContent":["import { Component, ElementRef, EventEmitter, Input, Output, ViewChild } from '@angular/core';\nimport { BehaviorSubject, map, Observable } from 'rxjs';\n\n@Component({\n selector: 'bs-typeahead',\n templateUrl: './typeahead.component.html',\n styleUrls: ['./typeahead.component.scss']\n})\nexport class BsTypeaheadComponent {\n\n isOpen = false;\n \n suggestions$ = new BehaviorSubject<any[]>([]);\n isLoading$ = new BehaviorSubject<boolean>(false);\n showNoSuggestions$: Observable<boolean>;\n \n @ViewChild('textbox') textbox!: ElementRef<HTMLInputElement>;\n @Input() searchterm = '';\n @Input() public isLoadingText = 'Loading...';\n @Input() public noSuggestionsText = 'No suggestions found';\n @Output() public provideSuggestions = new EventEmitter<string>();\n @Output() suggestionSelected = new EventEmitter<any>();\n @Output() searchtermChange = new EventEmitter<string>();\n @Output() submitted = new EventEmitter<string>();\n \n constructor() {\n this.showNoSuggestions$ = this.suggestions$\n .pipe(map(suggestions => suggestions.length === 0));\n }\n\n onProvideSuggestions(value: string) {\n this.searchtermChange.emit(value);\n if (value === '') {\n this.isOpen = false;\n this.suggestions$.next([]);\n } else {\n this.isLoading$.next(true);\n this.isOpen = true;\n this.provideSuggestions.emit(value);\n }\n }\n\n @Input() public set suggestions(value: any[]) {\n this.isLoading$.next(false);\n this.suggestions$.next(value);\n }\n suggestionClicked(suggestion: any) {\n this.searchterm = suggestion.text;\n this.searchtermChange.emit(this.searchterm);\n\n this.isOpen = false;\n this.suggestionSelected.emit(suggestion);\n }\n\n onSubmit() {\n this.isOpen = false;\n this.submitted.emit(this.searchterm);\n }\n\n public focus() {\n this.textbox.nativeElement.focus();\n }\n\n}\n","<!-- <bs-dropdown [(isOpen)]=\"isOpen\" [hasBackdrop]=\"false\"></bs-dropdown> -->\n<bs-has-overlay></bs-has-overlay>\n<bs-form>\n <div bsDropdown [(isOpen)]=\"isOpen\" [hasBackdrop]=\"false\" [sameDropdownWidth]=\"true\">\n <input type=\"text\" #textbox [(ngModel)]=\"searchterm\" (ngModelChange)=\"onProvideSuggestions($event)\" (keyup.enter)=\"onSubmit()\" />\n <bs-dropdown-menu *bsDropdownMenu>\n <bs-progress *ngIf=\"isLoading$ | async\" [height]=\"2\" [isIndeterminate]=\"true\"></bs-progress>\n <bs-dropdown-item *ngIf=\"isLoading$ | async\" [disabled]=\"true\">\n {{ isLoadingText }}\n </bs-dropdown-item>\n <ng-container *ngIf=\"(isLoading$ | async) === false\">\n <bs-dropdown-item *ngIf=\"showNoSuggestions$ | async\" [disabled]=\"true\">\n {{ noSuggestionsText }}\n </bs-dropdown-item>\n <bs-dropdown-item *ngFor=\"let suggestion of (suggestions$ | async)\" (click)=\"suggestionClicked(suggestion)\">\n {{ suggestion.text }}\n </bs-dropdown-item>\n </ng-container>\n </bs-dropdown-menu>\n </div>\n</bs-form>","import { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { CommonModule } from '@angular/common';\nimport { BsFormModule } from '@mintplayer/ng-bootstrap/form';\nimport { BsDropdownModule } from '@mintplayer/ng-bootstrap/dropdown';\nimport { BsDropdownMenuModule } from '@mintplayer/ng-bootstrap/dropdown-menu';\nimport { BsProgressBarModule } from '@mintplayer/ng-bootstrap/progress-bar';\nimport { BsHasOverlayModule } from '@mintplayer/ng-bootstrap/has-overlay';\nimport { BsTypeaheadComponent } from './typeahead.component';\n\n\n\n@NgModule({\n declarations: [\n BsTypeaheadComponent\n ],\n imports: [\n CommonModule,\n FormsModule,\n BsFormModule,\n BsDropdownModule,\n BsDropdownMenuModule,\n BsProgressBarModule,\n BsHasOverlayModule,\n ],\n exports: [\n BsTypeaheadComponent\n ]\n})\nexport class BsTypeaheadModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;MAQa,oBAAoB,CAAA;AAiB/B,IAAA,WAAA,GAAA;QAfA,IAAM,CAAA,MAAA,GAAG,KAAK,CAAC;AAEf,QAAA,IAAA,CAAA,YAAY,GAAG,IAAI,eAAe,CAAQ,EAAE,CAAC,CAAC;AAC9C,QAAA,IAAA,CAAA,UAAU,GAAG,IAAI,eAAe,CAAU,KAAK,CAAC,CAAC;QAIxC,IAAU,CAAA,UAAA,GAAG,EAAE,CAAC;QACT,IAAa,CAAA,aAAA,GAAG,YAAY,CAAC;QAC7B,IAAiB,CAAA,iBAAA,GAAG,sBAAsB,CAAC;AAC1C,QAAA,IAAA,CAAA,kBAAkB,GAAG,IAAI,YAAY,EAAU,CAAC;AACvD,QAAA,IAAA,CAAA,kBAAkB,GAAG,IAAI,YAAY,EAAO,CAAC;AAC7C,QAAA,IAAA,CAAA,gBAAgB,GAAG,IAAI,YAAY,EAAU,CAAC;AAC9C,QAAA,IAAA,CAAA,SAAS,GAAG,IAAI,YAAY,EAAU,CAAC;AAG/C,QAAA,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC,YAAY;AACxC,aAAA,IAAI,CAAC,GAAG,CAAC,WAAW,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC;KACvD;AAED,IAAA,oBAAoB,CAAC,KAAa,EAAA;AAChC,QAAA,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAClC,IAAI,KAAK,KAAK,EAAE,EAAE;AAChB,YAAA,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;AACpB,YAAA,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,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
8
8
|
}
|
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
10
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsUcFirstPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
10
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: BsUcFirstPipe, name: "bsUcFirst" }); }
|
|
11
11
|
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsUcFirstPipe, decorators: [{
|
|
13
13
|
type: Pipe,
|
|
14
14
|
args: [{
|
|
15
15
|
name: 'bsUcFirst',
|
|
@@ -18,11 +18,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
|
|
|
18
18
|
}] });
|
|
19
19
|
|
|
20
20
|
class BsUcFirstModule {
|
|
21
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
22
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.
|
|
23
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsUcFirstModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
22
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: BsUcFirstModule, declarations: [BsUcFirstPipe], imports: [CommonModule], exports: [BsUcFirstPipe] }); }
|
|
23
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsUcFirstModule, imports: [CommonModule] }); }
|
|
24
24
|
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsUcFirstModule, decorators: [{
|
|
26
26
|
type: NgModule,
|
|
27
27
|
args: [{
|
|
28
28
|
declarations: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-uc-first.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/uc-first/src/uc-first.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/uc-first/src/uc-first.module.ts","../../../../libs/mintplayer-ng-bootstrap/uc-first/mintplayer-ng-bootstrap-uc-first.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'bsUcFirst',\n pure: true\n})\nexport class BsUcFirstPipe implements PipeTransform {\n\n transform(value: string, ...args: any[]) {\n return value[0].toUpperCase() + value.slice(1);\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsUcFirstPipe } from './uc-first.pipe';\n\n@NgModule({\n declarations: [\n BsUcFirstPipe\n ],\n imports: [\n CommonModule\n ],\n exports: [\n BsUcFirstPipe\n ]\n})\nexport class BsUcFirstModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAMa,aAAa,CAAA;AAExB,IAAA,SAAS,CAAC,KAAa,EAAE,GAAG,IAAW,EAAA;AACrC,QAAA,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;KAChD
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-uc-first.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/uc-first/src/uc-first.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/uc-first/src/uc-first.module.ts","../../../../libs/mintplayer-ng-bootstrap/uc-first/mintplayer-ng-bootstrap-uc-first.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'bsUcFirst',\n pure: true\n})\nexport class BsUcFirstPipe implements PipeTransform {\n\n transform(value: string, ...args: any[]) {\n return value[0].toUpperCase() + value.slice(1);\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsUcFirstPipe } from './uc-first.pipe';\n\n@NgModule({\n declarations: [\n BsUcFirstPipe\n ],\n imports: [\n CommonModule\n ],\n exports: [\n BsUcFirstPipe\n ]\n})\nexport class BsUcFirstModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAMa,aAAa,CAAA;AAExB,IAAA,SAAS,CAAC,KAAa,EAAE,GAAG,IAAW,EAAA;AACrC,QAAA,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;KAChD;+GAJU,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;6GAAb,aAAa,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,CAAA,EAAA;;4FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBAJzB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,WAAW;AACjB,oBAAA,IAAI,EAAE,IAAI;AACX,iBAAA,CAAA;;;MCUY,eAAe,CAAA;+GAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAf,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,EATxB,YAAA,EAAA,CAAA,aAAa,CAGb,EAAA,OAAA,EAAA,CAAA,YAAY,aAGZ,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA;AAGJ,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,YANxB,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAMH,eAAe,EAAA,UAAA,EAAA,CAAA;kBAX3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,aAAa;AACd,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,aAAa;AACd,qBAAA;AACF,iBAAA,CAAA;;;ACdD;;AAEG;;;;"}
|
|
@@ -70,10 +70,10 @@ class BsUserAgentDirective {
|
|
|
70
70
|
this.detected.emit({ os, webbrowser });
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
74
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.
|
|
73
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsUserAgentDirective, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
74
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: BsUserAgentDirective, selector: "[bsUserAgent]", outputs: { detected: "detected" }, host: { properties: { "class.os-android": "this.isAndroid", "class.os-ios": "this.isIos", "class.os-windows": "this.isWindows", "class": "this.browserClass" } }, ngImport: i0 }); }
|
|
75
75
|
}
|
|
76
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
76
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsUserAgentDirective, decorators: [{
|
|
77
77
|
type: Directive,
|
|
78
78
|
args: [{
|
|
79
79
|
selector: '[bsUserAgent]'
|
|
@@ -98,11 +98,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
|
|
|
98
98
|
}] } });
|
|
99
99
|
|
|
100
100
|
class BsUserAgentModule {
|
|
101
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
102
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.
|
|
103
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.
|
|
101
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsUserAgentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
102
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: BsUserAgentModule, declarations: [BsUserAgentDirective], imports: [CommonModule], exports: [BsUserAgentDirective] }); }
|
|
103
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsUserAgentModule, imports: [CommonModule] }); }
|
|
104
104
|
}
|
|
105
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsUserAgentModule, decorators: [{
|
|
106
106
|
type: NgModule,
|
|
107
107
|
args: [{
|
|
108
108
|
declarations: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-user-agent.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/user-agent/src/directive/user-agent.directive.ts","../../../../libs/mintplayer-ng-bootstrap/user-agent/src/user-agent.module.ts","../../../../libs/mintplayer-ng-bootstrap/user-agent/mintplayer-ng-bootstrap-user-agent.ts"],"sourcesContent":["import { isPlatformServer } from '@angular/common';\nimport { AfterViewInit, Directive, EventEmitter, HostBinding, Inject, Output, PLATFORM_ID } from '@angular/core';\nimport { BsUserAgent } from '../interfaces/user-agent';\nimport { BsOperatingSystem } from '../types/operating-system.type';\nimport { BsWebbrowser } from '../types/webbrowser.type';\n\n@Directive({\n selector: '[bsUserAgent]'\n})\nexport class BsUserAgentDirective implements AfterViewInit {\n\n constructor(@Inject(PLATFORM_ID) private platformId: Object) { }\n\n @HostBinding('class.os-android') get isAndroid() {\n return !isPlatformServer(this.platformId) && !!navigator && !!navigator.userAgent.match(/Android/i);\n }\n\n @HostBinding('class.os-ios') get isIos() {\n return !isPlatformServer(this.platformId) && !!navigator && !!navigator.userAgent.match(/iPhone|iPad|iPod/i);\n }\n\n @HostBinding('class.os-windows') get isWindows() {\n return !isPlatformServer(this.platformId) && !!navigator && !!navigator.userAgent.match(/Windows/i);\n }\n\n @HostBinding('class') get browserClass() { \n const browser = this.getBrowser();\n if (!browser) {\n return null;\n } else {\n return `browser-${browser.toLowerCase()}`;\n }\n }\n\n private getBrowser(): BsWebbrowser | undefined {\n if (!isPlatformServer(this.platformId) && !!navigator) {\n const userAgent = navigator.userAgent;\n if(userAgent.match(/opr\\//i)) {\n return 'Opera';\n } else if(userAgent.match(/edg/i)) {\n return 'Edge';\n } else if (userAgent.match(/chrome|chromium|crios/i)) {\n return 'Chrome';\n } else if(userAgent.match(/firefox|fxios/i)) {\n return 'Firefox';\n } else if(userAgent.match(/safari/i)) {\n return 'Safari';\n } else {\n return undefined;\n }\n } else {\n return undefined;\n }\n }\n\n ngAfterViewInit() {\n setTimeout(() => {\n let os: BsOperatingSystem | undefined;\n let webbrowser = this.getBrowser();\n\n if (this.isAndroid) {\n os = 'Android';\n } else if (this.isIos) {\n os = 'iOS';\n } else if (this.isWindows) {\n os = 'Windows';\n } else {\n os = undefined;\n }\n\n this.detected.emit({ os, webbrowser });\n });\n }\n\n @Output() detected = new EventEmitter<BsUserAgent>();\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsUserAgentDirective } from './directive/user-agent.directive';\n\n\n\n@NgModule({\n declarations: [\n BsUserAgentDirective\n ],\n imports: [\n CommonModule\n ],\n exports: [\n BsUserAgentDirective\n ]\n})\nexport class BsUserAgentModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MASa,oBAAoB,CAAA;AAE/B,IAAA,WAAA,CAAyC,UAAkB,EAAA;QAAlB,IAAU,CAAA,UAAA,GAAV,UAAU,CAAQ;AA+DjD,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,YAAY,EAAe,CAAC;KA/DW;AAEhE,IAAA,IAAqC,SAAS,GAAA;QAC5C,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,SAAS,IAAI,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;KACrG;AAED,IAAA,IAAiC,KAAK,GAAA;QACpC,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,SAAS,IAAI,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;KAC9G;AAED,IAAA,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,SAAA;KACF;IAED,eAAe,GAAA;QACb,UAAU,CAAC,MAAK;AACd,YAAA,IAAI,EAAiC,CAAC;AACtC,YAAA,IAAI,UAAU,GAAG,IAAI,CAAC,UAAU,EAAE,CAAC;YAEnC,IAAI,IAAI,CAAC,SAAS,EAAE;gBAClB,EAAE,GAAG,SAAS,CAAC;AAChB,aAAA;iBAAM,IAAI,IAAI,CAAC,KAAK,EAAE;gBACrB,EAAE,GAAG,KAAK,CAAC;AACZ,aAAA;iBAAM,IAAI,IAAI,CAAC,SAAS,EAAE;gBACzB,EAAE,GAAG,SAAS,CAAC;AAChB,aAAA;AAAM,iBAAA;gBACL,EAAE,GAAG,SAAS,CAAC;AAChB,aAAA;YAED,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,UAAU,EAAE,CAAC,CAAC;AACzC,SAAC,CAAC,CAAC;KACJ;AA/DU,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-user-agent.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/user-agent/src/directive/user-agent.directive.ts","../../../../libs/mintplayer-ng-bootstrap/user-agent/src/user-agent.module.ts","../../../../libs/mintplayer-ng-bootstrap/user-agent/mintplayer-ng-bootstrap-user-agent.ts"],"sourcesContent":["import { isPlatformServer } from '@angular/common';\nimport { AfterViewInit, Directive, EventEmitter, HostBinding, Inject, Output, PLATFORM_ID } from '@angular/core';\nimport { BsUserAgent } from '../interfaces/user-agent';\nimport { BsOperatingSystem } from '../types/operating-system.type';\nimport { BsWebbrowser } from '../types/webbrowser.type';\n\n@Directive({\n selector: '[bsUserAgent]'\n})\nexport class BsUserAgentDirective implements AfterViewInit {\n\n constructor(@Inject(PLATFORM_ID) private platformId: Object) { }\n\n @HostBinding('class.os-android') get isAndroid() {\n return !isPlatformServer(this.platformId) && !!navigator && !!navigator.userAgent.match(/Android/i);\n }\n\n @HostBinding('class.os-ios') get isIos() {\n return !isPlatformServer(this.platformId) && !!navigator && !!navigator.userAgent.match(/iPhone|iPad|iPod/i);\n }\n\n @HostBinding('class.os-windows') get isWindows() {\n return !isPlatformServer(this.platformId) && !!navigator && !!navigator.userAgent.match(/Windows/i);\n }\n\n @HostBinding('class') get browserClass() { \n const browser = this.getBrowser();\n if (!browser) {\n return null;\n } else {\n return `browser-${browser.toLowerCase()}`;\n }\n }\n\n private getBrowser(): BsWebbrowser | undefined {\n if (!isPlatformServer(this.platformId) && !!navigator) {\n const userAgent = navigator.userAgent;\n if(userAgent.match(/opr\\//i)) {\n return 'Opera';\n } else if(userAgent.match(/edg/i)) {\n return 'Edge';\n } else if (userAgent.match(/chrome|chromium|crios/i)) {\n return 'Chrome';\n } else if(userAgent.match(/firefox|fxios/i)) {\n return 'Firefox';\n } else if(userAgent.match(/safari/i)) {\n return 'Safari';\n } else {\n return undefined;\n }\n } else {\n return undefined;\n }\n }\n\n ngAfterViewInit() {\n setTimeout(() => {\n let os: BsOperatingSystem | undefined;\n let webbrowser = this.getBrowser();\n\n if (this.isAndroid) {\n os = 'Android';\n } else if (this.isIos) {\n os = 'iOS';\n } else if (this.isWindows) {\n os = 'Windows';\n } else {\n os = undefined;\n }\n\n this.detected.emit({ os, webbrowser });\n });\n }\n\n @Output() detected = new EventEmitter<BsUserAgent>();\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsUserAgentDirective } from './directive/user-agent.directive';\n\n\n\n@NgModule({\n declarations: [\n BsUserAgentDirective\n ],\n imports: [\n CommonModule\n ],\n exports: [\n BsUserAgentDirective\n ]\n})\nexport class BsUserAgentModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MASa,oBAAoB,CAAA;AAE/B,IAAA,WAAA,CAAyC,UAAkB,EAAA;QAAlB,IAAU,CAAA,UAAA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;AAGX,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAN1B,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAMH,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAX7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,oBAAoB;AACrB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,oBAAoB;AACrB,qBAAA;AACF,iBAAA,CAAA;;;AChBD;;AAEG;;;;"}
|
|
@@ -16,10 +16,10 @@ class BsWordCountPipe {
|
|
|
16
16
|
.length;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
20
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsWordCountPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
20
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: BsWordCountPipe, name: "bsWordCount" }); }
|
|
21
21
|
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsWordCountPipe, decorators: [{
|
|
23
23
|
type: Pipe,
|
|
24
24
|
args: [{
|
|
25
25
|
name: 'bsWordCount',
|
|
@@ -28,11 +28,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
|
|
|
28
28
|
}] });
|
|
29
29
|
|
|
30
30
|
class BsWordCountModule {
|
|
31
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
32
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.
|
|
33
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.
|
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsWordCountModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
32
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: BsWordCountModule, declarations: [BsWordCountPipe], imports: [CommonModule], exports: [BsWordCountPipe] }); }
|
|
33
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsWordCountModule, imports: [CommonModule] }); }
|
|
34
34
|
}
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BsWordCountModule, decorators: [{
|
|
36
36
|
type: NgModule,
|
|
37
37
|
args: [{
|
|
38
38
|
declarations: [BsWordCountPipe],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-word-count.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/word-count/src/word-count.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/word-count/src/word-count.module.ts","../../../../libs/mintplayer-ng-bootstrap/word-count/mintplayer-ng-bootstrap-word-count.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'bsWordCount',\n pure: true\n})\nexport class BsWordCountPipe implements PipeTransform {\n transform(value: string) {\n if ((value === null) || (value === '')) {\n return 0;\n } else {\n return value\n .replace(/(^\\s+)|(\\s+$)/gi, '')\n .replace(/\\s{2,}/gi, ' ')\n .split(' ')\n .filter(w => w !== '')\n .length;\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsWordCountPipe } from './word-count.pipe';\n\n@NgModule({\n declarations: [BsWordCountPipe],\n imports: [CommonModule],\n exports: [BsWordCountPipe],\n})\nexport class BsWordCountModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAMa,eAAe,CAAA;AAC1B,IAAA,SAAS,CAAC,KAAa,EAAA;QACrB,IAAI,CAAC,KAAK,KAAK,IAAI,MAAM,KAAK,KAAK,EAAE,CAAC,EAAE;AACtC,YAAA,OAAO,CAAC,CAAC;AACV,SAAA;AAAM,aAAA;AACL,YAAA,OAAO,KAAK;AACT,iBAAA,OAAO,CAAC,iBAAiB,EAAE,EAAE,CAAC;AAC9B,iBAAA,OAAO,CAAC,UAAU,EAAE,GAAG,CAAC;iBACxB,KAAK,CAAC,GAAG,CAAC;iBACV,MAAM,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;AACrB,iBAAA,MAAM,CAAC;AACX,SAAA;KACF
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-word-count.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/word-count/src/word-count.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/word-count/src/word-count.module.ts","../../../../libs/mintplayer-ng-bootstrap/word-count/mintplayer-ng-bootstrap-word-count.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'bsWordCount',\n pure: true\n})\nexport class BsWordCountPipe implements PipeTransform {\n transform(value: string) {\n if ((value === null) || (value === '')) {\n return 0;\n } else {\n return value\n .replace(/(^\\s+)|(\\s+$)/gi, '')\n .replace(/\\s{2,}/gi, ' ')\n .split(' ')\n .filter(w => w !== '')\n .length;\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsWordCountPipe } from './word-count.pipe';\n\n@NgModule({\n declarations: [BsWordCountPipe],\n imports: [CommonModule],\n exports: [BsWordCountPipe],\n})\nexport class BsWordCountModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAMa,eAAe,CAAA;AAC1B,IAAA,SAAS,CAAC,KAAa,EAAA;QACrB,IAAI,CAAC,KAAK,KAAK,IAAI,MAAM,KAAK,KAAK,EAAE,CAAC,EAAE;AACtC,YAAA,OAAO,CAAC,CAAC;AACV,SAAA;AAAM,aAAA;AACL,YAAA,OAAO,KAAK;AACT,iBAAA,OAAO,CAAC,iBAAiB,EAAE,EAAE,CAAC;AAC9B,iBAAA,OAAO,CAAC,UAAU,EAAE,GAAG,CAAC;iBACxB,KAAK,CAAC,GAAG,CAAC;iBACV,MAAM,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;AACrB,iBAAA,MAAM,CAAC;AACX,SAAA;KACF;+GAZU,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;6GAAf,eAAe,EAAA,IAAA,EAAA,aAAA,EAAA,CAAA,CAAA,EAAA;;4FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,aAAa;AACnB,oBAAA,IAAI,EAAE,IAAI;AACX,iBAAA,CAAA;;;MCIY,iBAAiB,CAAA;+GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAjB,IAAA,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