@cqa-lib/cqa-ui 1.1.534 → 1.1.535
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/esm2020/lib/templates/modular-table-template/folder-sidebar/folder-sidebar.component.mjs +16 -3
- package/esm2020/lib/templates/modular-table-template/modular-table-template.component.mjs +3 -3
- package/fesm2015/cqa-lib-cqa-ui.mjs +17 -4
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +17 -4
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/templates/modular-table-template/folder-sidebar/folder-sidebar.component.d.ts +4 -0
- package/package.json +1 -1
- package/styles.css +1 -1
|
@@ -73,6 +73,9 @@ export declare class FolderSidebarComponent implements OnDestroy {
|
|
|
73
73
|
private static readonly RENAME_LIMIT_FLASH_MS;
|
|
74
74
|
/** Id of the folder whose context menu is open, or null when closed. */
|
|
75
75
|
contextMenuFolderId: number | null;
|
|
76
|
+
/** Suppress outside-click handling until this timestamp; protects against the
|
|
77
|
+
* right-click that opens the menu also being interpreted as an outside click. */
|
|
78
|
+
private _suppressOutsideClickUntil;
|
|
76
79
|
/** Viewport-anchored position (client coordinates) for the floating menu.
|
|
77
80
|
* Drives the invisible cdkOverlayOrigin anchor; CDK Overlay then picks the
|
|
78
81
|
* best of `contextMenuPositions` so the menu never overflows the viewport. */
|
|
@@ -118,6 +121,7 @@ export declare class FolderSidebarComponent implements OnDestroy {
|
|
|
118
121
|
* the viewport (e.g. right-clicking the last folder near the bottom edge).
|
|
119
122
|
*/
|
|
120
123
|
openContextMenu(n: FolderNode, event: MouseEvent): void;
|
|
124
|
+
onOverlayOutsideClick(): void;
|
|
121
125
|
closeContextMenu(): void;
|
|
122
126
|
/** True when at least one menu entry is enabled — otherwise the trigger is suppressed entirely. */
|
|
123
127
|
get hasAnyContextAction(): boolean;
|