super-page-designer 2.1.82 → 2.1.83
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/views/assemblys/button/button/button-attr-event.vue.js +7 -3
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +24 -15
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/container/card/card-attr.vue2.js +7 -4
- package/dist/es/components/design/views/assemblys/object-design.vue.js +0 -1
- package/package.json +3 -3
- /package/dist/es/components/design/views/assemblys/common/{common-variable-bind.vue3.js → common-variable-bind.vue2.js} +0 -0
|
@@ -8,9 +8,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
8
8
|
setup(__props) {
|
|
9
9
|
const props = __props;
|
|
10
10
|
const events = ref([]);
|
|
11
|
-
watch(
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
watch(
|
|
12
|
+
() => props.configure.events,
|
|
13
|
+
(newVal) => {
|
|
14
|
+
events.value = props.configure.events;
|
|
15
|
+
},
|
|
16
|
+
{ immediate: true }
|
|
17
|
+
);
|
|
14
18
|
return (_ctx, _cache) => {
|
|
15
19
|
const _component_el_form = resolveComponent("el-form");
|
|
16
20
|
return openBlock(), createBlock(_component_el_form, {
|
|
@@ -47,14 +47,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
47
47
|
}
|
|
48
48
|
const dialogTableVisible = ref(false);
|
|
49
49
|
const myTableConfigure = ref(props.tableConfigure);
|
|
50
|
-
if (!tableData.value || tableData.value.length == 0) {
|
|
51
|
-
tableData.value.push({
|
|
52
|
-
showCondition: [],
|
|
53
|
-
eventCallBack: "",
|
|
54
|
-
style: {},
|
|
55
|
-
linkPage: {}
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
50
|
function addData(rowItem, index) {
|
|
59
51
|
tableData.value.splice(index + 1, 0, {
|
|
60
52
|
showCondition: [],
|
|
@@ -63,12 +55,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
63
55
|
linkPage: {}
|
|
64
56
|
});
|
|
65
57
|
}
|
|
66
|
-
function
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
58
|
+
function addDataToLatest() {
|
|
59
|
+
if (!tableData.value || tableData.value.length === 0) {
|
|
60
|
+
tableData.value = [];
|
|
61
|
+
addData(null, -1);
|
|
62
|
+
} else {
|
|
63
|
+
addData(null, tableData.value.length - 1);
|
|
71
64
|
}
|
|
65
|
+
}
|
|
66
|
+
function deleteData(rowItem, index) {
|
|
72
67
|
tableData.value.splice(index, 1);
|
|
73
68
|
}
|
|
74
69
|
const linkData = ref({});
|
|
@@ -89,8 +84,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
89
84
|
watch(
|
|
90
85
|
() => tableData.value,
|
|
91
86
|
(newVal) => {
|
|
92
|
-
if (
|
|
87
|
+
if (newVal.length > 0) {
|
|
93
88
|
emit("dataChange", tableData.value);
|
|
89
|
+
} else {
|
|
90
|
+
emit("dataChange", null);
|
|
94
91
|
}
|
|
95
92
|
},
|
|
96
93
|
{ deep: true }
|
|
@@ -184,6 +181,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
184
181
|
label: "操作",
|
|
185
182
|
align: "center"
|
|
186
183
|
}, {
|
|
184
|
+
header: withCtx(() => [
|
|
185
|
+
createVNode(_component_el_icon, {
|
|
186
|
+
size: "14",
|
|
187
|
+
style: { "color": "#5893ef", "cursor": "pointer" },
|
|
188
|
+
onClick: _cache[0] || (_cache[0] = ($event) => addDataToLatest())
|
|
189
|
+
}, {
|
|
190
|
+
default: withCtx(() => [
|
|
191
|
+
createVNode(_component_Plus)
|
|
192
|
+
]),
|
|
193
|
+
_: 1
|
|
194
|
+
})
|
|
195
|
+
]),
|
|
187
196
|
default: withCtx((scope) => [
|
|
188
197
|
createVNode(_component_el_icon, {
|
|
189
198
|
size: "14",
|
|
@@ -214,7 +223,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
214
223
|
dialogTableVisible.value ? (openBlock(), createBlock(_component_el_dialog, {
|
|
215
224
|
key: 0,
|
|
216
225
|
modelValue: dialogTableVisible.value,
|
|
217
|
-
"onUpdate:modelValue": _cache[
|
|
226
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => dialogTableVisible.value = $event),
|
|
218
227
|
title: "超链接设置",
|
|
219
228
|
"before-close": handleClose,
|
|
220
229
|
width: "900",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _sfc_main from "./common-variable-bind.
|
|
1
|
+
import _sfc_main from "./common-variable-bind.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const BindVariable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3528c938"]]);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, resolveComponent, openBlock, createElementBlock, createElementVNode, normalizeClass, unref, isRef, createTextVNode, createBlock, createCommentVNode, withDirectives, createVNode, vShow } from "vue";
|
|
2
2
|
import _sfc_main$1 from "./card-attr-base.vue.js";
|
|
3
3
|
import _sfc_main$2 from "./card-attr-style.vue.js";
|
|
4
|
-
import
|
|
5
|
-
import _sfc_main$
|
|
4
|
+
import AttrEvent from "../../form/common/attr-event.vue.js";
|
|
5
|
+
import _sfc_main$3 from "./card-attr-advanced.vue.js";
|
|
6
6
|
const _hoisted_1 = { class: "amb-design-attr-content" };
|
|
7
7
|
const _hoisted_2 = { class: "amb-design-attr-header" };
|
|
8
8
|
const _hoisted_3 = { class: "amb-design-attr-header-type" };
|
|
@@ -85,10 +85,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
85
85
|
withDirectives(createVNode(_sfc_main$2, { configure: __props.configure }, null, 8, ["configure"]), [
|
|
86
86
|
[vShow, unref(selAsselbyType) == "style"]
|
|
87
87
|
]),
|
|
88
|
-
withDirectives(createVNode(
|
|
88
|
+
withDirectives(createVNode(AttrEvent, {
|
|
89
|
+
configure: __props.configure,
|
|
90
|
+
events: __props.configure.events
|
|
91
|
+
}, null, 8, ["configure", "events"]), [
|
|
89
92
|
[vShow, unref(selAsselbyType) == "event"]
|
|
90
93
|
]),
|
|
91
|
-
withDirectives(createVNode(_sfc_main$
|
|
94
|
+
withDirectives(createVNode(_sfc_main$3, { configure: __props.configure }, null, 8, ["configure"]), [
|
|
92
95
|
[vShow, unref(selAsselbyType) == "advanced"]
|
|
93
96
|
])
|
|
94
97
|
])
|
|
@@ -286,7 +286,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
286
286
|
return style;
|
|
287
287
|
});
|
|
288
288
|
watch(props.selectWidget, (newValue) => {
|
|
289
|
-
console.log("watch----props.selectWidget==", props.selectWidget);
|
|
290
289
|
if (newValue && newValue.value == thisComponentIndex) {
|
|
291
290
|
selectedClass.value = "amb-design-item-selected";
|
|
292
291
|
} else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "super-page-designer",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.83",
|
|
4
4
|
"description": "AgileBuilder super page designer",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/es/index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
30
30
|
"@vueuse/core": "^10.9.0",
|
|
31
31
|
"agilebuilder-private-libs": "1.0.26",
|
|
32
|
-
"agilebuilder-ui": "1.0.
|
|
32
|
+
"agilebuilder-ui": "1.0.96",
|
|
33
33
|
"echarts": "^5.5.0",
|
|
34
34
|
"element-plus": "^2.6.1",
|
|
35
35
|
"font-awesome": "^4.7.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"qrcode": "^1.5.3",
|
|
42
42
|
"quill": "^2.0.1",
|
|
43
43
|
"service-flow-designer": "2.1.59",
|
|
44
|
-
"super-page-runtime": "2.1.
|
|
44
|
+
"super-page-runtime": "2.1.82",
|
|
45
45
|
"uuid": "^9.0.1",
|
|
46
46
|
"vite": "^5.1.6",
|
|
47
47
|
"vite-plugin-node-stdlib-browser": "^0.2.1",
|