@coolon/angular-ui-powerups 16.1.0-alpha.237 → 16.1.0-alpha.239

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.
@@ -25,6 +25,9 @@ export declare class PopupMenuRendererComponent extends DisposableComponent {
25
25
  get children(): readonly PopupAwareComponent[];
26
26
  executeCommand(data: PopupAwareComponent): void;
27
27
  isCommandEnabled(data: PopupAwareComponent): boolean;
28
+ /** A command with `visibleWhile(...)` false collapses out of the menu — matches `visibleWhile`
29
+ * semantics elsewhere. Undefined defaults to visible so callers that don't gate stay unchanged. */
30
+ isCommandVisible(data: PopupAwareComponent): boolean;
28
31
  onCommandFired(): void;
29
32
  isCommand(child: any): child is CommandComponent;
30
33
  isPopupMenu(child: any): child is AbstractPopupMenuComponent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "16.1.0-alpha.237",
3
+ "version": "16.1.0-alpha.239",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^16.2.9",
6
6
  "@angular/common": "^16.2.9",