super-page-designer 2.1.44 → 2.1.49

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.
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, watch, resolveComponent, openBlock, createBlock, unref, normalizeClass, normalizeStyle, createSlots, withCtx, createElementVNode, createElementBlock, Fragment, renderList, createCommentVNode, createTextVNode, toDisplayString, reactive } from "vue";
1
+ import { defineComponent, ref, watch, computed, resolveComponent, openBlock, createBlock, unref, normalizeClass, normalizeStyle, createSlots, withCtx, createElementVNode, createElementBlock, Fragment, renderList, createCommentVNode, createTextVNode, toDisplayString, reactive } from "vue";
2
2
  import { ElCard } from "element-plus";
3
3
  import { useDraggable } from "vue-draggable-plus";
4
4
  import _sfc_main$1 from "../../object-design.vue.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, watch, resolveComponent, openBlock, createBlock, normalizeStyle, normalizeClass, withCtx, createElementBlock, Fragment, renderList, createElementVNode, unref, createCommentVNode, createTextVNode, toDisplayString, createVNode, reactive } from "vue";
1
+ import { defineComponent, ref, watch, computed, resolveComponent, openBlock, createBlock, normalizeStyle, normalizeClass, withCtx, createElementBlock, Fragment, renderList, createElementVNode, unref, createCommentVNode, createTextVNode, toDisplayString, createVNode, reactive } from "vue";
2
2
  import { VueDraggable } from "vue-draggable-plus";
3
3
  import _sfc_main$1 from "../../object-design.vue.js";
4
4
  import { SuperIcon } from "agilebuilder-ui";
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, watch, resolveComponent, openBlock, createBlock, withCtx, unref, normalizeStyle, createElementBlock, Fragment, renderList, createCommentVNode, createVNode, normalizeClass, reactive } from "vue";
1
+ import { defineComponent, ref, watch, computed, resolveComponent, openBlock, createBlock, withCtx, unref, normalizeStyle, createElementBlock, Fragment, renderList, createCommentVNode, createVNode, normalizeClass, reactive } from "vue";
2
2
  import { VueDraggable } from "vue-draggable-plus";
3
3
  import _sfc_main$1 from "../../object-design.vue.js";
4
4
  import { deepCopy, getUuidv4 } from "../../../../utils/common-util.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, watch, resolveComponent, openBlock, createBlock, normalizeStyle, normalizeClass, withCtx, createElementBlock, Fragment, renderList, reactive } from "vue";
1
+ import { defineComponent, ref, watch, computed, resolveComponent, openBlock, createBlock, normalizeStyle, normalizeClass, withCtx, createElementBlock, Fragment, renderList, reactive } from "vue";
2
2
  import { useDraggable } from "vue-draggable-plus";
3
3
  import _sfc_main$1 from "../../object-design.vue.js";
4
4
  import { deepCopy, getUuidv4 } from "../../../../utils/common-util.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, watch, resolveComponent, openBlock, createElementBlock, createVNode, normalizeStyle, normalizeClass, withCtx, toDisplayString, createCommentVNode, Fragment, renderList, createBlock, reactive } from "vue";
1
+ import { defineComponent, ref, watch, computed, resolveComponent, openBlock, createElementBlock, createVNode, normalizeStyle, normalizeClass, withCtx, toDisplayString, createCommentVNode, Fragment, renderList, createBlock, reactive } from "vue";
2
2
  import { useDraggable } from "vue-draggable-plus";
3
3
  import _sfc_main$1 from "../../object-design.vue.js";
4
4
  import { deepCopy, getUuidv4 } from "../../../../utils/common-util.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, watch, openBlock, createBlock, unref, normalizeClass, normalizeStyle, withCtx, createElementBlock, Fragment, renderList, createCommentVNode, createElementVNode, toDisplayString, createVNode, reactive } from "vue";
1
+ import { defineComponent, ref, watch, computed, openBlock, createBlock, unref, normalizeClass, normalizeStyle, withCtx, createElementBlock, Fragment, renderList, createCommentVNode, createElementVNode, toDisplayString, createVNode, reactive } from "vue";
2
2
  import { ElTabs, ElTabPane } from "element-plus";
3
3
  import { SuperIcon } from "agilebuilder-ui";
4
4
  import { VueDraggable } from "vue-draggable-plus";
@@ -46,18 +46,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
46
46
  if (!props.pageDesign.tableUuids) {
47
47
  props.pageDesign.tableUuids = [];
48
48
  }
49
- if (!props.pageDesign.listCodesMap) {
50
- props.pageDesign.listCodesMap = {};
51
- }
52
49
  setTimeout(() => {
53
- var _a, _b, _c, _d, _e;
50
+ var _a, _b, _c, _d;
54
51
  if (!((_b = (_a = props.pageDesign) == null ? void 0 : _a.tableUuids) == null ? void 0 : _b.includes(props.configure.uuid))) {
55
52
  (_d = (_c = props.pageDesign) == null ? void 0 : _c.tableUuids) == null ? void 0 : _d.push(props.configure.uuid);
56
53
  }
57
- if ((_e = props.pageDesign) == null ? void 0 : _e.listCodesMap) {
58
- const listCode = getListCode(props.pageDesign.code, props.pageDesign.version, props.configure.uuid);
59
- props.pageDesign.listCodesMap[listCode] = props.configure.code;
60
- }
54
+ getListCodeMap(props.configure.code);
61
55
  }, 500);
62
56
  onUnmounted(() => {
63
57
  var _a, _b, _c, _d;
@@ -74,6 +68,25 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
74
68
  }
75
69
  });
76
70
  }
71
+ watch(
72
+ () => props.configure.code,
73
+ (newVal) => {
74
+ getListCodeMap(newVal);
75
+ }
76
+ );
77
+ }
78
+ function getListCodeMap(code) {
79
+ if (!props.pageDesign.listCodesMap) {
80
+ props.pageDesign.listCodesMap = {};
81
+ }
82
+ const listCode = getListCode(props.pageDesign.code, props.pageDesign.version, props.configure.uuid);
83
+ if (listCode) {
84
+ if (code) {
85
+ props.pageDesign.listCodesMap[listCode] = code;
86
+ } else {
87
+ props.pageDesign.listCodesMap[listCode] = listCode;
88
+ }
89
+ }
77
90
  }
78
91
  if (props.configure.events && props.pageDesign) {
79
92
  watch(
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-select__wrapper.is-disabled{
1297
+ cursor: default;
1298
+ }
1295
1299
  .el-tree-node__content {
1296
1300
  height: 34px !important;
1297
1301
  }
@@ -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,10 @@ 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
+ }
16185
16189
  .el-tree-node__content {
16186
16190
  height: 34px !important;
16187
16191
  }
@@ -16800,60 +16804,6 @@ fieldset.amb-design-item-selected {
16800
16804
  padding: 10px;
16801
16805
  font-weight: bold;
16802
16806
  }
16803
-
16804
- [data-v-bab42532] .el-form-item__label {
16805
- padding: 0;
16806
- }
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
16807
  .el-tree-node__content {
16858
16808
  height: 34px !important;
16859
16809
  }
@@ -17472,6 +17422,56 @@ fieldset.amb-design-item-selected {
17472
17422
  padding: 10px;
17473
17423
  font-weight: bold;
17474
17424
  }
17425
+
17426
+ /*不显示列样式*/
17427
+ .hiddenBorder {
17428
+ border-right: solid 1px #ebebeb !important;
17429
+ border-left: solid 1px #ebebeb !important;
17430
+ background-color: #ebebeb !important;
17431
+ }
17432
+ /*选中列样式*/
17433
+ .addBorder {
17434
+ border-right: solid 1px #5893ef !important;
17435
+ border-left: solid 1px #5893ef !important;
17436
+ background-color: #5893ef !important;
17437
+ color: #ffffff;
17438
+ }
17439
+ .ghost {
17440
+ opacity: 0.5;
17441
+ background: #c8ebfb;
17442
+ }
17443
+
17444
+ li[data-v-a74e7ce8] {
17445
+ color: #333;
17446
+ }
17447
+ .context-menu[data-v-a74e7ce8] {
17448
+ position: fixed;
17449
+ background: #fff;
17450
+ z-index: 999;
17451
+ padding: 5px;
17452
+ margin: 0;
17453
+ margin-top: 30px;
17454
+ }
17455
+ .context-menu li[data-v-a74e7ce8] {
17456
+ min-width: 75px;
17457
+ height: 28px;
17458
+ line-height: 28px;
17459
+ text-align: left;
17460
+ color: #1a1a1a;
17461
+ cursor: pointer;
17462
+ }
17463
+ .context-menu li[data-v-a74e7ce8]:hover {
17464
+ background: #5893ef;
17465
+ color: #fff;
17466
+ }
17467
+ .context-menu[data-v-a74e7ce8] {
17468
+ border: 1px solid #eee;
17469
+ box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
17470
+ border-radius: 5px;
17471
+ }
17472
+ li[data-v-a74e7ce8] {
17473
+ list-style-type: none;
17474
+ }
17475
17475
 
17476
17476
  .amb-design-attr-header[data-v-226997f7] {
17477
17477
  position: sticky;
@@ -17511,28 +17511,6 @@ fieldset.amb-design-item-selected {
17511
17511
  padding-bottom: 5px;
17512
17512
  }
17513
17513
 
17514
- [data-v-8d11abea] .el-cascader-menu {
17515
- min-width: 120px !important;
17516
- }
17517
-
17518
- .editorTool[data-v-26f79956] {
17519
- margin-left: auto;
17520
- }
17521
- .editorOption[data-v-26f79956] {
17522
- margin-right: 10px;
17523
- cursor: pointer;
17524
- }
17525
- .pppp[data-v-26f79956] {
17526
- display: flex; /* 使用Flex布局 */
17527
- justify-content: flex-start;
17528
- align-items: center; /* 子元素在交叉轴(垂直方向)上居中对齐 */
17529
- }
17530
-
17531
- .seleteSort[data-v-8aacbe0c] {
17532
- border-radius: 5px;
17533
- border: 1px solid rgba(88, 147, 239);
17534
- }
17535
-
17536
17514
  .icon-set-center-body[data-v-181d1ce8]{
17537
17515
  display: grid;
17538
17516
  grid-template-columns:repeat(5,1fr);
@@ -17570,7 +17548,24 @@ fieldset.amb-design-item-selected {
17570
17548
  margin-bottom: 20px;
17571
17549
  }
17572
17550
 
17573
- .seleteSort[data-v-a8c75465] {
17551
+ [data-v-8d11abea] .el-cascader-menu {
17552
+ min-width: 120px !important;
17553
+ }
17554
+
17555
+ .editorTool[data-v-26f79956] {
17556
+ margin-left: auto;
17557
+ }
17558
+ .editorOption[data-v-26f79956] {
17559
+ margin-right: 10px;
17560
+ cursor: pointer;
17561
+ }
17562
+ .pppp[data-v-26f79956] {
17563
+ display: flex; /* 使用Flex布局 */
17564
+ justify-content: flex-start;
17565
+ align-items: center; /* 子元素在交叉轴(垂直方向)上居中对齐 */
17566
+ }
17567
+
17568
+ .seleteSort[data-v-8aacbe0c] {
17574
17569
  border-radius: 5px;
17575
17570
  border: 1px solid rgba(88, 147, 239);
17576
17571
  }
@@ -17583,6 +17578,14 @@ fieldset.amb-design-item-selected {
17583
17578
  display: inline-block;
17584
17579
  }
17585
17580
 
17581
+ .stateBtn[data-v-ae2798fb]{
17582
+ display: flex;
17583
+ }
17584
+ .stateText[data-v-ae2798fb]{
17585
+ margin-left: 10px;
17586
+ color: #7b7b7b;
17587
+ }
17588
+
17586
17589
  li[data-v-74ebe0ac] {
17587
17590
  color: #333;
17588
17591
  }
@@ -17620,18 +17623,6 @@ li[data-v-74ebe0ac] {
17620
17623
  list-style-type: none;
17621
17624
  }
17622
17625
 
17623
- .stateBtn[data-v-ae2798fb]{
17624
- display: flex;
17625
- }
17626
- .stateText[data-v-ae2798fb]{
17627
- margin-left: 10px;
17628
- color: #7b7b7b;
17629
- }
17630
-
17631
- .el-tag[data-v-665d3bf4]{
17632
- margin-left: 10px;
17633
- }
17634
-
17635
17626
  .row-backgroud-header-tittle[data-v-b203475d]{
17636
17627
  display: flex;
17637
17628
  justify-content: space-between;
@@ -17641,8 +17632,13 @@ li[data-v-74ebe0ac] {
17641
17632
  width: 100%
17642
17633
  }
17643
17634
 
17644
- [data-v-1aa6f1ab] .centered-input .el-input__inner {
17645
- text-align: center;
17635
+ .el-tag[data-v-665d3bf4]{
17636
+ margin-left: 10px;
17637
+ }
17638
+
17639
+ .seleteSort[data-v-a8c75465] {
17640
+ border-radius: 5px;
17641
+ border: 1px solid rgba(88, 147, 239);
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.49",
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.48",
44
43
  "uuid": "^9.0.1",
45
44
  "vite": "^5.1.6",
46
45
  "vite-plugin-node-stdlib-browser": "^0.2.1",