@huanban/rulego-editor-vue 1.4.2 → 2.0.0
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/README.md +18 -10
- package/dist/components/AIAssistant.vue.d.ts +4 -38
- package/dist/components/AIChat.vue.d.ts +17 -0
- package/dist/components/ComponentSidebar.vue.d.ts +20 -26
- package/dist/components/ContextMenu.vue.d.ts +2 -26
- package/dist/components/CopilotChat.vue.d.ts +5 -31
- package/dist/components/DataViewDialog.vue.d.ts +6 -28
- package/dist/components/DebugPanel.vue.d.ts +6 -14
- package/dist/components/DynamicForm.vue.d.ts +4 -12
- package/dist/components/EdgePropertyDrawer.vue.d.ts +5 -13
- package/dist/components/EditorConnectionStatus.vue.d.ts +5 -29
- package/dist/components/EditorEdgeHoverTools.vue.d.ts +5 -31
- package/dist/components/EditorNodeHoverTools.vue.d.ts +5 -33
- package/dist/components/EditorPanelDock.vue.d.ts +7 -31
- package/dist/components/EditorStatusBar.vue.d.ts +4 -30
- package/dist/components/EditorToolbar.vue.d.ts +4 -38
- package/dist/components/ImportExportDialog.vue.d.ts +7 -31
- package/dist/components/LogViewer.vue.d.ts +2 -24
- package/dist/components/MiniMap.vue.d.ts +6 -34
- package/dist/components/NodePropertyDrawer.vue.d.ts +6 -14
- package/dist/components/ProblemsPanel.vue.d.ts +7 -31
- package/dist/components/RuleChainSettings.vue.d.ts +5 -29
- package/dist/components/RuleGoEditor.d.ts +602 -11
- package/dist/components/RuleMaintenancePanel.vue.d.ts +1 -9
- package/dist/components/SearchPanel.vue.d.ts +5 -27
- package/dist/components/SearchableSelect.vue.d.ts +8 -62
- package/dist/components/SharedNodeManager.vue.d.ts +21 -0
- package/dist/components/ToolSchemaEditor.vue.d.ts +7 -29
- package/dist/components/ValidationPanel.vue.d.ts +7 -31
- package/dist/components/WorkflowExplorer.vue.d.ts +3 -3
- package/dist/components/WorkflowInfoPanel.vue.d.ts +6 -34
- package/dist/components/WorkflowList.vue.d.ts +3 -41
- package/dist/components/WorkspaceTabs.vue.d.ts +15 -33
- package/dist/components/properties/AgentOrchestrationProperties.vue.d.ts +3 -11
- package/dist/composables/useClipboard.d.ts +4 -2
- package/dist/composables/useDialogConfirmation.d.ts +4 -0
- package/dist/index.cjs +10 -11
- package/dist/index.d.ts +7 -2
- package/dist/index.esm.js +6691 -6065
- package/dist/style.css +1 -1
- package/package.json +9 -9
|
@@ -29,40 +29,14 @@ export interface EditorStatusBarProps extends FrameworkI18nProps {
|
|
|
29
29
|
onOpenDiagnostics?: () => void;
|
|
30
30
|
className?: string;
|
|
31
31
|
}
|
|
32
|
-
declare const __VLS_export: import("vue").DefineComponent<import("vue").
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
className: string;
|
|
36
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
37
|
-
"open-diagnostics": () => void;
|
|
38
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<EditorStatusBarProps>, {
|
|
39
|
-
lf: null;
|
|
40
|
-
problemCount: number;
|
|
41
|
-
className: string;
|
|
42
|
-
}>>> & Readonly<{
|
|
32
|
+
declare const __VLS_export: import("vue").DefineComponent<EditorStatusBarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
33
|
+
"open-diagnostics": () => any;
|
|
34
|
+
}, string, import("vue").PublicProps, Readonly<EditorStatusBarProps> & Readonly<{
|
|
43
35
|
"onOpen-diagnostics"?: (() => any) | undefined;
|
|
44
36
|
}>, {
|
|
45
37
|
className: string;
|
|
46
38
|
lf: EditorStatusBarGraphLike | null;
|
|
47
39
|
problemCount: number;
|
|
48
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
40
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
49
41
|
declare const _default: typeof __VLS_export;
|
|
50
42
|
export default _default;
|
|
51
|
-
type __VLS_TypePropsToOption<T> = {
|
|
52
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
53
|
-
type: import('vue').PropType<Required<T>[K]>;
|
|
54
|
-
} : {
|
|
55
|
-
type: import('vue').PropType<T[K]>;
|
|
56
|
-
required: true;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
type __VLS_WithDefaults<P, D> = {
|
|
60
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
61
|
-
default: D[K];
|
|
62
|
-
}> : P[K];
|
|
63
|
-
};
|
|
64
|
-
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
65
|
-
[K in keyof T]: T[K];
|
|
66
|
-
} : {
|
|
67
|
-
[K in keyof T as K]: T[K];
|
|
68
|
-
}) & {};
|
|
@@ -37,30 +37,13 @@ export interface EditorToolbarProps {
|
|
|
37
37
|
onAutoLayout?: () => void;
|
|
38
38
|
extraButtons?: ToolbarButton[];
|
|
39
39
|
hiddenButtons?: string[];
|
|
40
|
+
hideZoom?: boolean;
|
|
40
41
|
chainName?: string;
|
|
41
42
|
locale?: string;
|
|
42
43
|
messages?: LocaleMessages;
|
|
43
44
|
t?: EditorTranslate;
|
|
44
45
|
}
|
|
45
|
-
declare const __VLS_export: import("vue").DefineComponent<import("vue").
|
|
46
|
-
canUndo: boolean;
|
|
47
|
-
canRedo: boolean;
|
|
48
|
-
isFullscreen: boolean;
|
|
49
|
-
isDebugMode: boolean;
|
|
50
|
-
zoomLevel: number;
|
|
51
|
-
hasSelection: boolean;
|
|
52
|
-
extraButtons: () => never[];
|
|
53
|
-
hiddenButtons: () => never[];
|
|
54
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<EditorToolbarProps>, {
|
|
55
|
-
canUndo: boolean;
|
|
56
|
-
canRedo: boolean;
|
|
57
|
-
isFullscreen: boolean;
|
|
58
|
-
isDebugMode: boolean;
|
|
59
|
-
zoomLevel: number;
|
|
60
|
-
hasSelection: boolean;
|
|
61
|
-
extraButtons: () => never[];
|
|
62
|
-
hiddenButtons: () => never[];
|
|
63
|
-
}>>> & Readonly<{}>, {
|
|
46
|
+
declare const __VLS_export: import("vue").DefineComponent<EditorToolbarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<EditorToolbarProps> & Readonly<{}>, {
|
|
64
47
|
canUndo: boolean;
|
|
65
48
|
canRedo: boolean;
|
|
66
49
|
isFullscreen: boolean;
|
|
@@ -69,24 +52,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
69
52
|
hasSelection: boolean;
|
|
70
53
|
extraButtons: ToolbarButton[];
|
|
71
54
|
hiddenButtons: string[];
|
|
72
|
-
|
|
55
|
+
hideZoom: boolean;
|
|
56
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
73
57
|
declare const _default: typeof __VLS_export;
|
|
74
58
|
export default _default;
|
|
75
|
-
type __VLS_TypePropsToOption<T> = {
|
|
76
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
77
|
-
type: import('vue').PropType<Required<T>[K]>;
|
|
78
|
-
} : {
|
|
79
|
-
type: import('vue').PropType<T[K]>;
|
|
80
|
-
required: true;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
type __VLS_WithDefaults<P, D> = {
|
|
84
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
85
|
-
default: D[K];
|
|
86
|
-
}> : P[K];
|
|
87
|
-
};
|
|
88
|
-
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
89
|
-
[K in keyof T]: T[K];
|
|
90
|
-
} : {
|
|
91
|
-
[K in keyof T as K]: T[K];
|
|
92
|
-
}) & {};
|
|
@@ -12,41 +12,17 @@ export interface ImportExportDialogProps {
|
|
|
12
12
|
messages?: LocaleMessages;
|
|
13
13
|
t?: EditorTranslate;
|
|
14
14
|
}
|
|
15
|
-
declare const __VLS_export: import("vue").DefineComponent<import("vue").
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
close: () => void;
|
|
21
|
-
notify: (type: "error" | "success" | "info", message: string) => void;
|
|
22
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ImportExportDialogProps>, {
|
|
23
|
-
mode: string;
|
|
24
|
-
chainName: string;
|
|
25
|
-
}>>> & Readonly<{
|
|
15
|
+
declare const __VLS_export: import("vue").DefineComponent<ImportExportDialogProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
16
|
+
close: () => any;
|
|
17
|
+
notify: (type: "error" | "info" | "success", message: string) => any;
|
|
18
|
+
import: (data: any) => any;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<ImportExportDialogProps> & Readonly<{
|
|
26
20
|
onClose?: (() => any) | undefined;
|
|
27
|
-
onNotify?: ((type: "error" | "
|
|
21
|
+
onNotify?: ((type: "error" | "info" | "success", message: string) => any) | undefined;
|
|
28
22
|
onImport?: ((data: any) => any) | undefined;
|
|
29
23
|
}>, {
|
|
30
24
|
mode: ImportExportMode;
|
|
31
25
|
chainName: string;
|
|
32
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
27
|
declare const _default: typeof __VLS_export;
|
|
34
28
|
export default _default;
|
|
35
|
-
type __VLS_TypePropsToOption<T> = {
|
|
36
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
-
type: import('vue').PropType<Required<T>[K]>;
|
|
38
|
-
} : {
|
|
39
|
-
type: import('vue').PropType<T[K]>;
|
|
40
|
-
required: true;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
type __VLS_WithDefaults<P, D> = {
|
|
44
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
45
|
-
default: D[K];
|
|
46
|
-
}> : P[K];
|
|
47
|
-
};
|
|
48
|
-
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
49
|
-
[K in keyof T]: T[K];
|
|
50
|
-
} : {
|
|
51
|
-
[K in keyof T as K]: T[K];
|
|
52
|
-
}) & {};
|
|
@@ -12,30 +12,8 @@ export interface LogViewerProps {
|
|
|
12
12
|
messages?: LocaleMessages;
|
|
13
13
|
t?: EditorTranslate;
|
|
14
14
|
}
|
|
15
|
-
declare const __VLS_export: import("vue").DefineComponent<import("vue").
|
|
16
|
-
logs: () => never[];
|
|
17
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<LogViewerProps>, {
|
|
18
|
-
logs: () => never[];
|
|
19
|
-
}>>> & Readonly<{}>, {
|
|
15
|
+
declare const __VLS_export: import("vue").DefineComponent<LogViewerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LogViewerProps> & Readonly<{}>, {
|
|
20
16
|
logs: LogEntry[];
|
|
21
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
18
|
declare const _default: typeof __VLS_export;
|
|
23
19
|
export default _default;
|
|
24
|
-
type __VLS_TypePropsToOption<T> = {
|
|
25
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
26
|
-
type: import('vue').PropType<Required<T>[K]>;
|
|
27
|
-
} : {
|
|
28
|
-
type: import('vue').PropType<T[K]>;
|
|
29
|
-
required: true;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
type __VLS_WithDefaults<P, D> = {
|
|
33
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
34
|
-
default: D[K];
|
|
35
|
-
}> : P[K];
|
|
36
|
-
};
|
|
37
|
-
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
38
|
-
[K in keyof T]: T[K];
|
|
39
|
-
} : {
|
|
40
|
-
[K in keyof T as K]: T[K];
|
|
41
|
-
}) & {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type LocaleMessages } from '@huanban/rulego-editor-core';
|
|
2
2
|
import type { EditorTranslate } from '../i18n';
|
|
3
3
|
export interface MiniMapNode {
|
|
4
4
|
id: string;
|
|
@@ -32,23 +32,13 @@ export interface MiniMapProps {
|
|
|
32
32
|
messages?: LocaleMessages;
|
|
33
33
|
t?: EditorTranslate;
|
|
34
34
|
}
|
|
35
|
-
declare const __VLS_export: import("vue").DefineComponent<import("vue").
|
|
36
|
-
width: number;
|
|
37
|
-
height: number;
|
|
38
|
-
defaultCollapsed: boolean;
|
|
39
|
-
position: string;
|
|
40
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
35
|
+
declare const __VLS_export: import("vue").DefineComponent<MiniMapProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
41
36
|
viewportChange: (center: {
|
|
42
37
|
x: number;
|
|
43
38
|
y: number;
|
|
44
|
-
}) =>
|
|
45
|
-
nodeClick: (nodeId: string) =>
|
|
46
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
47
|
-
width: number;
|
|
48
|
-
height: number;
|
|
49
|
-
defaultCollapsed: boolean;
|
|
50
|
-
position: string;
|
|
51
|
-
}>>> & Readonly<{
|
|
39
|
+
}) => any;
|
|
40
|
+
nodeClick: (nodeId: string) => any;
|
|
41
|
+
}, string, import("vue").PublicProps, Readonly<MiniMapProps> & Readonly<{
|
|
52
42
|
onViewportChange?: ((center: {
|
|
53
43
|
x: number;
|
|
54
44
|
y: number;
|
|
@@ -59,24 +49,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
59
49
|
width: number;
|
|
60
50
|
defaultCollapsed: boolean;
|
|
61
51
|
position: "bottom-right" | "bottom-left" | "top-right" | "top-left";
|
|
62
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
52
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
63
53
|
declare const _default: typeof __VLS_export;
|
|
64
54
|
export default _default;
|
|
65
|
-
type __VLS_TypePropsToOption<T> = {
|
|
66
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
67
|
-
type: import('vue').PropType<Required<T>[K]>;
|
|
68
|
-
} : {
|
|
69
|
-
type: import('vue').PropType<T[K]>;
|
|
70
|
-
required: true;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
type __VLS_WithDefaults<P, D> = {
|
|
74
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
75
|
-
default: D[K];
|
|
76
|
-
}> : P[K];
|
|
77
|
-
};
|
|
78
|
-
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
79
|
-
[K in keyof T]: T[K];
|
|
80
|
-
} : {
|
|
81
|
-
[K in keyof T as K]: T[K];
|
|
82
|
-
}) & {};
|
|
@@ -111,26 +111,18 @@ export interface NodePropertyDrawerProps {
|
|
|
111
111
|
}) => void;
|
|
112
112
|
initializeDefaults?: boolean;
|
|
113
113
|
}
|
|
114
|
-
declare const __VLS_export: import("vue").DefineComponent<
|
|
115
|
-
|
|
116
|
-
|
|
114
|
+
declare const __VLS_export: import("vue").DefineComponent<NodePropertyDrawerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
115
|
+
close: () => any;
|
|
116
|
+
submit: (model: NodeModel) => any;
|
|
117
117
|
openAiAssistant: (options: {
|
|
118
118
|
section?: string;
|
|
119
|
-
}) =>
|
|
120
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
119
|
+
}) => any;
|
|
120
|
+
}, string, import("vue").PublicProps, Readonly<NodePropertyDrawerProps> & Readonly<{
|
|
121
121
|
onClose?: (() => any) | undefined;
|
|
122
122
|
onSubmit?: ((model: NodeModel) => any) | undefined;
|
|
123
123
|
onOpenAiAssistant?: ((options: {
|
|
124
124
|
section?: string;
|
|
125
125
|
}) => any) | undefined;
|
|
126
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
126
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
127
127
|
declare const _default: typeof __VLS_export;
|
|
128
128
|
export default _default;
|
|
129
|
-
type __VLS_TypePropsToOption<T> = {
|
|
130
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
131
|
-
type: import('vue').PropType<Required<T>[K]>;
|
|
132
|
-
} : {
|
|
133
|
-
type: import('vue').PropType<T[K]>;
|
|
134
|
-
required: true;
|
|
135
|
-
};
|
|
136
|
-
};
|
|
@@ -13,18 +13,12 @@ export interface ProblemsPanelProps {
|
|
|
13
13
|
messages?: LocaleMessages;
|
|
14
14
|
t?: EditorTranslate;
|
|
15
15
|
}
|
|
16
|
-
declare const __VLS_export: import("vue").DefineComponent<import("vue").
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
clear: () => void;
|
|
23
|
-
close: () => void;
|
|
24
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ProblemsPanelProps>, {
|
|
25
|
-
visible: boolean;
|
|
26
|
-
loading: boolean;
|
|
27
|
-
}>>> & Readonly<{
|
|
16
|
+
declare const __VLS_export: import("vue").DefineComponent<ProblemsPanelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
17
|
+
close: () => any;
|
|
18
|
+
clear: () => any;
|
|
19
|
+
validate: () => any;
|
|
20
|
+
locate: (item: DiagnosticItem) => any;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<ProblemsPanelProps> & Readonly<{
|
|
28
22
|
onClose?: (() => any) | undefined;
|
|
29
23
|
onClear?: (() => any) | undefined;
|
|
30
24
|
onValidate?: (() => any) | undefined;
|
|
@@ -32,24 +26,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
32
26
|
}>, {
|
|
33
27
|
visible: boolean;
|
|
34
28
|
loading: boolean;
|
|
35
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
36
30
|
declare const _default: typeof __VLS_export;
|
|
37
31
|
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
|
-
}) & {};
|
|
@@ -30,16 +30,10 @@ export interface RuleChainSettingsProps {
|
|
|
30
30
|
help?: string;
|
|
31
31
|
}>;
|
|
32
32
|
}
|
|
33
|
-
declare const __VLS_export: import("vue").DefineComponent<import("vue").
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
save: (data: RuleChainSettingsData) => void;
|
|
38
|
-
close: () => void;
|
|
39
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<RuleChainSettingsProps>, {
|
|
40
|
-
readOnly: boolean;
|
|
41
|
-
customFields: () => never[];
|
|
42
|
-
}>>> & Readonly<{
|
|
33
|
+
declare const __VLS_export: import("vue").DefineComponent<RuleChainSettingsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
34
|
+
save: (data: RuleChainSettingsData) => any;
|
|
35
|
+
close: () => any;
|
|
36
|
+
}, string, import("vue").PublicProps, Readonly<RuleChainSettingsProps> & Readonly<{
|
|
43
37
|
onSave?: ((data: RuleChainSettingsData) => any) | undefined;
|
|
44
38
|
onClose?: (() => any) | undefined;
|
|
45
39
|
}>, {
|
|
@@ -56,24 +50,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
56
50
|
placeholder?: string;
|
|
57
51
|
help?: string;
|
|
58
52
|
}>;
|
|
59
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
53
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
60
54
|
declare const _default: typeof __VLS_export;
|
|
61
55
|
export default _default;
|
|
62
|
-
type __VLS_TypePropsToOption<T> = {
|
|
63
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
64
|
-
type: import('vue').PropType<Required<T>[K]>;
|
|
65
|
-
} : {
|
|
66
|
-
type: import('vue').PropType<T[K]>;
|
|
67
|
-
required: true;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
type __VLS_WithDefaults<P, D> = {
|
|
71
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
72
|
-
default: D[K];
|
|
73
|
-
}> : P[K];
|
|
74
|
-
};
|
|
75
|
-
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
76
|
-
[K in keyof T]: T[K];
|
|
77
|
-
} : {
|
|
78
|
-
[K in keyof T as K]: T[K];
|
|
79
|
-
}) & {};
|