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,264 @@
|
|
|
1
|
+
import { ApiUrls } from '../types/ApiUrls';
|
|
2
|
+
import { SearchParams } from '../types/Params';
|
|
3
|
+
import { OrderByInfo } from '../types/PageFieldInfo';
|
|
4
|
+
import { PropType } from 'vue';
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
preps: {
|
|
7
|
+
type: PropType<any>;
|
|
8
|
+
default: () => {
|
|
9
|
+
value: string;
|
|
10
|
+
label: string;
|
|
11
|
+
children: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
helpMsg: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
};
|
|
17
|
+
showCollapse: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
treeTitle: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: () => any;
|
|
24
|
+
};
|
|
25
|
+
expand: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
height: {
|
|
30
|
+
type: NumberConstructor;
|
|
31
|
+
default: number;
|
|
32
|
+
};
|
|
33
|
+
showCheckBox: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
showSelectData: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
checkStrictly: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
showSearch: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
checkOnClickNode: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
treeType: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
showCode: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
showPageBar: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
isDynamicData: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
autoLoad: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
compUrl: {
|
|
74
|
+
type: PropType<ApiUrls>;
|
|
75
|
+
};
|
|
76
|
+
orderBy: {
|
|
77
|
+
type: PropType<OrderByInfo[]>;
|
|
78
|
+
default: () => any[];
|
|
79
|
+
};
|
|
80
|
+
btnTitle: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
default: () => any;
|
|
83
|
+
};
|
|
84
|
+
btnVisible: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
rmvTitle: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
default: () => any;
|
|
91
|
+
};
|
|
92
|
+
rmvVisible: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
showDropdown: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* 数据共享人
|
|
102
|
+
* 拿到别人共享的信息
|
|
103
|
+
* let resultData = await loadData('/system-config/system/dataPermission/currentMenuPermissionPerson', {});
|
|
104
|
+
* 上面接口主要返回共享人的账号
|
|
105
|
+
* commonPersons.value = resultData?.data;
|
|
106
|
+
*/
|
|
107
|
+
commonPersons: {
|
|
108
|
+
type: PropType<any>;
|
|
109
|
+
default: any[];
|
|
110
|
+
};
|
|
111
|
+
treeDatas: {
|
|
112
|
+
type: PropType<any>;
|
|
113
|
+
};
|
|
114
|
+
}>, {
|
|
115
|
+
getSelectData: () => any[];
|
|
116
|
+
setSelectData: (datas: Array<any>) => void;
|
|
117
|
+
createSearchParams: (params?: SearchParams[], orderBy?: OrderByInfo[]) => void;
|
|
118
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
119
|
+
selectData: (...args: any[]) => void;
|
|
120
|
+
changeCollapse: (...args: any[]) => void;
|
|
121
|
+
addData: (...args: any[]) => void;
|
|
122
|
+
removeData: (...args: any[]) => void;
|
|
123
|
+
"update:treeDatas": (value: any) => void;
|
|
124
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
125
|
+
preps: {
|
|
126
|
+
type: PropType<any>;
|
|
127
|
+
default: () => {
|
|
128
|
+
value: string;
|
|
129
|
+
label: string;
|
|
130
|
+
children: string;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
helpMsg: {
|
|
134
|
+
type: StringConstructor;
|
|
135
|
+
};
|
|
136
|
+
showCollapse: {
|
|
137
|
+
type: BooleanConstructor;
|
|
138
|
+
default: boolean;
|
|
139
|
+
};
|
|
140
|
+
treeTitle: {
|
|
141
|
+
type: StringConstructor;
|
|
142
|
+
default: () => any;
|
|
143
|
+
};
|
|
144
|
+
expand: {
|
|
145
|
+
type: BooleanConstructor;
|
|
146
|
+
default: boolean;
|
|
147
|
+
};
|
|
148
|
+
height: {
|
|
149
|
+
type: NumberConstructor;
|
|
150
|
+
default: number;
|
|
151
|
+
};
|
|
152
|
+
showCheckBox: {
|
|
153
|
+
type: BooleanConstructor;
|
|
154
|
+
default: boolean;
|
|
155
|
+
};
|
|
156
|
+
showSelectData: {
|
|
157
|
+
type: BooleanConstructor;
|
|
158
|
+
default: boolean;
|
|
159
|
+
};
|
|
160
|
+
checkStrictly: {
|
|
161
|
+
type: BooleanConstructor;
|
|
162
|
+
default: boolean;
|
|
163
|
+
};
|
|
164
|
+
showSearch: {
|
|
165
|
+
type: BooleanConstructor;
|
|
166
|
+
default: boolean;
|
|
167
|
+
};
|
|
168
|
+
checkOnClickNode: {
|
|
169
|
+
type: BooleanConstructor;
|
|
170
|
+
default: boolean;
|
|
171
|
+
};
|
|
172
|
+
treeType: {
|
|
173
|
+
type: StringConstructor;
|
|
174
|
+
default: string;
|
|
175
|
+
};
|
|
176
|
+
showCode: {
|
|
177
|
+
type: BooleanConstructor;
|
|
178
|
+
default: boolean;
|
|
179
|
+
};
|
|
180
|
+
showPageBar: {
|
|
181
|
+
type: BooleanConstructor;
|
|
182
|
+
default: boolean;
|
|
183
|
+
};
|
|
184
|
+
isDynamicData: {
|
|
185
|
+
type: BooleanConstructor;
|
|
186
|
+
default: boolean;
|
|
187
|
+
};
|
|
188
|
+
autoLoad: {
|
|
189
|
+
type: BooleanConstructor;
|
|
190
|
+
default: boolean;
|
|
191
|
+
};
|
|
192
|
+
compUrl: {
|
|
193
|
+
type: PropType<ApiUrls>;
|
|
194
|
+
};
|
|
195
|
+
orderBy: {
|
|
196
|
+
type: PropType<OrderByInfo[]>;
|
|
197
|
+
default: () => any[];
|
|
198
|
+
};
|
|
199
|
+
btnTitle: {
|
|
200
|
+
type: StringConstructor;
|
|
201
|
+
default: () => any;
|
|
202
|
+
};
|
|
203
|
+
btnVisible: {
|
|
204
|
+
type: BooleanConstructor;
|
|
205
|
+
default: boolean;
|
|
206
|
+
};
|
|
207
|
+
rmvTitle: {
|
|
208
|
+
type: StringConstructor;
|
|
209
|
+
default: () => any;
|
|
210
|
+
};
|
|
211
|
+
rmvVisible: {
|
|
212
|
+
type: BooleanConstructor;
|
|
213
|
+
default: boolean;
|
|
214
|
+
};
|
|
215
|
+
showDropdown: {
|
|
216
|
+
type: BooleanConstructor;
|
|
217
|
+
default: boolean;
|
|
218
|
+
};
|
|
219
|
+
/**
|
|
220
|
+
* 数据共享人
|
|
221
|
+
* 拿到别人共享的信息
|
|
222
|
+
* let resultData = await loadData('/system-config/system/dataPermission/currentMenuPermissionPerson', {});
|
|
223
|
+
* 上面接口主要返回共享人的账号
|
|
224
|
+
* commonPersons.value = resultData?.data;
|
|
225
|
+
*/
|
|
226
|
+
commonPersons: {
|
|
227
|
+
type: PropType<any>;
|
|
228
|
+
default: any[];
|
|
229
|
+
};
|
|
230
|
+
treeDatas: {
|
|
231
|
+
type: PropType<any>;
|
|
232
|
+
};
|
|
233
|
+
}>> & Readonly<{
|
|
234
|
+
onSelectData?: (...args: any[]) => any;
|
|
235
|
+
onChangeCollapse?: (...args: any[]) => any;
|
|
236
|
+
onAddData?: (...args: any[]) => any;
|
|
237
|
+
onRemoveData?: (...args: any[]) => any;
|
|
238
|
+
"onUpdate:treeDatas"?: (value: any) => any;
|
|
239
|
+
}>, {
|
|
240
|
+
orderBy: OrderByInfo[];
|
|
241
|
+
preps: any;
|
|
242
|
+
height: number;
|
|
243
|
+
checkStrictly: boolean;
|
|
244
|
+
showCheckBox: boolean;
|
|
245
|
+
expand: boolean;
|
|
246
|
+
showPageBar: boolean;
|
|
247
|
+
commonPersons: any;
|
|
248
|
+
showCollapse: boolean;
|
|
249
|
+
treeTitle: string;
|
|
250
|
+
showSelectData: boolean;
|
|
251
|
+
showSearch: boolean;
|
|
252
|
+
checkOnClickNode: boolean;
|
|
253
|
+
treeType: string;
|
|
254
|
+
showCode: boolean;
|
|
255
|
+
isDynamicData: boolean;
|
|
256
|
+
autoLoad: boolean;
|
|
257
|
+
btnTitle: string;
|
|
258
|
+
btnVisible: boolean;
|
|
259
|
+
rmvTitle: string;
|
|
260
|
+
rmvVisible: boolean;
|
|
261
|
+
showDropdown: boolean;
|
|
262
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
263
|
+
declare const _default: typeof __VLS_export;
|
|
264
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
interface MenuItem {
|
|
2
|
+
component: any;
|
|
3
|
+
name: string;
|
|
4
|
+
menuIcon?: string;
|
|
5
|
+
path?: string;
|
|
6
|
+
meta?: Record<string, any>;
|
|
7
|
+
children?: MenuItem[];
|
|
8
|
+
}
|
|
9
|
+
type __VLS_Props = {
|
|
10
|
+
categories: MenuItem[];
|
|
11
|
+
iconType?: "user" | "ele";
|
|
12
|
+
position?: "top" | "bottom" | "left" | "right";
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
15
|
+
select: (isSubMenu: boolean, item: any) => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
onSelect?: (isSubMenu: boolean, item: any) => any;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
interface MenuItem {
|
|
2
|
+
component: any;
|
|
3
|
+
name: string;
|
|
4
|
+
menuIcon?: string;
|
|
5
|
+
path?: string;
|
|
6
|
+
meta?: Record<string, any>;
|
|
7
|
+
children?: MenuItem[];
|
|
8
|
+
}
|
|
9
|
+
type __VLS_Props = {
|
|
10
|
+
categories: MenuItem[];
|
|
11
|
+
systemConfigName?: string;
|
|
12
|
+
position?: "top" | "bottom" | "left" | "right";
|
|
13
|
+
iconType?: "user" | "ele";
|
|
14
|
+
preps?: Record<string, any>;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
interface MainBarItem {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
icon: string;
|
|
5
|
+
route: string;
|
|
6
|
+
}
|
|
7
|
+
type __VLS_Props = {
|
|
8
|
+
categories: Array<{
|
|
9
|
+
component: any;
|
|
10
|
+
name: string;
|
|
11
|
+
menuIcon?: string;
|
|
12
|
+
path?: string;
|
|
13
|
+
meta?: Record<string, any>;
|
|
14
|
+
}>;
|
|
15
|
+
systemConfigName?: string;
|
|
16
|
+
position?: "top" | "bottom" | "left" | "right";
|
|
17
|
+
};
|
|
18
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
19
|
+
select: (item: MainBarItem) => any;
|
|
20
|
+
"system-config": () => any;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
+
onSelect?: (item: MainBarItem) => any;
|
|
23
|
+
"onSystem-config"?: () => any;
|
|
24
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
level: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
menuType: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
dataList: {
|
|
12
|
+
type: import('vue').PropType<any>;
|
|
13
|
+
};
|
|
14
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
selectMenu: (...args: any[]) => void;
|
|
16
|
+
"update:dataList": (value: any) => void;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
18
|
+
level: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
default: number;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
menuType: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
dataList: {
|
|
28
|
+
type: import('vue').PropType<any>;
|
|
29
|
+
};
|
|
30
|
+
}>> & Readonly<{
|
|
31
|
+
onSelectMenu?: (...args: any[]) => any;
|
|
32
|
+
"onUpdate:dataList"?: (value: any) => any;
|
|
33
|
+
}>, {
|
|
34
|
+
level: number;
|
|
35
|
+
menuType: string;
|
|
36
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
37
|
+
declare const _default: typeof __VLS_export;
|
|
38
|
+
export default _default;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
menus: {
|
|
4
|
+
type: {
|
|
5
|
+
(arrayLength: number): any[];
|
|
6
|
+
(...items: any[]): any[];
|
|
7
|
+
new (arrayLength: number): any[];
|
|
8
|
+
new (...items: any[]): any[];
|
|
9
|
+
isArray(arg: any): arg is any[];
|
|
10
|
+
readonly prototype: any[];
|
|
11
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
12
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
13
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
14
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
15
|
+
of<T>(...items: T[]): T[];
|
|
16
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
17
|
+
};
|
|
18
|
+
default: () => any[];
|
|
19
|
+
};
|
|
20
|
+
icon: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
position: {
|
|
25
|
+
type: PropType<Record<string, any>>;
|
|
26
|
+
default: {};
|
|
27
|
+
};
|
|
28
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
29
|
+
change: (...args: any[]) => void;
|
|
30
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
31
|
+
menus: {
|
|
32
|
+
type: {
|
|
33
|
+
(arrayLength: number): any[];
|
|
34
|
+
(...items: any[]): any[];
|
|
35
|
+
new (arrayLength: number): any[];
|
|
36
|
+
new (...items: any[]): any[];
|
|
37
|
+
isArray(arg: any): arg is any[];
|
|
38
|
+
readonly prototype: any[];
|
|
39
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
40
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
41
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
42
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
43
|
+
of<T>(...items: T[]): T[];
|
|
44
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
45
|
+
};
|
|
46
|
+
default: () => any[];
|
|
47
|
+
};
|
|
48
|
+
icon: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
position: {
|
|
53
|
+
type: PropType<Record<string, any>>;
|
|
54
|
+
default: {};
|
|
55
|
+
};
|
|
56
|
+
}>> & Readonly<{
|
|
57
|
+
onChange?: (...args: any[]) => any;
|
|
58
|
+
}>, {
|
|
59
|
+
icon: string;
|
|
60
|
+
position: Record<string, any>;
|
|
61
|
+
menus: any[];
|
|
62
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
63
|
+
declare const _default: typeof __VLS_export;
|
|
64
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export { default as ShDynamicForm } from './ShDynamicForm.vue';
|
|
2
|
+
export { default as ShTableListColumn } from './ShTableListColumn.vue';
|
|
3
|
+
export { default as StarHorseDataSelector } from './StarHorseDataSelector.vue';
|
|
4
|
+
export { default as StarHorseDataView } from './StarHorseDataView.vue';
|
|
5
|
+
export { default as StarHorseDialog } from './StarHorseDialog.vue';
|
|
6
|
+
export { default as StarHorseDraggable } from './StarHorseDraggable.vue';
|
|
7
|
+
export { default as StarHorseForm } from './StarHorseForm.vue';
|
|
8
|
+
export { default as StarHorseFormItem } from './StarHorseFormItem.vue';
|
|
9
|
+
export { default as StarHorseFormList } from './StarHorseFormList.vue';
|
|
10
|
+
export { default as StarHorseFormTable } from './StarHorseFormTable.vue';
|
|
11
|
+
export { default as StarHorseIcon } from './StarHorseIcon.vue';
|
|
12
|
+
export { default as StarHorseJsonEditor } from './StarHorseJsonEditor.vue';
|
|
13
|
+
export { default as StarHorsePopover } from './StarHorsePopover.vue';
|
|
14
|
+
export { default as StarHorseSearchComp } from './StarHorseSearchComp.vue';
|
|
15
|
+
export { default as StarHorseStaticTable } from './StarHorseStaticTable.vue';
|
|
16
|
+
export { default as StarHorseTableColumn } from './StarHorseTableColumn.vue';
|
|
17
|
+
export { default as StarHorseTableComp } from './StarHorseTableComp.vue';
|
|
18
|
+
export { default as StarHorseTree } from './StarHorseTree.vue';
|
|
19
|
+
export { default as ShForm } from './ShForm.vue';
|
|
20
|
+
export { default as DataPicker } from './utils/DataPicker.vue';
|
|
21
|
+
export { default as MainBar } from './app/MainBar.vue';
|
|
22
|
+
export { default as MainContent } from './app/MainContent.vue';
|
|
23
|
+
export { default as MainContainer } from './app/MainContainer.vue';
|
|
24
|
+
export { default as MainSubBar } from './app/MainSubBar.vue';
|
|
25
|
+
export { default as MenuShot } from './app/MenuShot.vue';
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
item: {
|
|
4
|
+
type: PropType<any>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
rules: {
|
|
8
|
+
type: ObjectConstructor;
|
|
9
|
+
};
|
|
10
|
+
staticColumn: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
size: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
batchName: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
primaryKey: {
|
|
23
|
+
type: PropType<string | any>;
|
|
24
|
+
};
|
|
25
|
+
source: {
|
|
26
|
+
type: NumberConstructor;
|
|
27
|
+
default: number;
|
|
28
|
+
};
|
|
29
|
+
commonFormat: {
|
|
30
|
+
type: FunctionConstructor;
|
|
31
|
+
default: () => void;
|
|
32
|
+
};
|
|
33
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
34
|
+
item: {
|
|
35
|
+
type: PropType<any>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
rules: {
|
|
39
|
+
type: ObjectConstructor;
|
|
40
|
+
};
|
|
41
|
+
staticColumn: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
size: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
batchName: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
primaryKey: {
|
|
54
|
+
type: PropType<string | any>;
|
|
55
|
+
};
|
|
56
|
+
source: {
|
|
57
|
+
type: NumberConstructor;
|
|
58
|
+
default: number;
|
|
59
|
+
};
|
|
60
|
+
commonFormat: {
|
|
61
|
+
type: FunctionConstructor;
|
|
62
|
+
default: () => void;
|
|
63
|
+
};
|
|
64
|
+
}>> & Readonly<{}>, {
|
|
65
|
+
source: number;
|
|
66
|
+
size: string;
|
|
67
|
+
batchName: string;
|
|
68
|
+
staticColumn: string;
|
|
69
|
+
commonFormat: Function;
|
|
70
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
71
|
+
declare const _default: typeof __VLS_export;
|
|
72
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ContainerPreps } from '../../types/ItemPreps';
|
|
2
|
+
type __VLS_Props = ContainerPreps;
|
|
3
|
+
type __VLS_ModelProps = {
|
|
4
|
+
"dataForm"?: any;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
7
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
"update:dataForm": (value: any) => any;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
10
|
+
"onUpdate:dataForm"?: (value: any) => any;
|
|
11
|
+
}>, {
|
|
12
|
+
source: number;
|
|
13
|
+
batchName: string;
|
|
14
|
+
subFormFlag: string;
|
|
15
|
+
dataIndex: number;
|
|
16
|
+
compSize: string;
|
|
17
|
+
propPrefix: string;
|
|
18
|
+
parentPreps: any;
|
|
19
|
+
batchFieldName: string;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ContainerPreps } from '../../types/ItemPreps';
|
|
2
|
+
type __VLS_Props = ContainerPreps;
|
|
3
|
+
type __VLS_ModelProps = {
|
|
4
|
+
"dataForm"?: any;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
7
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
"update:dataForm": (value: any) => any;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
10
|
+
"onUpdate:dataForm"?: (value: any) => any;
|
|
11
|
+
}>, {
|
|
12
|
+
source: number;
|
|
13
|
+
batchName: string;
|
|
14
|
+
subFormFlag: string;
|
|
15
|
+
dataIndex: number;
|
|
16
|
+
compSize: string;
|
|
17
|
+
propPrefix: string;
|
|
18
|
+
parentPreps: any;
|
|
19
|
+
batchFieldName: string;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { ApiUrls } from '../../types/ApiUrls';
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
compUrl: {
|
|
5
|
+
type: PropType<ApiUrls>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
fieldList: {
|
|
9
|
+
type: ObjectConstructor;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
dataFormat: {
|
|
13
|
+
type: FunctionConstructor;
|
|
14
|
+
default: any;
|
|
15
|
+
};
|
|
16
|
+
sortable: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
showBatchField: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
compSize: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
globalConfig: {
|
|
29
|
+
type: PropType<any>;
|
|
30
|
+
required: false;
|
|
31
|
+
};
|
|
32
|
+
isDynamic: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
commonFormat: {
|
|
37
|
+
type: FunctionConstructor;
|
|
38
|
+
default: () => void;
|
|
39
|
+
};
|
|
40
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
41
|
+
compUrl: {
|
|
42
|
+
type: PropType<ApiUrls>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
fieldList: {
|
|
46
|
+
type: ObjectConstructor;
|
|
47
|
+
required: true;
|
|
48
|
+
};
|
|
49
|
+
dataFormat: {
|
|
50
|
+
type: FunctionConstructor;
|
|
51
|
+
default: any;
|
|
52
|
+
};
|
|
53
|
+
sortable: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
showBatchField: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
compSize: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
globalConfig: {
|
|
66
|
+
type: PropType<any>;
|
|
67
|
+
required: false;
|
|
68
|
+
};
|
|
69
|
+
isDynamic: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
commonFormat: {
|
|
74
|
+
type: FunctionConstructor;
|
|
75
|
+
default: () => void;
|
|
76
|
+
};
|
|
77
|
+
}>> & Readonly<{}>, {
|
|
78
|
+
dataFormat: Function;
|
|
79
|
+
compSize: string;
|
|
80
|
+
commonFormat: Function;
|
|
81
|
+
showBatchField: boolean;
|
|
82
|
+
isDynamic: boolean;
|
|
83
|
+
sortable: boolean;
|
|
84
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
85
|
+
declare const _default: typeof __VLS_export;
|
|
86
|
+
export default _default;
|