@mintplayer/ng-bootstrap 12.0.2 → 13.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/index.mjs +3 -0
- package/esm2020/lib/components/accordion/accordion/accordion.component.mjs +20 -0
- package/esm2020/lib/components/accordion/accordion-tab/accordion-tab.component.mjs +27 -0
- package/esm2020/lib/components/accordion/accordion-tab-header/accordion-tab-header.component.mjs +29 -0
- package/esm2020/lib/components/accordion/accordion.module.mjs +40 -0
- package/esm2020/lib/components/accordion/index.mjs +5 -0
- package/esm2020/lib/components/alert/alert/alert.component.mjs +23 -0
- package/esm2020/lib/components/alert/alert-close/alert-close.component.mjs +21 -0
- package/esm2020/lib/components/alert/alert.module.mjs +27 -0
- package/esm2020/lib/components/alert/index.mjs +4 -0
- package/esm2020/lib/components/calendar/calendar.component.mjs +61 -0
- package/esm2020/lib/components/calendar/calendar.module.mjs +38 -0
- package/esm2020/lib/components/calendar/index.mjs +3 -0
- package/esm2020/lib/components/card/card/card.component.mjs +18 -0
- package/esm2020/lib/components/card/card-header/card-header.component.mjs +15 -0
- package/esm2020/lib/components/card/card.module.mjs +27 -0
- package/esm2020/lib/components/card/index.mjs +4 -0
- package/esm2020/lib/components/carousel/carousel/carousel.component.mjs +61 -0
- package/esm2020/lib/components/carousel/carousel-image/carousel-image.directive.mjs +14 -0
- package/esm2020/lib/components/carousel/carousel.module.mjs +31 -0
- package/esm2020/lib/components/carousel/index.mjs +4 -0
- package/esm2020/lib/components/index.mjs +9 -0
- package/esm2020/lib/components/list-group/index.mjs +4 -0
- package/esm2020/lib/components/list-group/list-group/list-group.component.mjs +19 -0
- package/esm2020/lib/components/list-group/list-group-item/list-group-item.component.mjs +15 -0
- package/esm2020/lib/components/list-group/list-group.module.mjs +27 -0
- package/esm2020/lib/components/navbar/dropdown-toggle/dropdown-toggle.directive.mjs +38 -0
- package/esm2020/lib/components/navbar/index.mjs +10 -0
- package/esm2020/lib/components/navbar/nav-link/nav-link.directive.mjs +29 -0
- package/esm2020/lib/components/navbar/navbar/navbar.component.mjs +20 -0
- package/esm2020/lib/components/navbar/navbar-content/navbar-content.directive.mjs +33 -0
- package/esm2020/lib/components/navbar/navbar-dropdown/navbar-dropdown.component.mjs +38 -0
- package/esm2020/lib/components/navbar/navbar-item/navbar-item.component.mjs +47 -0
- package/esm2020/lib/components/navbar/navbar-nav/navbar-nav.component.mjs +29 -0
- package/esm2020/lib/components/navbar/navbar.module.mjs +64 -0
- package/esm2020/lib/components/tab-control/index.mjs +4 -0
- package/esm2020/lib/components/tab-control/tab-control/tab-control.component.mjs +27 -0
- package/esm2020/lib/components/tab-control/tab-control.module.mjs +31 -0
- package/esm2020/lib/components/tab-control/tab-page/tab-page.component.mjs +25 -0
- package/esm2020/lib/enums/color.enum.mjs +15 -0
- package/esm2020/lib/enums/index.mjs +2 -0
- package/esm2020/lib/interfaces/date-day-of-month.mjs +2 -0
- package/esm2020/lib/interfaces/first-and-last-date.mjs +2 -0
- package/esm2020/lib/interfaces/week.mjs +2 -0
- package/esm2020/lib/pipes/month-name/month-name.module.mjs +26 -0
- package/esm2020/lib/pipes/month-name/month-name.pipe.mjs +16 -0
- package/esm2020/lib/pipes/uc-first/uc-first.module.mjs +26 -0
- package/esm2020/lib/pipes/uc-first/uc-first.pipe.mjs +16 -0
- package/esm2020/lib/pipes/weekday-name/weekday-name.module.mjs +26 -0
- package/esm2020/lib/pipes/weekday-name/weekday-name.pipe.mjs +16 -0
- package/esm2020/lib/services/calendar-month/calendar-month.service.mjs +82 -0
- package/esm2020/mintplayer-ng-bootstrap.mjs +5 -0
- package/fesm2015/mintplayer-ng-bootstrap.mjs +987 -0
- package/fesm2015/mintplayer-ng-bootstrap.mjs.map +1 -0
- package/{fesm2015/mintplayer-ng-bootstrap.js → fesm2020/mintplayer-ng-bootstrap.mjs} +171 -239
- package/fesm2020/mintplayer-ng-bootstrap.mjs.map +1 -0
- package/lib/components/alert/alert/alert.component.d.ts +1 -0
- package/lib/components/alert/alert-close/alert-close.component.d.ts +4 -1
- package/lib/components/carousel/carousel/carousel.component.d.ts +2 -1
- package/package.json +31 -18
- package/bundles/mintplayer-ng-bootstrap.umd.js +0 -1518
- package/bundles/mintplayer-ng-bootstrap.umd.js.map +0 -1
- package/esm2015/index.js +0 -3
- package/esm2015/index.js.map +0 -1
- package/esm2015/lib/components/accordion/accordion/accordion.component.js +0 -24
- package/esm2015/lib/components/accordion/accordion/accordion.component.js.map +0 -1
- package/esm2015/lib/components/accordion/accordion-tab/accordion-tab.component.js +0 -32
- package/esm2015/lib/components/accordion/accordion-tab/accordion-tab.component.js.map +0 -1
- package/esm2015/lib/components/accordion/accordion-tab-header/accordion-tab-header.component.js +0 -33
- package/esm2015/lib/components/accordion/accordion-tab-header/accordion-tab-header.component.js.map +0 -1
- package/esm2015/lib/components/accordion/accordion.module.js +0 -40
- package/esm2015/lib/components/accordion/accordion.module.js.map +0 -1
- package/esm2015/lib/components/accordion/index.js +0 -5
- package/esm2015/lib/components/accordion/index.js.map +0 -1
- package/esm2015/lib/components/alert/alert/alert.component.js +0 -25
- package/esm2015/lib/components/alert/alert/alert.component.js.map +0 -1
- package/esm2015/lib/components/alert/alert-close/alert-close.component.js +0 -19
- package/esm2015/lib/components/alert/alert-close/alert-close.component.js.map +0 -1
- package/esm2015/lib/components/alert/alert.module.js +0 -27
- package/esm2015/lib/components/alert/alert.module.js.map +0 -1
- package/esm2015/lib/components/alert/index.js +0 -4
- package/esm2015/lib/components/alert/index.js.map +0 -1
- package/esm2015/lib/components/calendar/calendar.component.js +0 -65
- package/esm2015/lib/components/calendar/calendar.component.js.map +0 -1
- package/esm2015/lib/components/calendar/calendar.module.js +0 -38
- package/esm2015/lib/components/calendar/calendar.module.js.map +0 -1
- package/esm2015/lib/components/calendar/index.js +0 -3
- package/esm2015/lib/components/calendar/index.js.map +0 -1
- package/esm2015/lib/components/card/card/card.component.js +0 -22
- package/esm2015/lib/components/card/card/card.component.js.map +0 -1
- package/esm2015/lib/components/card/card-header/card-header.component.js +0 -19
- package/esm2015/lib/components/card/card-header/card-header.component.js.map +0 -1
- package/esm2015/lib/components/card/card.module.js +0 -27
- package/esm2015/lib/components/card/card.module.js.map +0 -1
- package/esm2015/lib/components/card/index.js +0 -4
- package/esm2015/lib/components/card/index.js.map +0 -1
- package/esm2015/lib/components/carousel/carousel/carousel.component.js +0 -70
- package/esm2015/lib/components/carousel/carousel/carousel.component.js.map +0 -1
- package/esm2015/lib/components/carousel/carousel-image/carousel-image.directive.js +0 -14
- package/esm2015/lib/components/carousel/carousel-image/carousel-image.directive.js.map +0 -1
- package/esm2015/lib/components/carousel/carousel.module.js +0 -31
- package/esm2015/lib/components/carousel/carousel.module.js.map +0 -1
- package/esm2015/lib/components/carousel/index.js +0 -4
- package/esm2015/lib/components/carousel/index.js.map +0 -1
- package/esm2015/lib/components/index.js +0 -9
- package/esm2015/lib/components/index.js.map +0 -1
- package/esm2015/lib/components/list-group/index.js +0 -4
- package/esm2015/lib/components/list-group/index.js.map +0 -1
- package/esm2015/lib/components/list-group/list-group/list-group.component.js +0 -23
- package/esm2015/lib/components/list-group/list-group/list-group.component.js.map +0 -1
- package/esm2015/lib/components/list-group/list-group-item/list-group-item.component.js +0 -19
- package/esm2015/lib/components/list-group/list-group-item/list-group-item.component.js.map +0 -1
- package/esm2015/lib/components/list-group/list-group.module.js +0 -27
- package/esm2015/lib/components/list-group/list-group.module.js.map +0 -1
- package/esm2015/lib/components/navbar/dropdown-toggle/dropdown-toggle.directive.js +0 -38
- package/esm2015/lib/components/navbar/dropdown-toggle/dropdown-toggle.directive.js.map +0 -1
- package/esm2015/lib/components/navbar/index.js +0 -10
- package/esm2015/lib/components/navbar/index.js.map +0 -1
- package/esm2015/lib/components/navbar/nav-link/nav-link.directive.js +0 -29
- package/esm2015/lib/components/navbar/nav-link/nav-link.directive.js.map +0 -1
- package/esm2015/lib/components/navbar/navbar/navbar.component.js +0 -24
- package/esm2015/lib/components/navbar/navbar/navbar.component.js.map +0 -1
- package/esm2015/lib/components/navbar/navbar-content/navbar-content.directive.js +0 -33
- package/esm2015/lib/components/navbar/navbar-content/navbar-content.directive.js.map +0 -1
- package/esm2015/lib/components/navbar/navbar-dropdown/navbar-dropdown.component.js +0 -39
- package/esm2015/lib/components/navbar/navbar-dropdown/navbar-dropdown.component.js.map +0 -1
- package/esm2015/lib/components/navbar/navbar-item/navbar-item.component.js +0 -51
- package/esm2015/lib/components/navbar/navbar-item/navbar-item.component.js.map +0 -1
- package/esm2015/lib/components/navbar/navbar-nav/navbar-nav.component.js +0 -34
- package/esm2015/lib/components/navbar/navbar-nav/navbar-nav.component.js.map +0 -1
- package/esm2015/lib/components/navbar/navbar.module.js +0 -64
- package/esm2015/lib/components/navbar/navbar.module.js.map +0 -1
- package/esm2015/lib/components/tab-control/index.js +0 -4
- package/esm2015/lib/components/tab-control/index.js.map +0 -1
- package/esm2015/lib/components/tab-control/tab-control/tab-control.component.js +0 -31
- package/esm2015/lib/components/tab-control/tab-control/tab-control.component.js.map +0 -1
- package/esm2015/lib/components/tab-control/tab-control.module.js +0 -31
- package/esm2015/lib/components/tab-control/tab-control.module.js.map +0 -1
- package/esm2015/lib/components/tab-control/tab-page/tab-page.component.js +0 -29
- package/esm2015/lib/components/tab-control/tab-page/tab-page.component.js.map +0 -1
- package/esm2015/lib/enums/color.enum.js +0 -15
- package/esm2015/lib/enums/color.enum.js.map +0 -1
- package/esm2015/lib/enums/index.js +0 -2
- package/esm2015/lib/enums/index.js.map +0 -1
- package/esm2015/lib/interfaces/date-day-of-month.js +0 -2
- package/esm2015/lib/interfaces/date-day-of-month.js.map +0 -1
- package/esm2015/lib/interfaces/first-and-last-date.js +0 -2
- package/esm2015/lib/interfaces/first-and-last-date.js.map +0 -1
- package/esm2015/lib/interfaces/week.js +0 -2
- package/esm2015/lib/interfaces/week.js.map +0 -1
- package/esm2015/lib/pipes/month-name/month-name.module.js +0 -26
- package/esm2015/lib/pipes/month-name/month-name.module.js.map +0 -1
- package/esm2015/lib/pipes/month-name/month-name.pipe.js +0 -16
- package/esm2015/lib/pipes/month-name/month-name.pipe.js.map +0 -1
- package/esm2015/lib/pipes/uc-first/uc-first.module.js +0 -26
- package/esm2015/lib/pipes/uc-first/uc-first.module.js.map +0 -1
- package/esm2015/lib/pipes/uc-first/uc-first.pipe.js +0 -16
- package/esm2015/lib/pipes/uc-first/uc-first.pipe.js.map +0 -1
- package/esm2015/lib/pipes/weekday-name/weekday-name.module.js +0 -26
- package/esm2015/lib/pipes/weekday-name/weekday-name.module.js.map +0 -1
- package/esm2015/lib/pipes/weekday-name/weekday-name.pipe.js +0 -16
- package/esm2015/lib/pipes/weekday-name/weekday-name.pipe.js.map +0 -1
- package/esm2015/lib/services/calendar-month/calendar-month.service.js +0 -83
- package/esm2015/lib/services/calendar-month/calendar-month.service.js.map +0 -1
- package/esm2015/mintplayer-ng-bootstrap.js +0 -5
- package/esm2015/mintplayer-ng-bootstrap.js.map +0 -1
- package/fesm2015/mintplayer-ng-bootstrap.js.map +0 -1
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { BsCalendarComponent } from './calendar.component';
|
|
4
|
-
import { BsMonthNamePipeModule } from '../../pipes/month-name/month-name.module';
|
|
5
|
-
import { BsUcFirstPipeModule } from '../../pipes/uc-first/uc-first.module';
|
|
6
|
-
import { BsWeekdayNameModule } from '../../pipes/weekday-name/weekday-name.module';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export class BsCalendarModule {
|
|
9
|
-
}
|
|
10
|
-
BsCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
-
BsCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCalendarModule, declarations: [BsCalendarComponent], imports: [CommonModule,
|
|
12
|
-
BsUcFirstPipeModule,
|
|
13
|
-
BsMonthNamePipeModule,
|
|
14
|
-
BsWeekdayNameModule], exports: [BsCalendarComponent] });
|
|
15
|
-
BsCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCalendarModule, imports: [[
|
|
16
|
-
CommonModule,
|
|
17
|
-
BsUcFirstPipeModule,
|
|
18
|
-
BsMonthNamePipeModule,
|
|
19
|
-
BsWeekdayNameModule
|
|
20
|
-
]] });
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCalendarModule, decorators: [{
|
|
22
|
-
type: NgModule,
|
|
23
|
-
args: [{
|
|
24
|
-
declarations: [
|
|
25
|
-
BsCalendarComponent
|
|
26
|
-
],
|
|
27
|
-
imports: [
|
|
28
|
-
CommonModule,
|
|
29
|
-
BsUcFirstPipeModule,
|
|
30
|
-
BsMonthNamePipeModule,
|
|
31
|
-
BsWeekdayNameModule
|
|
32
|
-
],
|
|
33
|
-
exports: [
|
|
34
|
-
BsCalendarComponent
|
|
35
|
-
]
|
|
36
|
-
}]
|
|
37
|
-
}] });
|
|
38
|
-
//# sourceMappingURL=calendar.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.module.js","sourceRoot":"","sources":["../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/components/calendar/calendar.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;AACjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAC3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;;AAgBnF,MAAM,OAAO,gBAAgB;;6GAAhB,gBAAgB;8GAAhB,gBAAgB,iBAZzB,mBAAmB,aAGnB,YAAY;QACZ,mBAAmB;QACnB,qBAAqB;QACrB,mBAAmB,aAGnB,mBAAmB;8GAGV,gBAAgB,YAVlB;YACP,YAAY;YACZ,mBAAmB;YACnB,qBAAqB;YACrB,mBAAmB;SACpB;2FAKU,gBAAgB;kBAd5B,QAAQ;mBAAC;oBACR,YAAY,EAAE;wBACZ,mBAAmB;qBACpB;oBACD,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,qBAAqB;wBACrB,mBAAmB;qBACpB;oBACD,OAAO,EAAE;wBACP,mBAAmB;qBACpB;iBACF","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsCalendarComponent } from './calendar.component';\nimport { BsMonthNamePipeModule } from '../../pipes/month-name/month-name.module';\nimport { BsUcFirstPipeModule } from '../../pipes/uc-first/uc-first.module';\nimport { BsWeekdayNameModule } from '../../pipes/weekday-name/weekday-name.module';\n\n@NgModule({\n declarations: [\n BsCalendarComponent\n ],\n imports: [\n CommonModule,\n BsUcFirstPipeModule,\n BsMonthNamePipeModule,\n BsWeekdayNameModule\n ],\n exports: [\n BsCalendarComponent\n ]\n})\nexport class BsCalendarModule { }\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/components/calendar/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC","sourcesContent":["export * from './calendar.module';\nexport * from './calendar.component';"]}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class BsCardComponent {
|
|
4
|
-
constructor() {
|
|
5
|
-
}
|
|
6
|
-
ngOnInit() {
|
|
7
|
-
}
|
|
8
|
-
ngAfterViewInit() {
|
|
9
|
-
// console.log('header', this.header);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
BsCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
-
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"] });
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCardComponent, decorators: [{
|
|
15
|
-
type: Component,
|
|
16
|
-
args: [{
|
|
17
|
-
selector: 'bs-card',
|
|
18
|
-
templateUrl: './card.component.html',
|
|
19
|
-
styleUrls: ['./card.component.scss']
|
|
20
|
-
}]
|
|
21
|
-
}], ctorParameters: function () { return []; } });
|
|
22
|
-
//# sourceMappingURL=card.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"card.component.js","sourceRoot":"","sources":["../../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/components/card/card/card.component.ts","../../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/components/card/card/card.component.html"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAU,MAAM,eAAe,CAAC;;AAQlD,MAAM,OAAO,eAAe;IAE1B;IACA,CAAC;IAED,QAAQ;IACR,CAAC;IAED,eAAe;QACb,sCAAsC;IACxC,CAAC;;4GAVU,eAAe;gGAAf,eAAe,+CCT5B,8LAKM;2FDIO,eAAe;kBAL3B,SAAS;mBAAC;oBACT,QAAQ,EAAE,SAAS;oBACnB,WAAW,EAAE,uBAAuB;oBACpC,SAAS,EAAE,CAAC,uBAAuB,CAAC;iBACrC","sourcesContent":["import { AfterViewInit, ContentChild } from '@angular/core';\nimport { Component, OnInit } from '@angular/core';\nimport { BsCardHeaderComponent } from '../card-header/card-header.component';\n\n@Component({\n selector: 'bs-card',\n templateUrl: './card.component.html',\n styleUrls: ['./card.component.scss']\n})\nexport class BsCardComponent implements OnInit, AfterViewInit {\n\n constructor() {\n }\n\n ngOnInit() {\n }\n\n ngAfterViewInit() {\n // console.log('header', this.header);\n }\n\n // @ContentChild(CardHeaderComponent) header!: CardHeaderComponent;\n}\n","<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>"]}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class BsCardHeaderComponent {
|
|
4
|
-
constructor() {
|
|
5
|
-
}
|
|
6
|
-
ngOnInit() {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
BsCardHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCardHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10
|
-
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: [""] });
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCardHeaderComponent, decorators: [{
|
|
12
|
-
type: Component,
|
|
13
|
-
args: [{
|
|
14
|
-
selector: 'bs-card-header',
|
|
15
|
-
templateUrl: './card-header.component.html',
|
|
16
|
-
styleUrls: ['./card-header.component.scss']
|
|
17
|
-
}]
|
|
18
|
-
}], ctorParameters: function () { return []; } });
|
|
19
|
-
//# sourceMappingURL=card-header.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"card-header.component.js","sourceRoot":"","sources":["../../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/components/card/card-header/card-header.component.ts","../../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/components/card/card-header/card-header.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,MAAM,eAAe,CAAC;;AAOlD,MAAM,OAAO,qBAAqB;IAEhC;IACA,CAAC;IAED,QAAQ;IACR,CAAC;;kHANU,qBAAqB;sGAArB,qBAAqB,sDCPlC,oEAEM;2FDKO,qBAAqB;kBALjC,SAAS;mBAAC;oBACT,QAAQ,EAAE,gBAAgB;oBAC1B,WAAW,EAAE,8BAA8B;oBAC3C,SAAS,EAAE,CAAC,8BAA8B,CAAC;iBAC5C","sourcesContent":["import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'bs-card-header',\n templateUrl: './card-header.component.html',\n styleUrls: ['./card-header.component.scss']\n})\nexport class BsCardHeaderComponent implements OnInit {\n\n constructor() {\n }\n\n ngOnInit() {\n }\n\n}\n","<div class=\"card-header\">\n <ng-content></ng-content>\n</div>"]}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { BsCardComponent } from './card/card.component';
|
|
4
|
-
import { BsCardHeaderComponent } from './card-header/card-header.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class BsCardModule {
|
|
7
|
-
}
|
|
8
|
-
BsCardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
-
BsCardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCardModule, declarations: [BsCardComponent,
|
|
10
|
-
BsCardHeaderComponent], imports: [CommonModule], exports: [BsCardComponent,
|
|
11
|
-
BsCardHeaderComponent] });
|
|
12
|
-
BsCardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCardModule, imports: [[CommonModule]] });
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCardModule, decorators: [{
|
|
14
|
-
type: NgModule,
|
|
15
|
-
args: [{
|
|
16
|
-
imports: [CommonModule],
|
|
17
|
-
declarations: [
|
|
18
|
-
BsCardComponent,
|
|
19
|
-
BsCardHeaderComponent
|
|
20
|
-
],
|
|
21
|
-
exports: [
|
|
22
|
-
BsCardComponent,
|
|
23
|
-
BsCardHeaderComponent
|
|
24
|
-
]
|
|
25
|
-
}]
|
|
26
|
-
}] });
|
|
27
|
-
//# sourceMappingURL=card.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"card.module.js","sourceRoot":"","sources":["../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/components/card/card.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;;AAa5E,MAAM,OAAO,YAAY;;yGAAZ,YAAY;0GAAZ,YAAY,iBARrB,eAAe;QACf,qBAAqB,aAHb,YAAY,aAMpB,eAAe;QACf,qBAAqB;0GAGZ,YAAY,YAVd,CAAC,YAAY,CAAC;2FAUZ,YAAY;kBAXxB,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE;wBACZ,eAAe;wBACf,qBAAqB;qBACtB;oBACD,OAAO,EAAE;wBACP,eAAe;wBACf,qBAAqB;qBACtB;iBACF","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsCardComponent } from './card/card.component';\nimport { BsCardHeaderComponent } from './card-header/card-header.component';\n\n@NgModule({\n imports: [CommonModule],\n declarations: [\n BsCardComponent,\n BsCardHeaderComponent\n ],\n exports: [\n BsCardComponent,\n BsCardHeaderComponent\n ]\n})\nexport class BsCardModule {}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/components/card/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,qCAAqC,CAAC","sourcesContent":["export * from './card.module';\nexport * from './card/card.component';\nexport * from './card-header/card-header.component';"]}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { Component, ContentChildren, ElementRef, QueryList } from '@angular/core';
|
|
2
|
-
import { FadeInOutAnimation, CarouselSlideAnimation } from '@mintplayer/ng-animations';
|
|
3
|
-
import { BehaviorSubject, Subject } from 'rxjs';
|
|
4
|
-
import { map, take, takeUntil } from 'rxjs/operators';
|
|
5
|
-
import { BsCarouselImageDirective } from '../carousel-image/carousel-image.directive';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "@angular/common";
|
|
8
|
-
export class BsCarouselComponent {
|
|
9
|
-
constructor() {
|
|
10
|
-
this.destroyed$ = new Subject();
|
|
11
|
-
this.currentImageIndex$ = new BehaviorSubject(-1);
|
|
12
|
-
this.currentImage$ = this.currentImageIndex$
|
|
13
|
-
.pipe(map((index) => { var _a; return (_a = this.images.get(index)) !== null && _a !== void 0 ? _a : null; }))
|
|
14
|
-
.pipe(takeUntil(this.destroyed$));
|
|
15
|
-
}
|
|
16
|
-
ngOnInit() { }
|
|
17
|
-
ngOnDestroy() {
|
|
18
|
-
this.destroyed$.next(true);
|
|
19
|
-
}
|
|
20
|
-
ngAfterContentInit() {
|
|
21
|
-
if (this.images.length > 0) {
|
|
22
|
-
this.currentImageIndex$.next(0);
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
this.currentImageIndex$.next(-1);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
previousImage() {
|
|
29
|
-
this.currentImageIndex$
|
|
30
|
-
.pipe(take(1))
|
|
31
|
-
.subscribe((currentImageIndex) => {
|
|
32
|
-
if (currentImageIndex === 0) {
|
|
33
|
-
this.currentImageIndex$.next(this.images.length - 1);
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
this.currentImageIndex$.next(currentImageIndex - 1);
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
nextImage() {
|
|
41
|
-
this.currentImageIndex$
|
|
42
|
-
.pipe(take(1))
|
|
43
|
-
.subscribe((currentImageIndex) => {
|
|
44
|
-
if (currentImageIndex >= this.images.length - 1) {
|
|
45
|
-
this.currentImageIndex$.next(0);
|
|
46
|
-
}
|
|
47
|
-
else {
|
|
48
|
-
this.currentImageIndex$.next(currentImageIndex + 1);
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
setCurrentImage(index) {
|
|
53
|
-
this.currentImageIndex$.next(index);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
BsCarouselComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCarouselComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
57
|
-
BsCarouselComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.0", type: BsCarouselComponent, selector: "bs-carousel", queries: [{ propertyName: "images", predicate: BsCarouselImageDirective, read: ElementRef }], ngImport: i0, template: "<div class=\"carousel slide\">\n <div class=\"carousel-indicators\">\n <button *ngFor=\"let image of images; let i = index\" type=\"button\" (click)=\"setCurrentImage(i)\" data-bs-target\n [class.active]=\"(currentImageIndex$ | async) === i\"\n [attr.aria-current]=\"(currentImageIndex$ | async) === i ? true : null\"\n [attr.aria-label]=\"'Slide ' + i\"></button>\n </div>\n <div class=\"carousel-inner\" [@carouselSlide]=\"currentImageIndex$ | async\">\n <ng-container *ngFor=\"let image of images; let i = index\">\n <!-- @fadeInOut -->\n <div class=\"carousel-item\" [class.active]=\"true\" *ngIf=\"(currentImageIndex$ | async) === i\">\n <img [src]=\"image.nativeElement.src\" class=\"d-block\" [attr.alt]=\"image.nativeElement.alt\" [class.w-100]=\"true\">\n </div>\n </ng-container>\n </div>\n <button class=\"carousel-control-prev\" type=\"button\" (click)=\"previousImage()\">\n <span class=\"carousel-control-prev-icon\" aria-hidden=\"true\"></span>\n <span class=\"visually-hidden\">Previous</span>\n </button>\n <button class=\"carousel-control-next\" type=\"button\" (click)=\"nextImage()\">\n <span class=\"carousel-control-next-icon\" aria-hidden=\"true\"></span>\n <span class=\"visually-hidden\">Next</span>\n </button>\n</div>", styles: [""], 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] });
|
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCarouselComponent, decorators: [{
|
|
59
|
-
type: Component,
|
|
60
|
-
args: [{
|
|
61
|
-
selector: 'bs-carousel',
|
|
62
|
-
templateUrl: './carousel.component.html',
|
|
63
|
-
styleUrls: ['./carousel.component.scss'],
|
|
64
|
-
animations: [FadeInOutAnimation, CarouselSlideAnimation]
|
|
65
|
-
}]
|
|
66
|
-
}], ctorParameters: function () { return []; }, propDecorators: { images: [{
|
|
67
|
-
type: ContentChildren,
|
|
68
|
-
args: [BsCarouselImageDirective, { read: ElementRef }]
|
|
69
|
-
}] } });
|
|
70
|
-
//# sourceMappingURL=carousel.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"carousel.component.js","sourceRoot":"","sources":["../../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/components/carousel/carousel/carousel.component.ts","../../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/components/carousel/carousel/carousel.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAoB,SAAS,EAAE,eAAe,EAAE,UAAU,EAAqB,SAAS,EAAE,MAAM,eAAe,CAAC;AACvH,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACvF,OAAO,EAAE,eAAe,EAAc,OAAO,EAAE,MAAM,MAAM,CAAC;AAC5D,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;;;AAQtF,MAAM,OAAO,mBAAmB;IAE9B;QAoBA,eAAU,GAAG,IAAI,OAAO,EAAE,CAAC;QAC3B,uBAAkB,GAAG,IAAI,eAAe,CAAS,CAAC,CAAC,CAAC,CAAC;QApBnD,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,kBAAkB;aACzC,IAAI,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,WAAC,OAAA,MAAA,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,mCAAI,IAAI,CAAA,EAAA,CAAC,CAAC;aACpD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;IACtC,CAAC;IAED,QAAQ,KAAW,CAAC;IAEpB,WAAW;QACT,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7B,CAAC;IAED,kBAAkB;QAChB,IAAI,IAAI,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE;YAC1B,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;SACjC;aAAM;YACL,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;SAClC;IACH,CAAC;IAMD,aAAa;QACX,IAAI,CAAC,kBAAkB;aACpB,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;aACb,SAAS,CAAC,CAAC,iBAAiB,EAAE,EAAE;YAC/B,IAAI,iBAAiB,KAAK,CAAC,EAAE;gBAC3B,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;aACtD;iBAAM;gBACL,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,iBAAiB,GAAG,CAAC,CAAC,CAAC;aACrD;QACH,CAAC,CAAC,CAAC;IACP,CAAC;IAED,SAAS;QACP,IAAI,CAAC,kBAAkB;aACpB,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;aACb,SAAS,CAAC,CAAC,iBAAiB,EAAE,EAAE;YAC/B,IAAI,iBAAiB,IAAI,IAAI,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE;gBAC/C,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;aACjC;iBAAM;gBACL,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,iBAAiB,GAAG,CAAC,CAAC,CAAC;aACrD;QACH,CAAC,CAAC,CAAC;IACP,CAAC;IAED,eAAe,CAAC,KAAa;QAC3B,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACtC,CAAC;;gHApDU,mBAAmB;oGAAnB,mBAAmB,0EAsDb,wBAAwB,QAAU,UAAU,6BClE/D,w3CAuBM,uQDbQ,CAAC,kBAAkB,EAAE,sBAAsB,CAAC;2FAE7C,mBAAmB;kBAN/B,SAAS;mBAAC;oBACT,QAAQ,EAAE,aAAa;oBACvB,WAAW,EAAE,2BAA2B;oBACxC,SAAS,EAAE,CAAC,2BAA2B,CAAC;oBACxC,UAAU,EAAE,CAAC,kBAAkB,EAAE,sBAAsB,CAAC;iBACzD;0EAuDkE,MAAM;sBAAtE,eAAe;uBAAC,wBAAwB,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE","sourcesContent":["import { AfterContentInit, Component, ContentChildren, ElementRef, OnDestroy, OnInit, QueryList } from '@angular/core';\nimport { FadeInOutAnimation, CarouselSlideAnimation } from '@mintplayer/ng-animations';\nimport { BehaviorSubject, Observable, Subject } from 'rxjs';\nimport { map, take, takeUntil } from 'rxjs/operators';\nimport { BsCarouselImageDirective } from '../carousel-image/carousel-image.directive';\n\n@Component({\n selector: 'bs-carousel',\n templateUrl: './carousel.component.html',\n styleUrls: ['./carousel.component.scss'],\n animations: [FadeInOutAnimation, CarouselSlideAnimation]\n})\nexport class BsCarouselComponent implements OnInit, OnDestroy, AfterContentInit {\n\n constructor() {\n this.currentImage$ = this.currentImageIndex$\n .pipe(map((index) => this.images.get(index) ?? null))\n .pipe(takeUntil(this.destroyed$));\n }\n\n ngOnInit(): void { }\n\n ngOnDestroy() {\n this.destroyed$.next(true);\n }\n\n ngAfterContentInit() {\n if (this.images.length > 0) {\n this.currentImageIndex$.next(0);\n } else {\n this.currentImageIndex$.next(-1);\n }\n }\n\n destroyed$ = new Subject();\n currentImageIndex$ = new BehaviorSubject<number>(-1);\n currentImage$: Observable<ElementRef<HTMLImageElement> | null>;\n\n previousImage() {\n this.currentImageIndex$\n .pipe(take(1))\n .subscribe((currentImageIndex) => {\n if (currentImageIndex === 0) {\n this.currentImageIndex$.next(this.images.length - 1);\n } else {\n this.currentImageIndex$.next(currentImageIndex - 1);\n }\n });\n }\n\n nextImage() {\n this.currentImageIndex$\n .pipe(take(1))\n .subscribe((currentImageIndex) => {\n if (currentImageIndex >= this.images.length - 1) {\n this.currentImageIndex$.next(0);\n } else {\n this.currentImageIndex$.next(currentImageIndex + 1);\n }\n });\n }\n\n setCurrentImage(index: number) {\n this.currentImageIndex$.next(index);\n }\n\n @ContentChildren(BsCarouselImageDirective, { read: ElementRef }) images!: QueryList<ElementRef<HTMLImageElement>>;\n\n}\n","<div class=\"carousel slide\">\n <div class=\"carousel-indicators\">\n <button *ngFor=\"let image of images; let i = index\" type=\"button\" (click)=\"setCurrentImage(i)\" data-bs-target\n [class.active]=\"(currentImageIndex$ | async) === i\"\n [attr.aria-current]=\"(currentImageIndex$ | async) === i ? true : null\"\n [attr.aria-label]=\"'Slide ' + i\"></button>\n </div>\n <div class=\"carousel-inner\" [@carouselSlide]=\"currentImageIndex$ | async\">\n <ng-container *ngFor=\"let image of images; let i = index\">\n <!-- @fadeInOut -->\n <div class=\"carousel-item\" [class.active]=\"true\" *ngIf=\"(currentImageIndex$ | async) === i\">\n <img [src]=\"image.nativeElement.src\" class=\"d-block\" [attr.alt]=\"image.nativeElement.alt\" [class.w-100]=\"true\">\n </div>\n </ng-container>\n </div>\n <button class=\"carousel-control-prev\" type=\"button\" (click)=\"previousImage()\">\n <span class=\"carousel-control-prev-icon\" aria-hidden=\"true\"></span>\n <span class=\"visually-hidden\">Previous</span>\n </button>\n <button class=\"carousel-control-next\" type=\"button\" (click)=\"nextImage()\">\n <span class=\"carousel-control-next-icon\" aria-hidden=\"true\"></span>\n <span class=\"visually-hidden\">Next</span>\n </button>\n</div>"]}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Directive } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class BsCarouselImageDirective {
|
|
4
|
-
constructor() { }
|
|
5
|
-
}
|
|
6
|
-
BsCarouselImageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCarouselImageDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7
|
-
BsCarouselImageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.0", type: BsCarouselImageDirective, selector: "img[bsCarouselImage]", ngImport: i0 });
|
|
8
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCarouselImageDirective, decorators: [{
|
|
9
|
-
type: Directive,
|
|
10
|
-
args: [{
|
|
11
|
-
selector: 'img[bsCarouselImage]'
|
|
12
|
-
}]
|
|
13
|
-
}], ctorParameters: function () { return []; } });
|
|
14
|
-
//# sourceMappingURL=carousel-image.directive.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"carousel-image.directive.js","sourceRoot":"","sources":["../../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/components/carousel/carousel-image/carousel-image.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;;AAK1C,MAAM,OAAO,wBAAwB;IAEnC,gBAAgB,CAAC;;qHAFN,wBAAwB;yGAAxB,wBAAwB;2FAAxB,wBAAwB;kBAHpC,SAAS;mBAAC;oBACT,QAAQ,EAAE,sBAAsB;iBACjC","sourcesContent":["import { Directive } from '@angular/core';\n\n@Directive({\n selector: 'img[bsCarouselImage]'\n})\nexport class BsCarouselImageDirective {\n\n constructor() { }\n\n}\n"]}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { BsCarouselComponent } from './carousel/carousel.component';
|
|
4
|
-
import { BsCarouselImageDirective } from './carousel-image/carousel-image.directive';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class BsCarouselModule {
|
|
7
|
-
}
|
|
8
|
-
BsCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
-
BsCarouselModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCarouselModule, declarations: [BsCarouselComponent,
|
|
10
|
-
BsCarouselImageDirective], imports: [CommonModule], exports: [BsCarouselComponent,
|
|
11
|
-
BsCarouselImageDirective] });
|
|
12
|
-
BsCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCarouselModule, imports: [[
|
|
13
|
-
CommonModule
|
|
14
|
-
]] });
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCarouselModule, decorators: [{
|
|
16
|
-
type: NgModule,
|
|
17
|
-
args: [{
|
|
18
|
-
declarations: [
|
|
19
|
-
BsCarouselComponent,
|
|
20
|
-
BsCarouselImageDirective
|
|
21
|
-
],
|
|
22
|
-
imports: [
|
|
23
|
-
CommonModule
|
|
24
|
-
],
|
|
25
|
-
exports: [
|
|
26
|
-
BsCarouselComponent,
|
|
27
|
-
BsCarouselImageDirective
|
|
28
|
-
]
|
|
29
|
-
}]
|
|
30
|
-
}] });
|
|
31
|
-
//# sourceMappingURL=carousel.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"carousel.module.js","sourceRoot":"","sources":["../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/components/carousel/carousel.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;;AAerF,MAAM,OAAO,gBAAgB;;6GAAhB,gBAAgB;8GAAhB,gBAAgB,iBAXzB,mBAAmB;QACnB,wBAAwB,aAGxB,YAAY,aAGZ,mBAAmB;QACnB,wBAAwB;8GAGf,gBAAgB,YARlB;YACP,YAAY;SACb;2FAMU,gBAAgB;kBAb5B,QAAQ;mBAAC;oBACR,YAAY,EAAE;wBACZ,mBAAmB;wBACnB,wBAAwB;qBACzB;oBACD,OAAO,EAAE;wBACP,YAAY;qBACb;oBACD,OAAO,EAAE;wBACP,mBAAmB;wBACnB,wBAAwB;qBACzB;iBACF","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsCarouselComponent } from './carousel/carousel.component';\nimport { BsCarouselImageDirective } from './carousel-image/carousel-image.directive';\n\n@NgModule({\n declarations: [\n BsCarouselComponent,\n BsCarouselImageDirective\n ],\n imports: [\n CommonModule\n ],\n exports: [\n BsCarouselComponent,\n BsCarouselImageDirective\n ]\n})\nexport class BsCarouselModule { }\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/components/carousel/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,mBAAmB,CAAC","sourcesContent":["export * from './carousel/carousel.component';\nexport * from './carousel-image/carousel-image.directive';\nexport * from './carousel.module';"]}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './alert';
|
|
2
|
-
export * from './card';
|
|
3
|
-
export * from './calendar';
|
|
4
|
-
export * from './carousel';
|
|
5
|
-
export * from './list-group';
|
|
6
|
-
export * from './navbar';
|
|
7
|
-
export * from './accordion';
|
|
8
|
-
export * from './tab-control';
|
|
9
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/mintplayer-ng-bootstrap/src/lib/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC","sourcesContent":["export * from './alert';\nexport * from './card';\nexport * from './calendar';\nexport * from './carousel';\nexport * from './list-group';\nexport * from './navbar';\nexport * from './accordion';\nexport * from './tab-control';"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/components/list-group/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,mCAAmC,CAAC;AAClD,cAAc,6CAA6C,CAAC","sourcesContent":["export * from './list-group.module';\nexport * from './list-group/list-group.component';\nexport * from './list-group-item/list-group-item.component';"]}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Component, ContentChildren, QueryList } from '@angular/core';
|
|
2
|
-
import { BsListGroupItemComponent } from '../list-group-item/list-group-item.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class BsListGroupComponent {
|
|
5
|
-
constructor() {
|
|
6
|
-
}
|
|
7
|
-
ngOnInit() {
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
BsListGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsListGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
-
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: [""] });
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsListGroupComponent, decorators: [{
|
|
13
|
-
type: Component,
|
|
14
|
-
args: [{
|
|
15
|
-
selector: 'bs-list-group',
|
|
16
|
-
templateUrl: './list-group.component.html',
|
|
17
|
-
styleUrls: ['./list-group.component.scss']
|
|
18
|
-
}]
|
|
19
|
-
}], ctorParameters: function () { return []; }, propDecorators: { items: [{
|
|
20
|
-
type: ContentChildren,
|
|
21
|
-
args: [BsListGroupItemComponent]
|
|
22
|
-
}] } });
|
|
23
|
-
//# sourceMappingURL=list-group.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list-group.component.js","sourceRoot":"","sources":["../../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/components/list-group/list-group/list-group.component.ts","../../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/components/list-group/list-group/list-group.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,eAAe,EAAU,SAAS,EAAE,MAAM,eAAe,CAAC;AAC9E,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;;AAOxF,MAAM,OAAO,oBAAoB;IAE/B;IACA,CAAC;IAED,QAAQ;IACR,CAAC;;iHANU,oBAAoB;qGAApB,oBAAoB,2EAQd,wBAAwB,6BChB3C,sEAEK;2FDMQ,oBAAoB;kBALhC,SAAS;mBAAC;oBACT,QAAQ,EAAE,eAAe;oBACzB,WAAW,EAAE,6BAA6B;oBAC1C,SAAS,EAAE,CAAC,6BAA6B,CAAC;iBAC3C;0EAS4C,KAAK;sBAA/C,eAAe;uBAAC,wBAAwB","sourcesContent":["import { Component, ContentChildren, OnInit, QueryList } from '@angular/core';\nimport { BsListGroupItemComponent } from '../list-group-item/list-group-item.component';\n\n@Component({\n selector: 'bs-list-group',\n templateUrl: './list-group.component.html',\n styleUrls: ['./list-group.component.scss']\n})\nexport class BsListGroupComponent implements OnInit {\n\n constructor() {\n }\n\n ngOnInit() {\n }\n\n @ContentChildren(BsListGroupItemComponent) items!: QueryList<BsListGroupItemComponent>;\n\n}\n","<ul class=\"list-group mt-0\">\n <ng-content></ng-content>\n</ul>"]}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class BsListGroupItemComponent {
|
|
4
|
-
constructor() {
|
|
5
|
-
}
|
|
6
|
-
ngOnInit() {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
BsListGroupItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsListGroupItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10
|
-
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"] });
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsListGroupItemComponent, decorators: [{
|
|
12
|
-
type: Component,
|
|
13
|
-
args: [{
|
|
14
|
-
selector: 'bs-list-group-item',
|
|
15
|
-
templateUrl: './list-group-item.component.html',
|
|
16
|
-
styleUrls: ['./list-group-item.component.scss']
|
|
17
|
-
}]
|
|
18
|
-
}], ctorParameters: function () { return []; } });
|
|
19
|
-
//# sourceMappingURL=list-group-item.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list-group-item.component.js","sourceRoot":"","sources":["../../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/components/list-group/list-group-item/list-group-item.component.ts","../../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/components/list-group/list-group-item/list-group-item.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,MAAM,eAAe,CAAC;;AAOlD,MAAM,OAAO,wBAAwB;IAEnC;IACA,CAAC;IAED,QAAQ;IACR,CAAC;;qHANU,wBAAwB;yGAAxB,wBAAwB,0DCPrC,sEAEK;2FDKQ,wBAAwB;kBALpC,SAAS;mBAAC;oBACT,QAAQ,EAAE,oBAAoB;oBAC9B,WAAW,EAAE,kCAAkC;oBAC/C,SAAS,EAAE,CAAC,kCAAkC,CAAC;iBAChD","sourcesContent":["import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'bs-list-group-item',\n templateUrl: './list-group-item.component.html',\n styleUrls: ['./list-group-item.component.scss']\n})\nexport class BsListGroupItemComponent implements OnInit {\n\n constructor() {\n }\n\n ngOnInit() {\n }\n\n}\n","<li class=\"list-group-item\">\n <ng-content></ng-content>\n</li>"]}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { BsListGroupComponent } from './list-group/list-group.component';
|
|
4
|
-
import { BsListGroupItemComponent } from './list-group-item/list-group-item.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class BsListGroupModule {
|
|
7
|
-
}
|
|
8
|
-
BsListGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsListGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
-
BsListGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsListGroupModule, declarations: [BsListGroupComponent,
|
|
10
|
-
BsListGroupItemComponent], imports: [CommonModule], exports: [BsListGroupComponent,
|
|
11
|
-
BsListGroupItemComponent] });
|
|
12
|
-
BsListGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsListGroupModule, imports: [[CommonModule]] });
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsListGroupModule, decorators: [{
|
|
14
|
-
type: NgModule,
|
|
15
|
-
args: [{
|
|
16
|
-
imports: [CommonModule],
|
|
17
|
-
declarations: [
|
|
18
|
-
BsListGroupComponent,
|
|
19
|
-
BsListGroupItemComponent
|
|
20
|
-
],
|
|
21
|
-
exports: [
|
|
22
|
-
BsListGroupComponent,
|
|
23
|
-
BsListGroupItemComponent
|
|
24
|
-
]
|
|
25
|
-
}]
|
|
26
|
-
}] });
|
|
27
|
-
//# sourceMappingURL=list-group.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list-group.module.js","sourceRoot":"","sources":["../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/components/list-group/list-group.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,6CAA6C,CAAC;;AAavF,MAAM,OAAO,iBAAiB;;8GAAjB,iBAAiB;+GAAjB,iBAAiB,iBARxB,oBAAoB;QACpB,wBAAwB,aAHlB,YAAY,aAMpB,oBAAoB;QACpB,wBAAwB;+GAGf,iBAAiB,YAVnB,CAAC,YAAY,CAAC;2FAUZ,iBAAiB;kBAX7B,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE;wBACV,oBAAoB;wBACpB,wBAAwB;qBAC3B;oBACD,OAAO,EAAE;wBACP,oBAAoB;wBACpB,wBAAwB;qBACzB;iBACF","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsListGroupComponent } from './list-group/list-group.component';\nimport { BsListGroupItemComponent } from './list-group-item/list-group-item.component';\n\n@NgModule({\n imports: [CommonModule],\n declarations: [\n BsListGroupComponent,\n BsListGroupItemComponent\n ],\n exports: [\n BsListGroupComponent,\n BsListGroupItemComponent\n ]\n})\nexport class BsListGroupModule {}\n"]}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { ContentChildren, Directive, ElementRef, forwardRef, Inject, Optional } from '@angular/core';
|
|
2
|
-
import { BsNavbarItemComponent } from '../navbar-item/navbar-item.component';
|
|
3
|
-
import { BsNavbarDropdownComponent } from '../navbar-dropdown/navbar-dropdown.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../navbar-item/navbar-item.component";
|
|
6
|
-
import * as i2 from "../navbar-dropdown/navbar-dropdown.component";
|
|
7
|
-
export class DropdownToggleDirective {
|
|
8
|
-
constructor(elementRef, bsNavbarItem, parentDropdown) {
|
|
9
|
-
this.elementRef = elementRef;
|
|
10
|
-
this.bsNavbarItem = bsNavbarItem;
|
|
11
|
-
}
|
|
12
|
-
ngAfterContentInit() {
|
|
13
|
-
if (this.bsNavbarItem.dropdowns.length > 0) {
|
|
14
|
-
this.bsNavbarItem.hasDropdown = true;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
DropdownToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: DropdownToggleDirective, deps: [{ token: i0.ElementRef }, { token: forwardRef(() => BsNavbarItemComponent) }, { token: forwardRef(() => BsNavbarDropdownComponent), optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
19
|
-
DropdownToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.0", type: DropdownToggleDirective, selector: "bs-navbar-item", queries: [{ propertyName: "childDropdowns", predicate: BsNavbarDropdownComponent }], ngImport: i0 });
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: DropdownToggleDirective, decorators: [{
|
|
21
|
-
type: Directive,
|
|
22
|
-
args: [{
|
|
23
|
-
// selector: 'bs-navbar-item > a[routerLink]',
|
|
24
|
-
selector: 'bs-navbar-item',
|
|
25
|
-
queries: {
|
|
26
|
-
childDropdowns: new ContentChildren(BsNavbarDropdownComponent)
|
|
27
|
-
}
|
|
28
|
-
}]
|
|
29
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.BsNavbarItemComponent, decorators: [{
|
|
30
|
-
type: Inject,
|
|
31
|
-
args: [forwardRef(() => BsNavbarItemComponent)]
|
|
32
|
-
}] }, { type: i2.BsNavbarDropdownComponent, decorators: [{
|
|
33
|
-
type: Optional
|
|
34
|
-
}, {
|
|
35
|
-
type: Inject,
|
|
36
|
-
args: [forwardRef(() => BsNavbarDropdownComponent)]
|
|
37
|
-
}] }]; } });
|
|
38
|
-
//# sourceMappingURL=dropdown-toggle.directive.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-toggle.directive.js","sourceRoot":"","sources":["../../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/components/navbar/dropdown-toggle/dropdown-toggle.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+B,eAAe,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAa,MAAM,eAAe,CAAC;AAC7I,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,yBAAyB,EAAE,MAAM,8CAA8C,CAAC;;;;AASzF,MAAM,OAAO,uBAAuB;IAElC,YACU,UAAyC,EACQ,YAAmC,EAC3B,cAAyC;QAFlG,eAAU,GAAV,UAAU,CAA+B;QACQ,iBAAY,GAAZ,YAAY,CAAuB;IAG9F,CAAC;IAID,kBAAkB;QAChB,IAAI,IAAI,CAAC,YAAY,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,EAAE;YAC1C,IAAI,CAAC,YAAY,CAAC,WAAW,GAAG,IAAI,CAAC;SACtC;IACH,CAAC;;oHAfU,uBAAuB,4CAIxB,UAAU,CAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC,aAC3B,UAAU,CAAC,GAAG,EAAE,CAAC,yBAAyB,CAAC;wGALtD,uBAAuB,qFAHI,yBAAyB;2FAGpD,uBAAuB;kBAPnC,SAAS;mBAAC;oBACT,8CAA8C;oBAC9C,QAAQ,EAAE,gBAAgB;oBAC1B,OAAO,EAAE;wBACP,cAAc,EAAE,IAAI,eAAe,CAAC,yBAAyB,CAAC;qBAC/D;iBACF;;0BAKI,MAAM;2BAAC,UAAU,CAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC;;0BAC9C,QAAQ;;0BAAI,MAAM;2BAAC,UAAU,CAAC,GAAG,EAAE,CAAC,yBAAyB,CAAC","sourcesContent":["import { AfterContentInit, Component, ContentChildren, Directive, ElementRef, forwardRef, Inject, Optional, QueryList } from '@angular/core';\nimport { BsNavbarItemComponent } from '../navbar-item/navbar-item.component';\nimport { BsNavbarDropdownComponent } from '../navbar-dropdown/navbar-dropdown.component';\n\n@Directive({\n // selector: 'bs-navbar-item > a[routerLink]',\n selector: 'bs-navbar-item',\n queries: {\n childDropdowns: new ContentChildren(BsNavbarDropdownComponent)\n }\n})\nexport class DropdownToggleDirective implements AfterContentInit {\n\n constructor(\n private elementRef: ElementRef<HTMLAnchorElement>,\n @Inject(forwardRef(() => BsNavbarItemComponent)) private bsNavbarItem: BsNavbarItemComponent,\n @Optional() @Inject(forwardRef(() => BsNavbarDropdownComponent)) parentDropdown: BsNavbarDropdownComponent\n ) {\n }\n\n childDropdowns!: QueryList<BsNavbarDropdownComponent>;\n\n ngAfterContentInit() {\n if (this.bsNavbarItem.dropdowns.length > 0) {\n this.bsNavbarItem.hasDropdown = true;\n }\n }\n}"]}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from './navbar.module';
|
|
2
|
-
export * from './navbar/navbar.component';
|
|
3
|
-
export * from './navbar-nav/navbar-nav.component';
|
|
4
|
-
export * from './navbar-dropdown/navbar-dropdown.component';
|
|
5
|
-
export * from './navbar-item/navbar-item.component';
|
|
6
|
-
export * from './navbar-content/navbar-content.directive';
|
|
7
|
-
// Not for end-use
|
|
8
|
-
export * from './dropdown-toggle/dropdown-toggle.directive';
|
|
9
|
-
export * from './nav-link/nav-link.directive';
|
|
10
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/components/navbar/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,qCAAqC,CAAC;AACpD,cAAc,2CAA2C,CAAC;AAE1D,kBAAkB;AAClB,cAAc,6CAA6C,CAAC;AAC5D,cAAc,+BAA+B,CAAC","sourcesContent":["export * from './navbar.module';\nexport * from './navbar/navbar.component';\nexport * from './navbar-nav/navbar-nav.component';\nexport * from './navbar-dropdown/navbar-dropdown.component';\nexport * from './navbar-item/navbar-item.component';\nexport * from './navbar-content/navbar-content.directive';\n\n// Not for end-use\nexport * from './dropdown-toggle/dropdown-toggle.directive';\nexport * from './nav-link/nav-link.directive';"]}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Directive, ElementRef, forwardRef, Inject, Optional } from '@angular/core';
|
|
2
|
-
import { BsNavbarDropdownComponent } from '../navbar-dropdown/navbar-dropdown.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../navbar-dropdown/navbar-dropdown.component";
|
|
5
|
-
export class NavLinkDirective {
|
|
6
|
-
constructor(elementRef, parentDropdown) {
|
|
7
|
-
this.elementRef = elementRef;
|
|
8
|
-
if (parentDropdown == null) {
|
|
9
|
-
this.elementRef.nativeElement.classList.add('nav-link');
|
|
10
|
-
}
|
|
11
|
-
else {
|
|
12
|
-
this.elementRef.nativeElement.classList.add('dropdown-item');
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
NavLinkDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: NavLinkDirective, deps: [{ token: i0.ElementRef }, { token: forwardRef(() => BsNavbarDropdownComponent), optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
17
|
-
NavLinkDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.0", type: NavLinkDirective, selector: "bs-navbar-item > a[routerLink]", ngImport: i0 });
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: NavLinkDirective, decorators: [{
|
|
19
|
-
type: Directive,
|
|
20
|
-
args: [{
|
|
21
|
-
selector: 'bs-navbar-item > a[routerLink]'
|
|
22
|
-
}]
|
|
23
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.BsNavbarDropdownComponent, decorators: [{
|
|
24
|
-
type: Optional
|
|
25
|
-
}, {
|
|
26
|
-
type: Inject,
|
|
27
|
-
args: [forwardRef(() => BsNavbarDropdownComponent)]
|
|
28
|
-
}] }]; } });
|
|
29
|
-
//# sourceMappingURL=nav-link.directive.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nav-link.directive.js","sourceRoot":"","sources":["../../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/components/navbar/nav-link/nav-link.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC/F,OAAO,EAAE,yBAAyB,EAAE,MAAM,8CAA8C,CAAC;;;AAKzF,MAAM,OAAO,gBAAgB;IAE3B,YACU,UAAyC,EACgB,cAAyC;QADlG,eAAU,GAAV,UAAU,CAA+B;QAGjD,IAAI,cAAc,IAAI,IAAI,EAAE;YAC1B,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;SACzD;aAAM;YACL,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;SAC9D;IACH,CAAC;;6GAXU,gBAAgB,4CAIL,UAAU,CAAC,GAAG,EAAE,CAAC,yBAAyB,CAAC;iGAJtD,gBAAgB;2FAAhB,gBAAgB;kBAH5B,SAAS;mBAAC;oBACT,QAAQ,EAAE,gCAAgC;iBAC3C;;0BAKI,QAAQ;;0BAAI,MAAM;2BAAC,UAAU,CAAC,GAAG,EAAE,CAAC,yBAAyB,CAAC","sourcesContent":["import { Component, Directive, ElementRef, forwardRef, Inject, Optional } from '@angular/core';\nimport { BsNavbarDropdownComponent } from '../navbar-dropdown/navbar-dropdown.component';\n\n@Directive({\n selector: 'bs-navbar-item > a[routerLink]'\n})\nexport class NavLinkDirective {\n\n constructor(\n private elementRef: ElementRef<HTMLAnchorElement>,\n @Optional() @Inject(forwardRef(() => BsNavbarDropdownComponent)) parentDropdown: BsNavbarDropdownComponent\n ) {\n if (parentDropdown == null) {\n this.elementRef.nativeElement.classList.add('nav-link');\n } else {\n this.elementRef.nativeElement.classList.add('dropdown-item');\n }\n }\n\n}"]}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Component, ElementRef, ViewChild } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class BsNavbarComponent {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.isExpanded = false;
|
|
6
|
-
}
|
|
7
|
-
toggleExpanded() {
|
|
8
|
-
this.isExpanded = !this.isExpanded;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
BsNavbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsNavbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
12
|
-
BsNavbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.0", type: BsNavbarComponent, selector: "bs-navbar", viewQueries: [{ propertyName: "nav", first: true, predicate: ["nav"], descendants: true }], ngImport: i0, template: "<nav #nav class=\"navbar navbar-expand-md position-fixed navbar-dark bg-dark\">\n <div class=\"container-fluid\">\n <div class=\"d-flex w-100 w-md-auto\">\n <a class=\"navbar-brand mx-auto mx-md-unset\" href=\"#\">Navbar 2</a>\n <button (click)=\"toggleExpanded()\" class=\"navbar-toggler align-self-end\" type=\"button\" data-toggle=\"collapse\">\n <span class=\"navbar-toggler-icon\"></span>\n </button>\n </div>\n <ng-content></ng-content>\n </div>\n</nav>", styles: [":host ::ng-deep+*{padding-top:56px}nav{left:0;top:0;right:0;z-index:1}@media (min-width: 768px){.mx-md-unset{margin-left:0!important;margin-right:0!important}.w-md-auto{width:auto!important}}\n"] });
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsNavbarComponent, decorators: [{
|
|
14
|
-
type: Component,
|
|
15
|
-
args: [{
|
|
16
|
-
selector: 'bs-navbar',
|
|
17
|
-
templateUrl: './navbar.component.html',
|
|
18
|
-
styleUrls: ['./navbar.component.scss'],
|
|
19
|
-
}]
|
|
20
|
-
}], ctorParameters: function () { return []; }, propDecorators: { nav: [{
|
|
21
|
-
type: ViewChild,
|
|
22
|
-
args: ['nav']
|
|
23
|
-
}] } });
|
|
24
|
-
//# sourceMappingURL=navbar.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"navbar.component.js","sourceRoot":"","sources":["../../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/components/navbar/navbar/navbar.component.ts","../../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/components/navbar/navbar/navbar.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;;AAOjE,MAAM,OAAO,iBAAiB;IAE5B;QAGA,eAAU,GAAG,KAAK,CAAC;IAFnB,CAAC;IAGD,cAAc;QACZ,IAAI,CAAC,UAAU,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC;IACrC,CAAC;;8GARU,iBAAiB;kGAAjB,iBAAiB,6ICP9B,whBAUM;2FDHO,iBAAiB;kBAL7B,SAAS;mBAAC;oBACT,QAAQ,EAAE,WAAW;oBACrB,WAAW,EAAE,yBAAyB;oBACtC,SAAS,EAAE,CAAC,yBAAyB,CAAC;iBACvC;0EAWmB,GAAG;sBAApB,SAAS;uBAAC,KAAK","sourcesContent":["import { Component, ElementRef, ViewChild } from '@angular/core';\n\n@Component({\n selector: 'bs-navbar',\n templateUrl: './navbar.component.html',\n styleUrls: ['./navbar.component.scss'],\n})\nexport class BsNavbarComponent {\n\n constructor() {\n }\n\n isExpanded = false;\n toggleExpanded() {\n this.isExpanded = !this.isExpanded;\n }\n\n @ViewChild('nav') nav!: ElementRef;\n}\n","<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>"]}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Directive, ElementRef, Input } from '@angular/core';
|
|
2
|
-
import { BsNavbarComponent } from '../navbar/navbar.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class NavbarContentDirective {
|
|
5
|
-
constructor(element) {
|
|
6
|
-
this.element = element;
|
|
7
|
-
this.initialPadding = 0;
|
|
8
|
-
this.resizeObserver = new ResizeObserver((entries) => {
|
|
9
|
-
let height = entries[0].contentRect.height;
|
|
10
|
-
this.element.nativeElement.style.paddingTop = (this.initialPadding + height) + 'px';
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
ngAfterViewInit() {
|
|
14
|
-
let p = parseInt(this.element.nativeElement.style.paddingTop.replace(/px$/, ''));
|
|
15
|
-
this.initialPadding = isNaN(p) ? 0 : p;
|
|
16
|
-
this.resizeObserver.observe(this.navbar.nav.nativeElement);
|
|
17
|
-
}
|
|
18
|
-
ngOnDestroy() {
|
|
19
|
-
this.resizeObserver.unobserve(this.navbar.nav.nativeElement);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
NavbarContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: NavbarContentDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
23
|
-
NavbarContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.0", type: NavbarContentDirective, selector: "[navbarContent]", inputs: { navbar: ["navbarContent", "navbar"] }, ngImport: i0 });
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: NavbarContentDirective, decorators: [{
|
|
25
|
-
type: Directive,
|
|
26
|
-
args: [{
|
|
27
|
-
selector: '[navbarContent]'
|
|
28
|
-
}]
|
|
29
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { navbar: [{
|
|
30
|
-
type: Input,
|
|
31
|
-
args: ['navbarContent']
|
|
32
|
-
}] } });
|
|
33
|
-
//# sourceMappingURL=navbar-content.directive.js.map
|