@mintplayer/ng-bootstrap 17.1.3 → 17.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/src/accordion.module.d.ts +1 -1
- package/alert/src/alert.module.d.ts +1 -2
- package/async-host-binding/src/index.d.ts +1 -1
- package/async-host-binding/src/provide-async-host-bindings.d.ts +2 -0
- package/badge/src/badge.component.d.ts +1 -1
- package/badge/src/index.d.ts +0 -1
- package/breadcrumb/src/breadcrumb.module.d.ts +1 -2
- package/button-group/src/button-group/button-group.component.d.ts +2 -5
- package/button-group/src/index.d.ts +0 -1
- package/button-type/src/button-type/button-type.directive.d.ts +1 -1
- package/button-type/src/index.d.ts +0 -1
- package/calendar/src/calendar.component.d.ts +1 -1
- package/calendar/src/index.d.ts +0 -1
- package/calendar-month/src/pipes/index.d.ts +2 -2
- package/calendar-month/src/pipes/month-name/month-name.pipe.d.ts +3 -3
- package/calendar-month/src/pipes/weekday-name/weekday-name.pipe.d.ts +3 -3
- package/carousel/src/carousel.module.d.ts +2 -3
- package/close/src/close.component.d.ts +1 -1
- package/close/src/index.d.ts +0 -1
- package/code-snippet/src/code-snippet.component.d.ts +1 -1
- package/code-snippet/src/index.d.ts +0 -1
- package/color-picker/color-picker.module.d.ts +1 -1
- package/container/src/container/container.component.d.ts +1 -1
- package/container/src/index.d.ts +0 -1
- package/context-menu/src/context-menu.module.d.ts +1 -1
- package/copy/src/copy.directive.d.ts +1 -1
- package/copy/src/index.d.ts +0 -1
- package/datatable/src/datatable.module.d.ts +1 -1
- package/datepicker/src/datepicker.component.d.ts +1 -1
- package/datepicker/src/index.d.ts +0 -1
- package/dock/src/dock.module.d.ts +1 -1
- package/dropdown/src/dropdown/dropdown.directive.d.ts +3 -3
- package/dropdown/src/dropdown.module.d.ts +1 -1
- package/dropdown-divider/src/dropdown-divider.directive.d.ts +1 -1
- package/dropdown-divider/src/index.d.ts +0 -1
- package/dropdown-menu/src/dropdown-menu.module.d.ts +1 -1
- package/enhanced-paste/src/directive/enhanced-paste.directive.d.ts +1 -1
- package/enhanced-paste/src/index.d.ts +0 -1
- package/esm2022/accordion/src/accordion.module.mjs +8 -9
- package/esm2022/alert/src/alert/alert.component.mjs +3 -4
- package/esm2022/alert/src/alert.module.mjs +3 -5
- package/esm2022/async-host-binding/src/index.mjs +2 -2
- package/esm2022/async-host-binding/src/provide-async-host-bindings.mjs +10 -0
- package/esm2022/badge/src/badge.component.mjs +4 -4
- package/esm2022/badge/src/index.mjs +1 -2
- package/esm2022/breadcrumb/src/breadcrumb.module.mjs +3 -5
- package/esm2022/button-group/src/button-group/button-group.component.mjs +4 -6
- package/esm2022/button-group/src/index.mjs +1 -2
- package/esm2022/button-type/src/button-type/button-type.directive.mjs +4 -3
- package/esm2022/button-type/src/index.mjs +1 -2
- package/esm2022/calendar/src/calendar.component.mjs +7 -8
- package/esm2022/calendar/src/index.mjs +1 -2
- package/esm2022/calendar-month/src/pipes/index.mjs +3 -3
- package/esm2022/calendar-month/src/pipes/month-name/month-name.pipe.mjs +7 -6
- package/esm2022/calendar-month/src/pipes/weekday-name/weekday-name.pipe.mjs +7 -6
- package/esm2022/carousel/src/carousel/carousel.component.mjs +4 -5
- package/esm2022/carousel/src/carousel.module.mjs +13 -18
- package/esm2022/close/src/close.component.mjs +3 -3
- package/esm2022/close/src/index.mjs +1 -2
- package/esm2022/code-snippet/src/code-snippet.component.mjs +8 -6
- package/esm2022/code-snippet/src/index.mjs +1 -2
- package/esm2022/color-picker/color-picker.module.mjs +8 -10
- package/esm2022/color-picker/components/color-picker/color-picker.component.mjs +8 -8
- package/esm2022/color-picker/components/color-wheel/color-wheel.component.mjs +3 -3
- package/esm2022/container/src/container/container.component.mjs +3 -3
- package/esm2022/container/src/index.mjs +1 -2
- package/esm2022/context-menu/src/context-menu.module.mjs +8 -8
- package/esm2022/copy/src/copy.directive.mjs +3 -2
- package/esm2022/copy/src/index.mjs +1 -2
- package/esm2022/datatable/src/datatable/datatable.component.mjs +3 -3
- package/esm2022/datatable/src/datatable.module.mjs +15 -14
- package/esm2022/datepicker/src/datepicker.component.mjs +10 -8
- package/esm2022/datepicker/src/index.mjs +1 -2
- package/esm2022/dock/src/dock/dock.component.mjs +5 -5
- package/esm2022/dock/src/dock-pane-renderer/dock-pane-renderer.component.mjs +9 -9
- package/esm2022/dock/src/dock.module.mjs +5 -6
- package/esm2022/dropdown/src/dropdown/dropdown.directive.mjs +5 -3
- package/esm2022/dropdown/src/dropdown.module.mjs +8 -10
- package/esm2022/dropdown-divider/src/dropdown-divider.directive.mjs +4 -3
- package/esm2022/dropdown-divider/src/index.mjs +1 -2
- package/esm2022/dropdown-menu/src/dropdown-menu.module.mjs +5 -5
- package/esm2022/enhanced-paste/src/directive/enhanced-paste.directive.mjs +4 -3
- package/esm2022/enhanced-paste/src/index.mjs +1 -2
- package/esm2022/file-upload/src/component/file-upload.component.mjs +6 -7
- package/esm2022/file-upload/src/file-upload.module.mjs +12 -19
- package/esm2022/file-upload/src/pipes/format-bytes/format-bytes.pipe.mjs +2 -2
- package/esm2022/floating-labels/src/floating-label/floating-label.component.mjs +20 -0
- package/esm2022/floating-labels/src/index.mjs +2 -3
- package/esm2022/font-color/index.mjs +1 -2
- package/esm2022/font-color/src/font-color.pipe.mjs +4 -3
- package/esm2022/for/src/for.directive.mjs +4 -3
- package/esm2022/for/src/index.mjs +1 -2
- package/esm2022/grid/src/grid.module.mjs +5 -5
- package/esm2022/has-overlay/src/has-overlay/has-overlay.component.mjs +3 -3
- package/esm2022/has-overlay/src/index.mjs +1 -2
- package/esm2022/has-property/src/has-property.pipe.mjs +6 -5
- package/esm2022/has-property/src/index.mjs +1 -2
- package/esm2022/in-list/index.mjs +1 -2
- package/esm2022/in-list/src/in-list.pipe.mjs +4 -3
- package/esm2022/input-group/src/index.mjs +1 -2
- package/esm2022/input-group/src/input-group/input-group.component.mjs +3 -3
- package/esm2022/let/directive/let.directive.mjs +4 -3
- package/esm2022/let/index.mjs +1 -2
- package/esm2022/linify/index.mjs +1 -2
- package/esm2022/linify/src/linify.pipe.mjs +3 -2
- package/esm2022/markdown/index.mjs +1 -2
- package/esm2022/markdown/src/bold/bold.pipe.mjs +4 -3
- package/esm2022/markdown/src/italic/italic.pipe.mjs +4 -3
- package/esm2022/markdown/src/strikethrough/strikethrough.pipe.mjs +4 -3
- package/esm2022/markdown/src/underline/underline.pipe.mjs +4 -3
- package/esm2022/marquee/index.mjs +1 -2
- package/esm2022/marquee/src/marquee/marquee.component.mjs +3 -3
- package/esm2022/modal/src/components/modal/modal.component.mjs +3 -3
- package/esm2022/modal/src/modal.module.mjs +9 -10
- package/esm2022/multiselect/src/component/multiselect.component.mjs +3 -8
- package/esm2022/multiselect/src/multiselect.module.mjs +15 -18
- package/esm2022/navbar/src/navbar.module.mjs +30 -33
- package/esm2022/navbar-toggler/src/index.mjs +1 -2
- package/esm2022/navbar-toggler/src/navbar-toggler/navbar-toggler.component.mjs +4 -4
- package/esm2022/no-noscript/src/index.mjs +1 -2
- package/esm2022/no-noscript/src/no-noscript/no-noscript.directive.mjs +4 -3
- package/esm2022/offcanvas/src/components/offcanvas/offcanvas.component.mjs +3 -3
- package/esm2022/offcanvas/src/offcanvas.module.mjs +11 -10
- package/esm2022/ordinal-number/src/index.mjs +1 -2
- package/esm2022/ordinal-number/src/ordinal-number/ordinal-number.pipe.mjs +4 -3
- package/esm2022/pagination/src/component/pagination/pagination.component.mjs +4 -5
- package/esm2022/pagination/src/index.mjs +1 -2
- package/esm2022/playlist-toggler/src/index.mjs +1 -2
- package/esm2022/playlist-toggler/src/playlist-toggler/playlist-toggler.component.mjs +4 -4
- package/esm2022/popover/src/component/popover.component.mjs +3 -3
- package/esm2022/popover/src/popover.module.mjs +6 -6
- package/esm2022/progress-bar/src/progress/progress.component.mjs +3 -4
- package/esm2022/rating/src/component/rating.component.mjs +4 -4
- package/esm2022/rating/src/index.mjs +1 -2
- package/esm2022/scheduler/src/components/resource-group-presenter/resource-group-presenter.component.mjs +3 -3
- package/esm2022/scheduler/src/components/scheduler/scheduler.component.mjs +5 -5
- package/esm2022/scrollspy/src/component/scrollspy.component.mjs +3 -4
- package/esm2022/scrollspy/src/scrollspy.module.mjs +4 -7
- package/esm2022/searchbox/src/searchbox/searchbox.component.mjs +5 -5
- package/esm2022/searchbox/src/searchbox.module.mjs +21 -23
- package/esm2022/select2/src/component/select2.component.mjs +3 -3
- package/esm2022/select2/src/select2.module.mjs +12 -14
- package/esm2022/signature-pad/src/component/signature-pad.component.mjs +3 -3
- package/esm2022/signature-pad/src/index.mjs +1 -2
- package/esm2022/slugify/index.mjs +1 -2
- package/esm2022/slugify/src/slugify.pipe.mjs +4 -3
- package/esm2022/spinner/src/index.mjs +1 -2
- package/esm2022/spinner/src/spinner.component.mjs +4 -4
- package/esm2022/split-string/index.mjs +1 -2
- package/esm2022/split-string/src/split-string.pipe.mjs +4 -3
- package/esm2022/splitter/src/splitter/splitter.component.mjs +7 -7
- package/esm2022/splitter/src/splitter.module.mjs +7 -7
- package/esm2022/tab-control/src/tab-control/tab-control.component.mjs +4 -4
- package/esm2022/tab-control/src/tab-control.module.mjs +13 -14
- package/esm2022/table/src/component/table.component.mjs +4 -4
- package/esm2022/table/src/index.mjs +1 -2
- package/esm2022/timepicker/src/index.mjs +1 -2
- package/esm2022/timepicker/src/timepicker.component.mjs +17 -12
- package/esm2022/toast/src/components/toast-container/toast-container.component.mjs +3 -3
- package/esm2022/toast/src/toast.module.mjs +11 -10
- package/esm2022/tooltip/src/tooltip.module.mjs +5 -5
- package/esm2022/trust-html/index.mjs +1 -2
- package/esm2022/trust-html/src/trust-html.pipe.mjs +4 -3
- package/esm2022/typeahead/src/index.mjs +1 -2
- package/esm2022/typeahead/src/typeahead.component.mjs +16 -10
- package/esm2022/uc-first/index.mjs +1 -2
- package/esm2022/uc-first/src/uc-first.pipe.mjs +4 -3
- package/esm2022/user-agent/src/directive/user-agent.directive.mjs +4 -3
- package/esm2022/user-agent/src/index.mjs +1 -2
- package/esm2022/word-count/index.mjs +1 -2
- package/esm2022/word-count/src/word-count.pipe.mjs +4 -3
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +8 -9
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +4 -7
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-async-host-binding.mjs +7 -29
- package/fesm2022/mintplayer-ng-bootstrap-async-host-binding.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +5 -20
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs +2 -4
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs +4 -21
- package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-button-type.mjs +5 -25
- package/fesm2022/mintplayer-ng-bootstrap-button-type.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs +14 -53
- package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +9 -49
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +15 -21
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs +4 -19
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +7 -38
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs +13 -15
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-container.mjs +4 -19
- 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 +5 -24
- package/fesm2022/mintplayer-ng-bootstrap-copy.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +16 -15
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +10 -45
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs +14 -15
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs +5 -19
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +4 -4
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +10 -10
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-enhanced-paste.mjs +5 -25
- package/fesm2022/mintplayer-ng-bootstrap-enhanced-paste.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs +16 -24
- package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +4 -19
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-font-color.mjs +5 -25
- package/fesm2022/mintplayer-ng-bootstrap-font-color.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-for.mjs +5 -25
- package/fesm2022/mintplayer-ng-bootstrap-for.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +4 -4
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs +4 -19
- package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-has-property.mjs +7 -21
- package/fesm2022/mintplayer-ng-bootstrap-has-property.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-in-list.mjs +5 -25
- package/fesm2022/mintplayer-ng-bootstrap-in-list.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs +4 -19
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-let.mjs +5 -25
- package/fesm2022/mintplayer-ng-bootstrap-let.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-linify.mjs +4 -18
- package/fesm2022/mintplayer-ng-bootstrap-linify.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-markdown.mjs +28 -57
- package/fesm2022/mintplayer-ng-bootstrap-markdown.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs +4 -19
- package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs +10 -11
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-multiselect.mjs +16 -24
- package/fesm2022/mintplayer-ng-bootstrap-multiselect.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs +5 -20
- package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +29 -32
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs +6 -19
- package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +12 -11
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-ordinal-number.mjs +5 -25
- package/fesm2022/mintplayer-ng-bootstrap-ordinal-number.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +5 -31
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs +5 -20
- package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +2 -3
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +5 -26
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +5 -5
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +6 -9
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-searchbox.mjs +24 -26
- package/fesm2022/mintplayer-ng-bootstrap-searchbox.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-select2.mjs +13 -15
- package/fesm2022/mintplayer-ng-bootstrap-select2.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +4 -19
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-slugify.mjs +5 -19
- package/fesm2022/mintplayer-ng-bootstrap-slugify.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs +5 -20
- package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-split-string.mjs +5 -19
- package/fesm2022/mintplayer-ng-bootstrap-split-string.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs +12 -12
- package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +15 -16
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs +5 -20
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +16 -64
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +12 -11
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +4 -4
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-trust-html.mjs +5 -19
- package/fesm2022/mintplayer-ng-bootstrap-trust-html.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +14 -53
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-uc-first.mjs +5 -25
- package/fesm2022/mintplayer-ng-bootstrap-uc-first.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-user-agent.mjs +6 -25
- package/fesm2022/mintplayer-ng-bootstrap-user-agent.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-word-count.mjs +5 -19
- package/fesm2022/mintplayer-ng-bootstrap-word-count.mjs.map +1 -1
- package/file-upload/src/file-upload.module.d.ts +4 -5
- package/floating-labels/src/{floating-labels/floating-label → floating-label}/floating-label.component.d.ts +1 -1
- package/floating-labels/src/index.d.ts +1 -2
- package/font-color/index.d.ts +0 -1
- package/font-color/src/font-color.pipe.d.ts +1 -1
- package/for/src/for.directive.d.ts +1 -1
- package/for/src/index.d.ts +0 -1
- package/grid/src/grid.module.d.ts +1 -1
- package/has-overlay/src/has-overlay/has-overlay.component.d.ts +1 -1
- package/has-overlay/src/index.d.ts +0 -1
- package/has-property/src/has-property.pipe.d.ts +3 -3
- package/has-property/src/index.d.ts +0 -1
- package/in-list/index.d.ts +0 -1
- package/in-list/src/in-list.pipe.d.ts +1 -1
- package/input-group/src/index.d.ts +0 -1
- package/input-group/src/input-group/input-group.component.d.ts +1 -1
- package/let/directive/let.directive.d.ts +1 -1
- package/let/index.d.ts +0 -1
- package/linify/index.d.ts +0 -1
- package/linify/src/linify.pipe.d.ts +1 -1
- package/markdown/index.d.ts +0 -1
- package/markdown/src/bold/bold.pipe.d.ts +1 -1
- package/markdown/src/italic/italic.pipe.d.ts +1 -1
- package/markdown/src/strikethrough/strikethrough.pipe.d.ts +1 -1
- package/markdown/src/underline/underline.pipe.d.ts +1 -1
- package/marquee/index.d.ts +0 -1
- package/marquee/src/marquee/marquee.component.d.ts +1 -1
- package/modal/src/modal.module.d.ts +1 -1
- package/multiselect/src/component/multiselect.component.d.ts +2 -4
- package/multiselect/src/multiselect.module.d.ts +1 -1
- package/navbar/src/navbar.module.d.ts +1 -1
- package/navbar-toggler/src/index.d.ts +0 -1
- package/navbar-toggler/src/navbar-toggler/navbar-toggler.component.d.ts +1 -1
- package/no-noscript/src/index.d.ts +0 -1
- package/no-noscript/src/no-noscript/no-noscript.directive.d.ts +1 -1
- package/offcanvas/src/offcanvas.module.d.ts +1 -1
- package/ordinal-number/src/index.d.ts +0 -1
- package/ordinal-number/src/ordinal-number/ordinal-number.pipe.d.ts +1 -1
- package/package.json +1 -13
- package/pagination/src/component/pagination/pagination.component.d.ts +1 -1
- package/pagination/src/index.d.ts +0 -1
- package/playlist-toggler/src/index.d.ts +0 -1
- package/playlist-toggler/src/playlist-toggler/playlist-toggler.component.d.ts +1 -1
- package/popover/src/popover.module.d.ts +1 -1
- package/rating/src/component/rating.component.d.ts +1 -1
- package/rating/src/index.d.ts +0 -1
- package/scrollspy/src/scrollspy.module.d.ts +1 -2
- package/searchbox/src/searchbox.module.d.ts +3 -3
- package/select2/src/select2.module.d.ts +1 -1
- package/signature-pad/src/component/signature-pad.component.d.ts +1 -1
- package/signature-pad/src/index.d.ts +0 -1
- package/slugify/index.d.ts +0 -1
- package/slugify/src/slugify.pipe.d.ts +1 -1
- package/spinner/src/index.d.ts +0 -1
- package/spinner/src/spinner.component.d.ts +1 -1
- package/split-string/index.d.ts +0 -1
- package/split-string/src/split-string.pipe.d.ts +1 -1
- package/splitter/src/splitter.module.d.ts +1 -1
- package/tab-control/src/tab-control.module.d.ts +1 -1
- package/table/src/component/table.component.d.ts +1 -1
- package/table/src/index.d.ts +0 -1
- package/timepicker/src/index.d.ts +0 -1
- package/timepicker/src/timepicker.component.d.ts +1 -1
- package/toast/src/toast.module.d.ts +1 -1
- package/tooltip/src/tooltip.module.d.ts +1 -1
- package/trust-html/index.d.ts +0 -1
- package/trust-html/src/trust-html.pipe.d.ts +1 -1
- package/typeahead/src/index.d.ts +0 -1
- package/typeahead/src/typeahead.component.d.ts +1 -1
- package/uc-first/index.d.ts +0 -1
- package/uc-first/src/uc-first.pipe.d.ts +1 -1
- package/user-agent/src/directive/user-agent.directive.d.ts +1 -1
- package/user-agent/src/index.d.ts +0 -1
- package/word-count/index.d.ts +0 -1
- package/word-count/src/word-count.pipe.d.ts +1 -1
- package/async-host-binding/src/async-host-binding.module.d.ts +0 -7
- package/badge/src/badge.module.d.ts +0 -8
- package/button-group/src/button-group.module.d.ts +0 -8
- package/button-type/src/button-type/button-type.module.d.ts +0 -8
- package/calendar/src/calendar.module.d.ts +0 -12
- package/calendar-month/src/pipes/month-name/index.d.ts +0 -2
- package/calendar-month/src/pipes/month-name/month-name.module.d.ts +0 -8
- package/calendar-month/src/pipes/weekday-name/index.d.ts +0 -2
- package/calendar-month/src/pipes/weekday-name/weekday-name.module.d.ts +0 -8
- package/close/src/close.module.d.ts +0 -8
- package/code-snippet/src/code-snippet.module.d.ts +0 -11
- package/container/src/container.module.d.ts +0 -8
- package/copy/src/copy.module.d.ts +0 -8
- package/datepicker/src/datepicker.module.d.ts +0 -12
- package/dropdown-divider/src/dropdown-divider.module.d.ts +0 -8
- package/enhanced-paste/src/enhanced-paste.module.d.ts +0 -8
- package/esm2022/async-host-binding/src/async-host-binding.module.mjs +0 -32
- package/esm2022/badge/src/badge.module.mjs +0 -18
- package/esm2022/button-group/src/button-group.module.mjs +0 -18
- package/esm2022/button-type/src/button-type/button-type.module.mjs +0 -24
- package/esm2022/calendar/src/calendar.module.mjs +0 -43
- package/esm2022/calendar-month/src/pipes/month-name/index.mjs +0 -3
- package/esm2022/calendar-month/src/pipes/month-name/month-name.module.mjs +0 -24
- package/esm2022/calendar-month/src/pipes/weekday-name/index.mjs +0 -3
- package/esm2022/calendar-month/src/pipes/weekday-name/weekday-name.module.mjs +0 -24
- package/esm2022/close/src/close.module.mjs +0 -18
- package/esm2022/code-snippet/src/code-snippet.module.mjs +0 -36
- package/esm2022/container/src/container.module.mjs +0 -18
- package/esm2022/copy/src/copy.module.mjs +0 -24
- package/esm2022/datepicker/src/datepicker.module.mjs +0 -40
- package/esm2022/dropdown-divider/src/dropdown-divider.module.mjs +0 -18
- package/esm2022/enhanced-paste/src/enhanced-paste.module.mjs +0 -24
- package/esm2022/floating-labels/src/floating-labels/floating-label/floating-label.component.mjs +0 -20
- package/esm2022/floating-labels/src/floating-labels/floating-labels.module.mjs +0 -18
- package/esm2022/font-color/src/font-color.module.mjs +0 -24
- package/esm2022/for/src/for.module.mjs +0 -24
- package/esm2022/has-overlay/src/has-overlay/has-overlay.module.mjs +0 -18
- package/esm2022/has-property/src/has-property.module.mjs +0 -18
- package/esm2022/in-list/src/in-list.module.mjs +0 -24
- package/esm2022/input-group/src/input-group.module.mjs +0 -18
- package/esm2022/lazy-loading/index.mjs +0 -2
- package/esm2022/lazy-loading/mintplayer-ng-bootstrap-lazy-loading.mjs +0 -5
- package/esm2022/lazy-loading/src/index.mjs +0 -3
- package/esm2022/lazy-loading/src/lazy-load/lazy-load.directive.mjs +0 -32
- package/esm2022/lazy-loading/src/lazy-loading.module.mjs +0 -24
- package/esm2022/let/let.module.mjs +0 -24
- package/esm2022/linify/src/linify.module.mjs +0 -18
- package/esm2022/markdown/src/markdown.module.mjs +0 -39
- package/esm2022/marquee/src/marquee.module.mjs +0 -18
- package/esm2022/navbar-toggler/src/navbar-toggler.module.mjs +0 -18
- package/esm2022/no-noscript/src/no-noscript.module.mjs +0 -18
- package/esm2022/ordinal-number/src/ordinal-number.module.mjs +0 -24
- package/esm2022/pagination/src/pagination.module.mjs +0 -28
- package/esm2022/playlist-toggler/src/playlist-toggler.module.mjs +0 -18
- package/esm2022/rating/src/rating.module.mjs +0 -24
- package/esm2022/signature-pad/src/signature-pad.module.mjs +0 -18
- package/esm2022/slugify/src/slugify.module.mjs +0 -18
- package/esm2022/spinner/src/spinner.module.mjs +0 -18
- package/esm2022/split-string/src/split-string.module.mjs +0 -18
- package/esm2022/table/src/table.module.mjs +0 -18
- package/esm2022/timepicker/src/timepicker.module.mjs +0 -56
- package/esm2022/track-by/index.mjs +0 -4
- package/esm2022/track-by/mintplayer-ng-bootstrap-track-by.mjs +0 -5
- package/esm2022/track-by/src/track-by-index.directive.mjs +0 -22
- package/esm2022/track-by/src/track-by.directive.mjs +0 -28
- package/esm2022/track-by/src/track-by.module.mjs +0 -19
- package/esm2022/trust-html/src/trust-html.module.mjs +0 -18
- package/esm2022/typeahead/src/typeahead.module.mjs +0 -48
- package/esm2022/uc-first/src/uc-first.module.mjs +0 -24
- package/esm2022/user-agent/src/user-agent.module.mjs +0 -24
- package/esm2022/word-count/src/word-count.module.mjs +0 -18
- package/fesm2022/mintplayer-ng-bootstrap-lazy-loading.mjs +0 -60
- package/fesm2022/mintplayer-ng-bootstrap-lazy-loading.mjs.map +0 -1
- package/fesm2022/mintplayer-ng-bootstrap-track-by.mjs +0 -67
- package/fesm2022/mintplayer-ng-bootstrap-track-by.mjs.map +0 -1
- package/floating-labels/src/floating-labels/floating-labels.module.d.ts +0 -8
- package/font-color/src/font-color.module.d.ts +0 -8
- package/for/src/for.module.d.ts +0 -8
- package/has-overlay/src/has-overlay/has-overlay.module.d.ts +0 -8
- package/has-property/src/has-property.module.d.ts +0 -8
- package/in-list/src/in-list.module.d.ts +0 -8
- package/input-group/src/input-group.module.d.ts +0 -8
- package/lazy-loading/index.d.ts +0 -1
- package/lazy-loading/src/index.d.ts +0 -2
- package/lazy-loading/src/lazy-load/lazy-load.directive.d.ts +0 -13
- package/lazy-loading/src/lazy-loading.module.d.ts +0 -8
- package/let/let.module.d.ts +0 -8
- package/linify/src/linify.module.d.ts +0 -8
- package/markdown/src/markdown.module.d.ts +0 -11
- package/marquee/src/marquee.module.d.ts +0 -8
- package/navbar-toggler/src/navbar-toggler.module.d.ts +0 -8
- package/no-noscript/src/no-noscript.module.d.ts +0 -8
- package/ordinal-number/src/ordinal-number.module.d.ts +0 -8
- package/pagination/src/pagination.module.d.ts +0 -9
- package/playlist-toggler/src/playlist-toggler.module.d.ts +0 -8
- package/rating/src/rating.module.d.ts +0 -8
- package/signature-pad/src/signature-pad.module.d.ts +0 -8
- package/slugify/src/slugify.module.d.ts +0 -8
- package/spinner/src/spinner.module.d.ts +0 -8
- package/split-string/src/split-string.module.d.ts +0 -8
- package/table/src/table.module.d.ts +0 -8
- package/timepicker/src/timepicker.module.d.ts +0 -16
- package/track-by/index.d.ts +0 -3
- package/track-by/src/track-by-index.directive.d.ts +0 -9
- package/track-by/src/track-by.directive.d.ts +0 -11
- package/track-by/src/track-by.module.d.ts +0 -9
- package/trust-html/src/trust-html.module.d.ts +0 -8
- package/typeahead/src/typeahead.module.d.ts +0 -14
- package/uc-first/src/uc-first.module.d.ts +0 -8
- package/user-agent/src/user-agent.module.d.ts +0 -8
- package/word-count/src/word-count.module.d.ts +0 -8
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, Component, Output, Input, HostBinding, ViewChild, HostListener
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { EventEmitter, Component, Output, Input, HostBinding, ViewChild, HostListener } from '@angular/core';
|
|
4
3
|
import { BehaviorSubject } from 'rxjs';
|
|
5
4
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
6
5
|
|
|
@@ -70,11 +69,11 @@ class BsSignaturePadComponent {
|
|
|
70
69
|
}
|
|
71
70
|
}
|
|
72
71
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: BsSignaturePadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
73
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: BsSignaturePadComponent, selector: "bs-signature-pad", inputs: { signature: "signature", width: "width", height: "height" }, outputs: { signatureChange: "signatureChange" }, host: { listeners: { "touchmove": "onTouchMove($event)", "pointerdown": "onPointerStart($event)", "pointermove": "onPointerMove($event)", "window:pointerup": "onPointerEnd($event)" }, properties: { "class.border": "this.classes", "class.d-inline-block": "this.classes", "style.min-height.rem": "this.minHeight" } }, viewQueries: [{ propertyName: "canvas", first: true, predicate: ["canvas"], descendants: true }], ngImport: i0, template: "<canvas [width]=\"width\" [height]=\"height\" class=\"d-block\" #canvas></canvas>", styles: [""] }); }
|
|
72
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: BsSignaturePadComponent, isStandalone: true, selector: "bs-signature-pad", inputs: { signature: "signature", width: "width", height: "height" }, outputs: { signatureChange: "signatureChange" }, host: { listeners: { "touchmove": "onTouchMove($event)", "pointerdown": "onPointerStart($event)", "pointermove": "onPointerMove($event)", "window:pointerup": "onPointerEnd($event)" }, properties: { "class.border": "this.classes", "class.d-inline-block": "this.classes", "style.min-height.rem": "this.minHeight" } }, viewQueries: [{ propertyName: "canvas", first: true, predicate: ["canvas"], descendants: true }], ngImport: i0, template: "<canvas [width]=\"width\" [height]=\"height\" class=\"d-block\" #canvas></canvas>", styles: [""] }); }
|
|
74
73
|
}
|
|
75
74
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: BsSignaturePadComponent, decorators: [{
|
|
76
75
|
type: Component,
|
|
77
|
-
args: [{ selector: 'bs-signature-pad', template: "<canvas [width]=\"width\" [height]=\"height\" class=\"d-block\" #canvas></canvas>" }]
|
|
76
|
+
args: [{ selector: 'bs-signature-pad', standalone: true, template: "<canvas [width]=\"width\" [height]=\"height\" class=\"d-block\" #canvas></canvas>" }]
|
|
78
77
|
}], ctorParameters: () => [], propDecorators: { signatureChange: [{
|
|
79
78
|
type: Output
|
|
80
79
|
}], signature: [{
|
|
@@ -109,23 +108,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImpor
|
|
|
109
108
|
args: ['window:pointerup', ['$event']]
|
|
110
109
|
}] } });
|
|
111
110
|
|
|
112
|
-
class BsSignaturePadModule {
|
|
113
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: BsSignaturePadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
114
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: BsSignaturePadModule, declarations: [BsSignaturePadComponent], imports: [CommonModule], exports: [BsSignaturePadComponent] }); }
|
|
115
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: BsSignaturePadModule, imports: [CommonModule] }); }
|
|
116
|
-
}
|
|
117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: BsSignaturePadModule, decorators: [{
|
|
118
|
-
type: NgModule,
|
|
119
|
-
args: [{
|
|
120
|
-
declarations: [BsSignaturePadComponent],
|
|
121
|
-
imports: [CommonModule],
|
|
122
|
-
exports: [BsSignaturePadComponent],
|
|
123
|
-
}]
|
|
124
|
-
}] });
|
|
125
|
-
|
|
126
111
|
/**
|
|
127
112
|
* Generated bundle index. Do not edit.
|
|
128
113
|
*/
|
|
129
114
|
|
|
130
|
-
export { BsSignaturePadComponent
|
|
115
|
+
export { BsSignaturePadComponent };
|
|
131
116
|
//# sourceMappingURL=mintplayer-ng-bootstrap-signature-pad.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-signature-pad.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/signature-pad/src/component/signature-pad.component.ts","../../../../libs/mintplayer-ng-bootstrap/signature-pad/src/component/signature-pad.component.html","../../../../libs/mintplayer-ng-bootstrap/signature-pad/
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-signature-pad.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/signature-pad/src/component/signature-pad.component.ts","../../../../libs/mintplayer-ng-bootstrap/signature-pad/src/component/signature-pad.component.html","../../../../libs/mintplayer-ng-bootstrap/signature-pad/mintplayer-ng-bootstrap-signature-pad.ts"],"sourcesContent":["import { AfterViewInit, Component, ElementRef, EventEmitter, HostBinding, HostListener, Input, Output, ViewChild } from '@angular/core';\nimport { Signature } from '../interfaces/signature';\nimport { BehaviorSubject } from 'rxjs';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { Point } from '../interfaces/point';\nimport { Stroke } from '../interfaces/stroke';\n\n@Component({\n selector: 'bs-signature-pad',\n templateUrl: './signature-pad.component.html',\n styleUrls: ['./signature-pad.component.scss'],\n standalone: true\n})\nexport class BsSignaturePadComponent implements AfterViewInit {\n constructor() {\n this.signature$.pipe(takeUntilDestroyed()).subscribe((signature) => {\n this.signatureChange.emit(signature);\n });\n }\n\n //#region Signature\n signature$ = new BehaviorSubject<Signature>({ strokes: [] });\n @Output() signatureChange = new EventEmitter<Signature>();\n public get signature() {\n return this.signature$.value;\n }\n @Input() public set signature(value: Signature) {\n this.signature$.next(value);\n }\n //#endregion\n\n @Input() width = 500;\n @Input() height = 300;\n\n @HostBinding('class.border')\n @HostBinding('class.d-inline-block')\n classes = true;\n\n isDrawing = false;\n @ViewChild('canvas') canvas!: ElementRef<HTMLCanvasElement>;\n context: CanvasRenderingContext2D | null = null;\n\n ngAfterViewInit() {\n this.context = this.canvas.nativeElement.getContext('2d', { willReadFrequently: true });\n }\n\n @HostBinding('style.min-height.rem') minHeight = 5;\n @HostListener('touchmove', ['$event']) onTouchMove(ev: TouchEvent) {\n if (this.isDrawing) {\n ev.preventDefault();\n }\n }\n @HostListener('pointerdown', ['$event']) onPointerStart(ev: PointerEvent) {\n ev.preventDefault();\n this.isDrawing = true;\n if (this.context) {\n this.signature.strokes.push({\n points: [{ x: ev.offsetX, y: ev.offsetY }]\n });\n this.signatureChange.emit(this.signature);\n\n this.context.fillStyle = 'black';\n this.context.beginPath();\n this.context.moveTo(ev.offsetX, ev.offsetY);\n }\n }\n @HostListener('pointermove', ['$event']) onPointerMove(ev: PointerEvent) {\n if (this.isDrawing && this.context) {\n ev.preventDefault();\n \n // this.context.moveTo(this.points.at(-1)!.x, this.points.at(-1)!.y);\n // // ctx.arc(x, y, width, 0, 2 * Math.PI, false);\n // // this.context.arc(ev.offsetX, ev.offsetY, 2, 0, 2 * Math.PI, false);\n // // this.context.arcTo(ev.offsetX, ev.offsetY,)\n // this.context.closePath();\n // this.context.fill();\n\n this.signature.strokes.at(-1)?.points.push({ x: ev.offsetX, y: ev.offsetY });\n this.signatureChange.emit(this.signature);\n\n this.context.lineTo(ev.offsetX, ev.offsetY);\n this.context.stroke();\n }\n }\n @HostListener('window:pointerup', ['$event']) onPointerEnd(ev: PointerEvent) {\n if (this.isDrawing && this.context) {\n ev.preventDefault();\n this.isDrawing = false;\n this.signatureChange.emit(this.signature);\n }\n }\n}\n","<canvas [width]=\"width\" [height]=\"height\" class=\"d-block\" #canvas></canvas>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAaa,uBAAuB,CAAA;AAClC,IAAA,WAAA,GAAA;;QAOA,IAAU,CAAA,UAAA,GAAG,IAAI,eAAe,CAAY,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAAC;AACnD,QAAA,IAAA,CAAA,eAAe,GAAG,IAAI,YAAY,EAAa,CAAC;;QASjD,IAAK,CAAA,KAAA,GAAG,GAAG,CAAC;QACZ,IAAM,CAAA,MAAA,GAAG,GAAG,CAAC;QAItB,IAAO,CAAA,OAAA,GAAG,IAAI,CAAC;QAEf,IAAS,CAAA,SAAA,GAAG,KAAK,CAAC;QAElB,IAAO,CAAA,OAAA,GAAoC,IAAI,CAAC;QAMX,IAAS,CAAA,SAAA,GAAG,CAAC,CAAC;AA/BjD,QAAA,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,kBAAkB,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,KAAI;AACjE,YAAA,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;AACvC,SAAC,CAAC,CAAC;KACJ;AAKD,IAAA,IAAW,SAAS,GAAA;AAClB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;KAC9B;IACD,IAAoB,SAAS,CAAC,KAAgB,EAAA;AAC5C,QAAA,IAAI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BAAb,KAAK;gBACG,MAAM,EAAA,CAAA;sBAAd,KAAK;gBAIN,OAAO,EAAA,CAAA;sBAFN,WAAW;uBAAC,cAAc,CAAA;;sBAC1B,WAAW;uBAAC,sBAAsB,CAAA;gBAId,MAAM,EAAA,CAAA;sBAA1B,SAAS;uBAAC,QAAQ,CAAA;gBAOkB,SAAS,EAAA,CAAA;sBAA7C,WAAW;uBAAC,sBAAsB,CAAA;gBACI,WAAW,EAAA,CAAA;sBAAjD,YAAY;uBAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,CAAA;gBAKI,cAAc,EAAA,CAAA;sBAAtD,YAAY;uBAAC,aAAa,EAAE,CAAC,QAAQ,CAAC,CAAA;gBAcE,aAAa,EAAA,CAAA;sBAArD,YAAY;uBAAC,aAAa,EAAE,CAAC,QAAQ,CAAC,CAAA;gBAkBO,YAAY,EAAA,CAAA;sBAAzD,YAAY;uBAAC,kBAAkB,EAAE,CAAC,QAAQ,CAAC,CAAA;;;AEpF9C;;AAEG;;;;"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Pipe
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { Pipe } from '@angular/core';
|
|
4
3
|
|
|
5
4
|
class BsSlugifyPipe {
|
|
6
5
|
transform(value) {
|
|
@@ -13,27 +12,14 @@ class BsSlugifyPipe {
|
|
|
13
12
|
.replace(/-+$/, ''); // Trim - from end of text
|
|
14
13
|
}
|
|
15
14
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: BsSlugifyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
16
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: BsSlugifyPipe, name: "bsSlugify" }); }
|
|
15
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: BsSlugifyPipe, isStandalone: true, name: "bsSlugify" }); }
|
|
17
16
|
}
|
|
18
17
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: BsSlugifyPipe, decorators: [{
|
|
19
18
|
type: Pipe,
|
|
20
19
|
args: [{
|
|
21
20
|
name: 'bsSlugify',
|
|
22
|
-
pure: true
|
|
23
|
-
|
|
24
|
-
}] });
|
|
25
|
-
|
|
26
|
-
class BsSlugifyModule {
|
|
27
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: BsSlugifyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
28
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: BsSlugifyModule, declarations: [BsSlugifyPipe], imports: [CommonModule], exports: [BsSlugifyPipe] }); }
|
|
29
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: BsSlugifyModule, imports: [CommonModule] }); }
|
|
30
|
-
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: BsSlugifyModule, decorators: [{
|
|
32
|
-
type: NgModule,
|
|
33
|
-
args: [{
|
|
34
|
-
declarations: [BsSlugifyPipe],
|
|
35
|
-
imports: [CommonModule],
|
|
36
|
-
exports: [BsSlugifyPipe],
|
|
21
|
+
pure: true,
|
|
22
|
+
standalone: true
|
|
37
23
|
}]
|
|
38
24
|
}] });
|
|
39
25
|
|
|
@@ -41,5 +27,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImpor
|
|
|
41
27
|
* Generated bundle index. Do not edit.
|
|
42
28
|
*/
|
|
43
29
|
|
|
44
|
-
export {
|
|
30
|
+
export { BsSlugifyPipe };
|
|
45
31
|
//# sourceMappingURL=mintplayer-ng-bootstrap-slugify.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-slugify.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/slugify/src/slugify.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/slugify/
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-slugify.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/slugify/src/slugify.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/slugify/mintplayer-ng-bootstrap-slugify.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'bsSlugify',\n pure: true,\n standalone: true\n})\nexport class BsSlugifyPipe implements PipeTransform {\n transform(value: string) {\n return value.toString().toLowerCase()\n .replace(/\\s+/g, '-') // Replace spaces with -\n .normalize(\"NFD\").replace(/[\\u0300-\\u036f]/g, \"\") // Remove diacritics\n .replace(/[^\\w\\-]+/g, '') // Remove all non-word chars\n .replace(/\\-\\-+/g, '-') // Replace multiple - with single -\n .replace(/^-+/, '') // Trim - from start of text\n .replace(/-+$/, ''); // Trim - from end of text\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAOa,aAAa,CAAA;AACxB,IAAA,SAAS,CAAC,KAAa,EAAA;AACrB,QAAA,OAAO,KAAK,CAAC,QAAQ,EAAE,CAAC,WAAW,EAAE;AAClC,aAAA,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC;aACpB,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC;AAChD,aAAA,OAAO,CAAC,WAAW,EAAE,EAAE,CAAC;AACxB,aAAA,OAAO,CAAC,QAAQ,EAAE,GAAG,CAAC;AACtB,aAAA,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC;AAClB,aAAA,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;KACvB;8GATU,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;4GAAb,aAAa,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,CAAA,EAAA;;2FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBALzB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,WAAW;AACjB,oBAAA,IAAI,EAAE,IAAI;AACV,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA,CAAA;;;ACND;;AAEG;;;;"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
+
import { AsyncPipe } from '@angular/common';
|
|
1
2
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Input
|
|
3
|
+
import { Component, Input } from '@angular/core';
|
|
3
4
|
import { Color } from '@mintplayer/ng-bootstrap';
|
|
4
5
|
import { BehaviorSubject, map } from 'rxjs';
|
|
5
|
-
import * as i1 from '@angular/common';
|
|
6
|
-
import { CommonModule } from '@angular/common';
|
|
7
6
|
|
|
8
7
|
class BsSpinnerComponent {
|
|
9
8
|
constructor() {
|
|
@@ -32,34 +31,20 @@ class BsSpinnerComponent {
|
|
|
32
31
|
this.color$.next(value);
|
|
33
32
|
}
|
|
34
33
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: BsSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
35
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: BsSpinnerComponent, selector: "bs-spinner", inputs: { type: "type", color: "color" }, ngImport: i0, template: "<div [class]=\"[spinnerClass$ | async, colorClass$ | async]\" role=\"status\">\n <span class=\"visually-hidden\">Loading...</span>\n</div>", styles: [":host ::ng-deep .spinner-grow,:host ::ng-deep .spinner-border{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}:host ::ng-deep .spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-border-width: .25em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}:host ::ng-deep .spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: .2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}:host ::ng-deep .spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}:host ::ng-deep .spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}@media (prefers-reduced-motion: reduce){:host ::ng-deep .spinner-border,:host ::ng-deep .spinner-grow{--bs-spinner-animation-speed: 1.5s}}:host ::ng-deep .spinner-border{animation:.75s linear infinite spinner-border}:host ::ng-deep .spinner-grow{animation:.75s linear infinite spinner-grow}\n"], dependencies: [{ kind: "pipe", type:
|
|
34
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: BsSpinnerComponent, isStandalone: true, selector: "bs-spinner", inputs: { type: "type", color: "color" }, ngImport: i0, template: "<div [class]=\"[spinnerClass$ | async, colorClass$ | async]\" role=\"status\">\n <span class=\"visually-hidden\">Loading...</span>\n</div>", styles: [":host ::ng-deep .spinner-grow,:host ::ng-deep .spinner-border{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}:host ::ng-deep .spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-border-width: .25em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}:host ::ng-deep .spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: .2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}:host ::ng-deep .spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}:host ::ng-deep .spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}@media (prefers-reduced-motion: reduce){:host ::ng-deep .spinner-border,:host ::ng-deep .spinner-grow{--bs-spinner-animation-speed: 1.5s}}:host ::ng-deep .spinner-border{animation:.75s linear infinite spinner-border}:host ::ng-deep .spinner-grow{animation:.75s linear infinite spinner-grow}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }] }); }
|
|
36
35
|
}
|
|
37
36
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: BsSpinnerComponent, decorators: [{
|
|
38
37
|
type: Component,
|
|
39
|
-
args: [{ selector: 'bs-spinner', template: "<div [class]=\"[spinnerClass$ | async, colorClass$ | async]\" role=\"status\">\n <span class=\"visually-hidden\">Loading...</span>\n</div>", styles: [":host ::ng-deep .spinner-grow,:host ::ng-deep .spinner-border{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}:host ::ng-deep .spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-border-width: .25em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}:host ::ng-deep .spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: .2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}:host ::ng-deep .spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}:host ::ng-deep .spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}@media (prefers-reduced-motion: reduce){:host ::ng-deep .spinner-border,:host ::ng-deep .spinner-grow{--bs-spinner-animation-speed: 1.5s}}:host ::ng-deep .spinner-border{animation:.75s linear infinite spinner-border}:host ::ng-deep .spinner-grow{animation:.75s linear infinite spinner-grow}\n"] }]
|
|
38
|
+
args: [{ selector: 'bs-spinner', standalone: true, imports: [AsyncPipe], template: "<div [class]=\"[spinnerClass$ | async, colorClass$ | async]\" role=\"status\">\n <span class=\"visually-hidden\">Loading...</span>\n</div>", styles: [":host ::ng-deep .spinner-grow,:host ::ng-deep .spinner-border{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}:host ::ng-deep .spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-border-width: .25em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}:host ::ng-deep .spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: .2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}:host ::ng-deep .spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}:host ::ng-deep .spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}@media (prefers-reduced-motion: reduce){:host ::ng-deep .spinner-border,:host ::ng-deep .spinner-grow{--bs-spinner-animation-speed: 1.5s}}:host ::ng-deep .spinner-border{animation:.75s linear infinite spinner-border}:host ::ng-deep .spinner-grow{animation:.75s linear infinite spinner-grow}\n"] }]
|
|
40
39
|
}], ctorParameters: () => [], propDecorators: { type: [{
|
|
41
40
|
type: Input
|
|
42
41
|
}], color: [{
|
|
43
42
|
type: Input
|
|
44
43
|
}] } });
|
|
45
44
|
|
|
46
|
-
class BsSpinnerModule {
|
|
47
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: BsSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
48
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: BsSpinnerModule, declarations: [BsSpinnerComponent], imports: [CommonModule], exports: [BsSpinnerComponent] }); }
|
|
49
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: BsSpinnerModule, imports: [CommonModule] }); }
|
|
50
|
-
}
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: BsSpinnerModule, decorators: [{
|
|
52
|
-
type: NgModule,
|
|
53
|
-
args: [{
|
|
54
|
-
declarations: [BsSpinnerComponent],
|
|
55
|
-
imports: [CommonModule],
|
|
56
|
-
exports: [BsSpinnerComponent],
|
|
57
|
-
}]
|
|
58
|
-
}] });
|
|
59
|
-
|
|
60
45
|
/**
|
|
61
46
|
* Generated bundle index. Do not edit.
|
|
62
47
|
*/
|
|
63
48
|
|
|
64
|
-
export { BsSpinnerComponent
|
|
49
|
+
export { BsSpinnerComponent };
|
|
65
50
|
//# sourceMappingURL=mintplayer-ng-bootstrap-spinner.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-spinner.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/spinner/src/spinner.component.ts","../../../../libs/mintplayer-ng-bootstrap/spinner/src/spinner.component.html","../../../../libs/mintplayer-ng-bootstrap/spinner/
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-spinner.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/spinner/src/spinner.component.ts","../../../../libs/mintplayer-ng-bootstrap/spinner/src/spinner.component.html","../../../../libs/mintplayer-ng-bootstrap/spinner/mintplayer-ng-bootstrap-spinner.ts"],"sourcesContent":["import { AsyncPipe } from '@angular/common';\nimport { Component, Input, OnInit } from '@angular/core';\nimport { Color } from '@mintplayer/ng-bootstrap';\nimport { BehaviorSubject, map, Observable } from 'rxjs';\n\n@Component({\n selector: 'bs-spinner',\n templateUrl: './spinner.component.html',\n styleUrls: ['./spinner.component.scss'],\n standalone: true,\n imports: [AsyncPipe]\n})\nexport class BsSpinnerComponent implements OnInit {\n constructor() {\n this.spinnerClass$ = this.type$\n .pipe(map((type) => `spinner-${type}`));\n this.colorClass$ = this.color$\n .pipe(map((type) => `text-${this.colors[type]}`));\n }\n\n spinnerClass$: Observable<string>;\n colorClass$: Observable<string>;\n colors = Color;\n\n ngOnInit(): void {}\n\n //#region Type\n type$ = new BehaviorSubject<'border' | 'grow'>('border');\n public get type() {\n return this.type$.value;\n }\n @Input() public set type(value: 'border' | 'grow') {\n this.type$.next(value);\n }\n //#endregion\n //#region Color\n color$ = new BehaviorSubject<Color>(Color.dark);\n public get color() {\n return this.color$.value;\n }\n @Input() public set color(value: Color) {\n this.color$.next(value);\n }\n //#endregion\n}\n","<div [class]=\"[spinnerClass$ | async, colorClass$ | async]\" role=\"status\">\n <span class=\"visually-hidden\">Loading...</span>\n</div>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAYa,kBAAkB,CAAA;AAC7B,IAAA,WAAA,GAAA;QASA,IAAM,CAAA,MAAA,GAAG,KAAK,CAAC;;AAKf,QAAA,IAAA,CAAA,KAAK,GAAG,IAAI,eAAe,CAAoB,QAAQ,CAAC,CAAC;;;QASzD,IAAM,CAAA,MAAA,GAAG,IAAI,eAAe,CAAQ,KAAK,CAAC,IAAI,CAAC,CAAC;AAtB9C,QAAA,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,KAAK;AAC5B,aAAA,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,CAAW,QAAA,EAAA,IAAI,CAAE,CAAA,CAAC,CAAC,CAAC;AAC1C,QAAA,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,MAAM;AAC3B,aAAA,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,CAAA,KAAA,EAAQ,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAE,CAAA,CAAC,CAAC,CAAC;KACrD;AAMD,IAAA,QAAQ,MAAW;AAInB,IAAA,IAAW,IAAI,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;KACzB;IACD,IAAoB,IAAI,CAAC,KAAwB,EAAA;AAC/C,QAAA,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KACxB;AAID,IAAA,IAAW,KAAK,GAAA;AACd,QAAA,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC;KAC1B;IACD,IAAoB,KAAK,CAAC,KAAY,EAAA;AACpC,QAAA,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KACzB;8GA9BU,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAlB,kBAAkB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,KAAA,EAAA,OAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECZ/B,+IAEM,EAAA,MAAA,EAAA,CAAA,88CAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EDQM,SAAS,EAAA,IAAA,EAAA,OAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAER,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAP9B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,YAAY,EAGV,UAAA,EAAA,IAAI,EACP,OAAA,EAAA,CAAC,SAAS,CAAC,EAAA,QAAA,EAAA,+IAAA,EAAA,MAAA,EAAA,CAAA,88CAAA,CAAA,EAAA,CAAA;wDAqBA,IAAI,EAAA,CAAA;sBAAvB,KAAK;gBASc,KAAK,EAAA,CAAA;sBAAxB,KAAK;;;AExCR;;AAEG;;;;"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Pipe
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { Pipe } from '@angular/core';
|
|
4
3
|
|
|
5
4
|
class BsSplitStringPipe {
|
|
6
5
|
transform(value, seperator = '\n', removeEmptyEntries = true) {
|
|
@@ -8,27 +7,14 @@ class BsSplitStringPipe {
|
|
|
8
7
|
.filter(line => !removeEmptyEntries || (line !== ''));
|
|
9
8
|
}
|
|
10
9
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: BsSplitStringPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
11
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: BsSplitStringPipe, name: "bsSplitString" }); }
|
|
10
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: BsSplitStringPipe, isStandalone: true, name: "bsSplitString" }); }
|
|
12
11
|
}
|
|
13
12
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: BsSplitStringPipe, decorators: [{
|
|
14
13
|
type: Pipe,
|
|
15
14
|
args: [{
|
|
16
15
|
name: 'bsSplitString',
|
|
17
|
-
pure: true
|
|
18
|
-
|
|
19
|
-
}] });
|
|
20
|
-
|
|
21
|
-
class BsSplitStringModule {
|
|
22
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: BsSplitStringModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
23
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: BsSplitStringModule, declarations: [BsSplitStringPipe], imports: [CommonModule], exports: [BsSplitStringPipe] }); }
|
|
24
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: BsSplitStringModule, imports: [CommonModule] }); }
|
|
25
|
-
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: BsSplitStringModule, decorators: [{
|
|
27
|
-
type: NgModule,
|
|
28
|
-
args: [{
|
|
29
|
-
declarations: [BsSplitStringPipe],
|
|
30
|
-
imports: [CommonModule],
|
|
31
|
-
exports: [BsSplitStringPipe]
|
|
16
|
+
pure: true,
|
|
17
|
+
standalone: true
|
|
32
18
|
}]
|
|
33
19
|
}] });
|
|
34
20
|
|
|
@@ -36,5 +22,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImpor
|
|
|
36
22
|
* Generated bundle index. Do not edit.
|
|
37
23
|
*/
|
|
38
24
|
|
|
39
|
-
export {
|
|
25
|
+
export { BsSplitStringPipe };
|
|
40
26
|
//# sourceMappingURL=mintplayer-ng-bootstrap-split-string.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-split-string.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/split-string/src/split-string.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/split-string/
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-split-string.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/split-string/src/split-string.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/split-string/mintplayer-ng-bootstrap-split-string.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'bsSplitString',\n pure: true,\n standalone: true\n})\nexport class BsSplitStringPipe implements PipeTransform {\n transform(value: string, seperator = '\\n', removeEmptyEntries = true): string[] {\n return value.split(seperator)\n .filter(line => !removeEmptyEntries || (line !== ''));\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAOa,iBAAiB,CAAA;IAC5B,SAAS,CAAC,KAAa,EAAE,SAAS,GAAG,IAAI,EAAE,kBAAkB,GAAG,IAAI,EAAA;AAClE,QAAA,OAAO,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC;AAC1B,aAAA,MAAM,CAAC,IAAI,IAAI,CAAC,kBAAkB,KAAK,IAAI,KAAK,EAAE,CAAC,CAAC,CAAC;KACzD;8GAJU,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;4GAAjB,iBAAiB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,eAAA,EAAA,CAAA,CAAA,EAAA;;2FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAL7B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,eAAe;AACrB,oBAAA,IAAI,EAAE,IAAI;AACV,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA,CAAA;;;ACND;;AAEG;;;;"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Component, Pipe, Input, ContentChildren, ViewChildren, HostBinding, HostListener, NgModule } from '@angular/core';
|
|
3
|
-
import * as
|
|
4
|
-
import {
|
|
5
|
-
import * as
|
|
3
|
+
import * as i4 from '@angular/common';
|
|
4
|
+
import { AsyncPipe } from '@angular/common';
|
|
5
|
+
import * as i1 from '@angular/cdk/portal';
|
|
6
6
|
import { DomPortal, PortalModule } from '@angular/cdk/portal';
|
|
7
|
-
import * as
|
|
8
|
-
import {
|
|
9
|
-
import * as
|
|
10
|
-
import {
|
|
7
|
+
import * as i2 from '@mintplayer/ng-bootstrap/let';
|
|
8
|
+
import { BsLetDirective } from '@mintplayer/ng-bootstrap/let';
|
|
9
|
+
import * as i3 from '@mintplayer/ng-bootstrap/user-agent';
|
|
10
|
+
import { BsUserAgentDirective } from '@mintplayer/ng-bootstrap/user-agent';
|
|
11
11
|
import { BehaviorSubject, map, combineLatest, take } from 'rxjs';
|
|
12
12
|
|
|
13
13
|
var EDragOperation;
|
|
@@ -216,11 +216,11 @@ class BsSplitterComponent {
|
|
|
216
216
|
this.operation = null;
|
|
217
217
|
}
|
|
218
218
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: BsSplitterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
219
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
219
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.1", type: BsSplitterComponent, selector: "bs-splitter", inputs: { orientation: "orientation" }, host: { listeners: { "document:mousemove": "onMouseMove($event)", "document:mouseup": "onMouseUp($event)" }, properties: { "class.w-100": "this.classes", "class.h-100": "this.classes", "class.d-flex": "this.classes" } }, queries: [{ propertyName: "panels", predicate: BsSplitPanelComponent }], viewQueries: [{ propertyName: "splitPanels", predicate: ["splitPanel"], descendants: true }], ngImport: i0, template: "<div class=\"d-flex w-100 root\" [class]=\"[directionClass$ | async, splitterClass$ | async]\" bsUserAgent>\n <ng-content></ng-content>\n @for (panel of (panels$ | async); let index = $index; let last = $last; track panel) {\n <ng-container *bsLet=\"(widthStyles$ | async) as widthStyles\">\n <ng-container *bsLet=\"(heightStyles$ | async) as heightStyles\">\n <!-- [style.width.%]=\"100\" [style.height.%]=\"100\" -->\n <div class=\"split-panel overflow-hidden\" [class.flex-none]=\"isResizing$ | async\" #splitPanel [style.width]=\"widthStyles | bsElementAt:index\" [style.height]=\"heightStyles | bsElementAt:index\">\n <ng-template [cdkPortalOutlet]=\"panel.portal\"></ng-template>\n </div>\n </ng-container>\n </ng-container>\n @if (!last) {\n <div class=\"divider\" bsUserAgent [class.hover]=\"(touchedDivider$ | async) === divider\" #divider (mousedown)=\"startResizeMouse($event, index, index + 1)\" (touchstart)=\"startResizeTouch($event, index, index + 1, divider)\" (touchmove)=\"onTouchMove($event)\" (touchend)=\"onTouchEnd($event)\"></div>\n }\n }\n</div>", styles: [".root{--thumb-margin: 3px}.root.os-android{--thumb-margin: 20px}.split-panel{flex-grow:1}.divider{flex-shrink:0;transition:background-color .15s ease-in-out;z-index:3}.divider:before{background-position:center center;background-repeat:no-repeat}.divider:not(.os-android):hover:before{background-color:#1389fd;border-radius:4px}.divider.os-android.hover:before{background-color:#1389fd;border-radius:4px}.divider:before{content:\"\";display:block;background-color:#eee}.split-hor>.divider{width:calc(8px + 2 * var(--thumb-margin));height:100%;cursor:col-resize;border-left:var(--thumb-margin) solid transparent;border-right:var(--thumb-margin) solid transparent}.split-hor>.divider:before{height:100%;width:8px;margin:0 auto;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}.split-hor>.split-panel:not(:first-child){margin-left:calc(-1 * var(--thumb-margin))}.split-hor>.split-panel:not(:last-child){margin-right:calc(-1 * var(--thumb-margin))}.split-ver>.divider{width:100%;height:calc(8px + 2 * var(--thumb-margin));cursor:row-resize;border-top:var(--thumb-margin) solid transparent;border-bottom:var(--thumb-margin) solid transparent}.split-ver>.divider:before{height:8px;margin:auto 0;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFCAMAAABl/6zIAAAABlBMVEUAAADMzMzIT8AyAAAAAXRSTlMAQObYZgAAABRJREFUeAFjYGRkwIMJSeMHlBkOABP7AEGzSuPKAAAAAElFTkSuQmCC)}.split-ver>.split-panel:not(:first-child){margin-top:calc(-1 * var(--thumb-margin))}.split-ver>.split-panel:not(:last-child){margin-bottom:calc(-1 * var(--thumb-margin))}.flex-none{flex:none}\n"], dependencies: [{ kind: "directive", type: i1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: i2.BsLetDirective, selector: "[bsLet]", inputs: ["bsLet"] }, { kind: "directive", type: i3.BsUserAgentDirective, selector: "[bsUserAgent]", outputs: ["detected"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: BsElementAtPipe, name: "bsElementAt" }] }); }
|
|
220
220
|
}
|
|
221
221
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: BsSplitterComponent, decorators: [{
|
|
222
222
|
type: Component,
|
|
223
|
-
args: [{ selector: 'bs-splitter', template: "<div class=\"d-flex w-100 root\" [class]=\"[directionClass$ | async, splitterClass$ | async]\" bsUserAgent>\n <ng-content></ng-content>\n
|
|
223
|
+
args: [{ selector: 'bs-splitter', template: "<div class=\"d-flex w-100 root\" [class]=\"[directionClass$ | async, splitterClass$ | async]\" bsUserAgent>\n <ng-content></ng-content>\n @for (panel of (panels$ | async); let index = $index; let last = $last; track panel) {\n <ng-container *bsLet=\"(widthStyles$ | async) as widthStyles\">\n <ng-container *bsLet=\"(heightStyles$ | async) as heightStyles\">\n <!-- [style.width.%]=\"100\" [style.height.%]=\"100\" -->\n <div class=\"split-panel overflow-hidden\" [class.flex-none]=\"isResizing$ | async\" #splitPanel [style.width]=\"widthStyles | bsElementAt:index\" [style.height]=\"heightStyles | bsElementAt:index\">\n <ng-template [cdkPortalOutlet]=\"panel.portal\"></ng-template>\n </div>\n </ng-container>\n </ng-container>\n @if (!last) {\n <div class=\"divider\" bsUserAgent [class.hover]=\"(touchedDivider$ | async) === divider\" #divider (mousedown)=\"startResizeMouse($event, index, index + 1)\" (touchstart)=\"startResizeTouch($event, index, index + 1, divider)\" (touchmove)=\"onTouchMove($event)\" (touchend)=\"onTouchEnd($event)\"></div>\n }\n }\n</div>", styles: [".root{--thumb-margin: 3px}.root.os-android{--thumb-margin: 20px}.split-panel{flex-grow:1}.divider{flex-shrink:0;transition:background-color .15s ease-in-out;z-index:3}.divider:before{background-position:center center;background-repeat:no-repeat}.divider:not(.os-android):hover:before{background-color:#1389fd;border-radius:4px}.divider.os-android.hover:before{background-color:#1389fd;border-radius:4px}.divider:before{content:\"\";display:block;background-color:#eee}.split-hor>.divider{width:calc(8px + 2 * var(--thumb-margin));height:100%;cursor:col-resize;border-left:var(--thumb-margin) solid transparent;border-right:var(--thumb-margin) solid transparent}.split-hor>.divider:before{height:100%;width:8px;margin:0 auto;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}.split-hor>.split-panel:not(:first-child){margin-left:calc(-1 * var(--thumb-margin))}.split-hor>.split-panel:not(:last-child){margin-right:calc(-1 * var(--thumb-margin))}.split-ver>.divider{width:100%;height:calc(8px + 2 * var(--thumb-margin));cursor:row-resize;border-top:var(--thumb-margin) solid transparent;border-bottom:var(--thumb-margin) solid transparent}.split-ver>.divider:before{height:8px;margin:auto 0;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFCAMAAABl/6zIAAAABlBMVEUAAADMzMzIT8AyAAAAAXRSTlMAQObYZgAAABRJREFUeAFjYGRkwIMJSeMHlBkOABP7AEGzSuPKAAAAAElFTkSuQmCC)}.split-ver>.split-panel:not(:first-child){margin-top:calc(-1 * var(--thumb-margin))}.split-ver>.split-panel:not(:last-child){margin-bottom:calc(-1 * var(--thumb-margin))}.flex-none{flex:none}\n"] }]
|
|
224
224
|
}], ctorParameters: () => [], propDecorators: { orientation: [{
|
|
225
225
|
type: Input
|
|
226
226
|
}], panels: [{
|
|
@@ -248,14 +248,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImpor
|
|
|
248
248
|
|
|
249
249
|
class BsSplitterModule {
|
|
250
250
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: BsSplitterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
251
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: BsSplitterModule, declarations: [BsSplitterComponent, BsSplitPanelComponent, BsElementAtPipe], imports: [
|
|
252
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: BsSplitterModule, imports: [
|
|
251
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: BsSplitterModule, declarations: [BsSplitterComponent, BsSplitPanelComponent, BsElementAtPipe], imports: [AsyncPipe, PortalModule, BsLetDirective, BsUserAgentDirective], exports: [BsSplitterComponent, BsSplitPanelComponent, BsElementAtPipe] }); }
|
|
252
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: BsSplitterModule, imports: [PortalModule] }); }
|
|
253
253
|
}
|
|
254
254
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: BsSplitterModule, decorators: [{
|
|
255
255
|
type: NgModule,
|
|
256
256
|
args: [{
|
|
257
257
|
declarations: [BsSplitterComponent, BsSplitPanelComponent, BsElementAtPipe],
|
|
258
|
-
imports: [
|
|
258
|
+
imports: [AsyncPipe, PortalModule, BsLetDirective, BsUserAgentDirective],
|
|
259
259
|
exports: [BsSplitterComponent, BsSplitPanelComponent, BsElementAtPipe],
|
|
260
260
|
}]
|
|
261
261
|
}] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-splitter.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/splitter/src/interfaces/drag-operation.ts","../../../../libs/mintplayer-ng-bootstrap/splitter/src/split-panel/split-panel.component.ts","../../../../libs/mintplayer-ng-bootstrap/splitter/src/split-panel/split-panel.component.html","../../../../libs/mintplayer-ng-bootstrap/splitter/src/element-at/element-at.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/splitter/src/splitter/splitter.component.ts","../../../../libs/mintplayer-ng-bootstrap/splitter/src/splitter/splitter.component.html","../../../../libs/mintplayer-ng-bootstrap/splitter/src/splitter.module.ts","../../../../libs/mintplayer-ng-bootstrap/splitter/mintplayer-ng-bootstrap-splitter.ts"],"sourcesContent":["import { Point } from \"./point\";\n\nexport interface DragOperation {\n operation: EDragOperation;\n startPosition: Point;\n sizes: number[];\n indexBefore: number;\n indexAfter: number;\n}\n\nexport enum EDragOperation {\n none,\n resizeSplitter,\n}","import { DomPortal } from '@angular/cdk/portal';\nimport { Component, ElementRef, ViewChild, AfterViewInit } from '@angular/core';\n\n@Component({\n selector: 'bs-split-panel',\n templateUrl: './split-panel.component.html',\n styleUrls: ['./split-panel.component.scss'],\n})\nexport class BsSplitPanelComponent implements AfterViewInit {\n constructor(private element: ElementRef) {}\n\n portal?: DomPortal;\n\n ngAfterViewInit() {\n setTimeout(() => this.portal = new DomPortal(this.element.nativeElement), 10);\n }\n}\n","<div class=\"w-100 h-100\">\n <ng-content></ng-content>\n</div>","import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'bsElementAt'\n})\nexport class BsElementAtPipe implements PipeTransform {\n\n transform(value: any[] | null | undefined, index: number) {\n if (value) {\n return value[index];\n } else {\n return null;\n }\n }\n\n}\n","import { Component, Input, ContentChildren, QueryList, ElementRef, HostListener, HostBinding, ViewChildren } from '@angular/core';\nimport { BehaviorSubject, map, combineLatest, Observable, take } from 'rxjs';\nimport { DragOperation, EDragOperation } from '../interfaces/drag-operation';\nimport { Point } from '../interfaces/point';\nimport { BsSplitPanelComponent } from '../split-panel/split-panel.component';\nimport { Direction } from '../types/direction.type';\n\n@Component({\n selector: 'bs-splitter',\n templateUrl: './splitter.component.html',\n styleUrls: ['./splitter.component.scss'],\n})\nexport class BsSplitterComponent {\n\n constructor() {\n this.directionClass$ = this.orientation$.pipe(map((orientation) => {\n switch (orientation) {\n case 'horizontal': return 'flex-row';\n case 'vertical': return 'flex-column';\n }\n }));\n this.splitterClass$ = this.orientation$.pipe(map((orientation) => {\n switch (orientation) {\n case 'horizontal': return 'split-hor';\n case 'vertical': return 'split-ver';\n }\n }));\n this.widthStyles$ = combineLatest([this.orientation$, this.previewSizes$, this.panels$])\n .pipe(map(([orientation, previewSizes, panels]) => {\n switch (orientation) {\n case 'horizontal':\n if (previewSizes) {\n return [...Array(panels.length).keys()].map((v, i) => {\n if (i < previewSizes.length) {\n return previewSizes[i] + 'px';\n } else {\n return '100%';\n }\n });\n } else {\n return Array(panels.length).map((v, i) => '100%');\n }\n case 'vertical':\n return null;\n }\n }));\n this.heightStyles$ = combineLatest([this.orientation$, this.previewSizes$, this.panels$])\n .pipe(map(([orientation, previewSizes, panels]) => {\n switch (orientation) {\n case 'horizontal':\n return null;\n case 'vertical':\n if (previewSizes) {\n return [...Array(panels.length).keys()].map((v, i) => {\n if (i < previewSizes.length) {\n return previewSizes[i] + 'px';\n } else {\n return '100%';\n }\n });\n } else {\n return Array(panels.length).map((v, i) => '100%');\n }\n }\n }));\n }\n\n //#region Orientation\n orientation$ = new BehaviorSubject<Direction>('horizontal');\n public get orientation() {\n return this.orientation$.value;\n }\n @Input() public set orientation(value: Direction) {\n this.orientation$.next(value);\n }\n //#endregion\n\n previewSizes$ = new BehaviorSubject<number[] | null>(null);\n\n panels$ = new BehaviorSubject<BsSplitPanelComponent[]>([]);\n @ContentChildren(BsSplitPanelComponent) set panels(value: QueryList<BsSplitPanelComponent>) {\n this.panels$.next(value.toArray());\n }\n @ViewChildren('splitPanel') splitPanels!: QueryList<ElementRef<HTMLDivElement>>;\n \n @HostBinding('class.w-100')\n @HostBinding('class.h-100')\n @HostBinding('class.d-flex')\n classes = true;\n\n directionClass$: Observable<string>;\n splitterClass$: Observable<string>;\n widthStyles$: Observable<string[] | null>;\n heightStyles$: Observable<string[] | null>;\n isResizing$ = new BehaviorSubject<boolean>(false);\n touchedDivider$ = new BehaviorSubject<HTMLDivElement | null>(null);\n operation: DragOperation | null = null;\n\n computeSizes() {\n if (typeof window !== 'undefined') {\n const sizes = this.splitPanels\n .map((sp) => {\n const styles = window.getComputedStyle(sp.nativeElement);\n switch (this.orientation) {\n case 'horizontal': return styles.width;\n case 'vertical': return styles.height;\n }\n })\n .map((size) => size.slice(0, -2))\n .map((size) => parseFloat(size));\n return sizes;\n } else {\n return this.splitPanels.map(p => 50);\n }\n }\n \n startResizeMouse(ev: MouseEvent, indexBefore: number, indexAfter: number) {\n ev.preventDefault();\n this.startResize(indexBefore, indexAfter, { x: ev.clientX, y: ev.clientY });\n }\n\n startResizeTouch(ev: TouchEvent, indexBefore: number, indexAfter: number, divider: HTMLDivElement) {\n if (ev.cancelable) {\n ev.preventDefault();\n this.touchedDivider$.next(divider);\n this.startResize(indexBefore, indexAfter, { x: ev.touches[0].clientX, y: ev.touches[0].clientY });\n }\n }\n\n private startResize(indexBefore: number, indexAfter: number, pt: Point) {\n const sizes = this.computeSizes();\n this.previewSizes$.next(sizes);\n this.operation = {\n operation: EDragOperation.resizeSplitter,\n startPosition: pt,\n sizes,\n indexBefore,\n indexAfter,\n };\n\n this.isResizing$.next(true);\n }\n\n @HostListener('document:mousemove', ['$event'])\n onMouseMove(ev: MouseEvent) {\n this.onResizeMove({ x: ev.clientX, y: ev.clientY });\n }\n\n onTouchMove(ev: TouchEvent) {\n this.onResizeMove({ x: ev.touches[0].clientX, y: ev.touches[0].clientY });\n }\n\n onResizeMove(pt: Point) {\n if (this.operation) {\n switch (this.operation.operation) {\n case EDragOperation.resizeSplitter: {\n combineLatest([this.orientation$])\n .pipe(take(1))\n .subscribe(([orientation]) => {\n if (this.operation) {\n switch (orientation) {\n case 'horizontal':\n const deltaX = pt.x - this.operation.startPosition.x;\n const sx = Array.from(this.operation.sizes);\n sx[this.operation.indexBefore] = this.operation.sizes[this.operation.indexBefore] + deltaX;\n sx[this.operation.indexAfter] = this.operation.sizes[this.operation.indexAfter] - deltaX;\n this.previewSizes$.next(sx);\n break;\n case 'vertical':\n const deltaY = pt.y - this.operation.startPosition.y;\n const sy = Array.from(this.operation.sizes);\n sy[this.operation.indexBefore] = this.operation.sizes[this.operation.indexBefore] + deltaY;\n sy[this.operation.indexAfter] = this.operation.sizes[this.operation.indexAfter] - deltaY;\n this.previewSizes$.next(sy);\n break;\n }\n }\n })\n } break;\n }\n }\n }\n\n @HostListener('document:mouseup', ['$event'])\n onMouseUp(ev: MouseEvent) {\n this.onResizeUp();\n }\n\n onTouchEnd(ev: TouchEvent) {\n this.touchedDivider$.next(null);\n this.onResizeUp();\n }\n\n onResizeUp() {\n this.isResizing$.next(false);\n this.operation = null;\n }\n}\n","<div class=\"d-flex w-100 root\" [class]=\"[directionClass$ | async, splitterClass$ | async]\" bsUserAgent>\n <ng-content></ng-content>\n <ng-container *ngFor=\"let panel of (panels$ | async); let index = index; let last = last\">\n <ng-container *bsLet=\"(widthStyles$ | async) as widthStyles\">\n <ng-container *bsLet=\"(heightStyles$ | async) as heightStyles\">\n <!-- [style.width.%]=\"100\" [style.height.%]=\"100\" -->\n <div class=\"split-panel overflow-hidden\" [class.flex-none]=\"isResizing$ | async\" #splitPanel [style.width]=\"widthStyles | bsElementAt:index\" [style.height]=\"heightStyles | bsElementAt:index\">\n <ng-template [cdkPortalOutlet]=\"panel.portal\"></ng-template>\n </div>\n </ng-container>\n </ng-container>\n <div class=\"divider\" bsUserAgent [class.hover]=\"(touchedDivider$ | async) === divider\" #divider (mousedown)=\"startResizeMouse($event, index, index + 1)\" (touchstart)=\"startResizeTouch($event, index, index + 1, divider)\" (touchmove)=\"onTouchMove($event)\" (touchend)=\"onTouchEnd($event)\" *ngIf=\"!last\"></div>\n </ng-container>\n</div>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { BsLetModule } from '@mintplayer/ng-bootstrap/let';\nimport { BsUserAgentModule } from '@mintplayer/ng-bootstrap/user-agent';\nimport { BsSplitterComponent } from './splitter/splitter.component';\nimport { BsSplitPanelComponent } from './split-panel/split-panel.component';\nimport { BsElementAtPipe } from './element-at/element-at.pipe';\n\n@NgModule({\n declarations: [BsSplitterComponent, BsSplitPanelComponent, BsElementAtPipe],\n imports: [CommonModule, PortalModule, BsLetModule, BsUserAgentModule],\n exports: [BsSplitterComponent, BsSplitPanelComponent, BsElementAtPipe],\n})\nexport class BsSplitterModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i5.BsElementAtPipe"],"mappings":";;;;;;;;;;;;AAUA,IAAY,cAGX,CAAA;AAHD,CAAA,UAAY,cAAc,EAAA;AACtB,IAAA,cAAA,CAAA,cAAA,CAAA,MAAA,CAAA,GAAA,CAAA,CAAA,GAAA,MAAI,CAAA;AACJ,IAAA,cAAA,CAAA,cAAA,CAAA,gBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,gBAAc,CAAA;AAClB,CAAC,EAHW,cAAc,KAAd,cAAc,GAGzB,EAAA,CAAA,CAAA;;MCLY,qBAAqB,CAAA;AAChC,IAAA,WAAA,CAAoB,OAAmB,EAAA;QAAnB,IAAO,CAAA,OAAA,GAAP,OAAO,CAAY;KAAI;IAI3C,eAAe,GAAA;QACb,UAAU,CAAC,MAAM,IAAI,CAAC,MAAM,GAAG,IAAI,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE,EAAE,CAAC,CAAC;KAC/E;8GAPU,qBAAqB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,sDCRlC,oEAEM,EAAA,MAAA,EAAA,CAAA,oCAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FDMO,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBALjC,SAAS;+BACE,gBAAgB,EAAA,QAAA,EAAA,oEAAA,EAAA,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AAE,YAAY,EAAE,WAAW,EAAE,iBAAiB,CAAC;AACrE,oBAAA,OAAO,EAAE,CAAC,mBAAmB,EAAE,qBAAqB,EAAE,eAAe,CAAC;AACvE,iBAAA,CAAA;;;ACbD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-splitter.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/splitter/src/interfaces/drag-operation.ts","../../../../libs/mintplayer-ng-bootstrap/splitter/src/split-panel/split-panel.component.ts","../../../../libs/mintplayer-ng-bootstrap/splitter/src/split-panel/split-panel.component.html","../../../../libs/mintplayer-ng-bootstrap/splitter/src/element-at/element-at.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/splitter/src/splitter/splitter.component.ts","../../../../libs/mintplayer-ng-bootstrap/splitter/src/splitter/splitter.component.html","../../../../libs/mintplayer-ng-bootstrap/splitter/src/splitter.module.ts","../../../../libs/mintplayer-ng-bootstrap/splitter/mintplayer-ng-bootstrap-splitter.ts"],"sourcesContent":["import { Point } from \"./point\";\n\nexport interface DragOperation {\n operation: EDragOperation;\n startPosition: Point;\n sizes: number[];\n indexBefore: number;\n indexAfter: number;\n}\n\nexport enum EDragOperation {\n none,\n resizeSplitter,\n}","import { DomPortal } from '@angular/cdk/portal';\nimport { Component, ElementRef, ViewChild, AfterViewInit } from '@angular/core';\n\n@Component({\n selector: 'bs-split-panel',\n templateUrl: './split-panel.component.html',\n styleUrls: ['./split-panel.component.scss'],\n})\nexport class BsSplitPanelComponent implements AfterViewInit {\n constructor(private element: ElementRef) {}\n\n portal?: DomPortal;\n\n ngAfterViewInit() {\n setTimeout(() => this.portal = new DomPortal(this.element.nativeElement), 10);\n }\n}\n","<div class=\"w-100 h-100\">\n <ng-content></ng-content>\n</div>","import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'bsElementAt'\n})\nexport class BsElementAtPipe implements PipeTransform {\n\n transform(value: any[] | null | undefined, index: number) {\n if (value) {\n return value[index];\n } else {\n return null;\n }\n }\n\n}\n","import { Component, Input, ContentChildren, QueryList, ElementRef, HostListener, HostBinding, ViewChildren } from '@angular/core';\nimport { BehaviorSubject, map, combineLatest, Observable, take } from 'rxjs';\nimport { DragOperation, EDragOperation } from '../interfaces/drag-operation';\nimport { Point } from '../interfaces/point';\nimport { BsSplitPanelComponent } from '../split-panel/split-panel.component';\nimport { Direction } from '../types/direction.type';\n\n@Component({\n selector: 'bs-splitter',\n templateUrl: './splitter.component.html',\n styleUrls: ['./splitter.component.scss'],\n})\nexport class BsSplitterComponent {\n\n constructor() {\n this.directionClass$ = this.orientation$.pipe(map((orientation) => {\n switch (orientation) {\n case 'horizontal': return 'flex-row';\n case 'vertical': return 'flex-column';\n }\n }));\n this.splitterClass$ = this.orientation$.pipe(map((orientation) => {\n switch (orientation) {\n case 'horizontal': return 'split-hor';\n case 'vertical': return 'split-ver';\n }\n }));\n this.widthStyles$ = combineLatest([this.orientation$, this.previewSizes$, this.panels$])\n .pipe(map(([orientation, previewSizes, panels]) => {\n switch (orientation) {\n case 'horizontal':\n if (previewSizes) {\n return [...Array(panels.length).keys()].map((v, i) => {\n if (i < previewSizes.length) {\n return previewSizes[i] + 'px';\n } else {\n return '100%';\n }\n });\n } else {\n return Array(panels.length).map((v, i) => '100%');\n }\n case 'vertical':\n return null;\n }\n }));\n this.heightStyles$ = combineLatest([this.orientation$, this.previewSizes$, this.panels$])\n .pipe(map(([orientation, previewSizes, panels]) => {\n switch (orientation) {\n case 'horizontal':\n return null;\n case 'vertical':\n if (previewSizes) {\n return [...Array(panels.length).keys()].map((v, i) => {\n if (i < previewSizes.length) {\n return previewSizes[i] + 'px';\n } else {\n return '100%';\n }\n });\n } else {\n return Array(panels.length).map((v, i) => '100%');\n }\n }\n }));\n }\n\n //#region Orientation\n orientation$ = new BehaviorSubject<Direction>('horizontal');\n public get orientation() {\n return this.orientation$.value;\n }\n @Input() public set orientation(value: Direction) {\n this.orientation$.next(value);\n }\n //#endregion\n\n previewSizes$ = new BehaviorSubject<number[] | null>(null);\n\n panels$ = new BehaviorSubject<BsSplitPanelComponent[]>([]);\n @ContentChildren(BsSplitPanelComponent) set panels(value: QueryList<BsSplitPanelComponent>) {\n this.panels$.next(value.toArray());\n }\n @ViewChildren('splitPanel') splitPanels!: QueryList<ElementRef<HTMLDivElement>>;\n \n @HostBinding('class.w-100')\n @HostBinding('class.h-100')\n @HostBinding('class.d-flex')\n classes = true;\n\n directionClass$: Observable<string>;\n splitterClass$: Observable<string>;\n widthStyles$: Observable<string[] | null>;\n heightStyles$: Observable<string[] | null>;\n isResizing$ = new BehaviorSubject<boolean>(false);\n touchedDivider$ = new BehaviorSubject<HTMLDivElement | null>(null);\n operation: DragOperation | null = null;\n\n computeSizes() {\n if (typeof window !== 'undefined') {\n const sizes = this.splitPanels\n .map((sp) => {\n const styles = window.getComputedStyle(sp.nativeElement);\n switch (this.orientation) {\n case 'horizontal': return styles.width;\n case 'vertical': return styles.height;\n }\n })\n .map((size) => size.slice(0, -2))\n .map((size) => parseFloat(size));\n return sizes;\n } else {\n return this.splitPanels.map(p => 50);\n }\n }\n \n startResizeMouse(ev: MouseEvent, indexBefore: number, indexAfter: number) {\n ev.preventDefault();\n this.startResize(indexBefore, indexAfter, { x: ev.clientX, y: ev.clientY });\n }\n\n startResizeTouch(ev: TouchEvent, indexBefore: number, indexAfter: number, divider: HTMLDivElement) {\n if (ev.cancelable) {\n ev.preventDefault();\n this.touchedDivider$.next(divider);\n this.startResize(indexBefore, indexAfter, { x: ev.touches[0].clientX, y: ev.touches[0].clientY });\n }\n }\n\n private startResize(indexBefore: number, indexAfter: number, pt: Point) {\n const sizes = this.computeSizes();\n this.previewSizes$.next(sizes);\n this.operation = {\n operation: EDragOperation.resizeSplitter,\n startPosition: pt,\n sizes,\n indexBefore,\n indexAfter,\n };\n\n this.isResizing$.next(true);\n }\n\n @HostListener('document:mousemove', ['$event'])\n onMouseMove(ev: MouseEvent) {\n this.onResizeMove({ x: ev.clientX, y: ev.clientY });\n }\n\n onTouchMove(ev: TouchEvent) {\n this.onResizeMove({ x: ev.touches[0].clientX, y: ev.touches[0].clientY });\n }\n\n onResizeMove(pt: Point) {\n if (this.operation) {\n switch (this.operation.operation) {\n case EDragOperation.resizeSplitter: {\n combineLatest([this.orientation$])\n .pipe(take(1))\n .subscribe(([orientation]) => {\n if (this.operation) {\n switch (orientation) {\n case 'horizontal':\n const deltaX = pt.x - this.operation.startPosition.x;\n const sx = Array.from(this.operation.sizes);\n sx[this.operation.indexBefore] = this.operation.sizes[this.operation.indexBefore] + deltaX;\n sx[this.operation.indexAfter] = this.operation.sizes[this.operation.indexAfter] - deltaX;\n this.previewSizes$.next(sx);\n break;\n case 'vertical':\n const deltaY = pt.y - this.operation.startPosition.y;\n const sy = Array.from(this.operation.sizes);\n sy[this.operation.indexBefore] = this.operation.sizes[this.operation.indexBefore] + deltaY;\n sy[this.operation.indexAfter] = this.operation.sizes[this.operation.indexAfter] - deltaY;\n this.previewSizes$.next(sy);\n break;\n }\n }\n })\n } break;\n }\n }\n }\n\n @HostListener('document:mouseup', ['$event'])\n onMouseUp(ev: MouseEvent) {\n this.onResizeUp();\n }\n\n onTouchEnd(ev: TouchEvent) {\n this.touchedDivider$.next(null);\n this.onResizeUp();\n }\n\n onResizeUp() {\n this.isResizing$.next(false);\n this.operation = null;\n }\n}\n","<div class=\"d-flex w-100 root\" [class]=\"[directionClass$ | async, splitterClass$ | async]\" bsUserAgent>\n <ng-content></ng-content>\n @for (panel of (panels$ | async); let index = $index; let last = $last; track panel) {\n <ng-container *bsLet=\"(widthStyles$ | async) as widthStyles\">\n <ng-container *bsLet=\"(heightStyles$ | async) as heightStyles\">\n <!-- [style.width.%]=\"100\" [style.height.%]=\"100\" -->\n <div class=\"split-panel overflow-hidden\" [class.flex-none]=\"isResizing$ | async\" #splitPanel [style.width]=\"widthStyles | bsElementAt:index\" [style.height]=\"heightStyles | bsElementAt:index\">\n <ng-template [cdkPortalOutlet]=\"panel.portal\"></ng-template>\n </div>\n </ng-container>\n </ng-container>\n @if (!last) {\n <div class=\"divider\" bsUserAgent [class.hover]=\"(touchedDivider$ | async) === divider\" #divider (mousedown)=\"startResizeMouse($event, index, index + 1)\" (touchstart)=\"startResizeTouch($event, index, index + 1, divider)\" (touchmove)=\"onTouchMove($event)\" (touchend)=\"onTouchEnd($event)\"></div>\n }\n }\n</div>","import { NgModule } from '@angular/core';\nimport { AsyncPipe } from '@angular/common';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { BsLetDirective } from '@mintplayer/ng-bootstrap/let';\nimport { BsUserAgentDirective } from '@mintplayer/ng-bootstrap/user-agent';\nimport { BsSplitterComponent } from './splitter/splitter.component';\nimport { BsSplitPanelComponent } from './split-panel/split-panel.component';\nimport { BsElementAtPipe } from './element-at/element-at.pipe';\n\n@NgModule({\n declarations: [BsSplitterComponent, BsSplitPanelComponent, BsElementAtPipe],\n imports: [AsyncPipe, PortalModule, BsLetDirective, BsUserAgentDirective],\n exports: [BsSplitterComponent, BsSplitPanelComponent, BsElementAtPipe],\n})\nexport class BsSplitterModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i5.BsElementAtPipe"],"mappings":";;;;;;;;;;;;AAUA,IAAY,cAGX,CAAA;AAHD,CAAA,UAAY,cAAc,EAAA;AACtB,IAAA,cAAA,CAAA,cAAA,CAAA,MAAA,CAAA,GAAA,CAAA,CAAA,GAAA,MAAI,CAAA;AACJ,IAAA,cAAA,CAAA,cAAA,CAAA,gBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,gBAAc,CAAA;AAClB,CAAC,EAHW,cAAc,KAAd,cAAc,GAGzB,EAAA,CAAA,CAAA;;MCLY,qBAAqB,CAAA;AAChC,IAAA,WAAA,CAAoB,OAAmB,EAAA;QAAnB,IAAO,CAAA,OAAA,GAAP,OAAO,CAAY;KAAI;IAI3C,eAAe,GAAA;QACb,UAAU,CAAC,MAAM,IAAI,CAAC,MAAM,GAAG,IAAI,SAAS,CAA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