ap-dev 1.2.24 → 1.2.26
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/abap/ApiPanel/components/ApiContent.vue +1 -1
- package/abap/ApiPanel/components/ApiTable.vue +1 -1
- package/abap/ApiPanel/components/ApiTittle1.vue +1 -1
- package/abap/ApiPanel/components/ApiTittle2.vue +1 -1
- package/abap/ApiPanel/components/index.js +1 -1
- package/abap/CodePanel/abapKeywords.js +6 -6
- package/abap/CodePanel/componentMenus.js +28 -28
- package/abap/ConfigPanel/AbapCustomTable.vue +122 -122
- package/abap/ConfigPanel/AbapDocHistory.vue +145 -145
- package/abap/ConfigPanel/AbapSql.vue +81 -81
- package/abap/ConfigPanel/AbapTable.vue +379 -379
- package/abap/ConfigPanel/AbapTableCondition.vue +213 -213
- package/abap/ConfigPanel/AbapTableLink.vue +391 -391
- package/abap/SqlPanel/index.vue +1088 -1088
- package/abap/abap/abapStore.js +27 -27
- package/abap/abap/index.vue +87 -87
- package/abap/components/SapTable.vue +129 -129
- package/abap/components/SapTableField.vue +161 -161
- package/dev/ApiPanel/components/ApiCode.vue +1 -1
- package/dev/ApiPanel/components/ApiContent.vue +1 -1
- package/dev/ApiPanel/components/ApiTable.vue +1 -1
- package/dev/ApiPanel/components/ApiTittle1.vue +1 -1
- package/dev/ApiPanel/components/ApiTittle2.vue +1 -1
- package/dev/ApiPanel/components/index.js +1 -1
- package/dev/ApiPanel/modules/ApiBaseLayout.vue +1 -1
- package/dev/BackgroundPanel/index.vue +19 -0
- package/dev/ComponentsPanel/items/ApDevItemBase.vue +1 -1
- package/dev/ComponentsPanel/items/ApDevItemButton.vue +1 -1
- package/dev/ComponentsPanel/items/ApDevItemChartBar.vue +1 -1
- package/dev/ComponentsPanel/items/ApDevItemChartGauge.vue +1 -1
- package/dev/ComponentsPanel/items/ApDevItemChartLine.vue +1 -1
- package/dev/ComponentsPanel/items/ApDevItemChartPie.vue +1 -1
- package/dev/ComponentsPanel/items/ApDevItemChartRadar.vue +1 -1
- package/dev/ComponentsPanel/items/ApDevItemCheckbox.vue +1 -1
- package/dev/ComponentsPanel/items/ApDevItemDateTime.vue +1 -1
- package/dev/ComponentsPanel/items/ApDevItemForm.vue +1 -1
- package/dev/ComponentsPanel/items/ApDevItemInput.vue +1 -1
- package/dev/ComponentsPanel/items/ApDevItemInputNumber.vue +1 -1
- package/dev/ComponentsPanel/items/ApDevItemLoading.vue +1 -1
- package/dev/ComponentsPanel/items/ApDevItemRadio.vue +1 -1
- package/dev/ComponentsPanel/items/ApDevItemSelect.vue +1 -1
- package/dev/ComponentsPanel/items/ApDevItemSwitch.vue +1 -1
- package/dev/ComponentsPanel/items/ApDevItemTooltip.vue +1 -1
- package/dev/ComponentsPanel/items/ApDevItemTree.vue +1 -1
- package/dev/ComponentsPanel/items/ApDevItemUpload.vue +1 -1
- package/dev/ComponentsPanel/items/test.vue +1 -1
- package/dev/ConfigPanel/DevCpt.vue +1036 -1036
- package/dev/ConfigPanel/DevCptBase.vue +210 -210
- package/dev/ConfigPanel/DevDbSource.vue +108 -108
- package/dev/ConfigPanel/DevDbUserSource.vue +117 -117
- package/dev/ConfigPanel/DevDocHistory.vue +145 -145
- package/dev/ConfigPanel/DevMyConfig.vue +205 -205
- package/dev/ConfigPanel/index.vue +0 -1
- package/dev/CustomPanel/CustomComponents.vue +10 -10
- package/dev/CustomPanel/CustomDataTree.vue +1 -1
- package/dev/CustomPanel/CustomTools.vue +1 -1
- package/dev/CustomPanel/index.vue +1 -1
- package/dev/CustomPanel/items/ApDevCheckbox.vue +7 -7
- package/dev/CustomPanel/items/ApDevCheckboxProp.vue +1 -1
- package/dev/CustomPanel/items/ApDevContainerRow.vue +155 -155
- package/dev/CustomPanel/items/ApDevContainerRowProp.vue +39 -39
- package/dev/CustomPanel/items/ApDevDateTime.vue +5 -5
- package/dev/CustomPanel/items/ApDevDateTimeProp.vue +1 -1
- package/dev/CustomPanel/items/ApDevDefaultProp.vue +20 -20
- package/dev/CustomPanel/items/ApDevInput.vue +49 -49
- package/dev/CustomPanel/items/ApDevInputNumber.vue +57 -57
- package/dev/CustomPanel/items/ApDevInputNumberProp.vue +96 -96
- package/dev/CustomPanel/items/ApDevInputProp.vue +85 -85
- package/dev/CustomPanel/items/ApDevRadio.vue +7 -7
- package/dev/CustomPanel/items/ApDevRadioProp.vue +1 -1
- package/dev/CustomPanel/items/ApDevSelect.vue +314 -314
- package/dev/CustomPanel/items/ApDevSelectProp.vue +83 -83
- package/dev/CustomPanel/items/ApDevTree.vue +5 -5
- package/dev/CustomPanel/items/ApDevTreeProp.vue +1 -1
- package/dev/CustomPanel/items/ApDevUpload.vue +6 -6
- package/dev/CustomPanel/items/ApDevUploadProp.vue +1 -1
- package/dev/CustomPanel/items/base/ApDevBase.vue +1 -1
- package/dev/CustomPanel/items/base/ApDevItemBase.vue +2 -2
- package/dev/CustomPanel/items/base/ApDevPropBase.vue +1 -1
- package/dev/CustomPanel/items/base/ApDevPropStyle.vue +93 -93
- package/dev/DbDesignPanel/DevDbField.vue +333 -611
- package/dev/DbDesignPanel/DevDbSync.vue +437 -613
- package/dev/DbDesignPanel/DevDbTable.vue +6 -6
- package/dev/DbDesignPanel/DevDbTableDialog.vue +284 -216
- package/dev/DbDesignPanel/index.vue +41 -24
- package/dev/OperatePanel/index.vue +0 -1
- package/dev/dev/DevUtil.js +31 -31
- package/dev/dev/devConfig.js +99 -99
- package/dev/dev/devStore.js +368 -368
- package/dev/dev/index.vue +85 -85
- package/ops/ApiPanel/components/ApiContent.vue +1 -1
- package/ops/ApiPanel/components/ApiTable.vue +1 -1
- package/ops/ApiPanel/components/ApiTittle1.vue +1 -1
- package/ops/ApiPanel/components/ApiTittle2.vue +1 -1
- package/ops/ApiPanel/components/index.js +1 -1
- package/ops/ConfigPanel/OpsDocHistory.vue +145 -145
- package/ops/OperatePanel/index.vue +0 -1
- package/ops/ops/index.vue +60 -60
- package/ops/ops/opsStore.js +27 -27
- package/package.json +1 -1
package/dev/dev/DevUtil.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
// 四个缓存对象
|
|
2
|
-
// configForm -> vueUrl、javaUrl
|
|
3
|
-
// currentComp -> name
|
|
4
|
-
// singleTableForm
|
|
5
|
-
// multiTableForm
|
|
6
|
-
import Vue from 'vue'
|
|
7
|
-
export function getLocalData(key) {
|
|
8
|
-
const item = localStorage.getItem('ap-dev')
|
|
9
|
-
if (item == null) {
|
|
10
|
-
return {}
|
|
11
|
-
}
|
|
12
|
-
const res = JSON.parse(item)[key]
|
|
13
|
-
if (res == null) {
|
|
14
|
-
return {}
|
|
15
|
-
}
|
|
16
|
-
return res
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export function setLocalData(key, value) {
|
|
20
|
-
const item = localStorage.getItem('ap-dev')
|
|
21
|
-
let data = {}
|
|
22
|
-
if (item != null) {
|
|
23
|
-
data = JSON.parse(item)
|
|
24
|
-
}
|
|
25
|
-
data[key] = value
|
|
26
|
-
localStorage.setItem('ap-dev', JSON.stringify(data))
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export function getUserConfig() {
|
|
30
|
-
return getLocalData("userConfig")
|
|
31
|
-
}
|
|
1
|
+
// 四个缓存对象
|
|
2
|
+
// configForm -> vueUrl、javaUrl
|
|
3
|
+
// currentComp -> name
|
|
4
|
+
// singleTableForm
|
|
5
|
+
// multiTableForm
|
|
6
|
+
import Vue from 'vue'
|
|
7
|
+
export function getLocalData(key) {
|
|
8
|
+
const item = localStorage.getItem('ap-dev')
|
|
9
|
+
if (item == null) {
|
|
10
|
+
return {}
|
|
11
|
+
}
|
|
12
|
+
const res = JSON.parse(item)[key]
|
|
13
|
+
if (res == null) {
|
|
14
|
+
return {}
|
|
15
|
+
}
|
|
16
|
+
return res
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export function setLocalData(key, value) {
|
|
20
|
+
const item = localStorage.getItem('ap-dev')
|
|
21
|
+
let data = {}
|
|
22
|
+
if (item != null) {
|
|
23
|
+
data = JSON.parse(item)
|
|
24
|
+
}
|
|
25
|
+
data[key] = value
|
|
26
|
+
localStorage.setItem('ap-dev', JSON.stringify(data))
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export function getUserConfig() {
|
|
30
|
+
return getLocalData("userConfig")
|
|
31
|
+
}
|
package/dev/dev/devConfig.js
CHANGED
|
@@ -1,99 +1,99 @@
|
|
|
1
|
-
const devComponents = [{
|
|
2
|
-
title: '输入型',
|
|
3
|
-
list: [{
|
|
4
|
-
title: '输入框',
|
|
5
|
-
icon: 'el-icon-input',
|
|
6
|
-
type: 'input'
|
|
7
|
-
}, {
|
|
8
|
-
title: '计数器',
|
|
9
|
-
icon: 'el-icon-input-number',
|
|
10
|
-
type: 'input-number'
|
|
11
|
-
}, {
|
|
12
|
-
title: '表单',
|
|
13
|
-
icon: 'el-icon-form',
|
|
14
|
-
type: 'form'
|
|
15
|
-
}]
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
title: '选择型',
|
|
19
|
-
list: [{
|
|
20
|
-
title: '按钮',
|
|
21
|
-
icon: 'el-icon-button',
|
|
22
|
-
type: 'button'
|
|
23
|
-
}, {
|
|
24
|
-
title: '开关',
|
|
25
|
-
icon: 'el-icon-switch',
|
|
26
|
-
type: 'switch'
|
|
27
|
-
}, {
|
|
28
|
-
title: '下拉框',
|
|
29
|
-
icon: 'el-icon-select',
|
|
30
|
-
type: 'select'
|
|
31
|
-
}, {
|
|
32
|
-
title: '日期时间',
|
|
33
|
-
icon: 'el-icon-date-time',
|
|
34
|
-
type: 'date-time'
|
|
35
|
-
}, {
|
|
36
|
-
title: '多选框',
|
|
37
|
-
icon: 'el-icon-check-square-o',
|
|
38
|
-
type: 'checkbox'
|
|
39
|
-
}, {
|
|
40
|
-
title: '单选框',
|
|
41
|
-
icon: 'el-icon-radio',
|
|
42
|
-
type: 'radio'
|
|
43
|
-
}, {
|
|
44
|
-
title: '树形控件',
|
|
45
|
-
icon: 'el-icon-tree',
|
|
46
|
-
type: 'tree'
|
|
47
|
-
}, {
|
|
48
|
-
title: '上传',
|
|
49
|
-
icon: 'el-icon-upload',
|
|
50
|
-
type: 'upload'
|
|
51
|
-
}]
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
title: '图表',
|
|
55
|
-
list: [{
|
|
56
|
-
title: '柱状图',
|
|
57
|
-
icon: 'el-icon-chart-bar',
|
|
58
|
-
type: 'chart-bar'
|
|
59
|
-
}, {
|
|
60
|
-
title: '折线图',
|
|
61
|
-
icon: 'el-icon-chart-line',
|
|
62
|
-
type: 'chart-line'
|
|
63
|
-
}, {
|
|
64
|
-
title: '饼图',
|
|
65
|
-
icon: 'el-icon-chart-pie',
|
|
66
|
-
type: 'chart-pie'
|
|
67
|
-
}, {
|
|
68
|
-
title: '雷达图',
|
|
69
|
-
icon: 'el-icon-chart-radar',
|
|
70
|
-
type: 'chart-radar'
|
|
71
|
-
}, {
|
|
72
|
-
title: '仪表盘',
|
|
73
|
-
icon: 'el-icon-chart-gauge',
|
|
74
|
-
type: 'chart-gauge'
|
|
75
|
-
}]
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
title: '其它',
|
|
79
|
-
list: [{
|
|
80
|
-
title: '加载遮罩',
|
|
81
|
-
icon: 'el-icon-loading',
|
|
82
|
-
type: 'loading'
|
|
83
|
-
}, {
|
|
84
|
-
title: '文字提示',
|
|
85
|
-
icon: 'el-icon-tooltip',
|
|
86
|
-
type: 'tooltip'
|
|
87
|
-
}]
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
title: '容器',
|
|
91
|
-
list: [{
|
|
92
|
-
title: '行容器',
|
|
93
|
-
icon: 'el-icon-container-row',
|
|
94
|
-
type: 'container-row'
|
|
95
|
-
}]
|
|
96
|
-
}
|
|
97
|
-
]
|
|
98
|
-
|
|
99
|
-
export default devComponents
|
|
1
|
+
const devComponents = [{
|
|
2
|
+
title: '输入型',
|
|
3
|
+
list: [{
|
|
4
|
+
title: '输入框',
|
|
5
|
+
icon: 'el-icon-input',
|
|
6
|
+
type: 'input'
|
|
7
|
+
}, {
|
|
8
|
+
title: '计数器',
|
|
9
|
+
icon: 'el-icon-input-number',
|
|
10
|
+
type: 'input-number'
|
|
11
|
+
}, {
|
|
12
|
+
title: '表单',
|
|
13
|
+
icon: 'el-icon-form',
|
|
14
|
+
type: 'form'
|
|
15
|
+
}]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
title: '选择型',
|
|
19
|
+
list: [{
|
|
20
|
+
title: '按钮',
|
|
21
|
+
icon: 'el-icon-button',
|
|
22
|
+
type: 'button'
|
|
23
|
+
}, {
|
|
24
|
+
title: '开关',
|
|
25
|
+
icon: 'el-icon-switch',
|
|
26
|
+
type: 'switch'
|
|
27
|
+
}, {
|
|
28
|
+
title: '下拉框',
|
|
29
|
+
icon: 'el-icon-select',
|
|
30
|
+
type: 'select'
|
|
31
|
+
}, {
|
|
32
|
+
title: '日期时间',
|
|
33
|
+
icon: 'el-icon-date-time',
|
|
34
|
+
type: 'date-time'
|
|
35
|
+
}, {
|
|
36
|
+
title: '多选框',
|
|
37
|
+
icon: 'el-icon-check-square-o',
|
|
38
|
+
type: 'checkbox'
|
|
39
|
+
}, {
|
|
40
|
+
title: '单选框',
|
|
41
|
+
icon: 'el-icon-radio',
|
|
42
|
+
type: 'radio'
|
|
43
|
+
}, {
|
|
44
|
+
title: '树形控件',
|
|
45
|
+
icon: 'el-icon-tree',
|
|
46
|
+
type: 'tree'
|
|
47
|
+
}, {
|
|
48
|
+
title: '上传',
|
|
49
|
+
icon: 'el-icon-upload',
|
|
50
|
+
type: 'upload'
|
|
51
|
+
}]
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
title: '图表',
|
|
55
|
+
list: [{
|
|
56
|
+
title: '柱状图',
|
|
57
|
+
icon: 'el-icon-chart-bar',
|
|
58
|
+
type: 'chart-bar'
|
|
59
|
+
}, {
|
|
60
|
+
title: '折线图',
|
|
61
|
+
icon: 'el-icon-chart-line',
|
|
62
|
+
type: 'chart-line'
|
|
63
|
+
}, {
|
|
64
|
+
title: '饼图',
|
|
65
|
+
icon: 'el-icon-chart-pie',
|
|
66
|
+
type: 'chart-pie'
|
|
67
|
+
}, {
|
|
68
|
+
title: '雷达图',
|
|
69
|
+
icon: 'el-icon-chart-radar',
|
|
70
|
+
type: 'chart-radar'
|
|
71
|
+
}, {
|
|
72
|
+
title: '仪表盘',
|
|
73
|
+
icon: 'el-icon-chart-gauge',
|
|
74
|
+
type: 'chart-gauge'
|
|
75
|
+
}]
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
title: '其它',
|
|
79
|
+
list: [{
|
|
80
|
+
title: '加载遮罩',
|
|
81
|
+
icon: 'el-icon-loading',
|
|
82
|
+
type: 'loading'
|
|
83
|
+
}, {
|
|
84
|
+
title: '文字提示',
|
|
85
|
+
icon: 'el-icon-tooltip',
|
|
86
|
+
type: 'tooltip'
|
|
87
|
+
}]
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
title: '容器',
|
|
91
|
+
list: [{
|
|
92
|
+
title: '行容器',
|
|
93
|
+
icon: 'el-icon-container-row',
|
|
94
|
+
type: 'container-row'
|
|
95
|
+
}]
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
|
|
99
|
+
export default devComponents
|