super-page-designer 2.1.52 → 2.1.55
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/dist/es/components/design/utils/assemblys-config.js +13 -22
- package/dist/es/components/design/utils/chart-design-util.js +17 -0
- package/dist/es/components/design/utils/data-table-util.js +11 -9
- package/dist/es/components/design/views/assemblys/chart/column-line/column-line-attr.vue2.js +5 -5
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-data.vue.js +60 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-events.vue.js +22 -0
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-events.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/chart/common/common-style-yaxis.vue.js +89 -23
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +13 -5
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-pageination.vue.js +347 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-pageination.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-advanced.vue.js +1 -4
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue.js +77 -50
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.d.ts +9 -0
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue2.js +1 -734
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +738 -1
- package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +9 -2
- package/dist/es/components/design/views/assemblys/common-attr-events.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +1 -11
- package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +31 -5
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +5 -37
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-attr.vue2.js +3 -2
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-style.vue.js +5 -3
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +45 -1
- package/dist/es/components/design/views/assemblys/page/variable-dialog.vue.js +30 -1
- package/dist/es/components/design/views/design/page-event/config.vue.js +1 -7
- package/dist/es/components/design/views/design/page-event/config.vue2.js +7 -1
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
- package/dist/es/style.css +35 -35
- package/package.json +5 -5
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +0 -205
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue2.js +0 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "super-page-designer",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.55",
|
|
4
4
|
"description": "AgileBuilder super page designer",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/es/index.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@logicflow/layout": "1.2.0-alpha.16",
|
|
29
29
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
30
30
|
"@vueuse/core": "^10.9.0",
|
|
31
|
-
"agilebuilder-ui": "1.0.
|
|
31
|
+
"agilebuilder-ui": "1.0.87",
|
|
32
32
|
"echarts": "^5.5.0",
|
|
33
33
|
"element-plus": "^2.6.1",
|
|
34
34
|
"font-awesome": "^4.7.0",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"pinia": "^2.1.7",
|
|
40
40
|
"qrcode": "^1.5.3",
|
|
41
41
|
"quill": "^2.0.1",
|
|
42
|
-
"service-flow-designer": "2.1.
|
|
43
|
-
"super-page-runtime": "2.1.
|
|
42
|
+
"service-flow-designer": "2.1.53",
|
|
43
|
+
"super-page-runtime": "2.1.54",
|
|
44
44
|
"uuid": "^9.0.1",
|
|
45
45
|
"vite": "^5.1.6",
|
|
46
46
|
"vite-plugin-node-stdlib-browser": "^0.2.1",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"vue-echarts": "^6.6.9",
|
|
52
52
|
"vue-router": "^4.3.0",
|
|
53
53
|
"vuex": "^4.1.0",
|
|
54
|
-
"workflow-editor": "0.0.
|
|
54
|
+
"workflow-editor": "0.0.45-up"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@codemirror/autocomplete": "^6.16.0",
|
|
@@ -1,205 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, unref, createBlock, createTextVNode } from "vue";
|
|
2
|
-
import _sfc_main$1 from "./table-showcondition.vue.js";
|
|
3
|
-
import _sfc_main$2 from "../../../form/common/suffixmodule.vue.js";
|
|
4
|
-
import { getCustomFuncs } from "../../../../../utils/page-event-util.js";
|
|
5
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
-
__name: "link-table",
|
|
7
|
-
props: {
|
|
8
|
-
data: {
|
|
9
|
-
type: Array,
|
|
10
|
-
default: () => []
|
|
11
|
-
},
|
|
12
|
-
// 页面设计对象
|
|
13
|
-
pageDesign: {
|
|
14
|
-
type: Object,
|
|
15
|
-
default: () => {
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
// 变量显示类型
|
|
19
|
-
paramTypes: {
|
|
20
|
-
type: Array,
|
|
21
|
-
default: () => ["data", "task", "page", "request"]
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
emits: ["dataChange"],
|
|
25
|
-
setup(__props, { emit: __emit }) {
|
|
26
|
-
const props = __props;
|
|
27
|
-
const emit = __emit;
|
|
28
|
-
const tableData = ref([]);
|
|
29
|
-
if (props.data) {
|
|
30
|
-
tableData.value = props.data;
|
|
31
|
-
}
|
|
32
|
-
const dialogTableVisible = ref(false);
|
|
33
|
-
if (!tableData.value || tableData.value.length == 0) {
|
|
34
|
-
tableData.value.push({
|
|
35
|
-
showCondition: [],
|
|
36
|
-
eventCallBack: "",
|
|
37
|
-
style: {},
|
|
38
|
-
linkPage: {}
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
function addData(rowItem, index) {
|
|
42
|
-
tableData.value.splice(index + 1, 0, {
|
|
43
|
-
showCondition: [],
|
|
44
|
-
eventCallBack: "",
|
|
45
|
-
style: {}
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
function deleteData(rowItem, index) {
|
|
49
|
-
console.log("%c描述-111955", "color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px", index);
|
|
50
|
-
if (tableData.value.length == 1) {
|
|
51
|
-
rowItem.showCondition = [], rowItem.eventCallBack = "", rowItem.style = {};
|
|
52
|
-
return;
|
|
53
|
-
}
|
|
54
|
-
tableData.value.splice(index, 1);
|
|
55
|
-
}
|
|
56
|
-
const linkData = ref({});
|
|
57
|
-
const linkIndex = ref(0);
|
|
58
|
-
function linkConfig(data, index) {
|
|
59
|
-
linkData.value = data;
|
|
60
|
-
dialogTableVisible.value = true;
|
|
61
|
-
linkIndex.value = index;
|
|
62
|
-
}
|
|
63
|
-
function handleClose() {
|
|
64
|
-
tableData.value[linkIndex.value].linkPage = linkData.value;
|
|
65
|
-
dialogTableVisible.value = false;
|
|
66
|
-
}
|
|
67
|
-
watch(
|
|
68
|
-
() => tableData.value,
|
|
69
|
-
(newVal) => {
|
|
70
|
-
if (Object.keys(newVal[0].linkPage).length > 0) {
|
|
71
|
-
emit("dataChange", tableData.value);
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
{ deep: true }
|
|
75
|
-
);
|
|
76
|
-
return (_ctx, _cache) => {
|
|
77
|
-
const _component_el_table_column = resolveComponent("el-table-column");
|
|
78
|
-
const _component_el_option = resolveComponent("el-option");
|
|
79
|
-
const _component_el_select = resolveComponent("el-select");
|
|
80
|
-
const _component_el_button = resolveComponent("el-button");
|
|
81
|
-
const _component_Plus = resolveComponent("Plus");
|
|
82
|
-
const _component_el_icon = resolveComponent("el-icon");
|
|
83
|
-
const _component_Delete = resolveComponent("Delete");
|
|
84
|
-
const _component_el_table = resolveComponent("el-table");
|
|
85
|
-
const _component_el_dialog = resolveComponent("el-dialog");
|
|
86
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
87
|
-
createVNode(_component_el_table, {
|
|
88
|
-
data: tableData.value,
|
|
89
|
-
style: { "width": "100%" }
|
|
90
|
-
}, {
|
|
91
|
-
default: withCtx(() => [
|
|
92
|
-
createVNode(_component_el_table_column, {
|
|
93
|
-
label: "条件",
|
|
94
|
-
width: "55",
|
|
95
|
-
align: "center"
|
|
96
|
-
}, {
|
|
97
|
-
default: withCtx((scope) => [
|
|
98
|
-
createVNode(_sfc_main$1, {
|
|
99
|
-
paramTypes: __props.paramTypes,
|
|
100
|
-
data: scope.row.showCondition
|
|
101
|
-
}, null, 8, ["paramTypes", "data"])
|
|
102
|
-
]),
|
|
103
|
-
_: 1
|
|
104
|
-
}),
|
|
105
|
-
createVNode(_component_el_table_column, {
|
|
106
|
-
label: "自定义条件",
|
|
107
|
-
align: "center"
|
|
108
|
-
}, {
|
|
109
|
-
default: withCtx((scope) => [
|
|
110
|
-
createVNode(_component_el_select, {
|
|
111
|
-
modelValue: scope.row.scopeFunc,
|
|
112
|
-
"onUpdate:modelValue": ($event) => scope.row.scopeFunc = $event,
|
|
113
|
-
clearable: "",
|
|
114
|
-
title: scope.row.scopeFunc,
|
|
115
|
-
size: "small",
|
|
116
|
-
placeholder: "请选择"
|
|
117
|
-
}, {
|
|
118
|
-
default: withCtx(() => [
|
|
119
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(getCustomFuncs)(), (item) => {
|
|
120
|
-
return openBlock(), createBlock(_component_el_option, {
|
|
121
|
-
key: item.value,
|
|
122
|
-
label: item.label,
|
|
123
|
-
value: item.value
|
|
124
|
-
}, null, 8, ["label", "value"]);
|
|
125
|
-
}), 128))
|
|
126
|
-
]),
|
|
127
|
-
_: 2
|
|
128
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "title"])
|
|
129
|
-
]),
|
|
130
|
-
_: 1
|
|
131
|
-
}),
|
|
132
|
-
createVNode(_component_el_table_column, {
|
|
133
|
-
prop: "value",
|
|
134
|
-
label: "链接",
|
|
135
|
-
width: "55",
|
|
136
|
-
align: "center"
|
|
137
|
-
}, {
|
|
138
|
-
default: withCtx((scope) => [
|
|
139
|
-
createVNode(_component_el_button, {
|
|
140
|
-
type: "primary",
|
|
141
|
-
onClick: ($event) => linkConfig(scope.row.linkPage, scope.$index)
|
|
142
|
-
}, {
|
|
143
|
-
default: withCtx(() => [
|
|
144
|
-
createTextVNode("设置")
|
|
145
|
-
]),
|
|
146
|
-
_: 2
|
|
147
|
-
}, 1032, ["onClick"])
|
|
148
|
-
]),
|
|
149
|
-
_: 1
|
|
150
|
-
}),
|
|
151
|
-
createVNode(_component_el_table_column, {
|
|
152
|
-
label: "操作",
|
|
153
|
-
align: "center"
|
|
154
|
-
}, {
|
|
155
|
-
default: withCtx((scope) => [
|
|
156
|
-
createVNode(_component_el_icon, {
|
|
157
|
-
size: "14",
|
|
158
|
-
style: { "color": "#5893ef", "cursor": "pointer", "font-weight": "bold", "margin-right": "8px" },
|
|
159
|
-
onClick: ($event) => addData(scope.row, scope.$index)
|
|
160
|
-
}, {
|
|
161
|
-
default: withCtx(() => [
|
|
162
|
-
createVNode(_component_Plus)
|
|
163
|
-
]),
|
|
164
|
-
_: 2
|
|
165
|
-
}, 1032, ["onClick"]),
|
|
166
|
-
createVNode(_component_el_icon, {
|
|
167
|
-
size: "14",
|
|
168
|
-
style: { "color": "#5893ef", "cursor": "pointer" },
|
|
169
|
-
onClick: ($event) => deleteData(scope.row, scope.$index)
|
|
170
|
-
}, {
|
|
171
|
-
default: withCtx(() => [
|
|
172
|
-
createVNode(_component_Delete)
|
|
173
|
-
]),
|
|
174
|
-
_: 2
|
|
175
|
-
}, 1032, ["onClick"])
|
|
176
|
-
]),
|
|
177
|
-
_: 1
|
|
178
|
-
})
|
|
179
|
-
]),
|
|
180
|
-
_: 1
|
|
181
|
-
}, 8, ["data"]),
|
|
182
|
-
createVNode(_component_el_dialog, {
|
|
183
|
-
modelValue: dialogTableVisible.value,
|
|
184
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dialogTableVisible.value = $event),
|
|
185
|
-
title: "超链接设置",
|
|
186
|
-
"before-close": handleClose,
|
|
187
|
-
width: "900",
|
|
188
|
-
"append-to-body": ""
|
|
189
|
-
}, {
|
|
190
|
-
default: withCtx(() => [
|
|
191
|
-
createVNode(_sfc_main$2, {
|
|
192
|
-
isDialog: true,
|
|
193
|
-
configure: linkData.value,
|
|
194
|
-
pageDesign: __props.pageDesign
|
|
195
|
-
}, null, 8, ["configure", "pageDesign"])
|
|
196
|
-
]),
|
|
197
|
-
_: 1
|
|
198
|
-
}, 8, ["modelValue"])
|
|
199
|
-
], 64);
|
|
200
|
-
};
|
|
201
|
-
}
|
|
202
|
-
});
|
|
203
|
-
export {
|
|
204
|
-
_sfc_main as default
|
|
205
|
-
};
|