@mintplayer/ng-bootstrap 20.6.3 → 21.1.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 +41 -54
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +20 -38
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +8 -20
- 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 +32 -66
- 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 +207 -138
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs +7 -9
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +16 -19
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs +252 -368
- 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 +53 -49
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +9 -37
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs +12 -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 +12 -12
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +59 -98
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-enhanced-paste.mjs +9 -9
- 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 +19 -18
- 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 +48 -90
- 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 +8 -9
- 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 +26 -26
- 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 +44 -45
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-multiselect.mjs +29 -23
- package/fesm2022/mintplayer-ng-bootstrap-multiselect.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs +10 -30
- package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +224 -285
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navigation-lock.mjs +17 -30
- 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 +64 -59
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-ordinal-number.mjs +8 -8
- package/fesm2022/mintplayer-ng-bootstrap-ordinal-number.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +61 -122
- 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 +19 -33
- package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs +10 -30
- package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +80 -116
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +44 -73
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs +16 -16
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +21 -49
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs +43 -49
- package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +208 -782
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +43 -48
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-searchbox.mjs +85 -111
- package/fesm2022/mintplayer-ng-bootstrap-searchbox.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs +48 -90
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-select2.mjs +88 -55
- package/fesm2022/mintplayer-ng-bootstrap-select2.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-shell.mjs +24 -34
- package/fesm2022/mintplayer-ng-bootstrap-shell.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +16 -42
- 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 +10 -34
- 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 +79 -85
- package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs +20 -20
- package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +61 -107
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs +9 -40
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +24 -50
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +53 -58
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-toggle-button.mjs +56 -109
- package/fesm2022/mintplayer-ng-bootstrap-toggle-button.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +21 -33
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +27 -49
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-trust-html.mjs +8 -8
- package/fesm2022/mintplayer-ng-bootstrap-trust-html.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +31 -51
- 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/{accordion/index.d.ts → types/mintplayer-ng-bootstrap-accordion.d.ts} +11 -15
- package/{alert/index.d.ts → types/mintplayer-ng-bootstrap-alert.d.ts} +4 -9
- package/types/mintplayer-ng-bootstrap-badge.d.ts +12 -0
- package/types/mintplayer-ng-bootstrap-calendar.d.ts +25 -0
- package/types/mintplayer-ng-bootstrap-carousel.d.ts +73 -0
- package/{close/index.d.ts → types/mintplayer-ng-bootstrap-close.d.ts} +1 -2
- package/{code-snippet/index.d.ts → types/mintplayer-ng-bootstrap-code-snippet.d.ts} +4 -5
- package/types/mintplayer-ng-bootstrap-color-picker.d.ts +170 -0
- package/{context-menu/index.d.ts → types/mintplayer-ng-bootstrap-context-menu.d.ts} +1 -1
- package/{datatable/index.d.ts → types/mintplayer-ng-bootstrap-datatable.d.ts} +11 -11
- package/types/mintplayer-ng-bootstrap-datepicker.d.ts +13 -0
- package/{dropdown/index.d.ts → types/mintplayer-ng-bootstrap-dropdown.d.ts} +17 -23
- package/{enhanced-paste/index.d.ts → types/mintplayer-ng-bootstrap-enhanced-paste.d.ts} +1 -3
- package/{file-upload/index.d.ts → types/mintplayer-ng-bootstrap-file-upload.d.ts} +1 -1
- package/{grid/index.d.ts → types/mintplayer-ng-bootstrap-grid.d.ts} +14 -26
- package/{let/index.d.ts → types/mintplayer-ng-bootstrap-let.d.ts} +0 -2
- package/{markdown/index.d.ts → types/mintplayer-ng-bootstrap-markdown.d.ts} +1 -5
- package/{modal/index.d.ts → types/mintplayer-ng-bootstrap-modal.d.ts} +4 -7
- package/{multiselect/index.d.ts → types/mintplayer-ng-bootstrap-multiselect.d.ts} +6 -6
- package/types/mintplayer-ng-bootstrap-navbar-toggler.d.ts +11 -0
- package/types/mintplayer-ng-bootstrap-navbar.d.ts +148 -0
- package/{navigation-lock/index.d.ts → types/mintplayer-ng-bootstrap-navigation-lock.d.ts} +2 -4
- package/{offcanvas/index.d.ts → types/mintplayer-ng-bootstrap-offcanvas.d.ts} +12 -14
- package/{ordinal-number/index.d.ts → types/mintplayer-ng-bootstrap-ordinal-number.d.ts} +1 -2
- package/types/mintplayer-ng-bootstrap-pagination.d.ts +42 -0
- package/{placeholder/index.d.ts → types/mintplayer-ng-bootstrap-placeholder.d.ts} +3 -8
- package/types/mintplayer-ng-bootstrap-playlist-toggler.d.ts +11 -0
- package/{popover/index.d.ts → types/mintplayer-ng-bootstrap-popover.d.ts} +15 -23
- package/types/mintplayer-ng-bootstrap-progress-bar.d.ts +43 -0
- package/{range/index.d.ts → types/mintplayer-ng-bootstrap-range.d.ts} +1 -2
- package/types/mintplayer-ng-bootstrap-rating.d.ts +17 -0
- package/{resizable/index.d.ts → types/mintplayer-ng-bootstrap-resizable.d.ts} +7 -11
- package/types/mintplayer-ng-bootstrap-scheduler.d.ts +144 -0
- package/{scrollspy/index.d.ts → types/mintplayer-ng-bootstrap-scrollspy.d.ts} +14 -15
- package/{searchbox/index.d.ts → types/mintplayer-ng-bootstrap-searchbox.d.ts} +20 -27
- package/{select/index.d.ts → types/mintplayer-ng-bootstrap-select.d.ts} +14 -24
- package/{select2/index.d.ts → types/mintplayer-ng-bootstrap-select2.d.ts} +16 -14
- package/{shell/index.d.ts → types/mintplayer-ng-bootstrap-shell.d.ts} +6 -12
- package/types/mintplayer-ng-bootstrap-signature-pad.d.ts +36 -0
- package/types/mintplayer-ng-bootstrap-spinner.d.ts +14 -0
- package/types/mintplayer-ng-bootstrap-splitter.d.ts +76 -0
- package/{sticky-footer/index.d.ts → types/mintplayer-ng-bootstrap-sticky-footer.d.ts} +3 -3
- package/types/mintplayer-ng-bootstrap-tab-control.d.ts +64 -0
- package/types/mintplayer-ng-bootstrap-table.d.ts +11 -0
- package/types/mintplayer-ng-bootstrap-timepicker.d.ts +26 -0
- package/{toast/index.d.ts → types/mintplayer-ng-bootstrap-toast.d.ts} +5 -10
- package/types/mintplayer-ng-bootstrap-toggle-button.d.ts +55 -0
- package/{tooltip/index.d.ts → types/mintplayer-ng-bootstrap-tooltip.d.ts} +5 -8
- package/{treeview/index.d.ts → types/mintplayer-ng-bootstrap-treeview.d.ts} +10 -15
- package/{trust-html/index.d.ts → types/mintplayer-ng-bootstrap-trust-html.d.ts} +0 -2
- package/types/mintplayer-ng-bootstrap-typeahead.d.ts +25 -0
- package/badge/index.d.ts +0 -16
- package/calendar/index.d.ts +0 -33
- package/carousel/index.d.ts +0 -67
- package/color-picker/index.d.ts +0 -197
- package/datepicker/index.d.ts +0 -20
- package/navbar/index.d.ts +0 -154
- package/navbar-toggler/index.d.ts +0 -17
- package/pagination/index.d.ts +0 -56
- package/playlist-toggler/index.d.ts +0 -17
- package/progress-bar/index.d.ts +0 -46
- package/rating/index.d.ts +0 -23
- package/scheduler/index.d.ts +0 -232
- package/signature-pad/index.d.ts +0 -41
- package/spinner/index.d.ts +0 -22
- package/splitter/index.d.ts +0 -82
- package/tab-control/index.d.ts +0 -72
- package/table/index.d.ts +0 -18
- package/timepicker/index.d.ts +0 -33
- package/toggle-button/index.d.ts +0 -69
- package/typeahead/index.d.ts +0 -28
- /package/{async-host-binding/index.d.ts → types/mintplayer-ng-bootstrap-async-host-binding.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/{card/index.d.ts → types/mintplayer-ng-bootstrap-card.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/{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/{enum/index.d.ts → types/mintplayer-ng-bootstrap-enum.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/{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/{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/{marquee/index.d.ts → types/mintplayer-ng-bootstrap-marquee.d.ts} +0 -0
- /package/{no-noscript/index.d.ts → types/mintplayer-ng-bootstrap-no-noscript.d.ts} +0 -0
- /package/{parallax/index.d.ts → types/mintplayer-ng-bootstrap-parallax.d.ts} +0 -0
- /package/{slugify/index.d.ts → types/mintplayer-ng-bootstrap-slugify.d.ts} +0 -0
- /package/{split-string/index.d.ts → types/mintplayer-ng-bootstrap-split-string.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,24 +1,19 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import * as i1 from '@angular/common';
|
|
2
|
+
import { inject, Renderer2, input, computed, effect, ViewChild, ChangeDetectionStrategy, Component, ElementRef, forwardRef, Input, HostListener, Directive, NgModule } from '@angular/core';
|
|
4
3
|
import { CommonModule } from '@angular/common';
|
|
5
|
-
import { BehaviorSubject, map } from 'rxjs';
|
|
6
4
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
7
5
|
|
|
8
6
|
class BsSelectComponent {
|
|
9
|
-
constructor(
|
|
10
|
-
this.renderer =
|
|
7
|
+
constructor() {
|
|
8
|
+
this.renderer = inject(Renderer2);
|
|
11
9
|
// For debugging purposes
|
|
12
|
-
this.identifier = 0;
|
|
13
|
-
|
|
14
|
-
this.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
this.
|
|
18
|
-
|
|
19
|
-
//#region NumberVisible
|
|
20
|
-
this.numberVisible$ = new BehaviorSubject(null);
|
|
21
|
-
this.sizeClass$ = this.size$.pipe(map((size) => {
|
|
10
|
+
this.identifier = input(0, ...(ngDevMode ? [{ debugName: "identifier" }] : []));
|
|
11
|
+
this.size = input('md', ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
12
|
+
this.multiple = input(false, ...(ngDevMode ? [{ debugName: "multiple" }] : []));
|
|
13
|
+
this.numberVisible = input(null, ...(ngDevMode ? [{ debugName: "numberVisible" }] : []));
|
|
14
|
+
this.disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
15
|
+
this.sizeClass = computed(() => {
|
|
16
|
+
const size = this.size();
|
|
22
17
|
switch (size) {
|
|
23
18
|
case 'sm':
|
|
24
19
|
case 'lg':
|
|
@@ -26,71 +21,38 @@ class BsSelectComponent {
|
|
|
26
21
|
default:
|
|
27
22
|
return null;
|
|
28
23
|
}
|
|
29
|
-
}));
|
|
30
|
-
this.multipleValue
|
|
31
|
-
if (multiple) {
|
|
24
|
+
}, ...(ngDevMode ? [{ debugName: "sizeClass" }] : []));
|
|
25
|
+
this.multipleValue = computed(() => {
|
|
26
|
+
if (this.multiple()) {
|
|
32
27
|
return true;
|
|
33
28
|
}
|
|
34
29
|
else {
|
|
35
30
|
return null;
|
|
36
31
|
}
|
|
37
|
-
}));
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
this.size$.next(value);
|
|
45
|
-
}
|
|
46
|
-
get multiple() {
|
|
47
|
-
return this.multiple$.value;
|
|
48
|
-
}
|
|
49
|
-
set multiple(value) {
|
|
50
|
-
this.multiple$.next(value);
|
|
51
|
-
}
|
|
52
|
-
get numberVisible() {
|
|
53
|
-
return this.numberVisible$.value;
|
|
54
|
-
}
|
|
55
|
-
set numberVisible(value) {
|
|
56
|
-
this.numberVisible$.next(value);
|
|
57
|
-
}
|
|
58
|
-
//#endregion
|
|
59
|
-
//#region Disabled
|
|
60
|
-
get disabled() {
|
|
61
|
-
return this.selectBox.nativeElement.disabled;
|
|
62
|
-
}
|
|
63
|
-
set disabled(value) {
|
|
64
|
-
if (this.selectBox) {
|
|
65
|
-
this.renderer.setProperty(this.selectBox.nativeElement, 'disabled', value);
|
|
66
|
-
}
|
|
32
|
+
}, ...(ngDevMode ? [{ debugName: "multipleValue" }] : []));
|
|
33
|
+
effect(() => {
|
|
34
|
+
const disabled = this.disabled();
|
|
35
|
+
if (this.selectBox) {
|
|
36
|
+
this.renderer.setProperty(this.selectBox.nativeElement, 'disabled', disabled);
|
|
37
|
+
}
|
|
38
|
+
});
|
|
67
39
|
}
|
|
68
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
69
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
40
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsSelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
41
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.6", type: BsSelectComponent, isStandalone: false, selector: "bs-select", inputs: { identifier: { classPropertyName: "identifier", publicName: "identifier", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, numberVisible: { classPropertyName: "numberVisible", publicName: "numberVisible", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "selectBox", first: true, predicate: ["selectBox"], descendants: true }], ngImport: i0, template: "<select class=\"form-select\" #selectBox [class]=\"sizeClass()\" [attr.multiple]=\"multipleValue()\" [attr.size]=\"numberVisible()\" aria-label=\"Default select example\">\n <ng-content></ng-content>\n</select>\n", styles: [":host ::ng-deep .form-select{--bs-form-select-bg-img: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e\");display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);appearance:none;background-color:var(--bs-body-bg);background-image:var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon, none);background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){:host ::ng-deep .form-select{transition:none}}:host ::ng-deep .form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}:host ::ng-deep .form-select[multiple],:host ::ng-deep .form-select[size]:not([size=\"1\"]){padding-right:.75rem;background-image:none}:host ::ng-deep .form-select:disabled{background-color:var(--bs-secondary-bg)}:host ::ng-deep .form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--bs-body-color)}:host ::ng-deep .form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}:host ::ng-deep .form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}:host ::ng-deep [data-bs-theme=dark] .form-select{--bs-form-select-bg-img: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dee2e6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e\")}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
70
42
|
}
|
|
71
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsSelectComponent, decorators: [{
|
|
72
44
|
type: Component,
|
|
73
|
-
args: [{ selector: 'bs-select', standalone: false, template: "<select class=\"form-select\" #selectBox [class]=\"sizeClass
|
|
74
|
-
}], ctorParameters: () => [{ type: i0.
|
|
75
|
-
type: Input
|
|
76
|
-
}], selectBox: [{
|
|
45
|
+
args: [{ selector: 'bs-select', standalone: false, changeDetection: ChangeDetectionStrategy.OnPush, template: "<select class=\"form-select\" #selectBox [class]=\"sizeClass()\" [attr.multiple]=\"multipleValue()\" [attr.size]=\"numberVisible()\" aria-label=\"Default select example\">\n <ng-content></ng-content>\n</select>\n", styles: [":host ::ng-deep .form-select{--bs-form-select-bg-img: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e\");display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);appearance:none;background-color:var(--bs-body-bg);background-image:var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon, none);background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media(prefers-reduced-motion:reduce){:host ::ng-deep .form-select{transition:none}}:host ::ng-deep .form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}:host ::ng-deep .form-select[multiple],:host ::ng-deep .form-select[size]:not([size=\"1\"]){padding-right:.75rem;background-image:none}:host ::ng-deep .form-select:disabled{background-color:var(--bs-secondary-bg)}:host ::ng-deep .form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--bs-body-color)}:host ::ng-deep .form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}:host ::ng-deep .form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}:host ::ng-deep [data-bs-theme=dark] .form-select{--bs-form-select-bg-img: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dee2e6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e\")}\n"] }]
|
|
46
|
+
}], ctorParameters: () => [], propDecorators: { identifier: [{ type: i0.Input, args: [{ isSignal: true, alias: "identifier", required: false }] }], selectBox: [{
|
|
77
47
|
type: ViewChild,
|
|
78
48
|
args: ['selectBox']
|
|
79
|
-
}], size: [{
|
|
80
|
-
type: Input
|
|
81
|
-
}], multiple: [{
|
|
82
|
-
type: Input
|
|
83
|
-
}], numberVisible: [{
|
|
84
|
-
type: Input
|
|
85
|
-
}], disabled: [{
|
|
86
|
-
type: Input
|
|
87
|
-
}] } });
|
|
49
|
+
}], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], multiple: [{ type: i0.Input, args: [{ isSignal: true, alias: "multiple", required: false }] }], numberVisible: [{ type: i0.Input, args: [{ isSignal: true, alias: "numberVisible", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }] } });
|
|
88
50
|
|
|
89
51
|
class BsSelectValueAccessor {
|
|
90
|
-
constructor(
|
|
91
|
-
this._renderer =
|
|
92
|
-
this._elementRef =
|
|
93
|
-
this.selectBox =
|
|
52
|
+
constructor() {
|
|
53
|
+
this._renderer = inject(Renderer2);
|
|
54
|
+
this._elementRef = inject(ElementRef);
|
|
55
|
+
this.selectBox = inject(BsSelectComponent);
|
|
94
56
|
this.onChange = (_) => { };
|
|
95
57
|
this.onTouched = () => { };
|
|
96
58
|
this.optionMap = new Map();
|
|
@@ -119,8 +81,8 @@ class BsSelectValueAccessor {
|
|
|
119
81
|
this._renderer.setProperty(this.selectBox.selectBox.nativeElement, key, value);
|
|
120
82
|
}
|
|
121
83
|
}
|
|
122
|
-
hostOnChange(
|
|
123
|
-
this.onChange(
|
|
84
|
+
hostOnChange(event) {
|
|
85
|
+
this.onChange(event.target.value);
|
|
124
86
|
}
|
|
125
87
|
hostBlur(ev) {
|
|
126
88
|
this.onTouched();
|
|
@@ -167,14 +129,14 @@ class BsSelectValueAccessor {
|
|
|
167
129
|
const id = this.extractId(valueString);
|
|
168
130
|
return this.optionMap.has(id) ? this.optionMap.get(id) : valueString;
|
|
169
131
|
}
|
|
170
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
171
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
132
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsSelectValueAccessor, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
133
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: BsSelectValueAccessor, isStandalone: false, selector: "bs-select", inputs: { compareWith: "compareWith" }, host: { listeners: { "change": "hostOnChange($event)", "blur": "hostBlur($event)" } }, providers: [{
|
|
172
134
|
provide: NG_VALUE_ACCESSOR,
|
|
173
135
|
useExisting: forwardRef(() => BsSelectValueAccessor),
|
|
174
136
|
multi: true,
|
|
175
137
|
}], ngImport: i0 }); }
|
|
176
138
|
}
|
|
177
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
139
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsSelectValueAccessor, decorators: [{
|
|
178
140
|
type: Directive,
|
|
179
141
|
args: [{
|
|
180
142
|
selector: 'bs-select',
|
|
@@ -185,7 +147,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImpo
|
|
|
185
147
|
multi: true,
|
|
186
148
|
}],
|
|
187
149
|
}]
|
|
188
|
-
}],
|
|
150
|
+
}], propDecorators: { hostOnChange: [{
|
|
189
151
|
type: HostListener,
|
|
190
152
|
args: ['change', ['$event']]
|
|
191
153
|
}], hostBlur: [{
|
|
@@ -195,10 +157,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImpo
|
|
|
195
157
|
type: Input
|
|
196
158
|
}] } });
|
|
197
159
|
class BsSelectOption {
|
|
198
|
-
constructor(
|
|
199
|
-
this.element =
|
|
200
|
-
this.renderer =
|
|
201
|
-
this.select =
|
|
160
|
+
constructor() {
|
|
161
|
+
this.element = inject(ElementRef);
|
|
162
|
+
this.renderer = inject(Renderer2);
|
|
163
|
+
this.select = inject(BsSelectValueAccessor, { optional: true, host: true });
|
|
202
164
|
if (this.select) {
|
|
203
165
|
this.id = this.select.registerOption();
|
|
204
166
|
}
|
|
@@ -231,20 +193,16 @@ class BsSelectOption {
|
|
|
231
193
|
this.select.writeValue(this.select.value);
|
|
232
194
|
}
|
|
233
195
|
}
|
|
234
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
235
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
196
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsSelectOption, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
197
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: BsSelectOption, isStandalone: false, selector: "option", inputs: { ngValue: "ngValue", value: "value" }, ngImport: i0 }); }
|
|
236
198
|
}
|
|
237
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
199
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsSelectOption, decorators: [{
|
|
238
200
|
type: Directive,
|
|
239
201
|
args: [{
|
|
240
202
|
selector: 'option',
|
|
241
203
|
standalone: false,
|
|
242
204
|
}]
|
|
243
|
-
}], ctorParameters: () => [
|
|
244
|
-
type: Optional
|
|
245
|
-
}, {
|
|
246
|
-
type: Host
|
|
247
|
-
}] }], propDecorators: { ngValue: [{
|
|
205
|
+
}], ctorParameters: () => [], propDecorators: { ngValue: [{
|
|
248
206
|
type: Input,
|
|
249
207
|
args: ['ngValue']
|
|
250
208
|
}], value: [{
|
|
@@ -253,15 +211,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImpo
|
|
|
253
211
|
}] } });
|
|
254
212
|
|
|
255
213
|
class BsSelectModule {
|
|
256
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
257
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
214
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
215
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: BsSelectModule, declarations: [BsSelectComponent,
|
|
258
216
|
BsSelectValueAccessor,
|
|
259
217
|
BsSelectOption], imports: [CommonModule], exports: [BsSelectComponent,
|
|
260
218
|
BsSelectValueAccessor,
|
|
261
219
|
BsSelectOption] }); }
|
|
262
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
220
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsSelectModule, imports: [CommonModule] }); }
|
|
263
221
|
}
|
|
264
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
222
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BsSelectModule, decorators: [{
|
|
265
223
|
type: NgModule,
|
|
266
224
|
args: [{
|
|
267
225
|
declarations: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-select.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/select/src/component/select.component.ts","../../../../libs/mintplayer-ng-bootstrap/select/src/component/select.component.html","../../../../libs/mintplayer-ng-bootstrap/select/src/value-accessors/select-value-accessor.ts","../../../../libs/mintplayer-ng-bootstrap/select/src/select.module.ts","../../../../libs/mintplayer-ng-bootstrap/select/mintplayer-ng-bootstrap-select.ts"],"sourcesContent":["import { Component, ElementRef, Input, OnInit, Renderer2, ViewChild } from '@angular/core';\nimport { BehaviorSubject, map, Observable } from 'rxjs';\nimport { BsSelectSize } from '../types/select-size';\n\n@Component({\n selector: 'bs-select',\n templateUrl: './select.component.html',\n styleUrls: ['./select.component.scss'],\n standalone: false,\n})\nexport class BsSelectComponent implements OnInit {\n constructor(private renderer: Renderer2) {\n this.sizeClass$ = this.size$.pipe(map((size) => {\n switch (size) {\n case 'sm':\n case 'lg':\n return `form-select-${size}`;\n default:\n return null;\n }\n }));\n\n this.multipleValue$ = this.multiple$.pipe(map((multiple) => {\n if (multiple) {\n return true;\n } else {\n return null;\n }\n }));\n }\n\n // For debugging purposes\n @Input() public identifier = 0;\n\n @ViewChild('selectBox') selectBox!: ElementRef<HTMLSelectElement>; \n\n ngOnInit(): void {}\n\n //#region Size\n size$ = new BehaviorSubject<BsSelectSize>('md');\n public get size() {\n return this.size$.value;\n }\n @Input() public set size(value: BsSelectSize) {\n this.size$.next(value);\n }\n //#endregion\n\n //#region Multiple\n multiple$ = new BehaviorSubject<boolean>(false);\n public get multiple() {\n return this.multiple$.value;\n }\n @Input() public set multiple(value: boolean) {\n this.multiple$.next(value);\n }\n //#endregion\n\n //#region NumberVisible\n numberVisible$ = new BehaviorSubject<number | null>(null);\n public get numberVisible() {\n return this.numberVisible$.value;\n }\n @Input() public set numberVisible(value: number | null) {\n this.numberVisible$.next(value);\n }\n //#endregion\n\n //#region Disabled\n public get disabled() {\n return this.selectBox!.nativeElement.disabled;\n }\n @Input() public set disabled(value: boolean) {\n if (this.selectBox) {\n this.renderer.setProperty(this.selectBox.nativeElement, 'disabled', value);\n }\n }\n //#endregion\n\n sizeClass$: Observable<string | null>;\n multipleValue$: Observable<boolean | null>;\n}\n","<select class=\"form-select\" #selectBox [class]=\"sizeClass$ | async\" [attr.multiple]=\"multipleValue$ | async\" [attr.size]=\"numberVisible$ | async\" aria-label=\"Default select example\">\n <ng-content></ng-content>\n</select>","import { Directive, ElementRef, forwardRef, Host, HostListener, Input, OnDestroy, Optional, Renderer2 } from \"@angular/core\";\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from \"@angular/forms\";\nimport { BsSelectComponent } from \"../component/select.component\";\n\n@Directive({\n selector: 'bs-select',\n standalone: false,\n providers: [{\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => BsSelectValueAccessor),\n multi: true,\n }],\n})\nexport class BsSelectValueAccessor implements ControlValueAccessor {\n constructor(private _renderer: Renderer2, private _elementRef: ElementRef, private selectBox: BsSelectComponent) {}\n\n onChange = (_: any) => {};\n onTouched = () => {};\n\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n registerOnChange(fn: (p: any) => {}) {\n this.onChange = (valueString: string) => {\n // View -> Model\n this.value = this.getOptionValue(valueString);\n fn(this.value);\n // fn(valueString);\n };\n }\n setDisabledState(isDisabled: boolean): void {\n this.setProperty('disabled', isDisabled);\n }\n protected setProperty(key: string, value: any): void {\n // if (this._elementRef) {\n // this._renderer.setProperty(this._elementRef.nativeElement, key, value);\n // }\n if (this.selectBox.selectBox) {\n this._renderer.setProperty(this.selectBox.selectBox.nativeElement, key, value);\n }\n }\n\n @HostListener('change', ['$event']) hostOnChange(ev: InputEvent) {\n this.onChange((<any>ev.target).value);\n }\n\n @HostListener('blur', ['$event']) hostBlur(ev: Event) {\n this.onTouched();\n }\n\n value: any;\n optionMap = new Map<string, any>();\n idCounter = 0;\n\n private compareWithFunction: (value1: any, value2: any) => boolean = Object.is;\n @Input() set compareWith(value: (value1: any, value2: any) => boolean) {\n if (typeof value !== 'function') {\n throw new Error('compareWith must be a function');\n }\n this.compareWithFunction = value;\n }\n\n buildValueString(id: string | null, value: any) {\n if (id == null) {\n return `${value}`;\n }\n\n if (value && (typeof value === 'object')) {\n value = 'Object';\n }\n\n return `${id}: ${value}`.slice(0, 50);\n }\n\n extractId(valueString: string) {\n return valueString.split(':')[0];\n }\n\n writeValue(value: any) {\n this.value = value;\n // console.log(`WriteValue ${this.selectBox.identifier}`, value);\n\n const id = this.getOptionId(value);\n const valueString = this.buildValueString(id, value);\n this.setProperty('value', valueString);\n }\n\n registerOption() {\n return (this.idCounter++).toString();\n }\n\n getOptionId(value: any) {\n for (const id of Array.from(this.optionMap.keys())) {\n if (this.compareWithFunction(this.optionMap.get(id), value)) {\n return id;\n }\n }\n\n // This shouldn't happen\n // debugger;\n \n return null;\n }\n\n getOptionValue(valueString: string) {\n const id = this.extractId(valueString);\n return this.optionMap.has(id) ? this.optionMap.get(id) : valueString;\n }\n}\n\n@Directive({\n selector: 'option',\n standalone: false,\n})\nexport class BsSelectOption implements OnDestroy {\n constructor(private element: ElementRef, private renderer: Renderer2, @Optional() @Host() private select: BsSelectValueAccessor) {\n if (this.select) {\n this.id = this.select.registerOption();\n }\n }\n \n id!: string;\n\n @Input('ngValue') set ngValue(value: any) {\n if (this.select) {\n this.select.optionMap.set(this.id, value);\n this.setElementValue(this.select.buildValueString(this.id, value));\n // console.log('ngValue', this.select.value);\n this.select.writeValue(this.select.value);\n }\n }\n\n @Input('value') set value(value: any) {\n this.setElementValue(value);\n if (this.select) {\n this.select.writeValue(this.select.value);\n }\n }\n\n setElementValue(value: string) {\n // console.log('setElementValue', value);\n // const nativeSelect = this.select['selectBox'].selectBox;\n // if (nativeSelect) {\n // this.renderer.setProperty(nativeSelect.nativeElement, 'value', value);\n // }\n this.renderer.setProperty(this.element.nativeElement, 'value', value);\n }\n\n ngOnDestroy() {\n if (this.select) {\n this.select.optionMap.delete(this.id);\n this.select.writeValue(this.select.value);\n }\n }\n}\n\n// @Directive({\n// selector: 'bs-select',\n// providers: [{\n// provide: NG_VALUE_ACCESSOR,\n// useExisting: forwardRef(() => BsSelectValueAccessor),\n// multi: true,\n// }],\n// })\n// export class BsSelectValueAccessor implements ControlValueAccessor, AfterViewInit, OnDestroy {\n// constructor(private host: BsSelectComponent) {}\n\n// destroyed$ = new Subject();\n\n// onValueChange?: (value: any) => void;\n// onTouched?: () => void;\n\n// //#region Lifecycle hooks\n// ngAfterViewInit() {\n// fromEvent(this.host.selectBox.nativeElement, 'change')\n// .pipe(takeUntil(this.destroyed$))\n// .subscribe((ev) => {\n// if (this.onValueChange) {\n// const val = (<HTMLSelectElement>ev.target).value;\n// console.log('selected', val);\n// this.onValueChange(val);\n// }\n// });\n// }\n\n// ngOnDestroy() {\n// this.destroyed$.next(true);\n// }\n// //#endregion\n\n// @Input('ngValue') set ngValue(value: any) {\n// if (this.host) {\n// this.host.opt\n// }\n// }\n\n// //#region OptionId mapping\n// private compareWithFunction: (value1: any, value2: any) => boolean = Object.is;\n// private optionMap = new Map<string, any>();\n// @Input() public set compareWith(fn: (value1: any, value2: any) => boolean) {\n// if (typeof fn !== 'function') {\n// throw new Error('compareWith must be a function');\n// }\n// this.compareWithFunction = fn;\n// }\n\n// private getOptionId(value: any) {\n// for (const id of Array.from(this.optionMap.keys())) {\n// if (this.compareWith(this.optionMap.get(id), value)) {\n// return id;\n// }\n// }\n// return null;\n// }\n\n// private getOptionValue(valueString: string) {\n// const id = this.extractId(valueString);\n// return this.optionMap.has(id) ? this.optionMap.get(id) : valueString;\n// }\n\n// private extractId(valueString: string) {\n// return valueString.split(':')[0];\n// }\n// //#endregion\n\n// //#region ControlValueAccessor implementation\n// registerOnChange(fn: (_: any) => void) {\n// this.onValueChange = (valueString: string) => {\n// this.value = this.getOptionValue(valueString);\n// fn(this.value);\n// };\n// }\n \n// registerOnTouched(fn: () => void) {\n// this.onTouched = fn;\n// }\n\n// value: any;\n// writeValue(value: any) {\n// this.value = value;\n// if (this.host.selectBox) {\n// // this.host.selectBox.nativeElement.selectedIndex = this.host.selectBox.nativeElement.options.item();\n// }\n// }\n\n// setDisabledState(isDisabled: boolean) {\n// if (this.host.selectBox) {\n// this.host.selectBox.nativeElement.disabled = isDisabled;\n// }\n// }\n// //#endregion\n\n// }\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsSelectComponent } from './component/select.component';\nimport { BsSelectValueAccessor, BsSelectOption } from './value-accessors/select-value-accessor';\n\n@NgModule({\n declarations: [\n BsSelectComponent,\n BsSelectValueAccessor,\n BsSelectOption\n ],\n imports: [CommonModule],\n exports: [\n BsSelectComponent,\n BsSelectValueAccessor,\n BsSelectOption\n ],\n})\nexport class BsSelectModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.BsSelectComponent"],"mappings":";;;;;;;MAUa,iBAAiB,CAAA;AAC5B,IAAA,WAAA,CAAoB,QAAmB,EAAA;QAAnB,IAAA,CAAA,QAAQ,GAAR,QAAQ;;QAqBZ,IAAA,CAAA,UAAU,GAAG,CAAC;;AAO9B,QAAA,IAAA,CAAA,KAAK,GAAG,IAAI,eAAe,CAAe,IAAI,CAAC;;;AAU/C,QAAA,IAAA,CAAA,SAAS,GAAG,IAAI,eAAe,CAAU,KAAK,CAAC;;;AAU/C,QAAA,IAAA,CAAA,cAAc,GAAG,IAAI,eAAe,CAAgB,IAAI,CAAC;AA/CvD,QAAA,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,KAAI;YAC7C,QAAQ,IAAI;AACV,gBAAA,KAAK,IAAI;AACT,gBAAA,KAAK,IAAI;oBACP,OAAO,CAAA,YAAA,EAAe,IAAI,CAAA,CAAE;AAC9B,gBAAA;AACE,oBAAA,OAAO,IAAI;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D,qBAAA;oBACD,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,OAAO,EAAE;wBACP,iBAAiB;wBACjB,qBAAqB;wBACrB;AACD,qBAAA;AACF,iBAAA;;;ACjBD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-select.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/select/src/component/select.component.ts","../../../../libs/mintplayer-ng-bootstrap/select/src/component/select.component.html","../../../../libs/mintplayer-ng-bootstrap/select/src/value-accessors/select-value-accessor.ts","../../../../libs/mintplayer-ng-bootstrap/select/src/select.module.ts","../../../../libs/mintplayer-ng-bootstrap/select/mintplayer-ng-bootstrap-select.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, effect, ElementRef, inject, input, Renderer2, ViewChild } from '@angular/core';\nimport { BsSelectSize } from '../types/select-size';\n\n@Component({\n selector: 'bs-select',\n templateUrl: './select.component.html',\n styleUrls: ['./select.component.scss'],\n standalone: false,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsSelectComponent {\n private renderer = inject(Renderer2);\n\n constructor() {\n effect(() => {\n const disabled = this.disabled();\n if (this.selectBox) {\n this.renderer.setProperty(this.selectBox.nativeElement, 'disabled', disabled);\n }\n });\n }\n\n // For debugging purposes\n identifier = input(0);\n\n @ViewChild('selectBox') selectBox!: ElementRef<HTMLSelectElement>;\n\n size = input<BsSelectSize>('md');\n multiple = input<boolean>(false);\n numberVisible = input<number | null>(null);\n disabled = input<boolean>(false);\n\n sizeClass = computed(() => {\n const size = this.size();\n switch (size) {\n case 'sm':\n case 'lg':\n return `form-select-${size}`;\n default:\n return null;\n }\n });\n\n multipleValue = computed(() => {\n if (this.multiple()) {\n return true;\n } else {\n return null;\n }\n });\n}\n","<select class=\"form-select\" #selectBox [class]=\"sizeClass()\" [attr.multiple]=\"multipleValue()\" [attr.size]=\"numberVisible()\" aria-label=\"Default select example\">\n <ng-content></ng-content>\n</select>\n","import { Directive, ElementRef, forwardRef, Host, HostListener, inject, Input, OnDestroy, Optional, Renderer2 } from \"@angular/core\";\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from \"@angular/forms\";\nimport { BsSelectComponent } from \"../component/select.component\";\n\n@Directive({\n selector: 'bs-select',\n standalone: false,\n providers: [{\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => BsSelectValueAccessor),\n multi: true,\n }],\n})\nexport class BsSelectValueAccessor implements ControlValueAccessor {\n private _renderer = inject(Renderer2);\n private _elementRef = inject(ElementRef);\n private selectBox = inject(BsSelectComponent);\n\n onChange = (_: any) => {};\n onTouched = () => {};\n\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n registerOnChange(fn: (p: any) => {}) {\n this.onChange = (valueString: string) => {\n // View -> Model\n this.value = this.getOptionValue(valueString);\n fn(this.value);\n // fn(valueString);\n };\n }\n setDisabledState(isDisabled: boolean): void {\n this.setProperty('disabled', isDisabled);\n }\n protected setProperty(key: string, value: any): void {\n // if (this._elementRef) {\n // this._renderer.setProperty(this._elementRef.nativeElement, key, value);\n // }\n if (this.selectBox.selectBox) {\n this._renderer.setProperty(this.selectBox.selectBox.nativeElement, key, value);\n }\n }\n\n @HostListener('change', ['$event']) hostOnChange(event: Event) {\n this.onChange((<any>event.target).value);\n }\n\n @HostListener('blur', ['$event']) hostBlur(ev: Event) {\n this.onTouched();\n }\n\n value: any;\n optionMap = new Map<string, any>();\n idCounter = 0;\n\n private compareWithFunction: (value1: any, value2: any) => boolean = Object.is;\n @Input() set compareWith(value: (value1: any, value2: any) => boolean) {\n if (typeof value !== 'function') {\n throw new Error('compareWith must be a function');\n }\n this.compareWithFunction = value;\n }\n\n buildValueString(id: string | null, value: any) {\n if (id == null) {\n return `${value}`;\n }\n\n if (value && (typeof value === 'object')) {\n value = 'Object';\n }\n\n return `${id}: ${value}`.slice(0, 50);\n }\n\n extractId(valueString: string) {\n return valueString.split(':')[0];\n }\n\n writeValue(value: any) {\n this.value = value;\n // console.log(`WriteValue ${this.selectBox.identifier}`, value);\n\n const id = this.getOptionId(value);\n const valueString = this.buildValueString(id, value);\n this.setProperty('value', valueString);\n }\n\n registerOption() {\n return (this.idCounter++).toString();\n }\n\n getOptionId(value: any) {\n for (const id of Array.from(this.optionMap.keys())) {\n if (this.compareWithFunction(this.optionMap.get(id), value)) {\n return id;\n }\n }\n\n // This shouldn't happen\n // debugger;\n \n return null;\n }\n\n getOptionValue(valueString: string) {\n const id = this.extractId(valueString);\n return this.optionMap.has(id) ? this.optionMap.get(id) : valueString;\n }\n}\n\n@Directive({\n selector: 'option',\n standalone: false,\n})\nexport class BsSelectOption implements OnDestroy {\n private element = inject(ElementRef);\n private renderer = inject(Renderer2);\n private select = inject(BsSelectValueAccessor, { optional: true, host: true });\n\n constructor() {\n if (this.select) {\n this.id = this.select.registerOption();\n }\n }\n \n id!: string;\n\n @Input('ngValue') set ngValue(value: any) {\n if (this.select) {\n this.select.optionMap.set(this.id, value);\n this.setElementValue(this.select.buildValueString(this.id, value));\n // console.log('ngValue', this.select.value);\n this.select.writeValue(this.select.value);\n }\n }\n\n @Input('value') set value(value: any) {\n this.setElementValue(value);\n if (this.select) {\n this.select.writeValue(this.select.value);\n }\n }\n\n setElementValue(value: string) {\n // console.log('setElementValue', value);\n // const nativeSelect = this.select['selectBox'].selectBox;\n // if (nativeSelect) {\n // this.renderer.setProperty(nativeSelect.nativeElement, 'value', value);\n // }\n this.renderer.setProperty(this.element.nativeElement, 'value', value);\n }\n\n ngOnDestroy() {\n if (this.select) {\n this.select.optionMap.delete(this.id);\n this.select.writeValue(this.select.value);\n }\n }\n}\n\n// @Directive({\n// selector: 'bs-select',\n// providers: [{\n// provide: NG_VALUE_ACCESSOR,\n// useExisting: forwardRef(() => BsSelectValueAccessor),\n// multi: true,\n// }],\n// })\n// export class BsSelectValueAccessor implements ControlValueAccessor, AfterViewInit, OnDestroy {\n// constructor(private host: BsSelectComponent) {}\n\n// destroyed$ = new Subject();\n\n// onValueChange?: (value: any) => void;\n// onTouched?: () => void;\n\n// //#region Lifecycle hooks\n// ngAfterViewInit() {\n// fromEvent(this.host.selectBox.nativeElement, 'change')\n// .pipe(takeUntil(this.destroyed$))\n// .subscribe((ev) => {\n// if (this.onValueChange) {\n// const val = (<HTMLSelectElement>ev.target).value;\n// console.log('selected', val);\n// this.onValueChange(val);\n// }\n// });\n// }\n\n// ngOnDestroy() {\n// this.destroyed$.next(true);\n// }\n// //#endregion\n\n// @Input('ngValue') set ngValue(value: any) {\n// if (this.host) {\n// this.host.opt\n// }\n// }\n\n// //#region OptionId mapping\n// private compareWithFunction: (value1: any, value2: any) => boolean = Object.is;\n// private optionMap = new Map<string, any>();\n// @Input() public set compareWith(fn: (value1: any, value2: any) => boolean) {\n// if (typeof fn !== 'function') {\n// throw new Error('compareWith must be a function');\n// }\n// this.compareWithFunction = fn;\n// }\n\n// private getOptionId(value: any) {\n// for (const id of Array.from(this.optionMap.keys())) {\n// if (this.compareWith(this.optionMap.get(id), value)) {\n// return id;\n// }\n// }\n// return null;\n// }\n\n// private getOptionValue(valueString: string) {\n// const id = this.extractId(valueString);\n// return this.optionMap.has(id) ? this.optionMap.get(id) : valueString;\n// }\n\n// private extractId(valueString: string) {\n// return valueString.split(':')[0];\n// }\n// //#endregion\n\n// //#region ControlValueAccessor implementation\n// registerOnChange(fn: (_: any) => void) {\n// this.onValueChange = (valueString: string) => {\n// this.value = this.getOptionValue(valueString);\n// fn(this.value);\n// };\n// }\n \n// registerOnTouched(fn: () => void) {\n// this.onTouched = fn;\n// }\n\n// value: any;\n// writeValue(value: any) {\n// this.value = value;\n// if (this.host.selectBox) {\n// // this.host.selectBox.nativeElement.selectedIndex = this.host.selectBox.nativeElement.options.item();\n// }\n// }\n\n// setDisabledState(isDisabled: boolean) {\n// if (this.host.selectBox) {\n// this.host.selectBox.nativeElement.disabled = isDisabled;\n// }\n// }\n// //#endregion\n\n// }\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsSelectComponent } from './component/select.component';\nimport { BsSelectValueAccessor, BsSelectOption } from './value-accessors/select-value-accessor';\n\n@NgModule({\n declarations: [\n BsSelectComponent,\n BsSelectValueAccessor,\n BsSelectOption\n ],\n imports: [CommonModule],\n exports: [\n BsSelectComponent,\n BsSelectValueAccessor,\n BsSelectOption\n ],\n})\nexport class BsSelectModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAUa,iBAAiB,CAAA;AAG5B,IAAA,WAAA,GAAA;AAFQ,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC;;AAYpC,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAC,CAAC,sDAAC;AAIrB,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAe,IAAI,gDAAC;AAChC,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,oDAAC;AAChC,QAAA,IAAA,CAAA,aAAa,GAAG,KAAK,CAAgB,IAAI,yDAAC;AAC1C,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,oDAAC;AAEhC,QAAA,IAAA,CAAA,SAAS,GAAG,QAAQ,CAAC,MAAK;AACxB,YAAA,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,EAAE;YACxB,QAAQ,IAAI;AACV,gBAAA,KAAK,IAAI;AACT,gBAAA,KAAK,IAAI;oBACP,OAAO,CAAA,YAAA,EAAe,IAAI,CAAA,CAAE;AAC9B,gBAAA;AACE,oBAAA,OAAO,IAAI;;AAEjB,QAAA,CAAC,qDAAC;AAEF,QAAA,IAAA,CAAA,aAAa,GAAG,QAAQ,CAAC,MAAK;AAC5B,YAAA,IAAI,IAAI,CAAC,QAAQ,EAAE,EAAE;AACnB,gBAAA,OAAO,IAAI;YACb;iBAAO;AACL,gBAAA,OAAO,IAAI;YACb;AACF,QAAA,CAAC,yDAAC;QAnCA,MAAM,CAAC,MAAK;AAC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