@mintplayer/ng-bootstrap 20.4.0 → 20.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dock/index.d.ts CHANGED
@@ -18,10 +18,6 @@ interface DockStackNode {
18
18
  * Unique pane names that should appear as tabs.
19
19
  */
20
20
  panes: string[];
21
- /**
22
- * Optional caption overrides for each pane.
23
- */
24
- titles?: Record<string, string>;
25
21
  /**
26
22
  * Optional pane name that should be active when the layout is rendered.
27
23
  */
@@ -54,22 +50,22 @@ interface DockFloatingStackLayout {
54
50
  * Pane that should surface in the floating window header.
55
51
  */
56
52
  activePane?: string;
57
- /**
58
- * @deprecated Legacy support for snapshots created before floating windows supported nested layouts.
59
- */
60
- panes?: string[];
61
- /**
62
- * @deprecated Legacy support for snapshots created before floating windows supported nested layouts.
63
- */
64
- titles?: Record<string, string>;
65
53
  }
66
54
  interface DockLayout {
67
55
  root: DockLayoutNode | null;
68
56
  floating?: DockFloatingStackLayout[];
57
+ /**
58
+ * Optional caption overrides per pane name, scoped to the entire manager.
59
+ */
60
+ titles?: Record<string, string>;
69
61
  }
70
62
  interface DockLayoutSnapshot {
71
63
  root: DockLayoutNode | null;
72
64
  floating: DockFloatingStackLayout[];
65
+ /**
66
+ * Optional caption overrides per pane name, scoped to the entire manager.
67
+ */
68
+ titles?: Record<string, string>;
73
69
  }
74
70
 
75
71
  declare class BsDockPaneComponent implements AfterContentInit {
@@ -98,6 +94,7 @@ declare class MintDockManagerElement extends HTMLElement {
98
94
  private dropJoystickTarget;
99
95
  private rootLayout;
100
96
  private floatingLayouts;
97
+ private titles;
101
98
  private pendingTabDragMetrics;
102
99
  private resizeState;
103
100
  private dragState;
@@ -158,6 +155,9 @@ declare class MintDockManagerElement extends HTMLElement {
158
155
  private onDragMouseMove;
159
156
  private onDragTouchMove;
160
157
  private onDragMouseUp;
158
+ private convertPendingTabDragToFloating;
159
+ private computeHeaderInsertIndex;
160
+ private reorderPaneInLocationAtIndex;
161
161
  private onDragTouchEnd;
162
162
  private clearPendingDragEndTimeout;
163
163
  private scheduleDeferredDragEnd;
@@ -170,6 +170,8 @@ declare class MintDockManagerElement extends HTMLElement {
170
170
  private findParentSplit;
171
171
  private computeDropZone;
172
172
  private extractDropZoneFromEvent;
173
+ private handleDragPointerUpCommon;
174
+ private findDropZoneInTargets;
173
175
  private findDropZoneByPoint;
174
176
  private updateDropJoystickActiveZone;
175
177
  private isDropZone;
@@ -177,6 +179,7 @@ declare class MintDockManagerElement extends HTMLElement {
177
179
  private hideDropIndicator;
178
180
  private findStackAtPoint;
179
181
  private findStackElement;
182
+ private findStackInTargets;
180
183
  private activatePane;
181
184
  private getNodeAtPath;
182
185
  private resolveSplitNode;
@@ -188,6 +191,7 @@ declare class MintDockManagerElement extends HTMLElement {
188
191
  private findStackContainingPane;
189
192
  private findFirstPaneName;
190
193
  private collectFloatingPaneMetadata;
194
+ private collectPaneNames;
191
195
  private normalizeFloatingLayout;
192
196
  private formatPath;
193
197
  private clonePath;