@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,6 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { DestroyRef, Signal, Renderer2, InjectionToken, Type, Provider, EnvironmentProviders, PipeTransform } from '@angular/core';
|
|
3
3
|
import { Store } from '@mintplayer/ui-core/store';
|
|
4
|
+
import { BootstrapPart } from '@mintplayer/ui-core/bootstrap';
|
|
5
|
+
import { InstallOptions } from '@mintplayer/ui-core/scoped-styles';
|
|
4
6
|
import { CoreBag, CoreContext, ComponentCore } from '@mintplayer/ui-core/component';
|
|
5
7
|
import { SafeHtml } from '@angular/platform-browser';
|
|
6
8
|
|
|
@@ -31,12 +33,22 @@ type PropBag = Record<string, string | number | boolean | null | undefined>;
|
|
|
31
33
|
*/
|
|
32
34
|
declare class MpPropsDirective {
|
|
33
35
|
readonly mpProps: i0.InputSignal<PropBag | null | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* The host's forwarded `aria-*` / `id` / `tabindex` (`useHostAttrs`), written over
|
|
38
|
+
* the bag: the consumer's word wins. Except an `id` the bag sets itself, which
|
|
39
|
+
* the core's own references (a `label for`, an `aria-controls`) point at: then
|
|
40
|
+
* the consumer's id goes back to the host instead.
|
|
41
|
+
*/
|
|
42
|
+
readonly mpHostAttrs: i0.InputSignal<{
|
|
43
|
+
readonly host: Element;
|
|
44
|
+
readonly attrs: PropBag;
|
|
45
|
+
} | null | undefined>;
|
|
34
46
|
private readonly element;
|
|
35
47
|
private readonly renderer;
|
|
36
48
|
private applied;
|
|
37
49
|
constructor();
|
|
38
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<MpPropsDirective, never>;
|
|
39
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MpPropsDirective, "[mpProps]", never, { "mpProps": { "alias": "mpProps"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
51
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MpPropsDirective, "[mpProps],[mpHostAttrs]", never, { "mpProps": { "alias": "mpProps"; "required": false; "isSignal": true; }; "mpHostAttrs": { "alias": "mpHostAttrs"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
40
52
|
}
|
|
41
53
|
/** Write `next` onto `element`, removing what `previous` set and `next` drops. Returns `next`. */
|
|
42
54
|
declare function applyPropBag(renderer: Renderer2, element: Element, previous: PropBag, next: PropBag): PropBag;
|
|
@@ -55,7 +67,16 @@ declare function applyPropBag(renderer: Renderer2, element: Element, previous: P
|
|
|
55
67
|
*
|
|
56
68
|
* Call from the component's constructor (an injection context).
|
|
57
69
|
*/
|
|
58
|
-
declare function useScopedStyles(key: string, cssText: string): void;
|
|
70
|
+
declare function useScopedStyles(key: string, cssText: string, options?: InstallOptions): void;
|
|
71
|
+
/**
|
|
72
|
+
* Install Bootstrap parts (`@mintplayer/ui-core/bootstrap`, #452) from an
|
|
73
|
+
* Angular front, the same way as {@link useScopedStyles}: once per page, and
|
|
74
|
+
* written into the server `DOCUMENT` during SSR. A component passes the scoped
|
|
75
|
+
* parts its markup uses; a page that renders raw Bootstrap markup passes the
|
|
76
|
+
* `…Page` variants, which replace a scoped copy under the same key. Call from
|
|
77
|
+
* the constructor (an injection context).
|
|
78
|
+
*/
|
|
79
|
+
declare function useBootstrap(...parts: readonly BootstrapPart[]): void;
|
|
59
80
|
/**
|
|
60
81
|
* Angular SSR defect (platform-server 22): `_annotateForHydration` records the
|
|
61
82
|
* hydration paths, and only THEN `insertEventRecordScript` adds the replay
|
|
@@ -81,7 +102,22 @@ declare function repairEventReplayBodyPaths(doc: Document): void;
|
|
|
81
102
|
*
|
|
82
103
|
* constructor() { useHostProps(() => this.view().root); }
|
|
83
104
|
*/
|
|
84
|
-
declare function useHostProps(bag: () => PropBag | null | undefined): void;
|
|
105
|
+
declare function useHostProps(bag: () => PropBag | null | undefined, target?: () => Element | null): void;
|
|
106
|
+
/** A host's forwarded attributes (`useHostAttrs`), and the host they came from. */
|
|
107
|
+
interface HostAttrs {
|
|
108
|
+
readonly host: HTMLElement;
|
|
109
|
+
readonly attrs: PropBag;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Host transparency for a compiled template whose role lives on an inner
|
|
113
|
+
* `mp-attrs` node (#458): a consumer's `aria-*`, `id` and `tabindex` on the
|
|
114
|
+
* host belong on that node, which binds the result as `[mpHostAttrs]`. `id`
|
|
115
|
+
* and `tabindex` are moved (no duplicate id, no dead tab stop on the host);
|
|
116
|
+
* `aria-*` are copied. Read once, in a field initializer, so the server render
|
|
117
|
+
* already carries them where AT reads them. A consumer `role` is never taken:
|
|
118
|
+
* the inner node's role is the core's contract.
|
|
119
|
+
*/
|
|
120
|
+
declare function useHostAttrs(): HostAttrs;
|
|
85
121
|
|
|
86
122
|
/** The Angular token for a core context: one per context object. */
|
|
87
123
|
declare function coreContextToken<T>(context: CoreContext<T>): InjectionToken<Signal<T>>;
|
|
@@ -103,6 +139,11 @@ interface UseCoreOptions<I, P> {
|
|
|
103
139
|
readonly models?: Readonly<Record<string, {
|
|
104
140
|
set(value: never): void;
|
|
105
141
|
}>>;
|
|
142
|
+
/**
|
|
143
|
+
* The element the core runs on, where it is not the host: a structural directive's anchor
|
|
144
|
+
* (`anchorElement`), whose own node is a comment. Read lazily, after the view placed it.
|
|
145
|
+
*/
|
|
146
|
+
readonly element?: () => HTMLElement | null;
|
|
106
147
|
}
|
|
107
148
|
interface CoreHandle<P, PC> {
|
|
108
149
|
/** The template's props. */
|
|
@@ -170,5 +211,66 @@ declare class MpTrustedHtmlPipe implements PipeTransform {
|
|
|
170
211
|
static ɵpipe: i0.ɵɵPipeDeclaration<MpTrustedHtmlPipe, "mpTrustedHtml", true>;
|
|
171
212
|
}
|
|
172
213
|
|
|
173
|
-
|
|
174
|
-
|
|
214
|
+
/**
|
|
215
|
+
* Render an `<ng-template>` into a body host (#458 §4.4): a `div` appended to
|
|
216
|
+
* the end of `<body>`, outside every clipping ancestor. The compiled form of a
|
|
217
|
+
* view's `<teleport to="body">`, and the twin of React's `createPortal`, Vue's
|
|
218
|
+
* `<Teleport to="body">` and Lit's `bodyTeleport()`.
|
|
219
|
+
*
|
|
220
|
+
* The view is created DETACHED (`TemplateRef.createEmbeddedView` +
|
|
221
|
+
* `ApplicationRef.attachView`), never in this anchor's container, so the
|
|
222
|
+
* component's hydration info holds no view whose nodes are elsewhere. The
|
|
223
|
+
* server renders it into its body host; the client removes that copy (same
|
|
224
|
+
* deterministic id) and renders its own, outside hydration. Change detection
|
|
225
|
+
* reaches it through the application; it reads the declaring component's
|
|
226
|
+
* members, because an embedded view keeps its declaration context.
|
|
227
|
+
*
|
|
228
|
+
* @if (open()) { <ng-template mpBodyTeleport>…</ng-template> }
|
|
229
|
+
*/
|
|
230
|
+
declare class MpBodyTeleportDirective {
|
|
231
|
+
private readonly template;
|
|
232
|
+
private readonly appRef;
|
|
233
|
+
private readonly document;
|
|
234
|
+
private readonly anchor;
|
|
235
|
+
/** Identical on the server and on hydration: the client replaces the server's host by it. */
|
|
236
|
+
readonly id: string;
|
|
237
|
+
private view;
|
|
238
|
+
private host;
|
|
239
|
+
constructor();
|
|
240
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MpBodyTeleportDirective, never>;
|
|
241
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MpBodyTeleportDirective, "[mpBodyTeleport]", never, {}, {}, never, never, true, never>;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* A compiled template's `<instance-style :name :css />` (#458 M4): one instance's own
|
|
246
|
+
* sheet, the tile manager's server layout rules. Angular strips `<style>` from
|
|
247
|
+
* templates, so the sheet goes into the document head under `name`, on the server
|
|
248
|
+
* (where it ships in the HTML) and on the client alike. A null `css` removes it, as
|
|
249
|
+
* does destroying the component.
|
|
250
|
+
*/
|
|
251
|
+
declare class MpInstanceStyleDirective {
|
|
252
|
+
readonly mpInstanceStyle: i0.InputSignal<string | null>;
|
|
253
|
+
readonly mpInstanceStyleName: i0.InputSignal<string>;
|
|
254
|
+
constructor();
|
|
255
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MpInstanceStyleDirective, never>;
|
|
256
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MpInstanceStyleDirective, "ng-container[mpInstanceStyle]", never, { "mpInstanceStyle": { "alias": "mpInstanceStyle"; "required": false; "isSignal": true; }; "mpInstanceStyleName": { "alias": "mpInstanceStyleName"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* A structural directive's anchor: the element its template sits in
|
|
261
|
+
* (`<button>Save<span *bsTooltip>…</span></button>` → the button). The
|
|
262
|
+
* directive's own node is a comment; read this lazily, once the view placed it.
|
|
263
|
+
*/
|
|
264
|
+
declare function anchorElement(): () => HTMLElement | null;
|
|
265
|
+
/**
|
|
266
|
+
* The Angular half of an overlay directive (#458 M6, tooltip and popover): while
|
|
267
|
+
* `inputs()` is not null, `component` renders into a body host with the
|
|
268
|
+
* directive's template as its content (`<ng-content>`), and gets those inputs.
|
|
269
|
+
* The panel is created detached and attached to the application, so it lives
|
|
270
|
+
* outside every clipping ancestor and the anchor's DOM stays the consumer's.
|
|
271
|
+
* Browser only: an overlay cannot be open in server HTML.
|
|
272
|
+
*/
|
|
273
|
+
declare function useOverlayComponent(component: Type<unknown>, inputs: () => object | null, anchor: () => Element | null): void;
|
|
274
|
+
|
|
275
|
+
export { MACHINE_SSR_OPTIONS, MpBodyTeleportDirective, MpInstanceStyleDirective, MpPropsDirective, MpTeleportDirective, MpTrustedHtmlPipe, anchorElement, applyPropBag, coreContextToken, machineSignal, provideCoreContext, provideMachineSsr, repairEventReplayBodyPaths, useBootstrap, useCore, useHostAttrs, useHostProps, useOverlayComponent, useScopedStyles };
|
|
276
|
+
export type { CoreHandle, HostAttrs, MachineSsrOptions, PropBag, UseCoreOptions };
|
|
@@ -1,12 +1,25 @@
|
|
|
1
|
+
import * as _mintplayer_ui_core_marquee from '@mintplayer/ui-core/marquee';
|
|
1
2
|
import * as _angular_core from '@angular/core';
|
|
3
|
+
import { ElementRef } from '@angular/core';
|
|
4
|
+
import * as _mintplayer_ng_bootstrap_machine from '@mintplayer/ng-bootstrap/machine';
|
|
2
5
|
|
|
6
|
+
/** A scrolling ticker with a pause button (`pauseText` / `resumeText`), named by `label`. Hover, focus and reduced motion stop it. */
|
|
3
7
|
declare class BsMarqueeComponent {
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
readonly
|
|
7
|
-
|
|
8
|
+
#private;
|
|
9
|
+
/** The host element. */
|
|
10
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
11
|
+
/** The consumer's aria-*, id and tabindex on the host, for the role-bearing node. */
|
|
12
|
+
protected readonly hostAttrs: _mintplayer_ng_bootstrap_machine.HostAttrs;
|
|
13
|
+
readonly label: _angular_core.InputSignal<string | null>;
|
|
14
|
+
readonly pauseText: _angular_core.InputSignal<string>;
|
|
15
|
+
readonly resumeText: _angular_core.InputSignal<string>;
|
|
16
|
+
/** The template's props. */
|
|
17
|
+
protected readonly props: _angular_core.Signal<{
|
|
18
|
+
view: _mintplayer_ui_core_marquee.MarqueeView;
|
|
19
|
+
}>;
|
|
20
|
+
constructor();
|
|
8
21
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsMarqueeComponent, never>;
|
|
9
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsMarqueeComponent, "bs-marquee", never, { "
|
|
22
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsMarqueeComponent, "bs-marquee", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "pauseText": { "alias": "pauseText"; "required": false; "isSignal": true; }; "resumeText": { "alias": "resumeText"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
10
23
|
}
|
|
11
24
|
|
|
12
25
|
export { BsMarqueeComponent };
|
|
@@ -1,91 +1,50 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Component-scoped state shared between BsModalComponent (the dialog renderer)
|
|
7
|
-
* and the bsModalHeader / bsModalBody directives applied to the user's template.
|
|
8
|
-
* Provides the ids for aria-labelledby and aria-describedby.
|
|
9
|
-
*/
|
|
10
|
-
declare class BsModalContextService {
|
|
11
|
-
readonly headerId: i0.WritableSignal<string | null>;
|
|
12
|
-
readonly bodyId: i0.WritableSignal<string | null>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsModalContextService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BsModalContextService>;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
declare class BsModalComponent {
|
|
18
|
-
template: TemplateRef<any>;
|
|
19
|
-
isOpen: i0.WritableSignal<boolean>;
|
|
20
|
-
scrollable: i0.WritableSignal<boolean>;
|
|
21
|
-
context: BsModalContextService;
|
|
22
|
-
injector: Injector;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsModalComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BsModalComponent, "bs-modal-content", never, {}, {}, never, never, true, never>;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/** Time the modal's leave animation is given before its overlay is disposed. */
|
|
28
|
-
declare const MODAL_LEAVE_MS = 500;
|
|
29
|
-
declare class BsModalHostComponent implements AfterViewInit, OnDestroy {
|
|
30
|
-
private overlay;
|
|
31
|
-
private appRef;
|
|
32
|
-
private parentInjector;
|
|
33
|
-
private portalFactory;
|
|
34
|
-
private overlayStack;
|
|
35
|
-
private stackToken;
|
|
36
|
-
overlayRef: OverlayRef;
|
|
37
|
-
componentInstance?: ComponentRef<BsModalComponent>;
|
|
38
|
-
template: TemplateRef<any>;
|
|
39
|
-
readonly isOpen: i0.ModelSignal<boolean>;
|
|
40
|
-
readonly closeOnEscape: i0.InputSignal<boolean>;
|
|
41
|
-
readonly scrollable: i0.InputSignal<boolean>;
|
|
42
|
-
constructor();
|
|
43
|
-
ngAfterViewInit(): void;
|
|
44
|
-
/**
|
|
45
|
-
* Plays the modal's leave animation, then disposes the overlay. The close is written to the
|
|
46
|
-
* modal directly: this host's sync effect is destroyed with it and would never deliver it.
|
|
47
|
-
* If the application is torn down first, the pending dispose is cancelled and runs at once.
|
|
48
|
-
*/
|
|
49
|
-
ngOnDestroy(): void;
|
|
50
|
-
onKeyDown(event: Event): void;
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsModalHostComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BsModalHostComponent, "bs-modal", never, { "isOpen": { "alias": "isOpen"; "required": false; "isSignal": true; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; "isSignal": true; }; "scrollable": { "alias": "scrollable"; "required": false; "isSignal": true; }; }, { "isOpen": "isOpenChange"; }, never, never, true, never>;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
declare class BsModalDirective {
|
|
56
|
-
constructor();
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsModalDirective, never>;
|
|
58
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BsModalDirective, "[bsModal]", never, {}, {}, never, never, true, never>;
|
|
59
|
-
}
|
|
1
|
+
import * as _mintplayer_ui_core_modal from '@mintplayer/ui-core/modal';
|
|
2
|
+
export { ModalInputs, ModalSize } from '@mintplayer/ui-core/modal';
|
|
3
|
+
import * as _angular_core from '@angular/core';
|
|
4
|
+
import { ElementRef, TemplateRef } from '@angular/core';
|
|
60
5
|
|
|
6
|
+
/** The `header` slot of `<bs-modal>`: `<ng-template bsModalHeader>` or `*bsModalHeader`. */
|
|
61
7
|
declare class BsModalHeaderDirective {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
constructor();
|
|
66
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsModalHeaderDirective, never>;
|
|
67
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BsModalHeaderDirective, "[bsModalHeader]", never, {}, {}, never, never, true, never>;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
declare class BsModalBodyDirective {
|
|
71
|
-
private el;
|
|
72
|
-
private ids;
|
|
73
|
-
private context;
|
|
74
|
-
constructor();
|
|
75
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsModalBodyDirective, never>;
|
|
76
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BsModalBodyDirective, "[bsModalBody]", never, {}, {}, never, never, true, never>;
|
|
8
|
+
readonly templateRef: TemplateRef<unknown>;
|
|
9
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsModalHeaderDirective, never>;
|
|
10
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsModalHeaderDirective, "[bsModalHeader]", never, {}, {}, never, never, true, never>;
|
|
77
11
|
}
|
|
78
|
-
|
|
12
|
+
/** The `footer` slot of `<bs-modal>`: `<ng-template bsModalFooter>` or `*bsModalFooter`. */
|
|
79
13
|
declare class BsModalFooterDirective {
|
|
80
|
-
|
|
81
|
-
static
|
|
14
|
+
readonly templateRef: TemplateRef<unknown>;
|
|
15
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsModalFooterDirective, never>;
|
|
16
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsModalFooterDirective, "[bsModalFooter]", never, {}, {}, never, never, true, never>;
|
|
82
17
|
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
18
|
+
/**
|
|
19
|
+
* Bootstrap's modal dialog, rendered at the end of `<body>`. `open` is two-way. The `header` slot names the
|
|
20
|
+
* dialog; the `footer` slot holds its actions. Any element inside with `data-bs-dismiss="modal"` closes it.
|
|
21
|
+
*/
|
|
22
|
+
declare class BsModalComponent {
|
|
23
|
+
#private;
|
|
24
|
+
/** The host element. */
|
|
25
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
26
|
+
readonly open: _angular_core.ModelSignal<boolean>;
|
|
27
|
+
readonly scrollable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
28
|
+
readonly centered: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
29
|
+
readonly size: _angular_core.InputSignal<_mintplayer_ui_core_modal.ModalSize | null>;
|
|
30
|
+
readonly closeOnEscape: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
31
|
+
readonly closeOnBackdrop: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
32
|
+
readonly closeButton: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
33
|
+
readonly closeLabel: _angular_core.InputSignal<string>;
|
|
34
|
+
private readonly headerSlot;
|
|
35
|
+
private readonly footerSlot;
|
|
36
|
+
/** The template's named slots. */
|
|
37
|
+
protected readonly slots: _angular_core.Signal<{
|
|
38
|
+
header: TemplateRef<unknown> | undefined;
|
|
39
|
+
footer: TemplateRef<unknown> | undefined;
|
|
40
|
+
}>;
|
|
41
|
+
/** The template's props. */
|
|
42
|
+
protected readonly props: _angular_core.Signal<{
|
|
43
|
+
view: _mintplayer_ui_core_modal.ModalView;
|
|
44
|
+
}>;
|
|
45
|
+
constructor();
|
|
46
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsModalComponent, never>;
|
|
47
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsModalComponent, "bs-modal", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "scrollable": { "alias": "scrollable"; "required": false; "isSignal": true; }; "centered": { "alias": "centered"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; "isSignal": true; }; "closeOnBackdrop": { "alias": "closeOnBackdrop"; "required": false; "isSignal": true; }; "closeButton": { "alias": "closeButton"; "required": false; "isSignal": true; }; "closeLabel": { "alias": "closeLabel"; "required": false; "isSignal": true; }; }, { "open": "openChange"; }, ["headerSlot", "footerSlot"], ["*"], true, never>;
|
|
89
48
|
}
|
|
90
49
|
|
|
91
|
-
export {
|
|
50
|
+
export { BsModalComponent, BsModalFooterDirective, BsModalHeaderDirective };
|
|
@@ -34,7 +34,7 @@ declare class BsMultiRangeValueAccessor implements ControlValueAccessor, OnInit
|
|
|
34
34
|
*
|
|
35
35
|
* With JavaScript off the thumbs drag, step and submit under `name`. Thumbs never pass each other;
|
|
36
36
|
* `minDistance` keeps a gap between neighbours. `value` is two-way, one entry per thumb.
|
|
37
|
-
* `
|
|
37
|
+
* `value` follows every move; `valueCommit` fires when a move is committed.
|
|
38
38
|
*/
|
|
39
39
|
declare class BsMultiRangeComponent {
|
|
40
40
|
#private;
|
|
@@ -51,10 +51,8 @@ declare class BsMultiRangeComponent {
|
|
|
51
51
|
readonly thumbLabels: _angular_core.InputSignal<string[] | null | undefined>;
|
|
52
52
|
readonly formatValue: _angular_core.InputSignal<((value: number) => string) | null | undefined>;
|
|
53
53
|
readonly value: _angular_core.ModelSignal<number[] | null>;
|
|
54
|
-
/**
|
|
55
|
-
readonly
|
|
56
|
-
/** A move committed: the pointer released, or a key step. */
|
|
57
|
-
readonly valuechange: _angular_core.OutputEmitterRef<number[]>;
|
|
54
|
+
/** A move committed: the pointer released, or a key step. `value` itself follows every move. */
|
|
55
|
+
readonly valueCommit: _angular_core.OutputEmitterRef<number[]>;
|
|
58
56
|
/** The template's props. */
|
|
59
57
|
protected readonly props: _angular_core.Signal<{
|
|
60
58
|
view: _mintplayer_ui_core_multi_range.MultiRangeView;
|
|
@@ -63,7 +61,7 @@ declare class BsMultiRangeComponent {
|
|
|
63
61
|
/** A copy of the current values. */
|
|
64
62
|
getValues(...args: Parameters<MultiRangeMethods['getValues']>): ReturnType<MultiRangeMethods['getValues']>;
|
|
65
63
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsMultiRangeComponent, never>;
|
|
66
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsMultiRangeComponent, "bs-multi-range", never, { "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "minDistance": { "alias": "minDistance"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "thumbLabels": { "alias": "thumbLabels"; "required": false; "isSignal": true; }; "formatValue": { "alias": "formatValue"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "
|
|
64
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsMultiRangeComponent, "bs-multi-range", never, { "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "minDistance": { "alias": "minDistance"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "thumbLabels": { "alias": "thumbLabels"; "required": false; "isSignal": true; }; "formatValue": { "alias": "formatValue"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "valueCommit": "valueCommit"; }, never, never, true, [{ directive: typeof BsMultiRangeValueAccessor; inputs: {}; outputs: {}; }]>;
|
|
67
65
|
}
|
|
68
66
|
|
|
69
67
|
export { BsMultiRangeComponent, BsMultiRangeValueAccessor };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { ElementRef } from '@angular/core';
|
|
3
|
+
import * as _mintplayer_ui_core_nav from '@mintplayer/ui-core/nav';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Bootstrap's nav: a list of `bs-nav-item`s, plain or as tabs, pills or underline (#452).
|
|
7
|
+
*
|
|
8
|
+
* It ships the nav part, so a page that renders one needs no install of its own.
|
|
9
|
+
*/
|
|
10
|
+
declare class BsNavComponent {
|
|
11
|
+
#private;
|
|
12
|
+
/** The host element. */
|
|
13
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
14
|
+
readonly variant: _angular_core.InputSignal<_mintplayer_ui_core_nav.NavVariant | null>;
|
|
15
|
+
readonly fill: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
16
|
+
readonly justified: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
17
|
+
readonly cardHeader: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
18
|
+
/** The template's props. */
|
|
19
|
+
protected readonly props: _angular_core.Signal<_mintplayer_ui_core_nav.NavProps>;
|
|
20
|
+
constructor();
|
|
21
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsNavComponent, never>;
|
|
22
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsNavComponent, "bs-nav", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "fill": { "alias": "fill"; "required": false; "isSignal": true; }; "justified": { "alias": "justified"; "required": false; "isSignal": true; }; "cardHeader": { "alias": "cardHeader"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/** One nav entry around a consumer link, which becomes its `.nav-link`; `class="active"` marks the current one. */
|
|
26
|
+
declare class BsNavItemComponent {
|
|
27
|
+
#private;
|
|
28
|
+
/** The host element. */
|
|
29
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
30
|
+
/** The template's props. */
|
|
31
|
+
protected readonly props: _angular_core.Signal<_mintplayer_ui_core_nav.NavProps>;
|
|
32
|
+
constructor();
|
|
33
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsNavItemComponent, never>;
|
|
34
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsNavItemComponent, "bs-nav-item", never, {}, {}, never, ["*"], true, never>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Makes a `bs-nav-item`'s link a `.nav-link`, which the nav part reaches through
|
|
39
|
+
* its `.nav[data-mps]` anchor (consumer DOM is never stamped): the consumer writes a plain
|
|
40
|
+
* `<a routerLink>`. It runs in the constructor, so the server HTML carries it.
|
|
41
|
+
*
|
|
42
|
+
* Angular selectors cannot say `bs-nav-item > a` (a combinator parses as `a`),
|
|
43
|
+
* so it matches every anchor and button of a template that imports it and
|
|
44
|
+
* acts only inside a nav item.
|
|
45
|
+
*/
|
|
46
|
+
declare class BsNavLinkDirective {
|
|
47
|
+
constructor();
|
|
48
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsNavLinkDirective, never>;
|
|
49
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsNavLinkDirective, "a, button", never, {}, {}, never, never, true, never>;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export { BsNavComponent, BsNavItemComponent, BsNavLinkDirective };
|
|
@@ -1,13 +1,29 @@
|
|
|
1
|
+
import * as _mintplayer_ui_core_navbar_toggler from '@mintplayer/ui-core/navbar-toggler';
|
|
1
2
|
import * as _angular_core from '@angular/core';
|
|
3
|
+
import { ElementRef } from '@angular/core';
|
|
4
|
+
import * as _mintplayer_ng_bootstrap_machine from '@mintplayer/ng-bootstrap/machine';
|
|
2
5
|
|
|
6
|
+
/**
|
|
7
|
+
* A hamburger button that morphs into a cross while `open` (two-way). `controls` names the region it
|
|
8
|
+
* shows and hides; with `toggleOnClick` off it only reports state its region owns.
|
|
9
|
+
*/
|
|
3
10
|
declare class BsNavbarTogglerComponent {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
11
|
+
#private;
|
|
12
|
+
/** The host element. */
|
|
13
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
14
|
+
/** The consumer's aria-*, id and tabindex on the host, for the role-bearing node. */
|
|
15
|
+
protected readonly hostAttrs: _mintplayer_ng_bootstrap_machine.HostAttrs;
|
|
16
|
+
readonly open: _angular_core.ModelSignal<boolean>;
|
|
17
|
+
readonly toggleOnClick: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
18
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
19
|
+
readonly controls: _angular_core.InputSignal<string | null>;
|
|
20
|
+
/** The template's props. */
|
|
21
|
+
protected readonly props: _angular_core.Signal<{
|
|
22
|
+
view: _mintplayer_ui_core_navbar_toggler.NavbarTogglerView;
|
|
23
|
+
}>;
|
|
24
|
+
constructor();
|
|
9
25
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsNavbarTogglerComponent, never>;
|
|
10
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsNavbarTogglerComponent, "bs-navbar-toggler", never, { "
|
|
26
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsNavbarTogglerComponent, "bs-navbar-toggler", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "toggleOnClick": { "alias": "toggleOnClick"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "controls": { "alias": "controls"; "required": false; "isSignal": true; }; }, { "open": "openChange"; }, never, never, true, never>;
|
|
11
27
|
}
|
|
12
28
|
|
|
13
29
|
export { BsNavbarTogglerComponent };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { TemplateRef, ElementRef, OnDestroy } from '@angular/core';
|
|
3
3
|
import * as _mintplayer_ui_core_navbar from '@mintplayer/ui-core/navbar';
|
|
4
|
-
import {
|
|
5
|
-
import * as
|
|
4
|
+
import { NavbarMethods } from '@mintplayer/ui-core/navbar';
|
|
5
|
+
import * as _mintplayer_ui_core_dropdown from '@mintplayer/ui-core/dropdown';
|
|
6
6
|
|
|
7
7
|
/** The `brand` slot of `<bs-navbar>`: `<ng-template bsNavbarBrand>` or `*bsNavbarBrand`. */
|
|
8
8
|
declare class BsNavbarBrandDirective {
|
|
@@ -33,8 +33,6 @@ declare class BsNavbarComponent {
|
|
|
33
33
|
readonly expanded: _angular_core.ModelSignal<boolean>;
|
|
34
34
|
readonly positioning: _angular_core.InputSignal<"fixed" | null | undefined>;
|
|
35
35
|
readonly labels: _angular_core.InputSignal<Partial<_mintplayer_ui_core_navbar.NavbarLabels> | null | undefined>;
|
|
36
|
-
/** The collapse opened or closed through the bar. */
|
|
37
|
-
readonly expandedchange: _angular_core.OutputEmitterRef<NavbarExpandedChangeEventDetail>;
|
|
38
36
|
private readonly brandSlot;
|
|
39
37
|
private readonly togglerSlot;
|
|
40
38
|
/** The template's named slots. */
|
|
@@ -48,15 +46,20 @@ declare class BsNavbarComponent {
|
|
|
48
46
|
/** Opens or closes the collapse (flips it without an argument), and reports it. */
|
|
49
47
|
toggle(...args: Parameters<NavbarMethods['toggle']>): ReturnType<NavbarMethods['toggle']>;
|
|
50
48
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsNavbarComponent, never>;
|
|
51
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsNavbarComponent, "bs-navbar", never, { "breakpoint": { "alias": "breakpoint"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "positioning": { "alias": "positioning"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange";
|
|
49
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsNavbarComponent, "bs-navbar", never, { "breakpoint": { "alias": "breakpoint"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "positioning": { "alias": "positioning"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; }, ["brandSlot", "togglerSlot"], ["*"], true, never>;
|
|
52
50
|
}
|
|
53
51
|
|
|
54
|
-
/**
|
|
52
|
+
/**
|
|
53
|
+
* A group of navbar items; `align="end"` pushes it to the far side when the bar is wide.
|
|
54
|
+
* A `bs-dropdown-menu` in it is a navbar dropdown: a native `<details>`, so it opens with JavaScript off.
|
|
55
|
+
*/
|
|
55
56
|
declare class BsNavbarNavComponent {
|
|
56
57
|
#private;
|
|
57
58
|
/** The host element. */
|
|
58
59
|
readonly elementRef: ElementRef<HTMLElement>;
|
|
59
60
|
readonly align: _angular_core.InputSignal<"start" | "end">;
|
|
61
|
+
/** What this component hands its content. */
|
|
62
|
+
readonly provided: _angular_core.Signal<_mintplayer_ui_core_dropdown.DropdownNesting>;
|
|
60
63
|
/** The template's props. */
|
|
61
64
|
protected readonly props: _angular_core.Signal<{
|
|
62
65
|
bag: _mintplayer_ui_core_navbar.NavbarBag;
|
|
@@ -66,7 +69,7 @@ declare class BsNavbarNavComponent {
|
|
|
66
69
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsNavbarNavComponent, "bs-navbar-nav", never, { "align": { "alias": "align"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
67
70
|
}
|
|
68
71
|
|
|
69
|
-
/** One
|
|
72
|
+
/** One `.nav-item` around a consumer link in a nav group; inside a dropdown use `bs-dropdown-item`. */
|
|
70
73
|
declare class BsNavbarItemComponent {
|
|
71
74
|
#private;
|
|
72
75
|
/** The host element. */
|
|
@@ -82,36 +85,6 @@ declare class BsNavbarItemComponent {
|
|
|
82
85
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsNavbarItemComponent, "bs-navbar-item", never, { "active": { "alias": "active"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
83
86
|
}
|
|
84
87
|
|
|
85
|
-
/** The `labelTemplate` slot of `<bs-navbar-dropdown>`: `<ng-template bsNavbarDropdownLabelTemplate>` or `*bsNavbarDropdownLabelTemplate`. */
|
|
86
|
-
declare class BsNavbarDropdownLabelTemplateDirective {
|
|
87
|
-
readonly templateRef: TemplateRef<unknown>;
|
|
88
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsNavbarDropdownLabelTemplateDirective, never>;
|
|
89
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsNavbarDropdownLabelTemplateDirective, "[bsNavbarDropdownLabelTemplate]", never, {}, {}, never, never, true, never>;
|
|
90
|
-
}
|
|
91
|
-
/** A navbar dropdown, or a submenu when nested: a native `<details>`, so it opens with JavaScript off. */
|
|
92
|
-
declare class BsNavbarDropdownComponent {
|
|
93
|
-
#private;
|
|
94
|
-
/** The host element. */
|
|
95
|
-
readonly elementRef: ElementRef<HTMLElement>;
|
|
96
|
-
readonly label: _angular_core.InputSignal<string | null | undefined>;
|
|
97
|
-
readonly active: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
98
|
-
private readonly labelTemplateSlot;
|
|
99
|
-
/** The template's named slots. */
|
|
100
|
-
protected readonly slots: _angular_core.Signal<{
|
|
101
|
-
labelTemplate: TemplateRef<unknown> | undefined;
|
|
102
|
-
}>;
|
|
103
|
-
/** What this component hands its content. */
|
|
104
|
-
readonly provided: _angular_core.Signal<_mintplayer_ui_core_navbar.NavbarNesting>;
|
|
105
|
-
/** The template's props. */
|
|
106
|
-
protected readonly props: _angular_core.Signal<{
|
|
107
|
-
view: _mintplayer_ui_core_navbar.NavbarDropdownView;
|
|
108
|
-
label?: string;
|
|
109
|
-
}>;
|
|
110
|
-
constructor();
|
|
111
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsNavbarDropdownComponent, never>;
|
|
112
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsNavbarDropdownComponent, "bs-navbar-dropdown", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; }, {}, ["labelTemplateSlot"], ["*"], true, [{ directive: typeof i1.RouterLinkActive; inputs: {}; outputs: {}; }]>;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
88
|
/**
|
|
116
89
|
* `[bsNavbarContent]` — offsets page content below a `positioning="fixed"`
|
|
117
90
|
* navbar by its LIVE height (replaces hand-maintained `padding-top` constants).
|
|
@@ -135,4 +108,20 @@ declare class BsNavbarContentDirective implements OnDestroy {
|
|
|
135
108
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsNavbarContentDirective, "[bsNavbarContent]", never, { "navbar": { "alias": "bsNavbarContent"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
136
109
|
}
|
|
137
110
|
|
|
138
|
-
|
|
111
|
+
/**
|
|
112
|
+
* Makes a `bs-navbar-item`'s link a `.nav-link`, which Bootstrap's nav and
|
|
113
|
+
* navbar parts reach through the stamped `.navbar-nav` (consumer DOM is never stamped): the consumer writes a plain
|
|
114
|
+
* `<a routerLink>`. (Inside a dropdown the entries are `bs-dropdown-item`s,
|
|
115
|
+
* whose links stay plain.) It runs in the constructor, so the server HTML carries it.
|
|
116
|
+
*
|
|
117
|
+
* Angular selectors cannot say `bs-navbar-item > a` (a combinator parses as
|
|
118
|
+
* `a`), so it matches every anchor and button of a template that imports it
|
|
119
|
+
* and acts only inside a navbar item.
|
|
120
|
+
*/
|
|
121
|
+
declare class BsNavbarLinkDirective {
|
|
122
|
+
constructor();
|
|
123
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsNavbarLinkDirective, never>;
|
|
124
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsNavbarLinkDirective, "a, button", never, {}, {}, never, never, true, never>;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export { BsNavbarBrandDirective, BsNavbarComponent, BsNavbarContentDirective, BsNavbarItemComponent, BsNavbarLinkDirective, BsNavbarNavComponent, BsNavbarTogglerDirective };
|