@mintplayer/ng-bootstrap 13.1.5 → 13.1.10

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 (157) hide show
  1. package/esm2020/index.mjs +3 -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/card/card/card.component.mjs +1 -2
  7. package/esm2020/lib/components/carousel/carousel/carousel.component.mjs +21 -7
  8. package/esm2020/lib/components/context-menu/context-menu.directive.mjs +57 -0
  9. package/esm2020/lib/components/context-menu/context-menu.module.mjs +26 -0
  10. package/esm2020/lib/components/context-menu/index.mjs +3 -0
  11. package/esm2020/lib/components/datatable/datatable/datatable.component.mjs +51 -0
  12. package/esm2020/lib/components/datatable/datatable-column/datatable-column-metadata.mjs +2 -0
  13. package/esm2020/lib/components/datatable/datatable-column/datatable-column.directive.mjs +19 -0
  14. package/esm2020/lib/components/datatable/datatable-settings.mjs +37 -0
  15. package/esm2020/lib/components/datatable/datatable.module.mjs +40 -0
  16. package/esm2020/lib/components/datatable/index.mjs +6 -0
  17. package/esm2020/lib/components/datatable/row-template/row-template.directive.mjs +19 -0
  18. package/esm2020/lib/components/datepicker/datepicker.component.mjs +22 -0
  19. package/esm2020/lib/components/datepicker/datepicker.module.mjs +34 -0
  20. package/esm2020/lib/components/datepicker/index.mjs +3 -0
  21. package/esm2020/lib/components/dropdown/dropdown/dropdown.directive.mjs +51 -0
  22. package/esm2020/lib/components/dropdown/dropdown-menu/dropdown-menu.directive.mjs +91 -0
  23. package/esm2020/lib/components/dropdown/dropdown-toggle/dropdown-toggle.directive.mjs +28 -0
  24. package/esm2020/lib/components/dropdown/dropdown.module.mjs +44 -0
  25. package/esm2020/lib/components/dropdown/index.mjs +5 -0
  26. package/esm2020/lib/components/index.mjs +16 -4
  27. package/esm2020/lib/components/multiselect/index.mjs +3 -0
  28. package/esm2020/lib/components/multiselect/multiselect.component.mjs +36 -0
  29. package/esm2020/lib/components/multiselect/multiselect.module.mjs +34 -0
  30. package/esm2020/lib/components/navbar/nav-link/nav-link.directive.mjs +1 -1
  31. package/esm2020/lib/components/navbar/navbar/navbar.component.mjs +9 -6
  32. package/esm2020/lib/components/navbar/navbar-nav/navbar-nav.component.mjs +47 -9
  33. package/esm2020/lib/components/pagination/index.mjs +3 -0
  34. package/esm2020/lib/components/pagination/pagination/pagination.component.mjs +146 -0
  35. package/esm2020/lib/components/pagination/pagination.module.mjs +26 -0
  36. package/esm2020/lib/components/progress-bar/index.mjs +4 -0
  37. package/esm2020/lib/components/progress-bar/progress/progress.component.mjs +27 -0
  38. package/esm2020/lib/components/progress-bar/progress-bar/progress-bar.component.mjs +121 -0
  39. package/esm2020/lib/components/progress-bar/progress-bar.module.mjs +31 -0
  40. package/esm2020/lib/components/scrollspy/component/scrollspy.component.mjs +28 -12
  41. package/esm2020/lib/components/select2/component/select2.component.mjs +96 -0
  42. package/esm2020/lib/components/select2/directive/item-template.directive.mjs +20 -0
  43. package/esm2020/lib/components/select2/index.mjs +4 -0
  44. package/esm2020/lib/components/select2/select2.module.mjs +43 -0
  45. package/esm2020/lib/components/snackbar/component/snackbar.component.mjs +35 -0
  46. package/esm2020/lib/components/snackbar/directives/index.mjs +2 -0
  47. package/esm2020/lib/components/snackbar/directives/snackbar-close/snackbar-close.directive.mjs +27 -0
  48. package/esm2020/lib/components/snackbar/index.mjs +6 -0
  49. package/esm2020/lib/components/snackbar/interfaces/index.mjs +2 -0
  50. package/esm2020/lib/components/snackbar/interfaces/snackbar-animation-meta.mjs +2 -0
  51. package/esm2020/lib/components/snackbar/providers/snackbar-content.provider.mjs +3 -0
  52. package/esm2020/lib/components/snackbar/service/snackbar.service.mjs +50 -0
  53. package/esm2020/lib/components/snackbar/snackbar.module.mjs +38 -0
  54. package/esm2020/lib/components/toggle-button/index.mjs +3 -0
  55. package/esm2020/lib/components/toggle-button/toggle-button.component.mjs +42 -0
  56. package/esm2020/lib/components/toggle-button/toggle-button.module.mjs +26 -0
  57. package/esm2020/lib/components/tooltip/component/tooltip.component.mjs +25 -0
  58. package/esm2020/lib/components/tooltip/directive/tooltip.directive.mjs +104 -0
  59. package/esm2020/lib/components/tooltip/index.mjs +4 -0
  60. package/esm2020/lib/components/tooltip/providers/tooltip-content.provider.mjs +3 -0
  61. package/esm2020/lib/components/tooltip/tooltip.module.mjs +29 -0
  62. package/esm2020/lib/components/typeahead/index.mjs +3 -0
  63. package/esm2020/lib/components/typeahead/typeahead.component.mjs +90 -0
  64. package/esm2020/lib/components/typeahead/typeahead.module.mjs +38 -0
  65. package/esm2020/lib/enums/index.mjs +2 -1
  66. package/esm2020/lib/enums/position.enum.mjs +8 -0
  67. package/esm2020/lib/interfaces/index.mjs +2 -0
  68. package/esm2020/lib/interfaces/page-with-selection.mjs +2 -0
  69. package/esm2020/lib/pipes/font-color/font-color.module.mjs +26 -0
  70. package/esm2020/lib/pipes/font-color/font-color.pipe.mjs +26 -0
  71. package/esm2020/lib/pipes/font-color/index.mjs +3 -0
  72. package/esm2020/lib/pipes/in-list/in-list.module.mjs +26 -0
  73. package/esm2020/lib/pipes/in-list/in-list.pipe.mjs +16 -0
  74. package/esm2020/lib/pipes/index.mjs +2 -0
  75. package/esm2020/lib/pipes/month-name/month-name.pipe.mjs +7 -2
  76. package/esm2020/lib/services/calendar-month/calendar-month.service.mjs +12 -14
  77. package/esm2020/lib/services/scroll-offset/scroll-offset.service.mjs +31 -0
  78. package/esm2020/lib/types/page-number.type.mjs +2 -0
  79. package/fesm2015/mintplayer-ng-bootstrap.mjs +1970 -297
  80. package/fesm2015/mintplayer-ng-bootstrap.mjs.map +1 -1
  81. package/fesm2020/mintplayer-ng-bootstrap.mjs +1943 -283
  82. package/fesm2020/mintplayer-ng-bootstrap.mjs.map +1 -1
  83. package/index.d.ts +2 -0
  84. package/lib/components/accordion/accordion-tab-header/accordion-tab-header.component.d.ts +1 -0
  85. package/lib/components/calendar/calendar.component.d.ts +21 -13
  86. package/lib/components/carousel/carousel/carousel.component.d.ts +4 -1
  87. package/lib/components/context-menu/context-menu.directive.d.ts +16 -0
  88. package/lib/components/context-menu/context-menu.module.d.ts +8 -0
  89. package/lib/components/context-menu/index.d.ts +2 -0
  90. package/lib/components/datatable/datatable/datatable.component.d.ts +17 -0
  91. package/lib/components/datatable/datatable-column/datatable-column-metadata.d.ts +4 -0
  92. package/lib/components/datatable/datatable-column/datatable-column.directive.d.ts +10 -0
  93. package/lib/components/datatable/datatable-settings.d.ts +15 -0
  94. package/lib/components/datatable/datatable.module.d.ts +11 -0
  95. package/lib/components/datatable/index.d.ts +5 -0
  96. package/lib/components/datatable/row-template/row-template.directive.d.ts +9 -0
  97. package/lib/components/datepicker/datepicker.component.d.ts +10 -0
  98. package/lib/components/datepicker/datepicker.module.d.ts +10 -0
  99. package/lib/components/datepicker/index.d.ts +2 -0
  100. package/lib/components/dropdown/dropdown/dropdown.directive.d.ts +20 -0
  101. package/lib/components/dropdown/dropdown-menu/dropdown-menu.directive.d.ts +20 -0
  102. package/lib/components/dropdown/dropdown-toggle/dropdown-toggle.directive.d.ts +11 -0
  103. package/lib/components/dropdown/dropdown.module.d.ts +12 -0
  104. package/lib/components/dropdown/index.d.ts +4 -0
  105. package/lib/components/index.d.ts +15 -3
  106. package/lib/components/multiselect/index.d.ts +2 -0
  107. package/lib/components/multiselect/multiselect.component.d.ts +12 -0
  108. package/lib/components/multiselect/multiselect.module.d.ts +10 -0
  109. package/lib/components/navbar/navbar/navbar.component.d.ts +3 -3
  110. package/lib/components/navbar/navbar-nav/navbar-nav.component.d.ts +10 -4
  111. package/lib/components/pagination/index.d.ts +2 -0
  112. package/lib/components/pagination/pagination/pagination.component.d.ts +45 -0
  113. package/lib/components/pagination/pagination.module.d.ts +8 -0
  114. package/lib/components/progress-bar/index.d.ts +3 -0
  115. package/lib/components/progress-bar/progress/progress.component.d.ts +8 -0
  116. package/lib/components/progress-bar/progress-bar/progress-bar.component.d.ts +31 -0
  117. package/lib/components/progress-bar/progress-bar.module.d.ts +9 -0
  118. package/lib/components/scrollspy/component/scrollspy.component.d.ts +6 -4
  119. package/lib/components/select2/component/select2.component.d.ts +30 -0
  120. package/lib/components/select2/directive/item-template.directive.d.ts +9 -0
  121. package/lib/components/select2/index.d.ts +3 -0
  122. package/lib/components/select2/select2.module.d.ts +12 -0
  123. package/lib/components/snackbar/component/snackbar.component.d.ts +16 -0
  124. package/lib/components/snackbar/directives/index.d.ts +1 -0
  125. package/lib/components/snackbar/directives/snackbar-close/snackbar-close.directive.d.ts +11 -0
  126. package/lib/components/snackbar/index.d.ts +5 -0
  127. package/lib/components/snackbar/interfaces/index.d.ts +1 -0
  128. package/lib/components/snackbar/interfaces/snackbar-animation-meta.d.ts +7 -0
  129. package/lib/components/snackbar/providers/snackbar-content.provider.d.ts +2 -0
  130. package/lib/components/snackbar/service/snackbar.service.d.ts +14 -0
  131. package/lib/components/snackbar/snackbar.module.d.ts +9 -0
  132. package/lib/components/toggle-button/index.d.ts +2 -0
  133. package/lib/components/toggle-button/toggle-button.component.d.ts +15 -0
  134. package/lib/components/toggle-button/toggle-button.module.d.ts +8 -0
  135. package/lib/components/tooltip/component/tooltip.component.d.ts +11 -0
  136. package/lib/components/tooltip/directive/tooltip.directive.d.ts +19 -0
  137. package/lib/components/tooltip/index.d.ts +2 -0
  138. package/lib/components/tooltip/providers/tooltip-content.provider.d.ts +2 -0
  139. package/lib/components/tooltip/tooltip.module.d.ts +9 -0
  140. package/lib/components/typeahead/index.d.ts +2 -0
  141. package/lib/components/typeahead/typeahead.component.d.ts +29 -0
  142. package/lib/components/typeahead/typeahead.module.d.ts +11 -0
  143. package/lib/enums/index.d.ts +1 -0
  144. package/lib/enums/position.enum.d.ts +6 -0
  145. package/lib/interfaces/index.d.ts +1 -0
  146. package/lib/interfaces/page-with-selection.d.ts +5 -0
  147. package/lib/pipes/font-color/font-color.module.d.ts +8 -0
  148. package/lib/pipes/font-color/font-color.pipe.d.ts +7 -0
  149. package/lib/pipes/font-color/index.d.ts +2 -0
  150. package/lib/pipes/in-list/in-list.module.d.ts +8 -0
  151. package/lib/pipes/in-list/in-list.pipe.d.ts +7 -0
  152. package/lib/pipes/index.d.ts +1 -0
  153. package/lib/pipes/month-name/month-name.pipe.d.ts +1 -1
  154. package/lib/services/calendar-month/calendar-month.service.d.ts +0 -1
  155. package/lib/services/scroll-offset/scroll-offset.service.d.ts +9 -0
  156. package/lib/types/page-number.type.d.ts +1 -0
  157. package/package.json +6 -2
@@ -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,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
+ }
@@ -0,0 +1,2 @@
1
+ export * from './context-menu.directive';
2
+ export * from './context-menu.module';
@@ -0,0 +1,17 @@
1
+ import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
2
+ import { PaginationResponse } from '@mintplayer/ng-pagination';
3
+ import { BsDatatableColumnDirective } from '../datatable-column/datatable-column.directive';
4
+ import { DatatableSettings } from '../datatable-settings';
5
+ import * as i0 from "@angular/core";
6
+ export declare class BsDatatableComponent implements OnInit {
7
+ constructor();
8
+ columns: BsDatatableColumnDirective[];
9
+ settings: DatatableSettings;
10
+ data?: PaginationResponse<any>;
11
+ rowTemplate?: TemplateRef<any>;
12
+ onReloadData: EventEmitter<any>;
13
+ columnHeaderClicked(column: BsDatatableColumnDirective): void;
14
+ ngOnInit(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsDatatableComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<BsDatatableComponent, "bs-datatable", never, { "settings": "settings"; "data": "data"; }, { "onReloadData": "onReloadData"; }, ["columns"], never>;
17
+ }
@@ -0,0 +1,4 @@
1
+ export interface DatatableColumnMetadata {
2
+ name: string;
3
+ sortable: boolean;
4
+ }
@@ -0,0 +1,10 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import { DatatableColumnMetadata } from './datatable-column-metadata';
3
+ import * as i0 from "@angular/core";
4
+ export declare class BsDatatableColumnDirective {
5
+ constructor(templateRef: TemplateRef<any>);
6
+ templateRef: TemplateRef<any>;
7
+ bsDatatableColumn: DatatableColumnMetadata;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsDatatableColumnDirective, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BsDatatableColumnDirective, "[bsDatatableColumn]", never, { "bsDatatableColumn": "bsDatatableColumn"; }, {}, never>;
10
+ }
@@ -0,0 +1,15 @@
1
+ import { PaginationRequest } from "@mintplayer/ng-pagination";
2
+ export declare class DatatableSettings {
3
+ constructor(data?: Partial<DatatableSettings>);
4
+ sortProperty: string;
5
+ sortDirection: 'ascending' | 'descending';
6
+ perPage: {
7
+ values: number[];
8
+ selected: number;
9
+ };
10
+ page: {
11
+ values: number[];
12
+ selected: number;
13
+ };
14
+ toPagination(): PaginationRequest;
15
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./datatable/datatable.component";
3
+ import * as i2 from "./row-template/row-template.directive";
4
+ import * as i3 from "./datatable-column/datatable-column.directive";
5
+ import * as i4 from "@angular/common";
6
+ import * as i5 from "../pagination/pagination.module";
7
+ export declare class BsDatatableModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsDatatableModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BsDatatableModule, [typeof i1.BsDatatableComponent, typeof i2.BsRowTemplateDirective, typeof i3.BsDatatableColumnDirective], [typeof i4.CommonModule, typeof i5.BsPaginationModule], [typeof i1.BsDatatableComponent, typeof i2.BsRowTemplateDirective, typeof i3.BsDatatableColumnDirective]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<BsDatatableModule>;
11
+ }
@@ -0,0 +1,5 @@
1
+ export * from './datatable.module';
2
+ export * from './datatable/datatable.component';
3
+ export * from './row-template/row-template.directive';
4
+ export * from './datatable-column/datatable-column.directive';
5
+ export * from './datatable-settings';
@@ -0,0 +1,9 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import { BsDatatableComponent } from '../datatable/datatable.component';
3
+ import * as i0 from "@angular/core";
4
+ export declare class BsRowTemplateDirective {
5
+ private datatableComponent;
6
+ constructor(datatableComponent: BsDatatableComponent, templateRef: TemplateRef<any>);
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsRowTemplateDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BsRowTemplateDirective, "[rowTemplate]", never, {}, {}, never>;
9
+ }
@@ -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,20 @@
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
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsDropdownDirective, never>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BsDropdownDirective, "[bsDropdown]", never, { "hasBackdrop": "hasBackdrop"; "sameWidth": "sameWidth"; "closeOnClickOutside": "closeOnClickOutside"; "isOpen": "isOpen"; }, { "isOpenChange": "isOpenChange"; }, ["menu", "toggle"]>;
20
+ }
@@ -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,9 +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';
7
+ export * from './datatable';
8
+ export * from './datepicker';
9
+ export * from './dropdown';
5
10
  export * from './list-group';
11
+ export * from './multiselect';
6
12
  export * from './navbar';
7
- export * from './accordion';
8
- export * from './tab-control';
13
+ export * from './pagination';
14
+ export * from './progress-bar';
9
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,45 @@
1
+ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { BehaviorSubject, Observable } from 'rxjs';
3
+ import { PageWithSelection } from '../../../interfaces/page-with-selection';
4
+ import * as i0 from "@angular/core";
5
+ export declare class BsPaginationComponent implements OnInit, OnDestroy {
6
+ constructor();
7
+ ngOnInit(): void;
8
+ ngOnDestroy(): void;
9
+ onSelectPage(event: MouseEvent, page: number): boolean;
10
+ onPrevious(): boolean;
11
+ onNext(): boolean;
12
+ /** All page numbers. */
13
+ pageNumbers$: BehaviorSubject<number[]>;
14
+ /** Page numbers to be displayed to the user. */
15
+ shownPageNumbers$: Observable<PageWithSelection[]>;
16
+ /** Selected number. */
17
+ selectedPageNumber$: BehaviorSubject<number>;
18
+ /** Number of boxes. */
19
+ numberOfBoxes$: BehaviorSubject<number>;
20
+ /** Display previous/next arrows. */
21
+ showArrows$: BehaviorSubject<boolean>;
22
+ /** Indicates if first value is selected. */
23
+ isFirstPage$: Observable<boolean>;
24
+ /** Indicates if last value is selected. */
25
+ isLastPage$: Observable<boolean>;
26
+ /** The number of boxes (excluding arrows) that's being shown on the pagination component. */
27
+ visibleNumberOfNumberBoxes$: Observable<number>;
28
+ /** Monitor OnDestroyed hook. */
29
+ private destroyed$;
30
+ private _selectedPageNumber;
31
+ selectedPageNumberChange: EventEmitter<number>;
32
+ set selectedPageNumber(value: number);
33
+ get selectedPageNumber(): number;
34
+ private _numberOfBoxes;
35
+ set numberOfBoxes(value: number);
36
+ get numberOfBoxes(): number;
37
+ private _pageNumbers;
38
+ set pageNumbers(value: number[]);
39
+ get pageNumbers(): number[];
40
+ private _showArrows;
41
+ set showArrows(value: boolean);
42
+ get showArrows(): boolean;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsPaginationComponent, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<BsPaginationComponent, "bs-pagination", never, { "selectedPageNumber": "selectedPageNumber"; "numberOfBoxes": "numberOfBoxes"; "pageNumbers": "pageNumbers"; "showArrows": "showArrows"; }, { "selectedPageNumberChange": "selectedPageNumberChange"; }, never, never>;
45
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./pagination/pagination.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class BsPaginationModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsPaginationModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BsPaginationModule, [typeof i1.BsPaginationComponent], [typeof i2.CommonModule], [typeof i1.BsPaginationComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<BsPaginationModule>;
8
+ }
@@ -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,12 +1,14 @@
1
- import { AfterViewInit, OnInit, QueryList } from '@angular/core';
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 OnInit, AfterViewInit {
5
- constructor(document: any);
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,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,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,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
+ }