super-page-designer 2.1.16 → 2.1.18
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.
|
@@ -154,12 +154,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
154
154
|
}
|
|
155
155
|
function saveCondition(table) {
|
|
156
156
|
props.configure.props.otherSettings["sourceQueryTableData"] = JSON.stringify(table);
|
|
157
|
+
realTimeChange();
|
|
158
|
+
}
|
|
159
|
+
function realTimeChange() {
|
|
160
|
+
const table = props.configure.props.otherSettings["sourceQueryTableData"] ? JSON.parse(props.configure.props.otherSettings["sourceQueryTableData"]) : [];
|
|
157
161
|
let mainFormProps = null;
|
|
158
162
|
if (props.configure.props.otherSettings.isRealTimeChange) {
|
|
159
|
-
if (
|
|
163
|
+
if (table && table.length > 0) {
|
|
160
164
|
mainFormProps = [];
|
|
161
|
-
|
|
162
|
-
if (item && item.propValue && (item.
|
|
165
|
+
table.forEach((item) => {
|
|
166
|
+
if (item && item.propValue && (item.propValue.indexOf("${data.") >= 0 || item.propValue.indexOf("${page.") >= 0)) {
|
|
163
167
|
mainFormProps.push(item.propValue);
|
|
164
168
|
}
|
|
165
169
|
});
|
|
@@ -169,7 +173,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
169
173
|
props.pageDesign.subTableWatchProps = {};
|
|
170
174
|
}
|
|
171
175
|
props.pageDesign.subTableWatchProps[props.configure.uuid] = mainFormProps;
|
|
172
|
-
console.log("%c描述-142553", "color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px", props.configure.props.otherSettings["sourceQueryTableData"]);
|
|
173
176
|
}
|
|
174
177
|
function closeCombination() {
|
|
175
178
|
combinationVisible.value = false;
|
|
@@ -872,7 +875,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
872
875
|
modelValue: __props.configure.props.otherSettings.isRealTimeChange,
|
|
873
876
|
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => __props.configure.props.otherSettings.isRealTimeChange = $event),
|
|
874
877
|
class: "ml-4",
|
|
875
|
-
onChange:
|
|
878
|
+
onChange: realTimeChange
|
|
876
879
|
}, {
|
|
877
880
|
default: withCtx(() => [
|
|
878
881
|
createVNode(_component_el_radio, { value: true }, {
|
|
@@ -889,7 +892,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
889
892
|
})
|
|
890
893
|
]),
|
|
891
894
|
_: 1
|
|
892
|
-
}, 8, ["modelValue"
|
|
895
|
+
}, 8, ["modelValue"])
|
|
893
896
|
]),
|
|
894
897
|
_: 1
|
|
895
898
|
}),
|
package/dist/es/style.css
CHANGED
|
@@ -2528,6 +2528,10 @@ fieldset.amb-design-item-selected {
|
|
|
2528
2528
|
padding: 10px;
|
|
2529
2529
|
font-weight: bold;
|
|
2530
2530
|
}
|
|
2531
|
+
|
|
2532
|
+
.el-switch.is-disabled .el-switch__core, .el-switch.is-disabled .el-switch__label{
|
|
2533
|
+
cursor: default;
|
|
2534
|
+
}
|
|
2531
2535
|
.el-tree-node__content {
|
|
2532
2536
|
height: 34px !important;
|
|
2533
2537
|
}
|
|
@@ -3764,10 +3768,6 @@ fieldset.amb-design-item-selected {
|
|
|
3764
3768
|
padding: 10px;
|
|
3765
3769
|
font-weight: bold;
|
|
3766
3770
|
}
|
|
3767
|
-
|
|
3768
|
-
.el-switch.is-disabled .el-switch__core, .el-switch.is-disabled .el-switch__label{
|
|
3769
|
-
cursor: default;
|
|
3770
|
-
}
|
|
3771
3771
|
.el-tree-node__content {
|
|
3772
3772
|
height: 34px !important;
|
|
3773
3773
|
}
|
|
@@ -6862,6 +6862,56 @@ fieldset.amb-design-item-selected {
|
|
|
6862
6862
|
padding: 10px;
|
|
6863
6863
|
font-weight: bold;
|
|
6864
6864
|
}
|
|
6865
|
+
|
|
6866
|
+
/*不显示列样式*/
|
|
6867
|
+
.hiddenBorder {
|
|
6868
|
+
border-right: solid 1px #ebebeb !important;
|
|
6869
|
+
border-left: solid 1px #ebebeb !important;
|
|
6870
|
+
background-color: #ebebeb !important;
|
|
6871
|
+
}
|
|
6872
|
+
/*选中列样式*/
|
|
6873
|
+
.addBorder {
|
|
6874
|
+
border-right: solid 1px #5893ef !important;
|
|
6875
|
+
border-left: solid 1px #5893ef !important;
|
|
6876
|
+
background-color: #5893ef !important;
|
|
6877
|
+
color: #ffffff;
|
|
6878
|
+
}
|
|
6879
|
+
.ghost {
|
|
6880
|
+
opacity: 0.5;
|
|
6881
|
+
background: #c8ebfb;
|
|
6882
|
+
}
|
|
6883
|
+
|
|
6884
|
+
li[data-v-55bb4cd3] {
|
|
6885
|
+
color: #333;
|
|
6886
|
+
}
|
|
6887
|
+
.context-menu[data-v-55bb4cd3] {
|
|
6888
|
+
position: fixed;
|
|
6889
|
+
background: #fff;
|
|
6890
|
+
z-index: 999;
|
|
6891
|
+
padding: 5px;
|
|
6892
|
+
margin: 0;
|
|
6893
|
+
margin-top: 30px;
|
|
6894
|
+
}
|
|
6895
|
+
.context-menu li[data-v-55bb4cd3] {
|
|
6896
|
+
min-width: 75px;
|
|
6897
|
+
height: 28px;
|
|
6898
|
+
line-height: 28px;
|
|
6899
|
+
text-align: left;
|
|
6900
|
+
color: #1a1a1a;
|
|
6901
|
+
cursor: pointer;
|
|
6902
|
+
}
|
|
6903
|
+
.context-menu li[data-v-55bb4cd3]:hover {
|
|
6904
|
+
background: #5893ef;
|
|
6905
|
+
color: #fff;
|
|
6906
|
+
}
|
|
6907
|
+
.context-menu[data-v-55bb4cd3] {
|
|
6908
|
+
border: 1px solid #eee;
|
|
6909
|
+
box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
|
|
6910
|
+
border-radius: 5px;
|
|
6911
|
+
}
|
|
6912
|
+
li[data-v-55bb4cd3] {
|
|
6913
|
+
list-style-type: none;
|
|
6914
|
+
}
|
|
6865
6915
|
.el-tree-node__content {
|
|
6866
6916
|
height: 34px !important;
|
|
6867
6917
|
}
|
|
@@ -9952,56 +10002,6 @@ fieldset.amb-design-item-selected {
|
|
|
9952
10002
|
padding: 10px;
|
|
9953
10003
|
font-weight: bold;
|
|
9954
10004
|
}
|
|
9955
|
-
|
|
9956
|
-
/*不显示列样式*/
|
|
9957
|
-
.hiddenBorder {
|
|
9958
|
-
border-right: solid 1px #ebebeb !important;
|
|
9959
|
-
border-left: solid 1px #ebebeb !important;
|
|
9960
|
-
background-color: #ebebeb !important;
|
|
9961
|
-
}
|
|
9962
|
-
/*选中列样式*/
|
|
9963
|
-
.addBorder {
|
|
9964
|
-
border-right: solid 1px #5893ef !important;
|
|
9965
|
-
border-left: solid 1px #5893ef !important;
|
|
9966
|
-
background-color: #5893ef !important;
|
|
9967
|
-
color: #ffffff;
|
|
9968
|
-
}
|
|
9969
|
-
.ghost {
|
|
9970
|
-
opacity: 0.5;
|
|
9971
|
-
background: #c8ebfb;
|
|
9972
|
-
}
|
|
9973
|
-
|
|
9974
|
-
li[data-v-55bb4cd3] {
|
|
9975
|
-
color: #333;
|
|
9976
|
-
}
|
|
9977
|
-
.context-menu[data-v-55bb4cd3] {
|
|
9978
|
-
position: fixed;
|
|
9979
|
-
background: #fff;
|
|
9980
|
-
z-index: 999;
|
|
9981
|
-
padding: 5px;
|
|
9982
|
-
margin: 0;
|
|
9983
|
-
margin-top: 30px;
|
|
9984
|
-
}
|
|
9985
|
-
.context-menu li[data-v-55bb4cd3] {
|
|
9986
|
-
min-width: 75px;
|
|
9987
|
-
height: 28px;
|
|
9988
|
-
line-height: 28px;
|
|
9989
|
-
text-align: left;
|
|
9990
|
-
color: #1a1a1a;
|
|
9991
|
-
cursor: pointer;
|
|
9992
|
-
}
|
|
9993
|
-
.context-menu li[data-v-55bb4cd3]:hover {
|
|
9994
|
-
background: #5893ef;
|
|
9995
|
-
color: #fff;
|
|
9996
|
-
}
|
|
9997
|
-
.context-menu[data-v-55bb4cd3] {
|
|
9998
|
-
border: 1px solid #eee;
|
|
9999
|
-
box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
|
|
10000
|
-
border-radius: 5px;
|
|
10001
|
-
}
|
|
10002
|
-
li[data-v-55bb4cd3] {
|
|
10003
|
-
list-style-type: none;
|
|
10004
|
-
}
|
|
10005
10005
|
.el-tree-node__content {
|
|
10006
10006
|
height: 34px !important;
|
|
10007
10007
|
}
|
|
@@ -16182,6 +16182,10 @@ fieldset.amb-design-item-selected {
|
|
|
16182
16182
|
padding: 10px;
|
|
16183
16183
|
font-weight: bold;
|
|
16184
16184
|
}
|
|
16185
|
+
|
|
16186
|
+
[data-v-d87986ba] .el-form-item__label{
|
|
16187
|
+
padding: 0;
|
|
16188
|
+
}
|
|
16185
16189
|
.el-tree-node__content {
|
|
16186
16190
|
height: 34px !important;
|
|
16187
16191
|
}
|
|
@@ -16801,10 +16805,6 @@ fieldset.amb-design-item-selected {
|
|
|
16801
16805
|
font-weight: bold;
|
|
16802
16806
|
}
|
|
16803
16807
|
|
|
16804
|
-
[data-v-d87986ba] .el-form-item__label{
|
|
16805
|
-
padding: 0;
|
|
16806
|
-
}
|
|
16807
|
-
|
|
16808
16808
|
.amb-design-attr-header[data-v-226997f7] {
|
|
16809
16809
|
position: sticky;
|
|
16810
16810
|
position: -webkit-sticky;
|
|
@@ -16847,67 +16847,23 @@ fieldset.amb-design-item-selected {
|
|
|
16847
16847
|
min-width: 120px !important;
|
|
16848
16848
|
}
|
|
16849
16849
|
|
|
16850
|
-
li[data-v-b436905c] {
|
|
16851
|
-
color: #333;
|
|
16852
|
-
}
|
|
16853
|
-
.context-menu[data-v-b436905c] {
|
|
16854
|
-
position: fixed;
|
|
16855
|
-
background: #fff;
|
|
16856
|
-
z-index: 999;
|
|
16857
|
-
padding: 5px;
|
|
16858
|
-
margin: 0;
|
|
16859
|
-
margin-top: 30px;
|
|
16860
|
-
}
|
|
16861
|
-
.context-menu li[data-v-b436905c] {
|
|
16862
|
-
min-width: 75px;
|
|
16863
|
-
height: 28px;
|
|
16864
|
-
line-height: 28px;
|
|
16865
|
-
text-align: left;
|
|
16866
|
-
color: #1a1a1a;
|
|
16867
|
-
cursor: pointer;
|
|
16868
|
-
}
|
|
16869
|
-
|
|
16870
|
-
/*.context-menu li:hover {*/
|
|
16871
|
-
/* background: #5893ef;*/
|
|
16872
|
-
/* color: #fff;*/
|
|
16873
|
-
/*}*/
|
|
16874
|
-
.context-menuLi[data-v-b436905c]:hover {
|
|
16875
|
-
background: #5893ef;
|
|
16876
|
-
color: #fff;
|
|
16877
|
-
}
|
|
16878
|
-
.context-menu[data-v-b436905c] {
|
|
16879
|
-
border: 1px solid #eee;
|
|
16880
|
-
box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
|
|
16881
|
-
border-radius: 5px;
|
|
16882
|
-
}
|
|
16883
|
-
li[data-v-b436905c] {
|
|
16884
|
-
list-style-type: none;
|
|
16885
|
-
}
|
|
16886
|
-
|
|
16887
16850
|
.seleteSort[data-v-e6c84ad9] {
|
|
16888
16851
|
border-radius: 5px;
|
|
16889
16852
|
border: 1px solid rgba(88, 147, 239);
|
|
16890
16853
|
}
|
|
16891
16854
|
|
|
16892
|
-
.
|
|
16893
|
-
|
|
16894
|
-
|
|
16895
|
-
|
|
16896
|
-
margin-right: 10px;
|
|
16897
|
-
cursor: pointer;
|
|
16855
|
+
.row-backgroud-header-tittle[data-v-b203475d]{
|
|
16856
|
+
display: flex;
|
|
16857
|
+
justify-content: space-between;
|
|
16858
|
+
text-align: center
|
|
16898
16859
|
}
|
|
16899
|
-
.
|
|
16900
|
-
|
|
16901
|
-
justify-content: flex-start;
|
|
16902
|
-
align-items: center; /* 子元素在交叉轴(垂直方向)上居中对齐 */
|
|
16860
|
+
.row-backgroud-header-tittle > div[data-v-b203475d]{
|
|
16861
|
+
width: 100%
|
|
16903
16862
|
}
|
|
16904
16863
|
|
|
16905
|
-
.
|
|
16906
|
-
|
|
16907
|
-
|
|
16908
|
-
.stateText[data-v-ae2798fb]{
|
|
16909
|
-
margin-left: 10px;
|
|
16910
|
-
color: #7b7b7b;
|
|
16864
|
+
.seleteSort[data-v-a8c75465] {
|
|
16865
|
+
border-radius: 5px;
|
|
16866
|
+
border: 1px solid rgba(88, 147, 239);
|
|
16911
16867
|
}
|
|
16912
16868
|
|
|
16913
16869
|
.icon-set-center-body[data-v-4aa5ce08]{
|
|
@@ -16947,22 +16903,62 @@ li[data-v-b436905c] {
|
|
|
16947
16903
|
margin-bottom: 20px;
|
|
16948
16904
|
}
|
|
16949
16905
|
|
|
16950
|
-
.
|
|
16951
|
-
|
|
16952
|
-
justify-content: space-between;
|
|
16953
|
-
text-align: center
|
|
16906
|
+
.editorTool[data-v-26f79956] {
|
|
16907
|
+
margin-left: auto;
|
|
16954
16908
|
}
|
|
16955
|
-
.
|
|
16956
|
-
|
|
16909
|
+
.editorOption[data-v-26f79956] {
|
|
16910
|
+
margin-right: 10px;
|
|
16911
|
+
cursor: pointer;
|
|
16912
|
+
}
|
|
16913
|
+
.pppp[data-v-26f79956] {
|
|
16914
|
+
display: flex; /* 使用Flex布局 */
|
|
16915
|
+
justify-content: flex-start;
|
|
16916
|
+
align-items: center; /* 子元素在交叉轴(垂直方向)上居中对齐 */
|
|
16957
16917
|
}
|
|
16958
16918
|
|
|
16959
|
-
.
|
|
16960
|
-
|
|
16961
|
-
|
|
16919
|
+
.stateBtn[data-v-ae2798fb]{
|
|
16920
|
+
display: flex;
|
|
16921
|
+
}
|
|
16922
|
+
.stateText[data-v-ae2798fb]{
|
|
16923
|
+
margin-left: 10px;
|
|
16924
|
+
color: #7b7b7b;
|
|
16962
16925
|
}
|
|
16963
16926
|
|
|
16964
|
-
|
|
16965
|
-
|
|
16927
|
+
li[data-v-b436905c] {
|
|
16928
|
+
color: #333;
|
|
16929
|
+
}
|
|
16930
|
+
.context-menu[data-v-b436905c] {
|
|
16931
|
+
position: fixed;
|
|
16932
|
+
background: #fff;
|
|
16933
|
+
z-index: 999;
|
|
16934
|
+
padding: 5px;
|
|
16935
|
+
margin: 0;
|
|
16936
|
+
margin-top: 30px;
|
|
16937
|
+
}
|
|
16938
|
+
.context-menu li[data-v-b436905c] {
|
|
16939
|
+
min-width: 75px;
|
|
16940
|
+
height: 28px;
|
|
16941
|
+
line-height: 28px;
|
|
16942
|
+
text-align: left;
|
|
16943
|
+
color: #1a1a1a;
|
|
16944
|
+
cursor: pointer;
|
|
16945
|
+
}
|
|
16946
|
+
|
|
16947
|
+
/*.context-menu li:hover {*/
|
|
16948
|
+
/* background: #5893ef;*/
|
|
16949
|
+
/* color: #fff;*/
|
|
16950
|
+
/*}*/
|
|
16951
|
+
.context-menuLi[data-v-b436905c]:hover {
|
|
16952
|
+
background: #5893ef;
|
|
16953
|
+
color: #fff;
|
|
16954
|
+
}
|
|
16955
|
+
.context-menu[data-v-b436905c] {
|
|
16956
|
+
border: 1px solid #eee;
|
|
16957
|
+
box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
|
|
16958
|
+
border-radius: 5px;
|
|
16959
|
+
}
|
|
16960
|
+
li[data-v-b436905c] {
|
|
16961
|
+
list-style-type: none;
|
|
16966
16962
|
}
|
|
16967
16963
|
|
|
16968
16964
|
.seleteSort[data-v-97438be5] {
|
|
@@ -16973,6 +16969,10 @@ li[data-v-b436905c] {
|
|
|
16973
16969
|
display: inline-block;
|
|
16974
16970
|
}
|
|
16975
16971
|
|
|
16972
|
+
.el-tag[data-v-665d3bf4]{
|
|
16973
|
+
margin-left: 10px;
|
|
16974
|
+
}
|
|
16975
|
+
|
|
16976
16976
|
.input-with-select .el-input-group__append {
|
|
16977
16977
|
background-color: var(--el-fill-color-blank);
|
|
16978
16978
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "super-page-designer",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.18",
|
|
4
4
|
"description": "AgileBuilder super page designer",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/es/index.js",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"qrcode": "^1.5.3",
|
|
41
41
|
"quill": "^2.0.1",
|
|
42
42
|
"service-flow-designer": "2.1.14",
|
|
43
|
-
"super-page-runtime": "2.1.
|
|
43
|
+
"super-page-runtime": "2.1.17",
|
|
44
44
|
"uuid": "^9.0.1",
|
|
45
45
|
"vite": "^5.1.6",
|
|
46
46
|
"vite-plugin-node-stdlib-browser": "^0.2.1",
|