@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.
Files changed (132) hide show
  1. package/esm2020/index.mjs +2 -1
  2. package/esm2020/lib/components/accordion/accordion-tab/accordion-tab.component.mjs +4 -3
  3. package/esm2020/lib/components/accordion/accordion-tab-header/accordion-tab-header.component.mjs +7 -3
  4. package/esm2020/lib/components/alert/alert/alert.component.mjs +4 -4
  5. package/esm2020/lib/components/calendar/calendar.component.mjs +77 -34
  6. package/esm2020/lib/components/carousel/carousel/carousel.component.mjs +21 -7
  7. package/esm2020/lib/components/context-menu/context-menu.directive.mjs +63 -0
  8. package/esm2020/lib/components/context-menu/context-menu.module.mjs +26 -0
  9. package/esm2020/lib/components/context-menu/index.mjs +3 -0
  10. package/esm2020/lib/components/datepicker/datepicker.component.mjs +22 -0
  11. package/esm2020/lib/components/datepicker/datepicker.module.mjs +34 -0
  12. package/esm2020/lib/components/datepicker/index.mjs +3 -0
  13. package/esm2020/lib/components/dropdown/dropdown/dropdown.directive.mjs +58 -0
  14. package/esm2020/lib/components/dropdown/dropdown-menu/dropdown-menu.directive.mjs +91 -0
  15. package/esm2020/lib/components/dropdown/dropdown-toggle/dropdown-toggle.directive.mjs +28 -0
  16. package/esm2020/lib/components/dropdown/dropdown.module.mjs +44 -0
  17. package/esm2020/lib/components/dropdown/index.mjs +5 -0
  18. package/esm2020/lib/components/index.mjs +15 -4
  19. package/esm2020/lib/components/multiselect/index.mjs +3 -0
  20. package/esm2020/lib/components/multiselect/multiselect.component.mjs +36 -0
  21. package/esm2020/lib/components/multiselect/multiselect.module.mjs +34 -0
  22. package/esm2020/lib/components/navbar/nav-link/nav-link.directive.mjs +1 -1
  23. package/esm2020/lib/components/navbar/navbar/navbar.component.mjs +9 -6
  24. package/esm2020/lib/components/navbar/navbar-nav/navbar-nav.component.mjs +47 -9
  25. package/esm2020/lib/components/pagination/index.mjs +3 -0
  26. package/esm2020/lib/components/progress-bar/index.mjs +4 -0
  27. package/esm2020/lib/components/progress-bar/progress/progress.component.mjs +27 -0
  28. package/esm2020/lib/components/progress-bar/progress-bar/progress-bar.component.mjs +121 -0
  29. package/esm2020/lib/components/progress-bar/progress-bar.module.mjs +31 -0
  30. package/esm2020/lib/components/scrollspy/component/scrollspy.component.mjs +54 -14
  31. package/esm2020/lib/components/select2/component/select2.component.mjs +96 -0
  32. package/esm2020/lib/components/select2/directive/item-template.directive.mjs +19 -0
  33. package/esm2020/lib/components/select2/index.mjs +4 -0
  34. package/esm2020/lib/components/select2/select2.module.mjs +43 -0
  35. package/esm2020/lib/components/snackbar/component/snackbar.component.mjs +35 -0
  36. package/esm2020/lib/components/snackbar/directives/index.mjs +2 -0
  37. package/esm2020/lib/components/snackbar/directives/snackbar-close/snackbar-close.directive.mjs +27 -0
  38. package/esm2020/lib/components/snackbar/index.mjs +6 -0
  39. package/esm2020/lib/components/snackbar/interfaces/index.mjs +2 -0
  40. package/esm2020/lib/components/snackbar/interfaces/snackbar-animation-meta.mjs +2 -0
  41. package/esm2020/lib/components/snackbar/providers/snackbar-content.provider.mjs +3 -0
  42. package/esm2020/lib/components/snackbar/service/snackbar.service.mjs +49 -0
  43. package/esm2020/lib/components/snackbar/snackbar.module.mjs +38 -0
  44. package/esm2020/lib/components/toggle-button/index.mjs +3 -0
  45. package/esm2020/lib/components/toggle-button/toggle-button.component.mjs +42 -0
  46. package/esm2020/lib/components/toggle-button/toggle-button.module.mjs +26 -0
  47. package/esm2020/lib/components/tooltip/component/tooltip.component.mjs +25 -0
  48. package/esm2020/lib/components/tooltip/directive/tooltip.directive.mjs +110 -0
  49. package/esm2020/lib/components/tooltip/index.mjs +4 -0
  50. package/esm2020/lib/components/tooltip/providers/tooltip-content.provider.mjs +3 -0
  51. package/esm2020/lib/components/tooltip/tooltip.module.mjs +29 -0
  52. package/esm2020/lib/components/typeahead/index.mjs +3 -0
  53. package/esm2020/lib/components/typeahead/typeahead.component.mjs +90 -0
  54. package/esm2020/lib/components/typeahead/typeahead.module.mjs +38 -0
  55. package/esm2020/lib/enums/index.mjs +2 -1
  56. package/esm2020/lib/enums/position.enum.mjs +8 -0
  57. package/esm2020/lib/pipes/font-color/font-color.module.mjs +26 -0
  58. package/esm2020/lib/pipes/font-color/font-color.pipe.mjs +26 -0
  59. package/esm2020/lib/pipes/font-color/index.mjs +3 -0
  60. package/esm2020/lib/pipes/in-list/in-list.module.mjs +26 -0
  61. package/esm2020/lib/pipes/in-list/in-list.pipe.mjs +16 -0
  62. package/esm2020/lib/pipes/index.mjs +2 -0
  63. package/esm2020/lib/pipes/month-name/month-name.pipe.mjs +7 -2
  64. package/esm2020/lib/services/calendar-month/calendar-month.service.mjs +12 -14
  65. package/esm2020/lib/services/scroll-offset/scroll-offset.service.mjs +31 -0
  66. package/fesm2015/mintplayer-ng-bootstrap.mjs +1674 -270
  67. package/fesm2015/mintplayer-ng-bootstrap.mjs.map +1 -1
  68. package/fesm2020/mintplayer-ng-bootstrap.mjs +1658 -268
  69. package/fesm2020/mintplayer-ng-bootstrap.mjs.map +1 -1
  70. package/index.d.ts +1 -0
  71. package/lib/components/accordion/accordion-tab-header/accordion-tab-header.component.d.ts +1 -0
  72. package/lib/components/calendar/calendar.component.d.ts +21 -13
  73. package/lib/components/carousel/carousel/carousel.component.d.ts +4 -1
  74. package/lib/components/context-menu/context-menu.directive.d.ts +17 -0
  75. package/lib/components/context-menu/context-menu.module.d.ts +8 -0
  76. package/lib/components/context-menu/index.d.ts +2 -0
  77. package/lib/components/datepicker/datepicker.component.d.ts +10 -0
  78. package/lib/components/datepicker/datepicker.module.d.ts +10 -0
  79. package/lib/components/datepicker/index.d.ts +2 -0
  80. package/lib/components/dropdown/dropdown/dropdown.directive.d.ts +21 -0
  81. package/lib/components/dropdown/dropdown-menu/dropdown-menu.directive.d.ts +20 -0
  82. package/lib/components/dropdown/dropdown-toggle/dropdown-toggle.directive.d.ts +11 -0
  83. package/lib/components/dropdown/dropdown.module.d.ts +12 -0
  84. package/lib/components/dropdown/index.d.ts +4 -0
  85. package/lib/components/index.d.ts +14 -3
  86. package/lib/components/multiselect/index.d.ts +2 -0
  87. package/lib/components/multiselect/multiselect.component.d.ts +12 -0
  88. package/lib/components/multiselect/multiselect.module.d.ts +10 -0
  89. package/lib/components/navbar/navbar/navbar.component.d.ts +3 -3
  90. package/lib/components/navbar/navbar-nav/navbar-nav.component.d.ts +10 -4
  91. package/lib/components/pagination/index.d.ts +2 -0
  92. package/lib/components/progress-bar/index.d.ts +3 -0
  93. package/lib/components/progress-bar/progress/progress.component.d.ts +8 -0
  94. package/lib/components/progress-bar/progress-bar/progress-bar.component.d.ts +31 -0
  95. package/lib/components/progress-bar/progress-bar.module.d.ts +9 -0
  96. package/lib/components/scrollspy/component/scrollspy.component.d.ts +14 -4
  97. package/lib/components/select2/component/select2.component.d.ts +30 -0
  98. package/lib/components/select2/directive/item-template.directive.d.ts +9 -0
  99. package/lib/components/select2/index.d.ts +3 -0
  100. package/lib/components/select2/select2.module.d.ts +12 -0
  101. package/lib/components/snackbar/component/snackbar.component.d.ts +15 -0
  102. package/lib/components/snackbar/directives/index.d.ts +1 -0
  103. package/lib/components/snackbar/directives/snackbar-close/snackbar-close.directive.d.ts +11 -0
  104. package/lib/components/snackbar/index.d.ts +5 -0
  105. package/lib/components/snackbar/interfaces/index.d.ts +1 -0
  106. package/lib/components/snackbar/interfaces/snackbar-animation-meta.d.ts +7 -0
  107. package/lib/components/snackbar/providers/snackbar-content.provider.d.ts +2 -0
  108. package/lib/components/snackbar/service/snackbar.service.d.ts +14 -0
  109. package/lib/components/snackbar/snackbar.module.d.ts +9 -0
  110. package/lib/components/toggle-button/index.d.ts +2 -0
  111. package/lib/components/toggle-button/toggle-button.component.d.ts +15 -0
  112. package/lib/components/toggle-button/toggle-button.module.d.ts +8 -0
  113. package/lib/components/tooltip/component/tooltip.component.d.ts +11 -0
  114. package/lib/components/tooltip/directive/tooltip.directive.d.ts +20 -0
  115. package/lib/components/tooltip/index.d.ts +2 -0
  116. package/lib/components/tooltip/providers/tooltip-content.provider.d.ts +2 -0
  117. package/lib/components/tooltip/tooltip.module.d.ts +9 -0
  118. package/lib/components/typeahead/index.d.ts +2 -0
  119. package/lib/components/typeahead/typeahead.component.d.ts +29 -0
  120. package/lib/components/typeahead/typeahead.module.d.ts +11 -0
  121. package/lib/enums/index.d.ts +1 -0
  122. package/lib/enums/position.enum.d.ts +6 -0
  123. package/lib/pipes/font-color/font-color.module.d.ts +8 -0
  124. package/lib/pipes/font-color/font-color.pipe.d.ts +7 -0
  125. package/lib/pipes/font-color/index.d.ts +2 -0
  126. package/lib/pipes/in-list/in-list.module.d.ts +8 -0
  127. package/lib/pipes/in-list/in-list.pipe.d.ts +7 -0
  128. package/lib/pipes/index.d.ts +1 -0
  129. package/lib/pipes/month-name/month-name.pipe.d.ts +1 -1
  130. package/lib/services/calendar-month/calendar-month.service.d.ts +0 -1
  131. package/lib/services/scroll-offset/scroll-offset.service.d.ts +9 -0
  132. package/package.json +5 -2
package/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from './lib/components';
2
2
  export * from './lib/enums';
3
3
  export * from './lib/interfaces';
4
+ export * from './lib/pipes';
@@ -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
  }
@@ -1,22 +1,30 @@
1
- import { OnInit } from '@angular/core';
1
+ import { ChangeDetectorRef, EventEmitter, OnDestroy } from '@angular/core';
2
+ import { BehaviorSubject, Observable } from 'rxjs';
3
+ import { DateDayOfMonth } from '../../interfaces/date-day-of-month';
2
4
  import { Week } from '../../interfaces/week';
3
5
  import { BsCalendarMonthService } from '../../services/calendar-month/calendar-month.service';
4
6
  import * as i0 from "@angular/core";
5
- export declare class BsCalendarComponent implements OnInit {
7
+ export declare class BsCalendarComponent implements OnDestroy {
6
8
  private calendarMonthService;
7
- constructor(calendarMonthService: BsCalendarMonthService);
9
+ private ref;
10
+ constructor(calendarMonthService: BsCalendarMonthService, ref: ChangeDetectorRef);
11
+ private destroyed$;
12
+ weeks$: Observable<Week[]>;
13
+ daysOfWeek$: Observable<string[]>;
14
+ currentMonth$: BehaviorSubject<Date>;
15
+ currentMonthChange: EventEmitter<Date>;
16
+ get currentMonth(): Date;
17
+ set currentMonth(value: Date);
18
+ selectedDate$: BehaviorSubject<Date>;
19
+ selectedDateChange: EventEmitter<Date>;
20
+ get selectedDate(): Date;
21
+ set selectedDate(value: Date);
8
22
  daysOfWeek: string[];
9
- ngOnInit(): void;
10
- selectedDate: Date;
11
- private _month;
12
- get month(): Date;
13
- set month(value: Date);
14
- private _weeks;
15
- get weeks(): Week[];
16
- set weeks(value: Week[]);
23
+ ngOnDestroy(): void;
17
24
  previousMonth(): boolean;
18
25
  nextMonth(): boolean;
19
- isSameDate(date1: Date, date2: Date): boolean;
26
+ isSameDate(date1: Date | null, date2: Date | null): boolean;
27
+ goto(day: DateDayOfMonth | null): void;
20
28
  static ɵfac: i0.ɵɵFactoryDeclaration<BsCalendarComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<BsCalendarComponent, "bs-calendar", never, {}, {}, never, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<BsCalendarComponent, "bs-calendar", never, { "currentMonth": "currentMonth"; "selectedDate": "selectedDate"; }, { "currentMonthChange": "currentMonthChange"; "selectedDateChange": "selectedDateChange"; }, never, never>;
22
30
  }
@@ -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
- animation: 'fade' | 'slide';
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,17 @@
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 close;
12
+ private checkAndCloseExisting;
13
+ private overlayRef;
14
+ private templatePortal;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsContextMenuDirective, [null, null, null, { host: true; skipSelf: true; }]>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BsContextMenuDirective, "[bsContextMenu]", never, {}, {}, never>;
17
+ }
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ export * from './context-menu.directive';
2
+ export * from './context-menu.module';
@@ -0,0 +1,10 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BsDatepickerComponent implements OnInit {
4
+ constructor();
5
+ selectedDate: Date;
6
+ currentMonth: Date;
7
+ ngOnInit(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsDatepickerComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<BsDatepickerComponent, "bs-datepicker", never, {}, {}, never, never>;
10
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./datepicker.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../calendar/calendar.module";
5
+ import * as i4 from "../dropdown/dropdown.module";
6
+ export declare class BsDatepickerModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsDatepickerModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BsDatepickerModule, [typeof i1.BsDatepickerComponent], [typeof i2.CommonModule, typeof i3.BsCalendarModule, typeof i4.BsDropdownModule], [typeof i1.BsDatepickerComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<BsDatepickerModule>;
10
+ }
@@ -0,0 +1,2 @@
1
+ export * from './datepicker.component';
2
+ export * from './datepicker.module';
@@ -0,0 +1,21 @@
1
+ import { ElementRef, EventEmitter } from '@angular/core';
2
+ import { BehaviorSubject } from 'rxjs';
3
+ import { BsDropdownMenuDirective } from '../dropdown-menu/dropdown-menu.directive';
4
+ import { BsDropdownToggleDirective } from '../dropdown-toggle/dropdown-toggle.directive';
5
+ import * as i0 from "@angular/core";
6
+ export declare class BsDropdownDirective {
7
+ constructor(elementRef: ElementRef<any>);
8
+ isOpen$: BehaviorSubject<boolean>;
9
+ elementRef: ElementRef<any>;
10
+ menu: BsDropdownMenuDirective;
11
+ toggle: BsDropdownToggleDirective | null;
12
+ hasBackdrop: boolean;
13
+ sameWidth: boolean;
14
+ closeOnClickOutside: boolean;
15
+ get isOpen(): boolean;
16
+ isOpenChange: EventEmitter<boolean>;
17
+ set isOpen(value: boolean);
18
+ private onBlur;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsDropdownDirective, never>;
20
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BsDropdownDirective, "[bsDropdown]", never, { "hasBackdrop": "hasBackdrop"; "sameWidth": "sameWidth"; "closeOnClickOutside": "closeOnClickOutside"; "isOpen": "isOpen"; }, { "isOpenChange": "isOpenChange"; }, ["menu", "toggle"]>;
21
+ }
@@ -0,0 +1,20 @@
1
+ import { ElementRef, NgZone, TemplateRef, ViewContainerRef } from '@angular/core';
2
+ import { Overlay } from '@angular/cdk/overlay';
3
+ import { ClickOutsideDirective } from '@mintplayer/ng-click-outside';
4
+ import { BsDropdownDirective } from '../dropdown/dropdown.directive';
5
+ import * as i0 from "@angular/core";
6
+ export declare class BsDropdownMenuDirective extends ClickOutsideDirective {
7
+ private dropdown;
8
+ private viewContainerRef;
9
+ private templateRef;
10
+ private 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;
14
+ private document;
15
+ private destroyed$;
16
+ private overlayRef;
17
+ private templatePortal;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsDropdownMenuDirective, never>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BsDropdownMenuDirective, "[bsDropdownMenu]", never, {}, {}, never>;
20
+ }
@@ -0,0 +1,11 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { BsDropdownDirective } from '../dropdown/dropdown.directive';
3
+ import * as i0 from "@angular/core";
4
+ export declare class BsDropdownToggleDirective {
5
+ private dropdown;
6
+ constructor(dropdown: BsDropdownDirective, toggleButton: ElementRef);
7
+ toggleButton: ElementRef;
8
+ onClick(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsDropdownToggleDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BsDropdownToggleDirective, "[bsDropdownToggle]", never, {}, {}, never>;
11
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./dropdown/dropdown.directive";
3
+ import * as i2 from "./dropdown-toggle/dropdown-toggle.directive";
4
+ import * as i3 from "./dropdown-menu/dropdown-menu.directive";
5
+ import * as i4 from "@angular/common";
6
+ import * as i5 from "@angular/cdk/overlay";
7
+ import * as i6 from "@mintplayer/ng-click-outside";
8
+ export declare class BsDropdownModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsDropdownModule, never>;
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]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<BsDropdownModule>;
12
+ }
@@ -0,0 +1,4 @@
1
+ export * from './dropdown/dropdown.directive';
2
+ export * from './dropdown-menu/dropdown-menu.directive';
3
+ export * from './dropdown-toggle/dropdown-toggle.directive';
4
+ export * from './dropdown.module';
@@ -1,10 +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 './accordion';
9
- export * from './tab-control';
13
+ export * from './pagination';
14
+ export * from './progress-bar';
10
15
  export * from './scrollspy';
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';
@@ -0,0 +1,2 @@
1
+ export * from './multiselect.component';
2
+ export * from './multiselect.module';
@@ -0,0 +1,12 @@
1
+ import { OnInit, TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BsMultiselectComponent implements OnInit {
4
+ constructor();
5
+ template: TemplateRef<any>;
6
+ items: any[];
7
+ selectedItems: any[];
8
+ itemChange(item: any, event: Event): void;
9
+ ngOnInit(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsMultiselectComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<BsMultiselectComponent, "bs-multiselect", never, { "items": "items"; "selectedItems": "selectedItems"; }, {}, ["template"], never>;
12
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./multiselect.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../dropdown/dropdown.module";
5
+ import * as i4 from "@mintplayer/ng-focus-on-load";
6
+ export declare class BsMultiselectModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsMultiselectModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BsMultiselectModule, [typeof i1.BsMultiselectComponent], [typeof i2.CommonModule, typeof i3.BsDropdownModule, typeof i4.FocusOnLoadModule], [typeof i1.BsMultiselectComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<BsMultiselectModule>;
10
+ }
@@ -1,10 +1,10 @@
1
1
  import { ElementRef } from '@angular/core';
2
+ import { BehaviorSubject } from 'rxjs';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class BsNavbarComponent {
4
- constructor();
5
- isExpanded: boolean;
6
- toggleExpanded(): void;
7
5
  nav: ElementRef;
6
+ isExpanded$: BehaviorSubject<boolean>;
7
+ toggleExpanded(): void;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<BsNavbarComponent, never>;
9
9
  static ɵcmp: i0.ɵɵComponentDeclaration<BsNavbarComponent, "bs-navbar", never, {}, {}, never, ["*"]>;
10
10
  }
@@ -1,13 +1,19 @@
1
- import { OnInit } from '@angular/core';
1
+ import { OnDestroy } from '@angular/core';
2
2
  import { BsNavbarComponent } from '../navbar/navbar.component';
3
+ import { BehaviorSubject, Observable, Subject } from 'rxjs';
3
4
  import * as i0 from "@angular/core";
4
- export declare class BsNavbarNavComponent implements OnInit {
5
+ export declare class BsNavbarNavComponent implements OnDestroy {
5
6
  constructor(bsNavbar: BsNavbarComponent);
6
- ngOnInit(): void;
7
7
  bsNavbar: BsNavbarComponent;
8
- private _collapse;
8
+ collapse$: BehaviorSubject<boolean>;
9
+ windowWidth$: BehaviorSubject<number | null>;
10
+ showNavs$: Observable<boolean>;
11
+ isResizing$: BehaviorSubject<boolean>;
12
+ destroyed$: Subject<unknown>;
13
+ ngOnDestroy(): void;
9
14
  set collapse(value: boolean);
10
15
  get collapse(): boolean;
16
+ onWindowResize(): void;
11
17
  static ɵfac: i0.ɵɵFactoryDeclaration<BsNavbarNavComponent, never>;
12
18
  static ɵcmp: i0.ɵɵComponentDeclaration<BsNavbarNavComponent, "bs-navbar-nav", never, { "collapse": "collapse"; }, {}, never, ["*"]>;
13
19
  }
@@ -0,0 +1,2 @@
1
+ export * from './pagination.module';
2
+ export * from './pagination/pagination.component';
@@ -0,0 +1,3 @@
1
+ export * from './progress-bar.module';
2
+ export * from './progress/progress.component';
3
+ export * from './progress-bar/progress-bar.component';
@@ -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,14 +1,24 @@
1
- import { AfterViewInit, OnInit, QueryList } from '@angular/core';
1
+ import { AfterContentInit, AfterViewInit, ElementRef, NgZone, OnDestroy, 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 OnInit, AfterViewInit {
5
- constructor(document: any);
5
+ export declare class BsScrollspyComponent implements AfterViewInit, AfterContentInit, OnDestroy {
6
+ private scrollOffsetService;
7
+ private zone;
8
+ constructor(scrollOffsetService: BsScrollOffsetService, document: any, zone: NgZone);
9
+ private destroyed$;
10
+ private viewInit$;
11
+ private contentInit$;
6
12
  directives: QueryList<BsScrollspyDirective>;
13
+ anchors: QueryList<ElementRef<HTMLSpanElement>>;
7
14
  doc: Document;
8
15
  activeDirective: BsScrollspyDirective | null;
9
- ngOnInit(): void;
10
16
  ngAfterViewInit(): void;
17
+ ngAfterContentInit(): void;
18
+ ngOnDestroy(): void;
11
19
  onWindowScroll(): void;
20
+ setActiveDirective(): void;
21
+ scrollToCurrentInSpy(): void;
12
22
  scrollToHeader(directive: BsScrollspyDirective): void;
13
23
  static ɵfac: i0.ɵɵFactoryDeclaration<BsScrollspyComponent, never>;
14
24
  static ɵcmp: i0.ɵɵComponentDeclaration<BsScrollspyComponent, "bs-scrollspy", never, {}, {}, ["directives"], ["*"]>;
@@ -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,3 @@
1
+ export * from './component/select2.component';
2
+ export * from './directive/item-template.directive';
3
+ export * from './select2.module';
@@ -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,15 @@
1
+ import { AnimationEvent } from '@angular/animations';
2
+ import { EventEmitter, TemplateRef } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ export declare class BsSnackbarComponent {
5
+ constructor(content: TemplateRef<any>);
6
+ displayBlock: boolean;
7
+ width100: boolean;
8
+ content: TemplateRef<any>;
9
+ private instance;
10
+ animationState: string;
11
+ animationStateChanged: EventEmitter<AnimationEvent>;
12
+ onAnimationChanged(event: AnimationEvent): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsSnackbarComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<BsSnackbarComponent, "bs-snackbar", never, {}, {}, never, never>;
15
+ }
@@ -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,5 @@
1
+ export * from './snackbar.module';
2
+ export * from './component/snackbar.component';
3
+ export * from './service/snackbar.service';
4
+ export * from './interfaces';
5
+ export * from './directives';
@@ -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,2 @@
1
+ import { InjectionToken, TemplateRef } from "@angular/core";
2
+ export declare const SNACKBAR_CONTENT: InjectionToken<TemplateRef<any>>;
@@ -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,2 @@
1
+ export * from './toggle-button.component';
2
+ export * from './toggle-button.module';
@@ -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,20 @@
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
+ private onBlur;
12
+ bsTooltip: Position;
13
+ private injector;
14
+ private portal;
15
+ private overlayRef;
16
+ showTooltip(): void;
17
+ hideTooltip(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsTooltipDirective, [null, null, null, null, { host: true; skipSelf: true; }]>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BsTooltipDirective, "*[bsTooltip]", never, { "bsTooltip": "bsTooltip"; }, {}, never>;
20
+ }
@@ -0,0 +1,2 @@
1
+ export * from './directive/tooltip.directive';
2
+ export * from './tooltip.module';
@@ -0,0 +1,2 @@
1
+ import { InjectionToken, TemplateRef } from "@angular/core";
2
+ export declare const TOOLTIP_CONTENT: InjectionToken<TemplateRef<any>>;