@coolon/angular-ui-powerups 16.1.0-alpha.240 → 16.1.0-alpha.241
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/esm2022/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.mjs +22 -7
- package/fesm2022/coolon-angular-ui-powerups.mjs +21 -6
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.d.ts +9 -4
- package/package.json +1 -1
|
@@ -23,12 +23,17 @@ export declare class PopupMenuRendererComponent extends DisposableComponent {
|
|
|
23
23
|
TrackBy: typeof Track;
|
|
24
24
|
constructor();
|
|
25
25
|
get children(): readonly PopupAwareComponent[];
|
|
26
|
+
/** True when the child matches one of the template's four `*ngIf` branches and will
|
|
27
|
+
* actually produce a rendered element. Everything else — notably `ButtonRendererComponent`
|
|
28
|
+
* entries that appear in `children` for other purposes — renders as nothing, so must be
|
|
29
|
+
* ignored when deciding whether a neighbouring separator has content to divide.
|
|
30
|
+
*/
|
|
31
|
+
private willRender;
|
|
26
32
|
/** Children with orphan separators collapsed. When `visibleWhile(...)` hides a command,
|
|
27
33
|
* a separator sitting between hidden items — or at the top/bottom of the resulting
|
|
28
|
-
* menu — would render as an empty visual gap. This filters out (1)
|
|
29
|
-
* (2)
|
|
30
|
-
*
|
|
31
|
-
* divide two visible items.
|
|
34
|
+
* menu — would render as an empty visual gap. This filters out (1) non-rendering
|
|
35
|
+
* entries, (2) leading separators, (3) consecutive separators, and (4) trailing
|
|
36
|
+
* separators, so separators appear only between two elements that actually paint.
|
|
32
37
|
*/
|
|
33
38
|
get renderableChildren(): readonly PopupAwareComponent[];
|
|
34
39
|
executeCommand(data: PopupAwareComponent): void;
|