@mintplayer/ng-bootstrap 22.31.0 → 22.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -11
- package/_bootstrap.scss +2 -4
- package/a11y/forms/package.json +4 -0
- package/fesm2022/mintplayer-ng-bootstrap-a11y-forms.mjs +120 -0
- package/fesm2022/mintplayer-ng-bootstrap-a11y-forms.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs +3 -273
- package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +72 -139
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +34 -60
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +24 -27
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs +39 -17
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs +26 -6
- package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +4 -8
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs +169 -240
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +9 -8
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs +6 -8
- package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs +31 -40
- package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs +5 -5
- package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs +316 -211
- package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs +26 -12
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +5 -5
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs +87 -676
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs +52 -119
- package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +16 -24
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +9 -11
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs +9 -9
- package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs +5 -7
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +201 -197
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs +11 -19
- package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs +64 -123
- package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +19 -29
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-for.mjs +8 -4
- package/fesm2022/mintplayer-ng-bootstrap-for.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-form.mjs +54 -35
- package/fesm2022/mintplayer-ng-bootstrap-form.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +72 -99
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs +23 -36
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs +45 -28
- package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-machine.mjs +214 -19
- package/fesm2022/mintplayer-ng-bootstrap-machine.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs +27 -12
- package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs +61 -245
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs +9 -11
- package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-nav.mjs +92 -0
- package/fesm2022/mintplayer-ng-bootstrap-nav.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs +31 -15
- package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +49 -77
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +53 -393
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs +11 -9
- package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +29 -49
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs +21 -12
- package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs +12 -12
- package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs +27 -49
- package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs +29 -15
- package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +57 -253
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs +60 -335
- package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +48 -57
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs +11 -15
- package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-radio.mjs +235 -168
- package/fesm2022/mintplayer-ng-bootstrap-radio.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs +86 -44
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +80 -137
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs +29 -326
- package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs +47 -63
- package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +16 -22
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +48 -171
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs +12 -10
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-shell.mjs +52 -108
- package/fesm2022/mintplayer-ng-bootstrap-shell.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +9 -9
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs +25 -11
- package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs +6 -6
- package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs +37 -32
- package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +61 -99
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs +31 -30
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-theming.mjs +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-theming.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs +67 -306
- package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs +7 -9
- package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +14 -15
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +109 -143
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +51 -154
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs +9 -11
- package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +11 -13
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +160 -232
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
- package/nav/package.json +4 -0
- package/package.json +11 -28
- package/types/mintplayer-ng-bootstrap-a11y-forms.d.ts +64 -0
- package/types/mintplayer-ng-bootstrap-a11y.d.ts +3 -142
- package/types/mintplayer-ng-bootstrap-accordion.d.ts +51 -86
- package/types/mintplayer-ng-bootstrap-alert.d.ts +21 -28
- package/types/mintplayer-ng-bootstrap-badge.d.ts +13 -12
- package/types/mintplayer-ng-bootstrap-breadcrumb.d.ts +31 -8
- package/types/mintplayer-ng-bootstrap-button-group.d.ts +15 -4
- package/types/mintplayer-ng-bootstrap-calendar.d.ts +1 -5
- package/types/mintplayer-ng-bootstrap-card.d.ts +102 -76
- package/types/mintplayer-ng-bootstrap-carousel.d.ts +4 -6
- package/types/mintplayer-ng-bootstrap-charts-hierarchy.d.ts +4 -6
- package/types/mintplayer-ng-bootstrap-charts-sparkline.d.ts +24 -17
- package/types/mintplayer-ng-bootstrap-charts-trend.d.ts +3 -3
- package/types/mintplayer-ng-bootstrap-checkbox.d.ts +144 -92
- package/types/mintplayer-ng-bootstrap-close.d.ts +17 -5
- package/types/mintplayer-ng-bootstrap-code-snippet.d.ts +3 -3
- package/types/mintplayer-ng-bootstrap-color-picker.d.ts +42 -226
- package/types/mintplayer-ng-bootstrap-context-menu.d.ts +35 -17
- package/types/mintplayer-ng-bootstrap-datatable.d.ts +23 -35
- package/types/mintplayer-ng-bootstrap-datepicker.d.ts +3 -7
- package/types/mintplayer-ng-bootstrap-datetime-picker.d.ts +3 -5
- package/types/mintplayer-ng-bootstrap-dock.d.ts +6 -8
- package/types/mintplayer-ng-bootstrap-dropdown.d.ts +122 -54
- package/types/mintplayer-ng-bootstrap-file-manager.d.ts +10 -20
- package/types/mintplayer-ng-bootstrap-file-upload.d.ts +62 -44
- package/types/mintplayer-ng-bootstrap-floating-labels.d.ts +12 -15
- package/types/mintplayer-ng-bootstrap-for.d.ts +5 -5
- package/types/mintplayer-ng-bootstrap-form.d.ts +33 -11
- package/types/mintplayer-ng-bootstrap-grid.d.ts +42 -21
- package/types/mintplayer-ng-bootstrap-input-group.d.ts +11 -22
- package/types/mintplayer-ng-bootstrap-list-group.d.ts +31 -10
- package/types/mintplayer-ng-bootstrap-machine.d.ts +107 -5
- package/types/mintplayer-ng-bootstrap-marquee.d.ts +18 -5
- package/types/mintplayer-ng-bootstrap-modal.d.ts +43 -84
- package/types/mintplayer-ng-bootstrap-multi-range.d.ts +4 -6
- package/types/mintplayer-ng-bootstrap-nav.d.ts +52 -0
- package/types/mintplayer-ng-bootstrap-navbar-toggler.d.ts +22 -6
- package/types/mintplayer-ng-bootstrap-navbar.d.ts +27 -38
- package/types/mintplayer-ng-bootstrap-offcanvas.d.ts +35 -112
- package/types/mintplayer-ng-bootstrap-otp-input.d.ts +5 -4
- package/types/mintplayer-ng-bootstrap-pagination.d.ts +22 -34
- package/types/mintplayer-ng-bootstrap-parallax.d.ts +14 -4
- package/types/mintplayer-ng-bootstrap-phone-input.d.ts +6 -7
- package/types/mintplayer-ng-bootstrap-placeholder.d.ts +19 -18
- package/types/mintplayer-ng-bootstrap-playlist-toggler.d.ts +22 -6
- package/types/mintplayer-ng-bootstrap-popover.d.ts +36 -59
- package/types/mintplayer-ng-bootstrap-priority-nav.d.ts +80 -68
- package/types/mintplayer-ng-bootstrap-progress-bar.d.ts +35 -18
- package/types/mintplayer-ng-bootstrap-query-builder.d.ts +12 -20
- package/types/mintplayer-ng-bootstrap-radio.d.ts +112 -84
- package/types/mintplayer-ng-bootstrap-range.d.ts +36 -13
- package/types/mintplayer-ng-bootstrap-rating.d.ts +33 -42
- package/types/mintplayer-ng-bootstrap-resizable.d.ts +24 -114
- package/types/mintplayer-ng-bootstrap-ribbon.d.ts +21 -37
- package/types/mintplayer-ng-bootstrap-scheduler.d.ts +19 -27
- package/types/mintplayer-ng-bootstrap-scrollspy.d.ts +26 -50
- package/types/mintplayer-ng-bootstrap-select.d.ts +9 -8
- package/types/mintplayer-ng-bootstrap-shell.d.ts +40 -63
- package/types/mintplayer-ng-bootstrap-signature-pad.d.ts +5 -7
- package/types/mintplayer-ng-bootstrap-spinner.d.ts +14 -7
- package/types/mintplayer-ng-bootstrap-splitter.d.ts +3 -3
- package/types/mintplayer-ng-bootstrap-sticky-footer.d.ts +23 -13
- package/types/mintplayer-ng-bootstrap-tab-control.d.ts +61 -57
- package/types/mintplayer-ng-bootstrap-table.d.ts +23 -18
- package/types/mintplayer-ng-bootstrap-tile-manager.d.ts +94 -154
- package/types/mintplayer-ng-bootstrap-timeline.d.ts +23 -25
- package/types/mintplayer-ng-bootstrap-timepicker.d.ts +4 -8
- package/types/mintplayer-ng-bootstrap-toast.d.ts +94 -55
- package/types/mintplayer-ng-bootstrap-tooltip.d.ts +34 -33
- package/types/mintplayer-ng-bootstrap-tree-select.d.ts +14 -16
- package/types/mintplayer-ng-bootstrap-treeview.d.ts +12 -13
- package/types/mintplayer-ng-bootstrap-typeahead.d.ts +109 -133
- package/calendar-month/package.json +0 -4
- package/container/package.json +0 -4
- package/dropdown-divider/package.json +0 -4
- package/dropdown-menu/package.json +0 -4
- package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs +0 -136
- package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs.map +0 -1
- package/fesm2022/mintplayer-ng-bootstrap-container.mjs +0 -18
- package/fesm2022/mintplayer-ng-bootstrap-container.mjs.map +0 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs +0 -23
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs.map +0 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +0 -161
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +0 -1
- package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs +0 -32
- package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs.map +0 -1
- package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs +0 -31
- package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs.map +0 -1
- package/has-overlay/package.json +0 -4
- package/no-noscript/package.json +0 -4
- package/types/mintplayer-ng-bootstrap-calendar-month.d.ts +0 -54
- package/types/mintplayer-ng-bootstrap-container.d.ts +0 -8
- package/types/mintplayer-ng-bootstrap-dropdown-divider.d.ts +0 -8
- package/types/mintplayer-ng-bootstrap-dropdown-menu.d.ts +0 -94
- package/types/mintplayer-ng-bootstrap-has-overlay.d.ts +0 -22
- package/types/mintplayer-ng-bootstrap-no-noscript.d.ts +0 -11
|
@@ -1,363 +1,88 @@
|
|
|
1
|
-
import { isPlatformServer, NgClass, NgTemplateOutlet } from '@angular/common';
|
|
2
1
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { inject, TemplateRef,
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import { inject, TemplateRef, Directive, ElementRef, input, booleanAttribute, output, contentChild, computed, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import { NgTemplateOutlet } from '@angular/common';
|
|
4
|
+
import { useCore, useScopedStyles, MpInstanceStyleDirective, MpPropsDirective } from '@mintplayer/ng-bootstrap/machine';
|
|
5
|
+
import { priorityNavCore, priorityNavScopedStyles } from '@mintplayer/ui-core/priority-nav';
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
// GENERATED from the priority-nav manifest (priority-nav) by @mintplayer/nx-component-compiler. Do not edit.
|
|
8
|
+
/** The `itemTemplate` slot of `<bs-priority-nav>`: `<ng-template bsPriorityNavItemTemplate>` or `*bsPriorityNavItemTemplate`. */
|
|
9
|
+
class BsPriorityNavItemTemplateDirective {
|
|
9
10
|
constructor() {
|
|
10
11
|
this.templateRef = inject(TemplateRef);
|
|
11
|
-
this.priority = input(null, { ...(ngDevMode ? { debugName: "priority" } : /* istanbul ignore next */ {}), alias: 'bsPriorityNavItem' });
|
|
12
|
-
this.hideBelow = input(null, { ...(ngDevMode ? { debugName: "hideBelow" } : /* istanbul ignore next */ {}), alias: 'bsPriorityNavItemHideBelow' });
|
|
13
|
-
this.id = ++BsPriorityNavItemDirective.idCounter;
|
|
14
12
|
}
|
|
15
|
-
static
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
static ngTemplateContextGuard(_dir, ctx) {
|
|
14
|
+
return true;
|
|
15
|
+
}
|
|
16
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsPriorityNavItemTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
17
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: BsPriorityNavItemTemplateDirective, isStandalone: true, selector: "[bsPriorityNavItemTemplate]", ngImport: i0 }); }
|
|
18
18
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type:
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsPriorityNavItemTemplateDirective, decorators: [{
|
|
20
20
|
type: Directive,
|
|
21
|
-
args: [{
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
* A LOWER priority number means MORE important (priority 1 stays visible longest). Items
|
|
34
|
-
* without a priority are least important and overflow before any prioritized item. Ties are
|
|
35
|
-
* broken by declaration order: the last-declared overflows first when overflowing from the
|
|
36
|
-
* end, the first-declared when overflowing from the start.
|
|
37
|
-
*/
|
|
38
|
-
function computeOverflowOrder(items, fromEnd) {
|
|
39
|
-
return items
|
|
40
|
-
.map((item, index) => ({ item, index }))
|
|
41
|
-
.sort((a, b) => {
|
|
42
|
-
const pa = a.item.priority;
|
|
43
|
-
const pb = b.item.priority;
|
|
44
|
-
if (pa === null && pb !== null)
|
|
45
|
-
return -1;
|
|
46
|
-
if (pa !== null && pb === null)
|
|
47
|
-
return 1;
|
|
48
|
-
if (pa !== null && pb !== null && pa !== pb)
|
|
49
|
-
return pb - pa;
|
|
50
|
-
return fromEnd ? b.index - a.index : a.index - b.index;
|
|
51
|
-
})
|
|
52
|
-
.map(({ item }) => item);
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* How far a width may exceed the strip and still count as fitting. The item widths come from a
|
|
56
|
-
* separate measure strip and the strip width from the live one, and each is rounded on its own
|
|
57
|
-
* (float32 layout values, Firefox's 1/60px app units), so a row of items laid out at exactly its
|
|
58
|
-
* own width can measure a hair wider than itself. Half a pixel is above every such rounding error
|
|
59
|
-
* and below one device pixel at a DPR of 2. Issue #428.
|
|
60
|
-
*/
|
|
61
|
-
const SUBPIXEL_TOLERANCE = 0.5;
|
|
62
|
-
/**
|
|
63
|
-
* The ids of the items that do not fit. When every item fits there is no More toggle, so N
|
|
64
|
-
* items take N-1 gaps. Once one overflows the toggle appears: with K items kicked out, the
|
|
65
|
-
* strip holds N-K items plus the toggle, so N-K gaps. Items are kicked in overflow order until
|
|
66
|
-
* the rest and the toggle fit.
|
|
67
|
-
*/
|
|
68
|
-
function computeOverflowIds({ stripWidth, moreWidth, gap, widths, order }) {
|
|
69
|
-
if (stripWidth === 0 || widths.size === 0)
|
|
70
|
-
return new Set();
|
|
71
|
-
const sumWidths = [...widths.values()].reduce((a, b) => a + b, 0);
|
|
72
|
-
if (sumWidths + gap * Math.max(0, widths.size - 1) <= stripWidth + SUBPIXEL_TOLERANCE)
|
|
73
|
-
return new Set();
|
|
74
|
-
const result = order.reduce((acc, id) => {
|
|
75
|
-
if (acc.done || acc.visibleSum + moreWidth + gap * acc.visibleCount <= stripWidth + SUBPIXEL_TOLERANCE) {
|
|
76
|
-
return { ...acc, done: true };
|
|
77
|
-
}
|
|
78
|
-
return {
|
|
79
|
-
visibleSum: acc.visibleSum - (widths.get(id) ?? 0),
|
|
80
|
-
visibleCount: acc.visibleCount - 1,
|
|
81
|
-
ids: [...acc.ids, id],
|
|
82
|
-
done: false,
|
|
83
|
-
};
|
|
84
|
-
}, { visibleSum: sumWidths, visibleCount: widths.size, ids: [], done: false });
|
|
85
|
-
return new Set(result.ids);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* Whether a click inside the overflow panel was an item ACTION, which should close the panel.
|
|
90
|
-
*
|
|
91
|
-
* The first interactive element on the event path, between the target and the panel, decides:
|
|
92
|
-
* - a link, button or menuitem-like role closes the panel, because activating it did something;
|
|
93
|
-
* - unless it opens a menu of its own (`aria-haspopup`, `aria-expanded`, `<summary>`), or is
|
|
94
|
-
* disabled, in which case the user is not done with the panel;
|
|
95
|
-
* - a form control or label keeps the panel open, as does a click that hits no interactive
|
|
96
|
-
* element at all (padding, plain text).
|
|
97
|
-
*
|
|
98
|
-
* Walks `composedPath()`, not `target.closest()`: a nested web component's trigger lives in its
|
|
99
|
-
* shadow root, where `closest()` from the retargeted host would never see it.
|
|
100
|
-
*/
|
|
101
|
-
function isClosingActivation(path, panel) {
|
|
102
|
-
const end = path.indexOf(panel);
|
|
103
|
-
if (end < 0)
|
|
104
|
-
return false;
|
|
105
|
-
const control = path
|
|
106
|
-
.slice(0, end)
|
|
107
|
-
.find((target) => target instanceof Element && target.matches(INTERACTIVE));
|
|
108
|
-
if (!control || !control.matches(ACTION))
|
|
109
|
-
return false;
|
|
110
|
-
const popup = control.getAttribute('aria-haspopup');
|
|
111
|
-
if (popup !== null && popup !== 'false')
|
|
112
|
-
return false;
|
|
113
|
-
if (control.hasAttribute('aria-expanded'))
|
|
114
|
-
return false;
|
|
115
|
-
if (control.getAttribute('aria-disabled') === 'true')
|
|
116
|
-
return false;
|
|
117
|
-
return !control.matches(':disabled');
|
|
21
|
+
args: [{ selector: '[bsPriorityNavItemTemplate]' }]
|
|
22
|
+
}] });
|
|
23
|
+
/** The `moreTemplate` slot of `<bs-priority-nav>`: `<ng-template bsPriorityNavMoreTemplate>` or `*bsPriorityNavMoreTemplate`. */
|
|
24
|
+
class BsPriorityNavMoreTemplateDirective {
|
|
25
|
+
constructor() {
|
|
26
|
+
this.templateRef = inject(TemplateRef);
|
|
27
|
+
}
|
|
28
|
+
static ngTemplateContextGuard(_dir, ctx) {
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsPriorityNavMoreTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
32
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: BsPriorityNavMoreTemplateDirective, isStandalone: true, selector: "[bsPriorityNavMoreTemplate]", ngImport: i0 }); }
|
|
118
33
|
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
'[role=menuitem]',
|
|
125
|
-
'[role=menuitemcheckbox]',
|
|
126
|
-
'[role=menuitemradio]',
|
|
127
|
-
].join(',');
|
|
128
|
-
/** Everything that stops the walk: the actions, plus the controls that must keep the panel open. */
|
|
129
|
-
const INTERACTIVE = [ACTION, 'summary', 'input', 'select', 'textarea', 'label'].join(',');
|
|
130
|
-
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsPriorityNavMoreTemplateDirective, decorators: [{
|
|
35
|
+
type: Directive,
|
|
36
|
+
args: [{ selector: '[bsPriorityNavMoreTemplate]' }]
|
|
37
|
+
}] });
|
|
38
|
+
/** A horizontal navigation that keeps as many `items` visible as fit and moves the rest, least important (highest `priority`) first, into a "More" disclosure. Works without JavaScript through `hideBelow` breakpoints. */
|
|
131
39
|
class BsPriorityNavComponent {
|
|
132
|
-
|
|
40
|
+
#core;
|
|
133
41
|
constructor() {
|
|
134
|
-
|
|
135
|
-
this.
|
|
136
|
-
this.
|
|
137
|
-
|
|
138
|
-
this.isServerSide = isPlatformServer(this.platformId);
|
|
139
|
-
this.uid = `pn-${++BsPriorityNavComponent.counter}`;
|
|
140
|
-
// Inputs
|
|
42
|
+
/** The host element. */
|
|
43
|
+
this.elementRef = inject(ElementRef);
|
|
44
|
+
this.items = input([], /* @ts-ignore */
|
|
45
|
+
...(ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []));
|
|
141
46
|
this.moreLabel = input('More', /* @ts-ignore */
|
|
142
47
|
...(ngDevMode ? [{ debugName: "moreLabel" }] : /* istanbul ignore next */ []));
|
|
143
|
-
this
|
|
144
|
-
...(ngDevMode ? [{ debugName: "moreLabelTemplate" }] : /* istanbul ignore next */ []));
|
|
48
|
+
/** Below this breakpoint every item is in the overflow. */
|
|
145
49
|
this.collapseAt = input(null, /* @ts-ignore */
|
|
146
50
|
...(ngDevMode ? [{ debugName: "collapseAt" }] : /* istanbul ignore next */ []));
|
|
147
51
|
this.overflowFrom = input('end', /* @ts-ignore */
|
|
148
52
|
...(ngDevMode ? [{ debugName: "overflowFrom" }] : /* istanbul ignore next */ []));
|
|
149
|
-
this.hideEmptyMore = input(true, /*
|
|
150
|
-
|
|
151
|
-
this.
|
|
152
|
-
...(ngDevMode ? [{ debugName: "
|
|
153
|
-
|
|
53
|
+
this.hideEmptyMore = input(true, { ...(ngDevMode ? { debugName: "hideEmptyMore" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
54
|
+
/** Names the navigation landmark; a consumer `aria-label` wins. */
|
|
55
|
+
this.label = input('Navigation', /* @ts-ignore */
|
|
56
|
+
...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
|
|
57
|
+
/** The items in the overflow changed. */
|
|
154
58
|
this.overflowChange = output();
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
this
|
|
163
|
-
|
|
164
|
-
this.
|
|
165
|
-
|
|
166
|
-
// included). Optional on purpose: the button exists only in the JS branch of the template (the
|
|
167
|
-
// server renders a label instead), so this query is empty on the server.
|
|
168
|
-
this.moreMeasure = viewChild('moreSize', /* @ts-ignore */
|
|
169
|
-
...(ngDevMode ? [{ debugName: "moreMeasure" }] : /* istanbul ignore next */ []));
|
|
170
|
-
this.moreButton = viewChild('moreButton', { ...(ngDevMode ? { debugName: "moreButton" } : /* istanbul ignore next */ {}), read: ElementRef });
|
|
171
|
-
this.overflowPanel = viewChild('overflowPanel', { ...(ngDevMode ? { debugName: "overflowPanel" } : /* istanbul ignore next */ {}), read: ElementRef });
|
|
172
|
-
// Open/closed state for the More menu (JS path)
|
|
173
|
-
this.isMoreOpen = signal(false, /* @ts-ignore */
|
|
174
|
-
...(ngDevMode ? [{ debugName: "isMoreOpen" }] : /* istanbul ignore next */ []));
|
|
175
|
-
this.windowWidth = signal(0, /* @ts-ignore */
|
|
176
|
-
...(ngDevMode ? [{ debugName: "windowWidth" }] : /* istanbul ignore next */ []));
|
|
177
|
-
this.collapseAtPx = computed(() => {
|
|
178
|
-
switch (this.collapseAt()) {
|
|
179
|
-
case 'xxl': return 1400;
|
|
180
|
-
case 'xl': return 1200;
|
|
181
|
-
case 'lg': return 992;
|
|
182
|
-
case 'md': return 768;
|
|
183
|
-
case 'sm': return 576;
|
|
184
|
-
case 'xs': return 0;
|
|
185
|
-
default: return null;
|
|
186
|
-
}
|
|
187
|
-
}, /* @ts-ignore */
|
|
188
|
-
...(ngDevMode ? [{ debugName: "collapseAtPx" }] : /* istanbul ignore next */ []));
|
|
189
|
-
this.forceCollapse = computed(() => {
|
|
190
|
-
const bp = this.collapseAtPx();
|
|
191
|
-
if (bp === null)
|
|
192
|
-
return false;
|
|
193
|
-
const w = this.windowWidth();
|
|
194
|
-
return w > 0 && w < bp;
|
|
195
|
-
}, /* @ts-ignore */
|
|
196
|
-
...(ngDevMode ? [{ debugName: "forceCollapse" }] : /* istanbul ignore next */ []));
|
|
197
|
-
// Items in overflow order (see computeOverflowOrder for the priority convention).
|
|
198
|
-
this.overflowOrder = computed(() => {
|
|
199
|
-
const entries = this.items().map((item) => ({ item, priority: item.priority() }));
|
|
200
|
-
return computeOverflowOrder(entries, this.overflowFrom() === 'end').map(({ item }) => item);
|
|
201
|
-
}, /* @ts-ignore */
|
|
202
|
-
...(ngDevMode ? [{ debugName: "overflowOrder" }] : /* istanbul ignore next */ []));
|
|
203
|
-
// Per-item width map (from measure strip, indexed by item id, in items() order)
|
|
204
|
-
this.itemWidths = computed(() => {
|
|
205
|
-
if (this.isServerSide)
|
|
206
|
-
return new Map();
|
|
207
|
-
const sizers = this.measureSizers();
|
|
208
|
-
return new Map(this.items()
|
|
209
|
-
.map((item, i) => [item.id, sizers[i]?.width()])
|
|
210
|
-
.filter((entry) => entry[1] !== undefined));
|
|
211
|
-
}, /* @ts-ignore */
|
|
212
|
-
...(ngDevMode ? [{ debugName: "itemWidths" }] : /* istanbul ignore next */ []));
|
|
213
|
-
// The strip's `column-gap` (or `gap`) value in pixels. Read from computed
|
|
214
|
-
// style so consumers' `gap` declarations get factored into the overflow math
|
|
215
|
-
// — without this, items overflow late or layout-shift when a gap is set.
|
|
216
|
-
// Re-read whenever the strip width changes (covers media-query gap changes
|
|
217
|
-
// that piggy-back on the same breakpoint).
|
|
218
|
-
this.itemGap = computed(() => {
|
|
219
|
-
if (this.isServerSide)
|
|
220
|
-
return 0;
|
|
221
|
-
this.stripSizer().width();
|
|
222
|
-
const cs = getComputedStyle(this.stripElement().nativeElement);
|
|
223
|
-
const raw = parseFloat(cs.columnGap || cs.gap || '0');
|
|
224
|
-
return Number.isFinite(raw) ? raw : 0;
|
|
225
|
-
}, /* @ts-ignore */
|
|
226
|
-
...(ngDevMode ? [{ debugName: "itemGap" }] : /* istanbul ignore next */ []));
|
|
227
|
-
this.moreWidth = computed(() => this.moreMeasure()?.width(), /* @ts-ignore */
|
|
228
|
-
...(ngDevMode ? [{ debugName: "moreWidth" }] : /* istanbul ignore next */ []));
|
|
229
|
-
// Feeds `:host { min-width: var(--priority-nav-more-width, 0) }`: the host may shrink below its
|
|
230
|
-
// items, so a shrink-wrapped nav can collapse, but never below the More toggle.
|
|
231
|
-
this.hostMinWidth = computed(() => {
|
|
232
|
-
const width = this.items().length > 0 ? this.moreWidth() : undefined;
|
|
233
|
-
return width === undefined ? null : `${width}px`;
|
|
234
|
-
}, /* @ts-ignore */
|
|
235
|
-
...(ngDevMode ? [{ debugName: "hostMinWidth" }] : /* istanbul ignore next */ []));
|
|
236
|
-
this.overflowingIds = computed(() => {
|
|
237
|
-
if (this.isServerSide)
|
|
238
|
-
return new Set();
|
|
239
|
-
if (this.forceCollapse()) {
|
|
240
|
-
return new Set(this.items().map(i => i.id));
|
|
241
|
-
}
|
|
242
|
-
return computeOverflowIds({
|
|
243
|
-
stripWidth: this.stripSizer().width() ?? 0,
|
|
244
|
-
moreWidth: this.moreWidth() ?? 0,
|
|
245
|
-
gap: this.itemGap(),
|
|
246
|
-
widths: this.itemWidths(),
|
|
247
|
-
order: this.overflowOrder().map((item) => item.id),
|
|
248
|
-
});
|
|
249
|
-
}, /* @ts-ignore */
|
|
250
|
-
...(ngDevMode ? [{ debugName: "overflowingIds" }] : /* istanbul ignore next */ []));
|
|
251
|
-
this.hasAnyOverflow = computed(() => this.overflowingIds().size > 0, /* @ts-ignore */
|
|
252
|
-
...(ngDevMode ? [{ debugName: "hasAnyOverflow" }] : /* istanbul ignore next */ []));
|
|
253
|
-
this.showMoreButton = computed(() => !this.hideEmptyMore() || this.hasAnyOverflow(), /* @ts-ignore */
|
|
254
|
-
...(ngDevMode ? [{ debugName: "showMoreButton" }] : /* istanbul ignore next */ []));
|
|
255
|
-
// When every item is overflowing the toggle ends up at the start edge of
|
|
256
|
-
// the strip (no inline items push it). Anchor the dropdown to that side
|
|
257
|
-
// so it stays visually attached to the toggle.
|
|
258
|
-
this.fullyCollapsed = computed(() => {
|
|
259
|
-
const items = this.items();
|
|
260
|
-
return items.length > 0 && this.overflowingIds().size === items.length;
|
|
261
|
-
}, /* @ts-ignore */
|
|
262
|
-
...(ngDevMode ? [{ debugName: "fullyCollapsed" }] : /* istanbul ignore next */ []));
|
|
263
|
-
// Derived per-item view used by all three rendering passes (measure strip,
|
|
264
|
-
// inline strip, overflow menu). Pre-computes the breakpoint class string and
|
|
265
|
-
// the JS-mode-only hide flags so the template can stay purely declarative —
|
|
266
|
-
// no method calls, no inline `!isServerSide` guards. The SSR/noscript path
|
|
267
|
-
// relies on CSS media queries instead of these flags, so both `hideInline`
|
|
268
|
-
// and `hideInOverflow` are forced to false on the server.
|
|
269
|
-
this.itemsWithMeta = computed(() => {
|
|
270
|
-
const items = this.items();
|
|
271
|
-
const overflowing = this.overflowingIds();
|
|
272
|
-
const ssr = this.isServerSide;
|
|
273
|
-
return items.map(item => {
|
|
274
|
-
const bp = item.hideBelow();
|
|
275
|
-
const isOverflowing = overflowing.has(item.id);
|
|
276
|
-
return {
|
|
277
|
-
item,
|
|
278
|
-
hideBelowClass: bp ? `priority-nav-item-hide-below-${bp}` : '',
|
|
279
|
-
hideInline: !ssr && isOverflowing,
|
|
280
|
-
hideInOverflow: !ssr && !isOverflowing,
|
|
281
|
-
};
|
|
282
|
-
});
|
|
283
|
-
}, /* @ts-ignore */
|
|
284
|
-
...(ngDevMode ? [{ debugName: "itemsWithMeta" }] : /* istanbul ignore next */ []));
|
|
285
|
-
if (!this.isServerSide) {
|
|
286
|
-
this.windowWidth.set(window.innerWidth);
|
|
287
|
-
}
|
|
288
|
-
effect(() => {
|
|
289
|
-
const overflowing = this.overflowingIds();
|
|
290
|
-
const overflowingItems = this.items().filter(i => overflowing.has(i.id));
|
|
291
|
-
this.overflowChange.emit(overflowingItems);
|
|
292
|
-
});
|
|
293
|
-
effect(() => {
|
|
294
|
-
const open = this.isMoreOpen();
|
|
295
|
-
if (open && this.stackToken === null) {
|
|
296
|
-
this.stackToken = this.overlayStack.push();
|
|
297
|
-
}
|
|
298
|
-
else if (!open && this.stackToken !== null) {
|
|
299
|
-
this.overlayStack.release(this.stackToken);
|
|
300
|
-
this.stackToken = null;
|
|
301
|
-
}
|
|
302
|
-
});
|
|
303
|
-
}
|
|
304
|
-
onWindowResize() {
|
|
305
|
-
if (!this.isServerSide) {
|
|
306
|
-
this.windowWidth.set(window.innerWidth);
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
toggleMore() {
|
|
310
|
-
this.isMoreOpen.update(v => !v);
|
|
311
|
-
}
|
|
312
|
-
onEscape() {
|
|
313
|
-
if (this.isMoreOpen() && this.stackToken !== null && this.overlayStack.isTop(this.stackToken)) {
|
|
314
|
-
this.closeMore();
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
/** Closes the panel after an item ACTION; see `isClosingActivation` for what counts as one. */
|
|
318
|
-
onOverflowClick(event) {
|
|
319
|
-
if (event.button !== 0 || !this.isMoreOpen())
|
|
320
|
-
return;
|
|
321
|
-
const panel = this.overflowPanel()?.nativeElement;
|
|
322
|
-
if (panel && isClosingActivation(event.composedPath(), panel)) {
|
|
323
|
-
this.closeMore();
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
/**
|
|
327
|
-
* Closing hides the panel, so focus inside it would fall to `<body>`. It goes back to the More
|
|
328
|
-
* button instead, but only if it is still in the panel: an action that already moved focus
|
|
329
|
-
* elsewhere (a dialog it opened) keeps it.
|
|
330
|
-
*/
|
|
331
|
-
closeMore() {
|
|
332
|
-
const panel = this.overflowPanel()?.nativeElement;
|
|
333
|
-
const focusInPanel = !!panel && panel.contains(panel.ownerDocument.activeElement);
|
|
334
|
-
this.isMoreOpen.set(false);
|
|
335
|
-
if (focusInPanel)
|
|
336
|
-
this.moreButton()?.nativeElement.focus();
|
|
337
|
-
}
|
|
338
|
-
onDocumentClick(event) {
|
|
339
|
-
if (event.button !== 0 || !this.isMoreOpen())
|
|
340
|
-
return;
|
|
341
|
-
if (!this.element.nativeElement.contains(event.target)) {
|
|
342
|
-
this.isMoreOpen.set(false);
|
|
343
|
-
}
|
|
59
|
+
this.itemTemplateSlot = contentChild(BsPriorityNavItemTemplateDirective, /* @ts-ignore */
|
|
60
|
+
...(ngDevMode ? [{ debugName: "itemTemplateSlot" }] : /* istanbul ignore next */ []));
|
|
61
|
+
this.moreTemplateSlot = contentChild(BsPriorityNavMoreTemplateDirective, /* @ts-ignore */
|
|
62
|
+
...(ngDevMode ? [{ debugName: "moreTemplateSlot" }] : /* istanbul ignore next */ []));
|
|
63
|
+
/** The template's named slots. */
|
|
64
|
+
this.slots = computed(() => ({ itemTemplate: this.itemTemplateSlot()?.templateRef, moreTemplate: this.moreTemplateSlot()?.templateRef }), /* @ts-ignore */
|
|
65
|
+
...(ngDevMode ? [{ debugName: "slots" }] : /* istanbul ignore next */ []));
|
|
66
|
+
this.#core = useCore(priorityNavCore, { inputs: () => ({ items: this.items(), moreLabel: this.moreLabel(), collapseAt: this.collapseAt(), overflowFrom: this.overflowFrom(), hideEmptyMore: this.hideEmptyMore(), label: this.label() }), idPrefix: 'bs-priority-nav', outputs: { overflowChange: this.overflowChange }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'priority-nav', role: 'navigation' }) });
|
|
67
|
+
/** The template's props. */
|
|
68
|
+
this.props = this.#core.props;
|
|
69
|
+
useScopedStyles('priority-nav', priorityNavScopedStyles);
|
|
344
70
|
}
|
|
345
71
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsPriorityNavComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
346
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsPriorityNavComponent, isStandalone: true, selector: "bs-priority-nav", inputs: { moreLabel: { classPropertyName: "moreLabel", publicName: "moreLabel", isSignal: true, isRequired: false, transformFunction: null }, moreLabelTemplate: { classPropertyName: "moreLabelTemplate", publicName: "moreLabelTemplate", isSignal: true, isRequired: false, transformFunction: null }, collapseAt: { classPropertyName: "collapseAt", publicName: "collapseAt", isSignal: true, isRequired: false, transformFunction: null }, overflowFrom: { classPropertyName: "overflowFrom", publicName: "overflowFrom", isSignal: true, isRequired: false, transformFunction: null }, hideEmptyMore: { classPropertyName: "hideEmptyMore", publicName: "hideEmptyMore", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { overflowChange: "overflowChange" }, host: { listeners: { "document:click": "onDocumentClick($event)", "document:keydown.escape": "onEscape()", "window:resize": "onWindowResize()" }, properties: { "style.--priority-nav-more-width": "hostMinWidth()" } }, queries: [{ propertyName: "items", predicate: BsPriorityNavItemDirective, isSignal: true }], viewQueries: [{ propertyName: "measureSizers", predicate: ["measureItem"], descendants: true, isSignal: true }, { propertyName: "stripSizer", first: true, predicate: ["stripSize"], descendants: true, isSignal: true }, { propertyName: "stripElement", first: true, predicate: ["stripSize"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "moreMeasure", first: true, predicate: ["moreSize"], descendants: true, isSignal: true }, { propertyName: "moreButton", first: true, predicate: ["moreButton"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "overflowPanel", first: true, predicate: ["overflowPanel"], descendants: true, read: ElementRef, isSignal: true }], ngImport: i0, template: "<nav class=\"priority-nav\" [class.noscript]=\"isServerSide\" [attr.aria-label]=\"ariaLabel()\" bsNoNoscript>\n @if (isServerSide) {\n <!-- The checkbox IS the disclosure control: clipped (not display:none)\n so Tab reaches it, Space toggles it natively, and its checked\n state is a live, self-updating expanded signal \u2014 a static\n aria-expanded here would lie after the first toggle (PRD 11a). -->\n <input type=\"checkbox\" [id]=\"uid + '-more'\" class=\"priority-nav-more-checkbox\" bsNoNoscript\n [attr.aria-controls]=\"uid + '-overflow'\">\n }\n\n @if (!isServerSide) {\n <!-- inert (not just aria-hidden): the clone's links/buttons must be\n unreachable by Tab too, or focus lands on nodes the reader is\n required not to announce. Measurement needs geometry, which inert\n preserves (display:none would zero every measure). -->\n <div class=\"priority-nav-measure-wrapper\" aria-hidden=\"true\" inert>\n <div class=\"priority-nav-measure\">\n @for (entry of itemsWithMeta(); track entry.item.id) {\n <span #measureItem=\"bsObserveSize\" bsObserveSize class=\"priority-nav-measure-item\">\n <ng-container *ngTemplateOutlet=\"entry.item.templateRef\"></ng-container>\n </span>\n }\n </div>\n </div>\n }\n\n <div bsObserveSize #stripSize=\"bsObserveSize\" class=\"priority-nav-strip\">\n @for (entry of itemsWithMeta(); track entry.item.id) {\n <span class=\"priority-nav-item\"\n [class.priority-nav-hidden]=\"entry.hideInline\"\n [ngClass]=\"entry.hideBelowClass\">\n <ng-container *ngTemplateOutlet=\"entry.item.templateRef\"></ng-container>\n </span>\n }\n\n @if (isServerSide) {\n <!-- Visual skin + accessible name for the clipped checkbox; the\n fake role=\"button\"/tabindex pair is gone \u2014 a label does not\n activate on Enter, so it claimed a keyboard it did not have. -->\n <label [for]=\"uid + '-more'\" class=\"priority-nav-more-toggle priority-nav-more-toggle-noscript\">\n <ng-container *ngTemplateOutlet=\"moreLabelTemplate() ?? defaultMoreLabel; context: { $implicit: false }\"></ng-container>\n </label>\n } @else {\n <!-- The slot is what gets measured: its content box is the\n button's border box, so the toggle's padding, the browser's\n button styles and any consumer CSS on the toggle all count.\n With nothing to show it is taken out of flow and made\n invisible, never display:none, which would measure 0 exactly\n when the first overflow decision needs the width. -->\n <span bsObserveSize #moreSize=\"bsObserveSize\"\n class=\"priority-nav-more-slot\"\n [class.priority-nav-more-slot-idle]=\"!showMoreButton()\">\n <!-- Disclosure pattern: aria-expanded on the button; no\n aria-haspopup (that token means menu/dialog, and the overflow\n is a plain disclosure list). -->\n <button #moreButton type=\"button\"\n class=\"priority-nav-more-toggle\"\n (click)=\"toggleMore()\"\n [attr.aria-controls]=\"uid + '-overflow'\"\n [attr.aria-expanded]=\"isMoreOpen()\">\n <ng-container *ngTemplateOutlet=\"moreLabelTemplate() ?? defaultMoreLabel; context: { $implicit: isMoreOpen() }\"></ng-container>\n </button>\n </span>\n }\n </div>\n\n <!-- No role=\"menu\"/\"menuitem\": this is a disclosure overflow list (APG\n disclosure navigation), and a menu role would demand a focus-managed\n menuitem keyboard model the projected links neither need nor have. -->\n <div #overflowPanel\n [id]=\"uid + '-overflow'\"\n class=\"priority-nav-overflow\"\n (click)=\"onOverflowClick($event)\"\n [class.priority-nav-overflow-open]=\"!isServerSide && isMoreOpen()\"\n [class.priority-nav-overflow-align-start]=\"!isServerSide && fullyCollapsed()\">\n @for (entry of itemsWithMeta(); track entry.item.id) {\n <span class=\"priority-nav-overflow-item\"\n [class.priority-nav-overflow-hidden]=\"entry.hideInOverflow\"\n [ngClass]=\"entry.hideBelowClass\">\n <ng-container *ngTemplateOutlet=\"entry.item.templateRef\"></ng-container>\n </span>\n }\n </div>\n</nav>\n\n<ng-template #defaultMoreLabel let-isOpen>\n <span class=\"priority-nav-more-label\">{{ moreLabel() }}</span>\n <span class=\"priority-nav-caret\" aria-hidden=\"true\">▾</span>\n</ng-template>\n", styles: [":host{display:block;min-width:var(--priority-nav-more-width, 0)}.priority-nav{position:relative}.priority-nav-measure-wrapper{height:0;overflow:hidden;pointer-events:none}.priority-nav-measure{visibility:hidden;display:flex;flex-wrap:nowrap;align-items:center}.priority-nav-measure .priority-nav-measure-item{display:inline-flex;align-items:center;flex-shrink:0}.priority-nav-strip{display:flex;flex-wrap:nowrap;align-items:center;overflow:hidden}.priority-nav-strip .priority-nav-item{display:inline-flex;align-items:center;flex-shrink:0}.priority-nav-hidden,.priority-nav-overflow-hidden{display:none!important}.priority-nav-more-slot{display:inline-flex;flex-shrink:0}.priority-nav-more-slot-idle{position:absolute;top:0;left:0;visibility:hidden;pointer-events:none}.priority-nav-more-toggle{flex-shrink:0;display:inline-flex;align-items:center;gap:.25rem;padding:.5rem .75rem;border:none;background:transparent;cursor:pointer;color:inherit;font:inherit}.priority-nav-more-toggle:focus-visible{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:2px}.priority-nav-more-toggle .priority-nav-caret{font-size:.75em;line-height:1}.priority-nav-overflow{display:none;position:absolute;top:100%;right:0;z-index:1000;min-width:10rem;padding:.5rem 0;margin:.125rem 0 0;background-color:var(--bs-body-bg, #fff);border:var(--bs-border-width, 1px) solid var(--bs-border-color, rgba(0, 0, 0, .175));border-radius:var(--bs-border-radius, .375rem);box-shadow:0 .5rem 1rem #00000026}.priority-nav-overflow .priority-nav-overflow-item{display:block;padding:.25rem 1rem}.priority-nav-overflow-open{display:block}.priority-nav-overflow-align-start{left:0;right:auto}@media(max-width:575.98px){.priority-nav.noscript .priority-nav-strip .priority-nav-item-hide-below-sm{display:none}}@media(max-width:767.98px){.priority-nav.noscript .priority-nav-strip .priority-nav-item-hide-below-md{display:none}}@media(max-width:991.98px){.priority-nav.noscript .priority-nav-strip .priority-nav-item-hide-below-lg{display:none}}@media(max-width:1199.98px){.priority-nav.noscript .priority-nav-strip .priority-nav-item-hide-below-xl{display:none}}@media(max-width:1399.98px){.priority-nav.noscript .priority-nav-strip .priority-nav-item-hide-below-xxl{display:none}}.priority-nav.noscript .priority-nav-overflow .priority-nav-overflow-item{display:none}@media(max-width:575.98px){.priority-nav.noscript .priority-nav-overflow .priority-nav-item-hide-below-sm{display:block}}@media(max-width:767.98px){.priority-nav.noscript .priority-nav-overflow .priority-nav-item-hide-below-md{display:block}}@media(max-width:991.98px){.priority-nav.noscript .priority-nav-overflow .priority-nav-item-hide-below-lg{display:block}}@media(max-width:1199.98px){.priority-nav.noscript .priority-nav-overflow .priority-nav-item-hide-below-xl{display:block}}@media(max-width:1399.98px){.priority-nav.noscript .priority-nav-overflow .priority-nav-item-hide-below-xxl{display:block}}.priority-nav.noscript>input.priority-nav-more-checkbox{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.priority-nav.noscript>input.priority-nav-more-checkbox:focus-visible~.priority-nav-strip .priority-nav-more-toggle-noscript{outline:2px solid var(--bs-primary, #0d6efd);outline-offset:2px}.priority-nav.noscript>input.priority-nav-more-checkbox.noscript:checked~.priority-nav-overflow{display:block}.priority-nav.noscript .priority-nav-more-toggle-noscript{cursor:pointer;-webkit-user-select:none;user-select:none}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: BsNoNoscriptDirective, selector: "[bsNoNoscript]" }, { kind: "directive", type: BsObserveSizeDirective, selector: "[bsObserveSize]", exportAs: ["bsObserveSize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
72
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsPriorityNavComponent, isStandalone: true, selector: "bs-priority-nav", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, moreLabel: { classPropertyName: "moreLabel", publicName: "moreLabel", isSignal: true, isRequired: false, transformFunction: null }, collapseAt: { classPropertyName: "collapseAt", publicName: "collapseAt", isSignal: true, isRequired: false, transformFunction: null }, overflowFrom: { classPropertyName: "overflowFrom", publicName: "overflowFrom", isSignal: true, isRequired: false, transformFunction: null }, hideEmptyMore: { classPropertyName: "hideEmptyMore", publicName: "hideEmptyMore", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { overflowChange: "overflowChange" }, queries: [{ propertyName: "itemTemplateSlot", first: true, predicate: BsPriorityNavItemTemplateDirective, descendants: true, isSignal: true }, { propertyName: "moreTemplateSlot", first: true, predicate: BsPriorityNavMoreTemplateDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/priority-nav/src/templates/priority-nav.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<ng-container [mpInstanceStyle]=\"p_view.css\" [mpInstanceStyleName]=\"p_view.cssName\" />\n@if (p_view.checkbox) {\n <input data-mps=\"priority-nav\" [mpProps]=\"p_view.checkbox\">\n}\n@if (p_view.measure) {\n <div data-mps=\"priority-nav\" [mpProps]=\"p_view.measure\">\n <div data-mps=\"priority-nav\" class=\"priority-nav-measure\">\n @for (row of p_view.rows; track row.key) {\n <span data-mps=\"priority-nav\" [mpProps]=\"row.measure\">\n @if (slots().itemTemplate; as slot_itemTemplate) {\n <ng-container [ngTemplateOutlet]=\"slot_itemTemplate\" [ngTemplateOutletContext]=\"{ $implicit: row.item, item: row.item }\" />\n } @else {\n <a data-mps=\"priority-nav\" [mpProps]=\"row.link\" [attr.href]=\"row.href\">\n {{ row.item.label }}\n </a>\n }\n </span>\n }\n </div>\n </div>\n}\n<div data-mps=\"priority-nav\" [mpProps]=\"p_view.strip\">\n @for (row of p_view.rows; track row.key) {\n <span data-mps=\"priority-nav\" [mpProps]=\"row.inline\">\n @if (slots().itemTemplate; as slot_itemTemplate) {\n <ng-container [ngTemplateOutlet]=\"slot_itemTemplate\" [ngTemplateOutletContext]=\"{ $implicit: row.item, item: row.item }\" />\n } @else {\n <a data-mps=\"priority-nav\" [mpProps]=\"row.link\" [attr.href]=\"row.href\">\n {{ row.item.label }}\n </a>\n }\n </span>\n }\n @if (p_view.noscriptToggle) {\n <label data-mps=\"priority-nav\" [mpProps]=\"p_view.noscriptToggle\">\n @if (slots().moreTemplate; as slot_moreTemplate) {\n <ng-container [ngTemplateOutlet]=\"slot_moreTemplate\" [ngTemplateOutletContext]=\"{ $implicit: false, open: false }\" />\n } @else {\n <span data-mps=\"priority-nav\" class=\"priority-nav-more-label\">\n {{ p_view.moreLabel }}\n </span>\n <span data-mps=\"priority-nav\" class=\"priority-nav-caret\" aria-hidden=\"true\">\n \u25BE\n </span>\n }\n </label>\n }\n @if (p_view.moreSlot) {\n <span data-mps=\"priority-nav\" [mpProps]=\"p_view.moreSlot\">\n @if (p_view.more) {\n <button data-mps=\"priority-nav\" [mpProps]=\"p_view.more\">\n @if (slots().moreTemplate; as slot_moreTemplate) {\n <ng-container [ngTemplateOutlet]=\"slot_moreTemplate\" [ngTemplateOutletContext]=\"{ $implicit: p_view.open, open: p_view.open }\" />\n } @else {\n <span data-mps=\"priority-nav\" class=\"priority-nav-more-label\">\n {{ p_view.moreLabel }}\n </span>\n <span data-mps=\"priority-nav\" class=\"priority-nav-caret\" aria-hidden=\"true\">\n \u25BE\n </span>\n }\n </button>\n }\n </span>\n }\n</div>\n<div data-mps=\"priority-nav\" [mpProps]=\"p_view.overflow\">\n @for (row of p_view.rows; track row.key) {\n <span data-mps=\"priority-nav\" [mpProps]=\"row.overflow\">\n @if (slots().itemTemplate; as slot_itemTemplate) {\n <ng-container [ngTemplateOutlet]=\"slot_itemTemplate\" [ngTemplateOutletContext]=\"{ $implicit: row.item, item: row.item }\" />\n } @else {\n <a data-mps=\"priority-nav\" [mpProps]=\"row.link\" [attr.href]=\"row.href\">\n {{ row.item.label }}\n </a>\n }\n </span>\n }\n</div>\n", dependencies: [{ kind: "directive", type: MpInstanceStyleDirective, selector: "ng-container[mpInstanceStyle]", inputs: ["mpInstanceStyle", "mpInstanceStyleName"] }, { kind: "directive", type: MpPropsDirective, selector: "[mpProps],[mpHostAttrs]", inputs: ["mpProps", "mpHostAttrs"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
347
73
|
}
|
|
348
74
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsPriorityNavComponent, decorators: [{
|
|
349
75
|
type: Component,
|
|
350
|
-
args: [{ selector: 'bs-priority-nav', imports: [
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
}], ctorParameters: () => [], propDecorators: { moreLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "moreLabel", required: false }] }], moreLabelTemplate: [{ type: i0.Input, args: [{ isSignal: true, alias: "moreLabelTemplate", required: false }] }], collapseAt: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapseAt", required: false }] }], overflowFrom: [{ type: i0.Input, args: [{ isSignal: true, alias: "overflowFrom", required: false }] }], hideEmptyMore: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideEmptyMore", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], overflowChange: [{ type: i0.Output, args: ["overflowChange"] }], items: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => BsPriorityNavItemDirective), { isSignal: true }] }], measureSizers: [{ type: i0.ViewChildren, args: ['measureItem', { isSignal: true }] }], stripSizer: [{ type: i0.ViewChild, args: ['stripSize', { isSignal: true }] }], stripElement: [{ type: i0.ViewChild, args: ['stripSize', { ...{ read: ElementRef }, isSignal: true }] }], moreMeasure: [{ type: i0.ViewChild, args: ['moreSize', { isSignal: true }] }], moreButton: [{ type: i0.ViewChild, args: ['moreButton', { ...{ read: ElementRef }, isSignal: true }] }], overflowPanel: [{ type: i0.ViewChild, args: ['overflowPanel', { ...{ read: ElementRef }, isSignal: true }] }] } });
|
|
76
|
+
args: [{ selector: 'bs-priority-nav', imports: [MpInstanceStyleDirective, MpPropsDirective, NgTemplateOutlet], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/priority-nav/src/templates/priority-nav.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<ng-container [mpInstanceStyle]=\"p_view.css\" [mpInstanceStyleName]=\"p_view.cssName\" />\n@if (p_view.checkbox) {\n <input data-mps=\"priority-nav\" [mpProps]=\"p_view.checkbox\">\n}\n@if (p_view.measure) {\n <div data-mps=\"priority-nav\" [mpProps]=\"p_view.measure\">\n <div data-mps=\"priority-nav\" class=\"priority-nav-measure\">\n @for (row of p_view.rows; track row.key) {\n <span data-mps=\"priority-nav\" [mpProps]=\"row.measure\">\n @if (slots().itemTemplate; as slot_itemTemplate) {\n <ng-container [ngTemplateOutlet]=\"slot_itemTemplate\" [ngTemplateOutletContext]=\"{ $implicit: row.item, item: row.item }\" />\n } @else {\n <a data-mps=\"priority-nav\" [mpProps]=\"row.link\" [attr.href]=\"row.href\">\n {{ row.item.label }}\n </a>\n }\n </span>\n }\n </div>\n </div>\n}\n<div data-mps=\"priority-nav\" [mpProps]=\"p_view.strip\">\n @for (row of p_view.rows; track row.key) {\n <span data-mps=\"priority-nav\" [mpProps]=\"row.inline\">\n @if (slots().itemTemplate; as slot_itemTemplate) {\n <ng-container [ngTemplateOutlet]=\"slot_itemTemplate\" [ngTemplateOutletContext]=\"{ $implicit: row.item, item: row.item }\" />\n } @else {\n <a data-mps=\"priority-nav\" [mpProps]=\"row.link\" [attr.href]=\"row.href\">\n {{ row.item.label }}\n </a>\n }\n </span>\n }\n @if (p_view.noscriptToggle) {\n <label data-mps=\"priority-nav\" [mpProps]=\"p_view.noscriptToggle\">\n @if (slots().moreTemplate; as slot_moreTemplate) {\n <ng-container [ngTemplateOutlet]=\"slot_moreTemplate\" [ngTemplateOutletContext]=\"{ $implicit: false, open: false }\" />\n } @else {\n <span data-mps=\"priority-nav\" class=\"priority-nav-more-label\">\n {{ p_view.moreLabel }}\n </span>\n <span data-mps=\"priority-nav\" class=\"priority-nav-caret\" aria-hidden=\"true\">\n \u25BE\n </span>\n }\n </label>\n }\n @if (p_view.moreSlot) {\n <span data-mps=\"priority-nav\" [mpProps]=\"p_view.moreSlot\">\n @if (p_view.more) {\n <button data-mps=\"priority-nav\" [mpProps]=\"p_view.more\">\n @if (slots().moreTemplate; as slot_moreTemplate) {\n <ng-container [ngTemplateOutlet]=\"slot_moreTemplate\" [ngTemplateOutletContext]=\"{ $implicit: p_view.open, open: p_view.open }\" />\n } @else {\n <span data-mps=\"priority-nav\" class=\"priority-nav-more-label\">\n {{ p_view.moreLabel }}\n </span>\n <span data-mps=\"priority-nav\" class=\"priority-nav-caret\" aria-hidden=\"true\">\n \u25BE\n </span>\n }\n </button>\n }\n </span>\n }\n</div>\n<div data-mps=\"priority-nav\" [mpProps]=\"p_view.overflow\">\n @for (row of p_view.rows; track row.key) {\n <span data-mps=\"priority-nav\" [mpProps]=\"row.overflow\">\n @if (slots().itemTemplate; as slot_itemTemplate) {\n <ng-container [ngTemplateOutlet]=\"slot_itemTemplate\" [ngTemplateOutletContext]=\"{ $implicit: row.item, item: row.item }\" />\n } @else {\n <a data-mps=\"priority-nav\" [mpProps]=\"row.link\" [attr.href]=\"row.href\">\n {{ row.item.label }}\n </a>\n }\n </span>\n }\n</div>\n" }]
|
|
77
|
+
}], ctorParameters: () => [], propDecorators: { items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], moreLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "moreLabel", required: false }] }], collapseAt: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapseAt", required: false }] }], overflowFrom: [{ type: i0.Input, args: [{ isSignal: true, alias: "overflowFrom", required: false }] }], hideEmptyMore: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideEmptyMore", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], overflowChange: [{ type: i0.Output, args: ["overflowChange"] }], itemTemplateSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BsPriorityNavItemTemplateDirective), { isSignal: true }] }], moreTemplateSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BsPriorityNavMoreTemplateDirective), { isSignal: true }] }] } });
|
|
78
|
+
|
|
79
|
+
// GENERATED from the priority-nav manifest by @mintplayer/nx-component-compiler. Do not edit.
|
|
80
|
+
|
|
81
|
+
// Generated from @mintplayer/ui-core/priority-nav (#458 D10).
|
|
357
82
|
|
|
358
83
|
/**
|
|
359
84
|
* Generated bundle index. Do not edit.
|
|
360
85
|
*/
|
|
361
86
|
|
|
362
|
-
export { BsPriorityNavComponent,
|
|
87
|
+
export { BsPriorityNavComponent, BsPriorityNavItemTemplateDirective, BsPriorityNavMoreTemplateDirective };
|
|
363
88
|
//# sourceMappingURL=mintplayer-ng-bootstrap-priority-nav.mjs.map
|