@mintplayer/ng-bootstrap 12.0.4 → 13.1.2

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 (167) hide show
  1. package/esm2020/index.mjs +3 -0
  2. package/esm2020/lib/components/accordion/accordion/accordion.component.mjs +20 -0
  3. package/esm2020/lib/components/accordion/accordion-tab/accordion-tab.component.mjs +27 -0
  4. package/esm2020/lib/components/accordion/accordion-tab-header/accordion-tab-header.component.mjs +29 -0
  5. package/esm2020/lib/components/accordion/accordion.module.mjs +40 -0
  6. package/esm2020/lib/components/accordion/index.mjs +5 -0
  7. package/esm2020/lib/components/alert/alert/alert.component.mjs +23 -0
  8. package/esm2020/lib/components/alert/alert-close/alert-close.component.mjs +21 -0
  9. package/esm2020/lib/components/alert/alert.module.mjs +27 -0
  10. package/esm2020/lib/components/alert/index.mjs +4 -0
  11. package/esm2020/lib/components/calendar/calendar.component.mjs +61 -0
  12. package/esm2020/lib/components/calendar/calendar.module.mjs +38 -0
  13. package/esm2020/lib/components/calendar/index.mjs +3 -0
  14. package/esm2020/lib/components/card/card/card.component.mjs +18 -0
  15. package/esm2020/lib/components/card/card-header/card-header.component.mjs +15 -0
  16. package/esm2020/lib/components/card/card.module.mjs +27 -0
  17. package/esm2020/lib/components/card/index.mjs +4 -0
  18. package/esm2020/lib/components/carousel/carousel/carousel.component.mjs +66 -0
  19. package/esm2020/lib/components/carousel/carousel-image/carousel-image.directive.mjs +14 -0
  20. package/esm2020/lib/components/carousel/carousel.module.mjs +31 -0
  21. package/esm2020/lib/components/carousel/index.mjs +4 -0
  22. package/esm2020/lib/components/index.mjs +9 -0
  23. package/esm2020/lib/components/list-group/index.mjs +4 -0
  24. package/esm2020/lib/components/list-group/list-group/list-group.component.mjs +19 -0
  25. package/esm2020/lib/components/list-group/list-group-item/list-group-item.component.mjs +15 -0
  26. package/esm2020/lib/components/list-group/list-group.module.mjs +27 -0
  27. package/esm2020/lib/components/navbar/dropdown-toggle/dropdown-toggle.directive.mjs +38 -0
  28. package/esm2020/lib/components/navbar/index.mjs +10 -0
  29. package/esm2020/lib/components/navbar/nav-link/nav-link.directive.mjs +29 -0
  30. package/esm2020/lib/components/navbar/navbar/navbar.component.mjs +20 -0
  31. package/esm2020/lib/components/navbar/navbar-content/navbar-content.directive.mjs +33 -0
  32. package/esm2020/lib/components/navbar/navbar-dropdown/navbar-dropdown.component.mjs +38 -0
  33. package/esm2020/lib/components/navbar/navbar-item/navbar-item.component.mjs +47 -0
  34. package/esm2020/lib/components/navbar/navbar-nav/navbar-nav.component.mjs +29 -0
  35. package/esm2020/lib/components/navbar/navbar.module.mjs +64 -0
  36. package/esm2020/lib/components/tab-control/index.mjs +4 -0
  37. package/esm2020/lib/components/tab-control/tab-control/tab-control.component.mjs +27 -0
  38. package/esm2020/lib/components/tab-control/tab-control.module.mjs +31 -0
  39. package/esm2020/lib/components/tab-control/tab-page/tab-page.component.mjs +25 -0
  40. package/esm2020/lib/enums/color.enum.mjs +15 -0
  41. package/esm2020/lib/enums/index.mjs +2 -0
  42. package/esm2020/lib/interfaces/date-day-of-month.mjs +2 -0
  43. package/esm2020/lib/interfaces/first-and-last-date.mjs +2 -0
  44. package/esm2020/lib/interfaces/week.mjs +2 -0
  45. package/esm2020/lib/pipes/month-name/month-name.module.mjs +26 -0
  46. package/esm2020/lib/pipes/month-name/month-name.pipe.mjs +16 -0
  47. package/esm2020/lib/pipes/uc-first/uc-first.module.mjs +26 -0
  48. package/esm2020/lib/pipes/uc-first/uc-first.pipe.mjs +16 -0
  49. package/esm2020/lib/pipes/weekday-name/weekday-name.module.mjs +26 -0
  50. package/esm2020/lib/pipes/weekday-name/weekday-name.pipe.mjs +16 -0
  51. package/esm2020/lib/services/calendar-month/calendar-month.service.mjs +82 -0
  52. package/esm2020/mintplayer-ng-bootstrap.mjs +5 -0
  53. package/fesm2015/mintplayer-ng-bootstrap.mjs +992 -0
  54. package/fesm2015/mintplayer-ng-bootstrap.mjs.map +1 -0
  55. package/{fesm2015/mintplayer-ng-bootstrap.js → fesm2020/mintplayer-ng-bootstrap.mjs} +170 -236
  56. package/fesm2020/mintplayer-ng-bootstrap.mjs.map +1 -0
  57. package/lib/components/alert/alert/alert.component.d.ts +1 -0
  58. package/lib/components/alert/alert-close/alert-close.component.d.ts +4 -1
  59. package/lib/components/carousel/carousel/carousel.component.d.ts +4 -2
  60. package/package.json +31 -18
  61. package/bundles/mintplayer-ng-bootstrap.umd.js +0 -1521
  62. package/bundles/mintplayer-ng-bootstrap.umd.js.map +0 -1
  63. package/esm2015/index.js +0 -3
  64. package/esm2015/index.js.map +0 -1
  65. package/esm2015/lib/components/accordion/accordion/accordion.component.js +0 -24
  66. package/esm2015/lib/components/accordion/accordion/accordion.component.js.map +0 -1
  67. package/esm2015/lib/components/accordion/accordion-tab/accordion-tab.component.js +0 -32
  68. package/esm2015/lib/components/accordion/accordion-tab/accordion-tab.component.js.map +0 -1
  69. package/esm2015/lib/components/accordion/accordion-tab-header/accordion-tab-header.component.js +0 -33
  70. package/esm2015/lib/components/accordion/accordion-tab-header/accordion-tab-header.component.js.map +0 -1
  71. package/esm2015/lib/components/accordion/accordion.module.js +0 -40
  72. package/esm2015/lib/components/accordion/accordion.module.js.map +0 -1
  73. package/esm2015/lib/components/accordion/index.js +0 -5
  74. package/esm2015/lib/components/accordion/index.js.map +0 -1
  75. package/esm2015/lib/components/alert/alert/alert.component.js +0 -25
  76. package/esm2015/lib/components/alert/alert/alert.component.js.map +0 -1
  77. package/esm2015/lib/components/alert/alert-close/alert-close.component.js +0 -19
  78. package/esm2015/lib/components/alert/alert-close/alert-close.component.js.map +0 -1
  79. package/esm2015/lib/components/alert/alert.module.js +0 -27
  80. package/esm2015/lib/components/alert/alert.module.js.map +0 -1
  81. package/esm2015/lib/components/alert/index.js +0 -4
  82. package/esm2015/lib/components/alert/index.js.map +0 -1
  83. package/esm2015/lib/components/calendar/calendar.component.js +0 -65
  84. package/esm2015/lib/components/calendar/calendar.component.js.map +0 -1
  85. package/esm2015/lib/components/calendar/calendar.module.js +0 -38
  86. package/esm2015/lib/components/calendar/calendar.module.js.map +0 -1
  87. package/esm2015/lib/components/calendar/index.js +0 -3
  88. package/esm2015/lib/components/calendar/index.js.map +0 -1
  89. package/esm2015/lib/components/card/card/card.component.js +0 -22
  90. package/esm2015/lib/components/card/card/card.component.js.map +0 -1
  91. package/esm2015/lib/components/card/card-header/card-header.component.js +0 -19
  92. package/esm2015/lib/components/card/card-header/card-header.component.js.map +0 -1
  93. package/esm2015/lib/components/card/card.module.js +0 -27
  94. package/esm2015/lib/components/card/card.module.js.map +0 -1
  95. package/esm2015/lib/components/card/index.js +0 -4
  96. package/esm2015/lib/components/card/index.js.map +0 -1
  97. package/esm2015/lib/components/carousel/carousel/carousel.component.js +0 -70
  98. package/esm2015/lib/components/carousel/carousel/carousel.component.js.map +0 -1
  99. package/esm2015/lib/components/carousel/carousel-image/carousel-image.directive.js +0 -14
  100. package/esm2015/lib/components/carousel/carousel-image/carousel-image.directive.js.map +0 -1
  101. package/esm2015/lib/components/carousel/carousel.module.js +0 -31
  102. package/esm2015/lib/components/carousel/carousel.module.js.map +0 -1
  103. package/esm2015/lib/components/carousel/index.js +0 -4
  104. package/esm2015/lib/components/carousel/index.js.map +0 -1
  105. package/esm2015/lib/components/index.js +0 -9
  106. package/esm2015/lib/components/index.js.map +0 -1
  107. package/esm2015/lib/components/list-group/index.js +0 -4
  108. package/esm2015/lib/components/list-group/index.js.map +0 -1
  109. package/esm2015/lib/components/list-group/list-group/list-group.component.js +0 -23
  110. package/esm2015/lib/components/list-group/list-group/list-group.component.js.map +0 -1
  111. package/esm2015/lib/components/list-group/list-group-item/list-group-item.component.js +0 -19
  112. package/esm2015/lib/components/list-group/list-group-item/list-group-item.component.js.map +0 -1
  113. package/esm2015/lib/components/list-group/list-group.module.js +0 -27
  114. package/esm2015/lib/components/list-group/list-group.module.js.map +0 -1
  115. package/esm2015/lib/components/navbar/dropdown-toggle/dropdown-toggle.directive.js +0 -38
  116. package/esm2015/lib/components/navbar/dropdown-toggle/dropdown-toggle.directive.js.map +0 -1
  117. package/esm2015/lib/components/navbar/index.js +0 -10
  118. package/esm2015/lib/components/navbar/index.js.map +0 -1
  119. package/esm2015/lib/components/navbar/nav-link/nav-link.directive.js +0 -29
  120. package/esm2015/lib/components/navbar/nav-link/nav-link.directive.js.map +0 -1
  121. package/esm2015/lib/components/navbar/navbar/navbar.component.js +0 -24
  122. package/esm2015/lib/components/navbar/navbar/navbar.component.js.map +0 -1
  123. package/esm2015/lib/components/navbar/navbar-content/navbar-content.directive.js +0 -33
  124. package/esm2015/lib/components/navbar/navbar-content/navbar-content.directive.js.map +0 -1
  125. package/esm2015/lib/components/navbar/navbar-dropdown/navbar-dropdown.component.js +0 -42
  126. package/esm2015/lib/components/navbar/navbar-dropdown/navbar-dropdown.component.js.map +0 -1
  127. package/esm2015/lib/components/navbar/navbar-item/navbar-item.component.js +0 -51
  128. package/esm2015/lib/components/navbar/navbar-item/navbar-item.component.js.map +0 -1
  129. package/esm2015/lib/components/navbar/navbar-nav/navbar-nav.component.js +0 -34
  130. package/esm2015/lib/components/navbar/navbar-nav/navbar-nav.component.js.map +0 -1
  131. package/esm2015/lib/components/navbar/navbar.module.js +0 -64
  132. package/esm2015/lib/components/navbar/navbar.module.js.map +0 -1
  133. package/esm2015/lib/components/tab-control/index.js +0 -4
  134. package/esm2015/lib/components/tab-control/index.js.map +0 -1
  135. package/esm2015/lib/components/tab-control/tab-control/tab-control.component.js +0 -31
  136. package/esm2015/lib/components/tab-control/tab-control/tab-control.component.js.map +0 -1
  137. package/esm2015/lib/components/tab-control/tab-control.module.js +0 -31
  138. package/esm2015/lib/components/tab-control/tab-control.module.js.map +0 -1
  139. package/esm2015/lib/components/tab-control/tab-page/tab-page.component.js +0 -29
  140. package/esm2015/lib/components/tab-control/tab-page/tab-page.component.js.map +0 -1
  141. package/esm2015/lib/enums/color.enum.js +0 -15
  142. package/esm2015/lib/enums/color.enum.js.map +0 -1
  143. package/esm2015/lib/enums/index.js +0 -2
  144. package/esm2015/lib/enums/index.js.map +0 -1
  145. package/esm2015/lib/interfaces/date-day-of-month.js +0 -2
  146. package/esm2015/lib/interfaces/date-day-of-month.js.map +0 -1
  147. package/esm2015/lib/interfaces/first-and-last-date.js +0 -2
  148. package/esm2015/lib/interfaces/first-and-last-date.js.map +0 -1
  149. package/esm2015/lib/interfaces/week.js +0 -2
  150. package/esm2015/lib/interfaces/week.js.map +0 -1
  151. package/esm2015/lib/pipes/month-name/month-name.module.js +0 -26
  152. package/esm2015/lib/pipes/month-name/month-name.module.js.map +0 -1
  153. package/esm2015/lib/pipes/month-name/month-name.pipe.js +0 -16
  154. package/esm2015/lib/pipes/month-name/month-name.pipe.js.map +0 -1
  155. package/esm2015/lib/pipes/uc-first/uc-first.module.js +0 -26
  156. package/esm2015/lib/pipes/uc-first/uc-first.module.js.map +0 -1
  157. package/esm2015/lib/pipes/uc-first/uc-first.pipe.js +0 -16
  158. package/esm2015/lib/pipes/uc-first/uc-first.pipe.js.map +0 -1
  159. package/esm2015/lib/pipes/weekday-name/weekday-name.module.js +0 -26
  160. package/esm2015/lib/pipes/weekday-name/weekday-name.module.js.map +0 -1
  161. package/esm2015/lib/pipes/weekday-name/weekday-name.pipe.js +0 -16
  162. package/esm2015/lib/pipes/weekday-name/weekday-name.pipe.js.map +0 -1
  163. package/esm2015/lib/services/calendar-month/calendar-month.service.js +0 -83
  164. package/esm2015/lib/services/calendar-month/calendar-month.service.js.map +0 -1
  165. package/esm2015/mintplayer-ng-bootstrap.js +0 -5
  166. package/esm2015/mintplayer-ng-bootstrap.js.map +0 -1
  167. package/fesm2015/mintplayer-ng-bootstrap.js.map +0 -1
@@ -0,0 +1,992 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, Input, NgModule, Injectable, Pipe, Directive, ElementRef, ContentChildren, ViewChild, Optional, forwardRef, SkipSelf, Host, Inject, TemplateRef, ContentChild } from '@angular/core';
3
+ import * as i1 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+ import { SlideUpDownAnimation, FadeInOutAnimation, CarouselSlideAnimation } from '@mintplayer/ng-animations';
6
+ import { Subject, BehaviorSubject } from 'rxjs';
7
+ import { map, takeUntil, take } from 'rxjs/operators';
8
+ import { RouterModule } from '@angular/router';
9
+ import * as i1$1 from '@mintplayer/ng-click-outside';
10
+ import { ClickOutsideModule } from '@mintplayer/ng-click-outside';
11
+ import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
12
+
13
+ var Color;
14
+ (function (Color) {
15
+ Color[Color["primary"] = 0] = "primary";
16
+ Color[Color["secondary"] = 1] = "secondary";
17
+ Color[Color["success"] = 2] = "success";
18
+ Color[Color["danger"] = 3] = "danger";
19
+ Color[Color["warning"] = 4] = "warning";
20
+ Color[Color["info"] = 5] = "info";
21
+ Color[Color["light"] = 6] = "light";
22
+ Color[Color["dark"] = 7] = "dark";
23
+ Color[Color["body"] = 8] = "body";
24
+ Color[Color["white"] = 9] = "white";
25
+ Color[Color["transparent"] = 10] = "transparent";
26
+ })(Color || (Color = {}));
27
+
28
+ class BsAlertComponent {
29
+ constructor() {
30
+ this.type = Color.primary;
31
+ this.colors = Color;
32
+ this.isVisible = true;
33
+ }
34
+ ngOnInit() {
35
+ }
36
+ }
37
+ BsAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsAlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
38
+ BsAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: BsAlertComponent, selector: "bs-alert", inputs: { type: "type" }, ngImport: i0, template: "<div class=\"mb-3 overflow-hidden\" *ngIf=\"isVisible\" [@fadeInOut]>\n <div class=\"alert mb-0\" [ngClass]=\"'alert-' + colors[type]\">\n <ng-content></ng-content>\n </div>\n</div>", styles: ["::ng-deep .alert .btn{bottom:0;display:inline-flex;align-items:center}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], animations: [SlideUpDownAnimation, FadeInOutAnimation] });
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsAlertComponent, decorators: [{
40
+ type: Component,
41
+ args: [{ selector: 'bs-alert', animations: [SlideUpDownAnimation, FadeInOutAnimation], template: "<div class=\"mb-3 overflow-hidden\" *ngIf=\"isVisible\" [@fadeInOut]>\n <div class=\"alert mb-0\" [ngClass]=\"'alert-' + colors[type]\">\n <ng-content></ng-content>\n </div>\n</div>", styles: ["::ng-deep .alert .btn{bottom:0;display:inline-flex;align-items:center}\n"] }]
42
+ }], ctorParameters: function () { return []; }, propDecorators: { type: [{
43
+ type: Input
44
+ }] } });
45
+
46
+ class BsAlertCloseComponent {
47
+ constructor(alert) {
48
+ this.alert = alert;
49
+ }
50
+ ngOnInit() {
51
+ }
52
+ closeAlert() {
53
+ this.alert.isVisible = false;
54
+ }
55
+ }
56
+ BsAlertCloseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsAlertCloseComponent, deps: [{ token: BsAlertComponent }], target: i0.ɵɵFactoryTarget.Component });
57
+ BsAlertCloseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: BsAlertCloseComponent, selector: "bs-alert-close", ngImport: i0, template: "<button class=\"btn float-end\" (click)=\"closeAlert()\">\n <span class=\"text-dark\">\u00D7</span>\n</button>", styles: ["button{top:0;right:0;border:0;position:absolute;padding:.75rem 1.25rem!important;background:transparent}\n"] });
58
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsAlertCloseComponent, decorators: [{
59
+ type: Component,
60
+ args: [{ selector: 'bs-alert-close', template: "<button class=\"btn float-end\" (click)=\"closeAlert()\">\n <span class=\"text-dark\">\u00D7</span>\n</button>", styles: ["button{top:0;right:0;border:0;position:absolute;padding:.75rem 1.25rem!important;background:transparent}\n"] }]
61
+ }], ctorParameters: function () { return [{ type: BsAlertComponent }]; } });
62
+
63
+ class BsAlertModule {
64
+ }
65
+ BsAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
66
+ BsAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsAlertModule, declarations: [BsAlertComponent,
67
+ BsAlertCloseComponent], imports: [CommonModule], exports: [BsAlertComponent,
68
+ BsAlertCloseComponent] });
69
+ BsAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsAlertModule, imports: [[CommonModule]] });
70
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsAlertModule, decorators: [{
71
+ type: NgModule,
72
+ args: [{
73
+ imports: [CommonModule],
74
+ declarations: [
75
+ BsAlertComponent,
76
+ BsAlertCloseComponent
77
+ ],
78
+ exports: [
79
+ BsAlertComponent,
80
+ BsAlertCloseComponent
81
+ ]
82
+ }]
83
+ }] });
84
+
85
+ class BsCardComponent {
86
+ constructor() {
87
+ }
88
+ ngOnInit() {
89
+ }
90
+ ngAfterViewInit() {
91
+ // console.log('header', this.header);
92
+ }
93
+ }
94
+ BsCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
95
+ BsCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: BsCardComponent, selector: "bs-card", ngImport: i0, template: "<div class=\"card\" style=\"width: 18rem;\">\n <ng-content select=\"bs-card-header\"></ng-content>\n <div class=\"card-block\">\n <ng-content></ng-content>\n </div>\n</div>", styles: [".card-block{margin:-1px}\n"] });
96
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCardComponent, decorators: [{
97
+ type: Component,
98
+ args: [{ selector: 'bs-card', template: "<div class=\"card\" style=\"width: 18rem;\">\n <ng-content select=\"bs-card-header\"></ng-content>\n <div class=\"card-block\">\n <ng-content></ng-content>\n </div>\n</div>", styles: [".card-block{margin:-1px}\n"] }]
99
+ }], ctorParameters: function () { return []; } });
100
+
101
+ class BsCardHeaderComponent {
102
+ constructor() {
103
+ }
104
+ ngOnInit() {
105
+ }
106
+ }
107
+ BsCardHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCardHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
108
+ BsCardHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: BsCardHeaderComponent, selector: "bs-card-header", ngImport: i0, template: "<div class=\"card-header\">\n <ng-content></ng-content>\n</div>", styles: [""] });
109
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCardHeaderComponent, decorators: [{
110
+ type: Component,
111
+ args: [{ selector: 'bs-card-header', template: "<div class=\"card-header\">\n <ng-content></ng-content>\n</div>", styles: [""] }]
112
+ }], ctorParameters: function () { return []; } });
113
+
114
+ class BsCardModule {
115
+ }
116
+ BsCardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
117
+ BsCardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCardModule, declarations: [BsCardComponent,
118
+ BsCardHeaderComponent], imports: [CommonModule], exports: [BsCardComponent,
119
+ BsCardHeaderComponent] });
120
+ BsCardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCardModule, imports: [[CommonModule]] });
121
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCardModule, decorators: [{
122
+ type: NgModule,
123
+ args: [{
124
+ imports: [CommonModule],
125
+ declarations: [
126
+ BsCardComponent,
127
+ BsCardHeaderComponent
128
+ ],
129
+ exports: [
130
+ BsCardComponent,
131
+ BsCardHeaderComponent
132
+ ]
133
+ }]
134
+ }] });
135
+
136
+ class BsCalendarMonthService {
137
+ constructor() {
138
+ }
139
+ getWeeks(month) {
140
+ let firstAndLast = this.getFirstAndLastDayOfMonth(month);
141
+ let days = this.dateDiff(firstAndLast.first, firstAndLast.last) + 1;
142
+ let allDays = [
143
+ ...this.generateList(this.dayOfWeekMondayBased(firstAndLast.first)).map(d => null),
144
+ ...this.generateList(days).map(d => {
145
+ return {
146
+ date: new Date(firstAndLast.first.getFullYear(), firstAndLast.first.getMonth(), firstAndLast.first.getDate() + d),
147
+ dayOfMonth: d + 1,
148
+ };
149
+ }),
150
+ ...this.generateList(6 - this.dayOfWeekMondayBased(firstAndLast.last)).map(d => null),
151
+ ];
152
+ let weeks = this.chunk(allDays, 7);
153
+ let weeksMapped = weeks.map((w, i) => {
154
+ var _a;
155
+ return {
156
+ number: this.weekOfYear(new Date(month.getFullYear(), month.getMonth(), (_a = w.find(d => d !== null)) === null || _a === void 0 ? void 0 : _a.dayOfMonth)),
157
+ week: w
158
+ };
159
+ });
160
+ return weeksMapped;
161
+ }
162
+ generateList(count) {
163
+ return [...Array(count).keys()];
164
+ }
165
+ dayOfWeekMondayBased(date) {
166
+ let d = date.getDay() - 1;
167
+ if (d < 0) {
168
+ return 6;
169
+ }
170
+ else {
171
+ return d;
172
+ }
173
+ }
174
+ weekOfYear(date) {
175
+ let dateClone = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate()));
176
+ dateClone.setUTCDate(dateClone.getUTCDate() + 4 - (dateClone.getUTCDay() || 7));
177
+ let yearStart = new Date(Date.UTC(dateClone.getUTCFullYear(), 0, 1));
178
+ let utcDiff = this.toUTC(dateClone) - this.toUTC(yearStart);
179
+ return Math.ceil((utcDiff / (1000 * 60 * 60 * 24) + 1) / 7);
180
+ }
181
+ getFirstAndLastDayOfMonth(date) {
182
+ return {
183
+ first: new Date(date.getFullYear(), date.getMonth(), 1),
184
+ last: new Date(date.getFullYear(), date.getMonth() + 1, 0)
185
+ };
186
+ }
187
+ dateDiff(date1, date2) {
188
+ const utc1 = this.toUTC(date1);
189
+ const utc2 = this.toUTC(date2);
190
+ const msPerDay = 1000 * 60 * 60 * 24;
191
+ return Math.floor((utc2 - utc1) / msPerDay);
192
+ }
193
+ dayOfYear(date) {
194
+ const start = new Date(date.getFullYear(), 0, 0);
195
+ return this.dateDiff(start, date);
196
+ }
197
+ toUTC(date) {
198
+ return Date.UTC(date.getFullYear(), date.getMonth(), date.getDate());
199
+ }
200
+ chunk(items, size) {
201
+ let result = [];
202
+ for (let i = 0; i < items.length; i += size) {
203
+ result.push(items.slice(i, i + size));
204
+ }
205
+ return result;
206
+ }
207
+ }
208
+ BsCalendarMonthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCalendarMonthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
209
+ BsCalendarMonthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCalendarMonthService, providedIn: 'root' });
210
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCalendarMonthService, decorators: [{
211
+ type: Injectable,
212
+ args: [{
213
+ providedIn: 'root'
214
+ }]
215
+ }], ctorParameters: function () { return []; } });
216
+
217
+ class UcFirstPipe {
218
+ transform(value, ...args) {
219
+ return value[0].toUpperCase() + value.slice(1);
220
+ }
221
+ }
222
+ UcFirstPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: UcFirstPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
223
+ UcFirstPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: UcFirstPipe, name: "ucFirst" });
224
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: UcFirstPipe, decorators: [{
225
+ type: Pipe,
226
+ args: [{
227
+ name: 'ucFirst'
228
+ }]
229
+ }] });
230
+
231
+ class MonthNamePipe {
232
+ transform(date, ...args) {
233
+ return date.toLocaleString("default", { month: 'long' });
234
+ }
235
+ }
236
+ MonthNamePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonthNamePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
237
+ MonthNamePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonthNamePipe, name: "monthName" });
238
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonthNamePipe, decorators: [{
239
+ type: Pipe,
240
+ args: [{
241
+ name: 'monthName'
242
+ }]
243
+ }] });
244
+
245
+ class BsCalendarComponent {
246
+ constructor(calendarMonthService) {
247
+ this.calendarMonthService = calendarMonthService;
248
+ this.daysOfWeek = ['Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su'];
249
+ //#region SelectedDate
250
+ this.selectedDate = new Date();
251
+ //#endregion
252
+ //#region Weeks
253
+ this._weeks = [];
254
+ }
255
+ ngOnInit() {
256
+ this.month = new Date();
257
+ }
258
+ get month() {
259
+ return this._month;
260
+ }
261
+ set month(value) {
262
+ this._month = value;
263
+ this.weeks = this.calendarMonthService.getWeeks(this.month);
264
+ }
265
+ get weeks() {
266
+ return this._weeks;
267
+ }
268
+ set weeks(value) {
269
+ this._weeks = value;
270
+ if (this._weeks.length > 1) {
271
+ this.daysOfWeek = this._weeks[1].week.map(d => {
272
+ let date = new Date(this.month.getFullYear(), this.month.getMonth(), d === null || d === void 0 ? void 0 : d.dayOfMonth);
273
+ return date.toLocaleString("default", { weekday: 'short' });
274
+ });
275
+ }
276
+ }
277
+ //#endregion
278
+ previousMonth() {
279
+ this.month = new Date(this.month.getFullYear(), this.month.getMonth() - 1, 1);
280
+ return false;
281
+ }
282
+ nextMonth() {
283
+ this.month = new Date(this.month.getFullYear(), this.month.getMonth() + 1, 1);
284
+ return false;
285
+ }
286
+ isSameDate(date1, date2) {
287
+ return (date1.getFullYear() === date2.getFullYear())
288
+ && (date1.getMonth() === date2.getMonth())
289
+ && (date1.getDate() === date2.getDate());
290
+ }
291
+ }
292
+ BsCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCalendarComponent, deps: [{ token: BsCalendarMonthService }], target: i0.ɵɵFactoryTarget.Component });
293
+ BsCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: BsCalendarComponent, selector: "bs-calendar", ngImport: i0, template: "<table class=\"table w-auto\">\n <tr>\n <td>\n <button class=\"btn btn-default\" (click)=\"previousMonth()\">\n <i class=\"bi bi-chevron-left fw-bolder\"></i>\n </button>\n </td>\n <td colspan=\"6\" class=\"fw-bolder\">\n {{ month | monthName | ucFirst }}\n {{ month.getFullYear() }}\n </td>\n <td>\n <button class=\"btn btn-default border-bottom-0\" (click)=\"nextMonth()\">\n <i class=\"bi bi-chevron-right fw-bolder\"></i>\n </button>\n </td>\n </tr>\n <tr>\n <th></th>\n <th *ngFor=\"let dayOfWeek of daysOfWeek\">\n {{ dayOfWeek }}\n </th>\n </tr>\n <tr *ngFor=\"let week of weeks\">\n <th>\n {{ week.number }}\n </th>\n <td [class.selected]=\"day === null ? false : isSameDate(selectedDate, day.date)\" *ngFor=\"let day of week.week\" (click)=\"day && selectedDate = day.date\">\n <span *ngIf=\"day !== null\">{{ day.dayOfMonth }}</span>\n </td>\n </tr>\n</table>", styles: ["table{border-collapse:collapse;border:1px solid rgba(0,0,0,.125)}table td,table th{width:40px;height:40px;text-align:center}table td span,table th span{cursor:pointer;white-space:nowrap}table td.selected{background-color:#0d6efd;color:#fff}table th{background-color:#f8f9fa}table tr{border-top:none}table tr:first-child>td{border-bottom:1px solid rgba(0,0,0,.125)}table tr:nth-of-type(2)>th:not(:nth-of-type(1)){border-bottom:1px solid rgba(0,0,0,.125)}table tr:not(:nth-of-type(2))>th:nth-of-type(1){border-right:1px solid rgba(0,0,0,.125)}\n"], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "ucFirst": UcFirstPipe, "monthName": MonthNamePipe } });
294
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCalendarComponent, decorators: [{
295
+ type: Component,
296
+ args: [{ selector: 'bs-calendar', template: "<table class=\"table w-auto\">\n <tr>\n <td>\n <button class=\"btn btn-default\" (click)=\"previousMonth()\">\n <i class=\"bi bi-chevron-left fw-bolder\"></i>\n </button>\n </td>\n <td colspan=\"6\" class=\"fw-bolder\">\n {{ month | monthName | ucFirst }}\n {{ month.getFullYear() }}\n </td>\n <td>\n <button class=\"btn btn-default border-bottom-0\" (click)=\"nextMonth()\">\n <i class=\"bi bi-chevron-right fw-bolder\"></i>\n </button>\n </td>\n </tr>\n <tr>\n <th></th>\n <th *ngFor=\"let dayOfWeek of daysOfWeek\">\n {{ dayOfWeek }}\n </th>\n </tr>\n <tr *ngFor=\"let week of weeks\">\n <th>\n {{ week.number }}\n </th>\n <td [class.selected]=\"day === null ? false : isSameDate(selectedDate, day.date)\" *ngFor=\"let day of week.week\" (click)=\"day && selectedDate = day.date\">\n <span *ngIf=\"day !== null\">{{ day.dayOfMonth }}</span>\n </td>\n </tr>\n</table>", styles: ["table{border-collapse:collapse;border:1px solid rgba(0,0,0,.125)}table td,table th{width:40px;height:40px;text-align:center}table td span,table th span{cursor:pointer;white-space:nowrap}table td.selected{background-color:#0d6efd;color:#fff}table th{background-color:#f8f9fa}table tr{border-top:none}table tr:first-child>td{border-bottom:1px solid rgba(0,0,0,.125)}table tr:nth-of-type(2)>th:not(:nth-of-type(1)){border-bottom:1px solid rgba(0,0,0,.125)}table tr:not(:nth-of-type(2))>th:nth-of-type(1){border-right:1px solid rgba(0,0,0,.125)}\n"] }]
297
+ }], ctorParameters: function () { return [{ type: BsCalendarMonthService }]; } });
298
+
299
+ class BsMonthNamePipeModule {
300
+ }
301
+ BsMonthNamePipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsMonthNamePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
302
+ BsMonthNamePipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsMonthNamePipeModule, declarations: [MonthNamePipe], imports: [CommonModule], exports: [MonthNamePipe] });
303
+ BsMonthNamePipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsMonthNamePipeModule, imports: [[
304
+ CommonModule
305
+ ]] });
306
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsMonthNamePipeModule, decorators: [{
307
+ type: NgModule,
308
+ args: [{
309
+ declarations: [
310
+ MonthNamePipe
311
+ ],
312
+ imports: [
313
+ CommonModule
314
+ ],
315
+ exports: [
316
+ MonthNamePipe
317
+ ]
318
+ }]
319
+ }] });
320
+
321
+ class BsUcFirstPipeModule {
322
+ }
323
+ BsUcFirstPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsUcFirstPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
324
+ BsUcFirstPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsUcFirstPipeModule, declarations: [UcFirstPipe], imports: [CommonModule], exports: [UcFirstPipe] });
325
+ BsUcFirstPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsUcFirstPipeModule, imports: [[
326
+ CommonModule
327
+ ]] });
328
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsUcFirstPipeModule, decorators: [{
329
+ type: NgModule,
330
+ args: [{
331
+ declarations: [
332
+ UcFirstPipe
333
+ ],
334
+ imports: [
335
+ CommonModule
336
+ ],
337
+ exports: [
338
+ UcFirstPipe
339
+ ]
340
+ }]
341
+ }] });
342
+
343
+ class WeekdayNamePipe {
344
+ transform(date, ...args) {
345
+ return date.toLocaleString("default", { weekday: 'short' });
346
+ }
347
+ }
348
+ WeekdayNamePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: WeekdayNamePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
349
+ WeekdayNamePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: WeekdayNamePipe, name: "weekdayName" });
350
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: WeekdayNamePipe, decorators: [{
351
+ type: Pipe,
352
+ args: [{
353
+ name: 'weekdayName'
354
+ }]
355
+ }] });
356
+
357
+ class BsWeekdayNameModule {
358
+ }
359
+ BsWeekdayNameModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsWeekdayNameModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
360
+ BsWeekdayNameModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsWeekdayNameModule, declarations: [WeekdayNamePipe], imports: [CommonModule], exports: [WeekdayNamePipe] });
361
+ BsWeekdayNameModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsWeekdayNameModule, imports: [[
362
+ CommonModule
363
+ ]] });
364
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsWeekdayNameModule, decorators: [{
365
+ type: NgModule,
366
+ args: [{
367
+ declarations: [
368
+ WeekdayNamePipe
369
+ ],
370
+ imports: [
371
+ CommonModule
372
+ ],
373
+ exports: [
374
+ WeekdayNamePipe
375
+ ]
376
+ }]
377
+ }] });
378
+
379
+ class BsCalendarModule {
380
+ }
381
+ BsCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
382
+ BsCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCalendarModule, declarations: [BsCalendarComponent], imports: [CommonModule,
383
+ BsUcFirstPipeModule,
384
+ BsMonthNamePipeModule,
385
+ BsWeekdayNameModule], exports: [BsCalendarComponent] });
386
+ BsCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCalendarModule, imports: [[
387
+ CommonModule,
388
+ BsUcFirstPipeModule,
389
+ BsMonthNamePipeModule,
390
+ BsWeekdayNameModule
391
+ ]] });
392
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCalendarModule, decorators: [{
393
+ type: NgModule,
394
+ args: [{
395
+ declarations: [
396
+ BsCalendarComponent
397
+ ],
398
+ imports: [
399
+ CommonModule,
400
+ BsUcFirstPipeModule,
401
+ BsMonthNamePipeModule,
402
+ BsWeekdayNameModule
403
+ ],
404
+ exports: [
405
+ BsCalendarComponent
406
+ ]
407
+ }]
408
+ }] });
409
+
410
+ class BsCarouselImageDirective {
411
+ constructor() { }
412
+ }
413
+ BsCarouselImageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCarouselImageDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
414
+ BsCarouselImageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: BsCarouselImageDirective, selector: "img[bsCarouselImage]", ngImport: i0 });
415
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCarouselImageDirective, decorators: [{
416
+ type: Directive,
417
+ args: [{
418
+ selector: 'img[bsCarouselImage]'
419
+ }]
420
+ }], ctorParameters: function () { return []; } });
421
+
422
+ class BsCarouselComponent {
423
+ constructor() {
424
+ // @HostBinding('@.disabled')
425
+ // public animationsDisabled = false;
426
+ this.animation = 'slide';
427
+ this.destroyed$ = new Subject();
428
+ this.currentImageCounter$ = new BehaviorSubject(-1);
429
+ this.currentImageIndex$ = this.currentImageCounter$
430
+ .pipe(map((counter) => {
431
+ const l = this.images.length;
432
+ return ((counter % l) + l) % l;
433
+ }))
434
+ .pipe(takeUntil(this.destroyed$));
435
+ this.currentImage$ = this.currentImageIndex$
436
+ .pipe(map((index) => { var _a; return (_a = this.images.get(index)) !== null && _a !== void 0 ? _a : null; }))
437
+ .pipe(takeUntil(this.destroyed$));
438
+ }
439
+ ngOnInit() { }
440
+ ngOnDestroy() {
441
+ this.destroyed$.next(true);
442
+ }
443
+ ngAfterContentInit() {
444
+ if (this.images.length > 0) {
445
+ this.currentImageCounter$.next(0);
446
+ }
447
+ else {
448
+ this.currentImageCounter$.next(-1);
449
+ }
450
+ }
451
+ previousImage() {
452
+ this.currentImageCounter$
453
+ .pipe(take(1))
454
+ .subscribe((currentImageCounter) => {
455
+ this.currentImageCounter$.next(currentImageCounter - 1);
456
+ });
457
+ }
458
+ nextImage() {
459
+ this.currentImageCounter$
460
+ .pipe(take(1))
461
+ .subscribe((currentImageCounter) => {
462
+ this.currentImageCounter$.next(currentImageCounter + 1);
463
+ });
464
+ }
465
+ setCurrentImage(index) {
466
+ this.currentImageCounter$.next(index);
467
+ }
468
+ }
469
+ BsCarouselComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCarouselComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
470
+ BsCarouselComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: BsCarouselComponent, selector: "bs-carousel", inputs: { animation: "animation" }, queries: [{ propertyName: "images", predicate: BsCarouselImageDirective, read: ElementRef }], ngImport: i0, template: "<div class=\"carousel slide\">\n <div class=\"carousel-indicators\">\n <button *ngFor=\"let image of images; let i = index\" type=\"button\" (click)=\"setCurrentImage(i)\" data-bs-target\n [class.active]=\"(currentImageIndex$ | async) === i\"\n [attr.aria-current]=\"(currentImageIndex$ | async) === i ? true : null\"\n [attr.aria-label]=\"'Slide ' + i\"></button>\n </div>\n\n\n\n <!-- [@carouselSlide]=\"currentImageCounter$ | async\" -->\n <div class=\"carousel-inner\" [@carouselSlide]=\"currentImageCounter$ | async\" *ngIf=\"animation === 'slide'\">\n <ng-container *ngFor=\"let image of images; let i = index\">\n <div class=\"carousel-item\" [class.active]=\"true\" *ngIf=\"(currentImageIndex$ | async) === i\">\n <img [src]=\"image.nativeElement.src\" class=\"d-block\" [attr.alt]=\"image.nativeElement.alt\" [class.w-100]=\"true\">\n </div>\n </ng-container>\n </div>\n <div class=\"carousel-inner\" *ngIf=\"animation === 'fade'\">\n <ng-container *ngFor=\"let image of images; let i = index\">\n <div class=\"carousel-item\" [class.active]=\"true\" @fadeInOut *ngIf=\"(currentImageIndex$ | async) === i\">\n <img [src]=\"image.nativeElement.src\" class=\"d-block\" [attr.alt]=\"image.nativeElement.alt\" [class.w-100]=\"true\">\n </div>\n </ng-container>\n </div>\n\n\n\n <button class=\"carousel-control-prev\" type=\"button\" (click)=\"previousImage()\">\n <span class=\"carousel-control-prev-icon\" aria-hidden=\"true\"></span>\n <span class=\"visually-hidden\">Previous</span>\n </button>\n <button class=\"carousel-control-next\" type=\"button\" (click)=\"nextImage()\">\n <span class=\"carousel-control-next-icon\" aria-hidden=\"true\"></span>\n <span class=\"visually-hidden\">Next</span>\n </button>\n</div>", styles: [".carousel{min-height:100px}\n"], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i1.AsyncPipe }, animations: [FadeInOutAnimation, CarouselSlideAnimation] });
471
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCarouselComponent, decorators: [{
472
+ type: Component,
473
+ args: [{ selector: 'bs-carousel', animations: [FadeInOutAnimation, CarouselSlideAnimation], template: "<div class=\"carousel slide\">\n <div class=\"carousel-indicators\">\n <button *ngFor=\"let image of images; let i = index\" type=\"button\" (click)=\"setCurrentImage(i)\" data-bs-target\n [class.active]=\"(currentImageIndex$ | async) === i\"\n [attr.aria-current]=\"(currentImageIndex$ | async) === i ? true : null\"\n [attr.aria-label]=\"'Slide ' + i\"></button>\n </div>\n\n\n\n <!-- [@carouselSlide]=\"currentImageCounter$ | async\" -->\n <div class=\"carousel-inner\" [@carouselSlide]=\"currentImageCounter$ | async\" *ngIf=\"animation === 'slide'\">\n <ng-container *ngFor=\"let image of images; let i = index\">\n <div class=\"carousel-item\" [class.active]=\"true\" *ngIf=\"(currentImageIndex$ | async) === i\">\n <img [src]=\"image.nativeElement.src\" class=\"d-block\" [attr.alt]=\"image.nativeElement.alt\" [class.w-100]=\"true\">\n </div>\n </ng-container>\n </div>\n <div class=\"carousel-inner\" *ngIf=\"animation === 'fade'\">\n <ng-container *ngFor=\"let image of images; let i = index\">\n <div class=\"carousel-item\" [class.active]=\"true\" @fadeInOut *ngIf=\"(currentImageIndex$ | async) === i\">\n <img [src]=\"image.nativeElement.src\" class=\"d-block\" [attr.alt]=\"image.nativeElement.alt\" [class.w-100]=\"true\">\n </div>\n </ng-container>\n </div>\n\n\n\n <button class=\"carousel-control-prev\" type=\"button\" (click)=\"previousImage()\">\n <span class=\"carousel-control-prev-icon\" aria-hidden=\"true\"></span>\n <span class=\"visually-hidden\">Previous</span>\n </button>\n <button class=\"carousel-control-next\" type=\"button\" (click)=\"nextImage()\">\n <span class=\"carousel-control-next-icon\" aria-hidden=\"true\"></span>\n <span class=\"visually-hidden\">Next</span>\n </button>\n</div>", styles: [".carousel{min-height:100px}\n"] }]
474
+ }], ctorParameters: function () { return []; }, propDecorators: { animation: [{
475
+ type: Input
476
+ }], images: [{
477
+ type: ContentChildren,
478
+ args: [BsCarouselImageDirective, { read: ElementRef }]
479
+ }] } });
480
+
481
+ class BsCarouselModule {
482
+ }
483
+ BsCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
484
+ BsCarouselModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCarouselModule, declarations: [BsCarouselComponent,
485
+ BsCarouselImageDirective], imports: [CommonModule], exports: [BsCarouselComponent,
486
+ BsCarouselImageDirective] });
487
+ BsCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCarouselModule, imports: [[
488
+ CommonModule
489
+ ]] });
490
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCarouselModule, decorators: [{
491
+ type: NgModule,
492
+ args: [{
493
+ declarations: [
494
+ BsCarouselComponent,
495
+ BsCarouselImageDirective
496
+ ],
497
+ imports: [
498
+ CommonModule
499
+ ],
500
+ exports: [
501
+ BsCarouselComponent,
502
+ BsCarouselImageDirective
503
+ ]
504
+ }]
505
+ }] });
506
+
507
+ class BsListGroupItemComponent {
508
+ constructor() {
509
+ }
510
+ ngOnInit() {
511
+ }
512
+ }
513
+ BsListGroupItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsListGroupItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
514
+ BsListGroupItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: BsListGroupItemComponent, selector: "bs-list-group-item", ngImport: i0, template: "<li class=\"list-group-item\">\n <ng-content></ng-content>\n</li>", styles: [".list-group-item{margin-bottom:-1px}\n"] });
515
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsListGroupItemComponent, decorators: [{
516
+ type: Component,
517
+ args: [{ selector: 'bs-list-group-item', template: "<li class=\"list-group-item\">\n <ng-content></ng-content>\n</li>", styles: [".list-group-item{margin-bottom:-1px}\n"] }]
518
+ }], ctorParameters: function () { return []; } });
519
+
520
+ class BsListGroupComponent {
521
+ constructor() {
522
+ }
523
+ ngOnInit() {
524
+ }
525
+ }
526
+ BsListGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsListGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
527
+ BsListGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: BsListGroupComponent, selector: "bs-list-group", queries: [{ propertyName: "items", predicate: BsListGroupItemComponent }], ngImport: i0, template: "<ul class=\"list-group mt-0\">\n <ng-content></ng-content>\n</ul>", styles: [""] });
528
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsListGroupComponent, decorators: [{
529
+ type: Component,
530
+ args: [{ selector: 'bs-list-group', template: "<ul class=\"list-group mt-0\">\n <ng-content></ng-content>\n</ul>", styles: [""] }]
531
+ }], ctorParameters: function () { return []; }, propDecorators: { items: [{
532
+ type: ContentChildren,
533
+ args: [BsListGroupItemComponent]
534
+ }] } });
535
+
536
+ class BsListGroupModule {
537
+ }
538
+ BsListGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsListGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
539
+ BsListGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsListGroupModule, declarations: [BsListGroupComponent,
540
+ BsListGroupItemComponent], imports: [CommonModule], exports: [BsListGroupComponent,
541
+ BsListGroupItemComponent] });
542
+ BsListGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsListGroupModule, imports: [[CommonModule]] });
543
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsListGroupModule, decorators: [{
544
+ type: NgModule,
545
+ args: [{
546
+ imports: [CommonModule],
547
+ declarations: [
548
+ BsListGroupComponent,
549
+ BsListGroupItemComponent
550
+ ],
551
+ exports: [
552
+ BsListGroupComponent,
553
+ BsListGroupItemComponent
554
+ ]
555
+ }]
556
+ }] });
557
+
558
+ class BsNavbarComponent {
559
+ constructor() {
560
+ this.isExpanded = false;
561
+ }
562
+ toggleExpanded() {
563
+ this.isExpanded = !this.isExpanded;
564
+ }
565
+ }
566
+ BsNavbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsNavbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
567
+ BsNavbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: BsNavbarComponent, selector: "bs-navbar", viewQueries: [{ propertyName: "nav", first: true, predicate: ["nav"], descendants: true }], ngImport: i0, template: "<nav #nav class=\"navbar navbar-expand-md position-fixed navbar-dark bg-dark\">\n <div class=\"container-fluid\">\n <div class=\"d-flex w-100 w-md-auto\">\n <a class=\"navbar-brand mx-auto mx-md-unset\" href=\"#\">Navbar 2</a>\n <button (click)=\"toggleExpanded()\" class=\"navbar-toggler align-self-end\" type=\"button\" data-toggle=\"collapse\">\n <span class=\"navbar-toggler-icon\"></span>\n </button>\n </div>\n <ng-content></ng-content>\n </div>\n</nav>", styles: [":host ::ng-deep+*{padding-top:56px}nav{left:0;top:0;right:0;z-index:1}@media (min-width: 768px){.mx-md-unset{margin-left:0!important;margin-right:0!important}.w-md-auto{width:auto!important}}\n"] });
568
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsNavbarComponent, decorators: [{
569
+ type: Component,
570
+ args: [{ selector: 'bs-navbar', template: "<nav #nav class=\"navbar navbar-expand-md position-fixed navbar-dark bg-dark\">\n <div class=\"container-fluid\">\n <div class=\"d-flex w-100 w-md-auto\">\n <a class=\"navbar-brand mx-auto mx-md-unset\" href=\"#\">Navbar 2</a>\n <button (click)=\"toggleExpanded()\" class=\"navbar-toggler align-self-end\" type=\"button\" data-toggle=\"collapse\">\n <span class=\"navbar-toggler-icon\"></span>\n </button>\n </div>\n <ng-content></ng-content>\n </div>\n</nav>", styles: [":host ::ng-deep+*{padding-top:56px}nav{left:0;top:0;right:0;z-index:1}@media (min-width: 768px){.mx-md-unset{margin-left:0!important;margin-right:0!important}.w-md-auto{width:auto!important}}\n"] }]
571
+ }], ctorParameters: function () { return []; }, propDecorators: { nav: [{
572
+ type: ViewChild,
573
+ args: ['nav']
574
+ }] } });
575
+
576
+ class BsNavbarNavComponent {
577
+ constructor(bsNavbar) {
578
+ //#region collapse
579
+ this._collapse = true;
580
+ this.bsNavbar = bsNavbar;
581
+ }
582
+ ngOnInit() {
583
+ }
584
+ set collapse(value) {
585
+ this._collapse = value;
586
+ }
587
+ get collapse() {
588
+ return this._collapse;
589
+ }
590
+ }
591
+ BsNavbarNavComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsNavbarNavComponent, deps: [{ token: BsNavbarComponent }], target: i0.ɵɵFactoryTarget.Component });
592
+ BsNavbarNavComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: BsNavbarNavComponent, selector: "bs-navbar-nav", inputs: { collapse: "collapse" }, ngImport: i0, template: "<div class=\"navbar-collapse collapse w-100 show\" [@slideUpDown]=\"bsNavbar.isExpanded ? 'down' : 'up'\">\n <ul class=\"navbar-nav mr-auto\">\n <ng-content></ng-content>\n </ul>\n</div>", styles: [":host{margin-right:auto}@media screen and (max-width: 767px){:host{width:100%!important}.navbar-collapse.collapse{overflow:hidden}}\n"], animations: [SlideUpDownAnimation] });
593
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsNavbarNavComponent, decorators: [{
594
+ type: Component,
595
+ args: [{ selector: 'bs-navbar-nav', animations: [SlideUpDownAnimation], template: "<div class=\"navbar-collapse collapse w-100 show\" [@slideUpDown]=\"bsNavbar.isExpanded ? 'down' : 'up'\">\n <ul class=\"navbar-nav mr-auto\">\n <ng-content></ng-content>\n </ul>\n</div>", styles: [":host{margin-right:auto}@media screen and (max-width: 767px){:host{width:100%!important}.navbar-collapse.collapse{overflow:hidden}}\n"] }]
596
+ }], ctorParameters: function () { return [{ type: BsNavbarComponent }]; }, propDecorators: { collapse: [{
597
+ type: Input
598
+ }] } });
599
+
600
+ class BsNavbarItemComponent {
601
+ constructor(parentDropdown, element) {
602
+ this.element = element;
603
+ this.hasDropdown = false;
604
+ this.anchorTag = null;
605
+ this.parentDropdown = parentDropdown;
606
+ }
607
+ ngOnInit() {
608
+ }
609
+ ngAfterContentChecked() {
610
+ if (this.hasDropdown) {
611
+ window.element = this.element.nativeElement;
612
+ this.anchorTag = this.element.nativeElement.querySelector('li a');
613
+ (this.anchorTag) && this.anchorTag.classList.add('dropdown-toggle');
614
+ if (this.anchorTag && !this.anchorTag.onclick) {
615
+ this.anchorTag.onclick = (ev) => {
616
+ ev.preventDefault();
617
+ // Normally there should be only one dropdown in this list
618
+ this.dropdowns.forEach((dropdown) => {
619
+ if (!(dropdown.isVisible = !dropdown.isVisible)) {
620
+ dropdown.childDropdowns.forEach((child) => {
621
+ child.isVisible = false;
622
+ });
623
+ }
624
+ });
625
+ return false;
626
+ };
627
+ }
628
+ }
629
+ }
630
+ }
631
+ BsNavbarItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsNavbarItemComponent, deps: [{ token: BsNavbarDropdownComponent, optional: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
632
+ BsNavbarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: BsNavbarItemComponent, selector: "bs-navbar-item", queries: [{ propertyName: "dropdowns", predicate: i0.forwardRef(function () { return BsNavbarDropdownComponent; }) }], ngImport: i0, template: "<li [class.nav-item]=\"parentDropdown === null\" [class.dropdown]=\"(dropdowns.length > 0) && (parentDropdown === null)\" [class.dropend]=\"(dropdowns.length > 0) && (parentDropdown !== null)\">\n <ng-content></ng-content>\n</li>", styles: ["li.dropend ::ng-deep a.dropdown-toggle{padding-right:1.5rem}li.dropend ::ng-deep a.dropdown-toggle:after{position:absolute;right:.5rem;top:.75rem}\n"] });
633
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsNavbarItemComponent, decorators: [{
634
+ type: Component,
635
+ args: [{ selector: 'bs-navbar-item', template: "<li [class.nav-item]=\"parentDropdown === null\" [class.dropdown]=\"(dropdowns.length > 0) && (parentDropdown === null)\" [class.dropend]=\"(dropdowns.length > 0) && (parentDropdown !== null)\">\n <ng-content></ng-content>\n</li>", styles: ["li.dropend ::ng-deep a.dropdown-toggle{padding-right:1.5rem}li.dropend ::ng-deep a.dropdown-toggle:after{position:absolute;right:.5rem;top:.75rem}\n"] }]
636
+ }], ctorParameters: function () {
637
+ return [{ type: BsNavbarDropdownComponent, decorators: [{
638
+ type: Optional
639
+ }] }, { type: i0.ElementRef }];
640
+ }, propDecorators: { dropdowns: [{
641
+ type: ContentChildren,
642
+ args: [forwardRef(() => BsNavbarDropdownComponent)]
643
+ }] } });
644
+
645
+ class BsNavbarDropdownComponent {
646
+ constructor(parentDropdown, navbarItem) {
647
+ this.isVisible = false;
648
+ this.parentDropdown = parentDropdown;
649
+ this.navbarItem = navbarItem;
650
+ }
651
+ get elementsToExclude() {
652
+ return [this.navbarItem.anchorTag].filter((a) => a).map((a) => a);
653
+ }
654
+ ngOnInit() {
655
+ }
656
+ }
657
+ BsNavbarDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsNavbarDropdownComponent, deps: [{ token: BsNavbarDropdownComponent, host: true, optional: true, skipSelf: true }, { token: forwardRef(() => BsNavbarItemComponent), host: true }], target: i0.ɵɵFactoryTarget.Component });
658
+ BsNavbarDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: BsNavbarDropdownComponent, selector: "bs-navbar-dropdown", queries: [{ propertyName: "childDropdowns", predicate: i0.forwardRef(function () { return BsNavbarDropdownComponent; }), descendants: true }], ngImport: i0, template: "<ul class=\"dropdown-menu\" [class.show]=\"isVisible\" [class.submenu]=\"!!parentDropdown\" (clickOutside)=\"isVisible = false\" [exclude]=\"elementsToExclude\" aria-labelledby=\"navbarDropdown\">\n <ng-content></ng-content>\n</ul>", styles: ["@media (max-width: 767px){.submenu{margin-left:.5rem;margin-right:.5rem}}@media (min-width: 768px){.submenu{position:absolute;left:100%;top:-1px}}\n"], directives: [{ type: i1$1.ClickOutsideDirective, selector: "[clickOutside]", inputs: ["clickOutsideEnabled", "attachOutsideOnClick", "delayClickOutsideInit", "emitOnBlur", "exclude", "excludeBeforeClick", "clickOutsideEvents"], outputs: ["clickOutside"] }] });
659
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsNavbarDropdownComponent, decorators: [{
660
+ type: Component,
661
+ args: [{ selector: 'bs-navbar-dropdown', template: "<ul class=\"dropdown-menu\" [class.show]=\"isVisible\" [class.submenu]=\"!!parentDropdown\" (clickOutside)=\"isVisible = false\" [exclude]=\"elementsToExclude\" aria-labelledby=\"navbarDropdown\">\n <ng-content></ng-content>\n</ul>", styles: ["@media (max-width: 767px){.submenu{margin-left:.5rem;margin-right:.5rem}}@media (min-width: 768px){.submenu{position:absolute;left:100%;top:-1px}}\n"] }]
662
+ }], ctorParameters: function () {
663
+ return [{ type: BsNavbarDropdownComponent, decorators: [{
664
+ type: SkipSelf
665
+ }, {
666
+ type: Host
667
+ }, {
668
+ type: Optional
669
+ }] }, { type: BsNavbarItemComponent, decorators: [{
670
+ type: Host
671
+ }, {
672
+ type: Inject,
673
+ args: [forwardRef(() => BsNavbarItemComponent)]
674
+ }] }];
675
+ }, propDecorators: { childDropdowns: [{
676
+ type: ContentChildren,
677
+ args: [forwardRef(() => BsNavbarDropdownComponent), { descendants: true }]
678
+ }] } });
679
+
680
+ class DropdownToggleDirective {
681
+ constructor(elementRef, bsNavbarItem, parentDropdown) {
682
+ this.elementRef = elementRef;
683
+ this.bsNavbarItem = bsNavbarItem;
684
+ }
685
+ ngAfterContentInit() {
686
+ if (this.bsNavbarItem.dropdowns.length > 0) {
687
+ this.bsNavbarItem.hasDropdown = true;
688
+ }
689
+ }
690
+ }
691
+ DropdownToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: DropdownToggleDirective, deps: [{ token: i0.ElementRef }, { token: forwardRef(() => BsNavbarItemComponent) }, { token: forwardRef(() => BsNavbarDropdownComponent), optional: true }], target: i0.ɵɵFactoryTarget.Directive });
692
+ DropdownToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: DropdownToggleDirective, selector: "bs-navbar-item", queries: [{ propertyName: "childDropdowns", predicate: BsNavbarDropdownComponent }], ngImport: i0 });
693
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: DropdownToggleDirective, decorators: [{
694
+ type: Directive,
695
+ args: [{
696
+ // selector: 'bs-navbar-item > a[routerLink]',
697
+ selector: 'bs-navbar-item',
698
+ queries: {
699
+ childDropdowns: new ContentChildren(BsNavbarDropdownComponent)
700
+ }
701
+ }]
702
+ }], ctorParameters: function () {
703
+ return [{ type: i0.ElementRef }, { type: BsNavbarItemComponent, decorators: [{
704
+ type: Inject,
705
+ args: [forwardRef(() => BsNavbarItemComponent)]
706
+ }] }, { type: BsNavbarDropdownComponent, decorators: [{
707
+ type: Optional
708
+ }, {
709
+ type: Inject,
710
+ args: [forwardRef(() => BsNavbarDropdownComponent)]
711
+ }] }];
712
+ } });
713
+
714
+ class NavLinkDirective {
715
+ constructor(elementRef, parentDropdown) {
716
+ this.elementRef = elementRef;
717
+ if (parentDropdown == null) {
718
+ this.elementRef.nativeElement.classList.add('nav-link');
719
+ }
720
+ else {
721
+ this.elementRef.nativeElement.classList.add('dropdown-item');
722
+ }
723
+ }
724
+ }
725
+ NavLinkDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: NavLinkDirective, deps: [{ token: i0.ElementRef }, { token: forwardRef(() => BsNavbarDropdownComponent), optional: true }], target: i0.ɵɵFactoryTarget.Directive });
726
+ NavLinkDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: NavLinkDirective, selector: "bs-navbar-item > a[routerLink]", ngImport: i0 });
727
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: NavLinkDirective, decorators: [{
728
+ type: Directive,
729
+ args: [{
730
+ selector: 'bs-navbar-item > a[routerLink]'
731
+ }]
732
+ }], ctorParameters: function () {
733
+ return [{ type: i0.ElementRef }, { type: BsNavbarDropdownComponent, decorators: [{
734
+ type: Optional
735
+ }, {
736
+ type: Inject,
737
+ args: [forwardRef(() => BsNavbarDropdownComponent)]
738
+ }] }];
739
+ } });
740
+
741
+ class NavbarContentDirective {
742
+ constructor(element) {
743
+ this.element = element;
744
+ this.initialPadding = 0;
745
+ this.resizeObserver = new ResizeObserver((entries) => {
746
+ let height = entries[0].contentRect.height;
747
+ this.element.nativeElement.style.paddingTop = (this.initialPadding + height) + 'px';
748
+ });
749
+ }
750
+ ngAfterViewInit() {
751
+ let p = parseInt(this.element.nativeElement.style.paddingTop.replace(/px$/, ''));
752
+ this.initialPadding = isNaN(p) ? 0 : p;
753
+ this.resizeObserver.observe(this.navbar.nav.nativeElement);
754
+ }
755
+ ngOnDestroy() {
756
+ this.resizeObserver.unobserve(this.navbar.nav.nativeElement);
757
+ }
758
+ }
759
+ NavbarContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: NavbarContentDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
760
+ NavbarContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: NavbarContentDirective, selector: "[navbarContent]", inputs: { navbar: ["navbarContent", "navbar"] }, ngImport: i0 });
761
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: NavbarContentDirective, decorators: [{
762
+ type: Directive,
763
+ args: [{
764
+ selector: '[navbarContent]'
765
+ }]
766
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { navbar: [{
767
+ type: Input,
768
+ args: ['navbarContent']
769
+ }] } });
770
+
771
+ class BsNavbarModule {
772
+ }
773
+ BsNavbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsNavbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
774
+ BsNavbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsNavbarModule, declarations: [BsNavbarComponent,
775
+ BsNavbarNavComponent,
776
+ BsNavbarDropdownComponent,
777
+ BsNavbarItemComponent,
778
+ DropdownToggleDirective,
779
+ NavLinkDirective,
780
+ NavbarContentDirective], imports: [CommonModule,
781
+ RouterModule,
782
+ ClickOutsideModule], exports: [BsNavbarComponent,
783
+ BsNavbarNavComponent,
784
+ BsNavbarDropdownComponent,
785
+ BsNavbarItemComponent,
786
+ DropdownToggleDirective,
787
+ NavLinkDirective,
788
+ NavbarContentDirective] });
789
+ BsNavbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsNavbarModule, imports: [[
790
+ CommonModule,
791
+ RouterModule,
792
+ ClickOutsideModule
793
+ ]] });
794
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsNavbarModule, decorators: [{
795
+ type: NgModule,
796
+ args: [{
797
+ declarations: [
798
+ BsNavbarComponent,
799
+ BsNavbarNavComponent,
800
+ BsNavbarDropdownComponent,
801
+ BsNavbarItemComponent,
802
+ DropdownToggleDirective,
803
+ NavLinkDirective,
804
+ NavbarContentDirective
805
+ ],
806
+ imports: [
807
+ CommonModule,
808
+ RouterModule,
809
+ ClickOutsideModule
810
+ ],
811
+ exports: [
812
+ BsNavbarComponent,
813
+ BsNavbarNavComponent,
814
+ BsNavbarDropdownComponent,
815
+ BsNavbarItemComponent,
816
+ DropdownToggleDirective,
817
+ NavLinkDirective,
818
+ NavbarContentDirective
819
+ ]
820
+ }]
821
+ }] });
822
+
823
+ class BsAccordionTabComponent {
824
+ constructor(accordion) {
825
+ this.accordion = accordion;
826
+ }
827
+ ngOnInit() {
828
+ }
829
+ headerClicked(event) {
830
+ if (this.accordion.activeTab === this) {
831
+ this.accordion.activeTab = null;
832
+ }
833
+ else {
834
+ this.accordion.activeTab = this;
835
+ }
836
+ }
837
+ }
838
+ BsAccordionTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsAccordionTabComponent, deps: [{ token: BsAccordionComponent }], target: i0.ɵɵFactoryTarget.Component });
839
+ BsAccordionTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: BsAccordionTabComponent, selector: "bs-accordion-tab", ngImport: i0, template: "<div class=\"card\">\n <ng-content select=\"bs-accordion-tab-header\"></ng-content>\n <div class=\"card-block overflow-hidden\" [@slideUpDown]=\"(accordion.activeTab === this) ? 'down' : 'up'\">\n <ng-content></ng-content>\n </div>\n</div>", styles: [".card,.card-header,.card-block{border-radius:0}.card{margin-bottom:-1px}\n"], animations: [SlideUpDownAnimation] });
840
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsAccordionTabComponent, decorators: [{
841
+ type: Component,
842
+ args: [{ selector: 'bs-accordion-tab', animations: [SlideUpDownAnimation], template: "<div class=\"card\">\n <ng-content select=\"bs-accordion-tab-header\"></ng-content>\n <div class=\"card-block overflow-hidden\" [@slideUpDown]=\"(accordion.activeTab === this) ? 'down' : 'up'\">\n <ng-content></ng-content>\n </div>\n</div>", styles: [".card,.card-header,.card-block{border-radius:0}.card{margin-bottom:-1px}\n"] }]
843
+ }], ctorParameters: function () { return [{ type: BsAccordionComponent }]; } });
844
+
845
+ class BsAccordionComponent {
846
+ constructor() {
847
+ this.activeTab = null;
848
+ }
849
+ ngOnInit() {
850
+ }
851
+ }
852
+ BsAccordionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsAccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
853
+ BsAccordionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: BsAccordionComponent, selector: "bs-accordion", queries: [{ propertyName: "tabPages", predicate: BsAccordionTabComponent }], ngImport: i0, template: "<ng-content></ng-content>", styles: [""] });
854
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsAccordionComponent, decorators: [{
855
+ type: Component,
856
+ args: [{ selector: 'bs-accordion', template: "<ng-content></ng-content>", styles: [""] }]
857
+ }], ctorParameters: function () { return []; }, propDecorators: { tabPages: [{
858
+ type: ContentChildren,
859
+ args: [BsAccordionTabComponent]
860
+ }] } });
861
+
862
+ class BsAccordionTabHeaderComponent {
863
+ constructor(accordionTab, accordion) {
864
+ this.accordionTab = accordionTab;
865
+ this.accordion = accordion;
866
+ }
867
+ ngOnInit() {
868
+ }
869
+ headerClicked(event) {
870
+ if (this.accordion.activeTab === this.accordionTab) {
871
+ this.accordion.activeTab = null;
872
+ }
873
+ else {
874
+ this.accordion.activeTab = this.accordionTab;
875
+ }
876
+ }
877
+ }
878
+ BsAccordionTabHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsAccordionTabHeaderComponent, deps: [{ token: BsAccordionTabComponent }, { token: BsAccordionComponent }], target: i0.ɵɵFactoryTarget.Component });
879
+ BsAccordionTabHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: BsAccordionTabHeaderComponent, selector: "bs-accordion-tab-header", ngImport: i0, template: "<div class=\"card-header cursor-pointer\" (click)=\"headerClicked($event)\">\n <ng-content></ng-content>\n</div>", styles: [""] });
880
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsAccordionTabHeaderComponent, decorators: [{
881
+ type: Component,
882
+ args: [{ selector: 'bs-accordion-tab-header', template: "<div class=\"card-header cursor-pointer\" (click)=\"headerClicked($event)\">\n <ng-content></ng-content>\n</div>", styles: [""] }]
883
+ }], ctorParameters: function () { return [{ type: BsAccordionTabComponent }, { type: BsAccordionComponent }]; } });
884
+
885
+ class BsAccordionModule {
886
+ }
887
+ BsAccordionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsAccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
888
+ BsAccordionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsAccordionModule, declarations: [BsAccordionComponent,
889
+ BsAccordionTabComponent,
890
+ BsAccordionTabHeaderComponent], imports: [CommonModule,
891
+ BrowserAnimationsModule], exports: [BsAccordionComponent,
892
+ BsAccordionTabComponent,
893
+ BsAccordionTabHeaderComponent] });
894
+ BsAccordionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsAccordionModule, imports: [[
895
+ CommonModule,
896
+ BrowserAnimationsModule
897
+ ]] });
898
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsAccordionModule, decorators: [{
899
+ type: NgModule,
900
+ args: [{
901
+ declarations: [
902
+ BsAccordionComponent,
903
+ BsAccordionTabComponent,
904
+ BsAccordionTabHeaderComponent
905
+ ],
906
+ imports: [
907
+ CommonModule,
908
+ BrowserAnimationsModule
909
+ ],
910
+ exports: [
911
+ BsAccordionComponent,
912
+ BsAccordionTabComponent,
913
+ BsAccordionTabHeaderComponent
914
+ ]
915
+ }]
916
+ }] });
917
+
918
+ class BsTabPageComponent {
919
+ constructor(tabControl) {
920
+ this.disabled = false;
921
+ this.tabControl = tabControl;
922
+ }
923
+ ngOnInit() {
924
+ }
925
+ }
926
+ BsTabPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsTabPageComponent, deps: [{ token: BsTabControlComponent }], target: i0.ɵɵFactoryTarget.Component });
927
+ BsTabPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: BsTabPageComponent, selector: "bs-tab-page", inputs: { disabled: "disabled" }, queries: [{ propertyName: "headerTemplate", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: "<ng-content *ngIf=\"tabControl.activeTab === this\"></ng-content>", styles: [""], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
928
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsTabPageComponent, decorators: [{
929
+ type: Component,
930
+ args: [{ selector: 'bs-tab-page', template: "<ng-content *ngIf=\"tabControl.activeTab === this\"></ng-content>", styles: [""] }]
931
+ }], ctorParameters: function () { return [{ type: BsTabControlComponent }]; }, propDecorators: { headerTemplate: [{
932
+ type: ContentChild,
933
+ args: [TemplateRef]
934
+ }], disabled: [{
935
+ type: Input
936
+ }] } });
937
+
938
+ class BsTabControlComponent {
939
+ constructor() {
940
+ this.activeTab = null;
941
+ }
942
+ ngOnInit() {
943
+ }
944
+ setActiveTab(tab) {
945
+ if (!tab.disabled) {
946
+ this.activeTab = tab;
947
+ }
948
+ return false;
949
+ }
950
+ }
951
+ BsTabControlComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsTabControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
952
+ BsTabControlComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: BsTabControlComponent, selector: "bs-tab-control", queries: [{ propertyName: "tabPages", predicate: BsTabPageComponent }], ngImport: i0, template: "<ul class=\"nav nav-tabs\">\n <ng-container *ngFor=\"let tab of tabPages\">\n <li class=\"nav-item\" (click)=\"setActiveTab(tab)\" *ngIf=\"!!tab.headerTemplate\">\n <a class=\"nav-link\" [class.active]=\"activeTab === tab\" [class.disabled]=\"tab.disabled\" [attr.aria-current]=\"activeTab === tab ? 'page' : null\" [attr.aria-disabled]=\"tab.disabled\" href=\"\">\n <ng-container [ngTemplateOutlet]=\"tab.headerTemplate\"></ng-container>\n </a>\n </li>\n </ng-container>\n</ul>\n<!-- <div class=\"container\"> -->\n <ng-content></ng-content>\n<!-- </div> -->", styles: [""], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
953
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsTabControlComponent, decorators: [{
954
+ type: Component,
955
+ args: [{ selector: 'bs-tab-control', template: "<ul class=\"nav nav-tabs\">\n <ng-container *ngFor=\"let tab of tabPages\">\n <li class=\"nav-item\" (click)=\"setActiveTab(tab)\" *ngIf=\"!!tab.headerTemplate\">\n <a class=\"nav-link\" [class.active]=\"activeTab === tab\" [class.disabled]=\"tab.disabled\" [attr.aria-current]=\"activeTab === tab ? 'page' : null\" [attr.aria-disabled]=\"tab.disabled\" href=\"\">\n <ng-container [ngTemplateOutlet]=\"tab.headerTemplate\"></ng-container>\n </a>\n </li>\n </ng-container>\n</ul>\n<!-- <div class=\"container\"> -->\n <ng-content></ng-content>\n<!-- </div> -->", styles: [""] }]
956
+ }], ctorParameters: function () { return []; }, propDecorators: { tabPages: [{
957
+ type: ContentChildren,
958
+ args: [BsTabPageComponent]
959
+ }] } });
960
+
961
+ class BsTabControlModule {
962
+ }
963
+ BsTabControlModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsTabControlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
964
+ BsTabControlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsTabControlModule, declarations: [BsTabControlComponent,
965
+ BsTabPageComponent], imports: [CommonModule], exports: [BsTabControlComponent,
966
+ BsTabPageComponent] });
967
+ BsTabControlModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsTabControlModule, imports: [[
968
+ CommonModule
969
+ ]] });
970
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsTabControlModule, decorators: [{
971
+ type: NgModule,
972
+ args: [{
973
+ declarations: [
974
+ BsTabControlComponent,
975
+ BsTabPageComponent,
976
+ ],
977
+ imports: [
978
+ CommonModule
979
+ ],
980
+ exports: [
981
+ BsTabControlComponent,
982
+ BsTabPageComponent,
983
+ ]
984
+ }]
985
+ }] });
986
+
987
+ /**
988
+ * Generated bundle index. Do not edit.
989
+ */
990
+
991
+ export { BsAccordionComponent, BsAccordionModule, BsAccordionTabComponent, BsAccordionTabHeaderComponent, BsAlertCloseComponent, BsAlertComponent, BsAlertModule, BsCalendarComponent, BsCalendarModule, BsCardComponent, BsCardHeaderComponent, BsCardModule, BsCarouselComponent, BsCarouselImageDirective, BsCarouselModule, BsListGroupComponent, BsListGroupItemComponent, BsListGroupModule, BsNavbarComponent, BsNavbarDropdownComponent, BsNavbarItemComponent, BsNavbarModule, BsNavbarNavComponent, BsTabControlComponent, BsTabControlModule, BsTabPageComponent, Color, DropdownToggleDirective, NavLinkDirective, NavbarContentDirective };
992
+ //# sourceMappingURL=mintplayer-ng-bootstrap.mjs.map