@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.
- 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 +66 -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 +992 -0
- package/fesm2015/mintplayer-ng-bootstrap.mjs.map +1 -0
- package/{fesm2015/mintplayer-ng-bootstrap.js → fesm2020/mintplayer-ng-bootstrap.mjs} +170 -236
- 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 +4 -2
- package/package.json +31 -18
- package/bundles/mintplayer-ng-bootstrap.umd.js +0 -1521
- 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 -42
- 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
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
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';
|
|
@@ -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.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: [{
|
|
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.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: [{
|
|
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.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,
|
|
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.1", ngImport: i0, type: BsAlertModule, imports: [[CommonModule]] });
|
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", 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.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: [{
|
|
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.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: [{
|
|
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.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,
|
|
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.1", ngImport: i0, type: BsCardModule, imports: [[CommonModule]] });
|
|
121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", 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.1", ngImport: i0, type: BsCalendarMonthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
208
|
+
BsCalendarMonthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCalendarMonthService, providedIn: 'root' });
|
|
209
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", 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.1", ngImport: i0, type: UcFirstPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
222
|
+
UcFirstPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: UcFirstPipe, name: "ucFirst" });
|
|
223
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", 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.1", ngImport: i0, type: MonthNamePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
236
|
+
MonthNamePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonthNamePipe, name: "monthName" });
|
|
237
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", 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.1", ngImport: i0, type: BsCalendarComponent, deps: [{ token: BsCalendarMonthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
292
|
+
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 } });
|
|
293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", 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.1", ngImport: i0, type: BsMonthNamePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
301
|
+
BsMonthNamePipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsMonthNamePipeModule, declarations: [MonthNamePipe], imports: [CommonModule], exports: [MonthNamePipe] });
|
|
302
|
+
BsMonthNamePipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", 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.1", 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.1", ngImport: i0, type: BsUcFirstPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
323
|
+
BsUcFirstPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsUcFirstPipeModule, declarations: [UcFirstPipe], imports: [CommonModule], exports: [UcFirstPipe] });
|
|
324
|
+
BsUcFirstPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", 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.1", 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.1", ngImport: i0, type: WeekdayNamePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
348
|
+
WeekdayNamePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: WeekdayNamePipe, name: "weekdayName" });
|
|
349
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", 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.1", ngImport: i0, type: BsWeekdayNameModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
359
|
+
BsWeekdayNameModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsWeekdayNameModule, declarations: [WeekdayNamePipe], imports: [CommonModule], exports: [WeekdayNamePipe] });
|
|
360
|
+
BsWeekdayNameModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", 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.1", 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.1", ngImport: i0, type: BsCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
381
|
+
BsCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", 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.1", 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.1", 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.1", ngImport: i0, type: BsCarouselImageDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
413
|
+
BsCarouselImageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: BsCarouselImageDirective, selector: "img[bsCarouselImage]", ngImport: i0 });
|
|
414
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCarouselImageDirective, decorators: [{
|
|
431
415
|
type: Directive,
|
|
432
416
|
args: [{
|
|
433
417
|
selector: 'img[bsCarouselImage]'
|
|
@@ -436,10 +420,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImpor
|
|
|
436
420
|
|
|
437
421
|
class BsCarouselComponent {
|
|
438
422
|
constructor() {
|
|
423
|
+
// @HostBinding('@.disabled')
|
|
424
|
+
// public animationsDisabled = false;
|
|
425
|
+
this.animation = 'slide';
|
|
439
426
|
this.destroyed$ = new Subject();
|
|
440
|
-
this.
|
|
427
|
+
this.currentImageCounter$ = new BehaviorSubject(-1);
|
|
428
|
+
this.currentImageIndex$ = this.currentImageCounter$
|
|
429
|
+
.pipe(map((counter) => {
|
|
430
|
+
const l = this.images.length;
|
|
431
|
+
return ((counter % l) + l) % l;
|
|
432
|
+
}))
|
|
433
|
+
.pipe(takeUntil(this.destroyed$));
|
|
441
434
|
this.currentImage$ = this.currentImageIndex$
|
|
442
|
-
.pipe(map((index) =>
|
|
435
|
+
.pipe(map((index) => this.images.get(index) ?? null))
|
|
443
436
|
.pipe(takeUntil(this.destroyed$));
|
|
444
437
|
}
|
|
445
438
|
ngOnInit() { }
|
|
@@ -448,65 +441,52 @@ class BsCarouselComponent {
|
|
|
448
441
|
}
|
|
449
442
|
ngAfterContentInit() {
|
|
450
443
|
if (this.images.length > 0) {
|
|
451
|
-
this.
|
|
444
|
+
this.currentImageCounter$.next(0);
|
|
452
445
|
}
|
|
453
446
|
else {
|
|
454
|
-
this.
|
|
447
|
+
this.currentImageCounter$.next(-1);
|
|
455
448
|
}
|
|
456
449
|
}
|
|
457
450
|
previousImage() {
|
|
458
|
-
this.
|
|
451
|
+
this.currentImageCounter$
|
|
459
452
|
.pipe(take(1))
|
|
460
|
-
.subscribe((
|
|
461
|
-
|
|
462
|
-
this.currentImageIndex$.next(this.images.length - 1);
|
|
463
|
-
}
|
|
464
|
-
else {
|
|
465
|
-
this.currentImageIndex$.next(currentImageIndex - 1);
|
|
466
|
-
}
|
|
453
|
+
.subscribe((currentImageCounter) => {
|
|
454
|
+
this.currentImageCounter$.next(currentImageCounter - 1);
|
|
467
455
|
});
|
|
468
456
|
}
|
|
469
457
|
nextImage() {
|
|
470
|
-
this.
|
|
458
|
+
this.currentImageCounter$
|
|
471
459
|
.pipe(take(1))
|
|
472
|
-
.subscribe((
|
|
473
|
-
|
|
474
|
-
this.currentImageIndex$.next(0);
|
|
475
|
-
}
|
|
476
|
-
else {
|
|
477
|
-
this.currentImageIndex$.next(currentImageIndex + 1);
|
|
478
|
-
}
|
|
460
|
+
.subscribe((currentImageCounter) => {
|
|
461
|
+
this.currentImageCounter$.next(currentImageCounter + 1);
|
|
479
462
|
});
|
|
480
463
|
}
|
|
481
464
|
setCurrentImage(index) {
|
|
482
|
-
this.
|
|
465
|
+
this.currentImageCounter$.next(index);
|
|
483
466
|
}
|
|
484
467
|
}
|
|
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: "
|
|
468
|
+
BsCarouselComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCarouselComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
469
|
+
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] });
|
|
470
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCarouselComponent, decorators: [{
|
|
488
471
|
type: Component,
|
|
489
|
-
args: [{
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
animations: [FadeInOutAnimation, CarouselSlideAnimation]
|
|
494
|
-
}]
|
|
495
|
-
}], ctorParameters: function () { return []; }, propDecorators: { images: [{
|
|
472
|
+
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"] }]
|
|
473
|
+
}], ctorParameters: function () { return []; }, propDecorators: { animation: [{
|
|
474
|
+
type: Input
|
|
475
|
+
}], images: [{
|
|
496
476
|
type: ContentChildren,
|
|
497
477
|
args: [BsCarouselImageDirective, { read: ElementRef }]
|
|
498
478
|
}] } });
|
|
499
479
|
|
|
500
480
|
class BsCarouselModule {
|
|
501
481
|
}
|
|
502
|
-
BsCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
503
|
-
BsCarouselModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
482
|
+
BsCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
483
|
+
BsCarouselModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCarouselModule, declarations: [BsCarouselComponent,
|
|
504
484
|
BsCarouselImageDirective], imports: [CommonModule], exports: [BsCarouselComponent,
|
|
505
485
|
BsCarouselImageDirective] });
|
|
506
|
-
BsCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
486
|
+
BsCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCarouselModule, imports: [[
|
|
507
487
|
CommonModule
|
|
508
488
|
]] });
|
|
509
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
489
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsCarouselModule, decorators: [{
|
|
510
490
|
type: NgModule,
|
|
511
491
|
args: [{
|
|
512
492
|
declarations: [
|
|
@@ -529,15 +509,11 @@ class BsListGroupItemComponent {
|
|
|
529
509
|
ngOnInit() {
|
|
530
510
|
}
|
|
531
511
|
}
|
|
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: "
|
|
512
|
+
BsListGroupItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsListGroupItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
513
|
+
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"] });
|
|
514
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsListGroupItemComponent, decorators: [{
|
|
535
515
|
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
|
-
}]
|
|
516
|
+
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
517
|
}], ctorParameters: function () { return []; } });
|
|
542
518
|
|
|
543
519
|
class BsListGroupComponent {
|
|
@@ -546,15 +522,11 @@ class BsListGroupComponent {
|
|
|
546
522
|
ngOnInit() {
|
|
547
523
|
}
|
|
548
524
|
}
|
|
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: "
|
|
525
|
+
BsListGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsListGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
526
|
+
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: [""] });
|
|
527
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsListGroupComponent, decorators: [{
|
|
552
528
|
type: Component,
|
|
553
|
-
args: [{
|
|
554
|
-
selector: 'bs-list-group',
|
|
555
|
-
templateUrl: './list-group.component.html',
|
|
556
|
-
styleUrls: ['./list-group.component.scss']
|
|
557
|
-
}]
|
|
529
|
+
args: [{ selector: 'bs-list-group', template: "<ul class=\"list-group mt-0\">\n <ng-content></ng-content>\n</ul>", styles: [""] }]
|
|
558
530
|
}], ctorParameters: function () { return []; }, propDecorators: { items: [{
|
|
559
531
|
type: ContentChildren,
|
|
560
532
|
args: [BsListGroupItemComponent]
|
|
@@ -562,12 +534,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImpor
|
|
|
562
534
|
|
|
563
535
|
class BsListGroupModule {
|
|
564
536
|
}
|
|
565
|
-
BsListGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
566
|
-
BsListGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
537
|
+
BsListGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsListGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
538
|
+
BsListGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsListGroupModule, declarations: [BsListGroupComponent,
|
|
567
539
|
BsListGroupItemComponent], imports: [CommonModule], exports: [BsListGroupComponent,
|
|
568
540
|
BsListGroupItemComponent] });
|
|
569
|
-
BsListGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
570
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
541
|
+
BsListGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsListGroupModule, imports: [[CommonModule]] });
|
|
542
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsListGroupModule, decorators: [{
|
|
571
543
|
type: NgModule,
|
|
572
544
|
args: [{
|
|
573
545
|
imports: [CommonModule],
|
|
@@ -590,15 +562,11 @@ class BsNavbarComponent {
|
|
|
590
562
|
this.isExpanded = !this.isExpanded;
|
|
591
563
|
}
|
|
592
564
|
}
|
|
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: "
|
|
565
|
+
BsNavbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsNavbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
566
|
+
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"] });
|
|
567
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsNavbarComponent, decorators: [{
|
|
596
568
|
type: Component,
|
|
597
|
-
args: [{
|
|
598
|
-
selector: 'bs-navbar',
|
|
599
|
-
templateUrl: './navbar.component.html',
|
|
600
|
-
styleUrls: ['./navbar.component.scss'],
|
|
601
|
-
}]
|
|
569
|
+
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
570
|
}], ctorParameters: function () { return []; }, propDecorators: { nav: [{
|
|
603
571
|
type: ViewChild,
|
|
604
572
|
args: ['nav']
|
|
@@ -619,16 +587,11 @@ class BsNavbarNavComponent {
|
|
|
619
587
|
return this._collapse;
|
|
620
588
|
}
|
|
621
589
|
}
|
|
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: "
|
|
590
|
+
BsNavbarNavComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsNavbarNavComponent, deps: [{ token: BsNavbarComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
591
|
+
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] });
|
|
592
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsNavbarNavComponent, decorators: [{
|
|
625
593
|
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
|
-
}]
|
|
594
|
+
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
595
|
}], ctorParameters: function () { return [{ type: BsNavbarComponent }]; }, propDecorators: { collapse: [{
|
|
633
596
|
type: Input
|
|
634
597
|
}] } });
|
|
@@ -664,15 +627,11 @@ class BsNavbarItemComponent {
|
|
|
664
627
|
}
|
|
665
628
|
}
|
|
666
629
|
}
|
|
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: "
|
|
630
|
+
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 });
|
|
631
|
+
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"] });
|
|
632
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsNavbarItemComponent, decorators: [{
|
|
670
633
|
type: Component,
|
|
671
|
-
args: [{
|
|
672
|
-
selector: 'bs-navbar-item',
|
|
673
|
-
templateUrl: './navbar-item.component.html',
|
|
674
|
-
styleUrls: ['./navbar-item.component.scss']
|
|
675
|
-
}]
|
|
634
|
+
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
635
|
}], ctorParameters: function () { return [{ type: BsNavbarDropdownComponent, decorators: [{
|
|
677
636
|
type: Optional
|
|
678
637
|
}] }, { type: i0.ElementRef }]; }, propDecorators: { dropdowns: [{
|
|
@@ -692,15 +651,11 @@ class BsNavbarDropdownComponent {
|
|
|
692
651
|
ngOnInit() {
|
|
693
652
|
}
|
|
694
653
|
}
|
|
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: "
|
|
654
|
+
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 });
|
|
655
|
+
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"] }] });
|
|
656
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsNavbarDropdownComponent, decorators: [{
|
|
698
657
|
type: Component,
|
|
699
|
-
args: [{
|
|
700
|
-
selector: 'bs-navbar-dropdown',
|
|
701
|
-
templateUrl: './navbar-dropdown.component.html',
|
|
702
|
-
styleUrls: ['./navbar-dropdown.component.scss']
|
|
703
|
-
}]
|
|
658
|
+
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
659
|
}], ctorParameters: function () { return [{ type: BsNavbarDropdownComponent, decorators: [{
|
|
705
660
|
type: SkipSelf
|
|
706
661
|
}, {
|
|
@@ -728,9 +683,9 @@ class DropdownToggleDirective {
|
|
|
728
683
|
}
|
|
729
684
|
}
|
|
730
685
|
}
|
|
731
|
-
DropdownToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
732
|
-
DropdownToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
733
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
686
|
+
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 });
|
|
687
|
+
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 });
|
|
688
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: DropdownToggleDirective, decorators: [{
|
|
734
689
|
type: Directive,
|
|
735
690
|
args: [{
|
|
736
691
|
// selector: 'bs-navbar-item > a[routerLink]',
|
|
@@ -760,9 +715,9 @@ class NavLinkDirective {
|
|
|
760
715
|
}
|
|
761
716
|
}
|
|
762
717
|
}
|
|
763
|
-
NavLinkDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
764
|
-
NavLinkDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
765
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
718
|
+
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 });
|
|
719
|
+
NavLinkDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: NavLinkDirective, selector: "bs-navbar-item > a[routerLink]", ngImport: i0 });
|
|
720
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: NavLinkDirective, decorators: [{
|
|
766
721
|
type: Directive,
|
|
767
722
|
args: [{
|
|
768
723
|
selector: 'bs-navbar-item > a[routerLink]'
|
|
@@ -792,9 +747,9 @@ class NavbarContentDirective {
|
|
|
792
747
|
this.resizeObserver.unobserve(this.navbar.nav.nativeElement);
|
|
793
748
|
}
|
|
794
749
|
}
|
|
795
|
-
NavbarContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
796
|
-
NavbarContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
797
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
750
|
+
NavbarContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: NavbarContentDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
751
|
+
NavbarContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: NavbarContentDirective, selector: "[navbarContent]", inputs: { navbar: ["navbarContent", "navbar"] }, ngImport: i0 });
|
|
752
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: NavbarContentDirective, decorators: [{
|
|
798
753
|
type: Directive,
|
|
799
754
|
args: [{
|
|
800
755
|
selector: '[navbarContent]'
|
|
@@ -806,8 +761,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImpor
|
|
|
806
761
|
|
|
807
762
|
class BsNavbarModule {
|
|
808
763
|
}
|
|
809
|
-
BsNavbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
810
|
-
BsNavbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
764
|
+
BsNavbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsNavbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
765
|
+
BsNavbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsNavbarModule, declarations: [BsNavbarComponent,
|
|
811
766
|
BsNavbarNavComponent,
|
|
812
767
|
BsNavbarDropdownComponent,
|
|
813
768
|
BsNavbarItemComponent,
|
|
@@ -822,12 +777,12 @@ BsNavbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
822
777
|
DropdownToggleDirective,
|
|
823
778
|
NavLinkDirective,
|
|
824
779
|
NavbarContentDirective] });
|
|
825
|
-
BsNavbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
780
|
+
BsNavbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsNavbarModule, imports: [[
|
|
826
781
|
CommonModule,
|
|
827
782
|
RouterModule,
|
|
828
783
|
ClickOutsideModule
|
|
829
784
|
]] });
|
|
830
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
785
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsNavbarModule, decorators: [{
|
|
831
786
|
type: NgModule,
|
|
832
787
|
args: [{
|
|
833
788
|
declarations: [
|
|
@@ -871,16 +826,11 @@ class BsAccordionTabComponent {
|
|
|
871
826
|
}
|
|
872
827
|
}
|
|
873
828
|
}
|
|
874
|
-
BsAccordionTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
875
|
-
BsAccordionTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
876
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
829
|
+
BsAccordionTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsAccordionTabComponent, deps: [{ token: BsAccordionComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
830
|
+
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] });
|
|
831
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsAccordionTabComponent, decorators: [{
|
|
877
832
|
type: Component,
|
|
878
|
-
args: [{
|
|
879
|
-
selector: 'bs-accordion-tab',
|
|
880
|
-
templateUrl: './accordion-tab.component.html',
|
|
881
|
-
styleUrls: ['./accordion-tab.component.scss'],
|
|
882
|
-
animations: [SlideUpDownAnimation]
|
|
883
|
-
}]
|
|
833
|
+
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"] }]
|
|
884
834
|
}], ctorParameters: function () { return [{ type: BsAccordionComponent }]; } });
|
|
885
835
|
|
|
886
836
|
class BsAccordionComponent {
|
|
@@ -890,15 +840,11 @@ class BsAccordionComponent {
|
|
|
890
840
|
ngOnInit() {
|
|
891
841
|
}
|
|
892
842
|
}
|
|
893
|
-
BsAccordionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
894
|
-
BsAccordionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
895
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
843
|
+
BsAccordionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsAccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
844
|
+
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: [""] });
|
|
845
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsAccordionComponent, decorators: [{
|
|
896
846
|
type: Component,
|
|
897
|
-
args: [{
|
|
898
|
-
selector: 'bs-accordion',
|
|
899
|
-
templateUrl: './accordion.component.html',
|
|
900
|
-
styleUrls: ['./accordion.component.scss']
|
|
901
|
-
}]
|
|
847
|
+
args: [{ selector: 'bs-accordion', template: "<ng-content></ng-content>", styles: [""] }]
|
|
902
848
|
}], ctorParameters: function () { return []; }, propDecorators: { tabPages: [{
|
|
903
849
|
type: ContentChildren,
|
|
904
850
|
args: [BsAccordionTabComponent]
|
|
@@ -920,31 +866,27 @@ class BsAccordionTabHeaderComponent {
|
|
|
920
866
|
}
|
|
921
867
|
}
|
|
922
868
|
}
|
|
923
|
-
BsAccordionTabHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
924
|
-
BsAccordionTabHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
925
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
869
|
+
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 });
|
|
870
|
+
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: [""] });
|
|
871
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsAccordionTabHeaderComponent, decorators: [{
|
|
926
872
|
type: Component,
|
|
927
|
-
args: [{
|
|
928
|
-
selector: 'bs-accordion-tab-header',
|
|
929
|
-
templateUrl: './accordion-tab-header.component.html',
|
|
930
|
-
styleUrls: ['./accordion-tab-header.component.scss']
|
|
931
|
-
}]
|
|
873
|
+
args: [{ selector: 'bs-accordion-tab-header', template: "<div class=\"card-header cursor-pointer\" (click)=\"headerClicked($event)\">\n <ng-content></ng-content>\n</div>", styles: [""] }]
|
|
932
874
|
}], ctorParameters: function () { return [{ type: BsAccordionTabComponent }, { type: BsAccordionComponent }]; } });
|
|
933
875
|
|
|
934
876
|
class BsAccordionModule {
|
|
935
877
|
}
|
|
936
|
-
BsAccordionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
937
|
-
BsAccordionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
878
|
+
BsAccordionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsAccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
879
|
+
BsAccordionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsAccordionModule, declarations: [BsAccordionComponent,
|
|
938
880
|
BsAccordionTabComponent,
|
|
939
881
|
BsAccordionTabHeaderComponent], imports: [CommonModule,
|
|
940
882
|
BrowserAnimationsModule], exports: [BsAccordionComponent,
|
|
941
883
|
BsAccordionTabComponent,
|
|
942
884
|
BsAccordionTabHeaderComponent] });
|
|
943
|
-
BsAccordionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
885
|
+
BsAccordionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsAccordionModule, imports: [[
|
|
944
886
|
CommonModule,
|
|
945
887
|
BrowserAnimationsModule
|
|
946
888
|
]] });
|
|
947
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
889
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsAccordionModule, decorators: [{
|
|
948
890
|
type: NgModule,
|
|
949
891
|
args: [{
|
|
950
892
|
declarations: [
|
|
@@ -972,15 +914,11 @@ class BsTabPageComponent {
|
|
|
972
914
|
ngOnInit() {
|
|
973
915
|
}
|
|
974
916
|
}
|
|
975
|
-
BsTabPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
976
|
-
BsTabPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
977
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
917
|
+
BsTabPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsTabPageComponent, deps: [{ token: BsTabControlComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
918
|
+
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"] }] });
|
|
919
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsTabPageComponent, decorators: [{
|
|
978
920
|
type: Component,
|
|
979
|
-
args: [{
|
|
980
|
-
selector: 'bs-tab-page',
|
|
981
|
-
templateUrl: './tab-page.component.html',
|
|
982
|
-
styleUrls: ['./tab-page.component.scss']
|
|
983
|
-
}]
|
|
921
|
+
args: [{ selector: 'bs-tab-page', template: "<ng-content *ngIf=\"tabControl.activeTab === this\"></ng-content>", styles: [""] }]
|
|
984
922
|
}], ctorParameters: function () { return [{ type: BsTabControlComponent }]; }, propDecorators: { headerTemplate: [{
|
|
985
923
|
type: ContentChild,
|
|
986
924
|
args: [TemplateRef]
|
|
@@ -1001,15 +939,11 @@ class BsTabControlComponent {
|
|
|
1001
939
|
return false;
|
|
1002
940
|
}
|
|
1003
941
|
}
|
|
1004
|
-
BsTabControlComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1005
|
-
BsTabControlComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1006
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
942
|
+
BsTabControlComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsTabControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
943
|
+
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"] }] });
|
|
944
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsTabControlComponent, decorators: [{
|
|
1007
945
|
type: Component,
|
|
1008
|
-
args: [{
|
|
1009
|
-
selector: 'bs-tab-control',
|
|
1010
|
-
templateUrl: './tab-control.component.html',
|
|
1011
|
-
styleUrls: ['./tab-control.component.scss']
|
|
1012
|
-
}]
|
|
946
|
+
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: [""] }]
|
|
1013
947
|
}], ctorParameters: function () { return []; }, propDecorators: { tabPages: [{
|
|
1014
948
|
type: ContentChildren,
|
|
1015
949
|
args: [BsTabPageComponent]
|
|
@@ -1017,14 +951,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImpor
|
|
|
1017
951
|
|
|
1018
952
|
class BsTabControlModule {
|
|
1019
953
|
}
|
|
1020
|
-
BsTabControlModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1021
|
-
BsTabControlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
954
|
+
BsTabControlModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsTabControlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
955
|
+
BsTabControlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsTabControlModule, declarations: [BsTabControlComponent,
|
|
1022
956
|
BsTabPageComponent], imports: [CommonModule], exports: [BsTabControlComponent,
|
|
1023
957
|
BsTabPageComponent] });
|
|
1024
|
-
BsTabControlModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
958
|
+
BsTabControlModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsTabControlModule, imports: [[
|
|
1025
959
|
CommonModule
|
|
1026
960
|
]] });
|
|
1027
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
961
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BsTabControlModule, decorators: [{
|
|
1028
962
|
type: NgModule,
|
|
1029
963
|
args: [{
|
|
1030
964
|
declarations: [
|
|
@@ -1046,4 +980,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImpor
|
|
|
1046
980
|
*/
|
|
1047
981
|
|
|
1048
982
|
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 };
|
|
1049
|
-
//# sourceMappingURL=mintplayer-ng-bootstrap.
|
|
983
|
+
//# sourceMappingURL=mintplayer-ng-bootstrap.mjs.map
|