@mintplayer/ng-bootstrap 20.6.3 → 21.0.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/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +14 -14
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +10 -10
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs +10 -10
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-button-type.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-button-type.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs +9 -9
- package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs +11 -11
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +16 -15
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs +28 -28
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-container.mjs +4 -4
- 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 +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-copy.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +13 -13
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs +11 -11
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +11 -11
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +16 -15
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-enhanced-paste.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-enhanced-paste.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-enum.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-enum.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs +13 -13
- package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +4 -4
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-font-color.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-font-color.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-for.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-for.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-form.mjs +14 -14
- package/fesm2022/mintplayer-ng-bootstrap-form.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +20 -20
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs +4 -4
- package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-has-property.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-has-property.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-in-list.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-in-list.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-instance-of.mjs +16 -16
- package/fesm2022/mintplayer-ng-bootstrap-instance-of.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-let.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-let.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-linify.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-linify.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs +11 -11
- package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-markdown.mjs +12 -12
- package/fesm2022/mintplayer-ng-bootstrap-markdown.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs +28 -27
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-multiselect.mjs +16 -16
- package/fesm2022/mintplayer-ng-bootstrap-multiselect.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +32 -32
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navigation-lock.mjs +10 -10
- package/fesm2022/mintplayer-ng-bootstrap-navigation-lock.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +27 -27
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-ordinal-number.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-ordinal-number.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +4 -4
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs +4 -5
- package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs +10 -10
- package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +17 -17
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +12 -12
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs +11 -11
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs +12 -12
- package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +26 -26
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +15 -15
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-searchbox.mjs +16 -16
- package/fesm2022/mintplayer-ng-bootstrap-searchbox.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs +16 -16
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-select2.mjs +13 -13
- package/fesm2022/mintplayer-ng-bootstrap-select2.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-shell.mjs +11 -11
- package/fesm2022/mintplayer-ng-bootstrap-shell.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-slugify.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-slugify.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs +4 -4
- package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-split-string.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-split-string.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs +13 -13
- package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs +10 -10
- package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +15 -15
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs +4 -4
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +26 -26
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-toggle-button.mjs +14 -14
- package/fesm2022/mintplayer-ng-bootstrap-toggle-button.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +10 -10
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +10 -10
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-trust-html.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-trust-html.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-uc-first.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-uc-first.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-user-agent.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-user-agent.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-word-count.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-word-count.mjs.map +1 -1
- package/package.json +96 -96
- package/{carousel/index.d.ts → types/mintplayer-ng-bootstrap-carousel.d.ts} +1 -1
- package/{context-menu/index.d.ts → types/mintplayer-ng-bootstrap-context-menu.d.ts} +1 -1
- package/{dropdown/index.d.ts → types/mintplayer-ng-bootstrap-dropdown.d.ts} +3 -3
- package/{modal/index.d.ts → types/mintplayer-ng-bootstrap-modal.d.ts} +1 -1
- package/{progress-bar/index.d.ts → types/mintplayer-ng-bootstrap-progress-bar.d.ts} +1 -1
- package/{select/index.d.ts → types/mintplayer-ng-bootstrap-select.d.ts} +1 -1
- package/{tooltip/index.d.ts → types/mintplayer-ng-bootstrap-tooltip.d.ts} +1 -1
- /package/{accordion/index.d.ts → types/mintplayer-ng-bootstrap-accordion.d.ts} +0 -0
- /package/{alert/index.d.ts → types/mintplayer-ng-bootstrap-alert.d.ts} +0 -0
- /package/{async-host-binding/index.d.ts → types/mintplayer-ng-bootstrap-async-host-binding.d.ts} +0 -0
- /package/{badge/index.d.ts → types/mintplayer-ng-bootstrap-badge.d.ts} +0 -0
- /package/{breadcrumb/index.d.ts → types/mintplayer-ng-bootstrap-breadcrumb.d.ts} +0 -0
- /package/{button-group/index.d.ts → types/mintplayer-ng-bootstrap-button-group.d.ts} +0 -0
- /package/{button-type/index.d.ts → types/mintplayer-ng-bootstrap-button-type.d.ts} +0 -0
- /package/{calendar-month/index.d.ts → types/mintplayer-ng-bootstrap-calendar-month.d.ts} +0 -0
- /package/{calendar/index.d.ts → types/mintplayer-ng-bootstrap-calendar.d.ts} +0 -0
- /package/{card/index.d.ts → types/mintplayer-ng-bootstrap-card.d.ts} +0 -0
- /package/{close/index.d.ts → types/mintplayer-ng-bootstrap-close.d.ts} +0 -0
- /package/{code-snippet/index.d.ts → types/mintplayer-ng-bootstrap-code-snippet.d.ts} +0 -0
- /package/{color-picker/index.d.ts → types/mintplayer-ng-bootstrap-color-picker.d.ts} +0 -0
- /package/{container/index.d.ts → types/mintplayer-ng-bootstrap-container.d.ts} +0 -0
- /package/{copy/index.d.ts → types/mintplayer-ng-bootstrap-copy.d.ts} +0 -0
- /package/{datatable/index.d.ts → types/mintplayer-ng-bootstrap-datatable.d.ts} +0 -0
- /package/{datepicker/index.d.ts → types/mintplayer-ng-bootstrap-datepicker.d.ts} +0 -0
- /package/{dock/index.d.ts → types/mintplayer-ng-bootstrap-dock.d.ts} +0 -0
- /package/{dropdown-divider/index.d.ts → types/mintplayer-ng-bootstrap-dropdown-divider.d.ts} +0 -0
- /package/{dropdown-menu/index.d.ts → types/mintplayer-ng-bootstrap-dropdown-menu.d.ts} +0 -0
- /package/{enhanced-paste/index.d.ts → types/mintplayer-ng-bootstrap-enhanced-paste.d.ts} +0 -0
- /package/{enum/index.d.ts → types/mintplayer-ng-bootstrap-enum.d.ts} +0 -0
- /package/{file-upload/index.d.ts → types/mintplayer-ng-bootstrap-file-upload.d.ts} +0 -0
- /package/{floating-labels/index.d.ts → types/mintplayer-ng-bootstrap-floating-labels.d.ts} +0 -0
- /package/{font-color/index.d.ts → types/mintplayer-ng-bootstrap-font-color.d.ts} +0 -0
- /package/{for/index.d.ts → types/mintplayer-ng-bootstrap-for.d.ts} +0 -0
- /package/{form/index.d.ts → types/mintplayer-ng-bootstrap-form.d.ts} +0 -0
- /package/{grid/index.d.ts → types/mintplayer-ng-bootstrap-grid.d.ts} +0 -0
- /package/{has-id/index.d.ts → types/mintplayer-ng-bootstrap-has-id.d.ts} +0 -0
- /package/{has-overlay/index.d.ts → types/mintplayer-ng-bootstrap-has-overlay.d.ts} +0 -0
- /package/{has-property/index.d.ts → types/mintplayer-ng-bootstrap-has-property.d.ts} +0 -0
- /package/{in-list/index.d.ts → types/mintplayer-ng-bootstrap-in-list.d.ts} +0 -0
- /package/{input-group/index.d.ts → types/mintplayer-ng-bootstrap-input-group.d.ts} +0 -0
- /package/{instance-of/index.d.ts → types/mintplayer-ng-bootstrap-instance-of.d.ts} +0 -0
- /package/{let/index.d.ts → types/mintplayer-ng-bootstrap-let.d.ts} +0 -0
- /package/{linify/index.d.ts → types/mintplayer-ng-bootstrap-linify.d.ts} +0 -0
- /package/{list-group/index.d.ts → types/mintplayer-ng-bootstrap-list-group.d.ts} +0 -0
- /package/{markdown/index.d.ts → types/mintplayer-ng-bootstrap-markdown.d.ts} +0 -0
- /package/{marquee/index.d.ts → types/mintplayer-ng-bootstrap-marquee.d.ts} +0 -0
- /package/{multiselect/index.d.ts → types/mintplayer-ng-bootstrap-multiselect.d.ts} +0 -0
- /package/{navbar-toggler/index.d.ts → types/mintplayer-ng-bootstrap-navbar-toggler.d.ts} +0 -0
- /package/{navbar/index.d.ts → types/mintplayer-ng-bootstrap-navbar.d.ts} +0 -0
- /package/{navigation-lock/index.d.ts → types/mintplayer-ng-bootstrap-navigation-lock.d.ts} +0 -0
- /package/{no-noscript/index.d.ts → types/mintplayer-ng-bootstrap-no-noscript.d.ts} +0 -0
- /package/{offcanvas/index.d.ts → types/mintplayer-ng-bootstrap-offcanvas.d.ts} +0 -0
- /package/{ordinal-number/index.d.ts → types/mintplayer-ng-bootstrap-ordinal-number.d.ts} +0 -0
- /package/{pagination/index.d.ts → types/mintplayer-ng-bootstrap-pagination.d.ts} +0 -0
- /package/{parallax/index.d.ts → types/mintplayer-ng-bootstrap-parallax.d.ts} +0 -0
- /package/{placeholder/index.d.ts → types/mintplayer-ng-bootstrap-placeholder.d.ts} +0 -0
- /package/{playlist-toggler/index.d.ts → types/mintplayer-ng-bootstrap-playlist-toggler.d.ts} +0 -0
- /package/{popover/index.d.ts → types/mintplayer-ng-bootstrap-popover.d.ts} +0 -0
- /package/{range/index.d.ts → types/mintplayer-ng-bootstrap-range.d.ts} +0 -0
- /package/{rating/index.d.ts → types/mintplayer-ng-bootstrap-rating.d.ts} +0 -0
- /package/{resizable/index.d.ts → types/mintplayer-ng-bootstrap-resizable.d.ts} +0 -0
- /package/{scheduler/index.d.ts → types/mintplayer-ng-bootstrap-scheduler.d.ts} +0 -0
- /package/{scrollspy/index.d.ts → types/mintplayer-ng-bootstrap-scrollspy.d.ts} +0 -0
- /package/{searchbox/index.d.ts → types/mintplayer-ng-bootstrap-searchbox.d.ts} +0 -0
- /package/{select2/index.d.ts → types/mintplayer-ng-bootstrap-select2.d.ts} +0 -0
- /package/{shell/index.d.ts → types/mintplayer-ng-bootstrap-shell.d.ts} +0 -0
- /package/{signature-pad/index.d.ts → types/mintplayer-ng-bootstrap-signature-pad.d.ts} +0 -0
- /package/{slugify/index.d.ts → types/mintplayer-ng-bootstrap-slugify.d.ts} +0 -0
- /package/{spinner/index.d.ts → types/mintplayer-ng-bootstrap-spinner.d.ts} +0 -0
- /package/{split-string/index.d.ts → types/mintplayer-ng-bootstrap-split-string.d.ts} +0 -0
- /package/{splitter/index.d.ts → types/mintplayer-ng-bootstrap-splitter.d.ts} +0 -0
- /package/{sticky-footer/index.d.ts → types/mintplayer-ng-bootstrap-sticky-footer.d.ts} +0 -0
- /package/{tab-control/index.d.ts → types/mintplayer-ng-bootstrap-tab-control.d.ts} +0 -0
- /package/{table/index.d.ts → types/mintplayer-ng-bootstrap-table.d.ts} +0 -0
- /package/{timepicker/index.d.ts → types/mintplayer-ng-bootstrap-timepicker.d.ts} +0 -0
- /package/{toast/index.d.ts → types/mintplayer-ng-bootstrap-toast.d.ts} +0 -0
- /package/{toggle-button/index.d.ts → types/mintplayer-ng-bootstrap-toggle-button.d.ts} +0 -0
- /package/{treeview/index.d.ts → types/mintplayer-ng-bootstrap-treeview.d.ts} +0 -0
- /package/{trust-html/index.d.ts → types/mintplayer-ng-bootstrap-trust-html.d.ts} +0 -0
- /package/{typeahead/index.d.ts → types/mintplayer-ng-bootstrap-typeahead.d.ts} +0 -0
- /package/{uc-first/index.d.ts → types/mintplayer-ng-bootstrap-uc-first.d.ts} +0 -0
- /package/{user-agent/index.d.ts → types/mintplayer-ng-bootstrap-user-agent.d.ts} +0 -0
- /package/{word-count/index.d.ts → types/mintplayer-ng-bootstrap-word-count.d.ts} +0 -0
- /package/{index.d.ts → types/mintplayer-ng-bootstrap.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-grid.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/grid/src/component/grid.component.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/component/grid.component.html","../../../../libs/mintplayer-ng-bootstrap/grid/src/directives/row/row.directive.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/directives/column/column.directive.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/directives/col-form-label/col-form-label.directive.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/grid.module.ts","../../../../libs/mintplayer-ng-bootstrap/grid/mintplayer-ng-bootstrap-grid.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\nimport { Breakpoint } from '@mintplayer/ng-bootstrap';\nimport { BehaviorSubject, map, Observable } from 'rxjs';\n\n@Component({\n selector: 'bs-grid',\n templateUrl: './grid.component.html',\n styleUrls: ['./grid.component.scss'],\n standalone: false,\n})\nexport class BsGridComponent {\n \n constructor() {\n this.containerClass$ = this.stopFullWidthAt$.pipe(map((stopFullWidthAt) => {\n switch (stopFullWidthAt) {\n case 'sm': return 'container';\n case 'never': return 'container-fluid';\n default: return `container-${stopFullWidthAt}`;\n }\n }));\n }\n\n //#region StopFullWidthAt\n stopFullWidthAt$ = new BehaviorSubject<Breakpoint | 'never'>('sm');\n public get stopFullWidthAt() {\n return this.stopFullWidthAt$.value;\n }\n @Input() public set stopFullWidthAt(value: Breakpoint | 'never') {\n this.stopFullWidthAt$.next(value);\n }\n //#endregion\n\n containerClass$: Observable<string>;\n}\n","<bs-container>\n <div [class]=\"containerClass$ | async\">\n <ng-content></ng-content>\n </div>\n</bs-container>","import { Directive, HostBinding } from '@angular/core';\n\n@Directive({\n selector: '[bsRow]',\n standalone: false,\n})\nexport class BsGridRowDirective {\n @HostBinding('class.row') rowClass = true;\n}\n","import { Directive, HostBinding, Input, DestroyRef } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { BehaviorSubject, combineLatest, map } from 'rxjs';\n\n@Directive({\n selector: '[xxs],[xs],[sm],[md],[lg],[xl],[xxl]',\n standalone: false,\n})\nexport class BsGridColumnDirective {\n constructor(destroy: DestroyRef) {\n combineLatest([this.xxs$, this.xs$, this.sm$, this.md$, this.lg$, this.xl$, this.xxl$])\n .pipe(map(([xxs, xs, sm, md, lg, xl, xxl]) => ({ xxs, xs, sm, md, lg, xl, xxl })))\n .pipe(map((sizes) => {\n return Object.keys(sizes)\n .map(key => ({\n key,\n value: (<any>sizes)[key],\n }))\n .filter(v => v.value)\n .map(v => {\n switch (v.key) {\n case '': return 'col';\n case 'xxs': return `col-${v.value}`;\n default: return `col-${v.key}-${v.value}`;\n }\n })\n .join(' ');\n }))\n .pipe(takeUntilDestroyed(destroy))\n .subscribe((classList) => {\n this.classList = classList;\n });\n }\n\n // private customColClasses$ = new BehaviorSubject<[col]Definition | '' | undefined>(undefined);\n @HostBinding('class') classList: string | null = null\n\n xxs$ = new BehaviorSubject<number | undefined>(undefined);\n xs$ = new BehaviorSubject<number | undefined>(undefined);\n sm$ = new BehaviorSubject<number | undefined>(undefined);\n md$ = new BehaviorSubject<number | undefined>(undefined);\n lg$ = new BehaviorSubject<number | undefined>(undefined);\n xl$ = new BehaviorSubject<number | undefined>(undefined);\n xxl$ = new BehaviorSubject<number | undefined>(undefined);\n\n @Input() public set xxs(value: number | undefined) {\n this.xxs$.next(value);\n }\n @Input() public set xs(value: number | undefined) {\n this.xs$.next(value);\n }\n @Input() public set sm(value: number | undefined) {\n this.sm$.next(value);\n }\n @Input() public set md(value: number | undefined) {\n this.md$.next(value);\n }\n @Input() public set lg(value: number | undefined) {\n this.lg$.next(value);\n }\n @Input() public set xl(value: number | undefined) {\n this.xl$.next(value);\n }\n @Input() public set xxl(value: number | undefined) {\n this.xxl$.next(value);\n }\n}\n\n@Directive({\n selector: '[col]',\n standalone: false,\n})\nexport class BsGridColDirective {\n @HostBinding('class.col') colClass = true;\n @Input() set col(value: undefined) {}\n}","import { Directive, HostBinding } from '@angular/core';\n\n@Directive({\n selector: '[bsColFormLabel]',\n standalone: false,\n})\nexport class BsColFormLabelDirective {\n @HostBinding('class.col-form-label') colFormLabelClass = true;\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsContainerComponent } from '@mintplayer/ng-bootstrap/container';\nimport { BsGridComponent } from './component/grid.component';\nimport { BsGridRowDirective } from './directives/row/row.directive';\nimport { BsGridColDirective, BsGridColumnDirective } from './directives/column/column.directive';\nimport { BsColFormLabelDirective } from './directives/col-form-label/col-form-label.directive';\n\n@NgModule({\n declarations: [BsGridComponent, BsGridRowDirective, BsGridColumnDirective, BsGridColDirective, BsColFormLabelDirective],\n imports: [CommonModule, BsContainerComponent],\n exports: [BsGridComponent, BsGridRowDirective, BsGridColumnDirective, BsGridColDirective, BsColFormLabelDirective],\n})\nexport class BsGridModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAUa,eAAe,CAAA;AAE1B,IAAA,WAAA,GAAA;;AAWA,QAAA,IAAA,CAAA,gBAAgB,GAAG,IAAI,eAAe,CAAuB,IAAI,CAAC;AAVhE,QAAA,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,eAAe,KAAI;YACxE,QAAQ,eAAe;AACrB,gBAAA,KAAK,IAAI,EAAE,OAAO,WAAW;AAC7B,gBAAA,KAAK,OAAO,EAAE,OAAO,iBAAiB;AACtC,gBAAA,SAAS,OAA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xB,YAAY,CAAA;+GAAZ,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;gHAAZ,YAAY,EAAA,YAAA,EAAA,CAJR,eAAe,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,uBAAuB,CAAA,EAAA,OAAA,EAAA,CAC5G,YAAY,EAAE,oBAAoB,CAAA,EAAA,OAAA,EAAA,CAClC,eAAe,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,uBAAuB,CAAA,EAAA,CAAA,CAAA;gHAEtG,YAAY,EAAA,OAAA,EAAA,CAHb,YAAY,EAAE,oBAAoB,CAAA,EAAA,CAAA,CAAA;;4FAGjC,YAAY,EAAA,UAAA,EAAA,CAAA;kBALxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,eAAe,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,uBAAuB,CAAC;AACvH,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,oBAAoB,CAAC;oBAC7C,OAAO,EAAE,CAAC,eAAe,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,uBAAuB,CAAC;AACnH,iBAAA;;;ACZD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-grid.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/grid/src/component/grid.component.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/component/grid.component.html","../../../../libs/mintplayer-ng-bootstrap/grid/src/directives/row/row.directive.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/directives/column/column.directive.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/directives/col-form-label/col-form-label.directive.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/grid.module.ts","../../../../libs/mintplayer-ng-bootstrap/grid/mintplayer-ng-bootstrap-grid.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\nimport { Breakpoint } from '@mintplayer/ng-bootstrap';\nimport { BehaviorSubject, map, Observable } from 'rxjs';\n\n@Component({\n selector: 'bs-grid',\n templateUrl: './grid.component.html',\n styleUrls: ['./grid.component.scss'],\n standalone: false,\n})\nexport class BsGridComponent {\n \n constructor() {\n this.containerClass$ = this.stopFullWidthAt$.pipe(map((stopFullWidthAt) => {\n switch (stopFullWidthAt) {\n case 'sm': return 'container';\n case 'never': return 'container-fluid';\n default: return `container-${stopFullWidthAt}`;\n }\n }));\n }\n\n //#region StopFullWidthAt\n stopFullWidthAt$ = new BehaviorSubject<Breakpoint | 'never'>('sm');\n public get stopFullWidthAt() {\n return this.stopFullWidthAt$.value;\n }\n @Input() public set stopFullWidthAt(value: Breakpoint | 'never') {\n this.stopFullWidthAt$.next(value);\n }\n //#endregion\n\n containerClass$: Observable<string>;\n}\n","<bs-container>\n <div [class]=\"containerClass$ | async\">\n <ng-content></ng-content>\n </div>\n</bs-container>","import { Directive, HostBinding } from '@angular/core';\n\n@Directive({\n selector: '[bsRow]',\n standalone: false,\n})\nexport class BsGridRowDirective {\n @HostBinding('class.row') rowClass = true;\n}\n","import { Directive, HostBinding, Input, DestroyRef } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { BehaviorSubject, combineLatest, map } from 'rxjs';\n\n@Directive({\n selector: '[xxs],[xs],[sm],[md],[lg],[xl],[xxl]',\n standalone: false,\n})\nexport class BsGridColumnDirective {\n constructor(destroy: DestroyRef) {\n combineLatest([this.xxs$, this.xs$, this.sm$, this.md$, this.lg$, this.xl$, this.xxl$])\n .pipe(map(([xxs, xs, sm, md, lg, xl, xxl]) => ({ xxs, xs, sm, md, lg, xl, xxl })))\n .pipe(map((sizes) => {\n return Object.keys(sizes)\n .map(key => ({\n key,\n value: (<any>sizes)[key],\n }))\n .filter(v => v.value)\n .map(v => {\n switch (v.key) {\n case '': return 'col';\n case 'xxs': return `col-${v.value}`;\n default: return `col-${v.key}-${v.value}`;\n }\n })\n .join(' ');\n }))\n .pipe(takeUntilDestroyed(destroy))\n .subscribe((classList) => {\n this.classList = classList;\n });\n }\n\n // private customColClasses$ = new BehaviorSubject<[col]Definition | '' | undefined>(undefined);\n @HostBinding('class') classList: string | null = null\n\n xxs$ = new BehaviorSubject<number | undefined>(undefined);\n xs$ = new BehaviorSubject<number | undefined>(undefined);\n sm$ = new BehaviorSubject<number | undefined>(undefined);\n md$ = new BehaviorSubject<number | undefined>(undefined);\n lg$ = new BehaviorSubject<number | undefined>(undefined);\n xl$ = new BehaviorSubject<number | undefined>(undefined);\n xxl$ = new BehaviorSubject<number | undefined>(undefined);\n\n @Input() public set xxs(value: number | undefined) {\n this.xxs$.next(value);\n }\n @Input() public set xs(value: number | undefined) {\n this.xs$.next(value);\n }\n @Input() public set sm(value: number | undefined) {\n this.sm$.next(value);\n }\n @Input() public set md(value: number | undefined) {\n this.md$.next(value);\n }\n @Input() public set lg(value: number | undefined) {\n this.lg$.next(value);\n }\n @Input() public set xl(value: number | undefined) {\n this.xl$.next(value);\n }\n @Input() public set xxl(value: number | undefined) {\n this.xxl$.next(value);\n }\n}\n\n@Directive({\n selector: '[col]',\n standalone: false,\n})\nexport class BsGridColDirective {\n @HostBinding('class.col') colClass = true;\n @Input() set col(value: undefined) {}\n}","import { Directive, HostBinding } from '@angular/core';\n\n@Directive({\n selector: '[bsColFormLabel]',\n standalone: false,\n})\nexport class BsColFormLabelDirective {\n @HostBinding('class.col-form-label') colFormLabelClass = true;\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsContainerComponent } from '@mintplayer/ng-bootstrap/container';\nimport { BsGridComponent } from './component/grid.component';\nimport { BsGridRowDirective } from './directives/row/row.directive';\nimport { BsGridColDirective, BsGridColumnDirective } from './directives/column/column.directive';\nimport { BsColFormLabelDirective } from './directives/col-form-label/col-form-label.directive';\n\n@NgModule({\n declarations: [BsGridComponent, BsGridRowDirective, BsGridColumnDirective, BsGridColDirective, BsColFormLabelDirective],\n imports: [CommonModule, BsContainerComponent],\n exports: [BsGridComponent, BsGridRowDirective, BsGridColumnDirective, BsGridColDirective, BsColFormLabelDirective],\n})\nexport class BsGridModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAUa,eAAe,CAAA;AAE1B,IAAA,WAAA,GAAA;;AAWA,QAAA,IAAA,CAAA,gBAAgB,GAAG,IAAI,eAAe,CAAuB,IAAI,CAAC;AAVhE,QAAA,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,eAAe,KAAI;YACxE,QAAQ,eAAe;AACrB,gBAAA,KAAK,IAAI,EAAE,OAAO,WAAW;AAC7B,gBAAA,KAAK,OAAO,EAAE,OAAO,iBAAiB;AACtC,gBAAA,SAAS,OAAO,CAAA,UAAA,EAAa,eAAe,EAAE;;QAElD,CAAC,CAAC,CAAC;IACL;AAIA,IAAA,IAAW,eAAe,GAAA;AACxB,QAAA,OAAO,IAAI,CAAC,gBAAgB,CAAC,KAAK;IACpC;IACA,IAAoB,eAAe,CAAC,KAA2B,EAAA;AAC7D,QAAA,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC;IACnC;8GAnBW,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAf,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,eAAe,oHCV5B,+HAIe,EAAA,MAAA,EAAA,CAAA,29fAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,oBAAA,EAAA,QAAA,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AACvH,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,oBAAoB,CAAC;oBAC7C,OAAO,EAAE,CAAC,eAAe,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,uBAAuB,CAAC;AACnH,iBAAA;;;ACZD;;AAEG;;;;"}
|
|
@@ -2,12 +2,12 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { Component } from '@angular/core';
|
|
3
3
|
|
|
4
4
|
class BsHasOverlayComponent {
|
|
5
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
5
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsHasOverlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.6", type: BsHasOverlayComponent, isStandalone: true, selector: "bs-has-overlay", ngImport: i0, template: "", styles: ["::ng-deep .cdk-overlay-container,::ng-deep .cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}::ng-deep .cdk-overlay-container{position:fixed;z-index:1000}::ng-deep .cdk-overlay-container:empty{display:none}::ng-deep .cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}::ng-deep .cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%;z-index:1000}::ng-deep .cdk-overlay-backdrop{position:absolute;inset:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation;z-index:1000;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}@media(prefers-reduced-motion){::ng-deep .cdk-overlay-backdrop{transition-duration:1ms}}::ng-deep .cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors:active){::ng-deep .cdk-overlay-backdrop-showing{opacity:.6}}::ng-deep .cdk-overlay-dark-backdrop{background:#00000052}::ng-deep .cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}::ng-deep .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,::ng-deep .cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}::ng-deep .cdk-overlay-backdrop-noop-animation{transition:none}::ng-deep .cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px;z-index:1000}::ng-deep .cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}::ng-deep .cdk-overlay-popover{background:none;border:none;padding:0;outline:0;overflow:visible;position:fixed;pointer-events:none;white-space:normal;color:inherit;text-decoration:none;width:100%;height:100%;inset:0 auto auto 0}::ng-deep .cdk-overlay-popover::backdrop{display:none}::ng-deep .cdk-overlay-popover .cdk-overlay-backdrop{position:fixed;z-index:auto}\n"] }); }
|
|
7
7
|
}
|
|
8
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsHasOverlayComponent, decorators: [{
|
|
9
9
|
type: Component,
|
|
10
|
-
args: [{ selector: 'bs-has-overlay', standalone: true, template: "", styles: ["::ng-deep .cdk-overlay-container,::ng-deep .cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}::ng-deep .cdk-overlay-container{position:fixed;z-index:1000}::ng-deep .cdk-overlay-container:empty{display:none}::ng-deep .cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}::ng-deep .cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%;z-index:1000}::ng-deep .cdk-overlay-backdrop{position:absolute;inset:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation;z-index:1000;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}@media
|
|
10
|
+
args: [{ selector: 'bs-has-overlay', standalone: true, template: "", styles: ["::ng-deep .cdk-overlay-container,::ng-deep .cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}::ng-deep .cdk-overlay-container{position:fixed;z-index:1000}::ng-deep .cdk-overlay-container:empty{display:none}::ng-deep .cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}::ng-deep .cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%;z-index:1000}::ng-deep .cdk-overlay-backdrop{position:absolute;inset:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation;z-index:1000;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}@media(prefers-reduced-motion){::ng-deep .cdk-overlay-backdrop{transition-duration:1ms}}::ng-deep .cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors:active){::ng-deep .cdk-overlay-backdrop-showing{opacity:.6}}::ng-deep .cdk-overlay-dark-backdrop{background:#00000052}::ng-deep .cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}::ng-deep .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,::ng-deep .cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}::ng-deep .cdk-overlay-backdrop-noop-animation{transition:none}::ng-deep .cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px;z-index:1000}::ng-deep .cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}::ng-deep .cdk-overlay-popover{background:none;border:none;padding:0;outline:0;overflow:visible;position:fixed;pointer-events:none;white-space:normal;color:inherit;text-decoration:none;width:100%;height:100%;inset:0 auto auto 0}::ng-deep .cdk-overlay-popover::backdrop{display:none}::ng-deep .cdk-overlay-popover .cdk-overlay-backdrop{position:fixed;z-index:auto}\n"] }]
|
|
11
11
|
}] });
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-has-overlay.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/has-overlay/src/has-overlay/has-overlay.component.ts","../../../../libs/mintplayer-ng-bootstrap/has-overlay/src/has-overlay/has-overlay.component.html","../../../../libs/mintplayer-ng-bootstrap/has-overlay/mintplayer-ng-bootstrap-has-overlay.ts"],"sourcesContent":["import { Component } from '@angular/core';\n\n@Component({\n selector: 'bs-has-overlay',\n standalone: true,\n templateUrl: './has-overlay.component.html',\n styleUrls: ['./has-overlay.component.scss'],\n})\nexport class BsHasOverlayComponent {}\n","","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAQa,qBAAqB,CAAA
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-has-overlay.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/has-overlay/src/has-overlay/has-overlay.component.ts","../../../../libs/mintplayer-ng-bootstrap/has-overlay/src/has-overlay/has-overlay.component.html","../../../../libs/mintplayer-ng-bootstrap/has-overlay/mintplayer-ng-bootstrap-has-overlay.ts"],"sourcesContent":["import { Component } from '@angular/core';\n\n@Component({\n selector: 'bs-has-overlay',\n standalone: true,\n templateUrl: './has-overlay.component.html',\n styleUrls: ['./has-overlay.component.scss'],\n})\nexport class BsHasOverlayComponent {}\n","","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAQa,qBAAqB,CAAA;8GAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,0ECRlC,EAAA,EAAA,MAAA,EAAA,CAAA,63DAAA,CAAA,EAAA,CAAA,CAAA;;2FDQa,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBANjC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,gBAAgB,cACd,IAAI,EAAA,QAAA,EAAA,EAAA,EAAA,MAAA,EAAA,CAAA,63DAAA,CAAA,EAAA;;;AEJlB;;AAEG;;;;"}
|
|
@@ -5,10 +5,10 @@ class BsHasPropertyPipe {
|
|
|
5
5
|
transform(value, propName) {
|
|
6
6
|
return propName in value;
|
|
7
7
|
}
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsHasPropertyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
9
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: BsHasPropertyPipe, isStandalone: true, name: "bsHasProperty" }); }
|
|
10
10
|
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsHasPropertyPipe, decorators: [{
|
|
12
12
|
type: Pipe,
|
|
13
13
|
args: [{
|
|
14
14
|
name: 'bsHasProperty',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-has-property.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/has-property/src/has-property.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/has-property/mintplayer-ng-bootstrap-has-property.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'bsHasProperty',\n standalone: true,\n})\nexport class BsHasPropertyPipe implements PipeTransform {\n transform(value: Object, propName: string) {\n return propName in value;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,iBAAiB,CAAA;IAC5B,SAAS,CAAC,KAAa,EAAE,QAAgB,EAAA;QACvC,OAAO,QAAQ,IAAI,KAAK;IAC1B
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-has-property.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/has-property/src/has-property.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/has-property/mintplayer-ng-bootstrap-has-property.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'bsHasProperty',\n standalone: true,\n})\nexport class BsHasPropertyPipe implements PipeTransform {\n transform(value: Object, propName: string) {\n return propName in value;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,iBAAiB,CAAA;IAC5B,SAAS,CAAC,KAAa,EAAE,QAAgB,EAAA;QACvC,OAAO,QAAQ,IAAI,KAAK;IAC1B;8GAHW,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;4GAAjB,iBAAiB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,eAAA,EAAA,CAAA,CAAA;;2FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,eAAe;AACrB,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;;ACLD;;AAEG;;;;"}
|
|
@@ -5,10 +5,10 @@ class BsInListPipe {
|
|
|
5
5
|
transform(items, parameter) {
|
|
6
6
|
return items.some(item => item.id === parameter);
|
|
7
7
|
}
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsInListPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
9
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: BsInListPipe, isStandalone: true, name: "bsInList" }); }
|
|
10
10
|
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsInListPipe, decorators: [{
|
|
12
12
|
type: Pipe,
|
|
13
13
|
args: [{
|
|
14
14
|
name: 'bsInList',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-in-list.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/in-list/src/in-list.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/in-list/mintplayer-ng-bootstrap-in-list.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { HasId } from '@mintplayer/ng-bootstrap/has-id';\n\n@Pipe({\n name: 'bsInList',\n standalone: true,\n})\nexport class BsInListPipe<T> implements PipeTransform {\n transform(items: HasId<T>[], parameter: T) {\n return items.some(item => item.id === parameter);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAOa,YAAY,CAAA;IACvB,SAAS,CAAC,KAAiB,EAAE,SAAY,EAAA;AACvC,QAAA,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,EAAE,KAAK,SAAS,CAAC;IAClD
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-in-list.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/in-list/src/in-list.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/in-list/mintplayer-ng-bootstrap-in-list.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { HasId } from '@mintplayer/ng-bootstrap/has-id';\n\n@Pipe({\n name: 'bsInList',\n standalone: true,\n})\nexport class BsInListPipe<T> implements PipeTransform {\n transform(items: HasId<T>[], parameter: T) {\n return items.some(item => item.id === parameter);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAOa,YAAY,CAAA;IACvB,SAAS,CAAC,KAAiB,EAAE,SAAY,EAAA;AACvC,QAAA,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,EAAE,KAAK,SAAS,CAAC;IAClD;8GAHW,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;4GAAZ,YAAY,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA,CAAA;;2FAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBAJxB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,UAAU;AAChB,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;;ACND;;AAEG;;;;"}
|
|
@@ -2,10 +2,10 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { Component } from '@angular/core';
|
|
3
3
|
|
|
4
4
|
class BsInputGroupComponent {
|
|
5
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
5
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsInputGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.6", type: BsInputGroupComponent, isStandalone: true, selector: "bs-input-group", ngImport: i0, template: "<div class=\"input-group\">\n <ng-content></ng-content>\n</div>", styles: [":host ::ng-deep .input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}:host ::ng-deep .input-group>.form-control,:host ::ng-deep .input-group>.form-select,:host ::ng-deep .input-group>.form-floating{position:relative;flex:1 1 auto;width:1%;min-width:0}:host ::ng-deep .input-group>.form-control:focus,:host ::ng-deep .input-group>.form-select:focus,:host ::ng-deep .input-group>.form-floating:focus-within{z-index:5}:host ::ng-deep .input-group .btn{position:relative;z-index:2}:host ::ng-deep .input-group .btn:focus{z-index:5}:host ::ng-deep .input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);text-align:center;white-space:nowrap;background-color:var(--bs-tertiary-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius)}:host ::ng-deep .input-group-lg>.form-control,:host ::ng-deep .input-group-lg>.form-select,:host ::ng-deep .input-group-lg>.input-group-text,:host ::ng-deep .input-group-lg>.btn{padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}:host ::ng-deep .input-group-sm>.form-control,:host ::ng-deep .input-group-sm>.form-select,:host ::ng-deep .input-group-sm>.input-group-text,:host ::ng-deep .input-group-sm>.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}:host ::ng-deep .input-group-lg>.form-select,:host ::ng-deep .input-group-sm>.form-select{padding-right:3rem}:host ::ng-deep .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),:host ::ng-deep .input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),:host ::ng-deep .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,:host ::ng-deep .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}:host ::ng-deep .input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),:host ::ng-deep .input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),:host ::ng-deep .input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,:host ::ng-deep .input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}:host ::ng-deep .input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:calc(-1 * var(--bs-border-width));border-top-left-radius:0;border-bottom-left-radius:0}:host ::ng-deep .input-group>.form-floating:not(:first-child)>.form-control,:host ::ng-deep .input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}\n"] }); }
|
|
7
7
|
}
|
|
8
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsInputGroupComponent, decorators: [{
|
|
9
9
|
type: Component,
|
|
10
10
|
args: [{ selector: 'bs-input-group', standalone: true, template: "<div class=\"input-group\">\n <ng-content></ng-content>\n</div>", styles: [":host ::ng-deep .input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}:host ::ng-deep .input-group>.form-control,:host ::ng-deep .input-group>.form-select,:host ::ng-deep .input-group>.form-floating{position:relative;flex:1 1 auto;width:1%;min-width:0}:host ::ng-deep .input-group>.form-control:focus,:host ::ng-deep .input-group>.form-select:focus,:host ::ng-deep .input-group>.form-floating:focus-within{z-index:5}:host ::ng-deep .input-group .btn{position:relative;z-index:2}:host ::ng-deep .input-group .btn:focus{z-index:5}:host ::ng-deep .input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);text-align:center;white-space:nowrap;background-color:var(--bs-tertiary-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius)}:host ::ng-deep .input-group-lg>.form-control,:host ::ng-deep .input-group-lg>.form-select,:host ::ng-deep .input-group-lg>.input-group-text,:host ::ng-deep .input-group-lg>.btn{padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}:host ::ng-deep .input-group-sm>.form-control,:host ::ng-deep .input-group-sm>.form-select,:host ::ng-deep .input-group-sm>.input-group-text,:host ::ng-deep .input-group-sm>.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}:host ::ng-deep .input-group-lg>.form-select,:host ::ng-deep .input-group-sm>.form-select{padding-right:3rem}:host ::ng-deep .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),:host ::ng-deep .input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),:host ::ng-deep .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,:host ::ng-deep .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}:host ::ng-deep .input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),:host ::ng-deep .input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),:host ::ng-deep .input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,:host ::ng-deep .input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}:host ::ng-deep .input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:calc(-1 * var(--bs-border-width));border-top-left-radius:0;border-bottom-left-radius:0}:host ::ng-deep .input-group>.form-floating:not(:first-child)>.form-control,:host ::ng-deep .input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}\n"] }]
|
|
11
11
|
}] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-input-group.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/input-group/src/input-group/input-group.component.ts","../../../../libs/mintplayer-ng-bootstrap/input-group/src/input-group/input-group.component.html","../../../../libs/mintplayer-ng-bootstrap/input-group/mintplayer-ng-bootstrap-input-group.ts"],"sourcesContent":["import { Component } from '@angular/core';\n\n@Component({\n selector: 'bs-input-group',\n standalone: true,\n templateUrl: './input-group.component.html',\n styleUrls: ['./input-group.component.scss'],\n})\nexport class BsInputGroupComponent {}\n","<div class=\"input-group\">\n <ng-content></ng-content>\n</div>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAQa,qBAAqB,CAAA
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-input-group.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/input-group/src/input-group/input-group.component.ts","../../../../libs/mintplayer-ng-bootstrap/input-group/src/input-group/input-group.component.html","../../../../libs/mintplayer-ng-bootstrap/input-group/mintplayer-ng-bootstrap-input-group.ts"],"sourcesContent":["import { Component } from '@angular/core';\n\n@Component({\n selector: 'bs-input-group',\n standalone: true,\n templateUrl: './input-group.component.html',\n styleUrls: ['./input-group.component.scss'],\n})\nexport class BsInputGroupComponent {}\n","<div class=\"input-group\">\n <ng-content></ng-content>\n</div>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAQa,qBAAqB,CAAA;8GAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,0ECRlC,oEAEM,EAAA,MAAA,EAAA,CAAA,+0FAAA,CAAA,EAAA,CAAA,CAAA;;2FDMO,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBANjC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,gBAAgB,cACd,IAAI,EAAA,QAAA,EAAA,oEAAA,EAAA,MAAA,EAAA,CAAA,+0FAAA,CAAA,EAAA;;;AEJlB;;AAEG;;;;"}
|
|
@@ -50,10 +50,10 @@ class BsInstanceOfDirective {
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
54
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
53
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsInstanceOfDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
54
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: BsInstanceOfDirective, isStandalone: false, selector: "[bsInstanceof]", inputs: { bsInstanceof: "bsInstanceof" }, ngImport: i0 }); }
|
|
55
55
|
}
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsInstanceOfDirective, decorators: [{
|
|
57
57
|
type: Directive,
|
|
58
58
|
args: [{
|
|
59
59
|
selector: '[bsInstanceof]',
|
|
@@ -125,10 +125,10 @@ class BsInstanceofCaseDirective {
|
|
|
125
125
|
throw new Error(`An element with the "${directiveName}" attribute (matching the "${directiveName}" directive) must be located inside an element with the "bsInstanceof" attribute (matching "BsInstanceofDirective" directive)`);
|
|
126
126
|
}
|
|
127
127
|
;
|
|
128
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
129
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
128
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsInstanceofCaseDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: BsInstanceOfDirective, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
129
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: BsInstanceofCaseDirective, isStandalone: false, selector: "[bsInstanceofCase]", inputs: { bsInstanceofCase: "bsInstanceofCase" }, ngImport: i0 }); }
|
|
130
130
|
}
|
|
131
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
131
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsInstanceofCaseDirective, decorators: [{
|
|
132
132
|
type: Directive,
|
|
133
133
|
args: [{
|
|
134
134
|
selector: '[bsInstanceofCase]',
|
|
@@ -153,10 +153,10 @@ class BsInstanceOfDefaultDirective {
|
|
|
153
153
|
throw new Error(`An element with the "${directiveName}" attribute (matching the "${directiveName}" directive) must be located inside an element with the "bsInstanceof" attribute (matching "BsInstanceofDirective" directive)`);
|
|
154
154
|
}
|
|
155
155
|
;
|
|
156
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
157
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
156
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsInstanceOfDefaultDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: BsInstanceOfDirective, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
157
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: BsInstanceOfDefaultDirective, isStandalone: false, selector: "[bsInstanceofDefault]", ngImport: i0 }); }
|
|
158
158
|
}
|
|
159
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
159
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsInstanceOfDefaultDirective, decorators: [{
|
|
160
160
|
type: Directive,
|
|
161
161
|
args: [{
|
|
162
162
|
selector: '[bsInstanceofDefault]',
|
|
@@ -172,10 +172,10 @@ class BsInstanceofPipe {
|
|
|
172
172
|
transform(value, type) {
|
|
173
173
|
return value instanceof type ? value : undefined;
|
|
174
174
|
}
|
|
175
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
176
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
175
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsInstanceofPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
176
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: BsInstanceofPipe, isStandalone: false, name: "bsInstanceof" }); }
|
|
177
177
|
}
|
|
178
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsInstanceofPipe, decorators: [{
|
|
179
179
|
type: Pipe,
|
|
180
180
|
args: [{
|
|
181
181
|
name: 'bsInstanceof',
|
|
@@ -185,17 +185,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImpo
|
|
|
185
185
|
}] });
|
|
186
186
|
|
|
187
187
|
class BsInstanceOfModule {
|
|
188
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
189
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
188
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsInstanceOfModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
189
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: BsInstanceOfModule, declarations: [BsInstanceofPipe,
|
|
190
190
|
BsInstanceOfDirective,
|
|
191
191
|
BsInstanceofCaseDirective,
|
|
192
192
|
BsInstanceOfDefaultDirective], imports: [CommonModule], exports: [BsInstanceofPipe,
|
|
193
193
|
BsInstanceOfDirective,
|
|
194
194
|
BsInstanceofCaseDirective,
|
|
195
195
|
BsInstanceOfDefaultDirective] }); }
|
|
196
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
196
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsInstanceOfModule, imports: [CommonModule] }); }
|
|
197
197
|
}
|
|
198
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
198
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsInstanceOfModule, decorators: [{
|
|
199
199
|
type: NgModule,
|
|
200
200
|
args: [{
|
|
201
201
|
declarations: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-instance-of.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/instance-of/src/directives/instanceof.directive.ts","../../../../libs/mintplayer-ng-bootstrap/instance-of/src/interfaces/instance-of-context.ts","../../../../libs/mintplayer-ng-bootstrap/instance-of/src/directives/switch-view.ts","../../../../libs/mintplayer-ng-bootstrap/instance-of/src/directives/instanceof-case.directive.ts","../../../../libs/mintplayer-ng-bootstrap/instance-of/src/directives/instanceof-default.directive.ts","../../../../libs/mintplayer-ng-bootstrap/instance-of/src/pipes/instance-of.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/instance-of/src/instance-of.module.ts","../../../../libs/mintplayer-ng-bootstrap/instance-of/mintplayer-ng-bootstrap-instance-of.ts"],"sourcesContent":["import { Directive, Input } from \"@angular/core\";\nimport { SwitchView } from \"./switch-view\";\nimport { AbstractType } from \"../types/abstract.type\";\n\n@Directive({\n selector: '[bsInstanceof]',\n standalone: false,\n})\nexport class BsInstanceOfDirective {\n private _defaultViews!: SwitchView[];\n private _defaultUsed = false;\n private _caseCount = 0;\n private _lastCaseCheckIndex = 0;\n private _lastCasesMatched = false;\n private _instanceof: any;\n\n @Input()\n public set bsInstanceof(newValue: any) {\n this._instanceof = newValue;\n if (this._caseCount === 0) {\n this._updateDefaultCases(true);\n }\n }\n\n /** @internal */\n public _addCase(): number {\n return this._caseCount++;\n }\n\n /** @internal */\n public _addDefault(view: SwitchView): void {\n if (!this._defaultViews) {\n this._defaultViews = [];\n }\n this._defaultViews.push(view);\n }\n\n /** @internal */\n public _matchCase<T>(type: AbstractType<T>): T | undefined {\n const matched =\n this._instanceof instanceof type\n ? this._instanceof\n : undefined;\n this._lastCasesMatched = this._lastCasesMatched || !!matched;\n this._lastCaseCheckIndex++;\n if (this._lastCaseCheckIndex === this._caseCount) {\n this._updateDefaultCases(!this._lastCasesMatched);\n this._lastCaseCheckIndex = 0;\n this._lastCasesMatched = false;\n }\n // debugger;\n return matched;\n }\n\n private _updateDefaultCases(useDefault: boolean): void {\n if (this._defaultViews && useDefault !== this._defaultUsed) {\n this._defaultUsed = useDefault;\n for (let i = 0; i < this._defaultViews.length; i++) {\n const defaultView = this._defaultViews[i];\n defaultView.enforceState(useDefault);\n }\n }\n }\n}\n","export class BsInstanceOfContext<T = unknown> {\n public $implicit: T = null!;\n public bsInstanceofCase: T = null!;\n}","import { ViewContainerRef, TemplateRef } from \"@angular/core\";\nimport { BsInstanceOfContext } from \"../interfaces/instance-of-context\";\n\nexport class SwitchView<T = unknown> {\n private _created = false;\n private _context = new BsInstanceOfContext<T>();\n \n public constructor(private _viewContainerRef: ViewContainerRef, private _templateRef: TemplateRef<BsInstanceOfContext<T>>) {}\n \n public enforceState(result?: T) {\n if (result && !this._created) {\n this.create(result);\n } else if (!result && this._created) {\n this.destroy();\n } else if (result) {\n this._context.$implicit = this._context.bsInstanceofCase = result;\n }\n }\n \n private create(result: T) {\n this._created = true;\n this._context.$implicit = this._context.bsInstanceofCase = result;\n this._viewContainerRef.createEmbeddedView(this._templateRef, this._context);\n }\n \n private destroy() {\n this._created = false;\n this._viewContainerRef.clear();\n }\n}","import { Directive, Input, DoCheck, ViewContainerRef, Optional, Host, TemplateRef } from \"@angular/core\";\nimport { SwitchView } from \"./switch-view\";\nimport { BsInstanceOfContext } from \"../interfaces/instance-of-context\";\nimport { AbstractType } from \"../types/abstract.type\";\nimport { BsInstanceOfDirective } from \"./instanceof.directive\";\n\n@Directive({\n selector: '[bsInstanceofCase]',\n standalone: false,\n})\nexport class BsInstanceofCaseDirective<T> implements DoCheck {\n @Input() public bsInstanceofCase!: AbstractType<T>;\n\n private _view: SwitchView<T>;\n\n public constructor(\n viewContainer: ViewContainerRef,\n templateRef: TemplateRef<BsInstanceOfContext<T>>,\n @Optional() @Host() private bsInstanceof: BsInstanceOfDirective\n ) {\n if (!bsInstanceof) {\n this.throwError('bsInstanceofCase');\n }\n bsInstanceof._addCase();\n this._view = new SwitchView<T>(viewContainer, templateRef);\n }\n\n /**\n * Asserts the correct type of the context for the template that `InstanceofCaseDirective` will render.\n *\n * The presence of this method is a signal to the Ivy template type-check compiler that the\n * `InstanceofCaseDirective` structural directive renders its template with a specific context type.\n * Magic happens here!\n */\n public static ngTemplateContextGuard<T>(\n dir: BsInstanceofCaseDirective<T>,\n ctx: any\n ): ctx is BsInstanceOfContext<Exclude<T, false | 0 | '' | null | undefined>> {\n return true;\n }\n\n public ngDoCheck() {\n this._view.enforceState(\n this.bsInstanceof._matchCase(this.bsInstanceofCase)\n );\n }\n\n throwError(directiveName: string) {\n throw new Error(\n `An element with the \"${directiveName}\" attribute (matching the \"${directiveName}\" directive) must be located inside an element with the \"bsInstanceof\" attribute (matching \"BsInstanceofDirective\" directive)`\n );\n };\n}\n","import { Directive, ViewContainerRef, Optional, Host, TemplateRef } from \"@angular/core\";\nimport { SwitchView } from \"./switch-view\";\nimport { BsInstanceOfContext } from \"../interfaces/instance-of-context\";\nimport { BsInstanceOfDirective } from \"./instanceof.directive\";\n\n@Directive({\n selector: '[bsInstanceofDefault]',\n standalone: false,\n})\nexport class BsInstanceOfDefaultDirective {\n public constructor(\n viewContainer: ViewContainerRef,\n templateRef: TemplateRef<BsInstanceOfContext>,\n @Optional() @Host() bsInstanceof: BsInstanceOfDirective\n ) {\n if (!bsInstanceof) {\n this.throwError('bsInstanceofDefault');\n }\n bsInstanceof._addDefault(new SwitchView(viewContainer, templateRef));\n }\n\n throwError(directiveName: string) {\n throw new Error(\n `An element with the \"${directiveName}\" attribute (matching the \"${directiveName}\" directive) must be located inside an element with the \"bsInstanceof\" attribute (matching \"BsInstanceofDirective\" directive)`\n );\n };\n}","import { Pipe } from '@angular/core';\nimport type { PipeTransform } from '@angular/core';\nimport { AbstractType } from '../types/abstract.type';\n\n@Pipe({\n name: 'bsInstanceof',\n pure: true,\n standalone: false,\n})\nexport class BsInstanceofPipe implements PipeTransform {\n public transform<V, R>(value: V, type: AbstractType<R>): R | undefined {\n return value instanceof type ? value : undefined;\n }\n}","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsInstanceOfDirective } from './directives/instanceof.directive';\nimport { BsInstanceofCaseDirective } from './directives/instanceof-case.directive';\nimport { BsInstanceOfDefaultDirective } from './directives/instanceof-default.directive';\nimport { BsInstanceofPipe } from './pipes/instance-of.pipe';\n\n@NgModule({\n declarations: [\n BsInstanceofPipe,\n BsInstanceOfDirective,\n BsInstanceofCaseDirective,\n BsInstanceOfDefaultDirective\n ],\n imports: [CommonModule],\n exports: [\n BsInstanceofPipe,\n BsInstanceOfDirective,\n BsInstanceofCaseDirective,\n BsInstanceOfDefaultDirective\n ]\n})\nexport class BsInstanceOfModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.BsInstanceOfDirective"],"mappings":";;;;MAQa,qBAAqB,CAAA;AAJlC,IAAA,WAAA,GAAA;QAMU,IAAA,CAAA,YAAY,GAAG,KAAK;QACpB,IAAA,CAAA,UAAU,GAAG,CAAC;QACd,IAAA,CAAA,mBAAmB,GAAG,CAAC;QACvB,IAAA,CAAA,iBAAiB,GAAG,KAAK;AAkDlC,IAAA;IA/CC,IACW,YAAY,CAAC,QAAa,EAAA;AACnC,QAAA,IAAI,CAAC,WAAW,GAAG,QAAQ;AAC3B,QAAA,IAAI,IAAI,CAAC,UAAU,KAAK,CAAC,EAAE;AACzB,YAAA,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC;QAChC;IACF;;IAGO,QAAQ,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,UAAU,EAAE;IAC1B;;AAGO,IAAA,WAAW,CAAC,IAAgB,EAAA;AACjC,QAAA,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE;AACvB,YAAA,IAAI,CAAC,aAAa,GAAG,EAAE;QACzB;AACA,QAAA,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC;IAC/B;;AAGO,IAAA,UAAU,CAAI,IAAqB,EAAA;AACxC,QAAA,MAAM,OAAO,GACX,IAAI,CAAC,WAAW,YAAY;cACxB,IAAI,CAAC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C;AACvB,oBAAA,OAAO,EAAE;wBACP,gBAAgB;wBAChB,qBAAqB;wBACrB,yBAAyB;wBACzB;AACD;AACF,iBAAA;;;ACrBD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-instance-of.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/instance-of/src/directives/instanceof.directive.ts","../../../../libs/mintplayer-ng-bootstrap/instance-of/src/interfaces/instance-of-context.ts","../../../../libs/mintplayer-ng-bootstrap/instance-of/src/directives/switch-view.ts","../../../../libs/mintplayer-ng-bootstrap/instance-of/src/directives/instanceof-case.directive.ts","../../../../libs/mintplayer-ng-bootstrap/instance-of/src/directives/instanceof-default.directive.ts","../../../../libs/mintplayer-ng-bootstrap/instance-of/src/pipes/instance-of.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/instance-of/src/instance-of.module.ts","../../../../libs/mintplayer-ng-bootstrap/instance-of/mintplayer-ng-bootstrap-instance-of.ts"],"sourcesContent":["import { Directive, Input } from \"@angular/core\";\nimport { SwitchView } from \"./switch-view\";\nimport { AbstractType } from \"../types/abstract.type\";\n\n@Directive({\n selector: '[bsInstanceof]',\n standalone: false,\n})\nexport class BsInstanceOfDirective {\n private _defaultViews!: SwitchView[];\n private _defaultUsed = false;\n private _caseCount = 0;\n private _lastCaseCheckIndex = 0;\n private _lastCasesMatched = false;\n private _instanceof: any;\n\n @Input()\n public set bsInstanceof(newValue: any) {\n this._instanceof = newValue;\n if (this._caseCount === 0) {\n this._updateDefaultCases(true);\n }\n }\n\n /** @internal */\n public _addCase(): number {\n return this._caseCount++;\n }\n\n /** @internal */\n public _addDefault(view: SwitchView): void {\n if (!this._defaultViews) {\n this._defaultViews = [];\n }\n this._defaultViews.push(view);\n }\n\n /** @internal */\n public _matchCase<T>(type: AbstractType<T>): T | undefined {\n const matched =\n this._instanceof instanceof type\n ? this._instanceof\n : undefined;\n this._lastCasesMatched = this._lastCasesMatched || !!matched;\n this._lastCaseCheckIndex++;\n if (this._lastCaseCheckIndex === this._caseCount) {\n this._updateDefaultCases(!this._lastCasesMatched);\n this._lastCaseCheckIndex = 0;\n this._lastCasesMatched = false;\n }\n // debugger;\n return matched;\n }\n\n private _updateDefaultCases(useDefault: boolean): void {\n if (this._defaultViews && useDefault !== this._defaultUsed) {\n this._defaultUsed = useDefault;\n for (let i = 0; i < this._defaultViews.length; i++) {\n const defaultView = this._defaultViews[i];\n defaultView.enforceState(useDefault);\n }\n }\n }\n}\n","export class BsInstanceOfContext<T = unknown> {\n public $implicit: T = null!;\n public bsInstanceofCase: T = null!;\n}","import { ViewContainerRef, TemplateRef } from \"@angular/core\";\nimport { BsInstanceOfContext } from \"../interfaces/instance-of-context\";\n\nexport class SwitchView<T = unknown> {\n private _created = false;\n private _context = new BsInstanceOfContext<T>();\n \n public constructor(private _viewContainerRef: ViewContainerRef, private _templateRef: TemplateRef<BsInstanceOfContext<T>>) {}\n \n public enforceState(result?: T) {\n if (result && !this._created) {\n this.create(result);\n } else if (!result && this._created) {\n this.destroy();\n } else if (result) {\n this._context.$implicit = this._context.bsInstanceofCase = result;\n }\n }\n \n private create(result: T) {\n this._created = true;\n this._context.$implicit = this._context.bsInstanceofCase = result;\n this._viewContainerRef.createEmbeddedView(this._templateRef, this._context);\n }\n \n private destroy() {\n this._created = false;\n this._viewContainerRef.clear();\n }\n}","import { Directive, Input, DoCheck, ViewContainerRef, Optional, Host, TemplateRef } from \"@angular/core\";\nimport { SwitchView } from \"./switch-view\";\nimport { BsInstanceOfContext } from \"../interfaces/instance-of-context\";\nimport { AbstractType } from \"../types/abstract.type\";\nimport { BsInstanceOfDirective } from \"./instanceof.directive\";\n\n@Directive({\n selector: '[bsInstanceofCase]',\n standalone: false,\n})\nexport class BsInstanceofCaseDirective<T> implements DoCheck {\n @Input() public bsInstanceofCase!: AbstractType<T>;\n\n private _view: SwitchView<T>;\n\n public constructor(\n viewContainer: ViewContainerRef,\n templateRef: TemplateRef<BsInstanceOfContext<T>>,\n @Optional() @Host() private bsInstanceof: BsInstanceOfDirective\n ) {\n if (!bsInstanceof) {\n this.throwError('bsInstanceofCase');\n }\n bsInstanceof._addCase();\n this._view = new SwitchView<T>(viewContainer, templateRef);\n }\n\n /**\n * Asserts the correct type of the context for the template that `InstanceofCaseDirective` will render.\n *\n * The presence of this method is a signal to the Ivy template type-check compiler that the\n * `InstanceofCaseDirective` structural directive renders its template with a specific context type.\n * Magic happens here!\n */\n public static ngTemplateContextGuard<T>(\n dir: BsInstanceofCaseDirective<T>,\n ctx: any\n ): ctx is BsInstanceOfContext<Exclude<T, false | 0 | '' | null | undefined>> {\n return true;\n }\n\n public ngDoCheck() {\n this._view.enforceState(\n this.bsInstanceof._matchCase(this.bsInstanceofCase)\n );\n }\n\n throwError(directiveName: string) {\n throw new Error(\n `An element with the \"${directiveName}\" attribute (matching the \"${directiveName}\" directive) must be located inside an element with the \"bsInstanceof\" attribute (matching \"BsInstanceofDirective\" directive)`\n );\n };\n}\n","import { Directive, ViewContainerRef, Optional, Host, TemplateRef } from \"@angular/core\";\nimport { SwitchView } from \"./switch-view\";\nimport { BsInstanceOfContext } from \"../interfaces/instance-of-context\";\nimport { BsInstanceOfDirective } from \"./instanceof.directive\";\n\n@Directive({\n selector: '[bsInstanceofDefault]',\n standalone: false,\n})\nexport class BsInstanceOfDefaultDirective {\n public constructor(\n viewContainer: ViewContainerRef,\n templateRef: TemplateRef<BsInstanceOfContext>,\n @Optional() @Host() bsInstanceof: BsInstanceOfDirective\n ) {\n if (!bsInstanceof) {\n this.throwError('bsInstanceofDefault');\n }\n bsInstanceof._addDefault(new SwitchView(viewContainer, templateRef));\n }\n\n throwError(directiveName: string) {\n throw new Error(\n `An element with the \"${directiveName}\" attribute (matching the \"${directiveName}\" directive) must be located inside an element with the \"bsInstanceof\" attribute (matching \"BsInstanceofDirective\" directive)`\n );\n };\n}","import { Pipe } from '@angular/core';\nimport type { PipeTransform } from '@angular/core';\nimport { AbstractType } from '../types/abstract.type';\n\n@Pipe({\n name: 'bsInstanceof',\n pure: true,\n standalone: false,\n})\nexport class BsInstanceofPipe implements PipeTransform {\n public transform<V, R>(value: V, type: AbstractType<R>): R | undefined {\n return value instanceof type ? value : undefined;\n }\n}","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsInstanceOfDirective } from './directives/instanceof.directive';\nimport { BsInstanceofCaseDirective } from './directives/instanceof-case.directive';\nimport { BsInstanceOfDefaultDirective } from './directives/instanceof-default.directive';\nimport { BsInstanceofPipe } from './pipes/instance-of.pipe';\n\n@NgModule({\n declarations: [\n BsInstanceofPipe,\n BsInstanceOfDirective,\n BsInstanceofCaseDirective,\n BsInstanceOfDefaultDirective\n ],\n imports: [CommonModule],\n exports: [\n BsInstanceofPipe,\n BsInstanceOfDirective,\n BsInstanceofCaseDirective,\n BsInstanceOfDefaultDirective\n ]\n})\nexport class BsInstanceOfModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.BsInstanceOfDirective"],"mappings":";;;;MAQa,qBAAqB,CAAA;AAJlC,IAAA,WAAA,GAAA;QAMU,IAAA,CAAA,YAAY,GAAG,KAAK;QACpB,IAAA,CAAA,UAAU,GAAG,CAAC;QACd,IAAA,CAAA,mBAAmB,GAAG,CAAC;QACvB,IAAA,CAAA,iBAAiB,GAAG,KAAK;AAkDlC,IAAA;IA/CC,IACW,YAAY,CAAC,QAAa,EAAA;AACnC,QAAA,IAAI,CAAC,WAAW,GAAG,QAAQ;AAC3B,QAAA,IAAI,IAAI,CAAC,UAAU,KAAK,CAAC,EAAE;AACzB,YAAA,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC;QAChC;IACF;;IAGO,QAAQ,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,UAAU,EAAE;IAC1B;;AAGO,IAAA,WAAW,CAAC,IAAgB,EAAA;AACjC,QAAA,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE;AACvB,YAAA,IAAI,CAAC,aAAa,GAAG,EAA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,EAAA,CAAA;kBAf9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,gBAAgB;wBAChB,qBAAqB;wBACrB,yBAAyB;wBACzB;AACD,qBAAA;oBACD,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,OAAO,EAAE;wBACP,gBAAgB;wBAChB,qBAAqB;wBACrB,yBAAyB;wBACzB;AACD;AACF,iBAAA;;;ACrBD;;AAEG;;;;"}
|
|
@@ -25,10 +25,10 @@ class BsLetDirective {
|
|
|
25
25
|
static ngTemplateContextGuard(dir, ctx) {
|
|
26
26
|
return true;
|
|
27
27
|
}
|
|
28
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
29
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
28
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsLetDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
29
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: BsLetDirective, isStandalone: true, selector: "[bsLet]", inputs: { bsLet: "bsLet" }, ngImport: i0 }); }
|
|
30
30
|
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsLetDirective, decorators: [{
|
|
32
32
|
type: Directive,
|
|
33
33
|
args: [{
|
|
34
34
|
selector: '[bsLet]',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-let.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/let/directive/let.directive.ts","../../../../libs/mintplayer-ng-bootstrap/let/mintplayer-ng-bootstrap-let.ts"],"sourcesContent":["import { Directive, Input, TemplateRef, ViewContainerRef } from '@angular/core';\nimport { BsLetContext } from '../interfaces/let-context';\n\n@Directive({\n selector: '[bsLet]',\n standalone: true,\n})\nexport class BsLetDirective<T> {\n\n private context: BsLetContext<T | null> = { bsLet: null, $implicit: null };\n private hasView: boolean = false;\n\n // eslint-disable-next-line no-unused-vars\n constructor(private viewContainer: ViewContainerRef, private templateRef: TemplateRef<BsLetContext<T>>) { }\n\n @Input() set bsLet(value: T) {\n this.context.$implicit = this.context.bsLet = value;\n if (!this.hasView) {\n this.hasView = true;\n this.viewContainer.createEmbeddedView(this.templateRef, this.context);\n }\n }\n\n /** @internal */\n public static bsLetUseIfTypeGuard: void;\n\n /**\n * Assert the correct type of the expression bound to the `NgLet` input within the template.\n *\n * The presence of this static field is a signal to the Ivy template type check compiler that\n * when the `NgLet` structural directive renders its template, the type of the expression bound\n * to `NgLet` should be narrowed in some way. For `NgLet`, the binding expression itself is used to\n * narrow its type, which allows the strictNullChecks feature of TypeScript to work with `NgLet`.\n */\n static ngTemplateGuard_bsLet: 'binding';\n\n /**\n * Asserts the correct type of the context for the template that `NgLet` will render.\n *\n * The presence of this method is a signal to the Ivy template type-check compiler that the\n * `NgLet` structural directive renders its template with a specific context type.\n */\n static ngTemplateContextGuard<T>(dir: BsLetDirective<T>, ctx: any): ctx is BsLetContext<T> {\n return true;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAOa,cAAc,CAAA;;IAMzB,WAAA,CAAoB,aAA+B,EAAU,WAAyC,EAAA;QAAlF,IAAA,CAAA,aAAa,GAAb,aAAa;QAA4B,IAAA,CAAA,WAAW,GAAX,WAAW;QAJhE,IAAA,CAAA,OAAO,GAA2B,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE;QAClE,IAAA,CAAA,OAAO,GAAY,KAAK;IAG0E;IAE1G,IAAa,KAAK,CAAC,KAAQ,EAAA;AACvB,QAAA,IAAI,CAAC,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,GAAG,KAAK;AACnD,QAAA,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;AACf,YAAA,IAAI,CAAC,OAAO,GAAG,IAAI;AACnB,YAAA,IAAI,CAAC,aAAa,CAAC,kBAAkB,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,OAAO,CAAC;QACzE;IACJ;AAeA;;;;;AAKG;AACH,IAAA,OAAO,sBAAsB,CAAI,GAAsB,EAAE,GAAQ,EAAA;AAC7D,QAAA,OAAO,IAAI;IACf
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-let.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/let/directive/let.directive.ts","../../../../libs/mintplayer-ng-bootstrap/let/mintplayer-ng-bootstrap-let.ts"],"sourcesContent":["import { Directive, Input, TemplateRef, ViewContainerRef } from '@angular/core';\nimport { BsLetContext } from '../interfaces/let-context';\n\n@Directive({\n selector: '[bsLet]',\n standalone: true,\n})\nexport class BsLetDirective<T> {\n\n private context: BsLetContext<T | null> = { bsLet: null, $implicit: null };\n private hasView: boolean = false;\n\n // eslint-disable-next-line no-unused-vars\n constructor(private viewContainer: ViewContainerRef, private templateRef: TemplateRef<BsLetContext<T>>) { }\n\n @Input() set bsLet(value: T) {\n this.context.$implicit = this.context.bsLet = value;\n if (!this.hasView) {\n this.hasView = true;\n this.viewContainer.createEmbeddedView(this.templateRef, this.context);\n }\n }\n\n /** @internal */\n public static bsLetUseIfTypeGuard: void;\n\n /**\n * Assert the correct type of the expression bound to the `NgLet` input within the template.\n *\n * The presence of this static field is a signal to the Ivy template type check compiler that\n * when the `NgLet` structural directive renders its template, the type of the expression bound\n * to `NgLet` should be narrowed in some way. For `NgLet`, the binding expression itself is used to\n * narrow its type, which allows the strictNullChecks feature of TypeScript to work with `NgLet`.\n */\n static ngTemplateGuard_bsLet: 'binding';\n\n /**\n * Asserts the correct type of the context for the template that `NgLet` will render.\n *\n * The presence of this method is a signal to the Ivy template type-check compiler that the\n * `NgLet` structural directive renders its template with a specific context type.\n */\n static ngTemplateContextGuard<T>(dir: BsLetDirective<T>, ctx: any): ctx is BsLetContext<T> {\n return true;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAOa,cAAc,CAAA;;IAMzB,WAAA,CAAoB,aAA+B,EAAU,WAAyC,EAAA;QAAlF,IAAA,CAAA,aAAa,GAAb,aAAa;QAA4B,IAAA,CAAA,WAAW,GAAX,WAAW;QAJhE,IAAA,CAAA,OAAO,GAA2B,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE;QAClE,IAAA,CAAA,OAAO,GAAY,KAAK;IAG0E;IAE1G,IAAa,KAAK,CAAC,KAAQ,EAAA;AACvB,QAAA,IAAI,CAAC,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,GAAG,KAAK;AACnD,QAAA,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;AACf,YAAA,IAAI,CAAC,OAAO,GAAG,IAAI;AACnB,YAAA,IAAI,CAAC,aAAa,CAAC,kBAAkB,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,OAAO,CAAC;QACzE;IACJ;AAeA;;;;;AAKG;AACH,IAAA,OAAO,sBAAsB,CAAI,GAAsB,EAAE,GAAQ,EAAA;AAC7D,QAAA,OAAO,IAAI;IACf;8GArCW,cAAc,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,WAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAd,cAAc,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,SAAS;AACnB,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;sBASE;;;ACfH;;AAEG;;;;"}
|
|
@@ -10,10 +10,10 @@ class BsLinifyPipe {
|
|
|
10
10
|
? split.filter((line) => line !== '')
|
|
11
11
|
: split;
|
|
12
12
|
}
|
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsLinifyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
14
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: BsLinifyPipe, isStandalone: true, name: "bsLinify" }); }
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsLinifyPipe, decorators: [{
|
|
17
17
|
type: Pipe,
|
|
18
18
|
args: [{
|
|
19
19
|
name: 'bsLinify',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-linify.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/linify/src/linify.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/linify/mintplayer-ng-bootstrap-linify.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'bsLinify',\n standalone: true,\n})\nexport class BsLinifyPipe implements PipeTransform {\n transform(value: string, removeEmptyEntries = true) {\n const split = value\n .replace('\\r\\n', '\\n')\n .split('\\n');\n\n return removeEmptyEntries\n ? split.filter((line) => line !== '')\n : split;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,YAAY,CAAA;AACvB,IAAA,SAAS,CAAC,KAAa,EAAE,kBAAkB,GAAG,IAAI,EAAA;QAChD,MAAM,KAAK,GAAG;AACX,aAAA,OAAO,CAAC,MAAM,EAAE,IAAI;aACpB,KAAK,CAAC,IAAI,CAAC;AAEd,QAAA,OAAO;AACL,cAAE,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,IAAI,KAAK,EAAE;cAClC,KAAK;IACX
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-linify.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/linify/src/linify.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/linify/mintplayer-ng-bootstrap-linify.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'bsLinify',\n standalone: true,\n})\nexport class BsLinifyPipe implements PipeTransform {\n transform(value: string, removeEmptyEntries = true) {\n const split = value\n .replace('\\r\\n', '\\n')\n .split('\\n');\n\n return removeEmptyEntries\n ? split.filter((line) => line !== '')\n : split;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,YAAY,CAAA;AACvB,IAAA,SAAS,CAAC,KAAa,EAAE,kBAAkB,GAAG,IAAI,EAAA;QAChD,MAAM,KAAK,GAAG;AACX,aAAA,OAAO,CAAC,MAAM,EAAE,IAAI;aACpB,KAAK,CAAC,IAAI,CAAC;AAEd,QAAA,OAAO;AACL,cAAE,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,IAAI,KAAK,EAAE;cAClC,KAAK;IACX;8GATW,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;4GAAZ,YAAY,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA,CAAA;;2FAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBAJxB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,UAAU;AAChB,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;;ACLD;;AAEG;;;;"}
|