@mintplayer/ng-bootstrap 22.28.0 → 22.29.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/_bootstrap.scss +4 -101
- package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs +62 -30
- package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +71 -64
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +50 -46
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs +65 -94
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +122 -97
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs +80 -133
- package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs +31 -19
- package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs +41 -46
- package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs +76 -37
- package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +37 -82
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +150 -824
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +172 -118
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs +180 -142
- package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs +66 -116
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +41 -46
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs +80 -204
- package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-form.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-form.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs +32 -17
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-machine.mjs +220 -20
- package/fesm2022/mintplayer-ng-bootstrap-machine.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs +98 -129
- package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +144 -265
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs +133 -217
- package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +46 -25
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs +166 -93
- package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs +148 -231
- package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-radio.mjs +133 -94
- package/fesm2022/mintplayer-ng-bootstrap-radio.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +76 -7
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs +766 -812
- package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +206 -180
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs +202 -141
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-shell.mjs +113 -59
- package/fesm2022/mintplayer-ng-bootstrap-shell.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +133 -76
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs +60 -87
- package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +86 -83
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs +1 -2
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-theming.mjs +38 -34
- package/fesm2022/mintplayer-ng-bootstrap-theming.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs +177 -147
- package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +200 -94
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs +186 -233
- package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +58 -136
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +22 -16
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
- package/package.json +11 -9
- package/types/mintplayer-ng-bootstrap-a11y.d.ts +40 -21
- package/types/mintplayer-ng-bootstrap-accordion.d.ts +36 -33
- package/types/mintplayer-ng-bootstrap-calendar.d.ts +39 -16
- package/types/mintplayer-ng-bootstrap-card.d.ts +25 -33
- package/types/mintplayer-ng-bootstrap-carousel.d.ts +70 -55
- package/types/mintplayer-ng-bootstrap-charts-hierarchy.d.ts +65 -45
- package/types/mintplayer-ng-bootstrap-charts-sparkline.d.ts +12 -3
- package/types/mintplayer-ng-bootstrap-charts-trend.d.ts +34 -19
- package/types/mintplayer-ng-bootstrap-checkbox.d.ts +34 -8
- package/types/mintplayer-ng-bootstrap-code-snippet.d.ts +32 -59
- package/types/mintplayer-ng-bootstrap-datatable.d.ts +217 -422
- package/types/mintplayer-ng-bootstrap-datepicker.d.ts +77 -29
- package/types/mintplayer-ng-bootstrap-datetime-picker.d.ts +83 -51
- package/types/mintplayer-ng-bootstrap-dock.d.ts +57 -38
- package/types/mintplayer-ng-bootstrap-dropdown-menu.d.ts +25 -30
- package/types/mintplayer-ng-bootstrap-file-manager.d.ts +61 -81
- package/types/mintplayer-ng-bootstrap-input-group.d.ts +17 -12
- package/types/mintplayer-ng-bootstrap-machine.d.ts +112 -4
- package/types/mintplayer-ng-bootstrap-multi-range.d.ts +53 -27
- package/types/mintplayer-ng-bootstrap-navbar.d.ts +88 -164
- package/types/mintplayer-ng-bootstrap-otp-input.d.ts +63 -30
- package/types/mintplayer-ng-bootstrap-pagination.d.ts +23 -7
- package/types/mintplayer-ng-bootstrap-phone-input.d.ts +77 -47
- package/types/mintplayer-ng-bootstrap-query-builder.d.ts +95 -98
- package/types/mintplayer-ng-bootstrap-radio.d.ts +68 -35
- package/types/mintplayer-ng-bootstrap-rating.d.ts +27 -2
- package/types/mintplayer-ng-bootstrap-ribbon.d.ts +546 -220
- package/types/mintplayer-ng-bootstrap-scheduler.d.ts +82 -197
- package/types/mintplayer-ng-bootstrap-select.d.ts +113 -53
- package/types/mintplayer-ng-bootstrap-shell.d.ts +59 -33
- package/types/mintplayer-ng-bootstrap-signature-pad.d.ts +63 -27
- package/types/mintplayer-ng-bootstrap-splitter.d.ts +45 -56
- package/types/mintplayer-ng-bootstrap-tab-control.d.ts +47 -26
- package/types/mintplayer-ng-bootstrap-table.d.ts +1 -2
- package/types/mintplayer-ng-bootstrap-theming.d.ts +19 -18
- package/types/mintplayer-ng-bootstrap-timeline.d.ts +287 -117
- package/types/mintplayer-ng-bootstrap-timepicker.d.ts +100 -27
- package/types/mintplayer-ng-bootstrap-tree-select.d.ts +188 -94
- package/types/mintplayer-ng-bootstrap-treeview.d.ts +74 -59
- package/types/mintplayer-ng-bootstrap-typeahead.d.ts +3 -0
- package/src/styles/utilities/cursor.scss +0 -12
- package/src/styles/utilities/overflow.scss +0 -12
- package/src/styles/utilities/white-space.scss +0 -12
- package/src/styles/utilities/width.scss +0 -14
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { input, computed, ChangeDetectionStrategy,
|
|
2
|
+
import { input, computed, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
3
|
import { Color } from '@mintplayer/ng-bootstrap';
|
|
4
|
-
import {
|
|
5
|
-
export
|
|
4
|
+
import { cardColorClasses, capColorClasses, cardImgClass } from '@mintplayer/ui-core/card';
|
|
5
|
+
export { CARD_COLORS, isCardColor } from '@mintplayer/ui-core/card';
|
|
6
6
|
import { NgTemplateOutlet } from '@angular/common';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* `<bs-card-*>` content lands in `<mp-card>`'s default slot and is styled by
|
|
14
|
-
* the WC's card-anchored document sheet (header / body / footer / img / title /
|
|
15
|
-
* text). This is what makes the card render
|
|
16
|
-
* correctly even when itself slotted inside another web component.
|
|
9
|
+
* The card root (PRD #437 wave A). The host IS the Bootstrap `.card`: no
|
|
10
|
+
* inner element and no core, so the server renders the finished card and the
|
|
11
|
+
* page baseline styles it with JS off. Projected `<bs-card-*>` children are
|
|
12
|
+
* plain class-carrying elements.
|
|
17
13
|
*/
|
|
18
14
|
class BsCardComponent {
|
|
19
15
|
constructor() {
|
|
@@ -21,75 +17,53 @@ class BsCardComponent {
|
|
|
21
17
|
...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
|
|
22
18
|
this.outline = input(false, /* @ts-ignore */
|
|
23
19
|
...(ngDevMode ? [{ debugName: "outline" }] : /* istanbul ignore next */ []));
|
|
24
|
-
this.
|
|
20
|
+
this.classes = computed(() => {
|
|
25
21
|
const c = this.color();
|
|
26
|
-
return c === undefined ? null : Color[c];
|
|
22
|
+
return ['card', ...cardColorClasses(c === undefined ? null : Color[c], this.outline())];
|
|
27
23
|
}, /* @ts-ignore */
|
|
28
|
-
...(ngDevMode ? [{ debugName: "
|
|
24
|
+
...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
|
|
29
25
|
}
|
|
30
26
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
31
|
-
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 } },
|
|
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
28
|
}
|
|
33
29
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardComponent, decorators: [{
|
|
34
30
|
type: Component,
|
|
35
|
-
args: [{
|
|
31
|
+
args: [{
|
|
32
|
+
selector: 'bs-card',
|
|
33
|
+
template: '<ng-content></ng-content>',
|
|
34
|
+
host: { '[class]': 'classes()' },
|
|
35
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
36
|
+
}]
|
|
36
37
|
}], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], outline: [{ type: i0.Input, args: [{ isSignal: true, alias: "outline", required: false }] }] } });
|
|
37
38
|
|
|
38
39
|
/**
|
|
39
|
-
* Card header.
|
|
40
|
-
*
|
|
41
|
-
* `
|
|
42
|
-
*
|
|
43
|
-
* tab/pill integration kicks in. The class lands on the first nav/ul
|
|
44
|
-
* descendant, and a MutationObserver re-applies it when the consumer
|
|
45
|
-
* swaps the slotted markup (e.g. an `@if` that flips the nav in or out).
|
|
40
|
+
* Card header. A nav inside it takes Bootstrap's own `card-header-tabs` or
|
|
41
|
+
* `card-header-pills` class, written by the consumer on the nav (the old
|
|
42
|
+
* `navStyle` input walked and mutated consumer DOM, which a headless front
|
|
43
|
+
* never does).
|
|
46
44
|
*/
|
|
47
45
|
class BsCardHeaderComponent {
|
|
48
46
|
constructor() {
|
|
49
|
-
this.el = inject(ElementRef);
|
|
50
|
-
this.destroyRef = inject(DestroyRef);
|
|
51
47
|
this.color = input(undefined, /* @ts-ignore */
|
|
52
48
|
...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
|
|
53
|
-
this.
|
|
54
|
-
...(ngDevMode ? [{ debugName: "navStyle" }] : /* istanbul ignore next */ []));
|
|
55
|
-
effect(() => {
|
|
49
|
+
this.classes = computed(() => {
|
|
56
50
|
const c = this.color();
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
});
|
|
60
|
-
effect(() => {
|
|
61
|
-
applyHeaderNavStyle(this.el.nativeElement, this.navStyle() ?? null);
|
|
62
|
-
});
|
|
63
|
-
// Slotted navs may appear after the component is created (Angular @if,
|
|
64
|
-
// structural directives). Re-apply the nav-style class on child changes
|
|
65
|
-
// so a late-rendered nav still picks up `card-header-tabs` / `-pills`.
|
|
66
|
-
// Scope to direct children only: the slotted nav must be a direct child
|
|
67
|
-
// for Bootstrap's `.card-header-tabs` styling to apply; deep subtree
|
|
68
|
-
// mutations (Angular re-renders of nested content) would otherwise
|
|
69
|
-
// trigger a full `querySelector` walk on every keystroke.
|
|
70
|
-
if (typeof MutationObserver !== 'undefined') {
|
|
71
|
-
const observer = new MutationObserver((records) => {
|
|
72
|
-
const navAffected = records.some((r) => [...Array.from(r.addedNodes), ...Array.from(r.removedNodes)].some(isNavTargetNode));
|
|
73
|
-
if (!navAffected)
|
|
74
|
-
return;
|
|
75
|
-
applyHeaderNavStyle(this.el.nativeElement, this.navStyle() ?? null);
|
|
76
|
-
});
|
|
77
|
-
observer.observe(this.el.nativeElement, { childList: true, subtree: false });
|
|
78
|
-
this.destroyRef.onDestroy(() => observer.disconnect());
|
|
79
|
-
}
|
|
51
|
+
return ['card-header', ...capColorClasses(c === undefined ? null : Color[c])];
|
|
52
|
+
}, /* @ts-ignore */
|
|
53
|
+
...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
|
|
80
54
|
}
|
|
81
55
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
82
|
-
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 },
|
|
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 }); }
|
|
83
57
|
}
|
|
84
58
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardHeaderComponent, decorators: [{
|
|
85
59
|
type: Component,
|
|
86
60
|
args: [{
|
|
87
61
|
selector: 'bs-card-header',
|
|
88
62
|
template: '<ng-content></ng-content>',
|
|
89
|
-
host: { class: '
|
|
63
|
+
host: { '[class]': 'classes()' },
|
|
90
64
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
91
65
|
}]
|
|
92
|
-
}],
|
|
66
|
+
}], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }] } });
|
|
93
67
|
|
|
94
68
|
/**
|
|
95
69
|
* Card body — explicit wrapper. No auto-padding workaround like the previous
|
|
@@ -113,27 +87,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
113
87
|
|
|
114
88
|
class BsCardFooterComponent {
|
|
115
89
|
constructor() {
|
|
116
|
-
this.el = inject(ElementRef);
|
|
117
90
|
this.color = input(undefined, /* @ts-ignore */
|
|
118
91
|
...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
|
|
119
|
-
|
|
92
|
+
this.classes = computed(() => {
|
|
120
93
|
const c = this.color();
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
});
|
|
94
|
+
return ['card-footer', ...capColorClasses(c === undefined ? null : Color[c])];
|
|
95
|
+
}, /* @ts-ignore */
|
|
96
|
+
...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
|
|
124
97
|
}
|
|
125
98
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
126
|
-
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: {
|
|
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 }); }
|
|
127
100
|
}
|
|
128
101
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardFooterComponent, decorators: [{
|
|
129
102
|
type: Component,
|
|
130
103
|
args: [{
|
|
131
104
|
selector: 'bs-card-footer',
|
|
132
105
|
template: '<ng-content></ng-content>',
|
|
133
|
-
host: { class: '
|
|
106
|
+
host: { '[class]': 'classes()' },
|
|
134
107
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
135
108
|
}]
|
|
136
|
-
}],
|
|
109
|
+
}], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }] } });
|
|
137
110
|
|
|
138
111
|
class BsCardTitleComponent {
|
|
139
112
|
constructor() {
|
|
@@ -142,7 +115,7 @@ class BsCardTitleComponent {
|
|
|
142
115
|
...(ngDevMode ? [{ debugName: "level" }] : /* istanbul ignore next */ []));
|
|
143
116
|
}
|
|
144
117
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
145
|
-
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" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
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 d-block" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
146
119
|
}
|
|
147
120
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardTitleComponent, decorators: [{
|
|
148
121
|
type: Component,
|
|
@@ -153,7 +126,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
153
126
|
// computed pair is exactly equivalent in the accessibility tree.
|
|
154
127
|
template: '<ng-content></ng-content>',
|
|
155
128
|
host: {
|
|
156
|
-
|
|
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',
|
|
157
132
|
role: 'heading',
|
|
158
133
|
'[attr.aria-level]': 'level()',
|
|
159
134
|
},
|
|
@@ -163,56 +138,55 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
163
138
|
|
|
164
139
|
class BsCardSubtitleComponent {
|
|
165
140
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardSubtitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
166
|
-
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" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
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 d-block" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
167
142
|
}
|
|
168
143
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardSubtitleComponent, decorators: [{
|
|
169
144
|
type: Component,
|
|
170
145
|
args: [{
|
|
171
146
|
selector: 'bs-card-subtitle',
|
|
172
147
|
template: '<ng-content></ng-content>',
|
|
173
|
-
host: { class: 'card-subtitle' },
|
|
148
|
+
host: { class: 'card-subtitle d-block' },
|
|
174
149
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
175
150
|
}]
|
|
176
151
|
}] });
|
|
177
152
|
|
|
178
153
|
class BsCardTextComponent {
|
|
179
154
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
180
|
-
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" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
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 d-block" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
181
156
|
}
|
|
182
157
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardTextComponent, decorators: [{
|
|
183
158
|
type: Component,
|
|
184
159
|
args: [{
|
|
185
160
|
selector: 'bs-card-text',
|
|
186
161
|
template: '<ng-content></ng-content>',
|
|
187
|
-
host: { class: 'card-text' },
|
|
162
|
+
host: { class: 'card-text d-block' },
|
|
188
163
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
189
164
|
}]
|
|
190
165
|
}] });
|
|
191
166
|
|
|
192
167
|
/**
|
|
193
|
-
* Card link. The
|
|
194
|
-
*
|
|
195
|
-
*
|
|
196
|
-
* CSS in `mp-card.element.scss`.
|
|
168
|
+
* Card link. The HOST carries `.card-link`, so Bootstrap's
|
|
169
|
+
* `.card-link + .card-link` spacing matches sibling `<bs-card-link>`s; the
|
|
170
|
+
* inner `<a>` is the link.
|
|
197
171
|
*/
|
|
198
172
|
class BsCardLinkComponent {
|
|
199
173
|
constructor() {
|
|
200
174
|
this.href = input(undefined, /* @ts-ignore */
|
|
201
175
|
...(ngDevMode ? [{ debugName: "href" }] : /* istanbul ignore next */ []));
|
|
202
176
|
// Coalesce `undefined` to `null` so Angular drops the attribute entirely
|
|
203
|
-
// when the input is unset.
|
|
204
|
-
// "computed over inline expression" memory rule.
|
|
177
|
+
// when the input is unset.
|
|
205
178
|
this.hrefAttr = computed(() => this.href() ?? null, /* @ts-ignore */
|
|
206
179
|
...(ngDevMode ? [{ debugName: "hrefAttr" }] : /* istanbul ignore next */ []));
|
|
207
180
|
}
|
|
208
181
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardLinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
209
|
-
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 } }, ngImport: i0, template: '<a
|
|
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 }); }
|
|
210
183
|
}
|
|
211
184
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardLinkComponent, decorators: [{
|
|
212
185
|
type: Component,
|
|
213
186
|
args: [{
|
|
214
187
|
selector: 'bs-card-link',
|
|
215
|
-
template: '<a
|
|
188
|
+
template: '<a [attr.href]="hrefAttr()"><ng-content></ng-content></a>',
|
|
189
|
+
host: { class: 'card-link' },
|
|
216
190
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
217
191
|
}]
|
|
218
192
|
}], propDecorators: { href: [{ type: i0.Input, args: [{ isSignal: true, alias: "href", required: false }] }] } });
|
|
@@ -226,8 +200,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
226
200
|
* `.card-group > .card > .card-img-top` corner-rounding selectors match
|
|
227
201
|
* (the inner `<img>` would otherwise be a grandchild of `.card`). The inner
|
|
228
202
|
* `<img>` carries the same class so Bootstrap's `width: 100%` sizing rule
|
|
229
|
-
* applies; the host's border-radius is paired with `overflow: hidden`
|
|
230
|
-
* `mp-card.element.scss`) so the img's straight corners get clipped.
|
|
203
|
+
* applies; the host's border-radius is paired with `overflow: hidden` so the img's straight corners get clipped.
|
|
231
204
|
*
|
|
232
205
|
* Projection uses `*ngTemplateOutlet` instead of inlining `<ng-content>` in
|
|
233
206
|
* each `@case`: multiple `<ng-content>` slots in conditional branches silently
|
|
@@ -242,16 +215,7 @@ class BsCardImgComponent {
|
|
|
242
215
|
...(ngDevMode ? [{ debugName: "src" }] : /* istanbul ignore next */ []));
|
|
243
216
|
this.alt = input(undefined, /* @ts-ignore */
|
|
244
217
|
...(ngDevMode ? [{ debugName: "alt" }] : /* istanbul ignore next */ []));
|
|
245
|
-
this.hostClass = computed(() =>
|
|
246
|
-
switch (this.position()) {
|
|
247
|
-
case 'overlay':
|
|
248
|
-
return 'card-img';
|
|
249
|
-
case 'bottom':
|
|
250
|
-
return 'card-img-bottom';
|
|
251
|
-
default:
|
|
252
|
-
return 'card-img-top';
|
|
253
|
-
}
|
|
254
|
-
}, /* @ts-ignore */
|
|
218
|
+
this.hostClass = computed(() => cardImgClass(this.position()), /* @ts-ignore */
|
|
255
219
|
...(ngDevMode ? [{ debugName: "hostClass" }] : /* istanbul ignore next */ []));
|
|
256
220
|
// The inner <img> carries the same card-img-* class so Bootstrap's
|
|
257
221
|
// `width: 100%` rule sizes the actual image element.
|
|
@@ -325,19 +289,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
325
289
|
}]
|
|
326
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 }] }] } });
|
|
327
291
|
|
|
292
|
+
/**
|
|
293
|
+
* Card group. No host `display` of its own: Bootstrap's `.card-group` turns
|
|
294
|
+
* flex from `sm` up, and an unlayered component rule would out-rank the
|
|
295
|
+
* layered baseline and keep it a block (PRD #437 C3).
|
|
296
|
+
*/
|
|
328
297
|
class BsCardGroupComponent {
|
|
329
298
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
330
|
-
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,
|
|
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 }); }
|
|
331
300
|
}
|
|
332
301
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardGroupComponent, decorators: [{
|
|
333
302
|
type: Component,
|
|
334
|
-
args: [{
|
|
303
|
+
args: [{
|
|
304
|
+
selector: 'bs-card-group',
|
|
305
|
+
template: '<ng-content></ng-content>',
|
|
306
|
+
host: { class: 'card-group' },
|
|
307
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
308
|
+
}]
|
|
335
309
|
}] });
|
|
336
310
|
|
|
337
|
-
// Angular
|
|
338
|
-
// have been removed; consumers continue to import `BsCardComponent` and
|
|
339
|
-
// `BsCardHeaderComponent` via the same `@mintplayer/ng-bootstrap/card`
|
|
340
|
-
// secondary entry — only the internal file paths moved.
|
|
311
|
+
// Angular front of the card (PRD #437 wave A): plain Bootstrap markup, no custom element.
|
|
341
312
|
|
|
342
313
|
/**
|
|
343
314
|
* Generated bundle index. Do not edit.
|
|
@@ -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 {\n ChangeDetectionStrategy,\n Component,\n computed,\n CUSTOM_ELEMENTS_SCHEMA,\n input,\n} from '@angular/core';\nimport { Color } from '@mintplayer/ng-bootstrap';\n// Side-effect import registers <mp-card>.\nimport '@mintplayer/web-components/card';\n\n/**\n * Angular wrapper for the Bootstrap card root.\n *\n * Renders an inner `<mp-card>` — the single card web component, which owns the\n * card chrome (border / radius / background) in its shadow DOM. Projected\n * `<bs-card-*>` content lands in `<mp-card>`'s default slot and is styled by\n * the WC's card-anchored document sheet (header / body / footer / img / title /\n * text). This is what makes the card render\n * correctly even when itself slotted inside another web component.\n */\n@Component({\n selector: 'bs-card',\n template: `<mp-card [attr.color]=\"colorName()\" [attr.outline]=\"outline() ? '' : null\"><ng-content></ng-content></mp-card>`,\n styles: [':host { display: block; }'],\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardComponent {\n readonly color = input<Color | undefined>(undefined);\n readonly outline = input(false);\n\n protected readonly colorName = computed(() => {\n const c = this.color();\n return c === undefined ? null : Color[c];\n });\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n DestroyRef,\n ElementRef,\n effect,\n inject,\n input,\n} from '@angular/core';\nimport { Color } from '@mintplayer/ng-bootstrap';\nimport {\n applyHeaderNavStyle,\n applyTextBgClass,\n isNavTargetNode,\n type CardHeaderNavStyle,\n} from '@mintplayer/web-components/card';\n\n/**\n * Card header.\n *\n * `[navStyle]` decorates a slotted `<nav>` / `<ul>` with\n * `card-header-tabs` / `card-header-pills` so Bootstrap's `_card.scss`\n * tab/pill integration kicks in. The class lands on the first nav/ul\n * descendant, and a MutationObserver re-applies it when the consumer\n * swaps the slotted markup (e.g. an `@if` that flips the nav in or out).\n */\n@Component({\n selector: 'bs-card-header',\n template: '<ng-content></ng-content>',\n host: { class: 'card-header' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardHeaderComponent {\n private readonly el = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly destroyRef = inject(DestroyRef);\n\n readonly color = input<Color | undefined>(undefined);\n readonly navStyle = input<CardHeaderNavStyle | undefined>(undefined);\n\n constructor() {\n effect(() => {\n const c = this.color();\n const name = c === undefined ? null : Color[c];\n applyTextBgClass(this.el.nativeElement, name);\n });\n\n effect(() => {\n applyHeaderNavStyle(this.el.nativeElement, this.navStyle() ?? null);\n });\n\n // Slotted navs may appear after the component is created (Angular @if,\n // structural directives). Re-apply the nav-style class on child changes\n // so a late-rendered nav still picks up `card-header-tabs` / `-pills`.\n // Scope to direct children only: the slotted nav must be a direct child\n // for Bootstrap's `.card-header-tabs` styling to apply; deep subtree\n // mutations (Angular re-renders of nested content) would otherwise\n // trigger a full `querySelector` walk on every keystroke.\n if (typeof MutationObserver !== 'undefined') {\n const observer = new MutationObserver((records) => {\n const navAffected = records.some((r) =>\n [...Array.from(r.addedNodes), ...Array.from(r.removedNodes)].some(isNavTargetNode),\n );\n if (!navAffected) return;\n applyHeaderNavStyle(this.el.nativeElement, this.navStyle() ?? null);\n });\n observer.observe(this.el.nativeElement, { childList: true, subtree: false });\n this.destroyRef.onDestroy(() => observer.disconnect());\n }\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 {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n effect,\n inject,\n input,\n} from '@angular/core';\nimport { Color } from '@mintplayer/ng-bootstrap';\nimport { applyTextBgClass } from '@mintplayer/web-components/card';\n\n@Component({\n selector: 'bs-card-footer',\n template: '<ng-content></ng-content>',\n host: { class: 'card-footer' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardFooterComponent {\n private readonly el = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly color = input<Color | undefined>(undefined);\n\n constructor() {\n effect(() => {\n const c = this.color();\n const name = c === undefined ? null : Color[c];\n applyTextBgClass(this.el.nativeElement, name);\n });\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 class: 'card-title',\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' },\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' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardTextComponent {}\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\n\n/**\n * Card link. The inner `<a>` carries `.card-link` (so Bootstrap's hover /\n * spacing styling and the `+` adjacency rule both apply). For the adjacency\n * margin between sibling `<bs-card-link>` wrappers, see the compensating\n * CSS in `mp-card.element.scss`.\n */\n@Component({\n selector: 'bs-card-link',\n template: '<a class=\"card-link\" [attr.href]=\"hrefAttr()\"><ng-content></ng-content></a>',\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. Hoisted out of the template per the workspace's\n // \"computed over inline expression\" memory rule.\n readonly hrefAttr = computed(() => this.href() ?? null);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport type { CardImagePosition } from '@mintplayer/web-components/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` (in\n * `mp-card.element.scss`) 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(() => {\n switch (this.position()) {\n case 'overlay':\n return 'card-img';\n case 'bottom':\n return 'card-img-bottom';\n default:\n return 'card-img-top';\n }\n });\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@Component({\n selector: 'bs-card-group',\n template: '<ng-content></ng-content>',\n // The group wraps cards, so mp-card's card-anchored document sheet cannot\n // reach it (#432); the host is an inline custom element without this.\n styles: ':host { display: block; }',\n host: { class: 'card-group' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardGroupComponent {}\n","// Angular wrappers (M2). The legacy `card/` + `card-header/` directories\n// have been removed; consumers continue to import `BsCardComponent` and\n// `BsCardHeaderComponent` via the same `@mintplayer/ng-bootstrap/card`\n// secondary entry — only the internal file paths moved.\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\n// Lit web-component layer + public types — now sourced from the\n// framework-agnostic @mintplayer/web-components/card sub-entry.\nexport * from '@mintplayer/web-components/card';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAWA;;;;;;;;;AASG;MAQU,eAAe,CAAA;AAP5B,IAAA,WAAA,GAAA;QAQW,IAAA,CAAA,KAAK,GAAG,KAAK,CAAoB,SAAS;kFAAC;QAC3C,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,KAAK;oFAAC;AAEZ,QAAA,IAAA,CAAA,SAAS,GAAG,QAAQ,CAAC,MAAK;AAC3C,YAAA,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,EAAE;AACtB,YAAA,OAAO,CAAC,KAAK,SAAS,GAAG,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC;QAC1C,CAAC;sFAAC;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,qUALhB,CAAA,8GAAA,CAAgH,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAK/G,eAAe,EAAA,UAAA,EAAA,CAAA;kBAP3B,SAAS;+BACE,SAAS,EAAA,QAAA,EACT,gHAAgH,EAAA,OAAA,EAEjH,CAAC,sBAAsB,CAAC,EAAA,eAAA,EAChB,uBAAuB,CAAC,MAAM,EA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intplayer-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;o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