@mintplayer/ng-bootstrap 15.16.2 → 15.17.1
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/README.md +7 -7
- package/_bootstrap.scss +63 -63
- package/accordion/index.d.ts +1 -1
- package/accordion/src/accordion/accordion.component.d.ts +10 -10
- package/accordion/src/accordion-tab/accordion-tab.component.d.ts +17 -17
- package/accordion/src/accordion-tab-header/accordion-tab-header.component.d.ts +9 -9
- package/accordion/src/accordion.module.d.ts +10 -10
- package/accordion/src/index.d.ts +4 -4
- package/alert/index.d.ts +1 -1
- package/alert/src/alert/alert.component.d.ts +15 -15
- package/alert/src/alert-close/alert-close.component.d.ts +9 -9
- package/alert/src/alert.module.d.ts +9 -9
- package/alert/src/index.d.ts +3 -3
- package/badge/index.d.ts +1 -1
- package/badge/src/badge.component.d.ts +15 -15
- package/badge/src/badge.module.d.ts +8 -8
- package/badge/src/index.d.ts +2 -2
- package/breadcrumb/index.d.ts +1 -1
- package/breadcrumb/src/breadcrumb/breadcrumb.component.d.ts +8 -8
- package/breadcrumb/src/breadcrumb-item/breadcrumb-item.component.d.ts +9 -9
- package/breadcrumb/src/breadcrumb.module.d.ts +9 -9
- package/breadcrumb/src/index.d.ts +3 -3
- package/button-group/index.d.ts +1 -1
- package/button-group/src/button-group/button-group.component.d.ts +8 -8
- package/button-group/src/button-group.module.d.ts +8 -8
- package/button-group/src/index.d.ts +2 -2
- package/button-type/index.d.ts +1 -1
- package/button-type/src/button-type/button-type.directive.d.ts +9 -9
- package/button-type/src/button-type/button-type.module.d.ts +8 -8
- package/button-type/src/index.d.ts +2 -2
- package/calendar/index.d.ts +1 -1
- package/calendar/src/calendar.component.d.ts +26 -26
- package/calendar/src/calendar.module.d.ts +11 -11
- package/calendar/src/index.d.ts +2 -2
- package/calendar-month/index.d.ts +1 -1
- package/calendar-month/src/index.d.ts +3 -3
- package/calendar-month/src/interfaces/date-day-of-month.d.ts +5 -5
- package/calendar-month/src/interfaces/first-and-last-date.d.ts +4 -4
- package/calendar-month/src/interfaces/index.d.ts +4 -4
- package/calendar-month/src/interfaces/week.d.ts +5 -5
- package/calendar-month/src/interfaces/weekday.d.ts +4 -4
- package/calendar-month/src/pipes/index.d.ts +2 -2
- package/calendar-month/src/pipes/month-name/index.d.ts +2 -2
- package/calendar-month/src/pipes/month-name/month-name.module.d.ts +8 -8
- package/calendar-month/src/pipes/month-name/month-name.pipe.d.ts +7 -7
- package/calendar-month/src/pipes/weekday-name/index.d.ts +2 -2
- package/calendar-month/src/pipes/weekday-name/weekday-name.module.d.ts +8 -8
- package/calendar-month/src/pipes/weekday-name/weekday-name.pipe.d.ts +7 -7
- package/calendar-month/src/service/calendar-month.service.d.ts +18 -18
- package/card/index.d.ts +1 -1
- package/card/src/card/card.component.d.ts +5 -5
- package/card/src/card-header/card-header.component.d.ts +5 -5
- package/card/src/card.module.d.ts +9 -9
- package/card/src/index.d.ts +3 -3
- package/carousel/index.d.ts +1 -1
- package/carousel/src/carousel/carousel.component.d.ts +25 -26
- package/carousel/src/carousel-image/carousel-image.directive.d.ts +10 -9
- package/carousel/src/carousel.module.d.ts +11 -10
- package/carousel/src/index.d.ts +3 -3
- package/close/index.d.ts +1 -1
- package/close/src/close.component.d.ts +10 -10
- package/close/src/close.module.d.ts +8 -8
- package/close/src/index.d.ts +2 -2
- package/code-snippet/index.d.ts +1 -1
- package/code-snippet/src/code-snippet.component.d.ts +14 -14
- package/code-snippet/src/code-snippet.module.d.ts +11 -11
- package/code-snippet/src/index.d.ts +2 -2
- package/context-menu/index.d.ts +1 -1
- package/context-menu/src/context-menu.directive.d.ts +18 -18
- package/context-menu/src/context-menu.module.d.ts +10 -10
- package/context-menu/src/index.d.ts +2 -2
- package/copy/index.d.ts +1 -1
- package/copy/src/copy.directive.d.ts +11 -11
- package/copy/src/copy.module.d.ts +8 -8
- package/copy/src/index.d.ts +2 -2
- package/datatable/index.d.ts +1 -1
- package/datatable/src/datatable/datatable.component.d.ts +19 -19
- package/datatable/src/datatable-column/datatable-column-metadata.d.ts +4 -4
- package/datatable/src/datatable-column/datatable-column.directive.d.ts +10 -10
- package/datatable/src/datatable-column/index.d.ts +2 -2
- package/datatable/src/datatable-settings.d.ts +15 -15
- package/datatable/src/datatable.module.d.ts +13 -13
- package/datatable/src/index.d.ts +5 -5
- package/datatable/src/row-template/row-template.directive.d.ts +9 -9
- package/datepicker/index.d.ts +1 -1
- package/datepicker/src/datepicker.component.d.ts +16 -16
- package/datepicker/src/datepicker.module.d.ts +12 -12
- package/datepicker/src/index.d.ts +2 -2
- package/dropdown/index.d.ts +1 -1
- package/dropdown/src/dropdown/dropdown.directive.d.ts +23 -23
- package/dropdown/src/dropdown-menu/dropdown-menu.directive.d.ts +23 -23
- package/dropdown/src/dropdown-toggle/dropdown-toggle.directive.d.ts +11 -11
- package/dropdown/src/dropdown.module.d.ts +13 -13
- package/dropdown/src/index.d.ts +4 -4
- package/dropdown-divider/index.d.ts +1 -0
- package/dropdown-divider/src/dropdown-divider.directive.d.ts +6 -0
- package/dropdown-divider/src/dropdown-divider.module.d.ts +8 -0
- package/dropdown-divider/src/index.d.ts +2 -0
- package/dropdown-menu/index.d.ts +1 -1
- package/dropdown-menu/src/dropdown-item/dropdown-item.component.d.ts +7 -7
- package/dropdown-menu/src/dropdown-menu/dropdown-menu.component.d.ts +14 -14
- package/dropdown-menu/src/dropdown-menu.module.d.ts +10 -9
- package/dropdown-menu/src/index.d.ts +3 -3
- package/enhanced-paste/index.d.ts +1 -1
- package/enhanced-paste/src/directive/enhanced-paste.directive.d.ts +14 -14
- package/enhanced-paste/src/enhanced-paste.module.d.ts +8 -8
- package/enhanced-paste/src/index.d.ts +3 -3
- package/enhanced-paste/src/interfaces/number-overflow.d.ts +5 -5
- package/enum/index.d.ts +1 -1
- package/enum/src/index.d.ts +2 -2
- package/enum/src/interfaces/enum-item.d.ts +4 -4
- package/enum/src/interfaces/index.d.ts +1 -1
- package/enum/src/service/enum.service.d.ts +9 -9
- package/esm2020/accordion/index.mjs +1 -1
- package/esm2020/accordion/mintplayer-ng-bootstrap-accordion.mjs +4 -4
- package/esm2020/accordion/src/accordion/accordion.component.mjs +21 -21
- package/esm2020/accordion/src/accordion-tab/accordion-tab.component.mjs +63 -63
- package/esm2020/accordion/src/accordion-tab-header/accordion-tab-header.component.mjs +20 -20
- package/esm2020/accordion/src/accordion.module.mjs +34 -34
- package/esm2020/accordion/src/index.mjs +5 -5
- package/esm2020/alert/index.mjs +2 -2
- package/esm2020/alert/mintplayer-ng-bootstrap-alert.mjs +4 -4
- package/esm2020/alert/src/alert/alert.component.mjs +41 -41
- package/esm2020/alert/src/alert-close/alert-close.component.mjs +20 -20
- package/esm2020/alert/src/alert.module.mjs +27 -27
- package/esm2020/alert/src/index.mjs +4 -4
- package/esm2020/badge/index.mjs +2 -2
- package/esm2020/badge/mintplayer-ng-bootstrap-badge.mjs +4 -4
- package/esm2020/badge/src/badge.component.mjs +30 -30
- package/esm2020/badge/src/badge.module.mjs +18 -18
- package/esm2020/badge/src/index.mjs +3 -3
- package/esm2020/breadcrumb/index.mjs +2 -2
- package/esm2020/breadcrumb/mintplayer-ng-bootstrap-breadcrumb.mjs +4 -4
- package/esm2020/breadcrumb/src/breadcrumb/breadcrumb.component.mjs +13 -13
- package/esm2020/breadcrumb/src/breadcrumb-item/breadcrumb-item.component.mjs +18 -18
- package/esm2020/breadcrumb/src/breadcrumb.module.mjs +19 -19
- package/esm2020/breadcrumb/src/index.mjs +4 -4
- package/esm2020/button-group/index.mjs +2 -2
- package/esm2020/button-group/mintplayer-ng-bootstrap-button-group.mjs +4 -4
- package/esm2020/button-group/src/button-group/button-group.component.mjs +13 -13
- package/esm2020/button-group/src/button-group.module.mjs +18 -18
- package/esm2020/button-group/src/index.mjs +3 -3
- package/esm2020/button-type/index.mjs +2 -2
- package/esm2020/button-type/mintplayer-ng-bootstrap-button-type.mjs +4 -4
- package/esm2020/button-type/src/button-type/button-type.directive.mjs +30 -30
- package/esm2020/button-type/src/button-type/button-type.module.mjs +24 -24
- package/esm2020/button-type/src/index.mjs +3 -3
- package/esm2020/calendar/index.mjs +2 -2
- package/esm2020/calendar/mintplayer-ng-bootstrap-calendar.mjs +4 -4
- package/esm2020/calendar/src/calendar.component.mjs +105 -105
- package/esm2020/calendar/src/calendar.module.mjs +39 -39
- package/esm2020/calendar/src/index.mjs +3 -3
- package/esm2020/calendar-month/index.mjs +2 -2
- package/esm2020/calendar-month/mintplayer-ng-bootstrap-calendar-month.mjs +4 -4
- package/esm2020/calendar-month/src/index.mjs +4 -4
- package/esm2020/calendar-month/src/interfaces/date-day-of-month.mjs +2 -2
- package/esm2020/calendar-month/src/interfaces/first-and-last-date.mjs +2 -2
- package/esm2020/calendar-month/src/interfaces/index.mjs +5 -5
- package/esm2020/calendar-month/src/interfaces/week.mjs +2 -2
- package/esm2020/calendar-month/src/interfaces/weekday.mjs +2 -2
- package/esm2020/calendar-month/src/pipes/index.mjs +3 -3
- package/esm2020/calendar-month/src/pipes/month-name/index.mjs +3 -3
- package/esm2020/calendar-month/src/pipes/month-name/month-name.module.mjs +24 -24
- package/esm2020/calendar-month/src/pipes/month-name/month-name.pipe.mjs +21 -21
- package/esm2020/calendar-month/src/pipes/weekday-name/index.mjs +3 -3
- package/esm2020/calendar-month/src/pipes/weekday-name/weekday-name.module.mjs +24 -24
- package/esm2020/calendar-month/src/pipes/weekday-name/weekday-name.pipe.mjs +16 -16
- package/esm2020/calendar-month/src/service/calendar-month.service.mjs +94 -94
- package/esm2020/card/index.mjs +2 -2
- package/esm2020/card/mintplayer-ng-bootstrap-card.mjs +4 -4
- package/esm2020/card/src/card/card.component.mjs +11 -11
- package/esm2020/card/src/card-header/card-header.component.mjs +11 -11
- package/esm2020/card/src/card.module.mjs +27 -27
- package/esm2020/card/src/index.mjs +4 -4
- package/esm2020/carousel/index.mjs +2 -2
- package/esm2020/carousel/mintplayer-ng-bootstrap-carousel.mjs +4 -4
- package/esm2020/carousel/src/carousel/carousel.component.mjs +107 -109
- package/esm2020/carousel/src/carousel-image/carousel-image.directive.mjs +21 -17
- package/esm2020/carousel/src/carousel.module.mjs +37 -33
- package/esm2020/carousel/src/index.mjs +4 -4
- package/esm2020/close/index.mjs +2 -2
- package/esm2020/close/mintplayer-ng-bootstrap-close.mjs +4 -4
- package/esm2020/close/src/close.component.mjs +21 -21
- package/esm2020/close/src/close.module.mjs +18 -18
- package/esm2020/close/src/index.mjs +3 -3
- package/esm2020/code-snippet/index.mjs +2 -2
- package/esm2020/code-snippet/mintplayer-ng-bootstrap-code-snippet.mjs +4 -4
- package/esm2020/code-snippet/src/code-snippet.component.mjs +34 -34
- package/esm2020/code-snippet/src/code-snippet.module.mjs +36 -36
- package/esm2020/code-snippet/src/index.mjs +3 -3
- package/esm2020/context-menu/index.mjs +2 -2
- package/esm2020/context-menu/mintplayer-ng-bootstrap-context-menu.mjs +4 -4
- package/esm2020/context-menu/src/context-menu.directive.mjs +84 -84
- package/esm2020/context-menu/src/context-menu.module.mjs +34 -34
- package/esm2020/context-menu/src/index.mjs +3 -3
- package/esm2020/copy/index.mjs +2 -2
- package/esm2020/copy/mintplayer-ng-bootstrap-copy.mjs +4 -4
- package/esm2020/copy/src/copy.directive.mjs +45 -45
- package/esm2020/copy/src/copy.module.mjs +24 -24
- package/esm2020/copy/src/index.mjs +3 -3
- package/esm2020/datatable/index.mjs +2 -2
- package/esm2020/datatable/mintplayer-ng-bootstrap-datatable.mjs +4 -4
- package/esm2020/datatable/src/datatable/datatable.component.mjs +57 -57
- package/esm2020/datatable/src/datatable-column/datatable-column-metadata.mjs +2 -2
- package/esm2020/datatable/src/datatable-column/datatable-column.directive.mjs +19 -19
- package/esm2020/datatable/src/datatable-column/index.mjs +3 -3
- package/esm2020/datatable/src/datatable-settings.mjs +37 -37
- package/esm2020/datatable/src/datatable.module.mjs +46 -46
- package/esm2020/datatable/src/index.mjs +6 -6
- package/esm2020/datatable/src/row-template/row-template.directive.mjs +19 -19
- package/esm2020/datepicker/index.mjs +2 -2
- package/esm2020/datepicker/mintplayer-ng-bootstrap-datepicker.mjs +4 -4
- package/esm2020/datepicker/src/datepicker.component.mjs +49 -49
- package/esm2020/datepicker/src/datepicker.module.mjs +40 -40
- package/esm2020/datepicker/src/index.mjs +3 -3
- package/esm2020/dropdown/index.mjs +2 -2
- package/esm2020/dropdown/mintplayer-ng-bootstrap-dropdown.mjs +4 -4
- package/esm2020/dropdown/src/dropdown/dropdown.directive.mjs +68 -68
- package/esm2020/dropdown/src/dropdown-menu/dropdown-menu.directive.mjs +114 -114
- package/esm2020/dropdown/src/dropdown-toggle/dropdown-toggle.directive.mjs +31 -31
- package/esm2020/dropdown/src/dropdown.module.mjs +43 -43
- package/esm2020/dropdown/src/index.mjs +5 -5
- package/esm2020/dropdown-divider/index.mjs +2 -0
- package/esm2020/dropdown-divider/mintplayer-ng-bootstrap-dropdown-divider.mjs +5 -0
- package/esm2020/dropdown-divider/src/dropdown-divider.directive.mjs +19 -0
- package/esm2020/dropdown-divider/src/dropdown-divider.module.mjs +18 -0
- package/esm2020/dropdown-divider/src/index.mjs +3 -0
- package/esm2020/dropdown-menu/index.mjs +2 -2
- package/esm2020/dropdown-menu/mintplayer-ng-bootstrap-dropdown-menu.mjs +4 -4
- package/esm2020/dropdown-menu/src/dropdown-item/dropdown-item.component.mjs +19 -19
- package/esm2020/dropdown-menu/src/dropdown-menu/dropdown-menu.component.mjs +42 -42
- package/esm2020/dropdown-menu/src/dropdown-menu.module.mjs +26 -19
- package/esm2020/dropdown-menu/src/index.mjs +4 -4
- package/esm2020/enhanced-paste/index.mjs +2 -2
- package/esm2020/enhanced-paste/mintplayer-ng-bootstrap-enhanced-paste.mjs +4 -4
- package/esm2020/enhanced-paste/src/directive/enhanced-paste.directive.mjs +58 -58
- package/esm2020/enhanced-paste/src/enhanced-paste.module.mjs +24 -24
- package/esm2020/enhanced-paste/src/index.mjs +4 -4
- package/esm2020/enhanced-paste/src/interfaces/number-overflow.mjs +2 -2
- package/esm2020/enum/index.mjs +2 -2
- package/esm2020/enum/mintplayer-ng-bootstrap-enum.mjs +4 -4
- package/esm2020/enum/src/index.mjs +3 -3
- package/esm2020/enum/src/interfaces/enum-item.mjs +2 -2
- package/esm2020/enum/src/interfaces/index.mjs +1 -1
- package/esm2020/enum/src/service/enum.service.mjs +31 -31
- package/esm2020/file-upload/index.mjs +2 -2
- package/esm2020/file-upload/mintplayer-ng-bootstrap-file-upload.mjs +4 -4
- package/esm2020/file-upload/src/component/file-upload.component.mjs +86 -86
- package/esm2020/file-upload/src/directive/file-upload-template.directive.mjs +18 -18
- package/esm2020/file-upload/src/file-upload.mjs +2 -2
- package/esm2020/file-upload/src/file-upload.module.mjs +50 -50
- package/esm2020/file-upload/src/index.mjs +6 -6
- package/esm2020/file-upload/src/pipes/format-bytes/format-bytes.pipe.mjs +23 -23
- package/esm2020/file-upload/src/pipes/index.mjs +1 -1
- package/esm2020/floating-labels/index.mjs +2 -2
- package/esm2020/floating-labels/mintplayer-ng-bootstrap-floating-labels.mjs +4 -4
- package/esm2020/floating-labels/src/floating-labels/floating-label/floating-label.component.mjs +20 -20
- package/esm2020/floating-labels/src/floating-labels/floating-labels.module.mjs +18 -18
- package/esm2020/floating-labels/src/index.mjs +3 -3
- package/esm2020/for/index.mjs +2 -2
- package/esm2020/for/mintplayer-ng-bootstrap-for.mjs +4 -4
- package/esm2020/for/src/for.directive.mjs +38 -38
- package/esm2020/for/src/for.module.mjs +24 -24
- package/esm2020/for/src/index.mjs +3 -3
- package/esm2020/form/index.mjs +2 -2
- package/esm2020/form/mintplayer-ng-bootstrap-form.mjs +4 -4
- package/esm2020/form/src/form/form.component.mjs +20 -20
- package/esm2020/form/src/form-control/form-control.directive.mjs +19 -19
- package/esm2020/form/src/form-group/form-group.directive.mjs +19 -19
- package/esm2020/form/src/form.module.mjs +20 -20
- package/esm2020/form/src/index.mjs +5 -5
- package/esm2020/grid/index.mjs +2 -2
- package/esm2020/grid/mintplayer-ng-bootstrap-grid.mjs +4 -4
- package/esm2020/grid/src/component/grid.component.mjs +32 -32
- package/esm2020/grid/src/directives/col-form-label/col-form-label.directive.mjs +19 -19
- package/esm2020/grid/src/directives/column/column.directive.mjs +56 -56
- package/esm2020/grid/src/directives/index.mjs +4 -4
- package/esm2020/grid/src/directives/row/row.directive.mjs +19 -19
- package/esm2020/grid/src/grid.module.mjs +21 -21
- package/esm2020/grid/src/index.mjs +5 -5
- package/esm2020/grid/src/interfaces/column-definition.mjs +2 -2
- package/esm2020/grid/src/interfaces/index.mjs +1 -1
- package/esm2020/has-overlay/index.mjs +1 -1
- package/esm2020/has-overlay/mintplayer-ng-bootstrap-has-overlay.mjs +4 -4
- package/esm2020/has-overlay/src/has-overlay/has-overlay.component.mjs +11 -11
- package/esm2020/has-overlay/src/has-overlay/has-overlay.module.mjs +18 -18
- package/esm2020/has-overlay/src/index.mjs +3 -3
- package/esm2020/icon/index.mjs +3 -3
- package/esm2020/icon/mintplayer-ng-bootstrap-icon.mjs +4 -4
- package/esm2020/icon/src/icon.component.mjs +34 -34
- package/esm2020/icon/src/icon.module.mjs +18 -18
- package/esm2020/index.mjs +5 -5
- package/esm2020/input-group/index.mjs +1 -1
- package/esm2020/input-group/mintplayer-ng-bootstrap-input-group.mjs +4 -4
- package/esm2020/input-group/src/index.mjs +3 -3
- package/esm2020/input-group/src/input-group/input-group.component.mjs +11 -11
- package/esm2020/input-group/src/input-group.module.mjs +18 -18
- package/esm2020/lazy-loading/index.mjs +1 -1
- package/esm2020/lazy-loading/mintplayer-ng-bootstrap-lazy-loading.mjs +4 -4
- package/esm2020/lazy-loading/src/index.mjs +3 -3
- package/esm2020/lazy-loading/src/lazy-load/lazy-load.directive.mjs +32 -32
- package/esm2020/lazy-loading/src/lazy-loading.module.mjs +24 -24
- package/esm2020/lib/enums/color.enum.mjs +15 -15
- package/esm2020/lib/enums/index.mjs +1 -1
- package/esm2020/lib/pipes/font-color/font-color.module.mjs +24 -24
- package/esm2020/lib/pipes/font-color/font-color.pipe.mjs +26 -26
- package/esm2020/lib/pipes/font-color/index.mjs +3 -3
- package/esm2020/lib/pipes/in-list/in-list.module.mjs +24 -24
- package/esm2020/lib/pipes/in-list/in-list.pipe.mjs +16 -16
- package/esm2020/lib/pipes/in-list/index.mjs +3 -3
- package/esm2020/lib/pipes/index.mjs +4 -4
- package/esm2020/lib/pipes/uc-first/index.mjs +3 -3
- package/esm2020/lib/pipes/uc-first/uc-first.module.mjs +24 -24
- package/esm2020/lib/pipes/uc-first/uc-first.pipe.mjs +16 -16
- package/esm2020/lib/providers/development.provider.mjs +8 -8
- package/esm2020/lib/providers/index.mjs +1 -1
- package/esm2020/lib/types/breakpoint.mjs +1 -1
- package/esm2020/lib/types/index.mjs +5 -5
- package/esm2020/lib/types/position.mjs +1 -1
- package/esm2020/lib/types/size.mjs +1 -1
- package/esm2020/lib/types/view-state.type.mjs +1 -1
- package/esm2020/list-group/index.mjs +2 -2
- package/esm2020/list-group/mintplayer-ng-bootstrap-list-group.mjs +4 -4
- package/esm2020/list-group/src/index.mjs +4 -4
- package/esm2020/list-group/src/list-group/list-group.component.mjs +19 -19
- package/esm2020/list-group/src/list-group-item/list-group-item.component.mjs +15 -15
- package/esm2020/list-group/src/list-group.module.mjs +27 -27
- package/esm2020/markdown/index.mjs +6 -6
- package/esm2020/markdown/mintplayer-ng-bootstrap-markdown.mjs +4 -4
- package/esm2020/markdown/src/bold/bold.pipe.mjs +30 -30
- package/esm2020/markdown/src/italic/italic.pipe.mjs +30 -30
- package/esm2020/markdown/src/markdown.module.mjs +39 -39
- package/esm2020/markdown/src/strikethrough/strikethrough.pipe.mjs +30 -30
- package/esm2020/markdown/src/underline/underline.pipe.mjs +30 -30
- package/esm2020/mintplayer-ng-bootstrap.mjs +4 -4
- package/esm2020/modal/index.mjs +2 -2
- package/esm2020/modal/mintplayer-ng-bootstrap-modal.mjs +4 -4
- package/esm2020/modal/src/components/index.mjs +3 -3
- package/esm2020/modal/src/components/modal/modal.component.mjs +21 -21
- package/esm2020/modal/src/components/modal-host/modal-host.component.mjs +83 -83
- package/esm2020/modal/src/directives/index.mjs +6 -6
- package/esm2020/modal/src/directives/modal/modal.directive.mjs +18 -18
- package/esm2020/modal/src/directives/modal-body/modal-body.directive.mjs +19 -19
- package/esm2020/modal/src/directives/modal-close/modal-close.directive.mjs +24 -24
- package/esm2020/modal/src/directives/modal-footer/modal-footer.directive.mjs +19 -19
- package/esm2020/modal/src/directives/modal-header/modal-header.directive.mjs +19 -19
- package/esm2020/modal/src/index.mjs +4 -4
- package/esm2020/modal/src/modal.module.mjs +75 -75
- package/esm2020/modal/src/providers/modal-content.provider.mjs +3 -3
- package/esm2020/modal/src/providers/portal-factory.provider.mjs +3 -3
- package/esm2020/multiselect/index.mjs +2 -2
- package/esm2020/multiselect/mintplayer-ng-bootstrap-multiselect.mjs +4 -4
- package/esm2020/multiselect/src/component/multiselect.component.mjs +40 -40
- package/esm2020/multiselect/src/directives/button-template/button-template.directive.mjs +18 -18
- package/esm2020/multiselect/src/directives/footer-template/footer-template.directive.mjs +18 -18
- package/esm2020/multiselect/src/directives/header-template/header-template.directive.mjs +18 -18
- package/esm2020/multiselect/src/directives/index.mjs +4 -4
- package/esm2020/multiselect/src/index.mjs +4 -4
- package/esm2020/multiselect/src/multiselect.module.mjs +63 -63
- package/esm2020/navbar/index.mjs +2 -2
- package/esm2020/navbar/mintplayer-ng-bootstrap-navbar.mjs +4 -4
- package/esm2020/navbar/src/dropdown-toggle/dropdown-toggle.directive.mjs +38 -38
- package/esm2020/navbar/src/expand-button/expand-button.directive.mjs +18 -18
- package/esm2020/navbar/src/index.mjs +13 -13
- package/esm2020/navbar/src/nav-link/nav-link.directive.mjs +34 -34
- package/esm2020/navbar/src/navbar/navbar.component.mjs +141 -141
- package/esm2020/navbar/src/navbar-brand/navbar-brand.component.mjs +20 -20
- package/esm2020/navbar/src/navbar-content/navbar-content.directive.mjs +72 -72
- package/esm2020/navbar/src/navbar-dropdown/navbar-dropdown.component.mjs +143 -144
- package/esm2020/navbar/src/navbar-item/navbar-item.component.mjs +104 -104
- package/esm2020/navbar/src/navbar-nav/navbar-nav.component.mjs +69 -69
- package/esm2020/navbar/src/navbar-toggler/navbar-toggler.component.mjs +47 -47
- package/esm2020/navbar/src/navbar.module.mjs +91 -85
- package/esm2020/navigation-lock/index.mjs +2 -2
- package/esm2020/navigation-lock/mintplayer-ng-bootstrap-navigation-lock.mjs +4 -4
- package/esm2020/navigation-lock/src/directive/navigation-lock.directive.mjs +94 -94
- package/esm2020/navigation-lock/src/guard/navigation-lock.guard.mjs +22 -22
- package/esm2020/navigation-lock/src/index.mjs +5 -5
- package/esm2020/navigation-lock/src/interface/has-navigation-lock.mjs +2 -2
- package/esm2020/navigation-lock/src/navigation-lock.module.mjs +28 -28
- package/esm2020/no-noscript/index.mjs +2 -2
- package/esm2020/no-noscript/mintplayer-ng-bootstrap-no-noscript.mjs +4 -4
- package/esm2020/no-noscript/src/index.mjs +3 -3
- package/esm2020/no-noscript/src/no-noscript/no-noscript.directive.mjs +27 -27
- package/esm2020/no-noscript/src/no-noscript.module.mjs +18 -18
- package/esm2020/offcanvas/index.mjs +2 -2
- package/esm2020/offcanvas/mintplayer-ng-bootstrap-offcanvas.mjs +4 -4
- package/esm2020/offcanvas/src/components/index.mjs +5 -5
- package/esm2020/offcanvas/src/components/offcanvas/offcanvas.component.mjs +111 -111
- package/esm2020/offcanvas/src/components/offcanvas-body/offcanvas-body.component.mjs +18 -18
- package/esm2020/offcanvas/src/components/offcanvas-header/offcanvas-header.component.mjs +14 -14
- package/esm2020/offcanvas/src/components/offcanvas-host/offcanvas-host.component.mjs +143 -143
- package/esm2020/offcanvas/src/directives/index.mjs +4 -4
- package/esm2020/offcanvas/src/directives/offcanvas-close/offcanvas-close.directive.mjs +24 -24
- package/esm2020/offcanvas/src/directives/offcanvas-content/offcanvas-content.directive.mjs +18 -18
- package/esm2020/offcanvas/src/directives/offcanvas-push/offcanvas-push.directive.mjs +71 -71
- package/esm2020/offcanvas/src/index.mjs +4 -4
- package/esm2020/offcanvas/src/offcanvas.module.mjs +75 -75
- package/esm2020/offcanvas/src/providers/offcanvas-content.provider.mjs +3 -3
- package/esm2020/offcanvas/src/providers/portal-factory.provider.mjs +3 -3
- package/esm2020/ordinal-number/index.mjs +2 -2
- package/esm2020/ordinal-number/mintplayer-ng-bootstrap-ordinal-number.mjs +4 -4
- package/esm2020/ordinal-number/src/index.mjs +3 -3
- package/esm2020/ordinal-number/src/ordinal-number/ordinal-number.pipe.mjs +29 -29
- package/esm2020/ordinal-number/src/ordinal-number.module.mjs +24 -24
- package/esm2020/pagination/index.mjs +2 -2
- package/esm2020/pagination/mintplayer-ng-bootstrap-pagination.mjs +4 -4
- package/esm2020/pagination/src/component/index.mjs +1 -1
- package/esm2020/pagination/src/component/pagination/pagination.component.mjs +198 -198
- package/esm2020/pagination/src/index.mjs +5 -5
- package/esm2020/pagination/src/interfaces/index.mjs +1 -1
- package/esm2020/pagination/src/interfaces/page-with-selection.mjs +2 -2
- package/esm2020/pagination/src/pagination.module.mjs +24 -24
- package/esm2020/pagination/src/types/index.mjs +1 -1
- package/esm2020/pagination/src/types/page-number.type.mjs +1 -1
- package/esm2020/placeholder/index.mjs +2 -2
- package/esm2020/placeholder/mintplayer-ng-bootstrap-placeholder.mjs +4 -4
- package/esm2020/placeholder/src/index.mjs +4 -4
- package/esm2020/placeholder/src/placeholder/placeholder.component.mjs +26 -26
- package/esm2020/placeholder/src/placeholder-field/placeholder-field.directive.mjs +46 -46
- package/esm2020/placeholder/src/placeholder.module.mjs +19 -19
- package/esm2020/popover/index.mjs +2 -2
- package/esm2020/popover/mintplayer-ng-bootstrap-popover.mjs +4 -4
- package/esm2020/popover/src/component/popover.component.mjs +57 -57
- package/esm2020/popover/src/directives/index.mjs +4 -4
- package/esm2020/popover/src/directives/popover/popover.directive.mjs +132 -132
- package/esm2020/popover/src/directives/popover-body/popover-body.directive.mjs +19 -19
- package/esm2020/popover/src/directives/popover-header/popover-header.directive.mjs +19 -19
- package/esm2020/popover/src/index.mjs +4 -4
- package/esm2020/popover/src/popover.module.mjs +36 -36
- package/esm2020/popover/src/providers/popover-content.provider.mjs +3 -3
- package/esm2020/popover/src/providers/portal-factory.provider.mjs +3 -3
- package/esm2020/progress-bar/index.mjs +2 -2
- package/esm2020/progress-bar/mintplayer-ng-bootstrap-progress-bar.mjs +4 -4
- package/esm2020/progress-bar/src/index.mjs +4 -4
- package/esm2020/progress-bar/src/progress/progress.component.mjs +31 -31
- package/esm2020/progress-bar/src/progress-bar/progress-bar.component.mjs +121 -121
- package/esm2020/progress-bar/src/progress-bar.module.mjs +29 -29
- package/esm2020/range/index.mjs +2 -2
- package/esm2020/range/mintplayer-ng-bootstrap-range.mjs +4 -4
- package/esm2020/range/src/component/range.component.mjs +25 -25
- package/esm2020/range/src/index.mjs +4 -4
- package/esm2020/range/src/range.module.mjs +19 -19
- package/esm2020/range/src/value-accessor/range-value-accessor.mjs +62 -62
- package/esm2020/rating/index.mjs +2 -2
- package/esm2020/rating/mintplayer-ng-bootstrap-rating.mjs +4 -4
- package/esm2020/rating/src/component/rating.component.mjs +72 -72
- package/esm2020/rating/src/index.mjs +3 -3
- package/esm2020/rating/src/rating.module.mjs +24 -24
- package/esm2020/scheduler/index.mjs +2 -2
- package/esm2020/scheduler/mintplayer-ng-bootstrap-scheduler.mjs +4 -4
- package/esm2020/scheduler/src/components/index.mjs +3 -3
- package/esm2020/scheduler/src/components/resource-group-presenter/resource-group-presenter.component.mjs +85 -85
- package/esm2020/scheduler/src/components/scheduler/scheduler.component.mjs +538 -538
- package/esm2020/scheduler/src/constants/available-scales.mjs +12 -12
- package/esm2020/scheduler/src/constants/index.mjs +1 -1
- package/esm2020/scheduler/src/enums/drag-operation.mjs +8 -8
- package/esm2020/scheduler/src/enums/index.mjs +1 -1
- package/esm2020/scheduler/src/enums/scheduler-mode.mjs +6 -6
- package/esm2020/scheduler/src/index.mjs +6 -6
- package/esm2020/scheduler/src/interfaces/drag-operation.mjs +2 -2
- package/esm2020/scheduler/src/interfaces/index.mjs +6 -6
- package/esm2020/scheduler/src/interfaces/preview-event.mjs +2 -2
- package/esm2020/scheduler/src/interfaces/resource-group.mjs +2 -2
- package/esm2020/scheduler/src/interfaces/resource-or-group.mjs +2 -2
- package/esm2020/scheduler/src/interfaces/resource.mjs +2 -2
- package/esm2020/scheduler/src/interfaces/scheduler-event-part.mjs +2 -2
- package/esm2020/scheduler/src/interfaces/scheduler-event-with-parts.mjs +2 -2
- package/esm2020/scheduler/src/interfaces/scheduler-event.mjs +2 -2
- package/esm2020/scheduler/src/interfaces/scheduler-schale.mjs +2 -2
- package/esm2020/scheduler/src/interfaces/scheduler-stamp-with-slots.mjs +2 -2
- package/esm2020/scheduler/src/interfaces/time-slot.mjs +2 -2
- package/esm2020/scheduler/src/interfaces/timeline-options.mjs +2 -2
- package/esm2020/scheduler/src/interfaces/timeline-track.mjs +2 -2
- package/esm2020/scheduler/src/interfaces/week-options.mjs +2 -2
- package/esm2020/scheduler/src/pipes/bs-seconds-timespan.pipe/bs-seconds-timespan.pipe.mjs +16 -16
- package/esm2020/scheduler/src/pipes/bs-seconds-today-offset/bs-seconds-today-offset.pipe.mjs +20 -20
- package/esm2020/scheduler/src/pipes/date-offset/date-offset.pipe.mjs +20 -20
- package/esm2020/scheduler/src/pipes/day-of-week/day-of-week.pipe.mjs +22 -22
- package/esm2020/scheduler/src/scheduler.module.mjs +45 -45
- package/esm2020/scheduler/src/services/timeline/timeline.service.mjs +65 -65
- package/esm2020/scrollspy/index.mjs +2 -2
- package/esm2020/scrollspy/mintplayer-ng-bootstrap-scrollspy.mjs +4 -4
- package/esm2020/scrollspy/src/component/scrollspy.component.mjs +90 -90
- package/esm2020/scrollspy/src/directives/scrollspy.directive.mjs +16 -16
- package/esm2020/scrollspy/src/index.mjs +5 -5
- package/esm2020/scrollspy/src/scrollspy.module.mjs +29 -29
- package/esm2020/scrollspy/src/services/index.mjs +1 -1
- package/esm2020/scrollspy/src/services/scroll-offset/scroll-offset.service.mjs +31 -31
- package/esm2020/select/index.mjs +2 -2
- package/esm2020/select/mintplayer-ng-bootstrap-select.mjs +4 -4
- package/esm2020/select/src/component/select.component.mjs +85 -85
- package/esm2020/select/src/index.mjs +5 -5
- package/esm2020/select/src/select.module.mjs +31 -31
- package/esm2020/select/src/types/index.mjs +1 -1
- package/esm2020/select/src/types/select-size.mjs +1 -1
- package/esm2020/select/src/value-accessors/index.mjs +1 -1
- package/esm2020/select/src/value-accessors/select-value-accessor.mjs +167 -167
- package/esm2020/select2/index.mjs +2 -2
- package/esm2020/select2/mintplayer-ng-bootstrap-select2.mjs +4 -4
- package/esm2020/select2/src/component/select2.component.mjs +85 -85
- package/esm2020/select2/src/directive/item-template.directive.mjs +19 -19
- package/esm2020/select2/src/index.mjs +4 -4
- package/esm2020/select2/src/select2.module.mjs +49 -49
- package/esm2020/snackbar/index.mjs +2 -2
- package/esm2020/snackbar/mintplayer-ng-bootstrap-snackbar.mjs +4 -4
- package/esm2020/snackbar/src/component/snackbar.component.mjs +36 -36
- package/esm2020/snackbar/src/directives/index.mjs +1 -1
- package/esm2020/snackbar/src/directives/snackbar-close/snackbar-close.directive.mjs +27 -27
- package/esm2020/snackbar/src/index.mjs +6 -6
- package/esm2020/snackbar/src/interfaces/index.mjs +1 -1
- package/esm2020/snackbar/src/interfaces/snackbar-animation-meta.mjs +2 -2
- package/esm2020/snackbar/src/providers/snackbar-content.provider.mjs +3 -3
- package/esm2020/snackbar/src/service/snackbar.service.mjs +45 -45
- package/esm2020/snackbar/src/snackbar.module.mjs +43 -43
- package/esm2020/spinner/index.mjs +2 -2
- package/esm2020/spinner/mintplayer-ng-bootstrap-spinner.mjs +4 -4
- package/esm2020/spinner/src/index.mjs +3 -3
- package/esm2020/spinner/src/spinner.component.mjs +43 -43
- package/esm2020/spinner/src/spinner.module.mjs +18 -18
- package/esm2020/tab-control/index.mjs +2 -2
- package/esm2020/tab-control/mintplayer-ng-bootstrap-tab-control.mjs +4 -4
- package/esm2020/tab-control/src/index.mjs +4 -4
- package/esm2020/tab-control/src/tab-control/tab-control.component.mjs +36 -36
- package/esm2020/tab-control/src/tab-control.module.mjs +29 -29
- package/esm2020/tab-control/src/tab-page/tab-page.component.mjs +23 -23
- package/esm2020/table/index.mjs +2 -2
- package/esm2020/table/mintplayer-ng-bootstrap-table.mjs +4 -4
- package/esm2020/table/src/component/table.component.mjs +47 -47
- package/esm2020/table/src/index.mjs +3 -3
- package/esm2020/table/src/table.module.mjs +18 -18
- package/esm2020/timepicker/index.mjs +2 -2
- package/esm2020/timepicker/mintplayer-ng-bootstrap-timepicker.mjs +4 -4
- package/esm2020/timepicker/src/index.mjs +3 -3
- package/esm2020/timepicker/src/timepicker.component.mjs +117 -117
- package/esm2020/timepicker/src/timepicker.module.mjs +60 -60
- package/esm2020/toast/index.mjs +2 -2
- package/esm2020/toast/mintplayer-ng-bootstrap-toast.mjs +4 -4
- package/esm2020/toast/src/components/index.mjs +5 -5
- package/esm2020/toast/src/components/toast/toast.component.mjs +16 -16
- package/esm2020/toast/src/components/toast-body/toast-body.component.mjs +20 -20
- package/esm2020/toast/src/components/toast-container/toast-container.component.mjs +23 -23
- package/esm2020/toast/src/components/toast-header/toast-header.component.mjs +17 -17
- package/esm2020/toast/src/directives/index.mjs +1 -1
- package/esm2020/toast/src/directives/toast-close/toast-close.directive.mjs +32 -32
- package/esm2020/toast/src/index.mjs +6 -6
- package/esm2020/toast/src/pipes/add-properties.pipe.mjs +17 -17
- package/esm2020/toast/src/providers/portal-factory.provider.mjs +3 -3
- package/esm2020/toast/src/services/index.mjs +1 -1
- package/esm2020/toast/src/services/toast/toast.service.mjs +56 -56
- package/esm2020/toast/src/toast.module.mjs +77 -77
- package/esm2020/toggle-button/index.mjs +2 -2
- package/esm2020/toggle-button/mintplayer-ng-bootstrap-toggle-button.mjs +4 -4
- package/esm2020/toggle-button/src/component/toggle-button.component.mjs +158 -158
- package/esm2020/toggle-button/src/directives/index.mjs +1 -1
- package/esm2020/toggle-button/src/directives/toggle-button-group/toggle-button-group.directive.mjs +19 -19
- package/esm2020/toggle-button/src/index.mjs +6 -6
- package/esm2020/toggle-button/src/toggle-button.module.mjs +34 -34
- package/esm2020/toggle-button/src/types/check-style.mjs +2 -2
- package/esm2020/toggle-button/src/types/index.mjs +2 -2
- package/esm2020/toggle-button/src/value-accessor/toggle-button-value-accessor.mjs +108 -108
- package/esm2020/tooltip/index.mjs +2 -2
- package/esm2020/tooltip/mintplayer-ng-bootstrap-tooltip.mjs +4 -4
- package/esm2020/tooltip/src/component/tooltip.component.mjs +38 -38
- package/esm2020/tooltip/src/directive/tooltip.directive.mjs +109 -109
- package/esm2020/tooltip/src/index.mjs +4 -4
- package/esm2020/tooltip/src/providers/tooltip-content.provider.mjs +3 -3
- package/esm2020/tooltip/src/tooltip.module.mjs +35 -35
- package/esm2020/typeahead/index.mjs +2 -2
- package/esm2020/typeahead/mintplayer-ng-bootstrap-typeahead.mjs +4 -4
- package/esm2020/typeahead/src/index.mjs +3 -3
- package/esm2020/typeahead/src/typeahead.component.mjs +82 -82
- package/esm2020/typeahead/src/typeahead.module.mjs +48 -48
- package/esm2020/user-agent/index.mjs +2 -2
- package/esm2020/user-agent/mintplayer-ng-bootstrap-user-agent.mjs +4 -4
- package/esm2020/user-agent/src/index.mjs +4 -4
- package/esm2020/user-agent/src/user-agent/user-agent.directive.mjs +57 -57
- package/esm2020/user-agent/src/user-agent/user-agent.module.mjs +24 -24
- package/esm2020/user-agent/src/user-agent.type.mjs +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-accordion.mjs +113 -113
- package/fesm2015/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-alert.mjs +70 -70
- package/fesm2015/mintplayer-ng-bootstrap-alert.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-badge.mjs +37 -37
- package/fesm2015/mintplayer-ng-bootstrap-badge.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-breadcrumb.mjs +37 -37
- package/fesm2015/mintplayer-ng-bootstrap-breadcrumb.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-button-group.mjs +23 -23
- package/fesm2015/mintplayer-ng-bootstrap-button-group.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-button-type.mjs +45 -45
- package/fesm2015/mintplayer-ng-bootstrap-button-type.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-calendar-month.mjs +160 -160
- package/fesm2015/mintplayer-ng-bootstrap-calendar-month.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-calendar.mjs +127 -127
- package/fesm2015/mintplayer-ng-bootstrap-calendar.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-card.mjs +36 -36
- package/fesm2015/mintplayer-ng-bootstrap-card.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-carousel.mjs +151 -146
- package/fesm2015/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-close.mjs +31 -31
- package/fesm2015/mintplayer-ng-bootstrap-close.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-code-snippet.mjs +55 -55
- package/fesm2015/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-context-menu.mjs +107 -107
- package/fesm2015/mintplayer-ng-bootstrap-context-menu.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-copy.mjs +63 -63
- package/fesm2015/mintplayer-ng-bootstrap-copy.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-datatable.mjs +145 -145
- package/fesm2015/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-datepicker.mjs +71 -71
- package/fesm2015/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-dropdown-divider.mjs +41 -0
- package/fesm2015/mintplayer-ng-bootstrap-dropdown-divider.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-dropdown-menu.mjs +74 -67
- package/fesm2015/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-dropdown.mjs +225 -225
- package/fesm2015/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-enhanced-paste.mjs +72 -72
- package/fesm2015/mintplayer-ng-bootstrap-enhanced-paste.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-enum.mjs +29 -29
- package/fesm2015/mintplayer-ng-bootstrap-enum.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-file-upload.mjs +147 -147
- package/fesm2015/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-floating-labels.mjs +30 -30
- package/fesm2015/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-for.mjs +54 -54
- package/fesm2015/mintplayer-ng-bootstrap-for.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-form.mjs +60 -60
- package/fesm2015/mintplayer-ng-bootstrap-form.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-grid.mjs +121 -121
- package/fesm2015/mintplayer-ng-bootstrap-grid.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-has-overlay.mjs +21 -21
- package/fesm2015/mintplayer-ng-bootstrap-has-overlay.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-icon.mjs +41 -41
- package/fesm2015/mintplayer-ng-bootstrap-icon.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-input-group.mjs +21 -21
- package/fesm2015/mintplayer-ng-bootstrap-input-group.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-lazy-loading.mjs +48 -48
- package/fesm2015/mintplayer-ng-bootstrap-lazy-loading.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-list-group.mjs +47 -47
- package/fesm2015/mintplayer-ng-bootstrap-list-group.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-markdown.mjs +128 -128
- package/fesm2015/mintplayer-ng-bootstrap-markdown.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-modal.mjs +227 -227
- package/fesm2015/mintplayer-ng-bootstrap-modal.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-multiselect.mjs +115 -115
- package/fesm2015/mintplayer-ng-bootstrap-multiselect.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-navbar.mjs +691 -686
- package/fesm2015/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-navigation-lock.mjs +130 -130
- package/fesm2015/mintplayer-ng-bootstrap-navigation-lock.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-no-noscript.mjs +38 -38
- package/fesm2015/mintplayer-ng-bootstrap-no-noscript.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-offcanvas.mjs +417 -417
- package/fesm2015/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-ordinal-number.mjs +43 -43
- package/fesm2015/mintplayer-ng-bootstrap-ordinal-number.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-pagination.mjs +212 -212
- package/fesm2015/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-placeholder.mjs +74 -74
- package/fesm2015/mintplayer-ng-bootstrap-placeholder.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-popover.mjs +231 -231
- package/fesm2015/mintplayer-ng-bootstrap-popover.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-progress-bar.mjs +165 -165
- package/fesm2015/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-range.mjs +89 -89
- package/fesm2015/mintplayer-ng-bootstrap-range.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-rating.mjs +86 -86
- package/fesm2015/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-scheduler.mjs +777 -777
- package/fesm2015/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-scrollspy.mjs +147 -147
- package/fesm2015/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-select.mjs +267 -267
- package/fesm2015/mintplayer-ng-bootstrap-select.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-select2.mjs +126 -126
- package/fesm2015/mintplayer-ng-bootstrap-select2.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-snackbar.mjs +121 -121
- package/fesm2015/mintplayer-ng-bootstrap-snackbar.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-spinner.mjs +50 -50
- package/fesm2015/mintplayer-ng-bootstrap-spinner.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-tab-control.mjs +70 -70
- package/fesm2015/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-table.mjs +55 -55
- package/fesm2015/mintplayer-ng-bootstrap-table.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-timepicker.mjs +149 -149
- package/fesm2015/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-toast.mjs +205 -205
- package/fesm2015/mintplayer-ng-bootstrap-toast.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-toggle-button.mjs +294 -294
- package/fesm2015/mintplayer-ng-bootstrap-toggle-button.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-tooltip.mjs +161 -161
- package/fesm2015/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-typeahead.mjs +108 -108
- package/fesm2015/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-user-agent.mjs +74 -74
- package/fesm2015/mintplayer-ng-bootstrap-user-agent.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap.mjs +120 -120
- package/fesm2015/mintplayer-ng-bootstrap.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-accordion.mjs +113 -113
- package/fesm2020/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-alert.mjs +70 -70
- package/fesm2020/mintplayer-ng-bootstrap-alert.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-badge.mjs +37 -37
- package/fesm2020/mintplayer-ng-bootstrap-badge.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-breadcrumb.mjs +37 -37
- package/fesm2020/mintplayer-ng-bootstrap-breadcrumb.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-button-group.mjs +23 -23
- package/fesm2020/mintplayer-ng-bootstrap-button-group.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-button-type.mjs +45 -45
- package/fesm2020/mintplayer-ng-bootstrap-button-type.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-calendar-month.mjs +157 -157
- package/fesm2020/mintplayer-ng-bootstrap-calendar-month.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-calendar.mjs +127 -127
- package/fesm2020/mintplayer-ng-bootstrap-calendar.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-card.mjs +36 -36
- package/fesm2020/mintplayer-ng-bootstrap-card.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-carousel.mjs +149 -144
- package/fesm2020/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-close.mjs +31 -31
- package/fesm2020/mintplayer-ng-bootstrap-close.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-code-snippet.mjs +55 -55
- package/fesm2020/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-context-menu.mjs +105 -105
- package/fesm2020/mintplayer-ng-bootstrap-context-menu.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-copy.mjs +60 -60
- package/fesm2020/mintplayer-ng-bootstrap-copy.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-datatable.mjs +145 -145
- package/fesm2020/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-datepicker.mjs +71 -71
- package/fesm2020/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-dropdown-divider.mjs +41 -0
- package/fesm2020/mintplayer-ng-bootstrap-dropdown-divider.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-dropdown-menu.mjs +72 -65
- package/fesm2020/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-dropdown.mjs +220 -220
- package/fesm2020/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-enhanced-paste.mjs +72 -72
- package/fesm2020/mintplayer-ng-bootstrap-enhanced-paste.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-enum.mjs +29 -29
- package/fesm2020/mintplayer-ng-bootstrap-enum.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-file-upload.mjs +147 -147
- package/fesm2020/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-floating-labels.mjs +28 -28
- package/fesm2020/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-for.mjs +54 -54
- package/fesm2020/mintplayer-ng-bootstrap-for.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-form.mjs +60 -60
- package/fesm2020/mintplayer-ng-bootstrap-form.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-grid.mjs +121 -121
- package/fesm2020/mintplayer-ng-bootstrap-grid.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-has-overlay.mjs +21 -21
- package/fesm2020/mintplayer-ng-bootstrap-has-overlay.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-icon.mjs +41 -41
- package/fesm2020/mintplayer-ng-bootstrap-icon.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-input-group.mjs +21 -21
- package/fesm2020/mintplayer-ng-bootstrap-input-group.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-lazy-loading.mjs +48 -48
- package/fesm2020/mintplayer-ng-bootstrap-lazy-loading.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-list-group.mjs +47 -47
- package/fesm2020/mintplayer-ng-bootstrap-list-group.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-markdown.mjs +128 -128
- package/fesm2020/mintplayer-ng-bootstrap-markdown.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-modal.mjs +223 -223
- package/fesm2020/mintplayer-ng-bootstrap-modal.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-multiselect.mjs +115 -115
- package/fesm2020/mintplayer-ng-bootstrap-multiselect.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-navbar.mjs +680 -675
- package/fesm2020/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-navigation-lock.mjs +128 -128
- package/fesm2020/mintplayer-ng-bootstrap-navigation-lock.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-no-noscript.mjs +36 -36
- package/fesm2020/mintplayer-ng-bootstrap-no-noscript.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-offcanvas.mjs +413 -413
- package/fesm2020/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-ordinal-number.mjs +43 -43
- package/fesm2020/mintplayer-ng-bootstrap-ordinal-number.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-pagination.mjs +212 -212
- package/fesm2020/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-placeholder.mjs +74 -74
- package/fesm2020/mintplayer-ng-bootstrap-placeholder.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-popover.mjs +226 -226
- package/fesm2020/mintplayer-ng-bootstrap-popover.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-progress-bar.mjs +165 -165
- package/fesm2020/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-range.mjs +89 -89
- package/fesm2020/mintplayer-ng-bootstrap-range.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-rating.mjs +86 -86
- package/fesm2020/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-scheduler.mjs +777 -777
- package/fesm2020/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-scrollspy.mjs +142 -142
- package/fesm2020/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-select.mjs +265 -265
- package/fesm2020/mintplayer-ng-bootstrap-select.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-select2.mjs +126 -126
- package/fesm2020/mintplayer-ng-bootstrap-select2.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-snackbar.mjs +118 -118
- package/fesm2020/mintplayer-ng-bootstrap-snackbar.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-spinner.mjs +50 -50
- package/fesm2020/mintplayer-ng-bootstrap-spinner.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-tab-control.mjs +70 -70
- package/fesm2020/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-table.mjs +55 -55
- package/fesm2020/mintplayer-ng-bootstrap-table.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-timepicker.mjs +149 -149
- package/fesm2020/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-toast.mjs +203 -203
- package/fesm2020/mintplayer-ng-bootstrap-toast.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-toggle-button.mjs +294 -294
- package/fesm2020/mintplayer-ng-bootstrap-toggle-button.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-tooltip.mjs +157 -157
- package/fesm2020/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-typeahead.mjs +108 -108
- package/fesm2020/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-user-agent.mjs +72 -72
- package/fesm2020/mintplayer-ng-bootstrap-user-agent.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap.mjs +120 -120
- package/fesm2020/mintplayer-ng-bootstrap.mjs.map +1 -1
- package/file-upload/index.d.ts +1 -1
- package/file-upload/src/component/file-upload.component.d.ts +21 -21
- package/file-upload/src/directive/file-upload-template.directive.d.ts +8 -8
- package/file-upload/src/file-upload.d.ts +4 -4
- package/file-upload/src/file-upload.module.d.ts +14 -14
- package/file-upload/src/index.d.ts +5 -5
- package/file-upload/src/pipes/format-bytes/format-bytes.pipe.d.ts +7 -7
- package/file-upload/src/pipes/index.d.ts +1 -1
- package/floating-labels/index.d.ts +1 -1
- package/floating-labels/src/floating-labels/floating-label/floating-label.component.d.ts +7 -7
- package/floating-labels/src/floating-labels/floating-labels.module.d.ts +8 -8
- package/floating-labels/src/index.d.ts +2 -2
- package/for/index.d.ts +1 -1
- package/for/src/for.directive.d.ts +8 -8
- package/for/src/for.module.d.ts +8 -8
- package/for/src/index.d.ts +2 -2
- package/form/index.d.ts +1 -1
- package/form/src/form/form.component.d.ts +8 -8
- package/form/src/form-control/form-control.directive.d.ts +6 -6
- package/form/src/form-group/form-group.directive.d.ts +6 -6
- package/form/src/form.module.d.ts +10 -10
- package/form/src/index.d.ts +4 -4
- package/grid/index.d.ts +1 -1
- package/grid/src/component/grid.component.d.ts +12 -12
- package/grid/src/directives/col-form-label/col-form-label.directive.d.ts +6 -6
- package/grid/src/directives/column/column.directive.d.ts +13 -13
- package/grid/src/directives/index.d.ts +3 -3
- package/grid/src/directives/row/row.directive.d.ts +6 -6
- package/grid/src/grid.module.d.ts +11 -11
- package/grid/src/index.d.ts +4 -4
- package/grid/src/interfaces/column-definition.d.ts +9 -9
- package/grid/src/interfaces/index.d.ts +1 -1
- package/has-overlay/index.d.ts +1 -1
- package/has-overlay/src/has-overlay/has-overlay.component.d.ts +5 -5
- package/has-overlay/src/has-overlay/has-overlay.module.d.ts +8 -8
- package/has-overlay/src/index.d.ts +2 -2
- package/icon/index.d.ts +2 -2
- package/icon/src/icon.component.d.ts +12 -12
- package/icon/src/icon.module.d.ts +8 -8
- package/index.d.ts +4 -4
- package/input-group/index.d.ts +1 -1
- package/input-group/src/index.d.ts +2 -2
- package/input-group/src/input-group/input-group.component.d.ts +5 -5
- package/input-group/src/input-group.module.d.ts +8 -8
- package/lazy-loading/index.d.ts +1 -1
- package/lazy-loading/src/index.d.ts +2 -2
- package/lazy-loading/src/lazy-load/lazy-load.directive.d.ts +13 -13
- package/lazy-loading/src/lazy-loading.module.d.ts +8 -8
- package/lib/enums/color.enum.d.ts +13 -13
- package/lib/enums/index.d.ts +1 -1
- package/lib/pipes/font-color/font-color.module.d.ts +8 -8
- package/lib/pipes/font-color/font-color.pipe.d.ts +7 -7
- package/lib/pipes/font-color/index.d.ts +2 -2
- package/lib/pipes/in-list/in-list.module.d.ts +8 -8
- package/lib/pipes/in-list/in-list.pipe.d.ts +7 -7
- package/lib/pipes/in-list/index.d.ts +2 -2
- package/lib/pipes/index.d.ts +3 -3
- package/lib/pipes/uc-first/index.d.ts +2 -2
- package/lib/pipes/uc-first/uc-first.module.d.ts +8 -8
- package/lib/pipes/uc-first/uc-first.pipe.d.ts +7 -7
- package/lib/providers/development.provider.d.ts +7 -7
- package/lib/providers/index.d.ts +1 -1
- package/lib/types/breakpoint.d.ts +1 -1
- package/lib/types/index.d.ts +4 -4
- package/lib/types/position.d.ts +1 -1
- package/lib/types/size.d.ts +1 -1
- package/lib/types/view-state.type.d.ts +1 -1
- package/list-group/index.d.ts +1 -1
- package/list-group/src/index.d.ts +3 -3
- package/list-group/src/list-group/list-group.component.d.ts +10 -10
- package/list-group/src/list-group-item/list-group-item.component.d.ts +8 -8
- package/list-group/src/list-group.module.d.ts +9 -9
- package/markdown/index.d.ts +5 -5
- package/markdown/src/bold/bold.pipe.d.ts +10 -10
- package/markdown/src/italic/italic.pipe.d.ts +10 -10
- package/markdown/src/markdown.module.d.ts +11 -11
- package/markdown/src/strikethrough/strikethrough.pipe.d.ts +10 -10
- package/markdown/src/underline/underline.pipe.d.ts +10 -10
- package/modal/index.d.ts +1 -1
- package/modal/src/components/index.d.ts +2 -2
- package/modal/src/components/modal/modal.component.d.ts +9 -9
- package/modal/src/components/modal-host/modal-host.component.d.ts +27 -27
- package/modal/src/directives/index.d.ts +5 -5
- package/modal/src/directives/modal/modal.directive.d.ts +8 -8
- package/modal/src/directives/modal-body/modal-body.directive.d.ts +6 -6
- package/modal/src/directives/modal-close/modal-close.directive.d.ts +9 -9
- package/modal/src/directives/modal-footer/modal-footer.directive.d.ts +6 -6
- package/modal/src/directives/modal-header/modal-header.directive.d.ts +6 -6
- package/modal/src/index.d.ts +3 -3
- package/modal/src/modal.module.d.ts +16 -16
- package/modal/src/providers/modal-content.provider.d.ts +2 -2
- package/modal/src/providers/portal-factory.provider.d.ts +3 -3
- package/multiselect/index.d.ts +1 -1
- package/multiselect/src/component/multiselect.component.d.ts +15 -15
- package/multiselect/src/directives/button-template/button-template.directive.d.ts +8 -8
- package/multiselect/src/directives/footer-template/footer-template.directive.d.ts +8 -8
- package/multiselect/src/directives/header-template/header-template.directive.d.ts +8 -8
- package/multiselect/src/directives/index.d.ts +3 -3
- package/multiselect/src/index.d.ts +3 -3
- package/multiselect/src/multiselect.module.d.ts +17 -17
- package/navbar/index.d.ts +1 -1
- package/navbar/src/dropdown-toggle/dropdown-toggle.directive.d.ts +13 -13
- package/navbar/src/expand-button/expand-button.directive.d.ts +8 -8
- package/navbar/src/index.d.ts +11 -11
- package/navbar/src/nav-link/nav-link.directive.d.ts +10 -10
- package/navbar/src/navbar/navbar.component.d.ts +32 -32
- package/navbar/src/navbar-brand/navbar-brand.component.d.ts +7 -7
- package/navbar/src/navbar-content/navbar-content.directive.d.ts +18 -18
- package/navbar/src/navbar-dropdown/navbar-dropdown.component.d.ts +33 -33
- package/navbar/src/navbar-item/navbar-item.component.d.ts +19 -19
- package/navbar/src/navbar-nav/navbar-nav.component.d.ts +19 -19
- package/navbar/src/navbar-toggler/navbar-toggler.component.d.ts +13 -13
- package/navbar/src/navbar.module.d.ts +22 -21
- package/navigation-lock/index.d.ts +1 -1
- package/navigation-lock/src/directive/navigation-lock.directive.d.ts +34 -34
- package/navigation-lock/src/guard/navigation-lock.guard.d.ts +8 -8
- package/navigation-lock/src/index.d.ts +4 -4
- package/navigation-lock/src/interface/has-navigation-lock.d.ts +15 -15
- package/navigation-lock/src/navigation-lock.module.d.ts +9 -9
- package/no-noscript/index.d.ts +1 -1
- package/no-noscript/src/index.d.ts +2 -2
- package/no-noscript/src/no-noscript/no-noscript.directive.d.ts +8 -8
- package/no-noscript/src/no-noscript.module.d.ts +8 -8
- package/offcanvas/index.d.ts +1 -1
- package/offcanvas/src/components/index.d.ts +4 -4
- package/offcanvas/src/components/offcanvas/offcanvas.component.d.ts +33 -33
- package/offcanvas/src/components/offcanvas-body/offcanvas-body.component.d.ts +9 -9
- package/offcanvas/src/components/offcanvas-header/offcanvas-header.component.d.ts +8 -8
- package/offcanvas/src/components/offcanvas-host/offcanvas-host.component.d.ts +36 -36
- package/offcanvas/src/directives/index.d.ts +3 -3
- package/offcanvas/src/directives/offcanvas-close/offcanvas-close.directive.d.ts +9 -9
- package/offcanvas/src/directives/offcanvas-content/offcanvas-content.directive.d.ts +8 -8
- package/offcanvas/src/directives/offcanvas-push/offcanvas-push.directive.d.ts +16 -16
- package/offcanvas/src/index.d.ts +3 -3
- package/offcanvas/src/offcanvas.module.d.ts +16 -16
- package/offcanvas/src/providers/offcanvas-content.provider.d.ts +2 -2
- package/offcanvas/src/providers/portal-factory.provider.d.ts +3 -3
- package/ordinal-number/index.d.ts +1 -1
- package/ordinal-number/src/index.d.ts +2 -2
- package/ordinal-number/src/ordinal-number/ordinal-number.pipe.d.ts +10 -10
- package/ordinal-number/src/ordinal-number.module.d.ts +8 -8
- package/package.json +12 -3
- package/pagination/index.d.ts +1 -1
- package/pagination/src/component/index.d.ts +1 -1
- package/pagination/src/component/pagination/pagination.component.d.ts +49 -49
- package/pagination/src/index.d.ts +4 -4
- package/pagination/src/interfaces/index.d.ts +1 -1
- package/pagination/src/interfaces/page-with-selection.d.ts +5 -5
- package/pagination/src/pagination.module.d.ts +8 -8
- package/pagination/src/types/index.d.ts +1 -1
- package/pagination/src/types/page-number.type.d.ts +1 -1
- package/placeholder/index.d.ts +1 -1
- package/placeholder/src/index.d.ts +3 -3
- package/placeholder/src/placeholder/placeholder.component.d.ts +11 -11
- package/placeholder/src/placeholder-field/placeholder-field.directive.d.ts +16 -16
- package/placeholder/src/placeholder.module.d.ts +9 -9
- package/popover/index.d.ts +1 -1
- package/popover/src/component/popover.component.d.ts +19 -19
- package/popover/src/directives/index.d.ts +3 -3
- package/popover/src/directives/popover/popover.directive.d.ts +28 -28
- package/popover/src/directives/popover-body/popover-body.directive.d.ts +6 -6
- package/popover/src/directives/popover-header/popover-header.directive.d.ts +6 -6
- package/popover/src/index.d.ts +3 -3
- package/popover/src/popover.module.d.ts +13 -13
- package/popover/src/providers/popover-content.provider.d.ts +2 -2
- package/popover/src/providers/portal-factory.provider.d.ts +3 -3
- package/progress-bar/index.d.ts +1 -1
- package/progress-bar/src/index.d.ts +3 -3
- package/progress-bar/src/progress/progress.component.d.ts +8 -8
- package/progress-bar/src/progress-bar/progress-bar.component.d.ts +31 -31
- package/progress-bar/src/progress-bar.module.d.ts +9 -9
- package/range/index.d.ts +1 -1
- package/range/src/component/range.component.d.ts +11 -11
- package/range/src/index.d.ts +3 -3
- package/range/src/range.module.d.ts +9 -9
- package/range/src/value-accessor/range-value-accessor.d.ts +20 -20
- package/rating/index.d.ts +1 -1
- package/rating/src/component/rating.component.d.ts +22 -22
- package/rating/src/index.d.ts +2 -2
- package/rating/src/rating.module.d.ts +8 -8
- package/scheduler/index.d.ts +1 -1
- package/scheduler/src/components/index.d.ts +2 -2
- package/scheduler/src/components/resource-group-presenter/resource-group-presenter.component.d.ts +26 -26
- package/scheduler/src/components/scheduler/scheduler.component.d.ts +86 -86
- package/scheduler/src/constants/available-scales.d.ts +2 -2
- package/scheduler/src/constants/index.d.ts +1 -1
- package/scheduler/src/enums/drag-operation.d.ts +6 -6
- package/scheduler/src/enums/index.d.ts +1 -1
- package/scheduler/src/enums/scheduler-mode.d.ts +4 -4
- package/scheduler/src/index.d.ts +5 -5
- package/scheduler/src/interfaces/drag-operation.d.ts +7 -7
- package/scheduler/src/interfaces/index.d.ts +5 -5
- package/scheduler/src/interfaces/preview-event.d.ts +4 -4
- package/scheduler/src/interfaces/resource-group.d.ts +5 -5
- package/scheduler/src/interfaces/resource-or-group.d.ts +6 -6
- package/scheduler/src/interfaces/resource.d.ts +5 -5
- package/scheduler/src/interfaces/scheduler-event-part.d.ts +6 -6
- package/scheduler/src/interfaces/scheduler-event-with-parts.d.ts +6 -6
- package/scheduler/src/interfaces/scheduler-event.d.ts +6 -6
- package/scheduler/src/interfaces/scheduler-schale.d.ts +5 -5
- package/scheduler/src/interfaces/scheduler-stamp-with-slots.d.ts +6 -6
- package/scheduler/src/interfaces/time-slot.d.ts +4 -4
- package/scheduler/src/interfaces/timeline-options.d.ts +3 -3
- package/scheduler/src/interfaces/timeline-track.d.ts +5 -5
- package/scheduler/src/interfaces/week-options.d.ts +3 -3
- package/scheduler/src/pipes/bs-seconds-timespan.pipe/bs-seconds-timespan.pipe.d.ts +9 -9
- package/scheduler/src/pipes/bs-seconds-today-offset/bs-seconds-today-offset.pipe.d.ts +9 -9
- package/scheduler/src/pipes/date-offset/date-offset.pipe.d.ts +8 -8
- package/scheduler/src/pipes/day-of-week/day-of-week.pipe.d.ts +9 -9
- package/scheduler/src/scheduler.module.d.ts +14 -14
- package/scheduler/src/services/timeline/timeline.service.d.ts +14 -14
- package/scrollspy/index.d.ts +1 -1
- package/scrollspy/src/component/scrollspy.component.d.ts +25 -25
- package/scrollspy/src/directives/scrollspy.directive.d.ts +8 -8
- package/scrollspy/src/index.d.ts +4 -4
- package/scrollspy/src/scrollspy.module.d.ts +9 -9
- package/scrollspy/src/services/index.d.ts +1 -1
- package/scrollspy/src/services/scroll-offset/scroll-offset.service.d.ts +9 -9
- package/select/index.d.ts +1 -1
- package/select/src/component/select.component.d.ts +26 -26
- package/select/src/index.d.ts +4 -4
- package/select/src/select.module.d.ts +9 -9
- package/select/src/types/index.d.ts +1 -1
- package/select/src/types/select-size.d.ts +1 -1
- package/select/src/value-accessors/index.d.ts +1 -1
- package/select/src/value-accessors/select-value-accessor.d.ts +44 -44
- package/select2/index.d.ts +1 -1
- package/select2/src/component/select2.component.d.ts +25 -25
- package/select2/src/directive/item-template.directive.d.ts +9 -9
- package/select2/src/index.d.ts +3 -3
- package/select2/src/select2.module.d.ts +14 -14
- package/snackbar/index.d.ts +1 -1
- package/snackbar/src/component/snackbar.component.d.ts +15 -15
- package/snackbar/src/directives/index.d.ts +1 -1
- package/snackbar/src/directives/snackbar-close/snackbar-close.directive.d.ts +11 -11
- package/snackbar/src/index.d.ts +5 -5
- package/snackbar/src/interfaces/index.d.ts +1 -1
- package/snackbar/src/interfaces/snackbar-animation-meta.d.ts +7 -7
- package/snackbar/src/providers/snackbar-content.provider.d.ts +2 -2
- package/snackbar/src/service/snackbar.service.d.ts +13 -13
- package/snackbar/src/snackbar.module.d.ts +11 -11
- package/spinner/index.d.ts +1 -1
- package/spinner/src/index.d.ts +2 -2
- package/spinner/src/spinner.component.d.ts +19 -19
- package/spinner/src/spinner.module.d.ts +8 -8
- package/src/assets/ic-upload-file.svg +7 -7
- package/src/styles/custom.scss +4 -4
- package/src/styles/ngx-highlight-themes/solarized-dark.scss +89 -89
- package/src/styles/utilities/cursor.scss +9 -9
- package/src/styles/utilities/overflow.scss +9 -9
- package/src/styles/utilities/white-space.scss +9 -9
- package/tab-control/index.d.ts +1 -1
- package/tab-control/src/index.d.ts +3 -3
- package/tab-control/src/tab-control/tab-control.component.d.ts +12 -12
- package/tab-control/src/tab-control.module.d.ts +9 -9
- package/tab-control/src/tab-page/tab-page.component.d.ts +11 -11
- package/table/index.d.ts +1 -1
- package/table/src/component/table.component.d.ts +15 -15
- package/table/src/index.d.ts +2 -2
- package/table/src/table.module.d.ts +8 -8
- package/timepicker/index.d.ts +1 -1
- package/timepicker/src/index.d.ts +2 -2
- package/timepicker/src/timepicker.component.d.ts +27 -27
- package/timepicker/src/timepicker.module.d.ts +17 -17
- package/toast/index.d.ts +1 -1
- package/toast/src/components/index.d.ts +4 -4
- package/toast/src/components/toast/toast.component.d.ts +6 -6
- package/toast/src/components/toast-body/toast-body.component.d.ts +6 -6
- package/toast/src/components/toast-container/toast-container.component.d.ts +9 -9
- package/toast/src/components/toast-header/toast-header.component.d.ts +6 -6
- package/toast/src/directives/index.d.ts +1 -1
- package/toast/src/directives/toast-close/toast-close.directive.d.ts +12 -12
- package/toast/src/index.d.ts +5 -5
- package/toast/src/pipes/add-properties.pipe.d.ts +7 -7
- package/toast/src/providers/portal-factory.provider.d.ts +3 -3
- package/toast/src/services/index.d.ts +1 -1
- package/toast/src/services/toast/toast.service.d.ts +22 -22
- package/toast/src/toast.module.d.ts +15 -15
- package/toggle-button/index.d.ts +1 -1
- package/toggle-button/src/component/toggle-button.component.d.ts +37 -37
- package/toggle-button/src/directives/index.d.ts +1 -1
- package/toggle-button/src/directives/toggle-button-group/toggle-button-group.directive.d.ts +9 -9
- package/toggle-button/src/index.d.ts +5 -5
- package/toggle-button/src/toggle-button.module.d.ts +10 -10
- package/toggle-button/src/types/check-style.d.ts +1 -1
- package/toggle-button/src/types/index.d.ts +1 -1
- package/toggle-button/src/value-accessor/toggle-button-value-accessor.d.ts +20 -20
- package/tooltip/index.d.ts +1 -1
- package/tooltip/src/component/tooltip.component.d.ts +15 -15
- package/tooltip/src/directive/tooltip.directive.d.ts +20 -20
- package/tooltip/src/index.d.ts +2 -2
- package/tooltip/src/providers/tooltip-content.provider.d.ts +2 -2
- package/tooltip/src/tooltip.module.d.ts +11 -11
- package/typeahead/index.d.ts +1 -1
- package/typeahead/src/index.d.ts +2 -2
- package/typeahead/src/typeahead.component.d.ts +26 -26
- package/typeahead/src/typeahead.module.d.ts +14 -14
- package/user-agent/index.d.ts +1 -1
- package/user-agent/src/index.d.ts +3 -3
- package/user-agent/src/user-agent/user-agent.directive.d.ts +14 -14
- package/user-agent/src/user-agent/user-agent.module.d.ts +8 -8
- package/user-agent/src/user-agent.type.d.ts +1 -1
|
@@ -5,308 +5,308 @@ import * as i1 from '@angular/common';
|
|
|
5
5
|
import { CommonModule } from '@angular/common';
|
|
6
6
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
7
7
|
|
|
8
|
-
class BsToggleButtonComponent {
|
|
9
|
-
constructor() {
|
|
10
|
-
this.dInlineBlockClass = true;
|
|
11
|
-
this.disableAnimations = true;
|
|
12
|
-
//#region Type
|
|
13
|
-
this.type$ = new BehaviorSubject('checkbox');
|
|
14
|
-
//#endregion
|
|
15
|
-
//#region isToggled
|
|
16
|
-
this._isToggled = false;
|
|
17
|
-
this.isToggledChange = new EventEmitter();
|
|
18
|
-
//#endregion
|
|
19
|
-
//#region disabled
|
|
20
|
-
this.disabled = false;
|
|
21
|
-
//#endregion
|
|
22
|
-
//#region name
|
|
23
|
-
this.name$ = new BehaviorSubject(null);
|
|
24
|
-
//#endregion
|
|
25
|
-
//#region value
|
|
26
|
-
this.value$ = new BehaviorSubject(null);
|
|
27
|
-
//#endregion
|
|
28
|
-
//#region Group
|
|
29
|
-
this.group$ = new BehaviorSubject(null);
|
|
30
|
-
this.mainCheckStyle$ = this.type$.pipe(map((type) => {
|
|
31
|
-
switch (type) {
|
|
32
|
-
case 'checkbox':
|
|
33
|
-
case 'radio':
|
|
34
|
-
case 'switch':
|
|
35
|
-
return 'form-check';
|
|
36
|
-
default:
|
|
37
|
-
return null;
|
|
38
|
-
}
|
|
39
|
-
}));
|
|
40
|
-
this.isSwitch$ = this.type$.pipe(map((type) => {
|
|
41
|
-
switch (type) {
|
|
42
|
-
case 'switch':
|
|
43
|
-
return true;
|
|
44
|
-
default:
|
|
45
|
-
return false;
|
|
46
|
-
}
|
|
47
|
-
}));
|
|
48
|
-
this.inputClass$ = this.type$.pipe(map((type) => {
|
|
49
|
-
switch (type) {
|
|
50
|
-
case 'checkbox':
|
|
51
|
-
case 'radio':
|
|
52
|
-
case 'switch':
|
|
53
|
-
return 'form-check-input';
|
|
54
|
-
default:
|
|
55
|
-
return 'btn-check';
|
|
56
|
-
}
|
|
57
|
-
}));
|
|
58
|
-
this.labelClass$ = this.type$.pipe(map((type) => {
|
|
59
|
-
switch (type) {
|
|
60
|
-
case 'checkbox':
|
|
61
|
-
case 'radio':
|
|
62
|
-
case 'switch':
|
|
63
|
-
return 'form-check-label';
|
|
64
|
-
case 'toggle_button':
|
|
65
|
-
return 'btn btn-primary';
|
|
66
|
-
case 'radio_toggle_button':
|
|
67
|
-
return 'btn btn-secondary';
|
|
68
|
-
}
|
|
69
|
-
}));
|
|
70
|
-
this.checkOrRadio$ = this.type$.pipe(map((type) => {
|
|
71
|
-
switch (type) {
|
|
72
|
-
case 'radio':
|
|
73
|
-
case 'radio_toggle_button':
|
|
74
|
-
return 'radio';
|
|
75
|
-
default:
|
|
76
|
-
return 'checkbox';
|
|
77
|
-
}
|
|
78
|
-
}));
|
|
79
|
-
this.nameResult$ = combineLatest([this.name$, this.type$, this.group$])
|
|
80
|
-
.pipe(map(([name, type, group]) => {
|
|
81
|
-
switch (type) {
|
|
82
|
-
case 'radio':
|
|
83
|
-
case 'radio_toggle_button':
|
|
84
|
-
return name;
|
|
85
|
-
case 'checkbox':
|
|
86
|
-
case 'toggle_button':
|
|
87
|
-
case 'switch':
|
|
88
|
-
if (group) {
|
|
89
|
-
return `${name}[]`;
|
|
90
|
-
}
|
|
91
|
-
else {
|
|
92
|
-
return name;
|
|
93
|
-
}
|
|
94
|
-
default:
|
|
95
|
-
throw 'Invalid value';
|
|
96
|
-
}
|
|
97
|
-
}));
|
|
98
|
-
}
|
|
99
|
-
get type() {
|
|
100
|
-
return this.type$.value;
|
|
101
|
-
}
|
|
102
|
-
set type(value) {
|
|
103
|
-
this.type$.next(value);
|
|
104
|
-
}
|
|
105
|
-
get isToggled() {
|
|
106
|
-
return this._isToggled;
|
|
107
|
-
}
|
|
108
|
-
set isToggled(value) {
|
|
109
|
-
this._isToggled = value;
|
|
110
|
-
this.isToggledChange.emit(this._isToggled);
|
|
111
|
-
}
|
|
112
|
-
get name() {
|
|
113
|
-
return this.name$.value;
|
|
114
|
-
}
|
|
115
|
-
set name(value) {
|
|
116
|
-
this.name$.next(value);
|
|
117
|
-
}
|
|
118
|
-
get value() {
|
|
119
|
-
return this.value$.value;
|
|
120
|
-
}
|
|
121
|
-
set value(value) {
|
|
122
|
-
this.value$.next(value);
|
|
123
|
-
}
|
|
124
|
-
get group() {
|
|
125
|
-
return this.group$.value;
|
|
126
|
-
}
|
|
127
|
-
set group(value) {
|
|
128
|
-
this.group$.next(value);
|
|
129
|
-
}
|
|
130
|
-
//#endregion
|
|
131
|
-
ngAfterViewInit() {
|
|
132
|
-
this.disableAnimations = false;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
BsToggleButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
136
|
-
BsToggleButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
138
|
-
type: Component,
|
|
139
|
-
args: [{ selector: 'bs-toggle-button', template: "<label [class]=\"mainCheckStyle$ | async\" [class.form-switch]=\"isSwitch$ | async\">\n <input #checkbox [class]=\"inputClass$ | async\" [type]=\"checkOrRadio$ | async\" [name]=\"name$ | async\" [value]=\"value$ | async\">\n <span [class]=\"labelClass$ | async\">\n <ng-content></ng-content>\n </span>\n</label>", styles: [":host ::ng-deep .form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}:host ::ng-deep .form-check .form-check-input{float:left;margin-left:-1.5em}:host ::ng-deep .form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}:host ::ng-deep .form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}:host ::ng-deep .form-check-input{width:1em;height:1em;margin-top:.25em;vertical-align:top;background-color:#fff;background-repeat:no-repeat;background-position:center;background-size:contain;border:1px solid rgba(0,0,0,.25);-webkit-appearance:none;appearance:none;-webkit-print-color-adjust:exact;print-color-adjust:exact}:host ::ng-deep .form-check-input[type=checkbox]{border-radius:.25em}:host ::ng-deep .form-check-input[type=radio]{border-radius:50%}:host ::ng-deep .form-check-input:active{filter:brightness(90%)}:host ::ng-deep .form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}:host ::ng-deep .form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}:host ::ng-deep .form-check-input:checked[type=checkbox]{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e\")}:host ::ng-deep .form-check-input:checked[type=radio]{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e\")}:host ::ng-deep .form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e\")}:host ::ng-deep .form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}:host ::ng-deep .form-check-input[disabled]~.form-check-label,:host ::ng-deep .form-check-input:disabled~.form-check-label{cursor:default;opacity:.5}:host ::ng-deep .form-switch{padding-left:2.5em}:host ::ng-deep .form-switch .form-check-input{width:2em;margin-left:-2.5em;background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e\");background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion: reduce){:host ::ng-deep .form-switch .form-check-input{transition:none}}:host ::ng-deep .form-switch .form-check-input:focus{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e\")}:host ::ng-deep .form-switch .form-check-input:checked{background-position:right center;background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e\")}:host ::ng-deep .form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}:host ::ng-deep .form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}:host ::ng-deep .form-check-inline{display:inline-block;margin-right:1rem}:host ::ng-deep .btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}:host ::ng-deep .btn-check[disabled]+.btn,:host ::ng-deep .btn-check:disabled+.btn{pointer-events:none;filter:none;opacity:.65}\n"] }]
|
|
140
|
-
}], ctorParameters: function () { return []; }, propDecorators: { checkbox: [{
|
|
141
|
-
type: ViewChild,
|
|
142
|
-
args: ['checkbox']
|
|
143
|
-
}], dInlineBlockClass: [{
|
|
144
|
-
type: HostBinding,
|
|
145
|
-
args: ['class.d-inline-block']
|
|
146
|
-
}], type: [{
|
|
147
|
-
type: Input
|
|
148
|
-
}], isToggledChange: [{
|
|
149
|
-
type: Output
|
|
150
|
-
}], isToggled: [{
|
|
151
|
-
type: Input
|
|
152
|
-
}], disabled: [{
|
|
153
|
-
type: Input
|
|
154
|
-
}], name: [{
|
|
155
|
-
type: Input
|
|
156
|
-
}], value: [{
|
|
157
|
-
type: Input
|
|
158
|
-
}], group: [{
|
|
159
|
-
type: Input
|
|
8
|
+
class BsToggleButtonComponent {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.dInlineBlockClass = true;
|
|
11
|
+
this.disableAnimations = true;
|
|
12
|
+
//#region Type
|
|
13
|
+
this.type$ = new BehaviorSubject('checkbox');
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region isToggled
|
|
16
|
+
this._isToggled = false;
|
|
17
|
+
this.isToggledChange = new EventEmitter();
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region disabled
|
|
20
|
+
this.disabled = false;
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region name
|
|
23
|
+
this.name$ = new BehaviorSubject(null);
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region value
|
|
26
|
+
this.value$ = new BehaviorSubject(null);
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region Group
|
|
29
|
+
this.group$ = new BehaviorSubject(null);
|
|
30
|
+
this.mainCheckStyle$ = this.type$.pipe(map((type) => {
|
|
31
|
+
switch (type) {
|
|
32
|
+
case 'checkbox':
|
|
33
|
+
case 'radio':
|
|
34
|
+
case 'switch':
|
|
35
|
+
return 'form-check';
|
|
36
|
+
default:
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
}));
|
|
40
|
+
this.isSwitch$ = this.type$.pipe(map((type) => {
|
|
41
|
+
switch (type) {
|
|
42
|
+
case 'switch':
|
|
43
|
+
return true;
|
|
44
|
+
default:
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
}));
|
|
48
|
+
this.inputClass$ = this.type$.pipe(map((type) => {
|
|
49
|
+
switch (type) {
|
|
50
|
+
case 'checkbox':
|
|
51
|
+
case 'radio':
|
|
52
|
+
case 'switch':
|
|
53
|
+
return 'form-check-input';
|
|
54
|
+
default:
|
|
55
|
+
return 'btn-check';
|
|
56
|
+
}
|
|
57
|
+
}));
|
|
58
|
+
this.labelClass$ = this.type$.pipe(map((type) => {
|
|
59
|
+
switch (type) {
|
|
60
|
+
case 'checkbox':
|
|
61
|
+
case 'radio':
|
|
62
|
+
case 'switch':
|
|
63
|
+
return 'form-check-label';
|
|
64
|
+
case 'toggle_button':
|
|
65
|
+
return 'btn btn-primary';
|
|
66
|
+
case 'radio_toggle_button':
|
|
67
|
+
return 'btn btn-secondary';
|
|
68
|
+
}
|
|
69
|
+
}));
|
|
70
|
+
this.checkOrRadio$ = this.type$.pipe(map((type) => {
|
|
71
|
+
switch (type) {
|
|
72
|
+
case 'radio':
|
|
73
|
+
case 'radio_toggle_button':
|
|
74
|
+
return 'radio';
|
|
75
|
+
default:
|
|
76
|
+
return 'checkbox';
|
|
77
|
+
}
|
|
78
|
+
}));
|
|
79
|
+
this.nameResult$ = combineLatest([this.name$, this.type$, this.group$])
|
|
80
|
+
.pipe(map(([name, type, group]) => {
|
|
81
|
+
switch (type) {
|
|
82
|
+
case 'radio':
|
|
83
|
+
case 'radio_toggle_button':
|
|
84
|
+
return name;
|
|
85
|
+
case 'checkbox':
|
|
86
|
+
case 'toggle_button':
|
|
87
|
+
case 'switch':
|
|
88
|
+
if (group) {
|
|
89
|
+
return `${name}[]`;
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
return name;
|
|
93
|
+
}
|
|
94
|
+
default:
|
|
95
|
+
throw 'Invalid value';
|
|
96
|
+
}
|
|
97
|
+
}));
|
|
98
|
+
}
|
|
99
|
+
get type() {
|
|
100
|
+
return this.type$.value;
|
|
101
|
+
}
|
|
102
|
+
set type(value) {
|
|
103
|
+
this.type$.next(value);
|
|
104
|
+
}
|
|
105
|
+
get isToggled() {
|
|
106
|
+
return this._isToggled;
|
|
107
|
+
}
|
|
108
|
+
set isToggled(value) {
|
|
109
|
+
this._isToggled = value;
|
|
110
|
+
this.isToggledChange.emit(this._isToggled);
|
|
111
|
+
}
|
|
112
|
+
get name() {
|
|
113
|
+
return this.name$.value;
|
|
114
|
+
}
|
|
115
|
+
set name(value) {
|
|
116
|
+
this.name$.next(value);
|
|
117
|
+
}
|
|
118
|
+
get value() {
|
|
119
|
+
return this.value$.value;
|
|
120
|
+
}
|
|
121
|
+
set value(value) {
|
|
122
|
+
this.value$.next(value);
|
|
123
|
+
}
|
|
124
|
+
get group() {
|
|
125
|
+
return this.group$.value;
|
|
126
|
+
}
|
|
127
|
+
set group(value) {
|
|
128
|
+
this.group$.next(value);
|
|
129
|
+
}
|
|
130
|
+
//#endregion
|
|
131
|
+
ngAfterViewInit() {
|
|
132
|
+
this.disableAnimations = false;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
BsToggleButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BsToggleButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
136
|
+
BsToggleButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: BsToggleButtonComponent, selector: "bs-toggle-button", inputs: { type: "type", isToggled: "isToggled", disabled: "disabled", name: "name", value: "value", group: "group" }, outputs: { isToggledChange: "isToggledChange" }, host: { properties: { "class.d-inline-block": "this.dInlineBlockClass" } }, viewQueries: [{ propertyName: "checkbox", first: true, predicate: ["checkbox"], descendants: true }], ngImport: i0, template: "<label [class]=\"mainCheckStyle$ | async\" [class.form-switch]=\"isSwitch$ | async\">\r\n <input #checkbox [class]=\"inputClass$ | async\" [type]=\"checkOrRadio$ | async\" [name]=\"name$ | async\" [value]=\"value$ | async\">\r\n <span [class]=\"labelClass$ | async\">\r\n <ng-content></ng-content>\r\n </span>\r\n</label>", styles: [":host ::ng-deep .form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}:host ::ng-deep .form-check .form-check-input{float:left;margin-left:-1.5em}:host ::ng-deep .form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}:host ::ng-deep .form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}:host ::ng-deep .form-check-input{width:1em;height:1em;margin-top:.25em;vertical-align:top;background-color:#fff;background-repeat:no-repeat;background-position:center;background-size:contain;border:1px solid rgba(0,0,0,.25);-webkit-appearance:none;appearance:none;-webkit-print-color-adjust:exact;print-color-adjust:exact}:host ::ng-deep .form-check-input[type=checkbox]{border-radius:.25em}:host ::ng-deep .form-check-input[type=radio]{border-radius:50%}:host ::ng-deep .form-check-input:active{filter:brightness(90%)}:host ::ng-deep .form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}:host ::ng-deep .form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}:host ::ng-deep .form-check-input:checked[type=checkbox]{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e\")}:host ::ng-deep .form-check-input:checked[type=radio]{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e\")}:host ::ng-deep .form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e\")}:host ::ng-deep .form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}:host ::ng-deep .form-check-input[disabled]~.form-check-label,:host ::ng-deep .form-check-input:disabled~.form-check-label{cursor:default;opacity:.5}:host ::ng-deep .form-switch{padding-left:2.5em}:host ::ng-deep .form-switch .form-check-input{width:2em;margin-left:-2.5em;background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e\");background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion: reduce){:host ::ng-deep .form-switch .form-check-input{transition:none}}:host ::ng-deep .form-switch .form-check-input:focus{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e\")}:host ::ng-deep .form-switch .form-check-input:checked{background-position:right center;background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e\")}:host ::ng-deep .form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}:host ::ng-deep .form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}:host ::ng-deep .form-check-inline{display:inline-block;margin-right:1rem}:host ::ng-deep .btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}:host ::ng-deep .btn-check[disabled]+.btn,:host ::ng-deep .btn-check:disabled+.btn{pointer-events:none;filter:none;opacity:.65}\n"], dependencies: [{ kind: "pipe", type: i1.AsyncPipe, name: "async" }] });
|
|
137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BsToggleButtonComponent, decorators: [{
|
|
138
|
+
type: Component,
|
|
139
|
+
args: [{ selector: 'bs-toggle-button', template: "<label [class]=\"mainCheckStyle$ | async\" [class.form-switch]=\"isSwitch$ | async\">\r\n <input #checkbox [class]=\"inputClass$ | async\" [type]=\"checkOrRadio$ | async\" [name]=\"name$ | async\" [value]=\"value$ | async\">\r\n <span [class]=\"labelClass$ | async\">\r\n <ng-content></ng-content>\r\n </span>\r\n</label>", styles: [":host ::ng-deep .form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}:host ::ng-deep .form-check .form-check-input{float:left;margin-left:-1.5em}:host ::ng-deep .form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}:host ::ng-deep .form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}:host ::ng-deep .form-check-input{width:1em;height:1em;margin-top:.25em;vertical-align:top;background-color:#fff;background-repeat:no-repeat;background-position:center;background-size:contain;border:1px solid rgba(0,0,0,.25);-webkit-appearance:none;appearance:none;-webkit-print-color-adjust:exact;print-color-adjust:exact}:host ::ng-deep .form-check-input[type=checkbox]{border-radius:.25em}:host ::ng-deep .form-check-input[type=radio]{border-radius:50%}:host ::ng-deep .form-check-input:active{filter:brightness(90%)}:host ::ng-deep .form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}:host ::ng-deep .form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}:host ::ng-deep .form-check-input:checked[type=checkbox]{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e\")}:host ::ng-deep .form-check-input:checked[type=radio]{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e\")}:host ::ng-deep .form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e\")}:host ::ng-deep .form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}:host ::ng-deep .form-check-input[disabled]~.form-check-label,:host ::ng-deep .form-check-input:disabled~.form-check-label{cursor:default;opacity:.5}:host ::ng-deep .form-switch{padding-left:2.5em}:host ::ng-deep .form-switch .form-check-input{width:2em;margin-left:-2.5em;background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e\");background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion: reduce){:host ::ng-deep .form-switch .form-check-input{transition:none}}:host ::ng-deep .form-switch .form-check-input:focus{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e\")}:host ::ng-deep .form-switch .form-check-input:checked{background-position:right center;background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e\")}:host ::ng-deep .form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}:host ::ng-deep .form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}:host ::ng-deep .form-check-inline{display:inline-block;margin-right:1rem}:host ::ng-deep .btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}:host ::ng-deep .btn-check[disabled]+.btn,:host ::ng-deep .btn-check:disabled+.btn{pointer-events:none;filter:none;opacity:.65}\n"] }]
|
|
140
|
+
}], ctorParameters: function () { return []; }, propDecorators: { checkbox: [{
|
|
141
|
+
type: ViewChild,
|
|
142
|
+
args: ['checkbox']
|
|
143
|
+
}], dInlineBlockClass: [{
|
|
144
|
+
type: HostBinding,
|
|
145
|
+
args: ['class.d-inline-block']
|
|
146
|
+
}], type: [{
|
|
147
|
+
type: Input
|
|
148
|
+
}], isToggledChange: [{
|
|
149
|
+
type: Output
|
|
150
|
+
}], isToggled: [{
|
|
151
|
+
type: Input
|
|
152
|
+
}], disabled: [{
|
|
153
|
+
type: Input
|
|
154
|
+
}], name: [{
|
|
155
|
+
type: Input
|
|
156
|
+
}], value: [{
|
|
157
|
+
type: Input
|
|
158
|
+
}], group: [{
|
|
159
|
+
type: Input
|
|
160
160
|
}] } });
|
|
161
161
|
|
|
162
|
-
class BsToggleButtonGroupDirective {
|
|
163
|
-
constructor() { }
|
|
164
|
-
}
|
|
165
|
-
BsToggleButtonGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
166
|
-
BsToggleButtonGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
167
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
168
|
-
type: Directive,
|
|
169
|
-
args: [{
|
|
170
|
-
selector: '[bsToggleButtonGroup]',
|
|
171
|
-
exportAs: 'bsToggleButtonGroup'
|
|
172
|
-
}]
|
|
173
|
-
}], ctorParameters: function () { return []; }, propDecorators: { toggleButtons: [{
|
|
174
|
-
type: ContentChildren,
|
|
175
|
-
args: [BsToggleButtonComponent, { descendants: true }]
|
|
162
|
+
class BsToggleButtonGroupDirective {
|
|
163
|
+
constructor() { }
|
|
164
|
+
}
|
|
165
|
+
BsToggleButtonGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BsToggleButtonGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
166
|
+
BsToggleButtonGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: BsToggleButtonGroupDirective, selector: "[bsToggleButtonGroup]", queries: [{ propertyName: "toggleButtons", predicate: BsToggleButtonComponent, descendants: true }], exportAs: ["bsToggleButtonGroup"], ngImport: i0 });
|
|
167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BsToggleButtonGroupDirective, decorators: [{
|
|
168
|
+
type: Directive,
|
|
169
|
+
args: [{
|
|
170
|
+
selector: '[bsToggleButtonGroup]',
|
|
171
|
+
exportAs: 'bsToggleButtonGroup'
|
|
172
|
+
}]
|
|
173
|
+
}], ctorParameters: function () { return []; }, propDecorators: { toggleButtons: [{
|
|
174
|
+
type: ContentChildren,
|
|
175
|
+
args: [BsToggleButtonComponent, { descendants: true }]
|
|
176
176
|
}] } });
|
|
177
177
|
|
|
178
|
-
class BsToggleButtonValueAccessor {
|
|
179
|
-
constructor(host) {
|
|
180
|
-
this.host = host;
|
|
181
|
-
this.destroyed$ = new Subject();
|
|
182
|
-
}
|
|
183
|
-
//#region Lifecycle hooks
|
|
184
|
-
ngAfterViewInit() {
|
|
185
|
-
fromEvent(this.host.checkbox.nativeElement, 'change')
|
|
186
|
-
.pipe(takeUntil(this.destroyed$))
|
|
187
|
-
.subscribe((ev) => {
|
|
188
|
-
if (this.onValueChange && this.host.checkbox) {
|
|
189
|
-
const isChecked = ev.target.checked;
|
|
190
|
-
switch (this.host.type) {
|
|
191
|
-
case 'radio':
|
|
192
|
-
case 'radio_toggle_button':
|
|
193
|
-
if (isChecked) {
|
|
194
|
-
this.onValueChange(this.host.checkbox.nativeElement.value);
|
|
195
|
-
}
|
|
196
|
-
break;
|
|
197
|
-
default:
|
|
198
|
-
if (this.host['group']) {
|
|
199
|
-
const group = this.host['group'];
|
|
200
|
-
const itemValue = this.host.checkbox.nativeElement.value;
|
|
201
|
-
const result = group.toggleButtons
|
|
202
|
-
.map(tb => ({ value: tb.value, checked: tb.checkbox.nativeElement.checked }))
|
|
203
|
-
.filter(tb => !!tb.value && tb.checked)
|
|
204
|
-
.map(tb => tb.value);
|
|
205
|
-
if (this.host.checkbox.nativeElement.checked) {
|
|
206
|
-
if (!result.includes(itemValue)) {
|
|
207
|
-
result.push(itemValue);
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
else {
|
|
211
|
-
if (result.includes(itemValue)) {
|
|
212
|
-
result.splice(result.indexOf(itemValue), 1);
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
this.onValueChange(result);
|
|
216
|
-
}
|
|
217
|
-
else {
|
|
218
|
-
this.onValueChange(isChecked);
|
|
219
|
-
}
|
|
220
|
-
break;
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
});
|
|
224
|
-
}
|
|
225
|
-
ngOnDestroy() {
|
|
226
|
-
this.destroyed$.next(true);
|
|
227
|
-
}
|
|
228
|
-
//#endregion
|
|
229
|
-
//#region ControlValueAccessor implementation
|
|
230
|
-
registerOnChange(fn) {
|
|
231
|
-
this.onValueChange = fn;
|
|
232
|
-
}
|
|
233
|
-
registerOnTouched(fn) {
|
|
234
|
-
this.onTouched = fn;
|
|
235
|
-
}
|
|
236
|
-
writeValue(value) {
|
|
237
|
-
if (this.host.checkbox) {
|
|
238
|
-
switch (this.host.type) {
|
|
239
|
-
case 'radio':
|
|
240
|
-
case 'radio_toggle_button':
|
|
241
|
-
if (value === this.host.value) {
|
|
242
|
-
this.host.checkbox.nativeElement.checked = true;
|
|
243
|
-
}
|
|
244
|
-
break;
|
|
245
|
-
default:
|
|
246
|
-
if (this.host.group) {
|
|
247
|
-
this.host.checkbox.nativeElement.checked = value.includes(this.host.value);
|
|
248
|
-
}
|
|
249
|
-
else {
|
|
250
|
-
this.host.checkbox.nativeElement.checked = value;
|
|
251
|
-
}
|
|
252
|
-
break;
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
setDisabledState(isDisabled) {
|
|
257
|
-
if (this.host.checkbox) {
|
|
258
|
-
this.host.checkbox.nativeElement.disabled = isDisabled;
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
BsToggleButtonValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
263
|
-
BsToggleButtonValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
264
|
-
provide: NG_VALUE_ACCESSOR,
|
|
265
|
-
useExisting: forwardRef(() => BsToggleButtonValueAccessor),
|
|
266
|
-
multi: true,
|
|
267
|
-
}], ngImport: i0 });
|
|
268
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
269
|
-
type: Directive,
|
|
270
|
-
args: [{
|
|
271
|
-
selector: 'bs-toggle-button',
|
|
272
|
-
providers: [{
|
|
273
|
-
provide: NG_VALUE_ACCESSOR,
|
|
274
|
-
useExisting: forwardRef(() => BsToggleButtonValueAccessor),
|
|
275
|
-
multi: true,
|
|
276
|
-
}],
|
|
277
|
-
}]
|
|
178
|
+
class BsToggleButtonValueAccessor {
|
|
179
|
+
constructor(host) {
|
|
180
|
+
this.host = host;
|
|
181
|
+
this.destroyed$ = new Subject();
|
|
182
|
+
}
|
|
183
|
+
//#region Lifecycle hooks
|
|
184
|
+
ngAfterViewInit() {
|
|
185
|
+
fromEvent(this.host.checkbox.nativeElement, 'change')
|
|
186
|
+
.pipe(takeUntil(this.destroyed$))
|
|
187
|
+
.subscribe((ev) => {
|
|
188
|
+
if (this.onValueChange && this.host.checkbox) {
|
|
189
|
+
const isChecked = ev.target.checked;
|
|
190
|
+
switch (this.host.type) {
|
|
191
|
+
case 'radio':
|
|
192
|
+
case 'radio_toggle_button':
|
|
193
|
+
if (isChecked) {
|
|
194
|
+
this.onValueChange(this.host.checkbox.nativeElement.value);
|
|
195
|
+
}
|
|
196
|
+
break;
|
|
197
|
+
default:
|
|
198
|
+
if (this.host['group']) {
|
|
199
|
+
const group = this.host['group'];
|
|
200
|
+
const itemValue = this.host.checkbox.nativeElement.value;
|
|
201
|
+
const result = group.toggleButtons
|
|
202
|
+
.map(tb => ({ value: tb.value, checked: tb.checkbox.nativeElement.checked }))
|
|
203
|
+
.filter(tb => !!tb.value && tb.checked)
|
|
204
|
+
.map(tb => tb.value);
|
|
205
|
+
if (this.host.checkbox.nativeElement.checked) {
|
|
206
|
+
if (!result.includes(itemValue)) {
|
|
207
|
+
result.push(itemValue);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
else {
|
|
211
|
+
if (result.includes(itemValue)) {
|
|
212
|
+
result.splice(result.indexOf(itemValue), 1);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
this.onValueChange(result);
|
|
216
|
+
}
|
|
217
|
+
else {
|
|
218
|
+
this.onValueChange(isChecked);
|
|
219
|
+
}
|
|
220
|
+
break;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
});
|
|
224
|
+
}
|
|
225
|
+
ngOnDestroy() {
|
|
226
|
+
this.destroyed$.next(true);
|
|
227
|
+
}
|
|
228
|
+
//#endregion
|
|
229
|
+
//#region ControlValueAccessor implementation
|
|
230
|
+
registerOnChange(fn) {
|
|
231
|
+
this.onValueChange = fn;
|
|
232
|
+
}
|
|
233
|
+
registerOnTouched(fn) {
|
|
234
|
+
this.onTouched = fn;
|
|
235
|
+
}
|
|
236
|
+
writeValue(value) {
|
|
237
|
+
if (this.host.checkbox) {
|
|
238
|
+
switch (this.host.type) {
|
|
239
|
+
case 'radio':
|
|
240
|
+
case 'radio_toggle_button':
|
|
241
|
+
if (value === this.host.value) {
|
|
242
|
+
this.host.checkbox.nativeElement.checked = true;
|
|
243
|
+
}
|
|
244
|
+
break;
|
|
245
|
+
default:
|
|
246
|
+
if (this.host.group) {
|
|
247
|
+
this.host.checkbox.nativeElement.checked = value.includes(this.host.value);
|
|
248
|
+
}
|
|
249
|
+
else {
|
|
250
|
+
this.host.checkbox.nativeElement.checked = value;
|
|
251
|
+
}
|
|
252
|
+
break;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
setDisabledState(isDisabled) {
|
|
257
|
+
if (this.host.checkbox) {
|
|
258
|
+
this.host.checkbox.nativeElement.disabled = isDisabled;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
BsToggleButtonValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BsToggleButtonValueAccessor, deps: [{ token: BsToggleButtonComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
263
|
+
BsToggleButtonValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: BsToggleButtonValueAccessor, selector: "bs-toggle-button", providers: [{
|
|
264
|
+
provide: NG_VALUE_ACCESSOR,
|
|
265
|
+
useExisting: forwardRef(() => BsToggleButtonValueAccessor),
|
|
266
|
+
multi: true,
|
|
267
|
+
}], ngImport: i0 });
|
|
268
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BsToggleButtonValueAccessor, decorators: [{
|
|
269
|
+
type: Directive,
|
|
270
|
+
args: [{
|
|
271
|
+
selector: 'bs-toggle-button',
|
|
272
|
+
providers: [{
|
|
273
|
+
provide: NG_VALUE_ACCESSOR,
|
|
274
|
+
useExisting: forwardRef(() => BsToggleButtonValueAccessor),
|
|
275
|
+
multi: true,
|
|
276
|
+
}],
|
|
277
|
+
}]
|
|
278
278
|
}], ctorParameters: function () { return [{ type: BsToggleButtonComponent }]; } });
|
|
279
279
|
|
|
280
|
-
class BsToggleButtonModule {
|
|
281
|
-
}
|
|
282
|
-
BsToggleButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
283
|
-
BsToggleButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.
|
|
284
|
-
BsToggleButtonValueAccessor,
|
|
285
|
-
BsToggleButtonGroupDirective], imports: [CommonModule], exports: [BsToggleButtonComponent,
|
|
286
|
-
BsToggleButtonValueAccessor,
|
|
287
|
-
BsToggleButtonGroupDirective] });
|
|
288
|
-
BsToggleButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.
|
|
289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
290
|
-
type: NgModule,
|
|
291
|
-
args: [{
|
|
292
|
-
declarations: [
|
|
293
|
-
BsToggleButtonComponent,
|
|
294
|
-
BsToggleButtonValueAccessor,
|
|
295
|
-
BsToggleButtonGroupDirective
|
|
296
|
-
],
|
|
297
|
-
imports: [
|
|
298
|
-
CommonModule
|
|
299
|
-
],
|
|
300
|
-
exports: [
|
|
301
|
-
BsToggleButtonComponent,
|
|
302
|
-
BsToggleButtonValueAccessor,
|
|
303
|
-
BsToggleButtonGroupDirective
|
|
304
|
-
]
|
|
305
|
-
}]
|
|
280
|
+
class BsToggleButtonModule {
|
|
281
|
+
}
|
|
282
|
+
BsToggleButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BsToggleButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
283
|
+
BsToggleButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: BsToggleButtonModule, declarations: [BsToggleButtonComponent,
|
|
284
|
+
BsToggleButtonValueAccessor,
|
|
285
|
+
BsToggleButtonGroupDirective], imports: [CommonModule], exports: [BsToggleButtonComponent,
|
|
286
|
+
BsToggleButtonValueAccessor,
|
|
287
|
+
BsToggleButtonGroupDirective] });
|
|
288
|
+
BsToggleButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BsToggleButtonModule, imports: [CommonModule] });
|
|
289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BsToggleButtonModule, decorators: [{
|
|
290
|
+
type: NgModule,
|
|
291
|
+
args: [{
|
|
292
|
+
declarations: [
|
|
293
|
+
BsToggleButtonComponent,
|
|
294
|
+
BsToggleButtonValueAccessor,
|
|
295
|
+
BsToggleButtonGroupDirective
|
|
296
|
+
],
|
|
297
|
+
imports: [
|
|
298
|
+
CommonModule
|
|
299
|
+
],
|
|
300
|
+
exports: [
|
|
301
|
+
BsToggleButtonComponent,
|
|
302
|
+
BsToggleButtonValueAccessor,
|
|
303
|
+
BsToggleButtonGroupDirective
|
|
304
|
+
]
|
|
305
|
+
}]
|
|
306
306
|
}] });
|
|
307
307
|
|
|
308
|
-
/**
|
|
309
|
-
* Generated bundle index. Do not edit.
|
|
308
|
+
/**
|
|
309
|
+
* Generated bundle index. Do not edit.
|
|
310
310
|
*/
|
|
311
311
|
|
|
312
312
|
export { BsToggleButtonComponent, BsToggleButtonGroupDirective, BsToggleButtonModule, BsToggleButtonValueAccessor };
|