star-horse-lowcode 2.7.65 → 2.7.67
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 +3 -0
- package/dist/assets/index.css +1 -1
- package/dist/index.es.js +597 -188
- package/dist/types/index.d.ts +30 -0
- package/package.json +3 -3
- package/.env.development +0 -3
- package/.env.production +0 -3
- package/.eslintrc-auto-import.json +0 -77
- package/.gitignore +0 -27
- package/.idea/.gitignore +0 -5
- package/.idea/MarsCodeWorkspaceAppSettings.xml +0 -6
- package/.idea/inspectionProfiles/Project_Default.xml +0 -7
- package/.idea/modules.xml +0 -8
- package/.idea/testcode.iml +0 -12
- package/.idea/vcs.xml +0 -6
- package/.idea/watcherTasks.xml +0 -4
- package/.idea/workspace.xml +0 -207
- package/.npmignore +0 -21
- package/.prettierignore +0 -26
- package/auto-imports.d.ts +0 -137
- package/components.d.ts +0 -189
- package/eslint.config.js +0 -37
- package/index.html +0 -14
- package/package-lock.json +0 -8276
- package/prettier.config.js +0 -20
- package/public/logo.svg +0 -660
- package/src/App.vue +0 -11
- package/src/api/date_utils.ts +0 -219
- package/src/api/finger_utils.ts +0 -71
- package/src/api/form_utils.ts +0 -281
- package/src/api/jquery.min.js +0 -2
- package/src/api/pcas-code.json +0 -1
- package/src/api/settings.ts +0 -81
- package/src/api/star_horse_apis.ts +0 -196
- package/src/api/star_horse_utils.ts +0 -797
- package/src/api/system.ts +0 -351
- package/src/api/user_func.ts +0 -147
- package/src/api/valid_utils.ts +0 -165
- package/src/assets/css/index.scss +0 -908
- package/src/assets/icons.css +0 -574
- package/src/assets/star-horse-icons.woff +0 -0
- package/src/components/comp/ShDynamicForm.vue +0 -160
- package/src/components/comp/ShForm.vue +0 -30
- package/src/components/comp/ShTableListColumn.vue +0 -61
- package/src/components/comp/StarHorseDataSelector.vue +0 -139
- package/src/components/comp/StarHorseDataView.vue +0 -110
- package/src/components/comp/StarHorseDataViewItems.vue +0 -61
- package/src/components/comp/StarHorseDataViewTable.vue +0 -102
- package/src/components/comp/StarHorseDialog.vue +0 -383
- package/src/components/comp/StarHorseDraggable.vue +0 -401
- package/src/components/comp/StarHorseForm.vue +0 -458
- package/src/components/comp/StarHorseFormItem.vue +0 -82
- package/src/components/comp/StarHorseFormList.vue +0 -516
- package/src/components/comp/StarHorseFormTable.vue +0 -56
- package/src/components/comp/StarHorseIcon.vue +0 -76
- package/src/components/comp/StarHorseItem.vue +0 -302
- package/src/components/comp/StarHorseJsonEditor.vue +0 -115
- package/src/components/comp/StarHorsePopover.vue +0 -66
- package/src/components/comp/StarHorseSearchComp.vue +0 -253
- package/src/components/comp/StarHorseStaticTable.vue +0 -395
- package/src/components/comp/StarHorseTableColumn.vue +0 -249
- package/src/components/comp/StarHorseTableComp.vue +0 -1193
- package/src/components/comp/StarHorseTableViewColumn.vue +0 -61
- package/src/components/comp/StarHorseTree.vue +0 -494
- package/src/components/comp/index.ts +0 -22
- package/src/components/comp/items/UTableColumn.vue +0 -65
- package/src/components/comp/items/boxItem.vue +0 -98
- package/src/components/comp/items/callitem.ts +0 -9
- package/src/components/comp/items/cardItem.vue +0 -152
- package/src/components/comp/items/collapseItem.vue +0 -134
- package/src/components/comp/items/dytableItem.vue +0 -135
- package/src/components/comp/items/otherItem.vue +0 -65
- package/src/components/comp/items/tabItem.vue +0 -155
- package/src/components/comp/items/tabPanelItem.vue +0 -110
- package/src/components/comp/items/tableColumn.vue +0 -129
- package/src/components/comp/items/tableItem.vue +0 -97
- package/src/components/comp/items/tablebtn.vue +0 -158
- package/src/components/comp/items/viewBoxItem.vue +0 -55
- package/src/components/comp/items/viewCardItem.vue +0 -47
- package/src/components/comp/items/viewCollapseItem.vue +0 -71
- package/src/components/comp/items/viewDytableItem.vue +0 -77
- package/src/components/comp/items/viewOtherItem.vue +0 -55
- package/src/components/comp/items/viewTabItem.vue +0 -77
- package/src/components/comp/items/viewTabPanelItem.vue +0 -54
- package/src/components/comp/items/viewTableItem.vue +0 -74
- package/src/components/comp/selfcomp.ts +0 -9
- package/src/components/comp/utils/DataPicker.vue +0 -302
- package/src/components/comp/utils/DataTag.vue +0 -51
- package/src/components/cron/Crontab-Day.vue +0 -230
- package/src/components/cron/Crontab-Hour.vue +0 -165
- package/src/components/cron/Crontab-Min.vue +0 -166
- package/src/components/cron/Crontab-Month.vue +0 -166
- package/src/components/cron/Crontab-Result.vue +0 -615
- package/src/components/cron/Crontab-Second.vue +0 -185
- package/src/components/cron/Crontab-Week.vue +0 -208
- package/src/components/cron/Crontab-Year.vue +0 -183
- package/src/components/cron/Crontab.vue +0 -474
- package/src/components/enums/ModuleEnums.ts +0 -10
- package/src/components/enums/ServiceEnums.ts +0 -18
- package/src/components/formcomp/container/box-container.vue +0 -162
- package/src/components/formcomp/container/callitem.ts +0 -9
- package/src/components/formcomp/container/card-container.vue +0 -170
- package/src/components/formcomp/container/collapse-container.vue +0 -133
- package/src/components/formcomp/container/dytable-col.vue +0 -448
- package/src/components/formcomp/container/dytable-container.vue +0 -57
- package/src/components/formcomp/container/dytableUtils.ts +0 -358
- package/src/components/formcomp/container/group-box-container.vue +0 -331
- package/src/components/formcomp/container/index.ts +0 -6
- package/src/components/formcomp/container/tab-container.vue +0 -153
- package/src/components/formcomp/container/table-container.vue +0 -249
- package/src/components/formcomp/items/allitem.ts +0 -9
- package/src/components/formcomp/items/area-item.vue +0 -116
- package/src/components/formcomp/items/audio-item.vue +0 -163
- package/src/components/formcomp/items/autocomplete-item.vue +0 -118
- package/src/components/formcomp/items/barcode-item.vue +0 -87
- package/src/components/formcomp/items/base-json-item.vue +0 -207
- package/src/components/formcomp/items/button-item.vue +0 -228
- package/src/components/formcomp/items/cascade-item.vue +0 -113
- package/src/components/formcomp/items/checkbox-item.vue +0 -97
- package/src/components/formcomp/items/color-item.vue +0 -70
- package/src/components/formcomp/items/cron-item.vue +0 -115
- package/src/components/formcomp/items/datetime-item.vue +0 -99
- package/src/components/formcomp/items/depart-item.vue +0 -51
- package/src/components/formcomp/items/dialog-input-item.vue +0 -207
- package/src/components/formcomp/items/divider-item.vue +0 -66
- package/src/components/formcomp/items/html-item.vue +0 -65
- package/src/components/formcomp/items/htmleditor-item.vue +0 -104
- package/src/components/formcomp/items/icon-item.vue +0 -195
- package/src/components/formcomp/items/image-item.vue +0 -247
- package/src/components/formcomp/items/index.ts +0 -44
- package/src/components/formcomp/items/input-item.vue +0 -150
- package/src/components/formcomp/items/json-array-item.vue +0 -67
- package/src/components/formcomp/items/json-item.vue +0 -66
- package/src/components/formcomp/items/markdown-item.vue +0 -77
- package/src/components/formcomp/items/number-item.vue +0 -94
- package/src/components/formcomp/items/number-range-item.vue +0 -278
- package/src/components/formcomp/items/page-select-item.vue +0 -407
- package/src/components/formcomp/items/password-item.vue +0 -71
- package/src/components/formcomp/items/qrcode-item.vue +0 -84
- package/src/components/formcomp/items/radio-item.vue +0 -112
- package/src/components/formcomp/items/rate-item.vue +0 -68
- package/src/components/formcomp/items/select-item.vue +0 -133
- package/src/components/formcomp/items/signature-item.vue +0 -216
- package/src/components/formcomp/items/slider-item.vue +0 -68
- package/src/components/formcomp/items/starhorse-form-item.vue +0 -334
- package/src/components/formcomp/items/switch-item.vue +0 -77
- package/src/components/formcomp/items/tag-item.vue +0 -77
- package/src/components/formcomp/items/text-item.vue +0 -75
- package/src/components/formcomp/items/textarea-item.vue +0 -85
- package/src/components/formcomp/items/time-item.vue +0 -77
- package/src/components/formcomp/items/time-picker-item.vue +0 -74
- package/src/components/formcomp/items/transfer-item.vue +0 -93
- package/src/components/formcomp/items/tselect-item.vue +0 -121
- package/src/components/formcomp/items/unknown-item.vue +0 -51
- package/src/components/formcomp/items/upload-item.vue +0 -189
- package/src/components/formcomp/items/user-item.vue +0 -177
- package/src/components/formcomp/items/usercomp-item.vue +0 -85
- package/src/components/formcomp/items/view-markdown-item.vue +0 -77
- package/src/components/formcomp/utils/EditDataDialog.vue +0 -67
- package/src/components/formcomp/utils/FieldList.vue +0 -125
- package/src/components/formcomp/utils/ItemRelationEventUtils.ts +0 -284
- package/src/components/help.vue +0 -31
- package/src/components/menu/MenuItem.vue +0 -95
- package/src/components/menu/SubMenu.vue +0 -68
- package/src/components/menu/SubSystemMenu.vue +0 -142
- package/src/components/register.ts +0 -24
- package/src/components/system/ContentMenu.vue +0 -260
- package/src/components/system/StarHorseButtonList.vue +0 -344
- package/src/components/system/StarHorseMenu.vue +0 -97
- package/src/components/system/StarHorseSvg.vue +0 -62
- package/src/components/system/SystemComp.ts +0 -9
- package/src/components/system/index.ts +0 -4
- package/src/components/types/ApiUrls.ts +0 -168
- package/src/components/types/BtnAction.ts +0 -51
- package/src/components/types/BtnAuth.ts +0 -43
- package/src/components/types/CompInfo.ts +0 -81
- package/src/components/types/DialogProps.ts +0 -55
- package/src/components/types/DyCompField.ts +0 -23
- package/src/components/types/DynamicNode.ts +0 -42
- package/src/components/types/MenusInfo.ts +0 -45
- package/src/components/types/PageFieldInfo.ts +0 -530
- package/src/components/types/PageProps.ts +0 -25
- package/src/components/types/Params.ts +0 -93
- package/src/components/types/RuleType.ts +0 -10
- package/src/components/types/SearchProps.ts +0 -42
- package/src/components/types/ShortKey.ts +0 -30
- package/src/components/types/StarHorseType.ts +0 -18
- package/src/components/types/index.ts +0 -15
- package/src/config/element.ts +0 -15
- package/src/config/styles.ts +0 -4
- package/src/index.ts +0 -98
- package/src/install.ts +0 -33
- package/src/lang/en_US.ts +0 -81
- package/src/lang/index.ts +0 -35
- package/src/lang/zh_CN.ts +0 -84
- package/src/main.ts +0 -57
- package/src/plugins/AblesPlugin.ts +0 -618
- package/src/plugins/registerCompPlugin.ts +0 -15
- package/src/sample/test.vue +0 -9
- package/src/store/ButtonPermission.ts +0 -101
- package/src/store/ConsumerView.ts +0 -52
- package/src/store/ContinusConfig.ts +0 -78
- package/src/store/CopyerOperation.ts +0 -74
- package/src/store/DesignForm.ts +0 -481
- package/src/store/DesignPage.ts +0 -59
- package/src/store/DynamicForm.ts +0 -241
- package/src/store/GlobalConfig.ts +0 -90
- package/src/store/SelfOperation.ts +0 -95
- package/src/store/UserInfo.ts +0 -88
- package/src/store/index.ts +0 -6
- package/src/theme/localStorge.ts +0 -16
- package/src/theme/theme.ts +0 -27
- package/src/utils/FieldOperationUtils.ts +0 -91
- package/src/utils/auth.ts +0 -83
- package/src/utils/message.ts +0 -69
- package/src/utils/preview.ts +0 -125
- package/tsconfig.json +0 -39
- package/tsconfig.node.json +0 -10
- package/vite-env.d.ts +0 -16
- package/vite.config.ts +0 -162
- package/yarn.lock +0 -4627
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts" name="StarHorseSvg">
|
|
2
|
-
import { computed, PropType } from "vue";
|
|
3
|
-
|
|
4
|
-
const props = defineProps({
|
|
5
|
-
className: { type: String },
|
|
6
|
-
title: { type: String, default: "" },
|
|
7
|
-
size: { type: String, default: "20px" },
|
|
8
|
-
width: { type: Number, default: 200 },
|
|
9
|
-
height: { type: Number, default: 200 },
|
|
10
|
-
data: { type: Object as PropType<any>, default: {} },
|
|
11
|
-
borderOffset: { type: Number, default: 0 },
|
|
12
|
-
color: { type: String, default: "var(--star-horse-style)" },
|
|
13
|
-
backgroundColor: { type: String, default: "#fff" },
|
|
14
|
-
borderColor: { type: String, default: "#ebebeb" },
|
|
15
|
-
borderWidth: { type: Number, default: 0 },
|
|
16
|
-
cursor: { type: String, default: "default" },
|
|
17
|
-
});
|
|
18
|
-
const svgClass = computed(() => {
|
|
19
|
-
if (props.className) {
|
|
20
|
-
return "svg-icon " + props.className;
|
|
21
|
-
} else {
|
|
22
|
-
return "svg-icon";
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
</script>
|
|
26
|
-
<style lang="scss" scoped>
|
|
27
|
-
.svg-icon {
|
|
28
|
-
cursor: v-bind(cursor);
|
|
29
|
-
width: v-bind(size);
|
|
30
|
-
height: v-bind(size);
|
|
31
|
-
color: v-bind(color);
|
|
32
|
-
margin-left: 0.35em;
|
|
33
|
-
margin-right: 0.35em;
|
|
34
|
-
vertical-align: -0.15em;
|
|
35
|
-
fill: currentColor;
|
|
36
|
-
}
|
|
37
|
-
</style>
|
|
38
|
-
<template>
|
|
39
|
-
<svg :class="svgClass" :width="width" :height="height">
|
|
40
|
-
<!--'+(width - borderOffset)/ data.viewBox[0]+','+(height - borderOffset) / data.viewBox[1]+'-->
|
|
41
|
-
<g
|
|
42
|
-
:transform="
|
|
43
|
-
'scale(' +
|
|
44
|
-
(width - borderOffset) / data.viewBox[0] +
|
|
45
|
-
',' +
|
|
46
|
-
(height - borderOffset) / data.viewBox[1] +
|
|
47
|
-
') translate(0,0) matrix(1,0,0,1,0,0)'
|
|
48
|
-
"
|
|
49
|
-
>
|
|
50
|
-
<path
|
|
51
|
-
:class="data.outlined ? 'outlined' : ''"
|
|
52
|
-
:d="data.path"
|
|
53
|
-
vector-effect="non-scaling-stroke"
|
|
54
|
-
stroke-linecap="butt"
|
|
55
|
-
stroke-miterlimit="8"
|
|
56
|
-
:fill="color"
|
|
57
|
-
:stroke="borderColor"
|
|
58
|
-
:stroke-width="borderWidth"
|
|
59
|
-
></path>
|
|
60
|
-
</g>
|
|
61
|
-
</svg>
|
|
62
|
-
</template>
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { App, defineAsyncComponent } from "vue";
|
|
2
|
-
|
|
3
|
-
const items = import.meta.glob("@/components/system/*.vue");
|
|
4
|
-
export default function install(app: App<Element>) {
|
|
5
|
-
for (const [key, value] of Object.entries(items)) {
|
|
6
|
-
const name = key.slice(key.lastIndexOf("/") + 1, key.lastIndexOf("."));
|
|
7
|
-
app.component(name, defineAsyncComponent(value));
|
|
8
|
-
}
|
|
9
|
-
}
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
import { SearchParams } from "@/components/types/Params";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 组件用到的属性
|
|
5
|
-
*/
|
|
6
|
-
export type ApiUrls = {
|
|
7
|
-
/**
|
|
8
|
-
* 分页接口
|
|
9
|
-
*/
|
|
10
|
-
pageListUrl: string;
|
|
11
|
-
/**
|
|
12
|
-
* merge接口
|
|
13
|
-
*/
|
|
14
|
-
mergeUrl: string;
|
|
15
|
-
/**
|
|
16
|
-
* merge暂存接口
|
|
17
|
-
*/
|
|
18
|
-
mergeDraftUrl: string;
|
|
19
|
-
/**
|
|
20
|
-
* 批量Merge接口
|
|
21
|
-
*/
|
|
22
|
-
batchMergeUrl: string;
|
|
23
|
-
/**
|
|
24
|
-
* 批量暂存接口
|
|
25
|
-
*/
|
|
26
|
-
batchMergeDraftUrl: string;
|
|
27
|
-
/**
|
|
28
|
-
* 根据Id获取数据接口
|
|
29
|
-
*/
|
|
30
|
-
loadByIdUrl: string;
|
|
31
|
-
/**
|
|
32
|
-
* 根据Id获取数据接口
|
|
33
|
-
*/
|
|
34
|
-
loadByIdForViewUrl: string;
|
|
35
|
-
/**
|
|
36
|
-
* 删除数据接口
|
|
37
|
-
*/
|
|
38
|
-
deleteUrl: string;
|
|
39
|
-
/**
|
|
40
|
-
* 根据条件删除数据
|
|
41
|
-
*/
|
|
42
|
-
deleteByConditionUrl?: string;
|
|
43
|
-
/**
|
|
44
|
-
* 导出数据接口
|
|
45
|
-
*/
|
|
46
|
-
exportAllUrl?: string;
|
|
47
|
-
/**
|
|
48
|
-
* 下载模板接口
|
|
49
|
-
*/
|
|
50
|
-
downloadTemplateUrl?: string;
|
|
51
|
-
/**
|
|
52
|
-
* 自定义查询接口 返回满足条件的所有数据
|
|
53
|
-
*/
|
|
54
|
-
listConditionUrl?: string;
|
|
55
|
-
/**
|
|
56
|
-
* 自定义查询接口 返回满足条件的一条数据
|
|
57
|
-
*/
|
|
58
|
-
oneConditionUrl?: string;
|
|
59
|
-
/**
|
|
60
|
-
* 上载接口
|
|
61
|
-
*/
|
|
62
|
-
uploadUrl?: string;
|
|
63
|
-
/**
|
|
64
|
-
* 导入数据接口
|
|
65
|
-
*/
|
|
66
|
-
importUrl?: string;
|
|
67
|
-
/**
|
|
68
|
-
* 执行接口
|
|
69
|
-
*/
|
|
70
|
-
executeUrl?: string;
|
|
71
|
-
/**
|
|
72
|
-
* 修改字段接口
|
|
73
|
-
*/
|
|
74
|
-
modifyColumnsUrl?: string;
|
|
75
|
-
/**
|
|
76
|
-
* 接口路径前缀
|
|
77
|
-
*/
|
|
78
|
-
basePrefix?: string;
|
|
79
|
-
/**
|
|
80
|
-
* 应用名称
|
|
81
|
-
*/
|
|
82
|
-
appName?: string;
|
|
83
|
-
/**
|
|
84
|
-
* 权限隔离属性字段,如果提供则所有Post请求都会带上该字段
|
|
85
|
-
* 接口过滤条件
|
|
86
|
-
*/
|
|
87
|
-
condition?: Array<SearchParams>;
|
|
88
|
-
/**
|
|
89
|
-
* 是否接口转发
|
|
90
|
-
*/
|
|
91
|
-
redirect?: boolean;
|
|
92
|
-
/**
|
|
93
|
-
* 接口请求方式
|
|
94
|
-
*/
|
|
95
|
-
httpMethod?: string;
|
|
96
|
-
/**
|
|
97
|
-
* 数据请求方式
|
|
98
|
-
*/
|
|
99
|
-
dataType?: string;
|
|
100
|
-
/**
|
|
101
|
-
* 分页接口
|
|
102
|
-
*/
|
|
103
|
-
pageAction?: Function;
|
|
104
|
-
/**
|
|
105
|
-
* 编辑接口
|
|
106
|
-
*/
|
|
107
|
-
mergeAction?: Function;
|
|
108
|
-
/**
|
|
109
|
-
* 编辑暂存接口
|
|
110
|
-
*/
|
|
111
|
-
mergeDraftAction?: Function;
|
|
112
|
-
/**
|
|
113
|
-
* 批量编辑接口
|
|
114
|
-
*/
|
|
115
|
-
batchMergeAction?: Function;
|
|
116
|
-
/**
|
|
117
|
-
* 批量编辑暂存接口
|
|
118
|
-
*/
|
|
119
|
-
batchMergeDraftAction?: Function;
|
|
120
|
-
/**
|
|
121
|
-
* 根据Id获取数据接口
|
|
122
|
-
*/
|
|
123
|
-
loadByIdAction?: Function;
|
|
124
|
-
/**
|
|
125
|
-
* 删除数据接口
|
|
126
|
-
*/
|
|
127
|
-
deleteAction?: Function;
|
|
128
|
-
/**
|
|
129
|
-
* 根据条件删除数据
|
|
130
|
-
*/
|
|
131
|
-
deleteByConditionAction?: Function;
|
|
132
|
-
/**
|
|
133
|
-
* 导出数据接口
|
|
134
|
-
*/
|
|
135
|
-
exportDataAction?: Function;
|
|
136
|
-
/**
|
|
137
|
-
* 下载模板接口
|
|
138
|
-
*/
|
|
139
|
-
downloadTemplateAction?: Function;
|
|
140
|
-
/**
|
|
141
|
-
* 自定义查询接口
|
|
142
|
-
*/
|
|
143
|
-
queryConditionAction?: Function;
|
|
144
|
-
/**
|
|
145
|
-
* 自定义查询接口
|
|
146
|
-
*/
|
|
147
|
-
queryOneByConditionAction?: Function;
|
|
148
|
-
/**
|
|
149
|
-
* 上载接口
|
|
150
|
-
*/
|
|
151
|
-
uploadAction?: Function;
|
|
152
|
-
/**
|
|
153
|
-
* 导入数据接口
|
|
154
|
-
*/
|
|
155
|
-
importAction?: Function;
|
|
156
|
-
/**
|
|
157
|
-
* 执行接口
|
|
158
|
-
*/
|
|
159
|
-
executeAction?: Function;
|
|
160
|
-
/**
|
|
161
|
-
* 修改字段接口,
|
|
162
|
-
* 接收的参数为:{
|
|
163
|
-
* columnsInfo:{},//要修改的字段及修改后的值
|
|
164
|
-
* conditions:[] //修改条件
|
|
165
|
-
* }
|
|
166
|
-
*/
|
|
167
|
-
modifyColumnsAction?: Function;
|
|
168
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { SearchParams } from "@/components/types/Params";
|
|
2
|
-
|
|
3
|
-
export declare interface DynamicParamField {
|
|
4
|
-
//参数名称
|
|
5
|
-
paramName: string;
|
|
6
|
-
//匹配类型
|
|
7
|
-
matchType: string;
|
|
8
|
-
//默认值
|
|
9
|
-
defaultValue?: any;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* 按钮事件
|
|
14
|
-
*/
|
|
15
|
-
export declare interface BtnAction {
|
|
16
|
-
//视图类型
|
|
17
|
-
viewType: "inter" | "comp" | "code" | "method";
|
|
18
|
-
//动态表单参数
|
|
19
|
-
idDynamicForm?: string;
|
|
20
|
-
//动态组件名称
|
|
21
|
-
componentName?: string;
|
|
22
|
-
//是否动态参数
|
|
23
|
-
isDynamicParam?: string;
|
|
24
|
-
//动态参数
|
|
25
|
-
params?: SearchParams[] | DynamicParamField[];
|
|
26
|
-
//接口地址
|
|
27
|
-
url?: string;
|
|
28
|
-
//请求方式
|
|
29
|
-
method?: string;
|
|
30
|
-
//是否需要确认
|
|
31
|
-
needConfirm?: string;
|
|
32
|
-
//确认提示信息
|
|
33
|
-
confirmMsg?: string;
|
|
34
|
-
//是否需要刷新
|
|
35
|
-
needRefresh?: string;
|
|
36
|
-
/**
|
|
37
|
-
* 接口执行完成后的动作,
|
|
38
|
-
* assignCurrentName 赋值当前名称
|
|
39
|
-
* assignForm 赋值给表单
|
|
40
|
-
*/
|
|
41
|
-
|
|
42
|
-
afterAction?: string;
|
|
43
|
-
/**
|
|
44
|
-
* 执行函数
|
|
45
|
-
*/
|
|
46
|
-
actions?: Function;
|
|
47
|
-
/**
|
|
48
|
-
* js代码块
|
|
49
|
-
*/
|
|
50
|
-
code?: string;
|
|
51
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 组件信息
|
|
3
|
-
*/
|
|
4
|
-
interface CompInfo {
|
|
5
|
-
//ID
|
|
6
|
-
id?: string;
|
|
7
|
-
//属性名称
|
|
8
|
-
name: string;
|
|
9
|
-
//标签名称
|
|
10
|
-
label: string;
|
|
11
|
-
//是否允许拖拽,默认允许
|
|
12
|
-
disableDrag: boolean;
|
|
13
|
-
//子元素
|
|
14
|
-
items?: Array<any>;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* 定义折叠面板数据格式
|
|
19
|
-
*/
|
|
20
|
-
export interface CustomerItem {
|
|
21
|
-
//折叠面板名称
|
|
22
|
-
name: string;
|
|
23
|
-
//折叠面板标题
|
|
24
|
-
title: string;
|
|
25
|
-
//面板内的数据元素
|
|
26
|
-
compItems?: Array<CompInfo>;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* 节点信息
|
|
31
|
-
*/
|
|
32
|
-
export interface NodeInfo {
|
|
33
|
-
//节点Id
|
|
34
|
-
id?: string;
|
|
35
|
-
//节点索引
|
|
36
|
-
index: number;
|
|
37
|
-
//节点样式
|
|
38
|
-
shape: string;
|
|
39
|
-
//节点名称
|
|
40
|
-
name: string;
|
|
41
|
-
//节点类型为空则取normal
|
|
42
|
-
compType?: string;
|
|
43
|
-
//标签名称
|
|
44
|
-
label: string;
|
|
45
|
-
//业务数据
|
|
46
|
-
data?: any;
|
|
47
|
-
//节点的x坐标
|
|
48
|
-
posX?: number;
|
|
49
|
-
//节点的y坐标
|
|
50
|
-
posY?: number;
|
|
51
|
-
//节点图标
|
|
52
|
-
icon?: string;
|
|
53
|
-
//节点宽度
|
|
54
|
-
width?: number;
|
|
55
|
-
//行高
|
|
56
|
-
lineHeight?: number;
|
|
57
|
-
//表格时的字段属性
|
|
58
|
-
items?: Array<any>;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* 边构建信息
|
|
63
|
-
*/
|
|
64
|
-
export interface EdgeInfo {
|
|
65
|
-
//边Id
|
|
66
|
-
id?: string;
|
|
67
|
-
//连接起点组件Id
|
|
68
|
-
sourceId: string;
|
|
69
|
-
//链接终点组件Id
|
|
70
|
-
targetId: string;
|
|
71
|
-
//链接起点桩
|
|
72
|
-
sourcePoint: string;
|
|
73
|
-
//链接终点桩
|
|
74
|
-
targetPoint: string;
|
|
75
|
-
//业务数据
|
|
76
|
-
data?: any;
|
|
77
|
-
//标签名称
|
|
78
|
-
label: string;
|
|
79
|
-
//标签颜色
|
|
80
|
-
color: string;
|
|
81
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { ApiUrls } from "@/components/types/ApiUrls";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 弹窗属性
|
|
5
|
-
*/
|
|
6
|
-
export type DialogProps = {
|
|
7
|
-
/**
|
|
8
|
-
* 批量编辑标题
|
|
9
|
-
*/
|
|
10
|
-
batchDialogTitle?: string;
|
|
11
|
-
/**
|
|
12
|
-
* 编辑标题
|
|
13
|
-
*/
|
|
14
|
-
dialogTitle?: string;
|
|
15
|
-
/**
|
|
16
|
-
* 批量编辑弹窗控制变量
|
|
17
|
-
*/
|
|
18
|
-
batchEditVisible?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* 编辑弹窗控制变量
|
|
21
|
-
*/
|
|
22
|
-
editVisible?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* 上传组件控制变量
|
|
25
|
-
*/
|
|
26
|
-
uploadVisible?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* 查看数据控制变量
|
|
29
|
-
*/
|
|
30
|
-
viewVisible?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* 弹窗显示/隐藏备用1
|
|
33
|
-
*/
|
|
34
|
-
bakeVisible1?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* 弹窗显示/隐藏备用2
|
|
37
|
-
*/
|
|
38
|
-
bakeVisible2?: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* 弹窗显示/隐藏备用3
|
|
41
|
-
*/
|
|
42
|
-
bakeVisible3?: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* 数据id
|
|
45
|
-
*/
|
|
46
|
-
ids?: number | string | undefined | null;
|
|
47
|
-
/**
|
|
48
|
-
* 是否扩展表
|
|
49
|
-
*/
|
|
50
|
-
isExpand?: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* 扩展表的接口API
|
|
53
|
-
*/
|
|
54
|
-
expandUrl?: ApiUrls;
|
|
55
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export interface DyCompField {
|
|
2
|
-
//组件名称
|
|
3
|
-
name: string;
|
|
4
|
-
//模板名称
|
|
5
|
-
template: any;
|
|
6
|
-
//数据定义
|
|
7
|
-
data?: any;
|
|
8
|
-
//参数
|
|
9
|
-
props?: any;
|
|
10
|
-
//执行方法
|
|
11
|
-
methods?: any;
|
|
12
|
-
//向外传递的事件
|
|
13
|
-
emits?: Array<string>;
|
|
14
|
-
//挂着方法
|
|
15
|
-
onMounted?: Function;
|
|
16
|
-
computed?: any;
|
|
17
|
-
//组件
|
|
18
|
-
components?: any;
|
|
19
|
-
//
|
|
20
|
-
onActivated?: Function;
|
|
21
|
-
onDeactivated?: Function;
|
|
22
|
-
watch?: any;
|
|
23
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
export declare interface DynamicNode {
|
|
2
|
-
/**
|
|
3
|
-
* 节点ID
|
|
4
|
-
*/
|
|
5
|
-
id: string;
|
|
6
|
-
/**
|
|
7
|
-
* 层级
|
|
8
|
-
*/
|
|
9
|
-
zIndex?: number;
|
|
10
|
-
/**
|
|
11
|
-
* 节点的宽度
|
|
12
|
-
*/
|
|
13
|
-
width: number;
|
|
14
|
-
/**
|
|
15
|
-
* 节点的高度
|
|
16
|
-
*/
|
|
17
|
-
height: number;
|
|
18
|
-
/**
|
|
19
|
-
* 节点的left位置
|
|
20
|
-
*/
|
|
21
|
-
left: number;
|
|
22
|
-
/**
|
|
23
|
-
* 节点的Top位置
|
|
24
|
-
*/
|
|
25
|
-
top: number;
|
|
26
|
-
/**
|
|
27
|
-
* 节点名称
|
|
28
|
-
*/
|
|
29
|
-
name: string;
|
|
30
|
-
/**
|
|
31
|
-
* 节点类型
|
|
32
|
-
*/
|
|
33
|
-
type?: string;
|
|
34
|
-
/**
|
|
35
|
-
* 节点属性
|
|
36
|
-
*/
|
|
37
|
-
properties?: any;
|
|
38
|
-
/**
|
|
39
|
-
* 子节点
|
|
40
|
-
*/
|
|
41
|
-
children?: DynamicNode[];
|
|
42
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
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
|
-
*/
|
|
26
|
-
export declare interface MenusInfo {
|
|
27
|
-
/**
|
|
28
|
-
* 菜单路径
|
|
29
|
-
*/
|
|
30
|
-
path: string;
|
|
31
|
-
/* @vite-ignore */
|
|
32
|
-
component: object;
|
|
33
|
-
/**
|
|
34
|
-
* 菜单名称
|
|
35
|
-
*/
|
|
36
|
-
name: string;
|
|
37
|
-
/**
|
|
38
|
-
* 子菜单
|
|
39
|
-
*/
|
|
40
|
-
children: Array<MenusInfo>;
|
|
41
|
-
/**
|
|
42
|
-
* 菜单meta 信息
|
|
43
|
-
*/
|
|
44
|
-
meta: Meta;
|
|
45
|
-
}
|