super-page-designer 2.1.86 → 2.1.90
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/config.vue.js +7 -1
- package/dist/es/components/design/views/design/page-event/config.vue2.js +1 -7
- 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 +27 -20
- 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/components/design/views/design/view/view-design-display.vue.js +1 -1
- package/dist/es/style.css +40 -40
- 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";
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import _sfc_main from "./config.vue3.js";
|
|
2
|
+
import "./config.vue2.js";
|
|
3
|
+
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const config = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bc0d50cd"]]);
|
|
5
|
+
export {
|
|
6
|
+
config as default
|
|
7
|
+
};
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import "./config.vue.js";
|
|
3
|
-
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const config = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bc0d50cd"]]);
|
|
5
|
-
export {
|
|
6
|
-
config as default
|
|
7
|
-
};
|
|
1
|
+
|
|
@@ -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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, onUnmounted, watch, resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, withDirectives, vShow, unref, createTextVNode, toDisplayString, Fragment, renderList, createBlock } from "vue";
|
|
2
2
|
import { ElMessageBox, ElMessage } from "element-plus";
|
|
3
|
-
import config from "./config.
|
|
3
|
+
import config from "./config.vue.js";
|
|
4
4
|
import { standardButtonOperations } from "../../../utils/assemblys-config.js";
|
|
5
5
|
import { findDesignItemByUuid, getUuidv4, deepCopy } from "../../../utils/common-util.js";
|
|
6
6
|
import { usePageContextStore } from "../../../../../stores/page-store.js";
|
|
@@ -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
|
}
|
|
@@ -16,7 +16,7 @@ import "@codemirror/autocomplete";
|
|
|
16
16
|
import "@codemirror/language";
|
|
17
17
|
import "@codemirror/search";
|
|
18
18
|
import "js-beautify";
|
|
19
|
-
import "../page-event/config.
|
|
19
|
+
import "../page-event/config.vue2.js";
|
|
20
20
|
import "../../../utils/assemblys-config.js";
|
|
21
21
|
import "../../../../../stores/page-store.js";
|
|
22
22
|
import "../../../../../stores/event-undo-redo-store.js";
|
package/dist/es/style.css
CHANGED
|
@@ -5004,10 +5004,6 @@ fieldset.amb-design-item-selected {
|
|
|
5004
5004
|
padding: 10px;
|
|
5005
5005
|
font-weight: bold;
|
|
5006
5006
|
}
|
|
5007
|
-
|
|
5008
|
-
.el-switch.is-disabled .el-switch__core, .el-switch.is-disabled .el-switch__label{
|
|
5009
|
-
cursor: default;
|
|
5010
|
-
}
|
|
5011
5007
|
.el-tree-node__content {
|
|
5012
5008
|
height: 34px !important;
|
|
5013
5009
|
}
|
|
@@ -5626,6 +5622,10 @@ fieldset.amb-design-item-selected {
|
|
|
5626
5622
|
padding: 10px;
|
|
5627
5623
|
font-weight: bold;
|
|
5628
5624
|
}
|
|
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
|
}
|
|
@@ -16800,6 +16800,10 @@ fieldset.amb-design-item-selected {
|
|
|
16800
16800
|
padding: 10px;
|
|
16801
16801
|
font-weight: bold;
|
|
16802
16802
|
}
|
|
16803
|
+
|
|
16804
|
+
[data-v-bab42532] .el-form-item__label {
|
|
16805
|
+
padding: 0;
|
|
16806
|
+
}
|
|
16803
16807
|
.el-tree-node__content {
|
|
16804
16808
|
height: 34px !important;
|
|
16805
16809
|
}
|
|
@@ -17418,10 +17422,6 @@ fieldset.amb-design-item-selected {
|
|
|
17418
17422
|
padding: 10px;
|
|
17419
17423
|
font-weight: bold;
|
|
17420
17424
|
}
|
|
17421
|
-
|
|
17422
|
-
[data-v-bab42532] .el-form-item__label {
|
|
17423
|
-
padding: 0;
|
|
17424
|
-
}
|
|
17425
17425
|
|
|
17426
17426
|
/*不显示列样式*/
|
|
17427
17427
|
.hiddenBorder {
|
|
@@ -17515,24 +17515,6 @@ li[data-v-a555cba7] {
|
|
|
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
|
-
|
|
17536
17518
|
.icon-set-center-body[data-v-181d1ce8]{
|
|
17537
17519
|
display: grid;
|
|
17538
17520
|
grid-template-columns:repeat(5,1fr);
|
|
@@ -17570,12 +17552,27 @@ li[data-v-a555cba7] {
|
|
|
17570
17552
|
margin-bottom: 20px;
|
|
17571
17553
|
}
|
|
17572
17554
|
|
|
17573
|
-
.
|
|
17574
|
-
|
|
17555
|
+
.seleteSort[data-v-8aacbe0c] {
|
|
17556
|
+
border-radius: 5px;
|
|
17557
|
+
border: 1px solid rgba(88, 147, 239);
|
|
17558
|
+
}
|
|
17559
|
+
|
|
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);
|
|
17579
17576
|
}
|
|
17580
17577
|
|
|
17581
17578
|
li[data-v-4fd4369c] {
|
|
@@ -17615,9 +17612,16 @@ li[data-v-4fd4369c] {
|
|
|
17615
17612
|
list-style-type: none;
|
|
17616
17613
|
}
|
|
17617
17614
|
|
|
17618
|
-
.
|
|
17619
|
-
|
|
17620
|
-
|
|
17615
|
+
.stateBtn[data-v-ae2798fb]{
|
|
17616
|
+
display: flex;
|
|
17617
|
+
}
|
|
17618
|
+
.stateText[data-v-ae2798fb]{
|
|
17619
|
+
margin-left: 10px;
|
|
17620
|
+
color: #7b7b7b;
|
|
17621
|
+
}
|
|
17622
|
+
|
|
17623
|
+
.el-tag[data-v-665d3bf4]{
|
|
17624
|
+
margin-left: 10px;
|
|
17621
17625
|
}
|
|
17622
17626
|
|
|
17623
17627
|
.seleteSort[data-v-1fd3d630] {
|
|
@@ -17628,8 +17632,8 @@ li[data-v-4fd4369c] {
|
|
|
17628
17632
|
display: inline-block;
|
|
17629
17633
|
}
|
|
17630
17634
|
|
|
17631
|
-
|
|
17632
|
-
|
|
17635
|
+
[data-v-8e6fbc57] .centered-input .el-input__inner {
|
|
17636
|
+
text-align: center;
|
|
17633
17637
|
}
|
|
17634
17638
|
|
|
17635
17639
|
.seleteSort[data-v-a62867e0] {
|
|
@@ -17646,10 +17650,6 @@ li[data-v-4fd4369c] {
|
|
|
17646
17650
|
width: 100%
|
|
17647
17651
|
}
|
|
17648
17652
|
|
|
17649
|
-
[data-v-8e6fbc57] .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.
|
|
3
|
+
"version": "2.1.90",
|
|
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.1.0",
|
|
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.89",
|
|
45
45
|
"uuid": "^9.0.1",
|
|
46
46
|
"vite": "^5.1.6",
|
|
47
47
|
"vite-plugin-node-stdlib-browser": "^0.2.1",
|