@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,161 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, input, output, viewChild, signal, computed, inject, DestroyRef, afterNextRender, ChangeDetectionStrategy, Component, ElementRef, effect, Directive } from '@angular/core';
|
|
3
|
-
import { BsForwardAriaDirective } from '@mintplayer/ng-bootstrap/a11y';
|
|
4
|
-
import { useScopedStyles, MpPropsDirective } from '@mintplayer/ng-bootstrap/machine';
|
|
5
|
-
import { connectDropdownMenu, DROPDOWN_MENU_SCOPE, dropdownMenuScopedStyles, attachDropdownMenu } from '@mintplayer/ui-core/dropdown-menu';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* DI marker meaning "this content is authored inside a dropdown menu".
|
|
9
|
-
*
|
|
10
|
-
* Provided by `BsDropdownMenuComponent` and `BsNavbarDropdownComponent`;
|
|
11
|
-
* optionally injected by context-aware children (`bs-navbar-item`) to render
|
|
12
|
-
* their `.dropdown-item` shape instead of their nav-link shape, so the same
|
|
13
|
-
* item element works at every nesting level of a navbar.
|
|
14
|
-
*
|
|
15
|
-
* Element injectors follow the CONSUMER template's nesting (not the projection
|
|
16
|
-
* site), so any `<bs-navbar-item>` written between the tags of either provider
|
|
17
|
-
* sees the token — including content projected through `<ng-content>`.
|
|
18
|
-
*/
|
|
19
|
-
const BS_DROPDOWN_MENU_CONTEXT = new InjectionToken('BS_DROPDOWN_MENU_CONTEXT');
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* `<bs-dropdown-menu>` — a Bootstrap `.dropdown-menu` list (#437). Used
|
|
23
|
-
* standalone, projected through `*bsDropdownMenu` by the `[bsDropdown]`
|
|
24
|
-
* trigger stack. Menu only: the typeahead renders its own listbox, and the
|
|
25
|
-
* navbar renders its own navigation panels.
|
|
26
|
-
*
|
|
27
|
-
* Renders the markup of `@mintplayer/ui-core/dropdown-menu` in its own
|
|
28
|
-
* template: a `<ul>` around the projected `[bsDropdownItem]` /
|
|
29
|
-
* `[bsDropdownDivider]` / `[bsDropdownHeader]` `<li>`s. Once hydrated, the
|
|
30
|
-
* core's attachment adds the menu roles, the roving tabindex, the arrow keys
|
|
31
|
-
* and the `select` output; the server output is a plain list of links, which
|
|
32
|
-
* is valid and works with JavaScript off.
|
|
33
|
-
*
|
|
34
|
-
* A consumer's `aria-*`, `role` and `id` on `bs-dropdown-menu` reach the list.
|
|
35
|
-
*/
|
|
36
|
-
class BsDropdownMenuComponent {
|
|
37
|
-
constructor() {
|
|
38
|
-
/** Pixel cap on the menu height; scrolls beyond. */
|
|
39
|
-
this.maxHeight = input(/* @ts-ignore */
|
|
40
|
-
...(ngDevMode ? [undefined, { debugName: "maxHeight" }] : /* istanbul ignore next */ []));
|
|
41
|
-
/** Fires when an enabled item is activated. */
|
|
42
|
-
this.select = output();
|
|
43
|
-
this.menu = viewChild.required('menu', /* @ts-ignore */
|
|
44
|
-
...(ngDevMode ? [{ debugName: "menu" }] : /* istanbul ignore next */ []));
|
|
45
|
-
this.hydrated = signal(false, /* @ts-ignore */
|
|
46
|
-
...(ngDevMode ? [{ debugName: "hydrated" }] : /* istanbul ignore next */ []));
|
|
47
|
-
this.bag = computed(() => connectDropdownMenu({ hydrated: this.hydrated() }), /* @ts-ignore */
|
|
48
|
-
...(ngDevMode ? [{ debugName: "bag" }] : /* istanbul ignore next */ []));
|
|
49
|
-
this.maxHeightCss = computed(() => {
|
|
50
|
-
const value = this.maxHeight();
|
|
51
|
-
return value === undefined ? null : `${value}px`;
|
|
52
|
-
}, /* @ts-ignore */
|
|
53
|
-
...(ngDevMode ? [{ debugName: "maxHeightCss" }] : /* istanbul ignore next */ []));
|
|
54
|
-
useScopedStyles(DROPDOWN_MENU_SCOPE, dropdownMenuScopedStyles);
|
|
55
|
-
const destroyRef = inject(DestroyRef);
|
|
56
|
-
afterNextRender(() => {
|
|
57
|
-
this.hydrated.set(true);
|
|
58
|
-
const dispose = attachDropdownMenu(this.menu().nativeElement, {
|
|
59
|
-
onSelect: (detail) => this.select.emit(detail),
|
|
60
|
-
});
|
|
61
|
-
destroyRef.onDestroy(dispose);
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
65
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.8", type: BsDropdownMenuComponent, isStandalone: true, selector: "bs-dropdown-menu", inputs: { maxHeight: { classPropertyName: "maxHeight", publicName: "maxHeight", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { select: "select" }, providers: [{ provide: BS_DROPDOWN_MENU_CONTEXT, useValue: true }], viewQueries: [{ propertyName: "menu", first: true, predicate: ["menu"], descendants: true, isSignal: true }], ngImport: i0, template: "<ul #menu bsForwardAria data-mps=\"dropdown-menu\" [mpProps]=\"bag()\" [style.--mp-dropdown-max-height]=\"maxHeightCss()\">\n <ng-content></ng-content>\n</ul>\n", dependencies: [{ kind: "directive", type: BsForwardAriaDirective, selector: "[bsForwardAria]" }, { kind: "directive", type: MpPropsDirective, selector: "[mpProps]", inputs: ["mpProps"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
66
|
-
}
|
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownMenuComponent, decorators: [{
|
|
68
|
-
type: Component,
|
|
69
|
-
args: [{ selector: 'bs-dropdown-menu', imports: [BsForwardAriaDirective, MpPropsDirective], changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: BS_DROPDOWN_MENU_CONTEXT, useValue: true }], template: "<ul #menu bsForwardAria data-mps=\"dropdown-menu\" [mpProps]=\"bag()\" [style.--mp-dropdown-max-height]=\"maxHeightCss()\">\n <ng-content></ng-content>\n</ul>\n" }]
|
|
70
|
-
}], ctorParameters: () => [], propDecorators: { maxHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxHeight", required: false }] }], select: [{ type: i0.Output, args: ["select"] }], menu: [{ type: i0.ViewChild, args: ['menu', { isSignal: true }] }] } });
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* `[bsDropdownItem]` — marks a plain `<li>` as a Bootstrap `.dropdown-item`
|
|
74
|
-
* inside a `<bs-dropdown-menu>`. Bootstrap styles the box; a nested `<a>` /
|
|
75
|
-
* `<button>` (e.g. a `routerLink`) fills it through the menu's scoped sheet.
|
|
76
|
-
*
|
|
77
|
-
* Usage: `<li bsDropdownItem><a routerLink="/x">Action</a></li>`.
|
|
78
|
-
*
|
|
79
|
-
* Inputs:
|
|
80
|
-
* - `active` — Bootstrap `.active` appearance.
|
|
81
|
-
* - `disabled` — non-interactive; removed from the menu's roving order.
|
|
82
|
-
* - `value` — opaque value carried in the menu's `select` event detail;
|
|
83
|
-
* written to the host `<li>` as its `dropdownValue` property, which the menu
|
|
84
|
-
* reads. Not the `value` property: `HTMLLIElement.value` is a native long
|
|
85
|
-
* that turns an object or a string into 0.
|
|
86
|
-
*/
|
|
87
|
-
class BsDropdownItemDirective {
|
|
88
|
-
constructor() {
|
|
89
|
-
this.active = input(false, /* @ts-ignore */
|
|
90
|
-
...(ngDevMode ? [{ debugName: "active" }] : /* istanbul ignore next */ []));
|
|
91
|
-
this.disabled = input(false, /* @ts-ignore */
|
|
92
|
-
...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
|
|
93
|
-
/** Opaque value carried in the menu's `select` event detail. */
|
|
94
|
-
this.value = input(/* @ts-ignore */
|
|
95
|
-
...(ngDevMode ? [undefined, { debugName: "value" }] : /* istanbul ignore next */ []));
|
|
96
|
-
const el = inject(ElementRef);
|
|
97
|
-
effect(() => {
|
|
98
|
-
el.nativeElement.dropdownValue = this.value();
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
102
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.8", type: BsDropdownItemDirective, isStandalone: true, selector: "[bsDropdownItem]", inputs: { active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.dropdown-item": "true", "class.active": "active()", "class.disabled": "disabled()", "attr.aria-disabled": "disabled() ? 'true' : null" } }, ngImport: i0 }); }
|
|
103
|
-
}
|
|
104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownItemDirective, decorators: [{
|
|
105
|
-
type: Directive,
|
|
106
|
-
args: [{
|
|
107
|
-
selector: '[bsDropdownItem]',
|
|
108
|
-
host: {
|
|
109
|
-
'[class.dropdown-item]': 'true',
|
|
110
|
-
'[class.active]': 'active()',
|
|
111
|
-
'[class.disabled]': 'disabled()',
|
|
112
|
-
'[attr.aria-disabled]': "disabled() ? 'true' : null",
|
|
113
|
-
},
|
|
114
|
-
}]
|
|
115
|
-
}], ctorParameters: () => [], propDecorators: { active: [{ type: i0.Input, args: [{ isSignal: true, alias: "active", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }] } });
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* `[bsDropdownDivider]` — marks an element (typically an `<li>`) as a Bootstrap
|
|
119
|
-
* `.dropdown-divider` inside a `<bs-dropdown-menu>`. Styled by Bootstrap.
|
|
120
|
-
* Usage: `<li bsDropdownDivider></li>`.
|
|
121
|
-
*/
|
|
122
|
-
class BsDropdownDividerDirective {
|
|
123
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownDividerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
124
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: BsDropdownDividerDirective, isStandalone: true, selector: "[bsDropdownDivider]", host: { attributes: { "role": "separator" }, properties: { "class.dropdown-divider": "true" } }, ngImport: i0 }); }
|
|
125
|
-
}
|
|
126
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownDividerDirective, decorators: [{
|
|
127
|
-
type: Directive,
|
|
128
|
-
args: [{
|
|
129
|
-
selector: '[bsDropdownDivider]',
|
|
130
|
-
host: {
|
|
131
|
-
'[class.dropdown-divider]': 'true',
|
|
132
|
-
role: 'separator',
|
|
133
|
-
},
|
|
134
|
-
}]
|
|
135
|
-
}] });
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* `[bsDropdownHeader]` — marks an element (an `<li>` or a heading) as a Bootstrap
|
|
139
|
-
* `.dropdown-header` inside a `<bs-dropdown-menu>`. Styled by Bootstrap.
|
|
140
|
-
* Usage: `<li bsDropdownHeader>Section</li>`.
|
|
141
|
-
*/
|
|
142
|
-
class BsDropdownHeaderDirective {
|
|
143
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
144
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: BsDropdownHeaderDirective, isStandalone: true, selector: "[bsDropdownHeader]", host: { properties: { "class.dropdown-header": "true" } }, ngImport: i0 }); }
|
|
145
|
-
}
|
|
146
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownHeaderDirective, decorators: [{
|
|
147
|
-
type: Directive,
|
|
148
|
-
args: [{
|
|
149
|
-
selector: '[bsDropdownHeader]',
|
|
150
|
-
host: {
|
|
151
|
-
'[class.dropdown-header]': 'true',
|
|
152
|
-
},
|
|
153
|
-
}]
|
|
154
|
-
}] });
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* Generated bundle index. Do not edit.
|
|
158
|
-
*/
|
|
159
|
-
|
|
160
|
-
export { BS_DROPDOWN_MENU_CONTEXT, BsDropdownDividerDirective, BsDropdownHeaderDirective, BsDropdownItemDirective, BsDropdownMenuComponent };
|
|
161
|
-
//# sourceMappingURL=mintplayer-ng-bootstrap-dropdown-menu.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-dropdown-menu.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/dropdown-menu/src/tokens/menu-context.token.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown-menu/src/dropdown-menu/dropdown-menu.component.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown-menu/src/dropdown-menu/dropdown-menu.component.html","../../../../libs/mintplayer-ng-bootstrap/dropdown-menu/src/directives/dropdown-item.directive.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown-menu/src/directives/dropdown-divider.directive.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown-menu/src/directives/dropdown-header.directive.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown-menu/mintplayer-ng-bootstrap-dropdown-menu.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\n\n/**\n * DI marker meaning \"this content is authored inside a dropdown menu\".\n *\n * Provided by `BsDropdownMenuComponent` and `BsNavbarDropdownComponent`;\n * optionally injected by context-aware children (`bs-navbar-item`) to render\n * their `.dropdown-item` shape instead of their nav-link shape, so the same\n * item element works at every nesting level of a navbar.\n *\n * Element injectors follow the CONSUMER template's nesting (not the projection\n * site), so any `<bs-navbar-item>` written between the tags of either provider\n * sees the token — including content projected through `<ng-content>`.\n */\nexport const BS_DROPDOWN_MENU_CONTEXT = new InjectionToken<boolean>('BS_DROPDOWN_MENU_CONTEXT');\n","import { afterNextRender, ChangeDetectionStrategy, Component, computed, DestroyRef, ElementRef, inject, input, output, signal, viewChild } from '@angular/core';\nimport { BsForwardAriaDirective } from '@mintplayer/ng-bootstrap/a11y';\nimport { MpPropsDirective, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport {\n DROPDOWN_MENU_SCOPE,\n attachDropdownMenu,\n connectDropdownMenu,\n dropdownMenuScopedStyles,\n type DropdownSelectEventDetail,\n} from '@mintplayer/ui-core/dropdown-menu';\nimport { BS_DROPDOWN_MENU_CONTEXT } from '../tokens/menu-context.token';\n\n/**\n * `<bs-dropdown-menu>` — a Bootstrap `.dropdown-menu` list (#437). Used\n * standalone, projected through `*bsDropdownMenu` by the `[bsDropdown]`\n * trigger stack. Menu only: the typeahead renders its own listbox, and the\n * navbar renders its own navigation panels.\n *\n * Renders the markup of `@mintplayer/ui-core/dropdown-menu` in its own\n * template: a `<ul>` around the projected `[bsDropdownItem]` /\n * `[bsDropdownDivider]` / `[bsDropdownHeader]` `<li>`s. Once hydrated, the\n * core's attachment adds the menu roles, the roving tabindex, the arrow keys\n * and the `select` output; the server output is a plain list of links, which\n * is valid and works with JavaScript off.\n *\n * A consumer's `aria-*`, `role` and `id` on `bs-dropdown-menu` reach the list.\n */\n@Component({\n selector: 'bs-dropdown-menu',\n templateUrl: './dropdown-menu.component.html',\n imports: [BsForwardAriaDirective, MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n // Marks content authored between these tags as \"inside a menu\" so\n // context-aware children render their dropdown-item shape.\n providers: [{ provide: BS_DROPDOWN_MENU_CONTEXT, useValue: true }],\n})\nexport class BsDropdownMenuComponent {\n /** Pixel cap on the menu height; scrolls beyond. */\n readonly maxHeight = input<number>();\n\n /** Fires when an enabled item is activated. */\n readonly select = output<DropdownSelectEventDetail>();\n\n private readonly menu = viewChild.required<ElementRef<HTMLElement>>('menu');\n private readonly hydrated = signal(false);\n\n protected readonly bag = computed(() => connectDropdownMenu({ hydrated: this.hydrated() }));\n protected readonly maxHeightCss = computed(() => {\n const value = this.maxHeight();\n return value === undefined ? null : `${value}px`;\n });\n\n constructor() {\n useScopedStyles(DROPDOWN_MENU_SCOPE, dropdownMenuScopedStyles);\n const destroyRef = inject(DestroyRef);\n afterNextRender(() => {\n this.hydrated.set(true);\n const dispose = attachDropdownMenu(this.menu().nativeElement, {\n onSelect: (detail) => this.select.emit(detail),\n });\n destroyRef.onDestroy(dispose);\n });\n }\n}\n","<ul #menu bsForwardAria data-mps=\"dropdown-menu\" [mpProps]=\"bag()\" [style.--mp-dropdown-max-height]=\"maxHeightCss()\">\n <ng-content></ng-content>\n</ul>\n","import { Directive, ElementRef, effect, inject, input } from '@angular/core';\nimport type { DropdownItemElement } from '@mintplayer/ui-core/dropdown-menu';\n\n/**\n * `[bsDropdownItem]` — marks a plain `<li>` as a Bootstrap `.dropdown-item`\n * inside a `<bs-dropdown-menu>`. Bootstrap styles the box; a nested `<a>` /\n * `<button>` (e.g. a `routerLink`) fills it through the menu's scoped sheet.\n *\n * Usage: `<li bsDropdownItem><a routerLink=\"/x\">Action</a></li>`.\n *\n * Inputs:\n * - `active` — Bootstrap `.active` appearance.\n * - `disabled` — non-interactive; removed from the menu's roving order.\n * - `value` — opaque value carried in the menu's `select` event detail;\n * written to the host `<li>` as its `dropdownValue` property, which the menu\n * reads. Not the `value` property: `HTMLLIElement.value` is a native long\n * that turns an object or a string into 0.\n */\n@Directive({\n selector: '[bsDropdownItem]',\n host: {\n '[class.dropdown-item]': 'true',\n '[class.active]': 'active()',\n '[class.disabled]': 'disabled()',\n '[attr.aria-disabled]': \"disabled() ? 'true' : null\",\n },\n})\nexport class BsDropdownItemDirective {\n readonly active = input(false);\n readonly disabled = input(false);\n /** Opaque value carried in the menu's `select` event detail. */\n readonly value = input<unknown>();\n\n constructor() {\n const el = inject<ElementRef<DropdownItemElement>>(ElementRef);\n effect(() => {\n el.nativeElement.dropdownValue = this.value();\n });\n }\n}\n","import { Directive } from '@angular/core';\n\n/**\n * `[bsDropdownDivider]` — marks an element (typically an `<li>`) as a Bootstrap\n * `.dropdown-divider` inside a `<bs-dropdown-menu>`. Styled by Bootstrap.\n * Usage: `<li bsDropdownDivider></li>`.\n */\n@Directive({\n selector: '[bsDropdownDivider]',\n host: {\n '[class.dropdown-divider]': 'true',\n role: 'separator',\n },\n})\nexport class BsDropdownDividerDirective {}\n","import { Directive } from '@angular/core';\n\n/**\n * `[bsDropdownHeader]` — marks an element (an `<li>` or a heading) as a Bootstrap\n * `.dropdown-header` inside a `<bs-dropdown-menu>`. Styled by Bootstrap.\n * Usage: `<li bsDropdownHeader>Section</li>`.\n */\n@Directive({\n selector: '[bsDropdownHeader]',\n host: {\n '[class.dropdown-header]': 'true',\n },\n})\nexport class BsDropdownHeaderDirective {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"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"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Marker component whose only job is to pull in @angular/cdk/overlay-prebuilt
|
|
6
|
-
* CSS via its SCSS (::ng-deep import). The template is intentionally empty;
|
|
7
|
-
* placing <bs-has-overlay></bs-has-overlay> inside any component that opens a
|
|
8
|
-
* CDK overlay (modal, offcanvas, popover, dropdown-based pickers, etc.)
|
|
9
|
-
* guarantees the overlay container's positioning styles ship with the component
|
|
10
|
-
* bundle, regardless of whether the host app pulled them in globally.
|
|
11
|
-
*
|
|
12
|
-
* The audit (docs/prd/aria-accessibility-audit.md §5.1) flagged this as
|
|
13
|
-
* "empty, purpose unclear" and suggested it should hide background content
|
|
14
|
-
* via aria-hidden/inert when an overlay is open. That responsibility lives in
|
|
15
|
-
* BsOverlayFocus + each per-component overlay logic (modal hides app-root,
|
|
16
|
-
* popover doesn't), not here. has-overlay is and remains a CSS-injection marker.
|
|
17
|
-
*/
|
|
18
|
-
class BsHasOverlayComponent {
|
|
19
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsHasOverlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
20
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: BsHasOverlayComponent, isStandalone: true, selector: "bs-has-overlay", ngImport: i0, template: "", styles: ["::ng-deep .cdk-overlay-container,::ng-deep .cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}::ng-deep .cdk-overlay-container{position:fixed;z-index:1000}::ng-deep .cdk-overlay-container:empty{display:none}::ng-deep .cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}::ng-deep .cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%;z-index:1000}::ng-deep .cdk-overlay-backdrop{position:absolute;inset:0;pointer-events:auto;-webkit-tap-highlight-color:transparent;opacity:0;touch-action:manipulation;z-index:1000;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}@media(prefers-reduced-motion){::ng-deep .cdk-overlay-backdrop{transition-duration:1ms}}::ng-deep .cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors:active){::ng-deep .cdk-overlay-backdrop-showing{opacity:.6}}::ng-deep .cdk-overlay-dark-backdrop{background:#00000052}::ng-deep .cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}::ng-deep .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,::ng-deep .cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}::ng-deep .cdk-overlay-backdrop-noop-animation{transition:none}::ng-deep .cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px;z-index:1000}::ng-deep .cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}::ng-deep .cdk-overlay-popover{background:none;border:none;padding:0;outline:0;overflow:visible;position:fixed;pointer-events:none;white-space:normal;color:inherit;text-decoration:none;width:100%;height:100%;inset:0 auto auto 0}::ng-deep .cdk-overlay-popover::backdrop{display:none}::ng-deep .cdk-overlay-popover .cdk-overlay-backdrop{position:fixed;z-index:auto}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
21
|
-
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsHasOverlayComponent, decorators: [{
|
|
23
|
-
type: Component,
|
|
24
|
-
args: [{ selector: 'bs-has-overlay', changeDetection: ChangeDetectionStrategy.OnPush, template: "", styles: ["::ng-deep .cdk-overlay-container,::ng-deep .cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}::ng-deep .cdk-overlay-container{position:fixed;z-index:1000}::ng-deep .cdk-overlay-container:empty{display:none}::ng-deep .cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}::ng-deep .cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%;z-index:1000}::ng-deep .cdk-overlay-backdrop{position:absolute;inset:0;pointer-events:auto;-webkit-tap-highlight-color:transparent;opacity:0;touch-action:manipulation;z-index:1000;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}@media(prefers-reduced-motion){::ng-deep .cdk-overlay-backdrop{transition-duration:1ms}}::ng-deep .cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors:active){::ng-deep .cdk-overlay-backdrop-showing{opacity:.6}}::ng-deep .cdk-overlay-dark-backdrop{background:#00000052}::ng-deep .cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}::ng-deep .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,::ng-deep .cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}::ng-deep .cdk-overlay-backdrop-noop-animation{transition:none}::ng-deep .cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px;z-index:1000}::ng-deep .cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}::ng-deep .cdk-overlay-popover{background:none;border:none;padding:0;outline:0;overflow:visible;position:fixed;pointer-events:none;white-space:normal;color:inherit;text-decoration:none;width:100%;height:100%;inset:0 auto auto 0}::ng-deep .cdk-overlay-popover::backdrop{display:none}::ng-deep .cdk-overlay-popover .cdk-overlay-backdrop{position:fixed;z-index:auto}\n"] }]
|
|
25
|
-
}] });
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Generated bundle index. Do not edit.
|
|
29
|
-
*/
|
|
30
|
-
|
|
31
|
-
export { BsHasOverlayComponent };
|
|
32
|
-
//# sourceMappingURL=mintplayer-ng-bootstrap-has-overlay.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-has-overlay.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/has-overlay/src/has-overlay/has-overlay.component.ts","../../../../libs/mintplayer-ng-bootstrap/has-overlay/src/has-overlay/has-overlay.component.html","../../../../libs/mintplayer-ng-bootstrap/has-overlay/mintplayer-ng-bootstrap-has-overlay.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\n\n/**\n * Marker component whose only job is to pull in @angular/cdk/overlay-prebuilt\n * CSS via its SCSS (::ng-deep import). The template is intentionally empty;\n * placing <bs-has-overlay></bs-has-overlay> inside any component that opens a\n * CDK overlay (modal, offcanvas, popover, dropdown-based pickers, etc.)\n * guarantees the overlay container's positioning styles ship with the component\n * bundle, regardless of whether the host app pulled them in globally.\n *\n * The audit (docs/prd/aria-accessibility-audit.md §5.1) flagged this as\n * \"empty, purpose unclear\" and suggested it should hide background content\n * via aria-hidden/inert when an overlay is open. That responsibility lives in\n * BsOverlayFocus + each per-component overlay logic (modal hides app-root,\n * popover doesn't), not here. has-overlay is and remains a CSS-injection marker.\n */\n@Component({\n selector: 'bs-has-overlay',\n templateUrl: './has-overlay.component.html',\n styleUrls: ['./has-overlay.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsHasOverlayComponent {}\n","","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAEA;;;;;;;;;;;;;AAaG;MAOU,qBAAqB,CAAA;8GAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,0ECtBlC,EAAA,EAAA,MAAA,EAAA,CAAA,23DAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FDsBa,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBANjC,SAAS;+BACE,gBAAgB,EAAA,eAAA,EAGT,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,EAAA,EAAA,MAAA,EAAA,CAAA,23DAAA,CAAA,EAAA;;;AEpBjD;;AAEG;;;;"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { isPlatformServer } from '@angular/common';
|
|
2
|
-
import * as i0 from '@angular/core';
|
|
3
|
-
import { inject, PLATFORM_ID, Directive } from '@angular/core';
|
|
4
|
-
|
|
5
|
-
class BsNoNoscriptDirective {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.platformId = inject(PLATFORM_ID);
|
|
8
|
-
this.isNoScript = false;
|
|
9
|
-
if (isPlatformServer(this.platformId)) {
|
|
10
|
-
this.isNoScript = true;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsNoNoscriptDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
14
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: BsNoNoscriptDirective, isStandalone: true, selector: "[bsNoNoscript]", host: { properties: { "class.noscript": "isNoScript" } }, ngImport: i0 }); }
|
|
15
|
-
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsNoNoscriptDirective, decorators: [{
|
|
17
|
-
type: Directive,
|
|
18
|
-
args: [{
|
|
19
|
-
selector: '[bsNoNoscript]',
|
|
20
|
-
host: {
|
|
21
|
-
'[class.noscript]': 'isNoScript',
|
|
22
|
-
},
|
|
23
|
-
}]
|
|
24
|
-
}], ctorParameters: () => [] });
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Generated bundle index. Do not edit.
|
|
28
|
-
*/
|
|
29
|
-
|
|
30
|
-
export { BsNoNoscriptDirective };
|
|
31
|
-
//# sourceMappingURL=mintplayer-ng-bootstrap-no-noscript.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-no-noscript.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/no-noscript/src/no-noscript/no-noscript.directive.ts","../../../../libs/mintplayer-ng-bootstrap/no-noscript/mintplayer-ng-bootstrap-no-noscript.ts"],"sourcesContent":["import { isPlatformServer } from '@angular/common';\nimport { Directive, inject, PLATFORM_ID } from '@angular/core';\n\n@Directive({\n selector: '[bsNoNoscript]',\n host: {\n '[class.noscript]': 'isNoScript',\n },\n})\nexport class BsNoNoscriptDirective {\n private platformId = inject(PLATFORM_ID);\n\n constructor() {\n if (isPlatformServer(this.platformId)) {\n this.isNoScript = true;\n }\n }\n\n isNoScript = false;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MASa,qBAAqB,CAAA;AAGhC,IAAA,WAAA,GAAA;AAFQ,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC;QAQxC,IAAA,CAAA,UAAU,GAAG,KAAK;AALhB,QAAA,IAAI,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE;AACrC,YAAA,IAAI,CAAC,UAAU,GAAG,IAAI;QACxB;IACF;8GAPW,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,gBAAA,EAAA,YAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBANjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,IAAI,EAAE;AACJ,wBAAA,kBAAkB,EAAE,YAAY;AACjC,qBAAA;AACF,iBAAA;;;ACRD;;AAEG;;;;"}
|
package/has-overlay/package.json
DELETED
package/no-noscript/package.json
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { PipeTransform } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
interface DateDayOfMonth {
|
|
5
|
-
date: Date;
|
|
6
|
-
dayOfMonth: number;
|
|
7
|
-
isInMonth: boolean;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
interface Week {
|
|
11
|
-
number: number;
|
|
12
|
-
days: (DateDayOfMonth | null)[];
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
interface FirstAndLastDate {
|
|
16
|
-
first: Date;
|
|
17
|
-
last: Date;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
declare class BsCalendarMonthService {
|
|
21
|
-
getWeeks(month: Date): Week[];
|
|
22
|
-
generateList(count: number): number[];
|
|
23
|
-
dayOfWeekMondayBased(date: Date): number;
|
|
24
|
-
weekOfYear(date: Date): number;
|
|
25
|
-
getFirstAndLastDayOfMonth(date: Date): FirstAndLastDate;
|
|
26
|
-
dateDiff(date1: Date, date2: Date): number;
|
|
27
|
-
dayOfYear(date: Date): number;
|
|
28
|
-
toUTC(date: Date): number;
|
|
29
|
-
chunk<T>(items: T[], size: number): T[][];
|
|
30
|
-
getMondayBefore(date: Date): Date;
|
|
31
|
-
getSundayAfter(date: Date): Date;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsCalendarMonthService, never>;
|
|
33
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BsCalendarMonthService>;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
interface WeekDay {
|
|
37
|
-
short: string;
|
|
38
|
-
long: string;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
declare class BsMonthNamePipe implements PipeTransform {
|
|
42
|
-
transform(date: Date | null): string;
|
|
43
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsMonthNamePipe, never>;
|
|
44
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<BsMonthNamePipe, "monthName", true>;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
declare class BsWeekdayNamePipe implements PipeTransform {
|
|
48
|
-
transform(date: Date): unknown;
|
|
49
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsWeekdayNamePipe, never>;
|
|
50
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<BsWeekdayNamePipe, "weekdayName", true>;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export { BsCalendarMonthService, BsMonthNamePipe, BsWeekdayNamePipe };
|
|
54
|
-
export type { DateDayOfMonth, FirstAndLastDate, Week, WeekDay };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
|
|
3
|
-
declare class BsContainerComponent {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsContainerComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BsContainerComponent, "bs-container", never, {}, {}, never, ["*"], true, never>;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export { BsContainerComponent };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
|
|
3
|
-
declare class BsDropdownDividerDirective {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsDropdownDividerDirective, never>;
|
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BsDropdownDividerDirective, "[bsDropdownDivider]", never, {}, {}, never, never, true, never>;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export { BsDropdownDividerDirective };
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import * as _mintplayer_ui_core_dropdown_menu from '@mintplayer/ui-core/dropdown-menu';
|
|
2
|
-
import { DropdownSelectEventDetail } from '@mintplayer/ui-core/dropdown-menu';
|
|
3
|
-
import * as i0 from '@angular/core';
|
|
4
|
-
import { InjectionToken } from '@angular/core';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* `<bs-dropdown-menu>` — a Bootstrap `.dropdown-menu` list (#437). Used
|
|
8
|
-
* standalone, projected through `*bsDropdownMenu` by the `[bsDropdown]`
|
|
9
|
-
* trigger stack. Menu only: the typeahead renders its own listbox, and the
|
|
10
|
-
* navbar renders its own navigation panels.
|
|
11
|
-
*
|
|
12
|
-
* Renders the markup of `@mintplayer/ui-core/dropdown-menu` in its own
|
|
13
|
-
* template: a `<ul>` around the projected `[bsDropdownItem]` /
|
|
14
|
-
* `[bsDropdownDivider]` / `[bsDropdownHeader]` `<li>`s. Once hydrated, the
|
|
15
|
-
* core's attachment adds the menu roles, the roving tabindex, the arrow keys
|
|
16
|
-
* and the `select` output; the server output is a plain list of links, which
|
|
17
|
-
* is valid and works with JavaScript off.
|
|
18
|
-
*
|
|
19
|
-
* A consumer's `aria-*`, `role` and `id` on `bs-dropdown-menu` reach the list.
|
|
20
|
-
*/
|
|
21
|
-
declare class BsDropdownMenuComponent {
|
|
22
|
-
/** Pixel cap on the menu height; scrolls beyond. */
|
|
23
|
-
readonly maxHeight: i0.InputSignal<number | undefined>;
|
|
24
|
-
/** Fires when an enabled item is activated. */
|
|
25
|
-
readonly select: i0.OutputEmitterRef<DropdownSelectEventDetail>;
|
|
26
|
-
private readonly menu;
|
|
27
|
-
private readonly hydrated;
|
|
28
|
-
protected readonly bag: i0.Signal<_mintplayer_ui_core_dropdown_menu.DropdownMenuBag>;
|
|
29
|
-
protected readonly maxHeightCss: i0.Signal<string | null>;
|
|
30
|
-
constructor();
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsDropdownMenuComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BsDropdownMenuComponent, "bs-dropdown-menu", never, { "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; }, { "select": "select"; }, never, ["*"], true, never>;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* DI marker meaning "this content is authored inside a dropdown menu".
|
|
37
|
-
*
|
|
38
|
-
* Provided by `BsDropdownMenuComponent` and `BsNavbarDropdownComponent`;
|
|
39
|
-
* optionally injected by context-aware children (`bs-navbar-item`) to render
|
|
40
|
-
* their `.dropdown-item` shape instead of their nav-link shape, so the same
|
|
41
|
-
* item element works at every nesting level of a navbar.
|
|
42
|
-
*
|
|
43
|
-
* Element injectors follow the CONSUMER template's nesting (not the projection
|
|
44
|
-
* site), so any `<bs-navbar-item>` written between the tags of either provider
|
|
45
|
-
* sees the token — including content projected through `<ng-content>`.
|
|
46
|
-
*/
|
|
47
|
-
declare const BS_DROPDOWN_MENU_CONTEXT: InjectionToken<boolean>;
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* `[bsDropdownItem]` — marks a plain `<li>` as a Bootstrap `.dropdown-item`
|
|
51
|
-
* inside a `<bs-dropdown-menu>`. Bootstrap styles the box; a nested `<a>` /
|
|
52
|
-
* `<button>` (e.g. a `routerLink`) fills it through the menu's scoped sheet.
|
|
53
|
-
*
|
|
54
|
-
* Usage: `<li bsDropdownItem><a routerLink="/x">Action</a></li>`.
|
|
55
|
-
*
|
|
56
|
-
* Inputs:
|
|
57
|
-
* - `active` — Bootstrap `.active` appearance.
|
|
58
|
-
* - `disabled` — non-interactive; removed from the menu's roving order.
|
|
59
|
-
* - `value` — opaque value carried in the menu's `select` event detail;
|
|
60
|
-
* written to the host `<li>` as its `dropdownValue` property, which the menu
|
|
61
|
-
* reads. Not the `value` property: `HTMLLIElement.value` is a native long
|
|
62
|
-
* that turns an object or a string into 0.
|
|
63
|
-
*/
|
|
64
|
-
declare class BsDropdownItemDirective {
|
|
65
|
-
readonly active: i0.InputSignal<boolean>;
|
|
66
|
-
readonly disabled: i0.InputSignal<boolean>;
|
|
67
|
-
/** Opaque value carried in the menu's `select` event detail. */
|
|
68
|
-
readonly value: i0.InputSignal<unknown>;
|
|
69
|
-
constructor();
|
|
70
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsDropdownItemDirective, never>;
|
|
71
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BsDropdownItemDirective, "[bsDropdownItem]", never, { "active": { "alias": "active"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* `[bsDropdownDivider]` — marks an element (typically an `<li>`) as a Bootstrap
|
|
76
|
-
* `.dropdown-divider` inside a `<bs-dropdown-menu>`. Styled by Bootstrap.
|
|
77
|
-
* Usage: `<li bsDropdownDivider></li>`.
|
|
78
|
-
*/
|
|
79
|
-
declare class BsDropdownDividerDirective {
|
|
80
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsDropdownDividerDirective, never>;
|
|
81
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BsDropdownDividerDirective, "[bsDropdownDivider]", never, {}, {}, never, never, true, never>;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* `[bsDropdownHeader]` — marks an element (an `<li>` or a heading) as a Bootstrap
|
|
86
|
-
* `.dropdown-header` inside a `<bs-dropdown-menu>`. Styled by Bootstrap.
|
|
87
|
-
* Usage: `<li bsDropdownHeader>Section</li>`.
|
|
88
|
-
*/
|
|
89
|
-
declare class BsDropdownHeaderDirective {
|
|
90
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsDropdownHeaderDirective, never>;
|
|
91
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BsDropdownHeaderDirective, "[bsDropdownHeader]", never, {}, {}, never, never, true, never>;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
export { BS_DROPDOWN_MENU_CONTEXT, BsDropdownDividerDirective, BsDropdownHeaderDirective, BsDropdownItemDirective, BsDropdownMenuComponent };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Marker component whose only job is to pull in @angular/cdk/overlay-prebuilt
|
|
5
|
-
* CSS via its SCSS (::ng-deep import). The template is intentionally empty;
|
|
6
|
-
* placing <bs-has-overlay></bs-has-overlay> inside any component that opens a
|
|
7
|
-
* CDK overlay (modal, offcanvas, popover, dropdown-based pickers, etc.)
|
|
8
|
-
* guarantees the overlay container's positioning styles ship with the component
|
|
9
|
-
* bundle, regardless of whether the host app pulled them in globally.
|
|
10
|
-
*
|
|
11
|
-
* The audit (docs/prd/aria-accessibility-audit.md §5.1) flagged this as
|
|
12
|
-
* "empty, purpose unclear" and suggested it should hide background content
|
|
13
|
-
* via aria-hidden/inert when an overlay is open. That responsibility lives in
|
|
14
|
-
* BsOverlayFocus + each per-component overlay logic (modal hides app-root,
|
|
15
|
-
* popover doesn't), not here. has-overlay is and remains a CSS-injection marker.
|
|
16
|
-
*/
|
|
17
|
-
declare class BsHasOverlayComponent {
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsHasOverlayComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BsHasOverlayComponent, "bs-has-overlay", never, {}, {}, never, never, true, never>;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export { BsHasOverlayComponent };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
|
|
3
|
-
declare class BsNoNoscriptDirective {
|
|
4
|
-
private platformId;
|
|
5
|
-
constructor();
|
|
6
|
-
isNoScript: boolean;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsNoNoscriptDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BsNoNoscriptDirective, "[bsNoNoscript]", never, {}, {}, never, never, true, never>;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export { BsNoNoscriptDirective };
|