@mintplayer/ng-bootstrap 13.1.13 → 13.1.17

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/_bootstrap.scss +14 -0
  2. package/esm2020/lib/components/accordion/accordion/accordion.component.mjs +2 -4
  3. package/esm2020/lib/components/accordion/accordion-tab/accordion-tab.component.mjs +1 -11
  4. package/esm2020/lib/components/accordion/accordion-tab-header/accordion-tab-header.component.mjs +3 -8
  5. package/esm2020/lib/components/accordion/accordion.module.mjs +4 -8
  6. package/esm2020/lib/components/alert/alert/alert.component.mjs +2 -4
  7. package/esm2020/lib/components/alert/alert-close/alert-close.component.mjs +1 -3
  8. package/esm2020/lib/components/calendar/calendar.component.mjs +16 -15
  9. package/esm2020/lib/components/card/card/card.component.mjs +4 -10
  10. package/esm2020/lib/components/card/card-header/card-header.component.mjs +2 -6
  11. package/esm2020/lib/components/carousel/carousel/carousel.component.mjs +9 -7
  12. package/esm2020/lib/components/carousel/carousel-image/carousel-image.directive.mjs +1 -1
  13. package/esm2020/lib/components/code-snippet/code-snippet.component.mjs +28 -0
  14. package/esm2020/lib/components/code-snippet/code-snippet.module.mjs +34 -0
  15. package/esm2020/lib/components/code-snippet/index.mjs +3 -0
  16. package/esm2020/lib/components/context-menu/context-menu.directive.mjs +1 -1
  17. package/esm2020/lib/components/context-menu/context-menu.module.mjs +8 -4
  18. package/esm2020/lib/components/copy/copy.directive.mjs +45 -0
  19. package/esm2020/lib/components/copy/copy.module.mjs +26 -0
  20. package/esm2020/lib/components/copy/index.mjs +3 -0
  21. package/esm2020/lib/components/datatable/datatable/datatable.component.mjs +6 -8
  22. package/esm2020/lib/components/datatable/datatable-settings.mjs +1 -1
  23. package/esm2020/lib/components/datatable/datatable.module.mjs +1 -1
  24. package/esm2020/lib/components/datatable/row-template/row-template.directive.mjs +3 -3
  25. package/esm2020/lib/components/datepicker/datepicker.component.mjs +32 -7
  26. package/esm2020/lib/components/dropdown/dropdown/dropdown.directive.mjs +1 -1
  27. package/esm2020/lib/components/dropdown/dropdown-menu/dropdown-menu.directive.mjs +12 -16
  28. package/esm2020/lib/components/for/for.directive.mjs +10 -4
  29. package/esm2020/lib/components/index.mjs +5 -1
  30. package/esm2020/lib/components/modal/component/index.mjs +3 -0
  31. package/esm2020/lib/components/modal/component/modal/modal.component.mjs +13 -0
  32. package/esm2020/lib/components/modal/component/modal-content/modal-content.component.mjs +27 -0
  33. package/esm2020/lib/components/modal/directives/index.mjs +4 -0
  34. package/esm2020/lib/components/modal/directives/modal-body/modal-body.directive.mjs +18 -0
  35. package/esm2020/lib/components/modal/directives/modal-footer/modal-footer.directive.mjs +18 -0
  36. package/esm2020/lib/components/modal/directives/modal-header/modal-header.directive.mjs +18 -0
  37. package/esm2020/lib/components/modal/index.mjs +5 -0
  38. package/esm2020/lib/components/modal/interfaces/index.mjs +2 -0
  39. package/esm2020/lib/components/modal/interfaces/modal-animation-meta.mjs +2 -0
  40. package/esm2020/lib/components/modal/modal.module.mjs +48 -0
  41. package/esm2020/lib/components/modal/providers/modal-content.provider.mjs +3 -0
  42. package/esm2020/lib/components/modal/service/modal.service.mjs +52 -0
  43. package/esm2020/lib/components/multiselect/component/multiselect.component.mjs +34 -0
  44. package/esm2020/lib/components/multiselect/directives/button-template/button-template.directive.mjs +18 -0
  45. package/esm2020/lib/components/multiselect/directives/footer-template/footer-template.directive.mjs +18 -0
  46. package/esm2020/lib/components/multiselect/directives/header-template/header-template.directive.mjs +18 -0
  47. package/esm2020/lib/components/multiselect/directives/index.mjs +4 -0
  48. package/esm2020/lib/components/multiselect/index.mjs +3 -2
  49. package/esm2020/lib/components/multiselect/multiselect.module.mjs +21 -6
  50. package/esm2020/lib/components/navbar/expand-button/expand-button.directive.mjs +18 -0
  51. package/esm2020/lib/components/navbar/index.mjs +4 -1
  52. package/esm2020/lib/components/navbar/navbar/navbar.component.mjs +5 -3
  53. package/esm2020/lib/components/navbar/navbar-brand/navbar-brand.component.mjs +22 -0
  54. package/esm2020/lib/components/navbar/navbar-dropdown/navbar-dropdown.component.mjs +7 -6
  55. package/esm2020/lib/components/navbar/navbar-item/navbar-item.component.mjs +16 -5
  56. package/esm2020/lib/components/navbar/navbar-nav/navbar-nav.component.mjs +1 -1
  57. package/esm2020/lib/components/navbar/navbar-toggler/navbar-toggler.component.mjs +39 -0
  58. package/esm2020/lib/components/navbar/navbar.module.mjs +20 -5
  59. package/esm2020/lib/components/pagination/pagination/pagination.component.mjs +88 -71
  60. package/esm2020/lib/components/rating/index.mjs +3 -0
  61. package/esm2020/lib/components/rating/rating.component.mjs +72 -0
  62. package/esm2020/lib/components/rating/rating.module.mjs +26 -0
  63. package/esm2020/lib/components/select2/component/select2.component.mjs +7 -9
  64. package/esm2020/lib/components/snackbar/service/snackbar.service.mjs +4 -3
  65. package/esm2020/lib/components/snackbar/snackbar.module.mjs +8 -4
  66. package/esm2020/lib/components/tab-control/tab-control/tab-control.component.mjs +8 -7
  67. package/esm2020/lib/components/tab-control/tab-page/tab-page.component.mjs +4 -6
  68. package/esm2020/lib/components/toggle-button/toggle-button.component.mjs +19 -15
  69. package/esm2020/lib/components/tooltip/directive/tooltip.directive.mjs +4 -4
  70. package/esm2020/lib/components/tooltip/tooltip.module.mjs +8 -4
  71. package/esm2020/lib/interfaces/date-day-of-month.mjs +1 -1
  72. package/esm2020/lib/interfaces/index.mjs +2 -1
  73. package/esm2020/lib/interfaces/week.mjs +1 -1
  74. package/esm2020/lib/interfaces/weekday.mjs +2 -0
  75. package/esm2020/lib/pipes/format-bytes/index.mjs +3 -0
  76. package/esm2020/lib/pipes/index.mjs +2 -1
  77. package/esm2020/lib/services/calendar-month/calendar-month.service.mjs +34 -18
  78. package/fesm2015/mintplayer-ng-bootstrap.mjs +936 -383
  79. package/fesm2015/mintplayer-ng-bootstrap.mjs.map +1 -1
  80. package/fesm2020/mintplayer-ng-bootstrap.mjs +927 -380
  81. package/fesm2020/mintplayer-ng-bootstrap.mjs.map +1 -1
  82. package/lib/components/accordion/accordion/accordion.component.d.ts +1 -4
  83. package/lib/components/accordion/accordion-tab/accordion-tab.component.d.ts +1 -4
  84. package/lib/components/accordion/accordion-tab-header/accordion-tab-header.component.d.ts +1 -4
  85. package/lib/components/accordion/accordion.module.d.ts +1 -2
  86. package/lib/components/alert/alert/alert.component.d.ts +1 -4
  87. package/lib/components/alert/alert-close/alert-close.component.d.ts +1 -3
  88. package/lib/components/calendar/calendar.component.d.ts +4 -5
  89. package/lib/components/card/card/card.component.d.ts +1 -6
  90. package/lib/components/card/card-header/card-header.component.d.ts +1 -4
  91. package/lib/components/carousel/carousel/carousel.component.d.ts +9 -9
  92. package/lib/components/code-snippet/code-snippet.component.d.ts +12 -0
  93. package/lib/components/code-snippet/code-snippet.module.d.ts +10 -0
  94. package/lib/components/code-snippet/index.d.ts +2 -0
  95. package/lib/components/context-menu/context-menu.directive.d.ts +2 -2
  96. package/lib/components/context-menu/context-menu.module.d.ts +2 -1
  97. package/lib/components/copy/copy.directive.d.ts +11 -0
  98. package/lib/components/copy/copy.module.d.ts +8 -0
  99. package/lib/components/copy/index.d.ts +2 -0
  100. package/lib/components/datatable/datatable/datatable.component.d.ts +4 -5
  101. package/lib/components/datatable/row-template/row-template.directive.d.ts +1 -1
  102. package/lib/components/datepicker/datepicker.component.d.ts +11 -7
  103. package/lib/components/dropdown/dropdown-menu/dropdown-menu.directive.d.ts +3 -3
  104. package/lib/components/for/for.directive.d.ts +1 -0
  105. package/lib/components/index.d.ts +4 -0
  106. package/lib/components/modal/component/index.d.ts +2 -0
  107. package/lib/components/modal/component/modal/modal.component.d.ts +10 -0
  108. package/lib/components/modal/component/modal-content/modal-content.component.d.ts +13 -0
  109. package/lib/components/modal/directives/index.d.ts +3 -0
  110. package/lib/components/modal/directives/modal-body/modal-body.directive.d.ts +8 -0
  111. package/lib/components/modal/directives/modal-footer/modal-footer.directive.d.ts +8 -0
  112. package/lib/components/modal/directives/modal-header/modal-header.directive.d.ts +8 -0
  113. package/lib/components/modal/index.d.ts +4 -0
  114. package/lib/components/modal/interfaces/index.d.ts +1 -0
  115. package/lib/components/modal/interfaces/modal-animation-meta.d.ts +7 -0
  116. package/lib/components/modal/modal.module.d.ts +13 -0
  117. package/lib/components/modal/providers/modal-content.provider.d.ts +2 -0
  118. package/lib/components/modal/service/modal.service.d.ts +14 -0
  119. package/lib/components/multiselect/{multiselect.component.d.ts → component/multiselect.component.d.ts} +7 -6
  120. package/lib/components/multiselect/directives/button-template/button-template.directive.d.ts +8 -0
  121. package/lib/components/multiselect/directives/footer-template/footer-template.directive.d.ts +8 -0
  122. package/lib/components/multiselect/directives/header-template/header-template.directive.d.ts +8 -0
  123. package/lib/components/multiselect/directives/index.d.ts +3 -0
  124. package/lib/components/multiselect/index.d.ts +2 -1
  125. package/lib/components/multiselect/multiselect.module.d.ts +8 -5
  126. package/lib/components/navbar/expand-button/expand-button.directive.d.ts +8 -0
  127. package/lib/components/navbar/index.d.ts +3 -0
  128. package/lib/components/navbar/navbar/navbar.component.d.ts +3 -2
  129. package/lib/components/navbar/navbar-brand/navbar-brand.component.d.ts +7 -0
  130. package/lib/components/navbar/navbar-dropdown/navbar-dropdown.component.d.ts +4 -4
  131. package/lib/components/navbar/navbar-item/navbar-item.component.d.ts +3 -4
  132. package/lib/components/navbar/navbar-toggler/navbar-toggler.component.d.ts +11 -0
  133. package/lib/components/navbar/navbar.module.d.ts +7 -4
  134. package/lib/components/pagination/pagination/pagination.component.d.ts +9 -10
  135. package/lib/components/rating/index.d.ts +2 -0
  136. package/lib/components/rating/rating.component.d.ts +22 -0
  137. package/lib/components/rating/rating.module.d.ts +8 -0
  138. package/lib/components/select2/component/select2.component.d.ts +4 -6
  139. package/lib/components/snackbar/snackbar.module.d.ts +2 -1
  140. package/lib/components/tab-control/tab-control/tab-control.component.d.ts +4 -6
  141. package/lib/components/tab-control/tab-page/tab-page.component.d.ts +3 -4
  142. package/lib/components/toggle-button/toggle-button.component.d.ts +5 -5
  143. package/lib/components/tooltip/directive/tooltip.directive.d.ts +1 -1
  144. package/lib/components/tooltip/tooltip.module.d.ts +2 -1
  145. package/lib/interfaces/date-day-of-month.d.ts +1 -0
  146. package/lib/interfaces/index.d.ts +1 -0
  147. package/lib/interfaces/week.d.ts +1 -1
  148. package/lib/interfaces/weekday.d.ts +4 -0
  149. package/lib/pipes/format-bytes/index.d.ts +2 -0
  150. package/lib/pipes/index.d.ts +1 -0
  151. package/lib/services/calendar-month/calendar-month.service.d.ts +2 -0
  152. package/package.json +3 -2
  153. package/src/styles/custom.scss +12 -0
  154. package/src/styles/ngx-highlight-themes/solarized-dark.scss +89 -0
  155. package/src/styles/utilities/cursor.scss +2 -6
  156. package/src/styles/utilities/white-space.scss +10 -0
  157. package/esm2020/lib/components/multiselect/multiselect.component.mjs +0 -36
@@ -1,14 +1,14 @@
1
- import { OnInit, QueryList } from '@angular/core';
1
+ import { QueryList } from '@angular/core';
2
2
  import { BsNavbarItemComponent } from '../navbar-item/navbar-item.component';
3
3
  import * as i0 from "@angular/core";
4
- export declare class BsNavbarDropdownComponent implements OnInit {
4
+ export declare class BsNavbarDropdownComponent {
5
5
  constructor(parentDropdown: BsNavbarDropdownComponent, navbarItem: BsNavbarItemComponent);
6
+ autoclose: boolean;
6
7
  isVisible: boolean;
7
8
  navbarItem: BsNavbarItemComponent;
8
9
  parentDropdown: BsNavbarDropdownComponent;
9
10
  get elementsToExclude(): HTMLElement[];
10
- ngOnInit(): void;
11
11
  childDropdowns: QueryList<BsNavbarDropdownComponent>;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<BsNavbarDropdownComponent, [{ optional: true; host: true; skipSelf: true; }, { host: true; }]>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<BsNavbarDropdownComponent, "bs-navbar-dropdown", never, {}, {}, ["childDropdowns"], ["*"]>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<BsNavbarDropdownComponent, "bs-navbar-dropdown", never, { "autoclose": "autoclose"; }, {}, ["childDropdowns"], ["*"]>;
14
14
  }
@@ -1,15 +1,14 @@
1
- import { AfterContentChecked, ElementRef, OnInit, QueryList } from '@angular/core';
1
+ import { AfterContentChecked, ElementRef, QueryList } from '@angular/core';
2
2
  import { BsNavbarDropdownComponent } from '../navbar-dropdown/navbar-dropdown.component';
3
3
  import * as i0 from "@angular/core";
4
- export declare class BsNavbarItemComponent implements OnInit, AfterContentChecked {
4
+ export declare class BsNavbarItemComponent implements AfterContentChecked {
5
5
  private element;
6
6
  constructor(parentDropdown: BsNavbarDropdownComponent, element: ElementRef);
7
7
  parentDropdown: BsNavbarDropdownComponent;
8
8
  hasDropdown: boolean;
9
9
  anchorTag: HTMLAnchorElement | null;
10
- ngOnInit(): void;
11
- ngAfterContentChecked(): void;
12
10
  dropdowns: QueryList<BsNavbarDropdownComponent>;
11
+ ngAfterContentChecked(): void;
13
12
  static ɵfac: i0.ɵɵFactoryDeclaration<BsNavbarItemComponent, [{ optional: true; }, null]>;
14
13
  static ɵcmp: i0.ɵɵComponentDeclaration<BsNavbarItemComponent, "bs-navbar-item", never, {}, {}, ["dropdowns"], ["*"]>;
15
14
  }
@@ -0,0 +1,11 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BsNavbarTogglerComponent {
4
+ _state: 'open' | 'closed';
5
+ stateChange: EventEmitter<"open" | "closed">;
6
+ get state(): 'open' | 'closed';
7
+ set state(value: 'open' | 'closed');
8
+ toggleState(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsNavbarTogglerComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<BsNavbarTogglerComponent, "bs-navbar-toggler", never, { "state": "state"; }, { "stateChange": "stateChange"; }, never, never>;
11
+ }
@@ -6,11 +6,14 @@ import * as i4 from "./navbar-item/navbar-item.component";
6
6
  import * as i5 from "./dropdown-toggle/dropdown-toggle.directive";
7
7
  import * as i6 from "./nav-link/nav-link.directive";
8
8
  import * as i7 from "./navbar-content/navbar-content.directive";
9
- import * as i8 from "@angular/common";
10
- import * as i9 from "@angular/router";
11
- import * as i10 from "@mintplayer/ng-click-outside";
9
+ import * as i8 from "./navbar-brand/navbar-brand.component";
10
+ import * as i9 from "./expand-button/expand-button.directive";
11
+ import * as i10 from "./navbar-toggler/navbar-toggler.component";
12
+ import * as i11 from "@angular/common";
13
+ import * as i12 from "@angular/router";
14
+ import * as i13 from "@mintplayer/ng-click-outside";
12
15
  export declare class BsNavbarModule {
13
16
  static ɵfac: i0.ɵɵFactoryDeclaration<BsNavbarModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<BsNavbarModule, [typeof i1.BsNavbarComponent, typeof i2.BsNavbarNavComponent, typeof i3.BsNavbarDropdownComponent, typeof i4.BsNavbarItemComponent, typeof i5.DropdownToggleDirective, typeof i6.NavLinkDirective, typeof i7.NavbarContentDirective], [typeof i8.CommonModule, typeof i9.RouterModule, typeof i10.ClickOutsideModule], [typeof i1.BsNavbarComponent, typeof i2.BsNavbarNavComponent, typeof i3.BsNavbarDropdownComponent, typeof i4.BsNavbarItemComponent, typeof i5.DropdownToggleDirective, typeof i6.NavLinkDirective, typeof i7.NavbarContentDirective]>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BsNavbarModule, [typeof i1.BsNavbarComponent, typeof i2.BsNavbarNavComponent, typeof i3.BsNavbarDropdownComponent, typeof i4.BsNavbarItemComponent, typeof i5.DropdownToggleDirective, typeof i6.NavLinkDirective, typeof i7.NavbarContentDirective, typeof i8.BsNavbarBrandComponent, typeof i9.BsExpandButtonDirective, typeof i10.BsNavbarTogglerComponent], [typeof i11.CommonModule, typeof i12.RouterModule, typeof i13.ClickOutsideModule], [typeof i1.BsNavbarComponent, typeof i2.BsNavbarNavComponent, typeof i3.BsNavbarDropdownComponent, typeof i4.BsNavbarItemComponent, typeof i5.DropdownToggleDirective, typeof i6.NavLinkDirective, typeof i7.NavbarContentDirective, typeof i8.BsNavbarBrandComponent, typeof i9.BsExpandButtonDirective, typeof i10.BsNavbarTogglerComponent]>;
15
18
  static ɵinj: i0.ɵɵInjectorDeclaration<BsNavbarModule>;
16
19
  }
@@ -1,14 +1,9 @@
1
- import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
1
+ import { EventEmitter, OnDestroy } from '@angular/core';
2
2
  import { BehaviorSubject, Observable } from 'rxjs';
3
3
  import { PageWithSelection } from '../../../interfaces/page-with-selection';
4
4
  import * as i0 from "@angular/core";
5
- export declare class BsPaginationComponent implements OnInit, OnDestroy {
5
+ export declare class BsPaginationComponent implements OnDestroy {
6
6
  constructor();
7
- ngOnInit(): void;
8
- ngOnDestroy(): void;
9
- onSelectPage(event: MouseEvent, page: number): boolean;
10
- onPrevious(): boolean;
11
- onNext(): boolean;
12
7
  /** All page numbers. */
13
8
  pageNumbers$: BehaviorSubject<number[]>;
14
9
  /** Page numbers to be displayed to the user. */
@@ -28,18 +23,22 @@ export declare class BsPaginationComponent implements OnInit, OnDestroy {
28
23
  /** Monitor OnDestroyed hook. */
29
24
  private destroyed$;
30
25
  private _selectedPageNumber;
26
+ private _numberOfBoxes;
27
+ private _pageNumbers;
28
+ private _showArrows;
31
29
  selectedPageNumberChange: EventEmitter<number>;
32
30
  set selectedPageNumber(value: number);
33
31
  get selectedPageNumber(): number;
34
- private _numberOfBoxes;
35
32
  set numberOfBoxes(value: number);
36
33
  get numberOfBoxes(): number;
37
- private _pageNumbers;
38
34
  set pageNumbers(value: number[]);
39
35
  get pageNumbers(): number[];
40
- private _showArrows;
41
36
  set showArrows(value: boolean);
42
37
  get showArrows(): boolean;
38
+ ngOnDestroy(): void;
39
+ onSelectPage(event: MouseEvent, page: number): boolean;
40
+ onPrevious(): boolean;
41
+ onNext(): boolean;
43
42
  static ɵfac: i0.ɵɵFactoryDeclaration<BsPaginationComponent, never>;
44
43
  static ɵcmp: i0.ɵɵComponentDeclaration<BsPaginationComponent, "bs-pagination", never, { "selectedPageNumber": "selectedPageNumber"; "numberOfBoxes": "numberOfBoxes"; "pageNumbers": "pageNumbers"; "showArrows": "showArrows"; }, { "selectedPageNumberChange": "selectedPageNumberChange"; }, never, never>;
45
44
  }
@@ -0,0 +1,2 @@
1
+ export * from './rating.component';
2
+ export * from './rating.module';
@@ -0,0 +1,22 @@
1
+ import { EventEmitter, OnDestroy } from '@angular/core';
2
+ import { BehaviorSubject, Observable, Subject } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class BsRatingComponent implements OnDestroy {
5
+ constructor();
6
+ destroyed$: Subject<unknown>;
7
+ maximum$: BehaviorSubject<number>;
8
+ value$: BehaviorSubject<number>;
9
+ previewValue$: BehaviorSubject<number | null>;
10
+ stars$: Observable<boolean[]>;
11
+ set maximum(value: number);
12
+ valueChange: EventEmitter<number>;
13
+ starsChange: EventEmitter<number>;
14
+ get value(): number;
15
+ set value(value: number);
16
+ ngOnDestroy(): void;
17
+ hoverValue(index: number): void;
18
+ selectValue(index: number): void;
19
+ onMouseLeave(): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsRatingComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<BsRatingComponent, "bs-rating", never, { "maximum": "maximum"; "value": "value"; }, { "valueChange": "valueChange"; "starsChange": "starsChange"; }, never, never>;
22
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./rating.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class BsRatingModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsRatingModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BsRatingModule, [typeof i1.BsRatingComponent], [typeof i2.CommonModule], [typeof i1.BsRatingComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<BsRatingModule>;
8
+ }
@@ -1,11 +1,12 @@
1
- import { AfterViewInit, ElementRef, EventEmitter, OnInit, TemplateRef } from '@angular/core';
1
+ import { AfterViewInit, ElementRef, EventEmitter, TemplateRef } from '@angular/core';
2
2
  import { BehaviorSubject } from 'rxjs';
3
3
  import * as i0 from "@angular/core";
4
- export declare class BsSelect2Component implements OnInit, AfterViewInit {
4
+ export declare class BsSelect2Component implements AfterViewInit {
5
5
  isOpen: boolean;
6
6
  suggestions$: BehaviorSubject<any[]>;
7
7
  isLoading$: BehaviorSubject<boolean>;
8
8
  hostWidth$: BehaviorSubject<number>;
9
+ defaultItemTemplate: TemplateRef<any>;
9
10
  searchBox: ElementRef<HTMLInputElement>;
10
11
  itemsBox: ElementRef<HTMLDivElement>;
11
12
  searchterm: string;
@@ -15,16 +16,13 @@ export declare class BsSelect2Component implements OnInit, AfterViewInit {
15
16
  isFocused: boolean;
16
17
  private charWidth;
17
18
  searchWidth: number;
18
- constructor();
19
+ itemTemplate?: TemplateRef<any>;
19
20
  ngAfterViewInit(): void;
20
21
  onProvideSuggestions(value: string): void;
21
22
  onSuggestionClicked(suggestion: any): void;
22
23
  onRemoveItem(item: any, event: MouseEvent): void;
23
- ngOnInit(): void;
24
24
  onResize(): void;
25
25
  focus(): void;
26
- defaultItemTemplate: TemplateRef<any>;
27
- itemTemplate?: TemplateRef<any>;
28
26
  static ɵfac: i0.ɵɵFactoryDeclaration<BsSelect2Component, never>;
29
27
  static ɵcmp: i0.ɵɵComponentDeclaration<BsSelect2Component, "bs-select2", never, { "searchterm": "searchterm"; "suggestions": "suggestions"; "selectedItems": "selectedItems"; }, { "provideSuggestions": "provideSuggestions"; }, never, never>;
30
28
  }
@@ -2,8 +2,9 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./component/snackbar.component";
3
3
  import * as i2 from "./directives/snackbar-close/snackbar-close.directive";
4
4
  import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/cdk/overlay";
5
6
  export declare class BsSnackbarModule {
6
7
  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 ɵmod: i0.ɵɵNgModuleDeclaration<BsSnackbarModule, [typeof i1.BsSnackbarComponent, typeof i2.BsSnackbarCloseDirective], [typeof i3.CommonModule, typeof i4.OverlayModule], [typeof i1.BsSnackbarComponent, typeof i2.BsSnackbarCloseDirective]>;
8
9
  static ɵinj: i0.ɵɵInjectorDeclaration<BsSnackbarModule>;
9
10
  }
@@ -1,12 +1,10 @@
1
- import { OnInit } from '@angular/core';
2
1
  import { BsTabPageComponent } from '../tab-page/tab-page.component';
3
2
  import * as i0 from "@angular/core";
4
- export declare class BsTabControlComponent implements OnInit {
5
- constructor();
6
- ngOnInit(): void;
7
- setActiveTab(tab: BsTabPageComponent): boolean;
3
+ export declare class BsTabControlComponent {
8
4
  tabPages: BsTabPageComponent[];
5
+ border: boolean;
9
6
  activeTab: BsTabPageComponent | null;
7
+ setActiveTab(tab: BsTabPageComponent): boolean;
10
8
  static ɵfac: i0.ɵɵFactoryDeclaration<BsTabControlComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<BsTabControlComponent, "bs-tab-control", never, {}, {}, ["tabPages"], ["*"]>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<BsTabControlComponent, "bs-tab-control", never, { "border": "border"; }, {}, ["tabPages"], ["*"]>;
12
10
  }
@@ -1,12 +1,11 @@
1
- import { OnInit, TemplateRef } from '@angular/core';
1
+ import { TemplateRef } from '@angular/core';
2
2
  import { BsTabControlComponent } from '../tab-control/tab-control.component';
3
3
  import * as i0 from "@angular/core";
4
- export declare class BsTabPageComponent implements OnInit {
4
+ export declare class BsTabPageComponent {
5
5
  tabControl: BsTabControlComponent;
6
6
  constructor(tabControl: BsTabControlComponent);
7
- headerTemplate: TemplateRef<any>;
8
7
  disabled: boolean;
9
- ngOnInit(): void;
8
+ headerTemplate: TemplateRef<any>;
10
9
  static ɵfac: i0.ɵɵFactoryDeclaration<BsTabPageComponent, never>;
11
10
  static ɵcmp: i0.ɵɵComponentDeclaration<BsTabPageComponent, "bs-tab-page", never, { "disabled": "disabled"; }, {}, ["headerTemplate"], ["*"]>;
12
11
  }
@@ -2,14 +2,14 @@ import { AfterViewInit, EventEmitter } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class BsToggleButtonComponent implements AfterViewInit {
4
4
  disableAnimations: boolean;
5
- ngAfterViewInit(): void;
6
5
  _isToggled: boolean | null;
6
+ change: EventEmitter<boolean | null>;
7
7
  isToggledChange: EventEmitter<boolean | null>;
8
8
  get isToggled(): boolean | null;
9
9
  set isToggled(value: boolean | null);
10
- offColor: string;
11
- onColor: string;
12
- round: boolean;
10
+ disabled: boolean;
11
+ onChange(event: Event): void;
12
+ ngAfterViewInit(): void;
13
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>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<BsToggleButtonComponent, "bs-toggle-button", never, { "isToggled": "isToggled"; "disabled": "disabled"; }, { "change": "change"; "isToggledChange": "isToggledChange"; }, never, ["*"]>;
15
15
  }
@@ -8,11 +8,11 @@ export declare class BsTooltipDirective {
8
8
  private parentInjector;
9
9
  private parent;
10
10
  constructor(overlay: Overlay, templateRef: TemplateRef<any>, componentFactoryResolver: ComponentFactoryResolver, parentInjector: Injector, parent: ElementRef);
11
- private onBlur;
12
11
  bsTooltip: Position;
13
12
  private injector;
14
13
  private portal;
15
14
  private overlayRef;
15
+ private onBlur;
16
16
  showTooltip(): void;
17
17
  hideTooltip(): void;
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<BsTooltipDirective, [null, null, null, null, { host: true; skipSelf: true; }]>;
@@ -2,8 +2,9 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./directive/tooltip.directive";
3
3
  import * as i2 from "./component/tooltip.component";
4
4
  import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/cdk/overlay";
5
6
  export declare class BsTooltipModule {
6
7
  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 ɵmod: i0.ɵɵNgModuleDeclaration<BsTooltipModule, [typeof i1.BsTooltipDirective, typeof i2.BsTooltipComponent], [typeof i3.CommonModule, typeof i4.OverlayModule], [typeof i1.BsTooltipDirective]>;
8
9
  static ɵinj: i0.ɵɵInjectorDeclaration<BsTooltipModule>;
9
10
  }
@@ -1,4 +1,5 @@
1
1
  export interface DateDayOfMonth {
2
2
  date: Date;
3
3
  dayOfMonth: number;
4
+ isInMonth: boolean;
4
5
  }
@@ -1 +1,2 @@
1
1
  export * from './page-with-selection';
2
+ export * from './weekday';
@@ -1,5 +1,5 @@
1
1
  import { DateDayOfMonth } from "./date-day-of-month";
2
2
  export interface Week {
3
3
  number: number;
4
- week: (DateDayOfMonth | null)[];
4
+ days: (DateDayOfMonth | null)[];
5
5
  }
@@ -0,0 +1,4 @@
1
+ export interface WeekDay {
2
+ short: string;
3
+ long: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ export * from './format-bytes.module';
2
+ export * from './format-bytes.pipe';
@@ -1 +1,2 @@
1
1
  export * from './font-color';
2
+ export * from './format-bytes';
@@ -11,6 +11,8 @@ export declare class BsCalendarMonthService {
11
11
  dayOfYear(date: Date): number;
12
12
  toUTC(date: Date): number;
13
13
  chunk<T>(items: T[], size: number): T[][];
14
+ getMondayBefore(date: Date): Date;
15
+ getSundayAfter(date: Date): Date;
14
16
  static ɵfac: i0.ɵɵFactoryDeclaration<BsCalendarMonthService, never>;
15
17
  static ɵprov: i0.ɵɵInjectableDeclaration<BsCalendarMonthService>;
16
18
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mintplayer/ng-bootstrap",
3
3
  "private": false,
4
- "version": "13.1.13",
4
+ "version": "13.1.17",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/MintPlayer/mintplayer-ng-bootstrap"
@@ -15,10 +15,11 @@
15
15
  "@mintplayer/ng-click-outside": "^13.0.0",
16
16
  "@mintplayer/ng-animations": "^13.0.0",
17
17
  "@mintplayer/ng-pagination": "^13.1.0",
18
+ "@mintplayer/ng-focus-on-load": "^13.1.0",
18
19
  "@angular/animations": "13.1.1",
19
20
  "@angular/platform-browser": "13.1.1",
20
21
  "rxjs": "~7.4.0",
21
- "@mintplayer/ng-focus-on-load": "^13.1.0",
22
+ "ngx-highlightjs": "^6.1.1",
22
23
  "@angular/router": "13.1.1",
23
24
  "@angular/forms": "13.1.1"
24
25
  },
@@ -0,0 +1,12 @@
1
+ body.modal-open {
2
+ overflow: hidden;
3
+ padding-right: 17px;
4
+ }
5
+
6
+ @media (max-width: 767px) {
7
+ nav.position-fixed {
8
+ max-height: 100%;
9
+ overflow-y: scroll;
10
+ margin-right: -17px;
11
+ }
12
+ }
@@ -0,0 +1,89 @@
1
+ /*!
2
+ Theme: Solarized Dark
3
+ Author: Ethan Schoonover (modified by aramisgithub)
4
+ License: ~ MIT (or more permissive) [via base16-schemes-source]
5
+ Maintainer: @highlightjs/core-team
6
+ Version: 2021.09.0
7
+ */
8
+
9
+ pre code.hljs {
10
+ display: block;
11
+ overflow-x: auto;
12
+ padding: 1em;
13
+ }
14
+
15
+ code.hljs {
16
+ padding: 3px 5px;
17
+ }
18
+
19
+ .hljs {
20
+ color: #93a1a1;
21
+ background: #002b36;
22
+ }
23
+
24
+ .hljs ::selection, .hljs::selection {
25
+ background-color: #586e75;
26
+ color: #93a1a1;
27
+ }
28
+
29
+ .hljs-comment {
30
+ color: #657b83;
31
+ }
32
+
33
+ .hljs-tag {
34
+ color: #839496;
35
+ }
36
+
37
+ .hljs-operator, .hljs-punctuation, .hljs-subst {
38
+ color: #93a1a1;
39
+ }
40
+
41
+ .hljs-operator {
42
+ opacity: 0.7;
43
+ }
44
+
45
+ .hljs-bullet, .hljs-deletion, .hljs-name, .hljs-selector-tag, .hljs-template-variable, .hljs-variable {
46
+ color: #dc322f;
47
+ }
48
+
49
+ .hljs-attr, .hljs-link, .hljs-literal, .hljs-number, .hljs-symbol, .hljs-variable.constant_ {
50
+ color: #cb4b16;
51
+ }
52
+
53
+ .hljs-class .hljs-title, .hljs-title, .hljs-title.class_ {
54
+ color: #b58900;
55
+ }
56
+
57
+ .hljs-strong {
58
+ font-weight: 700;
59
+ color: #b58900;
60
+ }
61
+
62
+ .hljs-addition, .hljs-code, .hljs-string, .hljs-title.class_.inherited__ {
63
+ color: #859900;
64
+ }
65
+
66
+ .hljs-built_in, .hljs-doctag, .hljs-keyword.hljs-atrule, .hljs-quote, .hljs-regexp {
67
+ color: #2aa198;
68
+ }
69
+
70
+ .hljs-attribute, .hljs-function .hljs-title, .hljs-section, .hljs-title.function_, .ruby .hljs-property {
71
+ color: #268bd2;
72
+ }
73
+
74
+ .diff .hljs-meta, .hljs-keyword, .hljs-template-tag, .hljs-type {
75
+ color: #6c71c4;
76
+ }
77
+
78
+ .hljs-emphasis {
79
+ color: #6c71c4;
80
+ font-style: italic;
81
+ }
82
+
83
+ .hljs-meta, .hljs-meta .hljs-keyword, .hljs-meta .hljs-string {
84
+ color: #d33682;
85
+ }
86
+
87
+ .hljs-meta .hljs-keyword, .hljs-meta-keyword {
88
+ font-weight: 700;
89
+ }
@@ -1,6 +1,4 @@
1
- @import "~bootstrap/scss/bootstrap-utilities.scss";
2
-
3
- //Generate utilites for Cursor
1
+ //Generate utilites for cursor
4
2
  $utilities: map-merge(
5
3
  $utilities,
6
4
  (
@@ -9,6 +7,4 @@ $utilities: map-merge(
9
7
  values: auto default pointer wait text move help not-allowed
10
8
  ),
11
9
  )
12
- );
13
-
14
- @import "~bootstrap/scss/bootstrap.scss";
10
+ );
@@ -0,0 +1,10 @@
1
+ //Generate utilites for white-space
2
+ $utilities: map-merge(
3
+ $utilities,
4
+ (
5
+ "white-space": (
6
+ property: white-space,
7
+ values: break-spaces none normal nowrap pre pre-line pre-wrap revert
8
+ ),
9
+ )
10
+ );
@@ -1,36 +0,0 @@
1
- import { Component, ContentChild, Input, TemplateRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "../dropdown/dropdown/dropdown.directive";
4
- import * as i2 from "../dropdown/dropdown-toggle/dropdown-toggle.directive";
5
- import * as i3 from "../dropdown/dropdown-menu/dropdown-menu.directive";
6
- import * as i4 from "@angular/common";
7
- export class BsMultiselectComponent {
8
- constructor() {
9
- this.items = [];
10
- this.selectedItems = [];
11
- }
12
- itemChange(item, event) {
13
- if (!!event.target.checked) {
14
- this.selectedItems.push(item);
15
- }
16
- else {
17
- this.selectedItems.splice(this.selectedItems.findIndex((i) => i === item), 1);
18
- }
19
- }
20
- ngOnInit() {
21
- }
22
- }
23
- BsMultiselectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsMultiselectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
24
- BsMultiselectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: BsMultiselectComponent, selector: "bs-multiselect", inputs: { items: "items", selectedItems: "selectedItems" }, queries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: "<div bsDropdown [hasBackdrop]=\"true\" [closeOnClickOutside]=\"true\">\n <button bsDropdownToggle class=\"btn btn-primary\">{{ selectedItems.length }} selected</button>\n <div *bsDropdownMenu class=\"bg-white mw-250px p-3 border rounded shadow\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n <hr class=\"my-2\">\n <label *ngFor=\"let item of items\" class=\"form-check\">\n <input type=\"checkbox\" [checked]=\"selectedItems.indexOf(item) > -1\" (change)=\"itemChange(item, $event)\" class=\"form-check-input\">\n <span class=\"form-check-label\">{{ item }}</span>\n </label>\n </div>\n</div>", styles: [".mw-250px{min-width:250px}\n"], directives: [{ type: i1.BsDropdownDirective, selector: "[bsDropdown]", inputs: ["hasBackdrop", "sameWidth", "closeOnClickOutside", "isOpen"], outputs: ["isOpenChange"] }, { type: i2.BsDropdownToggleDirective, selector: "[bsDropdownToggle]" }, { type: i3.BsDropdownMenuDirective, selector: "[bsDropdownMenu]" }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsMultiselectComponent, decorators: [{
26
- type: Component,
27
- args: [{ selector: 'bs-multiselect', template: "<div bsDropdown [hasBackdrop]=\"true\" [closeOnClickOutside]=\"true\">\n <button bsDropdownToggle class=\"btn btn-primary\">{{ selectedItems.length }} selected</button>\n <div *bsDropdownMenu class=\"bg-white mw-250px p-3 border rounded shadow\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n <hr class=\"my-2\">\n <label *ngFor=\"let item of items\" class=\"form-check\">\n <input type=\"checkbox\" [checked]=\"selectedItems.indexOf(item) > -1\" (change)=\"itemChange(item, $event)\" class=\"form-check-input\">\n <span class=\"form-check-label\">{{ item }}</span>\n </label>\n </div>\n</div>", styles: [".mw-250px{min-width:250px}\n"] }]
28
- }], ctorParameters: function () { return []; }, propDecorators: { template: [{
29
- type: ContentChild,
30
- args: [TemplateRef]
31
- }], items: [{
32
- type: Input
33
- }], selectedItems: [{
34
- type: Input
35
- }] } });
36
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXVsdGlz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