super-page-designer 2.1.44 → 2.1.47

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.
@@ -9,7 +9,7 @@ import "uuid";
9
9
  import "../../../../../../stores/page-store.js";
10
10
  import "../../../../../../stores/table-store.js";
11
11
  import "../../../../../../stores/statistics-table-store.js";
12
- import "../../common/common-variable-bind.vue3.js";
12
+ import "../../common/common-variable-bind.vue2.js";
13
13
  import "../../../../utils/eventBus.js";
14
14
  import _sfc_main$1 from "../../common/common-function-code.vue.js";
15
15
  const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
@@ -8,7 +8,7 @@ import http from "agilebuilder-ui/src/utils/request";
8
8
  import { usePageContextStore } from "../../../../../../stores/page-store.js";
9
9
  import "../../../../../../stores/table-store.js";
10
10
  import "../../../../../../stores/statistics-table-store.js";
11
- import "../../common/common-variable-bind.vue3.js";
11
+ import "../../common/common-variable-bind.vue2.js";
12
12
  import _sfc_main$4 from "./data-origin-service-in.vue.js";
13
13
  import { queryTableFields } from "../../../../utils/page-table-util.js";
14
14
  import { getCustomFuncs } from "../../../../utils/page-event-util.js";
@@ -54,7 +54,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
54
54
  if (!((_b = (_a = props.pageDesign) == null ? void 0 : _a.tableUuids) == null ? void 0 : _b.includes(props.configure.uuid))) {
55
55
  (_d = (_c = props.pageDesign) == null ? void 0 : _c.tableUuids) == null ? void 0 : _d.push(props.configure.uuid);
56
56
  }
57
- if ((_e = props.pageDesign) == null ? void 0 : _e.listCodesMap) {
57
+ if (((_e = props.pageDesign) == null ? void 0 : _e.listCodesMap) && props.configure.code) {
58
58
  const listCode = getListCode(props.pageDesign.code, props.pageDesign.version, props.configure.uuid);
59
59
  props.pageDesign.listCodesMap[listCode] = props.configure.code;
60
60
  }
@@ -74,6 +74,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
74
74
  }
75
75
  });
76
76
  }
77
+ watch(
78
+ () => props.configure.code,
79
+ (newVal) => {
80
+ if (!props.pageDesign.listCodesMap) {
81
+ props.pageDesign.listCodesMap = {};
82
+ }
83
+ const listCode = getListCode(props.pageDesign.code, props.pageDesign.version, props.configure.uuid);
84
+ if (listCode) {
85
+ if (newVal) {
86
+ props.pageDesign.listCodesMap[listCode] = props.configure.code;
87
+ } else {
88
+ if (props.pageDesign.listCodesMap && props.pageDesign.listCodesMap[listCode]) {
89
+ delete props.pageDesign.listCodesMap[listCode];
90
+ }
91
+ }
92
+ }
93
+ }
94
+ );
77
95
  }
78
96
  if (props.configure.events && props.pageDesign) {
79
97
  watch(
package/dist/es/style.css CHANGED
@@ -674,6 +674,10 @@ fieldset.amb-design-item-selected {
674
674
  [data-v-511b453b]::-webkit-scrollbar-thumb:hover {
675
675
  background-color: grey;
676
676
  }
677
+
678
+ .el-select__wrapper.is-disabled{
679
+ cursor: default;
680
+ }
677
681
  .el-tree-node__content {
678
682
  height: 34px !important;
679
683
  }
@@ -4383,7 +4387,7 @@ fieldset.amb-design-item-selected {
4383
4387
  font-weight: bold;
4384
4388
  }
4385
4389
 
4386
- .el-select__wrapper.is-disabled{
4390
+ .el-switch.is-disabled .el-switch__core, .el-switch.is-disabled .el-switch__label{
4387
4391
  cursor: default;
4388
4392
  }
4389
4393
  .el-tree-node__content {
@@ -5622,10 +5626,6 @@ fieldset.amb-design-item-selected {
5622
5626
  padding: 10px;
5623
5627
  font-weight: bold;
5624
5628
  }
5625
-
5626
- .el-switch.is-disabled .el-switch__core, .el-switch.is-disabled .el-switch__label{
5627
- cursor: default;
5628
- }
5629
5629
  .el-tree-node__content {
5630
5630
  height: 34px !important;
5631
5631
  }
@@ -16182,6 +16182,56 @@ fieldset.amb-design-item-selected {
16182
16182
  padding: 10px;
16183
16183
  font-weight: bold;
16184
16184
  }
16185
+
16186
+ /*不显示列样式*/
16187
+ .hiddenBorder {
16188
+ border-right: solid 1px #ebebeb !important;
16189
+ border-left: solid 1px #ebebeb !important;
16190
+ background-color: #ebebeb !important;
16191
+ }
16192
+ /*选中列样式*/
16193
+ .addBorder {
16194
+ border-right: solid 1px #5893ef !important;
16195
+ border-left: solid 1px #5893ef !important;
16196
+ background-color: #5893ef !important;
16197
+ color: #ffffff;
16198
+ }
16199
+ .ghost {
16200
+ opacity: 0.5;
16201
+ background: #c8ebfb;
16202
+ }
16203
+
16204
+ li[data-v-a74e7ce8] {
16205
+ color: #333;
16206
+ }
16207
+ .context-menu[data-v-a74e7ce8] {
16208
+ position: fixed;
16209
+ background: #fff;
16210
+ z-index: 999;
16211
+ padding: 5px;
16212
+ margin: 0;
16213
+ margin-top: 30px;
16214
+ }
16215
+ .context-menu li[data-v-a74e7ce8] {
16216
+ min-width: 75px;
16217
+ height: 28px;
16218
+ line-height: 28px;
16219
+ text-align: left;
16220
+ color: #1a1a1a;
16221
+ cursor: pointer;
16222
+ }
16223
+ .context-menu li[data-v-a74e7ce8]:hover {
16224
+ background: #5893ef;
16225
+ color: #fff;
16226
+ }
16227
+ .context-menu[data-v-a74e7ce8] {
16228
+ border: 1px solid #eee;
16229
+ box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
16230
+ border-radius: 5px;
16231
+ }
16232
+ li[data-v-a74e7ce8] {
16233
+ list-style-type: none;
16234
+ }
16185
16235
  .el-tree-node__content {
16186
16236
  height: 34px !important;
16187
16237
  }
@@ -16804,56 +16854,6 @@ fieldset.amb-design-item-selected {
16804
16854
  [data-v-bab42532] .el-form-item__label {
16805
16855
  padding: 0;
16806
16856
  }
16807
-
16808
- /*不显示列样式*/
16809
- .hiddenBorder {
16810
- border-right: solid 1px #ebebeb !important;
16811
- border-left: solid 1px #ebebeb !important;
16812
- background-color: #ebebeb !important;
16813
- }
16814
- /*选中列样式*/
16815
- .addBorder {
16816
- border-right: solid 1px #5893ef !important;
16817
- border-left: solid 1px #5893ef !important;
16818
- background-color: #5893ef !important;
16819
- color: #ffffff;
16820
- }
16821
- .ghost {
16822
- opacity: 0.5;
16823
- background: #c8ebfb;
16824
- }
16825
-
16826
- li[data-v-a74e7ce8] {
16827
- color: #333;
16828
- }
16829
- .context-menu[data-v-a74e7ce8] {
16830
- position: fixed;
16831
- background: #fff;
16832
- z-index: 999;
16833
- padding: 5px;
16834
- margin: 0;
16835
- margin-top: 30px;
16836
- }
16837
- .context-menu li[data-v-a74e7ce8] {
16838
- min-width: 75px;
16839
- height: 28px;
16840
- line-height: 28px;
16841
- text-align: left;
16842
- color: #1a1a1a;
16843
- cursor: pointer;
16844
- }
16845
- .context-menu li[data-v-a74e7ce8]:hover {
16846
- background: #5893ef;
16847
- color: #fff;
16848
- }
16849
- .context-menu[data-v-a74e7ce8] {
16850
- border: 1px solid #eee;
16851
- box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
16852
- border-radius: 5px;
16853
- }
16854
- li[data-v-a74e7ce8] {
16855
- list-style-type: none;
16856
- }
16857
16857
  .el-tree-node__content {
16858
16858
  height: 34px !important;
16859
16859
  }
@@ -17528,11 +17528,6 @@ fieldset.amb-design-item-selected {
17528
17528
  align-items: center; /* 子元素在交叉轴(垂直方向)上居中对齐 */
17529
17529
  }
17530
17530
 
17531
- .seleteSort[data-v-8aacbe0c] {
17532
- border-radius: 5px;
17533
- border: 1px solid rgba(88, 147, 239);
17534
- }
17535
-
17536
17531
  .icon-set-center-body[data-v-181d1ce8]{
17537
17532
  display: grid;
17538
17533
  grid-template-columns:repeat(5,1fr);
@@ -17570,17 +17565,22 @@ fieldset.amb-design-item-selected {
17570
17565
  margin-bottom: 20px;
17571
17566
  }
17572
17567
 
17568
+ .seleteSort[data-v-8aacbe0c] {
17569
+ border-radius: 5px;
17570
+ border: 1px solid rgba(88, 147, 239);
17571
+ }
17572
+
17573
17573
  .seleteSort[data-v-a8c75465] {
17574
17574
  border-radius: 5px;
17575
17575
  border: 1px solid rgba(88, 147, 239);
17576
17576
  }
17577
17577
 
17578
- .seleteSort[data-v-1dada466] {
17579
- border-radius: 5px;
17580
- border: 1px solid rgba(88, 147, 239);
17578
+ .stateBtn[data-v-ae2798fb]{
17579
+ display: flex;
17581
17580
  }
17582
- [data-v-1dada466] .el-select__selection{
17583
- display: inline-block;
17581
+ .stateText[data-v-ae2798fb]{
17582
+ margin-left: 10px;
17583
+ color: #7b7b7b;
17584
17584
  }
17585
17585
 
17586
17586
  li[data-v-74ebe0ac] {
@@ -17620,16 +17620,12 @@ li[data-v-74ebe0ac] {
17620
17620
  list-style-type: none;
17621
17621
  }
17622
17622
 
17623
- .stateBtn[data-v-ae2798fb]{
17624
- display: flex;
17623
+ .seleteSort[data-v-1dada466] {
17624
+ border-radius: 5px;
17625
+ border: 1px solid rgba(88, 147, 239);
17625
17626
  }
17626
- .stateText[data-v-ae2798fb]{
17627
- margin-left: 10px;
17628
- color: #7b7b7b;
17629
- }
17630
-
17631
- .el-tag[data-v-665d3bf4]{
17632
- margin-left: 10px;
17627
+ [data-v-1dada466] .el-select__selection{
17628
+ display: inline-block;
17633
17629
  }
17634
17630
 
17635
17631
  .row-backgroud-header-tittle[data-v-b203475d]{
@@ -17641,8 +17637,8 @@ li[data-v-74ebe0ac] {
17641
17637
  width: 100%
17642
17638
  }
17643
17639
 
17644
- [data-v-1aa6f1ab] .centered-input .el-input__inner {
17645
- text-align: center;
17640
+ .el-tag[data-v-665d3bf4]{
17641
+ margin-left: 10px;
17646
17642
  }
17647
17643
 
17648
17644
  .seleteSort[data-v-ccdcf268] {
@@ -17650,6 +17646,10 @@ li[data-v-74ebe0ac] {
17650
17646
  border: 1px solid rgba(88, 147, 239);
17651
17647
  }
17652
17648
 
17649
+ [data-v-1aa6f1ab] .centered-input .el-input__inner {
17650
+ text-align: center;
17651
+ }
17652
+
17653
17653
  .input-with-select .el-input-group__append {
17654
17654
  background-color: var(--el-fill-color-blank);
17655
17655
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-page-designer",
3
- "version": "2.1.44",
3
+ "version": "2.1.47",
4
4
  "description": "AgileBuilder super page designer",
5
5
  "license": "ISC",
6
6
  "main": "dist/es/index.js",
@@ -28,8 +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-private-libs": "1.0.26",
32
- "agilebuilder-ui": "1.0.82",
31
+ "agilebuilder-ui": "1.0.83",
33
32
  "echarts": "^5.5.0",
34
33
  "element-plus": "^2.6.1",
35
34
  "font-awesome": "^4.7.0",
@@ -39,8 +38,8 @@
39
38
  "pinia": "^2.1.7",
40
39
  "qrcode": "^1.5.3",
41
40
  "quill": "^2.0.1",
42
- "service-flow-designer": "2.1.43",
43
- "super-page-runtime": "2.1.42",
41
+ "service-flow-designer": "2.1.46",
42
+ "super-page-runtime": "2.1.45",
44
43
  "uuid": "^9.0.1",
45
44
  "vite": "^5.1.6",
46
45
  "vite-plugin-node-stdlib-browser": "^0.2.1",