star-horse-lowcode 3.1.12 → 3.1.14
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 +11 -0
- package/dist/assets/index.css +1 -1
- package/dist/components/comp/StarHorseDialog.vue.d.ts +31 -9
- package/dist/components/comp/StarHorseFormList.vue.d.ts +9 -0
- package/dist/components/comp/StarHorseFormTable.vue.d.ts +9 -0
- package/dist/components/comp/StarHorseStaticTable.vue.d.ts +1 -1
- package/dist/components/comp/items/tableItem.vue.d.ts +22 -0
- package/dist/components/formcomp/utils/EditDataDialog.vue.d.ts +1 -1
- package/dist/components/formcomp/utils/FormulaEngine.d.ts +8 -85
- package/dist/components/system/PageConfig.vue.d.ts +1 -1
- package/dist/components/system/code-editor/types.d.ts +40 -0
- package/dist/components/system/code-editor/useEditorGroups.d.ts +50 -0
- package/dist/components/types/ItemPreps.d.ts +4 -0
- package/dist/index.es.js +6 -6
- package/dist/lang/en_US.d.ts +17 -0
- package/dist/lang/zh_CN.d.ts +17 -0
- package/dist/store/ButtonPermission.d.ts +2 -20
- package/dist/store/ConsumerView.d.ts +2 -16
- package/dist/store/CopyerOperation.d.ts +2 -22
- package/dist/store/DesignForm.d.ts +3 -1155
- package/dist/store/DesignPage.d.ts +2 -100
- package/dist/store/DynamicForm.d.ts +2 -36
- package/dist/store/FormDataCache.d.ts +2 -3258
- package/dist/store/GlobalConfig.d.ts +2 -10
- package/dist/store/SelfOperation.d.ts +2 -472
- package/dist/store/StoreManager.d.ts +24 -24
- package/dist/store/UserInfo.d.ts +2 -30
- package/dist/types/components/comp/StarHorseDialog.vue.d.ts +31 -9
- package/dist/types/components/comp/StarHorseFormList.vue.d.ts +9 -0
- package/dist/types/components/comp/StarHorseFormTable.vue.d.ts +9 -0
- package/dist/types/components/comp/StarHorseStaticTable.vue.d.ts +1 -1
- package/dist/types/components/comp/items/tabPanelItem.vue.d.ts +10 -1
- package/dist/types/components/formcomp/utils/EditDataDialog.vue.d.ts +1 -1
- package/dist/types/components/formcomp/utils/FormulaEngine.d.ts +8 -85
- package/dist/types/components/system/PageConfig.vue.d.ts +1 -1
- package/dist/types/components/system/StarHorseCodeEditor.vue.d.ts +47 -1
- package/dist/types/components/system/code-editor/EditorPane.vue.d.ts +21 -0
- package/dist/types/components/system/code-editor/SplitView.vue.d.ts +35 -0
- package/dist/types/components/system/code-editor/types.d.ts +40 -0
- package/dist/types/components/system/code-editor/useEditorGroups.d.ts +50 -0
- package/dist/types/components/types/ItemPreps.d.ts +4 -0
- package/dist/types/index.d.ts +0 -1
- package/dist/types/lang/en_US.d.ts +17 -0
- package/dist/types/lang/zh_CN.d.ts +17 -0
- package/dist/types/store/ButtonPermission.d.ts +2 -20
- package/dist/types/store/ConsumerView.d.ts +2 -16
- package/dist/types/store/CopyerOperation.d.ts +2 -22
- package/dist/types/store/DesignForm.d.ts +3 -1155
- package/dist/types/store/DesignPage.d.ts +2 -100
- package/dist/types/store/DynamicForm.d.ts +2 -36
- package/dist/types/store/FormDataCache.d.ts +2 -3258
- package/dist/types/store/GlobalConfig.d.ts +2 -10
- package/dist/types/store/SelfOperation.d.ts +2 -472
- package/dist/types/store/StoreManager.d.ts +24 -24
- package/dist/types/store/UserInfo.d.ts +2 -30
- package/package.json +15 -14
- package/dist/api/pcas-code.json.d.ts +0 -185519
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType } from "vue";
|
|
2
2
|
import * as monaco from "monaco-editor";
|
|
3
3
|
import "../../components/system/code-editor/styles/editor.scss";
|
|
4
|
-
import type { FileNode, MenuItemDef } from "./code-editor/types";
|
|
4
|
+
import type { DropZone, FileNode, MenuItemDef, SplitSide } from "./code-editor/types";
|
|
5
5
|
import { type IdeApiConfig } from "./code-editor/constants";
|
|
6
6
|
import { type SaveResult } from "./code-editor/useFileApi";
|
|
7
7
|
/** 打开Diff编辑器对比文本 */
|
|
@@ -125,6 +125,46 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
125
125
|
}>;
|
|
126
126
|
loadFileContent: (fileId: string, url: string) => Promise<string | null>;
|
|
127
127
|
};
|
|
128
|
+
editorGroups: {
|
|
129
|
+
splitRoot: import("vue").Ref<{
|
|
130
|
+
id: string;
|
|
131
|
+
groupId?: string;
|
|
132
|
+
direction?: import("./code-editor/types").SplitDirection;
|
|
133
|
+
children?: [/*elided*/ any, /*elided*/ any];
|
|
134
|
+
size?: number;
|
|
135
|
+
}, import("./code-editor/types").SplitNode | {
|
|
136
|
+
id: string;
|
|
137
|
+
groupId?: string;
|
|
138
|
+
direction?: import("./code-editor/types").SplitDirection;
|
|
139
|
+
children?: [/*elided*/ any, /*elided*/ any];
|
|
140
|
+
size?: number;
|
|
141
|
+
}>;
|
|
142
|
+
groups: import("vue").Ref<Record<string, import("./code-editor/types").EditorGroup>, Record<string, import("./code-editor/types").EditorGroup>>;
|
|
143
|
+
activeGroupId: import("vue").Ref<string, string>;
|
|
144
|
+
activeTabId: import("vue").Ref<string, string>;
|
|
145
|
+
activeGroup: import("vue").ComputedRef<import("./code-editor/types").EditorGroup>;
|
|
146
|
+
allGroups: import("vue").ComputedRef<string[]>;
|
|
147
|
+
getGroup: (gid: string) => import("./code-editor/types").EditorGroup;
|
|
148
|
+
findNode: (id: string) => FileNode;
|
|
149
|
+
openFile: (file: FileNode) => void;
|
|
150
|
+
openFileInGroup: (gid: string, file: FileNode) => void;
|
|
151
|
+
closeTabInGroup: (gid: string, tabId: string) => void;
|
|
152
|
+
closeOthersInGroup: (gid: string, keepTabId: string) => void;
|
|
153
|
+
switchTabInGroup: (gid: string, tabId: string) => void;
|
|
154
|
+
setActiveGroup: (gid: string) => void;
|
|
155
|
+
setTabModified: (gid: string, tabId: string, modified: boolean) => void;
|
|
156
|
+
refreshAllTabPaths: () => void;
|
|
157
|
+
renameTab: (tabId: string, newName: string, language?: string) => void;
|
|
158
|
+
getAllOpenTabs: () => import("./code-editor").TabInfo[];
|
|
159
|
+
closeTabsByFileId: (fileId: string) => void;
|
|
160
|
+
splitGroup: (fromGid: string, side: SplitSide, copyTabId?: string) => string;
|
|
161
|
+
moveTab: (fromGid: string, tabId: string, toGid: string, toIndex?: number) => void;
|
|
162
|
+
canCloseGroup: (gid: string) => boolean;
|
|
163
|
+
closeGroup: (gid: string) => boolean;
|
|
164
|
+
handleDrop: (fromGid: string, tabId: string, toGid: string, zone: DropZone) => boolean;
|
|
165
|
+
getAdjacentGroup: (gid: string, dir: "next" | "prev") => string;
|
|
166
|
+
reset: () => void;
|
|
167
|
+
};
|
|
128
168
|
openFile: (file: FileNode) => void;
|
|
129
169
|
closeFile: (id: string) => void;
|
|
130
170
|
getValue: () => string;
|
|
@@ -141,6 +181,12 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
141
181
|
saveToServer: () => Promise<void>;
|
|
142
182
|
openDiffEditor: typeof openDiffEditor;
|
|
143
183
|
resolveConflict: typeof resolveConflict;
|
|
184
|
+
/** 拆分当前活动组到指定方向 */
|
|
185
|
+
splitEditor: (side: SplitSide, tabId?: string) => string;
|
|
186
|
+
/** 关闭指定组 */
|
|
187
|
+
closeGroup: (gid: string) => boolean;
|
|
188
|
+
/** 移动 tab 到指定组 */
|
|
189
|
+
moveTabToGroup: (tabId: string, fromGid: string, toGid: string) => void;
|
|
144
190
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
145
191
|
change: (...args: any[]) => void;
|
|
146
192
|
drop: (...args: any[]) => void;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { TabInfo } from "./types";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
groupId: string;
|
|
4
|
+
tabs: TabInfo[];
|
|
5
|
+
activeTabId: string;
|
|
6
|
+
theme: string;
|
|
7
|
+
isActive: boolean;
|
|
8
|
+
breadcrumbPath: string;
|
|
9
|
+
canCompile: boolean;
|
|
10
|
+
canRun: boolean;
|
|
11
|
+
languageLabel: string;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
run: () => any;
|
|
15
|
+
compile: () => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
onRun?: () => any;
|
|
18
|
+
onCompile?: () => any;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { SplitNode, TabInfo } from "./types";
|
|
2
|
+
/**
|
|
3
|
+
* 递归分屏视图:渲染 SplitNode 树。
|
|
4
|
+
* 叶子节点 -> EditorPane
|
|
5
|
+
* 容器节点 -> 两个 SplitView(水平或垂直排列)+ 分隔条(可拖拽调整比例)
|
|
6
|
+
*/
|
|
7
|
+
type __VLS_Props = {
|
|
8
|
+
node: SplitNode;
|
|
9
|
+
/** 当前活动组ID(用于高亮活动 pane) */
|
|
10
|
+
activeGroupId: string;
|
|
11
|
+
/** 所有组的 tabs 数据 */
|
|
12
|
+
groups: Record<string, {
|
|
13
|
+
id: string;
|
|
14
|
+
tabs: TabInfo[];
|
|
15
|
+
activeTabId: string;
|
|
16
|
+
}>;
|
|
17
|
+
/** 各组的活动 tab 对应的面包屑路径 */
|
|
18
|
+
breadcrumbPaths: Record<string, string>;
|
|
19
|
+
/** 各组的活动 tab 对应的语言 */
|
|
20
|
+
languageLabels: Record<string, string>;
|
|
21
|
+
/** 各组能否编译 */
|
|
22
|
+
canCompileMap: Record<string, boolean>;
|
|
23
|
+
/** 各组能否运行 */
|
|
24
|
+
canRunMap: Record<string, boolean>;
|
|
25
|
+
theme: string;
|
|
26
|
+
};
|
|
27
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
+
run: (groupId: string) => any;
|
|
29
|
+
compile: (groupId: string) => any;
|
|
30
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
31
|
+
onRun?: (groupId: string) => any;
|
|
32
|
+
onCompile?: (groupId: string) => any;
|
|
33
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
|
+
declare const _default: typeof __VLS_export;
|
|
35
|
+
export default _default;
|
|
@@ -16,6 +16,10 @@ export interface TabInfo {
|
|
|
16
16
|
modified: boolean;
|
|
17
17
|
/** 父目录路径,用于区分不同目录下的同名文件 */
|
|
18
18
|
path?: string;
|
|
19
|
+
/** 原始内容(用于 diff 对比) */
|
|
20
|
+
originalContent?: string;
|
|
21
|
+
/** 服务器版本内容(用于冲突解决) */
|
|
22
|
+
serverContent?: string;
|
|
19
23
|
}
|
|
20
24
|
/** 菜单项定义 */
|
|
21
25
|
export interface MenuItemDef {
|
|
@@ -37,3 +41,39 @@ export interface ThemeContext {
|
|
|
37
41
|
currentTheme: string;
|
|
38
42
|
switchTheme: (theme: string) => void;
|
|
39
43
|
}
|
|
44
|
+
/** 编辑器组(一个分屏面板的标签页集合) */
|
|
45
|
+
export interface EditorGroup {
|
|
46
|
+
/** 组唯一ID */
|
|
47
|
+
id: string;
|
|
48
|
+
/** 组内的标签页列表 */
|
|
49
|
+
tabs: TabInfo[];
|
|
50
|
+
/** 组内当前激活的标签页ID */
|
|
51
|
+
activeTabId: string;
|
|
52
|
+
}
|
|
53
|
+
/** 分屏方向:horizontal=左右分屏,vertical=上下分屏 */
|
|
54
|
+
export type SplitDirection = "horizontal" | "vertical";
|
|
55
|
+
/** 分屏侧:相对于源组,新组放置在哪个方向 */
|
|
56
|
+
export type SplitSide = "left" | "right" | "up" | "down";
|
|
57
|
+
/** 分屏树节点(递归结构,支持任意嵌套分屏) */
|
|
58
|
+
export interface SplitNode {
|
|
59
|
+
/** 节点唯一ID */
|
|
60
|
+
id: string;
|
|
61
|
+
/** 叶子节点:所属编辑器组ID */
|
|
62
|
+
groupId?: string;
|
|
63
|
+
/** 容器节点:子节点的排列方向 */
|
|
64
|
+
direction?: SplitDirection;
|
|
65
|
+
/** 容器节点:两个子节点(左/上 与 右/下) */
|
|
66
|
+
children?: [SplitNode, SplitNode];
|
|
67
|
+
/** 在父容器中所占比例 (0-1),仅第一个子节点使用 */
|
|
68
|
+
size?: number;
|
|
69
|
+
}
|
|
70
|
+
/** Tab 拖拽时放置区域 */
|
|
71
|
+
export type DropZone = "center" | "left" | "right" | "top" | "bottom";
|
|
72
|
+
/** Tab 拖拽数据载荷 */
|
|
73
|
+
export interface TabDragPayload {
|
|
74
|
+
type: "tab";
|
|
75
|
+
/** 源组ID */
|
|
76
|
+
fromGroupId: string;
|
|
77
|
+
/** 拖拽的标签页ID */
|
|
78
|
+
tabId: string;
|
|
79
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { DropZone, EditorGroup, FileNode, SplitSide, SplitNode, TabInfo } from "./types";
|
|
2
|
+
/**
|
|
3
|
+
* 编辑器分组管理:维护分屏树(SplitNode)与组列表(EditorGroup)。
|
|
4
|
+
* 一个组对应一个 Monaco 编辑器实例,组之间通过共享 fileId 实现模型复用。
|
|
5
|
+
*/
|
|
6
|
+
export declare function useEditorGroups(opts?: {
|
|
7
|
+
/** 由父级提供的:根据 id 获取文件节点 */
|
|
8
|
+
findNode?: (id: string) => FileNode | undefined;
|
|
9
|
+
/** 由父级提供的:获取父目录路径 */
|
|
10
|
+
getParentPath?: (id: string) => string;
|
|
11
|
+
}): {
|
|
12
|
+
splitRoot: import("vue").Ref<{
|
|
13
|
+
id: string;
|
|
14
|
+
groupId?: string;
|
|
15
|
+
direction?: import("./types").SplitDirection;
|
|
16
|
+
children?: [/*elided*/ any, /*elided*/ any];
|
|
17
|
+
size?: number;
|
|
18
|
+
}, SplitNode | {
|
|
19
|
+
id: string;
|
|
20
|
+
groupId?: string;
|
|
21
|
+
direction?: import("./types").SplitDirection;
|
|
22
|
+
children?: [/*elided*/ any, /*elided*/ any];
|
|
23
|
+
size?: number;
|
|
24
|
+
}>;
|
|
25
|
+
groups: import("vue").Ref<Record<string, EditorGroup>, Record<string, EditorGroup>>;
|
|
26
|
+
activeGroupId: import("vue").Ref<string, string>;
|
|
27
|
+
activeTabId: import("vue").Ref<string, string>;
|
|
28
|
+
activeGroup: import("vue").ComputedRef<EditorGroup>;
|
|
29
|
+
allGroups: import("vue").ComputedRef<string[]>;
|
|
30
|
+
getGroup: (gid: string) => EditorGroup;
|
|
31
|
+
findNode: (id: string) => FileNode;
|
|
32
|
+
openFile: (file: FileNode) => void;
|
|
33
|
+
openFileInGroup: (gid: string, file: FileNode) => void;
|
|
34
|
+
closeTabInGroup: (gid: string, tabId: string) => void;
|
|
35
|
+
closeOthersInGroup: (gid: string, keepTabId: string) => void;
|
|
36
|
+
switchTabInGroup: (gid: string, tabId: string) => void;
|
|
37
|
+
setActiveGroup: (gid: string) => void;
|
|
38
|
+
setTabModified: (gid: string, tabId: string, modified: boolean) => void;
|
|
39
|
+
refreshAllTabPaths: () => void;
|
|
40
|
+
renameTab: (tabId: string, newName: string, language?: string) => void;
|
|
41
|
+
getAllOpenTabs: () => TabInfo[];
|
|
42
|
+
closeTabsByFileId: (fileId: string) => void;
|
|
43
|
+
splitGroup: (fromGid: string, side: SplitSide, copyTabId?: string) => string;
|
|
44
|
+
moveTab: (fromGid: string, tabId: string, toGid: string, toIndex?: number) => void;
|
|
45
|
+
canCloseGroup: (gid: string) => boolean;
|
|
46
|
+
closeGroup: (gid: string) => boolean;
|
|
47
|
+
handleDrop: (fromGid: string, tabId: string, toGid: string, zone: DropZone) => boolean;
|
|
48
|
+
getAdjacentGroup: (gid: string, dir: "next" | "prev") => string;
|
|
49
|
+
reset: () => void;
|
|
50
|
+
};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -252,6 +252,7 @@ declare const _default: {
|
|
|
252
252
|
"ui.edit": string;
|
|
253
253
|
"ui.deleteRow": string;
|
|
254
254
|
"ui.addData": string;
|
|
255
|
+
"ui.addSubData": string;
|
|
255
256
|
"ui.addRow": string;
|
|
256
257
|
"ui.pleaseInputKeyword": string;
|
|
257
258
|
"ui.expandAll": string;
|
|
@@ -939,6 +940,22 @@ declare const _default: {
|
|
|
939
940
|
"ide.ctx.run": string;
|
|
940
941
|
"ide.ctx.newFileIn": (name: string) => string;
|
|
941
942
|
"ide.ctx.newFolderIn": (name: string) => string;
|
|
943
|
+
"ide.ctx.splitRight": string;
|
|
944
|
+
"ide.ctx.splitDown": string;
|
|
945
|
+
"ide.ctx.splitUp": string;
|
|
946
|
+
"ide.ctx.splitLeft": string;
|
|
947
|
+
"ide.ctx.moveToNextGroup": string;
|
|
948
|
+
"ide.ctx.moveToPrevGroup": string;
|
|
949
|
+
"ide.ctx.closeGroup": string;
|
|
950
|
+
"ide.ctx.closeOthersInGroup": string;
|
|
951
|
+
"ide.split.dropLeft": string;
|
|
952
|
+
"ide.split.dropRight": string;
|
|
953
|
+
"ide.split.dropTop": string;
|
|
954
|
+
"ide.split.dropBottom": string;
|
|
955
|
+
"ide.split.dropCenter": string;
|
|
956
|
+
"ide.split.dropHint": string;
|
|
957
|
+
"ide.split.cannotCloseLast": string;
|
|
958
|
+
"ide.menu.view.splitEditor": string;
|
|
942
959
|
"ide.sidebar.explorer": string;
|
|
943
960
|
"ide.sidebar.search": string;
|
|
944
961
|
"ide.sidebar.settings": string;
|
|
@@ -255,6 +255,7 @@ declare const _default: {
|
|
|
255
255
|
"ui.edit": string;
|
|
256
256
|
"ui.deleteRow": string;
|
|
257
257
|
"ui.addData": string;
|
|
258
|
+
"ui.addSubData": string;
|
|
258
259
|
"ui.addRow": string;
|
|
259
260
|
"ui.pleaseInputKeyword": string;
|
|
260
261
|
"ui.expandAll": string;
|
|
@@ -940,6 +941,22 @@ declare const _default: {
|
|
|
940
941
|
"ide.ctx.run": string;
|
|
941
942
|
"ide.ctx.newFileIn": (name: string) => string;
|
|
942
943
|
"ide.ctx.newFolderIn": (name: string) => string;
|
|
944
|
+
"ide.ctx.splitRight": string;
|
|
945
|
+
"ide.ctx.splitDown": string;
|
|
946
|
+
"ide.ctx.splitUp": string;
|
|
947
|
+
"ide.ctx.splitLeft": string;
|
|
948
|
+
"ide.ctx.moveToNextGroup": string;
|
|
949
|
+
"ide.ctx.moveToPrevGroup": string;
|
|
950
|
+
"ide.ctx.closeGroup": string;
|
|
951
|
+
"ide.ctx.closeOthersInGroup": string;
|
|
952
|
+
"ide.split.dropLeft": string;
|
|
953
|
+
"ide.split.dropRight": string;
|
|
954
|
+
"ide.split.dropTop": string;
|
|
955
|
+
"ide.split.dropBottom": string;
|
|
956
|
+
"ide.split.dropCenter": string;
|
|
957
|
+
"ide.split.dropHint": string;
|
|
958
|
+
"ide.split.cannotCloseLast": string;
|
|
959
|
+
"ide.menu.view.splitEditor": string;
|
|
943
960
|
"ide.sidebar.explorer": string;
|
|
944
961
|
"ide.sidebar.search": string;
|
|
945
962
|
"ide.sidebar.settings": string;
|
|
@@ -2,7 +2,7 @@ import { RouteLocationNormalized } from "vue-router";
|
|
|
2
2
|
/**
|
|
3
3
|
* 用户权限控制
|
|
4
4
|
*/
|
|
5
|
-
export declare const useButtonPermissionStore: import("pinia").
|
|
5
|
+
export declare const useButtonPermissionStore: import("pinia").SetupStoreDefinition<"buttonPermission", {
|
|
6
6
|
pageBtnPermisson: import("vue").Ref<any, any>;
|
|
7
7
|
currentPermission: import("vue").Ref<any, any>;
|
|
8
8
|
setPermissionUrl: (url: string) => void;
|
|
@@ -11,22 +11,4 @@ export declare const useButtonPermissionStore: import("pinia").StoreDefinition<"
|
|
|
11
11
|
addRoute: (route: RouteLocationNormalized) => Promise<any>;
|
|
12
12
|
removePermission: (menuId: string) => void;
|
|
13
13
|
cleanPermission: () => void;
|
|
14
|
-
}
|
|
15
|
-
pageBtnPermisson: import("vue").Ref<any, any>;
|
|
16
|
-
currentPermission: import("vue").Ref<any, any>;
|
|
17
|
-
setPermissionUrl: (url: string) => void;
|
|
18
|
-
addPermission: (menuId: string, data: any) => void;
|
|
19
|
-
addAllPermission: (data: any) => void;
|
|
20
|
-
addRoute: (route: RouteLocationNormalized) => Promise<any>;
|
|
21
|
-
removePermission: (menuId: string) => void;
|
|
22
|
-
cleanPermission: () => void;
|
|
23
|
-
}, never>, Pick<{
|
|
24
|
-
pageBtnPermisson: import("vue").Ref<any, any>;
|
|
25
|
-
currentPermission: import("vue").Ref<any, any>;
|
|
26
|
-
setPermissionUrl: (url: string) => void;
|
|
27
|
-
addPermission: (menuId: string, data: any) => void;
|
|
28
|
-
addAllPermission: (data: any) => void;
|
|
29
|
-
addRoute: (route: RouteLocationNormalized) => Promise<any>;
|
|
30
|
-
removePermission: (menuId: string) => void;
|
|
31
|
-
cleanPermission: () => void;
|
|
32
|
-
}, "setPermissionUrl" | "addPermission" | "addAllPermission" | "addRoute" | "removePermission" | "cleanPermission">>;
|
|
14
|
+
}>;
|
|
@@ -1,22 +1,8 @@
|
|
|
1
|
-
export declare const useConsumerViewStore: import("pinia").
|
|
1
|
+
export declare const useConsumerViewStore: import("pinia").SetupStoreDefinition<"consumerView", {
|
|
2
2
|
tableList: import("vue").Ref<any, any>;
|
|
3
3
|
dbConfigId: import("vue").Ref<string, string>;
|
|
4
4
|
addTableInfo: (tableName: string, data: object | Array<any>) => void;
|
|
5
5
|
setDbConfigId: (configId: string) => void;
|
|
6
6
|
getTableInfo: (tableName: string) => any;
|
|
7
7
|
clearAll: () => void;
|
|
8
|
-
}
|
|
9
|
-
tableList: import("vue").Ref<any, any>;
|
|
10
|
-
dbConfigId: import("vue").Ref<string, string>;
|
|
11
|
-
addTableInfo: (tableName: string, data: object | Array<any>) => void;
|
|
12
|
-
setDbConfigId: (configId: string) => void;
|
|
13
|
-
getTableInfo: (tableName: string) => any;
|
|
14
|
-
clearAll: () => void;
|
|
15
|
-
}, never>, Pick<{
|
|
16
|
-
tableList: import("vue").Ref<any, any>;
|
|
17
|
-
dbConfigId: import("vue").Ref<string, string>;
|
|
18
|
-
addTableInfo: (tableName: string, data: object | Array<any>) => void;
|
|
19
|
-
setDbConfigId: (configId: string) => void;
|
|
20
|
-
getTableInfo: (tableName: string) => any;
|
|
21
|
-
clearAll: () => void;
|
|
22
|
-
}, "clearAll" | "addTableInfo" | "setDbConfigId" | "getTableInfo">>;
|
|
8
|
+
}>;
|
|
@@ -2,7 +2,7 @@ import { ModuleEnums } from "../components/enums/ModuleEnums";
|
|
|
2
2
|
/**
|
|
3
3
|
* 用户自定义方法处理逻辑
|
|
4
4
|
*/
|
|
5
|
-
export declare const useCopyerOperationStore: import("pinia").
|
|
5
|
+
export declare const useCopyerOperationStore: import("pinia").SetupStoreDefinition<"copyerOperation", {
|
|
6
6
|
action: import("vue").Ref<string, string>;
|
|
7
7
|
parentContainer: import("vue").Ref<any, any>;
|
|
8
8
|
copyerData: import("vue").Ref<any, any>;
|
|
@@ -12,24 +12,4 @@ export declare const useCopyerOperationStore: import("pinia").StoreDefinition<"c
|
|
|
12
12
|
setParentContainer: (container: any) => void;
|
|
13
13
|
setCopyerData: (data: any) => void;
|
|
14
14
|
clearAll: () => void;
|
|
15
|
-
}
|
|
16
|
-
action: import("vue").Ref<string, string>;
|
|
17
|
-
parentContainer: import("vue").Ref<any, any>;
|
|
18
|
-
copyerData: import("vue").Ref<any, any>;
|
|
19
|
-
keyboardOperation: (act: string, m: ModuleEnums, container: any, data: any) => void;
|
|
20
|
-
operation: (act: string, container: any, data: any) => void;
|
|
21
|
-
setAction: (act: string) => void;
|
|
22
|
-
setParentContainer: (container: any) => void;
|
|
23
|
-
setCopyerData: (data: any) => void;
|
|
24
|
-
clearAll: () => void;
|
|
25
|
-
}, never>, Pick<{
|
|
26
|
-
action: import("vue").Ref<string, string>;
|
|
27
|
-
parentContainer: import("vue").Ref<any, any>;
|
|
28
|
-
copyerData: import("vue").Ref<any, any>;
|
|
29
|
-
keyboardOperation: (act: string, m: ModuleEnums, container: any, data: any) => void;
|
|
30
|
-
operation: (act: string, container: any, data: any) => void;
|
|
31
|
-
setAction: (act: string) => void;
|
|
32
|
-
setParentContainer: (container: any) => void;
|
|
33
|
-
setCopyerData: (data: any) => void;
|
|
34
|
-
clearAll: () => void;
|
|
35
|
-
}, "clearAll" | "operation" | "keyboardOperation" | "setAction" | "setParentContainer" | "setCopyerData">>;
|
|
15
|
+
}>;
|