@mintplayer/ng-bootstrap 12.0.0 → 13.0.5
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 +65 -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 +991 -0
- package/fesm2015/mintplayer-ng-bootstrap.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap.mjs +982 -0
- 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 +18 -0
- package/lib/components/carousel/carousel-image/carousel-image.directive.d.ts +6 -0
- package/lib/components/carousel/carousel.module.d.ts +9 -0
- package/lib/components/carousel/index.d.ts +3 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/components/navbar/dropdown-toggle/dropdown-toggle.directive.d.ts +13 -0
- package/lib/components/navbar/index.d.ts +3 -0
- package/lib/components/navbar/nav-link/nav-link.directive.d.ts +9 -0
- package/lib/components/navbar/navbar/navbar.component.d.ts +5 -4
- package/lib/components/navbar/navbar-content/navbar-content.directive.d.ts +14 -0
- package/lib/components/navbar/navbar-dropdown/navbar-dropdown.component.d.ts +10 -4
- package/lib/components/navbar/navbar-item/navbar-item.component.d.ts +12 -5
- package/lib/components/navbar/navbar-nav/navbar-nav.component.d.ts +7 -2
- package/lib/components/navbar/navbar.module.d.ts +7 -2
- package/package.json +31 -15
- package/bundles/mintplayer-ng-bootstrap.umd.js +0 -1213
- 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/index.js +0 -8
- 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/index.js +0 -6
- package/esm2015/lib/components/navbar/index.js.map +0 -1
- package/esm2015/lib/components/navbar/navbar/navbar.component.js +0 -22
- package/esm2015/lib/components/navbar/navbar/navbar.component.js.map +0 -1
- package/esm2015/lib/components/navbar/navbar-dropdown/navbar-dropdown.component.js +0 -18
- 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 -18
- 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 -18
- package/esm2015/lib/components/navbar/navbar-nav/navbar-nav.component.js.map +0 -1
- package/esm2015/lib/components/navbar/navbar.module.js +0 -41
- 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 +0 -770
- package/fesm2015/mintplayer-ng-bootstrap.js.map +0 -1
|
@@ -1,770 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Input, NgModule, Injectable, Pipe, ContentChildren, TemplateRef, ContentChild } from '@angular/core';
|
|
3
|
-
import * as i1 from '@angular/common';
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
5
|
-
import { SlideUpDownAnimation } from '@mintplayer/ng-animations';
|
|
6
|
-
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
7
|
-
|
|
8
|
-
var Color;
|
|
9
|
-
(function (Color) {
|
|
10
|
-
Color[Color["primary"] = 0] = "primary";
|
|
11
|
-
Color[Color["secondary"] = 1] = "secondary";
|
|
12
|
-
Color[Color["success"] = 2] = "success";
|
|
13
|
-
Color[Color["danger"] = 3] = "danger";
|
|
14
|
-
Color[Color["warning"] = 4] = "warning";
|
|
15
|
-
Color[Color["info"] = 5] = "info";
|
|
16
|
-
Color[Color["light"] = 6] = "light";
|
|
17
|
-
Color[Color["dark"] = 7] = "dark";
|
|
18
|
-
Color[Color["body"] = 8] = "body";
|
|
19
|
-
Color[Color["white"] = 9] = "white";
|
|
20
|
-
Color[Color["transparent"] = 10] = "transparent";
|
|
21
|
-
})(Color || (Color = {}));
|
|
22
|
-
|
|
23
|
-
class BsAlertComponent {
|
|
24
|
-
constructor() {
|
|
25
|
-
this.type = Color.primary;
|
|
26
|
-
this.colors = Color;
|
|
27
|
-
}
|
|
28
|
-
ngOnInit() {
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
BsAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsAlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
32
|
-
BsAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.0", type: BsAlertComponent, selector: "bs-alert", inputs: { type: "type" }, ngImport: i0, template: "<div class=\"alert\" [ngClass]=\"'alert-' + colors[type]\">\n <ng-content></ng-content>\n</div>", styles: [""], directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsAlertComponent, decorators: [{
|
|
34
|
-
type: Component,
|
|
35
|
-
args: [{
|
|
36
|
-
selector: 'bs-alert',
|
|
37
|
-
templateUrl: './alert.component.html',
|
|
38
|
-
styleUrls: ['./alert.component.scss']
|
|
39
|
-
}]
|
|
40
|
-
}], ctorParameters: function () { return []; }, propDecorators: { type: [{
|
|
41
|
-
type: Input
|
|
42
|
-
}] } });
|
|
43
|
-
|
|
44
|
-
class BsAlertCloseComponent {
|
|
45
|
-
constructor() {
|
|
46
|
-
}
|
|
47
|
-
ngOnInit() {
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
BsAlertCloseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsAlertCloseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
51
|
-
BsAlertCloseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.0", type: BsAlertCloseComponent, selector: "bs-alert-close", ngImport: i0, template: "<button class=\"btn float-end\">\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"] });
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsAlertCloseComponent, decorators: [{
|
|
53
|
-
type: Component,
|
|
54
|
-
args: [{
|
|
55
|
-
selector: 'bs-alert-close',
|
|
56
|
-
templateUrl: './alert-close.component.html',
|
|
57
|
-
styleUrls: ['./alert-close.component.scss']
|
|
58
|
-
}]
|
|
59
|
-
}], ctorParameters: function () { return []; } });
|
|
60
|
-
|
|
61
|
-
class BsAlertModule {
|
|
62
|
-
}
|
|
63
|
-
BsAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
64
|
-
BsAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsAlertModule, declarations: [BsAlertComponent,
|
|
65
|
-
BsAlertCloseComponent], imports: [CommonModule], exports: [BsAlertComponent,
|
|
66
|
-
BsAlertCloseComponent] });
|
|
67
|
-
BsAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsAlertModule, imports: [[CommonModule]] });
|
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsAlertModule, decorators: [{
|
|
69
|
-
type: NgModule,
|
|
70
|
-
args: [{
|
|
71
|
-
imports: [CommonModule],
|
|
72
|
-
declarations: [
|
|
73
|
-
BsAlertComponent,
|
|
74
|
-
BsAlertCloseComponent
|
|
75
|
-
],
|
|
76
|
-
exports: [
|
|
77
|
-
BsAlertComponent,
|
|
78
|
-
BsAlertCloseComponent
|
|
79
|
-
]
|
|
80
|
-
}]
|
|
81
|
-
}] });
|
|
82
|
-
|
|
83
|
-
class BsCardComponent {
|
|
84
|
-
constructor() {
|
|
85
|
-
}
|
|
86
|
-
ngOnInit() {
|
|
87
|
-
}
|
|
88
|
-
ngAfterViewInit() {
|
|
89
|
-
// console.log('header', this.header);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
BsCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
93
|
-
BsCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.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"] });
|
|
94
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCardComponent, decorators: [{
|
|
95
|
-
type: Component,
|
|
96
|
-
args: [{
|
|
97
|
-
selector: 'bs-card',
|
|
98
|
-
templateUrl: './card.component.html',
|
|
99
|
-
styleUrls: ['./card.component.scss']
|
|
100
|
-
}]
|
|
101
|
-
}], ctorParameters: function () { return []; } });
|
|
102
|
-
|
|
103
|
-
class BsCardHeaderComponent {
|
|
104
|
-
constructor() {
|
|
105
|
-
}
|
|
106
|
-
ngOnInit() {
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
BsCardHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCardHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
110
|
-
BsCardHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.0", type: BsCardHeaderComponent, selector: "bs-card-header", ngImport: i0, template: "<div class=\"card-header\">\n <ng-content></ng-content>\n</div>", styles: [""] });
|
|
111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCardHeaderComponent, decorators: [{
|
|
112
|
-
type: Component,
|
|
113
|
-
args: [{
|
|
114
|
-
selector: 'bs-card-header',
|
|
115
|
-
templateUrl: './card-header.component.html',
|
|
116
|
-
styleUrls: ['./card-header.component.scss']
|
|
117
|
-
}]
|
|
118
|
-
}], ctorParameters: function () { return []; } });
|
|
119
|
-
|
|
120
|
-
class BsCardModule {
|
|
121
|
-
}
|
|
122
|
-
BsCardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
123
|
-
BsCardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCardModule, declarations: [BsCardComponent,
|
|
124
|
-
BsCardHeaderComponent], imports: [CommonModule], exports: [BsCardComponent,
|
|
125
|
-
BsCardHeaderComponent] });
|
|
126
|
-
BsCardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCardModule, imports: [[CommonModule]] });
|
|
127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCardModule, decorators: [{
|
|
128
|
-
type: NgModule,
|
|
129
|
-
args: [{
|
|
130
|
-
imports: [CommonModule],
|
|
131
|
-
declarations: [
|
|
132
|
-
BsCardComponent,
|
|
133
|
-
BsCardHeaderComponent
|
|
134
|
-
],
|
|
135
|
-
exports: [
|
|
136
|
-
BsCardComponent,
|
|
137
|
-
BsCardHeaderComponent
|
|
138
|
-
]
|
|
139
|
-
}]
|
|
140
|
-
}] });
|
|
141
|
-
|
|
142
|
-
class BsCalendarMonthService {
|
|
143
|
-
constructor() {
|
|
144
|
-
}
|
|
145
|
-
getWeeks(month) {
|
|
146
|
-
let firstAndLast = this.getFirstAndLastDayOfMonth(month);
|
|
147
|
-
let days = this.dateDiff(firstAndLast.first, firstAndLast.last) + 1;
|
|
148
|
-
let allDays = [
|
|
149
|
-
...this.generateList(this.dayOfWeekMondayBased(firstAndLast.first)).map(d => null),
|
|
150
|
-
...this.generateList(days).map(d => {
|
|
151
|
-
return {
|
|
152
|
-
date: new Date(firstAndLast.first.getFullYear(), firstAndLast.first.getMonth(), firstAndLast.first.getDate() + d),
|
|
153
|
-
dayOfMonth: d + 1,
|
|
154
|
-
};
|
|
155
|
-
}),
|
|
156
|
-
...this.generateList(6 - this.dayOfWeekMondayBased(firstAndLast.last)).map(d => null),
|
|
157
|
-
];
|
|
158
|
-
let weeks = this.chunk(allDays, 7);
|
|
159
|
-
let weeksMapped = weeks.map((w, i) => {
|
|
160
|
-
var _a;
|
|
161
|
-
return {
|
|
162
|
-
number: this.weekOfYear(new Date(month.getFullYear(), month.getMonth(), (_a = w.find(d => d !== null)) === null || _a === void 0 ? void 0 : _a.dayOfMonth)),
|
|
163
|
-
week: w
|
|
164
|
-
};
|
|
165
|
-
});
|
|
166
|
-
return weeksMapped;
|
|
167
|
-
}
|
|
168
|
-
generateList(count) {
|
|
169
|
-
return [...Array(count).keys()];
|
|
170
|
-
}
|
|
171
|
-
dayOfWeekMondayBased(date) {
|
|
172
|
-
let d = date.getDay() - 1;
|
|
173
|
-
if (d < 0) {
|
|
174
|
-
return 6;
|
|
175
|
-
}
|
|
176
|
-
else {
|
|
177
|
-
return d;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
weekOfYear(date) {
|
|
181
|
-
let dateClone = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate()));
|
|
182
|
-
dateClone.setUTCDate(dateClone.getUTCDate() + 4 - (dateClone.getUTCDay() || 7));
|
|
183
|
-
let yearStart = new Date(Date.UTC(dateClone.getUTCFullYear(), 0, 1));
|
|
184
|
-
let utcDiff = this.toUTC(dateClone) - this.toUTC(yearStart);
|
|
185
|
-
return Math.ceil((utcDiff / (1000 * 60 * 60 * 24) + 1) / 7);
|
|
186
|
-
}
|
|
187
|
-
getFirstAndLastDayOfMonth(date) {
|
|
188
|
-
return {
|
|
189
|
-
first: new Date(date.getFullYear(), date.getMonth(), 1),
|
|
190
|
-
last: new Date(date.getFullYear(), date.getMonth() + 1, 0)
|
|
191
|
-
};
|
|
192
|
-
}
|
|
193
|
-
dateDiff(date1, date2) {
|
|
194
|
-
const utc1 = this.toUTC(date1);
|
|
195
|
-
const utc2 = this.toUTC(date2);
|
|
196
|
-
const msPerDay = 1000 * 60 * 60 * 24;
|
|
197
|
-
return Math.floor((utc2 - utc1) / msPerDay);
|
|
198
|
-
}
|
|
199
|
-
dayOfYear(date) {
|
|
200
|
-
const start = new Date(date.getFullYear(), 0, 0);
|
|
201
|
-
return this.dateDiff(start, date);
|
|
202
|
-
}
|
|
203
|
-
toUTC(date) {
|
|
204
|
-
return Date.UTC(date.getFullYear(), date.getMonth(), date.getDate());
|
|
205
|
-
}
|
|
206
|
-
chunk(items, size) {
|
|
207
|
-
let result = [];
|
|
208
|
-
for (let i = 0; i < items.length; i += size) {
|
|
209
|
-
result.push(items.slice(i, i + size));
|
|
210
|
-
}
|
|
211
|
-
return result;
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
BsCalendarMonthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCalendarMonthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
215
|
-
BsCalendarMonthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCalendarMonthService, providedIn: 'root' });
|
|
216
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCalendarMonthService, decorators: [{
|
|
217
|
-
type: Injectable,
|
|
218
|
-
args: [{
|
|
219
|
-
providedIn: 'root'
|
|
220
|
-
}]
|
|
221
|
-
}], ctorParameters: function () { return []; } });
|
|
222
|
-
|
|
223
|
-
class UcFirstPipe {
|
|
224
|
-
transform(value, ...args) {
|
|
225
|
-
return value[0].toUpperCase() + value.slice(1);
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
UcFirstPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: UcFirstPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
229
|
-
UcFirstPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: UcFirstPipe, name: "ucFirst" });
|
|
230
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: UcFirstPipe, decorators: [{
|
|
231
|
-
type: Pipe,
|
|
232
|
-
args: [{
|
|
233
|
-
name: 'ucFirst'
|
|
234
|
-
}]
|
|
235
|
-
}] });
|
|
236
|
-
|
|
237
|
-
class MonthNamePipe {
|
|
238
|
-
transform(date, ...args) {
|
|
239
|
-
return date.toLocaleString("default", { month: 'long' });
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
MonthNamePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: MonthNamePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
243
|
-
MonthNamePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: MonthNamePipe, name: "monthName" });
|
|
244
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: MonthNamePipe, decorators: [{
|
|
245
|
-
type: Pipe,
|
|
246
|
-
args: [{
|
|
247
|
-
name: 'monthName'
|
|
248
|
-
}]
|
|
249
|
-
}] });
|
|
250
|
-
|
|
251
|
-
class BsCalendarComponent {
|
|
252
|
-
constructor(calendarMonthService) {
|
|
253
|
-
this.calendarMonthService = calendarMonthService;
|
|
254
|
-
this.daysOfWeek = ['Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su'];
|
|
255
|
-
//#region SelectedDate
|
|
256
|
-
this.selectedDate = new Date();
|
|
257
|
-
//#endregion
|
|
258
|
-
//#region Weeks
|
|
259
|
-
this._weeks = [];
|
|
260
|
-
}
|
|
261
|
-
ngOnInit() {
|
|
262
|
-
this.month = new Date();
|
|
263
|
-
}
|
|
264
|
-
get month() {
|
|
265
|
-
return this._month;
|
|
266
|
-
}
|
|
267
|
-
set month(value) {
|
|
268
|
-
this._month = value;
|
|
269
|
-
this.weeks = this.calendarMonthService.getWeeks(this.month);
|
|
270
|
-
}
|
|
271
|
-
get weeks() {
|
|
272
|
-
return this._weeks;
|
|
273
|
-
}
|
|
274
|
-
set weeks(value) {
|
|
275
|
-
this._weeks = value;
|
|
276
|
-
if (this._weeks.length > 1) {
|
|
277
|
-
this.daysOfWeek = this._weeks[1].week.map(d => {
|
|
278
|
-
let date = new Date(this.month.getFullYear(), this.month.getMonth(), d === null || d === void 0 ? void 0 : d.dayOfMonth);
|
|
279
|
-
return date.toLocaleString("default", { weekday: 'short' });
|
|
280
|
-
});
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
//#endregion
|
|
284
|
-
previousMonth() {
|
|
285
|
-
this.month = new Date(this.month.getFullYear(), this.month.getMonth() - 1, 1);
|
|
286
|
-
return false;
|
|
287
|
-
}
|
|
288
|
-
nextMonth() {
|
|
289
|
-
this.month = new Date(this.month.getFullYear(), this.month.getMonth() + 1, 1);
|
|
290
|
-
return false;
|
|
291
|
-
}
|
|
292
|
-
isSameDate(date1, date2) {
|
|
293
|
-
return (date1.getFullYear() === date2.getFullYear())
|
|
294
|
-
&& (date1.getMonth() === date2.getMonth())
|
|
295
|
-
&& (date1.getDate() === date2.getDate());
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
BsCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCalendarComponent, deps: [{ token: BsCalendarMonthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
299
|
-
BsCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.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: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 } });
|
|
300
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCalendarComponent, decorators: [{
|
|
301
|
-
type: Component,
|
|
302
|
-
args: [{
|
|
303
|
-
selector: 'bs-calendar',
|
|
304
|
-
templateUrl: './calendar.component.html',
|
|
305
|
-
styleUrls: ['./calendar.component.scss']
|
|
306
|
-
}]
|
|
307
|
-
}], ctorParameters: function () { return [{ type: BsCalendarMonthService }]; } });
|
|
308
|
-
|
|
309
|
-
class BsMonthNamePipeModule {
|
|
310
|
-
}
|
|
311
|
-
BsMonthNamePipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsMonthNamePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
312
|
-
BsMonthNamePipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsMonthNamePipeModule, declarations: [MonthNamePipe], imports: [CommonModule], exports: [MonthNamePipe] });
|
|
313
|
-
BsMonthNamePipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsMonthNamePipeModule, imports: [[
|
|
314
|
-
CommonModule
|
|
315
|
-
]] });
|
|
316
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsMonthNamePipeModule, decorators: [{
|
|
317
|
-
type: NgModule,
|
|
318
|
-
args: [{
|
|
319
|
-
declarations: [
|
|
320
|
-
MonthNamePipe
|
|
321
|
-
],
|
|
322
|
-
imports: [
|
|
323
|
-
CommonModule
|
|
324
|
-
],
|
|
325
|
-
exports: [
|
|
326
|
-
MonthNamePipe
|
|
327
|
-
]
|
|
328
|
-
}]
|
|
329
|
-
}] });
|
|
330
|
-
|
|
331
|
-
class BsUcFirstPipeModule {
|
|
332
|
-
}
|
|
333
|
-
BsUcFirstPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsUcFirstPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
334
|
-
BsUcFirstPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsUcFirstPipeModule, declarations: [UcFirstPipe], imports: [CommonModule], exports: [UcFirstPipe] });
|
|
335
|
-
BsUcFirstPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsUcFirstPipeModule, imports: [[
|
|
336
|
-
CommonModule
|
|
337
|
-
]] });
|
|
338
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsUcFirstPipeModule, decorators: [{
|
|
339
|
-
type: NgModule,
|
|
340
|
-
args: [{
|
|
341
|
-
declarations: [
|
|
342
|
-
UcFirstPipe
|
|
343
|
-
],
|
|
344
|
-
imports: [
|
|
345
|
-
CommonModule
|
|
346
|
-
],
|
|
347
|
-
exports: [
|
|
348
|
-
UcFirstPipe
|
|
349
|
-
]
|
|
350
|
-
}]
|
|
351
|
-
}] });
|
|
352
|
-
|
|
353
|
-
class WeekdayNamePipe {
|
|
354
|
-
transform(date, ...args) {
|
|
355
|
-
return date.toLocaleString("default", { weekday: 'short' });
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
WeekdayNamePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: WeekdayNamePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
359
|
-
WeekdayNamePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: WeekdayNamePipe, name: "weekdayName" });
|
|
360
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: WeekdayNamePipe, decorators: [{
|
|
361
|
-
type: Pipe,
|
|
362
|
-
args: [{
|
|
363
|
-
name: 'weekdayName'
|
|
364
|
-
}]
|
|
365
|
-
}] });
|
|
366
|
-
|
|
367
|
-
class BsWeekdayNameModule {
|
|
368
|
-
}
|
|
369
|
-
BsWeekdayNameModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsWeekdayNameModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
370
|
-
BsWeekdayNameModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsWeekdayNameModule, declarations: [WeekdayNamePipe], imports: [CommonModule], exports: [WeekdayNamePipe] });
|
|
371
|
-
BsWeekdayNameModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsWeekdayNameModule, imports: [[
|
|
372
|
-
CommonModule
|
|
373
|
-
]] });
|
|
374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsWeekdayNameModule, decorators: [{
|
|
375
|
-
type: NgModule,
|
|
376
|
-
args: [{
|
|
377
|
-
declarations: [
|
|
378
|
-
WeekdayNamePipe
|
|
379
|
-
],
|
|
380
|
-
imports: [
|
|
381
|
-
CommonModule
|
|
382
|
-
],
|
|
383
|
-
exports: [
|
|
384
|
-
WeekdayNamePipe
|
|
385
|
-
]
|
|
386
|
-
}]
|
|
387
|
-
}] });
|
|
388
|
-
|
|
389
|
-
class BsCalendarModule {
|
|
390
|
-
}
|
|
391
|
-
BsCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
392
|
-
BsCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCalendarModule, declarations: [BsCalendarComponent], imports: [CommonModule,
|
|
393
|
-
BsUcFirstPipeModule,
|
|
394
|
-
BsMonthNamePipeModule,
|
|
395
|
-
BsWeekdayNameModule], exports: [BsCalendarComponent] });
|
|
396
|
-
BsCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCalendarModule, imports: [[
|
|
397
|
-
CommonModule,
|
|
398
|
-
BsUcFirstPipeModule,
|
|
399
|
-
BsMonthNamePipeModule,
|
|
400
|
-
BsWeekdayNameModule
|
|
401
|
-
]] });
|
|
402
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCalendarModule, decorators: [{
|
|
403
|
-
type: NgModule,
|
|
404
|
-
args: [{
|
|
405
|
-
declarations: [
|
|
406
|
-
BsCalendarComponent
|
|
407
|
-
],
|
|
408
|
-
imports: [
|
|
409
|
-
CommonModule,
|
|
410
|
-
BsUcFirstPipeModule,
|
|
411
|
-
BsMonthNamePipeModule,
|
|
412
|
-
BsWeekdayNameModule
|
|
413
|
-
],
|
|
414
|
-
exports: [
|
|
415
|
-
BsCalendarComponent
|
|
416
|
-
]
|
|
417
|
-
}]
|
|
418
|
-
}] });
|
|
419
|
-
|
|
420
|
-
class BsListGroupItemComponent {
|
|
421
|
-
constructor() {
|
|
422
|
-
}
|
|
423
|
-
ngOnInit() {
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
BsListGroupItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsListGroupItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
427
|
-
BsListGroupItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.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"] });
|
|
428
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsListGroupItemComponent, decorators: [{
|
|
429
|
-
type: Component,
|
|
430
|
-
args: [{
|
|
431
|
-
selector: 'bs-list-group-item',
|
|
432
|
-
templateUrl: './list-group-item.component.html',
|
|
433
|
-
styleUrls: ['./list-group-item.component.scss']
|
|
434
|
-
}]
|
|
435
|
-
}], ctorParameters: function () { return []; } });
|
|
436
|
-
|
|
437
|
-
class BsListGroupComponent {
|
|
438
|
-
constructor() {
|
|
439
|
-
}
|
|
440
|
-
ngOnInit() {
|
|
441
|
-
}
|
|
442
|
-
}
|
|
443
|
-
BsListGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsListGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
444
|
-
BsListGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.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: [""] });
|
|
445
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsListGroupComponent, decorators: [{
|
|
446
|
-
type: Component,
|
|
447
|
-
args: [{
|
|
448
|
-
selector: 'bs-list-group',
|
|
449
|
-
templateUrl: './list-group.component.html',
|
|
450
|
-
styleUrls: ['./list-group.component.scss']
|
|
451
|
-
}]
|
|
452
|
-
}], ctorParameters: function () { return []; }, propDecorators: { items: [{
|
|
453
|
-
type: ContentChildren,
|
|
454
|
-
args: [BsListGroupItemComponent]
|
|
455
|
-
}] } });
|
|
456
|
-
|
|
457
|
-
class BsListGroupModule {
|
|
458
|
-
}
|
|
459
|
-
BsListGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsListGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
460
|
-
BsListGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsListGroupModule, declarations: [BsListGroupComponent,
|
|
461
|
-
BsListGroupItemComponent], imports: [CommonModule], exports: [BsListGroupComponent,
|
|
462
|
-
BsListGroupItemComponent] });
|
|
463
|
-
BsListGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsListGroupModule, imports: [[CommonModule]] });
|
|
464
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsListGroupModule, decorators: [{
|
|
465
|
-
type: NgModule,
|
|
466
|
-
args: [{
|
|
467
|
-
imports: [CommonModule],
|
|
468
|
-
declarations: [
|
|
469
|
-
BsListGroupComponent,
|
|
470
|
-
BsListGroupItemComponent
|
|
471
|
-
],
|
|
472
|
-
exports: [
|
|
473
|
-
BsListGroupComponent,
|
|
474
|
-
BsListGroupItemComponent
|
|
475
|
-
]
|
|
476
|
-
}]
|
|
477
|
-
}] });
|
|
478
|
-
|
|
479
|
-
class BsNavbarComponent {
|
|
480
|
-
constructor() {
|
|
481
|
-
this.isExpanded = false;
|
|
482
|
-
}
|
|
483
|
-
ngOnInit() {
|
|
484
|
-
}
|
|
485
|
-
}
|
|
486
|
-
BsNavbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsNavbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
487
|
-
BsNavbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.0", type: BsNavbarComponent, selector: "bs-navbar", ngImport: i0, template: "<nav class=\"navbar navbar-expand-md position-fixed navbar-dark bg-dark\">\n <div class=\"container-fluid\">\n <!-- <div class=\"w-100\"> -->\n <a class=\"navbar-brand mx-auto\" href=\"#\">Navbar 2</a>\n <button (click)=\"isExpanded = !isExpanded\" class=\"navbar-toggler align-self-end\" type=\"button\" data-toggle=\"collapse\">\n <span class=\"navbar-toggler-icon\"></span>\n </button>\n <!-- </div> -->\n <div class=\"navbar-collapse collapse w-100 show\" [@slideUpDown]=\"isExpanded ? 'down' : 'up'\">\n <ul class=\"navbar-nav mr-auto\">\n <li class=\"nav-item active\">\n <a class=\"nav-link\" href=\"#\">Left</a>\n </li>\n <li class=\"nav-item\">\n <a class=\"nav-link\" href=\"//codeply.com\">Codeply</a>\n </li>\n <li class=\"nav-item\">\n <a class=\"nav-link\" href=\"#\">Link</a>\n </li>\n <li class=\"nav-item\">\n <a class=\"nav-link\" href=\"#\">Link</a>\n </li>\n <li class=\"nav-item\">\n <a class=\"nav-link\" href=\"#\">Link</a>\n </li>\n </ul>\n </div>\n <div class=\"navbar-collapse collapse justify-content-end w-100 show\" [@slideUpDown]=\"isExpanded ? 'down' : 'up'\">\n <ul class=\"navbar-nav ml-auto\">\n <li class=\"nav-item\">\n <a class=\"nav-link\" href=\"#\">Right</a>\n </li>\n <li class=\"nav-item\">\n <a class=\"nav-link\" href=\"#\">Link</a>\n </li>\n </ul>\n </div>\n </div>\n</nav>", styles: [":host ::ng-deep+*{padding-top:56px}nav{left:0;top:0;right:0;z-index:1}\n"], animations: [SlideUpDownAnimation] });
|
|
488
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsNavbarComponent, decorators: [{
|
|
489
|
-
type: Component,
|
|
490
|
-
args: [{
|
|
491
|
-
selector: 'bs-navbar',
|
|
492
|
-
templateUrl: './navbar.component.html',
|
|
493
|
-
styleUrls: ['./navbar.component.scss'],
|
|
494
|
-
animations: [SlideUpDownAnimation]
|
|
495
|
-
}]
|
|
496
|
-
}], ctorParameters: function () { return []; } });
|
|
497
|
-
|
|
498
|
-
class BsNavbarNavComponent {
|
|
499
|
-
constructor() { }
|
|
500
|
-
ngOnInit() {
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
BsNavbarNavComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsNavbarNavComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
504
|
-
BsNavbarNavComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.0", type: BsNavbarNavComponent, selector: "bs-navbar-nav", ngImport: i0, template: "<p>navbar-nav works!</p>\n", styles: [""] });
|
|
505
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsNavbarNavComponent, decorators: [{
|
|
506
|
-
type: Component,
|
|
507
|
-
args: [{
|
|
508
|
-
selector: 'bs-navbar-nav',
|
|
509
|
-
templateUrl: './navbar-nav.component.html',
|
|
510
|
-
styleUrls: ['./navbar-nav.component.scss']
|
|
511
|
-
}]
|
|
512
|
-
}], ctorParameters: function () { return []; } });
|
|
513
|
-
|
|
514
|
-
class BsNavbarDropdownComponent {
|
|
515
|
-
constructor() { }
|
|
516
|
-
ngOnInit() {
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
BsNavbarDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsNavbarDropdownComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
520
|
-
BsNavbarDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.0", type: BsNavbarDropdownComponent, selector: "bs-navbar-dropdown", ngImport: i0, template: "<p>navbar-dropdown works!</p>\n", styles: [""] });
|
|
521
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsNavbarDropdownComponent, decorators: [{
|
|
522
|
-
type: Component,
|
|
523
|
-
args: [{
|
|
524
|
-
selector: 'bs-navbar-dropdown',
|
|
525
|
-
templateUrl: './navbar-dropdown.component.html',
|
|
526
|
-
styleUrls: ['./navbar-dropdown.component.scss']
|
|
527
|
-
}]
|
|
528
|
-
}], ctorParameters: function () { return []; } });
|
|
529
|
-
|
|
530
|
-
class BsNavbarItemComponent {
|
|
531
|
-
constructor() { }
|
|
532
|
-
ngOnInit() {
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
BsNavbarItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsNavbarItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
536
|
-
BsNavbarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.0", type: BsNavbarItemComponent, selector: "bs-navbar-item", ngImport: i0, template: "<p>navbar-item works!</p>\n", styles: [""] });
|
|
537
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsNavbarItemComponent, decorators: [{
|
|
538
|
-
type: Component,
|
|
539
|
-
args: [{
|
|
540
|
-
selector: 'bs-navbar-item',
|
|
541
|
-
templateUrl: './navbar-item.component.html',
|
|
542
|
-
styleUrls: ['./navbar-item.component.scss']
|
|
543
|
-
}]
|
|
544
|
-
}], ctorParameters: function () { return []; } });
|
|
545
|
-
|
|
546
|
-
class BsNavbarModule {
|
|
547
|
-
}
|
|
548
|
-
BsNavbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsNavbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
549
|
-
BsNavbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsNavbarModule, declarations: [BsNavbarComponent,
|
|
550
|
-
BsNavbarNavComponent,
|
|
551
|
-
BsNavbarDropdownComponent,
|
|
552
|
-
BsNavbarItemComponent], imports: [CommonModule], exports: [BsNavbarComponent,
|
|
553
|
-
BsNavbarNavComponent,
|
|
554
|
-
BsNavbarDropdownComponent,
|
|
555
|
-
BsNavbarItemComponent] });
|
|
556
|
-
BsNavbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsNavbarModule, imports: [[
|
|
557
|
-
CommonModule
|
|
558
|
-
]] });
|
|
559
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsNavbarModule, decorators: [{
|
|
560
|
-
type: NgModule,
|
|
561
|
-
args: [{
|
|
562
|
-
declarations: [
|
|
563
|
-
BsNavbarComponent,
|
|
564
|
-
BsNavbarNavComponent,
|
|
565
|
-
BsNavbarDropdownComponent,
|
|
566
|
-
BsNavbarItemComponent
|
|
567
|
-
],
|
|
568
|
-
imports: [
|
|
569
|
-
CommonModule
|
|
570
|
-
],
|
|
571
|
-
exports: [
|
|
572
|
-
BsNavbarComponent,
|
|
573
|
-
BsNavbarNavComponent,
|
|
574
|
-
BsNavbarDropdownComponent,
|
|
575
|
-
BsNavbarItemComponent
|
|
576
|
-
]
|
|
577
|
-
}]
|
|
578
|
-
}] });
|
|
579
|
-
|
|
580
|
-
class BsAccordionTabComponent {
|
|
581
|
-
constructor(accordion) {
|
|
582
|
-
this.accordion = accordion;
|
|
583
|
-
}
|
|
584
|
-
ngOnInit() {
|
|
585
|
-
}
|
|
586
|
-
headerClicked(event) {
|
|
587
|
-
if (this.accordion.activeTab === this) {
|
|
588
|
-
this.accordion.activeTab = null;
|
|
589
|
-
}
|
|
590
|
-
else {
|
|
591
|
-
this.accordion.activeTab = this;
|
|
592
|
-
}
|
|
593
|
-
}
|
|
594
|
-
}
|
|
595
|
-
BsAccordionTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsAccordionTabComponent, deps: [{ token: BsAccordionComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
596
|
-
BsAccordionTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.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] });
|
|
597
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsAccordionTabComponent, decorators: [{
|
|
598
|
-
type: Component,
|
|
599
|
-
args: [{
|
|
600
|
-
selector: 'bs-accordion-tab',
|
|
601
|
-
templateUrl: './accordion-tab.component.html',
|
|
602
|
-
styleUrls: ['./accordion-tab.component.scss'],
|
|
603
|
-
animations: [SlideUpDownAnimation]
|
|
604
|
-
}]
|
|
605
|
-
}], ctorParameters: function () { return [{ type: BsAccordionComponent }]; } });
|
|
606
|
-
|
|
607
|
-
class BsAccordionComponent {
|
|
608
|
-
constructor() {
|
|
609
|
-
this.activeTab = null;
|
|
610
|
-
}
|
|
611
|
-
ngOnInit() {
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
BsAccordionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsAccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
615
|
-
BsAccordionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.0", type: BsAccordionComponent, selector: "bs-accordion", queries: [{ propertyName: "tabPages", predicate: BsAccordionTabComponent }], ngImport: i0, template: "<ng-content></ng-content>", styles: [""] });
|
|
616
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsAccordionComponent, decorators: [{
|
|
617
|
-
type: Component,
|
|
618
|
-
args: [{
|
|
619
|
-
selector: 'bs-accordion',
|
|
620
|
-
templateUrl: './accordion.component.html',
|
|
621
|
-
styleUrls: ['./accordion.component.scss']
|
|
622
|
-
}]
|
|
623
|
-
}], ctorParameters: function () { return []; }, propDecorators: { tabPages: [{
|
|
624
|
-
type: ContentChildren,
|
|
625
|
-
args: [BsAccordionTabComponent]
|
|
626
|
-
}] } });
|
|
627
|
-
|
|
628
|
-
class BsAccordionTabHeaderComponent {
|
|
629
|
-
constructor(accordionTab, accordion) {
|
|
630
|
-
this.accordionTab = accordionTab;
|
|
631
|
-
this.accordion = accordion;
|
|
632
|
-
}
|
|
633
|
-
ngOnInit() {
|
|
634
|
-
}
|
|
635
|
-
headerClicked(event) {
|
|
636
|
-
if (this.accordion.activeTab === this.accordionTab) {
|
|
637
|
-
this.accordion.activeTab = null;
|
|
638
|
-
}
|
|
639
|
-
else {
|
|
640
|
-
this.accordion.activeTab = this.accordionTab;
|
|
641
|
-
}
|
|
642
|
-
}
|
|
643
|
-
}
|
|
644
|
-
BsAccordionTabHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsAccordionTabHeaderComponent, deps: [{ token: BsAccordionTabComponent }, { token: BsAccordionComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
645
|
-
BsAccordionTabHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.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: [""] });
|
|
646
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsAccordionTabHeaderComponent, decorators: [{
|
|
647
|
-
type: Component,
|
|
648
|
-
args: [{
|
|
649
|
-
selector: 'bs-accordion-tab-header',
|
|
650
|
-
templateUrl: './accordion-tab-header.component.html',
|
|
651
|
-
styleUrls: ['./accordion-tab-header.component.scss']
|
|
652
|
-
}]
|
|
653
|
-
}], ctorParameters: function () { return [{ type: BsAccordionTabComponent }, { type: BsAccordionComponent }]; } });
|
|
654
|
-
|
|
655
|
-
class BsAccordionModule {
|
|
656
|
-
}
|
|
657
|
-
BsAccordionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsAccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
658
|
-
BsAccordionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsAccordionModule, declarations: [BsAccordionComponent,
|
|
659
|
-
BsAccordionTabComponent,
|
|
660
|
-
BsAccordionTabHeaderComponent], imports: [CommonModule,
|
|
661
|
-
BrowserAnimationsModule], exports: [BsAccordionComponent,
|
|
662
|
-
BsAccordionTabComponent,
|
|
663
|
-
BsAccordionTabHeaderComponent] });
|
|
664
|
-
BsAccordionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsAccordionModule, imports: [[
|
|
665
|
-
CommonModule,
|
|
666
|
-
BrowserAnimationsModule
|
|
667
|
-
]] });
|
|
668
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsAccordionModule, decorators: [{
|
|
669
|
-
type: NgModule,
|
|
670
|
-
args: [{
|
|
671
|
-
declarations: [
|
|
672
|
-
BsAccordionComponent,
|
|
673
|
-
BsAccordionTabComponent,
|
|
674
|
-
BsAccordionTabHeaderComponent
|
|
675
|
-
],
|
|
676
|
-
imports: [
|
|
677
|
-
CommonModule,
|
|
678
|
-
BrowserAnimationsModule
|
|
679
|
-
],
|
|
680
|
-
exports: [
|
|
681
|
-
BsAccordionComponent,
|
|
682
|
-
BsAccordionTabComponent,
|
|
683
|
-
BsAccordionTabHeaderComponent
|
|
684
|
-
]
|
|
685
|
-
}]
|
|
686
|
-
}] });
|
|
687
|
-
|
|
688
|
-
class BsTabPageComponent {
|
|
689
|
-
constructor(tabControl) {
|
|
690
|
-
this.disabled = false;
|
|
691
|
-
this.tabControl = tabControl;
|
|
692
|
-
}
|
|
693
|
-
ngOnInit() {
|
|
694
|
-
}
|
|
695
|
-
}
|
|
696
|
-
BsTabPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsTabPageComponent, deps: [{ token: BsTabControlComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
697
|
-
BsTabPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.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"] }] });
|
|
698
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsTabPageComponent, decorators: [{
|
|
699
|
-
type: Component,
|
|
700
|
-
args: [{
|
|
701
|
-
selector: 'bs-tab-page',
|
|
702
|
-
templateUrl: './tab-page.component.html',
|
|
703
|
-
styleUrls: ['./tab-page.component.scss']
|
|
704
|
-
}]
|
|
705
|
-
}], ctorParameters: function () { return [{ type: BsTabControlComponent }]; }, propDecorators: { headerTemplate: [{
|
|
706
|
-
type: ContentChild,
|
|
707
|
-
args: [TemplateRef]
|
|
708
|
-
}], disabled: [{
|
|
709
|
-
type: Input
|
|
710
|
-
}] } });
|
|
711
|
-
|
|
712
|
-
class BsTabControlComponent {
|
|
713
|
-
constructor() {
|
|
714
|
-
this.activeTab = null;
|
|
715
|
-
}
|
|
716
|
-
ngOnInit() {
|
|
717
|
-
}
|
|
718
|
-
setActiveTab(tab) {
|
|
719
|
-
if (!tab.disabled) {
|
|
720
|
-
this.activeTab = tab;
|
|
721
|
-
}
|
|
722
|
-
return false;
|
|
723
|
-
}
|
|
724
|
-
}
|
|
725
|
-
BsTabControlComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsTabControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
726
|
-
BsTabControlComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.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"] }] });
|
|
727
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsTabControlComponent, decorators: [{
|
|
728
|
-
type: Component,
|
|
729
|
-
args: [{
|
|
730
|
-
selector: 'bs-tab-control',
|
|
731
|
-
templateUrl: './tab-control.component.html',
|
|
732
|
-
styleUrls: ['./tab-control.component.scss']
|
|
733
|
-
}]
|
|
734
|
-
}], ctorParameters: function () { return []; }, propDecorators: { tabPages: [{
|
|
735
|
-
type: ContentChildren,
|
|
736
|
-
args: [BsTabPageComponent]
|
|
737
|
-
}] } });
|
|
738
|
-
|
|
739
|
-
class BsTabControlModule {
|
|
740
|
-
}
|
|
741
|
-
BsTabControlModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsTabControlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
742
|
-
BsTabControlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsTabControlModule, declarations: [BsTabControlComponent,
|
|
743
|
-
BsTabPageComponent], imports: [CommonModule], exports: [BsTabControlComponent,
|
|
744
|
-
BsTabPageComponent] });
|
|
745
|
-
BsTabControlModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsTabControlModule, imports: [[
|
|
746
|
-
CommonModule
|
|
747
|
-
]] });
|
|
748
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsTabControlModule, decorators: [{
|
|
749
|
-
type: NgModule,
|
|
750
|
-
args: [{
|
|
751
|
-
declarations: [
|
|
752
|
-
BsTabControlComponent,
|
|
753
|
-
BsTabPageComponent,
|
|
754
|
-
],
|
|
755
|
-
imports: [
|
|
756
|
-
CommonModule
|
|
757
|
-
],
|
|
758
|
-
exports: [
|
|
759
|
-
BsTabControlComponent,
|
|
760
|
-
BsTabPageComponent,
|
|
761
|
-
]
|
|
762
|
-
}]
|
|
763
|
-
}] });
|
|
764
|
-
|
|
765
|
-
/**
|
|
766
|
-
* Generated bundle index. Do not edit.
|
|
767
|
-
*/
|
|
768
|
-
|
|
769
|
-
export { BsAccordionComponent, BsAccordionModule, BsAccordionTabComponent, BsAccordionTabHeaderComponent, BsAlertCloseComponent, BsAlertComponent, BsAlertModule, BsCalendarComponent, BsCalendarModule, BsCardComponent, BsCardHeaderComponent, BsCardModule, BsListGroupComponent, BsListGroupItemComponent, BsListGroupModule, BsNavbarComponent, BsNavbarDropdownComponent, BsNavbarItemComponent, BsNavbarModule, BsNavbarNavComponent, BsTabControlComponent, BsTabControlModule, BsTabPageComponent, Color };
|
|
770
|
-
//# sourceMappingURL=mintplayer-ng-bootstrap.js.map
|