@mintplayer/ng-bootstrap 22.32.0 → 22.34.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/fesm2022/mintplayer-ng-bootstrap-a11y.mjs +3 -166
- package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +71 -140
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +33 -63
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +23 -30
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs +37 -22
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs +25 -9
- package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +5 -9
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs +157 -219
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +7 -9
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs +12 -14
- 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 +8 -8
- package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs +313 -212
- package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs +25 -15
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +7 -7
- 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 +15 -27
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +6 -10
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs +7 -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 +9 -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 +18 -32
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-form.mjs +52 -38
- package/fesm2022/mintplayer-ng-bootstrap-form.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +64 -119
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs +23 -38
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs +44 -44
- package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-machine.mjs +201 -18
- 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 -261
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs +13 -15
- package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-nav.mjs +3 -4
- package/fesm2022/mintplayer-ng-bootstrap-nav.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs +30 -18
- package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +20 -90
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +52 -401
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +27 -50
- 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 +8 -10
- package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs +26 -54
- 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 +56 -267
- 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 +47 -63
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs +8 -16
- package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-radio.mjs +232 -169
- package/fesm2022/mintplayer-ng-bootstrap-radio.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs +85 -47
- 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 +49 -65
- package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +16 -24
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +48 -181
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs +9 -9
- 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 +7 -9
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs +35 -40
- package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +61 -101
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs +29 -23
- 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 +13 -17
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +103 -152
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +50 -157
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs +10 -12
- 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 +159 -234
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
- package/package.json +2 -22
- package/types/mintplayer-ng-bootstrap-a11y.d.ts +2 -81
- package/types/mintplayer-ng-bootstrap-accordion.d.ts +51 -86
- package/types/mintplayer-ng-bootstrap-alert.d.ts +20 -28
- package/types/mintplayer-ng-bootstrap-badge.d.ts +12 -12
- package/types/mintplayer-ng-bootstrap-breadcrumb.d.ts +29 -8
- package/types/mintplayer-ng-bootstrap-button-group.d.ts +14 -4
- package/types/mintplayer-ng-bootstrap-calendar.d.ts +1 -5
- package/types/mintplayer-ng-bootstrap-card.d.ts +93 -78
- 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 +143 -91
- package/types/mintplayer-ng-bootstrap-close.d.ts +16 -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 +2 -6
- package/types/mintplayer-ng-bootstrap-datetime-picker.d.ts +2 -4
- 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-form.d.ts +32 -11
- package/types/mintplayer-ng-bootstrap-grid.d.ts +38 -31
- package/types/mintplayer-ng-bootstrap-input-group.d.ts +11 -22
- package/types/mintplayer-ng-bootstrap-list-group.d.ts +28 -14
- package/types/mintplayer-ng-bootstrap-machine.d.ts +101 -4
- package/types/mintplayer-ng-bootstrap-marquee.d.ts +18 -5
- package/types/mintplayer-ng-bootstrap-modal.d.ts +43 -86
- package/types/mintplayer-ng-bootstrap-multi-range.d.ts +4 -6
- package/types/mintplayer-ng-bootstrap-nav.d.ts +3 -3
- package/types/mintplayer-ng-bootstrap-navbar-toggler.d.ts +21 -6
- package/types/mintplayer-ng-bootstrap-navbar.d.ts +15 -42
- package/types/mintplayer-ng-bootstrap-offcanvas.d.ts +35 -112
- package/types/mintplayer-ng-bootstrap-otp-input.d.ts +4 -3
- package/types/mintplayer-ng-bootstrap-pagination.d.ts +22 -35
- package/types/mintplayer-ng-bootstrap-parallax.d.ts +14 -4
- package/types/mintplayer-ng-bootstrap-phone-input.d.ts +5 -6
- package/types/mintplayer-ng-bootstrap-placeholder.d.ts +17 -16
- package/types/mintplayer-ng-bootstrap-playlist-toggler.d.ts +22 -6
- package/types/mintplayer-ng-bootstrap-popover.d.ts +35 -61
- package/types/mintplayer-ng-bootstrap-priority-nav.d.ts +80 -68
- package/types/mintplayer-ng-bootstrap-progress-bar.d.ts +34 -19
- 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 +35 -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 -51
- package/types/mintplayer-ng-bootstrap-select.d.ts +8 -7
- package/types/mintplayer-ng-bootstrap-shell.d.ts +40 -63
- package/types/mintplayer-ng-bootstrap-signature-pad.d.ts +4 -6
- package/types/mintplayer-ng-bootstrap-splitter.d.ts +3 -3
- package/types/mintplayer-ng-bootstrap-sticky-footer.d.ts +23 -19
- package/types/mintplayer-ng-bootstrap-tab-control.d.ts +61 -57
- package/types/mintplayer-ng-bootstrap-table.d.ts +21 -12
- 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 +3 -7
- package/types/mintplayer-ng-bootstrap-toast.d.ts +92 -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/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-dropdown-divider.mjs +0 -30
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs.map +0 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +0 -169
- 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-dropdown-divider.d.ts +0 -9
- 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,76 +1,88 @@
|
|
|
1
|
+
import * as _mintplayer_ui_core_priority_nav from '@mintplayer/ui-core/priority-nav';
|
|
2
|
+
import { PriorityNavItem } from '@mintplayer/ui-core/priority-nav';
|
|
3
|
+
export { PriorityNavBreakpoint, PriorityNavItem } from '@mintplayer/ui-core/priority-nav';
|
|
1
4
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { TemplateRef } from '@angular/core';
|
|
3
|
-
import { Breakpoint } from '@mintplayer/ng-bootstrap';
|
|
4
|
-
import { BsObserveSizeDirective } from '@mintplayer/ng-bootstrap/observe-size';
|
|
5
|
+
import { ElementRef, TemplateRef } from '@angular/core';
|
|
5
6
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
/** The `itemTemplate` slot of `<bs-priority-nav>`: `<ng-template bsPriorityNavItemTemplate>` or `*bsPriorityNavItemTemplate`. */
|
|
8
|
+
declare class BsPriorityNavItemTemplateDirective {
|
|
9
|
+
readonly templateRef: TemplateRef<{
|
|
10
|
+
item: PriorityNavItem;
|
|
11
|
+
} & {
|
|
12
|
+
$implicit: {
|
|
13
|
+
item: PriorityNavItem;
|
|
14
|
+
}["item"];
|
|
15
|
+
}>;
|
|
16
|
+
static ngTemplateContextGuard(_dir: BsPriorityNavItemTemplateDirective, ctx: unknown): ctx is {
|
|
17
|
+
item: PriorityNavItem;
|
|
18
|
+
} & {
|
|
19
|
+
$implicit: {
|
|
20
|
+
item: PriorityNavItem;
|
|
21
|
+
}['item'];
|
|
22
|
+
};
|
|
23
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsPriorityNavItemTemplateDirective, never>;
|
|
24
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsPriorityNavItemTemplateDirective, "[bsPriorityNavItemTemplate]", never, {}, {}, never, never, true, never>;
|
|
14
25
|
}
|
|
15
|
-
|
|
26
|
+
/** The `moreTemplate` slot of `<bs-priority-nav>`: `<ng-template bsPriorityNavMoreTemplate>` or `*bsPriorityNavMoreTemplate`. */
|
|
27
|
+
declare class BsPriorityNavMoreTemplateDirective {
|
|
28
|
+
readonly templateRef: TemplateRef<{
|
|
29
|
+
open: boolean;
|
|
30
|
+
} & {
|
|
31
|
+
$implicit: {
|
|
32
|
+
open: boolean;
|
|
33
|
+
}["open"];
|
|
34
|
+
}>;
|
|
35
|
+
static ngTemplateContextGuard(_dir: BsPriorityNavMoreTemplateDirective, ctx: unknown): ctx is {
|
|
36
|
+
open: boolean;
|
|
37
|
+
} & {
|
|
38
|
+
$implicit: {
|
|
39
|
+
open: boolean;
|
|
40
|
+
}['open'];
|
|
41
|
+
};
|
|
42
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsPriorityNavMoreTemplateDirective, never>;
|
|
43
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsPriorityNavMoreTemplateDirective, "[bsPriorityNavMoreTemplate]", never, {}, {}, never, never, true, never>;
|
|
44
|
+
}
|
|
45
|
+
/** A horizontal navigation that keeps as many `items` visible as fit and moves the rest, least important (highest `priority`) first, into a "More" disclosure. Works without JavaScript through `hideBelow` breakpoints. */
|
|
16
46
|
declare class BsPriorityNavComponent {
|
|
17
|
-
private
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
readonly
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
itemsWithMeta: _angular_core.Signal<{
|
|
54
|
-
item: BsPriorityNavItemDirective;
|
|
55
|
-
hideBelowClass: string;
|
|
56
|
-
hideInline: boolean;
|
|
57
|
-
hideInOverflow: boolean;
|
|
58
|
-
}[]>;
|
|
47
|
+
#private;
|
|
48
|
+
/** The host element. */
|
|
49
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
50
|
+
readonly items: _angular_core.InputSignal<readonly PriorityNavItem[]>;
|
|
51
|
+
readonly moreLabel: _angular_core.InputSignal<string>;
|
|
52
|
+
/** Below this breakpoint every item is in the overflow. */
|
|
53
|
+
readonly collapseAt: _angular_core.InputSignal<_mintplayer_ui_core_priority_nav.PriorityNavBreakpoint | null>;
|
|
54
|
+
readonly overflowFrom: _angular_core.InputSignal<"start" | "end">;
|
|
55
|
+
readonly hideEmptyMore: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
56
|
+
/** Names the navigation landmark; a consumer `aria-label` wins. */
|
|
57
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
58
|
+
/** The items in the overflow changed. */
|
|
59
|
+
readonly overflowChange: _angular_core.OutputEmitterRef<PriorityNavItem[]>;
|
|
60
|
+
private readonly itemTemplateSlot;
|
|
61
|
+
private readonly moreTemplateSlot;
|
|
62
|
+
/** The template's named slots. */
|
|
63
|
+
protected readonly slots: _angular_core.Signal<{
|
|
64
|
+
itemTemplate: TemplateRef<{
|
|
65
|
+
item: PriorityNavItem;
|
|
66
|
+
} & {
|
|
67
|
+
$implicit: {
|
|
68
|
+
item: PriorityNavItem;
|
|
69
|
+
}["item"];
|
|
70
|
+
}> | undefined;
|
|
71
|
+
moreTemplate: TemplateRef<{
|
|
72
|
+
open: boolean;
|
|
73
|
+
} & {
|
|
74
|
+
$implicit: {
|
|
75
|
+
open: boolean;
|
|
76
|
+
}["open"];
|
|
77
|
+
}> | undefined;
|
|
78
|
+
}>;
|
|
79
|
+
/** The template's props. */
|
|
80
|
+
protected readonly props: _angular_core.Signal<{
|
|
81
|
+
view: _mintplayer_ui_core_priority_nav.PriorityNavView;
|
|
82
|
+
}>;
|
|
59
83
|
constructor();
|
|
60
|
-
onWindowResize(): void;
|
|
61
|
-
toggleMore(): void;
|
|
62
|
-
onEscape(): void;
|
|
63
|
-
/** Closes the panel after an item ACTION; see `isClosingActivation` for what counts as one. */
|
|
64
|
-
onOverflowClick(event: MouseEvent): void;
|
|
65
|
-
/**
|
|
66
|
-
* Closing hides the panel, so focus inside it would fall to `<body>`. It goes back to the More
|
|
67
|
-
* button instead, but only if it is still in the panel: an action that already moved focus
|
|
68
|
-
* elsewhere (a dialog it opened) keeps it.
|
|
69
|
-
*/
|
|
70
|
-
private closeMore;
|
|
71
|
-
onDocumentClick(event: MouseEvent): void;
|
|
72
84
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsPriorityNavComponent, never>;
|
|
73
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsPriorityNavComponent, "bs-priority-nav", never, { "
|
|
85
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsPriorityNavComponent, "bs-priority-nav", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "moreLabel": { "alias": "moreLabel"; "required": false; "isSignal": true; }; "collapseAt": { "alias": "collapseAt"; "required": false; "isSignal": true; }; "overflowFrom": { "alias": "overflowFrom"; "required": false; "isSignal": true; }; "hideEmptyMore": { "alias": "hideEmptyMore"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, { "overflowChange": "overflowChange"; }, ["itemTemplateSlot", "moreTemplateSlot"], never, true, never>;
|
|
74
86
|
}
|
|
75
87
|
|
|
76
|
-
export { BsPriorityNavComponent,
|
|
88
|
+
export { BsPriorityNavComponent, BsPriorityNavItemTemplateDirective, BsPriorityNavMoreTemplateDirective };
|
|
@@ -1,32 +1,47 @@
|
|
|
1
|
+
import * as _mintplayer_ui_core_progress_bar from '@mintplayer/ui-core/progress-bar';
|
|
1
2
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
+
import { ElementRef } from '@angular/core';
|
|
3
4
|
|
|
5
|
+
/**
|
|
6
|
+
* Bootstrap's progress track around one or more `progress-bar`s. `indeterminate` shows an animated
|
|
7
|
+
* bar of unknown progress, named by `label`, instead.
|
|
8
|
+
*/
|
|
4
9
|
declare class BsProgressComponent {
|
|
5
|
-
|
|
10
|
+
#private;
|
|
11
|
+
/** The host element. */
|
|
12
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
6
13
|
readonly height: _angular_core.InputSignal<number | null>;
|
|
7
|
-
readonly
|
|
8
|
-
readonly
|
|
14
|
+
readonly indeterminate: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
15
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
16
|
+
/** The template's props. */
|
|
17
|
+
protected readonly props: _angular_core.Signal<{
|
|
18
|
+
view: _mintplayer_ui_core_progress_bar.ProgressView;
|
|
19
|
+
}>;
|
|
20
|
+
constructor();
|
|
9
21
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsProgressComponent, never>;
|
|
10
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsProgressComponent, "bs-progress", never, { "height": { "alias": "height"; "required": false; "isSignal": true; }; "
|
|
22
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsProgressComponent, "bs-progress", never, { "height": { "alias": "height"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
11
23
|
}
|
|
12
24
|
|
|
25
|
+
/** One bar: a `role="progressbar"` named by `label`, its width the share of `value` between `minimum` and `maximum`. */
|
|
13
26
|
declare class BsProgressBarComponent {
|
|
27
|
+
#private;
|
|
28
|
+
/** The host element. */
|
|
29
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
30
|
+
readonly minimum: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
31
|
+
readonly maximum: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
32
|
+
readonly value: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
33
|
+
readonly color: _angular_core.InputSignal<"primary" | "secondary" | "success" | "danger" | "warning" | "info" | "light" | "dark">;
|
|
34
|
+
readonly striped: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
35
|
+
readonly animated: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
36
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
37
|
+
readonly valueText: _angular_core.InputSignal<string | null>;
|
|
38
|
+
/** The template's props. */
|
|
39
|
+
protected readonly props: _angular_core.Signal<{
|
|
40
|
+
view: _mintplayer_ui_core_progress_bar.ProgressBarView;
|
|
41
|
+
}>;
|
|
14
42
|
constructor();
|
|
15
|
-
minimum: _angular_core.InputSignal<number>;
|
|
16
|
-
maximum: _angular_core.InputSignal<number>;
|
|
17
|
-
value: _angular_core.InputSignal<number>;
|
|
18
|
-
color: _angular_core.InputSignal<Color>;
|
|
19
|
-
striped: _angular_core.InputSignal<boolean>;
|
|
20
|
-
animated: _angular_core.InputSignal<boolean>;
|
|
21
|
-
/** Accessible name for the progressbar. Override for localisation. */
|
|
22
|
-
ariaLabel: _angular_core.InputSignal<string>;
|
|
23
|
-
/** Human reading of the value ('3 of 5 steps') when the raw number misleads. */
|
|
24
|
-
valueText: _angular_core.InputSignal<string | null>;
|
|
25
|
-
percentage: _angular_core.Signal<number>;
|
|
26
|
-
width: _angular_core.Signal<string>;
|
|
27
|
-
colorClassComputed: _angular_core.Signal<string>;
|
|
28
43
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsProgressBarComponent, never>;
|
|
29
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsProgressBarComponent, "bs-progress-bar", never, { "minimum": { "alias": "minimum"; "required": false; "isSignal": true; }; "maximum": { "alias": "maximum"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "striped": { "alias": "striped"; "required": false; "isSignal": true; }; "animated": { "alias": "animated"; "required": false; "isSignal": true; }; "
|
|
44
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsProgressBarComponent, "bs-progress-bar", never, { "minimum": { "alias": "minimum"; "required": false; "isSignal": true; }; "maximum": { "alias": "maximum"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "striped": { "alias": "striped"; "required": false; "isSignal": true; }; "animated": { "alias": "animated"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "valueText": { "alias": "valueText"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
30
45
|
}
|
|
31
46
|
|
|
32
47
|
export { BsProgressBarComponent, BsProgressComponent };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as _mintplayer_ui_core_query_builder from '@mintplayer/ui-core/query-builder';
|
|
2
|
-
import { Expression, SortDescriptor, SaveQueryDetail, SavedQueryNameDetail, EditorContext, QueryBuilderView } from '@mintplayer/ui-core/query-builder';
|
|
3
|
-
export { Condition, DEFAULT_MESSAGES, DEFAULT_OPERATOR_CATALOG, EditorContext, EntitySchema, Expression, FieldDef, FieldDefOption, FieldType, Group, MaxDepthExceededError, Operator, OperatorCatalog, OperatorOverrides, QueryBuilderMessages, RenderExpressionOptions, SaveQueryDetail, SavedQuery, SavedQueryNameDetail, SortDescriptor, SubQueryCondition, TreeVisitor, ValidateOperatorOverridesResult, ValueShape, VisitTreeOptions, VisitorContext, addChild, addEmptyConditionTo, addEmptyGroupTo, addEmptySubqueryTo, changeConditionField, changeConditionOperator, cloneTree, collectDescendantIds, defaultValueFor, emptyCondition, emptyGroup, emptySubquery, findNodeById, mapTree, moveNode, newId, operatorsForType, removeNode, renderExpression, setGroupLogic, updateCondition, validateOperatorOverrides, valueShapeFor, visitTree } from '@mintplayer/ui-core/query-builder';
|
|
4
1
|
import * as _angular_core from '@angular/core';
|
|
5
2
|
import { OnInit, ElementRef, TemplateRef } from '@angular/core';
|
|
3
|
+
import * as _mintplayer_ui_core_query_builder from '@mintplayer/ui-core/query-builder';
|
|
4
|
+
import { Expression, SaveQueryDetail, SavedQueryNameDetail, EditorContext, QueryBuilderView } from '@mintplayer/ui-core/query-builder';
|
|
5
|
+
export { Condition, DEFAULT_MESSAGES, DEFAULT_OPERATOR_CATALOG, EditorContext, EntitySchema, Expression, FieldDef, FieldDefOption, FieldType, Group, MaxDepthExceededError, Operator, OperatorCatalog, OperatorOverrides, QueryBuilderMessages, RenderExpressionOptions, SaveQueryDetail, SavedQuery, SavedQueryNameDetail, SortDescriptor, SubQueryCondition, TreeVisitor, ValidateOperatorOverridesResult, ValueShape, VisitTreeOptions, VisitorContext, addChild, addEmptyConditionTo, addEmptyGroupTo, addEmptySubqueryTo, changeConditionField, changeConditionOperator, cloneTree, collectDescendantIds, defaultValueFor, emptyCondition, emptyGroup, emptySubquery, findNodeById, mapTree, moveNode, newId, operatorsForType, removeNode, renderExpression, setGroupLogic, updateCondition, validateOperatorOverrides, valueShapeFor, visitTree } from '@mintplayer/ui-core/query-builder';
|
|
6
6
|
import { ControlValueAccessor } from '@angular/forms';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -36,14 +36,14 @@ declare class BsQueryBuilderEditorDirective {
|
|
|
36
36
|
} & {
|
|
37
37
|
$implicit: {
|
|
38
38
|
ctx: EditorContext;
|
|
39
|
-
};
|
|
39
|
+
}["ctx"];
|
|
40
40
|
}>;
|
|
41
41
|
static ngTemplateContextGuard(_dir: BsQueryBuilderEditorDirective, ctx: unknown): ctx is {
|
|
42
42
|
ctx: EditorContext;
|
|
43
43
|
} & {
|
|
44
44
|
$implicit: {
|
|
45
45
|
ctx: EditorContext;
|
|
46
|
-
};
|
|
46
|
+
}['ctx'];
|
|
47
47
|
};
|
|
48
48
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsQueryBuilderEditorDirective, never>;
|
|
49
49
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsQueryBuilderEditorDirective, "[bsQueryBuilderEditor]", never, {}, {}, never, never, true, never>;
|
|
@@ -60,32 +60,24 @@ declare class BsQueryBuilderComponent {
|
|
|
60
60
|
#private;
|
|
61
61
|
/** The host element. */
|
|
62
62
|
readonly elementRef: ElementRef<HTMLElement>;
|
|
63
|
-
readonly query: _angular_core.ModelSignal<Expression | null>;
|
|
63
|
+
readonly query: _angular_core.ModelSignal<_mintplayer_ui_core_query_builder.Expression | null>;
|
|
64
64
|
readonly schema: _angular_core.InputSignal<readonly _mintplayer_ui_core_query_builder.EntitySchema[]>;
|
|
65
65
|
readonly rootEntity: _angular_core.ModelSignal<string>;
|
|
66
66
|
readonly multiEntityPickerEnabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
67
67
|
readonly selectedFields: _angular_core.ModelSignal<readonly string[]>;
|
|
68
|
-
readonly sortBy: _angular_core.ModelSignal<readonly SortDescriptor[]>;
|
|
68
|
+
readonly sortBy: _angular_core.ModelSignal<readonly _mintplayer_ui_core_query_builder.SortDescriptor[]>;
|
|
69
69
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
70
70
|
readonly messages: _angular_core.InputSignal<Partial<_mintplayer_ui_core_query_builder.QueryBuilderMessages> | null | undefined>;
|
|
71
71
|
readonly maxDepth: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
72
72
|
readonly showPreview: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
73
73
|
readonly showSavedQueries: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
74
74
|
readonly savedQueries: _angular_core.InputSignal<readonly _mintplayer_ui_core_query_builder.SavedQuery[]>;
|
|
75
|
-
/** The user edited the query. */
|
|
76
|
-
readonly querychange: _angular_core.OutputEmitterRef<Expression>;
|
|
77
|
-
/** The user picked another entity in the toolbar. */
|
|
78
|
-
readonly rootentitychange: _angular_core.OutputEmitterRef<string>;
|
|
79
|
-
/** The projected columns changed. */
|
|
80
|
-
readonly selectedfieldschange: _angular_core.OutputEmitterRef<string[]>;
|
|
81
|
-
/** The sort changed. */
|
|
82
|
-
readonly sortbychange: _angular_core.OutputEmitterRef<SortDescriptor[]>;
|
|
83
75
|
/** Save the current query under a name. */
|
|
84
|
-
readonly
|
|
76
|
+
readonly saveQuery: _angular_core.OutputEmitterRef<SaveQueryDetail>;
|
|
85
77
|
/** Load the named saved query. */
|
|
86
|
-
readonly
|
|
78
|
+
readonly loadQuery: _angular_core.OutputEmitterRef<SavedQueryNameDetail>;
|
|
87
79
|
/** Delete the named saved query. */
|
|
88
|
-
readonly
|
|
80
|
+
readonly deleteQuery: _angular_core.OutputEmitterRef<SavedQueryNameDetail>;
|
|
89
81
|
private readonly editorSlot;
|
|
90
82
|
/** The template's named slots. */
|
|
91
83
|
protected readonly slots: _angular_core.Signal<{
|
|
@@ -94,7 +86,7 @@ declare class BsQueryBuilderComponent {
|
|
|
94
86
|
} & {
|
|
95
87
|
$implicit: {
|
|
96
88
|
ctx: EditorContext;
|
|
97
|
-
};
|
|
89
|
+
}["ctx"];
|
|
98
90
|
}> | undefined;
|
|
99
91
|
}>;
|
|
100
92
|
/** The template's props. */
|
|
@@ -103,7 +95,7 @@ declare class BsQueryBuilderComponent {
|
|
|
103
95
|
}>;
|
|
104
96
|
constructor();
|
|
105
97
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsQueryBuilderComponent, never>;
|
|
106
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsQueryBuilderComponent, "bs-query-builder", never, { "query": { "alias": "query"; "required": false; "isSignal": true; }; "schema": { "alias": "schema"; "required": false; "isSignal": true; }; "rootEntity": { "alias": "rootEntity"; "required": false; "isSignal": true; }; "multiEntityPickerEnabled": { "alias": "multiEntityPickerEnabled"; "required": false; "isSignal": true; }; "selectedFields": { "alias": "selectedFields"; "required": false; "isSignal": true; }; "sortBy": { "alias": "sortBy"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "messages": { "alias": "messages"; "required": false; "isSignal": true; }; "maxDepth": { "alias": "maxDepth"; "required": false; "isSignal": true; }; "showPreview": { "alias": "showPreview"; "required": false; "isSignal": true; }; "showSavedQueries": { "alias": "showSavedQueries"; "required": false; "isSignal": true; }; "savedQueries": { "alias": "savedQueries"; "required": false; "isSignal": true; }; }, { "query": "queryChange"; "rootEntity": "rootEntityChange"; "selectedFields": "selectedFieldsChange"; "sortBy": "sortByChange"; "
|
|
98
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsQueryBuilderComponent, "bs-query-builder", never, { "query": { "alias": "query"; "required": false; "isSignal": true; }; "schema": { "alias": "schema"; "required": false; "isSignal": true; }; "rootEntity": { "alias": "rootEntity"; "required": false; "isSignal": true; }; "multiEntityPickerEnabled": { "alias": "multiEntityPickerEnabled"; "required": false; "isSignal": true; }; "selectedFields": { "alias": "selectedFields"; "required": false; "isSignal": true; }; "sortBy": { "alias": "sortBy"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "messages": { "alias": "messages"; "required": false; "isSignal": true; }; "maxDepth": { "alias": "maxDepth"; "required": false; "isSignal": true; }; "showPreview": { "alias": "showPreview"; "required": false; "isSignal": true; }; "showSavedQueries": { "alias": "showSavedQueries"; "required": false; "isSignal": true; }; "savedQueries": { "alias": "savedQueries"; "required": false; "isSignal": true; }; }, { "query": "queryChange"; "rootEntity": "rootEntityChange"; "selectedFields": "selectedFieldsChange"; "sortBy": "sortByChange"; "saveQuery": "saveQuery"; "loadQuery": "loadQuery"; "deleteQuery": "deleteQuery"; }, ["editorSlot"], never, true, [{ directive: typeof BsQueryBuilderValueAccessor; inputs: {}; outputs: {}; }]>;
|
|
107
99
|
}
|
|
108
100
|
|
|
109
101
|
export { BsQueryBuilderComponent, BsQueryBuilderEditorDirective, BsQueryBuilderValueAccessor };
|
|
@@ -1,105 +1,133 @@
|
|
|
1
|
-
import * as _mintplayer_ui_core_forms from '@mintplayer/ui-core/forms';
|
|
2
|
-
import * as _mintplayer_ui_core_radio from '@mintplayer/ui-core/radio';
|
|
3
|
-
import { RadioInputBag } from '@mintplayer/ui-core/radio';
|
|
4
1
|
import * as _angular_core from '@angular/core';
|
|
5
|
-
import {
|
|
2
|
+
import { ElementRef } from '@angular/core';
|
|
3
|
+
import * as _mintplayer_ui_core_radio from '@mintplayer/ui-core/radio';
|
|
4
|
+
import { RadioGroupContext } from '@mintplayer/ui-core/radio';
|
|
5
|
+
import * as _mintplayer_ng_bootstrap_machine from '@mintplayer/ng-bootstrap/machine';
|
|
6
6
|
import * as i1 from '@mintplayer/ng-bootstrap/a11y/forms';
|
|
7
|
+
import * as _mintplayer_ui_core_component from '@mintplayer/ui-core/component';
|
|
8
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
7
9
|
|
|
8
10
|
/**
|
|
9
|
-
*
|
|
10
|
-
* value is the selected radio's `value()`. Bind `[formControl]` /
|
|
11
|
-
* `[(ngModel)]` on the element carrying it.
|
|
12
|
-
*
|
|
13
|
-
* The group hands its `name` to every radio (generated when none is given),
|
|
14
|
-
* so they are native radios of ONE set in one node tree: the browser supplies
|
|
15
|
-
* exclusivity, the single tab stop, arrow move-and-select and posinset, also
|
|
16
|
-
* with JavaScript off (#437). This directive only carries the value, the
|
|
17
|
-
* disabled state and the touched signal.
|
|
11
|
+
* A native `<input type=radio>` in Bootstrap's `.form-check` or `.btn-check` markup (#458).
|
|
18
12
|
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* its own; radios that are not descendants wire in with `[group]="g"`.
|
|
13
|
+
* Inside a radio group it takes the group's `name` and selection, so the browser supplies
|
|
14
|
+
* one-of-N, the single tab stop and arrow-key selection, with JavaScript off as well. An
|
|
15
|
+
* `aria-label` on the component, or `inputLabel`, names the input.
|
|
23
16
|
*/
|
|
24
|
-
declare class
|
|
25
|
-
private
|
|
26
|
-
|
|
27
|
-
|
|
17
|
+
declare class BsRadioComponent {
|
|
18
|
+
#private;
|
|
19
|
+
/** The host element. */
|
|
20
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
21
|
+
/** The consumer's aria-*, id and tabindex on the host, for the role-bearing node. */
|
|
22
|
+
protected readonly hostAttrs: _mintplayer_ng_bootstrap_machine.HostAttrs;
|
|
23
|
+
readonly type: _angular_core.InputSignal<_mintplayer_ui_core_radio.RadioType>;
|
|
24
|
+
readonly color: _angular_core.InputSignal<"primary" | "secondary" | "success" | "danger" | "warning" | "info" | "light" | "dark" | "outline-primary" | "outline-secondary" | "outline-success" | "outline-danger" | "outline-warning" | "outline-info" | "outline-light" | "outline-dark">;
|
|
25
|
+
readonly inline: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
26
|
+
readonly value: _angular_core.InputSignal<string | null>;
|
|
27
|
+
readonly checked: _angular_core.ModelSignal<boolean>;
|
|
28
28
|
readonly name: _angular_core.InputSignal<string | null>;
|
|
29
|
-
|
|
30
|
-
readonly required: _angular_core.
|
|
31
|
-
|
|
32
|
-
readonly
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
private onValueChange?;
|
|
39
|
-
protected onTouched?: () => void;
|
|
29
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
30
|
+
readonly required: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
31
|
+
readonly invalid: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
32
|
+
readonly errorText: _angular_core.InputSignal<string | null>;
|
|
33
|
+
readonly inputLabel: _angular_core.InputSignal<string | null>;
|
|
34
|
+
/** The template's props. */
|
|
35
|
+
protected readonly props: _angular_core.Signal<{
|
|
36
|
+
view: _mintplayer_ui_core_radio.RadioView;
|
|
37
|
+
}>;
|
|
40
38
|
constructor();
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsRadioComponent, never>;
|
|
40
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsRadioComponent, "bs-radio", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "inputLabel": { "alias": "inputLabel"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; }, never, ["*"], true, [{ directive: typeof i1.BsControlValidityDirective; inputs: { "errorMessages": "errorMessages"; }; outputs: {}; }]>;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* The `ControlValueAccessor` of a radio group, shared by the generated
|
|
45
|
+
* `bs-radio-group` and the attribute form `[bsRadioGroup]` (a host directive of
|
|
46
|
+
* both). The value is the picked radio's `value`. It reacts only to the radios
|
|
47
|
+
* of its own group: a radio list nested in a table cell is its own group and
|
|
48
|
+
* never changes this one (`ownsRadio`).
|
|
49
|
+
*/
|
|
50
|
+
declare class BsRadioGroupValueAccessor implements ControlValueAccessor {
|
|
51
|
+
private readonly host;
|
|
52
|
+
/** A form control is bound: its value drives the group, over the group's own `value`. */
|
|
53
|
+
readonly bound: _angular_core.WritableSignal<boolean>;
|
|
54
|
+
/** The selection as the form control or the user last set it. */
|
|
55
|
+
readonly viewValue: _angular_core.WritableSignal<string | null>;
|
|
56
|
+
readonly disabled: _angular_core.WritableSignal<boolean>;
|
|
57
|
+
private onChange;
|
|
58
|
+
onTouched: () => void;
|
|
59
|
+
/** The owner's own write-back of a pick (`[(value)]`), next to the form control's. */
|
|
60
|
+
onPick: (value: string) => void;
|
|
61
|
+
constructor();
|
|
62
|
+
registerOnChange(fn: (value: string | null) => void): void;
|
|
63
|
+
registerOnTouched(fn: () => void): void;
|
|
64
|
+
setDisabledState(isDisabled: boolean): void;
|
|
65
|
+
writeValue(value: string | null): void;
|
|
66
|
+
onNativeChange(event: Event): void;
|
|
67
|
+
private select;
|
|
43
68
|
/**
|
|
44
69
|
* A radio picked in the server-rendered page before hydration would be reverted
|
|
45
|
-
* by the `
|
|
46
|
-
*
|
|
47
|
-
* writes in a microtask after the first render)
|
|
70
|
+
* by the `checked` bindings. Read it while the host holds the server DOM, and
|
|
71
|
+
* replay it as the user's pick once the form directives have written their
|
|
72
|
+
* initial value (ngModel writes in a microtask after the first render) and the
|
|
73
|
+
* group's core has attached: a real `change`, so every listener (this accessor,
|
|
74
|
+
* the core and its model) takes the one path a live pick takes.
|
|
48
75
|
*/
|
|
49
76
|
private adoptPreHydrationChoice;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
writeValue(value: string | null): void;
|
|
53
|
-
setDisabledState(isDisabled: boolean): void;
|
|
54
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsRadioGroupDirective, never>;
|
|
55
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsRadioGroupDirective, "[bsRadioGroup], bs-radio-group", ["bsRadioGroup"], { "name": { "alias": "name"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
77
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsRadioGroupValueAccessor, never>;
|
|
78
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsRadioGroupValueAccessor, "[bsRadioGroupAccessor]", never, {}, {}, never, never, true, never>;
|
|
56
79
|
}
|
|
57
80
|
|
|
58
|
-
|
|
81
|
+
/**
|
|
82
|
+
* A `role=radiogroup` element around radios (#458). It hands them one `name`, so they are native
|
|
83
|
+
* radios of one set. `value` is two-way. Name it with `aria-label` / `aria-labelledby`. A radio
|
|
84
|
+
* list nested inside (a table cell) is its own group: each group reacts only to its own radios.
|
|
85
|
+
*/
|
|
86
|
+
declare class BsRadioGroupComponent {
|
|
87
|
+
#private;
|
|
88
|
+
/** The host element. */
|
|
89
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
90
|
+
readonly name: _angular_core.InputSignal<string | null>;
|
|
91
|
+
readonly value: _angular_core.ModelSignal<string | null>;
|
|
92
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
93
|
+
readonly required: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
94
|
+
/** What this component hands its content. */
|
|
95
|
+
readonly provided: _angular_core.Signal<_mintplayer_ui_core_radio.RadioGroupContext>;
|
|
96
|
+
/** The template's props. */
|
|
97
|
+
protected readonly props: _angular_core.Signal<{
|
|
98
|
+
root: _mintplayer_ui_core_component.CoreBag;
|
|
99
|
+
}>;
|
|
100
|
+
constructor();
|
|
101
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsRadioGroupComponent, never>;
|
|
102
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsRadioGroupComponent, "bs-radio-group", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, ["*"], true, [{ directive: typeof BsRadioGroupValueAccessor; inputs: {}; outputs: {}; }]>;
|
|
103
|
+
}
|
|
59
104
|
|
|
60
105
|
/**
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
106
|
+
* The attribute form of a radio group (Angular only, #458 M3): put it on a host
|
|
107
|
+
* you already have (a `<tbody>` whose rows each hold a radio, a `<div>` in a table
|
|
108
|
+
* cell, a `<bs-button-group>`). The `<bs-radio>` descendants take its `name` and
|
|
109
|
+
* selection through DI, so the nearest group wins: a radio list in a cell is its
|
|
110
|
+
* own group, and the row selection around it is another. Bind `[formControl]` /
|
|
111
|
+
* `[(ngModel)]` / `[(value)]` on the same element.
|
|
112
|
+
*
|
|
113
|
+
* It adds no role: the host keeps its own (a `rowgroup`, a `group`). Use
|
|
114
|
+
* `<bs-radio-group>` where the set needs `role="radiogroup"`.
|
|
67
115
|
*/
|
|
68
|
-
declare class
|
|
69
|
-
private readonly
|
|
70
|
-
private readonly validity;
|
|
71
|
-
private readonly hostAria;
|
|
116
|
+
declare class BsRadioGroupDirective {
|
|
117
|
+
private readonly accessor;
|
|
72
118
|
private readonly id;
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
value
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
|
|
82
|
-
* row). Host aria-* are read once at creation, so a bound [attr.aria-label]
|
|
83
|
-
* would not follow; this input does.
|
|
84
|
-
*/
|
|
85
|
-
inputLabel: _angular_core.InputSignal<string | null>;
|
|
86
|
-
/** Explicit `[group]` input wins over the DI-injected ancestor. */
|
|
87
|
-
readonly resolvedGroup: _angular_core.Signal<BsRadioGroupDirective | null>;
|
|
88
|
-
/** In a group the selection is the group's value; alone, `isToggled`. */
|
|
89
|
-
readonly checked: _angular_core.Signal<boolean>;
|
|
90
|
-
private readonly state;
|
|
91
|
-
readonly classes: _angular_core.Signal<_mintplayer_ui_core_radio.RadioClasses>;
|
|
92
|
-
readonly bags: _angular_core.Signal<{
|
|
93
|
-
input: RadioInputBag;
|
|
94
|
-
labelFor: string | null;
|
|
95
|
-
feedback: _mintplayer_ui_core_forms.ErrorFeedback["message"];
|
|
96
|
-
}>;
|
|
119
|
+
/** The radios' shared name; generated when omitted, so native grouping always forms. */
|
|
120
|
+
readonly name: _angular_core.InputSignal<string | null>;
|
|
121
|
+
/** Marks the set required: `aria-required` on the host and `required` on every radio. */
|
|
122
|
+
readonly required: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
123
|
+
/** The selected radio's value, when no form control is bound. */
|
|
124
|
+
readonly value: _angular_core.ModelSignal<string | null>;
|
|
125
|
+
readonly disabled: _angular_core.Signal<boolean>;
|
|
126
|
+
/** What the radios read. */
|
|
127
|
+
readonly provided: _angular_core.Signal<RadioGroupContext>;
|
|
97
128
|
constructor();
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsRadioComponent, never>;
|
|
101
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsRadioComponent, "bs-radio", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "isToggled": { "alias": "isToggled"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "group": { "alias": "group"; "required": false; "isSignal": true; }; "inputLabel": { "alias": "inputLabel"; "required": false; "isSignal": true; }; }, { "isToggled": "isToggledChange"; }, never, ["*"], true, [{ directive: typeof i1.BsControlValidityDirective; inputs: { "errorMessages": "errorMessages"; }; outputs: {}; }]>;
|
|
129
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsRadioGroupDirective, never>;
|
|
130
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsRadioGroupDirective, "[bsRadioGroup]", ["bsRadioGroup"], { "name": { "alias": "name"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, [{ directive: typeof BsRadioGroupValueAccessor; inputs: {}; outputs: {}; }]>;
|
|
102
131
|
}
|
|
103
132
|
|
|
104
|
-
export { BsRadioComponent, BsRadioGroupDirective };
|
|
105
|
-
export type { BsRadioType };
|
|
133
|
+
export { BsRadioComponent, BsRadioGroupComponent, BsRadioGroupDirective, BsRadioGroupValueAccessor };
|
|
@@ -1,29 +1,51 @@
|
|
|
1
|
+
import * as _mintplayer_ui_core_range from '@mintplayer/ui-core/range';
|
|
1
2
|
import * as _angular_core from '@angular/core';
|
|
2
3
|
import { ElementRef } from '@angular/core';
|
|
4
|
+
import * as _mintplayer_ng_bootstrap_machine from '@mintplayer/ng-bootstrap/machine';
|
|
3
5
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
6
|
|
|
7
|
+
/**
|
|
8
|
+
* The `ControlValueAccessor` of `bs-range` (a host directive of the generated
|
|
9
|
+
* component). The value is the slider's number.
|
|
10
|
+
*/
|
|
5
11
|
declare class BsRangeValueAccessor implements ControlValueAccessor {
|
|
6
|
-
private host;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
12
|
+
private readonly host;
|
|
13
|
+
/** A form control is bound: its value drives the slider, over the `value` input. */
|
|
14
|
+
readonly bound: _angular_core.WritableSignal<boolean>;
|
|
15
|
+
/** The value as the form control or the user last set it. */
|
|
16
|
+
readonly viewValue: _angular_core.WritableSignal<number>;
|
|
17
|
+
readonly disabled: _angular_core.WritableSignal<boolean>;
|
|
18
|
+
private onChange;
|
|
19
|
+
onTouched: () => void;
|
|
20
|
+
registerOnChange(fn: (value: number) => void): void;
|
|
11
21
|
registerOnTouched(fn: () => void): void;
|
|
12
|
-
writeValue(value?: number): void;
|
|
13
22
|
setDisabledState(isDisabled: boolean): void;
|
|
23
|
+
writeValue(value: number | null): void;
|
|
24
|
+
onNativeInput(event: Event): void;
|
|
14
25
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsRangeValueAccessor, never>;
|
|
15
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsRangeValueAccessor, "
|
|
26
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsRangeValueAccessor, "[bsRangeAccessor]", never, {}, {}, never, never, true, never>;
|
|
16
27
|
}
|
|
17
28
|
|
|
29
|
+
/** Bootstrap's `.form-range`: a native slider from `min` to `max` in `step`s. `value` is two-way; `label` names it when no `<label for>` does. */
|
|
18
30
|
declare class BsRangeComponent {
|
|
31
|
+
#private;
|
|
32
|
+
/** The host element. */
|
|
33
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
34
|
+
/** The consumer's aria-*, id and tabindex on the host, for the role-bearing node. */
|
|
35
|
+
protected readonly hostAttrs: _mintplayer_ng_bootstrap_machine.HostAttrs;
|
|
36
|
+
readonly value: _angular_core.ModelSignal<number>;
|
|
37
|
+
readonly min: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
38
|
+
readonly max: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
39
|
+
readonly step: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
40
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
41
|
+
readonly label: _angular_core.InputSignal<string | null>;
|
|
42
|
+
/** The template's props. */
|
|
43
|
+
protected readonly props: _angular_core.Signal<{
|
|
44
|
+
view: _mintplayer_ui_core_range.RangeView;
|
|
45
|
+
}>;
|
|
19
46
|
constructor();
|
|
20
|
-
readonly slider: _angular_core.Signal<ElementRef<HTMLInputElement>>;
|
|
21
|
-
readonly min: _angular_core.InputSignal<number>;
|
|
22
|
-
readonly max: _angular_core.InputSignal<number>;
|
|
23
|
-
readonly step: _angular_core.InputSignal<number>;
|
|
24
|
-
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
25
47
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsRangeComponent, never>;
|
|
26
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsRangeComponent, "bs-range", never, { "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "
|
|
48
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsRangeComponent, "bs-range", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, [{ directive: typeof BsRangeValueAccessor; inputs: {}; outputs: {}; }]>;
|
|
27
49
|
}
|
|
28
50
|
|
|
29
51
|
export { BsRangeComponent, BsRangeValueAccessor };
|