@mintplayer/ng-bootstrap 16.0.3 → 16.1.1
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/_bootstrap.scss +1 -0
- package/carousel/src/carousel-image/carousel-image.directive.d.ts +3 -3
- package/code-snippet/src/code-snippet.component.d.ts +2 -3
- package/code-snippet/src/code-snippet.module.d.ts +2 -2
- package/esm2022/accordion/src/accordion/accordion.component.mjs +2 -2
- package/esm2022/alert/src/alert/alert.component.mjs +3 -3
- package/esm2022/badge/src/badge.component.mjs +2 -2
- package/esm2022/breadcrumb/src/breadcrumb/breadcrumb.component.mjs +2 -2
- package/esm2022/button-group/src/button-group/button-group.component.mjs +2 -2
- package/esm2022/calendar/src/calendar.component.mjs +2 -2
- package/esm2022/card/src/card/card.component.mjs +2 -2
- package/esm2022/carousel/src/carousel/carousel.component.mjs +3 -3
- package/esm2022/carousel/src/carousel-image/carousel-image.directive.mjs +7 -10
- package/esm2022/close/src/close.component.mjs +2 -2
- package/esm2022/code-snippet/src/code-snippet.component.mjs +11 -12
- package/esm2022/code-snippet/src/code-snippet.module.mjs +5 -5
- package/esm2022/dropdown-menu/src/dropdown-menu/dropdown-menu.component.mjs +2 -2
- package/esm2022/floating-labels/src/floating-labels/floating-label/floating-label.component.mjs +2 -2
- package/esm2022/form/src/form/form.component.mjs +2 -2
- package/esm2022/grid/src/component/grid.component.mjs +2 -2
- package/esm2022/input-group/src/input-group/input-group.component.mjs +2 -2
- package/esm2022/list-group/src/list-group/list-group.component.mjs +2 -2
- package/esm2022/modal/src/components/modal/modal.component.mjs +3 -3
- package/esm2022/navbar/src/navbar/navbar.component.mjs +2 -2
- package/esm2022/offcanvas/src/components/offcanvas/offcanvas.component.mjs +3 -3
- package/esm2022/pagination/src/component/pagination/pagination.component.mjs +2 -2
- package/esm2022/popover/src/component/popover.component.mjs +3 -3
- package/esm2022/progress-bar/src/progress/progress.component.mjs +2 -2
- package/esm2022/progress-bar/src/progress-bar/progress-bar.component.mjs +2 -2
- package/esm2022/range/src/component/range.component.mjs +2 -2
- package/esm2022/select/src/component/select.component.mjs +2 -2
- package/esm2022/spinner/src/spinner.component.mjs +2 -2
- package/esm2022/tab-control/src/tab-control/tab-control.component.mjs +2 -2
- package/esm2022/table/src/component/table.component.mjs +2 -2
- package/esm2022/toast/src/components/toast/toast.component.mjs +2 -2
- package/esm2022/toast/src/components/toast-container/toast-container.component.mjs +2 -2
- package/esm2022/toggle-button/src/component/toggle-button.component.mjs +2 -2
- package/esm2022/tooltip/src/component/tooltip.component.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +8 -11
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +14 -14
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-form.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-form.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +4 -4
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +4 -4
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-toggle-button.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-toggle-button.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -1
- package/package.json +2 -8
- package/esm2022/snackbar/index.mjs +0 -2
- package/esm2022/snackbar/mintplayer-ng-bootstrap-snackbar.mjs +0 -5
- package/esm2022/snackbar/src/component/snackbar.component.mjs +0 -37
- package/esm2022/snackbar/src/directives/index.mjs +0 -2
- package/esm2022/snackbar/src/directives/snackbar-close/snackbar-close.directive.mjs +0 -28
- package/esm2022/snackbar/src/index.mjs +0 -6
- package/esm2022/snackbar/src/interfaces/index.mjs +0 -2
- package/esm2022/snackbar/src/interfaces/snackbar-animation-meta.mjs +0 -2
- package/esm2022/snackbar/src/providers/snackbar-content.provider.mjs +0 -3
- package/esm2022/snackbar/src/service/snackbar.service.mjs +0 -46
- package/esm2022/snackbar/src/snackbar.module.mjs +0 -44
- package/fesm2022/mintplayer-ng-bootstrap-snackbar.mjs +0 -144
- package/fesm2022/mintplayer-ng-bootstrap-snackbar.mjs.map +0 -1
- package/snackbar/index.d.ts +0 -1
- package/snackbar/src/component/snackbar.component.d.ts +0 -15
- package/snackbar/src/directives/index.d.ts +0 -1
- package/snackbar/src/directives/snackbar-close/snackbar-close.directive.d.ts +0 -11
- package/snackbar/src/index.d.ts +0 -5
- package/snackbar/src/interfaces/index.d.ts +0 -1
- package/snackbar/src/interfaces/snackbar-animation-meta.d.ts +0 -7
- package/snackbar/src/providers/snackbar-content.provider.d.ts +0 -2
- package/snackbar/src/service/snackbar.service.d.ts +0 -13
- package/snackbar/src/snackbar.module.d.ts +0 -11
|
@@ -4,11 +4,11 @@ import { CommonModule } from '@angular/common';
|
|
|
4
4
|
|
|
5
5
|
class BsInputGroupComponent {
|
|
6
6
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: BsInputGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.3", type: BsInputGroupComponent, selector: "bs-input-group", ngImport: i0, template: "<div class=\"input-group\">\n <ng-content></ng-content>\n</div>", styles: [":host ::ng-deep .input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}:host ::ng-deep .input-group>.form-control,:host ::ng-deep .input-group>.form-select,:host ::ng-deep .input-group>.form-floating{position:relative;flex:1 1 auto;width:1%;min-width:0}:host ::ng-deep .input-group>.form-control:focus,:host ::ng-deep .input-group>.form-select:focus,:host ::ng-deep .input-group>.form-floating:focus-within{z-index:5}:host ::ng-deep .input-group .btn{position:relative;z-index:2}:host ::ng-deep .input-group .btn:focus{z-index:5}:host ::ng-deep .input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color
|
|
7
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.3", type: BsInputGroupComponent, selector: "bs-input-group", ngImport: i0, template: "<div class=\"input-group\">\n <ng-content></ng-content>\n</div>", styles: [":host ::ng-deep .input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}:host ::ng-deep .input-group>.form-control,:host ::ng-deep .input-group>.form-select,:host ::ng-deep .input-group>.form-floating{position:relative;flex:1 1 auto;width:1%;min-width:0}:host ::ng-deep .input-group>.form-control:focus,:host ::ng-deep .input-group>.form-select:focus,:host ::ng-deep .input-group>.form-floating:focus-within{z-index:5}:host ::ng-deep .input-group .btn{position:relative;z-index:2}:host ::ng-deep .input-group .btn:focus{z-index:5}:host ::ng-deep .input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);text-align:center;white-space:nowrap;background-color:var(--bs-tertiary-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius)}:host ::ng-deep .input-group-lg>.form-control,:host ::ng-deep .input-group-lg>.form-select,:host ::ng-deep .input-group-lg>.input-group-text,:host ::ng-deep .input-group-lg>.btn{padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}:host ::ng-deep .input-group-sm>.form-control,:host ::ng-deep .input-group-sm>.form-select,:host ::ng-deep .input-group-sm>.input-group-text,:host ::ng-deep .input-group-sm>.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}:host ::ng-deep .input-group-lg>.form-select,:host ::ng-deep .input-group-sm>.form-select{padding-right:3rem}:host ::ng-deep .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),:host ::ng-deep .input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),:host ::ng-deep .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,:host ::ng-deep .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}:host ::ng-deep .input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),:host ::ng-deep .input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),:host ::ng-deep .input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,:host ::ng-deep .input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}:host ::ng-deep .input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:calc(var(--bs-border-width) * -1);border-top-left-radius:0;border-bottom-left-radius:0}:host ::ng-deep .input-group>.form-floating:not(:first-child)>.form-control,:host ::ng-deep .input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}\n"] }); }
|
|
8
8
|
}
|
|
9
9
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: BsInputGroupComponent, decorators: [{
|
|
10
10
|
type: Component,
|
|
11
|
-
args: [{ selector: 'bs-input-group', template: "<div class=\"input-group\">\n <ng-content></ng-content>\n</div>", styles: [":host ::ng-deep .input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}:host ::ng-deep .input-group>.form-control,:host ::ng-deep .input-group>.form-select,:host ::ng-deep .input-group>.form-floating{position:relative;flex:1 1 auto;width:1%;min-width:0}:host ::ng-deep .input-group>.form-control:focus,:host ::ng-deep .input-group>.form-select:focus,:host ::ng-deep .input-group>.form-floating:focus-within{z-index:5}:host ::ng-deep .input-group .btn{position:relative;z-index:2}:host ::ng-deep .input-group .btn:focus{z-index:5}:host ::ng-deep .input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color
|
|
11
|
+
args: [{ selector: 'bs-input-group', template: "<div class=\"input-group\">\n <ng-content></ng-content>\n</div>", styles: [":host ::ng-deep .input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}:host ::ng-deep .input-group>.form-control,:host ::ng-deep .input-group>.form-select,:host ::ng-deep .input-group>.form-floating{position:relative;flex:1 1 auto;width:1%;min-width:0}:host ::ng-deep .input-group>.form-control:focus,:host ::ng-deep .input-group>.form-select:focus,:host ::ng-deep .input-group>.form-floating:focus-within{z-index:5}:host ::ng-deep .input-group .btn{position:relative;z-index:2}:host ::ng-deep .input-group .btn:focus{z-index:5}:host ::ng-deep .input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);text-align:center;white-space:nowrap;background-color:var(--bs-tertiary-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius)}:host ::ng-deep .input-group-lg>.form-control,:host ::ng-deep .input-group-lg>.form-select,:host ::ng-deep .input-group-lg>.input-group-text,:host ::ng-deep .input-group-lg>.btn{padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}:host ::ng-deep .input-group-sm>.form-control,:host ::ng-deep .input-group-sm>.form-select,:host ::ng-deep .input-group-sm>.input-group-text,:host ::ng-deep .input-group-sm>.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}:host ::ng-deep .input-group-lg>.form-select,:host ::ng-deep .input-group-sm>.form-select{padding-right:3rem}:host ::ng-deep .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),:host ::ng-deep .input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),:host ::ng-deep .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,:host ::ng-deep .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}:host ::ng-deep .input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),:host ::ng-deep .input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),:host ::ng-deep .input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,:host ::ng-deep .input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}:host ::ng-deep .input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:calc(var(--bs-border-width) * -1);border-top-left-radius:0;border-bottom-left-radius:0}:host ::ng-deep .input-group>.form-floating:not(:first-child)>.form-control,:host ::ng-deep .input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}\n"] }]
|
|
12
12
|
}] });
|
|
13
13
|
|
|
14
14
|
class BsInputGroupModule {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-input-group.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/input-group/src/input-group/input-group.component.ts","../../../../libs/mintplayer-ng-bootstrap/input-group/src/input-group/input-group.component.html","../../../../libs/mintplayer-ng-bootstrap/input-group/src/input-group.module.ts","../../../../libs/mintplayer-ng-bootstrap/input-group/mintplayer-ng-bootstrap-input-group.ts"],"sourcesContent":["import { Component } from '@angular/core';\n\n@Component({\n selector: 'bs-input-group',\n templateUrl: './input-group.component.html',\n styleUrls: ['./input-group.component.scss'],\n})\nexport class BsInputGroupComponent {}\n","<div class=\"input-group\">\n <ng-content></ng-content>\n</div>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsInputGroupComponent } from './input-group/input-group.component';\n\n@NgModule({\n declarations: [BsInputGroupComponent],\n imports: [CommonModule],\n exports: [BsInputGroupComponent],\n})\nexport class BsInputGroupModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAEA,MAKa,qBAAqB,CAAA;8GAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,sDCPlC,oEAEM,EAAA,MAAA,EAAA,CAAA,
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-input-group.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/input-group/src/input-group/input-group.component.ts","../../../../libs/mintplayer-ng-bootstrap/input-group/src/input-group/input-group.component.html","../../../../libs/mintplayer-ng-bootstrap/input-group/src/input-group.module.ts","../../../../libs/mintplayer-ng-bootstrap/input-group/mintplayer-ng-bootstrap-input-group.ts"],"sourcesContent":["import { Component } from '@angular/core';\n\n@Component({\n selector: 'bs-input-group',\n templateUrl: './input-group.component.html',\n styleUrls: ['./input-group.component.scss'],\n})\nexport class BsInputGroupComponent {}\n","<div class=\"input-group\">\n <ng-content></ng-content>\n</div>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsInputGroupComponent } from './input-group/input-group.component';\n\n@NgModule({\n declarations: [BsInputGroupComponent],\n imports: [CommonModule],\n exports: [BsInputGroupComponent],\n})\nexport class BsInputGroupModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAEA,MAKa,qBAAqB,CAAA;8GAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,sDCPlC,oEAEM,EAAA,MAAA,EAAA,CAAA,+0FAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FDKO,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBALjC,SAAS;+BACE,gBAAgB,EAAA,QAAA,EAAA,oEAAA,EAAA,MAAA,EAAA,CAAA,+0FAAA,CAAA,EAAA,CAAA;;;AEC5B,MAKa,kBAAkB,CAAA;8GAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,EAJd,YAAA,EAAA,CAAA,qBAAqB,CAC1B,EAAA,OAAA,EAAA,CAAA,YAAY,aACZ,qBAAqB,CAAA,EAAA,CAAA,CAAA,EAAA;AAEpB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,YAHnB,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGX,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAL9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,qBAAqB,CAAC;oBACrC,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,qBAAqB,CAAC;AACjC,iBAAA,CAAA;;;ACRD;;AAEG;;;;"}
|
|
@@ -23,11 +23,11 @@ class BsListGroupComponent {
|
|
|
23
23
|
ngOnInit() {
|
|
24
24
|
}
|
|
25
25
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: BsListGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
26
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.3", 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: [":host ::ng-deep .list-group{--bs-list-group-color: #212529;--bs-list-group-bg: #fff;--bs-list-group-border-color: rgba(0, 0, 0, .125);--bs-list-group-border-width: 1px;--bs-list-group-border-radius: .375rem;--bs-list-group-item-padding-x: 1rem;--bs-list-group-item-padding-y: .5rem;--bs-list-group-action-color: #495057;--bs-list-group-action-hover-color: #495057;--bs-list-group-action-hover-bg: #f8f9fa;--bs-list-group-action-active-color: #212529;--bs-list-group-action-active-bg: #e9ecef;--bs-list-group-disabled-color: #6c757d;--bs-list-group-disabled-bg: #fff;--bs-list-group-active-color: #fff;--bs-list-group-active-bg: #0d6efd;--bs-list-group-active-border-color: #0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}:host ::ng-deep .list-group-numbered{list-style-type:none;counter-reset:section}:host ::ng-deep .list-group-numbered>.list-group-item:before{content:counters(section,\".\") \". \";counter-increment:section}:host ::ng-deep .list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}:host ::ng-deep .list-group-item-action:hover,:host ::ng-deep .list-group-item-action:focus{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}:host ::ng-deep .list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}:host ::ng-deep .list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}:host ::ng-deep .list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}:host ::ng-deep .list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}:host ::ng-deep .list-group-item.disabled,:host ::ng-deep .list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}:host ::ng-deep .list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}:host ::ng-deep .list-group-item+.list-group-item{border-top-width:0}:host ::ng-deep .list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}:host ::ng-deep .list-group-horizontal{flex-direction:row}:host ::ng-deep .list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width: 576px){:host ::ng-deep .list-group-horizontal-sm{flex-direction:row}:host ::ng-deep .list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-sm>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 768px){:host ::ng-deep .list-group-horizontal-md{flex-direction:row}:host ::ng-deep .list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-md>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 992px){:host ::ng-deep .list-group-horizontal-lg{flex-direction:row}:host ::ng-deep .list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-lg>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1200px){:host ::ng-deep .list-group-horizontal-xl{flex-direction:row}:host ::ng-deep .list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-xl>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1400px){:host ::ng-deep .list-group-horizontal-xxl{flex-direction:row}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}:host ::ng-deep .list-group-flush{border-radius:0}:host ::ng-deep .list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}:host ::ng-deep .list-group-flush>.list-group-item:last-child{border-bottom-width:0}:host ::ng-deep .list-group-item-primary{color:#084298;background-color:#cfe2ff}:host ::ng-deep .list-group-item-primary.list-group-item-action:hover,:host ::ng-deep .list-group-item-primary.list-group-item-action:focus{color:#084298;background-color:#bacbe6}:host ::ng-deep .list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#084298;border-color:#084298}:host ::ng-deep .list-group-item-secondary{color:#41464b;background-color:#e2e3e5}:host ::ng-deep .list-group-item-secondary.list-group-item-action:hover,:host ::ng-deep .list-group-item-secondary.list-group-item-action:focus{color:#41464b;background-color:#cbccce}:host ::ng-deep .list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#41464b;border-color:#41464b}:host ::ng-deep .list-group-item-success{color:#0f5132;background-color:#d1e7dd}:host ::ng-deep .list-group-item-success.list-group-item-action:hover,:host ::ng-deep .list-group-item-success.list-group-item-action:focus{color:#0f5132;background-color:#bcd0c7}:host ::ng-deep .list-group-item-success.list-group-item-action.active{color:#fff;background-color:#0f5132;border-color:#0f5132}:host ::ng-deep .list-group-item-info{color:#055160;background-color:#cff4fc}:host ::ng-deep .list-group-item-info.list-group-item-action:hover,:host ::ng-deep .list-group-item-info.list-group-item-action:focus{color:#055160;background-color:#badce3}:host ::ng-deep .list-group-item-info.list-group-item-action.active{color:#fff;background-color:#055160;border-color:#055160}:host ::ng-deep .list-group-item-warning{color:#664d03;background-color:#fff3cd}:host ::ng-deep .list-group-item-warning.list-group-item-action:hover,:host ::ng-deep .list-group-item-warning.list-group-item-action:focus{color:#664d03;background-color:#e6dbb9}:host ::ng-deep .list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#664d03;border-color:#664d03}:host ::ng-deep .list-group-item-danger{color:#842029;background-color:#f8d7da}:host ::ng-deep .list-group-item-danger.list-group-item-action:hover,:host ::ng-deep .list-group-item-danger.list-group-item-action:focus{color:#842029;background-color:#dfc2c4}:host ::ng-deep .list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#842029;border-color:#842029}:host ::ng-deep .list-group-item-light{color:#636464;background-color:#fefefe}:host ::ng-deep .list-group-item-light.list-group-item-action:hover,:host ::ng-deep .list-group-item-light.list-group-item-action:focus{color:#636464;background-color:#e5e5e5}:host ::ng-deep .list-group-item-light.list-group-item-action.active{color:#fff;background-color:#636464;border-color:#636464}:host ::ng-deep .list-group-item-dark{color:#141619;background-color:#d3d3d4}:host ::ng-deep .list-group-item-dark.list-group-item-action:hover,:host ::ng-deep .list-group-item-dark.list-group-item-action:focus{color:#141619;background-color:#bebebf}:host ::ng-deep .list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#141619;border-color:#141619}\n"] }); }
|
|
26
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.3", 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: [":host ::ng-deep .list-group{--bs-list-group-color: var(--bs-body-color);--bs-list-group-bg: var(--bs-body-bg);--bs-list-group-border-color: var(--bs-border-color);--bs-list-group-border-width: var(--bs-border-width);--bs-list-group-border-radius: var(--bs-border-radius);--bs-list-group-item-padding-x: 1rem;--bs-list-group-item-padding-y: .5rem;--bs-list-group-action-color: var(--bs-secondary-color);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-tertiary-bg);--bs-list-group-action-active-color: var(--bs-body-color);--bs-list-group-action-active-bg: var(--bs-secondary-bg);--bs-list-group-disabled-color: var(--bs-secondary-color);--bs-list-group-disabled-bg: var(--bs-body-bg);--bs-list-group-active-color: #fff;--bs-list-group-active-bg: #0d6efd;--bs-list-group-active-border-color: #0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}:host ::ng-deep .list-group-numbered{list-style-type:none;counter-reset:section}:host ::ng-deep .list-group-numbered>.list-group-item:before{content:counters(section,\".\") \". \";counter-increment:section}:host ::ng-deep .list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}:host ::ng-deep .list-group-item-action:hover,:host ::ng-deep .list-group-item-action:focus{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}:host ::ng-deep .list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}:host ::ng-deep .list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}:host ::ng-deep .list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}:host ::ng-deep .list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}:host ::ng-deep .list-group-item.disabled,:host ::ng-deep .list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}:host ::ng-deep .list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}:host ::ng-deep .list-group-item+.list-group-item{border-top-width:0}:host ::ng-deep .list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}:host ::ng-deep .list-group-horizontal{flex-direction:row}:host ::ng-deep .list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width: 576px){:host ::ng-deep .list-group-horizontal-sm{flex-direction:row}:host ::ng-deep .list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-sm>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 768px){:host ::ng-deep .list-group-horizontal-md{flex-direction:row}:host ::ng-deep .list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-md>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 992px){:host ::ng-deep .list-group-horizontal-lg{flex-direction:row}:host ::ng-deep .list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-lg>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1200px){:host ::ng-deep .list-group-horizontal-xl{flex-direction:row}:host ::ng-deep .list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-xl>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1400px){:host ::ng-deep .list-group-horizontal-xxl{flex-direction:row}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}:host ::ng-deep .list-group-flush{border-radius:0}:host ::ng-deep .list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}:host ::ng-deep .list-group-flush>.list-group-item:last-child{border-bottom-width:0}:host ::ng-deep .list-group-item-primary{--bs-list-group-color: var(--bs-primary-text-emphasis);--bs-list-group-bg: var(--bs-primary-bg-subtle);--bs-list-group-border-color: var(--bs-primary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-primary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-primary-border-subtle);--bs-list-group-active-color: var(--bs-primary-bg-subtle);--bs-list-group-active-bg: var(--bs-primary-text-emphasis);--bs-list-group-active-border-color: var(--bs-primary-text-emphasis)}:host ::ng-deep .list-group-item-secondary{--bs-list-group-color: var(--bs-secondary-text-emphasis);--bs-list-group-bg: var(--bs-secondary-bg-subtle);--bs-list-group-border-color: var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-secondary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-secondary-border-subtle);--bs-list-group-active-color: var(--bs-secondary-bg-subtle);--bs-list-group-active-bg: var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color: var(--bs-secondary-text-emphasis)}:host ::ng-deep .list-group-item-success{--bs-list-group-color: var(--bs-success-text-emphasis);--bs-list-group-bg: var(--bs-success-bg-subtle);--bs-list-group-border-color: var(--bs-success-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-success-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-success-border-subtle);--bs-list-group-active-color: var(--bs-success-bg-subtle);--bs-list-group-active-bg: var(--bs-success-text-emphasis);--bs-list-group-active-border-color: var(--bs-success-text-emphasis)}:host ::ng-deep .list-group-item-info{--bs-list-group-color: var(--bs-info-text-emphasis);--bs-list-group-bg: var(--bs-info-bg-subtle);--bs-list-group-border-color: var(--bs-info-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-info-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-info-border-subtle);--bs-list-group-active-color: var(--bs-info-bg-subtle);--bs-list-group-active-bg: var(--bs-info-text-emphasis);--bs-list-group-active-border-color: var(--bs-info-text-emphasis)}:host ::ng-deep .list-group-item-warning{--bs-list-group-color: var(--bs-warning-text-emphasis);--bs-list-group-bg: var(--bs-warning-bg-subtle);--bs-list-group-border-color: var(--bs-warning-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-warning-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-warning-border-subtle);--bs-list-group-active-color: var(--bs-warning-bg-subtle);--bs-list-group-active-bg: var(--bs-warning-text-emphasis);--bs-list-group-active-border-color: var(--bs-warning-text-emphasis)}:host ::ng-deep .list-group-item-danger{--bs-list-group-color: var(--bs-danger-text-emphasis);--bs-list-group-bg: var(--bs-danger-bg-subtle);--bs-list-group-border-color: var(--bs-danger-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-danger-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-danger-border-subtle);--bs-list-group-active-color: var(--bs-danger-bg-subtle);--bs-list-group-active-bg: var(--bs-danger-text-emphasis);--bs-list-group-active-border-color: var(--bs-danger-text-emphasis)}:host ::ng-deep .list-group-item-light{--bs-list-group-color: var(--bs-light-text-emphasis);--bs-list-group-bg: var(--bs-light-bg-subtle);--bs-list-group-border-color: var(--bs-light-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-light-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-light-border-subtle);--bs-list-group-active-color: var(--bs-light-bg-subtle);--bs-list-group-active-bg: var(--bs-light-text-emphasis);--bs-list-group-active-border-color: var(--bs-light-text-emphasis)}:host ::ng-deep .list-group-item-dark{--bs-list-group-color: var(--bs-dark-text-emphasis);--bs-list-group-bg: var(--bs-dark-bg-subtle);--bs-list-group-border-color: var(--bs-dark-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-dark-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-dark-border-subtle);--bs-list-group-active-color: var(--bs-dark-bg-subtle);--bs-list-group-active-bg: var(--bs-dark-text-emphasis);--bs-list-group-active-border-color: var(--bs-dark-text-emphasis)}\n"] }); }
|
|
27
27
|
}
|
|
28
28
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: BsListGroupComponent, decorators: [{
|
|
29
29
|
type: Component,
|
|
30
|
-
args: [{ selector: 'bs-list-group', template: "<ul class=\"list-group mt-0\">\n <ng-content></ng-content>\n</ul>", styles: [":host ::ng-deep .list-group{--bs-list-group-color: #212529;--bs-list-group-bg: #fff;--bs-list-group-border-color: rgba(0, 0, 0, .125);--bs-list-group-border-width: 1px;--bs-list-group-border-radius: .375rem;--bs-list-group-item-padding-x: 1rem;--bs-list-group-item-padding-y: .5rem;--bs-list-group-action-color: #495057;--bs-list-group-action-hover-color: #495057;--bs-list-group-action-hover-bg: #f8f9fa;--bs-list-group-action-active-color: #212529;--bs-list-group-action-active-bg: #e9ecef;--bs-list-group-disabled-color: #6c757d;--bs-list-group-disabled-bg: #fff;--bs-list-group-active-color: #fff;--bs-list-group-active-bg: #0d6efd;--bs-list-group-active-border-color: #0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}:host ::ng-deep .list-group-numbered{list-style-type:none;counter-reset:section}:host ::ng-deep .list-group-numbered>.list-group-item:before{content:counters(section,\".\") \". \";counter-increment:section}:host ::ng-deep .list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}:host ::ng-deep .list-group-item-action:hover,:host ::ng-deep .list-group-item-action:focus{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}:host ::ng-deep .list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}:host ::ng-deep .list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}:host ::ng-deep .list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}:host ::ng-deep .list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}:host ::ng-deep .list-group-item.disabled,:host ::ng-deep .list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}:host ::ng-deep .list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}:host ::ng-deep .list-group-item+.list-group-item{border-top-width:0}:host ::ng-deep .list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}:host ::ng-deep .list-group-horizontal{flex-direction:row}:host ::ng-deep .list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width: 576px){:host ::ng-deep .list-group-horizontal-sm{flex-direction:row}:host ::ng-deep .list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-sm>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 768px){:host ::ng-deep .list-group-horizontal-md{flex-direction:row}:host ::ng-deep .list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-md>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 992px){:host ::ng-deep .list-group-horizontal-lg{flex-direction:row}:host ::ng-deep .list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-lg>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1200px){:host ::ng-deep .list-group-horizontal-xl{flex-direction:row}:host ::ng-deep .list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-xl>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1400px){:host ::ng-deep .list-group-horizontal-xxl{flex-direction:row}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}:host ::ng-deep .list-group-flush{border-radius:0}:host ::ng-deep .list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}:host ::ng-deep .list-group-flush>.list-group-item:last-child{border-bottom-width:0}:host ::ng-deep .list-group-item-primary{color:#084298;background-color:#cfe2ff}:host ::ng-deep .list-group-item-primary.list-group-item-action:hover,:host ::ng-deep .list-group-item-primary.list-group-item-action:focus{color:#084298;background-color:#bacbe6}:host ::ng-deep .list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#084298;border-color:#084298}:host ::ng-deep .list-group-item-secondary{color:#41464b;background-color:#e2e3e5}:host ::ng-deep .list-group-item-secondary.list-group-item-action:hover,:host ::ng-deep .list-group-item-secondary.list-group-item-action:focus{color:#41464b;background-color:#cbccce}:host ::ng-deep .list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#41464b;border-color:#41464b}:host ::ng-deep .list-group-item-success{color:#0f5132;background-color:#d1e7dd}:host ::ng-deep .list-group-item-success.list-group-item-action:hover,:host ::ng-deep .list-group-item-success.list-group-item-action:focus{color:#0f5132;background-color:#bcd0c7}:host ::ng-deep .list-group-item-success.list-group-item-action.active{color:#fff;background-color:#0f5132;border-color:#0f5132}:host ::ng-deep .list-group-item-info{color:#055160;background-color:#cff4fc}:host ::ng-deep .list-group-item-info.list-group-item-action:hover,:host ::ng-deep .list-group-item-info.list-group-item-action:focus{color:#055160;background-color:#badce3}:host ::ng-deep .list-group-item-info.list-group-item-action.active{color:#fff;background-color:#055160;border-color:#055160}:host ::ng-deep .list-group-item-warning{color:#664d03;background-color:#fff3cd}:host ::ng-deep .list-group-item-warning.list-group-item-action:hover,:host ::ng-deep .list-group-item-warning.list-group-item-action:focus{color:#664d03;background-color:#e6dbb9}:host ::ng-deep .list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#664d03;border-color:#664d03}:host ::ng-deep .list-group-item-danger{color:#842029;background-color:#f8d7da}:host ::ng-deep .list-group-item-danger.list-group-item-action:hover,:host ::ng-deep .list-group-item-danger.list-group-item-action:focus{color:#842029;background-color:#dfc2c4}:host ::ng-deep .list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#842029;border-color:#842029}:host ::ng-deep .list-group-item-light{color:#636464;background-color:#fefefe}:host ::ng-deep .list-group-item-light.list-group-item-action:hover,:host ::ng-deep .list-group-item-light.list-group-item-action:focus{color:#636464;background-color:#e5e5e5}:host ::ng-deep .list-group-item-light.list-group-item-action.active{color:#fff;background-color:#636464;border-color:#636464}:host ::ng-deep .list-group-item-dark{color:#141619;background-color:#d3d3d4}:host ::ng-deep .list-group-item-dark.list-group-item-action:hover,:host ::ng-deep .list-group-item-dark.list-group-item-action:focus{color:#141619;background-color:#bebebf}:host ::ng-deep .list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#141619;border-color:#141619}\n"] }]
|
|
30
|
+
args: [{ selector: 'bs-list-group', template: "<ul class=\"list-group mt-0\">\n <ng-content></ng-content>\n</ul>", styles: [":host ::ng-deep .list-group{--bs-list-group-color: var(--bs-body-color);--bs-list-group-bg: var(--bs-body-bg);--bs-list-group-border-color: var(--bs-border-color);--bs-list-group-border-width: var(--bs-border-width);--bs-list-group-border-radius: var(--bs-border-radius);--bs-list-group-item-padding-x: 1rem;--bs-list-group-item-padding-y: .5rem;--bs-list-group-action-color: var(--bs-secondary-color);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-tertiary-bg);--bs-list-group-action-active-color: var(--bs-body-color);--bs-list-group-action-active-bg: var(--bs-secondary-bg);--bs-list-group-disabled-color: var(--bs-secondary-color);--bs-list-group-disabled-bg: var(--bs-body-bg);--bs-list-group-active-color: #fff;--bs-list-group-active-bg: #0d6efd;--bs-list-group-active-border-color: #0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}:host ::ng-deep .list-group-numbered{list-style-type:none;counter-reset:section}:host ::ng-deep .list-group-numbered>.list-group-item:before{content:counters(section,\".\") \". \";counter-increment:section}:host ::ng-deep .list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}:host ::ng-deep .list-group-item-action:hover,:host ::ng-deep .list-group-item-action:focus{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}:host ::ng-deep .list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}:host ::ng-deep .list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}:host ::ng-deep .list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}:host ::ng-deep .list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}:host ::ng-deep .list-group-item.disabled,:host ::ng-deep .list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}:host ::ng-deep .list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}:host ::ng-deep .list-group-item+.list-group-item{border-top-width:0}:host ::ng-deep .list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}:host ::ng-deep .list-group-horizontal{flex-direction:row}:host ::ng-deep .list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width: 576px){:host ::ng-deep .list-group-horizontal-sm{flex-direction:row}:host ::ng-deep .list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-sm>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 768px){:host ::ng-deep .list-group-horizontal-md{flex-direction:row}:host ::ng-deep .list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-md>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 992px){:host ::ng-deep .list-group-horizontal-lg{flex-direction:row}:host ::ng-deep .list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-lg>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1200px){:host ::ng-deep .list-group-horizontal-xl{flex-direction:row}:host ::ng-deep .list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-xl>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1400px){:host ::ng-deep .list-group-horizontal-xxl{flex-direction:row}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}:host ::ng-deep .list-group-flush{border-radius:0}:host ::ng-deep .list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}:host ::ng-deep .list-group-flush>.list-group-item:last-child{border-bottom-width:0}:host ::ng-deep .list-group-item-primary{--bs-list-group-color: var(--bs-primary-text-emphasis);--bs-list-group-bg: var(--bs-primary-bg-subtle);--bs-list-group-border-color: var(--bs-primary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-primary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-primary-border-subtle);--bs-list-group-active-color: var(--bs-primary-bg-subtle);--bs-list-group-active-bg: var(--bs-primary-text-emphasis);--bs-list-group-active-border-color: var(--bs-primary-text-emphasis)}:host ::ng-deep .list-group-item-secondary{--bs-list-group-color: var(--bs-secondary-text-emphasis);--bs-list-group-bg: var(--bs-secondary-bg-subtle);--bs-list-group-border-color: var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-secondary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-secondary-border-subtle);--bs-list-group-active-color: var(--bs-secondary-bg-subtle);--bs-list-group-active-bg: var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color: var(--bs-secondary-text-emphasis)}:host ::ng-deep .list-group-item-success{--bs-list-group-color: var(--bs-success-text-emphasis);--bs-list-group-bg: var(--bs-success-bg-subtle);--bs-list-group-border-color: var(--bs-success-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-success-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-success-border-subtle);--bs-list-group-active-color: var(--bs-success-bg-subtle);--bs-list-group-active-bg: var(--bs-success-text-emphasis);--bs-list-group-active-border-color: var(--bs-success-text-emphasis)}:host ::ng-deep .list-group-item-info{--bs-list-group-color: var(--bs-info-text-emphasis);--bs-list-group-bg: var(--bs-info-bg-subtle);--bs-list-group-border-color: var(--bs-info-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-info-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-info-border-subtle);--bs-list-group-active-color: var(--bs-info-bg-subtle);--bs-list-group-active-bg: var(--bs-info-text-emphasis);--bs-list-group-active-border-color: var(--bs-info-text-emphasis)}:host ::ng-deep .list-group-item-warning{--bs-list-group-color: var(--bs-warning-text-emphasis);--bs-list-group-bg: var(--bs-warning-bg-subtle);--bs-list-group-border-color: var(--bs-warning-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-warning-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-warning-border-subtle);--bs-list-group-active-color: var(--bs-warning-bg-subtle);--bs-list-group-active-bg: var(--bs-warning-text-emphasis);--bs-list-group-active-border-color: var(--bs-warning-text-emphasis)}:host ::ng-deep .list-group-item-danger{--bs-list-group-color: var(--bs-danger-text-emphasis);--bs-list-group-bg: var(--bs-danger-bg-subtle);--bs-list-group-border-color: var(--bs-danger-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-danger-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-danger-border-subtle);--bs-list-group-active-color: var(--bs-danger-bg-subtle);--bs-list-group-active-bg: var(--bs-danger-text-emphasis);--bs-list-group-active-border-color: var(--bs-danger-text-emphasis)}:host ::ng-deep .list-group-item-light{--bs-list-group-color: var(--bs-light-text-emphasis);--bs-list-group-bg: var(--bs-light-bg-subtle);--bs-list-group-border-color: var(--bs-light-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-light-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-light-border-subtle);--bs-list-group-active-color: var(--bs-light-bg-subtle);--bs-list-group-active-bg: var(--bs-light-text-emphasis);--bs-list-group-active-border-color: var(--bs-light-text-emphasis)}:host ::ng-deep .list-group-item-dark{--bs-list-group-color: var(--bs-dark-text-emphasis);--bs-list-group-bg: var(--bs-dark-bg-subtle);--bs-list-group-border-color: var(--bs-dark-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-dark-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-dark-border-subtle);--bs-list-group-active-color: var(--bs-dark-bg-subtle);--bs-list-group-active-bg: var(--bs-dark-text-emphasis);--bs-list-group-active-border-color: var(--bs-dark-text-emphasis)}\n"] }]
|
|
31
31
|
}], ctorParameters: function () { return []; }, propDecorators: { items: [{
|
|
32
32
|
type: ContentChildren,
|
|
33
33
|
args: [BsListGroupItemComponent]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-list-group.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/list-group/src/list-group-item/list-group-item.component.ts","../../../../libs/mintplayer-ng-bootstrap/list-group/src/list-group-item/list-group-item.component.html","../../../../libs/mintplayer-ng-bootstrap/list-group/src/list-group/list-group.component.ts","../../../../libs/mintplayer-ng-bootstrap/list-group/src/list-group/list-group.component.html","../../../../libs/mintplayer-ng-bootstrap/list-group/src/list-group.module.ts","../../../../libs/mintplayer-ng-bootstrap/list-group/mintplayer-ng-bootstrap-list-group.ts"],"sourcesContent":["import { Component, HostBinding } 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 {\n @HostBinding('class.list-group-item') classes = true;\n}\n","<!-- <li class=\"list-group-item\"> -->\n <ng-content></ng-content>\n<!-- </li> -->","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>","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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAEA,MAKa,wBAAwB,CAAA;AALrC,IAAA,WAAA,GAAA;QAMwC,IAAO,CAAA,OAAA,GAAG,IAAI,CAAC;AACtD,KAAA;8GAFY,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAxB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,wBAAwB,6HCPrC,wFAEc,EAAA,MAAA,EAAA,CAAA,wCAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FDKD,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBALpC,SAAS;+BACE,oBAAoB,EAAA,QAAA,EAAA,wFAAA,EAAA,MAAA,EAAA,CAAA,wCAAA,CAAA,EAAA,CAAA;8BAKQ,OAAO,EAAA,CAAA;sBAA5C,WAAW;uBAAC,uBAAuB,CAAA;;;AELtC,MAKa,oBAAoB,CAAA;AAE/B,IAAA,WAAA,GAAA;KACC;IAED,QAAQ,GAAA;KACP;8GANU,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAApB,oBAAoB,EAAA,QAAA,EAAA,eAAA,EAAA,OAAA,EAAA,CAAA,EAAA,YAAA,EAAA,OAAA,EAAA,SAAA,EAQd,wBAAwB,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EChB3C,sEAEK,EAAA,MAAA,EAAA,CAAA,
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-list-group.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/list-group/src/list-group-item/list-group-item.component.ts","../../../../libs/mintplayer-ng-bootstrap/list-group/src/list-group-item/list-group-item.component.html","../../../../libs/mintplayer-ng-bootstrap/list-group/src/list-group/list-group.component.ts","../../../../libs/mintplayer-ng-bootstrap/list-group/src/list-group/list-group.component.html","../../../../libs/mintplayer-ng-bootstrap/list-group/src/list-group.module.ts","../../../../libs/mintplayer-ng-bootstrap/list-group/mintplayer-ng-bootstrap-list-group.ts"],"sourcesContent":["import { Component, HostBinding } 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 {\n @HostBinding('class.list-group-item') classes = true;\n}\n","<!-- <li class=\"list-group-item\"> -->\n <ng-content></ng-content>\n<!-- </li> -->","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>","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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAEA,MAKa,wBAAwB,CAAA;AALrC,IAAA,WAAA,GAAA;QAMwC,IAAO,CAAA,OAAA,GAAG,IAAI,CAAC;AACtD,KAAA;8GAFY,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAxB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,w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iBAAiB,iBAR1B,oBAAoB;YACpB,wBAAwB,CAAA,EAAA,OAAA,EAAA,CAHhB,YAAY,CAAA,EAAA,OAAA,EAAA,CAMpB,oBAAoB;YACpB,wBAAwB,CAAA,EAAA,CAAA,CAAA,EAAA;AAGf,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAVlB,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAUX,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAX7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,YAAY,EAAE;wBACZ,oBAAoB;wBACpB,wBAAwB;AACzB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,oBAAoB;wBACpB,wBAAwB;AACzB,qBAAA;AACF,iBAAA,CAAA;;;ACfD;;AAEG;;;;"}
|
|
@@ -17,11 +17,11 @@ class BsModalComponent {
|
|
|
17
17
|
this.template = template;
|
|
18
18
|
}
|
|
19
19
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: BsModalComponent, deps: [{ token: MODAL_CONTENT }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
20
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.3", type: BsModalComponent, selector: "bs-modal-content", ngImport: i0, template: "<div class=\"modal d-block\" [@fadeInOut] [@enterFromTop] *ngIf=\"isOpen\">\n <div class=\"modal-dialog\">\n <div class=\"modal-content\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n </div>\n </div>\n</div>\n\n<div [@fadeInOut] *ngIf=\"isOpen\">\n <div class=\"modal-backdrop fade\" [class.show]=\"isOpen\"></div>\n</div>", styles: [":host ::ng-deep .fade{transition:opacity .15s linear}@media (prefers-reduced-motion: reduce){:host ::ng-deep .fade{transition:none}}:host ::ng-deep .fade:not(.show){opacity:0}:host ::ng-deep .collapse:not(.show){display:none}:host ::ng-deep .collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion: reduce){:host ::ng-deep .collapsing{transition:none}}:host ::ng-deep .collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion: reduce){:host ::ng-deep .collapsing.collapse-horizontal{transition:none}}:host ::ng-deep .modal{--bs-modal-zindex: 1055;--bs-modal-width: 500px;--bs-modal-padding: 1rem;--bs-modal-margin: .5rem;--bs-modal-color: ;--bs-modal-bg:
|
|
20
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.3", type: BsModalComponent, selector: "bs-modal-content", ngImport: i0, template: "<div class=\"modal d-block\" [@fadeInOut] [@enterFromTop] *ngIf=\"isOpen\">\n <div class=\"modal-dialog\">\n <div class=\"modal-content\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n </div>\n </div>\n</div>\n\n<div [@fadeInOut] *ngIf=\"isOpen\">\n <div class=\"modal-backdrop fade\" [class.show]=\"isOpen\"></div>\n</div>", styles: [":host ::ng-deep .fade{transition:opacity .15s linear}@media (prefers-reduced-motion: reduce){:host ::ng-deep .fade{transition:none}}:host ::ng-deep .fade:not(.show){opacity:0}:host ::ng-deep .collapse:not(.show){display:none}:host ::ng-deep .collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion: reduce){:host ::ng-deep .collapsing{transition:none}}:host ::ng-deep .collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion: reduce){:host ::ng-deep .collapsing.collapse-horizontal{transition:none}}:host ::ng-deep .modal{--bs-modal-zindex: 1055;--bs-modal-width: 500px;--bs-modal-padding: 1rem;--bs-modal-margin: .5rem;--bs-modal-color: ;--bs-modal-bg: var(--bs-body-bg);--bs-modal-border-color: var(--bs-border-color-translucent);--bs-modal-border-width: var(--bs-border-width);--bs-modal-border-radius: var(--bs-border-radius-lg);--bs-modal-box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);--bs-modal-inner-border-radius: calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x: 1rem;--bs-modal-header-padding-y: 1rem;--bs-modal-header-padding: 1rem 1rem;--bs-modal-header-border-color: var(--bs-border-color);--bs-modal-header-border-width: var(--bs-border-width);--bs-modal-title-line-height: 1.5;--bs-modal-footer-gap: .5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color: var(--bs-border-color);--bs-modal-footer-border-width: var(--bs-border-width);position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}:host ::ng-deep .modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade :host ::ng-deep .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}@media (prefers-reduced-motion: reduce){.modal.fade :host ::ng-deep .modal-dialog{transition:none}}.modal.show :host ::ng-deep .modal-dialog{transform:none}.modal.modal-static :host ::ng-deep .modal-dialog{transform:scale(1.02)}:host ::ng-deep .modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}:host ::ng-deep .modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}:host ::ng-deep .modal-dialog-scrollable .modal-body{overflow-y:auto}:host ::ng-deep .modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}:host ::ng-deep .modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}:host ::ng-deep .modal-backdrop{--bs-backdrop-zindex: 1050;--bs-backdrop-bg: #000;--bs-backdrop-opacity: .5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}:host ::ng-deep .modal-backdrop.fade{opacity:0}:host ::ng-deep .modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}:host ::ng-deep .modal-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}:host ::ng-deep .modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}:host ::ng-deep .modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}:host ::ng-deep .modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}:host ::ng-deep .modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}:host ::ng-deep .modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media (min-width: 576px){:host ::ng-deep .modal{--bs-modal-margin: 1.75rem;--bs-modal-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15)}:host ::ng-deep .modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}:host ::ng-deep .modal-sm{--bs-modal-width: 300px}}@media (min-width: 992px){:host ::ng-deep .modal-lg,:host ::ng-deep .modal-xl{--bs-modal-width: 800px}}@media (min-width: 1200px){:host ::ng-deep .modal-xl{--bs-modal-width: 1140px}}:host ::ng-deep .modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}:host ::ng-deep .modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}:host ::ng-deep .modal-fullscreen .modal-header,:host ::ng-deep .modal-fullscreen .modal-footer{border-radius:0}:host ::ng-deep .modal-fullscreen .modal-body{overflow-y:auto}@media (max-width: 575.98px){:host ::ng-deep .modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}:host ::ng-deep .modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}:host ::ng-deep .modal-fullscreen-sm-down .modal-header,:host ::ng-deep .modal-fullscreen-sm-down .modal-footer{border-radius:0}:host ::ng-deep .modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media (max-width: 767.98px){:host ::ng-deep .modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}:host ::ng-deep .modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}:host ::ng-deep .modal-fullscreen-md-down .modal-header,:host ::ng-deep .modal-fullscreen-md-down .modal-footer{border-radius:0}:host ::ng-deep .modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media (max-width: 991.98px){:host ::ng-deep .modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}:host ::ng-deep .modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}:host ::ng-deep .modal-fullscreen-lg-down .modal-header,:host ::ng-deep .modal-fullscreen-lg-down .modal-footer{border-radius:0}:host ::ng-deep .modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media (max-width: 1199.98px){:host ::ng-deep .modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}:host ::ng-deep .modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}:host ::ng-deep .modal-fullscreen-xl-down .modal-header,:host ::ng-deep .modal-fullscreen-xl-down .modal-footer{border-radius:0}:host ::ng-deep .modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media (max-width: 1399.98px){:host ::ng-deep .modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}:host ::ng-deep .modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}:host ::ng-deep .modal-fullscreen-xxl-down .modal-header,:host ::ng-deep .modal-fullscreen-xxl-down .modal-footer{border-radius:0}:host ::ng-deep .modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], animations: [FadeInOutAnimation, EnterFromTopAnimation] }); }
|
|
21
21
|
}
|
|
22
22
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: BsModalComponent, decorators: [{
|
|
23
23
|
type: Component,
|
|
24
|
-
args: [{ selector: 'bs-modal-content', animations: [FadeInOutAnimation, EnterFromTopAnimation], template: "<div class=\"modal d-block\" [@fadeInOut] [@enterFromTop] *ngIf=\"isOpen\">\n <div class=\"modal-dialog\">\n <div class=\"modal-content\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n </div>\n </div>\n</div>\n\n<div [@fadeInOut] *ngIf=\"isOpen\">\n <div class=\"modal-backdrop fade\" [class.show]=\"isOpen\"></div>\n</div>", styles: [":host ::ng-deep .fade{transition:opacity .15s linear}@media (prefers-reduced-motion: reduce){:host ::ng-deep .fade{transition:none}}:host ::ng-deep .fade:not(.show){opacity:0}:host ::ng-deep .collapse:not(.show){display:none}:host ::ng-deep .collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion: reduce){:host ::ng-deep .collapsing{transition:none}}:host ::ng-deep .collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion: reduce){:host ::ng-deep .collapsing.collapse-horizontal{transition:none}}:host ::ng-deep .modal{--bs-modal-zindex: 1055;--bs-modal-width: 500px;--bs-modal-padding: 1rem;--bs-modal-margin: .5rem;--bs-modal-color: ;--bs-modal-bg:
|
|
24
|
+
args: [{ selector: 'bs-modal-content', animations: [FadeInOutAnimation, EnterFromTopAnimation], template: "<div class=\"modal d-block\" [@fadeInOut] [@enterFromTop] *ngIf=\"isOpen\">\n <div class=\"modal-dialog\">\n <div class=\"modal-content\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n </div>\n </div>\n</div>\n\n<div [@fadeInOut] *ngIf=\"isOpen\">\n <div class=\"modal-backdrop fade\" [class.show]=\"isOpen\"></div>\n</div>", styles: [":host ::ng-deep .fade{transition:opacity .15s linear}@media (prefers-reduced-motion: reduce){:host ::ng-deep .fade{transition:none}}:host ::ng-deep .fade:not(.show){opacity:0}:host ::ng-deep .collapse:not(.show){display:none}:host ::ng-deep .collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion: reduce){:host ::ng-deep .collapsing{transition:none}}:host ::ng-deep .collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion: reduce){:host ::ng-deep .collapsing.collapse-horizontal{transition:none}}:host ::ng-deep .modal{--bs-modal-zindex: 1055;--bs-modal-width: 500px;--bs-modal-padding: 1rem;--bs-modal-margin: .5rem;--bs-modal-color: ;--bs-modal-bg: var(--bs-body-bg);--bs-modal-border-color: var(--bs-border-color-translucent);--bs-modal-border-width: var(--bs-border-width);--bs-modal-border-radius: var(--bs-border-radius-lg);--bs-modal-box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);--bs-modal-inner-border-radius: calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x: 1rem;--bs-modal-header-padding-y: 1rem;--bs-modal-header-padding: 1rem 1rem;--bs-modal-header-border-color: var(--bs-border-color);--bs-modal-header-border-width: var(--bs-border-width);--bs-modal-title-line-height: 1.5;--bs-modal-footer-gap: .5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color: var(--bs-border-color);--bs-modal-footer-border-width: var(--bs-border-width);position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}:host ::ng-deep .modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade :host ::ng-deep .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}@media (prefers-reduced-motion: reduce){.modal.fade :host ::ng-deep .modal-dialog{transition:none}}.modal.show :host ::ng-deep .modal-dialog{transform:none}.modal.modal-static :host ::ng-deep .modal-dialog{transform:scale(1.02)}:host ::ng-deep .modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}:host ::ng-deep .modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}:host ::ng-deep .modal-dialog-scrollable .modal-body{overflow-y:auto}:host ::ng-deep .modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}:host ::ng-deep .modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}:host ::ng-deep .modal-backdrop{--bs-backdrop-zindex: 1050;--bs-backdrop-bg: #000;--bs-backdrop-opacity: .5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}:host ::ng-deep .modal-backdrop.fade{opacity:0}:host ::ng-deep .modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}:host ::ng-deep .modal-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}:host ::ng-deep .modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}:host ::ng-deep .modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}:host ::ng-deep .modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}:host ::ng-deep .modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}:host ::ng-deep .modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media (min-width: 576px){:host ::ng-deep .modal{--bs-modal-margin: 1.75rem;--bs-modal-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15)}:host ::ng-deep .modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}:host ::ng-deep .modal-sm{--bs-modal-width: 300px}}@media (min-width: 992px){:host ::ng-deep .modal-lg,:host ::ng-deep .modal-xl{--bs-modal-width: 800px}}@media (min-width: 1200px){:host ::ng-deep .modal-xl{--bs-modal-width: 1140px}}:host ::ng-deep .modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}:host ::ng-deep .modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}:host ::ng-deep .modal-fullscreen .modal-header,:host ::ng-deep .modal-fullscreen .modal-footer{border-radius:0}:host ::ng-deep .modal-fullscreen .modal-body{overflow-y:auto}@media (max-width: 575.98px){:host ::ng-deep .modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}:host ::ng-deep .modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}:host ::ng-deep .modal-fullscreen-sm-down .modal-header,:host ::ng-deep .modal-fullscreen-sm-down .modal-footer{border-radius:0}:host ::ng-deep .modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media (max-width: 767.98px){:host ::ng-deep .modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}:host ::ng-deep .modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}:host ::ng-deep .modal-fullscreen-md-down .modal-header,:host ::ng-deep .modal-fullscreen-md-down .modal-footer{border-radius:0}:host ::ng-deep .modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media (max-width: 991.98px){:host ::ng-deep .modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}:host ::ng-deep .modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}:host ::ng-deep .modal-fullscreen-lg-down .modal-header,:host ::ng-deep .modal-fullscreen-lg-down .modal-footer{border-radius:0}:host ::ng-deep .modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media (max-width: 1199.98px){:host ::ng-deep .modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}:host ::ng-deep .modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}:host ::ng-deep .modal-fullscreen-xl-down .modal-header,:host ::ng-deep .modal-fullscreen-xl-down .modal-footer{border-radius:0}:host ::ng-deep .modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media (max-width: 1399.98px){:host ::ng-deep .modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}:host ::ng-deep .modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}:host ::ng-deep .modal-fullscreen-xxl-down .modal-header,:host ::ng-deep .modal-fullscreen-xxl-down .modal-footer{border-radius:0}:host ::ng-deep .modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}\n"] }]
|
|
25
25
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
26
26
|
type: Inject,
|
|
27
27
|
args: [MODAL_CONTENT]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-modal.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/modal/src/providers/modal-content.provider.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/components/modal/modal.component.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/components/modal/modal.component.html","../../../../libs/mintplayer-ng-bootstrap/modal/src/providers/portal-factory.provider.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/components/modal-host/modal-host.component.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/components/modal-host/modal-host.component.html","../../../../libs/mintplayer-ng-bootstrap/modal/src/directives/modal/modal.directive.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/directives/modal-header/modal-header.directive.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/directives/modal-body/modal-body.directive.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/directives/modal-footer/modal-footer.directive.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/directives/modal-close/modal-close.directive.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/modal.module.ts","../../../../libs/mintplayer-ng-bootstrap/modal/mintplayer-ng-bootstrap-modal.ts"],"sourcesContent":["import { InjectionToken, TemplateRef } from \"@angular/core\";\n\nexport const MODAL_CONTENT = new InjectionToken<TemplateRef<any>>('ModalContent');","import { Component, Inject, TemplateRef } from '@angular/core';\nimport { EnterFromTopAnimation, FadeInOutAnimation } from '@mintplayer/ng-animations';\nimport { MODAL_CONTENT } from '../../providers/modal-content.provider';\n\n@Component({\n selector: 'bs-modal-content',\n templateUrl: './modal.component.html',\n styleUrls: ['./modal.component.scss'],\n animations: [FadeInOutAnimation, EnterFromTopAnimation]\n})\nexport class BsModalComponent {\n\n constructor(@Inject(MODAL_CONTENT) template: TemplateRef<any>) {\n this.template = template;\n }\n\n isOpen = false;\n template: TemplateRef<any>;\n\n}\n","<div class=\"modal d-block\" [@fadeInOut] [@enterFromTop] *ngIf=\"isOpen\">\n <div class=\"modal-dialog\">\n <div class=\"modal-content\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n </div>\n </div>\n</div>\n\n<div [@fadeInOut] *ngIf=\"isOpen\">\n <div class=\"modal-backdrop fade\" [class.show]=\"isOpen\"></div>\n</div>","import { ComponentPortal } from \"@angular/cdk/portal\";\nimport { InjectionToken, Injector } from \"@angular/core\";\n\nexport const PORTAL_FACTORY = new InjectionToken<(injector: Injector) => ComponentPortal<any>>('ModalPortalFactory');","import { Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport { AfterViewInit, Component, ComponentFactoryResolver, ComponentRef, EventEmitter, HostListener, Inject, Injector, Input, OnDestroy, Output, TemplateRef } from '@angular/core';\nimport { MODAL_CONTENT } from '../../providers/modal-content.provider';\nimport { PORTAL_FACTORY } from '../../providers/portal-factory.provider';\nimport { BsModalComponent } from '../modal/modal.component';\n\n@Component({\n selector: 'bs-modal',\n templateUrl: './modal-host.component.html',\n styleUrls: ['./modal-host.component.scss']\n})\nexport class BsModalHostComponent implements AfterViewInit, OnDestroy {\n\n constructor(private overlay: Overlay, private parentInjector: Injector, @Inject(PORTAL_FACTORY) private portalFactory: (injector: Injector) => ComponentPortal<BsModalComponent>, private componentFactoryResolver: ComponentFactoryResolver) {}\n\n overlayRef!: OverlayRef;\n componentInstance?: ComponentRef<BsModalComponent>;\n template!: TemplateRef<any>;\n\n //#region isOpen\n private _isOpen = false;\n get isOpen() {\n return this._isOpen;\n }\n @Input() set isOpen(value: boolean) {\n this._isOpen = value;\n if (this.componentInstance) {\n this.componentInstance.instance.isOpen = value;\n }\n this.isOpenChange.emit(value);\n }\n @Output() isOpenChange = new EventEmitter<boolean>();\n //#endregion\n @Input() closeOnEscape = true;\n\n ngAfterViewInit() {\n const injector = Injector.create({\n providers: [\n { provide: MODAL_CONTENT, useValue: this.template }\n ],\n parent: this.parentInjector\n });\n // const portal = new ComponentPortal(BsModalComponent, null, injector, this.componentFactoryResolver);\n const portal = this.portalFactory(injector);\n this.overlayRef = this.overlay.create({\n scrollStrategy: this.overlay.scrollStrategies.reposition(),\n positionStrategy: this.overlay.position()\n .global().centerHorizontally().bottom('0').top('0').left('0').right('0'),\n width: '100%',\n hasBackdrop: false\n });\n this.componentInstance = this.overlayRef.attach<BsModalComponent>(portal);\n this.componentInstance.instance.isOpen = this._isOpen;\n }\n\n ngOnDestroy() {\n this.isOpen = false;\n setTimeout(() => this.overlayRef && this.overlayRef.dispose(), 500);\n }\n \n @HostListener('document:keydown', ['$event'])\n private onKeyDown(ev: KeyboardEvent) {\n if (this.isOpen && this.closeOnEscape && ev.code === 'Escape') {\n this.isOpen = false;\n }\n }\n}","<bs-has-overlay></bs-has-overlay>","import { Directive, TemplateRef } from '@angular/core';\nimport { BsModalHostComponent } from '../../components/modal-host/modal-host.component';\n\n@Directive({\n selector: '[bsModal]'\n})\nexport class BsModalDirective {\n\n constructor(template: TemplateRef<any>, host: BsModalHostComponent) {\n host.template = template;\n }\n \n}\n","import { Directive, HostBinding } from '@angular/core';\n\n@Directive({\n selector: '[bsModalHeader]'\n})\nexport class BsModalHeaderDirective {\n\n @HostBinding('class.modal-header') headerClass = true;\n\n}\n","import { Directive, HostBinding } from '@angular/core';\n\n@Directive({\n selector: '[bsModalBody]'\n})\nexport class BsModalBodyDirective {\n\n @HostBinding('class.modal-body') bodyClass = true;\n\n}\n","import { Directive, HostBinding } from '@angular/core';\n\n@Directive({\n selector: '[bsModalFooter]'\n})\nexport class BsModalFooterDirective {\n\n @HostBinding('class.modal-footer') footerClass = true;\n\n}\n","import { Directive, HostListener } from '@angular/core';\nimport { BsModalHostComponent } from '../../components/modal-host/modal-host.component';\n\n@Directive({\n selector: '[bsModalClose]'\n})\nexport class BsModalCloseDirective {\n\n constructor(private host: BsModalHostComponent) { }\n\n @HostListener('click') onClick() {\n this.host.isOpen = false;\n }\n}\n","import { Injector, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport { BsHasOverlayModule } from '@mintplayer/ng-bootstrap/has-overlay';\nimport { BsModalComponent } from './components/modal/modal.component';\nimport { BsModalHostComponent } from './components/modal-host/modal-host.component';\nimport { BsModalHeaderDirective } from './directives/modal-header/modal-header.directive';\nimport { BsModalBodyDirective } from './directives/modal-body/modal-body.directive';\nimport { BsModalFooterDirective } from './directives/modal-footer/modal-footer.directive';\nimport { BsModalDirective } from './directives/modal/modal.directive';\nimport { BsModalCloseDirective } from './directives/modal-close/modal-close.directive';\nimport { PORTAL_FACTORY } from './providers/portal-factory.provider';\n\n@NgModule({\n declarations: [\n BsModalHeaderDirective,\n BsModalBodyDirective,\n BsModalFooterDirective,\n BsModalDirective,\n BsModalCloseDirective,\n BsModalComponent,\n BsModalHostComponent\n ],\n imports: [\n CommonModule,\n OverlayModule,\n BsHasOverlayModule\n ],\n exports: [\n BsModalHeaderDirective,\n BsModalBodyDirective,\n BsModalFooterDirective,\n BsModalDirective,\n BsModalCloseDirective,\n BsModalComponent,\n BsModalHostComponent\n ],\n providers: [{\n provide: PORTAL_FACTORY,\n useValue: (injector: Injector) => {\n return new ComponentPortal(BsModalComponent, null, injector);\n }\n }]\n})\nexport class BsModalModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.BsModalHostComponent"],"mappings":";;;;;;;;;;;AAEO,MAAM,aAAa,GAAG,IAAI,cAAc,CAAmB,cAAc,CAAC;;ACEjF,MAMa,gBAAgB,CAAA;AAE3B,IAAA,WAAA,CAAmC,QAA0B,EAAA;QAI7D,IAAM,CAAA,MAAA,GAAG,KAAK,CAAC;AAHb,QAAA,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;KAC1B;AAJU,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA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AAA;AACD,oBAAA,OAAO,EAAE;wBACP,sBAAsB;wBACtB,oBAAoB;wBACpB,sBAAsB;wBACtB,gBAAgB;wBAChB,qBAAqB;wBACrB,gBAAgB;wBAChB,oBAAoB;AACrB,qBAAA;AACD,oBAAA,SAAS,EAAE,CAAC;AACV,4BAAA,OAAO,EAAE,cAAc;AACvB,4BAAA,QAAQ,EAAE,CAAC,QAAkB,KAAI;gCAC/B,OAAO,IAAI,eAAe,CAAC,gBAAgB,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC;6BAC9D;yBACF,CAAC;AACH,iBAAA,CAAA;;;AC5CD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-modal.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/modal/src/providers/modal-content.provider.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/components/modal/modal.component.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/components/modal/modal.component.html","../../../../libs/mintplayer-ng-bootstrap/modal/src/providers/portal-factory.provider.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/components/modal-host/modal-host.component.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/components/modal-host/modal-host.component.html","../../../../libs/mintplayer-ng-bootstrap/modal/src/directives/modal/modal.directive.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/directives/modal-header/modal-header.directive.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/directives/modal-body/modal-body.directive.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/directives/modal-footer/modal-footer.directive.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/directives/modal-close/modal-close.directive.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/modal.module.ts","../../../../libs/mintplayer-ng-bootstrap/modal/mintplayer-ng-bootstrap-modal.ts"],"sourcesContent":["import { InjectionToken, TemplateRef } from \"@angular/core\";\n\nexport const MODAL_CONTENT = new InjectionToken<TemplateRef<any>>('ModalContent');","import { Component, Inject, TemplateRef } from '@angular/core';\nimport { EnterFromTopAnimation, FadeInOutAnimation } from '@mintplayer/ng-animations';\nimport { MODAL_CONTENT } from '../../providers/modal-content.provider';\n\n@Component({\n selector: 'bs-modal-content',\n templateUrl: './modal.component.html',\n styleUrls: ['./modal.component.scss'],\n animations: [FadeInOutAnimation, EnterFromTopAnimation]\n})\nexport class BsModalComponent {\n\n constructor(@Inject(MODAL_CONTENT) template: TemplateRef<any>) {\n this.template = template;\n }\n\n isOpen = false;\n template: TemplateRef<any>;\n\n}\n","<div class=\"modal d-block\" [@fadeInOut] [@enterFromTop] *ngIf=\"isOpen\">\n <div class=\"modal-dialog\">\n <div class=\"modal-content\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n </div>\n </div>\n</div>\n\n<div [@fadeInOut] *ngIf=\"isOpen\">\n <div class=\"modal-backdrop fade\" [class.show]=\"isOpen\"></div>\n</div>","import { ComponentPortal } from \"@angular/cdk/portal\";\nimport { InjectionToken, Injector } from \"@angular/core\";\n\nexport const PORTAL_FACTORY = new InjectionToken<(injector: Injector) => ComponentPortal<any>>('ModalPortalFactory');","import { Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport { AfterViewInit, Component, ComponentFactoryResolver, ComponentRef, EventEmitter, HostListener, Inject, Injector, Input, OnDestroy, Output, TemplateRef } from '@angular/core';\nimport { MODAL_CONTENT } from '../../providers/modal-content.provider';\nimport { PORTAL_FACTORY } from '../../providers/portal-factory.provider';\nimport { BsModalComponent } from '../modal/modal.component';\n\n@Component({\n selector: 'bs-modal',\n templateUrl: './modal-host.component.html',\n styleUrls: ['./modal-host.component.scss']\n})\nexport class BsModalHostComponent implements AfterViewInit, OnDestroy {\n\n constructor(private overlay: Overlay, private parentInjector: Injector, @Inject(PORTAL_FACTORY) private portalFactory: (injector: Injector) => ComponentPortal<BsModalComponent>, private componentFactoryResolver: ComponentFactoryResolver) {}\n\n overlayRef!: OverlayRef;\n componentInstance?: ComponentRef<BsModalComponent>;\n template!: TemplateRef<any>;\n\n //#region isOpen\n private _isOpen = false;\n get isOpen() {\n return this._isOpen;\n }\n @Input() set isOpen(value: boolean) {\n this._isOpen = value;\n if (this.componentInstance) {\n this.componentInstance.instance.isOpen = value;\n }\n this.isOpenChange.emit(value);\n }\n @Output() isOpenChange = new EventEmitter<boolean>();\n //#endregion\n @Input() closeOnEscape = true;\n\n ngAfterViewInit() {\n const injector = Injector.create({\n providers: [\n { provide: MODAL_CONTENT, useValue: this.template }\n ],\n parent: this.parentInjector\n });\n // const portal = new ComponentPortal(BsModalComponent, null, injector, this.componentFactoryResolver);\n const portal = this.portalFactory(injector);\n this.overlayRef = this.overlay.create({\n scrollStrategy: this.overlay.scrollStrategies.reposition(),\n positionStrategy: this.overlay.position()\n .global().centerHorizontally().bottom('0').top('0').left('0').right('0'),\n width: '100%',\n hasBackdrop: false\n });\n this.componentInstance = this.overlayRef.attach<BsModalComponent>(portal);\n this.componentInstance.instance.isOpen = this._isOpen;\n }\n\n ngOnDestroy() {\n this.isOpen = false;\n setTimeout(() => this.overlayRef && this.overlayRef.dispose(), 500);\n }\n \n @HostListener('document:keydown', ['$event'])\n private onKeyDown(ev: KeyboardEvent) {\n if (this.isOpen && this.closeOnEscape && ev.code === 'Escape') {\n this.isOpen = false;\n }\n }\n}","<bs-has-overlay></bs-has-overlay>","import { Directive, TemplateRef } from '@angular/core';\nimport { BsModalHostComponent } from '../../components/modal-host/modal-host.component';\n\n@Directive({\n selector: '[bsModal]'\n})\nexport class BsModalDirective {\n\n constructor(template: TemplateRef<any>, host: BsModalHostComponent) {\n host.template = template;\n }\n \n}\n","import { Directive, HostBinding } from '@angular/core';\n\n@Directive({\n selector: '[bsModalHeader]'\n})\nexport class BsModalHeaderDirective {\n\n @HostBinding('class.modal-header') headerClass = true;\n\n}\n","import { Directive, HostBinding } from '@angular/core';\n\n@Directive({\n selector: '[bsModalBody]'\n})\nexport class BsModalBodyDirective {\n\n @HostBinding('class.modal-body') bodyClass = true;\n\n}\n","import { Directive, HostBinding } from '@angular/core';\n\n@Directive({\n selector: '[bsModalFooter]'\n})\nexport class BsModalFooterDirective {\n\n @HostBinding('class.modal-footer') footerClass = true;\n\n}\n","import { Directive, HostListener } from '@angular/core';\nimport { BsModalHostComponent } from '../../components/modal-host/modal-host.component';\n\n@Directive({\n selector: '[bsModalClose]'\n})\nexport class BsModalCloseDirective {\n\n constructor(private host: BsModalHostComponent) { }\n\n @HostListener('click') onClick() {\n this.host.isOpen = false;\n }\n}\n","import { Injector, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport { BsHasOverlayModule } from '@mintplayer/ng-bootstrap/has-overlay';\nimport { BsModalComponent } from './components/modal/modal.component';\nimport { BsModalHostComponent } from './components/modal-host/modal-host.component';\nimport { BsModalHeaderDirective } from './directives/modal-header/modal-header.directive';\nimport { BsModalBodyDirective } from './directives/modal-body/modal-body.directive';\nimport { BsModalFooterDirective } from './directives/modal-footer/modal-footer.directive';\nimport { BsModalDirective } from './directives/modal/modal.directive';\nimport { BsModalCloseDirective } from './directives/modal-close/modal-close.directive';\nimport { PORTAL_FACTORY } from './providers/portal-factory.provider';\n\n@NgModule({\n declarations: [\n BsModalHeaderDirective,\n BsModalBodyDirective,\n BsModalFooterDirective,\n BsModalDirective,\n BsModalCloseDirective,\n BsModalComponent,\n BsModalHostComponent\n ],\n imports: [\n CommonModule,\n OverlayModule,\n BsHasOverlayModule\n ],\n exports: [\n BsModalHeaderDirective,\n BsModalBodyDirective,\n BsModalFooterDirective,\n BsModalDirective,\n BsModalCloseDirective,\n BsModalComponent,\n BsModalHostComponent\n ],\n providers: [{\n provide: PORTAL_FACTORY,\n useValue: (injector: Injector) => {\n return new ComponentPortal(BsModalComponent, null, injector);\n }\n }]\n})\nexport class BsModalModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"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