super-page-designer 2.1.84 → 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 +8 -19
- 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 +17655 -1
- 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
|
}
|