@mintplayer/ng-bootstrap 22.31.0 → 22.33.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 +3 -273
- package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +72 -139
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +34 -60
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +24 -27
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs +39 -17
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs +26 -6
- package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +4 -8
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs +169 -240
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +9 -8
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs +6 -8
- package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs +31 -40
- package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs +5 -5
- package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs +316 -211
- package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs +26 -12
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +5 -5
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs +87 -676
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs +52 -119
- package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +16 -24
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +9 -11
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs +9 -9
- package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs +5 -7
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +201 -197
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs +11 -19
- package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs +64 -123
- package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +19 -29
- 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 +54 -35
- package/fesm2022/mintplayer-ng-bootstrap-form.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +72 -99
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs +23 -36
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs +45 -28
- package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-machine.mjs +214 -19
- package/fesm2022/mintplayer-ng-bootstrap-machine.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs +27 -12
- package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs +61 -245
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs +9 -11
- package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-nav.mjs +92 -0
- package/fesm2022/mintplayer-ng-bootstrap-nav.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs +31 -15
- package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +49 -77
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +53 -393
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs +11 -9
- package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +29 -49
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs +21 -12
- package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs +12 -12
- package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs +27 -49
- package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs +29 -15
- package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +57 -253
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs +60 -335
- package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +48 -57
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs +11 -15
- package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-radio.mjs +235 -168
- package/fesm2022/mintplayer-ng-bootstrap-radio.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs +86 -44
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +80 -137
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs +29 -326
- package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs +47 -63
- package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +16 -22
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +48 -171
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs +12 -10
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-shell.mjs +52 -108
- package/fesm2022/mintplayer-ng-bootstrap-shell.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +9 -9
- 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-splitter.mjs +6 -6
- package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs +37 -32
- package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +61 -99
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs +31 -30
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-theming.mjs +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-theming.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs +67 -306
- package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs +7 -9
- package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +14 -15
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +109 -143
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +51 -154
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs +9 -11
- package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +11 -13
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +160 -232
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
- package/nav/package.json +4 -0
- package/package.json +11 -28
- package/types/mintplayer-ng-bootstrap-a11y-forms.d.ts +64 -0
- package/types/mintplayer-ng-bootstrap-a11y.d.ts +3 -142
- package/types/mintplayer-ng-bootstrap-accordion.d.ts +51 -86
- package/types/mintplayer-ng-bootstrap-alert.d.ts +21 -28
- package/types/mintplayer-ng-bootstrap-badge.d.ts +13 -12
- package/types/mintplayer-ng-bootstrap-breadcrumb.d.ts +31 -8
- package/types/mintplayer-ng-bootstrap-button-group.d.ts +15 -4
- package/types/mintplayer-ng-bootstrap-calendar.d.ts +1 -5
- package/types/mintplayer-ng-bootstrap-card.d.ts +102 -76
- package/types/mintplayer-ng-bootstrap-carousel.d.ts +4 -6
- package/types/mintplayer-ng-bootstrap-charts-hierarchy.d.ts +4 -6
- package/types/mintplayer-ng-bootstrap-charts-sparkline.d.ts +24 -17
- package/types/mintplayer-ng-bootstrap-charts-trend.d.ts +3 -3
- package/types/mintplayer-ng-bootstrap-checkbox.d.ts +144 -92
- package/types/mintplayer-ng-bootstrap-close.d.ts +17 -5
- package/types/mintplayer-ng-bootstrap-code-snippet.d.ts +3 -3
- package/types/mintplayer-ng-bootstrap-color-picker.d.ts +42 -226
- package/types/mintplayer-ng-bootstrap-context-menu.d.ts +35 -17
- package/types/mintplayer-ng-bootstrap-datatable.d.ts +23 -35
- package/types/mintplayer-ng-bootstrap-datepicker.d.ts +3 -7
- package/types/mintplayer-ng-bootstrap-datetime-picker.d.ts +3 -5
- package/types/mintplayer-ng-bootstrap-dock.d.ts +6 -8
- package/types/mintplayer-ng-bootstrap-dropdown.d.ts +122 -54
- package/types/mintplayer-ng-bootstrap-file-manager.d.ts +10 -20
- package/types/mintplayer-ng-bootstrap-file-upload.d.ts +62 -44
- package/types/mintplayer-ng-bootstrap-floating-labels.d.ts +12 -15
- package/types/mintplayer-ng-bootstrap-for.d.ts +5 -5
- package/types/mintplayer-ng-bootstrap-form.d.ts +33 -11
- package/types/mintplayer-ng-bootstrap-grid.d.ts +42 -21
- package/types/mintplayer-ng-bootstrap-input-group.d.ts +11 -22
- package/types/mintplayer-ng-bootstrap-list-group.d.ts +31 -10
- package/types/mintplayer-ng-bootstrap-machine.d.ts +107 -5
- package/types/mintplayer-ng-bootstrap-marquee.d.ts +18 -5
- package/types/mintplayer-ng-bootstrap-modal.d.ts +43 -84
- package/types/mintplayer-ng-bootstrap-multi-range.d.ts +4 -6
- package/types/mintplayer-ng-bootstrap-nav.d.ts +52 -0
- package/types/mintplayer-ng-bootstrap-navbar-toggler.d.ts +22 -6
- package/types/mintplayer-ng-bootstrap-navbar.d.ts +27 -38
- package/types/mintplayer-ng-bootstrap-offcanvas.d.ts +35 -112
- package/types/mintplayer-ng-bootstrap-otp-input.d.ts +5 -4
- package/types/mintplayer-ng-bootstrap-pagination.d.ts +22 -34
- package/types/mintplayer-ng-bootstrap-parallax.d.ts +14 -4
- package/types/mintplayer-ng-bootstrap-phone-input.d.ts +6 -7
- package/types/mintplayer-ng-bootstrap-placeholder.d.ts +19 -18
- package/types/mintplayer-ng-bootstrap-playlist-toggler.d.ts +22 -6
- package/types/mintplayer-ng-bootstrap-popover.d.ts +36 -59
- package/types/mintplayer-ng-bootstrap-priority-nav.d.ts +80 -68
- package/types/mintplayer-ng-bootstrap-progress-bar.d.ts +35 -18
- package/types/mintplayer-ng-bootstrap-query-builder.d.ts +12 -20
- package/types/mintplayer-ng-bootstrap-radio.d.ts +112 -84
- package/types/mintplayer-ng-bootstrap-range.d.ts +36 -13
- package/types/mintplayer-ng-bootstrap-rating.d.ts +33 -42
- package/types/mintplayer-ng-bootstrap-resizable.d.ts +24 -114
- package/types/mintplayer-ng-bootstrap-ribbon.d.ts +21 -37
- package/types/mintplayer-ng-bootstrap-scheduler.d.ts +19 -27
- package/types/mintplayer-ng-bootstrap-scrollspy.d.ts +26 -50
- package/types/mintplayer-ng-bootstrap-select.d.ts +9 -8
- package/types/mintplayer-ng-bootstrap-shell.d.ts +40 -63
- package/types/mintplayer-ng-bootstrap-signature-pad.d.ts +5 -7
- package/types/mintplayer-ng-bootstrap-spinner.d.ts +14 -7
- package/types/mintplayer-ng-bootstrap-splitter.d.ts +3 -3
- package/types/mintplayer-ng-bootstrap-sticky-footer.d.ts +23 -13
- package/types/mintplayer-ng-bootstrap-tab-control.d.ts +61 -57
- package/types/mintplayer-ng-bootstrap-table.d.ts +23 -18
- package/types/mintplayer-ng-bootstrap-tile-manager.d.ts +94 -154
- package/types/mintplayer-ng-bootstrap-timeline.d.ts +23 -25
- package/types/mintplayer-ng-bootstrap-timepicker.d.ts +4 -8
- package/types/mintplayer-ng-bootstrap-toast.d.ts +94 -55
- package/types/mintplayer-ng-bootstrap-tooltip.d.ts +34 -33
- package/types/mintplayer-ng-bootstrap-tree-select.d.ts +14 -16
- package/types/mintplayer-ng-bootstrap-treeview.d.ts +12 -13
- package/types/mintplayer-ng-bootstrap-typeahead.d.ts +109 -133
- package/calendar-month/package.json +0 -4
- package/container/package.json +0 -4
- package/dropdown-divider/package.json +0 -4
- package/dropdown-menu/package.json +0 -4
- package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs +0 -136
- package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs.map +0 -1
- package/fesm2022/mintplayer-ng-bootstrap-container.mjs +0 -18
- package/fesm2022/mintplayer-ng-bootstrap-container.mjs.map +0 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs +0 -23
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs.map +0 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +0 -161
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +0 -1
- package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs +0 -32
- package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs.map +0 -1
- package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs +0 -31
- package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs.map +0 -1
- package/has-overlay/package.json +0 -4
- package/no-noscript/package.json +0 -4
- package/types/mintplayer-ng-bootstrap-calendar-month.d.ts +0 -54
- package/types/mintplayer-ng-bootstrap-container.d.ts +0 -8
- package/types/mintplayer-ng-bootstrap-dropdown-divider.d.ts +0 -8
- package/types/mintplayer-ng-bootstrap-dropdown-menu.d.ts +0 -94
- package/types/mintplayer-ng-bootstrap-has-overlay.d.ts +0 -22
- package/types/mintplayer-ng-bootstrap-no-noscript.d.ts +0 -11
|
@@ -1,314 +1,243 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { input,
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { inject, ElementRef, input, booleanAttribute, ChangeDetectionStrategy, Component, numberAttribute } from '@angular/core';
|
|
3
|
+
import { useCore, useScopedStyles, useHostAttrs, MpPropsDirective } from '@mintplayer/ng-bootstrap/machine';
|
|
4
|
+
import { cardCore, cardScopedStyles, cardHeaderCore, cardFooterCore, cardBodyCore, cardTitleCore, cardSubtitleCore, cardTextCore, cardGroupCore, cardImgCore, cardLinkCore } from '@mintplayer/ui-core/card';
|
|
5
5
|
export { CARD_COLORS, isCardColor } from '@mintplayer/ui-core/card';
|
|
6
|
-
import {
|
|
6
|
+
import { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
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.
|
|
13
|
-
*/
|
|
8
|
+
// GENERATED from the card manifest (card) by @mintplayer/nx-component-compiler. Do not edit.
|
|
9
|
+
/** Bootstrap's card: a `.card` around its header, body, image and footer parts. `color` fills it; `outline` colours only its border. */
|
|
14
10
|
class BsCardComponent {
|
|
11
|
+
#core;
|
|
15
12
|
constructor() {
|
|
16
|
-
|
|
13
|
+
/** The host element. */
|
|
14
|
+
this.elementRef = inject(ElementRef);
|
|
15
|
+
this.color = input(null, /* @ts-ignore */
|
|
17
16
|
...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
|
|
18
|
-
this.outline = input(false, /*
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
|
|
17
|
+
this.outline = input(false, { ...(ngDevMode ? { debugName: "outline" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
18
|
+
this.#core = useCore(cardCore, { inputs: () => ({ color: this.color(), outline: this.outline() }), idPrefix: 'bs-card', hostBag: (props) => ({ ...props.root, 'data-mps': 'card' }) });
|
|
19
|
+
/** The template's props. */
|
|
20
|
+
this.props = this.#core.props;
|
|
21
|
+
useScopedStyles(bootstrapCard.key, bootstrapCard.css, { order: bootstrapCard.order });
|
|
22
|
+
useScopedStyles('card', cardScopedStyles);
|
|
25
23
|
}
|
|
26
24
|
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 } },
|
|
25
|
+
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 } }, ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/card/src/templates/card-part.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
28
26
|
}
|
|
29
27
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardComponent, decorators: [{
|
|
30
28
|
type: Component,
|
|
31
|
-
args: [{
|
|
32
|
-
|
|
33
|
-
template: '<ng-content></ng-content>',
|
|
34
|
-
host: { '[class]': 'classes()' },
|
|
35
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
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 }] }] } });
|
|
29
|
+
args: [{ selector: 'bs-card', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/card/src/templates/card-part.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n" }]
|
|
30
|
+
}], 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
31
|
|
|
39
|
-
|
|
40
|
-
|
|
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).
|
|
44
|
-
*/
|
|
32
|
+
// GENERATED from the card manifest (card-header) by @mintplayer/nx-component-compiler. Do not edit.
|
|
33
|
+
/** The card's header cap. A nav inside it takes the nav's `cardHeader` for Bootstrap's header tabs or pills. */
|
|
45
34
|
class BsCardHeaderComponent {
|
|
35
|
+
#core;
|
|
46
36
|
constructor() {
|
|
47
|
-
|
|
37
|
+
/** The host element. */
|
|
38
|
+
this.elementRef = inject(ElementRef);
|
|
39
|
+
this.color = input(null, /* @ts-ignore */
|
|
48
40
|
...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
|
|
49
|
-
this
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
41
|
+
this.#core = useCore(cardHeaderCore, { inputs: () => ({ color: this.color() }), idPrefix: 'bs-card-header', hostBag: (props) => ({ ...props.root, 'data-mps': 'card' }) });
|
|
42
|
+
/** The template's props. */
|
|
43
|
+
this.props = this.#core.props;
|
|
44
|
+
useScopedStyles(bootstrapCard.key, bootstrapCard.css, { order: bootstrapCard.order });
|
|
45
|
+
useScopedStyles('card', cardScopedStyles);
|
|
54
46
|
}
|
|
55
47
|
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 } },
|
|
48
|
+
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 } }, ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/card/src/templates/card-part.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
57
49
|
}
|
|
58
50
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardHeaderComponent, decorators: [{
|
|
59
51
|
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
|
-
|
|
68
|
-
/**
|
|
69
|
-
* Card body — explicit wrapper. No auto-padding workaround like the previous
|
|
70
|
-
* implementation: Bootstrap's `.card-body` padding applies as upstream
|
|
71
|
-
* specifies. Consumers wanting unpadded content can use a raw `<div>` inside
|
|
72
|
-
* `<bs-card>` instead.
|
|
73
|
-
*/
|
|
74
|
-
class BsCardBodyComponent {
|
|
75
|
-
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 }); }
|
|
77
|
-
}
|
|
78
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardBodyComponent, decorators: [{
|
|
79
|
-
type: Component,
|
|
80
|
-
args: [{
|
|
81
|
-
selector: 'bs-card-body',
|
|
82
|
-
template: '<ng-content></ng-content>',
|
|
83
|
-
host: { class: 'card-body' },
|
|
84
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
85
|
-
}]
|
|
86
|
-
}] });
|
|
52
|
+
args: [{ selector: 'bs-card-header', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/card/src/templates/card-part.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n" }]
|
|
53
|
+
}], ctorParameters: () => [], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }] } });
|
|
87
54
|
|
|
55
|
+
// GENERATED from the card manifest (card-footer) by @mintplayer/nx-component-compiler. Do not edit.
|
|
56
|
+
/** The card's footer cap. */
|
|
88
57
|
class BsCardFooterComponent {
|
|
58
|
+
#core;
|
|
89
59
|
constructor() {
|
|
90
|
-
|
|
60
|
+
/** The host element. */
|
|
61
|
+
this.elementRef = inject(ElementRef);
|
|
62
|
+
this.color = input(null, /* @ts-ignore */
|
|
91
63
|
...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
|
|
92
|
-
this
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
64
|
+
this.#core = useCore(cardFooterCore, { inputs: () => ({ color: this.color() }), idPrefix: 'bs-card-footer', hostBag: (props) => ({ ...props.root, 'data-mps': 'card' }) });
|
|
65
|
+
/** The template's props. */
|
|
66
|
+
this.props = this.#core.props;
|
|
67
|
+
useScopedStyles(bootstrapCard.key, bootstrapCard.css, { order: bootstrapCard.order });
|
|
68
|
+
useScopedStyles('card', cardScopedStyles);
|
|
97
69
|
}
|
|
98
70
|
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 } },
|
|
71
|
+
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 } }, ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/card/src/templates/card-part.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
100
72
|
}
|
|
101
73
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardFooterComponent, decorators: [{
|
|
102
74
|
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 }] }] } });
|
|
75
|
+
args: [{ selector: 'bs-card-footer', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/card/src/templates/card-part.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n" }]
|
|
76
|
+
}], ctorParameters: () => [], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }] } });
|
|
110
77
|
|
|
78
|
+
// GENERATED from the card manifest (card-body) by @mintplayer/nx-component-compiler. Do not edit.
|
|
79
|
+
/** The card's padded body. */
|
|
80
|
+
class BsCardBodyComponent {
|
|
81
|
+
#core;
|
|
82
|
+
constructor() {
|
|
83
|
+
/** The host element. */
|
|
84
|
+
this.elementRef = inject(ElementRef);
|
|
85
|
+
this.#core = useCore(cardBodyCore, { inputs: () => ({}), idPrefix: 'bs-card-body', hostBag: (props) => ({ ...props.root, 'data-mps': 'card' }) });
|
|
86
|
+
/** The template's props. */
|
|
87
|
+
this.props = this.#core.props;
|
|
88
|
+
useScopedStyles(bootstrapCard.key, bootstrapCard.css, { order: bootstrapCard.order });
|
|
89
|
+
useScopedStyles('card', cardScopedStyles);
|
|
90
|
+
}
|
|
91
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
92
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: BsCardBodyComponent, isStandalone: true, selector: "bs-card-body", ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/card/src/templates/card-part.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
93
|
+
}
|
|
94
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardBodyComponent, decorators: [{
|
|
95
|
+
type: Component,
|
|
96
|
+
args: [{ selector: 'bs-card-body', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/card/src/templates/card-part.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n" }]
|
|
97
|
+
}], ctorParameters: () => [] });
|
|
98
|
+
|
|
99
|
+
// GENERATED from the card manifest (card-title) by @mintplayer/nx-component-compiler. Do not edit.
|
|
100
|
+
/** A card title: `role="heading"` at `level` (5 by default, matching Bootstrap's visual h5). */
|
|
111
101
|
class BsCardTitleComponent {
|
|
102
|
+
#core;
|
|
112
103
|
constructor() {
|
|
113
|
-
/**
|
|
114
|
-
this.
|
|
115
|
-
...(ngDevMode ?
|
|
104
|
+
/** The host element. */
|
|
105
|
+
this.elementRef = inject(ElementRef);
|
|
106
|
+
this.level = input(5, { ...(ngDevMode ? { debugName: "level" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
|
|
107
|
+
this.#core = useCore(cardTitleCore, { inputs: () => ({ level: this.level() }), idPrefix: 'bs-card-title', hostBag: (props) => ({ ...props.root, 'data-mps': 'card' }) });
|
|
108
|
+
/** The template's props. */
|
|
109
|
+
this.props = this.#core.props;
|
|
110
|
+
useScopedStyles(bootstrapCard.key, bootstrapCard.css, { order: bootstrapCard.order });
|
|
111
|
+
useScopedStyles('card', cardScopedStyles);
|
|
116
112
|
}
|
|
117
113
|
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 } },
|
|
114
|
+
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 } }, ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/card/src/templates/card-part.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
119
115
|
}
|
|
120
116
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardTitleComponent, decorators: [{
|
|
121
117
|
type: Component,
|
|
122
|
-
args: [{
|
|
123
|
-
|
|
124
|
-
// role=heading + aria-level rather than swapping real h1-h6 tags: the tag
|
|
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',
|
|
132
|
-
role: 'heading',
|
|
133
|
-
'[attr.aria-level]': 'level()',
|
|
134
|
-
},
|
|
135
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
136
|
-
}]
|
|
137
|
-
}], propDecorators: { level: [{ type: i0.Input, args: [{ isSignal: true, alias: "level", required: false }] }] } });
|
|
118
|
+
args: [{ selector: 'bs-card-title', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/card/src/templates/card-part.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n" }]
|
|
119
|
+
}], ctorParameters: () => [], propDecorators: { level: [{ type: i0.Input, args: [{ isSignal: true, alias: "level", required: false }] }] } });
|
|
138
120
|
|
|
121
|
+
// GENERATED from the card manifest (card-subtitle) by @mintplayer/nx-component-compiler. Do not edit.
|
|
122
|
+
/** A card subtitle. */
|
|
139
123
|
class BsCardSubtitleComponent {
|
|
124
|
+
#core;
|
|
125
|
+
constructor() {
|
|
126
|
+
/** The host element. */
|
|
127
|
+
this.elementRef = inject(ElementRef);
|
|
128
|
+
this.#core = useCore(cardSubtitleCore, { inputs: () => ({}), idPrefix: 'bs-card-subtitle', hostBag: (props) => ({ ...props.root, 'data-mps': 'card' }) });
|
|
129
|
+
/** The template's props. */
|
|
130
|
+
this.props = this.#core.props;
|
|
131
|
+
useScopedStyles(bootstrapCard.key, bootstrapCard.css, { order: bootstrapCard.order });
|
|
132
|
+
useScopedStyles('card', cardScopedStyles);
|
|
133
|
+
}
|
|
140
134
|
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",
|
|
135
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: BsCardSubtitleComponent, isStandalone: true, selector: "bs-card-subtitle", ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/card/src/templates/card-part.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
142
136
|
}
|
|
143
137
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardSubtitleComponent, decorators: [{
|
|
144
138
|
type: Component,
|
|
145
|
-
args: [{
|
|
146
|
-
|
|
147
|
-
template: '<ng-content></ng-content>',
|
|
148
|
-
host: { class: 'card-subtitle d-block' },
|
|
149
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
150
|
-
}]
|
|
151
|
-
}] });
|
|
139
|
+
args: [{ selector: 'bs-card-subtitle', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/card/src/templates/card-part.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n" }]
|
|
140
|
+
}], ctorParameters: () => [] });
|
|
152
141
|
|
|
142
|
+
// GENERATED from the card manifest (card-text) by @mintplayer/nx-component-compiler. Do not edit.
|
|
143
|
+
/** A paragraph of card text. */
|
|
153
144
|
class BsCardTextComponent {
|
|
145
|
+
#core;
|
|
146
|
+
constructor() {
|
|
147
|
+
/** The host element. */
|
|
148
|
+
this.elementRef = inject(ElementRef);
|
|
149
|
+
this.#core = useCore(cardTextCore, { inputs: () => ({}), idPrefix: 'bs-card-text', hostBag: (props) => ({ ...props.root, 'data-mps': 'card' }) });
|
|
150
|
+
/** The template's props. */
|
|
151
|
+
this.props = this.#core.props;
|
|
152
|
+
useScopedStyles(bootstrapCard.key, bootstrapCard.css, { order: bootstrapCard.order });
|
|
153
|
+
useScopedStyles('card', cardScopedStyles);
|
|
154
|
+
}
|
|
154
155
|
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",
|
|
156
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: BsCardTextComponent, isStandalone: true, selector: "bs-card-text", ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/card/src/templates/card-part.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
156
157
|
}
|
|
157
158
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardTextComponent, decorators: [{
|
|
158
159
|
type: Component,
|
|
159
|
-
args: [{
|
|
160
|
-
|
|
161
|
-
template: '<ng-content></ng-content>',
|
|
162
|
-
host: { class: 'card-text d-block' },
|
|
163
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
164
|
-
}]
|
|
165
|
-
}] });
|
|
160
|
+
args: [{ selector: 'bs-card-text', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/card/src/templates/card-part.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n" }]
|
|
161
|
+
}], ctorParameters: () => [] });
|
|
166
162
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
*/
|
|
172
|
-
class BsCardLinkComponent {
|
|
163
|
+
// GENERATED from the card manifest (card-group) by @mintplayer/nx-component-compiler. Do not edit.
|
|
164
|
+
/** Cards side by side with joined borders. */
|
|
165
|
+
class BsCardGroupComponent {
|
|
166
|
+
#core;
|
|
173
167
|
constructor() {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
this.
|
|
179
|
-
|
|
168
|
+
/** The host element. */
|
|
169
|
+
this.elementRef = inject(ElementRef);
|
|
170
|
+
this.#core = useCore(cardGroupCore, { inputs: () => ({}), idPrefix: 'bs-card-group', hostBag: (props) => ({ ...props.root, 'data-mps': 'card' }) });
|
|
171
|
+
/** The template's props. */
|
|
172
|
+
this.props = this.#core.props;
|
|
173
|
+
useScopedStyles(bootstrapCard.key, bootstrapCard.css, { order: bootstrapCard.order });
|
|
174
|
+
useScopedStyles('card', cardScopedStyles);
|
|
180
175
|
}
|
|
181
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type:
|
|
182
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
176
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
177
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: BsCardGroupComponent, isStandalone: true, selector: "bs-card-group", ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/card/src/templates/card-part.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
183
178
|
}
|
|
184
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type:
|
|
179
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardGroupComponent, decorators: [{
|
|
185
180
|
type: Component,
|
|
186
|
-
args: [{
|
|
187
|
-
|
|
188
|
-
template: '<a [attr.href]="hrefAttr()"><ng-content></ng-content></a>',
|
|
189
|
-
host: { class: 'card-link' },
|
|
190
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
191
|
-
}]
|
|
192
|
-
}], propDecorators: { href: [{ type: i0.Input, args: [{ isSignal: true, alias: "href", required: false }] }] } });
|
|
181
|
+
args: [{ selector: 'bs-card-group', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/card/src/templates/card-part.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n" }]
|
|
182
|
+
}], ctorParameters: () => [] });
|
|
193
183
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
* to the underlying `<img>`. Overlay form additionally wraps slotted content
|
|
197
|
-
* in `<div class="card-img-overlay">`.
|
|
198
|
-
*
|
|
199
|
-
* The host element carries the `card-img-*` class so Bootstrap's
|
|
200
|
-
* `.card-group > .card > .card-img-top` corner-rounding selectors match
|
|
201
|
-
* (the inner `<img>` would otherwise be a grandchild of `.card`). The inner
|
|
202
|
-
* `<img>` carries the same class so Bootstrap's `width: 100%` sizing rule
|
|
203
|
-
* applies; the host's border-radius is paired with `overflow: hidden` so the img's straight corners get clipped.
|
|
204
|
-
*
|
|
205
|
-
* Projection uses `*ngTemplateOutlet` instead of inlining `<ng-content>` in
|
|
206
|
-
* each `@case`: multiple `<ng-content>` slots in conditional branches silently
|
|
207
|
-
* drop the projected children. One `<ng-content>` inside a `<ng-template>`
|
|
208
|
-
* works around the limitation, at the cost of importing `NgTemplateOutlet`.
|
|
209
|
-
*/
|
|
184
|
+
// GENERATED from the card manifest (card-img) by @mintplayer/nx-component-compiler. Do not edit.
|
|
185
|
+
/** A card image at the top or bottom, or `overlay` with the content laid over it. Without `alt` it is decorative. */
|
|
210
186
|
class BsCardImgComponent {
|
|
187
|
+
#core;
|
|
211
188
|
constructor() {
|
|
189
|
+
/** The host element. */
|
|
190
|
+
this.elementRef = inject(ElementRef);
|
|
191
|
+
/** The consumer's aria-*, id and tabindex on the host, for the role-bearing node. */
|
|
192
|
+
this.hostAttrs = useHostAttrs();
|
|
212
193
|
this.position = input('top', /* @ts-ignore */
|
|
213
194
|
...(ngDevMode ? [{ debugName: "position" }] : /* istanbul ignore next */ []));
|
|
214
|
-
this.src = input(
|
|
195
|
+
this.src = input(null, /* @ts-ignore */
|
|
215
196
|
...(ngDevMode ? [{ debugName: "src" }] : /* istanbul ignore next */ []));
|
|
216
|
-
this.alt = input(
|
|
197
|
+
this.alt = input(null, /* @ts-ignore */
|
|
217
198
|
...(ngDevMode ? [{ debugName: "alt" }] : /* istanbul ignore next */ []));
|
|
218
|
-
this
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
...(ngDevMode ? [{ debugName: "imgClass" }] : /* istanbul ignore next */ []));
|
|
224
|
-
// `?? null` so an absent src removes the attribute instead of leaving an
|
|
225
|
-
// empty `src=""` on the DOM.
|
|
226
|
-
this.srcAttr = computed(() => this.src() ?? null, /* @ts-ignore */
|
|
227
|
-
...(ngDevMode ? [{ debugName: "srcAttr" }] : /* istanbul ignore next */ []));
|
|
228
|
-
// alt is the opposite case: an <img> with NO alt attribute is announced by
|
|
229
|
-
// its filename, while alt="" marks it decorative and silences it. Absent
|
|
230
|
-
// input therefore means decorative, never unlabelled.
|
|
231
|
-
this.altAttr = computed(() => this.alt() ?? '', /* @ts-ignore */
|
|
232
|
-
...(ngDevMode ? [{ debugName: "altAttr" }] : /* istanbul ignore next */ []));
|
|
199
|
+
this.#core = useCore(cardImgCore, { inputs: () => ({ position: this.position(), src: this.src(), alt: this.alt() }), idPrefix: 'bs-card-img', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'card' }) });
|
|
200
|
+
/** The template's props. */
|
|
201
|
+
this.props = this.#core.props;
|
|
202
|
+
useScopedStyles(bootstrapCard.key, bootstrapCard.css, { order: bootstrapCard.order });
|
|
203
|
+
useScopedStyles('card', cardScopedStyles);
|
|
233
204
|
}
|
|
234
205
|
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 } },
|
|
236
|
-
<ng-template #projected><ng-content></ng-content></ng-template>
|
|
237
|
-
<ng-template #imgTpl>
|
|
238
|
-
<img [class]="imgClass()" [attr.src]="srcAttr()" [attr.alt]="altAttr()" />
|
|
239
|
-
</ng-template>
|
|
240
|
-
|
|
241
|
-
@switch (position()) {
|
|
242
|
-
@case ('overlay') {
|
|
243
|
-
<ng-container *ngTemplateOutlet="imgTpl"></ng-container>
|
|
244
|
-
<div class="card-img-overlay">
|
|
245
|
-
<ng-container *ngTemplateOutlet="projected"></ng-container>
|
|
246
|
-
</div>
|
|
247
|
-
}
|
|
248
|
-
@case ('bottom') {
|
|
249
|
-
<ng-container *ngTemplateOutlet="projected"></ng-container>
|
|
250
|
-
<ng-container *ngTemplateOutlet="imgTpl"></ng-container>
|
|
251
|
-
}
|
|
252
|
-
@default {
|
|
253
|
-
<ng-container *ngTemplateOutlet="imgTpl"></ng-container>
|
|
254
|
-
<ng-container *ngTemplateOutlet="projected"></ng-container>
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
206
|
+
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 } }, ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/card/src/templates/card-img.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<img data-mps=\"card\" [mpProps]=\"p_view.img\" [attr.src]=\"p_view.src\" [mpHostAttrs]=\"hostAttrs\">\n@if (p_view.overlay) {\n <div data-mps=\"card\" [mpProps]=\"p_view.overlay\">\n <ng-content />\n </div>\n}\n", dependencies: [{ kind: "directive", type: MpPropsDirective, selector: "[mpProps],[mpHostAttrs]", inputs: ["mpProps", "mpHostAttrs"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
258
207
|
}
|
|
259
208
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardImgComponent, decorators: [{
|
|
260
209
|
type: Component,
|
|
261
|
-
args: [{
|
|
262
|
-
|
|
263
|
-
imports: [NgTemplateOutlet],
|
|
264
|
-
template: `
|
|
265
|
-
<ng-template #projected><ng-content></ng-content></ng-template>
|
|
266
|
-
<ng-template #imgTpl>
|
|
267
|
-
<img [class]="imgClass()" [attr.src]="srcAttr()" [attr.alt]="altAttr()" />
|
|
268
|
-
</ng-template>
|
|
210
|
+
args: [{ selector: 'bs-card-img', imports: [MpPropsDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/card/src/templates/card-img.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<img data-mps=\"card\" [mpProps]=\"p_view.img\" [attr.src]=\"p_view.src\" [mpHostAttrs]=\"hostAttrs\">\n@if (p_view.overlay) {\n <div data-mps=\"card\" [mpProps]=\"p_view.overlay\">\n <ng-content />\n </div>\n}\n" }]
|
|
211
|
+
}], 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 }] }] } });
|
|
269
212
|
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
213
|
+
// GENERATED from the card manifest (card-link) by @mintplayer/nx-component-compiler. Do not edit.
|
|
214
|
+
/** A link in a card. Sibling links are spaced apart. */
|
|
215
|
+
class BsCardLinkComponent {
|
|
216
|
+
#core;
|
|
217
|
+
constructor() {
|
|
218
|
+
/** The host element. */
|
|
219
|
+
this.elementRef = inject(ElementRef);
|
|
220
|
+
/** The consumer's aria-*, id and tabindex on the host, for the role-bearing node. */
|
|
221
|
+
this.hostAttrs = useHostAttrs();
|
|
222
|
+
this.href = input(null, /* @ts-ignore */
|
|
223
|
+
...(ngDevMode ? [{ debugName: "href" }] : /* istanbul ignore next */ []));
|
|
224
|
+
this.#core = useCore(cardLinkCore, { inputs: () => ({ href: this.href() }), idPrefix: 'bs-card-link', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'card' }) });
|
|
225
|
+
/** The template's props. */
|
|
226
|
+
this.props = this.#core.props;
|
|
227
|
+
useScopedStyles(bootstrapCard.key, bootstrapCard.css, { order: bootstrapCard.order });
|
|
228
|
+
useScopedStyles('card', cardScopedStyles);
|
|
285
229
|
}
|
|
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 }] }] } });
|
|
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
|
-
*/
|
|
297
|
-
class BsCardGroupComponent {
|
|
298
|
-
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 }); }
|
|
230
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardLinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
231
|
+
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: "<!-- GENERATED from libs/mintplayer-ui-core/card/src/templates/card-link.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<a data-mps=\"card\" [mpProps]=\"p_view.link\" [attr.href]=\"p_view.href\" [mpHostAttrs]=\"hostAttrs\">\n <ng-content />\n</a>\n", dependencies: [{ kind: "directive", type: MpPropsDirective, selector: "[mpProps],[mpHostAttrs]", inputs: ["mpProps", "mpHostAttrs"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
300
232
|
}
|
|
301
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type:
|
|
233
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCardLinkComponent, decorators: [{
|
|
302
234
|
type: Component,
|
|
303
|
-
args: [{
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
308
|
-
}]
|
|
309
|
-
}] });
|
|
235
|
+
args: [{ selector: 'bs-card-link', imports: [MpPropsDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/card/src/templates/card-link.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<a data-mps=\"card\" [mpProps]=\"p_view.link\" [attr.href]=\"p_view.href\" [mpHostAttrs]=\"hostAttrs\">\n <ng-content />\n</a>\n" }]
|
|
236
|
+
}], ctorParameters: () => [], propDecorators: { href: [{ type: i0.Input, args: [{ isSignal: true, alias: "href", required: false }] }] } });
|
|
237
|
+
|
|
238
|
+
// GENERATED from the card manifest by @mintplayer/nx-component-compiler. Do not edit.
|
|
310
239
|
|
|
311
|
-
//
|
|
240
|
+
// Generated from @mintplayer/ui-core/card (#458 M4, D10): the card and its parts.
|
|
312
241
|
|
|
313
242
|
/**
|
|
314
243
|
* Generated bundle index. Do not edit.
|