super-page-designer 2.1.55 → 2.1.58
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/chart-design-util.js +0 -1
- package/dist/es/components/design/utils/form-design-util.js +5 -0
- package/dist/es/components/design/utils/page-explore-util.js +0 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +45 -15
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +152 -1
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +1 -152
- package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +2 -1
- package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +11 -1
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +2 -1
- package/dist/es/components/design/views/assemblys/form/custom/custom-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/object-design.vue.js +14 -13
- package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +3 -3
- package/dist/es/components/design/views/design/page-event/config.vue.js +7 -1
- package/dist/es/components/design/views/design/page-event/config.vue2.js +1 -7
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
- package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +53 -14
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
- package/dist/es/style.css +74 -74
- package/package.json +6 -5
|
@@ -375,7 +375,6 @@ function generateChartOption(configure, chartOption) {
|
|
|
375
375
|
Object.assign(tempOption, customAttrJson);
|
|
376
376
|
}
|
|
377
377
|
chartOption.value = tempOption;
|
|
378
|
-
console.log("tempOption", tempOption);
|
|
379
378
|
}
|
|
380
379
|
function generateSubtitleJson(thisStyle) {
|
|
381
380
|
const subtitleJson = {
|
|
@@ -154,6 +154,11 @@ function caculateComponentProps(configure, property, titleExceedStyle) {
|
|
|
154
154
|
if (defineProps.base && defineProps.base.titlePosition) {
|
|
155
155
|
tempProps["titlePosition"] = defineProps.base.titlePosition;
|
|
156
156
|
}
|
|
157
|
+
if (defineProps.base && defineProps.base.isSafeDelete) {
|
|
158
|
+
tempProps["isSafeDelete"] = true;
|
|
159
|
+
} else {
|
|
160
|
+
tempProps["isSafeDelete"] = false;
|
|
161
|
+
}
|
|
157
162
|
if (defineProps.base && defineProps.base.defaultValue) {
|
|
158
163
|
tempProps["defaultValue"] = defineProps.base.defaultValue;
|
|
159
164
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createVNode, createTextVNode, unref, createCommentVNode, withDirectives, vShow, createElementBlock, Fragment, renderList, normalizeClass, toDisplayString, renderSlot } from "vue";
|
|
2
|
-
import _sfc_main$1 from "../../form/common/dataorigin-input-table.
|
|
2
|
+
import _sfc_main$1 from "../../form/common/dataorigin-input-table.vue.js";
|
|
3
3
|
import { Codemirror } from "vue-codemirror";
|
|
4
4
|
import _sfc_main$6 from "../../workflow/component/combination.vue.js";
|
|
5
5
|
import _sfc_main$5 from "./return-set-table.vue.js";
|
|
@@ -205,7 +205,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
205
205
|
default: withCtx(() => [
|
|
206
206
|
createVNode(_component_el_collapse, {
|
|
207
207
|
modelValue: openCollapseItems.value,
|
|
208
|
-
"onUpdate:modelValue": _cache[
|
|
208
|
+
"onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => openCollapseItems.value = $event),
|
|
209
209
|
style: { "margin-top": "6px" }
|
|
210
210
|
}, {
|
|
211
211
|
default: withCtx(() => [
|
|
@@ -522,7 +522,37 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
522
522
|
})
|
|
523
523
|
]),
|
|
524
524
|
_: 1
|
|
525
|
-
}, 8, ["data"])
|
|
525
|
+
}, 8, ["data"]),
|
|
526
|
+
createVNode(_component_el_form_item, {
|
|
527
|
+
label: "逻辑删除",
|
|
528
|
+
title: "是否逻辑删除",
|
|
529
|
+
class: "amb-design-attr-item"
|
|
530
|
+
}, {
|
|
531
|
+
default: withCtx(() => [
|
|
532
|
+
createVNode(_component_el_radio_group, {
|
|
533
|
+
modelValue: __props.configure.props.base.isSafeDelete,
|
|
534
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => __props.configure.props.base.isSafeDelete = $event),
|
|
535
|
+
class: "ml-4"
|
|
536
|
+
}, {
|
|
537
|
+
default: withCtx(() => [
|
|
538
|
+
createVNode(_component_el_radio, { value: true }, {
|
|
539
|
+
default: withCtx(() => [
|
|
540
|
+
createTextVNode("是")
|
|
541
|
+
]),
|
|
542
|
+
_: 1
|
|
543
|
+
}),
|
|
544
|
+
createVNode(_component_el_radio, { value: false }, {
|
|
545
|
+
default: withCtx(() => [
|
|
546
|
+
createTextVNode("否")
|
|
547
|
+
]),
|
|
548
|
+
_: 1
|
|
549
|
+
})
|
|
550
|
+
]),
|
|
551
|
+
_: 1
|
|
552
|
+
}, 8, ["modelValue"])
|
|
553
|
+
]),
|
|
554
|
+
_: 1
|
|
555
|
+
})
|
|
526
556
|
])
|
|
527
557
|
]),
|
|
528
558
|
_: 1
|
|
@@ -541,7 +571,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
541
571
|
default: withCtx(() => [
|
|
542
572
|
createVNode(_component_el_radio_group, {
|
|
543
573
|
modelValue: __props.configure.props.importSetting.listViewImportDuplicate,
|
|
544
|
-
"onUpdate:modelValue": _cache[
|
|
574
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => __props.configure.props.importSetting.listViewImportDuplicate = $event),
|
|
545
575
|
class: "ml-4"
|
|
546
576
|
}, {
|
|
547
577
|
default: withCtx(() => [
|
|
@@ -609,7 +639,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
609
639
|
default: withCtx(() => [
|
|
610
640
|
createVNode(_component_el_checkbox_group, {
|
|
611
641
|
modelValue: __props.configure.props.otherSettings.timeToInitializeSubTable,
|
|
612
|
-
"onUpdate:modelValue": _cache[
|
|
642
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => __props.configure.props.otherSettings.timeToInitializeSubTable = $event)
|
|
613
643
|
}, {
|
|
614
644
|
default: withCtx(() => [
|
|
615
645
|
createVNode(_component_el_checkbox, {
|
|
@@ -634,7 +664,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
634
664
|
default: withCtx(() => [
|
|
635
665
|
createVNode(_component_el_input, {
|
|
636
666
|
modelValue: __props.configure.props.otherSettings.mobileLineTitle,
|
|
637
|
-
"onUpdate:modelValue": _cache[
|
|
667
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => __props.configure.props.otherSettings.mobileLineTitle = $event)
|
|
638
668
|
}, null, 8, ["modelValue"])
|
|
639
669
|
]),
|
|
640
670
|
_: 1
|
|
@@ -647,7 +677,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
647
677
|
default: withCtx(() => [
|
|
648
678
|
createVNode(_component_el_select, {
|
|
649
679
|
modelValue: __props.configure.props.otherSettings.dataSources,
|
|
650
|
-
"onUpdate:modelValue": _cache[
|
|
680
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => __props.configure.props.otherSettings.dataSources = $event),
|
|
651
681
|
clearable: ""
|
|
652
682
|
}, {
|
|
653
683
|
default: withCtx(() => [
|
|
@@ -778,7 +808,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
778
808
|
default: withCtx(() => [
|
|
779
809
|
createVNode(_component_el_input, {
|
|
780
810
|
modelValue: __props.configure.props.otherSettings.sourceDataTable,
|
|
781
|
-
"onUpdate:modelValue": _cache[
|
|
811
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => __props.configure.props.otherSettings.sourceDataTable = $event),
|
|
782
812
|
title: __props.configure.props.otherSettings.sourceDataTable,
|
|
783
813
|
clearable: "",
|
|
784
814
|
readonly: "true"
|
|
@@ -810,7 +840,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
810
840
|
createElementVNode("div", _hoisted_11, [
|
|
811
841
|
createVNode(_component_el_select, {
|
|
812
842
|
modelValue: __props.configure.props.otherSettings.sourceDataTableSortColumn,
|
|
813
|
-
"onUpdate:modelValue": _cache[
|
|
843
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => __props.configure.props.otherSettings.sourceDataTableSortColumn = $event),
|
|
814
844
|
clearable: "",
|
|
815
845
|
filterable: ""
|
|
816
846
|
}, {
|
|
@@ -827,7 +857,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
827
857
|
}, 8, ["modelValue"]),
|
|
828
858
|
createVNode(_component_el_select, {
|
|
829
859
|
modelValue: __props.configure.props.otherSettings.sourceDataTableSortOrder,
|
|
830
|
-
"onUpdate:modelValue": _cache[
|
|
860
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => __props.configure.props.otherSettings.sourceDataTableSortOrder = $event),
|
|
831
861
|
style: { "width": "120px", "margin-left": "10px" },
|
|
832
862
|
clearable: ""
|
|
833
863
|
}, {
|
|
@@ -853,7 +883,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
853
883
|
}, {
|
|
854
884
|
default: withCtx(() => [
|
|
855
885
|
createVNode(StateButton, {
|
|
856
|
-
onClick: _cache[
|
|
886
|
+
onClick: _cache[18] || (_cache[18] = ($event) => combinationVisible.value = true),
|
|
857
887
|
conditionData: JSON.parse(__props.configure.props.otherSettings.sourceQueryTableData)
|
|
858
888
|
}, null, 8, ["conditionData"])
|
|
859
889
|
]),
|
|
@@ -873,7 +903,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
873
903
|
default: withCtx(() => [
|
|
874
904
|
createVNode(_component_el_radio_group, {
|
|
875
905
|
modelValue: __props.configure.props.otherSettings.isRealTimeChange,
|
|
876
|
-
"onUpdate:modelValue": _cache[
|
|
906
|
+
"onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => __props.configure.props.otherSettings.isRealTimeChange = $event),
|
|
877
907
|
class: "ml-4",
|
|
878
908
|
onChange: realTimeChange
|
|
879
909
|
}, {
|
|
@@ -1020,7 +1050,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1020
1050
|
default: withCtx(() => [
|
|
1021
1051
|
createVNode(_component_el_radio_group, {
|
|
1022
1052
|
modelValue: __props.configure.props.otherSettings.isWithDataPermission,
|
|
1023
|
-
"onUpdate:modelValue": _cache[
|
|
1053
|
+
"onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => __props.configure.props.otherSettings.isWithDataPermission = $event),
|
|
1024
1054
|
class: "ml-4"
|
|
1025
1055
|
}, {
|
|
1026
1056
|
default: withCtx(() => [
|
|
@@ -1050,7 +1080,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1050
1080
|
default: withCtx(() => [
|
|
1051
1081
|
createVNode(_component_el_input_number, {
|
|
1052
1082
|
modelValue: __props.configure.props.otherSettings.tableRecordMaxNum,
|
|
1053
|
-
"onUpdate:modelValue": _cache[
|
|
1083
|
+
"onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => __props.configure.props.otherSettings.tableRecordMaxNum = $event)
|
|
1054
1084
|
}, null, 8, ["modelValue"])
|
|
1055
1085
|
]),
|
|
1056
1086
|
_: 1
|
|
@@ -1081,13 +1111,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1081
1111
|
}, 8, ["modelValue"]),
|
|
1082
1112
|
createVNode(_component_el_dialog, {
|
|
1083
1113
|
modelValue: codemirrorVisible.value,
|
|
1084
|
-
"onUpdate:modelValue": _cache[
|
|
1114
|
+
"onUpdate:modelValue": _cache[24] || (_cache[24] = ($event) => codemirrorVisible.value = $event),
|
|
1085
1115
|
fullscreen: ""
|
|
1086
1116
|
}, {
|
|
1087
1117
|
default: withCtx(() => [
|
|
1088
1118
|
createVNode(unref(Codemirror), {
|
|
1089
1119
|
modelValue: __props.configure.props.dataOrigin.unfoldConent,
|
|
1090
|
-
"onUpdate:modelValue": _cache[
|
|
1120
|
+
"onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => __props.configure.props.dataOrigin.unfoldConent = $event),
|
|
1091
1121
|
options: cmOptions,
|
|
1092
1122
|
placeholder: "请输入"
|
|
1093
1123
|
}, null, 8, ["modelValue"])
|
|
@@ -10,11 +10,11 @@ import eventBus from "../../../../utils/eventBus.js";
|
|
|
10
10
|
import _sfc_main$1 from "../component/variate-select.vue.js";
|
|
11
11
|
import "@element-plus/icons";
|
|
12
12
|
import "agilebuilder-ui/src/utils/request";
|
|
13
|
+
import { queryTableFields, tableResetConfigIndo } from "../../../../utils/page-table-util.js";
|
|
13
14
|
import _sfc_main$2 from "../../common/common-i18n-key-input.vue.js";
|
|
14
15
|
import _sfc_main$5 from "../../form/common/hyperlink-mult-config.vue.js";
|
|
15
16
|
import _sfc_main$3 from "../../common/common-function-code.vue.js";
|
|
16
17
|
import _sfc_main$8 from "../../common/common-select-table.vue.js";
|
|
17
|
-
import { queryTableFields, tableResetConfigIndo } from "../../../../utils/page-table-util.js";
|
|
18
18
|
import { usePageContextStore } from "../../../../../../stores/page-store.js";
|
|
19
19
|
import _sfc_main$6 from "../component/formatting-icon-label.vue.js";
|
|
20
20
|
import _sfc_main$4 from "./tablecolumn-dynamic-column.vue.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createVNode, unref, createCommentVNode, withDirectives, createTextVNode, createElementBlock, Fragment, renderList, vShow, normalizeClass } from "vue";
|
|
2
|
-
import _sfc_main$3 from "./dataorigin-input-table.
|
|
2
|
+
import _sfc_main$3 from "./dataorigin-input-table.vue.js";
|
|
3
3
|
import _sfc_main$2 from "./condition.vue.js";
|
|
4
4
|
import _sfc_main$1 from "./row-ul-li.vue.js";
|
|
5
5
|
import "uuid";
|
|
@@ -1,4 +1,155 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { defineComponent, ref, watch, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, unref, createElementVNode, createTextVNode } from "vue";
|
|
2
|
+
import { Search } from "@element-plus/icons-vue";
|
|
3
|
+
const _hoisted_1 = { class: "dialog-footer" };
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
+
__name: "dataorigin-input-table",
|
|
6
|
+
props: {
|
|
7
|
+
modelValue: {
|
|
8
|
+
type: String,
|
|
9
|
+
default: ""
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
emits: ["update:modelValue"],
|
|
13
|
+
setup(__props, { emit: __emit }) {
|
|
14
|
+
const props = __props;
|
|
15
|
+
const inputValue = ref(props.modelValue);
|
|
16
|
+
const emit = __emit;
|
|
17
|
+
const tableData = [
|
|
18
|
+
{
|
|
19
|
+
id: 1,
|
|
20
|
+
date: "2016-05-03",
|
|
21
|
+
name: "Tom",
|
|
22
|
+
address: "No. 189, Grove St, Los Angeles"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
id: 2,
|
|
26
|
+
date: "2016-05-02",
|
|
27
|
+
name: "Tom",
|
|
28
|
+
address: "No. 189, Grove St, Los Angeles"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
id: 3,
|
|
32
|
+
date: "2016-05-04",
|
|
33
|
+
name: "Tom",
|
|
34
|
+
address: "No. 189, Grove St, Los Angeles"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
id: 4,
|
|
38
|
+
date: "2016-05-01",
|
|
39
|
+
name: "Tom",
|
|
40
|
+
address: "No. 189, Grove St, Los Angeles"
|
|
41
|
+
}
|
|
42
|
+
];
|
|
43
|
+
const dialogVisible = ref(false);
|
|
44
|
+
const selectData = ref([]);
|
|
45
|
+
watch(() => props.modelValue, (newVal) => {
|
|
46
|
+
inputValue.value = newVal;
|
|
47
|
+
});
|
|
48
|
+
function confirm() {
|
|
49
|
+
if (selectData.value.length > 0) {
|
|
50
|
+
let str = "";
|
|
51
|
+
selectData.value.forEach((item) => {
|
|
52
|
+
str = str + item.name + ",";
|
|
53
|
+
});
|
|
54
|
+
str = str.substring(0, str.length - 1);
|
|
55
|
+
emit("update:modelValue", str);
|
|
56
|
+
dialogVisible.value = false;
|
|
57
|
+
} else {
|
|
58
|
+
dialogVisible.value = false;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
function handleSelectionChange(selection) {
|
|
62
|
+
selectData.value = selection;
|
|
63
|
+
}
|
|
64
|
+
function inputClick() {
|
|
65
|
+
dialogVisible.value = true;
|
|
66
|
+
}
|
|
67
|
+
return (_ctx, _cache) => {
|
|
68
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
69
|
+
const _component_el_input = resolveComponent("el-input");
|
|
70
|
+
const _component_el_table_column = resolveComponent("el-table-column");
|
|
71
|
+
const _component_el_table = resolveComponent("el-table");
|
|
72
|
+
const _component_el_button = resolveComponent("el-button");
|
|
73
|
+
const _component_el_dialog = resolveComponent("el-dialog");
|
|
74
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
75
|
+
createVNode(_component_el_input, {
|
|
76
|
+
modelValue: inputValue.value,
|
|
77
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event),
|
|
78
|
+
placeholder: "请选择",
|
|
79
|
+
onClick: inputClick
|
|
80
|
+
}, {
|
|
81
|
+
suffix: withCtx(() => [
|
|
82
|
+
createVNode(_component_el_icon, { onClick: inputClick }, {
|
|
83
|
+
default: withCtx(() => [
|
|
84
|
+
createVNode(unref(Search))
|
|
85
|
+
]),
|
|
86
|
+
_: 1
|
|
87
|
+
})
|
|
88
|
+
]),
|
|
89
|
+
_: 1
|
|
90
|
+
}, 8, ["modelValue"]),
|
|
91
|
+
createVNode(_component_el_dialog, {
|
|
92
|
+
modelValue: dialogVisible.value,
|
|
93
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => dialogVisible.value = $event),
|
|
94
|
+
title: "Tips",
|
|
95
|
+
width: "500"
|
|
96
|
+
}, {
|
|
97
|
+
footer: withCtx(() => [
|
|
98
|
+
createElementVNode("div", _hoisted_1, [
|
|
99
|
+
createVNode(_component_el_button, {
|
|
100
|
+
onClick: _cache[1] || (_cache[1] = ($event) => dialogVisible.value = false)
|
|
101
|
+
}, {
|
|
102
|
+
default: withCtx(() => [
|
|
103
|
+
createTextVNode("取消")
|
|
104
|
+
]),
|
|
105
|
+
_: 1
|
|
106
|
+
}),
|
|
107
|
+
createVNode(_component_el_button, {
|
|
108
|
+
type: "primary",
|
|
109
|
+
onClick: confirm
|
|
110
|
+
}, {
|
|
111
|
+
default: withCtx(() => [
|
|
112
|
+
createTextVNode(" 确定 ")
|
|
113
|
+
]),
|
|
114
|
+
_: 1
|
|
115
|
+
})
|
|
116
|
+
])
|
|
117
|
+
]),
|
|
118
|
+
default: withCtx(() => [
|
|
119
|
+
createVNode(_component_el_table, {
|
|
120
|
+
data: tableData,
|
|
121
|
+
style: { "width": "100%" },
|
|
122
|
+
onSelectionChange: handleSelectionChange
|
|
123
|
+
}, {
|
|
124
|
+
default: withCtx(() => [
|
|
125
|
+
createVNode(_component_el_table_column, {
|
|
126
|
+
type: "selection",
|
|
127
|
+
width: "55"
|
|
128
|
+
}),
|
|
129
|
+
createVNode(_component_el_table_column, {
|
|
130
|
+
prop: "date",
|
|
131
|
+
label: "Date",
|
|
132
|
+
width: "180"
|
|
133
|
+
}),
|
|
134
|
+
createVNode(_component_el_table_column, {
|
|
135
|
+
prop: "name",
|
|
136
|
+
label: "Name",
|
|
137
|
+
width: "180"
|
|
138
|
+
}),
|
|
139
|
+
createVNode(_component_el_table_column, {
|
|
140
|
+
prop: "address",
|
|
141
|
+
label: "Address"
|
|
142
|
+
})
|
|
143
|
+
]),
|
|
144
|
+
_: 1
|
|
145
|
+
})
|
|
146
|
+
]),
|
|
147
|
+
_: 1
|
|
148
|
+
}, 8, ["modelValue"])
|
|
149
|
+
], 64);
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
});
|
|
2
153
|
export {
|
|
3
154
|
_sfc_main as default
|
|
4
155
|
};
|
package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js
CHANGED
|
@@ -1,155 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Search } from "@element-plus/icons-vue";
|
|
3
|
-
const _hoisted_1 = { class: "dialog-footer" };
|
|
4
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
-
__name: "dataorigin-input-table",
|
|
6
|
-
props: {
|
|
7
|
-
modelValue: {
|
|
8
|
-
type: String,
|
|
9
|
-
default: ""
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
emits: ["update:modelValue"],
|
|
13
|
-
setup(__props, { emit: __emit }) {
|
|
14
|
-
const props = __props;
|
|
15
|
-
const inputValue = ref(props.modelValue);
|
|
16
|
-
const emit = __emit;
|
|
17
|
-
const tableData = [
|
|
18
|
-
{
|
|
19
|
-
id: 1,
|
|
20
|
-
date: "2016-05-03",
|
|
21
|
-
name: "Tom",
|
|
22
|
-
address: "No. 189, Grove St, Los Angeles"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
id: 2,
|
|
26
|
-
date: "2016-05-02",
|
|
27
|
-
name: "Tom",
|
|
28
|
-
address: "No. 189, Grove St, Los Angeles"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
id: 3,
|
|
32
|
-
date: "2016-05-04",
|
|
33
|
-
name: "Tom",
|
|
34
|
-
address: "No. 189, Grove St, Los Angeles"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
id: 4,
|
|
38
|
-
date: "2016-05-01",
|
|
39
|
-
name: "Tom",
|
|
40
|
-
address: "No. 189, Grove St, Los Angeles"
|
|
41
|
-
}
|
|
42
|
-
];
|
|
43
|
-
const dialogVisible = ref(false);
|
|
44
|
-
const selectData = ref([]);
|
|
45
|
-
watch(() => props.modelValue, (newVal) => {
|
|
46
|
-
inputValue.value = newVal;
|
|
47
|
-
});
|
|
48
|
-
function confirm() {
|
|
49
|
-
if (selectData.value.length > 0) {
|
|
50
|
-
let str = "";
|
|
51
|
-
selectData.value.forEach((item) => {
|
|
52
|
-
str = str + item.name + ",";
|
|
53
|
-
});
|
|
54
|
-
str = str.substring(0, str.length - 1);
|
|
55
|
-
emit("update:modelValue", str);
|
|
56
|
-
dialogVisible.value = false;
|
|
57
|
-
} else {
|
|
58
|
-
dialogVisible.value = false;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
function handleSelectionChange(selection) {
|
|
62
|
-
selectData.value = selection;
|
|
63
|
-
}
|
|
64
|
-
function inputClick() {
|
|
65
|
-
dialogVisible.value = true;
|
|
66
|
-
}
|
|
67
|
-
return (_ctx, _cache) => {
|
|
68
|
-
const _component_el_icon = resolveComponent("el-icon");
|
|
69
|
-
const _component_el_input = resolveComponent("el-input");
|
|
70
|
-
const _component_el_table_column = resolveComponent("el-table-column");
|
|
71
|
-
const _component_el_table = resolveComponent("el-table");
|
|
72
|
-
const _component_el_button = resolveComponent("el-button");
|
|
73
|
-
const _component_el_dialog = resolveComponent("el-dialog");
|
|
74
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
75
|
-
createVNode(_component_el_input, {
|
|
76
|
-
modelValue: inputValue.value,
|
|
77
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event),
|
|
78
|
-
placeholder: "请选择",
|
|
79
|
-
onClick: inputClick
|
|
80
|
-
}, {
|
|
81
|
-
suffix: withCtx(() => [
|
|
82
|
-
createVNode(_component_el_icon, { onClick: inputClick }, {
|
|
83
|
-
default: withCtx(() => [
|
|
84
|
-
createVNode(unref(Search))
|
|
85
|
-
]),
|
|
86
|
-
_: 1
|
|
87
|
-
})
|
|
88
|
-
]),
|
|
89
|
-
_: 1
|
|
90
|
-
}, 8, ["modelValue"]),
|
|
91
|
-
createVNode(_component_el_dialog, {
|
|
92
|
-
modelValue: dialogVisible.value,
|
|
93
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => dialogVisible.value = $event),
|
|
94
|
-
title: "Tips",
|
|
95
|
-
width: "500"
|
|
96
|
-
}, {
|
|
97
|
-
footer: withCtx(() => [
|
|
98
|
-
createElementVNode("div", _hoisted_1, [
|
|
99
|
-
createVNode(_component_el_button, {
|
|
100
|
-
onClick: _cache[1] || (_cache[1] = ($event) => dialogVisible.value = false)
|
|
101
|
-
}, {
|
|
102
|
-
default: withCtx(() => [
|
|
103
|
-
createTextVNode("取消")
|
|
104
|
-
]),
|
|
105
|
-
_: 1
|
|
106
|
-
}),
|
|
107
|
-
createVNode(_component_el_button, {
|
|
108
|
-
type: "primary",
|
|
109
|
-
onClick: confirm
|
|
110
|
-
}, {
|
|
111
|
-
default: withCtx(() => [
|
|
112
|
-
createTextVNode(" 确定 ")
|
|
113
|
-
]),
|
|
114
|
-
_: 1
|
|
115
|
-
})
|
|
116
|
-
])
|
|
117
|
-
]),
|
|
118
|
-
default: withCtx(() => [
|
|
119
|
-
createVNode(_component_el_table, {
|
|
120
|
-
data: tableData,
|
|
121
|
-
style: { "width": "100%" },
|
|
122
|
-
onSelectionChange: handleSelectionChange
|
|
123
|
-
}, {
|
|
124
|
-
default: withCtx(() => [
|
|
125
|
-
createVNode(_component_el_table_column, {
|
|
126
|
-
type: "selection",
|
|
127
|
-
width: "55"
|
|
128
|
-
}),
|
|
129
|
-
createVNode(_component_el_table_column, {
|
|
130
|
-
prop: "date",
|
|
131
|
-
label: "Date",
|
|
132
|
-
width: "180"
|
|
133
|
-
}),
|
|
134
|
-
createVNode(_component_el_table_column, {
|
|
135
|
-
prop: "name",
|
|
136
|
-
label: "Name",
|
|
137
|
-
width: "180"
|
|
138
|
-
}),
|
|
139
|
-
createVNode(_component_el_table_column, {
|
|
140
|
-
prop: "address",
|
|
141
|
-
label: "Address"
|
|
142
|
-
})
|
|
143
|
-
]),
|
|
144
|
-
_: 1
|
|
145
|
-
})
|
|
146
|
-
]),
|
|
147
|
-
_: 1
|
|
148
|
-
}, 8, ["modelValue"])
|
|
149
|
-
], 64);
|
|
150
|
-
};
|
|
151
|
-
}
|
|
152
|
-
});
|
|
1
|
+
import _sfc_main from "./dataorigin-input-table.vue.js";
|
|
153
2
|
export {
|
|
154
3
|
_sfc_main as default
|
|
155
4
|
};
|
|
@@ -232,9 +232,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
232
232
|
title: "跳转条件",
|
|
233
233
|
buttonText: "设置条件",
|
|
234
234
|
list: _ctx.linkPage[currentEditIndex.value].conditions,
|
|
235
|
+
tableConfigure: _ctx.tableConfigure,
|
|
235
236
|
ref_key: "conditionRef",
|
|
236
237
|
ref: conditionRef
|
|
237
|
-
}, null, 8, ["list"])) : _ctx.linkPage[currentEditIndex.value].jumpConditionType === "customFunc" ? (openBlock(), createBlock(_component_el_select, {
|
|
238
|
+
}, null, 8, ["list", "tableConfigure"])) : _ctx.linkPage[currentEditIndex.value].jumpConditionType === "customFunc" ? (openBlock(), createBlock(_component_el_select, {
|
|
238
239
|
key: 1,
|
|
239
240
|
modelValue: _ctx.linkPage[currentEditIndex.value].customFunc,
|
|
240
241
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.linkPage[currentEditIndex.value].customFunc = $event),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode } from "vue";
|
|
2
2
|
import { getUuidv4 } from "../../../../utils/common-util.js";
|
|
3
3
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
4
|
+
import { getModelOptionsByFields } from "../../../../utils/page-table-util.js";
|
|
4
5
|
const _hoisted_1 = { style: { "text-align": "center", "margin": "0px -8px", "padding-top": "4px", "padding-left": "2px" } };
|
|
5
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
7
|
__name: "parameter-table",
|
|
@@ -8,12 +9,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
8
9
|
data: {
|
|
9
10
|
type: Array,
|
|
10
11
|
default: () => []
|
|
12
|
+
},
|
|
13
|
+
tableConfigure: {
|
|
14
|
+
type: Object,
|
|
15
|
+
default: () => []
|
|
11
16
|
}
|
|
12
17
|
},
|
|
13
18
|
emits: ["dataChange"],
|
|
14
19
|
setup(__props, { emit: __emit }) {
|
|
15
20
|
const props = __props;
|
|
16
21
|
const emit = __emit;
|
|
22
|
+
const rowModelOptions = ref(null);
|
|
23
|
+
if (props.tableConfigure) {
|
|
24
|
+
rowModelOptions.value = getModelOptionsByFields(props.tableConfigure.modelFields);
|
|
25
|
+
}
|
|
17
26
|
const tableData = ref([]);
|
|
18
27
|
tableData.value = props.data;
|
|
19
28
|
if (!tableData.value || tableData.value.length == 0) {
|
|
@@ -148,8 +157,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
148
157
|
default: withCtx((scope) => [
|
|
149
158
|
createVNode(BindVariable, {
|
|
150
159
|
modelValue: scope.row.paramValue,
|
|
160
|
+
objModelOptions: rowModelOptions.value,
|
|
151
161
|
"onUpdate:modelValue": (val) => afterBindLabelVariable(val, scope.row)
|
|
152
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
162
|
+
}, null, 8, ["modelValue", "objModelOptions", "onUpdate:modelValue"])
|
|
153
163
|
]),
|
|
154
164
|
_: 1
|
|
155
165
|
}),
|
|
@@ -515,8 +515,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
515
515
|
})) : createCommentVNode("", true),
|
|
516
516
|
createVNode(_sfc_main$4, {
|
|
517
517
|
data: linkPage.value.jumpPageAdditional,
|
|
518
|
+
tableConfigure: _ctx.tableConfigure,
|
|
518
519
|
onDataChange: ParameterDataChange
|
|
519
|
-
}, null, 8, ["data"]),
|
|
520
|
+
}, null, 8, ["data", "tableConfigure"]),
|
|
520
521
|
createVNode(_sfc_main$5, { linkPage: linkPage.value }, null, 8, ["linkPage"]),
|
|
521
522
|
createVNode(_sfc_main$6, {
|
|
522
523
|
ref_key: "selectPageDialog",
|
|
@@ -85,8 +85,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
85
85
|
}, {
|
|
86
86
|
default: withCtx(() => [
|
|
87
87
|
createVNode(_component_el_input, {
|
|
88
|
-
modelValue: __props.configure.props.base.
|
|
89
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => __props.configure.props.base.
|
|
88
|
+
modelValue: __props.configure.props.base.customControl,
|
|
89
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => __props.configure.props.base.customControl = $event),
|
|
90
90
|
placeholder: "请输入"
|
|
91
91
|
}, null, 8, ["modelValue"])
|
|
92
92
|
]),
|
|
@@ -96,7 +96,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
96
96
|
const bindEvents = props.configure.events.filter((event) => {
|
|
97
97
|
return !event.isStandard && event.jsContent || event.isStandard && event.eventName;
|
|
98
98
|
});
|
|
99
|
-
console.log("bindEvents=========", bindEvents);
|
|
100
99
|
if (!props.configure.runtime) {
|
|
101
100
|
props.configure.runtime = {};
|
|
102
101
|
}
|
|
@@ -192,19 +191,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
192
191
|
});
|
|
193
192
|
}
|
|
194
193
|
if (props.pageDesign.props) {
|
|
195
|
-
watch(
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
if (
|
|
199
|
-
requiredRules.
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
194
|
+
watch(
|
|
195
|
+
() => props.pageDesign.props.activeWorkflow,
|
|
196
|
+
(newValue, oldValue) => {
|
|
197
|
+
if (newValue) {
|
|
198
|
+
const requiredRules = props.configure.props && props.configure.props.rules ? props.configure.props.rules.filter((item) => item.required) : null;
|
|
199
|
+
if (requiredRules && requiredRules.length > 0) {
|
|
200
|
+
requiredRules.forEach((item) => {
|
|
201
|
+
item.required = false;
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
if (props.configure.props && props.configure.props.verification && props.configure.props.verification.required) {
|
|
205
|
+
props.configure.props.verification.required = false;
|
|
206
|
+
}
|
|
205
207
|
}
|
|
206
208
|
}
|
|
207
|
-
|
|
209
|
+
);
|
|
208
210
|
}
|
|
209
211
|
const thisRef = ref(null);
|
|
210
212
|
const designStyle = ref({});
|
|
@@ -279,7 +281,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
279
281
|
};
|
|
280
282
|
}
|
|
281
283
|
designClass.value = tempStyle[dimentions + "_class"];
|
|
282
|
-
console.log("outerStyle1", styleConf, tempStyle);
|
|
283
284
|
return style;
|
|
284
285
|
});
|
|
285
286
|
watch(props.selectWidget, (newValue) => {
|
|
@@ -87,13 +87,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
87
87
|
}
|
|
88
88
|
function changeFieldName(index, row, propDbName) {
|
|
89
89
|
const item = props.fieldMap[propDbName];
|
|
90
|
-
if (item.type === "date") {
|
|
90
|
+
if (item && item.type === "date") {
|
|
91
91
|
tableData.value[index].isDate = true;
|
|
92
92
|
} else {
|
|
93
93
|
tableData.value[index].isDate = false;
|
|
94
94
|
}
|
|
95
|
-
row.propName = item.name;
|
|
96
|
-
row.dataType = item.dataType;
|
|
95
|
+
row.propName = item ? item.name : null;
|
|
96
|
+
row.dataType = item ? item.dataType : null;
|
|
97
97
|
operationArr.value[index] = getOperators(item);
|
|
98
98
|
}
|
|
99
99
|
function savebuttonSetting() {
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import _sfc_main from "./config.vue3.js";
|
|
2
|
+
import "./config.vue2.js";
|
|
3
|
+
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const config = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-39d5d5cf"]]);
|
|
5
|
+
export {
|
|
6
|
+
config as default
|
|
7
|
+
};
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import "./config.vue.js";
|
|
3
|
-
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const config = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-39d5d5cf"]]);
|
|
5
|
-
export {
|
|
6
|
-
config as default
|
|
7
|
-
};
|
|
1
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, onUnmounted, watch, resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, withDirectives, vShow, unref, createTextVNode, toDisplayString, Fragment, renderList, createBlock } from "vue";
|
|
2
2
|
import { ElMessageBox, ElMessage } from "element-plus";
|
|
3
|
-
import config from "./config.
|
|
3
|
+
import config from "./config.vue.js";
|
|
4
4
|
import { standardButtonOperations } from "../../../utils/assemblys-config.js";
|
|
5
5
|
import { findDesignItemByUuid, getUuidv4, deepCopy } from "../../../utils/common-util.js";
|
|
6
6
|
import { usePageContextStore } from "../../../../../stores/page-store.js";
|
|
@@ -8,13 +8,14 @@ import { useDraggable } from "vue-draggable-plus";
|
|
|
8
8
|
const _hoisted_1 = { key: 0 };
|
|
9
9
|
const _hoisted_2 = { key: 0 };
|
|
10
10
|
const _hoisted_3 = { key: 0 };
|
|
11
|
-
const _hoisted_4 = {
|
|
12
|
-
const _hoisted_5 = {
|
|
13
|
-
const _hoisted_6 = {
|
|
11
|
+
const _hoisted_4 = { style: { "display": "flex" } };
|
|
12
|
+
const _hoisted_5 = { key: 0 };
|
|
13
|
+
const _hoisted_6 = { style: { "display": "flex" } };
|
|
14
14
|
const _hoisted_7 = { key: 0 };
|
|
15
|
-
const _hoisted_8 =
|
|
16
|
-
const _hoisted_9 =
|
|
15
|
+
const _hoisted_8 = { key: 0 };
|
|
16
|
+
const _hoisted_9 = ["title"];
|
|
17
17
|
const _hoisted_10 = { key: 0 };
|
|
18
|
+
const _hoisted_11 = { key: 0 };
|
|
18
19
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
19
20
|
__name: "quick-add-fields",
|
|
20
21
|
props: {
|
|
@@ -26,6 +27,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26
27
|
setup(__props, { expose: __expose }) {
|
|
27
28
|
const props = __props;
|
|
28
29
|
const allEditState = ref(null);
|
|
30
|
+
const allExporEditState = ref(null);
|
|
29
31
|
ref([]);
|
|
30
32
|
const thisRef = ref(null);
|
|
31
33
|
onMounted(() => {
|
|
@@ -171,6 +173,27 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
171
173
|
}
|
|
172
174
|
});
|
|
173
175
|
}
|
|
176
|
+
function exporEditState() {
|
|
177
|
+
if (!props.model.fieldInfos || props.model.fieldInfos.length == 0) {
|
|
178
|
+
return;
|
|
179
|
+
}
|
|
180
|
+
const message = allExporEditState.value ? "确定全部设置为可导出吗?" : "确定要全部取消可导出吗?";
|
|
181
|
+
ElMessageBox.confirm(message, "确认", {
|
|
182
|
+
confirmButtonText: "确定",
|
|
183
|
+
cancelButtonText: "取消",
|
|
184
|
+
type: "warning"
|
|
185
|
+
}).then(({ value }) => {
|
|
186
|
+
for (let f of props.model.fieldInfos) {
|
|
187
|
+
if (allExporEditState.value) {
|
|
188
|
+
if (!f.exportable) {
|
|
189
|
+
f.exportable = true;
|
|
190
|
+
}
|
|
191
|
+
} else {
|
|
192
|
+
f.exportable = false;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
});
|
|
196
|
+
}
|
|
174
197
|
function removeAll() {
|
|
175
198
|
ElMessageBox.confirm("确定要全部清除吗?", "确认", {
|
|
176
199
|
confirmButtonText: "确定",
|
|
@@ -310,8 +333,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
310
333
|
const _component_el_option = resolveComponent("el-option");
|
|
311
334
|
const _component_el_select = resolveComponent("el-select");
|
|
312
335
|
const _component_el_input = resolveComponent("el-input");
|
|
313
|
-
const _component_el_switch = resolveComponent("el-switch");
|
|
314
336
|
const _component_el_checkbox = resolveComponent("el-checkbox");
|
|
337
|
+
const _component_el_switch = resolveComponent("el-switch");
|
|
315
338
|
const _component_el_table = resolveComponent("el-table");
|
|
316
339
|
return openBlock(), createBlock(_component_el_table, {
|
|
317
340
|
size: "small",
|
|
@@ -470,8 +493,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
470
493
|
label: "导出",
|
|
471
494
|
width: "120"
|
|
472
495
|
}, {
|
|
496
|
+
header: withCtx(() => [
|
|
497
|
+
createElementVNode("div", _hoisted_4, [
|
|
498
|
+
createTextVNode(" 导出 "),
|
|
499
|
+
withDirectives(createVNode(_component_el_checkbox, {
|
|
500
|
+
modelValue: allExporEditState.value,
|
|
501
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => allExporEditState.value = $event),
|
|
502
|
+
value: "1",
|
|
503
|
+
label: "全部可导出",
|
|
504
|
+
size: "small",
|
|
505
|
+
style: { "margin-left": "6px" },
|
|
506
|
+
onChange: exporEditState
|
|
507
|
+
}, null, 8, ["modelValue"]), [
|
|
508
|
+
[vShow, __props.model.pageType == "list"]
|
|
509
|
+
])
|
|
510
|
+
])
|
|
511
|
+
]),
|
|
473
512
|
default: withCtx((scope) => [
|
|
474
|
-
scope.row.uuid != selRowUuid.value ? (openBlock(), createElementBlock("label",
|
|
513
|
+
scope.row.uuid != selRowUuid.value ? (openBlock(), createElementBlock("label", _hoisted_5, toDisplayString(scope.row.exportable), 1)) : (openBlock(), createBlock(_component_el_switch, {
|
|
475
514
|
key: 1,
|
|
476
515
|
modelValue: scope.row.exportable,
|
|
477
516
|
"onUpdate:modelValue": ($event) => scope.row.exportable = $event
|
|
@@ -484,11 +523,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
484
523
|
width: "120"
|
|
485
524
|
}, {
|
|
486
525
|
header: withCtx(() => [
|
|
487
|
-
createElementVNode("div",
|
|
526
|
+
createElementVNode("div", _hoisted_6, [
|
|
488
527
|
createTextVNode(" 组件 "),
|
|
489
528
|
withDirectives(createVNode(_component_el_checkbox, {
|
|
490
529
|
modelValue: allEditState.value,
|
|
491
|
-
"onUpdate:modelValue": _cache[
|
|
530
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => allEditState.value = $event),
|
|
492
531
|
value: "1",
|
|
493
532
|
label: "全部可编辑",
|
|
494
533
|
size: "small",
|
|
@@ -500,7 +539,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
500
539
|
])
|
|
501
540
|
]),
|
|
502
541
|
default: withCtx((scope) => [
|
|
503
|
-
scope.row.uuid != selRowUuid.value ? (openBlock(), createElementBlock("label",
|
|
542
|
+
scope.row.uuid != selRowUuid.value ? (openBlock(), createElementBlock("label", _hoisted_7, toDisplayString(scope.row.componentName), 1)) : (openBlock(), createBlock(_component_el_select, {
|
|
504
543
|
key: 1,
|
|
505
544
|
size: "small",
|
|
506
545
|
modelValue: scope.row.componentName,
|
|
@@ -528,7 +567,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
528
567
|
width: "70"
|
|
529
568
|
}, {
|
|
530
569
|
default: withCtx((scope) => [
|
|
531
|
-
scope.row.uuid != selRowUuid.value ? (openBlock(), createElementBlock("label",
|
|
570
|
+
scope.row.uuid != selRowUuid.value ? (openBlock(), createElementBlock("label", _hoisted_8, toDisplayString(scope.row.state), 1)) : (openBlock(), createBlock(_component_el_select, {
|
|
532
571
|
key: 1,
|
|
533
572
|
size: "small",
|
|
534
573
|
disabled: !scope.row.componentName,
|
|
@@ -560,7 +599,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
560
599
|
scope.row.uuid != selRowUuid.value ? (openBlock(), createElementBlock("label", {
|
|
561
600
|
key: 0,
|
|
562
601
|
title: scope.row.valid
|
|
563
|
-
}, toDisplayString(scope.row.valid), 9,
|
|
602
|
+
}, toDisplayString(scope.row.valid), 9, _hoisted_9)) : (openBlock(), createBlock(_component_el_select, {
|
|
564
603
|
key: 1,
|
|
565
604
|
disabled: !scope.row.componentName,
|
|
566
605
|
size: "small",
|
|
@@ -592,7 +631,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
592
631
|
width: "75"
|
|
593
632
|
}, {
|
|
594
633
|
default: withCtx((scope) => [
|
|
595
|
-
scope.row.uuid != selRowUuid.value ? (openBlock(), createElementBlock("label",
|
|
634
|
+
scope.row.uuid != selRowUuid.value ? (openBlock(), createElementBlock("label", _hoisted_10, toDisplayString(scope.row.width), 1)) : (openBlock(), createBlock(_component_el_select, {
|
|
596
635
|
key: 1,
|
|
597
636
|
size: "small",
|
|
598
637
|
modelValue: scope.row.width,
|
|
@@ -620,7 +659,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
620
659
|
width: "70"
|
|
621
660
|
}, {
|
|
622
661
|
default: withCtx((scope) => [
|
|
623
|
-
scope.row.uuid != selRowUuid.value ? (openBlock(), createElementBlock("label",
|
|
662
|
+
scope.row.uuid != selRowUuid.value ? (openBlock(), createElementBlock("label", _hoisted_11, toDisplayString(scope.row.align), 1)) : (openBlock(), createBlock(_component_el_select, {
|
|
624
663
|
key: 1,
|
|
625
664
|
size: "small",
|
|
626
665
|
modelValue: scope.row.align,
|
|
@@ -16,7 +16,7 @@ import "@codemirror/autocomplete";
|
|
|
16
16
|
import "@codemirror/language";
|
|
17
17
|
import "@codemirror/search";
|
|
18
18
|
import "js-beautify";
|
|
19
|
-
import "../page-event/config.
|
|
19
|
+
import "../page-event/config.vue2.js";
|
|
20
20
|
import "../../../utils/assemblys-config.js";
|
|
21
21
|
import "../../../../../stores/page-store.js";
|
|
22
22
|
import "../../../../../stores/event-undo-redo-store.js";
|
package/dist/es/style.css
CHANGED
|
@@ -1292,6 +1292,10 @@ fieldset.amb-design-item-selected {
|
|
|
1292
1292
|
padding: 10px;
|
|
1293
1293
|
font-weight: bold;
|
|
1294
1294
|
}
|
|
1295
|
+
|
|
1296
|
+
.el-switch.is-disabled .el-switch__core, .el-switch.is-disabled .el-switch__label{
|
|
1297
|
+
cursor: default;
|
|
1298
|
+
}
|
|
1295
1299
|
.el-tree-node__content {
|
|
1296
1300
|
height: 34px !important;
|
|
1297
1301
|
}
|
|
@@ -3146,6 +3150,10 @@ fieldset.amb-design-item-selected {
|
|
|
3146
3150
|
padding: 10px;
|
|
3147
3151
|
font-weight: bold;
|
|
3148
3152
|
}
|
|
3153
|
+
|
|
3154
|
+
.el-select__wrapper.is-disabled{
|
|
3155
|
+
cursor: default;
|
|
3156
|
+
}
|
|
3149
3157
|
.el-tree-node__content {
|
|
3150
3158
|
height: 34px !important;
|
|
3151
3159
|
}
|
|
@@ -3764,10 +3772,6 @@ fieldset.amb-design-item-selected {
|
|
|
3764
3772
|
padding: 10px;
|
|
3765
3773
|
font-weight: bold;
|
|
3766
3774
|
}
|
|
3767
|
-
|
|
3768
|
-
.el-select__wrapper.is-disabled{
|
|
3769
|
-
cursor: default;
|
|
3770
|
-
}
|
|
3771
3775
|
.el-tree-node__content {
|
|
3772
3776
|
height: 34px !important;
|
|
3773
3777
|
}
|
|
@@ -5004,10 +5008,6 @@ fieldset.amb-design-item-selected {
|
|
|
5004
5008
|
padding: 10px;
|
|
5005
5009
|
font-weight: bold;
|
|
5006
5010
|
}
|
|
5007
|
-
|
|
5008
|
-
.el-switch.is-disabled .el-switch__core, .el-switch.is-disabled .el-switch__label{
|
|
5009
|
-
cursor: default;
|
|
5010
|
-
}
|
|
5011
5011
|
.el-tree-node__content {
|
|
5012
5012
|
height: 34px !important;
|
|
5013
5013
|
}
|
|
@@ -16182,6 +16182,60 @@ fieldset.amb-design-item-selected {
|
|
|
16182
16182
|
padding: 10px;
|
|
16183
16183
|
font-weight: bold;
|
|
16184
16184
|
}
|
|
16185
|
+
|
|
16186
|
+
[data-v-bab42532] .el-form-item__label {
|
|
16187
|
+
padding: 0;
|
|
16188
|
+
}
|
|
16189
|
+
|
|
16190
|
+
/*不显示列样式*/
|
|
16191
|
+
.hiddenBorder {
|
|
16192
|
+
border-right: solid 1px #ebebeb !important;
|
|
16193
|
+
border-left: solid 1px #ebebeb !important;
|
|
16194
|
+
background-color: #ebebeb !important;
|
|
16195
|
+
}
|
|
16196
|
+
/*选中列样式*/
|
|
16197
|
+
.addBorder {
|
|
16198
|
+
border-right: solid 1px #5893ef !important;
|
|
16199
|
+
border-left: solid 1px #5893ef !important;
|
|
16200
|
+
background-color: #5893ef !important;
|
|
16201
|
+
color: #ffffff;
|
|
16202
|
+
}
|
|
16203
|
+
.ghost {
|
|
16204
|
+
opacity: 0.5;
|
|
16205
|
+
background: #c8ebfb;
|
|
16206
|
+
}
|
|
16207
|
+
|
|
16208
|
+
li[data-v-a555cba7] {
|
|
16209
|
+
color: #333;
|
|
16210
|
+
}
|
|
16211
|
+
.context-menu[data-v-a555cba7] {
|
|
16212
|
+
position: fixed;
|
|
16213
|
+
background: #fff;
|
|
16214
|
+
z-index: 999;
|
|
16215
|
+
padding: 5px;
|
|
16216
|
+
margin: 0;
|
|
16217
|
+
margin-top: 30px;
|
|
16218
|
+
}
|
|
16219
|
+
.context-menu li[data-v-a555cba7] {
|
|
16220
|
+
min-width: 75px;
|
|
16221
|
+
height: 28px;
|
|
16222
|
+
line-height: 28px;
|
|
16223
|
+
text-align: left;
|
|
16224
|
+
color: #1a1a1a;
|
|
16225
|
+
cursor: pointer;
|
|
16226
|
+
}
|
|
16227
|
+
.context-menu li[data-v-a555cba7]:hover {
|
|
16228
|
+
background: #5893ef;
|
|
16229
|
+
color: #fff;
|
|
16230
|
+
}
|
|
16231
|
+
.context-menu[data-v-a555cba7] {
|
|
16232
|
+
border: 1px solid #eee;
|
|
16233
|
+
box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
|
|
16234
|
+
border-radius: 5px;
|
|
16235
|
+
}
|
|
16236
|
+
li[data-v-a555cba7] {
|
|
16237
|
+
list-style-type: none;
|
|
16238
|
+
}
|
|
16185
16239
|
.el-tree-node__content {
|
|
16186
16240
|
height: 34px !important;
|
|
16187
16241
|
}
|
|
@@ -17418,60 +17472,6 @@ fieldset.amb-design-item-selected {
|
|
|
17418
17472
|
padding: 10px;
|
|
17419
17473
|
font-weight: bold;
|
|
17420
17474
|
}
|
|
17421
|
-
|
|
17422
|
-
/*不显示列样式*/
|
|
17423
|
-
.hiddenBorder {
|
|
17424
|
-
border-right: solid 1px #ebebeb !important;
|
|
17425
|
-
border-left: solid 1px #ebebeb !important;
|
|
17426
|
-
background-color: #ebebeb !important;
|
|
17427
|
-
}
|
|
17428
|
-
/*选中列样式*/
|
|
17429
|
-
.addBorder {
|
|
17430
|
-
border-right: solid 1px #5893ef !important;
|
|
17431
|
-
border-left: solid 1px #5893ef !important;
|
|
17432
|
-
background-color: #5893ef !important;
|
|
17433
|
-
color: #ffffff;
|
|
17434
|
-
}
|
|
17435
|
-
.ghost {
|
|
17436
|
-
opacity: 0.5;
|
|
17437
|
-
background: #c8ebfb;
|
|
17438
|
-
}
|
|
17439
|
-
|
|
17440
|
-
li[data-v-a555cba7] {
|
|
17441
|
-
color: #333;
|
|
17442
|
-
}
|
|
17443
|
-
.context-menu[data-v-a555cba7] {
|
|
17444
|
-
position: fixed;
|
|
17445
|
-
background: #fff;
|
|
17446
|
-
z-index: 999;
|
|
17447
|
-
padding: 5px;
|
|
17448
|
-
margin: 0;
|
|
17449
|
-
margin-top: 30px;
|
|
17450
|
-
}
|
|
17451
|
-
.context-menu li[data-v-a555cba7] {
|
|
17452
|
-
min-width: 75px;
|
|
17453
|
-
height: 28px;
|
|
17454
|
-
line-height: 28px;
|
|
17455
|
-
text-align: left;
|
|
17456
|
-
color: #1a1a1a;
|
|
17457
|
-
cursor: pointer;
|
|
17458
|
-
}
|
|
17459
|
-
.context-menu li[data-v-a555cba7]:hover {
|
|
17460
|
-
background: #5893ef;
|
|
17461
|
-
color: #fff;
|
|
17462
|
-
}
|
|
17463
|
-
.context-menu[data-v-a555cba7] {
|
|
17464
|
-
border: 1px solid #eee;
|
|
17465
|
-
box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
|
|
17466
|
-
border-radius: 5px;
|
|
17467
|
-
}
|
|
17468
|
-
li[data-v-a555cba7] {
|
|
17469
|
-
list-style-type: none;
|
|
17470
|
-
}
|
|
17471
|
-
|
|
17472
|
-
[data-v-bab42532] .el-form-item__label {
|
|
17473
|
-
padding: 0;
|
|
17474
|
-
}
|
|
17475
17475
|
|
|
17476
17476
|
.amb-design-attr-header[data-v-226997f7] {
|
|
17477
17477
|
position: sticky;
|
|
@@ -17570,14 +17570,6 @@ li[data-v-a555cba7] {
|
|
|
17570
17570
|
margin-bottom: 20px;
|
|
17571
17571
|
}
|
|
17572
17572
|
|
|
17573
|
-
.seleteSort[data-v-1dada466] {
|
|
17574
|
-
border-radius: 5px;
|
|
17575
|
-
border: 1px solid rgba(88, 147, 239);
|
|
17576
|
-
}
|
|
17577
|
-
[data-v-1dada466] .el-select__selection{
|
|
17578
|
-
display: inline-block;
|
|
17579
|
-
}
|
|
17580
|
-
|
|
17581
17573
|
.seleteSort[data-v-3336d6c5] {
|
|
17582
17574
|
border-radius: 5px;
|
|
17583
17575
|
border: 1px solid rgba(88, 147, 239);
|
|
@@ -17628,12 +17620,16 @@ li[data-v-4fd4369c] {
|
|
|
17628
17620
|
color: #7b7b7b;
|
|
17629
17621
|
}
|
|
17630
17622
|
|
|
17631
|
-
.
|
|
17632
|
-
|
|
17623
|
+
.seleteSort[data-v-1dada466] {
|
|
17624
|
+
border-radius: 5px;
|
|
17625
|
+
border: 1px solid rgba(88, 147, 239);
|
|
17626
|
+
}
|
|
17627
|
+
[data-v-1dada466] .el-select__selection{
|
|
17628
|
+
display: inline-block;
|
|
17633
17629
|
}
|
|
17634
17630
|
|
|
17635
|
-
[data-v-
|
|
17636
|
-
|
|
17631
|
+
.el-tag[data-v-665d3bf4]{
|
|
17632
|
+
margin-left: 10px;
|
|
17637
17633
|
}
|
|
17638
17634
|
|
|
17639
17635
|
.seleteSort[data-v-a62867e0] {
|
|
@@ -17641,6 +17637,10 @@ li[data-v-4fd4369c] {
|
|
|
17641
17637
|
border: 1px solid rgba(88, 147, 239);
|
|
17642
17638
|
}
|
|
17643
17639
|
|
|
17640
|
+
[data-v-1aa6f1ab] .centered-input .el-input__inner {
|
|
17641
|
+
text-align: center;
|
|
17642
|
+
}
|
|
17643
|
+
|
|
17644
17644
|
.row-backgroud-header-tittle[data-v-b203475d]{
|
|
17645
17645
|
display: flex;
|
|
17646
17646
|
justify-content: space-between;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "super-page-designer",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.58",
|
|
4
4
|
"description": "AgileBuilder super page designer",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/es/index.js",
|
|
@@ -28,7 +28,8 @@
|
|
|
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-
|
|
31
|
+
"agilebuilder-private-libs": "1.0.26",
|
|
32
|
+
"agilebuilder-ui": "1.0.89",
|
|
32
33
|
"echarts": "^5.5.0",
|
|
33
34
|
"element-plus": "^2.6.1",
|
|
34
35
|
"font-awesome": "^4.7.0",
|
|
@@ -39,8 +40,8 @@
|
|
|
39
40
|
"pinia": "^2.1.7",
|
|
40
41
|
"qrcode": "^1.5.3",
|
|
41
42
|
"quill": "^2.0.1",
|
|
42
|
-
"service-flow-designer": "2.1.
|
|
43
|
-
"super-page-runtime": "2.1.
|
|
43
|
+
"service-flow-designer": "2.1.56",
|
|
44
|
+
"super-page-runtime": "2.1.57",
|
|
44
45
|
"uuid": "^9.0.1",
|
|
45
46
|
"vite": "^5.1.6",
|
|
46
47
|
"vite-plugin-node-stdlib-browser": "^0.2.1",
|
|
@@ -51,7 +52,7 @@
|
|
|
51
52
|
"vue-echarts": "^6.6.9",
|
|
52
53
|
"vue-router": "^4.3.0",
|
|
53
54
|
"vuex": "^4.1.0",
|
|
54
|
-
"workflow-editor": "0.0.
|
|
55
|
+
"workflow-editor": "0.0.47-up"
|
|
55
56
|
},
|
|
56
57
|
"devDependencies": {
|
|
57
58
|
"@codemirror/autocomplete": "^6.16.0",
|