super-page-designer 2.2.61 → 2.2.64
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 +2 -2
- package/dist/es/components/design/utils/common-util.js +3 -0
- package/dist/es/components/design/utils/form-design-util.d.ts +1 -1
- package/dist/es/components/design/utils/form-design-util.js +7 -4
- package/dist/es/components/design/utils/page-table-util.d.ts +1 -1
- package/dist/es/components/design/utils/page-table-util.js +4 -4
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +39 -39
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/component/combination.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +22 -22
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-clickset.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-data.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-groupby.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-sortby.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-home-chart.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-pageination.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +10 -10
- package/dist/es/components/design/views/assemblys/common/{common-variable-bind.vue2.js → common-variable-bind.vue.js} +1 -1
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +9 -9
- package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +6 -6
- package/dist/es/components/design/views/assemblys/data/bar-code/barcode-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +55 -55
- 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-attr-base.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +32 -16
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue.js +37 -0
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +4 -4
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/bar-code-rule.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/data-linkage.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/data-origin-autoset.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/data-origin-service-in.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/linkpage-page-callback.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/title-suffix.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-autoset.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +1 -1
- package/dist/es/components/design/views/design/page-design.vue2.js +1 -1
- package/dist/es/components/design/views/design/page-design.vue3.js +1 -1
- package/dist/es/components/design/views/design/page-event/{config.vue2.js → config.vue.js} +1 -1
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +2 -2
- package/dist/es/components/design/views/design/view/assemblys-container.vue.js +13 -20
- package/dist/es/components/design/views/design/view/attr-container.vue.js +22 -29
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +1 -1
- package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +1 -1
- package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
- package/dist/es/components/design/views/design/view/page-switch.vue2.js +8 -8
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +5 -154
- package/dist/es/components/design/views/design/view/view-design-display.vue2.js +148 -2
- package/dist/es/components/design/views/design/view/view-design-preview.vue.js +5 -20
- package/dist/es/components/design/views/design/view/view-design-preview.vue2.js +20 -2
- package/dist/es/style.css +1051 -821
- package/package.json +3 -3
|
@@ -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
|
-
/* empty css
|
|
13
|
+
/* empty css */
|
|
14
14
|
import { getTableConfigByTableUuid as U } from "../../../../utils/page-table-util.js";
|
|
15
15
|
import h from "../../common/common-i18n-key-input.vue.js";
|
|
16
16
|
import x from "../../chart/statistical-table/component/link-table.vue.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, onMounted as a, resolveComponent as o, createBlock as t, openBlock as u, withCtx as d, createVNode as r, unref as n, createTextVNode as i, createElementBlock as p, Fragment as m, renderList as s } from "vue";
|
|
2
2
|
import { CirclePlus as f, Delete as b } from "@element-plus/icons-vue";
|
|
3
|
-
import v from "../../common/common-variable-bind.
|
|
3
|
+
import v from "../../common/common-variable-bind.vue.js";
|
|
4
4
|
import { ElMessage as c } from "element-plus";
|
|
5
5
|
import { getOperators as V } from "../../../../utils/data-table-util.js";
|
|
6
6
|
import { getModelOptionsByFields as _ } from "../../../../utils/page-table-util.js";
|
package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, onMounted as a, resolveComponent as u, createBlock as t, openBlock as o, withCtx as n, createElementBlock as i, Fragment as r, renderList as d, createTextVNode as m, toDisplayString as s, withKeys as p, createVNode as v, unref as f, createElementVNode as c } from "vue";
|
|
2
2
|
import { EditPen as y, Search as g } from "@element-plus/icons-vue";
|
|
3
|
-
import _ from "../../common/common-variable-bind.
|
|
3
|
+
import _ from "../../common/common-variable-bind.vue.js";
|
|
4
4
|
const V = { class: "dialog-footer" }, k = e({ __name: "journal-set-dialog", props: { modelValue: { type: Array, default: () => [] } }, emits: ["save"], setup(e2, { emit: k2 }) {
|
|
5
5
|
const C = e2, b = k2, h = l([]), x = l(false), z = l(""), w = l(false), j = l("");
|
|
6
6
|
function B() {
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, resolveComponent as o, createBlock as a, openBlock as t, withCtx as n, createVNode as u, createCommentVNode as i, unref as d, createTextVNode as r, createElementBlock as p, Fragment as s, renderList as
|
|
1
|
+
import { defineComponent as e, ref as l, resolveComponent as o, createBlock as a, openBlock as t, withCtx as n, createVNode as u, createCommentVNode as i, unref as d, createTextVNode as r, createElementBlock as p, Fragment as s, renderList as m, createElementVNode as c } from "vue";
|
|
2
2
|
import { formatConditionList as f } from "../../../../utils/data-table-util.js";
|
|
3
|
-
import { CirclePlus as v, Delete as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { getModelOptionsByFields as
|
|
7
|
-
const w = { class: "dialog-footer" },
|
|
3
|
+
import { CirclePlus as v, Delete as g } from "@element-plus/icons-vue";
|
|
4
|
+
import b from "./combination.vue.js";
|
|
5
|
+
import C from "../../common/common-variable-bind.vue.js";
|
|
6
|
+
import { getModelOptionsByFields as y } from "../../../../utils/page-table-util.js";
|
|
7
|
+
const w = { class: "dialog-footer" }, F = e({ __name: "set-dialog", props: { configure: { type: Object, default: () => {
|
|
8
8
|
} }, pageDesign: { type: Object, default: () => {
|
|
9
9
|
} }, tableConfigure: { type: Object, default: () => {
|
|
10
|
-
} } }, emits: ["close", "save"], setup(e2, { emit:
|
|
11
|
-
const
|
|
10
|
+
} } }, emits: ["close", "save"], setup(e2, { emit: F2 }) {
|
|
11
|
+
const _ = e2, V = F2, D = l({}), M = l(false), j = l(""), k = l(null), h = l(null), L = l(null);
|
|
12
12
|
var N;
|
|
13
|
-
(N =
|
|
13
|
+
(N = _.tableConfigure) && (L.value = y(N.modelFields));
|
|
14
14
|
const U = l([]);
|
|
15
15
|
function O() {
|
|
16
|
-
|
|
16
|
+
M.value = false;
|
|
17
17
|
}
|
|
18
18
|
function T(e3) {
|
|
19
|
-
U.value[
|
|
19
|
+
U.value[j.value].conditionList = e3;
|
|
20
20
|
}
|
|
21
21
|
function x() {
|
|
22
|
-
|
|
22
|
+
V("save", U.value), V("close");
|
|
23
23
|
}
|
|
24
24
|
function z(e3) {
|
|
25
|
-
|
|
25
|
+
h.value.setCurrentRow(e3);
|
|
26
26
|
}
|
|
27
27
|
function R() {
|
|
28
28
|
U.value = U.value.filter((e3) => e3 !== D.value);
|
|
@@ -33,20 +33,20 @@ const w = { class: "dialog-footer" }, _ = e({ __name: "set-dialog", props: { con
|
|
|
33
33
|
function $() {
|
|
34
34
|
U.value.push({});
|
|
35
35
|
}
|
|
36
|
-
return
|
|
37
|
-
const
|
|
38
|
-
return t(), a(G, { "model-value": "", title: "自动设值", "append-to-body": "", onClose:
|
|
39
|
-
return o2 = l3.row, a2 = l3.$index,
|
|
36
|
+
return _.configure.props.setValueList && (U.value = _.configure.props.setValueList), (l2, y2) => {
|
|
37
|
+
const F3 = o("el-button"), D2 = o("el-row"), N2 = o("el-option"), q = o("el-select"), A = o("el-table-column"), B = o("el-input"), E = o("el-table"), G = o("el-dialog");
|
|
38
|
+
return t(), a(G, { "model-value": "", title: "自动设值", "append-to-body": "", onClose: y2[1] || (y2[1] = (e3) => V("close")) }, { footer: n(() => [c("div", w, [u(F3, { onClick: y2[0] || (y2[0] = (e3) => V("close")) }, { default: n(() => y2[4] || (y2[4] = [r("取消")])), _: 1 }), u(F3, { type: "primary", onClick: x }, { default: n(() => y2[5] || (y2[5] = [r(" 确定 ")])), _: 1 })])]), default: n(() => [u(D2, { style: { "padding-bottom": "8px" } }, { default: n(() => [u(F3, { icon: d(v), plain: "", type: "primary", onClick: $ }, { default: n(() => y2[2] || (y2[2] = [r(" 添加 ")])), _: 1 }, 8, ["icon"]), u(F3, { icon: d(g), plain: "", type: "primary", onClick: R }, { default: n(() => y2[3] || (y2[3] = [r(" 删除 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), u(E, { ref_key: "tableRef", ref: h, "highlight-current-row": "", data: U.value, style: { width: "100%" }, onCurrentChange: S }, { default: n(() => [u(A, { prop: "date", label: "填写方式", align: "center" }, { default: n((e3) => [u(q, { modelValue: e3.row.fillType, "onUpdate:modelValue": (l3) => e3.row.fillType = l3, clearable: "", size: "default", onFocus: (l3) => z(e3.row) }, { default: n(() => [u(N2, { label: "覆盖", value: "cover" }), u(N2, { label: "追加", value: "append" }), u(N2, { label: "插入最前面", value: "prepend" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }), u(A, { prop: "date", label: "前置条件", align: "center" }, { default: n((l3) => [u(B, { "model-value": d(f)(l3.row.conditionList, e2.pageDesign.modelFields, e2.pageDesign.modelFieldsMap), size: "default", onFocus: (e3) => z(l3.row), onClick: (e3) => {
|
|
39
|
+
return o2 = l3.row, a2 = l3.$index, k.value = o2.conditionList, j.value = a2, void (M.value = true);
|
|
40
40
|
var o2, a2;
|
|
41
41
|
} }, null, 8, ["model-value", "onFocus", "onClick"])]), _: 1 }), u(A, { label: "执行方法时设置", align: "center" }, { default: n(() => [u(A, { prop: "name", label: "字段", align: "center" }, { default: n((l3) => [u(q, { modelValue: l3.row.propDbName, "onUpdate:modelValue": (e3) => l3.row.propDbName = e3, clearable: "", size: "default", onFocus: (e3) => z(l3.row), onChange: (e3) => function(e4, l4) {
|
|
42
|
-
|
|
43
|
-
e4.field = o2.name, e4.dataType = o2.dataType;
|
|
44
|
-
}(l3.row, l3.row.propDbName) }, { default: n(() => [(t(true), p(s, null,
|
|
42
|
+
let o2 = null;
|
|
43
|
+
_.pageDesign.modelFieldsMap ? o2 = _.pageDesign.modelFieldsMap[l4] : _.tableConfigure.modelFieldsMap && (o2 = _.tableConfigure.modelFieldsMap[l4]), e4.field = o2.name, e4.dataType = o2.dataType;
|
|
44
|
+
}(l3.row, l3.row.propDbName) }, { default: n(() => [(t(true), p(s, null, m(e2.pageDesign.modelFields, (e3) => (t(), a(N2, { key: e3.id, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus", "onChange"])]), _: 1 }), u(A, { prop: "address", label: "值", align: "center" }, { default: n((e3) => [u(C, { onFocus: (l3) => z(e3.row), modelValue: e3.row.autoValue, objModelOptions: L.value, "onUpdate:modelValue": (l3) => {
|
|
45
45
|
return o2 = l3, void (e3.row.autoValue = o2);
|
|
46
46
|
var o2;
|
|
47
|
-
} }, null, 8, ["onFocus", "modelValue", "objModelOptions", "onUpdate:modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["data"]),
|
|
47
|
+
} }, null, 8, ["onFocus", "modelValue", "objModelOptions", "onUpdate:modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["data"]), M.value ? (t(), a(b, { key: 0, list: k.value, fieldNameList: e2.pageDesign.modelFields, fieldMap: e2.pageDesign.modelFieldsMap, tableConfigure: e2.tableConfigure, onSave: T, onClose: O }, null, 8, ["list", "fieldNameList", "fieldMap", "tableConfigure"])) : i("", true)]), _: 1 });
|
|
48
48
|
};
|
|
49
49
|
} });
|
|
50
50
|
export {
|
|
51
|
-
|
|
51
|
+
F as default
|
|
52
52
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as e, ref as a, resolveComponent as l, createBlock as t, openBlock as o, withCtx as u, createVNode as r, createElementVNode as d, withDirectives as i, createTextVNode as s, toDisplayString as n, vShow as p, createCommentVNode as m } from "vue";
|
|
2
2
|
import f from "../../form/common/row-ul-li.vue.js";
|
|
3
|
-
import g from "../../common/common-variable-bind.
|
|
3
|
+
import g from "../../common/common-variable-bind.vue.js";
|
|
4
4
|
import c from "../../common/common-function-code.vue.js";
|
|
5
5
|
import b from "../../common/common-i18n-key-input.vue.js";
|
|
6
6
|
const _ = { style: { padding: "8px 0px 0px 0px" } }, V = { style: { padding: "8px 0px 0px 0px" } }, v = e({ __name: "dropdown-attr-base", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, onUnmounted as a, watch as t, resolveComponent as o, createBlock as i, openBlock as u, withCtx as r, createElementVNode as n, createVNode as c, createElementBlock as s, Fragment as d, renderList as f, toDisplayString as m, unref as p } from "vue";
|
|
2
2
|
import { Plus as v, Delete as b } from "@element-plus/icons-vue";
|
|
3
3
|
import { getUuidv4 as g } from "../../../../utils/common-util.js";
|
|
4
|
-
import _ from "../../common/common-variable-bind.
|
|
4
|
+
import _ from "../../common/common-variable-bind.vue.js";
|
|
5
5
|
const V = { style: { padding: "8px 0px 0px 0px" } }, h = { style: { float: "left" } }, w = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, k = e({ __name: "common-attr-clickset", props: { configure: {} }, setup(e2) {
|
|
6
6
|
const k2 = e2;
|
|
7
7
|
k2.configure.clickSet || (k2.configure.clickSet = {});
|
|
@@ -3,7 +3,7 @@ import x from "../../common/page-permission-select.vue.js";
|
|
|
3
3
|
import V from "../../form/common/data-origin-service-in.vue.js";
|
|
4
4
|
import { usePageContextStore as h } from "../../../../../../stores/page-store.js";
|
|
5
5
|
import { queryServiceReturnFields as _, queryServiceInfo as $ } from "../../../../utils/page-service-util.js";
|
|
6
|
-
import F from "../../common/common-variable-bind.
|
|
6
|
+
import F from "../../common/common-variable-bind.vue.js";
|
|
7
7
|
import { getUuidv4 as O } from "../../../../utils/common-util.js";
|
|
8
8
|
import { ElMessageBox as S, ElMessage as j } from "element-plus";
|
|
9
9
|
const D = { style: { padding: "8px 0px 0px 0px" } }, T = { style: { float: "left" } }, w = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, U = { style: { float: "left" } }, k = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, z = { style: { width: "100%", "padding-left": "20px", "margin-bottom": "-15px" } }, C = e({ __name: "common-attr-data", props: { configure: { type: Object, required: true }, defaultType: { type: String, default: "" }, chartType: { type: String, default: "" } }, setup(e2) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as e, onUnmounted as l, ref as o, watch as r, resolveComponent as a, createBlock as u, openBlock as t, withCtx as p, createElementVNode as i, createVNode as n, withDirectives as s, unref as c, createElementBlock as g, Fragment as d, renderList as f, toDisplayString as m, vShow as b, createTextVNode as v } from "vue";
|
|
2
2
|
import { Top as x, Bottom as V, Plus as _, Delete as h } from "@element-plus/icons-vue";
|
|
3
|
-
import y from "../../common/common-variable-bind.
|
|
3
|
+
import y from "../../common/common-variable-bind.vue.js";
|
|
4
4
|
import { getUuidv4 as w } from "../../../../utils/common-util.js";
|
|
5
5
|
const k = { style: { padding: "8px 0px 0px 0px" } }, C = { style: { "text-align": "center", margin: "0px -8px", "padding-top": "4px", "padding-left": "2px" } }, D = { style: { float: "left" } }, U = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, S = e({ __name: "common-attr-groupby", props: { configure: { type: Object, required: true } }, setup(e2) {
|
|
6
6
|
const S2 = e2;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, watch as o, resolveComponent as a, createBlock as r, openBlock as u, withCtx as i, createElementVNode as t, createVNode as p, withDirectives as m, createElementBlock as d, Fragment as s, renderList as n, createTextVNode as c, vShow as f } from "vue";
|
|
2
|
-
import g from "../../common/common-variable-bind.
|
|
2
|
+
import g from "../../common/common-variable-bind.vue.js";
|
|
3
3
|
const b = { style: { padding: "8px 0px 0px 0px" } }, V = e({ __name: "common-attr-sortby", props: { configure: { type: Object, required: true } }, setup(e2) {
|
|
4
4
|
const V2 = e2, x = l([]);
|
|
5
5
|
function v(e3, l2) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as e, ref as a, reactive as o, resolveComponent as l, createBlock as i, openBlock as n, withCtx as u, createElementVNode as p, createCommentVNode as t, createVNode as r, createTextVNode as s, unref as d, createElementBlock as g, Fragment as m, renderList as c, resolveDynamicComponent as f } from "vue";
|
|
2
2
|
import { Top as h, Bottom as v } from "@element-plus/icons-vue";
|
|
3
|
-
import y from "../../common/common-variable-bind.
|
|
3
|
+
import y from "../../common/common-variable-bind.vue.js";
|
|
4
4
|
import { getAttrComponentByName as b } from "../../../../utils/assemblys-config.js";
|
|
5
5
|
import { getDefaultComponent as C, updateConfEvents as x } from "../../../../utils/home-chart-util.js";
|
|
6
6
|
import H from "../../object-design.vue.js";
|
|
@@ -7,7 +7,7 @@ import T from "./row-colmun.vue.js";
|
|
|
7
7
|
import { queryServiceReturnFields as k } from "../../../../../utils/page-service-util.js";
|
|
8
8
|
import "uuid";
|
|
9
9
|
import { tableField as h } from "../../../../../../../stores/table-store.js";
|
|
10
|
-
import R from "../../../common/common-variable-bind.
|
|
10
|
+
import R from "../../../common/common-variable-bind.vue.js";
|
|
11
11
|
import { getCustomFuncs as F } from "../../../../../utils/page-event-util.js";
|
|
12
12
|
const U = { style: { padding: "8px 0px 0px 0px" } }, S = { style: { float: "left" } }, x = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, j = e({ __name: "data-origin", props: { configure: { type: Object, default: () => {
|
|
13
13
|
} }, remote: { type: Boolean, default: true }, pageDesign: { type: Object, default: () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as e, resolveComponent as a, createBlock as l, openBlock as t, withCtx as o, createElementVNode as n, createVNode as i, createElementBlock as u, createCommentVNode as d, Fragment as r, createTextVNode as p, renderList as g, toDisplayString as m } from "vue";
|
|
2
|
-
import s from "../../../common/common-variable-bind.
|
|
2
|
+
import s from "../../../common/common-variable-bind.vue.js";
|
|
3
3
|
const c = { style: { padding: "8px 0px 0px 0px" } }, f = { style: { float: "left" } }, b = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, V = e({ __name: "table-pageination", props: { pageDesign: { type: Object, default: () => ({ props: {} }) }, configure: { type: Object, default: () => ({ props: {} }) }, serviceFields: { type: Array, default: () => [] } }, setup(e2) {
|
|
4
4
|
const V2 = e2;
|
|
5
5
|
return V2.configure.pageination || (V2.configure.pageination = { enable: false, type: "frontend", pageSize: 10, pageSizes: "20,30,50,100", total: true, prev: true, next: true, pager: true, jumper: true }), (V3, _) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, watch as a, resolveComponent as t, createElementBlock as o, openBlock as u, Fragment as r, createElementVNode as d, createVNode as p, withCtx as i, createTextVNode as n, unref as s, createBlock as m, createCommentVNode as c } from "vue";
|
|
2
2
|
import { Plus as b, Delete as f } from "@element-plus/icons";
|
|
3
|
-
import v from "../../../common/common-variable-bind.
|
|
3
|
+
import v from "../../../common/common-variable-bind.vue.js";
|
|
4
4
|
import { isNumberType as g, getUuidv4 as w } from "../../../../../utils/common-util.js";
|
|
5
5
|
import { usePageContextStore as y } from "../../../../../../../stores/page-store.js";
|
|
6
6
|
import { statisticsTable as h } from "../../../../../../../stores/statistics-table-store.js";
|
|
@@ -10,12 +10,12 @@ const _ = { style: { "text-align": "center", margin: "0px -8px", "padding-top":
|
|
|
10
10
|
} }, pageDesign: { type: Object, default: () => {
|
|
11
11
|
} }, row: { type: Object, default: () => {
|
|
12
12
|
} } }, emits: ["update:data"], setup(e2, { emit: k2 }) {
|
|
13
|
-
const N = y(),
|
|
14
|
-
|
|
13
|
+
const N = y(), C = h(), O = e2, j = k2, U = l(300), x = l([]);
|
|
14
|
+
O.data && (x.value = O.data);
|
|
15
15
|
const B = l(false);
|
|
16
16
|
let L;
|
|
17
|
-
const M =
|
|
18
|
-
!M || "form" !== M && "list" !== M || (L =
|
|
17
|
+
const M = O.pageDesign ? O.pageDesign.pageType : null;
|
|
18
|
+
!M || "form" !== M && "list" !== M || (L = O.pageDesign.modelFields);
|
|
19
19
|
const I = l(null);
|
|
20
20
|
L && L.length > 0 && (I.value = V(L));
|
|
21
21
|
const S = l(null);
|
|
@@ -23,7 +23,7 @@ const _ = { style: { "text-align": "center", margin: "0px -8px", "padding-top":
|
|
|
23
23
|
e3 && (S.value = V(e3.modelFields));
|
|
24
24
|
}
|
|
25
25
|
function D() {
|
|
26
|
-
E(T(
|
|
26
|
+
E(T(O.pageDesign, O.configure, O.tableConfigure));
|
|
27
27
|
let e3 = window.innerHeight - 140 - 176;
|
|
28
28
|
e3 > 500 ? e3 = 500 : e3 < 100 && (e3 = 100), U.value = e3, B.value = true;
|
|
29
29
|
}
|
|
@@ -42,8 +42,8 @@ const _ = { style: { "text-align": "center", margin: "0px -8px", "padding-top":
|
|
|
42
42
|
const a2 = { uuid: w(), leftBracket: "", propName: "", operator: "", propValueType: "", rightBracket: "", joinSign: "", dataType: "" };
|
|
43
43
|
x.value.splice(l2 + 1, 0, a2);
|
|
44
44
|
}
|
|
45
|
-
E(
|
|
46
|
-
|
|
45
|
+
E(O.tableConfigure), a(() => x.value, (e3) => {
|
|
46
|
+
j("update:data", { row: O.row, data: x.value });
|
|
47
47
|
}, { deep: true });
|
|
48
48
|
const G = l({});
|
|
49
49
|
function W(e3) {
|
|
@@ -55,7 +55,7 @@ const _ = { style: { "text-align": "center", margin: "0px -8px", "padding-top":
|
|
|
55
55
|
let a3, t2 = [];
|
|
56
56
|
l2.propName = e3;
|
|
57
57
|
let o2 = "";
|
|
58
|
-
if (e3 && e3.startsWith("${") && (a3 = e3.substring(2, e3.length - 1), a3.startsWith("page.") || (a3.startsWith("data.") ? (a3 = a3.substring(5), t2 = I.value, t2 && 0 !== t2.length || (t2 = N.pageContextVarOptions.dataOptions)) : a3.startsWith("row.") && (a3 = a3.substring(4), t2 = S.value, t2 && 0 !== t2.length || (t2 =
|
|
58
|
+
if (e3 && e3.startsWith("${") && (a3 = e3.substring(2, e3.length - 1), a3.startsWith("page.") || (a3.startsWith("data.") ? (a3 = a3.substring(5), t2 = I.value, t2 && 0 !== t2.length || (t2 = N.pageContextVarOptions.dataOptions)) : a3.startsWith("row.") && (a3 = a3.substring(4), t2 = S.value, t2 && 0 !== t2.length || (t2 = C.columnList)))), t2 && a3) {
|
|
59
59
|
const e4 = t2.find((e5) => e5.value == a3);
|
|
60
60
|
e4 && (o2 = e4.dataType);
|
|
61
61
|
}
|
|
@@ -63,8 +63,8 @@ const _ = { style: { "text-align": "center", margin: "0px -8px", "padding-top":
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
return (l2, a2) => {
|
|
66
|
-
const w2 = t("el-button"), y2 = t("el-row"), h2 = t("Top"), V2 = t("el-icon"), T2 = t("Bottom"), k3 = t("el-table-column"), N2 = t("el-option"),
|
|
67
|
-
return u(), o(r, null, [d("div", null, [p(w2, { type: "primary", onClick: D }, { default: i(() => a2[1] || (a2[1] = [n("编辑")])), _: 1 })]), p(
|
|
66
|
+
const w2 = t("el-button"), y2 = t("el-row"), h2 = t("Top"), V2 = t("el-icon"), T2 = t("Bottom"), k3 = t("el-table-column"), N2 = t("el-option"), C2 = t("el-select"), O2 = t("el-table"), j2 = t("el-dialog");
|
|
67
|
+
return u(), o(r, null, [d("div", null, [p(w2, { type: "primary", onClick: D }, { default: i(() => a2[1] || (a2[1] = [n("编辑")])), _: 1 })]), p(j2, { modelValue: B.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => B.value = e3), title: e2.title, width: "900", "append-to-body": "" }, { default: i(() => [p(y2, { style: { "padding-bottom": "8px" } }, { default: i(() => [p(w2, { icon: s(b), plain: "", type: "primary", onClick: A }, { default: i(() => a2[2] || (a2[2] = [n(" 添加 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), p(O2, { border: "", "highlight-current-row": "", onCurrentChange: W, data: x.value, style: { width: "100%" } }, { default: i(() => [p(k3, { label: "", width: "50" }, { default: i((e3) => [d("div", _, [p(V2, { size: "14", style: { cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
68
68
|
let l4 = z(e4);
|
|
69
69
|
if (l4 < 1) return;
|
|
70
70
|
const a3 = x.value;
|
|
@@ -74,7 +74,7 @@ const _ = { style: { "text-align": "center", margin: "0px -8px", "padding-top":
|
|
|
74
74
|
if (-1 == l4 || x.value.length == l4 + 1) return;
|
|
75
75
|
const a3 = x.value;
|
|
76
76
|
[a3[l4], a3[l4 + 1]] = [a3[l4 + 1], a3[l4]];
|
|
77
|
-
}(e3.row) }, { default: i(() => [p(T2)]), _: 2 }, 1032, ["onClick"])])]), _: 1 }), p(k3, { prop: "leftBracket", label: "(", width: "80" }, { default: i((e3) => [p(
|
|
77
|
+
}(e3.row) }, { default: i(() => [p(T2)]), _: 2 }, 1032, ["onClick"])])]), _: 1 }), p(k3, { prop: "leftBracket", label: "(", width: "80" }, { default: i((e3) => [p(C2, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (l3) => e3.row.leftBracket = l3, clearable: "", placeholder: "请选择" }, { default: i(() => [p(N2, { label: "", value: "" }), p(N2, { label: "(", value: "(" }), p(N2, { label: "((", value: "((" }), p(N2, { label: "(((", value: "(((" }), p(N2, { label: "((((", value: "((((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(k3, { prop: "propName", label: "字段名(*)", width: "150" }, { default: i((l3) => [p(v, { modelValue: l3.row.propName, dataModelOptions: I.value, objModelOptions: S.value, paramTypes: e2.paramTypes, "onUpdate:modelValue": (e3) => q(e3, l3.row, "propName") }, null, 8, ["modelValue", "dataModelOptions", "objModelOptions", "paramTypes", "onUpdate:modelValue"])]), _: 1 }), p(k3, { prop: "operator", label: "操作符", width: "90" }, { default: i((e3) => [p(C2, { modelValue: e3.row.operator, "onUpdate:modelValue": (l3) => e3.row.operator = l3, clearable: "", placeholder: "请选择" }, { default: i(() => [s(g)(e3.row.dataType) ? (u(), m(N2, { key: 0, label: "大于", value: "GT" })) : c("", true), s(g)(e3.row.dataType) ? (u(), m(N2, { key: 1, label: "小于", value: "LT" })) : c("", true), "date" == e3.row.dataType || "datetime" == e3.row.dataType ? (u(), m(N2, { key: 2, label: "晚于", value: "GT" })) : c("", true), "date" == e3.row.dataType || "datetime" == e3.row.dataType ? (u(), m(N2, { key: 3, label: "早于", value: "LT" })) : c("", true), p(N2, { label: "等于", value: "EQ" }), s(g)(e3.row.dataType) ? (u(), m(N2, { key: 4, label: "小于等于", value: "LET" })) : c("", true), s(g)(e3.row.dataType) ? (u(), m(N2, { key: 5, label: "大于等于", value: "GET" })) : c("", true), "date" == e3.row.dataType || "datetime" == e3.row.dataType ? (u(), m(N2, { key: 6, label: "不晚于", value: "LET" })) : c("", true), "date" == e3.row.dataType || "datetime" == e3.row.dataType ? (u(), m(N2, { key: 7, label: "不早于", value: "GET" })) : c("", true), p(N2, { label: "不等于", value: "NET" }), p(N2, { label: "包含", value: "CONTAIN" }), p(N2, { label: "不包含", value: "NOT_CONTAIN" }), p(N2, { label: "等于Null", value: "IS_NULL" }), p(N2, { label: "不等于Null", value: "IS_NOT_NULL" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(k3, { prop: "propValue", label: "值(*)", width: "150" }, { default: i((e3) => [p(v, { modelValue: e3.row.propValue, dataModelOptions: I.value, objModelOptions: S.value, "onUpdate:modelValue": (l3) => q(l3, e3.row, "propValue") }, null, 8, ["modelValue", "dataModelOptions", "objModelOptions", "onUpdate:modelValue"])]), _: 1 }), p(k3, { prop: "rightBracket", label: ")", width: "80" }, { default: i((e3) => [p(C2, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (l3) => e3.row.rightBracket = l3, placeholder: "请选择", clearable: "" }, { default: i(() => [p(N2, { label: "", value: "" }), p(N2, { label: ")", value: ")" }), p(N2, { label: "))", value: "))" }), p(N2, { label: ")))", value: ")))" }), p(N2, { label: "))))", value: "))))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(k3, { prop: "joinSign", label: "并且/或者", width: "80" }, { default: i((e3) => [p(C2, { modelValue: e3.row.joinSign, "onUpdate:modelValue": (l3) => e3.row.joinSign = l3, clearable: "", placeholder: "请选择" }, { default: i(() => [p(N2, { label: "或者", value: "or" }), p(N2, { label: "并且", value: "and" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(k3, { prop: "variableIsNull", label: "变量为空时", width: "120" }, { default: i((e3) => [p(C2, { modelValue: e3.row.variableIsNull, "onUpdate:modelValue": (l3) => e3.row.variableIsNull = l3, clearable: "", placeholder: "请选择" }, { default: i(() => [p(N2, { label: "Null", value: "null" }), p(N2, { label: "忽略(1=1)", value: "ignore" }), p(N2, { label: "不符合(1<>1)", value: "notequal" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(k3, { label: "操作", width: "60" }, { default: i((e3) => [p(V2, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px", "margin-left": "6px" }, onClick: (l3) => A(e3.row) }, { default: i(() => [p(s(b))]), _: 2 }, 1032, ["onClick"]), p(V2, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
78
78
|
let l4 = z(e4);
|
|
79
79
|
l4 > -1 && x.value.splice(l4, 1);
|
|
80
80
|
}(e3.row) }, { default: i(() => [p(s(f))]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue", "title"])], 64);
|
package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, resolveComponent as a, createElementBlock as t, openBlock as o, Fragment as r, createElementVNode as u, createVNode as d, withDirectives as p, withCtx as n, createTextVNode as i, vShow as s, unref as c } from "vue";
|
|
2
2
|
import { Plus as b, Delete as f } from "@element-plus/icons";
|
|
3
|
-
import m from "./common-variable-bind.
|
|
3
|
+
import m from "./common-variable-bind.vue.js";
|
|
4
4
|
import { getUuidv4 as w } from "../../../utils/common-util.js";
|
|
5
5
|
import { usePageContextStore as g } from "../../../../../stores/page-store.js";
|
|
6
6
|
import { getModelOptionsByFields as y } from "../../../utils/page-table-util.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, reactive as a, onUnmounted as t, resolveComponent as o, createBlock as s, openBlock as n, withCtx as r, createElementVNode as i, createVNode as u, createElementBlock as p, Fragment as d, renderList as
|
|
2
|
-
import { Search as
|
|
3
|
-
import
|
|
4
|
-
import { EnableStates as
|
|
1
|
+
import { defineComponent as e, ref as l, reactive as a, onUnmounted as t, resolveComponent as o, createBlock as s, openBlock as n, withCtx as r, createElementVNode as i, createVNode as u, createElementBlock as p, Fragment as d, renderList as m, unref as c, createTextVNode as g, toDisplayString as y, createCommentVNode as h } from "vue";
|
|
2
|
+
import { Search as b, RefreshLeft as f } from "@element-plus/icons";
|
|
3
|
+
import V from "agilebuilder-ui/src/utils/request";
|
|
4
|
+
import { EnableStates as v } from "../../../utils/interfaces/page-design-types.js";
|
|
5
5
|
import { usePageContextStore as C } from "../../../../../stores/page-store.js";
|
|
6
6
|
const w = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "10px" } }, T = e({ __name: "common-select-table", props: { systemCode: {}, systemVersion: {} }, emits: ["selectTable"], setup(e2, { expose: T2, emit: x }) {
|
|
7
7
|
const z = e2, _ = C(), S = _.pageContext ? _.pageContext : {}, P = x, k = l(300);
|
|
@@ -29,17 +29,17 @@ const w = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "1
|
|
|
29
29
|
a2 = e4.length > 0 ? e4[0].version : -1;
|
|
30
30
|
} else l2 = N, a2 = A;
|
|
31
31
|
const t2 = j.tableType ? j.tableType : 0, o2 = window.$vueApp.config.globalProperties.baseAPI + "/mms/data-tables/list/" + l2 + "/" + t2 + "/" + a2;
|
|
32
|
-
|
|
32
|
+
V.post(o2, e3).then((e4) => {
|
|
33
33
|
D.value = e4.data, E.currentPage = e4.page, E.pageSize = e4.size, E.total = e4.total;
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
36
|
return T2({ openDialog: function() {
|
|
37
37
|
let e3 = window.innerHeight - 140 - 176;
|
|
38
|
-
e3 > 500 ? e3 = 500 : e3 < 100 && (e3 = 100), k.value = e3, U.value = true, O || (O = true,
|
|
38
|
+
e3 > 500 ? e3 = 500 : e3 < 100 && (e3 = 100), k.value = e3, U.value = true, O || (O = true, V.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-charts/findAllSystem").then((e4) => {
|
|
39
39
|
const l2 = e4, a2 = [], t2 = {};
|
|
40
40
|
for (let e5 of l2) {
|
|
41
41
|
if (e5.deleted) continue;
|
|
42
|
-
if (e5.enabledState !=
|
|
42
|
+
if (e5.enabledState != v.ENABLE) continue;
|
|
43
43
|
const l3 = t2[e5.code];
|
|
44
44
|
null != l3 && e5.publishVersion > l3.publishVersion ? t2[e5.code] = e5 : null == l3 && (t2[e5.code] = e5, a2.push(e5.code));
|
|
45
45
|
}
|
|
@@ -52,13 +52,13 @@ const w = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "1
|
|
|
52
52
|
B();
|
|
53
53
|
}, 100));
|
|
54
54
|
} }), (e3, l2) => {
|
|
55
|
-
const a2 = o("el-option"), t2 = o("el-select"),
|
|
56
|
-
return n(), s(_2, { modelValue: U.value, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => U.value = e4), title: "选择数据模型", width: "800" }, { default: r(() => [i("div", w, [u(t2, { modelValue: j.systemCode, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => j.systemCode = e4), placeholder: "当前应用", clearable: "", onChange: B, style: { width: "120px" } }, { default: r(() => [(n(true), p(d, null,
|
|
55
|
+
const a2 = o("el-option"), t2 = o("el-select"), V2 = o("el-input"), v2 = o("el-button"), C2 = o("el-table-column"), T3 = o("el-text"), x2 = o("el-table"), z2 = o("el-pagination"), _2 = o("el-dialog");
|
|
56
|
+
return n(), s(_2, { modelValue: U.value, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => U.value = e4), title: "选择数据模型", width: "800" }, { default: r(() => [i("div", w, [u(t2, { modelValue: j.systemCode, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => j.systemCode = e4), placeholder: "当前应用", clearable: "", onChange: B, style: { width: "120px" } }, { default: r(() => [(n(true), p(d, null, m(F.value, (e4) => (n(), s(a2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), u(t2, { modelValue: j.tableType, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => j.tableType = e4), placeholder: "表和视图", clearable: "", onChange: B, style: { width: "120px", "margin-left": "10px" } }, { default: r(() => [u(a2, { value: "1", label: "表" }), u(a2, { value: "2", label: "视图" })]), _: 1 }, 8, ["modelValue"]), u(V2, { modelValue: j.searchValue, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => j.searchValue = e4), style: { width: "240px", "margin-left": "10px" }, placeholder: "请输入名称或别名" }, null, 8, ["modelValue"]), u(v2, { type: "primary", style: { "margin-left": "10px" }, icon: c(b), onClick: B }, { default: r(() => l2[6] || (l2[6] = [g("确定")])), _: 1 }, 8, ["icon"]), u(v2, { style: { "margin-left": "10px" }, icon: c(f), onClick: I }, { default: r(() => l2[7] || (l2[7] = [g("重置")])), _: 1 }, 8, ["icon"])]), u(x2, { data: D.value, stripe: "", height: k.value, onSortChange: q }, { default: r(() => [u(C2, { type: "index", label: "序", width: "50" }, { default: r((e4) => [g(y(e4.$index + 1), 1)]), _: 1 }), u(C2, { label: "操作", width: "80" }, { default: r((e4) => [u(v2, { type: "primary", size: "small", onClick: (l3) => function(e5) {
|
|
57
57
|
const l4 = { name: e5.row.name, alias: e5.row.alias };
|
|
58
58
|
if (j.systemCode && j.systemCode != S.systemCode) {
|
|
59
59
|
let e6 = j.systemCode, a3 = F.value.filter((l5) => l5.value == e6);
|
|
60
60
|
l4.systemVersion = a3.length > 0 ? a3[0].version : 1, l4.systemCode = e6;
|
|
61
|
-
}
|
|
61
|
+
} else j.systemCode || (e5.row.systemCode && (l4.systemCode = e5.row.systemCode), e5.row.publishVersion && (l4.systemVersion = e5.row.publishVersion));
|
|
62
62
|
P("selectTable", l4), U.value = false;
|
|
63
63
|
}(e4) }, { default: r(() => l2[8] || (l2[8] = [g("选择")])), _: 2 }, 1032, ["onClick"])]), _: 1 }), u(C2, { property: "dataView", label: "类型", width: "70" }, { default: r((e4) => [e4.dataView ? h("", true) : (n(), s(T3, { key: 0, class: "mx-1", type: "primary" }, { default: r(() => l2[9] || (l2[9] = [g("数据表")])), _: 1 })), e4.dataView ? (n(), s(T3, { key: 1, class: "mx-1", type: "success" }, { default: r(() => l2[10] || (l2[10] = [g("视图")])), _: 1 })) : h("", true)]), _: 1 }), u(C2, { property: "name", label: "名称", width: "200", sortable: "custom" }), u(C2, { property: "alias", label: "别名" })]), _: 1 }, 8, ["data", "height"]), u(z2, { style: { "margin-top": "10px", "justify-content": "center" }, "current-page": E.currentPage, "onUpdate:currentPage": l2[3] || (l2[3] = (e4) => E.currentPage = e4), "page-size": E.pageSize, "onUpdate:pageSize": l2[4] || (l2[4] = (e4) => E.pageSize = e4), "page-sizes": [20, 30, 50, 100], background: "", layout: "sizes,prev,pager,next,jumper,total", total: E.total, onSizeChange: B, onCurrentChange: B }, null, 8, ["current-page", "page-size", "total"])]), _: 1 }, 8, ["modelValue"]);
|
|
64
64
|
};
|
|
@@ -12,18 +12,18 @@ const D = e({ __name: "tabs-design", props: { pageDesign: {}, configure: {}, ind
|
|
|
12
12
|
const k = t(1);
|
|
13
13
|
C.configure.runtime || (C.configure.runtime = {});
|
|
14
14
|
const S = t({}), A = t(""), U = t({});
|
|
15
|
-
function
|
|
15
|
+
function w() {
|
|
16
16
|
h(C.configure, S, A, U), C.configure.runtime.style = S.value, C.configure.runtime.class = A.value, C.configure.runtime.headerStyle = U.value;
|
|
17
17
|
}
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
w(), i(C.configure.style, () => {
|
|
19
|
+
w();
|
|
20
20
|
});
|
|
21
|
-
const
|
|
22
|
-
function
|
|
23
|
-
|
|
21
|
+
const F = D2;
|
|
22
|
+
function P(e3, t2) {
|
|
23
|
+
F("onSelectWidget", e3, t2);
|
|
24
24
|
}
|
|
25
|
-
function
|
|
26
|
-
|
|
25
|
+
function q(e3, t2) {
|
|
26
|
+
F("onCustomAttrWidget", e3, t2);
|
|
27
27
|
}
|
|
28
28
|
function z(e3) {
|
|
29
29
|
let t2 = C.configure.items;
|
|
@@ -38,7 +38,7 @@ const D = e({ __name: "tabs-design", props: { pageDesign: {}, configure: {}, ind
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
return (e3, t2) => (l(), n(o(y), { modelValue: k.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => k.value = e4), type: e3.configure.props.cardType, "tab-position": e3.configure.props.tabPosition, class: a(["amb-design-item-default", A.value]), style: s(S.value) }, { default: u(() => [(l(true), m(r, null, c(e3.configure.items, (t3, i2) => (l(), n(o(v), { label: t3.label, name: t3.index }, { label: u(() => [t3.iconType && t3.iconValue ? (l(), n(o(x), { key: 0, iconType: t3.iconType, iconValue: t3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : d("", true), f("span", { style: s(U.value) }, p(t3.label), 5)]), default: u(() => [g(o(O), { tag: "div", class: "amb-design-item-default", style: { "padding-bottom": "40px" }, group: "amb-assembly-item", "force-fallback": true, modelValue: t3.items, "onUpdate:modelValue": (e4) => t3.items = e4, sort: true, filter: ".el-scrollbar__bar", preventOnFilter: false, animation: 300, "ghost-class": "amb-item-ghost", fallbackClass: true }, { default: u(() => [(l(true), m(r, null, c(t3.items, (i3, o2) => (l(), n(V, { key: i3, pageDesign: e3.pageDesign, configure: i3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget:
|
|
41
|
+
return (e3, t2) => (l(), n(o(y), { modelValue: k.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => k.value = e4), type: e3.configure.props.cardType, "tab-position": e3.configure.props.tabPosition, class: a(["amb-design-item-default runtime-page-container-tabs-view", A.value]), style: s(S.value) }, { default: u(() => [(l(true), m(r, null, c(e3.configure.items, (t3, i2) => (l(), n(o(v), { label: t3.label, name: t3.index }, { label: u(() => [t3.iconType && t3.iconValue ? (l(), n(o(x), { key: 0, iconType: t3.iconType, iconValue: t3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : d("", true), f("span", { style: s(U.value) }, p(t3.label), 5)]), default: u(() => [g(o(O), { tag: "div", class: "amb-design-item-default", style: { "padding-bottom": "40px" }, group: "amb-assembly-item", "force-fallback": true, modelValue: t3.items, "onUpdate:modelValue": (e4) => t3.items = e4, sort: true, filter: ".el-scrollbar__bar", preventOnFilter: false, animation: 300, "ghost-class": "amb-item-ghost", fallbackClass: true }, { default: u(() => [(l(true), m(r, null, c(t3.items, (i3, o2) => (l(), n(V, { key: i3, pageDesign: e3.pageDesign, configure: i3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: P, onOnCustomAttrWidget: q, onOnCopy: z, onOnDelete: (e4) => function(e5, t4) {
|
|
42
42
|
const i4 = e5.items;
|
|
43
43
|
_(i4, t4, t4.items && t4.items.length > 0, true);
|
|
44
44
|
}(t3, e4) }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj", "onOnDelete"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1032, ["label", "name"]))), 256))]), _: 1 }, 8, ["modelValue", "type", "tab-position", "style", "class"]));
|
|
@@ -6,12 +6,12 @@ import { caculateComponentStyle as j } from "../../../../utils/container-design-
|
|
|
6
6
|
import "element-plus";
|
|
7
7
|
import { copyHandleEvents as x, deleteDesignItem as h } from "../../../../utils/page-design-util.js";
|
|
8
8
|
import { getInputTypeComponentNames as O } from "../../../../utils/assemblys-config.js";
|
|
9
|
-
const W = { class: "amb-widget-tools-parent amb-design-item-default"
|
|
9
|
+
const W = { class: "amb-widget-tools-parent amb-design-item-default" }, D = e({ __name: "tools-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: D2 }) {
|
|
10
10
|
const C = e2;
|
|
11
11
|
C.configure.items || (C.configure.items = []), null == C.configure.style && (C.configure.style = {}), C.configure.props = { isAffix: true, position: "top", ...C.configure.props ?? {} }, C.configure.runtime || (C.configure.runtime = {});
|
|
12
|
-
const
|
|
12
|
+
const A = t({}), w = t(""), k = n(() => {
|
|
13
13
|
const { gap: e3 } = C.configure.props ?? {};
|
|
14
|
-
return { ...e3 ? { gap: `${e3}px` } : {}, ...
|
|
14
|
+
return { ...e3 ? { gap: `${e3}px` } : {}, ...A.value ?? {} };
|
|
15
15
|
});
|
|
16
16
|
i(C.configure.style, () => {
|
|
17
17
|
R();
|
|
@@ -33,9 +33,9 @@ const W = { class: "amb-widget-tools-parent amb-design-item-default", style: { w
|
|
|
33
33
|
}, { important: true, deep: true });
|
|
34
34
|
const N = t(null);
|
|
35
35
|
function R() {
|
|
36
|
-
j(C.configure,
|
|
36
|
+
j(C.configure, A, w, null);
|
|
37
37
|
const e3 = C.configure.props;
|
|
38
|
-
"flex-end" == e3.align ?
|
|
38
|
+
"flex-end" == e3.align ? A.value["justify-content"] = "right" : "center" == e3.align && (A.value["justify-content"] = "center"), C.configure.runtime.style = A.value, C.configure.runtime.class = w.value;
|
|
39
39
|
}
|
|
40
40
|
d(N, C.configure.items, { group: "amb-assembly-item", animation: 300, ghostClass: "amb-item-ghost", forceFallback: true, onAdd: function(e3) {
|
|
41
41
|
if (C.configure && C.configure.items) {
|
|
@@ -69,7 +69,7 @@ const W = { class: "amb-widget-tools-parent amb-design-item-default", style: { w
|
|
|
69
69
|
let t2 = C.configure.items;
|
|
70
70
|
h(t2, e3, e3.items && e3.items.length > 0, true);
|
|
71
71
|
}
|
|
72
|
-
return (e3, t2) => (r(), u("div", W, [l("div", { class: c(["amb-widget-tools",
|
|
72
|
+
return (e3, t2) => (r(), u("div", W, [l("div", { class: c(["amb-widget-tools", w.value]), style: g([k.value, { display: "flex" }]), ref_key: "thisRef", ref: N }, [(r(true), u(f, null, p(e3.configure.items, (t3, n2) => (r(), m(b, { key: t3, pageDesign: e3.pageDesign, configure: t3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: z, onOnCustomAttrWidget: E, onOnCopy: F, onOnDelete: T }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))], 6)]));
|
|
73
73
|
} });
|
|
74
74
|
export {
|
|
75
75
|
D as default
|
|
@@ -2,7 +2,7 @@ import { defineComponent as e, ref as l, onMounted as a, resolveComponent as o,
|
|
|
2
2
|
import { getFormComponentOptions as f } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import g from "../../common/common-attr-size.vue.js";
|
|
4
4
|
import "@element-plus/icons-vue";
|
|
5
|
-
import v from "../../common/common-variable-bind.
|
|
5
|
+
import v from "../../common/common-variable-bind.vue.js";
|
|
6
6
|
import V from "agilebuilder-ui/src/utils/request";
|
|
7
7
|
const _ = { style: { padding: "8px 0px 0px 0px" } }, y = e({ __name: "barcode-attr-base", props: { configure: Object, default: () => ({ props: {} }) }, setup(e2) {
|
|
8
8
|
const y2 = e2, C = l([]);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./data-origin-tree.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const t = r(e, [["__scopeId", "data-v-
|
|
4
|
+
const t = r(e, [["__scopeId", "data-v-c07fe584"]]);
|
|
5
5
|
export {
|
|
6
6
|
t as default
|
|
7
7
|
};
|