super-page-designer 2.1.76 → 2.1.78

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.
@@ -53,10 +53,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
53
53
  }
54
54
  const tableList = ref([]);
55
55
  function getTableList() {
56
- if (props.pageDesign.items && props.pageDesign.items.length > 0) {
57
- tableList.value = props.pageDesign.items.filter((item) => {
58
- return item.label === "表格";
59
- });
56
+ if (props.pageDesign.tableUuids && props.pageDesign.tableUuids.length > 0) {
57
+ tableList.value = props.pageDesign.tableUuids;
60
58
  }
61
59
  }
62
60
  function queryTemplateList() {
@@ -707,14 +705,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
707
705
  "onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => __props.configure.props.base.tableUuid = $event),
708
706
  clearable: "",
709
707
  filterable: "",
708
+ "allow-create": "",
710
709
  onChange: changeTableConfig
711
710
  }, {
712
711
  default: withCtx(() => [
713
- (openBlock(true), createElementBlock(Fragment, null, renderList(tableList.value, (item) => {
712
+ (openBlock(true), createElementBlock(Fragment, null, renderList(tableList.value, (tableuuid) => {
714
713
  return openBlock(), createBlock(_component_el_option, {
715
- key: item.uuid,
716
- label: item.title,
717
- value: item.uuid
714
+ key: tableuuid,
715
+ label: tableuuid,
716
+ value: tableuuid
718
717
  }, null, 8, ["label", "value"]);
719
718
  }), 128))
720
719
  ]),
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
  }
@@ -1910,6 +1914,10 @@ fieldset.amb-design-item-selected {
1910
1914
  padding: 10px;
1911
1915
  font-weight: bold;
1912
1916
  }
1917
+
1918
+ .el-switch.is-disabled .el-switch__core, .el-switch.is-disabled .el-switch__label{
1919
+ cursor: default;
1920
+ }
1913
1921
  .el-tree-node__content {
1914
1922
  height: 34px !important;
1915
1923
  }
@@ -2528,14 +2536,6 @@ fieldset.amb-design-item-selected {
2528
2536
  padding: 10px;
2529
2537
  font-weight: bold;
2530
2538
  }
2531
-
2532
- .el-select__wrapper.is-disabled{
2533
- cursor: default;
2534
- }
2535
-
2536
- .el-switch.is-disabled .el-switch__core, .el-switch.is-disabled .el-switch__label{
2537
- cursor: default;
2538
- }
2539
2539
  .el-tree-node__content {
2540
2540
  height: 34px !important;
2541
2541
  }
@@ -9334,56 +9334,6 @@ fieldset.amb-design-item-selected {
9334
9334
  padding: 10px;
9335
9335
  font-weight: bold;
9336
9336
  }
9337
-
9338
- /*不显示列样式*/
9339
- .hiddenBorder {
9340
- border-right: solid 1px #ebebeb !important;
9341
- border-left: solid 1px #ebebeb !important;
9342
- background-color: #ebebeb !important;
9343
- }
9344
- /*选中列样式*/
9345
- .addBorder {
9346
- border-right: solid 1px #5893ef !important;
9347
- border-left: solid 1px #5893ef !important;
9348
- background-color: #5893ef !important;
9349
- color: #ffffff;
9350
- }
9351
- .ghost {
9352
- opacity: 0.5;
9353
- background: #c8ebfb;
9354
- }
9355
-
9356
- li[data-v-5581ec9f] {
9357
- color: #333;
9358
- }
9359
- .context-menu[data-v-5581ec9f] {
9360
- position: fixed;
9361
- background: #fff;
9362
- z-index: 999;
9363
- padding: 5px;
9364
- margin: 0;
9365
- margin-top: 30px;
9366
- }
9367
- .context-menu li[data-v-5581ec9f] {
9368
- min-width: 75px;
9369
- height: 28px;
9370
- line-height: 28px;
9371
- text-align: left;
9372
- color: #1a1a1a;
9373
- cursor: pointer;
9374
- }
9375
- .context-menu li[data-v-5581ec9f]:hover {
9376
- background: #5893ef;
9377
- color: #fff;
9378
- }
9379
- .context-menu[data-v-5581ec9f] {
9380
- border: 1px solid #eee;
9381
- box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
9382
- border-radius: 5px;
9383
- }
9384
- li[data-v-5581ec9f] {
9385
- list-style-type: none;
9386
- }
9387
9337
  .el-tree-node__content {
9388
9338
  height: 34px !important;
9389
9339
  }
@@ -10002,6 +9952,56 @@ fieldset.amb-design-item-selected {
10002
9952
  padding: 10px;
10003
9953
  font-weight: bold;
10004
9954
  }
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-5581ec9f] {
9975
+ color: #333;
9976
+ }
9977
+ .context-menu[data-v-5581ec9f] {
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-5581ec9f] {
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-5581ec9f]:hover {
9994
+ background: #5893ef;
9995
+ color: #fff;
9996
+ }
9997
+ .context-menu[data-v-5581ec9f] {
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-5581ec9f] {
10003
+ list-style-type: none;
10004
+ }
10005
10005
  .el-tree-node__content {
10006
10006
  height: 34px !important;
10007
10007
  }
@@ -16804,56 +16804,6 @@ fieldset.amb-design-item-selected {
16804
16804
  padding: 10px;
16805
16805
  font-weight: bold;
16806
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-a555cba7] {
16827
- color: #333;
16828
- }
16829
- .context-menu[data-v-a555cba7] {
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-a555cba7] {
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-a555cba7]:hover {
16846
- background: #5893ef;
16847
- color: #fff;
16848
- }
16849
- .context-menu[data-v-a555cba7] {
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-a555cba7] {
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-a555cba7] {
17445
+ color: #333;
17446
+ }
17447
+ .context-menu[data-v-a555cba7] {
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-a555cba7] {
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-a555cba7]:hover {
17464
+ background: #5893ef;
17465
+ color: #fff;
17466
+ }
17467
+ .context-menu[data-v-a555cba7] {
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-a555cba7] {
17473
+ list-style-type: none;
17474
+ }
17475
17475
 
17476
17476
  .amb-design-attr-header[data-v-226997f7] {
17477
17477
  position: sticky;
@@ -17515,6 +17515,24 @@ fieldset.amb-design-item-selected {
17515
17515
  min-width: 120px !important;
17516
17516
  }
17517
17517
 
17518
+ .editorTool[data-v-bc0d50cd] {
17519
+ margin-left: auto;
17520
+ }
17521
+ .editorOption[data-v-bc0d50cd] {
17522
+ margin-right: 10px;
17523
+ cursor: pointer;
17524
+ }
17525
+ .pppp[data-v-bc0d50cd] {
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
+
17518
17536
  .icon-set-center-body[data-v-181d1ce8]{
17519
17537
  display: grid;
17520
17538
  grid-template-columns:repeat(5,1fr);
@@ -17552,28 +17570,11 @@ fieldset.amb-design-item-selected {
17552
17570
  margin-bottom: 20px;
17553
17571
  }
17554
17572
 
17555
- .seleteSort[data-v-8aacbe0c] {
17573
+ .seleteSort[data-v-3336d6c5] {
17556
17574
  border-radius: 5px;
17557
17575
  border: 1px solid rgba(88, 147, 239);
17558
17576
  }
17559
17577
 
17560
- .editorTool[data-v-bc0d50cd] {
17561
- margin-left: auto;
17562
- }
17563
- .editorOption[data-v-bc0d50cd] {
17564
- margin-right: 10px;
17565
- cursor: pointer;
17566
- }
17567
- .pppp[data-v-bc0d50cd] {
17568
- display: flex; /* 使用Flex布局 */
17569
- justify-content: flex-start;
17570
- align-items: center; /* 子元素在交叉轴(垂直方向)上居中对齐 */
17571
- }
17572
-
17573
- .el-tag[data-v-665d3bf4]{
17574
- margin-left: 10px;
17575
- }
17576
-
17577
17578
  .seleteSort[data-v-1fd3d630] {
17578
17579
  border-radius: 5px;
17579
17580
  border: 1px solid rgba(88, 147, 239);
@@ -17627,13 +17628,8 @@ li[data-v-4fd4369c] {
17627
17628
  color: #7b7b7b;
17628
17629
  }
17629
17630
 
17630
- .seleteSort[data-v-3336d6c5] {
17631
- border-radius: 5px;
17632
- border: 1px solid rgba(88, 147, 239);
17633
- }
17634
-
17635
- [data-v-8e6fbc57] .centered-input .el-input__inner {
17636
- text-align: center;
17631
+ .el-tag[data-v-665d3bf4]{
17632
+ margin-left: 10px;
17637
17633
  }
17638
17634
 
17639
17635
  .seleteSort[data-v-a62867e0] {
@@ -17641,8 +17637,8 @@ li[data-v-4fd4369c] {
17641
17637
  border: 1px solid rgba(88, 147, 239);
17642
17638
  }
17643
17639
 
17644
- .input-with-select .el-input-group__append {
17645
- background-color: var(--el-fill-color-blank);
17640
+ [data-v-8e6fbc57] .centered-input .el-input__inner {
17641
+ text-align: center;
17646
17642
  }
17647
17643
 
17648
17644
  .row-backgroud-header-tittle[data-v-b203475d]{
@@ -17653,3 +17649,7 @@ li[data-v-4fd4369c] {
17653
17649
  .row-backgroud-header-tittle > div[data-v-b203475d]{
17654
17650
  width: 100%
17655
17651
  }
17652
+
17653
+ .input-with-select .el-input-group__append {
17654
+ background-color: var(--el-fill-color-blank);
17655
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-page-designer",
3
- "version": "2.1.76",
3
+ "version": "2.1.78",
4
4
  "description": "AgileBuilder super page designer",
5
5
  "license": "ISC",
6
6
  "main": "dist/es/index.js",
@@ -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.75",
44
+ "super-page-runtime": "2.1.77",
45
45
  "uuid": "^9.0.1",
46
46
  "vite": "^5.1.6",
47
47
  "vite-plugin-node-stdlib-browser": "^0.2.1",