@mintplayer/ng-bootstrap 22.34.0 → 22.36.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.
@@ -1,9 +1,9 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, TemplateRef, Directive, ElementRef, model, input, booleanAttribute, output, contentChild, computed, ChangeDetectionStrategy, Component } from '@angular/core';
2
+ import { inject, TemplateRef, Directive, ElementRef, model, input, numberAttribute, booleanAttribute, output, contentChild, computed, ChangeDetectionStrategy, Component } from '@angular/core';
3
3
  import { NgTemplateOutlet } from '@angular/common';
4
4
  import { useCore, useScopedStyles, MpPropsDirective, MpTeleportDirective } from '@mintplayer/ng-bootstrap/machine';
5
5
  import { dockCore, dockScopedStyles } from '@mintplayer/ui-core/dock';
6
- export { DOCK_LABELS, EMPTY_DOCK_LAYOUT, mergeDockLabels } from '@mintplayer/ui-core/dock';
6
+ export { DOCK_LABELS, EMPTY_DOCK_LAYOUT, closeDockPane, closeDockPanes, dockOpenPanes, isDockPaneOpen, mergeDockLabels, openDockPane } from '@mintplayer/ui-core/dock';
7
7
  import { BsSplitterComponent, BsSplitterPanelComponent } from '@mintplayer/ng-bootstrap/splitter';
8
8
 
9
9
  // GENERATED from the dock manifest (dock-manager) by @mintplayer/nx-component-compiler. Do not edit.
@@ -22,6 +22,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
22
22
  type: Directive,
23
23
  args: [{ selector: '[bsDockManagerPane]' }]
24
24
  }] });
25
+ /** Types the `DockTray` partial's context in this template. */
26
+ class DockTrayPartial {
27
+ static ngTemplateContextGuard(_dir, ctx) {
28
+ return true;
29
+ }
30
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: DockTrayPartial, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
31
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: DockTrayPartial, isStandalone: true, selector: "ng-template[mpPartialDockTray]", ngImport: i0 }); }
32
+ }
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: DockTrayPartial, decorators: [{
34
+ type: Directive,
35
+ args: [{ selector: 'ng-template[mpPartialDockTray]' }]
36
+ }] });
25
37
  /** Types the `DockNode` partial's context in this template. */
26
38
  class DockNodePartial {
27
39
  static ngTemplateContextGuard(_dir, ctx) {
@@ -35,9 +47,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
35
47
  args: [{ selector: 'ng-template[mpPartialDockNode]' }]
36
48
  }] });
37
49
  /**
38
- * A docking layout (#437): panes in tabbed stacks, split side by side and torn off into floating
39
- * windows, by pointer, touch long-press or the keyboard (M on a tab, then T/R/B/L/F or the arrows).
40
- * `layout` is two-way; the `pane` slot renders each pane by name. Strings come from `labels`.
50
+ * A docking layout (#437, #474): panes in tabbed stacks, split side by side, torn off into floating
51
+ * windows and docked along the outer edges; toolbars in trays along the four edges. By pointer, touch
52
+ * long-press or the keyboard (M on a tab, a caption or a toolbar thumb). `layout` is two-way; `panes`
53
+ * gives each pane its title, kind and options; the `pane` slot renders each pane by name. Strings come
54
+ * from `labels`.
41
55
  */
42
56
  class BsDockManagerComponent {
43
57
  #core;
@@ -46,17 +60,22 @@ class BsDockManagerComponent {
46
60
  this.elementRef = inject(ElementRef);
47
61
  this.layout = model(null, /* @ts-ignore */
48
62
  ...(ngDevMode ? [{ debugName: "layout" }] : /* istanbul ignore next */ []));
63
+ this.panes = input(null, /* @ts-ignore */
64
+ ...(ngDevMode ? [{ debugName: "panes" }] : /* istanbul ignore next */ []));
65
+ this.minPaneSize = input(48, { ...(ngDevMode ? { debugName: "minPaneSize" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? 48 : numberAttribute(v)) });
49
66
  this.debugLayoutIntegrity = input(false, { ...(ngDevMode ? { debugName: "debugLayoutIntegrity" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
50
67
  this.labels = input(null, /* @ts-ignore */
51
68
  ...(ngDevMode ? [{ debugName: "labels" }] : /* istanbul ignore next */ []));
52
69
  /** A tab was activated. */
53
70
  this.paneActivated = output();
71
+ /** The user closed panes: every pane name one close removed. */
72
+ this.panesClosed = output();
54
73
  this.paneSlot = contentChild(BsDockManagerPaneDirective, /* @ts-ignore */
55
74
  ...(ngDevMode ? [{ debugName: "paneSlot" }] : /* istanbul ignore next */ []));
56
75
  /** The template's named slots. */
57
76
  this.slots = computed(() => ({ pane: this.paneSlot()?.templateRef }), /* @ts-ignore */
58
77
  ...(ngDevMode ? [{ debugName: "slots" }] : /* istanbul ignore next */ []));
59
- this.#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 } });
78
+ this.#core = useCore(dockCore, { inputs: () => ({ layout: this.layout(), panes: this.panes(), minPaneSize: this.minPaneSize(), debugLayoutIntegrity: this.debugLayoutIntegrity(), labels: this.labels() }), idPrefix: 'bs-dock-manager', outputs: { paneActivated: this.paneActivated, panesClosed: this.panesClosed }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'dock' }), models: { layout: this.layout } });
60
79
  /** The template's props. */
61
80
  this.props = this.#core.props;
62
81
  useScopedStyles('dock', dockScopedStyles);
@@ -66,12 +85,12 @@ class BsDockManagerComponent {
66
85
  return this.#core.call('captureLayout', args);
67
86
  }
68
87
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDockManagerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
69
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsDockManagerComponent, isStandalone: true, selector: "bs-dock-manager", inputs: { layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null }, debugLayoutIntegrity: { classPropertyName: "debugLayoutIntegrity", publicName: "debugLayoutIntegrity", isSignal: true, isRequired: false, transformFunction: null }, labels: { classPropertyName: "labels", publicName: "labels", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { layout: "layoutChange", paneActivated: "paneActivated" }, queries: [{ propertyName: "paneSlot", first: true, predicate: BsDockManagerPaneDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<!-- 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 \u00D7\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", dependencies: [{ kind: "directive", type: MpPropsDirective, selector: "[mpProps],[mpHostAttrs]", inputs: ["mpProps", "mpHostAttrs"] }, { kind: "directive", type: MpTeleportDirective, selector: "[mpTeleport]", inputs: ["mpTeleport"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: DockNodePartial, selector: "ng-template[mpPartialDockNode]" }, { kind: "component", type: BsSplitterComponent, selector: "bs-splitter", inputs: ["orientation", "minPanelSize", "touchMode", "labels"], outputs: ["resizeStart", "resizing", "resizeEnd"] }, { kind: "component", type: BsSplitterPanelComponent, selector: "bs-splitter-panel" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
88
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsDockManagerComponent, isStandalone: true, selector: "bs-dock-manager", inputs: { layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null }, panes: { classPropertyName: "panes", publicName: "panes", isSignal: true, isRequired: false, transformFunction: null }, minPaneSize: { classPropertyName: "minPaneSize", publicName: "minPaneSize", isSignal: true, isRequired: false, transformFunction: null }, debugLayoutIntegrity: { classPropertyName: "debugLayoutIntegrity", publicName: "debugLayoutIntegrity", isSignal: true, isRequired: false, transformFunction: null }, labels: { classPropertyName: "labels", publicName: "labels", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { layout: "layoutChange", paneActivated: "paneActivated", panesClosed: "panesClosed" }, queries: [{ propertyName: "paneSlot", first: true, predicate: BsDockManagerPaneDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<!-- 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@for (t of p_view.traysBefore; track t.key) {\n <ng-container [ngTemplateOutlet]=\"partial_DockTray\" [ngTemplateOutletContext]=\"{ tray: t }\" />\n}\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@for (t of p_view.traysAfter; track t.key) {\n <ng-container [ngTemplateOutlet]=\"partial_DockTray\" [ngTemplateOutletContext]=\"{ tray: t }\" />\n}\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 @if (f.titleButton) {\n <button data-mps=\"dock\" [mpProps]=\"f.title\">\n {{ f.titleText }}\n </button>\n } @else {\n <div data-mps=\"dock\" [mpProps]=\"f.title\">\n {{ f.titleText }}\n </div>\n }\n @if (f.close) {\n <button data-mps=\"dock\" [mpProps]=\"f.close\">\n \u00D7\n </button>\n }\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 @if (f.toolbar) {\n <div data-mps=\"dock\" [mpProps]=\"f.toolbar.bag\" [style]=\"f.toolbar.style\">\n <button data-mps=\"dock\" [mpProps]=\"f.toolbar.thumb\"></button>\n <div data-mps=\"dock\" [mpProps]=\"f.toolbar.body\"></div>\n </div>\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.edgeLayer\">\n @for (g of p_view.edgeGuides; track g.key) {\n <button data-mps=\"dock\" [mpProps]=\"g.bag\">\n {{ g.glyph }}\n </button>\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, kind: p.kind, floating: p.floating, active: p.active, orientation: p.orientation, overflowing: p.overflowing }\" />\n }\n </ng-template>\n}\n<ng-template #partial_DockTray mpPartialDockTray let-pp_tray=\"tray\">\n <div data-mps=\"dock\" [mpProps]=\"pp_tray.bag\">\n @for (r of pp_tray.rows; track r.key) {\n <div data-mps=\"dock\" [mpProps]=\"r.bag\">\n @for (b of r.toolbars; track b.key) {\n <div data-mps=\"dock\" [mpProps]=\"b.bag\" [style]=\"b.style\">\n <button data-mps=\"dock\" [mpProps]=\"b.thumb\"></button>\n <div data-mps=\"dock\" [mpProps]=\"b.body\"></div>\n </div>\n }\n </div>\n }\n </div>\n</ng-template>\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]=\"pp_node.minPaneSize\" (resizeEnd)=\"pp_node.onResizeEnd($event)\" (resizing)=\"pp_node.onResizing($event)\">\n @for (c of pp_node.children; track c.key) {\n <bs-splitter-panel [size]=\"c.size\" [minSize]=\"c.minSize\" [maxSize]=\"c.maxSize\">\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 @if (pp_node.stack.caption) {\n <div data-mps=\"dock\" [mpProps]=\"pp_node.stack.caption.bag\">\n <button data-mps=\"dock\" [mpProps]=\"pp_node.stack.caption.title\">\n {{ pp_node.stack.caption.titleText }}\n </button>\n @if (pp_node.stack.caption.close) {\n <button data-mps=\"dock\" [mpProps]=\"pp_node.stack.caption.close\">\n \u00D7\n </button>\n }\n </div>\n }\n @if (pp_node.stack.tabbed) {\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 }\n <div data-mps=\"dock\" [mpProps]=\"pp_node.stack.body\">\n {{ pp_node.stack.empty }}\n </div>\n }\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: MpPropsDirective, selector: "[mpProps],[mpHostAttrs]", inputs: ["mpProps", "mpHostAttrs"] }, { kind: "directive", type: MpTeleportDirective, selector: "[mpTeleport]", inputs: ["mpTeleport"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: DockTrayPartial, selector: "ng-template[mpPartialDockTray]" }, { kind: "directive", type: DockNodePartial, selector: "ng-template[mpPartialDockNode]" }, { kind: "component", type: BsSplitterComponent, selector: "bs-splitter", inputs: ["orientation", "minPanelSize", "touchMode", "labels"], outputs: ["resizeStart", "resizing", "resizeEnd"] }, { kind: "component", type: BsSplitterPanelComponent, selector: "bs-splitter-panel", inputs: ["size", "minSize", "maxSize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
70
89
  }
71
90
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDockManagerComponent, decorators: [{
72
91
  type: Component,
73
- args: [{ selector: 'bs-dock-manager', imports: [MpPropsDirective, MpTeleportDirective, NgTemplateOutlet, DockNodePartial, BsSplitterComponent, BsSplitterPanelComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- 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 \u00D7\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" }]
74
- }], ctorParameters: () => [], propDecorators: { layout: [{ type: i0.Input, args: [{ isSignal: true, alias: "layout", required: false }] }, { type: i0.Output, args: ["layoutChange"] }], debugLayoutIntegrity: [{ type: i0.Input, args: [{ isSignal: true, alias: "debugLayoutIntegrity", required: false }] }], labels: [{ type: i0.Input, args: [{ isSignal: true, alias: "labels", required: false }] }], paneActivated: [{ type: i0.Output, args: ["paneActivated"] }], paneSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BsDockManagerPaneDirective), { isSignal: true }] }] } });
92
+ args: [{ selector: 'bs-dock-manager', imports: [MpPropsDirective, MpTeleportDirective, NgTemplateOutlet, DockTrayPartial, DockNodePartial, BsSplitterComponent, BsSplitterPanelComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- 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@for (t of p_view.traysBefore; track t.key) {\n <ng-container [ngTemplateOutlet]=\"partial_DockTray\" [ngTemplateOutletContext]=\"{ tray: t }\" />\n}\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@for (t of p_view.traysAfter; track t.key) {\n <ng-container [ngTemplateOutlet]=\"partial_DockTray\" [ngTemplateOutletContext]=\"{ tray: t }\" />\n}\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 @if (f.titleButton) {\n <button data-mps=\"dock\" [mpProps]=\"f.title\">\n {{ f.titleText }}\n </button>\n } @else {\n <div data-mps=\"dock\" [mpProps]=\"f.title\">\n {{ f.titleText }}\n </div>\n }\n @if (f.close) {\n <button data-mps=\"dock\" [mpProps]=\"f.close\">\n \u00D7\n </button>\n }\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 @if (f.toolbar) {\n <div data-mps=\"dock\" [mpProps]=\"f.toolbar.bag\" [style]=\"f.toolbar.style\">\n <button data-mps=\"dock\" [mpProps]=\"f.toolbar.thumb\"></button>\n <div data-mps=\"dock\" [mpProps]=\"f.toolbar.body\"></div>\n </div>\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.edgeLayer\">\n @for (g of p_view.edgeGuides; track g.key) {\n <button data-mps=\"dock\" [mpProps]=\"g.bag\">\n {{ g.glyph }}\n </button>\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, kind: p.kind, floating: p.floating, active: p.active, orientation: p.orientation, overflowing: p.overflowing }\" />\n }\n </ng-template>\n}\n<ng-template #partial_DockTray mpPartialDockTray let-pp_tray=\"tray\">\n <div data-mps=\"dock\" [mpProps]=\"pp_tray.bag\">\n @for (r of pp_tray.rows; track r.key) {\n <div data-mps=\"dock\" [mpProps]=\"r.bag\">\n @for (b of r.toolbars; track b.key) {\n <div data-mps=\"dock\" [mpProps]=\"b.bag\" [style]=\"b.style\">\n <button data-mps=\"dock\" [mpProps]=\"b.thumb\"></button>\n <div data-mps=\"dock\" [mpProps]=\"b.body\"></div>\n </div>\n }\n </div>\n }\n </div>\n</ng-template>\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]=\"pp_node.minPaneSize\" (resizeEnd)=\"pp_node.onResizeEnd($event)\" (resizing)=\"pp_node.onResizing($event)\">\n @for (c of pp_node.children; track c.key) {\n <bs-splitter-panel [size]=\"c.size\" [minSize]=\"c.minSize\" [maxSize]=\"c.maxSize\">\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 @if (pp_node.stack.caption) {\n <div data-mps=\"dock\" [mpProps]=\"pp_node.stack.caption.bag\">\n <button data-mps=\"dock\" [mpProps]=\"pp_node.stack.caption.title\">\n {{ pp_node.stack.caption.titleText }}\n </button>\n @if (pp_node.stack.caption.close) {\n <button data-mps=\"dock\" [mpProps]=\"pp_node.stack.caption.close\">\n \u00D7\n </button>\n }\n </div>\n }\n @if (pp_node.stack.tabbed) {\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 }\n <div data-mps=\"dock\" [mpProps]=\"pp_node.stack.body\">\n {{ pp_node.stack.empty }}\n </div>\n }\n </div>\n</ng-template>\n" }]
93
+ }], ctorParameters: () => [], propDecorators: { layout: [{ type: i0.Input, args: [{ isSignal: true, alias: "layout", required: false }] }, { type: i0.Output, args: ["layoutChange"] }], panes: [{ type: i0.Input, args: [{ isSignal: true, alias: "panes", required: false }] }], minPaneSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "minPaneSize", required: false }] }], debugLayoutIntegrity: [{ type: i0.Input, args: [{ isSignal: true, alias: "debugLayoutIntegrity", required: false }] }], labels: [{ type: i0.Input, args: [{ isSignal: true, alias: "labels", required: false }] }], paneActivated: [{ type: i0.Output, args: ["paneActivated"] }], panesClosed: [{ type: i0.Output, args: ["panesClosed"] }], paneSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BsDockManagerPaneDirective), { isSignal: true }] }] } });
75
94
 
76
95
  // GENERATED from the dock manifest by @mintplayer/nx-component-compiler. Do not edit.
77
96
 
@@ -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 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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E;;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, numberAttribute, 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, type DockPanesClosedEventDetail, dockScopedStyles, type DockTrayView } 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<{\n pane: string;\n kind: 'document' | 'tool' | 'toolbar';\n floating: boolean;\n active: boolean;\n orientation: 'horizontal' | 'vertical';\n overflowing: boolean;\n } & { $implicit: {\n pane: string;\n kind: 'document' | 'tool' | 'toolbar';\n floating: boolean;\n active: boolean;\n orientation: 'horizontal' | 'vertical';\n overflowing: boolean;\n }['pane'] }>>(TemplateRef);\n static ngTemplateContextGuard(_dir: BsDockManagerPaneDirective, ctx: unknown): ctx is {\n pane: string;\n kind: 'document' | 'tool' | 'toolbar';\n floating: boolean;\n active: boolean;\n orientation: 'horizontal' | 'vertical';\n overflowing: boolean;\n } & { $implicit: {\n pane: string;\n kind: 'document' | 'tool' | 'toolbar';\n floating: boolean;\n active: boolean;\n orientation: 'horizontal' | 'vertical';\n overflowing: boolean;\n }['pane'] } {\n return true;\n }\n}\n\n/** Types the `DockTray` partial's context in this template. */\n@Directive({ selector: 'ng-template[mpPartialDockTray]' })\nexport class DockTrayPartial {\n static ngTemplateContextGuard(_dir: DockTrayPartial, ctx: unknown): ctx is { tray: DockTrayView } {\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, #474): panes in tabbed stacks, split side by side, torn off into floating\n * windows and docked along the outer edges; toolbars in trays along the four edges. By pointer, touch\n * long-press or the keyboard (M on a tab, a caption or a toolbar thumb). `layout` is two-way; `panes`\n * gives each pane its title, kind and options; the `pane` slot renders each pane by name. Strings come\n * from `labels`.\n */\n@Component({\n selector: 'bs-dock-manager',\n templateUrl: './dock-manager.view.generated.html',\n imports: [MpPropsDirective, MpTeleportDirective, NgTemplateOutlet, DockTrayPartial, 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 panes = input<DockInputs['panes']>(null);\n readonly minPaneSize = input<DockInputs['minPaneSize'], unknown>(48, { transform: (v: unknown) => (v == null || v === '' ? 48 : numberAttribute(v)) as DockInputs['minPaneSize'] });\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 /** The user closed panes: every pane name one close removed. */\n readonly panesClosed = output<DockPanesClosedEventDetail>();\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(), panes: this.panes(), minPaneSize: this.minPaneSize(), debugLayoutIntegrity: this.debugLayoutIntegrity(), labels: this.labels() }), idPrefix: 'bs-dock-manager', outputs: { paneActivated: this.paneActivated, panesClosed: this.panesClosed }, 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@for (t of p_view.traysBefore; track t.key) {\n <ng-container [ngTemplateOutlet]=\"partial_DockTray\" [ngTemplateOutletContext]=\"{ tray: t }\" />\n}\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@for (t of p_view.traysAfter; track t.key) {\n <ng-container [ngTemplateOutlet]=\"partial_DockTray\" [ngTemplateOutletContext]=\"{ tray: t }\" />\n}\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 @if (f.titleButton) {\n <button data-mps=\"dock\" [mpProps]=\"f.title\">\n {{ f.titleText }}\n </button>\n } @else {\n <div data-mps=\"dock\" [mpProps]=\"f.title\">\n {{ f.titleText }}\n </div>\n }\n @if (f.close) {\n <button data-mps=\"dock\" [mpProps]=\"f.close\">\n ×\n </button>\n }\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 @if (f.toolbar) {\n <div data-mps=\"dock\" [mpProps]=\"f.toolbar.bag\" [style]=\"f.toolbar.style\">\n <button data-mps=\"dock\" [mpProps]=\"f.toolbar.thumb\"></button>\n <div data-mps=\"dock\" [mpProps]=\"f.toolbar.body\"></div>\n </div>\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.edgeLayer\">\n @for (g of p_view.edgeGuides; track g.key) {\n <button data-mps=\"dock\" [mpProps]=\"g.bag\">\n {{ g.glyph }}\n </button>\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, kind: p.kind, floating: p.floating, active: p.active, orientation: p.orientation, overflowing: p.overflowing }\" />\n }\n </ng-template>\n}\n<ng-template #partial_DockTray mpPartialDockTray let-pp_tray=\"tray\">\n <div data-mps=\"dock\" [mpProps]=\"pp_tray.bag\">\n @for (r of pp_tray.rows; track r.key) {\n <div data-mps=\"dock\" [mpProps]=\"r.bag\">\n @for (b of r.toolbars; track b.key) {\n <div data-mps=\"dock\" [mpProps]=\"b.bag\" [style]=\"b.style\">\n <button data-mps=\"dock\" [mpProps]=\"b.thumb\"></button>\n <div data-mps=\"dock\" [mpProps]=\"b.body\"></div>\n </div>\n }\n </div>\n }\n </div>\n</ng-template>\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]=\"pp_node.minPaneSize\" (resizeEnd)=\"pp_node.onResizeEnd($event)\" (resizing)=\"pp_node.onResizing($event)\">\n @for (c of pp_node.children; track c.key) {\n <bs-splitter-panel [size]=\"c.size\" [minSize]=\"c.minSize\" [maxSize]=\"c.maxSize\">\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 @if (pp_node.stack.caption) {\n <div data-mps=\"dock\" [mpProps]=\"pp_node.stack.caption.bag\">\n <button data-mps=\"dock\" [mpProps]=\"pp_node.stack.caption.title\">\n {{ pp_node.stack.caption.titleText }}\n </button>\n @if (pp_node.stack.caption.close) {\n <button data-mps=\"dock\" [mpProps]=\"pp_node.stack.caption.close\">\n ×\n </button>\n }\n </div>\n }\n @if (pp_node.stack.tabbed) {\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 }\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';\n// Open and close panes by name (#474 D15): pure functions over the layout, the same in every front.\nexport {\n DOCK_LABELS,\n EMPTY_DOCK_LAYOUT,\n closeDockPane,\n closeDockPanes,\n dockOpenPanes,\n isDockPaneOpen,\n mergeDockLabels,\n openDockPane,\n} from '@mintplayer/ui-core/dock';\nexport type {\n DockClosedPane,\n DockFloatingPaneBounds,\n DockFloatingStackLayout,\n DockLabels,\n DockLayout,\n DockLayoutInput,\n DockLayoutNode,\n DockLayoutSnapshot,\n DockPaneActivatedEventDetail,\n DockPaneAnchor,\n DockPaneKind,\n DockPaneOptions,\n DockPanesClosedEventDetail,\n DockPanesOptions,\n DockSplitNode,\n DockStackNode,\n DockToolbarRow,\n DockToolbarTrays,\n DockTraySide,\n DockTraySlot,\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,CAcf,WAAW,CAAC;AAkB3B,IAAA;AAjBC,IAA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JAxBtD,eAAe,EAAA,QAAA,EAAA,gCAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAQf,eAAe,EAAA,QAAA,EAAA,gCAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAgB2E,mBAAmB,2KAAE,wBAAwB,EAAA,QAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,SAAA,EAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAGvI,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,eAAe,EAAE,mBAAmB,EAAE,wBAAwB,CAAC,EAAA,eAAA,EAClI,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,0pLAAA,EAAA;8wBAgBN,0BAA0B,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AExFrE;;ACAA;;ACAA;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, ElementRef, input, booleanAttribute, ChangeDetectionStrategy, Component, signal, TemplateRef, Directive, numberAttribute, output, contentChild, computed } from '@angular/core';
2
+ import { inject, ElementRef, input, ChangeDetectionStrategy, Component, signal, TemplateRef, Directive, numberAttribute, booleanAttribute, output, contentChild, computed } from '@angular/core';
3
3
  import { useCore, useScopedStyles, provideCoreContext, MpPropsDirective, anchorElement, useOverlayComponent } from '@mintplayer/ng-bootstrap/machine';
4
4
  import { dropdownPanelCore, dropdownScopedStyles, DROPDOWN_NESTING, dropdownMenuCore, dropdownItemCore, dropdownHeaderCore, dropdownDividerCore, dropdownCore } from '@mintplayer/ui-core/dropdown';
5
5
  import { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';
@@ -20,13 +20,15 @@ class BsDropdownPanelComponent {
20
20
  ...(ngDevMode ? [{ debugName: "overlayId" }] : /* istanbul ignore next */ []));
21
21
  this.side = input('bottom', /* @ts-ignore */
22
22
  ...(ngDevMode ? [{ debugName: "side" }] : /* istanbul ignore next */ []));
23
- this.shown = input(false, { ...(ngDevMode ? { debugName: "shown" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
23
+ /** The overlay phase: `.show` while shown, `hidden` while closed (#465). */
24
+ this.phase = input('closed', /* @ts-ignore */
25
+ ...(ngDevMode ? [{ debugName: "phase" }] : /* istanbul ignore next */ []));
24
26
  this.hasPopup = input('menu', /* @ts-ignore */
25
27
  ...(ngDevMode ? [{ debugName: "hasPopup" }] : /* istanbul ignore next */ []));
26
28
  /** The trigger's id, naming a dialog panel. */
27
29
  this.triggerId = input(null, /* @ts-ignore */
28
30
  ...(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' }) });
31
+ this.#core = useCore(dropdownPanelCore, { inputs: () => ({ overlayId: this.overlayId(), side: this.side(), phase: this.phase(), hasPopup: this.hasPopup(), triggerId: this.triggerId() }), idPrefix: 'bs-dropdown-panel', hostBag: (props) => ({ ...props.root, 'data-mps': 'dropdown' }) });
30
32
  /** What this component hands its content. */
31
33
  this.provided = this.#core.provided;
32
34
  /** The template's props. */
@@ -35,12 +37,12 @@ class BsDropdownPanelComponent {
35
37
  useScopedStyles('dropdown', dropdownScopedStyles);
36
38
  }
37
39
  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 }); }
40
+ 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 }, phase: { classPropertyName: "phase", publicName: "phase", 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
41
  }
40
42
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownPanelComponent, decorators: [{
41
43
  type: Component,
42
44
  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 }] }] } });
45
+ }], ctorParameters: () => [], propDecorators: { overlayId: [{ type: i0.Input, args: [{ isSignal: true, alias: "overlayId", required: false }] }], side: [{ type: i0.Input, args: [{ isSignal: true, alias: "side", required: false }] }], phase: [{ type: i0.Input, args: [{ isSignal: true, alias: "phase", 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
46
 
45
47
  /*
46
48
  * The Angular extension of the generated `bs-dropdown-menu` (PRD #437 D10
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-dropdown.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-panel.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-panel.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/dropdown-menu.angular.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-menu.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-menu.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-item.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-item.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-header.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-header.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-divider.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-divider.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown.directive.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/mintplayer-ng-bootstrap-dropdown.ts"],"sourcesContent":["// GENERATED from the dropdown manifest (dropdown-panel) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input } from '@angular/core';\nimport { provideCoreContext, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { DROPDOWN_NESTING, dropdownPanelCore, type DropdownPanelInputs, dropdownScopedStyles } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\n\n/** The dropdown's positioned panel, as the dropdown directive renders it; not used on its own. */\n@Component({\n selector: 'bs-dropdown-panel',\n templateUrl: './dropdown-panel.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [provideCoreContext(DROPDOWN_NESTING, BsDropdownPanelComponent)],\n})\nexport class BsDropdownPanelComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** The panel's id, which the trigger's `aria-controls` names. */\n readonly overlayId = input<DropdownPanelInputs['overlayId']>('');\n readonly side = input<DropdownPanelInputs['side']>('bottom');\n readonly shown = input<DropdownPanelInputs['shown'], unknown>(false, { transform: booleanAttribute });\n readonly hasPopup = input<DropdownPanelInputs['hasPopup']>('menu');\n /** The trigger's id, naming a dialog panel. */\n readonly triggerId = input<DropdownPanelInputs['triggerId']>(null);\n\n readonly #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' }) });\n /** What this component hands its content. */\n readonly provided = this.#core.provided;\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n }\n}\n","<!-- 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","import { inject, signal } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { RouterLinkActive } from '@angular/router';\nimport type { DropdownMenuInputs } from '@mintplayer/ui-core/dropdown';\n\n/*\n * The Angular extension of the generated `bs-dropdown-menu` (PRD #437 D10\n * escape hatch): in a navbar, a dropdown whose content holds the active\n * route's link marks its trigger, the way Bootstrap marks an active nav link.\n * Outside a navbar `active` renders nothing. `Router` is provided in root, so\n * this needs no `provideRouter` in an app without routes.\n */\n\n/** `RouterLinkActive` on the host watches the `routerLink`s in the content. */\nexport const hostDirectives = [RouterLinkActive];\n\nexport function extendInputs(inputs: () => DropdownMenuInputs): () => DropdownMenuInputs {\n const rla = inject(RouterLinkActive, { self: true });\n // No class on this host: the state goes on the summary through the bag.\n rla.routerLinkActive = [];\n const routeActive = signal(false);\n rla.isActiveChange.pipe(takeUntilDestroyed()).subscribe((active) => routeActive.set(active));\n return () => {\n const value = inputs();\n return { ...value, active: value.active || routeActive() };\n };\n}\n","// GENERATED from the dropdown manifest (dropdown-menu) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, Directive, ElementRef, TemplateRef, booleanAttribute, computed, contentChild, inject, input, numberAttribute, output } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { MpPropsDirective, provideCoreContext, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { DROPDOWN_NESTING, dropdownMenuCore, type DropdownMenuInputs, dropdownScopedStyles, type DropdownSelectEventDetail } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\nimport { hostDirectives as ext_hostDirectives, extendInputs as ext_extendInputs } from '../dropdown-menu.angular';\n\n/** The `labelTemplate` slot of `<bs-dropdown-menu>`: `<ng-template bsDropdownMenuLabelTemplate>` or `*bsDropdownMenuLabelTemplate`. */\n@Directive({ selector: '[bsDropdownMenuLabelTemplate]' })\nexport class BsDropdownMenuLabelTemplateDirective {\n readonly templateRef = inject<TemplateRef<unknown>>(TemplateRef);\n}\n\n/**\n * Bootstrap's dropdown menu: an APG menu over its `dropdown-item`s (roving focus, arrow keys, Home / End,\n * type-ahead free). Inside a dropdown its trigger names it; on its own give it a `label`.\n * In a navbar nav group it is the navbar dropdown instead: a native `<details>` disclosure with `label` as\n * its trigger text (or the `labelTemplate` slot), and a nested menu is a submenu.\n */\n@Component({\n selector: 'bs-dropdown-menu',\n templateUrl: './dropdown-menu.view.generated.html',\n imports: [MpPropsDirective, NgTemplateOutlet],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [provideCoreContext(DROPDOWN_NESTING, BsDropdownMenuComponent)],\n hostDirectives: ext_hostDirectives,\n})\nexport class BsDropdownMenuComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** Pixel cap on the height; the menu scrolls beyond. */\n readonly maxHeight = input<DropdownMenuInputs['maxHeight'], unknown>(null, { transform: (v: unknown) => (v == null || v === '' ? null : numberAttribute(v)) as DropdownMenuInputs['maxHeight'] });\n /** The menu's accessible name, when no trigger names it; in a navbar, the trigger text. */\n readonly label = input<DropdownMenuInputs['label']>(null);\n /** In a navbar: a descendant link's route is active. */\n readonly active = input<DropdownMenuInputs['active'], unknown>(false, { transform: booleanAttribute });\n /** An enabled item was activated: the item and its `value`. */\n readonly itemSelect = output<DropdownSelectEventDetail>();\n\n private readonly labelTemplateSlot = contentChild(BsDropdownMenuLabelTemplateDirective);\n /** The template's named slots. */\n protected readonly slots = computed(() => ({ labelTemplate: this.labelTemplateSlot()?.templateRef }));\n readonly #core = useCore(dropdownMenuCore, { inputs: ext_extendInputs(() => ({ maxHeight: this.maxHeight(), label: this.label(), active: this.active() })), idPrefix: 'bs-dropdown-menu', outputs: { itemSelect: this.itemSelect }, hostScope: 'dropdown' });\n /** What this component hands its content. */\n readonly provided = this.#core.provided;\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n }\n}\n","<!-- 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","// GENERATED from the dropdown manifest (dropdown-item) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { dropdownItemCore, type DropdownItemInputs, dropdownScopedStyles } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\n\n/** A menu item: its content, or the link or button it wraps, is the menuitem. */\n@Component({\n selector: 'bs-dropdown-item',\n templateUrl: './dropdown-item.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsDropdownItemComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly active = input<DropdownItemInputs['active'], unknown>(false, { transform: booleanAttribute });\n readonly disabled = input<DropdownItemInputs['disabled'], unknown>(false, { transform: booleanAttribute });\n /** Opaque value reported in the menu's `select`. */\n readonly value = input<DropdownItemInputs['value']>(undefined);\n\n readonly #core = useCore(dropdownItemCore, { inputs: () => ({ active: this.active(), disabled: this.disabled(), value: this.value() }), idPrefix: 'bs-dropdown-item', hostBag: (props) => ({ ...props.root, 'data-mps': 'dropdown' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n }\n}\n","<!-- 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","// GENERATED from the dropdown manifest (dropdown-header) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { dropdownHeaderCore, dropdownScopedStyles } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\n\n/** A heading between menu items. */\n@Component({\n selector: 'bs-dropdown-header',\n templateUrl: './dropdown-header.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsDropdownHeaderComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly #core = useCore(dropdownHeaderCore, { inputs: () => ({ }), idPrefix: 'bs-dropdown-header', hostBag: (props) => ({ ...props.root, 'data-mps': 'dropdown' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n }\n}\n","<!-- 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","// GENERATED from the dropdown manifest (dropdown-divider) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { dropdownDividerCore, dropdownScopedStyles } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\n\n/** A separator between menu items. */\n@Component({\n selector: 'bs-dropdown-divider',\n templateUrl: './dropdown-divider.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsDropdownDividerComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly #core = useCore(dropdownDividerCore, { inputs: () => ({ }), idPrefix: 'bs-dropdown-divider', hostBag: (props) => ({ ...props.root, 'data-mps': 'dropdown' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-divider.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n","// GENERATED from the dropdown manifest (dropdown) by @mintplayer/nx-component-compiler. Do not edit.\nimport { Directive, booleanAttribute, input } from '@angular/core';\nimport { anchorElement, useCore, useOverlayComponent, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { dropdownCore, type DropdownInputs, dropdownScopedStyles } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\nimport { BsDropdownPanelComponent } from './dropdown-panel.component.generated';\n\n/**\n * A dropdown on the element (an APG menu button): a click toggles the panel, ArrowDown / ArrowUp open it on\n * the first / last item. Escape, a press outside it, focus leaving it or activating an item closes it.\n */\n@Directive({ selector: '[bsDropdown]' })\nexport class BsDropdownDirective {\n /** Where the panel sits; it flips vertically when it does not fit. */\n readonly placement = input<DropdownInputs['placement'], DropdownInputs['placement'] | ''>('bottom-start', { transform: (v: DropdownInputs['placement'] | '') => (v === '' ? 'bottom-start' : v), alias: 'bsDropdown' });\n /** The panel is as wide as the trigger. */\n readonly sameWidth = input<DropdownInputs['sameWidth'], unknown>(false, { transform: booleanAttribute, alias: 'bsDropdownSameWidth' });\n /** `menu`, or `dialog` for content that is not a menu (focus moves to the panel). */\n readonly hasPopup = input<DropdownInputs['hasPopup']>('menu', { alias: 'bsDropdownHasPopup' });\n\n /** The element the template sits in: the trigger. */\n readonly #anchor = anchorElement();\n protected readonly core = useCore(dropdownCore, { inputs: () => ({ placement: this.placement(), sameWidth: this.sameWidth(), hasPopup: this.hasPopup() }), idPrefix: 'bs-dropdown', element: this.#anchor, hostBag: (props) => props.anchor });\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n useOverlayComponent(BsDropdownPanelComponent, () => this.core.props().overlay, this.#anchor);\n }\n}\n","// GENERATED from the dropdown manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsDropdownPanelComponent } from './dropdown-panel.component.generated';\nexport { BsDropdownMenuComponent, BsDropdownMenuLabelTemplateDirective } from './dropdown-menu.component.generated';\nexport { BsDropdownItemComponent } from './dropdown-item.component.generated';\nexport { BsDropdownHeaderComponent } from './dropdown-header.component.generated';\nexport { BsDropdownDividerComponent } from './dropdown-divider.component.generated';\nexport { BsDropdownDirective } from './dropdown.directive.generated';\n","// Generated from @mintplayer/ui-core/dropdown (#458 D10).\nexport * from './generated';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["ext_extendInputs","ext_hostDirectives"],"mappings":";;;;;;;;;;AAAA;AAMA;MAQa,wBAAwB,CAAA;AAY1B,IAAA,KAAK;AAMd,IAAA,WAAA,GAAA;;AAhBS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;;QAGxD,IAAA,CAAA,SAAS,GAAG,KAAK,CAAmC,EAAE;sFAAC;QACvD,IAAA,CAAA,IAAI,GAAG,KAAK,CAA8B,QAAQ;iFAAC;QACnD,IAAA,CAAA,KAAK,GAAG,KAAK,CAAwC,KAAK,6EAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;QAC5F,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAkC,MAAM;qFAAC;;QAEzD,IAAA,CAAA,SAAS,GAAG,KAAK,CAAmC,IAAI;sFAAC;AAEzD,QAAA,IAAA,CAAA,KAAK,GAAG,OAAO,CAAC,iBAAiB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,IAAI,CAA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AA;kGAAnB,mBAAmB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,EAAA,SAAA,EAAA,EAAA,iBAAA,EAAA,WAAA,EAAA,UAAA,EAAA,YAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,iBAAA,EAAA,WAAA,EAAA,UAAA,EAAA,qBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,QAAA,EAAA,EAAA,iBAAA,EAAA,UAAA,EAAA,UAAA,EAAA,oBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAD/B,SAAS;mBAAC,EAAE,QAAQ,EAAE,cAAc,EAAE;;;ACXvC;;ACAA;;ACAA;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-dropdown.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-panel.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-panel.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/dropdown-menu.angular.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-menu.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-menu.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-item.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-item.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-header.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-header.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-divider.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-divider.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown.directive.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/mintplayer-ng-bootstrap-dropdown.ts"],"sourcesContent":["// GENERATED from the dropdown manifest (dropdown-panel) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject, input } from '@angular/core';\nimport { provideCoreContext, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { DROPDOWN_NESTING, dropdownPanelCore, type DropdownPanelInputs, dropdownScopedStyles } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\n\n/** The dropdown's positioned panel, as the dropdown directive renders it; not used on its own. */\n@Component({\n selector: 'bs-dropdown-panel',\n templateUrl: './dropdown-panel.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [provideCoreContext(DROPDOWN_NESTING, BsDropdownPanelComponent)],\n})\nexport class BsDropdownPanelComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** The panel's id, which the trigger's `aria-controls` names. */\n readonly overlayId = input<DropdownPanelInputs['overlayId']>('');\n readonly side = input<DropdownPanelInputs['side']>('bottom');\n /** The overlay phase: `.show` while shown, `hidden` while closed (#465). */\n readonly phase = input<DropdownPanelInputs['phase']>('closed');\n readonly hasPopup = input<DropdownPanelInputs['hasPopup']>('menu');\n /** The trigger's id, naming a dialog panel. */\n readonly triggerId = input<DropdownPanelInputs['triggerId']>(null);\n\n readonly #core = useCore(dropdownPanelCore, { inputs: () => ({ overlayId: this.overlayId(), side: this.side(), phase: this.phase(), hasPopup: this.hasPopup(), triggerId: this.triggerId() }), idPrefix: 'bs-dropdown-panel', hostBag: (props) => ({ ...props.root, 'data-mps': 'dropdown' }) });\n /** What this component hands its content. */\n readonly provided = this.#core.provided;\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n }\n}\n","<!-- 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","import { inject, signal } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { RouterLinkActive } from '@angular/router';\nimport type { DropdownMenuInputs } from '@mintplayer/ui-core/dropdown';\n\n/*\n * The Angular extension of the generated `bs-dropdown-menu` (PRD #437 D10\n * escape hatch): in a navbar, a dropdown whose content holds the active\n * route's link marks its trigger, the way Bootstrap marks an active nav link.\n * Outside a navbar `active` renders nothing. `Router` is provided in root, so\n * this needs no `provideRouter` in an app without routes.\n */\n\n/** `RouterLinkActive` on the host watches the `routerLink`s in the content. */\nexport const hostDirectives = [RouterLinkActive];\n\nexport function extendInputs(inputs: () => DropdownMenuInputs): () => DropdownMenuInputs {\n const rla = inject(RouterLinkActive, { self: true });\n // No class on this host: the state goes on the summary through the bag.\n rla.routerLinkActive = [];\n const routeActive = signal(false);\n rla.isActiveChange.pipe(takeUntilDestroyed()).subscribe((active) => routeActive.set(active));\n return () => {\n const value = inputs();\n return { ...value, active: value.active || routeActive() };\n };\n}\n","// GENERATED from the dropdown manifest (dropdown-menu) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, Directive, ElementRef, TemplateRef, booleanAttribute, computed, contentChild, inject, input, numberAttribute, output } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { MpPropsDirective, provideCoreContext, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { DROPDOWN_NESTING, dropdownMenuCore, type DropdownMenuInputs, dropdownScopedStyles, type DropdownSelectEventDetail } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\nimport { hostDirectives as ext_hostDirectives, extendInputs as ext_extendInputs } from '../dropdown-menu.angular';\n\n/** The `labelTemplate` slot of `<bs-dropdown-menu>`: `<ng-template bsDropdownMenuLabelTemplate>` or `*bsDropdownMenuLabelTemplate`. */\n@Directive({ selector: '[bsDropdownMenuLabelTemplate]' })\nexport class BsDropdownMenuLabelTemplateDirective {\n readonly templateRef = inject<TemplateRef<unknown>>(TemplateRef);\n}\n\n/**\n * Bootstrap's dropdown menu: an APG menu over its `dropdown-item`s (roving focus, arrow keys, Home / End,\n * type-ahead free). Inside a dropdown its trigger names it; on its own give it a `label`.\n * In a navbar nav group it is the navbar dropdown instead: a native `<details>` disclosure with `label` as\n * its trigger text (or the `labelTemplate` slot), and a nested menu is a submenu.\n */\n@Component({\n selector: 'bs-dropdown-menu',\n templateUrl: './dropdown-menu.view.generated.html',\n imports: [MpPropsDirective, NgTemplateOutlet],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [provideCoreContext(DROPDOWN_NESTING, BsDropdownMenuComponent)],\n hostDirectives: ext_hostDirectives,\n})\nexport class BsDropdownMenuComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** Pixel cap on the height; the menu scrolls beyond. */\n readonly maxHeight = input<DropdownMenuInputs['maxHeight'], unknown>(null, { transform: (v: unknown) => (v == null || v === '' ? null : numberAttribute(v)) as DropdownMenuInputs['maxHeight'] });\n /** The menu's accessible name, when no trigger names it; in a navbar, the trigger text. */\n readonly label = input<DropdownMenuInputs['label']>(null);\n /** In a navbar: a descendant link's route is active. */\n readonly active = input<DropdownMenuInputs['active'], unknown>(false, { transform: booleanAttribute });\n /** An enabled item was activated: the item and its `value`. */\n readonly itemSelect = output<DropdownSelectEventDetail>();\n\n private readonly labelTemplateSlot = contentChild(BsDropdownMenuLabelTemplateDirective);\n /** The template's named slots. */\n protected readonly slots = computed(() => ({ labelTemplate: this.labelTemplateSlot()?.templateRef }));\n readonly #core = useCore(dropdownMenuCore, { inputs: ext_extendInputs(() => ({ maxHeight: this.maxHeight(), label: this.label(), active: this.active() })), idPrefix: 'bs-dropdown-menu', outputs: { itemSelect: this.itemSelect }, hostScope: 'dropdown' });\n /** What this component hands its content. */\n readonly provided = this.#core.provided;\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n }\n}\n","<!-- 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","// GENERATED from the dropdown manifest (dropdown-item) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { dropdownItemCore, type DropdownItemInputs, dropdownScopedStyles } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\n\n/** A menu item: its content, or the link or button it wraps, is the menuitem. */\n@Component({\n selector: 'bs-dropdown-item',\n templateUrl: './dropdown-item.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsDropdownItemComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly active = input<DropdownItemInputs['active'], unknown>(false, { transform: booleanAttribute });\n readonly disabled = input<DropdownItemInputs['disabled'], unknown>(false, { transform: booleanAttribute });\n /** Opaque value reported in the menu's `select`. */\n readonly value = input<DropdownItemInputs['value']>(undefined);\n\n readonly #core = useCore(dropdownItemCore, { inputs: () => ({ active: this.active(), disabled: this.disabled(), value: this.value() }), idPrefix: 'bs-dropdown-item', hostBag: (props) => ({ ...props.root, 'data-mps': 'dropdown' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n }\n}\n","<!-- 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","// GENERATED from the dropdown manifest (dropdown-header) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { dropdownHeaderCore, dropdownScopedStyles } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\n\n/** A heading between menu items. */\n@Component({\n selector: 'bs-dropdown-header',\n templateUrl: './dropdown-header.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsDropdownHeaderComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly #core = useCore(dropdownHeaderCore, { inputs: () => ({ }), idPrefix: 'bs-dropdown-header', hostBag: (props) => ({ ...props.root, 'data-mps': 'dropdown' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n }\n}\n","<!-- 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","// GENERATED from the dropdown manifest (dropdown-divider) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { dropdownDividerCore, dropdownScopedStyles } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\n\n/** A separator between menu items. */\n@Component({\n selector: 'bs-dropdown-divider',\n templateUrl: './dropdown-divider.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsDropdownDividerComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly #core = useCore(dropdownDividerCore, { inputs: () => ({ }), idPrefix: 'bs-dropdown-divider', hostBag: (props) => ({ ...props.root, 'data-mps': 'dropdown' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-divider.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n","// GENERATED from the dropdown manifest (dropdown) by @mintplayer/nx-component-compiler. Do not edit.\nimport { Directive, booleanAttribute, input } from '@angular/core';\nimport { anchorElement, useCore, useOverlayComponent, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { dropdownCore, type DropdownInputs, dropdownScopedStyles } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\nimport { BsDropdownPanelComponent } from './dropdown-panel.component.generated';\n\n/**\n * A dropdown on the element (an APG menu button): a click toggles the panel, ArrowDown / ArrowUp open it on\n * the first / last item. Escape, a press outside it, focus leaving it or activating an item closes it.\n */\n@Directive({ selector: '[bsDropdown]' })\nexport class BsDropdownDirective {\n /** Where the panel sits; it flips vertically when it does not fit. */\n readonly placement = input<DropdownInputs['placement'], DropdownInputs['placement'] | ''>('bottom-start', { transform: (v: DropdownInputs['placement'] | '') => (v === '' ? 'bottom-start' : v), alias: 'bsDropdown' });\n /** The panel is as wide as the trigger. */\n readonly sameWidth = input<DropdownInputs['sameWidth'], unknown>(false, { transform: booleanAttribute, alias: 'bsDropdownSameWidth' });\n /** `menu`, or `dialog` for content that is not a menu (focus moves to the panel). */\n readonly hasPopup = input<DropdownInputs['hasPopup']>('menu', { alias: 'bsDropdownHasPopup' });\n\n /** The element the template sits in: the trigger. */\n readonly #anchor = anchorElement();\n protected readonly core = useCore(dropdownCore, { inputs: () => ({ placement: this.placement(), sameWidth: this.sameWidth(), hasPopup: this.hasPopup() }), idPrefix: 'bs-dropdown', element: this.#anchor, hostBag: (props) => props.anchor });\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n useOverlayComponent(BsDropdownPanelComponent, () => this.core.props().overlay, this.#anchor);\n }\n}\n","// GENERATED from the dropdown manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsDropdownPanelComponent } from './dropdown-panel.component.generated';\nexport { BsDropdownMenuComponent, BsDropdownMenuLabelTemplateDirective } from './dropdown-menu.component.generated';\nexport { BsDropdownItemComponent } from './dropdown-item.component.generated';\nexport { BsDropdownHeaderComponent } from './dropdown-header.component.generated';\nexport { BsDropdownDividerComponent } from './dropdown-divider.component.generated';\nexport { BsDropdownDirective } from './dropdown.directive.generated';\n","// Generated from @mintplayer/ui-core/dropdown (#458 D10).\nexport * from './generated';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["ext_extendInputs","ext_hostDirectives"],"mappings":";;;;;;;;;;AAAA;AAMA;MAQa,wBAAwB,CAAA;AAa1B,IAAA,KAAK;AAMd,IAAA,WAAA,GAAA;;AAjBS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;;QAGxD,IAAA,CAAA,SAAS,GAAG,KAAK,CAAmC,EAAE;sFAAC;QACvD,IAAA,CAAA,IAAI,GAAG,KAAK,CAA8B,QAAQ;iFAAC;;QAEnD,IAAA,CAAA,KAAK,GAAG,KAAK,CAA+B,QAAQ;kFAAC;QACrD,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAkC,MAAM;qFAAC;;QAEzD,IAAA,CAAA,SAAS,GAAG,KAAK,CAAmC,IAAI;sFAAC;AAEzD,QAAA,IAAA,CAAA,KAAK,GAAG,OAAO,CAAC,iBAAiB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,EAAE,CAAC,EAAE,QAAQ,EAAE,mBAAmB,EAAE,OAAO,EAAE,CAAC,KAAK,MAAM,EAAE,GAAG,KAAK,CAAC,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC,EAAE,CAAC;;AAEvR,QAAA,IAAA,CAAA,QA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EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,QAAA,EAAA,EAAA,iBAAA,EAAA,UAAA,EAAA,UAAA,EAAA,oBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAD/B,SAAS;mBAAC,EAAE,QAAQ,EAAE,cAAc,EAAE;;;ACXvC;;ACAA;;ACAA;;AAEG;;;;"}
@@ -92,7 +92,7 @@ class BsFileManagerComponent {
92
92
  return this.#core.call('clearUpload', args);
93
93
  }
94
94
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsFileManagerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
95
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsFileManagerComponent, isStandalone: true, selector: "bs-file-manager", inputs: { nodes: { classPropertyName: "nodes", publicName: "nodes", isSignal: true, isRequired: false, transformFunction: null }, rootFolderId: { classPropertyName: "rootFolderId", publicName: "rootFolderId", isSignal: true, isRequired: false, transformFunction: null }, currentFolderId: { classPropertyName: "currentFolderId", publicName: "currentFolderId", isSignal: true, isRequired: false, transformFunction: null }, allowUpload: { classPropertyName: "allowUpload", publicName: "allowUpload", isSignal: true, isRequired: false, transformFunction: null }, allowOperations: { classPropertyName: "allowOperations", publicName: "allowOperations", isSignal: true, isRequired: false, transformFunction: null }, viewMode: { classPropertyName: "viewMode", publicName: "viewMode", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, selectedIds: { classPropertyName: "selectedIds", publicName: "selectedIds", isSignal: true, isRequired: false, transformFunction: null }, searchPlaceholder: { classPropertyName: "searchPlaceholder", publicName: "searchPlaceholder", isSignal: true, isRequired: false, transformFunction: null }, iconResolver: { classPropertyName: "iconResolver", publicName: "iconResolver", isSignal: true, isRequired: false, transformFunction: null }, messages: { classPropertyName: "messages", publicName: "messages", isSignal: true, isRequired: false, transformFunction: null }, dialogResolver: { classPropertyName: "dialogResolver", publicName: "dialogResolver", isSignal: true, isRequired: false, transformFunction: null }, conflictResolver: { classPropertyName: "conflictResolver", publicName: "conflictResolver", isSignal: true, isRequired: false, transformFunction: null }, loadChildren: { classPropertyName: "loadChildren", publicName: "loadChildren", isSignal: true, isRequired: false, transformFunction: null }, uploads: { classPropertyName: "uploads", publicName: "uploads", isSignal: true, isRequired: false, transformFunction: null }, pending: { classPropertyName: "pending", publicName: "pending", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { currentFolderId: "currentFolderIdChange", viewMode: "viewModeChange", selectedIds: "selectedIdsChange", uploads: "uploadsChange", pending: "pendingChange", navigate: "navigate", nodeOpen: "nodeOpen", selectionChanged: "selectionChanged", uploadRequest: "uploadRequest", operation: "operation", errorReported: "errorReported", childrenLoaded: "childrenLoaded" }, ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/file-manager/src/templates/file-manager.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"file-manager\" [mpProps]=\"p_view.live\">\n {{ p_view.announcement }}\n</div>\n<div data-mps=\"file-manager\" [mpProps]=\"p_view.alert\">\n {{ p_view.alertText }}\n</div>\n<div data-mps=\"file-manager\" [mpProps]=\"p_view.toolbar\">\n @for (a of p_view.actions; track a.key) {\n <button data-mps=\"file-manager\" [mpProps]=\"a.bag\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.glyph\">\n {{ a.glyph }}\n </span>\n {{ a.label }}\n </button>\n }\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.spacer\"></span>\n <input data-mps=\"file-manager\" [mpProps]=\"p_view.search\">\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.viewToggle\">\n <button data-mps=\"file-manager\" [mpProps]=\"p_view.listToggle\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.toggleIcon\" [innerHTML]=\"p_view.listIcon | mpTrustedHtml\"></span>\n </button>\n <button data-mps=\"file-manager\" [mpProps]=\"p_view.iconsToggle\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.toggleIcon\" [innerHTML]=\"p_view.gridIcon | mpTrustedHtml\"></span>\n </button>\n </div>\n</div>\n<nav data-mps=\"file-manager\" [mpProps]=\"p_view.breadcrumb\">\n @for (c of p_view.crumbs; track c.key) {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.crumbItem\">\n @if (c.separator) {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.crumbSeparator\">\n \u203A\n </span>\n }\n <button data-mps=\"file-manager\" [mpProps]=\"c.bag\">\n {{ c.label }}\n </button>\n </span>\n }\n</nav>\n<div data-mps=\"file-manager\" [mpProps]=\"p_view.splitArea\">\n <bs-splitter [orientation]=\"'horizontal'\" [minPanelSize]=\"120\" [touchMode]=\"p_view.touchMode\">\n <bs-splitter-panel>\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.treePane\">\n <bs-treeview [items]=\"p_view.tree.items\" [selectedIds]=\"p_view.tree.selected\" [selectionMode]=\"'single'\" [hideBorders]=\"true\" [iconResolver]=\"p_view.tree.icon\" [loadChildren]=\"p_view.treeLoad\" [inputLabel]=\"p_view.tree.label\" [expandedIds]=\"p_view.treeExpanded.value\" (expandedIdsChange)=\"p_view.treeExpanded.set($event)\" (nodeSelect)=\"p_view.onTreeSelect($event)\"></bs-treeview>\n </div>\n </bs-splitter-panel>\n <bs-splitter-panel>\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.contentPane\">\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.contentBody\">\n @if (p_view.list) {\n <bs-datatable [columns]=\"p_view.columns\" [data]=\"p_view.data\" [rowKey]=\"p_view.rowKey\" [selectionMode]=\"p_view.selectionMode\" [autoSort]=\"false\" [cutIds]=\"p_view.cutIds\" [virtualScroll]=\"true\" [itemSize]=\"40\" [fill]=\"true\" [emptyMessage]=\"p_view.emptyMessage\" [inputLabel]=\"p_view.listLabel\" [selectedIds]=\"p_view.selection.value\" (selectedIdsChange)=\"p_view.selection.set($event)\" [sortColumns]=\"p_view.sort.value\" (sortColumnsChange)=\"p_view.sort.set($event)\" (rowDblClick)=\"p_view.onRowDblClick($event)\" (rowContextMenu)=\"p_view.onRowContextMenu($event)\">\n <ng-template bsDatatableCell let-column=\"column\" let-rowIndex=\"rowIndex\">\n @if (column.name === 'name' && p_view.rows[rowIndex]) {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.rows[rowIndex].cell\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.rowIcon\" [innerHTML]=\"p_view.rows[rowIndex].icon | mpTrustedHtml\"></span>\n @if (p_view.rows[rowIndex].renameInput) {\n <input data-mps=\"file-manager\" [mpProps]=\"p_view.rows[rowIndex].renameInput\">\n } @else {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.rowName\">\n {{ p_view.rows[rowIndex].name }}\n </span>\n }\n </span>\n } @else if (p_view.rows[rowIndex]) {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.cellText\">\n {{ p_view.rows[rowIndex].texts[column.name] }}\n </span>\n }\n </ng-template>\n </bs-datatable>\n } @else {\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.grid\">\n @for (r of p_view.rows; track r.id) {\n <button data-mps=\"file-manager\" [mpProps]=\"r.card\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.cardIcon\" [innerHTML]=\"r.icon | mpTrustedHtml\"></span>\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.cardName\">\n {{ r.name }}\n </span>\n </button>\n }\n </div>\n }\n </div>\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.overlay\">\n {{ p_view.dropText }}\n </div>\n </div>\n </bs-splitter-panel>\n </bs-splitter>\n</div>\n@if (p_view.menu) {\n <ul data-mps=\"file-manager\" [mpProps]=\"p_view.menu.list\" [style]=\"p_view.menu.style\">\n @for (i of p_view.menu.items; track i.key) {\n <li data-mps=\"file-manager\" [mpProps]=\"i.li\">\n @if (i.button) {\n <button data-mps=\"file-manager\" [mpProps]=\"i.button\">\n {{ i.label }}\n </button>\n }\n </li>\n }\n </ul>\n}\n", dependencies: [{ kind: "directive", type: MpPropsDirective, selector: "[mpProps],[mpHostAttrs]", inputs: ["mpProps", "mpHostAttrs"] }, { kind: "component", type: BsSplitterComponent, selector: "bs-splitter", inputs: ["orientation", "minPanelSize", "touchMode", "labels"], outputs: ["resizeStart", "resizing", "resizeEnd"] }, { kind: "component", type: BsSplitterPanelComponent, selector: "bs-splitter-panel" }, { kind: "component", type: BsTreeviewComponent, selector: "bs-treeview", inputs: ["items", "expandedIds", "selectedIds", "selectionMode", "hideBorders", "iconResolver", "loadChildren", "inputLabel", "labels"], outputs: ["expandedIdsChange", "selectedIdsChange", "nodeSelect", "nodeExpand", "nodeCollapse", "nodeLoadError"] }, { kind: "component", type: BsDatatableComponent, selector: "bs-datatable", inputs: ["columns", "data", "fetch", "caption", "labels", "inputLabel", "sortColumns", "page", "perPage", "perPageOptions", "pagination", "autoSort", "selectionMode", "selectedIds", "cutIds", "focusedRowKey", "rowLabel", "rowKey", "tree", "idKey", "childCountKey", "treeIndent", "expandedIds", "selectionStrategy", "loading", "emptyMessage", "virtualScroll", "itemSize", "virtualBuffer", "fill", "resizableColumns", "hrefFor", "distincts", "filters", "fetchParams", "stateKey"], outputs: ["sortColumnsChange", "pageChange", "perPageChange", "selectedIdsChange", "expandedIdsChange", "filtersChange", "rowClick", "rowDblClick", "rowContextMenu", "selectionChanged", "rowExpand", "rowCollapse", "loadError", "pageLoad"] }, { kind: "directive", type: BsDatatableCellDirective, selector: "[bsDatatableCell]" }, { kind: "pipe", type: MpTrustedHtmlPipe, name: "mpTrustedHtml" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
95
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsFileManagerComponent, isStandalone: true, selector: "bs-file-manager", inputs: { nodes: { classPropertyName: "nodes", publicName: "nodes", isSignal: true, isRequired: false, transformFunction: null }, rootFolderId: { classPropertyName: "rootFolderId", publicName: "rootFolderId", isSignal: true, isRequired: false, transformFunction: null }, currentFolderId: { classPropertyName: "currentFolderId", publicName: "currentFolderId", isSignal: true, isRequired: false, transformFunction: null }, allowUpload: { classPropertyName: "allowUpload", publicName: "allowUpload", isSignal: true, isRequired: false, transformFunction: null }, allowOperations: { classPropertyName: "allowOperations", publicName: "allowOperations", isSignal: true, isRequired: false, transformFunction: null }, viewMode: { classPropertyName: "viewMode", publicName: "viewMode", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, selectedIds: { classPropertyName: "selectedIds", publicName: "selectedIds", isSignal: true, isRequired: false, transformFunction: null }, searchPlaceholder: { classPropertyName: "searchPlaceholder", publicName: "searchPlaceholder", isSignal: true, isRequired: false, transformFunction: null }, iconResolver: { classPropertyName: "iconResolver", publicName: "iconResolver", isSignal: true, isRequired: false, transformFunction: null }, messages: { classPropertyName: "messages", publicName: "messages", isSignal: true, isRequired: false, transformFunction: null }, dialogResolver: { classPropertyName: "dialogResolver", publicName: "dialogResolver", isSignal: true, isRequired: false, transformFunction: null }, conflictResolver: { classPropertyName: "conflictResolver", publicName: "conflictResolver", isSignal: true, isRequired: false, transformFunction: null }, loadChildren: { classPropertyName: "loadChildren", publicName: "loadChildren", isSignal: true, isRequired: false, transformFunction: null }, uploads: { classPropertyName: "uploads", publicName: "uploads", isSignal: true, isRequired: false, transformFunction: null }, pending: { classPropertyName: "pending", publicName: "pending", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { currentFolderId: "currentFolderIdChange", viewMode: "viewModeChange", selectedIds: "selectedIdsChange", uploads: "uploadsChange", pending: "pendingChange", navigate: "navigate", nodeOpen: "nodeOpen", selectionChanged: "selectionChanged", uploadRequest: "uploadRequest", operation: "operation", errorReported: "errorReported", childrenLoaded: "childrenLoaded" }, ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/file-manager/src/templates/file-manager.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"file-manager\" [mpProps]=\"p_view.live\">\n {{ p_view.announcement }}\n</div>\n<div data-mps=\"file-manager\" [mpProps]=\"p_view.alert\">\n {{ p_view.alertText }}\n</div>\n<div data-mps=\"file-manager\" [mpProps]=\"p_view.toolbar\">\n @for (a of p_view.actions; track a.key) {\n <button data-mps=\"file-manager\" [mpProps]=\"a.bag\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.glyph\">\n {{ a.glyph }}\n </span>\n {{ a.label }}\n </button>\n }\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.spacer\"></span>\n <input data-mps=\"file-manager\" [mpProps]=\"p_view.search\">\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.viewToggle\">\n <button data-mps=\"file-manager\" [mpProps]=\"p_view.listToggle\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.toggleIcon\" [innerHTML]=\"p_view.listIcon | mpTrustedHtml\"></span>\n </button>\n <button data-mps=\"file-manager\" [mpProps]=\"p_view.iconsToggle\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.toggleIcon\" [innerHTML]=\"p_view.gridIcon | mpTrustedHtml\"></span>\n </button>\n </div>\n</div>\n<nav data-mps=\"file-manager\" [mpProps]=\"p_view.breadcrumb\">\n @for (c of p_view.crumbs; track c.key) {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.crumbItem\">\n @if (c.separator) {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.crumbSeparator\">\n \u203A\n </span>\n }\n <button data-mps=\"file-manager\" [mpProps]=\"c.bag\">\n {{ c.label }}\n </button>\n </span>\n }\n</nav>\n<div data-mps=\"file-manager\" [mpProps]=\"p_view.splitArea\">\n <bs-splitter [orientation]=\"'horizontal'\" [minPanelSize]=\"120\" [touchMode]=\"p_view.touchMode\">\n <bs-splitter-panel>\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.treePane\">\n <bs-treeview [items]=\"p_view.tree.items\" [selectedIds]=\"p_view.tree.selected\" [selectionMode]=\"'single'\" [hideBorders]=\"true\" [iconResolver]=\"p_view.tree.icon\" [loadChildren]=\"p_view.treeLoad\" [inputLabel]=\"p_view.tree.label\" [expandedIds]=\"p_view.treeExpanded.value\" (expandedIdsChange)=\"p_view.treeExpanded.set($event)\" (nodeSelect)=\"p_view.onTreeSelect($event)\"></bs-treeview>\n </div>\n </bs-splitter-panel>\n <bs-splitter-panel>\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.contentPane\">\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.contentBody\">\n @if (p_view.list) {\n <bs-datatable [columns]=\"p_view.columns\" [data]=\"p_view.data\" [rowKey]=\"p_view.rowKey\" [selectionMode]=\"p_view.selectionMode\" [autoSort]=\"false\" [cutIds]=\"p_view.cutIds\" [virtualScroll]=\"true\" [itemSize]=\"40\" [fill]=\"true\" [emptyMessage]=\"p_view.emptyMessage\" [inputLabel]=\"p_view.listLabel\" [selectedIds]=\"p_view.selection.value\" (selectedIdsChange)=\"p_view.selection.set($event)\" [sortColumns]=\"p_view.sort.value\" (sortColumnsChange)=\"p_view.sort.set($event)\" (rowDblClick)=\"p_view.onRowDblClick($event)\" (rowContextMenu)=\"p_view.onRowContextMenu($event)\">\n <ng-template bsDatatableCell let-column=\"column\" let-rowIndex=\"rowIndex\">\n @if (column.name === 'name' && p_view.rows[rowIndex]) {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.rows[rowIndex].cell\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.rowIcon\" [innerHTML]=\"p_view.rows[rowIndex].icon | mpTrustedHtml\"></span>\n @if (p_view.rows[rowIndex].renameInput) {\n <input data-mps=\"file-manager\" [mpProps]=\"p_view.rows[rowIndex].renameInput\">\n } @else {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.rowName\">\n {{ p_view.rows[rowIndex].name }}\n </span>\n }\n </span>\n } @else if (p_view.rows[rowIndex]) {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.cellText\">\n {{ p_view.rows[rowIndex].texts[column.name] }}\n </span>\n }\n </ng-template>\n </bs-datatable>\n } @else {\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.grid\">\n @for (r of p_view.rows; track r.id) {\n <button data-mps=\"file-manager\" [mpProps]=\"r.card\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.cardIcon\" [innerHTML]=\"r.icon | mpTrustedHtml\"></span>\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.cardName\">\n {{ r.name }}\n </span>\n </button>\n }\n </div>\n }\n </div>\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.overlay\">\n {{ p_view.dropText }}\n </div>\n </div>\n </bs-splitter-panel>\n </bs-splitter>\n</div>\n@if (p_view.menu) {\n <ul data-mps=\"file-manager\" [mpProps]=\"p_view.menu.list\" [style]=\"p_view.menu.style\">\n @for (i of p_view.menu.items; track i.key) {\n <li data-mps=\"file-manager\" [mpProps]=\"i.li\">\n @if (i.button) {\n <button data-mps=\"file-manager\" [mpProps]=\"i.button\">\n {{ i.label }}\n </button>\n }\n </li>\n }\n </ul>\n}\n", dependencies: [{ kind: "directive", type: MpPropsDirective, selector: "[mpProps],[mpHostAttrs]", inputs: ["mpProps", "mpHostAttrs"] }, { kind: "component", type: BsSplitterComponent, selector: "bs-splitter", inputs: ["orientation", "minPanelSize", "touchMode", "labels"], outputs: ["resizeStart", "resizing", "resizeEnd"] }, { kind: "component", type: BsSplitterPanelComponent, selector: "bs-splitter-panel", inputs: ["size", "minSize", "maxSize"] }, { kind: "component", type: BsTreeviewComponent, selector: "bs-treeview", inputs: ["items", "expandedIds", "selectedIds", "selectionMode", "hideBorders", "iconResolver", "loadChildren", "inputLabel", "labels"], outputs: ["expandedIdsChange", "selectedIdsChange", "nodeSelect", "nodeExpand", "nodeCollapse", "nodeLoadError"] }, { kind: "component", type: BsDatatableComponent, selector: "bs-datatable", inputs: ["columns", "data", "fetch", "caption", "labels", "inputLabel", "sortColumns", "page", "perPage", "perPageOptions", "pagination", "autoSort", "selectionMode", "selectedIds", "cutIds", "focusedRowKey", "rowLabel", "rowKey", "tree", "idKey", "childCountKey", "treeIndent", "expandedIds", "selectionStrategy", "loading", "emptyMessage", "virtualScroll", "itemSize", "virtualBuffer", "fill", "resizableColumns", "hrefFor", "distincts", "filters", "filtersReadonly", "fetchParams", "stateKey"], outputs: ["sortColumnsChange", "pageChange", "perPageChange", "selectedIdsChange", "expandedIdsChange", "filtersChange", "rowClick", "rowDblClick", "rowContextMenu", "selectionChanged", "rowExpand", "rowCollapse", "loadError", "pageLoad"] }, { kind: "directive", type: BsDatatableCellDirective, selector: "[bsDatatableCell]" }, { kind: "pipe", type: MpTrustedHtmlPipe, name: "mpTrustedHtml" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
96
96
  }
97
97
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsFileManagerComponent, decorators: [{
98
98
  type: Component,