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
|
@@ -340,9 +340,7 @@ const assemblyGroups = [
|
|
|
340
340
|
icon: containerFLex,
|
|
341
341
|
props: { base: {}, size: { widthType: "flex", flexSpan: 24 } },
|
|
342
342
|
style: {},
|
|
343
|
-
events: [
|
|
344
|
-
{ name: "afterInit", label: "初始化后", tip: "初始化后" }
|
|
345
|
-
],
|
|
343
|
+
events: [{ name: "afterInit", label: "初始化后", tip: "初始化后" }],
|
|
346
344
|
designComponent: defineAsyncComponent(() => {
|
|
347
345
|
return import("../views/assemblys/container/flex/flex-design.vue.js");
|
|
348
346
|
}),
|
|
@@ -357,9 +355,7 @@ const assemblyGroups = [
|
|
|
357
355
|
default: {},
|
|
358
356
|
props: { base: {}, size: {} },
|
|
359
357
|
style: {},
|
|
360
|
-
events: [
|
|
361
|
-
{ name: "afterInit", label: "初始化后", tip: "初始化后" }
|
|
362
|
-
],
|
|
358
|
+
events: [{ name: "afterInit", label: "初始化后", tip: "初始化后" }],
|
|
363
359
|
designComponent: defineAsyncComponent(() => {
|
|
364
360
|
return import("../views/assemblys/container/collapse/collapse-design.vue.js");
|
|
365
361
|
}),
|
|
@@ -402,9 +398,7 @@ const assemblyGroups = [
|
|
|
402
398
|
size: {}
|
|
403
399
|
},
|
|
404
400
|
style: {},
|
|
405
|
-
events: [
|
|
406
|
-
{ name: "afterInit", label: "初始化后", tip: "初始化后" }
|
|
407
|
-
],
|
|
401
|
+
events: [{ name: "afterInit", label: "初始化后", tip: "初始化后" }],
|
|
408
402
|
designComponent: defineAsyncComponent(() => {
|
|
409
403
|
return import("../views/assemblys/container/card/card-design.vue.js");
|
|
410
404
|
}),
|
|
@@ -419,9 +413,7 @@ const assemblyGroups = [
|
|
|
419
413
|
default: {},
|
|
420
414
|
props: { base: {}, size: {} },
|
|
421
415
|
style: {},
|
|
422
|
-
events: [
|
|
423
|
-
{ name: "afterInit", label: "初始化后", tip: "初始化后" }
|
|
424
|
-
],
|
|
416
|
+
events: [{ name: "afterInit", label: "初始化后", tip: "初始化后" }],
|
|
425
417
|
designComponent: defineAsyncComponent(() => {
|
|
426
418
|
return import("../views/assemblys/container/tools/tools-design.vue.js");
|
|
427
419
|
}),
|
|
@@ -436,9 +428,7 @@ const assemblyGroups = [
|
|
|
436
428
|
default: {},
|
|
437
429
|
props: { base: {}, size: {} },
|
|
438
430
|
style: {},
|
|
439
|
-
events: [
|
|
440
|
-
{ name: "afterInit", label: "初始化后", tip: "初始化后" }
|
|
441
|
-
],
|
|
431
|
+
events: [{ name: "afterInit", label: "初始化后", tip: "初始化后" }],
|
|
442
432
|
designComponent: defineAsyncComponent(() => {
|
|
443
433
|
return import("../views/assemblys/container/iframe/iframe-design.vue.js");
|
|
444
434
|
}),
|
|
@@ -453,9 +443,7 @@ const assemblyGroups = [
|
|
|
453
443
|
default: {},
|
|
454
444
|
props: { base: {}, size: {} },
|
|
455
445
|
style: {},
|
|
456
|
-
events: [
|
|
457
|
-
{ name: "afterInit", label: "初始化后", tip: "初始化后" }
|
|
458
|
-
],
|
|
446
|
+
events: [{ name: "afterInit", label: "初始化后", tip: "初始化后" }],
|
|
459
447
|
designComponent: defineAsyncComponent(() => {
|
|
460
448
|
return import("../views/assemblys/container/container/container-design.vue.js");
|
|
461
449
|
}),
|
|
@@ -1318,7 +1306,8 @@ const assemblyGroups = [
|
|
|
1318
1306
|
{ name: "row-dblclick", label: "行双击", tip: "当某一行被双击时会触发该事件" },
|
|
1319
1307
|
{ name: "header-click", label: "列表头点击", tip: "当某一列的表头被点击时会触发该事件" },
|
|
1320
1308
|
{ name: "show", label: "列表显示", tip: "列表显示回调方法" },
|
|
1321
|
-
{ name: "hidden", label: "列表隐藏", tip: "列表隐藏回调方法" }
|
|
1309
|
+
{ name: "hidden", label: "列表隐藏", tip: "列表隐藏回调方法" },
|
|
1310
|
+
{ name: "filter-data", label: "数据过滤", tip: "列表数据过滤方法" }
|
|
1322
1311
|
],
|
|
1323
1312
|
icon: dataTable,
|
|
1324
1313
|
btnList: [
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createTextVNode, createCommentVNode } from "vue";
|
|
1
|
+
import { defineComponent, ref, watch, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, createTextVNode, createCommentVNode } from "vue";
|
|
2
2
|
import _sfc_main$2 from "../component/condition-dialog.vue.js";
|
|
3
3
|
import _sfc_main$3 from "../component/set-dialog.vue.js";
|
|
4
4
|
import _sfc_main$4 from "../component/combination.vue.js";
|
|
5
5
|
import JournalSetDialog from "../component/journal-set-dialog.vue.js";
|
|
6
6
|
import _sfc_main$1 from "../../common/common-advanced-basic-showcondition.vue.js";
|
|
7
7
|
import { isShowOpinionSetting } from "../../../../utils/form-design-util.js";
|
|
8
|
+
import http from "agilebuilder-ui/src/utils/request";
|
|
8
9
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
9
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
11
|
__name: "button-attr-advanced",
|
|
@@ -21,9 +22,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21
22
|
}
|
|
22
23
|
},
|
|
23
24
|
setup(__props) {
|
|
25
|
+
var _a;
|
|
24
26
|
const props = __props;
|
|
25
27
|
const openCollapseItems = ref(["base"]);
|
|
26
28
|
const journalSetVisible = ref(false);
|
|
29
|
+
const conversionRules = ref([]);
|
|
30
|
+
const systemVersion = (_a = props.pageDesign) == null ? void 0 : _a.systemVersion;
|
|
31
|
+
http.post(
|
|
32
|
+
window["$vueApp"].config.globalProperties.baseAPI + `/mms/setting-transformations/option/${props.pageDesign.systemCode}/${systemVersion}`
|
|
33
|
+
).then((res) => {
|
|
34
|
+
conversionRules.value = res;
|
|
35
|
+
});
|
|
27
36
|
function closeJournalSet() {
|
|
28
37
|
journalSetVisible.value = false;
|
|
29
38
|
}
|
|
@@ -55,12 +64,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
55
64
|
props.configure.props.base.showConditions = JSON.stringify(table);
|
|
56
65
|
}
|
|
57
66
|
const isShowOpinion = ref(isShowMustOpinion());
|
|
58
|
-
watch(
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
67
|
+
watch(
|
|
68
|
+
props.configure.events,
|
|
69
|
+
(newVal) => {
|
|
70
|
+
isShowOpinion.value = isShowMustOpinion();
|
|
71
|
+
if (!isShowOpinion.value) {
|
|
72
|
+
props.configure.props.base.isMustOpinion = false;
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
{ immediate: true }
|
|
76
|
+
);
|
|
64
77
|
function isShowMustOpinion() {
|
|
65
78
|
let isShow = false;
|
|
66
79
|
const clickEvent = props.configure.events.filter((item) => item.name === "click" && item.eventName);
|
|
@@ -142,14 +155,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
142
155
|
class: "ml-4"
|
|
143
156
|
}, {
|
|
144
157
|
default: withCtx(() => [
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
label
|
|
151
|
-
|
|
152
|
-
})
|
|
158
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(conversionRules.value, (item) => {
|
|
159
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
160
|
+
key: item.code,
|
|
161
|
+
label: item.name,
|
|
162
|
+
value: item.code
|
|
163
|
+
}, null, 8, ["label", "value"]);
|
|
164
|
+
}), 128))
|
|
153
165
|
]),
|
|
154
166
|
_: 1
|
|
155
167
|
}, 8, ["modelValue"])
|
|
@@ -10,7 +10,7 @@ import "@element-plus/icons-vue";
|
|
|
10
10
|
import "uuid";
|
|
11
11
|
import "../../../../../../stores/table-store.js";
|
|
12
12
|
import "../../../../../../stores/statistics-table-store.js";
|
|
13
|
-
import "../../common/common-variable-bind.
|
|
13
|
+
import "../../common/common-variable-bind.vue3.js";
|
|
14
14
|
import { getTableConfigByTableUuid } from "../../../../utils/page-table-util.js";
|
|
15
15
|
import _sfc_main$2 from "../../common/common-i18n-key-input.vue.js";
|
|
16
16
|
import _sfc_main$4 from "../../chart/statistical-table/component/link-table.vue.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _sfc_main from "./common-variable-bind.
|
|
2
|
-
import "./common-variable-bind.
|
|
1
|
+
import _sfc_main from "./common-variable-bind.vue2.js";
|
|
2
|
+
import "./common-variable-bind.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const BindVariable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3528c938"]]);
|
|
5
5
|
export {
|