@mintplayer/ng-bootstrap 22.6.0 → 22.7.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 -0
- package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs +255 -44
- package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +3 -2
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +24 -4
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +12 -3
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs +9 -4
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs +21 -7
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +5 -6
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs +39 -35
- package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs +7 -4
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs +80 -31
- package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-copy.mjs +4 -0
- package/fesm2022/mintplayer-ng-bootstrap-copy.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +3 -2
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs +3 -2
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +4 -7
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +27 -2
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs +3 -2
- package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +25 -3
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs +15 -3
- package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs +9 -3
- package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +11 -12
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +15 -2
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs +6 -6
- package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +4 -7
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs +2 -3
- package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +24 -5
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +8 -3
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs +4 -3
- package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-radio.mjs +41 -46
- package/fesm2022/mintplayer-ng-bootstrap-radio.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs +5 -1
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +33 -4
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +3 -2
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs +9 -12
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-shell.mjs +3 -2
- package/fesm2022/mintplayer-ng-bootstrap-shell.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +76 -58
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs +3 -2
- package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +9 -10
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs +3 -2
- package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +23 -8
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +29 -6
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs +4 -3
- package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +3 -2
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +10 -3
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
- package/package.json +1 -5
- package/types/mintplayer-ng-bootstrap-a11y.d.ts +184 -32
- package/types/mintplayer-ng-bootstrap-alert.d.ts +18 -8
- package/types/mintplayer-ng-bootstrap-badge.d.ts +8 -1
- package/types/mintplayer-ng-bootstrap-breadcrumb.d.ts +3 -1
- package/types/mintplayer-ng-bootstrap-card.d.ts +4 -2
- package/types/mintplayer-ng-bootstrap-carousel.d.ts +2 -3
- package/types/mintplayer-ng-bootstrap-checkbox.d.ts +11 -16
- package/types/mintplayer-ng-bootstrap-close.d.ts +6 -4
- package/types/mintplayer-ng-bootstrap-context-menu.d.ts +3 -0
- package/types/mintplayer-ng-bootstrap-copy.d.ts +1 -0
- package/types/mintplayer-ng-bootstrap-dropdown-menu.d.ts +16 -18
- package/types/mintplayer-ng-bootstrap-dropdown.d.ts +7 -0
- package/types/mintplayer-ng-bootstrap-floating-labels.d.ts +15 -2
- package/types/mintplayer-ng-bootstrap-list-group.d.ts +3 -1
- package/types/mintplayer-ng-bootstrap-marquee.d.ts +7 -4
- package/types/mintplayer-ng-bootstrap-navbar.d.ts +1 -3
- package/types/mintplayer-ng-bootstrap-offcanvas.d.ts +6 -0
- package/types/mintplayer-ng-bootstrap-otp-input.d.ts +2 -2
- package/types/mintplayer-ng-bootstrap-pagination.d.ts +1 -3
- package/types/mintplayer-ng-bootstrap-progress-bar.d.ts +5 -2
- package/types/mintplayer-ng-bootstrap-radio.d.ts +20 -28
- package/types/mintplayer-ng-bootstrap-rating.d.ts +18 -1
- package/types/mintplayer-ng-bootstrap-select.d.ts +2 -3
- package/types/mintplayer-ng-bootstrap-signature-pad.d.ts +31 -30
- package/types/mintplayer-ng-bootstrap-toast.d.ts +3 -1
- package/types/mintplayer-ng-bootstrap-tooltip.d.ts +8 -0
- package/types/mintplayer-ng-bootstrap-typeahead.d.ts +7 -1
- package/fesm2022/mintplayer-ng-bootstrap-reduced-motion.mjs +0 -60
- package/fesm2022/mintplayer-ng-bootstrap-reduced-motion.mjs.map +0 -1
- package/reduced-motion/package.json +0 -4
- package/types/mintplayer-ng-bootstrap-reduced-motion.d.ts +0 -36
|
@@ -1,77 +1,95 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { input, model, viewChild, effect, ChangeDetectionStrategy, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
3
|
+
import { MpSignaturePadElement } from '@mintplayer/web-components/signature-pad';
|
|
4
|
+
import { BsForwardAriaDirective } from '@mintplayer/ng-bootstrap/a11y';
|
|
3
5
|
|
|
6
|
+
// Side-effect: ensure mp-signature-pad is registered (a type-only usage would
|
|
7
|
+
// let TypeScript elide the import and the element would never be defined).
|
|
8
|
+
void MpSignaturePadElement;
|
|
9
|
+
/**
|
|
10
|
+
* `<bs-signature-pad>` — Angular wrapper around the `<mp-signature-pad>` web
|
|
11
|
+
* component. The WC owns drawing, the typed-signature alternative, Undo/Clear
|
|
12
|
+
* and ARIA; this wrapper bridges the `signature` two-way model and forwards
|
|
13
|
+
* the optional label overrides.
|
|
14
|
+
*/
|
|
4
15
|
class BsSignaturePadComponent {
|
|
5
16
|
constructor() {
|
|
6
|
-
this.signature = model({ strokes: [] }, /* @ts-ignore */
|
|
7
|
-
...(ngDevMode ? [{ debugName: "signature" }] : /* istanbul ignore next */ []));
|
|
8
17
|
this.width = input(500, /* @ts-ignore */
|
|
9
18
|
...(ngDevMode ? [{ debugName: "width" }] : /* istanbul ignore next */ []));
|
|
10
19
|
this.height = input(300, /* @ts-ignore */
|
|
11
20
|
...(ngDevMode ? [{ debugName: "height" }] : /* istanbul ignore next */ []));
|
|
12
|
-
this.
|
|
13
|
-
...(ngDevMode ? [{ debugName: "
|
|
14
|
-
this.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
this.
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
21
|
+
this.inputLabel = input(null, /* @ts-ignore */
|
|
22
|
+
...(ngDevMode ? [{ debugName: "inputLabel" }] : /* istanbul ignore next */ []));
|
|
23
|
+
this.typeLabel = input(null, /* @ts-ignore */
|
|
24
|
+
...(ngDevMode ? [{ debugName: "typeLabel" }] : /* istanbul ignore next */ []));
|
|
25
|
+
this.undoLabel = input(null, /* @ts-ignore */
|
|
26
|
+
...(ngDevMode ? [{ debugName: "undoLabel" }] : /* istanbul ignore next */ []));
|
|
27
|
+
this.clearLabel = input(null, /* @ts-ignore */
|
|
28
|
+
...(ngDevMode ? [{ debugName: "clearLabel" }] : /* istanbul ignore next */ []));
|
|
29
|
+
/**
|
|
30
|
+
* Shows the typed alternative; named identically to bs-color-picker's input.
|
|
31
|
+
* ON by default — it is the only keyboard path — so turning it off is a
|
|
32
|
+
* deliberate draw-only decision.
|
|
33
|
+
*/
|
|
34
|
+
this.showAccessibilityToggle = input(true, /* @ts-ignore */
|
|
35
|
+
...(ngDevMode ? [{ debugName: "showAccessibilityToggle" }] : /* istanbul ignore next */ []));
|
|
36
|
+
// `model()` already exposes a `signatureChange` output for two-way
|
|
37
|
+
// [(signature)] binding; `signature.set()` in onSignatureChange drives it.
|
|
38
|
+
this.signature = model({ strokes: [] }, /* @ts-ignore */
|
|
39
|
+
...(ngDevMode ? [{ debugName: "signature" }] : /* istanbul ignore next */ []));
|
|
40
|
+
this.elementRef = viewChild.required('el');
|
|
41
|
+
// Forward model writes to the WC property. Writing back the same object
|
|
42
|
+
// the WC just emitted is a no-op inside Lit (same reference), so the
|
|
43
|
+
// event → model → property round trip cannot loop.
|
|
44
|
+
effect(() => {
|
|
45
|
+
const ref = this.elementRef();
|
|
46
|
+
if (!ref)
|
|
47
|
+
return;
|
|
48
|
+
ref.nativeElement.signature = this.signature();
|
|
49
|
+
});
|
|
30
50
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
this.isDrawing.set(true);
|
|
34
|
-
if (this.context) {
|
|
35
|
-
const sig = this.signature();
|
|
36
|
-
sig.strokes.push({
|
|
37
|
-
points: [{ x: ev.offsetX, y: ev.offsetY }]
|
|
38
|
-
});
|
|
39
|
-
this.signature.set({ ...sig });
|
|
40
|
-
this.context.fillStyle = 'black';
|
|
41
|
-
this.context.beginPath();
|
|
42
|
-
this.context.moveTo(ev.offsetX, ev.offsetY);
|
|
43
|
-
}
|
|
51
|
+
onSignatureChange(event) {
|
|
52
|
+
this.signature.set(event.detail);
|
|
44
53
|
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
const sig = this.signature();
|
|
49
|
-
sig.strokes.at(-1)?.points.push({ x: ev.offsetX, y: ev.offsetY });
|
|
50
|
-
this.signature.set({ ...sig });
|
|
51
|
-
this.context.lineTo(ev.offsetX, ev.offsetY);
|
|
52
|
-
this.context.stroke();
|
|
53
|
-
}
|
|
54
|
+
/** Remove the most recent stroke. */
|
|
55
|
+
undo() {
|
|
56
|
+
this.elementRef()?.nativeElement.undo();
|
|
54
57
|
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
this.isDrawing.set(false);
|
|
59
|
-
}
|
|
58
|
+
/** Wipe strokes and typed text. */
|
|
59
|
+
clear() {
|
|
60
|
+
this.elementRef()?.nativeElement.clear();
|
|
60
61
|
}
|
|
61
62
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsSignaturePadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
62
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.0", type: BsSignaturePadComponent, isStandalone: true, selector: "bs-signature-pad", inputs: {
|
|
63
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.0", type: BsSignaturePadComponent, isStandalone: true, selector: "bs-signature-pad", inputs: { width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, inputLabel: { classPropertyName: "inputLabel", publicName: "inputLabel", isSignal: true, isRequired: false, transformFunction: null }, typeLabel: { classPropertyName: "typeLabel", publicName: "typeLabel", isSignal: true, isRequired: false, transformFunction: null }, undoLabel: { classPropertyName: "undoLabel", publicName: "undoLabel", isSignal: true, isRequired: false, transformFunction: null }, clearLabel: { classPropertyName: "clearLabel", publicName: "clearLabel", isSignal: true, isRequired: false, transformFunction: null }, showAccessibilityToggle: { classPropertyName: "showAccessibilityToggle", publicName: "showAccessibilityToggle", isSignal: true, isRequired: false, transformFunction: null }, signature: { classPropertyName: "signature", publicName: "signature", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { signature: "signatureChange" }, viewQueries: [{ propertyName: "elementRef", first: true, predicate: ["el"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
64
|
+
<mp-signature-pad bsForwardAria
|
|
65
|
+
#el
|
|
66
|
+
[attr.width]="width()"
|
|
67
|
+
[attr.height]="height()"
|
|
68
|
+
[attr.input-label]="inputLabel()"
|
|
69
|
+
[attr.type-label]="typeLabel()"
|
|
70
|
+
[attr.undo-label]="undoLabel()"
|
|
71
|
+
[attr.clear-label]="clearLabel()"
|
|
72
|
+
[attr.show-accessibility-toggle]="showAccessibilityToggle() ? null : 'false'"
|
|
73
|
+
(signature-change)="onSignatureChange($event)"
|
|
74
|
+
></mp-signature-pad>
|
|
75
|
+
`, isInline: true, styles: [":host{display:inline-block;max-width:100%}\n"], dependencies: [{ kind: "directive", type: BsForwardAriaDirective, selector: "[bsForwardAria]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
63
76
|
}
|
|
64
77
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsSignaturePadComponent, decorators: [{
|
|
65
78
|
type: Component,
|
|
66
|
-
args: [{ selector: 'bs-signature-pad',
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
79
|
+
args: [{ selector: 'bs-signature-pad', template: `
|
|
80
|
+
<mp-signature-pad bsForwardAria
|
|
81
|
+
#el
|
|
82
|
+
[attr.width]="width()"
|
|
83
|
+
[attr.height]="height()"
|
|
84
|
+
[attr.input-label]="inputLabel()"
|
|
85
|
+
[attr.type-label]="typeLabel()"
|
|
86
|
+
[attr.undo-label]="undoLabel()"
|
|
87
|
+
[attr.clear-label]="clearLabel()"
|
|
88
|
+
[attr.show-accessibility-toggle]="showAccessibilityToggle() ? null : 'false'"
|
|
89
|
+
(signature-change)="onSignatureChange($event)"
|
|
90
|
+
></mp-signature-pad>
|
|
91
|
+
`, imports: [BsForwardAriaDirective], schemas: [CUSTOM_ELEMENTS_SCHEMA], changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:inline-block;max-width:100%}\n"] }]
|
|
92
|
+
}], ctorParameters: () => [], propDecorators: { width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], height: [{ type: i0.Input, args: [{ isSignal: true, alias: "height", required: false }] }], inputLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputLabel", required: false }] }], typeLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "typeLabel", required: false }] }], undoLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "undoLabel", required: false }] }], clearLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "clearLabel", required: false }] }], showAccessibilityToggle: [{ type: i0.Input, args: [{ isSignal: true, alias: "showAccessibilityToggle", required: false }] }], signature: [{ type: i0.Input, args: [{ isSignal: true, alias: "signature", required: false }] }, { type: i0.Output, args: ["signatureChange"] }], elementRef: [{ type: i0.ViewChild, args: ['el', { isSignal: true }] }] } });
|
|
75
93
|
|
|
76
94
|
/**
|
|
77
95
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-signature-pad.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/signature-pad/src/component/signature-pad.component.ts","../../../../libs/mintplayer-ng-bootstrap/signature-pad/
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-signature-pad.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/signature-pad/src/component/signature-pad.component.ts","../../../../libs/mintplayer-ng-bootstrap/signature-pad/mintplayer-ng-bootstrap-signature-pad.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n CUSTOM_ELEMENTS_SCHEMA,\n ElementRef,\n effect,\n input,\n model,\n viewChild,\n} from '@angular/core';\nimport { MpSignaturePadElement, Signature } from '@mintplayer/web-components/signature-pad';\nimport { BsForwardAriaDirective } from '@mintplayer/ng-bootstrap/a11y';\n\n// Side-effect: ensure mp-signature-pad is registered (a type-only usage would\n// let TypeScript elide the import and the element would never be defined).\nvoid MpSignaturePadElement;\n\n/**\n * `<bs-signature-pad>` — Angular wrapper around the `<mp-signature-pad>` web\n * component. The WC owns drawing, the typed-signature alternative, Undo/Clear\n * and ARIA; this wrapper bridges the `signature` two-way model and forwards\n * the optional label overrides.\n */\n@Component({\n selector: 'bs-signature-pad',\n template: `\n <mp-signature-pad bsForwardAria\n #el\n [attr.width]=\"width()\"\n [attr.height]=\"height()\"\n [attr.input-label]=\"inputLabel()\"\n [attr.type-label]=\"typeLabel()\"\n [attr.undo-label]=\"undoLabel()\"\n [attr.clear-label]=\"clearLabel()\"\n [attr.show-accessibility-toggle]=\"showAccessibilityToggle() ? null : 'false'\"\n (signature-change)=\"onSignatureChange($event)\"\n ></mp-signature-pad>\n `,\n // max-width mirrors the WC host's own cap: an inline-block's shrink-to-fit\n // floor is its content's intrinsic width, which percentage caps on the WC\n // cannot influence — without this the wrapper holds the pad at ~310px on\n // narrow viewports and the page scrolls horizontally.\n styles: [':host { display: inline-block; max-width: 100%; }'],\n imports: [BsForwardAriaDirective],\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsSignaturePadComponent {\n readonly width = input(500);\n readonly height = input(300);\n readonly inputLabel = input<string | null>(null);\n readonly typeLabel = input<string | null>(null);\n readonly undoLabel = input<string | null>(null);\n readonly clearLabel = input<string | null>(null);\n /**\n * Shows the typed alternative; named identically to bs-color-picker's input.\n * ON by default — it is the only keyboard path — so turning it off is a\n * deliberate draw-only decision.\n */\n readonly showAccessibilityToggle = input(true);\n\n // `model()` already exposes a `signatureChange` output for two-way\n // [(signature)] binding; `signature.set()` in onSignatureChange drives it.\n readonly signature = model<Signature>({ strokes: [] });\n\n readonly elementRef = viewChild.required<ElementRef<MpSignaturePadElement>>('el');\n\n constructor() {\n // Forward model writes to the WC property. Writing back the same object\n // the WC just emitted is a no-op inside Lit (same reference), so the\n // event → model → property round trip cannot loop.\n effect(() => {\n const ref = this.elementRef();\n if (!ref) return;\n ref.nativeElement.signature = this.signature();\n });\n }\n\n protected onSignatureChange(event: Event): void {\n this.signature.set((event as CustomEvent<Signature>).detail);\n }\n\n /** Remove the most recent stroke. */\n undo(): void {\n this.elementRef()?.nativeElement.undo();\n }\n\n /** Wipe strokes and typed text. */\n clear(): void {\n this.elementRef()?.nativeElement.clear();\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"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"}
|
|
@@ -15,11 +15,11 @@ class BsSpinnerComponent {
|
|
|
15
15
|
...(ngDevMode ? [{ debugName: "colorClass" }] : /* istanbul ignore next */ []));
|
|
16
16
|
}
|
|
17
17
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
18
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.0", type: BsSpinnerComponent, isStandalone: true, selector: "bs-spinner", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div [class]=\"[spinnerClass(), colorClass()]\" role=\"status\">\n <span class=\"visually-hidden\">Loading...</span>\n</div>\n", styles: [":host ::ng-deep .spinner-grow,:host ::ng-deep .spinner-border{display:inline-block;flex-shrink:0;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}:host ::ng-deep .spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-border-width: .25em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}:host ::ng-deep .spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: .2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}:host ::ng-deep .spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}:host ::ng-deep .spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}@media(prefers-reduced-motion:reduce){:host ::ng-deep .spinner-border,:host ::ng-deep .spinner-grow{--bs-spinner-animation-speed: 1.5s}}:host ::ng-deep .spinner-border{animation:.75s linear infinite spinner-border}:host ::ng-deep .spinner-grow{animation:.75s linear infinite spinner-grow}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
18
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.0", type: BsSpinnerComponent, isStandalone: true, selector: "bs-spinner", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div [class]=\"[spinnerClass(), colorClass()]\" role=\"status\">\n <span class=\"visually-hidden\">Loading...</span>\n</div>\n", styles: [":host ::ng-deep .spinner-grow,:host ::ng-deep .spinner-border{display:inline-block;flex-shrink:0;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}:host ::ng-deep .spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-border-width: .25em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}:host ::ng-deep .spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: .2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}:host ::ng-deep .spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}:host ::ng-deep .spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}@media(prefers-reduced-motion:reduce){:host ::ng-deep .spinner-border,:host ::ng-deep .spinner-grow{--bs-spinner-animation-speed: 1.5s}}:host ::ng-deep .spinner-border{animation:.75s linear infinite spinner-border}:host ::ng-deep .spinner-grow{animation:.75s linear infinite spinner-grow}@media(prefers-reduced-motion:reduce){:host ::ng-deep .spinner-border,:host ::ng-deep .spinner-grow{animation-duration:1.5s}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
19
19
|
}
|
|
20
20
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsSpinnerComponent, decorators: [{
|
|
21
21
|
type: Component,
|
|
22
|
-
args: [{ selector: 'bs-spinner', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"[spinnerClass(), colorClass()]\" role=\"status\">\n <span class=\"visually-hidden\">Loading...</span>\n</div>\n", styles: [":host ::ng-deep .spinner-grow,:host ::ng-deep .spinner-border{display:inline-block;flex-shrink:0;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}:host ::ng-deep .spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-border-width: .25em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}:host ::ng-deep .spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: .2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}:host ::ng-deep .spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}:host ::ng-deep .spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}@media(prefers-reduced-motion:reduce){:host ::ng-deep .spinner-border,:host ::ng-deep .spinner-grow{--bs-spinner-animation-speed: 1.5s}}:host ::ng-deep .spinner-border{animation:.75s linear infinite spinner-border}:host ::ng-deep .spinner-grow{animation:.75s linear infinite spinner-grow}\n"] }]
|
|
22
|
+
args: [{ selector: 'bs-spinner', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"[spinnerClass(), colorClass()]\" role=\"status\">\n <span class=\"visually-hidden\">Loading...</span>\n</div>\n", styles: [":host ::ng-deep .spinner-grow,:host ::ng-deep .spinner-border{display:inline-block;flex-shrink:0;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}:host ::ng-deep .spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-border-width: .25em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}:host ::ng-deep .spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: .2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}:host ::ng-deep .spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}:host ::ng-deep .spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}@media(prefers-reduced-motion:reduce){:host ::ng-deep .spinner-border,:host ::ng-deep .spinner-grow{--bs-spinner-animation-speed: 1.5s}}:host ::ng-deep .spinner-border{animation:.75s linear infinite spinner-border}:host ::ng-deep .spinner-grow{animation:.75s linear infinite spinner-grow}@media(prefers-reduced-motion:reduce){:host ::ng-deep .spinner-border,:host ::ng-deep .spinner-grow{animation-duration:1.5s}}\n"] }]
|
|
23
23
|
}], propDecorators: { type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }] } });
|
|
24
24
|
|
|
25
25
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-spinner.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/spinner/src/spinner.component.ts","../../../../libs/mintplayer-ng-bootstrap/spinner/src/spinner.component.html","../../../../libs/mintplayer-ng-bootstrap/spinner/mintplayer-ng-bootstrap-spinner.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { Color } from '@mintplayer/ng-bootstrap';\n\n@Component({\n selector: 'bs-spinner',\n templateUrl: './spinner.component.html',\n styleUrls: ['./spinner.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsSpinnerComponent {\n readonly colors = Color;\n\n type = input<'border' | 'grow'>('border');\n color = input<Color>(Color.dark);\n\n spinnerClass = computed(() => `spinner-${this.type()}`);\n colorClass = computed(() => `text-${this.colors[this.color()]}`);\n}\n","<div [class]=\"[spinnerClass(), colorClass()]\" role=\"status\">\n <span class=\"visually-hidden\">Loading...</span>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MASa,kBAAkB,CAAA;AAN/B,IAAA,WAAA,GAAA;QAOW,IAAA,CAAA,MAAM,GAAG,KAAK;QAEvB,IAAA,CAAA,IAAI,GAAG,KAAK,CAAoB,QAAQ;iFAAC;AACzC,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAQ,KAAK,CAAC,IAAI;kFAAC;QAEhC,IAAA,CAAA,YAAY,GAAG,QAAQ,CAAC,MAAM,CAAA,QAAA,EAAW,IAAI,CAAC,IAAI,EAAE,CAAA,CAAE;yFAAC;AACvD,QAAA,IAAA,CAAA,UAAU,GAAG,QAAQ,CAAC,MAAM,CAAA,KAAA,EAAQ,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAA,CAAE;uFAAC;AACjE,IAAA;8GARY,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,kBAAkB,+TCT/B,mIAGA,EAAA,MAAA,EAAA,CAAA,
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-spinner.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/spinner/src/spinner.component.ts","../../../../libs/mintplayer-ng-bootstrap/spinner/src/spinner.component.html","../../../../libs/mintplayer-ng-bootstrap/spinner/mintplayer-ng-bootstrap-spinner.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { Color } from '@mintplayer/ng-bootstrap';\n\n@Component({\n selector: 'bs-spinner',\n templateUrl: './spinner.component.html',\n styleUrls: ['./spinner.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsSpinnerComponent {\n readonly colors = Color;\n\n type = input<'border' | 'grow'>('border');\n color = input<Color>(Color.dark);\n\n spinnerClass = computed(() => `spinner-${this.type()}`);\n colorClass = computed(() => `text-${this.colors[this.color()]}`);\n}\n","<div [class]=\"[spinnerClass(), colorClass()]\" role=\"status\">\n <span class=\"visually-hidden\">Loading...</span>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MASa,kBAAkB,CAAA;AAN/B,IAAA,WAAA,GAAA;QAOW,IAAA,CAAA,MAAM,GAAG,KAAK;QAEvB,IAAA,CAAA,IAAI,GAAG,KAAK,CAAoB,QAAQ;iFAAC;AACzC,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAQ,KAAK,CAAC,IAAI;kFAAC;QAEhC,IAAA,CAAA,YAAY,GAAG,QAAQ,CAAC,MAAM,CAAA,QAAA,EAAW,IAAI,CAAC,IAAI,EAAE,CAAA,CAAE;yFAAC;AACvD,QAAA,IAAA,CAAA,UAAU,GAAG,QAAQ,CAAC,MAAM,CAAA,KAAA,EAAQ,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAA,CAAE;uFAAC;AACjE,IAAA;8GARY,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,kBAAkB,+TCT/B,mIAGA,EAAA,MAAA,EAAA,CAAA,ulDAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FDMa,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAN9B,SAAS;+BACE,YAAY,EAAA,eAAA,EAGL,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,mIAAA,EAAA,MAAA,EAAA,CAAA,ulDAAA,CAAA,EAAA;;;AEPjD;;AAEG;;;;"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { input, output, viewChild, computed, CUSTOM_ELEMENTS_SCHEMA, ViewEncapsulation, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
3
|
export * from '@mintplayer/web-components/splitter';
|
|
4
|
+
import { BsForwardAriaDirective } from '@mintplayer/ng-bootstrap/a11y';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* `<bs-splitter>` — Angular wrapper around the `<mp-splitter>` web component.
|
|
@@ -91,11 +92,11 @@ class BsSplitterComponent {
|
|
|
91
92
|
this.resizeEnd.emit(event.detail);
|
|
92
93
|
}
|
|
93
94
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsSplitterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
94
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.0", type: BsSplitterComponent, isStandalone: true, selector: "bs-splitter", inputs: { orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, minPanelSize: { classPropertyName: "minPanelSize", publicName: "minPanelSize", isSignal: true, isRequired: false, transformFunction: null }, touchMode: { classPropertyName: "touchMode", publicName: "touchMode", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { resizeStart: "resizeStart", resizing: "resizing", resizeEnd: "resizeEnd" }, viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true, isSignal: true }], ngImport: i0, template: "<mp-splitter\n #element\n [attr.orientation]=\"orientation()\"\n [attr.min-panel-size]=\"minPanelSizeAttr()\"\n [attr.touch-mode]=\"touchModeAttr()\"\n (resize-start)=\"onResizeStart($event)\"\n (resizing)=\"onResizing($event)\"\n (resize-end)=\"onResizeEnd($event)\">\n <ng-content></ng-content>\n</mp-splitter>\n", styles: ["bs-splitter{display:block;width:100%;height:100%}mp-splitter:not(:defined){display:flex;width:100%;height:100%;flex-direction:row}mp-splitter:not(:defined)>*{flex-grow:1;overflow:hidden;position:relative}mp-splitter:not(:defined)>*:not(:first-child){margin-left:-3px}mp-splitter:not(:defined)>*:not(:last-child){margin-right:-3px}mp-splitter:not(:defined)>*:not(:last-child):after{content:\"\";display:block;position:absolute;right:-7px;top:0;width:14px;height:100%;border-left:3px solid transparent;border-right:3px solid transparent;background-color:var(--bs-border-color, #eee);background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==);background-position:center center;background-repeat:no-repeat;background-clip:content-box;z-index:3}mp-splitter[orientation=vertical]:not(:defined){flex-direction:column}mp-splitter[orientation=vertical]:not(:defined)>*:not(:first-child){margin-left:0;margin-top:-3px}mp-splitter[orientation=vertical]:not(:defined)>*:not(:last-child){margin-right:0;margin-bottom:-3px}mp-splitter[orientation=vertical]:not(:defined)>*:not(:last-child):after{right:0;bottom:-7px;top:auto;width:100%;height:14px;border-left:0;border-right:0;border-top:3px solid transparent;border-bottom:3px solid transparent;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFCAMAAABl/6zIAAAABlBMVEUAAADMzMzIT8AyAAAAAXRSTlMAQObYZgAAABRJREFUeAFjYGRkwIMJSeMHlBkOABP7AEGzSuPKAAAAAElFTkSuQmCC)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
95
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.0", type: BsSplitterComponent, isStandalone: true, selector: "bs-splitter", inputs: { orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, minPanelSize: { classPropertyName: "minPanelSize", publicName: "minPanelSize", isSignal: true, isRequired: false, transformFunction: null }, touchMode: { classPropertyName: "touchMode", publicName: "touchMode", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { resizeStart: "resizeStart", resizing: "resizing", resizeEnd: "resizeEnd" }, viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true, isSignal: true }], ngImport: i0, template: "<mp-splitter bsForwardAria\n #element\n [attr.orientation]=\"orientation()\"\n [attr.min-panel-size]=\"minPanelSizeAttr()\"\n [attr.touch-mode]=\"touchModeAttr()\"\n (resize-start)=\"onResizeStart($event)\"\n (resizing)=\"onResizing($event)\"\n (resize-end)=\"onResizeEnd($event)\">\n <ng-content></ng-content>\n</mp-splitter>\n", styles: ["bs-splitter{display:block;width:100%;height:100%}mp-splitter:not(:defined){display:flex;width:100%;height:100%;flex-direction:row}mp-splitter:not(:defined)>*{flex-grow:1;overflow:hidden;position:relative}mp-splitter:not(:defined)>*:not(:first-child){margin-left:-3px}mp-splitter:not(:defined)>*:not(:last-child){margin-right:-3px}mp-splitter:not(:defined)>*:not(:last-child):after{content:\"\";display:block;position:absolute;right:-7px;top:0;width:14px;height:100%;border-left:3px solid transparent;border-right:3px solid transparent;background-color:var(--bs-border-color, #eee);background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==);background-position:center center;background-repeat:no-repeat;background-clip:content-box;z-index:3}mp-splitter[orientation=vertical]:not(:defined){flex-direction:column}mp-splitter[orientation=vertical]:not(:defined)>*:not(:first-child){margin-left:0;margin-top:-3px}mp-splitter[orientation=vertical]:not(:defined)>*:not(:last-child){margin-right:0;margin-bottom:-3px}mp-splitter[orientation=vertical]:not(:defined)>*:not(:last-child):after{right:0;bottom:-7px;top:auto;width:100%;height:14px;border-left:0;border-right:0;border-top:3px solid transparent;border-bottom:3px solid transparent;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFCAMAAABl/6zIAAAABlBMVEUAAADMzMzIT8AyAAAAAXRSTlMAQObYZgAAABRJREFUeAFjYGRkwIMJSeMHlBkOABP7AEGzSuPKAAAAAElFTkSuQmCC)}\n"], dependencies: [{ kind: "directive", type: BsForwardAriaDirective, selector: "[bsForwardAria]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
95
96
|
}
|
|
96
97
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsSplitterComponent, decorators: [{
|
|
97
98
|
type: Component,
|
|
98
|
-
args: [{ selector: 'bs-splitter', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<mp-splitter\n #element\n [attr.orientation]=\"orientation()\"\n [attr.min-panel-size]=\"minPanelSizeAttr()\"\n [attr.touch-mode]=\"touchModeAttr()\"\n (resize-start)=\"onResizeStart($event)\"\n (resizing)=\"onResizing($event)\"\n (resize-end)=\"onResizeEnd($event)\">\n <ng-content></ng-content>\n</mp-splitter>\n", styles: ["bs-splitter{display:block;width:100%;height:100%}mp-splitter:not(:defined){display:flex;width:100%;height:100%;flex-direction:row}mp-splitter:not(:defined)>*{flex-grow:1;overflow:hidden;position:relative}mp-splitter:not(:defined)>*:not(:first-child){margin-left:-3px}mp-splitter:not(:defined)>*:not(:last-child){margin-right:-3px}mp-splitter:not(:defined)>*:not(:last-child):after{content:\"\";display:block;position:absolute;right:-7px;top:0;width:14px;height:100%;border-left:3px solid transparent;border-right:3px solid transparent;background-color:var(--bs-border-color, #eee);background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==);background-position:center center;background-repeat:no-repeat;background-clip:content-box;z-index:3}mp-splitter[orientation=vertical]:not(:defined){flex-direction:column}mp-splitter[orientation=vertical]:not(:defined)>*:not(:first-child){margin-left:0;margin-top:-3px}mp-splitter[orientation=vertical]:not(:defined)>*:not(:last-child){margin-right:0;margin-bottom:-3px}mp-splitter[orientation=vertical]:not(:defined)>*:not(:last-child):after{right:0;bottom:-7px;top:auto;width:100%;height:14px;border-left:0;border-right:0;border-top:3px solid transparent;border-bottom:3px solid transparent;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFCAMAAABl/6zIAAAABlBMVEUAAADMzMzIT8AyAAAAAXRSTlMAQObYZgAAABRJREFUeAFjYGRkwIMJSeMHlBkOABP7AEGzSuPKAAAAAElFTkSuQmCC)}\n"] }]
|
|
99
|
+
args: [{ selector: 'bs-splitter', imports: [BsForwardAriaDirective], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<mp-splitter bsForwardAria\n #element\n [attr.orientation]=\"orientation()\"\n [attr.min-panel-size]=\"minPanelSizeAttr()\"\n [attr.touch-mode]=\"touchModeAttr()\"\n (resize-start)=\"onResizeStart($event)\"\n (resizing)=\"onResizing($event)\"\n (resize-end)=\"onResizeEnd($event)\">\n <ng-content></ng-content>\n</mp-splitter>\n", styles: ["bs-splitter{display:block;width:100%;height:100%}mp-splitter:not(:defined){display:flex;width:100%;height:100%;flex-direction:row}mp-splitter:not(:defined)>*{flex-grow:1;overflow:hidden;position:relative}mp-splitter:not(:defined)>*:not(:first-child){margin-left:-3px}mp-splitter:not(:defined)>*:not(:last-child){margin-right:-3px}mp-splitter:not(:defined)>*:not(:last-child):after{content:\"\";display:block;position:absolute;right:-7px;top:0;width:14px;height:100%;border-left:3px solid transparent;border-right:3px solid transparent;background-color:var(--bs-border-color, #eee);background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==);background-position:center center;background-repeat:no-repeat;background-clip:content-box;z-index:3}mp-splitter[orientation=vertical]:not(:defined){flex-direction:column}mp-splitter[orientation=vertical]:not(:defined)>*:not(:first-child){margin-left:0;margin-top:-3px}mp-splitter[orientation=vertical]:not(:defined)>*:not(:last-child){margin-right:0;margin-bottom:-3px}mp-splitter[orientation=vertical]:not(:defined)>*:not(:last-child):after{right:0;bottom:-7px;top:auto;width:100%;height:14px;border-left:0;border-right:0;border-top:3px solid transparent;border-bottom:3px solid transparent;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFCAMAAABl/6zIAAAABlBMVEUAAADMzMzIT8AyAAAAAXRSTlMAQObYZgAAABRJREFUeAFjYGRkwIMJSeMHlBkOABP7AEGzSuPKAAAAAElFTkSuQmCC)}\n"] }]
|
|
99
100
|
}], propDecorators: { orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], minPanelSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "minPanelSize", required: false }] }], touchMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "touchMode", required: false }] }], resizeStart: [{ type: i0.Output, args: ["resizeStart"] }], resizing: [{ type: i0.Output, args: ["resizing"] }], resizeEnd: [{ type: i0.Output, args: ["resizeEnd"] }], element: [{ type: i0.ViewChild, args: ['element', { isSignal: true }] }] } });
|
|
100
101
|
|
|
101
102
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-splitter.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/splitter/src/splitter/splitter.component.ts","../../../../libs/mintplayer-ng-bootstrap/splitter/src/splitter/splitter.component.html","../../../../libs/mintplayer-ng-bootstrap/splitter/mintplayer-ng-bootstrap-splitter.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n CUSTOM_ELEMENTS_SCHEMA,\n ElementRef,\n input,\n output,\n viewChild,\n ViewEncapsulation,\n} from '@angular/core';\n// Eager side-effect registration: the splitter has no DSD chrome to protect,\n// and deferring to afterNextRender would flash the `:not(:defined)` fallback\n// layout on every load.\nimport '@mintplayer/web-components/splitter';\nimport type {\n Direction,\n MpSplitter,\n ResizeKey,\n SplitterResizeEventDetail,\n} from '@mintplayer/web-components/splitter';\n\n/**\n * `<bs-splitter>` — Angular wrapper around the `<mp-splitter>` web component.\n *\n * Panes are plain content children; the WC slots each direct child into its\n * own resizable panel and inserts draggable/keyboard-operable dividers\n * between them. Nest splitters to build dock-style layouts:\n *\n * <bs-splitter>\n * <div>Left</div>\n * <bs-splitter orientation=\"vertical\" [minPanelSize]=\"80\">\n * <div>Top</div>\n * <div>Bottom</div>\n * </bs-splitter>\n * </bs-splitter>\n *\n * Each wrapper claims exactly the events of its own `<mp-splitter>`: the\n * target guard keeps a nested splitter's bubbled events from being re-emitted\n * by the outer wrapper, and `stopPropagation()` *after* the guard ensures a\n * claimed event is delivered once, as a typed output only. The stop is\n * required: Angular registers BOTH a DOM listener and the output subscription\n * for an element event binding, so a consumer's `(resizing)` handler would\n * otherwise also receive the identically-named bubbling CustomEvent raw.\n * Unclaimed events (from a nested raw `<mp-splitter>`) bubble on untouched.\n *\n * Before the custom element upgrades (or with JS off), a `:not(:defined)`\n * fallback stylesheet renders the panes as a static flex layout with visible\n * divider chrome, so server-rendered pages don't flash unstyled content.\n */\n@Component({\n selector: 'bs-splitter',\n templateUrl: './splitter.component.html',\n styleUrls: ['./splitter.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n // The fallback stylesheet must match the CONSUMER-projected pane children,\n // which never carry this component's emulated-encapsulation attribute —\n // so the styles ship unscoped. They stay inert once the element upgrades\n // (`:not(:defined)` no longer matches).\n encapsulation: ViewEncapsulation.None,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class BsSplitterComponent {\n /** Axis along which the panes are laid out (and resized). */\n readonly orientation = input<Direction>('horizontal');\n /** Minimum pane size in px a divider can shrink a pane to (WC default 50). */\n readonly minPanelSize = input<number | null>(null);\n /** Widen the invisible divider hit area for touch use. */\n readonly touchMode = input(false);\n\n /** A divider drag started. Detail: current `{ sizes, orientation }`. */\n readonly resizeStart = output<SplitterResizeEventDetail>();\n /** Fires on every drag-preview frame with the in-flight sizes. */\n readonly resizing = output<SplitterResizeEventDetail>();\n /** Drag or keyboard resize committed. Detail: final `{ sizes, orientation }`. */\n readonly resizeEnd = output<SplitterResizeEventDetail>();\n\n protected readonly element = viewChild<ElementRef<MpSplitter>>('element');\n\n protected readonly minPanelSizeAttr = computed(() => {\n const value = this.minPanelSize();\n return value != null ? String(value) : null;\n });\n protected readonly touchModeAttr = computed(() => (this.touchMode() ? '' : null));\n\n /** Current pane sizes in px, in document order. */\n getPanelSizes(): number[] {\n return this.element()?.nativeElement.getPanelSizes() ?? [];\n }\n\n /** Programmatically distribute pane sizes (px, one entry per pane). */\n setPanelSizes(sizes: number[]): void {\n this.element()?.nativeElement.setPanelSizes(sizes);\n }\n\n /**\n * Drive a keyboard-style resize on divider `dividerIndex` (arrows ±10%,\n * `fine` = ±1%, Home/End to the limits).\n */\n resizeDividerBy(dividerIndex: number, key: ResizeKey, fine = false): void {\n this.element()?.nativeElement.resizeDividerBy(dividerIndex, key, fine);\n }\n\n protected onResizeStart(event: Event): void {\n if (event.target !== this.element()?.nativeElement) return;\n event.stopPropagation();\n this.resizeStart.emit((event as CustomEvent<SplitterResizeEventDetail>).detail);\n }\n\n protected onResizing(event: Event): void {\n if (event.target !== this.element()?.nativeElement) return;\n event.stopPropagation();\n this.resizing.emit((event as CustomEvent<SplitterResizeEventDetail>).detail);\n }\n\n protected onResizeEnd(event: Event): void {\n if (event.target !== this.element()?.nativeElement) return;\n event.stopPropagation();\n this.resizeEnd.emit((event as CustomEvent<SplitterResizeEventDetail>).detail);\n }\n}\n","<mp-splitter\n #element\n [attr.orientation]=\"orientation()\"\n [attr.min-panel-size]=\"minPanelSizeAttr()\"\n [attr.touch-mode]=\"touchModeAttr()\"\n (resize-start)=\"onResizeStart($event)\"\n (resizing)=\"onResizing($event)\"\n (resize-end)=\"onResizeEnd($event)\">\n <ng-content></ng-content>\n</mp-splitter>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-splitter.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/splitter/src/splitter/splitter.component.ts","../../../../libs/mintplayer-ng-bootstrap/splitter/src/splitter/splitter.component.html","../../../../libs/mintplayer-ng-bootstrap/splitter/mintplayer-ng-bootstrap-splitter.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n CUSTOM_ELEMENTS_SCHEMA,\n ElementRef,\n input,\n output,\n viewChild,\n ViewEncapsulation,\n} from '@angular/core';\n// Eager side-effect registration: the splitter has no DSD chrome to protect,\n// and deferring to afterNextRender would flash the `:not(:defined)` fallback\n// layout on every load.\nimport '@mintplayer/web-components/splitter';\nimport type {\n Direction,\n MpSplitter,\n ResizeKey,\n SplitterResizeEventDetail,\n} from '@mintplayer/web-components/splitter';\nimport { BsForwardAriaDirective } from '@mintplayer/ng-bootstrap/a11y';\n\n/**\n * `<bs-splitter>` — Angular wrapper around the `<mp-splitter>` web component.\n *\n * Panes are plain content children; the WC slots each direct child into its\n * own resizable panel and inserts draggable/keyboard-operable dividers\n * between them. Nest splitters to build dock-style layouts:\n *\n * <bs-splitter>\n * <div>Left</div>\n * <bs-splitter orientation=\"vertical\" [minPanelSize]=\"80\">\n * <div>Top</div>\n * <div>Bottom</div>\n * </bs-splitter>\n * </bs-splitter>\n *\n * Each wrapper claims exactly the events of its own `<mp-splitter>`: the\n * target guard keeps a nested splitter's bubbled events from being re-emitted\n * by the outer wrapper, and `stopPropagation()` *after* the guard ensures a\n * claimed event is delivered once, as a typed output only. The stop is\n * required: Angular registers BOTH a DOM listener and the output subscription\n * for an element event binding, so a consumer's `(resizing)` handler would\n * otherwise also receive the identically-named bubbling CustomEvent raw.\n * Unclaimed events (from a nested raw `<mp-splitter>`) bubble on untouched.\n *\n * Before the custom element upgrades (or with JS off), a `:not(:defined)`\n * fallback stylesheet renders the panes as a static flex layout with visible\n * divider chrome, so server-rendered pages don't flash unstyled content.\n */\n@Component({\n selector: 'bs-splitter',\n templateUrl: './splitter.component.html',\n imports: [BsForwardAriaDirective],\n styleUrls: ['./splitter.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n // The fallback stylesheet must match the CONSUMER-projected pane children,\n // which never carry this component's emulated-encapsulation attribute —\n // so the styles ship unscoped. They stay inert once the element upgrades\n // (`:not(:defined)` no longer matches).\n encapsulation: ViewEncapsulation.None,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class BsSplitterComponent {\n /** Axis along which the panes are laid out (and resized). */\n readonly orientation = input<Direction>('horizontal');\n /** Minimum pane size in px a divider can shrink a pane to (WC default 50). */\n readonly minPanelSize = input<number | null>(null);\n /** Widen the invisible divider hit area for touch use. */\n readonly touchMode = input(false);\n\n /** A divider drag started. Detail: current `{ sizes, orientation }`. */\n readonly resizeStart = output<SplitterResizeEventDetail>();\n /** Fires on every drag-preview frame with the in-flight sizes. */\n readonly resizing = output<SplitterResizeEventDetail>();\n /** Drag or keyboard resize committed. Detail: final `{ sizes, orientation }`. */\n readonly resizeEnd = output<SplitterResizeEventDetail>();\n\n protected readonly element = viewChild<ElementRef<MpSplitter>>('element');\n\n protected readonly minPanelSizeAttr = computed(() => {\n const value = this.minPanelSize();\n return value != null ? String(value) : null;\n });\n protected readonly touchModeAttr = computed(() => (this.touchMode() ? '' : null));\n\n /** Current pane sizes in px, in document order. */\n getPanelSizes(): number[] {\n return this.element()?.nativeElement.getPanelSizes() ?? [];\n }\n\n /** Programmatically distribute pane sizes (px, one entry per pane). */\n setPanelSizes(sizes: number[]): void {\n this.element()?.nativeElement.setPanelSizes(sizes);\n }\n\n /**\n * Drive a keyboard-style resize on divider `dividerIndex` (arrows ±10%,\n * `fine` = ±1%, Home/End to the limits).\n */\n resizeDividerBy(dividerIndex: number, key: ResizeKey, fine = false): void {\n this.element()?.nativeElement.resizeDividerBy(dividerIndex, key, fine);\n }\n\n protected onResizeStart(event: Event): void {\n if (event.target !== this.element()?.nativeElement) return;\n event.stopPropagation();\n this.resizeStart.emit((event as CustomEvent<SplitterResizeEventDetail>).detail);\n }\n\n protected onResizing(event: Event): void {\n if (event.target !== this.element()?.nativeElement) return;\n event.stopPropagation();\n this.resizing.emit((event as CustomEvent<SplitterResizeEventDetail>).detail);\n }\n\n protected onResizeEnd(event: Event): void {\n if (event.target !== this.element()?.nativeElement) return;\n event.stopPropagation();\n this.resizeEnd.emit((event as CustomEvent<SplitterResizeEventDetail>).detail);\n }\n}\n","<mp-splitter bsForwardAria\n #element\n [attr.orientation]=\"orientation()\"\n [attr.min-panel-size]=\"minPanelSizeAttr()\"\n [attr.touch-mode]=\"touchModeAttr()\"\n (resize-start)=\"onResizeStart($event)\"\n (resizing)=\"onResizing($event)\"\n (resize-end)=\"onResizeEnd($event)\">\n <ng-content></ng-content>\n</mp-splitter>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"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"}
|
|
@@ -36,7 +36,7 @@ class BsTabPageComponent {
|
|
|
36
36
|
...(ngDevMode ? [{ debugName: "tabId" }] : /* istanbul ignore next */ []));
|
|
37
37
|
}
|
|
38
38
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsTabPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
39
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.0", type: BsTabPageComponent, isStandalone: true, selector: "bs-tab-page", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.slot": "contentSlotName()", "attr.data-disabled": "disabled() ? \"\" : null"
|
|
39
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.0", type: BsTabPageComponent, isStandalone: true, selector: "bs-tab-page", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.slot": "contentSlotName()", "attr.data-disabled": "disabled() ? \"\" : null" } }, queries: [{ propertyName: "headerTemplate", first: true, predicate: BsTabPageHeaderDirective, descendants: true, isSignal: true }], ngImport: i0, template: "@if (tabControl.isServerSide) {\n\t<!-- region, not tabpanel: the no-JS tier ships no role=\"tab\" (a static\n\t aria-selected would go stale), and a tabpanel without a tab is an\n\t orphan. The label id still names the region. -->\n\t<div [id]=\"tabName() + '-panel'\"\n\t\tclass=\"tab-page-content\"\n\t\trole=\"region\"\n\t\t[attr.aria-labelledby]=\"tabName() + '-header'\"\n\t\t[class.d-block]=\"tabControl.activeTab() === this\">\n\t\t<ng-content></ng-content>\n\t</div>\n} @else {\n\t<ng-content></ng-content>\n}\n", styles: [".tab-page-content{display:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
40
40
|
}
|
|
41
41
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsTabPageComponent, decorators: [{
|
|
42
42
|
type: Component,
|
|
@@ -45,13 +45,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImpor
|
|
|
45
45
|
'[attr.slot]': 'contentSlotName()',
|
|
46
46
|
// Tells <mp-tab-control> the tab is disabled without inspecting child types.
|
|
47
47
|
'[attr.data-disabled]': 'disabled() ? "" : null',
|
|
48
|
-
//
|
|
49
|
-
//
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}, template: "@if (tabControl.isServerSide) {\n\t<div [id]=\"tabName() + '-panel'\"\n\t\tclass=\"tab-page-content\"\n\t\trole=\"tabpanel\"\n\t\t[attr.aria-labelledby]=\"tabName() + '-header'\"\n\t\t[class.d-block]=\"tabControl.activeTab() === this\"\n\t\t[attr.tabindex]=\"tabControl.activeTab() === this ? 0 : null\">\n\t\t<ng-content></ng-content>\n\t</div>\n} @else {\n\t<ng-content></ng-content>\n}\n", styles: [".tab-page-content{display:none}\n"] }]
|
|
48
|
+
// NO client-side ARIA here: <mp-tab-control> already renders the
|
|
49
|
+
// role=tabpanel wrapper (with aria-labelledby) in its shadow root, so a
|
|
50
|
+
// second tabpanel on this host announced every page twice and its id
|
|
51
|
+
// duplicated an IDREF target. The SSR branch renders its own region
|
|
52
|
+
// inside the template instead.
|
|
53
|
+
}, template: "@if (tabControl.isServerSide) {\n\t<!-- region, not tabpanel: the no-JS tier ships no role=\"tab\" (a static\n\t aria-selected would go stale), and a tabpanel without a tab is an\n\t orphan. The label id still names the region. -->\n\t<div [id]=\"tabName() + '-panel'\"\n\t\tclass=\"tab-page-content\"\n\t\trole=\"region\"\n\t\t[attr.aria-labelledby]=\"tabName() + '-header'\"\n\t\t[class.d-block]=\"tabControl.activeTab() === this\">\n\t\t<ng-content></ng-content>\n\t</div>\n} @else {\n\t<ng-content></ng-content>\n}\n", styles: [".tab-page-content{display:none}\n"] }]
|
|
55
54
|
}], ctorParameters: () => [], propDecorators: { disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], headerTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BsTabPageHeaderDirective), { isSignal: true }] }] } });
|
|
56
55
|
|
|
57
56
|
class BsTabControlComponent {
|
|
@@ -123,7 +122,7 @@ class BsTabControlComponent {
|
|
|
123
122
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsTabControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
124
123
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.0", type: BsTabControlComponent, isStandalone: true, selector: "bs-tab-control", inputs: { border: { classPropertyName: "border", publicName: "border", isSignal: true, isRequired: false, transformFunction: null }, selectFirstTab: { classPropertyName: "selectFirstTab", publicName: "selectFirstTab", isSignal: true, isRequired: false, transformFunction: null }, tabsPosition: { classPropertyName: "tabsPosition", publicName: "tabsPosition", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "d-block position-relative" }, providers: [
|
|
125
124
|
{ provide: 'TAB_CONTROL', useExisting: BsTabControlComponent }
|
|
126
|
-
], queries: [{ propertyName: "tabPages", predicate: BsTabPageComponent, isSignal: true }], ngImport: i0, template: "@if (isServerSide) {\n\t@for (tab of tabPages(); track tab) {\n\t\t<input type=\"radio\" class=\"d-none\" bsNoNoscript\n\t\t\t[name]=\"tabControlName()\"\n\t\t\t[id]=\"tab.tabName()\"\n\t\t\t[checked]=\"checkedTab() === tab\"\n\t\t\t[disabled]=\"tab.disabled()\">\n\t}\n\t@let activeTabValue = activeTab();\n\t<ng-template #tabStrip>\n\t\t<ul class=\"nav nav-tabs flex-nowrap overflow-x-auto overflow-y-hidden\" role=\"tablist\">\n\t\t\t@for (tab of tabPages(); track tab) {\n\t\t\t\t@if (tab.headerTemplate()) {\n\t\t\t\t\t<li class=\"nav-item\" role=\"presentation\">\n\t\t\t\t\t\t<label\n\t\t\t\t\t\t\t[for]=\"tab.tabName()\"\n\t\t\t\t\t\t\t[id]=\"tab.tabName() + '-header'\"\n\t\t\t\t\t\t\tclass=\"nav-link text-nowrap\"\n\t\t\t\t\t\t\t[class.active]=\"activeTabValue === tab\"\n\t\t\t\t\t\t\t[class.disabled]=\"tab.disabled()\"\n\t\t\t\t\t\t\trole=\"tab\"\n\t\t\t\t\t\t\t[attr.tabindex]=\"tab.disabled() ? -1 : (activeTabValue === tab ? 0 : -1)\"\n\t\t\t\t\t\t\t[attr.aria-selected]=\"activeTabValue === tab\"\n\t\t\t\t\t\t\t[attr.aria-controls]=\"tab.tabName() + '-panel'\"\n\t\t\t\t\t\t\t[attr.aria-disabled]=\"tab.disabled() || null\">\n\t\t\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"tab.headerTemplate()!.template\"></ng-container>\n\t\t\t\t\t\t</label>\n\t\t\t\t\t</li>\n\t\t\t\t}\n\t\t\t}\n\t\t</ul>\n\t</ng-template>\n\t@if (topTabs()) {\n\t\t<div class=\"overflow-hidden mw-100 tsc\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"tabStrip\"></ng-container>\n\t\t</div>\n\t}\n\t<div class=\"tab-content flex-grow-1 overflow-auto\" bsNoNoscript [class.border]=\"border() && activeTabValue\" [class.border-top]=\"border() && !activeTabValue\">\n\t\t<ng-content></ng-content>\n\t</div>\n\t@if (bottomTabs()) {\n\t\t<div class=\"overflow-hidden mw-100 tsc bottom-tabs\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"tabStrip\"></ng-container>\n\t\t</div>\n\t}\n} @else {\n\t<mp-tab-control #wc\n\t\t[attr.tabs-position]=\"tabsPosition()\"\n\t\t[attr.border]=\"border() ? null : 'false'\"\n\t\t[attr.active-tab]=\"activeTabName()\"\n\t\t[attr.select-first-tab]=\"selectFirstTab() ? null : 'false'\"\n\t\t(tab-activate)=\"onTabActivate($event)\">\n\t\t@for (tab of tabPages(); track tab) {\n\t\t\t@if (tab.headerTemplate()) {\n\t\t\t\t<span [attr.slot]=\"tab.tabName() + '-header'\">\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"tab.headerTemplate()!.template\"></ng-container>\n\t\t\t\t</span>\n\t\t\t}\n\t\t}\n\t\t<ng-content></ng-content>\n\t</mp-tab-control>\n}\n", styles: [":host ::ng-deep .nav{--bs-nav-link-padding-x: 1rem;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-link-color);--bs-nav-link-hover-color: var(--bs-link-hover-color);--bs-nav-link-disabled-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}:host ::ng-deep .nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;background:none;border:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media(prefers-reduced-motion:reduce){:host ::ng-deep .nav-link{transition:none}}:host ::ng-deep .nav-link:hover,:host ::ng-deep .nav-link:focus{color:var(--bs-nav-link-hover-color)}:host ::ng-deep .nav-link:focus-visible{outline:0;box-shadow:0 0 0 .25rem #0d6efd40}:host ::ng-deep .nav-link.disabled,:host ::ng-deep .nav-link:disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}:host ::ng-deep .nav-tabs{--bs-nav-tabs-border-width: var(--bs-border-width);--bs-nav-tabs-border-color: var(--bs-border-color);--bs-nav-tabs-border-radius: var(--bs-border-radius);--bs-nav-tabs-link-hover-border-color: var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);--bs-nav-tabs-link-active-color: var(--bs-emphasis-color);--bs-nav-tabs-link-active-bg: var(--bs-body-bg);--bs-nav-tabs-link-active-border-color: var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}:host ::ng-deep .nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}:host ::ng-deep .nav-tabs .nav-link:hover,:host ::ng-deep .nav-tabs .nav-link:focus{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}:host ::ng-deep .nav-tabs .nav-link.active,:host ::ng-deep .nav-tabs .nav-item.show .nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host ::ng-deep .nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}:host ::ng-deep .nav-pills{--bs-nav-pills-border-radius: var(--bs-border-radius);--bs-nav-pills-link-active-color: #fff;--bs-nav-pills-link-active-bg: #0d6efd}:host ::ng-deep .nav-pills .nav-link{border-radius:var(--bs-nav-pills-border-radius)}:host ::ng-deep .nav-pills .nav-link.active,:host ::ng-deep .nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}:host ::ng-deep .nav-underline{--bs-nav-underline-gap: 1rem;--bs-nav-underline-border-width: .125rem;--bs-nav-underline-link-active-color: var(--bs-emphasis-color);gap:var(--bs-nav-underline-gap)}:host ::ng-deep .nav-underline .nav-link{padding-right:0;padding-left:0;border-bottom:var(--bs-nav-underline-border-width) solid transparent}:host ::ng-deep .nav-underline .nav-link:hover,:host ::ng-deep .nav-underline .nav-link:focus{border-bottom-color:currentcolor}:host ::ng-deep .nav-underline .nav-link.active,:host ::ng-deep .nav-underline .show>.nav-link{font-weight:700;color:var(--bs-nav-underline-link-active-color);border-bottom-color:currentcolor}:host ::ng-deep .nav-fill>.nav-link,:host ::ng-deep .nav-fill .nav-item{flex:1 1 auto;text-align:center}:host ::ng-deep .nav-justified>.nav-link,:host ::ng-deep .nav-justified .nav-item{flex-grow:1;flex-basis:0;text-align:center}:host ::ng-deep .nav-fill .nav-item .nav-link,:host ::ng-deep .nav-justified .nav-item .nav-link{width:100%}:host ::ng-deep .tab-content>.tab-pane{display:none}:host ::ng-deep .tab-content>.active{display:block}:host ::ng-deep .tab-content{margin-top:-1px}.tsc{max-height:41px;top:2px;z-index:10;flex-shrink:0}.tsc .nav.nav-tabs{border-bottom:0}.tsc.bottom-tabs{margin-top:-1px}.tsc.bottom-tabs .nav.nav-tabs{border-bottom-width:0px}.tsc.bottom-tabs .nav.nav-tabs .nav-link{border:1px solid transparent;border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:.25rem;border-bottom-right-radius:.25rem}.tsc.bottom-tabs .nav.nav-tabs .nav-item{margin-bottom:2px;margin-top:-1px}.tsc.bottom-tabs .nav.nav-tabs .nav-item.show .nav-link,.tsc.bottom-tabs .nav.nav-tabs .nav-link.active{border-color:var(--bs-body-bg) var(--bs-border-color) var(--bs-border-color) var(--bs-border-color)}.tab-content.noscript::ng-deep>bs-tab-page>.tab-page-content{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;margin-top:-1px}.overflow-y-hidden{overflow-y:hidden}.tsc .nav-link{cursor:pointer}:host input.noscript:nth-of-type(1):checked~.tsc .nav-item:nth-child(1)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(2):checked~.tsc .nav-item:nth-child(2)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(3):checked~.tsc .nav-item:nth-child(3)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(4):checked~.tsc .nav-item:nth-child(4)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(5):checked~.tsc .nav-item:nth-child(5)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(6):checked~.tsc .nav-item:nth-child(6)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(7):checked~.tsc .nav-item:nth-child(7)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(8):checked~.tsc .nav-item:nth-child(8)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(9):checked~.tsc .nav-item:nth-child(9)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(10):checked~.tsc .nav-item:nth-child(10)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(11):checked~.tsc .nav-item:nth-child(11)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(12):checked~.tsc .nav-item:nth-child(12)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(13):checked~.tsc .nav-item:nth-child(13)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(14):checked~.tsc .nav-item:nth-child(14)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(15):checked~.tsc .nav-item:nth-child(15)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(16):checked~.tsc .nav-item:nth-child(16)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(17):checked~.tsc .nav-item:nth-child(17)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(18):checked~.tsc .nav-item:nth-child(18)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(19):checked~.tsc .nav-item:nth-child(19)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(20):checked~.tsc .nav-item:nth-child(20)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host ::ng-deep input.noscript:nth-of-type(1):checked~.tab-content>bs-tab-page:nth-child(1)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(2):checked~.tab-content>bs-tab-page:nth-child(2)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(3):checked~.tab-content>bs-tab-page:nth-child(3)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(4):checked~.tab-content>bs-tab-page:nth-child(4)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(5):checked~.tab-content>bs-tab-page:nth-child(5)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(6):checked~.tab-content>bs-tab-page:nth-child(6)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(7):checked~.tab-content>bs-tab-page:nth-child(7)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(8):checked~.tab-content>bs-tab-page:nth-child(8)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(9):checked~.tab-content>bs-tab-page:nth-child(9)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(10):checked~.tab-content>bs-tab-page:nth-child(10)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(11):checked~.tab-content>bs-tab-page:nth-child(11)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(12):checked~.tab-content>bs-tab-page:nth-child(12)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(13):checked~.tab-content>bs-tab-page:nth-child(13)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(14):checked~.tab-content>bs-tab-page:nth-child(14)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(15):checked~.tab-content>bs-tab-page:nth-child(15)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(16):checked~.tab-content>bs-tab-page:nth-child(16)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(17):checked~.tab-content>bs-tab-page:nth-child(17)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(18):checked~.tab-content>bs-tab-page:nth-child(18)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(19):checked~.tab-content>bs-tab-page:nth-child(19)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(20):checked~.tab-content>bs-tab-page:nth-child(20)>.tab-page-content{display:block}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: BsNoNoscriptDirective, selector: "[bsNoNoscript]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
125
|
+
], queries: [{ propertyName: "tabPages", predicate: BsTabPageComponent, isSignal: true }], ngImport: i0, template: "@if (isServerSide) {\n\t@for (tab of tabPages(); track tab) {\n\t\t<!-- The radio IS the control: clipped (not display:none) so Tab reaches\n\t\t it, and the native radio group gives arrow-key switching, a live\n\t\t checked state and the label's text as its name \u2014 all with no script\n\t\t and nothing that can go stale (PRD 11a). -->\n\t\t<input type=\"radio\" class=\"tab-radio\" bsNoNoscript\n\t\t\t[name]=\"tabControlName()\"\n\t\t\t[id]=\"tab.tabName()\"\n\t\t\t[checked]=\"checkedTab() === tab\"\n\t\t\t[disabled]=\"tab.disabled()\"\n\t\t\t[attr.aria-controls]=\"tab.tabName() + '-panel'\">\n\t}\n\t@let activeTabValue = activeTab();\n\t<ng-template #tabStrip>\n\t\t<!-- No role=\"tab\"/aria-selected here: with no script to update them a\n\t\t static aria-selected would lie after the first switch. The labels\n\t\t are the radios' visual skin and accessible name; the radios carry\n\t\t the live selection state natively. -->\n\t\t<ul class=\"nav nav-tabs flex-nowrap overflow-x-auto overflow-y-hidden\">\n\t\t\t@for (tab of tabPages(); track tab) {\n\t\t\t\t@if (tab.headerTemplate()) {\n\t\t\t\t\t<li class=\"nav-item\">\n\t\t\t\t\t\t<label\n\t\t\t\t\t\t\t[for]=\"tab.tabName()\"\n\t\t\t\t\t\t\t[id]=\"tab.tabName() + '-header'\"\n\t\t\t\t\t\t\tclass=\"nav-link text-nowrap\"\n\t\t\t\t\t\t\t[class.active]=\"activeTabValue === tab\"\n\t\t\t\t\t\t\t[class.disabled]=\"tab.disabled()\">\n\t\t\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"tab.headerTemplate()!.template\"></ng-container>\n\t\t\t\t\t\t</label>\n\t\t\t\t\t</li>\n\t\t\t\t}\n\t\t\t}\n\t\t</ul>\n\t</ng-template>\n\t@if (topTabs()) {\n\t\t<div class=\"overflow-hidden mw-100 tsc\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"tabStrip\"></ng-container>\n\t\t</div>\n\t}\n\t<div class=\"tab-content flex-grow-1 overflow-auto\" bsNoNoscript [class.border]=\"border() && activeTabValue\" [class.border-top]=\"border() && !activeTabValue\">\n\t\t<ng-content></ng-content>\n\t</div>\n\t@if (bottomTabs()) {\n\t\t<div class=\"overflow-hidden mw-100 tsc bottom-tabs\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"tabStrip\"></ng-container>\n\t\t</div>\n\t}\n} @else {\n\t<mp-tab-control #wc\n\t\t[attr.tabs-position]=\"tabsPosition()\"\n\t\t[attr.border]=\"border() ? null : 'false'\"\n\t\t[attr.active-tab]=\"activeTabName()\"\n\t\t[attr.select-first-tab]=\"selectFirstTab() ? null : 'false'\"\n\t\t(tab-activate)=\"onTabActivate($event)\">\n\t\t@for (tab of tabPages(); track tab) {\n\t\t\t@if (tab.headerTemplate()) {\n\t\t\t\t<span [attr.slot]=\"tab.tabName() + '-header'\">\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"tab.headerTemplate()!.template\"></ng-container>\n\t\t\t\t</span>\n\t\t\t}\n\t\t}\n\t\t<ng-content></ng-content>\n\t</mp-tab-control>\n}\n", styles: [":host ::ng-deep .nav{--bs-nav-link-padding-x: 1rem;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-link-color);--bs-nav-link-hover-color: var(--bs-link-hover-color);--bs-nav-link-disabled-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}:host ::ng-deep .nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;background:none;border:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media(prefers-reduced-motion:reduce){:host ::ng-deep .nav-link{transition:none}}:host ::ng-deep .nav-link:hover,:host ::ng-deep .nav-link:focus{color:var(--bs-nav-link-hover-color)}:host ::ng-deep .nav-link:focus-visible{outline:0;box-shadow:0 0 0 .25rem #0d6efd40}:host ::ng-deep .nav-link.disabled,:host ::ng-deep .nav-link:disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}:host ::ng-deep .nav-tabs{--bs-nav-tabs-border-width: var(--bs-border-width);--bs-nav-tabs-border-color: var(--bs-border-color);--bs-nav-tabs-border-radius: var(--bs-border-radius);--bs-nav-tabs-link-hover-border-color: var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);--bs-nav-tabs-link-active-color: var(--bs-emphasis-color);--bs-nav-tabs-link-active-bg: var(--bs-body-bg);--bs-nav-tabs-link-active-border-color: var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}:host ::ng-deep .nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}:host ::ng-deep .nav-tabs .nav-link:hover,:host ::ng-deep .nav-tabs .nav-link:focus{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}:host ::ng-deep .nav-tabs .nav-link.active,:host ::ng-deep .nav-tabs .nav-item.show .nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host ::ng-deep .nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}:host ::ng-deep .nav-pills{--bs-nav-pills-border-radius: var(--bs-border-radius);--bs-nav-pills-link-active-color: #fff;--bs-nav-pills-link-active-bg: #0d6efd}:host ::ng-deep .nav-pills .nav-link{border-radius:var(--bs-nav-pills-border-radius)}:host ::ng-deep .nav-pills .nav-link.active,:host ::ng-deep .nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}:host ::ng-deep .nav-underline{--bs-nav-underline-gap: 1rem;--bs-nav-underline-border-width: .125rem;--bs-nav-underline-link-active-color: var(--bs-emphasis-color);gap:var(--bs-nav-underline-gap)}:host ::ng-deep .nav-underline .nav-link{padding-right:0;padding-left:0;border-bottom:var(--bs-nav-underline-border-width) solid transparent}:host ::ng-deep .nav-underline .nav-link:hover,:host ::ng-deep .nav-underline .nav-link:focus{border-bottom-color:currentcolor}:host ::ng-deep .nav-underline .nav-link.active,:host ::ng-deep .nav-underline .show>.nav-link{font-weight:700;color:var(--bs-nav-underline-link-active-color);border-bottom-color:currentcolor}:host ::ng-deep .nav-fill>.nav-link,:host ::ng-deep .nav-fill .nav-item{flex:1 1 auto;text-align:center}:host ::ng-deep .nav-justified>.nav-link,:host ::ng-deep .nav-justified .nav-item{flex-grow:1;flex-basis:0;text-align:center}:host ::ng-deep .nav-fill .nav-item .nav-link,:host ::ng-deep .nav-justified .nav-item .nav-link{width:100%}:host ::ng-deep .tab-content>.tab-pane{display:none}:host ::ng-deep .tab-content>.active{display:block}:host ::ng-deep .tab-content{margin-top:-1px}.tsc{max-height:41px;top:2px;z-index:10;flex-shrink:0}.tsc .nav.nav-tabs{border-bottom:0}.tsc.bottom-tabs{margin-top:-1px}.tsc.bottom-tabs .nav.nav-tabs{border-bottom-width:0px}.tsc.bottom-tabs .nav.nav-tabs .nav-link{border:1px solid transparent;border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:.25rem;border-bottom-right-radius:.25rem}.tsc.bottom-tabs .nav.nav-tabs .nav-item{margin-bottom:2px;margin-top:-1px}.tsc.bottom-tabs .nav.nav-tabs .nav-item.show .nav-link,.tsc.bottom-tabs .nav.nav-tabs .nav-link.active{border-color:var(--bs-body-bg) var(--bs-border-color) var(--bs-border-color) var(--bs-border-color)}.tab-content.noscript::ng-deep>bs-tab-page>.tab-page-content{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;margin-top:-1px}.overflow-y-hidden{overflow-y:hidden}.tsc .nav-link{cursor:pointer}input.tab-radio{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}:host input.noscript:nth-of-type(1):checked~.tsc .nav-item:nth-child(1)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(1):focus-visible~.tsc .nav-item:nth-child(1)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(2):checked~.tsc .nav-item:nth-child(2)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(2):focus-visible~.tsc .nav-item:nth-child(2)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(3):checked~.tsc .nav-item:nth-child(3)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(3):focus-visible~.tsc .nav-item:nth-child(3)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(4):checked~.tsc .nav-item:nth-child(4)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(4):focus-visible~.tsc .nav-item:nth-child(4)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(5):checked~.tsc .nav-item:nth-child(5)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(5):focus-visible~.tsc .nav-item:nth-child(5)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(6):checked~.tsc .nav-item:nth-child(6)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(6):focus-visible~.tsc .nav-item:nth-child(6)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(7):checked~.tsc .nav-item:nth-child(7)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(7):focus-visible~.tsc .nav-item:nth-child(7)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(8):checked~.tsc .nav-item:nth-child(8)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(8):focus-visible~.tsc .nav-item:nth-child(8)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(9):checked~.tsc .nav-item:nth-child(9)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(9):focus-visible~.tsc .nav-item:nth-child(9)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(10):checked~.tsc .nav-item:nth-child(10)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(10):focus-visible~.tsc .nav-item:nth-child(10)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(11):checked~.tsc .nav-item:nth-child(11)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(11):focus-visible~.tsc .nav-item:nth-child(11)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(12):checked~.tsc .nav-item:nth-child(12)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(12):focus-visible~.tsc .nav-item:nth-child(12)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(13):checked~.tsc .nav-item:nth-child(13)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(13):focus-visible~.tsc .nav-item:nth-child(13)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(14):checked~.tsc .nav-item:nth-child(14)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(14):focus-visible~.tsc .nav-item:nth-child(14)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(15):checked~.tsc .nav-item:nth-child(15)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(15):focus-visible~.tsc .nav-item:nth-child(15)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(16):checked~.tsc .nav-item:nth-child(16)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(16):focus-visible~.tsc .nav-item:nth-child(16)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(17):checked~.tsc .nav-item:nth-child(17)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(17):focus-visible~.tsc .nav-item:nth-child(17)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(18):checked~.tsc .nav-item:nth-child(18)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(18):focus-visible~.tsc .nav-item:nth-child(18)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(19):checked~.tsc .nav-item:nth-child(19)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(19):focus-visible~.tsc .nav-item:nth-child(19)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(20):checked~.tsc .nav-item:nth-child(20)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(20):focus-visible~.tsc .nav-item:nth-child(20)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host ::ng-deep input.noscript:nth-of-type(1):checked~.tab-content>bs-tab-page:nth-child(1)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(2):checked~.tab-content>bs-tab-page:nth-child(2)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(3):checked~.tab-content>bs-tab-page:nth-child(3)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(4):checked~.tab-content>bs-tab-page:nth-child(4)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(5):checked~.tab-content>bs-tab-page:nth-child(5)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(6):checked~.tab-content>bs-tab-page:nth-child(6)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(7):checked~.tab-content>bs-tab-page:nth-child(7)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(8):checked~.tab-content>bs-tab-page:nth-child(8)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(9):checked~.tab-content>bs-tab-page:nth-child(9)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(10):checked~.tab-content>bs-tab-page:nth-child(10)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(11):checked~.tab-content>bs-tab-page:nth-child(11)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(12):checked~.tab-content>bs-tab-page:nth-child(12)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(13):checked~.tab-content>bs-tab-page:nth-child(13)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(14):checked~.tab-content>bs-tab-page:nth-child(14)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(15):checked~.tab-content>bs-tab-page:nth-child(15)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(16):checked~.tab-content>bs-tab-page:nth-child(16)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(17):checked~.tab-content>bs-tab-page:nth-child(17)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(18):checked~.tab-content>bs-tab-page:nth-child(18)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(19):checked~.tab-content>bs-tab-page:nth-child(19)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(20):checked~.tab-content>bs-tab-page:nth-child(20)>.tab-page-content{display:block}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: BsNoNoscriptDirective, selector: "[bsNoNoscript]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
127
126
|
}
|
|
128
127
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsTabControlComponent, decorators: [{
|
|
129
128
|
type: Component,
|
|
@@ -131,7 +130,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImpor
|
|
|
131
130
|
{ provide: 'TAB_CONTROL', useExisting: BsTabControlComponent }
|
|
132
131
|
], changeDetection: ChangeDetectionStrategy.OnPush, schemas: [CUSTOM_ELEMENTS_SCHEMA], host: {
|
|
133
132
|
'class': 'd-block position-relative',
|
|
134
|
-
}, template: "@if (isServerSide) {\n\t@for (tab of tabPages(); track tab) {\n\t\t<input type=\"radio\" class=\"d-none\" bsNoNoscript\n\t\t\t[name]=\"tabControlName()\"\n\t\t\t[id]=\"tab.tabName()\"\n\t\t\t[checked]=\"checkedTab() === tab\"\n\t\t\t[disabled]=\"tab.disabled()\">\n\t}\n\t@let activeTabValue = activeTab();\n\t<ng-template #tabStrip>\n\t\t<ul class=\"nav nav-tabs flex-nowrap overflow-x-auto overflow-y-hidden\" role=\"tablist\">\n\t\t\t@for (tab of tabPages(); track tab) {\n\t\t\t\t@if (tab.headerTemplate()) {\n\t\t\t\t\t<li class=\"nav-item\" role=\"presentation\">\n\t\t\t\t\t\t<label\n\t\t\t\t\t\t\t[for]=\"tab.tabName()\"\n\t\t\t\t\t\t\t[id]=\"tab.tabName() + '-header'\"\n\t\t\t\t\t\t\tclass=\"nav-link text-nowrap\"\n\t\t\t\t\t\t\t[class.active]=\"activeTabValue === tab\"\n\t\t\t\t\t\t\t[class.disabled]=\"tab.disabled()\"\n\t\t\t\t\t\t\trole=\"tab\"\n\t\t\t\t\t\t\t[attr.tabindex]=\"tab.disabled() ? -1 : (activeTabValue === tab ? 0 : -1)\"\n\t\t\t\t\t\t\t[attr.aria-selected]=\"activeTabValue === tab\"\n\t\t\t\t\t\t\t[attr.aria-controls]=\"tab.tabName() + '-panel'\"\n\t\t\t\t\t\t\t[attr.aria-disabled]=\"tab.disabled() || null\">\n\t\t\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"tab.headerTemplate()!.template\"></ng-container>\n\t\t\t\t\t\t</label>\n\t\t\t\t\t</li>\n\t\t\t\t}\n\t\t\t}\n\t\t</ul>\n\t</ng-template>\n\t@if (topTabs()) {\n\t\t<div class=\"overflow-hidden mw-100 tsc\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"tabStrip\"></ng-container>\n\t\t</div>\n\t}\n\t<div class=\"tab-content flex-grow-1 overflow-auto\" bsNoNoscript [class.border]=\"border() && activeTabValue\" [class.border-top]=\"border() && !activeTabValue\">\n\t\t<ng-content></ng-content>\n\t</div>\n\t@if (bottomTabs()) {\n\t\t<div class=\"overflow-hidden mw-100 tsc bottom-tabs\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"tabStrip\"></ng-container>\n\t\t</div>\n\t}\n} @else {\n\t<mp-tab-control #wc\n\t\t[attr.tabs-position]=\"tabsPosition()\"\n\t\t[attr.border]=\"border() ? null : 'false'\"\n\t\t[attr.active-tab]=\"activeTabName()\"\n\t\t[attr.select-first-tab]=\"selectFirstTab() ? null : 'false'\"\n\t\t(tab-activate)=\"onTabActivate($event)\">\n\t\t@for (tab of tabPages(); track tab) {\n\t\t\t@if (tab.headerTemplate()) {\n\t\t\t\t<span [attr.slot]=\"tab.tabName() + '-header'\">\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"tab.headerTemplate()!.template\"></ng-container>\n\t\t\t\t</span>\n\t\t\t}\n\t\t}\n\t\t<ng-content></ng-content>\n\t</mp-tab-control>\n}\n", styles: [":host ::ng-deep .nav{--bs-nav-link-padding-x: 1rem;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-link-color);--bs-nav-link-hover-color: var(--bs-link-hover-color);--bs-nav-link-disabled-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}:host ::ng-deep .nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;background:none;border:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media(prefers-reduced-motion:reduce){:host ::ng-deep .nav-link{transition:none}}:host ::ng-deep .nav-link:hover,:host ::ng-deep .nav-link:focus{color:var(--bs-nav-link-hover-color)}:host ::ng-deep .nav-link:focus-visible{outline:0;box-shadow:0 0 0 .25rem #0d6efd40}:host ::ng-deep .nav-link.disabled,:host ::ng-deep .nav-link:disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}:host ::ng-deep .nav-tabs{--bs-nav-tabs-border-width: var(--bs-border-width);--bs-nav-tabs-border-color: var(--bs-border-color);--bs-nav-tabs-border-radius: var(--bs-border-radius);--bs-nav-tabs-link-hover-border-color: var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);--bs-nav-tabs-link-active-color: var(--bs-emphasis-color);--bs-nav-tabs-link-active-bg: var(--bs-body-bg);--bs-nav-tabs-link-active-border-color: var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}:host ::ng-deep .nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}:host ::ng-deep .nav-tabs .nav-link:hover,:host ::ng-deep .nav-tabs .nav-link:focus{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}:host ::ng-deep .nav-tabs .nav-link.active,:host ::ng-deep .nav-tabs .nav-item.show .nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host ::ng-deep .nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}:host ::ng-deep .nav-pills{--bs-nav-pills-border-radius: var(--bs-border-radius);--bs-nav-pills-link-active-color: #fff;--bs-nav-pills-link-active-bg: #0d6efd}:host ::ng-deep .nav-pills .nav-link{border-radius:var(--bs-nav-pills-border-radius)}:host ::ng-deep .nav-pills .nav-link.active,:host ::ng-deep .nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}:host ::ng-deep .nav-underline{--bs-nav-underline-gap: 1rem;--bs-nav-underline-border-width: .125rem;--bs-nav-underline-link-active-color: var(--bs-emphasis-color);gap:var(--bs-nav-underline-gap)}:host ::ng-deep .nav-underline .nav-link{padding-right:0;padding-left:0;border-bottom:var(--bs-nav-underline-border-width) solid transparent}:host ::ng-deep .nav-underline .nav-link:hover,:host ::ng-deep .nav-underline .nav-link:focus{border-bottom-color:currentcolor}:host ::ng-deep .nav-underline .nav-link.active,:host ::ng-deep .nav-underline .show>.nav-link{font-weight:700;color:var(--bs-nav-underline-link-active-color);border-bottom-color:currentcolor}:host ::ng-deep .nav-fill>.nav-link,:host ::ng-deep .nav-fill .nav-item{flex:1 1 auto;text-align:center}:host ::ng-deep .nav-justified>.nav-link,:host ::ng-deep .nav-justified .nav-item{flex-grow:1;flex-basis:0;text-align:center}:host ::ng-deep .nav-fill .nav-item .nav-link,:host ::ng-deep .nav-justified .nav-item .nav-link{width:100%}:host ::ng-deep .tab-content>.tab-pane{display:none}:host ::ng-deep .tab-content>.active{display:block}:host ::ng-deep .tab-content{margin-top:-1px}.tsc{max-height:41px;top:2px;z-index:10;flex-shrink:0}.tsc .nav.nav-tabs{border-bottom:0}.tsc.bottom-tabs{margin-top:-1px}.tsc.bottom-tabs .nav.nav-tabs{border-bottom-width:0px}.tsc.bottom-tabs .nav.nav-tabs .nav-link{border:1px solid transparent;border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:.25rem;border-bottom-right-radius:.25rem}.tsc.bottom-tabs .nav.nav-tabs .nav-item{margin-bottom:2px;margin-top:-1px}.tsc.bottom-tabs .nav.nav-tabs .nav-item.show .nav-link,.tsc.bottom-tabs .nav.nav-tabs .nav-link.active{border-color:var(--bs-body-bg) var(--bs-border-color) var(--bs-border-color) var(--bs-border-color)}.tab-content.noscript::ng-deep>bs-tab-page>.tab-page-content{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;margin-top:-1px}.overflow-y-hidden{overflow-y:hidden}.tsc .nav-link{cursor:pointer}:host input.noscript:nth-of-type(1):checked~.tsc .nav-item:nth-child(1)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(2):checked~.tsc .nav-item:nth-child(2)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(3):checked~.tsc .nav-item:nth-child(3)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(4):checked~.tsc .nav-item:nth-child(4)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(5):checked~.tsc .nav-item:nth-child(5)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(6):checked~.tsc .nav-item:nth-child(6)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(7):checked~.tsc .nav-item:nth-child(7)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(8):checked~.tsc .nav-item:nth-child(8)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(9):checked~.tsc .nav-item:nth-child(9)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(10):checked~.tsc .nav-item:nth-child(10)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(11):checked~.tsc .nav-item:nth-child(11)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(12):checked~.tsc .nav-item:nth-child(12)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(13):checked~.tsc .nav-item:nth-child(13)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(14):checked~.tsc .nav-item:nth-child(14)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(15):checked~.tsc .nav-item:nth-child(15)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(16):checked~.tsc .nav-item:nth-child(16)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(17):checked~.tsc .nav-item:nth-child(17)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(18):checked~.tsc .nav-item:nth-child(18)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(19):checked~.tsc .nav-item:nth-child(19)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(20):checked~.tsc .nav-item:nth-child(20)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host ::ng-deep input.noscript:nth-of-type(1):checked~.tab-content>bs-tab-page:nth-child(1)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(2):checked~.tab-content>bs-tab-page:nth-child(2)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(3):checked~.tab-content>bs-tab-page:nth-child(3)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(4):checked~.tab-content>bs-tab-page:nth-child(4)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(5):checked~.tab-content>bs-tab-page:nth-child(5)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(6):checked~.tab-content>bs-tab-page:nth-child(6)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(7):checked~.tab-content>bs-tab-page:nth-child(7)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(8):checked~.tab-content>bs-tab-page:nth-child(8)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(9):checked~.tab-content>bs-tab-page:nth-child(9)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(10):checked~.tab-content>bs-tab-page:nth-child(10)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(11):checked~.tab-content>bs-tab-page:nth-child(11)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(12):checked~.tab-content>bs-tab-page:nth-child(12)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(13):checked~.tab-content>bs-tab-page:nth-child(13)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(14):checked~.tab-content>bs-tab-page:nth-child(14)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(15):checked~.tab-content>bs-tab-page:nth-child(15)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(16):checked~.tab-content>bs-tab-page:nth-child(16)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(17):checked~.tab-content>bs-tab-page:nth-child(17)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(18):checked~.tab-content>bs-tab-page:nth-child(18)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(19):checked~.tab-content>bs-tab-page:nth-child(19)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(20):checked~.tab-content>bs-tab-page:nth-child(20)>.tab-page-content{display:block}\n"] }]
|
|
133
|
+
}, template: "@if (isServerSide) {\n\t@for (tab of tabPages(); track tab) {\n\t\t<!-- The radio IS the control: clipped (not display:none) so Tab reaches\n\t\t it, and the native radio group gives arrow-key switching, a live\n\t\t checked state and the label's text as its name \u2014 all with no script\n\t\t and nothing that can go stale (PRD 11a). -->\n\t\t<input type=\"radio\" class=\"tab-radio\" bsNoNoscript\n\t\t\t[name]=\"tabControlName()\"\n\t\t\t[id]=\"tab.tabName()\"\n\t\t\t[checked]=\"checkedTab() === tab\"\n\t\t\t[disabled]=\"tab.disabled()\"\n\t\t\t[attr.aria-controls]=\"tab.tabName() + '-panel'\">\n\t}\n\t@let activeTabValue = activeTab();\n\t<ng-template #tabStrip>\n\t\t<!-- No role=\"tab\"/aria-selected here: with no script to update them a\n\t\t static aria-selected would lie after the first switch. The labels\n\t\t are the radios' visual skin and accessible name; the radios carry\n\t\t the live selection state natively. -->\n\t\t<ul class=\"nav nav-tabs flex-nowrap overflow-x-auto overflow-y-hidden\">\n\t\t\t@for (tab of tabPages(); track tab) {\n\t\t\t\t@if (tab.headerTemplate()) {\n\t\t\t\t\t<li class=\"nav-item\">\n\t\t\t\t\t\t<label\n\t\t\t\t\t\t\t[for]=\"tab.tabName()\"\n\t\t\t\t\t\t\t[id]=\"tab.tabName() + '-header'\"\n\t\t\t\t\t\t\tclass=\"nav-link text-nowrap\"\n\t\t\t\t\t\t\t[class.active]=\"activeTabValue === tab\"\n\t\t\t\t\t\t\t[class.disabled]=\"tab.disabled()\">\n\t\t\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"tab.headerTemplate()!.template\"></ng-container>\n\t\t\t\t\t\t</label>\n\t\t\t\t\t</li>\n\t\t\t\t}\n\t\t\t}\n\t\t</ul>\n\t</ng-template>\n\t@if (topTabs()) {\n\t\t<div class=\"overflow-hidden mw-100 tsc\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"tabStrip\"></ng-container>\n\t\t</div>\n\t}\n\t<div class=\"tab-content flex-grow-1 overflow-auto\" bsNoNoscript [class.border]=\"border() && activeTabValue\" [class.border-top]=\"border() && !activeTabValue\">\n\t\t<ng-content></ng-content>\n\t</div>\n\t@if (bottomTabs()) {\n\t\t<div class=\"overflow-hidden mw-100 tsc bottom-tabs\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"tabStrip\"></ng-container>\n\t\t</div>\n\t}\n} @else {\n\t<mp-tab-control #wc\n\t\t[attr.tabs-position]=\"tabsPosition()\"\n\t\t[attr.border]=\"border() ? null : 'false'\"\n\t\t[attr.active-tab]=\"activeTabName()\"\n\t\t[attr.select-first-tab]=\"selectFirstTab() ? null : 'false'\"\n\t\t(tab-activate)=\"onTabActivate($event)\">\n\t\t@for (tab of tabPages(); track tab) {\n\t\t\t@if (tab.headerTemplate()) {\n\t\t\t\t<span [attr.slot]=\"tab.tabName() + '-header'\">\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"tab.headerTemplate()!.template\"></ng-container>\n\t\t\t\t</span>\n\t\t\t}\n\t\t}\n\t\t<ng-content></ng-content>\n\t</mp-tab-control>\n}\n", styles: [":host ::ng-deep .nav{--bs-nav-link-padding-x: 1rem;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-link-color);--bs-nav-link-hover-color: var(--bs-link-hover-color);--bs-nav-link-disabled-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}:host ::ng-deep .nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;background:none;border:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media(prefers-reduced-motion:reduce){:host ::ng-deep .nav-link{transition:none}}:host ::ng-deep .nav-link:hover,:host ::ng-deep .nav-link:focus{color:var(--bs-nav-link-hover-color)}:host ::ng-deep .nav-link:focus-visible{outline:0;box-shadow:0 0 0 .25rem #0d6efd40}:host ::ng-deep .nav-link.disabled,:host ::ng-deep .nav-link:disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}:host ::ng-deep .nav-tabs{--bs-nav-tabs-border-width: var(--bs-border-width);--bs-nav-tabs-border-color: var(--bs-border-color);--bs-nav-tabs-border-radius: var(--bs-border-radius);--bs-nav-tabs-link-hover-border-color: var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);--bs-nav-tabs-link-active-color: var(--bs-emphasis-color);--bs-nav-tabs-link-active-bg: var(--bs-body-bg);--bs-nav-tabs-link-active-border-color: var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}:host ::ng-deep .nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}:host ::ng-deep .nav-tabs .nav-link:hover,:host ::ng-deep .nav-tabs .nav-link:focus{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}:host ::ng-deep .nav-tabs .nav-link.active,:host ::ng-deep .nav-tabs .nav-item.show .nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host ::ng-deep .nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}:host ::ng-deep .nav-pills{--bs-nav-pills-border-radius: var(--bs-border-radius);--bs-nav-pills-link-active-color: #fff;--bs-nav-pills-link-active-bg: #0d6efd}:host ::ng-deep .nav-pills .nav-link{border-radius:var(--bs-nav-pills-border-radius)}:host ::ng-deep .nav-pills .nav-link.active,:host ::ng-deep .nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}:host ::ng-deep .nav-underline{--bs-nav-underline-gap: 1rem;--bs-nav-underline-border-width: .125rem;--bs-nav-underline-link-active-color: var(--bs-emphasis-color);gap:var(--bs-nav-underline-gap)}:host ::ng-deep .nav-underline .nav-link{padding-right:0;padding-left:0;border-bottom:var(--bs-nav-underline-border-width) solid transparent}:host ::ng-deep .nav-underline .nav-link:hover,:host ::ng-deep .nav-underline .nav-link:focus{border-bottom-color:currentcolor}:host ::ng-deep .nav-underline .nav-link.active,:host ::ng-deep .nav-underline .show>.nav-link{font-weight:700;color:var(--bs-nav-underline-link-active-color);border-bottom-color:currentcolor}:host ::ng-deep .nav-fill>.nav-link,:host ::ng-deep .nav-fill .nav-item{flex:1 1 auto;text-align:center}:host ::ng-deep .nav-justified>.nav-link,:host ::ng-deep .nav-justified .nav-item{flex-grow:1;flex-basis:0;text-align:center}:host ::ng-deep .nav-fill .nav-item .nav-link,:host ::ng-deep .nav-justified .nav-item .nav-link{width:100%}:host ::ng-deep .tab-content>.tab-pane{display:none}:host ::ng-deep .tab-content>.active{display:block}:host ::ng-deep .tab-content{margin-top:-1px}.tsc{max-height:41px;top:2px;z-index:10;flex-shrink:0}.tsc .nav.nav-tabs{border-bottom:0}.tsc.bottom-tabs{margin-top:-1px}.tsc.bottom-tabs .nav.nav-tabs{border-bottom-width:0px}.tsc.bottom-tabs .nav.nav-tabs .nav-link{border:1px solid transparent;border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:.25rem;border-bottom-right-radius:.25rem}.tsc.bottom-tabs .nav.nav-tabs .nav-item{margin-bottom:2px;margin-top:-1px}.tsc.bottom-tabs .nav.nav-tabs .nav-item.show .nav-link,.tsc.bottom-tabs .nav.nav-tabs .nav-link.active{border-color:var(--bs-body-bg) var(--bs-border-color) var(--bs-border-color) var(--bs-border-color)}.tab-content.noscript::ng-deep>bs-tab-page>.tab-page-content{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;margin-top:-1px}.overflow-y-hidden{overflow-y:hidden}.tsc .nav-link{cursor:pointer}input.tab-radio{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}:host input.noscript:nth-of-type(1):checked~.tsc .nav-item:nth-child(1)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(1):focus-visible~.tsc .nav-item:nth-child(1)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(2):checked~.tsc .nav-item:nth-child(2)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(2):focus-visible~.tsc .nav-item:nth-child(2)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(3):checked~.tsc .nav-item:nth-child(3)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(3):focus-visible~.tsc .nav-item:nth-child(3)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(4):checked~.tsc .nav-item:nth-child(4)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(4):focus-visible~.tsc .nav-item:nth-child(4)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(5):checked~.tsc .nav-item:nth-child(5)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(5):focus-visible~.tsc .nav-item:nth-child(5)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(6):checked~.tsc .nav-item:nth-child(6)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(6):focus-visible~.tsc .nav-item:nth-child(6)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(7):checked~.tsc .nav-item:nth-child(7)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(7):focus-visible~.tsc .nav-item:nth-child(7)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(8):checked~.tsc .nav-item:nth-child(8)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(8):focus-visible~.tsc .nav-item:nth-child(8)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(9):checked~.tsc .nav-item:nth-child(9)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(9):focus-visible~.tsc .nav-item:nth-child(9)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(10):checked~.tsc .nav-item:nth-child(10)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(10):focus-visible~.tsc .nav-item:nth-child(10)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(11):checked~.tsc .nav-item:nth-child(11)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(11):focus-visible~.tsc .nav-item:nth-child(11)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(12):checked~.tsc .nav-item:nth-child(12)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(12):focus-visible~.tsc .nav-item:nth-child(12)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(13):checked~.tsc .nav-item:nth-child(13)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(13):focus-visible~.tsc .nav-item:nth-child(13)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(14):checked~.tsc .nav-item:nth-child(14)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(14):focus-visible~.tsc .nav-item:nth-child(14)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(15):checked~.tsc .nav-item:nth-child(15)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(15):focus-visible~.tsc .nav-item:nth-child(15)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(16):checked~.tsc .nav-item:nth-child(16)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(16):focus-visible~.tsc .nav-item:nth-child(16)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(17):checked~.tsc .nav-item:nth-child(17)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(17):focus-visible~.tsc .nav-item:nth-child(17)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(18):checked~.tsc .nav-item:nth-child(18)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(18):focus-visible~.tsc .nav-item:nth-child(18)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(19):checked~.tsc .nav-item:nth-child(19)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(19):focus-visible~.tsc .nav-item:nth-child(19)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host input.noscript:nth-of-type(20):checked~.tsc .nav-item:nth-child(20)>.nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}:host input.noscript:nth-of-type(20):focus-visible~.tsc .nav-item:nth-child(20)>.nav-link{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:-2px}:host ::ng-deep input.noscript:nth-of-type(1):checked~.tab-content>bs-tab-page:nth-child(1)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(2):checked~.tab-content>bs-tab-page:nth-child(2)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(3):checked~.tab-content>bs-tab-page:nth-child(3)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(4):checked~.tab-content>bs-tab-page:nth-child(4)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(5):checked~.tab-content>bs-tab-page:nth-child(5)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(6):checked~.tab-content>bs-tab-page:nth-child(6)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(7):checked~.tab-content>bs-tab-page:nth-child(7)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(8):checked~.tab-content>bs-tab-page:nth-child(8)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(9):checked~.tab-content>bs-tab-page:nth-child(9)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(10):checked~.tab-content>bs-tab-page:nth-child(10)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(11):checked~.tab-content>bs-tab-page:nth-child(11)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(12):checked~.tab-content>bs-tab-page:nth-child(12)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(13):checked~.tab-content>bs-tab-page:nth-child(13)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(14):checked~.tab-content>bs-tab-page:nth-child(14)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(15):checked~.tab-content>bs-tab-page:nth-child(15)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(16):checked~.tab-content>bs-tab-page:nth-child(16)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(17):checked~.tab-content>bs-tab-page:nth-child(17)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(18):checked~.tab-content>bs-tab-page:nth-child(18)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(19):checked~.tab-content>bs-tab-page:nth-child(19)>.tab-page-content{display:block}:host ::ng-deep input.noscript:nth-of-type(20):checked~.tab-content>bs-tab-page:nth-child(20)>.tab-page-content{display:block}\n"] }]
|
|
135
134
|
}], ctorParameters: () => [], propDecorators: { border: [{ type: i0.Input, args: [{ isSignal: true, alias: "border", required: false }] }], selectFirstTab: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectFirstTab", required: false }] }], tabsPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabsPosition", required: false }] }], tabPages: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => BsTabPageComponent), { isSignal: true }] }] } });
|
|
136
135
|
|
|
137
136
|
/**
|