/*
 * Copyright 2019-2025 VMware, Inc. All rights reserved. VMware Confidential
 */

import { combineLatest, Observable, Subscription } from "rxjs";

import { map } from "rxjs/operators";
import { Component, EventEmitter, Input, OnDestroy, Output } from "@angular/core";
import { TranslationSet } from "@vcd/i18n";
import { EntityActionComponentContainer } from "../extension-components.directive";
import { EntityActionExtensionComponent, EntityActionExtensionMenuEntry } from "./entity-action-extension.component";
import { SubscriptionTracker } from "../../../../subscription-tracker.service";

/**
 * This is an emitted event for a clicked menu item.
 */
export interface EntityActionExtensionMenuItemClickEvent {
    component: EntityActionExtensionComponent;
    entityUrn: string;
    menuItemUrn: string;
    scope: string;
}
