@mintplayer/ng-bootstrap 13.1.7 → 13.1.9
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 +3 -3
- package/esm2020/lib/components/carousel/carousel/carousel.component.mjs +21 -7
- package/esm2020/lib/components/context-menu/context-menu.directive.mjs +57 -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 +1 -1
- package/esm2020/lib/components/dropdown/dropdown/dropdown.directive.mjs +26 -6
- package/esm2020/lib/components/dropdown/dropdown-menu/dropdown-menu.directive.mjs +40 -13
- package/esm2020/lib/components/dropdown/dropdown-toggle/dropdown-toggle.directive.mjs +1 -2
- package/esm2020/lib/components/dropdown/dropdown.module.mjs +8 -4
- package/esm2020/lib/components/index.mjs +15 -7
- package/esm2020/lib/components/multiselect/multiselect.component.mjs +8 -5
- package/esm2020/lib/components/multiselect/multiselect.module.mjs +8 -4
- package/esm2020/lib/components/navbar/navbar-nav/navbar-nav.component.mjs +4 -3
- 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 +28 -12
- package/esm2020/lib/components/select2/component/select2.component.mjs +96 -0
- package/esm2020/lib/components/select2/directive/item-template.directive.mjs +20 -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 +50 -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 +104 -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/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 +1434 -393
- package/fesm2015/mintplayer-ng-bootstrap.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap.mjs +1419 -390
- 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/carousel/carousel/carousel.component.d.ts +4 -1
- package/lib/components/context-menu/context-menu.directive.d.ts +16 -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/dropdown/dropdown/dropdown.directive.d.ts +9 -2
- package/lib/components/dropdown/dropdown-menu/dropdown-menu.directive.d.ts +6 -3
- package/lib/components/dropdown/dropdown.module.d.ts +2 -1
- package/lib/components/index.d.ts +14 -6
- package/lib/components/multiselect/multiselect.component.d.ts +3 -2
- package/lib/components/multiselect/multiselect.module.d.ts +2 -1
- 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 +6 -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 +16 -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 +19 -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/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 +4 -2
package/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export declare class BsAccordionTabHeaderComponent implements OnInit {
|
|
|
8
8
|
constructor(accordionTab: BsAccordionTabComponent, accordion: BsAccordionComponent);
|
|
9
9
|
ngOnInit(): void;
|
|
10
10
|
headerClicked(event: MouseEvent): void;
|
|
11
|
+
foo(event: MouseEvent): void;
|
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsAccordionTabHeaderComponent, never>;
|
|
12
13
|
static ɵcmp: i0.ɵɵComponentDeclaration<BsAccordionTabHeaderComponent, "bs-accordion-tab-header", never, {}, {}, never, ["*"]>;
|
|
13
14
|
}
|
|
@@ -7,7 +7,10 @@ export declare class BsCarouselComponent implements OnInit, OnDestroy, AfterCont
|
|
|
7
7
|
ngOnInit(): void;
|
|
8
8
|
ngOnDestroy(): void;
|
|
9
9
|
ngAfterContentInit(): void;
|
|
10
|
-
|
|
10
|
+
animationsDisabled: boolean;
|
|
11
|
+
private _animation;
|
|
12
|
+
set animation(value: 'fade' | 'slide');
|
|
13
|
+
get animation(): 'fade' | 'slide';
|
|
11
14
|
destroyed$: Subject<unknown>;
|
|
12
15
|
currentImageCounter$: BehaviorSubject<number>;
|
|
13
16
|
currentImageIndex$: Observable<number>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Overlay } from '@angular/cdk/overlay';
|
|
2
|
+
import { ElementRef, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BsContextMenuDirective {
|
|
5
|
+
private overlay;
|
|
6
|
+
private templateRef;
|
|
7
|
+
private viewContainerRef;
|
|
8
|
+
private element;
|
|
9
|
+
constructor(overlay: Overlay, templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef, element: ElementRef);
|
|
10
|
+
clickAnywhere(ev: MouseEvent): void;
|
|
11
|
+
private checkAndCloseExisting;
|
|
12
|
+
private overlayRef;
|
|
13
|
+
private templatePortal;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsContextMenuDirective, [null, null, null, { host: true; skipSelf: true; }]>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BsContextMenuDirective, "[bsContextMenu]", never, {}, {}, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./context-menu.directive";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class BsContextMenuModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsContextMenuModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BsContextMenuModule, [typeof i1.BsContextMenuDirective], [typeof i2.CommonModule], [typeof i1.BsContextMenuDirective]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BsContextMenuModule>;
|
|
8
|
+
}
|
|
@@ -1,13 +1,20 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter } from '@angular/core';
|
|
1
2
|
import { BehaviorSubject } from 'rxjs';
|
|
2
3
|
import { BsDropdownMenuDirective } from '../dropdown-menu/dropdown-menu.directive';
|
|
3
4
|
import { BsDropdownToggleDirective } from '../dropdown-toggle/dropdown-toggle.directive';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class BsDropdownDirective {
|
|
7
|
+
constructor(elementRef: ElementRef<any>);
|
|
6
8
|
isOpen$: BehaviorSubject<boolean>;
|
|
9
|
+
elementRef: ElementRef<any>;
|
|
7
10
|
menu: BsDropdownMenuDirective;
|
|
8
|
-
toggle: BsDropdownToggleDirective;
|
|
11
|
+
toggle: BsDropdownToggleDirective | null;
|
|
9
12
|
hasBackdrop: boolean;
|
|
13
|
+
sameWidth: boolean;
|
|
10
14
|
closeOnClickOutside: boolean;
|
|
15
|
+
get isOpen(): boolean;
|
|
16
|
+
isOpenChange: EventEmitter<boolean>;
|
|
17
|
+
set isOpen(value: boolean);
|
|
11
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsDropdownDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BsDropdownDirective, "[bsDropdown]", never, { "hasBackdrop": "hasBackdrop"; "closeOnClickOutside": "closeOnClickOutside"; }, {}, ["menu", "toggle"]>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BsDropdownDirective, "[bsDropdown]", never, { "hasBackdrop": "hasBackdrop"; "sameWidth": "sameWidth"; "closeOnClickOutside": "closeOnClickOutside"; "isOpen": "isOpen"; }, { "isOpenChange": "isOpenChange"; }, ["menu", "toggle"]>;
|
|
13
20
|
}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
import { TemplateRef, ViewContainerRef } from '@angular/core';
|
|
1
|
+
import { ElementRef, NgZone, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { Overlay } from '@angular/cdk/overlay';
|
|
3
|
+
import { ClickOutsideDirective } from '@mintplayer/ng-click-outside';
|
|
3
4
|
import { BsDropdownDirective } from '../dropdown/dropdown.directive';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class BsDropdownMenuDirective {
|
|
6
|
+
export declare class BsDropdownMenuDirective extends ClickOutsideDirective {
|
|
6
7
|
private dropdown;
|
|
7
8
|
private viewContainerRef;
|
|
8
9
|
private templateRef;
|
|
9
10
|
private overlay;
|
|
10
|
-
constructor(dropdown: BsDropdownDirective, document: any, viewContainerRef: ViewContainerRef, templateRef: TemplateRef<any>, overlay: Overlay);
|
|
11
|
+
constructor(dropdown: BsDropdownDirective, document: any, viewContainerRef: ViewContainerRef, templateRef: TemplateRef<any>, overlay: Overlay, elementRef: ElementRef<any>, zone: NgZone, platformId: Object);
|
|
12
|
+
clickedOutside(ev: MouseEvent): void;
|
|
13
|
+
private wait;
|
|
11
14
|
private document;
|
|
12
15
|
private destroyed$;
|
|
13
16
|
private overlayRef;
|
|
@@ -4,8 +4,9 @@ import * as i2 from "./dropdown-toggle/dropdown-toggle.directive";
|
|
|
4
4
|
import * as i3 from "./dropdown-menu/dropdown-menu.directive";
|
|
5
5
|
import * as i4 from "@angular/common";
|
|
6
6
|
import * as i5 from "@angular/cdk/overlay";
|
|
7
|
+
import * as i6 from "@mintplayer/ng-click-outside";
|
|
7
8
|
export declare class BsDropdownModule {
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsDropdownModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BsDropdownModule, [typeof i1.BsDropdownDirective, typeof i2.BsDropdownToggleDirective, typeof i3.BsDropdownMenuDirective], [typeof i4.CommonModule, typeof i5.OverlayModule], [typeof i1.BsDropdownDirective, typeof i2.BsDropdownToggleDirective, typeof i3.BsDropdownMenuDirective]>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BsDropdownModule, [typeof i1.BsDropdownDirective, typeof i2.BsDropdownToggleDirective, typeof i3.BsDropdownMenuDirective], [typeof i4.CommonModule, typeof i5.OverlayModule, typeof i6.ClickOutsideModule], [typeof i1.BsDropdownDirective, typeof i2.BsDropdownToggleDirective, typeof i3.BsDropdownMenuDirective]>;
|
|
10
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<BsDropdownModule>;
|
|
11
12
|
}
|
|
@@ -1,13 +1,21 @@
|
|
|
1
|
+
export * from './accordion';
|
|
1
2
|
export * from './alert';
|
|
2
|
-
export * from './card';
|
|
3
3
|
export * from './calendar';
|
|
4
|
+
export * from './card';
|
|
4
5
|
export * from './carousel';
|
|
6
|
+
export * from './context-menu';
|
|
5
7
|
export * from './datatable';
|
|
8
|
+
export * from './datepicker';
|
|
9
|
+
export * from './dropdown';
|
|
6
10
|
export * from './list-group';
|
|
11
|
+
export * from './multiselect';
|
|
7
12
|
export * from './navbar';
|
|
8
|
-
export * from './
|
|
9
|
-
export * from './
|
|
13
|
+
export * from './pagination';
|
|
14
|
+
export * from './progress-bar';
|
|
10
15
|
export * from './scrollspy';
|
|
11
|
-
export * from './
|
|
12
|
-
export * from './
|
|
13
|
-
export * from './
|
|
16
|
+
export * from './select2';
|
|
17
|
+
export * from './snackbar';
|
|
18
|
+
export * from './tab-control';
|
|
19
|
+
export * from './toggle-button';
|
|
20
|
+
export * from './tooltip';
|
|
21
|
+
export * from './typeahead';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class BsMultiselectComponent implements OnInit {
|
|
4
4
|
constructor();
|
|
5
|
+
template: TemplateRef<any>;
|
|
5
6
|
items: any[];
|
|
6
7
|
selectedItems: any[];
|
|
7
8
|
itemChange(item: any, event: Event): void;
|
|
8
9
|
ngOnInit(): void;
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsMultiselectComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BsMultiselectComponent, "bs-multiselect", never, { "items": "items"; "selectedItems": "selectedItems"; }, {},
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsMultiselectComponent, "bs-multiselect", never, { "items": "items"; "selectedItems": "selectedItems"; }, {}, ["template"], never>;
|
|
11
12
|
}
|
|
@@ -2,8 +2,9 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./multiselect.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "../dropdown/dropdown.module";
|
|
5
|
+
import * as i4 from "@mintplayer/ng-focus-on-load";
|
|
5
6
|
export declare class BsMultiselectModule {
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsMultiselectModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BsMultiselectModule, [typeof i1.BsMultiselectComponent], [typeof i2.CommonModule, typeof i3.BsDropdownModule], [typeof i1.BsMultiselectComponent]>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BsMultiselectModule, [typeof i1.BsMultiselectComponent], [typeof i2.CommonModule, typeof i3.BsDropdownModule, typeof i4.FocusOnLoadModule], [typeof i1.BsMultiselectComponent]>;
|
|
8
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<BsMultiselectModule>;
|
|
9
10
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BsProgressComponent {
|
|
3
|
+
private progressClass;
|
|
4
|
+
height: number | null;
|
|
5
|
+
isIndeterminate: boolean;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsProgressComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsProgressComponent, "bs-progress", never, { "height": "height"; "isIndeterminate": "isIndeterminate"; }, {}, never, ["*"]>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { Color } from '../../../enums/color.enum';
|
|
3
|
+
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BsProgressBarComponent implements OnDestroy {
|
|
6
|
+
constructor();
|
|
7
|
+
destroyed$: Subject<unknown>;
|
|
8
|
+
minimum$: BehaviorSubject<number>;
|
|
9
|
+
maximum$: BehaviorSubject<number>;
|
|
10
|
+
value$: BehaviorSubject<number>;
|
|
11
|
+
percentage$: Observable<number>;
|
|
12
|
+
width$: Observable<string>;
|
|
13
|
+
color$: BehaviorSubject<Color>;
|
|
14
|
+
colorClass$: Observable<string>;
|
|
15
|
+
set minimum(value: number);
|
|
16
|
+
set maximum(value: number);
|
|
17
|
+
set value(value: number);
|
|
18
|
+
set color(value: Color);
|
|
19
|
+
striped: boolean;
|
|
20
|
+
animated: boolean;
|
|
21
|
+
progressBar: boolean;
|
|
22
|
+
colorClass: string;
|
|
23
|
+
widthStyle: string;
|
|
24
|
+
role: string;
|
|
25
|
+
valueNow: number;
|
|
26
|
+
valueMin: number;
|
|
27
|
+
valueMax: number;
|
|
28
|
+
ngOnDestroy(): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsProgressBarComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsProgressBarComponent, "bs-progress-bar", never, { "minimum": "minimum"; "maximum": "maximum"; "value": "value"; "color": "color"; "striped": "striped"; "animated": "animated"; }, {}, never, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./progress-bar/progress-bar.component";
|
|
3
|
+
import * as i2 from "./progress/progress.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
export declare class BsProgressBarModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsProgressBarModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BsProgressBarModule, [typeof i1.BsProgressBarComponent, typeof i2.BsProgressComponent], [typeof i3.CommonModule], [typeof i1.BsProgressBarComponent, typeof i2.BsProgressComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BsProgressBarModule>;
|
|
9
|
+
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
1
|
+
import { AfterViewInit, ElementRef, QueryList } from '@angular/core';
|
|
2
|
+
import { BsScrollOffsetService } from '../../../services/scroll-offset/scroll-offset.service';
|
|
2
3
|
import { BsScrollspyDirective } from '../directives/scrollspy.directive';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BsScrollspyComponent implements
|
|
5
|
-
|
|
5
|
+
export declare class BsScrollspyComponent implements AfterViewInit {
|
|
6
|
+
private scrollOffsetService;
|
|
7
|
+
constructor(scrollOffsetService: BsScrollOffsetService, document: any);
|
|
6
8
|
directives: QueryList<BsScrollspyDirective>;
|
|
9
|
+
anchors: QueryList<ElementRef<HTMLSpanElement>>;
|
|
7
10
|
doc: Document;
|
|
8
11
|
activeDirective: BsScrollspyDirective | null;
|
|
9
|
-
ngOnInit(): void;
|
|
10
12
|
ngAfterViewInit(): void;
|
|
11
13
|
onWindowScroll(): void;
|
|
12
14
|
scrollToHeader(directive: BsScrollspyDirective): void;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BsSelect2Component implements OnInit, AfterViewInit {
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
suggestions$: BehaviorSubject<any[]>;
|
|
7
|
+
isLoading$: BehaviorSubject<boolean>;
|
|
8
|
+
hostWidth$: BehaviorSubject<number>;
|
|
9
|
+
searchBox: ElementRef<HTMLInputElement>;
|
|
10
|
+
itemsBox: ElementRef<HTMLDivElement>;
|
|
11
|
+
searchterm: string;
|
|
12
|
+
suggestions: any[];
|
|
13
|
+
provideSuggestions: EventEmitter<string>;
|
|
14
|
+
selectedItems: any[];
|
|
15
|
+
isFocused: boolean;
|
|
16
|
+
private charWidth;
|
|
17
|
+
searchWidth: number;
|
|
18
|
+
constructor();
|
|
19
|
+
ngAfterViewInit(): void;
|
|
20
|
+
onProvideSuggestions(value: string): void;
|
|
21
|
+
onSuggestionClicked(suggestion: any): void;
|
|
22
|
+
onRemoveItem(item: any, event: MouseEvent): void;
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
onResize(): void;
|
|
25
|
+
focus(): void;
|
|
26
|
+
defaultItemTemplate: TemplateRef<any>;
|
|
27
|
+
itemTemplate?: TemplateRef<any>;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsSelect2Component, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsSelect2Component, "bs-select2", never, { "searchterm": "searchterm"; "suggestions": "suggestions"; "selectedItems": "selectedItems"; }, { "provideSuggestions": "provideSuggestions"; }, never, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { BsSelect2Component } from '../component/select2.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BsItemTemplateDirective {
|
|
5
|
+
private select2component;
|
|
6
|
+
constructor(select2component: BsSelect2Component, templateRef: TemplateRef<any>);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsItemTemplateDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BsItemTemplateDirective, "[bsItemTemplate]", never, {}, {}, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./component/select2.component";
|
|
3
|
+
import * as i2 from "./directive/item-template.directive";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "../dropdown/dropdown.module";
|
|
7
|
+
import * as i6 from "../../pipes/in-list/in-list.module";
|
|
8
|
+
export declare class BsSelect2Module {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsSelect2Module, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BsSelect2Module, [typeof i1.BsSelect2Component, typeof i2.BsItemTemplateDirective], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.BsDropdownModule, typeof i6.BsInListModule], [typeof i1.BsSelect2Component, typeof i2.BsItemTemplateDirective]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BsSelect2Module>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AnimationEvent } from '@angular/animations';
|
|
2
|
+
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
3
|
+
import { SnackbarAnimationMeta } from '../interfaces/snackbar-animation-meta';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BsSnackbarComponent {
|
|
6
|
+
constructor(content: TemplateRef<any>);
|
|
7
|
+
displayBlock: boolean;
|
|
8
|
+
width100: boolean;
|
|
9
|
+
content: TemplateRef<any>;
|
|
10
|
+
protected instance: SnackbarAnimationMeta | null;
|
|
11
|
+
animationState: string;
|
|
12
|
+
animationStateChanged: EventEmitter<AnimationEvent>;
|
|
13
|
+
onAnimationChanged(event: AnimationEvent): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsSnackbarComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsSnackbarComponent, "bs-snackbar", never, {}, {}, never, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './snackbar-close/snackbar-close.directive';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BsSnackbarService } from '../../service/snackbar.service';
|
|
2
|
+
import { BsSnackbarComponent } from '../../component/snackbar.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BsSnackbarCloseDirective {
|
|
5
|
+
private snackbarService;
|
|
6
|
+
constructor(snackbarService: BsSnackbarService);
|
|
7
|
+
bsSnackbarClose: BsSnackbarComponent;
|
|
8
|
+
onClick(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsSnackbarCloseDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BsSnackbarCloseDirective, "[bsSnackbarClose]", never, { "bsSnackbarClose": "bsSnackbarClose"; }, {}, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './snackbar-animation-meta';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { OverlayRef } from "@angular/cdk/overlay";
|
|
2
|
+
import { ComponentRef } from "@angular/core";
|
|
3
|
+
import { BsSnackbarComponent } from "../component/snackbar.component";
|
|
4
|
+
export interface SnackbarAnimationMeta {
|
|
5
|
+
component: ComponentRef<BsSnackbarComponent>;
|
|
6
|
+
overlay: OverlayRef;
|
|
7
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Overlay } from '@angular/cdk/overlay';
|
|
2
|
+
import { ComponentFactoryResolver, Injector, TemplateRef } from '@angular/core';
|
|
3
|
+
import { BsSnackbarComponent } from '../component/snackbar.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BsSnackbarService {
|
|
6
|
+
private overlay;
|
|
7
|
+
private parentInjector;
|
|
8
|
+
private componentFactoryResolver;
|
|
9
|
+
constructor(overlay: Overlay, parentInjector: Injector, componentFactoryResolver: ComponentFactoryResolver);
|
|
10
|
+
show(template: TemplateRef<any>): BsSnackbarComponent;
|
|
11
|
+
hide(snackbar: BsSnackbarComponent): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsSnackbarService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BsSnackbarService>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./component/snackbar.component";
|
|
3
|
+
import * as i2 from "./directives/snackbar-close/snackbar-close.directive";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
export declare class BsSnackbarModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsSnackbarModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BsSnackbarModule, [typeof i1.BsSnackbarComponent, typeof i2.BsSnackbarCloseDirective], [typeof i3.CommonModule], [typeof i1.BsSnackbarComponent, typeof i2.BsSnackbarCloseDirective]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BsSnackbarModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BsToggleButtonComponent implements AfterViewInit {
|
|
4
|
+
disableAnimations: boolean;
|
|
5
|
+
ngAfterViewInit(): void;
|
|
6
|
+
_isToggled: boolean | null;
|
|
7
|
+
isToggledChange: EventEmitter<boolean | null>;
|
|
8
|
+
get isToggled(): boolean | null;
|
|
9
|
+
set isToggled(value: boolean | null);
|
|
10
|
+
offColor: string;
|
|
11
|
+
onColor: string;
|
|
12
|
+
round: boolean;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsToggleButtonComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsToggleButtonComponent, "bs-toggle-button", never, { "isToggled": "isToggled"; "offColor": "offColor"; "onColor": "onColor"; "round": "round"; }, { "isToggledChange": "isToggledChange"; }, never, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./toggle-button.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class BsToggleButtonModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsToggleButtonModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BsToggleButtonModule, [typeof i1.BsToggleButtonComponent], [typeof i2.CommonModule], [typeof i1.BsToggleButtonComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BsToggleButtonModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { Position } from '../../../enums/position.enum';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BsTooltipComponent {
|
|
5
|
+
constructor(content: TemplateRef<any>);
|
|
6
|
+
positions: typeof Position;
|
|
7
|
+
position: Position;
|
|
8
|
+
template: TemplateRef<any>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsTooltipComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsTooltipComponent, "bs-tooltip", never, { "position": "position"; }, {}, never, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Overlay } from '@angular/cdk/overlay';
|
|
2
|
+
import { ComponentFactoryResolver, ElementRef, Injector, TemplateRef } from '@angular/core';
|
|
3
|
+
import { Position } from '../../../enums/position.enum';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BsTooltipDirective {
|
|
6
|
+
private overlay;
|
|
7
|
+
private templateRef;
|
|
8
|
+
private parentInjector;
|
|
9
|
+
private parent;
|
|
10
|
+
constructor(overlay: Overlay, templateRef: TemplateRef<any>, componentFactoryResolver: ComponentFactoryResolver, parentInjector: Injector, parent: ElementRef);
|
|
11
|
+
bsTooltip: Position;
|
|
12
|
+
private injector;
|
|
13
|
+
private portal;
|
|
14
|
+
private overlayRef;
|
|
15
|
+
showTooltip(): void;
|
|
16
|
+
hideTooltip(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsTooltipDirective, [null, null, null, null, { host: true; skipSelf: true; }]>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BsTooltipDirective, "*[bsTooltip]", never, { "bsTooltip": "bsTooltip"; }, {}, never>;
|
|
19
|
+
}
|
|
@@ -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';
|
|
@@ -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
|
+
}
|