@mintplayer/ng-bootstrap 22.31.0 → 22.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -11
- package/_bootstrap.scss +2 -4
- package/a11y/forms/package.json +4 -0
- package/fesm2022/mintplayer-ng-bootstrap-a11y-forms.mjs +120 -0
- package/fesm2022/mintplayer-ng-bootstrap-a11y-forms.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs +2 -109
- package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +3 -1
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +7 -3
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +7 -3
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs +12 -5
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs +7 -3
- package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs +74 -83
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +3 -0
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs +9 -5
- package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs +7 -3
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +4 -0
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +4 -2
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs +4 -2
- package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs +9 -2
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +12 -4
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs +2 -0
- package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +6 -2
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-for.mjs +8 -4
- package/fesm2022/mintplayer-ng-bootstrap-for.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-form.mjs +7 -2
- package/fesm2022/mintplayer-ng-bootstrap-form.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +40 -12
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs +3 -1
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs +23 -6
- package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-machine.mjs +16 -4
- package/fesm2022/mintplayer-ng-bootstrap-machine.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs +23 -7
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-nav.mjs +93 -0
- package/fesm2022/mintplayer-ng-bootstrap-nav.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs +7 -3
- package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +43 -1
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +15 -6
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs +4 -2
- package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +7 -4
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs +4 -2
- package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs +22 -16
- package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +22 -7
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +13 -6
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs +4 -0
- package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-radio.mjs +9 -5
- package/fesm2022/mintplayer-ng-bootstrap-radio.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs +7 -3
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +2 -0
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +19 -9
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs +4 -2
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +4 -2
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs +25 -11
- package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs +14 -4
- package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +3 -1
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs +9 -14
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +5 -2
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +23 -8
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +7 -3
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +4 -1
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
- package/nav/package.json +4 -0
- package/package.json +11 -8
- package/types/mintplayer-ng-bootstrap-a11y-forms.d.ts +64 -0
- package/types/mintplayer-ng-bootstrap-a11y.d.ts +2 -62
- package/types/mintplayer-ng-bootstrap-alert.d.ts +1 -0
- package/types/mintplayer-ng-bootstrap-badge.d.ts +1 -0
- package/types/mintplayer-ng-bootstrap-breadcrumb.d.ts +2 -0
- package/types/mintplayer-ng-bootstrap-button-group.d.ts +1 -0
- package/types/mintplayer-ng-bootstrap-card.d.ts +14 -3
- package/types/mintplayer-ng-bootstrap-checkbox.d.ts +1 -1
- package/types/mintplayer-ng-bootstrap-close.d.ts +1 -0
- package/types/mintplayer-ng-bootstrap-datepicker.d.ts +1 -1
- package/types/mintplayer-ng-bootstrap-datetime-picker.d.ts +1 -1
- package/types/mintplayer-ng-bootstrap-dropdown-divider.d.ts +1 -0
- package/types/mintplayer-ng-bootstrap-for.d.ts +5 -5
- package/types/mintplayer-ng-bootstrap-form.d.ts +1 -0
- package/types/mintplayer-ng-bootstrap-grid.d.ts +14 -0
- package/types/mintplayer-ng-bootstrap-list-group.d.ts +15 -8
- package/types/mintplayer-ng-bootstrap-machine.d.ts +13 -2
- package/types/mintplayer-ng-bootstrap-modal.d.ts +2 -0
- package/types/mintplayer-ng-bootstrap-nav.d.ts +52 -0
- package/types/mintplayer-ng-bootstrap-navbar-toggler.d.ts +1 -0
- package/types/mintplayer-ng-bootstrap-navbar.d.ts +17 -1
- package/types/mintplayer-ng-bootstrap-otp-input.d.ts +1 -1
- package/types/mintplayer-ng-bootstrap-pagination.d.ts +1 -0
- package/types/mintplayer-ng-bootstrap-phone-input.d.ts +1 -1
- package/types/mintplayer-ng-bootstrap-placeholder.d.ts +10 -10
- package/types/mintplayer-ng-bootstrap-popover.d.ts +3 -0
- package/types/mintplayer-ng-bootstrap-progress-bar.d.ts +2 -0
- package/types/mintplayer-ng-bootstrap-radio.d.ts +1 -1
- package/types/mintplayer-ng-bootstrap-range.d.ts +1 -0
- package/types/mintplayer-ng-bootstrap-scrollspy.d.ts +1 -0
- package/types/mintplayer-ng-bootstrap-select.d.ts +1 -1
- package/types/mintplayer-ng-bootstrap-signature-pad.d.ts +1 -1
- package/types/mintplayer-ng-bootstrap-spinner.d.ts +14 -7
- package/types/mintplayer-ng-bootstrap-sticky-footer.d.ts +7 -1
- package/types/mintplayer-ng-bootstrap-table.d.ts +2 -6
- package/types/mintplayer-ng-bootstrap-timepicker.d.ts +1 -1
- package/types/mintplayer-ng-bootstrap-toast.d.ts +2 -0
- package/container/package.json +0 -4
- package/fesm2022/mintplayer-ng-bootstrap-container.mjs +0 -18
- package/fesm2022/mintplayer-ng-bootstrap-container.mjs.map +0 -1
- package/types/mintplayer-ng-bootstrap-container.d.ts +0 -8
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { input, computed, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import { useBootstrap } from '@mintplayer/ng-bootstrap/machine';
|
|
4
|
+
import { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';
|
|
3
5
|
import { Color } from '@mintplayer/ng-bootstrap';
|
|
4
6
|
import { cardColorClasses, capColorClasses, cardImgClass } from '@mintplayer/ui-core/card';
|
|
5
7
|
export { CARD_COLORS, isCardColor } from '@mintplayer/ui-core/card';
|
|
@@ -8,8 +10,9 @@ import { NgTemplateOutlet } from '@angular/common';
|
|
|
8
10
|
/**
|
|
9
11
|
* The card root (PRD #437 wave A). The host IS the Bootstrap `.card`: no
|
|
10
12
|
* inner element and no core, so the server renders the finished card and the
|
|
11
|
-
*
|
|
12
|
-
* plain class-carrying elements
|
|
13
|
+
* card part this component installs (#452) styles it with JS off. Projected
|
|
14
|
+
* `<bs-card-*>` children are plain class-carrying elements, each stamped
|
|
15
|
+
* `data-mps="card"` so the scoped part matches them.
|
|
13
16
|
*/
|
|
14
17
|
class BsCardComponent {
|
|
15
18
|
constructor() {
|
|
@@ -22,19 +25,21 @@ class BsCardComponent {
|
|
|
22
25
|
return ['card', ...cardColorClasses(c === undefined ? null : Color[c], this.outline())];
|
|
23
26
|
}, /* @ts-ignore */
|
|
24
27
|
...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
|
|
28
|
+
// #452: the card partial ships with this component, scoped to the elements it stamps (data-mps="card").
|
|
29
|
+
useBootstrap(bootstrapCard);
|
|
25
30
|
}
|
|
26
31
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
27
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsCardComponent, isStandalone: true, selector: "bs-card", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, outline: { classPropertyName: "outline", publicName: "outline", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "classes()" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
32
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsCardComponent, isStandalone: true, selector: "bs-card", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, outline: { classPropertyName: "outline", publicName: "outline", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.data-mps": "\"card\"", "class": "classes()" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
28
33
|
}
|
|
29
34
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardComponent, decorators: [{
|
|
30
35
|
type: Component,
|
|
31
36
|
args: [{
|
|
32
37
|
selector: 'bs-card',
|
|
33
38
|
template: '<ng-content></ng-content>',
|
|
34
|
-
host: { '[class]': 'classes()' },
|
|
39
|
+
host: { '[attr.data-mps]': '"card"', '[class]': 'classes()' },
|
|
35
40
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
36
41
|
}]
|
|
37
|
-
}], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], outline: [{ type: i0.Input, args: [{ isSignal: true, alias: "outline", required: false }] }] } });
|
|
42
|
+
}], ctorParameters: () => [], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], outline: [{ type: i0.Input, args: [{ isSignal: true, alias: "outline", required: false }] }] } });
|
|
38
43
|
|
|
39
44
|
/**
|
|
40
45
|
* Card header. A nav inside it takes Bootstrap's own `card-header-tabs` or
|
|
@@ -51,19 +56,16 @@ class BsCardHeaderComponent {
|
|
|
51
56
|
return ['card-header', ...capColorClasses(c === undefined ? null : Color[c])];
|
|
52
57
|
}, /* @ts-ignore */
|
|
53
58
|
...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
|
|
59
|
+
// #452: the card partial ships with this component, scoped to the elements it stamps (data-mps="card").
|
|
60
|
+
useBootstrap(bootstrapCard);
|
|
54
61
|
}
|
|
55
62
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
56
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsCardHeaderComponent, isStandalone: true, selector: "bs-card-header", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "classes()" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
63
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsCardHeaderComponent, isStandalone: true, selector: "bs-card-header", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.data-mps": "\"card\"", "class": "classes()" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:block}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
57
64
|
}
|
|
58
65
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardHeaderComponent, decorators: [{
|
|
59
66
|
type: Component,
|
|
60
|
-
args: [{
|
|
61
|
-
|
|
62
|
-
template: '<ng-content></ng-content>',
|
|
63
|
-
host: { '[class]': 'classes()' },
|
|
64
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
65
|
-
}]
|
|
66
|
-
}], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }] } });
|
|
67
|
+
args: [{ selector: 'bs-card-header', template: '<ng-content></ng-content>', host: { '[attr.data-mps]': '"card"', '[class]': 'classes()' }, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}\n"] }]
|
|
68
|
+
}], ctorParameters: () => [], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }] } });
|
|
67
69
|
|
|
68
70
|
/**
|
|
69
71
|
* Card body — explicit wrapper. No auto-padding workaround like the previous
|
|
@@ -72,18 +74,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
72
74
|
* `<bs-card>` instead.
|
|
73
75
|
*/
|
|
74
76
|
class BsCardBodyComponent {
|
|
77
|
+
constructor() {
|
|
78
|
+
// #452: the card partial ships with this component, scoped to the elements it stamps (data-mps="card").
|
|
79
|
+
useBootstrap(bootstrapCard);
|
|
80
|
+
}
|
|
75
81
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
76
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: BsCardBodyComponent, isStandalone: true, selector: "bs-card-body", host: { classAttribute: "card-body" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
82
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: BsCardBodyComponent, isStandalone: true, selector: "bs-card-body", host: { properties: { "attr.data-mps": "\"card\"" }, classAttribute: "card-body" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:block}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
77
83
|
}
|
|
78
84
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardBodyComponent, decorators: [{
|
|
79
85
|
type: Component,
|
|
80
|
-
args: [{
|
|
81
|
-
|
|
82
|
-
template: '<ng-content></ng-content>',
|
|
83
|
-
host: { class: 'card-body' },
|
|
84
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
85
|
-
}]
|
|
86
|
-
}] });
|
|
86
|
+
args: [{ selector: 'bs-card-body', template: '<ng-content></ng-content>', host: { '[attr.data-mps]': '"card"', class: 'card-body' }, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}\n"] }]
|
|
87
|
+
}], ctorParameters: () => [] });
|
|
87
88
|
|
|
88
89
|
class BsCardFooterComponent {
|
|
89
90
|
constructor() {
|
|
@@ -94,75 +95,63 @@ class BsCardFooterComponent {
|
|
|
94
95
|
return ['card-footer', ...capColorClasses(c === undefined ? null : Color[c])];
|
|
95
96
|
}, /* @ts-ignore */
|
|
96
97
|
...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
|
|
98
|
+
// #452: the card partial ships with this component, scoped to the elements it stamps (data-mps="card").
|
|
99
|
+
useBootstrap(bootstrapCard);
|
|
97
100
|
}
|
|
98
101
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
99
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsCardFooterComponent, isStandalone: true, selector: "bs-card-footer", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "classes()" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
102
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsCardFooterComponent, isStandalone: true, selector: "bs-card-footer", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.data-mps": "\"card\"", "class": "classes()" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:block}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
100
103
|
}
|
|
101
104
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardFooterComponent, decorators: [{
|
|
102
105
|
type: Component,
|
|
103
|
-
args: [{
|
|
104
|
-
|
|
105
|
-
template: '<ng-content></ng-content>',
|
|
106
|
-
host: { '[class]': 'classes()' },
|
|
107
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
108
|
-
}]
|
|
109
|
-
}], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }] } });
|
|
106
|
+
args: [{ selector: 'bs-card-footer', template: '<ng-content></ng-content>', host: { '[attr.data-mps]': '"card"', '[class]': 'classes()' }, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}\n"] }]
|
|
107
|
+
}], ctorParameters: () => [], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }] } });
|
|
110
108
|
|
|
111
109
|
class BsCardTitleComponent {
|
|
112
110
|
constructor() {
|
|
113
111
|
/** Heading level in the page outline. Cards default to a section-level 5, matching Bootstrap's visual h5. */
|
|
114
112
|
this.level = input(5, /* @ts-ignore */
|
|
115
113
|
...(ngDevMode ? [{ debugName: "level" }] : /* istanbul ignore next */ []));
|
|
114
|
+
// #452: the card partial ships with this component, scoped to the elements it stamps (data-mps="card").
|
|
115
|
+
useBootstrap(bootstrapCard);
|
|
116
116
|
}
|
|
117
117
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
118
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsCardTitleComponent, isStandalone: true, selector: "bs-card-title", inputs: { level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "heading" }, properties: { "attr.aria-level": "level()" }, classAttribute: "card-title
|
|
118
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsCardTitleComponent, isStandalone: true, selector: "bs-card-title", inputs: { level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "heading" }, properties: { "attr.data-mps": "\"card\"", "attr.aria-level": "level()" }, classAttribute: "card-title" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:block}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
119
119
|
}
|
|
120
120
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardTitleComponent, decorators: [{
|
|
121
121
|
type: Component,
|
|
122
|
-
args: [{
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
// cannot change dynamically without destroying projected content, and the
|
|
126
|
-
// computed pair is exactly equivalent in the accessibility tree.
|
|
127
|
-
template: '<ng-content></ng-content>',
|
|
128
|
-
host: {
|
|
129
|
-
// d-block: the host is a custom element, inline by default, and the
|
|
130
|
-
// title's margin needs a block box.
|
|
131
|
-
class: 'card-title d-block',
|
|
122
|
+
args: [{ selector: 'bs-card-title', template: '<ng-content></ng-content>', host: {
|
|
123
|
+
'[attr.data-mps]': '"card"',
|
|
124
|
+
class: 'card-title',
|
|
132
125
|
role: 'heading',
|
|
133
126
|
'[attr.aria-level]': 'level()',
|
|
134
|
-
},
|
|
135
|
-
|
|
136
|
-
}]
|
|
137
|
-
}], propDecorators: { level: [{ type: i0.Input, args: [{ isSignal: true, alias: "level", required: false }] }] } });
|
|
127
|
+
}, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}\n"] }]
|
|
128
|
+
}], ctorParameters: () => [], propDecorators: { level: [{ type: i0.Input, args: [{ isSignal: true, alias: "level", required: false }] }] } });
|
|
138
129
|
|
|
139
130
|
class BsCardSubtitleComponent {
|
|
131
|
+
constructor() {
|
|
132
|
+
// #452: the card partial ships with this component, scoped to the elements it stamps (data-mps="card").
|
|
133
|
+
useBootstrap(bootstrapCard);
|
|
134
|
+
}
|
|
140
135
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardSubtitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
141
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: BsCardSubtitleComponent, isStandalone: true, selector: "bs-card-subtitle", host: { classAttribute: "card-subtitle
|
|
136
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: BsCardSubtitleComponent, isStandalone: true, selector: "bs-card-subtitle", host: { properties: { "attr.data-mps": "\"card\"" }, classAttribute: "card-subtitle" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:block}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
142
137
|
}
|
|
143
138
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardSubtitleComponent, decorators: [{
|
|
144
139
|
type: Component,
|
|
145
|
-
args: [{
|
|
146
|
-
|
|
147
|
-
template: '<ng-content></ng-content>',
|
|
148
|
-
host: { class: 'card-subtitle d-block' },
|
|
149
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
150
|
-
}]
|
|
151
|
-
}] });
|
|
140
|
+
args: [{ selector: 'bs-card-subtitle', template: '<ng-content></ng-content>', host: { '[attr.data-mps]': '"card"', class: 'card-subtitle' }, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}\n"] }]
|
|
141
|
+
}], ctorParameters: () => [] });
|
|
152
142
|
|
|
153
143
|
class BsCardTextComponent {
|
|
144
|
+
constructor() {
|
|
145
|
+
// #452: the card partial ships with this component, scoped to the elements it stamps (data-mps="card").
|
|
146
|
+
useBootstrap(bootstrapCard);
|
|
147
|
+
}
|
|
154
148
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
155
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: BsCardTextComponent, isStandalone: true, selector: "bs-card-text", host: { classAttribute: "card-text
|
|
149
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: BsCardTextComponent, isStandalone: true, selector: "bs-card-text", host: { properties: { "attr.data-mps": "\"card\"" }, classAttribute: "card-text" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:block}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
156
150
|
}
|
|
157
151
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardTextComponent, decorators: [{
|
|
158
152
|
type: Component,
|
|
159
|
-
args: [{
|
|
160
|
-
|
|
161
|
-
template: '<ng-content></ng-content>',
|
|
162
|
-
host: { class: 'card-text d-block' },
|
|
163
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
164
|
-
}]
|
|
165
|
-
}] });
|
|
153
|
+
args: [{ selector: 'bs-card-text', template: '<ng-content></ng-content>', host: { '[attr.data-mps]': '"card"', class: 'card-text' }, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}\n"] }]
|
|
154
|
+
}], ctorParameters: () => [] });
|
|
166
155
|
|
|
167
156
|
/**
|
|
168
157
|
* Card link. The HOST carries `.card-link`, so Bootstrap's
|
|
@@ -177,19 +166,21 @@ class BsCardLinkComponent {
|
|
|
177
166
|
// when the input is unset.
|
|
178
167
|
this.hrefAttr = computed(() => this.href() ?? null, /* @ts-ignore */
|
|
179
168
|
...(ngDevMode ? [{ debugName: "hrefAttr" }] : /* istanbul ignore next */ []));
|
|
169
|
+
// #452: the card partial ships with this component, scoped to the elements it stamps (data-mps="card").
|
|
170
|
+
useBootstrap(bootstrapCard);
|
|
180
171
|
}
|
|
181
172
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardLinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
182
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsCardLinkComponent, isStandalone: true, selector: "bs-card-link", inputs: { href: { classPropertyName: "href", publicName: "href", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "card-link" }, ngImport: i0, template: '<a [attr.href]="hrefAttr()"><ng-content></ng-content></a>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
173
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsCardLinkComponent, isStandalone: true, selector: "bs-card-link", inputs: { href: { classPropertyName: "href", publicName: "href", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.data-mps": "\"card\"" }, classAttribute: "card-link" }, ngImport: i0, template: '<a data-mps="card" [attr.href]="hrefAttr()"><ng-content></ng-content></a>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
183
174
|
}
|
|
184
175
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardLinkComponent, decorators: [{
|
|
185
176
|
type: Component,
|
|
186
177
|
args: [{
|
|
187
178
|
selector: 'bs-card-link',
|
|
188
|
-
template: '<a [attr.href]="hrefAttr()"><ng-content></ng-content></a>',
|
|
189
|
-
host: { class: 'card-link' },
|
|
179
|
+
template: '<a data-mps="card" [attr.href]="hrefAttr()"><ng-content></ng-content></a>',
|
|
180
|
+
host: { '[attr.data-mps]': '"card"', class: 'card-link' },
|
|
190
181
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
191
182
|
}]
|
|
192
|
-
}], propDecorators: { href: [{ type: i0.Input, args: [{ isSignal: true, alias: "href", required: false }] }] } });
|
|
183
|
+
}], ctorParameters: () => [], propDecorators: { href: [{ type: i0.Input, args: [{ isSignal: true, alias: "href", required: false }] }] } });
|
|
193
184
|
|
|
194
185
|
/**
|
|
195
186
|
* Card image. `position` switches the rendered shape; `src` and `alt` map
|
|
@@ -230,18 +221,20 @@ class BsCardImgComponent {
|
|
|
230
221
|
// input therefore means decorative, never unlabelled.
|
|
231
222
|
this.altAttr = computed(() => this.alt() ?? '', /* @ts-ignore */
|
|
232
223
|
...(ngDevMode ? [{ debugName: "altAttr" }] : /* istanbul ignore next */ []));
|
|
224
|
+
// #452: the card partial ships with this component, scoped to the elements it stamps (data-mps="card").
|
|
225
|
+
useBootstrap(bootstrapCard);
|
|
233
226
|
}
|
|
234
227
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardImgComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
235
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsCardImgComponent, isStandalone: true, selector: "bs-card-img", inputs: { position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, src: { classPropertyName: "src", publicName: "src", isSignal: true, isRequired: false, transformFunction: null }, alt: { classPropertyName: "alt", publicName: "alt", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "hostClass()" } }, ngImport: i0, template: `
|
|
228
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsCardImgComponent, isStandalone: true, selector: "bs-card-img", inputs: { position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, src: { classPropertyName: "src", publicName: "src", isSignal: true, isRequired: false, transformFunction: null }, alt: { classPropertyName: "alt", publicName: "alt", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.data-mps": "\"card\"", "class": "hostClass()" } }, ngImport: i0, template: `
|
|
236
229
|
<ng-template #projected><ng-content></ng-content></ng-template>
|
|
237
230
|
<ng-template #imgTpl>
|
|
238
|
-
<img [class]="imgClass()" [attr.src]="srcAttr()" [attr.alt]="altAttr()" />
|
|
231
|
+
<img data-mps="card" [class]="imgClass()" [attr.src]="srcAttr()" [attr.alt]="altAttr()" />
|
|
239
232
|
</ng-template>
|
|
240
233
|
|
|
241
234
|
@switch (position()) {
|
|
242
235
|
@case ('overlay') {
|
|
243
236
|
<ng-container *ngTemplateOutlet="imgTpl"></ng-container>
|
|
244
|
-
<div class="card-img-overlay">
|
|
237
|
+
<div data-mps="card" class="card-img-overlay">
|
|
245
238
|
<ng-container *ngTemplateOutlet="projected"></ng-container>
|
|
246
239
|
</div>
|
|
247
240
|
}
|
|
@@ -254,23 +247,20 @@ class BsCardImgComponent {
|
|
|
254
247
|
<ng-container *ngTemplateOutlet="projected"></ng-container>
|
|
255
248
|
}
|
|
256
249
|
}
|
|
257
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
250
|
+
`, isInline: true, styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
258
251
|
}
|
|
259
252
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardImgComponent, decorators: [{
|
|
260
253
|
type: Component,
|
|
261
|
-
args: [{
|
|
262
|
-
selector: 'bs-card-img',
|
|
263
|
-
imports: [NgTemplateOutlet],
|
|
264
|
-
template: `
|
|
254
|
+
args: [{ selector: 'bs-card-img', imports: [NgTemplateOutlet], template: `
|
|
265
255
|
<ng-template #projected><ng-content></ng-content></ng-template>
|
|
266
256
|
<ng-template #imgTpl>
|
|
267
|
-
<img [class]="imgClass()" [attr.src]="srcAttr()" [attr.alt]="altAttr()" />
|
|
257
|
+
<img data-mps="card" [class]="imgClass()" [attr.src]="srcAttr()" [attr.alt]="altAttr()" />
|
|
268
258
|
</ng-template>
|
|
269
259
|
|
|
270
260
|
@switch (position()) {
|
|
271
261
|
@case ('overlay') {
|
|
272
262
|
<ng-container *ngTemplateOutlet="imgTpl"></ng-container>
|
|
273
|
-
<div class="card-img-overlay">
|
|
263
|
+
<div data-mps="card" class="card-img-overlay">
|
|
274
264
|
<ng-container *ngTemplateOutlet="projected"></ng-container>
|
|
275
265
|
</div>
|
|
276
266
|
}
|
|
@@ -283,30 +273,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
283
273
|
<ng-container *ngTemplateOutlet="projected"></ng-container>
|
|
284
274
|
}
|
|
285
275
|
}
|
|
286
|
-
`,
|
|
287
|
-
|
|
288
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
289
|
-
}]
|
|
290
|
-
}], propDecorators: { position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], src: [{ type: i0.Input, args: [{ isSignal: true, alias: "src", required: false }] }], alt: [{ type: i0.Input, args: [{ isSignal: true, alias: "alt", required: false }] }] } });
|
|
276
|
+
`, host: { '[attr.data-mps]': '"card"', '[class]': 'hostClass()' }, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}\n"] }]
|
|
277
|
+
}], ctorParameters: () => [], propDecorators: { position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], src: [{ type: i0.Input, args: [{ isSignal: true, alias: "src", required: false }] }], alt: [{ type: i0.Input, args: [{ isSignal: true, alias: "alt", required: false }] }] } });
|
|
291
278
|
|
|
292
279
|
/**
|
|
293
280
|
* Card group. No host `display` of its own: Bootstrap's `.card-group` turns
|
|
294
281
|
* flex from `sm` up, and an unlayered component rule would out-rank the
|
|
295
|
-
* layered
|
|
282
|
+
* layered card part and keep it a block (PRD #452 C3).
|
|
296
283
|
*/
|
|
297
284
|
class BsCardGroupComponent {
|
|
285
|
+
constructor() {
|
|
286
|
+
// #452: the card partial ships with this component, scoped to the elements it stamps (data-mps="card").
|
|
287
|
+
useBootstrap(bootstrapCard);
|
|
288
|
+
}
|
|
298
289
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
299
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: BsCardGroupComponent, isStandalone: true, selector: "bs-card-group", host: { classAttribute: "card-group" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
290
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: BsCardGroupComponent, isStandalone: true, selector: "bs-card-group", host: { properties: { "attr.data-mps": "\"card\"" }, classAttribute: "card-group" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
300
291
|
}
|
|
301
292
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardGroupComponent, decorators: [{
|
|
302
293
|
type: Component,
|
|
303
294
|
args: [{
|
|
304
295
|
selector: 'bs-card-group',
|
|
305
296
|
template: '<ng-content></ng-content>',
|
|
306
|
-
host: { class: 'card-group' },
|
|
297
|
+
host: { '[attr.data-mps]': '"card"', class: 'card-group' },
|
|
307
298
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
308
299
|
}]
|
|
309
|
-
}] });
|
|
300
|
+
}], ctorParameters: () => [] });
|
|
310
301
|
|
|
311
302
|
// Angular front of the card (PRD #437 wave A): plain Bootstrap markup, no custom element.
|
|
312
303
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-card.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card/bs-card.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-header/bs-card-header.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-body/bs-card-body.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-footer/bs-card-footer.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-title/bs-card-title.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-subtitle/bs-card-subtitle.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-text/bs-card-text.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-link/bs-card-link.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-img/bs-card-img.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-group/bs-card-group.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/card/mintplayer-ng-bootstrap-card.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { Color } from '@mintplayer/ng-bootstrap';\nimport { cardColorClasses } from '@mintplayer/ui-core/card';\n\n/**\n * The card root (PRD #437 wave A). The host IS the Bootstrap `.card`: no\n * inner element and no core, so the server renders the finished card and the\n * page baseline styles it with JS off. Projected `<bs-card-*>` children are\n * plain class-carrying elements.\n */\n@Component({\n selector: 'bs-card',\n template: '<ng-content></ng-content>',\n host: { '[class]': 'classes()' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardComponent {\n readonly color = input<Color | undefined>(undefined);\n readonly outline = input(false);\n\n protected readonly classes = computed(() => {\n const c = this.color();\n return ['card', ...cardColorClasses(c === undefined ? null : Color[c], this.outline())];\n });\n}\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { Color } from '@mintplayer/ng-bootstrap';\nimport { capColorClasses } from '@mintplayer/ui-core/card';\n\n/**\n * Card header. A nav inside it takes Bootstrap's own `card-header-tabs` or\n * `card-header-pills` class, written by the consumer on the nav (the old\n * `navStyle` input walked and mutated consumer DOM, which a headless front\n * never does).\n */\n@Component({\n selector: 'bs-card-header',\n template: '<ng-content></ng-content>',\n host: { '[class]': 'classes()' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardHeaderComponent {\n readonly color = input<Color | undefined>(undefined);\n\n protected readonly classes = computed(() => {\n const c = this.color();\n return ['card-header', ...capColorClasses(c === undefined ? null : Color[c])];\n });\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n/**\n * Card body — explicit wrapper. No auto-padding workaround like the previous\n * implementation: Bootstrap's `.card-body` padding applies as upstream\n * specifies. Consumers wanting unpadded content can use a raw `<div>` inside\n * `<bs-card>` instead.\n */\n@Component({\n selector: 'bs-card-body',\n template: '<ng-content></ng-content>',\n host: { class: 'card-body' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardBodyComponent {}\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { Color } from '@mintplayer/ng-bootstrap';\nimport { capColorClasses } from '@mintplayer/ui-core/card';\n\n@Component({\n selector: 'bs-card-footer',\n template: '<ng-content></ng-content>',\n host: { '[class]': 'classes()' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardFooterComponent {\n readonly color = input<Color | undefined>(undefined);\n\n protected readonly classes = computed(() => {\n const c = this.color();\n return ['card-footer', ...capColorClasses(c === undefined ? null : Color[c])];\n });\n}\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\n\n@Component({\n selector: 'bs-card-title',\n // role=heading + aria-level rather than swapping real h1-h6 tags: the tag\n // cannot change dynamically without destroying projected content, and the\n // computed pair is exactly equivalent in the accessibility tree.\n template: '<ng-content></ng-content>',\n host: {\n // d-block: the host is a custom element, inline by default, and the\n // title's margin needs a block box.\n class: 'card-title d-block',\n role: 'heading',\n '[attr.aria-level]': 'level()',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardTitleComponent {\n /** Heading level in the page outline. Cards default to a section-level 5, matching Bootstrap's visual h5. */\n readonly level = input(5);\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'bs-card-subtitle',\n template: '<ng-content></ng-content>',\n host: { class: 'card-subtitle d-block' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardSubtitleComponent {}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'bs-card-text',\n template: '<ng-content></ng-content>',\n host: { class: 'card-text d-block' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardTextComponent {}\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\n\n/**\n * Card link. The HOST carries `.card-link`, so Bootstrap's\n * `.card-link + .card-link` spacing matches sibling `<bs-card-link>`s; the\n * inner `<a>` is the link.\n */\n@Component({\n selector: 'bs-card-link',\n template: '<a [attr.href]=\"hrefAttr()\"><ng-content></ng-content></a>',\n host: { class: 'card-link' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardLinkComponent {\n readonly href = input<string | undefined>(undefined);\n\n // Coalesce `undefined` to `null` so Angular drops the attribute entirely\n // when the input is unset.\n readonly hrefAttr = computed(() => this.href() ?? null);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { cardImgClass, type CardImagePosition } from '@mintplayer/ui-core/card';\n\n/**\n * Card image. `position` switches the rendered shape; `src` and `alt` map\n * to the underlying `<img>`. Overlay form additionally wraps slotted content\n * in `<div class=\"card-img-overlay\">`.\n *\n * The host element carries the `card-img-*` class so Bootstrap's\n * `.card-group > .card > .card-img-top` corner-rounding selectors match\n * (the inner `<img>` would otherwise be a grandchild of `.card`). The inner\n * `<img>` carries the same class so Bootstrap's `width: 100%` sizing rule\n * applies; the host's border-radius is paired with `overflow: hidden` so the img's straight corners get clipped.\n *\n * Projection uses `*ngTemplateOutlet` instead of inlining `<ng-content>` in\n * each `@case`: multiple `<ng-content>` slots in conditional branches silently\n * drop the projected children. One `<ng-content>` inside a `<ng-template>`\n * works around the limitation, at the cost of importing `NgTemplateOutlet`.\n */\n@Component({\n selector: 'bs-card-img',\n imports: [NgTemplateOutlet],\n template: `\n <ng-template #projected><ng-content></ng-content></ng-template>\n <ng-template #imgTpl>\n <img [class]=\"imgClass()\" [attr.src]=\"srcAttr()\" [attr.alt]=\"altAttr()\" />\n </ng-template>\n\n @switch (position()) {\n @case ('overlay') {\n <ng-container *ngTemplateOutlet=\"imgTpl\"></ng-container>\n <div class=\"card-img-overlay\">\n <ng-container *ngTemplateOutlet=\"projected\"></ng-container>\n </div>\n }\n @case ('bottom') {\n <ng-container *ngTemplateOutlet=\"projected\"></ng-container>\n <ng-container *ngTemplateOutlet=\"imgTpl\"></ng-container>\n }\n @default {\n <ng-container *ngTemplateOutlet=\"imgTpl\"></ng-container>\n <ng-container *ngTemplateOutlet=\"projected\"></ng-container>\n }\n }\n `,\n host: { '[class]': 'hostClass()' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardImgComponent {\n readonly position = input<CardImagePosition>('top');\n readonly src = input<string | undefined>(undefined);\n readonly alt = input<string | undefined>(undefined);\n\n readonly hostClass = computed(() => cardImgClass(this.position()));\n\n // The inner <img> carries the same card-img-* class so Bootstrap's\n // `width: 100%` rule sizes the actual image element.\n readonly imgClass = computed(() => this.hostClass());\n\n // `?? null` so an absent src removes the attribute instead of leaving an\n // empty `src=\"\"` on the DOM.\n readonly srcAttr = computed(() => this.src() ?? null);\n // alt is the opposite case: an <img> with NO alt attribute is announced by\n // its filename, while alt=\"\" marks it decorative and silences it. Absent\n // input therefore means decorative, never unlabelled.\n readonly altAttr = computed(() => this.alt() ?? '');\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n/**\n * Card group. No host `display` of its own: Bootstrap's `.card-group` turns\n * flex from `sm` up, and an unlayered component rule would out-rank the\n * layered baseline and keep it a block (PRD #437 C3).\n */\n@Component({\n selector: 'bs-card-group',\n template: '<ng-content></ng-content>',\n host: { class: 'card-group' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardGroupComponent {}\n","// Angular front of the card (PRD #437 wave A): plain Bootstrap markup, no custom element.\nexport * from './lib/components/bs-card/bs-card.component';\nexport * from './lib/components/bs-card-header/bs-card-header.component';\nexport * from './lib/components/bs-card-body/bs-card-body.component';\nexport * from './lib/components/bs-card-footer/bs-card-footer.component';\nexport * from './lib/components/bs-card-title/bs-card-title.component';\nexport * from './lib/components/bs-card-subtitle/bs-card-subtitle.component';\nexport * from './lib/components/bs-card-text/bs-card-text.component';\nexport * from './lib/components/bs-card-link/bs-card-link.component';\nexport * from './lib/components/bs-card-img/bs-card-img.component';\nexport * from './lib/components/bs-card-group/bs-card-group.component';\n\nexport { CARD_COLORS, isCardColor } from '@mintplayer/ui-core/card';\nexport type { CardColor, CardImagePosition } from '@mintplayer/ui-core/card';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAIA;;;;;AAKG;MAOU,eAAe,CAAA;AAN5B,IAAA,WAAA,GAAA;QAOW,IAAA,CAAA,KAAK,GAAG,KAAK,CAAoB,SAAS;kFAAC;QAC3C,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,KAAK;oFAAC;AAEZ,QAAA,IAAA,CAAA,OAAO,GAAG,QAAQ,CAAC,MAAK;AACzC,YAAA,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,EAAE;YACtB,OAAO,CAAC,MAAM,EAAE,GAAG,gBAAgB,CAAC,CAAC,KAAK,SAAS,GAAG,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;QACzF,CAAC;oFAAC;AACH,IAAA;8GARY,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAf,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,eAAe,qXAJhB,2BAA2B,EAAA,QAAA,EAAA,IAAA,E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AAE,eAAe;AACzB,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,IAAI,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE;oBAC7B,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;ACZD;;ACAA;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-card.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card/bs-card.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-header/bs-card-header.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-body/bs-card-body.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-footer/bs-card-footer.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-title/bs-card-title.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-subtitle/bs-card-subtitle.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-text/bs-card-text.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-link/bs-card-link.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-img/bs-card-img.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-group/bs-card-group.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/card/mintplayer-ng-bootstrap-card.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\nimport { Color } from '@mintplayer/ng-bootstrap';\nimport { cardColorClasses } from '@mintplayer/ui-core/card';\n\n/**\n * The card root (PRD #437 wave A). The host IS the Bootstrap `.card`: no\n * inner element and no core, so the server renders the finished card and the\n * card part this component installs (#452) styles it with JS off. Projected\n * `<bs-card-*>` children are plain class-carrying elements, each stamped\n * `data-mps=\"card\"` so the scoped part matches them.\n */\n@Component({\n selector: 'bs-card',\n template: '<ng-content></ng-content>',\n host: { '[attr.data-mps]': '\"card\"', '[class]': 'classes()' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardComponent {\n constructor() {\n // #452: the card partial ships with this component, scoped to the elements it stamps (data-mps=\"card\").\n useBootstrap(bootstrapCard);\n }\n\n readonly color = input<Color | undefined>(undefined);\n readonly outline = input(false);\n\n protected readonly classes = computed(() => {\n const c = this.color();\n return ['card', ...cardColorClasses(c === undefined ? null : Color[c], this.outline())];\n });\n}\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\nimport { Color } from '@mintplayer/ng-bootstrap';\nimport { capColorClasses } from '@mintplayer/ui-core/card';\n\n/**\n * Card header. A nav inside it takes Bootstrap's own `card-header-tabs` or\n * `card-header-pills` class, written by the consumer on the nav (the old\n * `navStyle` input walked and mutated consumer DOM, which a headless front\n * never does).\n */\n@Component({\n selector: 'bs-card-header',\n template: '<ng-content></ng-content>',\n host: { '[attr.data-mps]': '\"card\"', '[class]': 'classes()' },\n // The host is a custom element, inline by default; Bootstrap's card parts need\n // a block box (#452 issue 2). Unlayered, so it beats the layered card part,\n // while Bootstrap's !important display utilities (d-none) still win.\n styles: ':host { display: block; }',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardHeaderComponent {\n constructor() {\n // #452: the card partial ships with this component, scoped to the elements it stamps (data-mps=\"card\").\n useBootstrap(bootstrapCard);\n }\n\n readonly color = input<Color | undefined>(undefined);\n\n protected readonly classes = computed(() => {\n const c = this.color();\n return ['card-header', ...capColorClasses(c === undefined ? null : Color[c])];\n });\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\n\n/**\n * Card body — explicit wrapper. No auto-padding workaround like the previous\n * implementation: Bootstrap's `.card-body` padding applies as upstream\n * specifies. Consumers wanting unpadded content can use a raw `<div>` inside\n * `<bs-card>` instead.\n */\n@Component({\n selector: 'bs-card-body',\n template: '<ng-content></ng-content>',\n host: { '[attr.data-mps]': '\"card\"', class: 'card-body' },\n // The host is a custom element, inline by default; Bootstrap's card parts need\n // a block box (#452 issue 2). Unlayered, so it beats the layered card part,\n // while Bootstrap's !important display utilities (d-none) still win.\n styles: ':host { display: block; }',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardBodyComponent {\n constructor() {\n // #452: the card partial ships with this component, scoped to the elements it stamps (data-mps=\"card\").\n useBootstrap(bootstrapCard);\n }\n}\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\nimport { Color } from '@mintplayer/ng-bootstrap';\nimport { capColorClasses } from '@mintplayer/ui-core/card';\n\n@Component({\n selector: 'bs-card-footer',\n template: '<ng-content></ng-content>',\n host: { '[attr.data-mps]': '\"card\"', '[class]': 'classes()' },\n // The host is a custom element, inline by default; Bootstrap's card parts need\n // a block box (#452 issue 2). Unlayered, so it beats the layered card part,\n // while Bootstrap's !important display utilities (d-none) still win.\n styles: ':host { display: block; }',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardFooterComponent {\n constructor() {\n // #452: the card partial ships with this component, scoped to the elements it stamps (data-mps=\"card\").\n useBootstrap(bootstrapCard);\n }\n\n readonly color = input<Color | undefined>(undefined);\n\n protected readonly classes = computed(() => {\n const c = this.color();\n return ['card-footer', ...capColorClasses(c === undefined ? null : Color[c])];\n });\n}\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\n\n@Component({\n selector: 'bs-card-title',\n // role=heading + aria-level rather than swapping real h1-h6 tags: the tag\n // cannot change dynamically without destroying projected content, and the\n // computed pair is exactly equivalent in the accessibility tree.\n template: '<ng-content></ng-content>',\n host: {\n '[attr.data-mps]': '\"card\"',\n class: 'card-title',\n role: 'heading',\n '[attr.aria-level]': 'level()',\n },\n // The host is a custom element, inline by default; Bootstrap's card parts need\n // a block box (#452 issue 2). Unlayered, so it beats the layered card part,\n // while Bootstrap's !important display utilities (d-none) still win.\n styles: ':host { display: block; }',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardTitleComponent {\n constructor() {\n // #452: the card partial ships with this component, scoped to the elements it stamps (data-mps=\"card\").\n useBootstrap(bootstrapCard);\n }\n\n /** Heading level in the page outline. Cards default to a section-level 5, matching Bootstrap's visual h5. */\n readonly level = input(5);\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\n\n@Component({\n selector: 'bs-card-subtitle',\n template: '<ng-content></ng-content>',\n host: { '[attr.data-mps]': '\"card\"', class: 'card-subtitle' },\n // The host is a custom element, inline by default; Bootstrap's card parts need\n // a block box (#452 issue 2). Unlayered, so it beats the layered card part,\n // while Bootstrap's !important display utilities (d-none) still win.\n styles: ':host { display: block; }',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardSubtitleComponent {\n constructor() {\n // #452: the card partial ships with this component, scoped to the elements it stamps (data-mps=\"card\").\n useBootstrap(bootstrapCard);\n }\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\n\n@Component({\n selector: 'bs-card-text',\n template: '<ng-content></ng-content>',\n host: { '[attr.data-mps]': '\"card\"', class: 'card-text' },\n // The host is a custom element, inline by default; Bootstrap's card parts need\n // a block box (#452 issue 2). Unlayered, so it beats the layered card part,\n // while Bootstrap's !important display utilities (d-none) still win.\n styles: ':host { display: block; }',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardTextComponent {\n constructor() {\n // #452: the card partial ships with this component, scoped to the elements it stamps (data-mps=\"card\").\n useBootstrap(bootstrapCard);\n }\n}\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\n\n/**\n * Card link. The HOST carries `.card-link`, so Bootstrap's\n * `.card-link + .card-link` spacing matches sibling `<bs-card-link>`s; the\n * inner `<a>` is the link.\n */\n@Component({\n selector: 'bs-card-link',\n template: '<a data-mps=\"card\" [attr.href]=\"hrefAttr()\"><ng-content></ng-content></a>',\n host: { '[attr.data-mps]': '\"card\"', class: 'card-link' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardLinkComponent {\n constructor() {\n // #452: the card partial ships with this component, scoped to the elements it stamps (data-mps=\"card\").\n useBootstrap(bootstrapCard);\n }\n\n readonly href = input<string | undefined>(undefined);\n\n // Coalesce `undefined` to `null` so Angular drops the attribute entirely\n // when the input is unset.\n readonly hrefAttr = computed(() => this.href() ?? null);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\nimport { cardImgClass, type CardImagePosition } from '@mintplayer/ui-core/card';\n\n/**\n * Card image. `position` switches the rendered shape; `src` and `alt` map\n * to the underlying `<img>`. Overlay form additionally wraps slotted content\n * in `<div class=\"card-img-overlay\">`.\n *\n * The host element carries the `card-img-*` class so Bootstrap's\n * `.card-group > .card > .card-img-top` corner-rounding selectors match\n * (the inner `<img>` would otherwise be a grandchild of `.card`). The inner\n * `<img>` carries the same class so Bootstrap's `width: 100%` sizing rule\n * applies; the host's border-radius is paired with `overflow: hidden` so the img's straight corners get clipped.\n *\n * Projection uses `*ngTemplateOutlet` instead of inlining `<ng-content>` in\n * each `@case`: multiple `<ng-content>` slots in conditional branches silently\n * drop the projected children. One `<ng-content>` inside a `<ng-template>`\n * works around the limitation, at the cost of importing `NgTemplateOutlet`.\n */\n@Component({\n selector: 'bs-card-img',\n imports: [NgTemplateOutlet],\n template: `\n <ng-template #projected><ng-content></ng-content></ng-template>\n <ng-template #imgTpl>\n <img data-mps=\"card\" [class]=\"imgClass()\" [attr.src]=\"srcAttr()\" [attr.alt]=\"altAttr()\" />\n </ng-template>\n\n @switch (position()) {\n @case ('overlay') {\n <ng-container *ngTemplateOutlet=\"imgTpl\"></ng-container>\n <div data-mps=\"card\" class=\"card-img-overlay\">\n <ng-container *ngTemplateOutlet=\"projected\"></ng-container>\n </div>\n }\n @case ('bottom') {\n <ng-container *ngTemplateOutlet=\"projected\"></ng-container>\n <ng-container *ngTemplateOutlet=\"imgTpl\"></ng-container>\n }\n @default {\n <ng-container *ngTemplateOutlet=\"imgTpl\"></ng-container>\n <ng-container *ngTemplateOutlet=\"projected\"></ng-container>\n }\n }\n `,\n host: { '[attr.data-mps]': '\"card\"', '[class]': 'hostClass()' },\n // The host is a custom element, inline by default; Bootstrap's card parts need\n // a block box (#452 issue 2). Unlayered, so it beats the layered card part,\n // while Bootstrap's !important display utilities (d-none) still win.\n styles: ':host { display: block; }',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardImgComponent {\n constructor() {\n // #452: the card partial ships with this component, scoped to the elements it stamps (data-mps=\"card\").\n useBootstrap(bootstrapCard);\n }\n\n readonly position = input<CardImagePosition>('top');\n readonly src = input<string | undefined>(undefined);\n readonly alt = input<string | undefined>(undefined);\n\n readonly hostClass = computed(() => cardImgClass(this.position()));\n\n // The inner <img> carries the same card-img-* class so Bootstrap's\n // `width: 100%` rule sizes the actual image element.\n readonly imgClass = computed(() => this.hostClass());\n\n // `?? null` so an absent src removes the attribute instead of leaving an\n // empty `src=\"\"` on the DOM.\n readonly srcAttr = computed(() => this.src() ?? null);\n // alt is the opposite case: an <img> with NO alt attribute is announced by\n // its filename, while alt=\"\" marks it decorative and silences it. Absent\n // input therefore means decorative, never unlabelled.\n readonly altAttr = computed(() => this.alt() ?? '');\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\n\n/**\n * Card group. No host `display` of its own: Bootstrap's `.card-group` turns\n * flex from `sm` up, and an unlayered component rule would out-rank the\n * layered card part and keep it a block (PRD #452 C3).\n */\n@Component({\n selector: 'bs-card-group',\n template: '<ng-content></ng-content>',\n host: { '[attr.data-mps]': '\"card\"', class: 'card-group' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardGroupComponent {\n constructor() {\n // #452: the card partial ships with this component, scoped to the elements it stamps (data-mps=\"card\").\n useBootstrap(bootstrapCard);\n }\n}\n","// Angular front of the card (PRD #437 wave A): plain Bootstrap markup, no custom element.\nexport * from './lib/components/bs-card/bs-card.component';\nexport * from './lib/components/bs-card-header/bs-card-header.component';\nexport * from './lib/components/bs-card-body/bs-card-body.component';\nexport * from './lib/components/bs-card-footer/bs-card-footer.component';\nexport * from './lib/components/bs-card-title/bs-card-title.component';\nexport * from './lib/components/bs-card-subtitle/bs-card-subtitle.component';\nexport * from './lib/components/bs-card-text/bs-card-text.component';\nexport * from './lib/components/bs-card-link/bs-card-link.component';\nexport * from './lib/components/bs-card-img/bs-card-img.component';\nexport * from './lib/components/bs-card-group/bs-card-group.component';\n\nexport { CARD_COLORS, isCardColor } from '@mintplayer/ui-core/card';\nexport type { CardColor, CardImagePosition } from '@mintplayer/ui-core/card';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './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aAAa,CAAC;IAC7B;8GAJW,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAApB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,oBAAoB,8JAJrB,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAI1B,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBANhC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,eAAe;AACzB,oBAAA,QAAQ,EAAE,2BAA2B;oBACrC,IAAI,EAAE,EAAE,iBAAiB,EAAE,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE;oBAC1D,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;ACdD;;ACAA;;AAEG;;;;"}
|
|
@@ -2,6 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { Directive, contentChildren, inject, ElementRef, input, booleanAttribute, numberAttribute, model, output, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
3
|
import { useCore, useScopedStyles, MpPropsDirective } from '@mintplayer/ng-bootstrap/machine';
|
|
4
4
|
import { carouselCore, carouselScopedStyles, carouselItemCore } from '@mintplayer/ui-core/carousel';
|
|
5
|
+
import { bootstrapCarousel } from '@mintplayer/ui-core/bootstrap/carousel';
|
|
5
6
|
|
|
6
7
|
/*
|
|
7
8
|
* The carousel's slide count for the server render (PRD #437 D10). The parent
|
|
@@ -80,6 +81,7 @@ class BsCarouselComponent {
|
|
|
80
81
|
this.#core = useCore(carouselCore, { inputs: extendInputs(() => ({ animation: this.animation(), orientation: this.orientation(), indicators: this.indicators(), interval: this.interval(), wrap: this.wrap(), keyboardEvents: this.keyboardEvents(), paused: this.paused(), inputLabel: this.inputLabel(), labels: this.labels() })), idPrefix: 'bs-carousel', outputs: { slideChange: this.slidechange, pausedChange: this.pausedchange, slideStart: this.slidestart, slideEnd: this.slideend }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'carousel' }), models: { paused: this.paused } });
|
|
81
82
|
/** The template's props. */
|
|
82
83
|
this.props = this.#core.props;
|
|
84
|
+
useScopedStyles(bootstrapCarousel.key, bootstrapCarousel.css, { order: bootstrapCarousel.order });
|
|
83
85
|
useScopedStyles('carousel', carouselScopedStyles);
|
|
84
86
|
}
|
|
85
87
|
/** Go to the previous slide. */
|
|
@@ -130,6 +132,7 @@ class BsCarouselItemComponent {
|
|
|
130
132
|
this.#core = useCore(carouselItemCore, { inputs: () => ({}), idPrefix: 'bs-carousel-item', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'carousel' }) });
|
|
131
133
|
/** The template's props. */
|
|
132
134
|
this.props = this.#core.props;
|
|
135
|
+
useScopedStyles(bootstrapCarousel.key, bootstrapCarousel.css, { order: bootstrapCarousel.order });
|
|
133
136
|
useScopedStyles('carousel', carouselScopedStyles);
|
|
134
137
|
}
|
|
135
138
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCarouselItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-carousel.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/carousel/src/carousel-slide.directive.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/carousel.angular.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/generated/carousel.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/generated/carousel.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/carousel/src/carousel-item.angular.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/generated/carousel-item.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/generated/carousel-item.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/carousel/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/mintplayer-ng-bootstrap-carousel.ts"],"sourcesContent":["import { Directive, contentChildren } from '@angular/core';\n\n/*\n * The carousel's slide count for the server render (PRD #437 D10). The parent\n * template renders one radio, indicator and control pair per slide BEFORE its\n * content, so it needs N from the declaration, not from the DOM.\n */\n\n/** Marks a `bs-carousel-item` (its extension's host directive). */\n@Directive({ selector: '[bsCarouselSlide]' })\nexport class BsCarouselSlideDirective {}\n\n/** On `bs-carousel`: counts its own items (not a nested carousel's). */\n@Directive({ selector: '[bsCarouselSlides]' })\nexport class BsCarouselSlidesDirective {\n readonly slides = contentChildren(BsCarouselSlideDirective);\n}\n","import { inject } from '@angular/core';\nimport type { CarouselInputs } from '@mintplayer/ui-core/carousel';\nimport { BsCarouselSlidesDirective } from './carousel-slide.directive';\n\n/*\n * The Angular extension of the generated `bs-carousel` (PRD #437 D10): the\n * slide count comes from the content query, so the server render has a radio,\n * indicator and control pair per slide.\n */\nexport const hostDirectives = [BsCarouselSlidesDirective];\n\nexport function extendInputs(inputs: () => CarouselInputs): () => CarouselInputs {\n const slides = inject(BsCarouselSlidesDirective, { self: true });\n return () => ({ ...inputs(), slideCount: slides.slides().length });\n}\n","// GENERATED from the carousel manifest (carousel) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, model, numberAttribute, output } from '@angular/core';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { carouselCore, type CarouselInputs, type CarouselMethods, carouselScopedStyles, type CarouselSlideChangeEventDetail } from '@mintplayer/ui-core/carousel';\nimport { hostDirectives as ext_hostDirectives, extendInputs as ext_extendInputs } from '../carousel.angular';\n\n/**\n * A deck of slides shown one at a time, with optional indicators, autoplay, touch swipe and keyboard.\n *\n * Put carousel items inside. A radio per slide holds the index, so the server render navigates with\n * JavaScript off (indicators, prev/next with wrap-around, the radio group arrow keys). Slides are\n * grid-stacked: the deck is as tall as its tallest slide. An `aria-label` names the region.\n */\n@Component({\n selector: 'bs-carousel',\n templateUrl: './carousel.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: ext_hostDirectives,\n})\nexport class BsCarouselComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly animation = input<CarouselInputs['animation']>('slide');\n readonly orientation = input<CarouselInputs['orientation']>('horizontal');\n readonly indicators = input<CarouselInputs['indicators'], unknown>(false, { transform: booleanAttribute });\n readonly interval = input<CarouselInputs['interval'], unknown>(null, { transform: (v: unknown) => numberAttribute(v) as CarouselInputs['interval'] });\n readonly wrap = input<CarouselInputs['wrap'], unknown>(true, { transform: booleanAttribute });\n readonly keyboardEvents = input<CarouselInputs['keyboardEvents'], unknown>(true, { transform: booleanAttribute });\n readonly paused = model<CarouselInputs['paused']>(false);\n readonly inputLabel = input<CarouselInputs['inputLabel']>(null);\n readonly labels = input<CarouselInputs['labels']>(null);\n /** The committed slide changed. */\n readonly slidechange = output<CarouselSlideChangeEventDetail>();\n /** Autoplay was paused or resumed from the play/pause button or a method. */\n readonly pausedchange = output<boolean>();\n /** A slide transition started. */\n readonly slidestart = output<void>();\n /** A slide transition ended. */\n readonly slideend = output<void>();\n\n readonly #core = useCore(carouselCore, { inputs: ext_extendInputs(() => ({ animation: this.animation(), orientation: this.orientation(), indicators: this.indicators(), interval: this.interval(), wrap: this.wrap(), keyboardEvents: this.keyboardEvents(), paused: this.paused(), inputLabel: this.inputLabel(), labels: this.labels() })), idPrefix: 'bs-carousel', outputs: { slideChange: this.slidechange, pausedChange: this.pausedchange, slideStart: this.slidestart, slideEnd: this.slideend }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'carousel' }), models: { paused: this.paused } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles('carousel', carouselScopedStyles);\n }\n\n /** Go to the previous slide. */\n previous(...args: Parameters<CarouselMethods['previous']>): ReturnType<CarouselMethods['previous']> {\n return this.#core.call('previous', args) as ReturnType<CarouselMethods['previous']>;\n }\n\n /** Go to the next slide. */\n next(...args: Parameters<CarouselMethods['next']>): ReturnType<CarouselMethods['next']> {\n return this.#core.call('next', args) as ReturnType<CarouselMethods['next']>;\n }\n\n /** Go to a slide by index. */\n goto(...args: Parameters<CarouselMethods['goto']>): ReturnType<CarouselMethods['goto']> {\n return this.#core.call('goto', args) as ReturnType<CarouselMethods['goto']>;\n }\n\n /** Resume autoplay. */\n play(...args: Parameters<CarouselMethods['play']>): ReturnType<CarouselMethods['play']> {\n return this.#core.call('play', args) as ReturnType<CarouselMethods['play']>;\n }\n\n /** Pause autoplay. */\n pause(...args: Parameters<CarouselMethods['pause']>): ReturnType<CarouselMethods['pause']> {\n return this.#core.call('pause', args) as ReturnType<CarouselMethods['pause']>;\n }\n\n /** Toggle autoplay. */\n togglePaused(...args: Parameters<CarouselMethods['togglePaused']>): ReturnType<CarouselMethods['togglePaused']> {\n return this.#core.call('togglePaused', args) as ReturnType<CarouselMethods['togglePaused']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/carousel/src/templates/carousel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n@if (p_view.playPause) {\n <div data-mps=\"carousel\" [mpProps]=\"p_view.playPause.wrap\">\n <button data-mps=\"carousel\" [mpProps]=\"p_view.playPause.button\">\n <span data-mps=\"carousel\" [mpProps]=\"p_view.playPause.icon\"></span>\n </button>\n </div>\n}\n@for (radio of p_view.radios; track radio.key) {\n <input data-mps=\"carousel\" [mpProps]=\"radio.bag\">\n}\n<div data-mps=\"carousel\" [mpProps]=\"p_view.inner\">\n <div data-mps=\"carousel\" [mpProps]=\"p_view.track\">\n <ng-content />\n </div>\n</div>\n@if (p_view.indicators) {\n <div data-mps=\"carousel\" [mpProps]=\"p_view.indicators.bag\">\n @for (item of p_view.indicators.items; track item.key) {\n <label data-mps=\"carousel\" [mpProps]=\"item.bag\"></label>\n }\n </div>\n}\n<div data-mps=\"carousel\" [mpProps]=\"p_view.controls.bag\">\n @for (pair of p_view.controls.pairs; track pair.key) {\n <span data-mps=\"carousel\" [mpProps]=\"pair.pair\">\n <label data-mps=\"carousel\" [mpProps]=\"pair.prev\">\n <span data-mps=\"carousel\" [mpProps]=\"p_view.controls.icon.prev\"></span>\n </label>\n <label data-mps=\"carousel\" [mpProps]=\"pair.next\">\n <span data-mps=\"carousel\" [mpProps]=\"p_view.controls.icon.next\"></span>\n </label>\n </span>\n }\n</div>\n","import { BsCarouselSlideDirective } from './carousel-slide.directive';\n\n/*\n * The Angular extension of the generated `bs-carousel-item` (PRD #437 D10):\n * the marker its carousel counts.\n */\nexport const hostDirectives = [BsCarouselSlideDirective];\n","// GENERATED from the carousel manifest (carousel-item) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { carouselItemCore, carouselScopedStyles } from '@mintplayer/ui-core/carousel';\nimport { hostDirectives as ext_hostDirectives } from '../carousel-item.angular';\n\n/** One slide of a carousel. Its content is the slide. */\n@Component({\n selector: 'bs-carousel-item',\n templateUrl: './carousel-item.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: ext_hostDirectives,\n})\nexport class BsCarouselItemComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly #core = useCore(carouselItemCore, { inputs: () => ({ }), idPrefix: 'bs-carousel-item', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'carousel' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles('carousel', carouselScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/carousel/src/templates/carousel-item.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","// GENERATED from the carousel manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsCarouselComponent } from './carousel.component.generated';\nexport { BsCarouselItemComponent } from './carousel-item.component.generated';\n","// The carousel is generated from @mintplayer/ui-core/carousel (PRD #437 D10).\nexport * from './generated';\nexport * from './carousel-slide.directive';\nexport type {\n CarouselAnimation,\n CarouselLabels,\n CarouselOrientation,\n CarouselSlideChangeEventDetail,\n} from '@mintplayer/ui-core/carousel';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["hostDirectives","ext_extendInputs","i1.BsCarouselSlidesDirective","ext_hostDirectives"],"mappings":";;;;;AAEA;;;;AAIG;AAEH;MAEa,wBAAwB,CAAA;8GAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBADpC,SAAS;mBAAC,EAAE,QAAQ,EAAE,mBAAmB,EAAE;;AAG5C;MAEa,yBAAyB,CAAA;AADtC,IAAA,WAAA,GAAA;QAEW,IAAA,CAAA,MAAM,GAAG,eAAe,CAAC,wBAAwB;mFAAC;AAC5D,IAAA;8GAFY,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAzB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,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,KAAK;AAGzC,QAAA,eAAe,CAAC,UAAU,EAAE,oBAAoB,CAAC;IACnD;8GAVW,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAvB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,uBAAuB,uICdpC,oKAEA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FDYa,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAPnC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,kBAAkB,WAEnB,EAAE,EAAA,eAAA,EACM,uBAAuB,CAAC,MAAM,kBAC/BA,cAAkB,EAAA,QAAA,EAAA,oKAAA,EAAA;;;AEZpC;;ACAA;;ACAA;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-carousel.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/carousel/src/carousel-slide.directive.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/carousel.angular.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/generated/carousel.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/generated/carousel.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/carousel/src/carousel-item.angular.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/generated/carousel-item.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/generated/carousel-item.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/carousel/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/mintplayer-ng-bootstrap-carousel.ts"],"sourcesContent":["import { Directive, contentChildren } from '@angular/core';\n\n/*\n * The carousel's slide count for the server render (PRD #437 D10). The parent\n * template renders one radio, indicator and control pair per slide BEFORE its\n * content, so it needs N from the declaration, not from the DOM.\n */\n\n/** Marks a `bs-carousel-item` (its extension's host directive). */\n@Directive({ selector: '[bsCarouselSlide]' })\nexport class BsCarouselSlideDirective {}\n\n/** On `bs-carousel`: counts its own items (not a nested carousel's). */\n@Directive({ selector: '[bsCarouselSlides]' })\nexport class BsCarouselSlidesDirective {\n readonly slides = contentChildren(BsCarouselSlideDirective);\n}\n","import { inject } from '@angular/core';\nimport type { CarouselInputs } from '@mintplayer/ui-core/carousel';\nimport { BsCarouselSlidesDirective } from './carousel-slide.directive';\n\n/*\n * The Angular extension of the generated `bs-carousel` (PRD #437 D10): the\n * slide count comes from the content query, so the server render has a radio,\n * indicator and control pair per slide.\n */\nexport const hostDirectives = [BsCarouselSlidesDirective];\n\nexport function extendInputs(inputs: () => CarouselInputs): () => CarouselInputs {\n const slides = inject(BsCarouselSlidesDirective, { self: true });\n return () => ({ ...inputs(), slideCount: slides.slides().length });\n}\n","// GENERATED from the carousel manifest (carousel) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, model, numberAttribute, output } from '@angular/core';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { carouselCore, type CarouselInputs, type CarouselMethods, carouselScopedStyles, type CarouselSlideChangeEventDetail } from '@mintplayer/ui-core/carousel';\nimport { bootstrapCarousel } from '@mintplayer/ui-core/bootstrap/carousel';\nimport { hostDirectives as ext_hostDirectives, extendInputs as ext_extendInputs } from '../carousel.angular';\n\n/**\n * A deck of slides shown one at a time, with optional indicators, autoplay, touch swipe and keyboard.\n *\n * Put carousel items inside. A radio per slide holds the index, so the server render navigates with\n * JavaScript off (indicators, prev/next with wrap-around, the radio group arrow keys). Slides are\n * grid-stacked: the deck is as tall as its tallest slide. An `aria-label` names the region.\n */\n@Component({\n selector: 'bs-carousel',\n templateUrl: './carousel.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: ext_hostDirectives,\n})\nexport class BsCarouselComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly animation = input<CarouselInputs['animation']>('slide');\n readonly orientation = input<CarouselInputs['orientation']>('horizontal');\n readonly indicators = input<CarouselInputs['indicators'], unknown>(false, { transform: booleanAttribute });\n readonly interval = input<CarouselInputs['interval'], unknown>(null, { transform: (v: unknown) => numberAttribute(v) as CarouselInputs['interval'] });\n readonly wrap = input<CarouselInputs['wrap'], unknown>(true, { transform: booleanAttribute });\n readonly keyboardEvents = input<CarouselInputs['keyboardEvents'], unknown>(true, { transform: booleanAttribute });\n readonly paused = model<CarouselInputs['paused']>(false);\n readonly inputLabel = input<CarouselInputs['inputLabel']>(null);\n readonly labels = input<CarouselInputs['labels']>(null);\n /** The committed slide changed. */\n readonly slidechange = output<CarouselSlideChangeEventDetail>();\n /** Autoplay was paused or resumed from the play/pause button or a method. */\n readonly pausedchange = output<boolean>();\n /** A slide transition started. */\n readonly slidestart = output<void>();\n /** A slide transition ended. */\n readonly slideend = output<void>();\n\n readonly #core = useCore(carouselCore, { inputs: ext_extendInputs(() => ({ animation: this.animation(), orientation: this.orientation(), indicators: this.indicators(), interval: this.interval(), wrap: this.wrap(), keyboardEvents: this.keyboardEvents(), paused: this.paused(), inputLabel: this.inputLabel(), labels: this.labels() })), idPrefix: 'bs-carousel', outputs: { slideChange: this.slidechange, pausedChange: this.pausedchange, slideStart: this.slidestart, slideEnd: this.slideend }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'carousel' }), models: { paused: this.paused } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapCarousel.key, bootstrapCarousel.css, { order: bootstrapCarousel.order }); useScopedStyles('carousel', carouselScopedStyles);\n }\n\n /** Go to the previous slide. */\n previous(...args: Parameters<CarouselMethods['previous']>): ReturnType<CarouselMethods['previous']> {\n return this.#core.call('previous', args) as ReturnType<CarouselMethods['previous']>;\n }\n\n /** Go to the next slide. */\n next(...args: Parameters<CarouselMethods['next']>): ReturnType<CarouselMethods['next']> {\n return this.#core.call('next', args) as ReturnType<CarouselMethods['next']>;\n }\n\n /** Go to a slide by index. */\n goto(...args: Parameters<CarouselMethods['goto']>): ReturnType<CarouselMethods['goto']> {\n return this.#core.call('goto', args) as ReturnType<CarouselMethods['goto']>;\n }\n\n /** Resume autoplay. */\n play(...args: Parameters<CarouselMethods['play']>): ReturnType<CarouselMethods['play']> {\n return this.#core.call('play', args) as ReturnType<CarouselMethods['play']>;\n }\n\n /** Pause autoplay. */\n pause(...args: Parameters<CarouselMethods['pause']>): ReturnType<CarouselMethods['pause']> {\n return this.#core.call('pause', args) as ReturnType<CarouselMethods['pause']>;\n }\n\n /** Toggle autoplay. */\n togglePaused(...args: Parameters<CarouselMethods['togglePaused']>): ReturnType<CarouselMethods['togglePaused']> {\n return this.#core.call('togglePaused', args) as ReturnType<CarouselMethods['togglePaused']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/carousel/src/templates/carousel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n@if (p_view.playPause) {\n <div data-mps=\"carousel\" [mpProps]=\"p_view.playPause.wrap\">\n <button data-mps=\"carousel\" [mpProps]=\"p_view.playPause.button\">\n <span data-mps=\"carousel\" [mpProps]=\"p_view.playPause.icon\"></span>\n </button>\n </div>\n}\n@for (radio of p_view.radios; track radio.key) {\n <input data-mps=\"carousel\" [mpProps]=\"radio.bag\">\n}\n<div data-mps=\"carousel\" [mpProps]=\"p_view.inner\">\n <div data-mps=\"carousel\" [mpProps]=\"p_view.track\">\n <ng-content />\n </div>\n</div>\n@if (p_view.indicators) {\n <div data-mps=\"carousel\" [mpProps]=\"p_view.indicators.bag\">\n @for (item of p_view.indicators.items; track item.key) {\n <label data-mps=\"carousel\" [mpProps]=\"item.bag\"></label>\n }\n </div>\n}\n<div data-mps=\"carousel\" [mpProps]=\"p_view.controls.bag\">\n @for (pair of p_view.controls.pairs; track pair.key) {\n <span data-mps=\"carousel\" [mpProps]=\"pair.pair\">\n <label data-mps=\"carousel\" [mpProps]=\"pair.prev\">\n <span data-mps=\"carousel\" [mpProps]=\"p_view.controls.icon.prev\"></span>\n </label>\n <label data-mps=\"carousel\" [mpProps]=\"pair.next\">\n <span data-mps=\"carousel\" [mpProps]=\"p_view.controls.icon.next\"></span>\n </label>\n </span>\n }\n</div>\n","import { BsCarouselSlideDirective } from './carousel-slide.directive';\n\n/*\n * The Angular extension of the generated `bs-carousel-item` (PRD #437 D10):\n * the marker its carousel counts.\n */\nexport const hostDirectives = [BsCarouselSlideDirective];\n","// GENERATED from the carousel manifest (carousel-item) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { carouselItemCore, carouselScopedStyles } from '@mintplayer/ui-core/carousel';\nimport { bootstrapCarousel } from '@mintplayer/ui-core/bootstrap/carousel';\nimport { hostDirectives as ext_hostDirectives } from '../carousel-item.angular';\n\n/** One slide of a carousel. Its content is the slide. */\n@Component({\n selector: 'bs-carousel-item',\n templateUrl: './carousel-item.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: ext_hostDirectives,\n})\nexport class BsCarouselItemComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly #core = useCore(carouselItemCore, { inputs: () => ({ }), idPrefix: 'bs-carousel-item', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'carousel' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapCarousel.key, bootstrapCarousel.css, { order: bootstrapCarousel.order }); useScopedStyles('carousel', carouselScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/carousel/src/templates/carousel-item.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","// GENERATED from the carousel manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsCarouselComponent } from './carousel.component.generated';\nexport { BsCarouselItemComponent } from './carousel-item.component.generated';\n","// The carousel is generated from @mintplayer/ui-core/carousel (PRD #437 D10).\nexport * from './generated';\nexport * from './carousel-slide.directive';\nexport type {\n CarouselAnimation,\n CarouselLabels,\n CarouselOrientation,\n CarouselSlideChangeEventDetail,\n} from '@mintplayer/ui-core/carousel';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["hostDirectives","ext_extendInputs","i1.BsCarouselSlidesDirective","ext_hostDirectives"],"mappings":";;;;;;AAEA;;;;AAIG;AAEH;MAEa,wBAAwB,CAAA;8GAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBADpC,SAAS;mBAAC,EAAE,QAAQ,EAAE,mBAAmB,EAAE;;AAG5C;MAEa,yBAAyB,CAAA;AADtC,IAAA,WAAA,GAAA;QAEW,IAAA,CAAA,MAAM,GAAG,eAAe,CAAC,wBAAwB;mFAAC;AAC5D,IAAA;8GAFY,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAzB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,yBAAyB,qG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