UNPKG

@scalar/api-client

Version:

the open source API testing client

36 lines 1.5 kB
import type { WorkspaceStore } from '@scalar/workspace-store/client'; import type { WorkspaceEventBus } from '@scalar/workspace-store/events'; /** * Command Palette Document Component * * Provides a form for creating a new empty document in the workspace. * Users can name the document and select an icon before creation. * Validates that the name is not empty and not already in use. * * @example * <CommandPaletteDocument * :workspaceStore="workspaceStore" * :eventBus="eventBus" * @close="handleClose" * @back="handleBack" * /> */ declare const _default: import("vue").DefineComponent<{ /** The workspace store for accessing existing documents */ workspaceStore: WorkspaceStore; /** Event bus for emitting document creation events */ eventBus: WorkspaceEventBus; }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { close: () => any; back: (keyboardEvent: KeyboardEvent) => any; }, string, import("vue").PublicProps, Readonly<{ /** The workspace store for accessing existing documents */ workspaceStore: WorkspaceStore; /** Event bus for emitting document creation events */ eventBus: WorkspaceEventBus; }> & Readonly<{ onClose?: (() => any) | undefined; onBack?: ((keyboardEvent: KeyboardEvent) => any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; export default _default; //# sourceMappingURL=CommandPaletteDocument.vue.d.ts.map