@mintplayer/ng-bootstrap 13.1.6 → 13.1.11
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/esm2020/index.mjs +2 -1
- package/esm2020/lib/components/accordion/accordion-tab/accordion-tab.component.mjs +4 -3
- package/esm2020/lib/components/accordion/accordion-tab-header/accordion-tab-header.component.mjs +7 -3
- package/esm2020/lib/components/alert/alert/alert.component.mjs +4 -4
- package/esm2020/lib/components/calendar/calendar.component.mjs +77 -34
- package/esm2020/lib/components/carousel/carousel/carousel.component.mjs +21 -7
- package/esm2020/lib/components/context-menu/context-menu.directive.mjs +63 -0
- package/esm2020/lib/components/context-menu/context-menu.module.mjs +26 -0
- package/esm2020/lib/components/context-menu/index.mjs +3 -0
- package/esm2020/lib/components/datepicker/datepicker.component.mjs +22 -0
- package/esm2020/lib/components/datepicker/datepicker.module.mjs +34 -0
- package/esm2020/lib/components/datepicker/index.mjs +3 -0
- package/esm2020/lib/components/dropdown/dropdown/dropdown.directive.mjs +58 -0
- package/esm2020/lib/components/dropdown/dropdown-menu/dropdown-menu.directive.mjs +91 -0
- package/esm2020/lib/components/dropdown/dropdown-toggle/dropdown-toggle.directive.mjs +28 -0
- package/esm2020/lib/components/dropdown/dropdown.module.mjs +44 -0
- package/esm2020/lib/components/dropdown/index.mjs +5 -0
- package/esm2020/lib/components/index.mjs +15 -4
- package/esm2020/lib/components/multiselect/index.mjs +3 -0
- package/esm2020/lib/components/multiselect/multiselect.component.mjs +36 -0
- package/esm2020/lib/components/multiselect/multiselect.module.mjs +34 -0
- package/esm2020/lib/components/navbar/nav-link/nav-link.directive.mjs +1 -1
- package/esm2020/lib/components/navbar/navbar/navbar.component.mjs +9 -6
- package/esm2020/lib/components/navbar/navbar-nav/navbar-nav.component.mjs +47 -9
- package/esm2020/lib/components/pagination/index.mjs +3 -0
- package/esm2020/lib/components/progress-bar/index.mjs +4 -0
- package/esm2020/lib/components/progress-bar/progress/progress.component.mjs +27 -0
- package/esm2020/lib/components/progress-bar/progress-bar/progress-bar.component.mjs +121 -0
- package/esm2020/lib/components/progress-bar/progress-bar.module.mjs +31 -0
- package/esm2020/lib/components/scrollspy/component/scrollspy.component.mjs +54 -14
- package/esm2020/lib/components/select2/component/select2.component.mjs +96 -0
- package/esm2020/lib/components/select2/directive/item-template.directive.mjs +19 -0
- package/esm2020/lib/components/select2/index.mjs +4 -0
- package/esm2020/lib/components/select2/select2.module.mjs +43 -0
- package/esm2020/lib/components/snackbar/component/snackbar.component.mjs +35 -0
- package/esm2020/lib/components/snackbar/directives/index.mjs +2 -0
- package/esm2020/lib/components/snackbar/directives/snackbar-close/snackbar-close.directive.mjs +27 -0
- package/esm2020/lib/components/snackbar/index.mjs +6 -0
- package/esm2020/lib/components/snackbar/interfaces/index.mjs +2 -0
- package/esm2020/lib/components/snackbar/interfaces/snackbar-animation-meta.mjs +2 -0
- package/esm2020/lib/components/snackbar/providers/snackbar-content.provider.mjs +3 -0
- package/esm2020/lib/components/snackbar/service/snackbar.service.mjs +49 -0
- package/esm2020/lib/components/snackbar/snackbar.module.mjs +38 -0
- package/esm2020/lib/components/toggle-button/index.mjs +3 -0
- package/esm2020/lib/components/toggle-button/toggle-button.component.mjs +42 -0
- package/esm2020/lib/components/toggle-button/toggle-button.module.mjs +26 -0
- package/esm2020/lib/components/tooltip/component/tooltip.component.mjs +25 -0
- package/esm2020/lib/components/tooltip/directive/tooltip.directive.mjs +110 -0
- package/esm2020/lib/components/tooltip/index.mjs +4 -0
- package/esm2020/lib/components/tooltip/providers/tooltip-content.provider.mjs +3 -0
- package/esm2020/lib/components/tooltip/tooltip.module.mjs +29 -0
- package/esm2020/lib/components/typeahead/index.mjs +3 -0
- package/esm2020/lib/components/typeahead/typeahead.component.mjs +90 -0
- package/esm2020/lib/components/typeahead/typeahead.module.mjs +38 -0
- package/esm2020/lib/enums/index.mjs +2 -1
- package/esm2020/lib/enums/position.enum.mjs +8 -0
- package/esm2020/lib/pipes/font-color/font-color.module.mjs +26 -0
- package/esm2020/lib/pipes/font-color/font-color.pipe.mjs +26 -0
- package/esm2020/lib/pipes/font-color/index.mjs +3 -0
- package/esm2020/lib/pipes/in-list/in-list.module.mjs +26 -0
- package/esm2020/lib/pipes/in-list/in-list.pipe.mjs +16 -0
- package/esm2020/lib/pipes/index.mjs +2 -0
- package/esm2020/lib/pipes/month-name/month-name.pipe.mjs +7 -2
- package/esm2020/lib/services/calendar-month/calendar-month.service.mjs +12 -14
- package/esm2020/lib/services/scroll-offset/scroll-offset.service.mjs +31 -0
- package/fesm2015/mintplayer-ng-bootstrap.mjs +1674 -270
- package/fesm2015/mintplayer-ng-bootstrap.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap.mjs +1658 -268
- package/fesm2020/mintplayer-ng-bootstrap.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/lib/components/accordion/accordion-tab-header/accordion-tab-header.component.d.ts +1 -0
- package/lib/components/calendar/calendar.component.d.ts +21 -13
- package/lib/components/carousel/carousel/carousel.component.d.ts +4 -1
- package/lib/components/context-menu/context-menu.directive.d.ts +17 -0
- package/lib/components/context-menu/context-menu.module.d.ts +8 -0
- package/lib/components/context-menu/index.d.ts +2 -0
- package/lib/components/datepicker/datepicker.component.d.ts +10 -0
- package/lib/components/datepicker/datepicker.module.d.ts +10 -0
- package/lib/components/datepicker/index.d.ts +2 -0
- package/lib/components/dropdown/dropdown/dropdown.directive.d.ts +21 -0
- package/lib/components/dropdown/dropdown-menu/dropdown-menu.directive.d.ts +20 -0
- package/lib/components/dropdown/dropdown-toggle/dropdown-toggle.directive.d.ts +11 -0
- package/lib/components/dropdown/dropdown.module.d.ts +12 -0
- package/lib/components/dropdown/index.d.ts +4 -0
- package/lib/components/index.d.ts +14 -3
- package/lib/components/multiselect/index.d.ts +2 -0
- package/lib/components/multiselect/multiselect.component.d.ts +12 -0
- package/lib/components/multiselect/multiselect.module.d.ts +10 -0
- package/lib/components/navbar/navbar/navbar.component.d.ts +3 -3
- package/lib/components/navbar/navbar-nav/navbar-nav.component.d.ts +10 -4
- package/lib/components/pagination/index.d.ts +2 -0
- package/lib/components/progress-bar/index.d.ts +3 -0
- package/lib/components/progress-bar/progress/progress.component.d.ts +8 -0
- package/lib/components/progress-bar/progress-bar/progress-bar.component.d.ts +31 -0
- package/lib/components/progress-bar/progress-bar.module.d.ts +9 -0
- package/lib/components/scrollspy/component/scrollspy.component.d.ts +14 -4
- package/lib/components/select2/component/select2.component.d.ts +30 -0
- package/lib/components/select2/directive/item-template.directive.d.ts +9 -0
- package/lib/components/select2/index.d.ts +3 -0
- package/lib/components/select2/select2.module.d.ts +12 -0
- package/lib/components/snackbar/component/snackbar.component.d.ts +15 -0
- package/lib/components/snackbar/directives/index.d.ts +1 -0
- package/lib/components/snackbar/directives/snackbar-close/snackbar-close.directive.d.ts +11 -0
- package/lib/components/snackbar/index.d.ts +5 -0
- package/lib/components/snackbar/interfaces/index.d.ts +1 -0
- package/lib/components/snackbar/interfaces/snackbar-animation-meta.d.ts +7 -0
- package/lib/components/snackbar/providers/snackbar-content.provider.d.ts +2 -0
- package/lib/components/snackbar/service/snackbar.service.d.ts +14 -0
- package/lib/components/snackbar/snackbar.module.d.ts +9 -0
- package/lib/components/toggle-button/index.d.ts +2 -0
- package/lib/components/toggle-button/toggle-button.component.d.ts +15 -0
- package/lib/components/toggle-button/toggle-button.module.d.ts +8 -0
- package/lib/components/tooltip/component/tooltip.component.d.ts +11 -0
- package/lib/components/tooltip/directive/tooltip.directive.d.ts +20 -0
- package/lib/components/tooltip/index.d.ts +2 -0
- package/lib/components/tooltip/providers/tooltip-content.provider.d.ts +2 -0
- package/lib/components/tooltip/tooltip.module.d.ts +9 -0
- package/lib/components/typeahead/index.d.ts +2 -0
- package/lib/components/typeahead/typeahead.component.d.ts +29 -0
- package/lib/components/typeahead/typeahead.module.d.ts +11 -0
- package/lib/enums/index.d.ts +1 -0
- package/lib/enums/position.enum.d.ts +6 -0
- package/lib/pipes/font-color/font-color.module.d.ts +8 -0
- package/lib/pipes/font-color/font-color.pipe.d.ts +7 -0
- package/lib/pipes/font-color/index.d.ts +2 -0
- package/lib/pipes/in-list/in-list.module.d.ts +8 -0
- package/lib/pipes/in-list/in-list.pipe.d.ts +7 -0
- package/lib/pipes/index.d.ts +1 -0
- package/lib/pipes/month-name/month-name.pipe.d.ts +1 -1
- package/lib/services/calendar-month/calendar-month.service.d.ts +0 -1
- package/lib/services/scroll-offset/scroll-offset.service.d.ts +9 -0
- package/package.json +5 -2
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./directive/tooltip.directive";
|
|
3
|
+
import * as i2 from "./component/tooltip.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
export declare class BsTooltipModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsTooltipModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BsTooltipModule, [typeof i1.BsTooltipDirective, typeof i2.BsTooltipComponent], [typeof i3.CommonModule], [typeof i1.BsTooltipDirective]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BsTooltipModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BsTypeaheadComponent implements AfterViewInit {
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
suggestions$: BehaviorSubject<any[]>;
|
|
7
|
+
isLoading$: BehaviorSubject<boolean>;
|
|
8
|
+
showNoSuggestions$: Observable<boolean>;
|
|
9
|
+
hostWidth$: BehaviorSubject<number>;
|
|
10
|
+
destroyed$: Subject<unknown>;
|
|
11
|
+
textbox: ElementRef<HTMLInputElement>;
|
|
12
|
+
searchterm: string;
|
|
13
|
+
isLoadingText: string;
|
|
14
|
+
noSuggestionsText: string;
|
|
15
|
+
provideSuggestions: EventEmitter<string>;
|
|
16
|
+
suggestionSelected: EventEmitter<any>;
|
|
17
|
+
searchtermChange: EventEmitter<string>;
|
|
18
|
+
submitted: EventEmitter<string>;
|
|
19
|
+
constructor();
|
|
20
|
+
ngAfterViewInit(): void;
|
|
21
|
+
onProvideSuggestions(value: string): void;
|
|
22
|
+
set suggestions(value: any[]);
|
|
23
|
+
suggestionClicked(suggestion: any): void;
|
|
24
|
+
onSubmit(): void;
|
|
25
|
+
focus(): void;
|
|
26
|
+
onResize(): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsTypeaheadComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsTypeaheadComponent, "bs-typeahead", never, { "searchterm": "searchterm"; "isLoadingText": "isLoadingText"; "noSuggestionsText": "noSuggestionsText"; "suggestions": "suggestions"; }, { "provideSuggestions": "provideSuggestions"; "suggestionSelected": "suggestionSelected"; "searchtermChange": "searchtermChange"; "submitted": "submitted"; }, never, never>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./typeahead.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "../dropdown/dropdown.module";
|
|
6
|
+
import * as i5 from "../progress-bar/progress-bar.module";
|
|
7
|
+
export declare class BsTypeaheadModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsTypeaheadModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BsTypeaheadModule, [typeof i1.BsTypeaheadComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.BsDropdownModule, typeof i5.BsProgressBarModule], [typeof i1.BsTypeaheadComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BsTypeaheadModule>;
|
|
11
|
+
}
|
package/lib/enums/index.d.ts
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./font-color.pipe";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class BsFontColorPipeModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsFontColorPipeModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BsFontColorPipeModule, [typeof i1.BsFontColorPipe], [typeof i2.CommonModule], [typeof i1.BsFontColorPipe]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BsFontColorPipeModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BsFontColorPipe implements PipeTransform {
|
|
4
|
+
transform(color_hex: any): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsFontColorPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<BsFontColorPipe, "bsFontColor">;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./in-list.pipe";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class BsInListModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsInListModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BsInListModule, [typeof i1.BsInListPipe], [typeof i2.CommonModule], [typeof i1.BsInListPipe]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BsInListModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BsInListPipe implements PipeTransform {
|
|
4
|
+
transform(items: any[], parameter: number): boolean;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsInListPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<BsInListPipe, "inList">;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './font-color';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class MonthNamePipe implements PipeTransform {
|
|
4
|
-
transform(date: Date, ...args: any[]): string;
|
|
4
|
+
transform(date: Date | null, ...args: any[]): string;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<MonthNamePipe, never>;
|
|
6
6
|
static ɵpipe: i0.ɵɵPipeDeclaration<MonthNamePipe, "monthName">;
|
|
7
7
|
}
|
|
@@ -2,7 +2,6 @@ import { FirstAndLastDate } from '../../interfaces/first-and-last-date';
|
|
|
2
2
|
import { Week } from '../../interfaces/week';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class BsCalendarMonthService {
|
|
5
|
-
constructor();
|
|
6
5
|
getWeeks(month: Date): Week[];
|
|
7
6
|
generateList(count: number): number[];
|
|
8
7
|
dayOfWeekMondayBased(date: Date): number;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ExtraOptions } from '@angular/router';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BsScrollOffsetService {
|
|
4
|
+
private routerConfig;
|
|
5
|
+
constructor(routerConfig: ExtraOptions);
|
|
6
|
+
getScrollOffset(): [number, number];
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsScrollOffsetService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BsScrollOffsetService>;
|
|
9
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintplayer/ng-bootstrap",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "13.1.
|
|
4
|
+
"version": "13.1.11",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/MintPlayer/mintplayer-ng-bootstrap"
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"peerDependencies": {
|
|
10
10
|
"@angular/common": "^13.0.0",
|
|
11
11
|
"@angular/core": "^13.0.0",
|
|
12
|
+
"@angular/cdk": "^13.0.0",
|
|
12
13
|
"bootstrap": "^5.1.3",
|
|
13
14
|
"bootstrap-icons": "^1.7.2",
|
|
14
15
|
"@mintplayer/ng-click-outside": "^13.0.0",
|
|
@@ -17,7 +18,9 @@
|
|
|
17
18
|
"@angular/animations": "13.1.1",
|
|
18
19
|
"@angular/platform-browser": "13.1.1",
|
|
19
20
|
"rxjs": "~7.4.0",
|
|
20
|
-
"@
|
|
21
|
+
"@mintplayer/ng-focus-on-load": "^13.1.0",
|
|
22
|
+
"@angular/router": "13.1.1",
|
|
23
|
+
"@angular/forms": "13.1.1"
|
|
21
24
|
},
|
|
22
25
|
"dependencies": {
|
|
23
26
|
"tslib": "^2.3.0"
|