@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
23 lines (22 loc) • 1.02 kB
TypeScript
import { Store } from "@omnia/fx/stores";
import { IEditorTabRegistration } from "@omnia/fx-models";
export declare class EditorTabStore extends Store {
/**
* State
*/
selectedTab: import("@omnia/fx/stores").StoreState<IEditorTabRegistration>;
currentTabs: import("@omnia/fx/stores").StoreState<IEditorTabRegistration[]>;
selectedTabIndex: import("@omnia/fx/stores").StoreState<number>;
previousSelectedTabId: import("@omnia/fx/stores").StoreState<string>;
onActivated(): void;
onDisposing(): void;
/**
* Mutations
*/
mutations: {
setDefaultSelectedTab: import("@omnia/fx/stores").StoreMutation<() => void, () => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
setSelectedTab: import("@omnia/fx/stores").StoreMutation<(tabSelection: IEditorTabRegistration) => void, (tabSelection: IEditorTabRegistration) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
};
private mutateSelectedTab;
private setSelectedTabIndex;
}