@huanban/rulego-editor-vue 2.0.0 → 2.1.1
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/dist/components/AIAssistant.vue.d.ts +38 -4
- package/dist/components/AIChat.vue.d.ts +34 -2
- package/dist/components/ComponentSidebar.vue.d.ts +36 -4
- package/dist/components/ContextMenu.vue.d.ts +27 -2
- package/dist/components/CopilotChat.vue.d.ts +31 -5
- package/dist/components/CrossChainSearchPanel.vue.d.ts +55 -0
- package/dist/components/DataViewDialog.vue.d.ts +27 -5
- package/dist/components/DebugPanel.vue.d.ts +13 -5
- package/dist/components/DynamicForm.vue.d.ts +12 -4
- package/dist/components/EdgePropertyDrawer.vue.d.ts +13 -5
- package/dist/components/EditorConnectionStatus.vue.d.ts +29 -5
- package/dist/components/EditorEdgeHoverTools.vue.d.ts +30 -4
- package/dist/components/EditorNodeHoverTools.vue.d.ts +32 -4
- package/dist/components/EditorPanelDock.vue.d.ts +31 -7
- package/dist/components/EditorStatusBar.vue.d.ts +30 -4
- package/dist/components/EditorToolbar.vue.d.ts +40 -2
- package/dist/components/ImportExportDialog.vue.d.ts +30 -6
- package/dist/components/LogViewer.vue.d.ts +24 -2
- package/dist/components/MiniMap.vue.d.ts +33 -5
- package/dist/components/NodePropertyDrawer.vue.d.ts +14 -6
- package/dist/components/ProblemsPanel.vue.d.ts +31 -7
- package/dist/components/RuleChainSettings.vue.d.ts +29 -5
- package/dist/components/RuleMaintenancePanel.vue.d.ts +9 -1
- package/dist/components/SearchPanel.vue.d.ts +27 -5
- package/dist/components/SearchableSelect.vue.d.ts +60 -6
- package/dist/components/SharedNodeManager.vue.d.ts +24 -2
- package/dist/components/ToolSchemaEditor.vue.d.ts +29 -7
- package/dist/components/ValidationPanel.vue.d.ts +31 -7
- package/dist/components/WorkflowExplorer.vue.d.ts +3 -3
- package/dist/components/WorkflowInfoPanel.vue.d.ts +35 -6
- package/dist/components/WorkflowList.vue.d.ts +40 -2
- package/dist/components/WorkspaceTabs.vue.d.ts +38 -8
- package/dist/components/properties/AgentOrchestrationProperties.vue.d.ts +11 -3
- package/dist/index.cjs +10 -10
- package/dist/index.d.ts +3 -0
- package/dist/index.esm.js +5734 -5583
- package/dist/style.css +1 -1
- package/package.json +5 -5
|
@@ -8,9 +8,25 @@ export interface AIAssistantProps {
|
|
|
8
8
|
customStyle?: Record<string, string | number>;
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
}
|
|
11
|
-
declare const __VLS_export: import("vue").DefineComponent<
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<AIAssistantProps>, {
|
|
12
|
+
editor: null;
|
|
13
|
+
options: () => {};
|
|
14
|
+
iconOnly: boolean;
|
|
15
|
+
label: string;
|
|
16
|
+
className: string;
|
|
17
|
+
customStyle: () => {};
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
+
open: () => void;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<AIAssistantProps>, {
|
|
22
|
+
editor: null;
|
|
23
|
+
options: () => {};
|
|
24
|
+
iconOnly: boolean;
|
|
25
|
+
label: string;
|
|
26
|
+
className: string;
|
|
27
|
+
customStyle: () => {};
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
}>>> & Readonly<{
|
|
14
30
|
onOpen?: (() => any) | undefined;
|
|
15
31
|
}>, {
|
|
16
32
|
disabled: boolean;
|
|
@@ -20,6 +36,24 @@ declare const __VLS_export: import("vue").DefineComponent<AIAssistantProps, {},
|
|
|
20
36
|
customStyle: Record<string, string | number>;
|
|
21
37
|
label: string;
|
|
22
38
|
iconOnly: boolean;
|
|
23
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
39
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
24
40
|
declare const _default: typeof __VLS_export;
|
|
25
41
|
export default _default;
|
|
42
|
+
type __VLS_TypePropsToOption<T> = {
|
|
43
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
44
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
45
|
+
} : {
|
|
46
|
+
type: import('vue').PropType<T[K]>;
|
|
47
|
+
required: true;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
type __VLS_WithDefaults<P, D> = {
|
|
51
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
52
|
+
default: D[K];
|
|
53
|
+
}> : P[K];
|
|
54
|
+
};
|
|
55
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
56
|
+
[K in keyof T]: T[K];
|
|
57
|
+
} : {
|
|
58
|
+
[K in keyof T as K]: T[K];
|
|
59
|
+
}) & {};
|
|
@@ -5,13 +5,45 @@ export interface AIChatProps extends Omit<CopilotChatProps, 'ruleChainId' | 'api
|
|
|
5
5
|
apiPrefix?: string | (() => string);
|
|
6
6
|
getToken?: (() => string | null | undefined) | null;
|
|
7
7
|
}
|
|
8
|
-
declare const __VLS_export: import("vue").DefineComponent<
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<AIChatProps>, {
|
|
9
|
+
chainId: string;
|
|
10
|
+
baseUrl: string;
|
|
11
|
+
apiPrefix: string;
|
|
12
|
+
getToken: null;
|
|
13
|
+
stream: boolean;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<AIChatProps>, {
|
|
16
|
+
chainId: string;
|
|
17
|
+
baseUrl: string;
|
|
18
|
+
apiPrefix: string;
|
|
19
|
+
getToken: null;
|
|
20
|
+
stream: boolean;
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
}>>> & Readonly<{}>, {
|
|
9
23
|
disabled: boolean;
|
|
10
24
|
apiPrefix: string | (() => string);
|
|
11
25
|
chainId: string;
|
|
12
26
|
baseUrl: string | (() => string);
|
|
13
27
|
stream: boolean;
|
|
14
28
|
getToken: (() => string | null | undefined) | null;
|
|
15
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
30
|
declare const _default: typeof __VLS_export;
|
|
17
31
|
export default _default;
|
|
32
|
+
type __VLS_TypePropsToOption<T> = {
|
|
33
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
34
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
35
|
+
} : {
|
|
36
|
+
type: import('vue').PropType<T[K]>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
type __VLS_WithDefaults<P, D> = {
|
|
41
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
42
|
+
default: D[K];
|
|
43
|
+
}> : P[K];
|
|
44
|
+
};
|
|
45
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
46
|
+
[K in keyof T]: T[K];
|
|
47
|
+
} : {
|
|
48
|
+
[K in keyof T as K]: T[K];
|
|
49
|
+
}) & {};
|
|
@@ -53,9 +53,23 @@ export interface ComponentSidebarProps {
|
|
|
53
53
|
overscan?: number;
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
|
-
declare const __VLS_export: import("vue").DefineComponent<
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ComponentSidebarProps>, {
|
|
57
|
+
collapsed: boolean;
|
|
58
|
+
defaultCollapsed: boolean;
|
|
59
|
+
showRecent: boolean;
|
|
60
|
+
showSearch: boolean;
|
|
61
|
+
showNodeMgt: boolean;
|
|
62
|
+
recentComponentTypes: () => never[];
|
|
63
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
64
|
+
"update:search": (search: string) => void;
|
|
65
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ComponentSidebarProps>, {
|
|
66
|
+
collapsed: boolean;
|
|
67
|
+
defaultCollapsed: boolean;
|
|
68
|
+
showRecent: boolean;
|
|
69
|
+
showSearch: boolean;
|
|
70
|
+
showNodeMgt: boolean;
|
|
71
|
+
recentComponentTypes: () => never[];
|
|
72
|
+
}>>> & Readonly<{
|
|
59
73
|
"onUpdate:search"?: ((search: string) => any) | undefined;
|
|
60
74
|
}>, {
|
|
61
75
|
showSearch: boolean;
|
|
@@ -64,6 +78,24 @@ declare const __VLS_export: import("vue").DefineComponent<ComponentSidebarProps,
|
|
|
64
78
|
showRecent: boolean;
|
|
65
79
|
collapsed: boolean;
|
|
66
80
|
defaultCollapsed: boolean;
|
|
67
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
81
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
68
82
|
declare const _default: typeof __VLS_export;
|
|
69
83
|
export default _default;
|
|
84
|
+
type __VLS_TypePropsToOption<T> = {
|
|
85
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
86
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
87
|
+
} : {
|
|
88
|
+
type: import('vue').PropType<T[K]>;
|
|
89
|
+
required: true;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
type __VLS_WithDefaults<P, D> = {
|
|
93
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
94
|
+
default: D[K];
|
|
95
|
+
}> : P[K];
|
|
96
|
+
};
|
|
97
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
98
|
+
[K in keyof T]: T[K];
|
|
99
|
+
} : {
|
|
100
|
+
[K in keyof T as K]: T[K];
|
|
101
|
+
}) & {};
|
|
@@ -5,6 +5,7 @@ export interface ContextMenuItem {
|
|
|
5
5
|
shortcut?: string;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
hidden?: boolean;
|
|
8
|
+
check?: boolean;
|
|
8
9
|
danger?: boolean;
|
|
9
10
|
dividerBefore?: boolean;
|
|
10
11
|
children?: ContextMenuItem[];
|
|
@@ -45,7 +46,31 @@ export declare function getCanvasContextMenuItems(handlers: {
|
|
|
45
46
|
}, i18n?: ContextMenuI18nOptions): ContextMenuItem[];
|
|
46
47
|
declare const _default: typeof __VLS_export;
|
|
47
48
|
export default _default;
|
|
48
|
-
declare const __VLS_export: import("vue").DefineComponent<
|
|
49
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ContextMenuProps>, {
|
|
50
|
+
targetType: string;
|
|
51
|
+
targetId: string;
|
|
52
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ContextMenuProps>, {
|
|
53
|
+
targetType: string;
|
|
54
|
+
targetId: string;
|
|
55
|
+
}>>> & Readonly<{}>, {
|
|
49
56
|
targetId: string;
|
|
50
57
|
targetType: ContextMenuTarget;
|
|
51
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
58
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
59
|
+
type __VLS_TypePropsToOption<T> = {
|
|
60
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
61
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
62
|
+
} : {
|
|
63
|
+
type: import('vue').PropType<T[K]>;
|
|
64
|
+
required: true;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
type __VLS_WithDefaults<P, D> = {
|
|
68
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
69
|
+
default: D[K];
|
|
70
|
+
}> : P[K];
|
|
71
|
+
};
|
|
72
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
73
|
+
[K in keyof T]: T[K];
|
|
74
|
+
} : {
|
|
75
|
+
[K in keyof T as K]: T[K];
|
|
76
|
+
}) & {};
|
|
@@ -31,16 +31,42 @@ export interface CopilotChatProps {
|
|
|
31
31
|
style?: Record<string, string | number>;
|
|
32
32
|
disabled?: boolean;
|
|
33
33
|
}
|
|
34
|
-
declare const __VLS_export: import("vue").DefineComponent<
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<CopilotChatProps>, {
|
|
35
|
+
stream: boolean;
|
|
36
|
+
initialMessages: () => never[];
|
|
37
|
+
disabled: boolean;
|
|
38
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
|
+
"messages-change": (messages: CopilotChatViewMessage[]) => void;
|
|
40
|
+
error: (error: Error) => void;
|
|
41
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<CopilotChatProps>, {
|
|
42
|
+
stream: boolean;
|
|
43
|
+
initialMessages: () => never[];
|
|
44
|
+
disabled: boolean;
|
|
45
|
+
}>>> & Readonly<{
|
|
38
46
|
onError?: ((error: Error) => any) | undefined;
|
|
39
47
|
"onMessages-change"?: ((messages: CopilotChatViewMessage[]) => any) | undefined;
|
|
40
48
|
}>, {
|
|
41
49
|
disabled: boolean;
|
|
42
50
|
stream: boolean;
|
|
43
51
|
initialMessages: CopilotChatMessage[];
|
|
44
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
52
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
45
53
|
declare const _default: typeof __VLS_export;
|
|
46
54
|
export default _default;
|
|
55
|
+
type __VLS_TypePropsToOption<T> = {
|
|
56
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
57
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
58
|
+
} : {
|
|
59
|
+
type: import('vue').PropType<T[K]>;
|
|
60
|
+
required: true;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
type __VLS_WithDefaults<P, D> = {
|
|
64
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
65
|
+
default: D[K];
|
|
66
|
+
}> : P[K];
|
|
67
|
+
};
|
|
68
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
69
|
+
[K in keyof T]: T[K];
|
|
70
|
+
} : {
|
|
71
|
+
[K in keyof T as K]: T[K];
|
|
72
|
+
}) & {};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { type LocaleMessages } from '@huanban/rulego-editor-core';
|
|
2
|
+
import { type EditorTranslate } from '../i18n';
|
|
3
|
+
export interface CrossChainSearchChain {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
data?: unknown;
|
|
7
|
+
}
|
|
8
|
+
export interface CrossChainSearchPanelProps {
|
|
9
|
+
chains: CrossChainSearchChain[];
|
|
10
|
+
chainData?: Record<string, unknown>;
|
|
11
|
+
loadChain?: (chainId: string, signal?: AbortSignal) => Promise<unknown>;
|
|
12
|
+
offline?: boolean;
|
|
13
|
+
locale?: string;
|
|
14
|
+
messages?: LocaleMessages;
|
|
15
|
+
t?: EditorTranslate;
|
|
16
|
+
}
|
|
17
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<CrossChainSearchPanelProps>, {
|
|
18
|
+
chains: () => never[];
|
|
19
|
+
chainData: () => {};
|
|
20
|
+
offline: boolean;
|
|
21
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
"select-chain": (chainId: string) => void;
|
|
23
|
+
"select-node": (chainId: string, nodeId: string) => void;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<CrossChainSearchPanelProps>, {
|
|
25
|
+
chains: () => never[];
|
|
26
|
+
chainData: () => {};
|
|
27
|
+
offline: boolean;
|
|
28
|
+
}>>> & Readonly<{
|
|
29
|
+
"onSelect-chain"?: ((chainId: string) => any) | undefined;
|
|
30
|
+
"onSelect-node"?: ((chainId: string, nodeId: string) => any) | undefined;
|
|
31
|
+
}>, {
|
|
32
|
+
offline: boolean;
|
|
33
|
+
chains: CrossChainSearchChain[];
|
|
34
|
+
chainData: Record<string, unknown>;
|
|
35
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
36
|
+
declare const _default: typeof __VLS_export;
|
|
37
|
+
export default _default;
|
|
38
|
+
type __VLS_TypePropsToOption<T> = {
|
|
39
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
40
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
41
|
+
} : {
|
|
42
|
+
type: import('vue').PropType<T[K]>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
type __VLS_WithDefaults<P, D> = {
|
|
47
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
48
|
+
default: D[K];
|
|
49
|
+
}> : P[K];
|
|
50
|
+
};
|
|
51
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
52
|
+
[K in keyof T]: T[K];
|
|
53
|
+
} : {
|
|
54
|
+
[K in keyof T as K]: T[K];
|
|
55
|
+
}) & {};
|
|
@@ -11,14 +11,36 @@ export interface DataViewDialogProps {
|
|
|
11
11
|
messages?: LocaleMessages;
|
|
12
12
|
t?: EditorTranslate;
|
|
13
13
|
}
|
|
14
|
-
declare const __VLS_export: import("vue").DefineComponent<
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<DataViewDialogProps>, {
|
|
15
|
+
fileNamePrefix: string;
|
|
16
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
close: () => void;
|
|
18
|
+
notify: (type: "error" | "info" | "success", content: string) => void;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<DataViewDialogProps>, {
|
|
20
|
+
fileNamePrefix: string;
|
|
21
|
+
}>>> & Readonly<{
|
|
18
22
|
onClose?: (() => any) | undefined;
|
|
19
23
|
onNotify?: ((type: "error" | "info" | "success", content: string) => any) | undefined;
|
|
20
24
|
}>, {
|
|
21
25
|
fileNamePrefix: string;
|
|
22
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
23
27
|
declare const _default: typeof __VLS_export;
|
|
24
28
|
export default _default;
|
|
29
|
+
type __VLS_TypePropsToOption<T> = {
|
|
30
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
31
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
32
|
+
} : {
|
|
33
|
+
type: import('vue').PropType<T[K]>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
type __VLS_WithDefaults<P, D> = {
|
|
38
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
39
|
+
default: D[K];
|
|
40
|
+
}> : P[K];
|
|
41
|
+
};
|
|
42
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
43
|
+
[K in keyof T]: T[K];
|
|
44
|
+
} : {
|
|
45
|
+
[K in keyof T as K]: T[K];
|
|
46
|
+
}) & {};
|
|
@@ -35,12 +35,20 @@ export interface DebugPanelProps {
|
|
|
35
35
|
messages?: LocaleMessages;
|
|
36
36
|
t?: EditorTranslate;
|
|
37
37
|
}
|
|
38
|
-
declare const __VLS_export: import("vue").DefineComponent<DebugPanelProps
|
|
39
|
-
close: () =>
|
|
40
|
-
notify: (type: "error" | "warning" | "info" | "success", content: string) =>
|
|
41
|
-
}, string, import("vue").PublicProps, Readonly<DebugPanelProps
|
|
38
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<DebugPanelProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
|
+
close: () => void;
|
|
40
|
+
notify: (type: "error" | "warning" | "info" | "success", content: string) => void;
|
|
41
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<DebugPanelProps>>> & Readonly<{
|
|
42
42
|
onClose?: (() => any) | undefined;
|
|
43
43
|
onNotify?: ((type: "error" | "warning" | "info" | "success", content: string) => any) | undefined;
|
|
44
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
44
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
45
45
|
declare const _default: typeof __VLS_export;
|
|
46
46
|
export default _default;
|
|
47
|
+
type __VLS_TypePropsToOption<T> = {
|
|
48
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
49
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
50
|
+
} : {
|
|
51
|
+
type: import('vue').PropType<T[K]>;
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -20,10 +20,18 @@ export interface DynamicFormProps {
|
|
|
20
20
|
messages?: LocaleMessages;
|
|
21
21
|
t?: EditorTranslate;
|
|
22
22
|
}
|
|
23
|
-
declare const __VLS_export: import("vue").DefineComponent<DynamicFormProps
|
|
24
|
-
change: (key: string, value: any) =>
|
|
25
|
-
}, string, import("vue").PublicProps, Readonly<DynamicFormProps
|
|
23
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<DynamicFormProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
change: (key: string, value: any) => void;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<DynamicFormProps>>> & Readonly<{
|
|
26
26
|
onChange?: ((key: string, value: any) => any) | undefined;
|
|
27
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
27
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
28
28
|
declare const _default: typeof __VLS_export;
|
|
29
29
|
export default _default;
|
|
30
|
+
type __VLS_TypePropsToOption<T> = {
|
|
31
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
32
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
33
|
+
} : {
|
|
34
|
+
type: import('vue').PropType<T[K]>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -22,12 +22,20 @@ export interface EdgePropertyDrawerProps {
|
|
|
22
22
|
messages?: LocaleMessages;
|
|
23
23
|
t?: EditorTranslate;
|
|
24
24
|
}
|
|
25
|
-
declare const __VLS_export: import("vue").DefineComponent<EdgePropertyDrawerProps
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}, string, import("vue").PublicProps, Readonly<EdgePropertyDrawerProps
|
|
25
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<EdgePropertyDrawerProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
+
submit: (model: EdgeModel) => void;
|
|
27
|
+
close: () => void;
|
|
28
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<EdgePropertyDrawerProps>>> & Readonly<{
|
|
29
29
|
onClose?: (() => any) | undefined;
|
|
30
30
|
onSubmit?: ((model: EdgeModel) => any) | undefined;
|
|
31
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
31
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
32
|
declare const _default: typeof __VLS_export;
|
|
33
33
|
export default _default;
|
|
34
|
+
type __VLS_TypePropsToOption<T> = {
|
|
35
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
36
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
37
|
+
} : {
|
|
38
|
+
type: import('vue').PropType<T[K]>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -7,15 +7,39 @@ export interface EditorConnectionStatusProps extends FrameworkI18nProps {
|
|
|
7
7
|
onLogin?: () => void;
|
|
8
8
|
className?: string;
|
|
9
9
|
}
|
|
10
|
-
declare const __VLS_export: import("vue").DefineComponent<
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
},
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<EditorConnectionStatusProps>, {
|
|
11
|
+
compact: boolean;
|
|
12
|
+
className: string;
|
|
13
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
retry: () => void;
|
|
15
|
+
login: () => void;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<EditorConnectionStatusProps>, {
|
|
17
|
+
compact: boolean;
|
|
18
|
+
className: string;
|
|
19
|
+
}>>> & Readonly<{
|
|
14
20
|
onRetry?: (() => any) | undefined;
|
|
15
21
|
onLogin?: (() => any) | undefined;
|
|
16
22
|
}>, {
|
|
17
23
|
className: string;
|
|
18
24
|
compact: boolean;
|
|
19
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
20
26
|
declare const _default: typeof __VLS_export;
|
|
21
27
|
export default _default;
|
|
28
|
+
type __VLS_TypePropsToOption<T> = {
|
|
29
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
31
|
+
} : {
|
|
32
|
+
type: import('vue').PropType<T[K]>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
type __VLS_WithDefaults<P, D> = {
|
|
37
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
38
|
+
default: D[K];
|
|
39
|
+
}> : P[K];
|
|
40
|
+
};
|
|
41
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
42
|
+
[K in keyof T]: T[K];
|
|
43
|
+
} : {
|
|
44
|
+
[K in keyof T as K]: T[K];
|
|
45
|
+
}) & {};
|
|
@@ -11,14 +11,40 @@ export interface EditorEdgeHoverToolsProps extends FrameworkI18nProps {
|
|
|
11
11
|
onInsertNode?: (targetId: string) => void;
|
|
12
12
|
onDelete?: (targetId: string) => void;
|
|
13
13
|
}
|
|
14
|
-
declare const __VLS_export: import("vue").DefineComponent<
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<EditorEdgeHoverToolsProps>, {
|
|
15
|
+
visible: boolean;
|
|
16
|
+
flipDown: boolean;
|
|
17
|
+
className: string;
|
|
18
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
action: (action: EditorEdgeHoverAction, targetId: string) => void;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<EditorEdgeHoverToolsProps>, {
|
|
21
|
+
visible: boolean;
|
|
22
|
+
flipDown: boolean;
|
|
23
|
+
className: string;
|
|
24
|
+
}>>> & Readonly<{
|
|
17
25
|
onAction?: ((action: EditorEdgeHoverAction, targetId: string) => any) | undefined;
|
|
18
26
|
}>, {
|
|
19
27
|
visible: boolean;
|
|
20
28
|
className: string;
|
|
21
29
|
flipDown: boolean;
|
|
22
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
30
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
23
31
|
declare const _default: typeof __VLS_export;
|
|
24
32
|
export default _default;
|
|
33
|
+
type __VLS_TypePropsToOption<T> = {
|
|
34
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
36
|
+
} : {
|
|
37
|
+
type: import('vue').PropType<T[K]>;
|
|
38
|
+
required: true;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
type __VLS_WithDefaults<P, D> = {
|
|
42
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
43
|
+
default: D[K];
|
|
44
|
+
}> : P[K];
|
|
45
|
+
};
|
|
46
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
47
|
+
[K in keyof T]: T[K];
|
|
48
|
+
} : {
|
|
49
|
+
[K in keyof T as K]: T[K];
|
|
50
|
+
}) & {};
|
|
@@ -16,15 +16,43 @@ export interface EditorNodeHoverToolsProps extends FrameworkI18nProps {
|
|
|
16
16
|
onRunFrom?: (targetId: string) => void;
|
|
17
17
|
onRunOnly?: (targetId: string) => void;
|
|
18
18
|
}
|
|
19
|
-
declare const __VLS_export: import("vue").DefineComponent<
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<EditorNodeHoverToolsProps>, {
|
|
20
|
+
visible: boolean;
|
|
21
|
+
flipDown: boolean;
|
|
22
|
+
showRun: boolean;
|
|
23
|
+
className: string;
|
|
24
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
+
action: (action: EditorNodeHoverAction, targetId: string) => void;
|
|
26
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<EditorNodeHoverToolsProps>, {
|
|
27
|
+
visible: boolean;
|
|
28
|
+
flipDown: boolean;
|
|
29
|
+
showRun: boolean;
|
|
30
|
+
className: string;
|
|
31
|
+
}>>> & Readonly<{
|
|
22
32
|
onAction?: ((action: EditorNodeHoverAction, targetId: string) => any) | undefined;
|
|
23
33
|
}>, {
|
|
24
34
|
visible: boolean;
|
|
25
35
|
className: string;
|
|
26
36
|
flipDown: boolean;
|
|
27
37
|
showRun: boolean;
|
|
28
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
38
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
29
39
|
declare const _default: typeof __VLS_export;
|
|
30
40
|
export default _default;
|
|
41
|
+
type __VLS_TypePropsToOption<T> = {
|
|
42
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
43
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
44
|
+
} : {
|
|
45
|
+
type: import('vue').PropType<T[K]>;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
type __VLS_WithDefaults<P, D> = {
|
|
50
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
51
|
+
default: D[K];
|
|
52
|
+
}> : P[K];
|
|
53
|
+
};
|
|
54
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
55
|
+
[K in keyof T]: T[K];
|
|
56
|
+
} : {
|
|
57
|
+
[K in keyof T as K]: T[K];
|
|
58
|
+
}) & {};
|
|
@@ -17,12 +17,18 @@ type __VLS_Slots = {} & {
|
|
|
17
17
|
} & {
|
|
18
18
|
[K in NonNullable<typeof __VLS_6>]?: (props: typeof __VLS_7) => any;
|
|
19
19
|
};
|
|
20
|
-
declare const __VLS_base: import("vue").DefineComponent<
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"toggle-
|
|
25
|
-
|
|
20
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<EditorPanelDockProps>, {
|
|
21
|
+
title: string;
|
|
22
|
+
className: string;
|
|
23
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
"toggle-dock": (dock: EditorDockId, visible: boolean) => void;
|
|
25
|
+
"activate-panel": (panelId: string) => void;
|
|
26
|
+
"close-panel": (panelId: string) => void;
|
|
27
|
+
"toggle-panel": (panelId: string, expanded: boolean) => void;
|
|
28
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<EditorPanelDockProps>, {
|
|
29
|
+
title: string;
|
|
30
|
+
className: string;
|
|
31
|
+
}>>> & Readonly<{
|
|
26
32
|
"onToggle-dock"?: ((dock: EditorDockId, visible: boolean) => any) | undefined;
|
|
27
33
|
"onActivate-panel"?: ((panelId: string) => any) | undefined;
|
|
28
34
|
"onClose-panel"?: ((panelId: string) => any) | undefined;
|
|
@@ -30,12 +36,30 @@ declare const __VLS_base: import("vue").DefineComponent<EditorPanelDockProps, {}
|
|
|
30
36
|
}>, {
|
|
31
37
|
className: string;
|
|
32
38
|
title: string;
|
|
33
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
39
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
34
40
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
35
41
|
declare const _default: typeof __VLS_export;
|
|
36
42
|
export default _default;
|
|
43
|
+
type __VLS_TypePropsToOption<T> = {
|
|
44
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
45
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
46
|
+
} : {
|
|
47
|
+
type: import('vue').PropType<T[K]>;
|
|
48
|
+
required: true;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
type __VLS_WithDefaults<P, D> = {
|
|
52
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
53
|
+
default: D[K];
|
|
54
|
+
}> : P[K];
|
|
55
|
+
};
|
|
37
56
|
type __VLS_WithSlots<T, S> = T & {
|
|
38
57
|
new (): {
|
|
39
58
|
$slots: S;
|
|
40
59
|
};
|
|
41
60
|
};
|
|
61
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
62
|
+
[K in keyof T]: T[K];
|
|
63
|
+
} : {
|
|
64
|
+
[K in keyof T as K]: T[K];
|
|
65
|
+
}) & {};
|