@cqa-lib/cqa-ui 1.1.530 → 1.1.532
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 +55 -4
- package/esm2020/lib/templates/modular-table-template/modular-table-template.component.mjs +6 -3
- package/fesm2015/cqa-lib-cqa-ui.mjs +61 -5
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +59 -5
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/templates/modular-table-template/folder-sidebar/folder-sidebar.component.d.ts +10 -0
- package/lib/templates/modular-table-template/modular-table-template.component.d.ts +4 -1
- package/package.json +1 -1
|
@@ -64,6 +64,12 @@ export declare class FolderSidebarComponent implements OnDestroy {
|
|
|
64
64
|
renameDraft: string;
|
|
65
65
|
/** Inline rename uses the same name rules as the New Folder dialog. */
|
|
66
66
|
readonly renameMaxLength: number;
|
|
67
|
+
/** Transient flag: turns the rename input red briefly when the user keystrokes
|
|
68
|
+
* while already at `renameMaxLength`, so the silent maxlength clamp gets a
|
|
69
|
+
* visible "you've hit the cap" signal. Cleared by `renameLimitFlashTimer`. */
|
|
70
|
+
renameLimitFlash: boolean;
|
|
71
|
+
private renameLimitFlashTimer;
|
|
72
|
+
private static readonly RENAME_LIMIT_FLASH_MS;
|
|
67
73
|
/** Id of the folder whose context menu is open, or null when closed. */
|
|
68
74
|
contextMenuFolderId: number | null;
|
|
69
75
|
/** Viewport-anchored position (client coordinates) for the floating menu. */
|
|
@@ -91,6 +97,10 @@ export declare class FolderSidebarComponent implements OnDestroy {
|
|
|
91
97
|
commitRename(n: FolderNode): void;
|
|
92
98
|
cancelRename(): void;
|
|
93
99
|
onRenameKey(event: KeyboardEvent, n: FolderNode): void;
|
|
100
|
+
private isPrintableKey;
|
|
101
|
+
private wouldExceedRenameLimit;
|
|
102
|
+
private triggerRenameLimitFlash;
|
|
103
|
+
private clearRenameLimitFlash;
|
|
94
104
|
deleteFolder(n: FolderNode, event: Event): void;
|
|
95
105
|
/**
|
|
96
106
|
* Opens the folder context menu anchored at the given client coordinates.
|
|
@@ -342,7 +342,10 @@ export declare class ModularTableTemplateComponent implements OnInit, OnChanges,
|
|
|
342
342
|
get isRootView(): boolean;
|
|
343
343
|
/** The currently-selected folder node (or null at root). */
|
|
344
344
|
get currentFolderNode(): FolderNode | null;
|
|
345
|
-
/** Count of test cases directly under the currently-selected folder (excluding descendants).
|
|
345
|
+
/** Count of test cases directly under the currently-selected folder (excluding descendants).
|
|
346
|
+
* Reads `FolderNode.count` so the header badge matches the sidebar row count
|
|
347
|
+
* (folder-sidebar.component.html renders the same `row.node.count`). Using
|
|
348
|
+
* `filteredRows.length` here would only reflect the currently-rendered page. */
|
|
346
349
|
get currentFolderDirectCount(): number;
|
|
347
350
|
/**
|
|
348
351
|
* Renders the empty-state slot when the host explicitly opts in, OR when the
|