star-horse-lowcode 3.0.2 → 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 +10 -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,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 按钮自定义方法跳转
|
|
3
|
+
*/
|
|
4
|
+
export declare interface BtnAuth {
|
|
5
|
+
/**
|
|
6
|
+
* 按钮名字
|
|
7
|
+
*/
|
|
8
|
+
btnName: string;
|
|
9
|
+
/**
|
|
10
|
+
* 图标
|
|
11
|
+
*/
|
|
12
|
+
icon?: string;
|
|
13
|
+
/**
|
|
14
|
+
* 标签名字
|
|
15
|
+
*/
|
|
16
|
+
labelName: string;
|
|
17
|
+
/**
|
|
18
|
+
* 自定义调用方法
|
|
19
|
+
*/
|
|
20
|
+
exec?: Function;
|
|
21
|
+
/**
|
|
22
|
+
* 是否禁用 Y 是 N否
|
|
23
|
+
*/
|
|
24
|
+
disabled?: string;
|
|
25
|
+
/**
|
|
26
|
+
* 子节点
|
|
27
|
+
*/
|
|
28
|
+
children?: BtnAuth[];
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* 按钮响应事件前置校验
|
|
32
|
+
*/
|
|
33
|
+
export declare interface PreValid {
|
|
34
|
+
authority: string;
|
|
35
|
+
/**
|
|
36
|
+
* 校验方法
|
|
37
|
+
*/
|
|
38
|
+
valid: Function;
|
|
39
|
+
/**
|
|
40
|
+
* 校验失败提示信息
|
|
41
|
+
*/
|
|
42
|
+
msg?: string;
|
|
43
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 组件信息
|
|
3
|
+
*/
|
|
4
|
+
interface CompInfo {
|
|
5
|
+
id?: string;
|
|
6
|
+
name: string;
|
|
7
|
+
label: string;
|
|
8
|
+
disableDrag: boolean;
|
|
9
|
+
items?: Array<any>;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* 定义折叠面板数据格式
|
|
13
|
+
*/
|
|
14
|
+
export interface CustomerItem {
|
|
15
|
+
name: string;
|
|
16
|
+
title: string;
|
|
17
|
+
compItems?: Array<CompInfo>;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* 节点信息
|
|
21
|
+
*/
|
|
22
|
+
export interface NodeInfo {
|
|
23
|
+
id?: string;
|
|
24
|
+
index: number;
|
|
25
|
+
shape: string;
|
|
26
|
+
name: string;
|
|
27
|
+
compType?: string;
|
|
28
|
+
label: string;
|
|
29
|
+
data?: any;
|
|
30
|
+
posX?: number;
|
|
31
|
+
posY?: number;
|
|
32
|
+
icon?: string;
|
|
33
|
+
width?: number;
|
|
34
|
+
lineHeight?: number;
|
|
35
|
+
items?: Array<any>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* 边构建信息
|
|
39
|
+
*/
|
|
40
|
+
export interface EdgeInfo {
|
|
41
|
+
id?: string;
|
|
42
|
+
sourceId: string;
|
|
43
|
+
targetId: string;
|
|
44
|
+
sourcePoint: string;
|
|
45
|
+
targetPoint: string;
|
|
46
|
+
data?: any;
|
|
47
|
+
label: string;
|
|
48
|
+
color: string;
|
|
49
|
+
}
|
|
50
|
+
export {};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ApiUrls } from './ApiUrls';
|
|
2
|
+
/**
|
|
3
|
+
* 弹窗属性
|
|
4
|
+
*/
|
|
5
|
+
export type DialogProps = {
|
|
6
|
+
/**
|
|
7
|
+
* 批量编辑标题
|
|
8
|
+
*/
|
|
9
|
+
batchDialogTitle?: string;
|
|
10
|
+
/**
|
|
11
|
+
* 编辑标题
|
|
12
|
+
*/
|
|
13
|
+
dialogTitle?: string;
|
|
14
|
+
/**
|
|
15
|
+
* 批量编辑弹窗控制变量
|
|
16
|
+
*/
|
|
17
|
+
batchEditVisible?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* 编辑弹窗控制变量
|
|
20
|
+
*/
|
|
21
|
+
editVisible?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* 上传组件控制变量
|
|
24
|
+
*/
|
|
25
|
+
uploadVisible?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* 查看数据控制变量
|
|
28
|
+
*/
|
|
29
|
+
viewVisible?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* 弹窗显示/隐藏备用1
|
|
32
|
+
*/
|
|
33
|
+
bakeVisible1?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* 弹窗显示/隐藏备用2
|
|
36
|
+
*/
|
|
37
|
+
bakeVisible2?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* 弹窗显示/隐藏备用3
|
|
40
|
+
*/
|
|
41
|
+
bakeVisible3?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* 数据id
|
|
44
|
+
*/
|
|
45
|
+
ids?: any;
|
|
46
|
+
/**
|
|
47
|
+
* 是否扩展表
|
|
48
|
+
*/
|
|
49
|
+
isExpand?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* 扩展表的接口API
|
|
52
|
+
*/
|
|
53
|
+
expandUrl?: ApiUrls;
|
|
54
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface DyCompField {
|
|
2
|
+
name: string;
|
|
3
|
+
template: any;
|
|
4
|
+
data?: any;
|
|
5
|
+
props?: any;
|
|
6
|
+
methods?: any;
|
|
7
|
+
emits?: Array<string>;
|
|
8
|
+
onMounted?: Function;
|
|
9
|
+
computed?: any;
|
|
10
|
+
components?: any;
|
|
11
|
+
onActivated?: Function;
|
|
12
|
+
onDeactivated?: Function;
|
|
13
|
+
watch?: any;
|
|
14
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare interface DynamicNode {
|
|
2
|
+
/**
|
|
3
|
+
* 节点ID
|
|
4
|
+
*/
|
|
5
|
+
id: string;
|
|
6
|
+
/**
|
|
7
|
+
* 节点标签
|
|
8
|
+
*/
|
|
9
|
+
label: string;
|
|
10
|
+
/**
|
|
11
|
+
* 节点名称
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
/**
|
|
15
|
+
* 节点图标
|
|
16
|
+
*/
|
|
17
|
+
icon?: string;
|
|
18
|
+
/**
|
|
19
|
+
* 节点类型
|
|
20
|
+
*/
|
|
21
|
+
type?: string;
|
|
22
|
+
/**
|
|
23
|
+
* 节点属性
|
|
24
|
+
*/
|
|
25
|
+
preps?: Record<string, any>;
|
|
26
|
+
/**
|
|
27
|
+
* 节点样式
|
|
28
|
+
*/
|
|
29
|
+
styles?: Record<string, any>;
|
|
30
|
+
/**
|
|
31
|
+
* 子节点
|
|
32
|
+
*/
|
|
33
|
+
children?: DynamicNode[];
|
|
34
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { SelectOption } from './SearchProps';
|
|
2
|
+
/**
|
|
3
|
+
* 组件属性
|
|
4
|
+
*/
|
|
5
|
+
export interface ItemType {
|
|
6
|
+
/**
|
|
7
|
+
* 名称
|
|
8
|
+
*/
|
|
9
|
+
label: string;
|
|
10
|
+
/**
|
|
11
|
+
* 字段名
|
|
12
|
+
*/
|
|
13
|
+
fieldName: string;
|
|
14
|
+
/**
|
|
15
|
+
* 字段类型
|
|
16
|
+
*/
|
|
17
|
+
fieldType?: string;
|
|
18
|
+
/**
|
|
19
|
+
* 是否必填
|
|
20
|
+
*/
|
|
21
|
+
required?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* 分类
|
|
24
|
+
*/
|
|
25
|
+
category: 1 | 2 | 3 | 4;
|
|
26
|
+
/**
|
|
27
|
+
* 备选值
|
|
28
|
+
*/
|
|
29
|
+
selectValues?: SelectOption[] | string | number;
|
|
30
|
+
/**
|
|
31
|
+
* 默认值
|
|
32
|
+
*/
|
|
33
|
+
defaultValues?: any;
|
|
34
|
+
/**
|
|
35
|
+
* 备注
|
|
36
|
+
*/
|
|
37
|
+
remark?: string;
|
|
38
|
+
/**
|
|
39
|
+
* 帮助
|
|
40
|
+
*/
|
|
41
|
+
helpMsg?: string;
|
|
42
|
+
/**
|
|
43
|
+
* 配置参数
|
|
44
|
+
*/
|
|
45
|
+
configParams?: Array<any>;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* 组件操作
|
|
49
|
+
*/
|
|
50
|
+
export interface CompAction {
|
|
51
|
+
/**
|
|
52
|
+
* 操作图标
|
|
53
|
+
*/
|
|
54
|
+
actionIcon?: string;
|
|
55
|
+
/**
|
|
56
|
+
* 事件名称
|
|
57
|
+
*/
|
|
58
|
+
label: string;
|
|
59
|
+
/**
|
|
60
|
+
* 事件编码
|
|
61
|
+
*/
|
|
62
|
+
actionName: string;
|
|
63
|
+
/**
|
|
64
|
+
* 组件类型
|
|
65
|
+
*/
|
|
66
|
+
fieldType: string;
|
|
67
|
+
funcCode?: Function | string;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* 组件类型
|
|
71
|
+
*/
|
|
72
|
+
export interface CompType {
|
|
73
|
+
/**
|
|
74
|
+
* 组件名称
|
|
75
|
+
*/
|
|
76
|
+
itemName: string;
|
|
77
|
+
/**
|
|
78
|
+
* 组件类型
|
|
79
|
+
*/
|
|
80
|
+
itemType: string;
|
|
81
|
+
/**
|
|
82
|
+
* 组件图标
|
|
83
|
+
*/
|
|
84
|
+
itemIcon: string;
|
|
85
|
+
/**
|
|
86
|
+
* 组件分类
|
|
87
|
+
*/
|
|
88
|
+
category: number;
|
|
89
|
+
/**
|
|
90
|
+
* 组件备注
|
|
91
|
+
*/
|
|
92
|
+
remark?: string;
|
|
93
|
+
/**
|
|
94
|
+
* 基础属性
|
|
95
|
+
*/
|
|
96
|
+
fields: ItemType[];
|
|
97
|
+
/**
|
|
98
|
+
* 高级属性
|
|
99
|
+
*/
|
|
100
|
+
advancedFields: ItemType[];
|
|
101
|
+
/**
|
|
102
|
+
* 自定义属性
|
|
103
|
+
*/
|
|
104
|
+
selfFields: ItemType[];
|
|
105
|
+
/**
|
|
106
|
+
* 组件操作
|
|
107
|
+
*/
|
|
108
|
+
actions: CompAction[];
|
|
109
|
+
/**
|
|
110
|
+
* 组件属性
|
|
111
|
+
*/
|
|
112
|
+
preps: ItemType[];
|
|
113
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { ApiUrls } from './ApiUrls';
|
|
2
|
+
import { FieldInfo, PageFieldInfo } from './PageFieldInfo';
|
|
3
|
+
import { RedirectParams } from './Params';
|
|
4
|
+
import { SelectOption } from './SearchProps';
|
|
5
|
+
export interface ItemPreps {
|
|
6
|
+
/**
|
|
7
|
+
* 是否是设计模式
|
|
8
|
+
|
|
9
|
+
*/
|
|
10
|
+
isDesign?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* 是否禁用
|
|
13
|
+
*/
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* 是否显示在表单中
|
|
17
|
+
*/
|
|
18
|
+
showFormItem?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* 是否是基础组件
|
|
21
|
+
*/
|
|
22
|
+
bareFlag?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* 是否是搜索组件
|
|
25
|
+
*/
|
|
26
|
+
isSearch?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* 组件属性
|
|
29
|
+
*/
|
|
30
|
+
field: FieldInfo | any;
|
|
31
|
+
/**
|
|
32
|
+
* 父组件属性
|
|
33
|
+
*/
|
|
34
|
+
parentField?: any;
|
|
35
|
+
/**
|
|
36
|
+
* 表单信息
|
|
37
|
+
*/
|
|
38
|
+
formInfo?: any;
|
|
39
|
+
parentId?: string;
|
|
40
|
+
/**
|
|
41
|
+
* 回调函数
|
|
42
|
+
*/
|
|
43
|
+
callBack?: Function;
|
|
44
|
+
/**
|
|
45
|
+
* 组件来源
|
|
46
|
+
*/
|
|
47
|
+
source?: number;
|
|
48
|
+
}
|
|
49
|
+
export interface ContainerPreps {
|
|
50
|
+
/**
|
|
51
|
+
* 组件url
|
|
52
|
+
*/
|
|
53
|
+
compUrl?: ApiUrls;
|
|
54
|
+
/**
|
|
55
|
+
* 组件属性
|
|
56
|
+
*/
|
|
57
|
+
fieldList?: PageFieldInfo | any;
|
|
58
|
+
/**
|
|
59
|
+
* 组件属性
|
|
60
|
+
*/
|
|
61
|
+
item?: any;
|
|
62
|
+
/**
|
|
63
|
+
* 组件名称
|
|
64
|
+
*/
|
|
65
|
+
objectName?: string;
|
|
66
|
+
/**
|
|
67
|
+
* 数据索引
|
|
68
|
+
*/
|
|
69
|
+
dataIndex?: number;
|
|
70
|
+
propPrefix?: string;
|
|
71
|
+
/**
|
|
72
|
+
* 父组件属性
|
|
73
|
+
*/
|
|
74
|
+
parentPreps?: any;
|
|
75
|
+
/**
|
|
76
|
+
* 子表单标识
|
|
77
|
+
*/
|
|
78
|
+
subFormFlag?: string;
|
|
79
|
+
/**
|
|
80
|
+
* 批量操作名称
|
|
81
|
+
*/
|
|
82
|
+
batchName?: string;
|
|
83
|
+
/**
|
|
84
|
+
* 批量操作字段名称
|
|
85
|
+
*/
|
|
86
|
+
batchFieldName?: string;
|
|
87
|
+
/**
|
|
88
|
+
* 主键
|
|
89
|
+
*/
|
|
90
|
+
primaryKey?: string | any;
|
|
91
|
+
/**
|
|
92
|
+
* 校验规则
|
|
93
|
+
*/
|
|
94
|
+
rules?: any;
|
|
95
|
+
/**
|
|
96
|
+
* 组件大小
|
|
97
|
+
*/
|
|
98
|
+
compSize: string;
|
|
99
|
+
/**
|
|
100
|
+
* 组件来源
|
|
101
|
+
*/
|
|
102
|
+
source: number;
|
|
103
|
+
/**
|
|
104
|
+
* 格式化函数
|
|
105
|
+
*/
|
|
106
|
+
commonFormat?: Function;
|
|
107
|
+
}
|
|
108
|
+
export interface RelationDetail {
|
|
109
|
+
/**
|
|
110
|
+
* 控制条件
|
|
111
|
+
*/
|
|
112
|
+
controlCondition: "eqConditionDataLinkage" | "asParamDataLinkage" | "eqDisable" | "eqEditable" | "eqHide" | "eqVisible" | "eqRequired" | "assignValue" | "changeType" | string;
|
|
113
|
+
/**
|
|
114
|
+
* 关联字段
|
|
115
|
+
*/
|
|
116
|
+
relationFields: string | Array<string>;
|
|
117
|
+
/**
|
|
118
|
+
* 匹配类型
|
|
119
|
+
*/
|
|
120
|
+
matchType: string;
|
|
121
|
+
/**
|
|
122
|
+
* 匹配字段名称
|
|
123
|
+
*/
|
|
124
|
+
matchFieldName: string;
|
|
125
|
+
/**
|
|
126
|
+
* 匹配字段值
|
|
127
|
+
*/
|
|
128
|
+
matchFieldValue: Array<string> | string;
|
|
129
|
+
/**
|
|
130
|
+
* 关联参数
|
|
131
|
+
*/
|
|
132
|
+
params: RedirectParams;
|
|
133
|
+
/**
|
|
134
|
+
* 关联静态数据,根据不同类型赋值
|
|
135
|
+
*/
|
|
136
|
+
staticDatas: SelectOption[] | any;
|
|
137
|
+
/**
|
|
138
|
+
* 多次事件是否 working
|
|
139
|
+
*/
|
|
140
|
+
isWorking: boolean;
|
|
141
|
+
}
|
|
142
|
+
export interface ItemRelation {
|
|
143
|
+
/**
|
|
144
|
+
* 关联事件名称
|
|
145
|
+
*/
|
|
146
|
+
actionName: string;
|
|
147
|
+
/**
|
|
148
|
+
* 关联关系详情
|
|
149
|
+
*/
|
|
150
|
+
relationDetails: RelationDetail[];
|
|
151
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Meta 信息
|
|
3
|
+
*/
|
|
4
|
+
interface Meta {
|
|
5
|
+
/**
|
|
6
|
+
* 标题
|
|
7
|
+
*/
|
|
8
|
+
title: string;
|
|
9
|
+
/**
|
|
10
|
+
* 菜单Id
|
|
11
|
+
*/
|
|
12
|
+
menuId: string;
|
|
13
|
+
/**
|
|
14
|
+
* 是否缓存页面
|
|
15
|
+
*/
|
|
16
|
+
keepAlive: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* 菜单图标
|
|
19
|
+
*/
|
|
20
|
+
menuIcon: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* 菜单信息
|
|
24
|
+
*/
|
|
25
|
+
export declare interface MenusInfo {
|
|
26
|
+
/**
|
|
27
|
+
* 菜单路径
|
|
28
|
+
*/
|
|
29
|
+
path: string;
|
|
30
|
+
component: object;
|
|
31
|
+
/**
|
|
32
|
+
* 菜单名称
|
|
33
|
+
*/
|
|
34
|
+
name: string;
|
|
35
|
+
/**
|
|
36
|
+
* 子菜单
|
|
37
|
+
*/
|
|
38
|
+
children: Array<MenusInfo>;
|
|
39
|
+
/**
|
|
40
|
+
* 菜单meta 信息
|
|
41
|
+
*/
|
|
42
|
+
meta: Meta;
|
|
43
|
+
}
|
|
44
|
+
export {};
|