vkedit 2.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.en.md +1173 -0
- package/README.md +1172 -0
- package/dist/commands/add-element-command.d.ts +13 -0
- package/dist/commands/align-elements-command.d.ts +13 -0
- package/dist/commands/base-command.d.ts +15 -0
- package/dist/commands/batch-command.d.ts +16 -0
- package/dist/commands/change-layer-order-command.d.ts +15 -0
- package/dist/commands/clear-selection-command.d.ts +11 -0
- package/dist/commands/i-command.d.ts +13 -0
- package/dist/commands/index.d.ts +16 -0
- package/dist/commands/remove-element-command.d.ts +12 -0
- package/dist/commands/transform-element-command.d.ts +18 -0
- package/dist/commands/update-property-command.d.ts +20 -0
- package/dist/components/BaseElementPropertyPanel.vue.d.ts +9 -0
- package/dist/components/CanvasPropertyPanel.vue.d.ts +9 -0
- package/dist/components/ContextMenuDelete.vue.d.ts +5 -0
- package/dist/components/TextProperty.vue.d.ts +15 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/components/ui/button/Button.vue.d.ts +27 -0
- package/dist/components/ui/button/index.d.ts +7 -0
- package/dist/components/ui/button-group/ButtonGroup.vue.d.ts +23 -0
- package/dist/components/ui/button-group/ButtonGroupSeparator.vue.d.ts +9 -0
- package/dist/components/ui/button-group/ButtonGroupText.vue.d.ts +26 -0
- package/dist/components/ui/button-group/index.d.ts +8 -0
- package/dist/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +22 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +28 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +36 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +18 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +26 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +23 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +22 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +26 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +7 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +21 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +22 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +38 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +23 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +18 -0
- package/dist/components/ui/dropdown-menu/index.d.ts +15 -0
- package/dist/components/ui/index.d.ts +14 -0
- package/dist/components/ui/input/Input.vue.d.ts +12 -0
- package/dist/components/ui/input/index.d.ts +1 -0
- package/dist/components/ui/input-mm/InputMM.vue.d.ts +13 -0
- package/dist/components/ui/input-mm/InputNumberMM.vue.d.ts +14 -0
- package/dist/components/ui/input-mm/index.d.ts +2 -0
- package/dist/components/ui/input-number/VkInputNumber.vue.d.ts +9 -0
- package/dist/components/ui/input-number/index.d.ts +1 -0
- package/dist/components/ui/label/Label.vue.d.ts +22 -0
- package/dist/components/ui/label/index.d.ts +1 -0
- package/dist/components/ui/number-field/NumberField.vue.d.ts +26 -0
- package/dist/components/ui/number-field/NumberFieldContent.vue.d.ts +21 -0
- package/dist/components/ui/number-field/NumberFieldDecrement.vue.d.ts +22 -0
- package/dist/components/ui/number-field/NumberFieldIncrement.vue.d.ts +22 -0
- package/dist/components/ui/number-field/NumberFieldInput.vue.d.ts +6 -0
- package/dist/components/ui/number-field/index.d.ts +5 -0
- package/dist/components/ui/scroll-area/ScrollArea.vue.d.ts +22 -0
- package/dist/components/ui/scroll-area/ScrollBar.vue.d.ts +9 -0
- package/dist/components/ui/scroll-area/index.d.ts +2 -0
- package/dist/components/ui/select/Select.vue.d.ts +25 -0
- package/dist/components/ui/select/SelectContent.vue.d.ts +32 -0
- package/dist/components/ui/select/SelectGroup.vue.d.ts +18 -0
- package/dist/components/ui/select/SelectItem.vue.d.ts +22 -0
- package/dist/components/ui/select/SelectItemText.vue.d.ts +18 -0
- package/dist/components/ui/select/SelectLabel.vue.d.ts +22 -0
- package/dist/components/ui/select/SelectScrollDownButton.vue.d.ts +22 -0
- package/dist/components/ui/select/SelectScrollUpButton.vue.d.ts +22 -0
- package/dist/components/ui/select/SelectSeparator.vue.d.ts +7 -0
- package/dist/components/ui/select/SelectTrigger.vue.d.ts +25 -0
- package/dist/components/ui/select/SelectValue.vue.d.ts +18 -0
- package/dist/components/ui/select/index.d.ts +11 -0
- package/dist/components/ui/separator/Separator.vue.d.ts +10 -0
- package/dist/components/ui/separator/index.d.ts +1 -0
- package/dist/components/ui/slider/Slider.vue.d.ts +13 -0
- package/dist/components/ui/slider/index.d.ts +1 -0
- package/dist/components/ui/switch/Switch.vue.d.ts +26 -0
- package/dist/components/ui/switch/index.d.ts +1 -0
- package/dist/components/ui/textarea/Textarea.vue.d.ts +12 -0
- package/dist/components/ui/textarea/index.d.ts +1 -0
- package/dist/components/ui/toggle/Toggle.vue.d.ts +33 -0
- package/dist/components/ui/toggle/index.d.ts +7 -0
- package/dist/core/BgLayer.vue.d.ts +8 -0
- package/dist/core/ContentLayer.vue.d.ts +29 -0
- package/dist/core/ContextMenu.vue.d.ts +6 -0
- package/dist/core/Editor.vue.d.ts +38 -0
- package/dist/core/PropertyPanel.vue.d.ts +23 -0
- package/dist/core/RulerLayer.vue.d.ts +10 -0
- package/dist/core/ScrollbarLayer.vue.d.ts +8 -0
- package/dist/core/SelectionLayer.vue.d.ts +6 -0
- package/dist/core/StageView.vue.d.ts +9 -0
- package/dist/core/Toolbar.vue.d.ts +29 -0
- package/dist/core/Toolbox.vue.d.ts +23 -0
- package/dist/core/Zoom.vue.d.ts +6 -0
- package/dist/core/editor-host.d.ts +34 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/create-host.d.ts +9 -0
- package/dist/favicon.ico +0 -0
- package/dist/hooks/index.d.ts +10 -0
- package/dist/hooks/use-bg-layer.d.ts +22 -0
- package/dist/hooks/use-content-layer.d.ts +66 -0
- package/dist/hooks/use-host-state.d.ts +14 -0
- package/dist/hooks/use-property-command.d.ts +6 -0
- package/dist/hooks/use-ruler-layer.d.ts +24 -0
- package/dist/hooks/use-scrollbar-layer.d.ts +47 -0
- package/dist/hooks/use-selection-layer.d.ts +35 -0
- package/dist/hooks/use-stage-event.d.ts +33 -0
- package/dist/hooks/use-stage.d.ts +14 -0
- package/dist/hooks/use-zoom.d.ts +12 -0
- package/dist/html2canvas.esm-Dmi1NfiH.js +4871 -0
- package/dist/index-CjPgwxVC.js +82707 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.es-DekiblxN.js +6674 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/plugins/align/Align.vue.d.ts +6 -0
- package/dist/plugins/align/align.d.ts +11 -0
- package/dist/plugins/align/index.d.ts +2 -0
- package/dist/plugins/barcode/PropertyPanel.vue.d.ts +9 -0
- package/dist/plugins/barcode/Shape.vue.d.ts +8 -0
- package/dist/plugins/barcode/Tool.vue.d.ts +5 -0
- package/dist/plugins/barcode/barcode.d.ts +72 -0
- package/dist/plugins/barcode/index.d.ts +4 -0
- package/dist/plugins/chart/PropertyPanel.vue.d.ts +9 -0
- package/dist/plugins/chart/Shape.vue.d.ts +23 -0
- package/dist/plugins/chart/Tool.vue.d.ts +5 -0
- package/dist/plugins/chart/chart.d.ts +38 -0
- package/dist/plugins/chart/index.d.ts +4 -0
- package/dist/plugins/context-menu-manager/context-menu-manager.d.ts +28 -0
- package/dist/plugins/context-menu-manager/index.d.ts +1 -0
- package/dist/plugins/element-manager.d.ts +24 -0
- package/dist/plugins/export/Export.vue.d.ts +6 -0
- package/dist/plugins/export/export.d.ts +36 -0
- package/dist/plugins/export/index.d.ts +2 -0
- package/dist/plugins/graphic-manager/graphic-manager.d.ts +31 -0
- package/dist/plugins/graphic-manager/index.d.ts +1 -0
- package/dist/plugins/graphic-tool-manager.d.ts +16 -0
- package/dist/plugins/import/Import.vue.d.ts +6 -0
- package/dist/plugins/import/import.d.ts +33 -0
- package/dist/plugins/import/index.d.ts +2 -0
- package/dist/plugins/index.d.ts +19 -0
- package/dist/plugins/keydown.d.ts +15 -0
- package/dist/plugins/line/PropertyPanel.vue.d.ts +9 -0
- package/dist/plugins/line/Shape.vue.d.ts +6 -0
- package/dist/plugins/line/Tool.vue.d.ts +6 -0
- package/dist/plugins/line/index.d.ts +4 -0
- package/dist/plugins/line/line.d.ts +62 -0
- package/dist/plugins/preview/PreviewButton.vue.d.ts +5 -0
- package/dist/plugins/preview/index.d.ts +1 -0
- package/dist/plugins/preview/preview.d.ts +26 -0
- package/dist/plugins/property-panel-manager/index.d.ts +1 -0
- package/dist/plugins/property-panel-manager/property-panel-manager.d.ts +32 -0
- package/dist/plugins/qrcode/PropertyPanel.vue.d.ts +9 -0
- package/dist/plugins/qrcode/Shape.vue.d.ts +8 -0
- package/dist/plugins/qrcode/Tool.vue.d.ts +5 -0
- package/dist/plugins/qrcode/index.d.ts +4 -0
- package/dist/plugins/qrcode/qrcode.d.ts +75 -0
- package/dist/plugins/rect/PropertyPanel.vue.d.ts +9 -0
- package/dist/plugins/rect/Shape.vue.d.ts +6 -0
- package/dist/plugins/rect/Tool.vue.d.ts +6 -0
- package/dist/plugins/rect/index.d.ts +4 -0
- package/dist/plugins/rect/rect.d.ts +70 -0
- package/dist/plugins/selection.d.ts +35 -0
- package/dist/plugins/table/CellsBorder.vue.d.ts +6 -0
- package/dist/plugins/table/ContextMenu.vue.d.ts +9 -0
- package/dist/plugins/table/PropertyPanel.vue.d.ts +9 -0
- package/dist/plugins/table/Shape.vue.d.ts +26 -0
- package/dist/plugins/table/Tool.vue.d.ts +6 -0
- package/dist/plugins/table/cell.d.ts +61 -0
- package/dist/plugins/table/index.d.ts +6 -0
- package/dist/plugins/table/table.d.ts +93 -0
- package/dist/plugins/text/PropertyPanel.vue.d.ts +9 -0
- package/dist/plugins/text/Shape.vue.d.ts +6 -0
- package/dist/plugins/text/TextContextMenu.vue.d.ts +5 -0
- package/dist/plugins/text/Tool.vue.d.ts +5 -0
- package/dist/plugins/text/index.d.ts +5 -0
- package/dist/plugins/text/text.d.ts +75 -0
- package/dist/plugins/toolbar-manager.d.ts +16 -0
- package/dist/purify.es-8O7LIJdo.js +553 -0
- package/dist/stores/index.d.ts +1 -0
- package/dist/stores/use-stage-store.d.ts +40 -0
- package/dist/styles/index.css +144 -0
- package/dist/types/base-graphic-element.d.ts +82 -0
- package/dist/types/base-graphic-type.d.ts +9 -0
- package/dist/types/base-plugin.d.ts +17 -0
- package/dist/types/base.d.ts +81 -0
- package/dist/types/element-type-map.d.ts +12 -0
- package/dist/types/event-data.d.ts +116 -0
- package/dist/types/event-map.d.ts +146 -0
- package/dist/types/index.d.ts +9 -0
- package/dist/types/konva-text.d.ts +3 -0
- package/dist/types/plugin-map.d.ts +12 -0
- package/dist/vkedit.css +1 -0
- package/dist/vkedit.es.js +113 -0
- package/package.json +91 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BaseCommand } from './base-command';
|
|
2
|
+
import { IGraphicElement } from '../types';
|
|
3
|
+
import { EditorHost } from '../core';
|
|
4
|
+
import { ICommand } from './i-command';
|
|
5
|
+
export declare class AddElementCommand extends BaseCommand {
|
|
6
|
+
private element;
|
|
7
|
+
name: string;
|
|
8
|
+
private elementsPlugin;
|
|
9
|
+
constructor(host: EditorHost, element: IGraphicElement);
|
|
10
|
+
execute(): void;
|
|
11
|
+
undo(): void;
|
|
12
|
+
canMergeWith(command: ICommand): boolean;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BaseCommand } from './base-command';
|
|
2
|
+
import { EditorHost } from '../core';
|
|
3
|
+
export declare class AlignElementsCommand extends BaseCommand {
|
|
4
|
+
private alignment;
|
|
5
|
+
private elementIds;
|
|
6
|
+
name: string;
|
|
7
|
+
private previousPositions;
|
|
8
|
+
constructor(host: EditorHost, alignment: 'left' | 'right' | 'top' | 'bottom' | 'centerX' | 'centerY', elementIds: string[]);
|
|
9
|
+
execute(): void;
|
|
10
|
+
undo(): void;
|
|
11
|
+
private alignElements;
|
|
12
|
+
private restorePreviousPositions;
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EditorHost } from '../core';
|
|
2
|
+
import { ICommand } from './i-command';
|
|
3
|
+
export declare abstract class BaseCommand implements ICommand {
|
|
4
|
+
abstract name: string;
|
|
5
|
+
timestamp: number;
|
|
6
|
+
description?: string;
|
|
7
|
+
protected host: EditorHost;
|
|
8
|
+
constructor(host: EditorHost, description?: string);
|
|
9
|
+
abstract execute(): void;
|
|
10
|
+
abstract undo(): void;
|
|
11
|
+
redo(): void;
|
|
12
|
+
canMergeWith?(command: ICommand): boolean;
|
|
13
|
+
mergeWith?(command: ICommand): ICommand;
|
|
14
|
+
protected getCurrentTimestamp(): number;
|
|
15
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EditorHost } from '../core';
|
|
2
|
+
import { BaseCommand } from './base-command';
|
|
3
|
+
import { ICommand } from './i-command';
|
|
4
|
+
export declare class BatchCommand extends BaseCommand {
|
|
5
|
+
name: string;
|
|
6
|
+
private commands;
|
|
7
|
+
constructor(host: EditorHost, commands?: ICommand[], description?: string);
|
|
8
|
+
execute(): void;
|
|
9
|
+
undo(): void;
|
|
10
|
+
addCommand(command: ICommand): void;
|
|
11
|
+
addCommands(commands: ICommand[]): void;
|
|
12
|
+
getCommands(): ICommand[];
|
|
13
|
+
isEmpty(): boolean;
|
|
14
|
+
getDescription(): string;
|
|
15
|
+
canMergeWith(command: ICommand): boolean;
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BaseCommand } from './base-command';
|
|
2
|
+
import { EditorHost } from '../core';
|
|
3
|
+
export declare class ChangeLayerOrderCommand extends BaseCommand {
|
|
4
|
+
private elementId;
|
|
5
|
+
private direction;
|
|
6
|
+
name: string;
|
|
7
|
+
private previousOrder;
|
|
8
|
+
constructor(host: EditorHost, elementId: string, direction: 'up' | 'down' | 'top' | 'bottom');
|
|
9
|
+
execute(): void;
|
|
10
|
+
undo(): void;
|
|
11
|
+
private saveCurrentOrder;
|
|
12
|
+
private changeLayerOrder;
|
|
13
|
+
private restorePreviousOrder;
|
|
14
|
+
private getReverseDirection;
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseCommand } from './base-command';
|
|
2
|
+
import { EditorHost } from '../core';
|
|
3
|
+
import { SelectionPlugin } from '../plugins';
|
|
4
|
+
export declare class ClearSelectionCommand extends BaseCommand {
|
|
5
|
+
name: string;
|
|
6
|
+
private previousSelectionIds;
|
|
7
|
+
selectionPlugin: SelectionPlugin | null;
|
|
8
|
+
constructor(host: EditorHost);
|
|
9
|
+
execute(): void;
|
|
10
|
+
undo(): void;
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface ICommand {
|
|
2
|
+
name: string;
|
|
3
|
+
timestamp: number;
|
|
4
|
+
description?: string;
|
|
5
|
+
execute(): void;
|
|
6
|
+
undo(): void;
|
|
7
|
+
redo(): void;
|
|
8
|
+
canMergeWith?(command: ICommand): boolean;
|
|
9
|
+
mergeWith?(command: ICommand): ICommand;
|
|
10
|
+
}
|
|
11
|
+
export interface ICommandConstructor {
|
|
12
|
+
new (...args: any[]): ICommand;
|
|
13
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * from './i-command';
|
|
2
|
+
export * from './base-command';
|
|
3
|
+
export * from './add-element-command';
|
|
4
|
+
export * from './remove-element-command';
|
|
5
|
+
export * from './transform-element-command';
|
|
6
|
+
export * from './update-property-command';
|
|
7
|
+
export * from './clear-selection-command';
|
|
8
|
+
export * from './batch-command';
|
|
9
|
+
export * from './change-layer-order-command';
|
|
10
|
+
export * from './align-elements-command';
|
|
11
|
+
export * from './clear-selection-command';
|
|
12
|
+
export declare class CommandUtils {
|
|
13
|
+
static createBatchFromSelection(host: any, commandClass: any, ...args: any[]): Promise<any>;
|
|
14
|
+
static isTransformCommand(command: any): boolean;
|
|
15
|
+
static isPropertyCommand(command: any): boolean;
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BaseCommand } from './base-command';
|
|
2
|
+
import { IGraphicElement } from '../types';
|
|
3
|
+
import { EditorHost } from '../core';
|
|
4
|
+
export declare class RemoveElementCommand extends BaseCommand {
|
|
5
|
+
private element;
|
|
6
|
+
name: string;
|
|
7
|
+
private elementData;
|
|
8
|
+
private elementsPlugin;
|
|
9
|
+
constructor(host: EditorHost, element: IGraphicElement);
|
|
10
|
+
execute(): void;
|
|
11
|
+
undo(): void;
|
|
12
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BaseCommand } from './base-command';
|
|
2
|
+
import { IGraphicElement } from '../types';
|
|
3
|
+
import { EditorHost } from '../core';
|
|
4
|
+
import { ICommand } from './i-command';
|
|
5
|
+
export declare class TransformElementCommand extends BaseCommand {
|
|
6
|
+
name: string;
|
|
7
|
+
private element;
|
|
8
|
+
private oldState;
|
|
9
|
+
private newState;
|
|
10
|
+
private transformType;
|
|
11
|
+
constructor(host: EditorHost, element: IGraphicElement, oldState: any, newState: any);
|
|
12
|
+
execute(): void;
|
|
13
|
+
undo(): void;
|
|
14
|
+
private applyState;
|
|
15
|
+
private detectTransformType;
|
|
16
|
+
canMergeWith(command: ICommand): boolean;
|
|
17
|
+
mergeWith(command: TransformElementCommand): ICommand;
|
|
18
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BaseCommand } from './base-command';
|
|
2
|
+
import { IGraphicElement } from '../types';
|
|
3
|
+
import { EditorHost } from '../core';
|
|
4
|
+
import { ICommand } from './i-command';
|
|
5
|
+
export declare class UpdatePropertyCommand extends BaseCommand {
|
|
6
|
+
name: string;
|
|
7
|
+
private element;
|
|
8
|
+
private propertyPath;
|
|
9
|
+
private oldValue;
|
|
10
|
+
private newValue;
|
|
11
|
+
constructor(host: EditorHost, element: IGraphicElement, propertyPath: string, oldValue: any, newValue: any);
|
|
12
|
+
execute(): void;
|
|
13
|
+
undo(): void;
|
|
14
|
+
private setProperty;
|
|
15
|
+
private getProperty;
|
|
16
|
+
private emitPropertyChange;
|
|
17
|
+
private deepClone;
|
|
18
|
+
canMergeWith(command: ICommand): boolean;
|
|
19
|
+
mergeWith(command: UpdatePropertyCommand): ICommand;
|
|
20
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseGraphicElement } from '../types';
|
|
2
|
+
import { EditorHost } from '../core';
|
|
3
|
+
interface Props {
|
|
4
|
+
host: EditorHost;
|
|
5
|
+
element: BaseGraphicElement;
|
|
6
|
+
selection: BaseGraphicElement[];
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseGraphicElement } from '../types';
|
|
2
|
+
import { EditorHost } from '../core';
|
|
3
|
+
interface Props {
|
|
4
|
+
host: EditorHost;
|
|
5
|
+
element: BaseGraphicElement | undefined;
|
|
6
|
+
selection: BaseGraphicElement[];
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
host: import('../core').EditorHost;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EditorHost } from '../core';
|
|
2
|
+
import { IAlign, IFontStyle, IVerticalAlign } from '../types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
host: EditorHost;
|
|
5
|
+
fontSize: number;
|
|
6
|
+
align: IAlign;
|
|
7
|
+
verticalAlign: IVerticalAlign;
|
|
8
|
+
fontStyle?: IFontStyle;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
update: (property: string, value: any) => any;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onUpdate?: ((property: string, value: any) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { PrimitiveProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
import { ButtonVariants } from '.';
|
|
4
|
+
interface Props extends PrimitiveProps {
|
|
5
|
+
variant?: ButtonVariants["variant"];
|
|
6
|
+
size?: ButtonVariants["size"];
|
|
7
|
+
class?: HTMLAttributes["class"];
|
|
8
|
+
}
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
slots: {
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {};
|
|
15
|
+
rootEl: any;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
19
|
+
as: import('reka-ui').AsTag | import('vue').Component;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export { default as Button } from './Button.vue';
|
|
3
|
+
export declare const buttonVariants: (props?: ({
|
|
4
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
5
|
+
size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
+
export type ButtonVariants = VariantProps<typeof buttonVariants>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { ButtonGroupVariants } from '.';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
orientation?: ButtonGroupVariants["orientation"];
|
|
6
|
+
};
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SeparatorProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = SeparatorProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
7
|
+
orientation: "horizontal" | "vertical";
|
|
8
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { PrimitiveProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
import { ButtonGroupVariants } from '.';
|
|
4
|
+
interface Props extends PrimitiveProps {
|
|
5
|
+
class?: HTMLAttributes["class"];
|
|
6
|
+
orientation?: ButtonGroupVariants["orientation"];
|
|
7
|
+
}
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {};
|
|
14
|
+
rootEl: any;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
18
|
+
as: import('reka-ui').AsTag | import('vue').Component;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export { default as ButtonGroup } from './ButtonGroup.vue';
|
|
3
|
+
export { default as ButtonGroupSeparator } from './ButtonGroupSeparator.vue';
|
|
4
|
+
export { default as ButtonGroupText } from './ButtonGroupText.vue';
|
|
5
|
+
export declare const buttonGroupVariants: (props?: ({
|
|
6
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
7
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
|
+
export type ButtonGroupVariants = VariantProps<typeof buttonGroupVariants>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DropdownMenuRootProps } from 'reka-ui';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<DropdownMenuRootProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
"update:open": (payload: boolean) => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<DropdownMenuRootProps> & Readonly<{
|
|
14
|
+
"onUpdate:open"?: ((payload: boolean) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { DropdownMenuCheckboxItemProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = DropdownMenuCheckboxItemProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: any;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
select: (event: Event) => any;
|
|
17
|
+
"update:modelValue": (payload: boolean) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
onSelect?: ((event: Event) => any) | undefined;
|
|
20
|
+
"onUpdate:modelValue"?: ((payload: boolean) => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { DropdownMenuContentProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = DropdownMenuContentProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: any;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
closeAutoFocus: (event: Event) => any;
|
|
17
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
18
|
+
pointerDownOutside: (event: import('reka-ui').PointerDownOutsideEvent) => any;
|
|
19
|
+
focusOutside: (event: import('reka-ui').FocusOutsideEvent) => any;
|
|
20
|
+
interactOutside: (event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => any;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
23
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
24
|
+
onPointerDownOutside?: ((event: import('reka-ui').PointerDownOutsideEvent) => any) | undefined;
|
|
25
|
+
onFocusOutside?: ((event: import('reka-ui').FocusOutsideEvent) => any) | undefined;
|
|
26
|
+
onInteractOutside?: ((event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
sideOffset: number;
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DropdownMenuGroupProps } from 'reka-ui';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<DropdownMenuGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DropdownMenuGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { DropdownMenuItemProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = DropdownMenuItemProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
inset?: boolean;
|
|
6
|
+
variant?: "default" | "destructive";
|
|
7
|
+
};
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {};
|
|
14
|
+
rootEl: any;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
|
+
variant: "default" | "destructive";
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { DropdownMenuLabelProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = DropdownMenuLabelProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
inset?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: any;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DropdownMenuRadioGroupProps } from 'reka-ui';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<DropdownMenuRadioGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
"update:modelValue": (payload: string) => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<DropdownMenuRadioGroupProps> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: ((payload: string) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { DropdownMenuRadioItemProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = DropdownMenuRadioItemProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: any;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
select: (event: Event) => any;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
+
onSelect?: ((event: Event) => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DropdownMenuSeparatorProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = DropdownMenuSeparatorProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
class?: HTMLAttributes["class"];
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: HTMLSpanElement;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DropdownMenuSubProps } from 'reka-ui';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<DropdownMenuSubProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
"update:open": (payload: boolean) => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<DropdownMenuSubProps> & Readonly<{
|
|
14
|
+
"onUpdate:open"?: ((payload: boolean) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|