@mintplayer/ng-bootstrap 12.0.2 → 13.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/index.mjs +3 -0
- package/esm2020/lib/components/accordion/accordion/accordion.component.mjs +20 -0
- package/esm2020/lib/components/accordion/accordion-tab/accordion-tab.component.mjs +27 -0
- package/esm2020/lib/components/accordion/accordion-tab-header/accordion-tab-header.component.mjs +29 -0
- package/esm2020/lib/components/accordion/accordion.module.mjs +40 -0
- package/esm2020/lib/components/accordion/index.mjs +5 -0
- package/esm2020/lib/components/alert/alert/alert.component.mjs +23 -0
- package/esm2020/lib/components/alert/alert-close/alert-close.component.mjs +21 -0
- package/esm2020/lib/components/alert/alert.module.mjs +27 -0
- package/esm2020/lib/components/alert/index.mjs +4 -0
- package/esm2020/lib/components/calendar/calendar.component.mjs +61 -0
- package/esm2020/lib/components/calendar/calendar.module.mjs +38 -0
- package/esm2020/lib/components/calendar/index.mjs +3 -0
- package/esm2020/lib/components/card/card/card.component.mjs +18 -0
- package/esm2020/lib/components/card/card-header/card-header.component.mjs +15 -0
- package/esm2020/lib/components/card/card.module.mjs +27 -0
- package/esm2020/lib/components/card/index.mjs +4 -0
- package/esm2020/lib/components/carousel/carousel/carousel.component.mjs +61 -0
- package/esm2020/lib/components/carousel/carousel-image/carousel-image.directive.mjs +14 -0
- package/esm2020/lib/components/carousel/carousel.module.mjs +31 -0
- package/esm2020/lib/components/carousel/index.mjs +4 -0
- package/esm2020/lib/components/index.mjs +9 -0
- package/esm2020/lib/components/list-group/index.mjs +4 -0
- package/esm2020/lib/components/list-group/list-group/list-group.component.mjs +19 -0
- package/esm2020/lib/components/list-group/list-group-item/list-group-item.component.mjs +15 -0
- package/esm2020/lib/components/list-group/list-group.module.mjs +27 -0
- package/esm2020/lib/components/navbar/dropdown-toggle/dropdown-toggle.directive.mjs +38 -0
- package/esm2020/lib/components/navbar/index.mjs +10 -0
- package/esm2020/lib/components/navbar/nav-link/nav-link.directive.mjs +29 -0
- package/esm2020/lib/components/navbar/navbar/navbar.component.mjs +20 -0
- package/esm2020/lib/components/navbar/navbar-content/navbar-content.directive.mjs +33 -0
- package/esm2020/lib/components/navbar/navbar-dropdown/navbar-dropdown.component.mjs +38 -0
- package/esm2020/lib/components/navbar/navbar-item/navbar-item.component.mjs +47 -0
- package/esm2020/lib/components/navbar/navbar-nav/navbar-nav.component.mjs +29 -0
- package/esm2020/lib/components/navbar/navbar.module.mjs +64 -0
- package/esm2020/lib/components/tab-control/index.mjs +4 -0
- package/esm2020/lib/components/tab-control/tab-control/tab-control.component.mjs +27 -0
- package/esm2020/lib/components/tab-control/tab-control.module.mjs +31 -0
- package/esm2020/lib/components/tab-control/tab-page/tab-page.component.mjs +25 -0
- package/esm2020/lib/enums/color.enum.mjs +15 -0
- package/esm2020/lib/enums/index.mjs +2 -0
- package/esm2020/lib/interfaces/date-day-of-month.mjs +2 -0
- package/esm2020/lib/interfaces/first-and-last-date.mjs +2 -0
- package/esm2020/lib/interfaces/week.mjs +2 -0
- package/esm2020/lib/pipes/month-name/month-name.module.mjs +26 -0
- package/esm2020/lib/pipes/month-name/month-name.pipe.mjs +16 -0
- package/esm2020/lib/pipes/uc-first/uc-first.module.mjs +26 -0
- package/esm2020/lib/pipes/uc-first/uc-first.pipe.mjs +16 -0
- package/esm2020/lib/pipes/weekday-name/weekday-name.module.mjs +26 -0
- package/esm2020/lib/pipes/weekday-name/weekday-name.pipe.mjs +16 -0
- package/esm2020/lib/services/calendar-month/calendar-month.service.mjs +82 -0
- package/esm2020/mintplayer-ng-bootstrap.mjs +5 -0
- package/fesm2015/mintplayer-ng-bootstrap.mjs +987 -0
- package/fesm2015/mintplayer-ng-bootstrap.mjs.map +1 -0
- package/{fesm2015/mintplayer-ng-bootstrap.js → fesm2020/mintplayer-ng-bootstrap.mjs} +171 -239
- package/fesm2020/mintplayer-ng-bootstrap.mjs.map +1 -0
- package/lib/components/alert/alert/alert.component.d.ts +1 -0
- package/lib/components/alert/alert-close/alert-close.component.d.ts +4 -1
- package/lib/components/carousel/carousel/carousel.component.d.ts +2 -1
- package/package.json +31 -18
- package/bundles/mintplayer-ng-bootstrap.umd.js +0 -1518
- package/bundles/mintplayer-ng-bootstrap.umd.js.map +0 -1
- package/esm2015/index.js +0 -3
- package/esm2015/index.js.map +0 -1
- package/esm2015/lib/components/accordion/accordion/accordion.component.js +0 -24
- package/esm2015/lib/components/accordion/accordion/accordion.component.js.map +0 -1
- package/esm2015/lib/components/accordion/accordion-tab/accordion-tab.component.js +0 -32
- package/esm2015/lib/components/accordion/accordion-tab/accordion-tab.component.js.map +0 -1
- package/esm2015/lib/components/accordion/accordion-tab-header/accordion-tab-header.component.js +0 -33
- package/esm2015/lib/components/accordion/accordion-tab-header/accordion-tab-header.component.js.map +0 -1
- package/esm2015/lib/components/accordion/accordion.module.js +0 -40
- package/esm2015/lib/components/accordion/accordion.module.js.map +0 -1
- package/esm2015/lib/components/accordion/index.js +0 -5
- package/esm2015/lib/components/accordion/index.js.map +0 -1
- package/esm2015/lib/components/alert/alert/alert.component.js +0 -25
- package/esm2015/lib/components/alert/alert/alert.component.js.map +0 -1
- package/esm2015/lib/components/alert/alert-close/alert-close.component.js +0 -19
- package/esm2015/lib/components/alert/alert-close/alert-close.component.js.map +0 -1
- package/esm2015/lib/components/alert/alert.module.js +0 -27
- package/esm2015/lib/components/alert/alert.module.js.map +0 -1
- package/esm2015/lib/components/alert/index.js +0 -4
- package/esm2015/lib/components/alert/index.js.map +0 -1
- package/esm2015/lib/components/calendar/calendar.component.js +0 -65
- package/esm2015/lib/components/calendar/calendar.component.js.map +0 -1
- package/esm2015/lib/components/calendar/calendar.module.js +0 -38
- package/esm2015/lib/components/calendar/calendar.module.js.map +0 -1
- package/esm2015/lib/components/calendar/index.js +0 -3
- package/esm2015/lib/components/calendar/index.js.map +0 -1
- package/esm2015/lib/components/card/card/card.component.js +0 -22
- package/esm2015/lib/components/card/card/card.component.js.map +0 -1
- package/esm2015/lib/components/card/card-header/card-header.component.js +0 -19
- package/esm2015/lib/components/card/card-header/card-header.component.js.map +0 -1
- package/esm2015/lib/components/card/card.module.js +0 -27
- package/esm2015/lib/components/card/card.module.js.map +0 -1
- package/esm2015/lib/components/card/index.js +0 -4
- package/esm2015/lib/components/card/index.js.map +0 -1
- package/esm2015/lib/components/carousel/carousel/carousel.component.js +0 -70
- package/esm2015/lib/components/carousel/carousel/carousel.component.js.map +0 -1
- package/esm2015/lib/components/carousel/carousel-image/carousel-image.directive.js +0 -14
- package/esm2015/lib/components/carousel/carousel-image/carousel-image.directive.js.map +0 -1
- package/esm2015/lib/components/carousel/carousel.module.js +0 -31
- package/esm2015/lib/components/carousel/carousel.module.js.map +0 -1
- package/esm2015/lib/components/carousel/index.js +0 -4
- package/esm2015/lib/components/carousel/index.js.map +0 -1
- package/esm2015/lib/components/index.js +0 -9
- package/esm2015/lib/components/index.js.map +0 -1
- package/esm2015/lib/components/list-group/index.js +0 -4
- package/esm2015/lib/components/list-group/index.js.map +0 -1
- package/esm2015/lib/components/list-group/list-group/list-group.component.js +0 -23
- package/esm2015/lib/components/list-group/list-group/list-group.component.js.map +0 -1
- package/esm2015/lib/components/list-group/list-group-item/list-group-item.component.js +0 -19
- package/esm2015/lib/components/list-group/list-group-item/list-group-item.component.js.map +0 -1
- package/esm2015/lib/components/list-group/list-group.module.js +0 -27
- package/esm2015/lib/components/list-group/list-group.module.js.map +0 -1
- package/esm2015/lib/components/navbar/dropdown-toggle/dropdown-toggle.directive.js +0 -38
- package/esm2015/lib/components/navbar/dropdown-toggle/dropdown-toggle.directive.js.map +0 -1
- package/esm2015/lib/components/navbar/index.js +0 -10
- package/esm2015/lib/components/navbar/index.js.map +0 -1
- package/esm2015/lib/components/navbar/nav-link/nav-link.directive.js +0 -29
- package/esm2015/lib/components/navbar/nav-link/nav-link.directive.js.map +0 -1
- package/esm2015/lib/components/navbar/navbar/navbar.component.js +0 -24
- package/esm2015/lib/components/navbar/navbar/navbar.component.js.map +0 -1
- package/esm2015/lib/components/navbar/navbar-content/navbar-content.directive.js +0 -33
- package/esm2015/lib/components/navbar/navbar-content/navbar-content.directive.js.map +0 -1
- package/esm2015/lib/components/navbar/navbar-dropdown/navbar-dropdown.component.js +0 -39
- package/esm2015/lib/components/navbar/navbar-dropdown/navbar-dropdown.component.js.map +0 -1
- package/esm2015/lib/components/navbar/navbar-item/navbar-item.component.js +0 -51
- package/esm2015/lib/components/navbar/navbar-item/navbar-item.component.js.map +0 -1
- package/esm2015/lib/components/navbar/navbar-nav/navbar-nav.component.js +0 -34
- package/esm2015/lib/components/navbar/navbar-nav/navbar-nav.component.js.map +0 -1
- package/esm2015/lib/components/navbar/navbar.module.js +0 -64
- package/esm2015/lib/components/navbar/navbar.module.js.map +0 -1
- package/esm2015/lib/components/tab-control/index.js +0 -4
- package/esm2015/lib/components/tab-control/index.js.map +0 -1
- package/esm2015/lib/components/tab-control/tab-control/tab-control.component.js +0 -31
- package/esm2015/lib/components/tab-control/tab-control/tab-control.component.js.map +0 -1
- package/esm2015/lib/components/tab-control/tab-control.module.js +0 -31
- package/esm2015/lib/components/tab-control/tab-control.module.js.map +0 -1
- package/esm2015/lib/components/tab-control/tab-page/tab-page.component.js +0 -29
- package/esm2015/lib/components/tab-control/tab-page/tab-page.component.js.map +0 -1
- package/esm2015/lib/enums/color.enum.js +0 -15
- package/esm2015/lib/enums/color.enum.js.map +0 -1
- package/esm2015/lib/enums/index.js +0 -2
- package/esm2015/lib/enums/index.js.map +0 -1
- package/esm2015/lib/interfaces/date-day-of-month.js +0 -2
- package/esm2015/lib/interfaces/date-day-of-month.js.map +0 -1
- package/esm2015/lib/interfaces/first-and-last-date.js +0 -2
- package/esm2015/lib/interfaces/first-and-last-date.js.map +0 -1
- package/esm2015/lib/interfaces/week.js +0 -2
- package/esm2015/lib/interfaces/week.js.map +0 -1
- package/esm2015/lib/pipes/month-name/month-name.module.js +0 -26
- package/esm2015/lib/pipes/month-name/month-name.module.js.map +0 -1
- package/esm2015/lib/pipes/month-name/month-name.pipe.js +0 -16
- package/esm2015/lib/pipes/month-name/month-name.pipe.js.map +0 -1
- package/esm2015/lib/pipes/uc-first/uc-first.module.js +0 -26
- package/esm2015/lib/pipes/uc-first/uc-first.module.js.map +0 -1
- package/esm2015/lib/pipes/uc-first/uc-first.pipe.js +0 -16
- package/esm2015/lib/pipes/uc-first/uc-first.pipe.js.map +0 -1
- package/esm2015/lib/pipes/weekday-name/weekday-name.module.js +0 -26
- package/esm2015/lib/pipes/weekday-name/weekday-name.module.js.map +0 -1
- package/esm2015/lib/pipes/weekday-name/weekday-name.pipe.js +0 -16
- package/esm2015/lib/pipes/weekday-name/weekday-name.pipe.js.map +0 -1
- package/esm2015/lib/services/calendar-month/calendar-month.service.js +0 -83
- package/esm2015/lib/services/calendar-month/calendar-month.service.js.map +0 -1
- package/esm2015/mintplayer-ng-bootstrap.js +0 -5
- package/esm2015/mintplayer-ng-bootstrap.js.map +0 -1
- package/fesm2015/mintplayer-ng-bootstrap.js.map +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Input, NgModule, Injectable, Pipe, Directive, ElementRef, ContentChildren, ViewChild, Optional, SkipSelf, Host,
|
|
2
|
+
import { Component, Input, NgModule, Injectable, Pipe, Directive, ElementRef, ContentChildren, ViewChild, Optional, forwardRef, SkipSelf, Host, Inject, TemplateRef, ContentChild } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
|
-
import { FadeInOutAnimation, CarouselSlideAnimation
|
|
5
|
+
import { SlideUpDownAnimation, FadeInOutAnimation, CarouselSlideAnimation } from '@mintplayer/ng-animations';
|
|
6
6
|
import { Subject, BehaviorSubject } from 'rxjs';
|
|
7
7
|
import { map, takeUntil, take } from 'rxjs/operators';
|
|
8
8
|
import { RouterModule } from '@angular/router';
|
|
9
|
-
import * as
|
|
9
|
+
import * as i1$1 from '@mintplayer/ng-click-outside';
|
|
10
10
|
import { ClickOutsideModule } from '@mintplayer/ng-click-outside';
|
|
11
11
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
12
12
|
|
|
@@ -29,48 +29,45 @@ class BsAlertComponent {
|
|
|
29
29
|
constructor() {
|
|
30
30
|
this.type = Color.primary;
|
|
31
31
|
this.colors = Color;
|
|
32
|
+
this.isVisible = true;
|
|
32
33
|
}
|
|
33
34
|
ngOnInit() {
|
|
34
35
|
}
|
|
35
36
|
}
|
|
36
|
-
BsAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
37
|
-
BsAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
37
|
+
BsAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsAlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
38
|
+
BsAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", 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.0", ngImport: i0, type: BsAlertComponent, decorators: [{
|
|
39
40
|
type: Component,
|
|
40
|
-
args: [{
|
|
41
|
-
selector: 'bs-alert',
|
|
42
|
-
templateUrl: './alert.component.html',
|
|
43
|
-
styleUrls: ['./alert.component.scss']
|
|
44
|
-
}]
|
|
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"] }]
|
|
45
42
|
}], ctorParameters: function () { return []; }, propDecorators: { type: [{
|
|
46
43
|
type: Input
|
|
47
44
|
}] } });
|
|
48
45
|
|
|
49
46
|
class BsAlertCloseComponent {
|
|
50
|
-
constructor() {
|
|
47
|
+
constructor(alert) {
|
|
48
|
+
this.alert = alert;
|
|
51
49
|
}
|
|
52
50
|
ngOnInit() {
|
|
53
51
|
}
|
|
52
|
+
closeAlert() {
|
|
53
|
+
this.alert.isVisible = false;
|
|
54
|
+
}
|
|
54
55
|
}
|
|
55
|
-
BsAlertCloseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
56
|
-
BsAlertCloseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
57
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
56
|
+
BsAlertCloseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsAlertCloseComponent, deps: [{ token: BsAlertComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
57
|
+
BsAlertCloseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", 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.0", ngImport: i0, type: BsAlertCloseComponent, decorators: [{
|
|
58
59
|
type: Component,
|
|
59
|
-
args: [{
|
|
60
|
-
|
|
61
|
-
templateUrl: './alert-close.component.html',
|
|
62
|
-
styleUrls: ['./alert-close.component.scss']
|
|
63
|
-
}]
|
|
64
|
-
}], ctorParameters: function () { return []; } });
|
|
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 }]; } });
|
|
65
62
|
|
|
66
63
|
class BsAlertModule {
|
|
67
64
|
}
|
|
68
|
-
BsAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
69
|
-
BsAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
65
|
+
BsAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
66
|
+
BsAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsAlertModule, declarations: [BsAlertComponent,
|
|
70
67
|
BsAlertCloseComponent], imports: [CommonModule], exports: [BsAlertComponent,
|
|
71
68
|
BsAlertCloseComponent] });
|
|
72
|
-
BsAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
69
|
+
BsAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsAlertModule, imports: [[CommonModule]] });
|
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsAlertModule, decorators: [{
|
|
74
71
|
type: NgModule,
|
|
75
72
|
args: [{
|
|
76
73
|
imports: [CommonModule],
|
|
@@ -94,15 +91,11 @@ class BsCardComponent {
|
|
|
94
91
|
// console.log('header', this.header);
|
|
95
92
|
}
|
|
96
93
|
}
|
|
97
|
-
BsCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
98
|
-
BsCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
99
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
94
|
+
BsCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
95
|
+
BsCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", 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.0", ngImport: i0, type: BsCardComponent, decorators: [{
|
|
100
97
|
type: Component,
|
|
101
|
-
args: [{
|
|
102
|
-
selector: 'bs-card',
|
|
103
|
-
templateUrl: './card.component.html',
|
|
104
|
-
styleUrls: ['./card.component.scss']
|
|
105
|
-
}]
|
|
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"] }]
|
|
106
99
|
}], ctorParameters: function () { return []; } });
|
|
107
100
|
|
|
108
101
|
class BsCardHeaderComponent {
|
|
@@ -111,25 +104,21 @@ class BsCardHeaderComponent {
|
|
|
111
104
|
ngOnInit() {
|
|
112
105
|
}
|
|
113
106
|
}
|
|
114
|
-
BsCardHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
115
|
-
BsCardHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
107
|
+
BsCardHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsCardHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
108
|
+
BsCardHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", 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.0", ngImport: i0, type: BsCardHeaderComponent, decorators: [{
|
|
117
110
|
type: Component,
|
|
118
|
-
args: [{
|
|
119
|
-
selector: 'bs-card-header',
|
|
120
|
-
templateUrl: './card-header.component.html',
|
|
121
|
-
styleUrls: ['./card-header.component.scss']
|
|
122
|
-
}]
|
|
111
|
+
args: [{ selector: 'bs-card-header', template: "<div class=\"card-header\">\n <ng-content></ng-content>\n</div>", styles: [""] }]
|
|
123
112
|
}], ctorParameters: function () { return []; } });
|
|
124
113
|
|
|
125
114
|
class BsCardModule {
|
|
126
115
|
}
|
|
127
|
-
BsCardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
128
|
-
BsCardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
116
|
+
BsCardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
117
|
+
BsCardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsCardModule, declarations: [BsCardComponent,
|
|
129
118
|
BsCardHeaderComponent], imports: [CommonModule], exports: [BsCardComponent,
|
|
130
119
|
BsCardHeaderComponent] });
|
|
131
|
-
BsCardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
132
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
120
|
+
BsCardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsCardModule, imports: [[CommonModule]] });
|
|
121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsCardModule, decorators: [{
|
|
133
122
|
type: NgModule,
|
|
134
123
|
args: [{
|
|
135
124
|
imports: [CommonModule],
|
|
@@ -162,9 +151,8 @@ class BsCalendarMonthService {
|
|
|
162
151
|
];
|
|
163
152
|
let weeks = this.chunk(allDays, 7);
|
|
164
153
|
let weeksMapped = weeks.map((w, i) => {
|
|
165
|
-
var _a;
|
|
166
154
|
return {
|
|
167
|
-
number: this.weekOfYear(new Date(month.getFullYear(), month.getMonth(),
|
|
155
|
+
number: this.weekOfYear(new Date(month.getFullYear(), month.getMonth(), w.find(d => d !== null)?.dayOfMonth)),
|
|
168
156
|
week: w
|
|
169
157
|
};
|
|
170
158
|
});
|
|
@@ -216,9 +204,9 @@ class BsCalendarMonthService {
|
|
|
216
204
|
return result;
|
|
217
205
|
}
|
|
218
206
|
}
|
|
219
|
-
BsCalendarMonthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
220
|
-
BsCalendarMonthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
221
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
207
|
+
BsCalendarMonthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsCalendarMonthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
208
|
+
BsCalendarMonthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsCalendarMonthService, providedIn: 'root' });
|
|
209
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsCalendarMonthService, decorators: [{
|
|
222
210
|
type: Injectable,
|
|
223
211
|
args: [{
|
|
224
212
|
providedIn: 'root'
|
|
@@ -230,9 +218,9 @@ class UcFirstPipe {
|
|
|
230
218
|
return value[0].toUpperCase() + value.slice(1);
|
|
231
219
|
}
|
|
232
220
|
}
|
|
233
|
-
UcFirstPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
234
|
-
UcFirstPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
235
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
221
|
+
UcFirstPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: UcFirstPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
222
|
+
UcFirstPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: UcFirstPipe, name: "ucFirst" });
|
|
223
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: UcFirstPipe, decorators: [{
|
|
236
224
|
type: Pipe,
|
|
237
225
|
args: [{
|
|
238
226
|
name: 'ucFirst'
|
|
@@ -244,9 +232,9 @@ class MonthNamePipe {
|
|
|
244
232
|
return date.toLocaleString("default", { month: 'long' });
|
|
245
233
|
}
|
|
246
234
|
}
|
|
247
|
-
MonthNamePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
248
|
-
MonthNamePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
249
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
235
|
+
MonthNamePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MonthNamePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
236
|
+
MonthNamePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MonthNamePipe, name: "monthName" });
|
|
237
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MonthNamePipe, decorators: [{
|
|
250
238
|
type: Pipe,
|
|
251
239
|
args: [{
|
|
252
240
|
name: 'monthName'
|
|
@@ -280,7 +268,7 @@ class BsCalendarComponent {
|
|
|
280
268
|
this._weeks = value;
|
|
281
269
|
if (this._weeks.length > 1) {
|
|
282
270
|
this.daysOfWeek = this._weeks[1].week.map(d => {
|
|
283
|
-
let date = new Date(this.month.getFullYear(), this.month.getMonth(), d
|
|
271
|
+
let date = new Date(this.month.getFullYear(), this.month.getMonth(), d?.dayOfMonth);
|
|
284
272
|
return date.toLocaleString("default", { weekday: 'short' });
|
|
285
273
|
});
|
|
286
274
|
}
|
|
@@ -300,25 +288,21 @@ class BsCalendarComponent {
|
|
|
300
288
|
&& (date1.getDate() === date2.getDate());
|
|
301
289
|
}
|
|
302
290
|
}
|
|
303
|
-
BsCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
304
|
-
BsCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
305
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
291
|
+
BsCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsCalendarComponent, deps: [{ token: BsCalendarMonthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
292
|
+
BsCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", 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 } });
|
|
293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsCalendarComponent, decorators: [{
|
|
306
294
|
type: Component,
|
|
307
|
-
args: [{
|
|
308
|
-
selector: 'bs-calendar',
|
|
309
|
-
templateUrl: './calendar.component.html',
|
|
310
|
-
styleUrls: ['./calendar.component.scss']
|
|
311
|
-
}]
|
|
295
|
+
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"] }]
|
|
312
296
|
}], ctorParameters: function () { return [{ type: BsCalendarMonthService }]; } });
|
|
313
297
|
|
|
314
298
|
class BsMonthNamePipeModule {
|
|
315
299
|
}
|
|
316
|
-
BsMonthNamePipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
317
|
-
BsMonthNamePipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
318
|
-
BsMonthNamePipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
300
|
+
BsMonthNamePipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsMonthNamePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
301
|
+
BsMonthNamePipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsMonthNamePipeModule, declarations: [MonthNamePipe], imports: [CommonModule], exports: [MonthNamePipe] });
|
|
302
|
+
BsMonthNamePipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsMonthNamePipeModule, imports: [[
|
|
319
303
|
CommonModule
|
|
320
304
|
]] });
|
|
321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
305
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsMonthNamePipeModule, decorators: [{
|
|
322
306
|
type: NgModule,
|
|
323
307
|
args: [{
|
|
324
308
|
declarations: [
|
|
@@ -335,12 +319,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImpor
|
|
|
335
319
|
|
|
336
320
|
class BsUcFirstPipeModule {
|
|
337
321
|
}
|
|
338
|
-
BsUcFirstPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
339
|
-
BsUcFirstPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
340
|
-
BsUcFirstPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
322
|
+
BsUcFirstPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsUcFirstPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
323
|
+
BsUcFirstPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsUcFirstPipeModule, declarations: [UcFirstPipe], imports: [CommonModule], exports: [UcFirstPipe] });
|
|
324
|
+
BsUcFirstPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsUcFirstPipeModule, imports: [[
|
|
341
325
|
CommonModule
|
|
342
326
|
]] });
|
|
343
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsUcFirstPipeModule, decorators: [{
|
|
344
328
|
type: NgModule,
|
|
345
329
|
args: [{
|
|
346
330
|
declarations: [
|
|
@@ -360,9 +344,9 @@ class WeekdayNamePipe {
|
|
|
360
344
|
return date.toLocaleString("default", { weekday: 'short' });
|
|
361
345
|
}
|
|
362
346
|
}
|
|
363
|
-
WeekdayNamePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
364
|
-
WeekdayNamePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
365
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
347
|
+
WeekdayNamePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: WeekdayNamePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
348
|
+
WeekdayNamePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: WeekdayNamePipe, name: "weekdayName" });
|
|
349
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: WeekdayNamePipe, decorators: [{
|
|
366
350
|
type: Pipe,
|
|
367
351
|
args: [{
|
|
368
352
|
name: 'weekdayName'
|
|
@@ -371,12 +355,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImpor
|
|
|
371
355
|
|
|
372
356
|
class BsWeekdayNameModule {
|
|
373
357
|
}
|
|
374
|
-
BsWeekdayNameModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
375
|
-
BsWeekdayNameModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
376
|
-
BsWeekdayNameModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
358
|
+
BsWeekdayNameModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsWeekdayNameModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
359
|
+
BsWeekdayNameModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsWeekdayNameModule, declarations: [WeekdayNamePipe], imports: [CommonModule], exports: [WeekdayNamePipe] });
|
|
360
|
+
BsWeekdayNameModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsWeekdayNameModule, imports: [[
|
|
377
361
|
CommonModule
|
|
378
362
|
]] });
|
|
379
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
363
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsWeekdayNameModule, decorators: [{
|
|
380
364
|
type: NgModule,
|
|
381
365
|
args: [{
|
|
382
366
|
declarations: [
|
|
@@ -393,18 +377,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImpor
|
|
|
393
377
|
|
|
394
378
|
class BsCalendarModule {
|
|
395
379
|
}
|
|
396
|
-
BsCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
397
|
-
BsCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
380
|
+
BsCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
381
|
+
BsCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsCalendarModule, declarations: [BsCalendarComponent], imports: [CommonModule,
|
|
398
382
|
BsUcFirstPipeModule,
|
|
399
383
|
BsMonthNamePipeModule,
|
|
400
384
|
BsWeekdayNameModule], exports: [BsCalendarComponent] });
|
|
401
|
-
BsCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
385
|
+
BsCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsCalendarModule, imports: [[
|
|
402
386
|
CommonModule,
|
|
403
387
|
BsUcFirstPipeModule,
|
|
404
388
|
BsMonthNamePipeModule,
|
|
405
389
|
BsWeekdayNameModule
|
|
406
390
|
]] });
|
|
407
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
391
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsCalendarModule, decorators: [{
|
|
408
392
|
type: NgModule,
|
|
409
393
|
args: [{
|
|
410
394
|
declarations: [
|
|
@@ -425,9 +409,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImpor
|
|
|
425
409
|
class BsCarouselImageDirective {
|
|
426
410
|
constructor() { }
|
|
427
411
|
}
|
|
428
|
-
BsCarouselImageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
429
|
-
BsCarouselImageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
430
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
412
|
+
BsCarouselImageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsCarouselImageDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
413
|
+
BsCarouselImageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.0", type: BsCarouselImageDirective, selector: "img[bsCarouselImage]", ngImport: i0 });
|
|
414
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsCarouselImageDirective, decorators: [{
|
|
431
415
|
type: Directive,
|
|
432
416
|
args: [{
|
|
433
417
|
selector: 'img[bsCarouselImage]'
|
|
@@ -437,9 +421,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImpor
|
|
|
437
421
|
class BsCarouselComponent {
|
|
438
422
|
constructor() {
|
|
439
423
|
this.destroyed$ = new Subject();
|
|
440
|
-
this.
|
|
424
|
+
this.currentImageCounter$ = new BehaviorSubject(-1);
|
|
425
|
+
this.currentImageIndex$ = this.currentImageCounter$
|
|
426
|
+
.pipe(map((counter) => {
|
|
427
|
+
const l = this.images.length;
|
|
428
|
+
return ((counter % l) + l) % l;
|
|
429
|
+
}))
|
|
430
|
+
.pipe(takeUntil(this.destroyed$));
|
|
441
431
|
this.currentImage$ = this.currentImageIndex$
|
|
442
|
-
.pipe(map((index) =>
|
|
432
|
+
.pipe(map((index) => this.images.get(index) ?? null))
|
|
443
433
|
.pipe(takeUntil(this.destroyed$));
|
|
444
434
|
}
|
|
445
435
|
ngOnInit() { }
|
|
@@ -448,50 +438,35 @@ class BsCarouselComponent {
|
|
|
448
438
|
}
|
|
449
439
|
ngAfterContentInit() {
|
|
450
440
|
if (this.images.length > 0) {
|
|
451
|
-
this.
|
|
441
|
+
this.currentImageCounter$.next(0);
|
|
452
442
|
}
|
|
453
443
|
else {
|
|
454
|
-
this.
|
|
444
|
+
this.currentImageCounter$.next(-1);
|
|
455
445
|
}
|
|
456
446
|
}
|
|
457
447
|
previousImage() {
|
|
458
|
-
this.
|
|
448
|
+
this.currentImageCounter$
|
|
459
449
|
.pipe(take(1))
|
|
460
|
-
.subscribe((
|
|
461
|
-
|
|
462
|
-
this.currentImageIndex$.next(this.images.length - 1);
|
|
463
|
-
}
|
|
464
|
-
else {
|
|
465
|
-
this.currentImageIndex$.next(currentImageIndex - 1);
|
|
466
|
-
}
|
|
450
|
+
.subscribe((currentImageCounter) => {
|
|
451
|
+
this.currentImageCounter$.next(currentImageCounter - 1);
|
|
467
452
|
});
|
|
468
453
|
}
|
|
469
454
|
nextImage() {
|
|
470
|
-
this.
|
|
455
|
+
this.currentImageCounter$
|
|
471
456
|
.pipe(take(1))
|
|
472
|
-
.subscribe((
|
|
473
|
-
|
|
474
|
-
this.currentImageIndex$.next(0);
|
|
475
|
-
}
|
|
476
|
-
else {
|
|
477
|
-
this.currentImageIndex$.next(currentImageIndex + 1);
|
|
478
|
-
}
|
|
457
|
+
.subscribe((currentImageCounter) => {
|
|
458
|
+
this.currentImageCounter$.next(currentImageCounter + 1);
|
|
479
459
|
});
|
|
480
460
|
}
|
|
481
461
|
setCurrentImage(index) {
|
|
482
|
-
this.
|
|
462
|
+
this.currentImageCounter$.next(index);
|
|
483
463
|
}
|
|
484
464
|
}
|
|
485
|
-
BsCarouselComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
486
|
-
BsCarouselComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
487
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
465
|
+
BsCarouselComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsCarouselComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
466
|
+
BsCarouselComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: BsCarouselComponent, selector: "bs-carousel", 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 <div class=\"carousel-inner\" [@carouselSlide]=\"currentImageCounter$ | async\">\n <ng-container *ngFor=\"let image of images; let i = index\">\n <!-- @fadeInOut -->\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 <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] });
|
|
467
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsCarouselComponent, decorators: [{
|
|
488
468
|
type: Component,
|
|
489
|
-
args: [{
|
|
490
|
-
selector: 'bs-carousel',
|
|
491
|
-
templateUrl: './carousel.component.html',
|
|
492
|
-
styleUrls: ['./carousel.component.scss'],
|
|
493
|
-
animations: [FadeInOutAnimation, CarouselSlideAnimation]
|
|
494
|
-
}]
|
|
469
|
+
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 <div class=\"carousel-inner\" [@carouselSlide]=\"currentImageCounter$ | async\">\n <ng-container *ngFor=\"let image of images; let i = index\">\n <!-- @fadeInOut -->\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 <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"] }]
|
|
495
470
|
}], ctorParameters: function () { return []; }, propDecorators: { images: [{
|
|
496
471
|
type: ContentChildren,
|
|
497
472
|
args: [BsCarouselImageDirective, { read: ElementRef }]
|
|
@@ -499,14 +474,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImpor
|
|
|
499
474
|
|
|
500
475
|
class BsCarouselModule {
|
|
501
476
|
}
|
|
502
|
-
BsCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
503
|
-
BsCarouselModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
477
|
+
BsCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsCarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
478
|
+
BsCarouselModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsCarouselModule, declarations: [BsCarouselComponent,
|
|
504
479
|
BsCarouselImageDirective], imports: [CommonModule], exports: [BsCarouselComponent,
|
|
505
480
|
BsCarouselImageDirective] });
|
|
506
|
-
BsCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
481
|
+
BsCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsCarouselModule, imports: [[
|
|
507
482
|
CommonModule
|
|
508
483
|
]] });
|
|
509
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
484
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsCarouselModule, decorators: [{
|
|
510
485
|
type: NgModule,
|
|
511
486
|
args: [{
|
|
512
487
|
declarations: [
|
|
@@ -529,15 +504,11 @@ class BsListGroupItemComponent {
|
|
|
529
504
|
ngOnInit() {
|
|
530
505
|
}
|
|
531
506
|
}
|
|
532
|
-
BsListGroupItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
533
|
-
BsListGroupItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
534
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
507
|
+
BsListGroupItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsListGroupItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
508
|
+
BsListGroupItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", 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"] });
|
|
509
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsListGroupItemComponent, decorators: [{
|
|
535
510
|
type: Component,
|
|
536
|
-
args: [{
|
|
537
|
-
selector: 'bs-list-group-item',
|
|
538
|
-
templateUrl: './list-group-item.component.html',
|
|
539
|
-
styleUrls: ['./list-group-item.component.scss']
|
|
540
|
-
}]
|
|
511
|
+
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"] }]
|
|
541
512
|
}], ctorParameters: function () { return []; } });
|
|
542
513
|
|
|
543
514
|
class BsListGroupComponent {
|
|
@@ -546,15 +517,11 @@ class BsListGroupComponent {
|
|
|
546
517
|
ngOnInit() {
|
|
547
518
|
}
|
|
548
519
|
}
|
|
549
|
-
BsListGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
550
|
-
BsListGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
551
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
520
|
+
BsListGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsListGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
521
|
+
BsListGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", 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: [""] });
|
|
522
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsListGroupComponent, decorators: [{
|
|
552
523
|
type: Component,
|
|
553
|
-
args: [{
|
|
554
|
-
selector: 'bs-list-group',
|
|
555
|
-
templateUrl: './list-group.component.html',
|
|
556
|
-
styleUrls: ['./list-group.component.scss']
|
|
557
|
-
}]
|
|
524
|
+
args: [{ selector: 'bs-list-group', template: "<ul class=\"list-group mt-0\">\n <ng-content></ng-content>\n</ul>", styles: [""] }]
|
|
558
525
|
}], ctorParameters: function () { return []; }, propDecorators: { items: [{
|
|
559
526
|
type: ContentChildren,
|
|
560
527
|
args: [BsListGroupItemComponent]
|
|
@@ -562,12 +529,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImpor
|
|
|
562
529
|
|
|
563
530
|
class BsListGroupModule {
|
|
564
531
|
}
|
|
565
|
-
BsListGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
566
|
-
BsListGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
532
|
+
BsListGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsListGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
533
|
+
BsListGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsListGroupModule, declarations: [BsListGroupComponent,
|
|
567
534
|
BsListGroupItemComponent], imports: [CommonModule], exports: [BsListGroupComponent,
|
|
568
535
|
BsListGroupItemComponent] });
|
|
569
|
-
BsListGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
570
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
536
|
+
BsListGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsListGroupModule, imports: [[CommonModule]] });
|
|
537
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsListGroupModule, decorators: [{
|
|
571
538
|
type: NgModule,
|
|
572
539
|
args: [{
|
|
573
540
|
imports: [CommonModule],
|
|
@@ -590,15 +557,11 @@ class BsNavbarComponent {
|
|
|
590
557
|
this.isExpanded = !this.isExpanded;
|
|
591
558
|
}
|
|
592
559
|
}
|
|
593
|
-
BsNavbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
594
|
-
BsNavbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
595
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
560
|
+
BsNavbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsNavbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
561
|
+
BsNavbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", 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"] });
|
|
562
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsNavbarComponent, decorators: [{
|
|
596
563
|
type: Component,
|
|
597
|
-
args: [{
|
|
598
|
-
selector: 'bs-navbar',
|
|
599
|
-
templateUrl: './navbar.component.html',
|
|
600
|
-
styleUrls: ['./navbar.component.scss'],
|
|
601
|
-
}]
|
|
564
|
+
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"] }]
|
|
602
565
|
}], ctorParameters: function () { return []; }, propDecorators: { nav: [{
|
|
603
566
|
type: ViewChild,
|
|
604
567
|
args: ['nav']
|
|
@@ -619,16 +582,11 @@ class BsNavbarNavComponent {
|
|
|
619
582
|
return this._collapse;
|
|
620
583
|
}
|
|
621
584
|
}
|
|
622
|
-
BsNavbarNavComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
623
|
-
BsNavbarNavComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
624
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
585
|
+
BsNavbarNavComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsNavbarNavComponent, deps: [{ token: BsNavbarComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
586
|
+
BsNavbarNavComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", 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] });
|
|
587
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsNavbarNavComponent, decorators: [{
|
|
625
588
|
type: Component,
|
|
626
|
-
args: [{
|
|
627
|
-
selector: 'bs-navbar-nav',
|
|
628
|
-
templateUrl: './navbar-nav.component.html',
|
|
629
|
-
styleUrls: ['./navbar-nav.component.scss'],
|
|
630
|
-
animations: [SlideUpDownAnimation]
|
|
631
|
-
}]
|
|
589
|
+
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"] }]
|
|
632
590
|
}], ctorParameters: function () { return [{ type: BsNavbarComponent }]; }, propDecorators: { collapse: [{
|
|
633
591
|
type: Input
|
|
634
592
|
}] } });
|
|
@@ -664,20 +622,16 @@ class BsNavbarItemComponent {
|
|
|
664
622
|
}
|
|
665
623
|
}
|
|
666
624
|
}
|
|
667
|
-
BsNavbarItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
668
|
-
BsNavbarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
669
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
625
|
+
BsNavbarItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsNavbarItemComponent, deps: [{ token: BsNavbarDropdownComponent, optional: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
626
|
+
BsNavbarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", 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"] });
|
|
627
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsNavbarItemComponent, decorators: [{
|
|
670
628
|
type: Component,
|
|
671
|
-
args: [{
|
|
672
|
-
selector: 'bs-navbar-item',
|
|
673
|
-
templateUrl: './navbar-item.component.html',
|
|
674
|
-
styleUrls: ['./navbar-item.component.scss']
|
|
675
|
-
}]
|
|
629
|
+
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"] }]
|
|
676
630
|
}], ctorParameters: function () { return [{ type: BsNavbarDropdownComponent, decorators: [{
|
|
677
631
|
type: Optional
|
|
678
632
|
}] }, { type: i0.ElementRef }]; }, propDecorators: { dropdowns: [{
|
|
679
633
|
type: ContentChildren,
|
|
680
|
-
args: [BsNavbarDropdownComponent]
|
|
634
|
+
args: [forwardRef(() => BsNavbarDropdownComponent)]
|
|
681
635
|
}] } });
|
|
682
636
|
|
|
683
637
|
class BsNavbarDropdownComponent {
|
|
@@ -692,15 +646,11 @@ class BsNavbarDropdownComponent {
|
|
|
692
646
|
ngOnInit() {
|
|
693
647
|
}
|
|
694
648
|
}
|
|
695
|
-
BsNavbarDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
696
|
-
BsNavbarDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
697
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
649
|
+
BsNavbarDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsNavbarDropdownComponent, deps: [{ token: BsNavbarDropdownComponent, host: true, optional: true, skipSelf: true }, { token: forwardRef(() => BsNavbarItemComponent), host: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
650
|
+
BsNavbarDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", 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"] }] });
|
|
651
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsNavbarDropdownComponent, decorators: [{
|
|
698
652
|
type: Component,
|
|
699
|
-
args: [{
|
|
700
|
-
selector: 'bs-navbar-dropdown',
|
|
701
|
-
templateUrl: './navbar-dropdown.component.html',
|
|
702
|
-
styleUrls: ['./navbar-dropdown.component.scss']
|
|
703
|
-
}]
|
|
653
|
+
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"] }]
|
|
704
654
|
}], ctorParameters: function () { return [{ type: BsNavbarDropdownComponent, decorators: [{
|
|
705
655
|
type: SkipSelf
|
|
706
656
|
}, {
|
|
@@ -709,9 +659,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImpor
|
|
|
709
659
|
type: Optional
|
|
710
660
|
}] }, { type: BsNavbarItemComponent, decorators: [{
|
|
711
661
|
type: Host
|
|
662
|
+
}, {
|
|
663
|
+
type: Inject,
|
|
664
|
+
args: [forwardRef(() => BsNavbarItemComponent)]
|
|
712
665
|
}] }]; }, propDecorators: { childDropdowns: [{
|
|
713
666
|
type: ContentChildren,
|
|
714
|
-
args: [BsNavbarDropdownComponent, { descendants: true }]
|
|
667
|
+
args: [forwardRef(() => BsNavbarDropdownComponent), { descendants: true }]
|
|
715
668
|
}] } });
|
|
716
669
|
|
|
717
670
|
class DropdownToggleDirective {
|
|
@@ -725,9 +678,9 @@ class DropdownToggleDirective {
|
|
|
725
678
|
}
|
|
726
679
|
}
|
|
727
680
|
}
|
|
728
|
-
DropdownToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
729
|
-
DropdownToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
730
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
681
|
+
DropdownToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: DropdownToggleDirective, deps: [{ token: i0.ElementRef }, { token: forwardRef(() => BsNavbarItemComponent) }, { token: forwardRef(() => BsNavbarDropdownComponent), optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
682
|
+
DropdownToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.0", type: DropdownToggleDirective, selector: "bs-navbar-item", queries: [{ propertyName: "childDropdowns", predicate: BsNavbarDropdownComponent }], ngImport: i0 });
|
|
683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: DropdownToggleDirective, decorators: [{
|
|
731
684
|
type: Directive,
|
|
732
685
|
args: [{
|
|
733
686
|
// selector: 'bs-navbar-item > a[routerLink]',
|
|
@@ -757,9 +710,9 @@ class NavLinkDirective {
|
|
|
757
710
|
}
|
|
758
711
|
}
|
|
759
712
|
}
|
|
760
|
-
NavLinkDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
761
|
-
NavLinkDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
762
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
713
|
+
NavLinkDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: NavLinkDirective, deps: [{ token: i0.ElementRef }, { token: forwardRef(() => BsNavbarDropdownComponent), optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
714
|
+
NavLinkDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.0", type: NavLinkDirective, selector: "bs-navbar-item > a[routerLink]", ngImport: i0 });
|
|
715
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: NavLinkDirective, decorators: [{
|
|
763
716
|
type: Directive,
|
|
764
717
|
args: [{
|
|
765
718
|
selector: 'bs-navbar-item > a[routerLink]'
|
|
@@ -789,9 +742,9 @@ class NavbarContentDirective {
|
|
|
789
742
|
this.resizeObserver.unobserve(this.navbar.nav.nativeElement);
|
|
790
743
|
}
|
|
791
744
|
}
|
|
792
|
-
NavbarContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
793
|
-
NavbarContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
794
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
745
|
+
NavbarContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: NavbarContentDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
746
|
+
NavbarContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.0", type: NavbarContentDirective, selector: "[navbarContent]", inputs: { navbar: ["navbarContent", "navbar"] }, ngImport: i0 });
|
|
747
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: NavbarContentDirective, decorators: [{
|
|
795
748
|
type: Directive,
|
|
796
749
|
args: [{
|
|
797
750
|
selector: '[navbarContent]'
|
|
@@ -803,8 +756,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImpor
|
|
|
803
756
|
|
|
804
757
|
class BsNavbarModule {
|
|
805
758
|
}
|
|
806
|
-
BsNavbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
807
|
-
BsNavbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
759
|
+
BsNavbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsNavbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
760
|
+
BsNavbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsNavbarModule, declarations: [BsNavbarComponent,
|
|
808
761
|
BsNavbarNavComponent,
|
|
809
762
|
BsNavbarDropdownComponent,
|
|
810
763
|
BsNavbarItemComponent,
|
|
@@ -819,12 +772,12 @@ BsNavbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
819
772
|
DropdownToggleDirective,
|
|
820
773
|
NavLinkDirective,
|
|
821
774
|
NavbarContentDirective] });
|
|
822
|
-
BsNavbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
775
|
+
BsNavbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsNavbarModule, imports: [[
|
|
823
776
|
CommonModule,
|
|
824
777
|
RouterModule,
|
|
825
778
|
ClickOutsideModule
|
|
826
779
|
]] });
|
|
827
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
780
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsNavbarModule, decorators: [{
|
|
828
781
|
type: NgModule,
|
|
829
782
|
args: [{
|
|
830
783
|
declarations: [
|
|
@@ -868,16 +821,11 @@ class BsAccordionTabComponent {
|
|
|
868
821
|
}
|
|
869
822
|
}
|
|
870
823
|
}
|
|
871
|
-
BsAccordionTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
872
|
-
BsAccordionTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
873
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
824
|
+
BsAccordionTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsAccordionTabComponent, deps: [{ token: BsAccordionComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
825
|
+
BsAccordionTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", 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] });
|
|
826
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsAccordionTabComponent, decorators: [{
|
|
874
827
|
type: Component,
|
|
875
|
-
args: [{
|
|
876
|
-
selector: 'bs-accordion-tab',
|
|
877
|
-
templateUrl: './accordion-tab.component.html',
|
|
878
|
-
styleUrls: ['./accordion-tab.component.scss'],
|
|
879
|
-
animations: [SlideUpDownAnimation]
|
|
880
|
-
}]
|
|
828
|
+
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"] }]
|
|
881
829
|
}], ctorParameters: function () { return [{ type: BsAccordionComponent }]; } });
|
|
882
830
|
|
|
883
831
|
class BsAccordionComponent {
|
|
@@ -887,15 +835,11 @@ class BsAccordionComponent {
|
|
|
887
835
|
ngOnInit() {
|
|
888
836
|
}
|
|
889
837
|
}
|
|
890
|
-
BsAccordionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
891
|
-
BsAccordionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
892
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
838
|
+
BsAccordionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsAccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
839
|
+
BsAccordionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: BsAccordionComponent, selector: "bs-accordion", queries: [{ propertyName: "tabPages", predicate: BsAccordionTabComponent }], ngImport: i0, template: "<ng-content></ng-content>", styles: [""] });
|
|
840
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsAccordionComponent, decorators: [{
|
|
893
841
|
type: Component,
|
|
894
|
-
args: [{
|
|
895
|
-
selector: 'bs-accordion',
|
|
896
|
-
templateUrl: './accordion.component.html',
|
|
897
|
-
styleUrls: ['./accordion.component.scss']
|
|
898
|
-
}]
|
|
842
|
+
args: [{ selector: 'bs-accordion', template: "<ng-content></ng-content>", styles: [""] }]
|
|
899
843
|
}], ctorParameters: function () { return []; }, propDecorators: { tabPages: [{
|
|
900
844
|
type: ContentChildren,
|
|
901
845
|
args: [BsAccordionTabComponent]
|
|
@@ -917,31 +861,27 @@ class BsAccordionTabHeaderComponent {
|
|
|
917
861
|
}
|
|
918
862
|
}
|
|
919
863
|
}
|
|
920
|
-
BsAccordionTabHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
921
|
-
BsAccordionTabHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
922
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
864
|
+
BsAccordionTabHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsAccordionTabHeaderComponent, deps: [{ token: BsAccordionTabComponent }, { token: BsAccordionComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
865
|
+
BsAccordionTabHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", 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: [""] });
|
|
866
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsAccordionTabHeaderComponent, decorators: [{
|
|
923
867
|
type: Component,
|
|
924
|
-
args: [{
|
|
925
|
-
selector: 'bs-accordion-tab-header',
|
|
926
|
-
templateUrl: './accordion-tab-header.component.html',
|
|
927
|
-
styleUrls: ['./accordion-tab-header.component.scss']
|
|
928
|
-
}]
|
|
868
|
+
args: [{ selector: 'bs-accordion-tab-header', template: "<div class=\"card-header cursor-pointer\" (click)=\"headerClicked($event)\">\n <ng-content></ng-content>\n</div>", styles: [""] }]
|
|
929
869
|
}], ctorParameters: function () { return [{ type: BsAccordionTabComponent }, { type: BsAccordionComponent }]; } });
|
|
930
870
|
|
|
931
871
|
class BsAccordionModule {
|
|
932
872
|
}
|
|
933
|
-
BsAccordionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
934
|
-
BsAccordionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
873
|
+
BsAccordionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsAccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
874
|
+
BsAccordionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsAccordionModule, declarations: [BsAccordionComponent,
|
|
935
875
|
BsAccordionTabComponent,
|
|
936
876
|
BsAccordionTabHeaderComponent], imports: [CommonModule,
|
|
937
877
|
BrowserAnimationsModule], exports: [BsAccordionComponent,
|
|
938
878
|
BsAccordionTabComponent,
|
|
939
879
|
BsAccordionTabHeaderComponent] });
|
|
940
|
-
BsAccordionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
880
|
+
BsAccordionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsAccordionModule, imports: [[
|
|
941
881
|
CommonModule,
|
|
942
882
|
BrowserAnimationsModule
|
|
943
883
|
]] });
|
|
944
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
884
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsAccordionModule, decorators: [{
|
|
945
885
|
type: NgModule,
|
|
946
886
|
args: [{
|
|
947
887
|
declarations: [
|
|
@@ -969,15 +909,11 @@ class BsTabPageComponent {
|
|
|
969
909
|
ngOnInit() {
|
|
970
910
|
}
|
|
971
911
|
}
|
|
972
|
-
BsTabPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
973
|
-
BsTabPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
974
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
912
|
+
BsTabPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsTabPageComponent, deps: [{ token: BsTabControlComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
913
|
+
BsTabPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", 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"] }] });
|
|
914
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsTabPageComponent, decorators: [{
|
|
975
915
|
type: Component,
|
|
976
|
-
args: [{
|
|
977
|
-
selector: 'bs-tab-page',
|
|
978
|
-
templateUrl: './tab-page.component.html',
|
|
979
|
-
styleUrls: ['./tab-page.component.scss']
|
|
980
|
-
}]
|
|
916
|
+
args: [{ selector: 'bs-tab-page', template: "<ng-content *ngIf=\"tabControl.activeTab === this\"></ng-content>", styles: [""] }]
|
|
981
917
|
}], ctorParameters: function () { return [{ type: BsTabControlComponent }]; }, propDecorators: { headerTemplate: [{
|
|
982
918
|
type: ContentChild,
|
|
983
919
|
args: [TemplateRef]
|
|
@@ -998,15 +934,11 @@ class BsTabControlComponent {
|
|
|
998
934
|
return false;
|
|
999
935
|
}
|
|
1000
936
|
}
|
|
1001
|
-
BsTabControlComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1002
|
-
BsTabControlComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1003
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
937
|
+
BsTabControlComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsTabControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
938
|
+
BsTabControlComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", 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"] }] });
|
|
939
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsTabControlComponent, decorators: [{
|
|
1004
940
|
type: Component,
|
|
1005
|
-
args: [{
|
|
1006
|
-
selector: 'bs-tab-control',
|
|
1007
|
-
templateUrl: './tab-control.component.html',
|
|
1008
|
-
styleUrls: ['./tab-control.component.scss']
|
|
1009
|
-
}]
|
|
941
|
+
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: [""] }]
|
|
1010
942
|
}], ctorParameters: function () { return []; }, propDecorators: { tabPages: [{
|
|
1011
943
|
type: ContentChildren,
|
|
1012
944
|
args: [BsTabPageComponent]
|
|
@@ -1014,14 +946,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImpor
|
|
|
1014
946
|
|
|
1015
947
|
class BsTabControlModule {
|
|
1016
948
|
}
|
|
1017
|
-
BsTabControlModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1018
|
-
BsTabControlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
949
|
+
BsTabControlModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsTabControlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
950
|
+
BsTabControlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsTabControlModule, declarations: [BsTabControlComponent,
|
|
1019
951
|
BsTabPageComponent], imports: [CommonModule], exports: [BsTabControlComponent,
|
|
1020
952
|
BsTabPageComponent] });
|
|
1021
|
-
BsTabControlModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
953
|
+
BsTabControlModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsTabControlModule, imports: [[
|
|
1022
954
|
CommonModule
|
|
1023
955
|
]] });
|
|
1024
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
956
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: BsTabControlModule, decorators: [{
|
|
1025
957
|
type: NgModule,
|
|
1026
958
|
args: [{
|
|
1027
959
|
declarations: [
|
|
@@ -1043,4 +975,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImpor
|
|
|
1043
975
|
*/
|
|
1044
976
|
|
|
1045
977
|
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 };
|
|
1046
|
-
//# sourceMappingURL=mintplayer-ng-bootstrap.
|
|
978
|
+
//# sourceMappingURL=mintplayer-ng-bootstrap.mjs.map
|