import * as PopupRedux from '../Redux/ActionsReducers/PopupRedux';
// A menu item which performs a Redux Action when it is clicke
export class MenuItemDoReduxAction {
    constructor(name, label, module, reduxAction, icon, isVisible) {
        this.name = name;
        this.label = label;
        this.category = module;
        this.isVisible = isVisible;
        this.icon = {
            name: icon,
        };
        this.reduxAction = reduxAction;
    }
    name;
    reduxAction;
    label;
    category;
    isVisible;
    icon;
}
export class MenuItemDoClickFunction {
    constructor(name, label, module, clickFunction, icon, isVisible) {
        this.name = name;
        this.label = label;
        this.category = module;
        this.isVisible = isVisible;
        this.icon = {
            name: icon,
        };
        this.onClick = clickFunction;
    }
    name;
    onClick;
    label;
    category;
    isVisible;
    icon;
}
// A menu item which shows a popup screen when it is clieked
export class MenuItemShowPopup {
    constructor(name, label, module, componentName, icon, isVisible, popupParams) {
        this.name = name;
        this.label = label;
        this.category = module;
        this.isVisible = isVisible;
        this.icon = {
            name: icon,
        };
        this.reduxAction = PopupRedux.PopupShowScreen(module, componentName, popupParams);
    }
    name;
    reduxAction;
    label;
    category;
    isVisible;
    icon;
}
