star-horse-lowcode 3.0.3 → 3.0.4
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 +5 -0
- package/dist/api/WebSocketUtils.d.ts +100 -0
- package/dist/api/date_utils.d.ts +58 -0
- package/dist/api/device.d.ts +21 -0
- package/dist/api/finger_utils.d.ts +9 -0
- package/dist/api/form_utils.d.ts +140 -0
- package/dist/api/pcas-code.json.d.ts +185519 -0
- package/dist/api/settings.d.ts +1 -0
- package/dist/api/star_horse_apis.d.ts +93 -0
- package/dist/api/star_horse_utils.d.ts +213 -0
- package/dist/api/system.d.ts +78 -0
- package/dist/api/user_func.d.ts +22 -0
- package/dist/api/valid_utils.d.ts +7 -0
- package/dist/assets/index.css +1 -1
- package/dist/components/comp/ShDynamicForm.vue.d.ts +56 -0
- package/dist/components/comp/ShForm.vue.d.ts +58 -0
- package/dist/components/comp/ShTableListColumn.vue.d.ts +79 -0
- package/dist/components/comp/StarHorseDataSelector.vue.d.ts +107 -0
- package/dist/components/comp/StarHorseDataView.vue.d.ts +161 -0
- package/dist/components/comp/StarHorseDialog.vue.d.ts +231 -0
- package/dist/components/comp/StarHorseDraggable.vue.d.ts +82 -0
- package/dist/components/comp/StarHorseForm.vue.d.ts +176 -0
- package/dist/components/comp/StarHorseFormItem.vue.d.ts +26 -0
- package/dist/components/comp/StarHorseFormList.vue.d.ts +165 -0
- package/dist/components/comp/StarHorseFormTable.vue.d.ts +71 -0
- package/dist/components/comp/StarHorseIcon.vue.d.ts +119 -0
- package/dist/components/comp/StarHorseItem.vue.d.ts +106 -0
- package/dist/components/comp/StarHorseJsonEditor.vue.d.ts +44 -0
- package/dist/components/comp/StarHorsePopover.vue.d.ts +50 -0
- package/dist/components/comp/StarHorseSearchComp.vue.d.ts +48 -0
- package/dist/components/comp/StarHorseSearchForm.vue.d.ts +77 -0
- package/dist/components/comp/StarHorseStaticTable.vue.d.ts +101 -0
- package/dist/components/comp/StarHorseTableColumn.vue.d.ts +106 -0
- package/dist/components/comp/StarHorseTableComp.vue.d.ts +42 -0
- package/dist/components/comp/StarHorseTree.vue.d.ts +264 -0
- package/dist/components/comp/app/MainBar.vue.d.ts +20 -0
- package/dist/components/comp/app/MainContainer.vue.d.ts +18 -0
- package/dist/components/comp/app/MainContent.vue.d.ts +26 -0
- package/dist/components/comp/app/MainSubBar.vue.d.ts +38 -0
- package/dist/components/comp/app/MenuShot.vue.d.ts +64 -0
- package/dist/components/comp/index.d.ts +25 -0
- package/dist/components/comp/items/UTableColumn.vue.d.ts +72 -0
- package/dist/components/comp/items/boxItem.vue.d.ts +22 -0
- package/dist/components/comp/items/callitem.d.ts +2 -0
- package/dist/components/comp/items/dytableItem.vue.d.ts +22 -0
- package/dist/components/comp/items/tableColumn.vue.d.ts +86 -0
- package/dist/components/comp/items/tablebtn.vue.d.ts +60 -0
- package/dist/components/comp/selfcomp.d.ts +2 -0
- package/dist/components/comp/utils/DataPicker.vue.d.ts +85 -0
- package/dist/components/cron/Crontab-Day.vue.d.ts +29 -0
- package/dist/components/cron/Crontab-Hour.vue.d.ts +28 -0
- package/dist/components/cron/Crontab-Min.vue.d.ts +28 -0
- package/dist/components/cron/Crontab-Month.vue.d.ts +28 -0
- package/dist/components/cron/Crontab-Second.vue.d.ts +31 -0
- package/dist/components/cron/Crontab-Week.vue.d.ts +29 -0
- package/dist/components/cron/Crontab-Year.vue.d.ts +30 -0
- package/dist/components/cron/Crontab.vue.d.ts +15 -0
- package/dist/components/enums/ModuleEnums.d.ts +10 -0
- package/dist/components/enums/ServiceEnums.d.ts +18 -0
- package/dist/components/formcomp/items/allitem.d.ts +2 -0
- package/dist/components/formcomp/items/area-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/audio-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/autocomplete-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/barcode-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/button-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/cascade-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/checkbox-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/color-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/cron-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/datapicker-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/datetime-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/depart-item.vue.d.ts +16 -0
- package/dist/components/formcomp/items/dialog-input-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/dialog-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/divider-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/drawer-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/empty-item.vue.d.ts +16 -0
- package/dist/components/formcomp/items/html-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/htmleditor-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/icon-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/image-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/index.d.ts +50 -0
- package/dist/components/formcomp/items/input-item.vue.d.ts +17 -0
- package/dist/components/formcomp/items/input-tag-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/json-array-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/json-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/markdown-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/number-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/number-range-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/page-select-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/password-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/qrcode-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/radio-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/rate-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/select-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/signature-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/slider-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/starhorse-form-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/switch-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/tag-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/text-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/textarea-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/time-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/time-picker-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/transfer-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/tselect-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/unknown-item.vue.d.ts +16 -0
- package/dist/components/formcomp/items/upload-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/user-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/usercomp-item.vue.d.ts +24 -0
- package/dist/components/formcomp/items/view-markdown-item.vue.d.ts +23 -0
- package/dist/components/formcomp/utils/EditDataDialog.vue.d.ts +55 -0
- package/dist/components/formcomp/utils/FieldList.vue.d.ts +7 -0
- package/dist/components/formcomp/utils/ItemRelationEventUtils.d.ts +32 -0
- package/dist/components/formcomp/utils/prefixSuffixUtils.d.ts +28 -0
- package/dist/components/help.vue.d.ts +26 -0
- package/dist/components/menu/MenuItem.vue.d.ts +49 -0
- package/dist/components/system/ContentMenu.vue.d.ts +77 -0
- package/dist/components/system/PageConfig.vue.d.ts +66 -0
- package/dist/components/system/StarHorseButtonList.vue.d.ts +72 -0
- package/dist/components/system/StarHorseEditor.vue.d.ts +82 -0
- package/dist/components/system/StarHorseMenu.vue.d.ts +40 -0
- package/dist/components/system/StarHorseSidebar.vue.d.ts +13 -0
- package/dist/components/system/StarHorseSvg.vue.d.ts +112 -0
- package/dist/components/system/SvgLoader.vue.d.ts +59 -0
- package/dist/components/system/SystemComp.d.ts +2 -0
- package/dist/components/system/index.d.ts +8 -0
- package/dist/components/types/ApiUrls.d.ts +171 -0
- package/dist/components/types/BtnAction.d.ts +35 -0
- package/dist/components/types/BtnAuth.d.ts +43 -0
- package/dist/components/types/CompInfo.d.ts +50 -0
- package/dist/components/types/DialogProps.d.ts +54 -0
- package/dist/components/types/DyCompField.d.ts +14 -0
- package/dist/components/types/DynamicNode.d.ts +34 -0
- package/dist/components/types/FormType.d.ts +113 -0
- package/dist/components/types/ItemPreps.d.ts +151 -0
- package/dist/components/types/MenusInfo.d.ts +44 -0
- package/dist/components/types/PageFieldInfo.d.ts +547 -0
- package/dist/components/types/PageProps.d.ts +177 -0
- package/dist/components/types/Params.d.ts +146 -0
- package/dist/components/types/RuleType.d.ts +10 -0
- package/dist/components/types/SearchProps.d.ts +59 -0
- package/dist/components/types/ShortKey.d.ts +30 -0
- package/dist/components/types/StarHorseType.d.ts +18 -0
- package/dist/components/types/UserinfoType.d.ts +46 -0
- package/dist/components/types/index.d.ts +18 -0
- package/dist/index.d.ts +53 -0
- package/dist/index.es.js +8 -8
- package/dist/lang/en_US.d.ts +730 -0
- package/dist/lang/index.d.ts +17 -0
- package/dist/lang/zh_CN.d.ts +731 -0
- package/dist/main.d.ts +0 -0
- package/dist/plugins/AblesPlugin.d.ts +48 -0
- package/dist/plugins/registerCompPlugin.d.ts +10 -0
- package/dist/router/index.d.ts +2 -0
- package/dist/store/ButtonPermission.d.ts +32 -0
- package/dist/store/ConsumerView.d.ts +22 -0
- package/dist/store/CopyerOperation.d.ts +35 -0
- package/dist/store/DesignForm.d.ts +1728 -0
- package/dist/store/DesignPage.d.ts +149 -0
- package/dist/store/DynamicForm.d.ts +52 -0
- package/dist/store/GlobalConfig.d.ts +13 -0
- package/dist/store/SelfOperation.d.ts +651 -0
- package/dist/store/UserInfo.d.ts +44 -0
- package/dist/store/index.d.ts +2 -0
- package/dist/theme/localStorge.d.ts +10 -0
- package/dist/theme/theme.d.ts +24 -0
- package/dist/types/index.d.ts +6 -10604
- package/dist/utils/FieldOperationUtils.d.ts +6 -0
- package/dist/utils/auth.d.ts +25 -0
- package/dist/utils/message.d.ts +25 -0
- package/dist/utils/preview.d.ts +16 -0
- package/package.json +18 -16
|
@@ -0,0 +1,651 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { PageFieldInfo } from '../components/types/PageFieldInfo';
|
|
3
|
+
/**
|
|
4
|
+
* 用户自定义方法处理逻辑
|
|
5
|
+
*/
|
|
6
|
+
export declare const useSelfOperationStore: import('pinia').StoreDefinition<"selfOperation", Pick<{
|
|
7
|
+
formFieldList: Ref<{
|
|
8
|
+
fieldList?: Array<import('../components/types/PageFieldInfo').FieldInfo> | any;
|
|
9
|
+
batchFieldList?: {
|
|
10
|
+
batchName: string;
|
|
11
|
+
disabled?: string;
|
|
12
|
+
disVisible?: boolean;
|
|
13
|
+
title?: string;
|
|
14
|
+
helpMsg?: string;
|
|
15
|
+
initRows?: number;
|
|
16
|
+
primaryKey?: string;
|
|
17
|
+
batchDefaultData?: any;
|
|
18
|
+
fieldList: Array<import('../components/types/PageFieldInfo').FieldInfo> | any;
|
|
19
|
+
compUrl?: {
|
|
20
|
+
pageListUrl: string;
|
|
21
|
+
mergeUrl: string;
|
|
22
|
+
mergeDraftUrl: string;
|
|
23
|
+
batchMergeUrl: string;
|
|
24
|
+
batchMergeDraftUrl: string;
|
|
25
|
+
loadByIdUrl: string;
|
|
26
|
+
loadByIdForViewUrl: string;
|
|
27
|
+
deleteUrl: string;
|
|
28
|
+
deleteByConditionUrl?: string;
|
|
29
|
+
exportAllUrl?: string;
|
|
30
|
+
downloadTemplateUrl?: string;
|
|
31
|
+
listConditionUrl?: string;
|
|
32
|
+
oneConditionUrl?: string;
|
|
33
|
+
uploadUrl?: string;
|
|
34
|
+
importUrl?: string;
|
|
35
|
+
executeUrl?: string;
|
|
36
|
+
modifyColumnsUrl?: string;
|
|
37
|
+
basePrefix?: string;
|
|
38
|
+
permissionsUrl?: string;
|
|
39
|
+
appName?: string;
|
|
40
|
+
condition?: {
|
|
41
|
+
propertyName?: string;
|
|
42
|
+
operation?: string | null;
|
|
43
|
+
value?: any;
|
|
44
|
+
orOperList?: /*elided*/ any[];
|
|
45
|
+
}[];
|
|
46
|
+
redirect?: boolean;
|
|
47
|
+
httpMethod?: string;
|
|
48
|
+
dataType?: string;
|
|
49
|
+
pageAction?: Function;
|
|
50
|
+
mergeAction?: Function;
|
|
51
|
+
mergeDraftAction?: Function;
|
|
52
|
+
batchMergeAction?: Function;
|
|
53
|
+
batchMergeDraftAction?: Function;
|
|
54
|
+
loadByIdAction?: Function;
|
|
55
|
+
deleteAction?: Function;
|
|
56
|
+
deleteByConditionAction?: Function;
|
|
57
|
+
exportDataAction?: Function;
|
|
58
|
+
downloadTemplateAction?: Function;
|
|
59
|
+
queryConditionAction?: Function;
|
|
60
|
+
queryOneByConditionAction?: Function;
|
|
61
|
+
uploadAction?: Function;
|
|
62
|
+
importAction?: Function;
|
|
63
|
+
executeAction?: Function;
|
|
64
|
+
modifyColumnsAction?: Function;
|
|
65
|
+
};
|
|
66
|
+
importInfo?: {
|
|
67
|
+
downloadTemplateUrl?: string;
|
|
68
|
+
importDataUrl?: string;
|
|
69
|
+
conditions?: {
|
|
70
|
+
propertyName?: string;
|
|
71
|
+
operation?: string | null;
|
|
72
|
+
value?: any;
|
|
73
|
+
orOperList?: /*elided*/ any[];
|
|
74
|
+
}[];
|
|
75
|
+
};
|
|
76
|
+
staticData?: string;
|
|
77
|
+
subFormFlag?: string | boolean;
|
|
78
|
+
formFlag?: string;
|
|
79
|
+
}[];
|
|
80
|
+
userTableFuncs?: {
|
|
81
|
+
authority?: string;
|
|
82
|
+
funcName?: string | Function;
|
|
83
|
+
btnName?: string;
|
|
84
|
+
icon?: string;
|
|
85
|
+
priority?: number;
|
|
86
|
+
helpMsg?: string;
|
|
87
|
+
disabled?: string;
|
|
88
|
+
position?: "table" | "toolbar";
|
|
89
|
+
override?: boolean;
|
|
90
|
+
children?: /*elided*/ any[];
|
|
91
|
+
}[];
|
|
92
|
+
stopAutoLoad?: boolean;
|
|
93
|
+
cellEditable?: boolean;
|
|
94
|
+
orderBy?: {
|
|
95
|
+
fieldName: string;
|
|
96
|
+
orderBy: string;
|
|
97
|
+
}[];
|
|
98
|
+
conditions?: {
|
|
99
|
+
propertyName?: string;
|
|
100
|
+
operation?: string | null;
|
|
101
|
+
value?: any;
|
|
102
|
+
orOperList?: /*elided*/ any[];
|
|
103
|
+
}[];
|
|
104
|
+
batchName?: string;
|
|
105
|
+
sameTable?: boolean;
|
|
106
|
+
primaryKey?: string | Array<any>;
|
|
107
|
+
priority?: number;
|
|
108
|
+
}, PageFieldInfo | {
|
|
109
|
+
fieldList?: Array<import('../components/types/PageFieldInfo').FieldInfo> | any;
|
|
110
|
+
batchFieldList?: {
|
|
111
|
+
batchName: string;
|
|
112
|
+
disabled?: string;
|
|
113
|
+
disVisible?: boolean;
|
|
114
|
+
title?: string;
|
|
115
|
+
helpMsg?: string;
|
|
116
|
+
initRows?: number;
|
|
117
|
+
primaryKey?: string;
|
|
118
|
+
batchDefaultData?: any;
|
|
119
|
+
fieldList: Array<import('../components/types/PageFieldInfo').FieldInfo> | any;
|
|
120
|
+
compUrl?: {
|
|
121
|
+
pageListUrl: string;
|
|
122
|
+
mergeUrl: string;
|
|
123
|
+
mergeDraftUrl: string;
|
|
124
|
+
batchMergeUrl: string;
|
|
125
|
+
batchMergeDraftUrl: string;
|
|
126
|
+
loadByIdUrl: string;
|
|
127
|
+
loadByIdForViewUrl: string;
|
|
128
|
+
deleteUrl: string;
|
|
129
|
+
deleteByConditionUrl?: string;
|
|
130
|
+
exportAllUrl?: string;
|
|
131
|
+
downloadTemplateUrl?: string;
|
|
132
|
+
listConditionUrl?: string;
|
|
133
|
+
oneConditionUrl?: string;
|
|
134
|
+
uploadUrl?: string;
|
|
135
|
+
importUrl?: string;
|
|
136
|
+
executeUrl?: string;
|
|
137
|
+
modifyColumnsUrl?: string;
|
|
138
|
+
basePrefix?: string;
|
|
139
|
+
permissionsUrl?: string;
|
|
140
|
+
appName?: string;
|
|
141
|
+
condition?: {
|
|
142
|
+
propertyName?: string;
|
|
143
|
+
operation?: string | null;
|
|
144
|
+
value?: any;
|
|
145
|
+
orOperList?: /*elided*/ any[];
|
|
146
|
+
}[];
|
|
147
|
+
redirect?: boolean;
|
|
148
|
+
httpMethod?: string;
|
|
149
|
+
dataType?: string;
|
|
150
|
+
pageAction?: Function;
|
|
151
|
+
mergeAction?: Function;
|
|
152
|
+
mergeDraftAction?: Function;
|
|
153
|
+
batchMergeAction?: Function;
|
|
154
|
+
batchMergeDraftAction?: Function;
|
|
155
|
+
loadByIdAction?: Function;
|
|
156
|
+
deleteAction?: Function;
|
|
157
|
+
deleteByConditionAction?: Function;
|
|
158
|
+
exportDataAction?: Function;
|
|
159
|
+
downloadTemplateAction?: Function;
|
|
160
|
+
queryConditionAction?: Function;
|
|
161
|
+
queryOneByConditionAction?: Function;
|
|
162
|
+
uploadAction?: Function;
|
|
163
|
+
importAction?: Function;
|
|
164
|
+
executeAction?: Function;
|
|
165
|
+
modifyColumnsAction?: Function;
|
|
166
|
+
};
|
|
167
|
+
importInfo?: {
|
|
168
|
+
downloadTemplateUrl?: string;
|
|
169
|
+
importDataUrl?: string;
|
|
170
|
+
conditions?: {
|
|
171
|
+
propertyName?: string;
|
|
172
|
+
operation?: string | null;
|
|
173
|
+
value?: any;
|
|
174
|
+
orOperList?: /*elided*/ any[];
|
|
175
|
+
}[];
|
|
176
|
+
};
|
|
177
|
+
staticData?: string;
|
|
178
|
+
subFormFlag?: string | boolean;
|
|
179
|
+
formFlag?: string;
|
|
180
|
+
}[];
|
|
181
|
+
userTableFuncs?: {
|
|
182
|
+
authority?: string;
|
|
183
|
+
funcName?: string | Function;
|
|
184
|
+
btnName?: string;
|
|
185
|
+
icon?: string;
|
|
186
|
+
priority?: number;
|
|
187
|
+
helpMsg?: string;
|
|
188
|
+
disabled?: string;
|
|
189
|
+
position?: "table" | "toolbar";
|
|
190
|
+
override?: boolean;
|
|
191
|
+
children?: /*elided*/ any[];
|
|
192
|
+
}[];
|
|
193
|
+
stopAutoLoad?: boolean;
|
|
194
|
+
cellEditable?: boolean;
|
|
195
|
+
orderBy?: {
|
|
196
|
+
fieldName: string;
|
|
197
|
+
orderBy: string;
|
|
198
|
+
}[];
|
|
199
|
+
conditions?: {
|
|
200
|
+
propertyName?: string;
|
|
201
|
+
operation?: string | null;
|
|
202
|
+
value?: any;
|
|
203
|
+
orOperList?: /*elided*/ any[];
|
|
204
|
+
}[];
|
|
205
|
+
batchName?: string;
|
|
206
|
+
sameTable?: boolean;
|
|
207
|
+
primaryKey?: string | Array<any>;
|
|
208
|
+
priority?: number;
|
|
209
|
+
}>;
|
|
210
|
+
fieldItemList: Ref<any, any>;
|
|
211
|
+
formInstance: Ref<any, any>;
|
|
212
|
+
formData: Ref<any, any>;
|
|
213
|
+
setFormInstance: (formRef: Ref) => void;
|
|
214
|
+
setFormFields: (fieldList: PageFieldInfo) => void;
|
|
215
|
+
setFormData: (data: any) => void;
|
|
216
|
+
addFormItem: (formItem: any) => void;
|
|
217
|
+
addFormItemList: (formItems: Array<any>) => void;
|
|
218
|
+
getFormItem: (fieldName: string) => any;
|
|
219
|
+
init: (fieldList: PageFieldInfo, data: any, formRef: Ref) => void;
|
|
220
|
+
clearAll: () => void;
|
|
221
|
+
}, "formFieldList" | "fieldItemList" | "formInstance" | "formData">, Pick<{
|
|
222
|
+
formFieldList: Ref<{
|
|
223
|
+
fieldList?: Array<import('../components/types/PageFieldInfo').FieldInfo> | any;
|
|
224
|
+
batchFieldList?: {
|
|
225
|
+
batchName: string;
|
|
226
|
+
disabled?: string;
|
|
227
|
+
disVisible?: boolean;
|
|
228
|
+
title?: string;
|
|
229
|
+
helpMsg?: string;
|
|
230
|
+
initRows?: number;
|
|
231
|
+
primaryKey?: string;
|
|
232
|
+
batchDefaultData?: any;
|
|
233
|
+
fieldList: Array<import('../components/types/PageFieldInfo').FieldInfo> | any;
|
|
234
|
+
compUrl?: {
|
|
235
|
+
pageListUrl: string;
|
|
236
|
+
mergeUrl: string;
|
|
237
|
+
mergeDraftUrl: string;
|
|
238
|
+
batchMergeUrl: string;
|
|
239
|
+
batchMergeDraftUrl: string;
|
|
240
|
+
loadByIdUrl: string;
|
|
241
|
+
loadByIdForViewUrl: string;
|
|
242
|
+
deleteUrl: string;
|
|
243
|
+
deleteByConditionUrl?: string;
|
|
244
|
+
exportAllUrl?: string;
|
|
245
|
+
downloadTemplateUrl?: string;
|
|
246
|
+
listConditionUrl?: string;
|
|
247
|
+
oneConditionUrl?: string;
|
|
248
|
+
uploadUrl?: string;
|
|
249
|
+
importUrl?: string;
|
|
250
|
+
executeUrl?: string;
|
|
251
|
+
modifyColumnsUrl?: string;
|
|
252
|
+
basePrefix?: string;
|
|
253
|
+
permissionsUrl?: string;
|
|
254
|
+
appName?: string;
|
|
255
|
+
condition?: {
|
|
256
|
+
propertyName?: string;
|
|
257
|
+
operation?: string | null;
|
|
258
|
+
value?: any;
|
|
259
|
+
orOperList?: /*elided*/ any[];
|
|
260
|
+
}[];
|
|
261
|
+
redirect?: boolean;
|
|
262
|
+
httpMethod?: string;
|
|
263
|
+
dataType?: string;
|
|
264
|
+
pageAction?: Function;
|
|
265
|
+
mergeAction?: Function;
|
|
266
|
+
mergeDraftAction?: Function;
|
|
267
|
+
batchMergeAction?: Function;
|
|
268
|
+
batchMergeDraftAction?: Function;
|
|
269
|
+
loadByIdAction?: Function;
|
|
270
|
+
deleteAction?: Function;
|
|
271
|
+
deleteByConditionAction?: Function;
|
|
272
|
+
exportDataAction?: Function;
|
|
273
|
+
downloadTemplateAction?: Function;
|
|
274
|
+
queryConditionAction?: Function;
|
|
275
|
+
queryOneByConditionAction?: Function;
|
|
276
|
+
uploadAction?: Function;
|
|
277
|
+
importAction?: Function;
|
|
278
|
+
executeAction?: Function;
|
|
279
|
+
modifyColumnsAction?: Function;
|
|
280
|
+
};
|
|
281
|
+
importInfo?: {
|
|
282
|
+
downloadTemplateUrl?: string;
|
|
283
|
+
importDataUrl?: string;
|
|
284
|
+
conditions?: {
|
|
285
|
+
propertyName?: string;
|
|
286
|
+
operation?: string | null;
|
|
287
|
+
value?: any;
|
|
288
|
+
orOperList?: /*elided*/ any[];
|
|
289
|
+
}[];
|
|
290
|
+
};
|
|
291
|
+
staticData?: string;
|
|
292
|
+
subFormFlag?: string | boolean;
|
|
293
|
+
formFlag?: string;
|
|
294
|
+
}[];
|
|
295
|
+
userTableFuncs?: {
|
|
296
|
+
authority?: string;
|
|
297
|
+
funcName?: string | Function;
|
|
298
|
+
btnName?: string;
|
|
299
|
+
icon?: string;
|
|
300
|
+
priority?: number;
|
|
301
|
+
helpMsg?: string;
|
|
302
|
+
disabled?: string;
|
|
303
|
+
position?: "table" | "toolbar";
|
|
304
|
+
override?: boolean;
|
|
305
|
+
children?: /*elided*/ any[];
|
|
306
|
+
}[];
|
|
307
|
+
stopAutoLoad?: boolean;
|
|
308
|
+
cellEditable?: boolean;
|
|
309
|
+
orderBy?: {
|
|
310
|
+
fieldName: string;
|
|
311
|
+
orderBy: string;
|
|
312
|
+
}[];
|
|
313
|
+
conditions?: {
|
|
314
|
+
propertyName?: string;
|
|
315
|
+
operation?: string | null;
|
|
316
|
+
value?: any;
|
|
317
|
+
orOperList?: /*elided*/ any[];
|
|
318
|
+
}[];
|
|
319
|
+
batchName?: string;
|
|
320
|
+
sameTable?: boolean;
|
|
321
|
+
primaryKey?: string | Array<any>;
|
|
322
|
+
priority?: number;
|
|
323
|
+
}, PageFieldInfo | {
|
|
324
|
+
fieldList?: Array<import('../components/types/PageFieldInfo').FieldInfo> | any;
|
|
325
|
+
batchFieldList?: {
|
|
326
|
+
batchName: string;
|
|
327
|
+
disabled?: string;
|
|
328
|
+
disVisible?: boolean;
|
|
329
|
+
title?: string;
|
|
330
|
+
helpMsg?: string;
|
|
331
|
+
initRows?: number;
|
|
332
|
+
primaryKey?: string;
|
|
333
|
+
batchDefaultData?: any;
|
|
334
|
+
fieldList: Array<import('../components/types/PageFieldInfo').FieldInfo> | any;
|
|
335
|
+
compUrl?: {
|
|
336
|
+
pageListUrl: string;
|
|
337
|
+
mergeUrl: string;
|
|
338
|
+
mergeDraftUrl: string;
|
|
339
|
+
batchMergeUrl: string;
|
|
340
|
+
batchMergeDraftUrl: string;
|
|
341
|
+
loadByIdUrl: string;
|
|
342
|
+
loadByIdForViewUrl: string;
|
|
343
|
+
deleteUrl: string;
|
|
344
|
+
deleteByConditionUrl?: string;
|
|
345
|
+
exportAllUrl?: string;
|
|
346
|
+
downloadTemplateUrl?: string;
|
|
347
|
+
listConditionUrl?: string;
|
|
348
|
+
oneConditionUrl?: string;
|
|
349
|
+
uploadUrl?: string;
|
|
350
|
+
importUrl?: string;
|
|
351
|
+
executeUrl?: string;
|
|
352
|
+
modifyColumnsUrl?: string;
|
|
353
|
+
basePrefix?: string;
|
|
354
|
+
permissionsUrl?: string;
|
|
355
|
+
appName?: string;
|
|
356
|
+
condition?: {
|
|
357
|
+
propertyName?: string;
|
|
358
|
+
operation?: string | null;
|
|
359
|
+
value?: any;
|
|
360
|
+
orOperList?: /*elided*/ any[];
|
|
361
|
+
}[];
|
|
362
|
+
redirect?: boolean;
|
|
363
|
+
httpMethod?: string;
|
|
364
|
+
dataType?: string;
|
|
365
|
+
pageAction?: Function;
|
|
366
|
+
mergeAction?: Function;
|
|
367
|
+
mergeDraftAction?: Function;
|
|
368
|
+
batchMergeAction?: Function;
|
|
369
|
+
batchMergeDraftAction?: Function;
|
|
370
|
+
loadByIdAction?: Function;
|
|
371
|
+
deleteAction?: Function;
|
|
372
|
+
deleteByConditionAction?: Function;
|
|
373
|
+
exportDataAction?: Function;
|
|
374
|
+
downloadTemplateAction?: Function;
|
|
375
|
+
queryConditionAction?: Function;
|
|
376
|
+
queryOneByConditionAction?: Function;
|
|
377
|
+
uploadAction?: Function;
|
|
378
|
+
importAction?: Function;
|
|
379
|
+
executeAction?: Function;
|
|
380
|
+
modifyColumnsAction?: Function;
|
|
381
|
+
};
|
|
382
|
+
importInfo?: {
|
|
383
|
+
downloadTemplateUrl?: string;
|
|
384
|
+
importDataUrl?: string;
|
|
385
|
+
conditions?: {
|
|
386
|
+
propertyName?: string;
|
|
387
|
+
operation?: string | null;
|
|
388
|
+
value?: any;
|
|
389
|
+
orOperList?: /*elided*/ any[];
|
|
390
|
+
}[];
|
|
391
|
+
};
|
|
392
|
+
staticData?: string;
|
|
393
|
+
subFormFlag?: string | boolean;
|
|
394
|
+
formFlag?: string;
|
|
395
|
+
}[];
|
|
396
|
+
userTableFuncs?: {
|
|
397
|
+
authority?: string;
|
|
398
|
+
funcName?: string | Function;
|
|
399
|
+
btnName?: string;
|
|
400
|
+
icon?: string;
|
|
401
|
+
priority?: number;
|
|
402
|
+
helpMsg?: string;
|
|
403
|
+
disabled?: string;
|
|
404
|
+
position?: "table" | "toolbar";
|
|
405
|
+
override?: boolean;
|
|
406
|
+
children?: /*elided*/ any[];
|
|
407
|
+
}[];
|
|
408
|
+
stopAutoLoad?: boolean;
|
|
409
|
+
cellEditable?: boolean;
|
|
410
|
+
orderBy?: {
|
|
411
|
+
fieldName: string;
|
|
412
|
+
orderBy: string;
|
|
413
|
+
}[];
|
|
414
|
+
conditions?: {
|
|
415
|
+
propertyName?: string;
|
|
416
|
+
operation?: string | null;
|
|
417
|
+
value?: any;
|
|
418
|
+
orOperList?: /*elided*/ any[];
|
|
419
|
+
}[];
|
|
420
|
+
batchName?: string;
|
|
421
|
+
sameTable?: boolean;
|
|
422
|
+
primaryKey?: string | Array<any>;
|
|
423
|
+
priority?: number;
|
|
424
|
+
}>;
|
|
425
|
+
fieldItemList: Ref<any, any>;
|
|
426
|
+
formInstance: Ref<any, any>;
|
|
427
|
+
formData: Ref<any, any>;
|
|
428
|
+
setFormInstance: (formRef: Ref) => void;
|
|
429
|
+
setFormFields: (fieldList: PageFieldInfo) => void;
|
|
430
|
+
setFormData: (data: any) => void;
|
|
431
|
+
addFormItem: (formItem: any) => void;
|
|
432
|
+
addFormItemList: (formItems: Array<any>) => void;
|
|
433
|
+
getFormItem: (fieldName: string) => any;
|
|
434
|
+
init: (fieldList: PageFieldInfo, data: any, formRef: Ref) => void;
|
|
435
|
+
clearAll: () => void;
|
|
436
|
+
}, never>, Pick<{
|
|
437
|
+
formFieldList: Ref<{
|
|
438
|
+
fieldList?: Array<import('../components/types/PageFieldInfo').FieldInfo> | any;
|
|
439
|
+
batchFieldList?: {
|
|
440
|
+
batchName: string;
|
|
441
|
+
disabled?: string;
|
|
442
|
+
disVisible?: boolean;
|
|
443
|
+
title?: string;
|
|
444
|
+
helpMsg?: string;
|
|
445
|
+
initRows?: number;
|
|
446
|
+
primaryKey?: string;
|
|
447
|
+
batchDefaultData?: any;
|
|
448
|
+
fieldList: Array<import('../components/types/PageFieldInfo').FieldInfo> | any;
|
|
449
|
+
compUrl?: {
|
|
450
|
+
pageListUrl: string;
|
|
451
|
+
mergeUrl: string;
|
|
452
|
+
mergeDraftUrl: string;
|
|
453
|
+
batchMergeUrl: string;
|
|
454
|
+
batchMergeDraftUrl: string;
|
|
455
|
+
loadByIdUrl: string;
|
|
456
|
+
loadByIdForViewUrl: string;
|
|
457
|
+
deleteUrl: string;
|
|
458
|
+
deleteByConditionUrl?: string;
|
|
459
|
+
exportAllUrl?: string;
|
|
460
|
+
downloadTemplateUrl?: string;
|
|
461
|
+
listConditionUrl?: string;
|
|
462
|
+
oneConditionUrl?: string;
|
|
463
|
+
uploadUrl?: string;
|
|
464
|
+
importUrl?: string;
|
|
465
|
+
executeUrl?: string;
|
|
466
|
+
modifyColumnsUrl?: string;
|
|
467
|
+
basePrefix?: string;
|
|
468
|
+
permissionsUrl?: string;
|
|
469
|
+
appName?: string;
|
|
470
|
+
condition?: {
|
|
471
|
+
propertyName?: string;
|
|
472
|
+
operation?: string | null;
|
|
473
|
+
value?: any;
|
|
474
|
+
orOperList?: /*elided*/ any[];
|
|
475
|
+
}[];
|
|
476
|
+
redirect?: boolean;
|
|
477
|
+
httpMethod?: string;
|
|
478
|
+
dataType?: string;
|
|
479
|
+
pageAction?: Function;
|
|
480
|
+
mergeAction?: Function;
|
|
481
|
+
mergeDraftAction?: Function;
|
|
482
|
+
batchMergeAction?: Function;
|
|
483
|
+
batchMergeDraftAction?: Function;
|
|
484
|
+
loadByIdAction?: Function;
|
|
485
|
+
deleteAction?: Function;
|
|
486
|
+
deleteByConditionAction?: Function;
|
|
487
|
+
exportDataAction?: Function;
|
|
488
|
+
downloadTemplateAction?: Function;
|
|
489
|
+
queryConditionAction?: Function;
|
|
490
|
+
queryOneByConditionAction?: Function;
|
|
491
|
+
uploadAction?: Function;
|
|
492
|
+
importAction?: Function;
|
|
493
|
+
executeAction?: Function;
|
|
494
|
+
modifyColumnsAction?: Function;
|
|
495
|
+
};
|
|
496
|
+
importInfo?: {
|
|
497
|
+
downloadTemplateUrl?: string;
|
|
498
|
+
importDataUrl?: string;
|
|
499
|
+
conditions?: {
|
|
500
|
+
propertyName?: string;
|
|
501
|
+
operation?: string | null;
|
|
502
|
+
value?: any;
|
|
503
|
+
orOperList?: /*elided*/ any[];
|
|
504
|
+
}[];
|
|
505
|
+
};
|
|
506
|
+
staticData?: string;
|
|
507
|
+
subFormFlag?: string | boolean;
|
|
508
|
+
formFlag?: string;
|
|
509
|
+
}[];
|
|
510
|
+
userTableFuncs?: {
|
|
511
|
+
authority?: string;
|
|
512
|
+
funcName?: string | Function;
|
|
513
|
+
btnName?: string;
|
|
514
|
+
icon?: string;
|
|
515
|
+
priority?: number;
|
|
516
|
+
helpMsg?: string;
|
|
517
|
+
disabled?: string;
|
|
518
|
+
position?: "table" | "toolbar";
|
|
519
|
+
override?: boolean;
|
|
520
|
+
children?: /*elided*/ any[];
|
|
521
|
+
}[];
|
|
522
|
+
stopAutoLoad?: boolean;
|
|
523
|
+
cellEditable?: boolean;
|
|
524
|
+
orderBy?: {
|
|
525
|
+
fieldName: string;
|
|
526
|
+
orderBy: string;
|
|
527
|
+
}[];
|
|
528
|
+
conditions?: {
|
|
529
|
+
propertyName?: string;
|
|
530
|
+
operation?: string | null;
|
|
531
|
+
value?: any;
|
|
532
|
+
orOperList?: /*elided*/ any[];
|
|
533
|
+
}[];
|
|
534
|
+
batchName?: string;
|
|
535
|
+
sameTable?: boolean;
|
|
536
|
+
primaryKey?: string | Array<any>;
|
|
537
|
+
priority?: number;
|
|
538
|
+
}, PageFieldInfo | {
|
|
539
|
+
fieldList?: Array<import('../components/types/PageFieldInfo').FieldInfo> | any;
|
|
540
|
+
batchFieldList?: {
|
|
541
|
+
batchName: string;
|
|
542
|
+
disabled?: string;
|
|
543
|
+
disVisible?: boolean;
|
|
544
|
+
title?: string;
|
|
545
|
+
helpMsg?: string;
|
|
546
|
+
initRows?: number;
|
|
547
|
+
primaryKey?: string;
|
|
548
|
+
batchDefaultData?: any;
|
|
549
|
+
fieldList: Array<import('../components/types/PageFieldInfo').FieldInfo> | any;
|
|
550
|
+
compUrl?: {
|
|
551
|
+
pageListUrl: string;
|
|
552
|
+
mergeUrl: string;
|
|
553
|
+
mergeDraftUrl: string;
|
|
554
|
+
batchMergeUrl: string;
|
|
555
|
+
batchMergeDraftUrl: string;
|
|
556
|
+
loadByIdUrl: string;
|
|
557
|
+
loadByIdForViewUrl: string;
|
|
558
|
+
deleteUrl: string;
|
|
559
|
+
deleteByConditionUrl?: string;
|
|
560
|
+
exportAllUrl?: string;
|
|
561
|
+
downloadTemplateUrl?: string;
|
|
562
|
+
listConditionUrl?: string;
|
|
563
|
+
oneConditionUrl?: string;
|
|
564
|
+
uploadUrl?: string;
|
|
565
|
+
importUrl?: string;
|
|
566
|
+
executeUrl?: string;
|
|
567
|
+
modifyColumnsUrl?: string;
|
|
568
|
+
basePrefix?: string;
|
|
569
|
+
permissionsUrl?: string;
|
|
570
|
+
appName?: string;
|
|
571
|
+
condition?: {
|
|
572
|
+
propertyName?: string;
|
|
573
|
+
operation?: string | null;
|
|
574
|
+
value?: any;
|
|
575
|
+
orOperList?: /*elided*/ any[];
|
|
576
|
+
}[];
|
|
577
|
+
redirect?: boolean;
|
|
578
|
+
httpMethod?: string;
|
|
579
|
+
dataType?: string;
|
|
580
|
+
pageAction?: Function;
|
|
581
|
+
mergeAction?: Function;
|
|
582
|
+
mergeDraftAction?: Function;
|
|
583
|
+
batchMergeAction?: Function;
|
|
584
|
+
batchMergeDraftAction?: Function;
|
|
585
|
+
loadByIdAction?: Function;
|
|
586
|
+
deleteAction?: Function;
|
|
587
|
+
deleteByConditionAction?: Function;
|
|
588
|
+
exportDataAction?: Function;
|
|
589
|
+
downloadTemplateAction?: Function;
|
|
590
|
+
queryConditionAction?: Function;
|
|
591
|
+
queryOneByConditionAction?: Function;
|
|
592
|
+
uploadAction?: Function;
|
|
593
|
+
importAction?: Function;
|
|
594
|
+
executeAction?: Function;
|
|
595
|
+
modifyColumnsAction?: Function;
|
|
596
|
+
};
|
|
597
|
+
importInfo?: {
|
|
598
|
+
downloadTemplateUrl?: string;
|
|
599
|
+
importDataUrl?: string;
|
|
600
|
+
conditions?: {
|
|
601
|
+
propertyName?: string;
|
|
602
|
+
operation?: string | null;
|
|
603
|
+
value?: any;
|
|
604
|
+
orOperList?: /*elided*/ any[];
|
|
605
|
+
}[];
|
|
606
|
+
};
|
|
607
|
+
staticData?: string;
|
|
608
|
+
subFormFlag?: string | boolean;
|
|
609
|
+
formFlag?: string;
|
|
610
|
+
}[];
|
|
611
|
+
userTableFuncs?: {
|
|
612
|
+
authority?: string;
|
|
613
|
+
funcName?: string | Function;
|
|
614
|
+
btnName?: string;
|
|
615
|
+
icon?: string;
|
|
616
|
+
priority?: number;
|
|
617
|
+
helpMsg?: string;
|
|
618
|
+
disabled?: string;
|
|
619
|
+
position?: "table" | "toolbar";
|
|
620
|
+
override?: boolean;
|
|
621
|
+
children?: /*elided*/ any[];
|
|
622
|
+
}[];
|
|
623
|
+
stopAutoLoad?: boolean;
|
|
624
|
+
cellEditable?: boolean;
|
|
625
|
+
orderBy?: {
|
|
626
|
+
fieldName: string;
|
|
627
|
+
orderBy: string;
|
|
628
|
+
}[];
|
|
629
|
+
conditions?: {
|
|
630
|
+
propertyName?: string;
|
|
631
|
+
operation?: string | null;
|
|
632
|
+
value?: any;
|
|
633
|
+
orOperList?: /*elided*/ any[];
|
|
634
|
+
}[];
|
|
635
|
+
batchName?: string;
|
|
636
|
+
sameTable?: boolean;
|
|
637
|
+
primaryKey?: string | Array<any>;
|
|
638
|
+
priority?: number;
|
|
639
|
+
}>;
|
|
640
|
+
fieldItemList: Ref<any, any>;
|
|
641
|
+
formInstance: Ref<any, any>;
|
|
642
|
+
formData: Ref<any, any>;
|
|
643
|
+
setFormInstance: (formRef: Ref) => void;
|
|
644
|
+
setFormFields: (fieldList: PageFieldInfo) => void;
|
|
645
|
+
setFormData: (data: any) => void;
|
|
646
|
+
addFormItem: (formItem: any) => void;
|
|
647
|
+
addFormItemList: (formItems: Array<any>) => void;
|
|
648
|
+
getFormItem: (fieldName: string) => any;
|
|
649
|
+
init: (fieldList: PageFieldInfo, data: any, formRef: Ref) => void;
|
|
650
|
+
clearAll: () => void;
|
|
651
|
+
}, "setFormInstance" | "setFormFields" | "setFormData" | "addFormItem" | "addFormItemList" | "getFormItem" | "init" | "clearAll">>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { MenusInfo } from '../components/types/MenusInfo';
|
|
2
|
+
export declare const useUserInfoStore: import('pinia').StoreDefinition<"userInfo", Pick<{
|
|
3
|
+
userInfo: import('vue').Ref<any, any>;
|
|
4
|
+
pageButtonPermission: import('vue').Ref<any, any>;
|
|
5
|
+
permissionMenus: import('vue').Ref<any, any>;
|
|
6
|
+
dynamicMenus: import('vue').Ref<any, any>;
|
|
7
|
+
showLoginDialog: () => void;
|
|
8
|
+
loginDialogVisible: import('vue').Ref<boolean, boolean>;
|
|
9
|
+
closeLoginDialog: () => void;
|
|
10
|
+
login: (data: any) => void;
|
|
11
|
+
logout: () => void;
|
|
12
|
+
addPermissionMenus: (data: any) => void;
|
|
13
|
+
addPageButtonPermission: (data: any) => void;
|
|
14
|
+
pushPageButtonPermission: (menuId: string, data: any) => void;
|
|
15
|
+
addDynamicMenus: (data: MenusInfo) => void;
|
|
16
|
+
}, "userInfo" | "pageButtonPermission" | "permissionMenus" | "dynamicMenus" | "loginDialogVisible">, Pick<{
|
|
17
|
+
userInfo: import('vue').Ref<any, any>;
|
|
18
|
+
pageButtonPermission: import('vue').Ref<any, any>;
|
|
19
|
+
permissionMenus: import('vue').Ref<any, any>;
|
|
20
|
+
dynamicMenus: import('vue').Ref<any, any>;
|
|
21
|
+
showLoginDialog: () => void;
|
|
22
|
+
loginDialogVisible: import('vue').Ref<boolean, boolean>;
|
|
23
|
+
closeLoginDialog: () => void;
|
|
24
|
+
login: (data: any) => void;
|
|
25
|
+
logout: () => void;
|
|
26
|
+
addPermissionMenus: (data: any) => void;
|
|
27
|
+
addPageButtonPermission: (data: any) => void;
|
|
28
|
+
pushPageButtonPermission: (menuId: string, data: any) => void;
|
|
29
|
+
addDynamicMenus: (data: MenusInfo) => void;
|
|
30
|
+
}, never>, Pick<{
|
|
31
|
+
userInfo: import('vue').Ref<any, any>;
|
|
32
|
+
pageButtonPermission: import('vue').Ref<any, any>;
|
|
33
|
+
permissionMenus: import('vue').Ref<any, any>;
|
|
34
|
+
dynamicMenus: import('vue').Ref<any, any>;
|
|
35
|
+
showLoginDialog: () => void;
|
|
36
|
+
loginDialogVisible: import('vue').Ref<boolean, boolean>;
|
|
37
|
+
closeLoginDialog: () => void;
|
|
38
|
+
login: (data: any) => void;
|
|
39
|
+
logout: () => void;
|
|
40
|
+
addPermissionMenus: (data: any) => void;
|
|
41
|
+
addPageButtonPermission: (data: any) => void;
|
|
42
|
+
pushPageButtonPermission: (menuId: string, data: any) => void;
|
|
43
|
+
addDynamicMenus: (data: MenusInfo) => void;
|
|
44
|
+
}, "showLoginDialog" | "closeLoginDialog" | "login" | "logout" | "addPermissionMenus" | "addPageButtonPermission" | "pushPageButtonPermission" | "addDynamicMenus">>;
|