@nakedobjects/gemini
Version:
Single Page Application client for a Naked Objects application.
38 lines (37 loc) • 1.27 kB
TypeScript
import { ElementRef, QueryList } from '@angular/core';
import { ActionViewModel } from '@nakedobjects/view-models';
import * as i0 from "@angular/core";
export interface IActionHolder {
doClick: () => void;
doRightClick?: () => void;
show: () => boolean;
disabled: () => boolean | null;
tempDisabled: () => boolean | null;
value: string;
title: () => string;
accesskey: string | null;
presentationHint: string;
showDialog: () => boolean;
}
export declare function wrapAction(a: ActionViewModel): IActionHolder;
export declare class ActionComponent {
action: IActionHolder;
focusList?: QueryList<ElementRef>;
private canClick;
doClick(): void;
doRightClick(): void;
class(): {
[x: string]: boolean;
tempdisabled: boolean;
};
show(): boolean;
disabled(): boolean;
tempDisabled(): boolean;
dialogClass(): "has-params" | "no-params";
showDialog(): boolean;
get value(): string;
get title(): string;
focus(): boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<ActionComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ActionComponent, "nof-action", never, { "action": { "alias": "action"; "required": true; }; }, {}, never, never, false, never>;
}