@mintplayer/ng-bootstrap 22.32.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/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 +4 -8
- 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 +6 -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 +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 +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 +12 -24
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +5 -9
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs +5 -7
- 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 +199 -16
- 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 +9 -11
- 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 +7 -15
- 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 +47 -63
- package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +14 -22
- 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 +8 -8
- 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 +5 -7
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.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 +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 +9 -13
- 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 +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 +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 +95 -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,7 +1,7 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { ElementRef } from '@angular/core';
|
|
3
3
|
import * as _mintplayer_ui_core_file_manager from '@mintplayer/ui-core/file-manager';
|
|
4
|
-
import {
|
|
4
|
+
import { NavigateEventDetail, NodeOpenEventDetail, FileManagerSelectionEventDetail, UploadRequestEventDetail, OperationEventDetail, FileManagerErrorEventDetail, ChildrenLoadedEventDetail, FileManagerMethods } from '@mintplayer/ui-core/file-manager';
|
|
5
5
|
export { ChildrenLoadedEventDetail, ConflictDecision, ConflictResolver, DEFAULT_FILE_MANAGER_MESSAGES, DialogResolver, FileManagerChildrenLoader, FileManagerErrorEventDetail, FileManagerIconResolver, FileManagerMessages, FileManagerSelectionEventDetail, FileManagerSelectionMode, FileManagerViewMode, FileSystemNode, FileSystemNodeType, NavigateEventDetail, NodeOpenEventDetail, OperationEventDetail, OperationFlags, OperationKind, UploadEntry, UploadRequestEventDetail, mergeMessages } from '@mintplayer/ui-core/file-manager';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -19,7 +19,7 @@ declare class BsFileManagerComponent {
|
|
|
19
19
|
readonly currentFolderId: _angular_core.ModelSignal<string | null>;
|
|
20
20
|
readonly allowUpload: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
21
21
|
readonly allowOperations: _angular_core.InputSignal<boolean | _mintplayer_ui_core_file_manager.OperationFlags>;
|
|
22
|
-
readonly viewMode: _angular_core.ModelSignal<FileManagerViewMode>;
|
|
22
|
+
readonly viewMode: _angular_core.ModelSignal<_mintplayer_ui_core_file_manager.FileManagerViewMode>;
|
|
23
23
|
readonly selectionMode: _angular_core.InputSignal<_mintplayer_ui_core_file_manager.FileManagerSelectionMode>;
|
|
24
24
|
readonly selectedIds: _angular_core.ModelSignal<readonly string[]>;
|
|
25
25
|
readonly searchPlaceholder: _angular_core.InputSignal<string | null>;
|
|
@@ -28,32 +28,22 @@ declare class BsFileManagerComponent {
|
|
|
28
28
|
readonly dialogResolver: _angular_core.InputSignal<_mintplayer_ui_core_file_manager.DialogResolver | null | undefined>;
|
|
29
29
|
readonly conflictResolver: _angular_core.InputSignal<_mintplayer_ui_core_file_manager.ConflictResolver | null | undefined>;
|
|
30
30
|
readonly loadChildren: _angular_core.InputSignal<_mintplayer_ui_core_file_manager.FileManagerChildrenLoader | null | undefined>;
|
|
31
|
-
readonly uploads: _angular_core.ModelSignal<readonly UploadEntry[]>;
|
|
32
|
-
readonly pending: _angular_core.ModelSignal<Readonly<Record<string, OperationKind>>>;
|
|
31
|
+
readonly uploads: _angular_core.ModelSignal<readonly _mintplayer_ui_core_file_manager.UploadEntry[]>;
|
|
32
|
+
readonly pending: _angular_core.ModelSignal<Readonly<Record<string, _mintplayer_ui_core_file_manager.OperationKind>>>;
|
|
33
33
|
/** The user opened a folder. */
|
|
34
34
|
readonly navigate: _angular_core.OutputEmitterRef<NavigateEventDetail>;
|
|
35
35
|
/** A file was opened (double click or Enter). */
|
|
36
|
-
readonly
|
|
36
|
+
readonly nodeOpen: _angular_core.OutputEmitterRef<NodeOpenEventDetail>;
|
|
37
37
|
/** The selection changed. */
|
|
38
|
-
readonly
|
|
38
|
+
readonly selectionChanged: _angular_core.OutputEmitterRef<FileManagerSelectionEventDetail>;
|
|
39
39
|
/** Files were dropped or picked, after conflict resolution. */
|
|
40
|
-
readonly
|
|
40
|
+
readonly uploadRequest: _angular_core.OutputEmitterRef<UploadRequestEventDetail>;
|
|
41
41
|
/** Rename, delete, new folder or paste: the consumer applies it. */
|
|
42
42
|
readonly operation: _angular_core.OutputEmitterRef<OperationEventDetail>;
|
|
43
43
|
/** `reportError()` was called. */
|
|
44
|
-
readonly
|
|
44
|
+
readonly errorReported: _angular_core.OutputEmitterRef<FileManagerErrorEventDetail>;
|
|
45
45
|
/** A lazy folder's children arrived. */
|
|
46
|
-
readonly
|
|
47
|
-
/** The open folder, after the user changed it. */
|
|
48
|
-
readonly currentfolderidchange: _angular_core.OutputEmitterRef<string | null>;
|
|
49
|
-
/** The selected node ids, after the user changed them. */
|
|
50
|
-
readonly selectedidschange: _angular_core.OutputEmitterRef<string[]>;
|
|
51
|
-
/** The view, after the user switched it. */
|
|
52
|
-
readonly viewmodechange: _angular_core.OutputEmitterRef<FileManagerViewMode>;
|
|
53
|
-
/** The tracked uploads, after a change. */
|
|
54
|
-
readonly uploadschange: _angular_core.OutputEmitterRef<UploadEntry[]>;
|
|
55
|
-
/** The nodes with an operation in flight, after a change. */
|
|
56
|
-
readonly pendingchange: _angular_core.OutputEmitterRef<Record<string, OperationKind>>;
|
|
46
|
+
readonly childrenLoaded: _angular_core.OutputEmitterRef<ChildrenLoadedEventDetail>;
|
|
57
47
|
/** The template's props. */
|
|
58
48
|
protected readonly props: _angular_core.Signal<{
|
|
59
49
|
view: _mintplayer_ui_core_file_manager.FileManagerTemplateView;
|
|
@@ -70,7 +60,7 @@ declare class BsFileManagerComponent {
|
|
|
70
60
|
/** Stop tracking an upload. */
|
|
71
61
|
clearUpload(...args: Parameters<FileManagerMethods['clearUpload']>): ReturnType<FileManagerMethods['clearUpload']>;
|
|
72
62
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsFileManagerComponent, never>;
|
|
73
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsFileManagerComponent, "bs-file-manager", never, { "nodes": { "alias": "nodes"; "required": false; "isSignal": true; }; "rootFolderId": { "alias": "rootFolderId"; "required": false; "isSignal": true; }; "currentFolderId": { "alias": "currentFolderId"; "required": false; "isSignal": true; }; "allowUpload": { "alias": "allowUpload"; "required": false; "isSignal": true; }; "allowOperations": { "alias": "allowOperations"; "required": false; "isSignal": true; }; "viewMode": { "alias": "viewMode"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "selectedIds": { "alias": "selectedIds"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "iconResolver": { "alias": "iconResolver"; "required": false; "isSignal": true; }; "messages": { "alias": "messages"; "required": false; "isSignal": true; }; "dialogResolver": { "alias": "dialogResolver"; "required": false; "isSignal": true; }; "conflictResolver": { "alias": "conflictResolver"; "required": false; "isSignal": true; }; "loadChildren": { "alias": "loadChildren"; "required": false; "isSignal": true; }; "uploads": { "alias": "uploads"; "required": false; "isSignal": true; }; "pending": { "alias": "pending"; "required": false; "isSignal": true; }; }, { "currentFolderId": "currentFolderIdChange"; "viewMode": "viewModeChange"; "selectedIds": "selectedIdsChange"; "uploads": "uploadsChange"; "pending": "pendingChange"; "navigate": "navigate"; "
|
|
63
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsFileManagerComponent, "bs-file-manager", never, { "nodes": { "alias": "nodes"; "required": false; "isSignal": true; }; "rootFolderId": { "alias": "rootFolderId"; "required": false; "isSignal": true; }; "currentFolderId": { "alias": "currentFolderId"; "required": false; "isSignal": true; }; "allowUpload": { "alias": "allowUpload"; "required": false; "isSignal": true; }; "allowOperations": { "alias": "allowOperations"; "required": false; "isSignal": true; }; "viewMode": { "alias": "viewMode"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "selectedIds": { "alias": "selectedIds"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "iconResolver": { "alias": "iconResolver"; "required": false; "isSignal": true; }; "messages": { "alias": "messages"; "required": false; "isSignal": true; }; "dialogResolver": { "alias": "dialogResolver"; "required": false; "isSignal": true; }; "conflictResolver": { "alias": "conflictResolver"; "required": false; "isSignal": true; }; "loadChildren": { "alias": "loadChildren"; "required": false; "isSignal": true; }; "uploads": { "alias": "uploads"; "required": false; "isSignal": true; }; "pending": { "alias": "pending"; "required": false; "isSignal": true; }; }, { "currentFolderId": "currentFolderIdChange"; "viewMode": "viewModeChange"; "selectedIds": "selectedIdsChange"; "uploads": "uploadsChange"; "pending": "pendingChange"; "navigate": "navigate"; "nodeOpen": "nodeOpen"; "selectionChanged": "selectionChanged"; "uploadRequest": "uploadRequest"; "operation": "operation"; "errorReported": "errorReported"; "childrenLoaded": "childrenLoaded"; }, never, never, true, never>;
|
|
74
64
|
}
|
|
75
65
|
|
|
76
66
|
export { BsFileManagerComponent };
|
|
@@ -1,57 +1,75 @@
|
|
|
1
|
+
import * as _mintplayer_ui_core_file_upload from '@mintplayer/ui-core/file-upload';
|
|
2
|
+
import { FileUpload } from '@mintplayer/ui-core/file-upload';
|
|
3
|
+
export { FileUpload, formatBytes } from '@mintplayer/ui-core/file-upload';
|
|
1
4
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
5
|
+
import { ElementRef, TemplateRef } from '@angular/core';
|
|
6
|
+
import * as _mintplayer_ng_bootstrap_machine from '@mintplayer/ng-bootstrap/machine';
|
|
4
7
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
/** The `fileTemplate` slot of `<bs-file-upload>`: `<ng-template bsFileUploadFileTemplate>` or `*bsFileUploadFileTemplate`. */
|
|
9
|
+
declare class BsFileUploadFileTemplateDirective {
|
|
10
|
+
readonly templateRef: TemplateRef<{
|
|
11
|
+
upload: FileUpload;
|
|
12
|
+
} & {
|
|
13
|
+
$implicit: {
|
|
14
|
+
upload: FileUpload;
|
|
15
|
+
}["upload"];
|
|
16
|
+
}>;
|
|
17
|
+
static ngTemplateContextGuard(_dir: BsFileUploadFileTemplateDirective, ctx: unknown): ctx is {
|
|
18
|
+
upload: FileUpload;
|
|
19
|
+
} & {
|
|
20
|
+
$implicit: {
|
|
21
|
+
upload: FileUpload;
|
|
22
|
+
}['upload'];
|
|
23
|
+
};
|
|
24
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsFileUploadFileTemplateDirective, never>;
|
|
25
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsFileUploadFileTemplateDirective, "[bsFileUploadFileTemplate]", never, {}, {}, never, never, true, never>;
|
|
9
26
|
}
|
|
10
|
-
|
|
27
|
+
/**
|
|
28
|
+
* A file drop zone over a native file input, with the list of files added. Drop files on it, click
|
|
29
|
+
* it or use the browse button; each batch is added to the two-way `files` list, emitted as
|
|
30
|
+
* `filesDropped` and announced. Rows show the name, size and a progress bar the consumer updates;
|
|
31
|
+
* the `fileTemplate` slot replaces a row. With `name` the input submits its files with a form, no
|
|
32
|
+
* JavaScript needed.
|
|
33
|
+
*/
|
|
11
34
|
declare class BsFileUploadComponent {
|
|
12
|
-
private
|
|
35
|
+
#private;
|
|
36
|
+
/** The host element. */
|
|
37
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
38
|
+
/** The consumer's aria-*, id and tabindex on the host, for the role-bearing node. */
|
|
39
|
+
protected readonly hostAttrs: _mintplayer_ng_bootstrap_machine.HostAttrs;
|
|
40
|
+
readonly files: _angular_core.ModelSignal<FileUpload[]>;
|
|
41
|
+
readonly name: _angular_core.InputSignal<string | null>;
|
|
42
|
+
readonly accept: _angular_core.InputSignal<string | null>;
|
|
43
|
+
readonly multiple: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
44
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
13
45
|
readonly dropFilesCaption: _angular_core.InputSignal<string>;
|
|
14
46
|
readonly browseFilesCaption: _angular_core.InputSignal<string>;
|
|
15
|
-
readonly
|
|
16
|
-
readonly
|
|
17
|
-
readonly inputAriaLabel: _angular_core.InputSignal<string>;
|
|
18
|
-
/** Live-region announcement after one file is added. Override to translate. */
|
|
47
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
48
|
+
readonly inputLabel: _angular_core.InputSignal<string>;
|
|
19
49
|
readonly fileAddedAnnouncement: _angular_core.InputSignal<(fileName: string) => string>;
|
|
20
|
-
/** Live-region announcement after several files are added at once. Override to translate. */
|
|
21
50
|
readonly filesAddedAnnouncement: _angular_core.InputSignal<(count: number) => string>;
|
|
22
|
-
/** Accessible name of the default template's progress bar. Override to translate. */
|
|
23
51
|
readonly progressLabel: _angular_core.InputSignal<(fileName: string) => string>;
|
|
24
|
-
readonly
|
|
25
|
-
|
|
26
|
-
readonly fileTemplate: _angular_core.WritableSignal<TemplateRef<FileUpload> | undefined>;
|
|
27
|
-
readonly files: _angular_core.ModelSignal<FileUpload[]>;
|
|
52
|
+
readonly formatSize: _angular_core.InputSignal<((bytes: number) => string) | null>;
|
|
53
|
+
/** Files were chosen or dropped: the batch just added. */
|
|
28
54
|
readonly filesDropped: _angular_core.OutputEmitterRef<FileUpload[]>;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
55
|
+
private readonly fileTemplateSlot;
|
|
56
|
+
/** The template's named slots. */
|
|
57
|
+
protected readonly slots: _angular_core.Signal<{
|
|
58
|
+
fileTemplate: TemplateRef<{
|
|
59
|
+
upload: FileUpload;
|
|
60
|
+
} & {
|
|
61
|
+
$implicit: {
|
|
62
|
+
upload: FileUpload;
|
|
63
|
+
}["upload"];
|
|
64
|
+
}> | undefined;
|
|
65
|
+
}>;
|
|
66
|
+
/** The template's props. */
|
|
67
|
+
protected readonly props: _angular_core.Signal<{
|
|
68
|
+
view: _mintplayer_ui_core_file_upload.FileUploadView;
|
|
69
|
+
}>;
|
|
40
70
|
constructor();
|
|
41
|
-
|
|
42
|
-
static
|
|
43
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsFileUploadTemplateDirective, never>;
|
|
44
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsFileUploadTemplateDirective, "[bsFileUploadTemplate]", never, { "bsFileUploadTemplateOf": { "alias": "bsFileUploadTemplateOf"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
45
|
-
}
|
|
46
|
-
declare class BsFileUploadTemplateContext {
|
|
47
|
-
$implicit: FileUpload;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
declare class BsFormatBytesPipe implements PipeTransform {
|
|
51
|
-
transform(value: number, decimals?: number): string;
|
|
52
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsFormatBytesPipe, never>;
|
|
53
|
-
static ɵpipe: _angular_core.ɵɵPipeDeclaration<BsFormatBytesPipe, "bsFormatBytes", true>;
|
|
71
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsFileUploadComponent, never>;
|
|
72
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsFileUploadComponent, "bs-file-upload", never, { "files": { "alias": "files"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "accept": { "alias": "accept"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "dropFilesCaption": { "alias": "dropFilesCaption"; "required": false; "isSignal": true; }; "browseFilesCaption": { "alias": "browseFilesCaption"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "inputLabel": { "alias": "inputLabel"; "required": false; "isSignal": true; }; "fileAddedAnnouncement": { "alias": "fileAddedAnnouncement"; "required": false; "isSignal": true; }; "filesAddedAnnouncement": { "alias": "filesAddedAnnouncement"; "required": false; "isSignal": true; }; "progressLabel": { "alias": "progressLabel"; "required": false; "isSignal": true; }; "formatSize": { "alias": "formatSize"; "required": false; "isSignal": true; }; }, { "files": "filesChange"; "filesDropped": "filesDropped"; }, ["fileTemplateSlot"], never, true, never>;
|
|
54
73
|
}
|
|
55
74
|
|
|
56
|
-
export { BsFileUploadComponent,
|
|
57
|
-
export type { FileUpload };
|
|
75
|
+
export { BsFileUploadComponent, BsFileUploadFileTemplateDirective };
|
|
@@ -1,22 +1,19 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ElementRef } from '@angular/core';
|
|
3
|
+
import * as _mintplayer_ui_core_component from '@mintplayer/ui-core/component';
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
/** Bootstrap's `.form-floating` around a control and then its `<label>`; a label without `for` is associated with the control. */
|
|
6
|
+
declare class BsFloatingLabelComponent {
|
|
7
|
+
#private;
|
|
8
|
+
/** The host element. */
|
|
9
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
10
|
+
/** The template's props. */
|
|
11
|
+
protected readonly props: i0.Signal<{
|
|
12
|
+
root: _mintplayer_ui_core_component.CoreBag;
|
|
13
|
+
}>;
|
|
6
14
|
constructor();
|
|
7
|
-
/**
|
|
8
|
-
* Associate the projected `<label>` with the projected control.
|
|
9
|
-
*
|
|
10
|
-
* Bootstrap's floating-label pattern *looks* labelled with no association at
|
|
11
|
-
* all — the label floats over the control purely via CSS — so the visual
|
|
12
|
-
* result gives no hint that a screen reader announces an unnamed textbox.
|
|
13
|
-
* `label`/`for` is the native mechanism and everything here is light DOM, so
|
|
14
|
-
* a generated id is all that is missing. Consumer-authored `for`/`id` are
|
|
15
|
-
* left untouched.
|
|
16
|
-
*/
|
|
17
|
-
ngAfterViewInit(): void;
|
|
18
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsFloatingLabelComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BsFloatingLabelComponent, "bs-floating-label", never, {}, {}, never, ["
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsFloatingLabelComponent, "bs-floating-label", never, {}, {}, never, ["*"], true, never>;
|
|
20
17
|
}
|
|
21
18
|
|
|
22
19
|
export { BsFloatingLabelComponent };
|
|
@@ -1,25 +1,46 @@
|
|
|
1
|
+
import * as _mintplayer_ui_core_form from '@mintplayer/ui-core/form';
|
|
1
2
|
import * as i0 from '@angular/core';
|
|
3
|
+
import { ElementRef } from '@angular/core';
|
|
4
|
+
import * as _mintplayer_ng_bootstrap_machine from '@mintplayer/ng-bootstrap/machine';
|
|
5
|
+
import * as _mintplayer_ui_core_component from '@mintplayer/ui-core/component';
|
|
2
6
|
|
|
7
|
+
/**
|
|
8
|
+
* A real `<form>` that anchors Bootstrap's forms part for everything inside it. `submitted` reports a submit;
|
|
9
|
+
* without an `action` the native submit is cancelled.
|
|
10
|
+
*/
|
|
3
11
|
declare class BsFormComponent {
|
|
4
|
-
|
|
5
|
-
|
|
12
|
+
#private;
|
|
13
|
+
/** The host element. */
|
|
14
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
15
|
+
/** The consumer's aria-*, id and tabindex on the host, for the role-bearing node. */
|
|
16
|
+
protected readonly hostAttrs: _mintplayer_ng_bootstrap_machine.HostAttrs;
|
|
17
|
+
readonly action: i0.InputSignal<string | null>;
|
|
18
|
+
readonly method: i0.InputSignal<_mintplayer_ui_core_form.FormMethod | null>;
|
|
19
|
+
/** The form was submitted. */
|
|
6
20
|
readonly submitted: i0.OutputEmitterRef<Event>;
|
|
7
|
-
|
|
21
|
+
/** The template's props. */
|
|
22
|
+
protected readonly props: i0.Signal<{
|
|
23
|
+
view: _mintplayer_ui_core_form.FormView;
|
|
24
|
+
}>;
|
|
25
|
+
constructor();
|
|
8
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsFormComponent, never>;
|
|
9
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<BsFormComponent, "bs-form", never, { "action": { "alias": "action"; "required": false; "isSignal": true; }; "method": { "alias": "method"; "required": false; "isSignal": true; }; }, { "submitted": "submitted"; }, never, ["*"], true, never>;
|
|
10
28
|
}
|
|
11
29
|
|
|
12
|
-
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsFormGroupDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BsFormGroupDirective, "[bsFormGroup]", never, {}, {}, never, never, true, never>;
|
|
15
|
-
}
|
|
16
|
-
|
|
30
|
+
/** Bootstrap's `.form-control` on an input or textarea. */
|
|
17
31
|
declare class BsFormControlDirective {
|
|
32
|
+
protected readonly core: _mintplayer_ng_bootstrap_machine.CoreHandle<_mintplayer_ui_core_component.CoreBag, undefined>;
|
|
18
33
|
constructor();
|
|
19
|
-
private form;
|
|
20
|
-
formControlClass: boolean;
|
|
21
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsFormControlDirective, never>;
|
|
22
35
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BsFormControlDirective, "bs-form input:not(.no-form-control), bs-form textarea:not(.no-form-control)", never, {}, {}, never, never, true, never>;
|
|
23
36
|
}
|
|
24
37
|
|
|
25
|
-
|
|
38
|
+
/** Bootstrap's `.col-form-label` on a label that lines up with a control in a grid row. */
|
|
39
|
+
declare class BsColFormLabelDirective {
|
|
40
|
+
protected readonly core: _mintplayer_ng_bootstrap_machine.CoreHandle<_mintplayer_ui_core_component.CoreBag, undefined>;
|
|
41
|
+
constructor();
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsColFormLabelDirective, never>;
|
|
43
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BsColFormLabelDirective, "[bsColFormLabel]", never, {}, {}, never, never, true, never>;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export { BsColFormLabelDirective, BsFormComponent, BsFormControlDirective };
|
|
@@ -1,53 +1,60 @@
|
|
|
1
|
+
import * as _mintplayer_ui_core_component from '@mintplayer/ui-core/component';
|
|
1
2
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
+
import { ElementRef } from '@angular/core';
|
|
4
|
+
import * as _mintplayer_ui_core_grid from '@mintplayer/ui-core/grid';
|
|
5
|
+
import * as _mintplayer_ng_bootstrap_machine from '@mintplayer/ng-bootstrap/machine';
|
|
3
6
|
|
|
7
|
+
/** Bootstrap's container around the page's rows: full width below `stopFullWidthAt`, fixed widths from it up (`never`: always full width). */
|
|
4
8
|
declare class BsGridComponent {
|
|
9
|
+
#private;
|
|
10
|
+
/** The host element. */
|
|
11
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
12
|
+
readonly stopFullWidthAt: _angular_core.InputSignal<_mintplayer_ui_core_grid.ContainerBreakpoint>;
|
|
13
|
+
/** The template's props. */
|
|
14
|
+
protected readonly props: _angular_core.Signal<{
|
|
15
|
+
root: _mintplayer_ui_core_component.CoreBag;
|
|
16
|
+
}>;
|
|
5
17
|
constructor();
|
|
6
|
-
stopFullWidthAt: _angular_core.InputSignal<Breakpoint | "never">;
|
|
7
|
-
containerClass: _angular_core.Signal<string>;
|
|
8
18
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsGridComponent, never>;
|
|
9
19
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsGridComponent, "bs-grid", never, { "stopFullWidthAt": { "alias": "stopFullWidthAt"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
10
20
|
}
|
|
11
21
|
|
|
12
|
-
/**
|
|
13
|
-
* Puts Bootstrap's `.row` on the element. The directive owns that class, so it
|
|
14
|
-
* stamps the element (`data-mps`) and installs the grid part (#452): the
|
|
15
|
-
* scoped part matches only stamped elements.
|
|
16
|
-
*/
|
|
22
|
+
/** Bootstrap's `.row` on the element. */
|
|
17
23
|
declare class BsGridRowDirective {
|
|
24
|
+
protected readonly core: _mintplayer_ng_bootstrap_machine.CoreHandle<_mintplayer_ui_core_component.CoreBag, undefined>;
|
|
18
25
|
constructor();
|
|
19
26
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsGridRowDirective, never>;
|
|
20
27
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsGridRowDirective, "[bsRow]", never, {}, {}, never, never, true, never>;
|
|
21
28
|
}
|
|
22
29
|
|
|
23
|
-
|
|
24
|
-
constructor();
|
|
25
|
-
xxs: _angular_core.InputSignal<number | undefined>;
|
|
26
|
-
xs: _angular_core.InputSignal<number | undefined>;
|
|
27
|
-
sm: _angular_core.InputSignal<number | undefined>;
|
|
28
|
-
md: _angular_core.InputSignal<number | undefined>;
|
|
29
|
-
lg: _angular_core.InputSignal<number | undefined>;
|
|
30
|
-
xl: _angular_core.InputSignal<number | undefined>;
|
|
31
|
-
xxl: _angular_core.InputSignal<number | undefined>;
|
|
32
|
-
classList: _angular_core.Signal<string | null>;
|
|
33
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsGridColumnDirective, never>;
|
|
34
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsGridColumnDirective, "[xxs],[xs],[sm],[md],[lg],[xl],[xxl]", never, { "xxs": { "alias": "xxs"; "required": false; "isSignal": true; }; "xs": { "alias": "xs"; "required": false; "isSignal": true; }; "sm": { "alias": "sm"; "required": false; "isSignal": true; }; "md": { "alias": "md"; "required": false; "isSignal": true; }; "lg": { "alias": "lg"; "required": false; "isSignal": true; }; "xl": { "alias": "xl"; "required": false; "isSignal": true; }; "xxl": { "alias": "xxl"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
35
|
-
}
|
|
30
|
+
/** Bootstrap's auto-width `.col` on the element. */
|
|
36
31
|
declare class BsGridColDirective {
|
|
32
|
+
protected readonly core: _mintplayer_ng_bootstrap_machine.CoreHandle<_mintplayer_ui_core_component.CoreBag, undefined>;
|
|
37
33
|
constructor();
|
|
38
|
-
readonly col: _angular_core.InputSignal<undefined>;
|
|
39
34
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsGridColDirective, never>;
|
|
40
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsGridColDirective, "[col]", never, {
|
|
35
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsGridColDirective, "[col]", never, {}, {}, never, never, true, never>;
|
|
41
36
|
}
|
|
42
37
|
|
|
43
|
-
/**
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
38
|
+
/** A column with a span per breakpoint: `<div md="6" lg="4">`. */
|
|
39
|
+
declare class BsGridColumnDirective {
|
|
40
|
+
/** The column span (1–12) at every width: `col-N`. */
|
|
41
|
+
readonly xxs: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
42
|
+
/** The column span (1–12) from the `xs` breakpoint up: `col-xs-N`. */
|
|
43
|
+
readonly xs: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
44
|
+
/** The column span (1–12) from the `sm` breakpoint up: `col-sm-N`. */
|
|
45
|
+
readonly sm: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
46
|
+
/** The column span (1–12) from the `md` breakpoint up: `col-md-N`. */
|
|
47
|
+
readonly md: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
48
|
+
/** The column span (1–12) from the `lg` breakpoint up: `col-lg-N`. */
|
|
49
|
+
readonly lg: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
50
|
+
/** The column span (1–12) from the `xl` breakpoint up: `col-xl-N`. */
|
|
51
|
+
readonly xl: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
52
|
+
/** The column span (1–12) from the `xxl` breakpoint up: `col-xxl-N`. */
|
|
53
|
+
readonly xxl: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
54
|
+
protected readonly core: _mintplayer_ng_bootstrap_machine.CoreHandle<_mintplayer_ui_core_component.CoreBag, undefined>;
|
|
48
55
|
constructor();
|
|
49
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
50
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<
|
|
56
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsGridColumnDirective, never>;
|
|
57
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsGridColumnDirective, "[xxs],[xs],[sm],[md],[lg],[xl],[xxl]", never, { "xxs": { "alias": "xxs"; "required": false; "isSignal": true; }; "xs": { "alias": "xs"; "required": false; "isSignal": true; }; "sm": { "alias": "sm"; "required": false; "isSignal": true; }; "md": { "alias": "md"; "required": false; "isSignal": true; }; "lg": { "alias": "lg"; "required": false; "isSignal": true; }; "xl": { "alias": "xl"; "required": false; "isSignal": true; }; "xxl": { "alias": "xxl"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
51
58
|
}
|
|
52
59
|
|
|
53
60
|
interface BsColumnDefinition {
|
|
@@ -60,5 +67,5 @@ interface BsColumnDefinition {
|
|
|
60
67
|
xxl?: number;
|
|
61
68
|
}
|
|
62
69
|
|
|
63
|
-
export {
|
|
70
|
+
export { BsGridColDirective, BsGridColumnDirective, BsGridComponent, BsGridRowDirective };
|
|
64
71
|
export type { BsColumnDefinition };
|
|
@@ -1,30 +1,19 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ElementRef } from '@angular/core';
|
|
3
|
+
import * as _mintplayer_ui_core_input_group from '@mintplayer/ui-core/input-group';
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* `<bs-input-group>` — joins its children into one visually continuous control.
|
|
7
|
-
*
|
|
8
|
-
* The host IS Bootstrap's `.input-group` (PRD #437 wave A): its children are
|
|
9
|
-
* its direct children, so the baseline's `.input-group > .form-control` rules
|
|
10
|
-
* apply as written and a consumer's `aria-*` / `id` already sits on the
|
|
11
|
-
* element that carries the role. The scoped sheet adds RTL and the sizing of
|
|
12
|
-
* controls rendered inside a framework host (`<bs-select>`).
|
|
13
|
-
*
|
|
14
|
-
* The role is `group` only when the group is named. The name is read from the
|
|
15
|
-
* host's static attributes, so SSR emits the same role; a group named through
|
|
16
|
-
* a binding passes `role="group"` itself.
|
|
17
|
-
*/
|
|
5
|
+
/** Bootstrap's input group: joins its children into one visually continuous control. A `label` names it and makes it a `group`. */
|
|
18
6
|
declare class BsInputGroupComponent {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
7
|
+
#private;
|
|
8
|
+
/** The host element. */
|
|
9
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
10
|
+
readonly size: _angular_core.InputSignal<_mintplayer_ui_core_input_group.InputGroupSize>;
|
|
11
|
+
readonly label: _angular_core.InputSignal<string | null>;
|
|
12
|
+
/** The template's props. */
|
|
13
|
+
protected readonly props: _angular_core.Signal<_mintplayer_ui_core_input_group.InputGroupProps>;
|
|
24
14
|
constructor();
|
|
25
15
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsInputGroupComponent, never>;
|
|
26
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsInputGroupComponent, "bs-input-group", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
16
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsInputGroupComponent, "bs-input-group", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
27
17
|
}
|
|
28
18
|
|
|
29
19
|
export { BsInputGroupComponent };
|
|
30
|
-
export type { BsInputGroupSize };
|
|
@@ -1,23 +1,37 @@
|
|
|
1
|
+
import * as _mintplayer_ui_core_component from '@mintplayer/ui-core/component';
|
|
1
2
|
import * as _angular_core from '@angular/core';
|
|
3
|
+
import { ElementRef } from '@angular/core';
|
|
2
4
|
|
|
3
|
-
|
|
5
|
+
/** Bootstrap's list group: a `role="list"` of `list-group-item`s. `flush` drops the outer borders. */
|
|
6
|
+
declare class BsListGroupComponent {
|
|
7
|
+
#private;
|
|
8
|
+
/** The host element. */
|
|
9
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
10
|
+
readonly flush: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
11
|
+
/** The template's props. */
|
|
12
|
+
protected readonly props: _angular_core.Signal<{
|
|
13
|
+
root: _mintplayer_ui_core_component.CoreBag;
|
|
14
|
+
}>;
|
|
4
15
|
constructor();
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsListGroupItemComponent, never>;
|
|
8
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsListGroupItemComponent, "bs-list-group-item", never, { "active": { "alias": "active"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
16
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsListGroupComponent, never>;
|
|
17
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsListGroupComponent, "bs-list-group", never, { "flush": { "alias": "flush"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
9
18
|
}
|
|
10
19
|
|
|
11
|
-
|
|
20
|
+
/** One item of a list group. `active` marks the current one (`aria-current`); `color` is a contextual colour. */
|
|
21
|
+
declare class BsListGroupItemComponent {
|
|
22
|
+
#private;
|
|
23
|
+
/** The host element. */
|
|
24
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
25
|
+
readonly active: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
26
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
27
|
+
readonly color: _angular_core.InputSignal<"primary" | "secondary" | "success" | "danger" | "warning" | "info" | "light" | "dark" | null>;
|
|
28
|
+
/** The template's props. */
|
|
29
|
+
protected readonly props: _angular_core.Signal<{
|
|
30
|
+
root: _mintplayer_ui_core_component.CoreBag;
|
|
31
|
+
}>;
|
|
12
32
|
constructor();
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
* the list sits edge to edge in its container (a card's border frames it).
|
|
16
|
-
*/
|
|
17
|
-
readonly flush: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
18
|
-
readonly items: _angular_core.Signal<readonly BsListGroupItemComponent[]>;
|
|
19
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsListGroupComponent, never>;
|
|
20
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsListGroupComponent, "bs-list-group", never, { "flush": { "alias": "flush"; "required": false; "isSignal": true; }; }, {}, ["items"], ["*"], true, never>;
|
|
33
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsListGroupItemComponent, never>;
|
|
34
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsListGroupItemComponent, "bs-list-group-item", never, { "active": { "alias": "active"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
21
35
|
}
|
|
22
36
|
|
|
23
37
|
export { BsListGroupComponent, BsListGroupItemComponent };
|
|
@@ -33,12 +33,22 @@ type PropBag = Record<string, string | number | boolean | null | undefined>;
|
|
|
33
33
|
*/
|
|
34
34
|
declare class MpPropsDirective {
|
|
35
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>;
|
|
36
46
|
private readonly element;
|
|
37
47
|
private readonly renderer;
|
|
38
48
|
private applied;
|
|
39
49
|
constructor();
|
|
40
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<MpPropsDirective, never>;
|
|
41
|
-
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>;
|
|
42
52
|
}
|
|
43
53
|
/** Write `next` onto `element`, removing what `previous` set and `next` drops. Returns `next`. */
|
|
44
54
|
declare function applyPropBag(renderer: Renderer2, element: Element, previous: PropBag, next: PropBag): PropBag;
|
|
@@ -92,7 +102,22 @@ declare function repairEventReplayBodyPaths(doc: Document): void;
|
|
|
92
102
|
*
|
|
93
103
|
* constructor() { useHostProps(() => this.view().root); }
|
|
94
104
|
*/
|
|
95
|
-
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;
|
|
96
121
|
|
|
97
122
|
/** The Angular token for a core context: one per context object. */
|
|
98
123
|
declare function coreContextToken<T>(context: CoreContext<T>): InjectionToken<Signal<T>>;
|
|
@@ -114,6 +139,11 @@ interface UseCoreOptions<I, P> {
|
|
|
114
139
|
readonly models?: Readonly<Record<string, {
|
|
115
140
|
set(value: never): void;
|
|
116
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;
|
|
117
147
|
}
|
|
118
148
|
interface CoreHandle<P, PC> {
|
|
119
149
|
/** The template's props. */
|
|
@@ -181,5 +211,66 @@ declare class MpTrustedHtmlPipe implements PipeTransform {
|
|
|
181
211
|
static ɵpipe: i0.ɵɵPipeDeclaration<MpTrustedHtmlPipe, "mpTrustedHtml", true>;
|
|
182
212
|
}
|
|
183
213
|
|
|
184
|
-
|
|
185
|
-
|
|
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 };
|