@mintplayer/ng-bootstrap 20.4.0 → 20.6.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;
@@ -153,12 +150,21 @@ declare class MintDockManagerElement extends HTMLElement {
153
150
  private onGlobalDragEnd;
154
151
  private updateDraggedFloatingPositionFromPoint;
155
152
  private updatePaneDragDropTargetFromPoint;
153
+ private isPointerOverSourceHeader;
154
+ private isPointWithinBounds;
155
+ private ensureHeaderDragPlaceholder;
156
+ private updateHeaderDragPlaceholderPosition;
157
+ private clearHeaderDragPlaceholder;
156
158
  private startDragPointerTracking;
157
159
  private stopDragPointerTracking;
158
160
  private onDragMouseMove;
159
161
  private onDragTouchMove;
160
162
  private onDragMouseUp;
163
+ private convertPendingTabDragToFloating;
164
+ private computeHeaderInsertIndex;
165
+ private reorderPaneInLocationAtIndex;
161
166
  private onDragTouchEnd;
167
+ private finalizeDropFromPoint;
162
168
  private clearPendingDragEndTimeout;
163
169
  private scheduleDeferredDragEnd;
164
170
  private onDrop;
@@ -170,6 +176,8 @@ declare class MintDockManagerElement extends HTMLElement {
170
176
  private findParentSplit;
171
177
  private computeDropZone;
172
178
  private extractDropZoneFromEvent;
179
+ private handleDragPointerUpCommon;
180
+ private findDropZoneInTargets;
173
181
  private findDropZoneByPoint;
174
182
  private updateDropJoystickActiveZone;
175
183
  private isDropZone;
@@ -177,6 +185,7 @@ declare class MintDockManagerElement extends HTMLElement {
177
185
  private hideDropIndicator;
178
186
  private findStackAtPoint;
179
187
  private findStackElement;
188
+ private findStackInTargets;
180
189
  private activatePane;
181
190
  private getNodeAtPath;
182
191
  private resolveSplitNode;
@@ -188,6 +197,7 @@ declare class MintDockManagerElement extends HTMLElement {
188
197
  private findStackContainingPane;
189
198
  private findFirstPaneName;
190
199
  private collectFloatingPaneMetadata;
200
+ private collectPaneNames;
191
201
  private normalizeFloatingLayout;
192
202
  private formatPath;
193
203
  private clonePath;