@mintplayer/ng-bootstrap 22.31.0 → 22.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -11
- package/_bootstrap.scss +2 -4
- package/a11y/forms/package.json +4 -0
- package/fesm2022/mintplayer-ng-bootstrap-a11y-forms.mjs +120 -0
- package/fesm2022/mintplayer-ng-bootstrap-a11y-forms.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs +3 -273
- package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +72 -139
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +34 -60
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +24 -27
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs +39 -17
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs +26 -6
- package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +4 -8
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs +169 -240
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +9 -8
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs +6 -8
- package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs +31 -40
- package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs +5 -5
- package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs +316 -211
- package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs +26 -12
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +5 -5
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs +87 -676
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs +52 -119
- package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +16 -24
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +9 -11
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs +9 -9
- package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs +5 -7
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +201 -197
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs +11 -19
- package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs +64 -123
- package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +19 -29
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-for.mjs +8 -4
- package/fesm2022/mintplayer-ng-bootstrap-for.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-form.mjs +54 -35
- package/fesm2022/mintplayer-ng-bootstrap-form.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +72 -99
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs +23 -36
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs +45 -28
- package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-machine.mjs +214 -19
- package/fesm2022/mintplayer-ng-bootstrap-machine.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs +27 -12
- package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs +61 -245
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs +9 -11
- package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-nav.mjs +92 -0
- package/fesm2022/mintplayer-ng-bootstrap-nav.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs +31 -15
- package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +49 -77
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +53 -393
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs +11 -9
- package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +29 -49
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs +21 -12
- package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs +12 -12
- package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs +27 -49
- package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs +29 -15
- package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +57 -253
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs +60 -335
- package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +48 -57
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs +11 -15
- package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-radio.mjs +235 -168
- package/fesm2022/mintplayer-ng-bootstrap-radio.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs +86 -44
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +80 -137
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs +29 -326
- package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs +47 -63
- package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +16 -22
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +48 -171
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs +12 -10
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-shell.mjs +52 -108
- package/fesm2022/mintplayer-ng-bootstrap-shell.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +9 -9
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs +25 -11
- package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs +6 -6
- package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs +37 -32
- package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +61 -99
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs +31 -30
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-theming.mjs +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-theming.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs +67 -306
- package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs +7 -9
- package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +14 -15
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +109 -143
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +51 -154
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs +9 -11
- package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +11 -13
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +160 -232
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
- package/nav/package.json +4 -0
- package/package.json +11 -28
- package/types/mintplayer-ng-bootstrap-a11y-forms.d.ts +64 -0
- package/types/mintplayer-ng-bootstrap-a11y.d.ts +3 -142
- package/types/mintplayer-ng-bootstrap-accordion.d.ts +51 -86
- package/types/mintplayer-ng-bootstrap-alert.d.ts +21 -28
- package/types/mintplayer-ng-bootstrap-badge.d.ts +13 -12
- package/types/mintplayer-ng-bootstrap-breadcrumb.d.ts +31 -8
- package/types/mintplayer-ng-bootstrap-button-group.d.ts +15 -4
- package/types/mintplayer-ng-bootstrap-calendar.d.ts +1 -5
- package/types/mintplayer-ng-bootstrap-card.d.ts +102 -76
- package/types/mintplayer-ng-bootstrap-carousel.d.ts +4 -6
- package/types/mintplayer-ng-bootstrap-charts-hierarchy.d.ts +4 -6
- package/types/mintplayer-ng-bootstrap-charts-sparkline.d.ts +24 -17
- package/types/mintplayer-ng-bootstrap-charts-trend.d.ts +3 -3
- package/types/mintplayer-ng-bootstrap-checkbox.d.ts +144 -92
- package/types/mintplayer-ng-bootstrap-close.d.ts +17 -5
- package/types/mintplayer-ng-bootstrap-code-snippet.d.ts +3 -3
- package/types/mintplayer-ng-bootstrap-color-picker.d.ts +42 -226
- package/types/mintplayer-ng-bootstrap-context-menu.d.ts +35 -17
- package/types/mintplayer-ng-bootstrap-datatable.d.ts +23 -35
- package/types/mintplayer-ng-bootstrap-datepicker.d.ts +3 -7
- package/types/mintplayer-ng-bootstrap-datetime-picker.d.ts +3 -5
- package/types/mintplayer-ng-bootstrap-dock.d.ts +6 -8
- package/types/mintplayer-ng-bootstrap-dropdown.d.ts +122 -54
- package/types/mintplayer-ng-bootstrap-file-manager.d.ts +10 -20
- package/types/mintplayer-ng-bootstrap-file-upload.d.ts +62 -44
- package/types/mintplayer-ng-bootstrap-floating-labels.d.ts +12 -15
- package/types/mintplayer-ng-bootstrap-for.d.ts +5 -5
- package/types/mintplayer-ng-bootstrap-form.d.ts +33 -11
- package/types/mintplayer-ng-bootstrap-grid.d.ts +42 -21
- package/types/mintplayer-ng-bootstrap-input-group.d.ts +11 -22
- package/types/mintplayer-ng-bootstrap-list-group.d.ts +31 -10
- package/types/mintplayer-ng-bootstrap-machine.d.ts +107 -5
- package/types/mintplayer-ng-bootstrap-marquee.d.ts +18 -5
- package/types/mintplayer-ng-bootstrap-modal.d.ts +43 -84
- package/types/mintplayer-ng-bootstrap-multi-range.d.ts +4 -6
- package/types/mintplayer-ng-bootstrap-nav.d.ts +52 -0
- package/types/mintplayer-ng-bootstrap-navbar-toggler.d.ts +22 -6
- package/types/mintplayer-ng-bootstrap-navbar.d.ts +27 -38
- package/types/mintplayer-ng-bootstrap-offcanvas.d.ts +35 -112
- package/types/mintplayer-ng-bootstrap-otp-input.d.ts +5 -4
- package/types/mintplayer-ng-bootstrap-pagination.d.ts +22 -34
- package/types/mintplayer-ng-bootstrap-parallax.d.ts +14 -4
- package/types/mintplayer-ng-bootstrap-phone-input.d.ts +6 -7
- package/types/mintplayer-ng-bootstrap-placeholder.d.ts +19 -18
- package/types/mintplayer-ng-bootstrap-playlist-toggler.d.ts +22 -6
- package/types/mintplayer-ng-bootstrap-popover.d.ts +36 -59
- package/types/mintplayer-ng-bootstrap-priority-nav.d.ts +80 -68
- package/types/mintplayer-ng-bootstrap-progress-bar.d.ts +35 -18
- package/types/mintplayer-ng-bootstrap-query-builder.d.ts +12 -20
- package/types/mintplayer-ng-bootstrap-radio.d.ts +112 -84
- package/types/mintplayer-ng-bootstrap-range.d.ts +36 -13
- package/types/mintplayer-ng-bootstrap-rating.d.ts +33 -42
- package/types/mintplayer-ng-bootstrap-resizable.d.ts +24 -114
- package/types/mintplayer-ng-bootstrap-ribbon.d.ts +21 -37
- package/types/mintplayer-ng-bootstrap-scheduler.d.ts +19 -27
- package/types/mintplayer-ng-bootstrap-scrollspy.d.ts +26 -50
- package/types/mintplayer-ng-bootstrap-select.d.ts +9 -8
- package/types/mintplayer-ng-bootstrap-shell.d.ts +40 -63
- package/types/mintplayer-ng-bootstrap-signature-pad.d.ts +5 -7
- package/types/mintplayer-ng-bootstrap-spinner.d.ts +14 -7
- package/types/mintplayer-ng-bootstrap-splitter.d.ts +3 -3
- package/types/mintplayer-ng-bootstrap-sticky-footer.d.ts +23 -13
- package/types/mintplayer-ng-bootstrap-tab-control.d.ts +61 -57
- package/types/mintplayer-ng-bootstrap-table.d.ts +23 -18
- package/types/mintplayer-ng-bootstrap-tile-manager.d.ts +94 -154
- package/types/mintplayer-ng-bootstrap-timeline.d.ts +23 -25
- package/types/mintplayer-ng-bootstrap-timepicker.d.ts +4 -8
- package/types/mintplayer-ng-bootstrap-toast.d.ts +94 -55
- package/types/mintplayer-ng-bootstrap-tooltip.d.ts +34 -33
- package/types/mintplayer-ng-bootstrap-tree-select.d.ts +14 -16
- package/types/mintplayer-ng-bootstrap-treeview.d.ts +12 -13
- package/types/mintplayer-ng-bootstrap-typeahead.d.ts +109 -133
- package/calendar-month/package.json +0 -4
- package/container/package.json +0 -4
- package/dropdown-divider/package.json +0 -4
- package/dropdown-menu/package.json +0 -4
- package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs +0 -136
- package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs.map +0 -1
- package/fesm2022/mintplayer-ng-bootstrap-container.mjs +0 -18
- package/fesm2022/mintplayer-ng-bootstrap-container.mjs.map +0 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs +0 -23
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs.map +0 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +0 -161
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +0 -1
- package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs +0 -32
- package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs.map +0 -1
- package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs +0 -31
- package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs.map +0 -1
- package/has-overlay/package.json +0 -4
- package/no-noscript/package.json +0 -4
- package/types/mintplayer-ng-bootstrap-calendar-month.d.ts +0 -54
- package/types/mintplayer-ng-bootstrap-container.d.ts +0 -8
- package/types/mintplayer-ng-bootstrap-dropdown-divider.d.ts +0 -8
- package/types/mintplayer-ng-bootstrap-dropdown-menu.d.ts +0 -94
- package/types/mintplayer-ng-bootstrap-has-overlay.d.ts +0 -22
- package/types/mintplayer-ng-bootstrap-no-noscript.d.ts +0 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-dock.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/dock/src/generated/dock-manager.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dock/src/generated/dock-manager.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dock/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/dock/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/dock/mintplayer-ng-bootstrap-dock.ts"],"sourcesContent":["// GENERATED from the dock manifest (dock-manager) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, Directive, ElementRef, TemplateRef, booleanAttribute, computed, contentChild, inject, input, model, output } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { MpPropsDirective, MpTeleportDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { dockCore, type DockInputs, type DockLayoutSnapshot, type DockMethods, type DockNodeView, type DockPaneActivatedEventDetail, dockScopedStyles } from '@mintplayer/ui-core/dock';\nimport { BsSplitterComponent } from '@mintplayer/ng-bootstrap/splitter';\nimport { BsSplitterPanelComponent } from '@mintplayer/ng-bootstrap/splitter';\n\n/** The `pane` slot of `<bs-dock-manager>`: `<ng-template bsDockManagerPane>` or `*bsDockManagerPane`. */\n@Directive({ selector: '[bsDockManagerPane]' })\nexport class BsDockManagerPaneDirective {\n readonly templateRef = inject<TemplateRef<{ pane: string } & { $implicit: { pane: string } }>>(TemplateRef);\n static ngTemplateContextGuard(_dir: BsDockManagerPaneDirective, ctx: unknown): ctx is { pane: string } & { $implicit: { pane: string } } {\n return true;\n }\n}\n\n/** Types the `DockNode` partial's context in this template. */\n@Directive({ selector: 'ng-template[mpPartialDockNode]' })\nexport class DockNodePartial {\n static ngTemplateContextGuard(_dir: DockNodePartial, ctx: unknown): ctx is { node: DockNodeView } {\n return true;\n }\n}\n\n/**\n * A docking layout (#437): panes in tabbed stacks, split side by side and torn off into floating\n * windows, by pointer, touch long-press or the keyboard (M on a tab, then T/R/B/L/F or the arrows).\n * `layout` is two-way; the `pane` slot renders each pane by name. Strings come from `labels`.\n */\n@Component({\n selector: 'bs-dock-manager',\n templateUrl: './dock-manager.view.generated.html',\n imports: [MpPropsDirective, MpTeleportDirective, NgTemplateOutlet, DockNodePartial, BsSplitterComponent, BsSplitterPanelComponent],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsDockManagerComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly layout = model<DockInputs['layout']>(null);\n readonly debugLayoutIntegrity = input<DockInputs['debugLayoutIntegrity'], unknown>(false, { transform: booleanAttribute });\n readonly labels = input<DockInputs['labels']>(null);\n /** The layout, after the user changed it. */\n readonly layoutchange = output<DockLayoutSnapshot>();\n /** A tab was activated. */\n readonly paneactivated = output<DockPaneActivatedEventDetail>();\n\n private readonly paneSlot = contentChild(BsDockManagerPaneDirective);\n /** The template's named slots. */\n protected readonly slots = computed(() => ({ pane: this.paneSlot()?.templateRef }));\n readonly #core = useCore(dockCore, { inputs: () => ({ layout: this.layout(), debugLayoutIntegrity: this.debugLayoutIntegrity(), labels: this.labels() }), idPrefix: 'bs-dock-manager', outputs: { layoutChange: this.layoutchange, paneActivated: this.paneactivated }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'dock' }), models: { layout: this.layout } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles('dock', dockScopedStyles);\n }\n\n /** A copy of the current layout snapshot. */\n captureLayout(...args: Parameters<DockMethods['captureLayout']>): ReturnType<DockMethods['captureLayout']> {\n return this.#core.call('captureLayout', args) as ReturnType<DockMethods['captureLayout']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/dock/src/templates/dock-manager.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"dock\" [mpProps]=\"p_view.docked\">\n @if (p_view.dockedNode) {\n <ng-container [ngTemplateOutlet]=\"partial_DockNode\" [ngTemplateOutletContext]=\"{ node: p_view.dockedNode }\" />\n }\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.floatingLayer\">\n @for (f of p_view.floating; track f.key) {\n <div data-mps=\"dock\" [mpProps]=\"f.bag\" [style]=\"f.style\">\n <div data-mps=\"dock\" [mpProps]=\"f.chrome\">\n <div data-mps=\"dock\" [mpProps]=\"f.title\">\n {{ f.titleText }}\n </div>\n <button data-mps=\"dock\" [mpProps]=\"f.close\">\n ×\n </button>\n </div>\n <div data-mps=\"dock\" [mpProps]=\"f.content\">\n @if (f.node) {\n <ng-container [ngTemplateOutlet]=\"partial_DockNode\" [ngTemplateOutletContext]=\"{ node: f.node }\" />\n }\n </div>\n @for (r of f.resizers; track r.key) {\n <div data-mps=\"dock\" [mpProps]=\"r.bag\"></div>\n }\n </div>\n }\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.intersectionLayer\">\n @for (h of p_view.intersections; track h.key) {\n <div data-mps=\"dock\" [mpProps]=\"h.bag\" [style]=\"h.style\"></div>\n }\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.indicator\" [style]=\"p_view.indicatorStyle\"></div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.joystick\" [style]=\"p_view.joystickStyle\">\n @for (c of p_view.joystickCells; track c.key) {\n @if (c.button) {\n <button data-mps=\"dock\" [mpProps]=\"c.bag\">\n {{ c.glyph }}\n </button>\n } @else {\n <span data-mps=\"dock\" [mpProps]=\"c.bag\"></span>\n }\n }\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.live\">\n {{ p_view.announcement }}\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.parking\"></div>\n@for (p of p_view.panes; track p.name) {\n <ng-template [mpTeleport]=\"p.host\">\n @if (slots().pane; as slot_pane) {\n <ng-container [ngTemplateOutlet]=\"slot_pane\" [ngTemplateOutletContext]=\"{ $implicit: { pane: p.name }, pane: p.name }\" />\n }\n </ng-template>\n}\n<ng-template #partial_DockNode mpPartialDockNode let-pp_node=\"node\">\n <div data-mps=\"dock\" [mpProps]=\"pp_node.bag\">\n @if (pp_node.split) {\n <bs-splitter [orientation]=\"pp_node.direction\" [minPanelSize]=\"48\" (resizeend)=\"pp_node.onResizeEnd($event)\" (resizing)=\"pp_node.onResizing($event)\">\n @for (c of pp_node.children; track c.key) {\n <bs-splitter-panel>\n <ng-container [ngTemplateOutlet]=\"partial_DockNode\" [ngTemplateOutletContext]=\"{ node: c.node }\" />\n </bs-splitter-panel>\n }\n </bs-splitter>\n }\n @if (pp_node.stack) {\n <div data-mps=\"dock\" [mpProps]=\"pp_node.stack.strip\">\n @for (t of pp_node.stack.tabs; track t.key) {\n @if (t.placeholder) {\n <span data-mps=\"dock\" [mpProps]=\"t.bag\" [style]=\"t.style\">\n {{ t.title }}\n </span>\n } @else {\n <button data-mps=\"dock\" [mpProps]=\"t.bag\">\n {{ t.title }}\n </button>\n }\n }\n </div>\n <div data-mps=\"dock\" [mpProps]=\"pp_node.stack.body\">\n {{ pp_node.stack.empty }}\n </div>\n }\n </div>\n</ng-template>\n","// GENERATED from the dock manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsDockManagerComponent, BsDockManagerPaneDirective } from './dock-manager.component.generated';\n","// The dock manager is generated from @mintplayer/ui-core/dock (PRD #437 D10).\nexport * from './generated';\nexport { DOCK_LABELS, EMPTY_DOCK_LAYOUT, mergeDockLabels } from '@mintplayer/ui-core/dock';\nexport type {\n DockFloatingPaneBounds,\n DockFloatingStackLayout,\n DockLabels,\n DockLayout,\n DockLayoutInput,\n DockLayoutNode,\n DockLayoutSnapshot,\n DockPaneActivatedEventDetail,\n DockSplitNode,\n DockStackNode,\n} from '@mintplayer/ui-core/dock';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAAA;AAQA;MAEa,0BAA0B,CAAA;AADvC,IAAA,WAAA,GAAA;AAEW,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAkE,WAAW,CAAC;AAI5G,IAAA;AAHC,IAAA,OAAO,sBAAsB,CAAC,IAAgC,EAAE,GAAY,EAAA;AAC1E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AAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAc0D,mBAAmB,2KAAE,wBAAwB,EAAA,QAAA,EAAA,mBAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAGtH,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBANlC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,iBAAiB,WAElB,CAAC,gBAAgB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,eAAe,EAAE,mBAAmB,EAAE,wBAAwB,CAAC,EAAA,eAAA,EACjH,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,q5GAAA,EAAA;glBAcN,0BAA0B,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AEhDrE;;ACAA;;ACAA;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-dock.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/dock/src/generated/dock-manager.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dock/src/generated/dock-manager.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dock/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/dock/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/dock/mintplayer-ng-bootstrap-dock.ts"],"sourcesContent":["// GENERATED from the dock manifest (dock-manager) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, Directive, ElementRef, TemplateRef, booleanAttribute, computed, contentChild, inject, input, model, output } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { MpPropsDirective, MpTeleportDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { dockCore, type DockInputs, type DockMethods, type DockNodeView, type DockPaneActivatedEventDetail, dockScopedStyles } from '@mintplayer/ui-core/dock';\nimport { BsSplitterComponent } from '@mintplayer/ng-bootstrap/splitter';\nimport { BsSplitterPanelComponent } from '@mintplayer/ng-bootstrap/splitter';\n\n/** The `pane` slot of `<bs-dock-manager>`: `<ng-template bsDockManagerPane>` or `*bsDockManagerPane`. */\n@Directive({ selector: '[bsDockManagerPane]' })\nexport class BsDockManagerPaneDirective {\n readonly templateRef = inject<TemplateRef<{ pane: string } & { $implicit: { pane: string }['pane'] }>>(TemplateRef);\n static ngTemplateContextGuard(_dir: BsDockManagerPaneDirective, ctx: unknown): ctx is { pane: string } & { $implicit: { pane: string }['pane'] } {\n return true;\n }\n}\n\n/** Types the `DockNode` partial's context in this template. */\n@Directive({ selector: 'ng-template[mpPartialDockNode]' })\nexport class DockNodePartial {\n static ngTemplateContextGuard(_dir: DockNodePartial, ctx: unknown): ctx is { node: DockNodeView } {\n return true;\n }\n}\n\n/**\n * A docking layout (#437): panes in tabbed stacks, split side by side and torn off into floating\n * windows, by pointer, touch long-press or the keyboard (M on a tab, then T/R/B/L/F or the arrows).\n * `layout` is two-way; the `pane` slot renders each pane by name. Strings come from `labels`.\n */\n@Component({\n selector: 'bs-dock-manager',\n templateUrl: './dock-manager.view.generated.html',\n imports: [MpPropsDirective, MpTeleportDirective, NgTemplateOutlet, DockNodePartial, BsSplitterComponent, BsSplitterPanelComponent],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsDockManagerComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly layout = model<DockInputs['layout']>(null);\n readonly debugLayoutIntegrity = input<DockInputs['debugLayoutIntegrity'], unknown>(false, { transform: booleanAttribute });\n readonly labels = input<DockInputs['labels']>(null);\n /** A tab was activated. */\n readonly paneActivated = output<DockPaneActivatedEventDetail>();\n\n private readonly paneSlot = contentChild(BsDockManagerPaneDirective);\n /** The template's named slots. */\n protected readonly slots = computed(() => ({ pane: this.paneSlot()?.templateRef }));\n readonly #core = useCore(dockCore, { inputs: () => ({ layout: this.layout(), debugLayoutIntegrity: this.debugLayoutIntegrity(), labels: this.labels() }), idPrefix: 'bs-dock-manager', outputs: { paneActivated: this.paneActivated }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'dock' }), models: { layout: this.layout } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles('dock', dockScopedStyles);\n }\n\n /** A copy of the current layout snapshot. */\n captureLayout(...args: Parameters<DockMethods['captureLayout']>): ReturnType<DockMethods['captureLayout']> {\n return this.#core.call('captureLayout', args) as ReturnType<DockMethods['captureLayout']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/dock/src/templates/dock-manager.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"dock\" [mpProps]=\"p_view.docked\">\n @if (p_view.dockedNode) {\n <ng-container [ngTemplateOutlet]=\"partial_DockNode\" [ngTemplateOutletContext]=\"{ node: p_view.dockedNode }\" />\n }\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.floatingLayer\">\n @for (f of p_view.floating; track f.key) {\n <div data-mps=\"dock\" [mpProps]=\"f.bag\" [style]=\"f.style\">\n <div data-mps=\"dock\" [mpProps]=\"f.chrome\">\n <div data-mps=\"dock\" [mpProps]=\"f.title\">\n {{ f.titleText }}\n </div>\n <button data-mps=\"dock\" [mpProps]=\"f.close\">\n ×\n </button>\n </div>\n <div data-mps=\"dock\" [mpProps]=\"f.content\">\n @if (f.node) {\n <ng-container [ngTemplateOutlet]=\"partial_DockNode\" [ngTemplateOutletContext]=\"{ node: f.node }\" />\n }\n </div>\n @for (r of f.resizers; track r.key) {\n <div data-mps=\"dock\" [mpProps]=\"r.bag\"></div>\n }\n </div>\n }\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.intersectionLayer\">\n @for (h of p_view.intersections; track h.key) {\n <div data-mps=\"dock\" [mpProps]=\"h.bag\" [style]=\"h.style\"></div>\n }\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.indicator\" [style]=\"p_view.indicatorStyle\"></div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.joystick\" [style]=\"p_view.joystickStyle\">\n @for (c of p_view.joystickCells; track c.key) {\n @if (c.button) {\n <button data-mps=\"dock\" [mpProps]=\"c.bag\">\n {{ c.glyph }}\n </button>\n } @else {\n <span data-mps=\"dock\" [mpProps]=\"c.bag\"></span>\n }\n }\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.live\">\n {{ p_view.announcement }}\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.parking\"></div>\n@for (p of p_view.panes; track p.name) {\n <ng-template [mpTeleport]=\"p.host\">\n @if (slots().pane; as slot_pane) {\n <ng-container [ngTemplateOutlet]=\"slot_pane\" [ngTemplateOutletContext]=\"{ $implicit: p.name, pane: p.name }\" />\n }\n </ng-template>\n}\n<ng-template #partial_DockNode mpPartialDockNode let-pp_node=\"node\">\n <div data-mps=\"dock\" [mpProps]=\"pp_node.bag\">\n @if (pp_node.split) {\n <bs-splitter [orientation]=\"pp_node.direction\" [minPanelSize]=\"48\" (resizeEnd)=\"pp_node.onResizeEnd($event)\" (resizing)=\"pp_node.onResizing($event)\">\n @for (c of pp_node.children; track c.key) {\n <bs-splitter-panel>\n <ng-container [ngTemplateOutlet]=\"partial_DockNode\" [ngTemplateOutletContext]=\"{ node: c.node }\" />\n </bs-splitter-panel>\n }\n </bs-splitter>\n }\n @if (pp_node.stack) {\n <div data-mps=\"dock\" [mpProps]=\"pp_node.stack.strip\">\n @for (t of pp_node.stack.tabs; track t.key) {\n @if (t.placeholder) {\n <span data-mps=\"dock\" [mpProps]=\"t.bag\" [style]=\"t.style\">\n {{ t.title }}\n </span>\n } @else {\n <button data-mps=\"dock\" [mpProps]=\"t.bag\">\n {{ t.title }}\n </button>\n }\n }\n </div>\n <div data-mps=\"dock\" [mpProps]=\"pp_node.stack.body\">\n {{ pp_node.stack.empty }}\n </div>\n }\n </div>\n</ng-template>\n","// GENERATED from the dock manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsDockManagerComponent, BsDockManagerPaneDirective } from './dock-manager.component.generated';\n","// The dock manager is generated from @mintplayer/ui-core/dock (PRD #437 D10).\nexport * from './generated';\nexport { DOCK_LABELS, EMPTY_DOCK_LAYOUT, mergeDockLabels } from '@mintplayer/ui-core/dock';\nexport type {\n DockFloatingPaneBounds,\n DockFloatingStackLayout,\n DockLabels,\n DockLayout,\n DockLayoutInput,\n DockLayoutNode,\n DockLayoutSnapshot,\n DockPaneActivatedEventDetail,\n DockSplitNode,\n DockStackNode,\n} from '@mintplayer/ui-core/dock';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAAA;AAQA;MAEa,0BAA0B,CAAA;AADvC,IAAA,WAAA,GAAA;AAEW,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAA0E,WAAW,CAAC;AAIpH,IAAA;AAHC,IAAA,OAAO,sBAAsB,CAAC,IAAgC,EAAE,GAAY,EAAA;AAC1E,QAAA,OAAO,IAAI;IACb;8GAJW,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAA1B,0BAA0B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,qBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBADtC,SAAS;mBAAC,EAAE,QAAQ,EAAE,qBAAqB,EAAE;;AAQ9C;MAEa,eAAe,CAAA;AAC1B,IAAA,OAAO,sBAAsB,CAAC,IAAqB,EAAE,GAAY,EAAA;AAC/D,QAAA,OAAO,IAAI;IACb;8GAHW,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAf,eAAe,EAAA,YAAA,EAAA,IAAA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
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
2
|
+
import { inject, ElementRef, input, booleanAttribute, ChangeDetectionStrategy, Component, signal, TemplateRef, Directive, numberAttribute, output, contentChild, computed } from '@angular/core';
|
|
3
|
+
import { useCore, useScopedStyles, provideCoreContext, MpPropsDirective, anchorElement, useOverlayComponent } from '@mintplayer/ng-bootstrap/machine';
|
|
4
|
+
import { dropdownPanelCore, dropdownScopedStyles, DROPDOWN_NESTING, dropdownMenuCore, dropdownItemCore, dropdownHeaderCore, dropdownDividerCore, dropdownCore } from '@mintplayer/ui-core/dropdown';
|
|
5
|
+
import { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';
|
|
6
|
+
import { NgTemplateOutlet } from '@angular/common';
|
|
7
|
+
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
8
|
+
import * as i1 from '@angular/router';
|
|
9
|
+
import { RouterLinkActive } from '@angular/router';
|
|
8
10
|
|
|
9
|
-
|
|
11
|
+
// GENERATED from the dropdown manifest (dropdown-panel) by @mintplayer/nx-component-compiler. Do not edit.
|
|
12
|
+
/** The dropdown's positioned panel, as the dropdown directive renders it; not used on its own. */
|
|
13
|
+
class BsDropdownPanelComponent {
|
|
14
|
+
#core;
|
|
10
15
|
constructor() {
|
|
11
|
-
|
|
12
|
-
this.
|
|
13
|
-
|
|
14
|
-
this.
|
|
15
|
-
|
|
16
|
-
this.
|
|
17
|
-
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
this.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
if (isOpen) {
|
|
33
|
-
// Prevent creating duplicate overlays if effect re-runs while still open
|
|
34
|
-
if (this.overlayRef) {
|
|
35
|
-
return;
|
|
36
|
-
}
|
|
37
|
-
this.wait = true;
|
|
38
|
-
setTimeout(() => this.wait = false, 100);
|
|
39
|
-
this.overlayRef = this.overlay.create({
|
|
40
|
-
hasBackdrop: this.dropdown.hasBackdrop(),
|
|
41
|
-
scrollStrategy: this.overlay.scrollStrategies.reposition(),
|
|
42
|
-
positionStrategy: this.overlay.position()
|
|
43
|
-
.flexibleConnectedTo(!this.dropdown.toggle() ? this.dropdown.elementRef : this.dropdown.toggle().toggleButton)
|
|
44
|
-
.withPositions([
|
|
45
|
-
{ originX: "start", originY: "bottom", overlayX: "start", overlayY: "top", offsetY: 0 },
|
|
46
|
-
{ originX: "start", originY: "top", overlayX: "start", overlayY: "bottom", offsetY: 0 },
|
|
47
|
-
]),
|
|
48
|
-
});
|
|
49
|
-
if (this.dropdown.hasBackdrop() && this.dropdown.closeOnClickOutside()) {
|
|
50
|
-
this.overlayRef.backdropClick().subscribe(() => {
|
|
51
|
-
this.dropdown.isOpen.set(false);
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
this.templatePortal = new TemplatePortal(this.templateRef, this.viewContainerRef);
|
|
55
|
-
const view = this.overlayRef.attach(this.templatePortal);
|
|
56
|
-
if (this.dropdown.sameDropdownWidth()) {
|
|
57
|
-
const width = this.dropdown.elementRef.nativeElement.offsetWidth;
|
|
58
|
-
view.rootNodes[0].style.width = width + 'px';
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
else {
|
|
62
|
-
this.disposeOverlay();
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
// Destroyed while open (an @if around the dropdown, a route change): the overlay and the
|
|
66
|
-
// stack entry are not in this view, so nothing else would ever remove them.
|
|
67
|
-
this.destroy.onDestroy(() => {
|
|
68
|
-
this.disposeOverlay();
|
|
69
|
-
if (this.stackToken !== null) {
|
|
70
|
-
this.overlayStack.release(this.stackToken);
|
|
71
|
-
this.stackToken = null;
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
/** The open menu's overlay pane, where its items are; null while closed. */
|
|
76
|
-
get overlayElement() {
|
|
77
|
-
return this.overlayRef?.overlayElement ?? null;
|
|
16
|
+
/** The host element. */
|
|
17
|
+
this.elementRef = inject(ElementRef);
|
|
18
|
+
/** The panel's id, which the trigger's `aria-controls` names. */
|
|
19
|
+
this.overlayId = input('', /* @ts-ignore */
|
|
20
|
+
...(ngDevMode ? [{ debugName: "overlayId" }] : /* istanbul ignore next */ []));
|
|
21
|
+
this.side = input('bottom', /* @ts-ignore */
|
|
22
|
+
...(ngDevMode ? [{ debugName: "side" }] : /* istanbul ignore next */ []));
|
|
23
|
+
this.shown = input(false, { ...(ngDevMode ? { debugName: "shown" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
24
|
+
this.hasPopup = input('menu', /* @ts-ignore */
|
|
25
|
+
...(ngDevMode ? [{ debugName: "hasPopup" }] : /* istanbul ignore next */ []));
|
|
26
|
+
/** The trigger's id, naming a dialog panel. */
|
|
27
|
+
this.triggerId = input(null, /* @ts-ignore */
|
|
28
|
+
...(ngDevMode ? [{ debugName: "triggerId" }] : /* istanbul ignore next */ []));
|
|
29
|
+
this.#core = useCore(dropdownPanelCore, { inputs: () => ({ overlayId: this.overlayId(), side: this.side(), shown: this.shown(), hasPopup: this.hasPopup(), triggerId: this.triggerId() }), idPrefix: 'bs-dropdown-panel', hostBag: (props) => ({ ...props.root, 'data-mps': 'dropdown' }) });
|
|
30
|
+
/** What this component hands its content. */
|
|
31
|
+
this.provided = this.#core.provided;
|
|
32
|
+
/** The template's props. */
|
|
33
|
+
this.props = this.#core.props;
|
|
34
|
+
useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order });
|
|
35
|
+
useScopedStyles('dropdown', dropdownScopedStyles);
|
|
78
36
|
}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
37
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
38
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsDropdownPanelComponent, isStandalone: true, selector: "bs-dropdown-panel", inputs: { overlayId: { classPropertyName: "overlayId", publicName: "overlayId", isSignal: true, isRequired: false, transformFunction: null }, side: { classPropertyName: "side", publicName: "side", isSignal: true, isRequired: false, transformFunction: null }, shown: { classPropertyName: "shown", publicName: "shown", isSignal: true, isRequired: false, transformFunction: null }, hasPopup: { classPropertyName: "hasPopup", publicName: "hasPopup", isSignal: true, isRequired: false, transformFunction: null }, triggerId: { classPropertyName: "triggerId", publicName: "triggerId", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideCoreContext(DROPDOWN_NESTING, BsDropdownPanelComponent)], ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-panel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
39
|
+
}
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownPanelComponent, decorators: [{
|
|
41
|
+
type: Component,
|
|
42
|
+
args: [{ selector: 'bs-dropdown-panel', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, providers: [provideCoreContext(DROPDOWN_NESTING, BsDropdownPanelComponent)], template: "<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-panel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n" }]
|
|
43
|
+
}], ctorParameters: () => [], propDecorators: { overlayId: [{ type: i0.Input, args: [{ isSignal: true, alias: "overlayId", required: false }] }], side: [{ type: i0.Input, args: [{ isSignal: true, alias: "side", required: false }] }], shown: [{ type: i0.Input, args: [{ isSignal: true, alias: "shown", required: false }] }], hasPopup: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasPopup", required: false }] }], triggerId: [{ type: i0.Input, args: [{ isSignal: true, alias: "triggerId", required: false }] }] } });
|
|
44
|
+
|
|
45
|
+
/*
|
|
46
|
+
* The Angular extension of the generated `bs-dropdown-menu` (PRD #437 D10
|
|
47
|
+
* escape hatch): in a navbar, a dropdown whose content holds the active
|
|
48
|
+
* route's link marks its trigger, the way Bootstrap marks an active nav link.
|
|
49
|
+
* Outside a navbar `active` renders nothing. `Router` is provided in root, so
|
|
50
|
+
* this needs no `provideRouter` in an app without routes.
|
|
51
|
+
*/
|
|
52
|
+
/** `RouterLinkActive` on the host watches the `routerLink`s in the content. */
|
|
53
|
+
const hostDirectives = [RouterLinkActive];
|
|
54
|
+
function extendInputs(inputs) {
|
|
55
|
+
const rla = inject(RouterLinkActive, { self: true });
|
|
56
|
+
// No class on this host: the state goes on the summary through the bag.
|
|
57
|
+
rla.routerLinkActive = [];
|
|
58
|
+
const routeActive = signal(false, /* @ts-ignore */
|
|
59
|
+
...(ngDevMode ? [{ debugName: "routeActive" }] : /* istanbul ignore next */ []));
|
|
60
|
+
rla.isActiveChange.pipe(takeUntilDestroyed()).subscribe((active) => routeActive.set(active));
|
|
61
|
+
return () => {
|
|
62
|
+
const value = inputs();
|
|
63
|
+
return { ...value, active: value.active || routeActive() };
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// GENERATED from the dropdown manifest (dropdown-menu) by @mintplayer/nx-component-compiler. Do not edit.
|
|
68
|
+
/** The `labelTemplate` slot of `<bs-dropdown-menu>`: `<ng-template bsDropdownMenuLabelTemplate>` or `*bsDropdownMenuLabelTemplate`. */
|
|
69
|
+
class BsDropdownMenuLabelTemplateDirective {
|
|
70
|
+
constructor() {
|
|
71
|
+
this.templateRef = inject(TemplateRef);
|
|
82
72
|
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
73
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownMenuLabelTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
74
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: BsDropdownMenuLabelTemplateDirective, isStandalone: true, selector: "[bsDropdownMenuLabelTemplate]", ngImport: i0 }); }
|
|
75
|
+
}
|
|
76
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownMenuLabelTemplateDirective, decorators: [{
|
|
77
|
+
type: Directive,
|
|
78
|
+
args: [{ selector: '[bsDropdownMenuLabelTemplate]' }]
|
|
79
|
+
}] });
|
|
80
|
+
/**
|
|
81
|
+
* Bootstrap's dropdown menu: an APG menu over its `dropdown-item`s (roving focus, arrow keys, Home / End,
|
|
82
|
+
* type-ahead free). Inside a dropdown its trigger names it; on its own give it a `label`.
|
|
83
|
+
* In a navbar nav group it is the navbar dropdown instead: a native `<details>` disclosure with `label` as
|
|
84
|
+
* its trigger text (or the `labelTemplate` slot), and a nested menu is a submenu.
|
|
85
|
+
*/
|
|
86
|
+
class BsDropdownMenuComponent {
|
|
87
|
+
#core;
|
|
88
|
+
constructor() {
|
|
89
|
+
/** The host element. */
|
|
90
|
+
this.elementRef = inject(ElementRef);
|
|
91
|
+
/** Pixel cap on the height; the menu scrolls beyond. */
|
|
92
|
+
this.maxHeight = input(null, { ...(ngDevMode ? { debugName: "maxHeight" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
|
|
93
|
+
/** The menu's accessible name, when no trigger names it; in a navbar, the trigger text. */
|
|
94
|
+
this.label = input(null, /* @ts-ignore */
|
|
95
|
+
...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
|
|
96
|
+
/** In a navbar: a descendant link's route is active. */
|
|
97
|
+
this.active = input(false, { ...(ngDevMode ? { debugName: "active" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
98
|
+
/** An enabled item was activated: the item and its `value`. */
|
|
99
|
+
this.itemSelect = output();
|
|
100
|
+
this.labelTemplateSlot = contentChild(BsDropdownMenuLabelTemplateDirective, /* @ts-ignore */
|
|
101
|
+
...(ngDevMode ? [{ debugName: "labelTemplateSlot" }] : /* istanbul ignore next */ []));
|
|
102
|
+
/** The template's named slots. */
|
|
103
|
+
this.slots = computed(() => ({ labelTemplate: this.labelTemplateSlot()?.templateRef }), /* @ts-ignore */
|
|
104
|
+
...(ngDevMode ? [{ debugName: "slots" }] : /* istanbul ignore next */ []));
|
|
105
|
+
this.#core = useCore(dropdownMenuCore, { inputs: extendInputs(() => ({ maxHeight: this.maxHeight(), label: this.label(), active: this.active() })), idPrefix: 'bs-dropdown-menu', outputs: { itemSelect: this.itemSelect } });
|
|
106
|
+
/** What this component hands its content. */
|
|
107
|
+
this.provided = this.#core.provided;
|
|
108
|
+
/** The template's props. */
|
|
109
|
+
this.props = this.#core.props;
|
|
110
|
+
useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order });
|
|
111
|
+
useScopedStyles('dropdown', dropdownScopedStyles);
|
|
95
112
|
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
if (
|
|
102
|
-
|
|
103
|
-
|
|
113
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
114
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsDropdownMenuComponent, isStandalone: true, selector: "bs-dropdown-menu", inputs: { maxHeight: { classPropertyName: "maxHeight", publicName: "maxHeight", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { itemSelect: "itemSelect" }, providers: [provideCoreContext(DROPDOWN_NESTING, BsDropdownMenuComponent)], queries: [{ propertyName: "labelTemplateSlot", first: true, predicate: BsDropdownMenuLabelTemplateDirective, descendants: true, isSignal: true }], hostDirectives: [{ directive: i1.RouterLinkActive }], ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-menu.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_nav = props().nav;\n@let p_label = props().label;\n@let p_root = props().root;\n@if (p_nav) {\n <details data-mps=\"dropdown\" [mpProps]=\"p_nav.details\" #root>\n <summary data-mps=\"dropdown\" [mpProps]=\"p_nav.summary\">\n @if (slots().labelTemplate; as slot_labelTemplate) {\n <ng-container [ngTemplateOutlet]=\"slot_labelTemplate\" />\n } @else {\n {{ p_label }}\n }\n </summary>\n <div data-mps=\"dropdown\" [mpProps]=\"p_nav.panel\">\n <ng-container [ngTemplateOutlet]=\"defaultSlot\" />\n </div>\n </details>\n} @else {\n <div data-mps=\"dropdown\" [mpProps]=\"p_root\" #root>\n <ng-container [ngTemplateOutlet]=\"defaultSlot\" />\n </div>\n}\n<ng-template #defaultSlot><ng-content /></ng-template>\n", dependencies: [{ kind: "directive", type: MpPropsDirective, selector: "[mpProps],[mpHostAttrs]", inputs: ["mpProps", "mpHostAttrs"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
115
|
+
}
|
|
116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownMenuComponent, decorators: [{
|
|
117
|
+
type: Component,
|
|
118
|
+
args: [{ selector: 'bs-dropdown-menu', imports: [MpPropsDirective, NgTemplateOutlet], changeDetection: ChangeDetectionStrategy.OnPush, providers: [provideCoreContext(DROPDOWN_NESTING, BsDropdownMenuComponent)], hostDirectives: hostDirectives, template: "<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-menu.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_nav = props().nav;\n@let p_label = props().label;\n@let p_root = props().root;\n@if (p_nav) {\n <details data-mps=\"dropdown\" [mpProps]=\"p_nav.details\" #root>\n <summary data-mps=\"dropdown\" [mpProps]=\"p_nav.summary\">\n @if (slots().labelTemplate; as slot_labelTemplate) {\n <ng-container [ngTemplateOutlet]=\"slot_labelTemplate\" />\n } @else {\n {{ p_label }}\n }\n </summary>\n <div data-mps=\"dropdown\" [mpProps]=\"p_nav.panel\">\n <ng-container [ngTemplateOutlet]=\"defaultSlot\" />\n </div>\n </details>\n} @else {\n <div data-mps=\"dropdown\" [mpProps]=\"p_root\" #root>\n <ng-container [ngTemplateOutlet]=\"defaultSlot\" />\n </div>\n}\n<ng-template #defaultSlot><ng-content /></ng-template>\n" }]
|
|
119
|
+
}], ctorParameters: () => [], propDecorators: { maxHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxHeight", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], active: [{ type: i0.Input, args: [{ isSignal: true, alias: "active", required: false }] }], itemSelect: [{ type: i0.Output, args: ["itemSelect"] }], labelTemplateSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BsDropdownMenuLabelTemplateDirective), { isSignal: true }] }] } });
|
|
120
|
+
|
|
121
|
+
// GENERATED from the dropdown manifest (dropdown-item) by @mintplayer/nx-component-compiler. Do not edit.
|
|
122
|
+
/** A menu item: its content, or the link or button it wraps, is the menuitem. */
|
|
123
|
+
class BsDropdownItemComponent {
|
|
124
|
+
#core;
|
|
125
|
+
constructor() {
|
|
126
|
+
/** The host element. */
|
|
127
|
+
this.elementRef = inject(ElementRef);
|
|
128
|
+
this.active = input(false, { ...(ngDevMode ? { debugName: "active" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
129
|
+
this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
130
|
+
/** Opaque value reported in the menu's `select`. */
|
|
131
|
+
this.value = input(undefined, /* @ts-ignore */
|
|
132
|
+
...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
133
|
+
this.#core = useCore(dropdownItemCore, { inputs: () => ({ active: this.active(), disabled: this.disabled(), value: this.value() }), idPrefix: 'bs-dropdown-item', hostBag: (props) => ({ ...props.root, 'data-mps': 'dropdown' }) });
|
|
134
|
+
/** The template's props. */
|
|
135
|
+
this.props = this.#core.props;
|
|
136
|
+
useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order });
|
|
137
|
+
useScopedStyles('dropdown', dropdownScopedStyles);
|
|
104
138
|
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
139
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
140
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsDropdownItemComponent, isStandalone: true, selector: "bs-dropdown-item", inputs: { active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-item.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
141
|
+
}
|
|
142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownItemComponent, decorators: [{
|
|
143
|
+
type: Component,
|
|
144
|
+
args: [{ selector: 'bs-dropdown-item', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-item.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n" }]
|
|
145
|
+
}], ctorParameters: () => [], propDecorators: { active: [{ type: i0.Input, args: [{ isSignal: true, alias: "active", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }] } });
|
|
146
|
+
|
|
147
|
+
// GENERATED from the dropdown manifest (dropdown-header) by @mintplayer/nx-component-compiler. Do not edit.
|
|
148
|
+
/** A heading between menu items. */
|
|
149
|
+
class BsDropdownHeaderComponent {
|
|
150
|
+
#core;
|
|
151
|
+
constructor() {
|
|
152
|
+
/** The host element. */
|
|
153
|
+
this.elementRef = inject(ElementRef);
|
|
154
|
+
this.#core = useCore(dropdownHeaderCore, { inputs: () => ({}), idPrefix: 'bs-dropdown-header', hostBag: (props) => ({ ...props.root, 'data-mps': 'dropdown' }) });
|
|
155
|
+
/** The template's props. */
|
|
156
|
+
this.props = this.#core.props;
|
|
157
|
+
useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order });
|
|
158
|
+
useScopedStyles('dropdown', dropdownScopedStyles);
|
|
110
159
|
}
|
|
111
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type:
|
|
112
|
-
static { this.ɵ
|
|
160
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
161
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: BsDropdownHeaderComponent, isStandalone: true, selector: "bs-dropdown-header", ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-header.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
113
162
|
}
|
|
114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type:
|
|
115
|
-
type:
|
|
116
|
-
args: [{
|
|
117
|
-
selector: '[bsDropdownMenu]',
|
|
118
|
-
host: {
|
|
119
|
-
'(clickOutside)': 'clickedOutside($event)',
|
|
120
|
-
'(document:keydown.escape)': 'onEscape($event)',
|
|
121
|
-
},
|
|
122
|
-
}]
|
|
163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownHeaderComponent, decorators: [{
|
|
164
|
+
type: Component,
|
|
165
|
+
args: [{ selector: 'bs-dropdown-header', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-header.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n" }]
|
|
123
166
|
}], ctorParameters: () => [] });
|
|
124
167
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
this.
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
* is the tab stop.
|
|
138
|
-
*/
|
|
139
|
-
onArrowDown(event) {
|
|
140
|
-
event.preventDefault();
|
|
141
|
-
if (!this.dropdown.isOpen())
|
|
142
|
-
this.dropdown.isOpen.set(true);
|
|
143
|
-
setTimeout(() => {
|
|
144
|
-
const roving = this.dropdown.rovingFocus();
|
|
145
|
-
if (roving) {
|
|
146
|
-
roving.focusFirst();
|
|
147
|
-
return;
|
|
148
|
-
}
|
|
149
|
-
// The menu renders in an overlay, outside the dropdown's own element.
|
|
150
|
-
const root = this.dropdown.menu().overlayElement ?? this.dropdown.elementRef.nativeElement;
|
|
151
|
-
root.querySelector('[role="menu"] [role="menuitem"], .dropdown-item')?.focus();
|
|
152
|
-
});
|
|
168
|
+
// GENERATED from the dropdown manifest (dropdown-divider) by @mintplayer/nx-component-compiler. Do not edit.
|
|
169
|
+
/** A separator between menu items. */
|
|
170
|
+
class BsDropdownDividerComponent {
|
|
171
|
+
#core;
|
|
172
|
+
constructor() {
|
|
173
|
+
/** The host element. */
|
|
174
|
+
this.elementRef = inject(ElementRef);
|
|
175
|
+
this.#core = useCore(dropdownDividerCore, { inputs: () => ({}), idPrefix: 'bs-dropdown-divider', hostBag: (props) => ({ ...props.root, 'data-mps': 'dropdown' }) });
|
|
176
|
+
/** The template's props. */
|
|
177
|
+
this.props = this.#core.props;
|
|
178
|
+
useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order });
|
|
179
|
+
useScopedStyles('dropdown', dropdownScopedStyles);
|
|
153
180
|
}
|
|
154
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type:
|
|
155
|
-
static { this.ɵ
|
|
181
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownDividerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
182
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: BsDropdownDividerComponent, isStandalone: true, selector: "bs-dropdown-divider", ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-divider.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
156
183
|
}
|
|
157
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type:
|
|
158
|
-
type:
|
|
159
|
-
args: [{
|
|
160
|
-
|
|
161
|
-
host: {
|
|
162
|
-
'[attr.aria-haspopup]': '"menu"',
|
|
163
|
-
'[attr.aria-expanded]': 'dropdown.isOpen()',
|
|
164
|
-
'[attr.aria-controls]': 'dropdown.menuId() || null',
|
|
165
|
-
'(click)': 'onClick()',
|
|
166
|
-
'(keydown.arrowdown)': 'onArrowDown($event)',
|
|
167
|
-
},
|
|
168
|
-
}]
|
|
169
|
-
}], ctorParameters: () => [{ type: BsDropdownDirective }, { type: i0.ElementRef }] });
|
|
184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownDividerComponent, decorators: [{
|
|
185
|
+
type: Component,
|
|
186
|
+
args: [{ selector: 'bs-dropdown-divider', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-divider.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n" }]
|
|
187
|
+
}], ctorParameters: () => [] });
|
|
170
188
|
|
|
189
|
+
// GENERATED from the dropdown manifest (dropdown) by @mintplayer/nx-component-compiler. Do not edit.
|
|
190
|
+
/**
|
|
191
|
+
* A dropdown on the element (an APG menu button): a click toggles the panel, ArrowDown / ArrowUp open it on
|
|
192
|
+
* the first / last item. Escape, a press outside it, focus leaving it or activating an item closes it.
|
|
193
|
+
*/
|
|
171
194
|
class BsDropdownDirective {
|
|
195
|
+
/** The element the template sits in: the trigger. */
|
|
196
|
+
#anchor;
|
|
172
197
|
constructor() {
|
|
173
|
-
|
|
174
|
-
this.
|
|
175
|
-
|
|
176
|
-
this.
|
|
177
|
-
|
|
178
|
-
this.
|
|
179
|
-
|
|
180
|
-
this
|
|
181
|
-
this.
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
this.closeOnClickOutside = input(true, /* @ts-ignore */
|
|
186
|
-
...(ngDevMode ? [{ debugName: "closeOnClickOutside" }] : /* istanbul ignore next */ []));
|
|
187
|
-
this.sameDropdownWidth = input(false, /* @ts-ignore */
|
|
188
|
-
...(ngDevMode ? [{ debugName: "sameDropdownWidth" }] : /* istanbul ignore next */ []));
|
|
189
|
-
this.isOpen = model(false, /* @ts-ignore */
|
|
190
|
-
...(ngDevMode ? [{ debugName: "isOpen" }] : /* istanbul ignore next */ []));
|
|
191
|
-
/** Reactive id used for the menu's host id and for the toggle's aria-controls. Empty until afterNextRender resolves the host's static id (or generates one), so sibling host bindings on the wrapper element get a chance to land first. */
|
|
192
|
-
this._menuId = signal('', /* @ts-ignore */
|
|
193
|
-
...(ngDevMode ? [{ debugName: "_menuId" }] : /* istanbul ignore next */ []));
|
|
194
|
-
this.menuId = this._menuId.asReadonly();
|
|
195
|
-
afterNextRender(() => {
|
|
196
|
-
const hostId = this.elementRef.nativeElement.id;
|
|
197
|
-
this._menuId.set(hostId ? `${hostId}-menu` : this.ids.next('bs-dropdown-menu'));
|
|
198
|
-
});
|
|
199
|
-
}
|
|
200
|
-
onBlur() {
|
|
201
|
-
if (this.closeOnClickOutside() && !this.bsDevelopment) {
|
|
202
|
-
this.isOpen.set(false);
|
|
203
|
-
}
|
|
198
|
+
/** Where the panel sits; it flips vertically when it does not fit. */
|
|
199
|
+
this.placement = input('bottom-start', { ...(ngDevMode ? { debugName: "placement" } : /* istanbul ignore next */ {}), transform: (v) => (v === '' ? 'bottom-start' : v), alias: 'bsDropdown' });
|
|
200
|
+
/** The panel is as wide as the trigger. */
|
|
201
|
+
this.sameWidth = input(false, { ...(ngDevMode ? { debugName: "sameWidth" } : /* istanbul ignore next */ {}), transform: booleanAttribute, alias: 'bsDropdownSameWidth' });
|
|
202
|
+
/** `menu`, or `dialog` for content that is not a menu (focus moves to the panel). */
|
|
203
|
+
this.hasPopup = input('menu', { ...(ngDevMode ? { debugName: "hasPopup" } : /* istanbul ignore next */ {}), alias: 'bsDropdownHasPopup' });
|
|
204
|
+
/** The element the template sits in: the trigger. */
|
|
205
|
+
this.#anchor = anchorElement();
|
|
206
|
+
this.core = useCore(dropdownCore, { inputs: () => ({ placement: this.placement(), sameWidth: this.sameWidth(), hasPopup: this.hasPopup() }), idPrefix: 'bs-dropdown', element: this.#anchor, hostBag: (props) => props.anchor });
|
|
207
|
+
useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order });
|
|
208
|
+
useScopedStyles('dropdown', dropdownScopedStyles);
|
|
209
|
+
useOverlayComponent(BsDropdownPanelComponent, () => this.core.props().overlay, this.#anchor);
|
|
204
210
|
}
|
|
205
211
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
206
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.
|
|
212
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.8", type: BsDropdownDirective, isStandalone: true, selector: "[bsDropdown]", inputs: { placement: { classPropertyName: "placement", publicName: "bsDropdown", isSignal: true, isRequired: false, transformFunction: null }, sameWidth: { classPropertyName: "sameWidth", publicName: "bsDropdownSameWidth", isSignal: true, isRequired: false, transformFunction: null }, hasPopup: { classPropertyName: "hasPopup", publicName: "bsDropdownHasPopup", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
207
213
|
}
|
|
208
214
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownDirective, decorators: [{
|
|
209
215
|
type: Directive,
|
|
210
|
-
args: [{
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
}]
|
|
217
|
-
}], ctorParameters: () => [], propDecorators: { menu: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BsDropdownMenuDirective), { isSignal: true }] }], toggle: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BsDropdownToggleDirective), { isSignal: true }] }], rovingFocus: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BsRovingFocusDirective), { ...{ descendants: true }, isSignal: true }] }], hasBackdrop: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasBackdrop", required: false }] }], sameWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "sameWidth", required: false }] }], closeOnClickOutside: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnClickOutside", required: false }] }], sameDropdownWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "sameDropdownWidth", required: false }] }], isOpen: [{ type: i0.Input, args: [{ isSignal: true, alias: "isOpen", required: false }] }, { type: i0.Output, args: ["isOpenChange"] }] } });
|
|
216
|
+
args: [{ selector: '[bsDropdown]' }]
|
|
217
|
+
}], ctorParameters: () => [], propDecorators: { placement: [{ type: i0.Input, args: [{ isSignal: true, alias: "bsDropdown", required: false }] }], sameWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "bsDropdownSameWidth", required: false }] }], hasPopup: [{ type: i0.Input, args: [{ isSignal: true, alias: "bsDropdownHasPopup", required: false }] }] } });
|
|
218
|
+
|
|
219
|
+
// GENERATED from the dropdown manifest by @mintplayer/nx-component-compiler. Do not edit.
|
|
220
|
+
|
|
221
|
+
// Generated from @mintplayer/ui-core/dropdown (#458 D10).
|
|
218
222
|
|
|
219
223
|
/**
|
|
220
224
|
* Generated bundle index. Do not edit.
|
|
221
225
|
*/
|
|
222
226
|
|
|
223
|
-
export { BsDropdownDirective,
|
|
227
|
+
export { BsDropdownDirective, BsDropdownDividerComponent, BsDropdownHeaderComponent, BsDropdownItemComponent, BsDropdownMenuComponent, BsDropdownMenuLabelTemplateDirective, BsDropdownPanelComponent };
|
|
224
228
|
//# sourceMappingURL=mintplayer-ng-bootstrap-dropdown.mjs.map
|