super-page-designer 2.1.86 → 2.1.88
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/assemblys-config.js +1 -1
- package/dist/es/components/design/utils/page-event-util.js +1 -1
- package/dist/es/components/design/utils/page-explore-util.js +1 -1
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +27 -15
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-advanced.vue.js +0 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue.js +0 -1
- package/dist/es/components/design/views/assemblys/common/common-i18n-key-input.vue.js +0 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue2.js +738 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +1 -738
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +0 -1
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +1 -1
- package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +2 -1
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +26 -19
- package/dist/es/components/design/views/design/view/assemblys-container-explore.vue.js +3 -2
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +1 -0
- package/dist/es/style.css +57 -57
- package/package.json +3 -3
|
@@ -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.
|
|
12
|
+
import "../../common/common-variable-bind.vue3.js";
|
|
13
13
|
import "../../../../utils/eventBus.js";
|
|
14
14
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
15
15
|
import _sfc_main$2 from "../../chart/statistical-table/component/table-showcondition.vue.js";
|
|
@@ -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.
|
|
11
|
+
import "../../common/common-variable-bind.vue3.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";
|
|
@@ -313,6 +313,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
313
313
|
}, {
|
|
314
314
|
default: withCtx((scope) => [
|
|
315
315
|
withDirectives(createVNode(_component_el_button, {
|
|
316
|
+
disabled: scope.row.isEdit === false,
|
|
316
317
|
link: "",
|
|
317
318
|
type: "danger",
|
|
318
319
|
size: "small",
|
|
@@ -322,7 +323,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
322
323
|
createTextVNode("清除")
|
|
323
324
|
]),
|
|
324
325
|
_: 2
|
|
325
|
-
}, 1032, ["onClick"]), [
|
|
326
|
+
}, 1032, ["disabled", "onClick"]), [
|
|
326
327
|
[
|
|
327
328
|
vShow,
|
|
328
329
|
scope.row.isStandard && scope.row.eventName || !scope.row.isStandard && scope.row.jsContent
|
|
@@ -279,30 +279,37 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
279
279
|
function deleteEvent(event) {
|
|
280
280
|
const tempObj = event;
|
|
281
281
|
const pageDesign = pageDesignUtil.pageContext;
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
event2.
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
282
|
+
if (event.isStandard) {
|
|
283
|
+
restoreEvent(event);
|
|
284
|
+
restoreComponentEvent(tempObj, event);
|
|
285
|
+
} else {
|
|
286
|
+
if (pageDesign && pageDesign.customEvents) {
|
|
287
|
+
for (let i = 0; i < pageDesign.customEvents.length; i++) {
|
|
288
|
+
let event2 = pageDesign.customEvents[i];
|
|
289
|
+
if (tempObj.name == "customFunc") {
|
|
290
|
+
if (tempObj.uuid == event2.uuid) {
|
|
291
|
+
pageDesign.customEvents.splice(i, 1);
|
|
292
|
+
break;
|
|
293
|
+
}
|
|
294
|
+
} else {
|
|
295
|
+
if (event2.name == tempObj.name && tempObj.componentUuid == event2.componentUuid) {
|
|
296
|
+
restoreEvent(event2);
|
|
297
|
+
pageDesign.customEvents.splice(i, 1);
|
|
298
|
+
restoreComponentEvent(tempObj, event2);
|
|
299
|
+
break;
|
|
300
|
+
}
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
305
|
}
|
|
306
|
+
function restoreEvent(event) {
|
|
307
|
+
event.eventName = null;
|
|
308
|
+
event.isStandard = false;
|
|
309
|
+
event.jsContent = "";
|
|
310
|
+
event.remark = "";
|
|
311
|
+
event.standardValues = [];
|
|
312
|
+
}
|
|
306
313
|
function restoreComponentEvent(sourceEvent, event) {
|
|
307
314
|
const pageDesign = pageDesignUtil.pageContext;
|
|
308
315
|
const itemConfig = findDesignItemByUuid(pageDesign, sourceEvent.componentUuid);
|
|
@@ -26,11 +26,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26
26
|
};
|
|
27
27
|
const cachePageItemMap = ref({});
|
|
28
28
|
const treeDatas = computed(() => {
|
|
29
|
-
const
|
|
30
|
-
return
|
|
29
|
+
const myTreeDatas = convertToExploreTreeDatas(props.designItems, searchItemName.value, cachePageItemMap);
|
|
30
|
+
return myTreeDatas;
|
|
31
31
|
});
|
|
32
32
|
const handleNodeClick = (data) => {
|
|
33
33
|
let configureObj = null;
|
|
34
|
+
debugger;
|
|
34
35
|
if (data.componentIndex != void 0) {
|
|
35
36
|
configureObj = cachePageItemMap.value[data.componentIndex];
|
|
36
37
|
}
|
package/dist/es/style.css
CHANGED
|
@@ -1910,10 +1910,6 @@ fieldset.amb-design-item-selected {
|
|
|
1910
1910
|
padding: 10px;
|
|
1911
1911
|
font-weight: bold;
|
|
1912
1912
|
}
|
|
1913
|
-
|
|
1914
|
-
.el-select__wrapper.is-disabled{
|
|
1915
|
-
cursor: default;
|
|
1916
|
-
}
|
|
1917
1913
|
.el-tree-node__content {
|
|
1918
1914
|
height: 34px !important;
|
|
1919
1915
|
}
|
|
@@ -4386,6 +4382,14 @@ fieldset.amb-design-item-selected {
|
|
|
4386
4382
|
padding: 10px;
|
|
4387
4383
|
font-weight: bold;
|
|
4388
4384
|
}
|
|
4385
|
+
|
|
4386
|
+
.el-switch.is-disabled .el-switch__core, .el-switch.is-disabled .el-switch__label{
|
|
4387
|
+
cursor: default;
|
|
4388
|
+
}
|
|
4389
|
+
|
|
4390
|
+
.el-select__wrapper.is-disabled{
|
|
4391
|
+
cursor: default;
|
|
4392
|
+
}
|
|
4389
4393
|
.el-tree-node__content {
|
|
4390
4394
|
height: 34px !important;
|
|
4391
4395
|
}
|
|
@@ -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
|
}
|
|
@@ -17473,6 +17473,13 @@ li[data-v-a555cba7] {
|
|
|
17473
17473
|
list-style-type: none;
|
|
17474
17474
|
}
|
|
17475
17475
|
|
|
17476
|
+
.event-item[data-v-c7ab7527] {
|
|
17477
|
+
font-size: 12px;
|
|
17478
|
+
border-bottom: 2px dashed #f5f6f8;
|
|
17479
|
+
padding-top: 5px;
|
|
17480
|
+
padding-bottom: 5px;
|
|
17481
|
+
}
|
|
17482
|
+
|
|
17476
17483
|
.amb-design-attr-header[data-v-226997f7] {
|
|
17477
17484
|
position: sticky;
|
|
17478
17485
|
position: -webkit-sticky;
|
|
@@ -17499,40 +17506,20 @@ li[data-v-a555cba7] {
|
|
|
17499
17506
|
color: #ffffff;
|
|
17500
17507
|
}
|
|
17501
17508
|
|
|
17502
|
-
.event-item[data-v-c7ab7527] {
|
|
17503
|
-
font-size: 12px;
|
|
17504
|
-
border-bottom: 2px dashed #f5f6f8;
|
|
17505
|
-
padding-top: 5px;
|
|
17506
|
-
padding-bottom: 5px;
|
|
17507
|
-
}
|
|
17508
|
-
|
|
17509
17509
|
.seleteSort[data-v-727aa6f0] {
|
|
17510
17510
|
border-radius: 5px;
|
|
17511
17511
|
border: 1px solid rgba(88, 147, 239);
|
|
17512
17512
|
}
|
|
17513
17513
|
|
|
17514
|
-
[data-v-3528c938] .el-cascader-menu {
|
|
17515
|
-
min-width: 120px !important;
|
|
17516
|
-
}
|
|
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
17514
|
.seleteSort[data-v-8aacbe0c] {
|
|
17532
17515
|
border-radius: 5px;
|
|
17533
17516
|
border: 1px solid rgba(88, 147, 239);
|
|
17534
17517
|
}
|
|
17535
17518
|
|
|
17519
|
+
[data-v-3528c938] .el-cascader-menu {
|
|
17520
|
+
min-width: 120px !important;
|
|
17521
|
+
}
|
|
17522
|
+
|
|
17536
17523
|
.icon-set-center-body[data-v-181d1ce8]{
|
|
17537
17524
|
display: grid;
|
|
17538
17525
|
grid-template-columns:repeat(5,1fr);
|
|
@@ -17570,12 +17557,30 @@ li[data-v-a555cba7] {
|
|
|
17570
17557
|
margin-bottom: 20px;
|
|
17571
17558
|
}
|
|
17572
17559
|
|
|
17573
|
-
.
|
|
17574
|
-
|
|
17560
|
+
.editorTool[data-v-bc0d50cd] {
|
|
17561
|
+
margin-left: auto;
|
|
17575
17562
|
}
|
|
17576
|
-
.
|
|
17577
|
-
|
|
17578
|
-
|
|
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
|
+
.seleteSort[data-v-3336d6c5] {
|
|
17574
|
+
border-radius: 5px;
|
|
17575
|
+
border: 1px solid rgba(88, 147, 239);
|
|
17576
|
+
}
|
|
17577
|
+
|
|
17578
|
+
.seleteSort[data-v-1fd3d630] {
|
|
17579
|
+
border-radius: 5px;
|
|
17580
|
+
border: 1px solid rgba(88, 147, 239);
|
|
17581
|
+
}
|
|
17582
|
+
[data-v-1fd3d630] .el-select__selection{
|
|
17583
|
+
display: inline-block;
|
|
17579
17584
|
}
|
|
17580
17585
|
|
|
17581
17586
|
li[data-v-4fd4369c] {
|
|
@@ -17615,26 +17620,29 @@ li[data-v-4fd4369c] {
|
|
|
17615
17620
|
list-style-type: none;
|
|
17616
17621
|
}
|
|
17617
17622
|
|
|
17618
|
-
.
|
|
17619
|
-
|
|
17620
|
-
|
|
17623
|
+
.stateBtn[data-v-ae2798fb]{
|
|
17624
|
+
display: flex;
|
|
17625
|
+
}
|
|
17626
|
+
.stateText[data-v-ae2798fb]{
|
|
17627
|
+
margin-left: 10px;
|
|
17628
|
+
color: #7b7b7b;
|
|
17621
17629
|
}
|
|
17622
17630
|
|
|
17623
|
-
.seleteSort[data-v-
|
|
17624
|
-
|
|
17625
|
-
|
|
17626
|
-
}
|
|
17627
|
-
[data-v-1fd3d630] .el-select__selection{
|
|
17628
|
-
display: inline-block;
|
|
17631
|
+
.seleteSort[data-v-a62867e0] {
|
|
17632
|
+
border-radius: 5px;
|
|
17633
|
+
border: 1px solid rgba(88, 147, 239);
|
|
17629
17634
|
}
|
|
17630
17635
|
|
|
17631
17636
|
.el-tag[data-v-665d3bf4]{
|
|
17632
17637
|
margin-left: 10px;
|
|
17633
17638
|
}
|
|
17634
17639
|
|
|
17635
|
-
|
|
17636
|
-
|
|
17637
|
-
|
|
17640
|
+
[data-v-8e6fbc57] .centered-input .el-input__inner {
|
|
17641
|
+
text-align: center;
|
|
17642
|
+
}
|
|
17643
|
+
|
|
17644
|
+
.input-with-select .el-input-group__append {
|
|
17645
|
+
background-color: var(--el-fill-color-blank);
|
|
17638
17646
|
}
|
|
17639
17647
|
|
|
17640
17648
|
.row-backgroud-header-tittle[data-v-b203475d]{
|
|
@@ -17645,11 +17653,3 @@ li[data-v-4fd4369c] {
|
|
|
17645
17653
|
.row-backgroud-header-tittle > div[data-v-b203475d]{
|
|
17646
17654
|
width: 100%
|
|
17647
17655
|
}
|
|
17648
|
-
|
|
17649
|
-
[data-v-8e6fbc57] .centered-input .el-input__inner {
|
|
17650
|
-
text-align: center;
|
|
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.
|
|
3
|
+
"version": "2.1.88",
|
|
4
4
|
"description": "AgileBuilder super page designer",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/es/index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
30
30
|
"@vueuse/core": "^10.9.0",
|
|
31
31
|
"agilebuilder-private-libs": "1.0.26",
|
|
32
|
-
"agilebuilder-ui": "1.0.
|
|
32
|
+
"agilebuilder-ui": "1.0.98",
|
|
33
33
|
"echarts": "^5.5.0",
|
|
34
34
|
"element-plus": "^2.6.1",
|
|
35
35
|
"font-awesome": "^4.7.0",
|
|
@@ -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.
|
|
44
|
+
"super-page-runtime": "2.1.87",
|
|
45
45
|
"uuid": "^9.0.1",
|
|
46
46
|
"vite": "^5.1.6",
|
|
47
47
|
"vite-plugin-node-stdlib-browser": "^0.2.1",
|