super-page-runtime 2.3.26 → 2.3.28-sit1
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/runtime/utils/api/page-expose-util.js +133 -124
- package/dist/es/components/runtime/utils/events/data-backfill-util.d.ts +27 -0
- package/dist/es/components/runtime/utils/events/data-backfill-util.js +39 -0
- package/dist/es/components/runtime/utils/events/event-util.js +3 -3
- package/dist/es/components/runtime/utils/events/print-label.js +25 -26
- package/dist/es/components/runtime/utils/events/standard-event.js +569 -553
- package/dist/es/components/runtime/utils/events/validator-util.js +1 -1
- package/dist/es/components/runtime/utils/page-init-util.js +9 -11
- package/dist/es/components/runtime/utils/table-utils.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +4 -4
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +4 -4
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +4 -4
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +4 -4
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +6 -10
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +7 -9
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +93 -98
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +11 -12
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +13 -13
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +9 -11
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +4 -4
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +4 -4
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +4 -4
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +2 -4
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +4 -4
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +4 -4
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +4 -4
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +10 -12
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +10 -7
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +17 -17
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +4 -4
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +4 -4
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +35 -35
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +4 -4
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +4 -4
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +5 -5
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +4 -4
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +38 -39
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +5 -7
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +4 -5
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +4 -4
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +54 -52
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +47 -48
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +4 -4
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +12 -12
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +4 -4
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +4 -4
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +15 -17
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +6 -6
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +22 -13
- package/dist/es/components/runtime/views/home-chart.vue.js +8 -8
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +2 -3
- package/dist/es/components/runtime/views/super-page.vue.js +1 -1
- package/dist/es/components/runtime/views/super-page.vue2.js +75 -76
- package/dist/es/i18n/langs/cn.js +1 -1
- package/dist/es/i18n/langs/en.js +1 -1
- package/dist/es/style.css +133 -129
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, resolveComponent as t,
|
|
1
|
+
import { defineComponent as e, resolveComponent as t, createElementBlock as a, createCommentVNode as s, unref as i, openBlock as l, createBlock as n, createElementVNode as r, createVNode as d, withCtx as c, createTextVNode as u, toDisplayString as m } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import k from "./format-file-task-notice-message.vue.js";
|
|
4
4
|
import { useI18n as p } from "vue-i18n";
|
|
@@ -27,7 +27,7 @@ const g = { key: 0 }, o = { key: 0 }, T = { key: 0 }, f = { key: 1 }, S = { key:
|
|
|
27
27
|
}
|
|
28
28
|
return b2({}), (p2, b3) => {
|
|
29
29
|
const F2 = t("el-text"), v2 = t("Edit"), U2 = t("el-icon"), C = t("el-link");
|
|
30
|
-
return
|
|
30
|
+
return i(M) && i(M).taskCode ? (l(), a("div", g, [i(M).export ? (l(), a("div", f, ["Success" === i(M).taskState && i(M).serverPath ? (l(), n(C, { key: 0, underline: "always", type: x(i(M)), onClick: b3[1] || (b3[1] = (e3) => R()) }, { default: c(() => [d(k, { message: h(), backendUrl: e2.backendUrl, serverPath: e2.lastFileTask.serverPath, fileName: e2.lastFileTask.fileName, createdTime: e2.lastFileTask.createdTime, endTime: e2.lastFileTask.modifiedTime }, null, 8, ["message", "backendUrl", "serverPath", "fileName", "createdTime", "endTime"])]), _: 1 }, 8, ["type"])) : (l(), a("div", S, [i(M).taskState ? (l(), a("span", y, [r("span", null, [d(F2, { type: x(i(M)) }, { default: c(() => [u(m($() + _(i(M).taskState)), 1)]), _: 1 }, 8, ["type"])]), d(F2, { style: { "padding-left": "5px" } }, { default: c(() => [d(U2, { onClick: b3[2] || (b3[2] = (e3) => R()), title: i(P)("superPageRuntimeMessage.hasReadTip") }, { default: c(() => [d(v2)]), _: 1 }, 8, ["title"])]), _: 1 })])) : s("", true), i(M).taskState && "Success" === i(M).taskState ? s("", true) : (l(), n(k, { key: 1, message: h(), backendUrl: e2.backendUrl, createdTime: e2.lastFileTask.createdTime, endTime: e2.lastFileTask.modifiedTime }, null, 8, ["message", "backendUrl", "createdTime", "endTime"]))]))])) : (l(), a("div", o, [i(M).taskState ? (l(), a("span", T, [r("span", null, [d(F2, { type: x(i(M)) }, { default: c(() => [u(m($() + _(i(M).taskState)), 1)]), _: 1 }, 8, ["type"])]), d(F2, { style: { "padding-left": "5px" } }, { default: c(() => [d(U2, { onClick: b3[0] || (b3[0] = (e3) => R()), title: i(P)("superPageRuntimeMessage.hasReadTip") }, { default: c(() => [d(v2)]), _: 1 }, 8, ["title"])]), _: 1 })])) : (l(), n(F2, { key: 1, type: x(i(M)) }, { default: c(() => [d(k, { message: h(), backendUrl: e2.backendUrl, createdTime: e2.lastFileTask.createdTime, endTime: e2.lastFileTask.modifiedTime }, null, 8, ["message", "backendUrl", "createdTime", "endTime"])]), _: 1 }, 8, ["type"])), i(M).taskState && "Success" !== i(M).taskState ? (l(), n(k, { key: 2, createdTime: i(M).createdTime, endTime: i(M).modifiedTime, message: h(), backendUrl: e2.backendUrl }, null, 8, ["createdTime", "endTime", "message", "backendUrl"])) : s("", true)]))])) : s("", true);
|
|
31
31
|
};
|
|
32
32
|
} });
|
|
33
33
|
export {
|
package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e,
|
|
1
|
+
import { defineComponent as e, createElementBlock as t, openBlock as i, normalizeStyle as r, createCommentVNode as l, toDisplayString as u, unref as a, Fragment as s, renderList as n } from "vue";
|
|
2
2
|
import "agilebuilder-ui/src/utils/auth";
|
|
3
3
|
import "agilebuilder-ui/src/utils/common-util";
|
|
4
4
|
import "agilebuilder-ui/src/utils/util";
|
|
@@ -25,7 +25,7 @@ const p = { key: 1 }, d = ["innerHTML"], m = { key: 2 }, g = e({ __name: "format
|
|
|
25
25
|
let e3 = c.message;
|
|
26
26
|
return e3 ? e3.split("~~") : [];
|
|
27
27
|
}
|
|
28
|
-
return (o2, c2) => (
|
|
28
|
+
return (o2, c2) => (i(), t("div", { style: r("padding-top: 10px;width: 100%;overflow-y:auto;max-height:" + f + "px;") }, [e2.createdTime ? (i(), t("div", { key: 0, style: r(e2.serverPath ? "padding-top: 10px" : "") }, u(y(e2.createdTime) + a(g2)("superPageRuntimeMessage.startExecute")), 5)) : l("", true), e2.message ? (i(), t("div", p, [(i(true), t(s, null, n(S(), (e3, r2) => (i(), t("div", { key: r2, style: { "padding-top": "10px" }, innerHTML: e3 }, null, 8, d))), 128))])) : l("", true), e2.endTime ? (i(), t("div", m, u(y(e2.endTime) + a(g2)("superPageRuntimeMessage.endExecute")), 1)) : l("", true)], 4));
|
|
29
29
|
} });
|
|
30
30
|
export {
|
|
31
31
|
g as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, resolveComponent as s,
|
|
1
|
+
import { defineComponent as e, ref as t, resolveComponent as s, createElementBlock as l, openBlock as o, createVNode as a, withCtx as n, createElementVNode as r, createTextVNode as u, toDisplayString as i } from "vue";
|
|
2
2
|
import { ElMessage as m } from "element-plus";
|
|
3
3
|
import { useI18n as p } from "vue-i18n";
|
|
4
4
|
import d from "./remove-signer-table.vue.js";
|
|
@@ -9,7 +9,7 @@ const c = { class: "dialog-footer" }, v = e({ __name: "remove-signer-dialog", pr
|
|
|
9
9
|
}
|
|
10
10
|
return (t2, m2) => {
|
|
11
11
|
const p2 = s("el-button"), v3 = s("el-dialog");
|
|
12
|
-
return
|
|
12
|
+
return o(), l("div", null, [a(v3, { "model-value": "", title: t2.$t("superPageRuntimeMessage.selectRemoveUsers"), "close-on-click-modal": false, "append-to-body": "", width: "30%", "max-height": "400", onOpen: m2[1] || (m2[1] = (e3) => f("open")), onOpend: m2[2] || (m2[2] = (e3) => f("opend")), onClose: m2[3] || (m2[3] = (e3) => f("close")), onClosed: m2[4] || (m2[4] = (e3) => f("closed")) }, { footer: n(() => [r("div", c, [a(p2, { type: "primary", onClick: R }, { default: n(() => [u(i(t2.$t("superPageRuntimeMessage.sure")), 1)]), _: 1 }), a(p2, { type: "default", onClick: m2[0] || (m2[0] = (e3) => t2.$emit("close")) }, { default: n(() => [u(i(t2.$t("superPageRuntimeMessage.cancel")), 1)]), _: 1 })])]), default: n(() => [a(d, { ref_key: "removeTableRef", ref: y, taskId: e2.taskId, activeTasks: e2.activeTasks }, null, 8, ["taskId", "activeTasks"])]), _: 1 }, 8, ["title"])]);
|
|
13
13
|
};
|
|
14
14
|
} });
|
|
15
15
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onMounted as a, resolveComponent as l,
|
|
1
|
+
import { defineComponent as e, ref as t, onMounted as a, resolveComponent as l, createBlock as r, openBlock as s, withCtx as n, createVNode as u } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { useI18n as o } from "vue-i18n";
|
|
4
4
|
const i = e({ __name: "remove-signer-table", props: { taskId: { type: Number, default: null }, activeTasks: { type: Array, default: null } }, setup(e2, { expose: i2 }) {
|
|
@@ -15,7 +15,7 @@ const i = e({ __name: "remove-signer-table", props: { taskId: { type: Number, de
|
|
|
15
15
|
return m.value;
|
|
16
16
|
} }), (e3, t2) => {
|
|
17
17
|
const a2 = l("el-table-column"), o2 = l("el-table");
|
|
18
|
-
return
|
|
18
|
+
return s(), r(o2, { data: d.value, border: "", style: { width: "100%" }, onSelect: b, onSelectAll: b }, { default: n(() => [u(a2, { type: "selection", width: "55" }), u(a2, { prop: "transactorName", label: e3.$t("superPageRuntimeMessage.transactorName"), width: "180" }, null, 8, ["label"]), u(a2, { prop: "transactor", label: e3.$t("superPageRuntimeMessage.transactor"), width: "180" }, null, 8, ["label"]), u(a2, { prop: "trustorName", label: e3.$t("superPageRuntimeMessage.trustorName"), width: "180" }, null, 8, ["label"])]), _: 1 }, 8, ["data"]);
|
|
19
19
|
};
|
|
20
20
|
} });
|
|
21
21
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, resolveComponent as a,
|
|
1
|
+
import { defineComponent as e, ref as t, resolveComponent as a, createElementBlock as s, openBlock as r, createVNode as o, withCtx as n, createCommentVNode as l, createElementVNode as u, toDisplayString as c, createBlock as i, createTextVNode as m } from "vue";
|
|
2
2
|
import { ElMessage as d } from "element-plus";
|
|
3
3
|
import p from "./remove-signer-table.vue.js";
|
|
4
4
|
import { useI18n as g } from "vue-i18n";
|
|
@@ -10,7 +10,7 @@ const f = { key: 0 }, v = { style: { color: "red" } }, k = { key: 1 }, y = { sty
|
|
|
10
10
|
}
|
|
11
11
|
return C.value = ((_a = h.transactorInfo) == null ? void 0 : _a.removeTransactors) ? (_b = h.transactorInfo) == null ? void 0 : _b.removeTransactors : [], (t2, d2) => {
|
|
12
12
|
const g2 = a("el-button"), P3 = a("el-dialog");
|
|
13
|
-
return
|
|
13
|
+
return r(), s("div", null, [o(P3, { "model-value": "", title: t2.$t("superPageRuntimeMessage.delTransactor"), "close-on-click-modal": false, "append-to-body": "", width: "30%", "max-height": "400", onOpen: d2[1] || (d2[1] = (e3) => T("open")), onOpend: d2[2] || (d2[2] = (e3) => T("opend")), onClose: d2[3] || (d2[3] = (e3) => T("close")), onClosed: d2[4] || (d2[4] = (e3) => T("closed")) }, { footer: n(() => [u("div", R, [e2.transactorInfo.transactorNumber > 1 ? (r(), i(g2, { key: 0, type: "primary", onClick: w }, { default: n(() => [m(c(t2.$t("superPageRuntimeMessage.sure")), 1)]), _: 1 })) : l("", true), o(g2, { type: "default", onClick: d2[0] || (d2[0] = (e3) => t2.$emit("close")) }, { default: n(() => [m(c(t2.$t("superPageRuntimeMessage.cancel")), 1)]), _: 1 })])]), default: n(() => [e2.transactorInfo.hasActiveSubProcess ? (r(), s("div", f, [u("span", v, c(t2.$t("superPageRuntimeMessage.taskMeaage1")), 1)])) : l("", true), 0 === e2.transactorInfo.transactorNumber ? (r(), s("div", k, [u("span", y, c(t2.$t("superPageRuntimeMessage.taskMeaage2")), 1)])) : l("", true), 1 === e2.transactorInfo.transactorNumber ? (r(), s("div", I, [u("span", M, c(t2.$t("superPageRuntimeMessage.taskMeaage3")), 1), u("span", null, c(t2.$t("superPageRuntimeMessage.handledBy")) + ":" + c(e2.transactorInfo.transactorName), 1)])) : l("", true), e2.transactorInfo.transactorNumber > 1 ? (r(), s("div", b, [o(p, { ref_key: "removeTableRef", ref: _, taskId: e2.taskId, activeTasks: C.value }, null, 8, ["taskId", "activeTasks"])])) : l("", true)]), _: 1 }, 8, ["title"])]);
|
|
14
14
|
};
|
|
15
15
|
} });
|
|
16
16
|
export {
|
package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onMounted as l, resolveComponent as o,
|
|
1
|
+
import { defineComponent as e, ref as t, onMounted as l, resolveComponent as o, createElementBlock as a, openBlock as n, createVNode as s, withCtx as u, createTextVNode as i, toDisplayString as r, createElementVNode as d } from "vue";
|
|
2
2
|
import { ElMessage as p } from "element-plus";
|
|
3
3
|
import { useI18n as c } from "vue-i18n";
|
|
4
4
|
import { listChartConditions as m, deleteChartCondition as g } from "../../../utils/events/standard-event.js";
|
|
@@ -22,12 +22,12 @@ const f = { class: "dialog-footer" }, v = e({ __name: "save-chart-condition-dial
|
|
|
22
22
|
$();
|
|
23
23
|
}), v2({ refreshConditionList: $ }), (e3, t2) => {
|
|
24
24
|
const l2 = o("el-input"), c2 = o("el-col"), m2 = o("el-button"), v3 = o("el-row"), h2 = o("el-table-column"), y2 = o("Delete"), b2 = o("el-icon"), x = o("el-table"), O = o("el-dialog");
|
|
25
|
-
return
|
|
25
|
+
return n(), a("div", null, [s(O, { "model-value": "", title: e3.$t("superPageRuntimeMessage.saveCondition"), "close-on-click-modal": false, "append-to-body": "", width: "40%", "max-height": "400", onOpen: t2[2] || (t2[2] = (e4) => _("open")), onOpend: t2[3] || (t2[3] = (e4) => _("opend")), onClose: t2[4] || (t2[4] = (e4) => _("close")), onClosed: t2[5] || (t2[5] = (e4) => _("closed")) }, { footer: u(() => [d("div", f, [s(m2, { type: "primary", onClick: R }, { default: u(() => [i(r(e3.$t("superPageRuntimeMessage.sure")), 1)]), _: 1 }), s(m2, { type: "default", onClick: t2[1] || (t2[1] = (e4) => _("close")) }, { default: u(() => [i(r(e3.$t("superPageRuntimeMessage.cancel")), 1)]), _: 1 })])]), default: u(() => [s(v3, { style: { "padding-bottom": "10px" }, gutter: 10 }, { default: u(() => [s(c2, { span: 18 }, { default: u(() => [s(l2, { modelValue: w.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => w.value = e4), placeholder: e3.$t("superPageRuntimeMessage.pleaseInputConditionName") }, null, 8, ["modelValue", "placeholder"])]), _: 1 }), s(c2, { span: 6 }, { default: u(() => [s(m2, { type: "primary", onClick: P }, { default: u(() => [i(r(e3.$t("superPageRuntimeMessage.save")), 1)]), _: 1 })]), _: 1 })]), _: 1 }), s(x, { data: M.value, border: "", style: { width: "100%" }, onSelect: k }, { default: u(() => [s(h2, { type: "selection", align: "center", width: "55" }), s(h2, { prop: "name", label: e3.$t("superPageRuntimeMessage.conditionName") }, null, 8, ["label"]), s(h2, { label: e3.$t("superPageRuntimeMessage.operating"), width: "60" }, { default: u((e4) => [s(b2, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (t3) => {
|
|
26
26
|
return l3 = e4.row, void g(l3.id).then(() => {
|
|
27
27
|
p({ showClose: true, type: "success", message: C("superPageRuntimeMessage.successfulDelete") }), $();
|
|
28
28
|
});
|
|
29
29
|
var l3;
|
|
30
|
-
} }, { default: u(() => [s(y2)]), _:
|
|
30
|
+
} }, { default: u(() => [s(y2)]), _: 2 }, 1032, ["onClick"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["title"])]);
|
|
31
31
|
};
|
|
32
32
|
} });
|
|
33
33
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, resolveComponent as t,
|
|
1
|
+
import { defineComponent as e, ref as l, resolveComponent as t, createElementBlock as a, openBlock as o, createVNode as n, withCtx as s, createTextVNode as u, toDisplayString as d, createElementVNode as i } from "vue";
|
|
2
2
|
import { ElMessage as r } from "element-plus";
|
|
3
3
|
import { useI18n as p } from "vue-i18n";
|
|
4
4
|
const m = { class: "dialog-footer" }, c = e({ __name: "task-informition-dialog", props: { taskInformitions: { type: Array, default: null } }, emits: ["open", "opend", "close", "closed", "result"], setup(e2, { emit: c2 }) {
|
|
@@ -11,7 +11,7 @@ const m = { class: "dialog-footer" }, c = e({ __name: "task-informition-dialog",
|
|
|
11
11
|
}
|
|
12
12
|
return (l2, r2) => {
|
|
13
13
|
const p2 = t("el-radio"), c3 = t("el-table-column"), f2 = t("el-table"), g2 = t("el-button"), v2 = t("el-dialog");
|
|
14
|
-
return
|
|
14
|
+
return o(), a("div", null, [n(v2, { "model-value": "", title: l2.$t("superPageRuntimeMessage.selectNode"), "close-on-click-modal": false, "append-to-body": "", width: "50%", "max-height": "400", onOpen: r2[2] || (r2[2] = (e3) => b("open")), onOpend: r2[3] || (r2[3] = (e3) => b("opend")), onClose: r2[4] || (r2[4] = (e3) => b("close")), onClosed: r2[5] || (r2[5] = (e3) => b("closed")) }, { footer: s(() => [i("div", m, [n(g2, { type: "primary", onClick: y }, { default: s(() => [u(d(l2.$t("superPageRuntimeMessage.sure")), 1)]), _: 1 }), n(g2, { type: "default", onClick: r2[1] || (r2[1] = (e3) => b("close")) }, { default: s(() => [u(d(l2.$t("superPageRuntimeMessage.cancel")), 1)]), _: 1 })])]), default: s(() => [n(f2, { data: e2.taskInformitions, border: "", style: { width: "100%" } }, { default: s(() => [n(c3, { fixed: "", width: "60" }, { default: s((e3) => [n(p2, { modelValue: h.value, "onUpdate:modelValue": r2[0] || (r2[0] = (e4) => h.value = e4), label: e3.$index, onChange: $ }, { default: s(() => [u(d(e3.$index + 1), 1)]), _: 2 }, 1032, ["modelValue", "label"])]), _: 1 }), n(c3, { prop: "nodeName", label: l2.$t("superPageRuntimeMessage.nodeName"), width: "180" }, null, 8, ["label"]), n(c3, { prop: "transactorNames", label: l2.$t("superPageRuntimeMessage.transactorNames") }, null, 8, ["label"]), n(c3, { prop: "nodeId", label: l2.$t("superPageRuntimeMessage.nodeId"), width: "180" }, null, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["title"])]);
|
|
15
15
|
};
|
|
16
16
|
} });
|
|
17
17
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, computed as o, ref as t, onMounted as i, nextTick as n, resolveComponent as r,
|
|
1
|
+
import { defineComponent as e, computed as o, ref as t, onMounted as i, nextTick as n, resolveComponent as r, createBlock as l, openBlock as s, unref as u, normalizeClass as a, normalizeStyle as p, createSlots as c, withCtx as f, createElementVNode as g, createElementBlock as m, Fragment as y, renderList as d, createCommentVNode as v, createTextVNode as x, toDisplayString as C } from "vue";
|
|
2
2
|
import { ElCard as b } from "element-plus";
|
|
3
3
|
import { SuperIcon as h } from "agilebuilder-ui";
|
|
4
4
|
import { ArrowUp as k, ArrowDown as w } from "@element-plus/icons-vue";
|
|
@@ -19,9 +19,9 @@ const V = e({ __name: "card-runtime", props: { pageContext: {}, configure: {} },
|
|
|
19
19
|
});
|
|
20
20
|
}), V2({ test: function() {
|
|
21
21
|
_.configure.props.title = "teee";
|
|
22
|
-
} }), (
|
|
23
|
-
const
|
|
24
|
-
return
|
|
22
|
+
} }), (e3, o2) => {
|
|
23
|
+
const t2 = r("el-link");
|
|
24
|
+
return s(), l(u(b), { ref_key: "thisRef", ref: z, style: p(u(A)), "data-collapse": String(D.value), class: a(["yx-card-box-view-main", u(B)]) }, c({ default: f(() => [g("div", { class: "yx-card-box-view-context", style: p(u(F)) }, [(s(true), m(y, null, d(e3.configure.items, (o3, t3) => (s(), l(S, { key: o3.uuid, pageContext: e3.pageContext, configure: o3 }, null, 8, ["pageContext", "configure"]))), 128))], 4)]), _: 2 }, [e3.configure.props.base.tittleShow ? { name: "header", fn: f(() => [g("div", { class: "yx-card-box-view-header", onClick: G }, [g("div", { class: "yx-card-box-view-title", style: p(u(E)) }, [e3.configure.props.iconType && e3.configure.props.iconValue ? (s(), l(u(h), { key: 0, iconType: e3.configure.props.iconType, iconValue: e3.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : v("", true), x(" " + C(u(j)(e3.configure.props.base.title)), 1)], 4), R.value ? (s(), l(t2, { key: 0, underline: false, icon: D.value ? u(k) : u(w), style: { margin: "-15px 0", "z-index": "1" } }, null, 8, ["icon"])) : v("", true)])]), key: "0" } : void 0]), 1032, ["style", "data-collapse", "class"]);
|
|
25
25
|
};
|
|
26
26
|
} });
|
|
27
27
|
export {
|
package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onMounted as n, nextTick as o, resolveComponent as l,
|
|
1
|
+
import { defineComponent as e, ref as t, onMounted as n, nextTick as o, resolveComponent as l, createBlock as i, openBlock as u, normalizeClass as r, unref as a, normalizeStyle as p, isRef as s, withCtx as c, createElementBlock as f, Fragment as g, renderList as m, createElementVNode as d, createCommentVNode as y, createTextVNode as x, toDisplayString as v } from "vue";
|
|
2
2
|
import C from "../../object-render.vue.js";
|
|
3
3
|
import "../../../../utils/global-refs.js";
|
|
4
4
|
import { $t as V } from "../../../../utils/i18n-util.js";
|
|
@@ -11,9 +11,9 @@ const _ = e({ __name: "collapse-runtime", props: { pageContext: {}, configure: {
|
|
|
11
11
|
o(() => {
|
|
12
12
|
j(null, _2.pageContext, _2.configure, { componentRef: b.value, entity: _2.pageContext.entity.data, pageData: _2.pageContext.entity.page });
|
|
13
13
|
});
|
|
14
|
-
}), (
|
|
15
|
-
const
|
|
16
|
-
return
|
|
14
|
+
}), (e3, t2) => {
|
|
15
|
+
const n2 = l("SuperIcon"), o2 = l("el-collapse-item"), j2 = l("el-collapse");
|
|
16
|
+
return u(), i(j2, { ref_key: "thisRef", ref: b, modelValue: a(h), "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => s(h) ? h.value = e4 : null), style: p(a(O)), accordion: a(T), class: r(a(R)) }, { default: c(() => [(u(true), f(g, null, m(e3.configure.items, (t3, l2) => (u(), i(o2, { name: t3.index }, { title: c(() => [d("div", { style: p([a(S), { width: "100%" }]) }, [t3.iconType && t3.iconValue ? (u(), i(n2, { key: 0, iconType: t3.iconType, iconValue: t3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : y("", true), x(" " + v(a(V)(t3.label)), 1)], 4)]), default: c(() => [d("div", null, [(u(true), f(g, null, m(t3.items, (t4, n3) => (u(), i(C, { key: t4.uuid, configure: t4, pageContext: e3.pageContext }, null, 8, ["configure", "pageContext"]))), 128))])]), _: 2 }, 1032, ["name"]))), 256))]), _: 1 }, 8, ["modelValue", "style", "accordion", "class"]);
|
|
17
17
|
};
|
|
18
18
|
} });
|
|
19
19
|
export {
|
package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onMounted as n, nextTick as o, resolveComponent as u,
|
|
1
|
+
import { defineComponent as e, ref as t, onMounted as n, nextTick as o, resolveComponent as u, createBlock as l, openBlock as i, withCtx as r, createCommentVNode as s, createVNode as a, normalizeStyle as g, unref as f, createElementBlock as p, Fragment as c, renderList as y, normalizeClass as m } from "vue";
|
|
2
2
|
import x from "../../object-render.vue.js";
|
|
3
3
|
import "../../../../utils/global-refs.js";
|
|
4
4
|
import { handleAfterInitEvent as d } from "../../../../utils/events/event-util.js";
|
|
@@ -8,9 +8,9 @@ const C = e({ __name: "container-runtime", props: { pageContext: {}, configure:
|
|
|
8
8
|
o(() => {
|
|
9
9
|
d(null, C2.pageContext, C2.configure, { componentRef: _.value, entity: C2.pageContext.entity.data, pageData: C2.pageContext.entity.page });
|
|
10
10
|
});
|
|
11
|
-
}), (
|
|
12
|
-
const
|
|
13
|
-
return
|
|
11
|
+
}), (e3, t2) => {
|
|
12
|
+
const n2 = u("el-aside"), o2 = u("el-main"), d2 = u("el-container");
|
|
13
|
+
return i(), l(d2, { ref_key: "thisRef", ref: _ }, { default: r(() => [e3.configure.props.useLeft ? (i(), l(n2, { key: 0, style: g(f(v)) }, { default: r(() => [(i(true), p(c, null, y(e3.configure.leftAslides, (t3, n3) => (i(), l(x, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style"])) : s("", true), a(o2, { style: g(f(j)), class: m(f(R)) }, { default: r(() => [(i(true), p(c, null, y(e3.configure.items, (t3, n3) => (i(), l(x, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style", "class"]), e3.configure.props.useRight ? (i(), l(n2, { key: 1, style: g(f(h)) }, { default: r(() => [(i(true), p(c, null, y(e3.configure.rightAslides, (t3, n3) => (i(), l(x, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style"])) : s("", true)]), _: 1 }, 512);
|
|
14
14
|
};
|
|
15
15
|
} });
|
|
16
16
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as i, onMounted as t, nextTick as s, onUnmounted as o, watch as n,
|
|
1
|
+
import { defineComponent as e, ref as i, onMounted as t, nextTick as s, onUnmounted as o, watch as n, createElementBlock as d, openBlock as l, normalizeStyle as a, normalizeClass as f, createElementVNode as u, renderSlot as r } from "vue";
|
|
2
2
|
const x = e({ __name: "FixedBox", props: { isFixed: { type: Boolean, default: true }, position: { type: String, default: "top" }, offset: { type: Number, default: 0 } }, setup(e2) {
|
|
3
3
|
const x2 = e2, v = i(null), p = i(null), c = i({}), h = i({}), w = [], y = () => {
|
|
4
4
|
(() => {
|
|
@@ -22,7 +22,7 @@ const x = e({ __name: "FixedBox", props: { isFixed: { type: Boolean, default: tr
|
|
|
22
22
|
});
|
|
23
23
|
}), o(() => {
|
|
24
24
|
g(false);
|
|
25
|
-
}), n(() => x2.isFixed, g), (i2, t2) => (
|
|
25
|
+
}), n(() => x2.isFixed, g), (i2, t2) => (l(), d("div", { ref_key: "fixedMaxRef", ref: v, class: f(["yx-fixed-box-main", { [`is-${e2.position}`]: true, "is-fixed": x2.isFixed }]), style: a(c.value) }, [u("div", { ref_key: "fixedRef", ref: p, class: "yx-fixed-box-container", style: a(h.value) }, [r(i2.$slots, "default", {}, void 0, true)], 4)], 6));
|
|
26
26
|
} });
|
|
27
27
|
export {
|
|
28
28
|
x as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onMounted as o, nextTick as n, onUnmounted as i, watchEffect as l, computed as a, resolveDirective as r,
|
|
1
|
+
import { defineComponent as e, ref as t, onMounted as o, nextTick as n, onUnmounted as i, watchEffect as l, computed as a, resolveDirective as r, createElementBlock as s, openBlock as u, normalizeStyle as f, withDirectives as c, normalizeClass as d, renderSlot as v } from "vue";
|
|
2
2
|
const p = e({ __name: "YxAffix", props: { offset: { type: Number, default: 0 }, position: { type: String, default: "top", validator: (e2) => ["top", "bottom"].includes(e2) }, target: { type: [String, HTMLElement], default: () => window }, autoDetectParentScroll: { type: Boolean, default: true }, stickyInScrollContainer: { type: Boolean, default: true }, zIndex: { type: Number, default: 100 }, enableIntervalUpdate: { type: Boolean, default: true }, enableIntervalTime: { type: Number, default: 2e3 } }, emits: ["change"], setup(e2, { emit: p2 }) {
|
|
3
3
|
const h = e2, m = p2, g = t(null), w = t(null), x = t(false), y = t({}), b = t([]), T = t(window), B = t(0), I = t(null), E = (e3) => {
|
|
4
4
|
e3.contentRect.height && (y.value.height = e3.contentRect.height);
|
|
@@ -19,7 +19,6 @@ const p = e({ __name: "YxAffix", props: { offset: { type: Number, default: 0 },
|
|
|
19
19
|
B.value = l2 ?? 0, R(n2 || i2 || false, e3);
|
|
20
20
|
}
|
|
21
21
|
} catch (e3) {
|
|
22
|
-
console.error(e3);
|
|
23
22
|
}
|
|
24
23
|
}, R = (e3, t2) => {
|
|
25
24
|
var _a;
|
|
@@ -56,7 +55,6 @@ const p = e({ __name: "YxAffix", props: { offset: { type: Number, default: 0 },
|
|
|
56
55
|
})();
|
|
57
56
|
b.value = e3, T.value = e3[0], b.value.forEach((e4) => e4.addEventListener("scroll", z)), window.addEventListener("resize", L), S();
|
|
58
57
|
} catch (e3) {
|
|
59
|
-
console.error(e3);
|
|
60
58
|
}
|
|
61
59
|
});
|
|
62
60
|
}, 100);
|
|
@@ -73,7 +71,7 @@ const p = e({ __name: "YxAffix", props: { offset: { type: Number, default: 0 },
|
|
|
73
71
|
});
|
|
74
72
|
return (e3, t2) => {
|
|
75
73
|
const o2 = r("resize");
|
|
76
|
-
return
|
|
74
|
+
return u(), s("div", { ref_key: "affixMainRef", ref: g, class: "yx-affix", style: f({ height: x.value ? y.value.height : void 0 }) }, [c((u(), s("div", { ref_key: "affixRef", ref: w, style: f(F.value), class: d([{ "is-fixed": x.value, "is-top": "top" === h.position, "is-bottom": "bottom" === h.position }, "yx-affix-content"]) }, [v(e3.$slots, "default", {}, void 0, true)], 6)), [[o2, E]])], 4);
|
|
77
75
|
};
|
|
78
76
|
} });
|
|
79
77
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onMounted as n, nextTick as s, resolveComponent as l,
|
|
1
|
+
import { defineComponent as e, ref as t, onMounted as n, nextTick as s, resolveComponent as l, createBlock as i, openBlock as o, normalizeClass as a, normalizeStyle as u, unref as r, withCtx as f, createElementBlock as p, Fragment as g, renderList as m, withDirectives as c, createVNode as y, vShow as x } from "vue";
|
|
2
2
|
import d from "../../object-render.vue.js";
|
|
3
3
|
import { PageDimensions as C } from "../../../../utils/interfaces/page-design-types.js";
|
|
4
4
|
import { handleAfterInitEvent as v } from "../../../../utils/events/event-util.js";
|
|
@@ -15,9 +15,9 @@ const _ = e({ __name: "flex-runtime", props: { pageContext: {}, configure: {} },
|
|
|
15
15
|
s(() => {
|
|
16
16
|
v(null, _2.pageContext, _2.configure, { componentRef: j.value, entity: _2.pageContext.entity.data, pageData: _2.pageContext.entity.page });
|
|
17
17
|
});
|
|
18
|
-
}), (
|
|
19
|
-
const
|
|
20
|
-
return
|
|
18
|
+
}), (e3, t2) => {
|
|
19
|
+
const n2 = l("el-col"), s2 = l("el-row");
|
|
20
|
+
return o(), i(s2, { ref_key: "thisRef", ref: j, justify: b.value.flexJustify, gutter: b.value.flexGutter, align: b.value.alignItems, style: u([{ display: "flex" }, r(h)]), class: a(r(w)) }, { default: f(() => [(o(true), p(g, null, m(e3.configure.items, (t3, s3) => c((o(), i(n2, { key: t3.uuid, style: u(t3.itemStyle), span: t3.flexSpan }, { default: f(() => [y(d, { pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"])]), _: 2 }, 1032, ["style", "span"])), [[x, t3._dynamicShowFlag]])), 128))]), _: 1 }, 8, ["justify", "gutter", "align", "style", "class"]);
|
|
21
21
|
};
|
|
22
22
|
} });
|
|
23
23
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onMounted as o, nextTick as i, resolveComponent as n,
|
|
1
|
+
import { defineComponent as e, ref as t, onMounted as o, nextTick as i, resolveComponent as n, createElementBlock as l, openBlock as s, createVNode as a, normalizeClass as r, normalizeStyle as u, unref as p, withCtx as f, createCommentVNode as m, toDisplayString as g, Fragment as c, renderList as d, createBlock as y } from "vue";
|
|
2
2
|
import v from "../../object-render.vue.js";
|
|
3
3
|
import { PageDimensions as x } from "../../../../utils/interfaces/page-design-types.js";
|
|
4
4
|
import { handleFormEvent as C } from "../../../../utils/events/event-util.js";
|
|
@@ -10,9 +10,9 @@ const b = e({ __name: "form-runtime", props: { pageContext: {}, configure: {} },
|
|
|
10
10
|
i(() => {
|
|
11
11
|
C(null, b2.pageContext, b2.configure, "afterFormLoad", { componentRef: P.value, entity: b2.pageContext.entity.data, pageData: b2.pageContext.entity.page });
|
|
12
12
|
});
|
|
13
|
-
}), (
|
|
14
|
-
const
|
|
15
|
-
return
|
|
13
|
+
}), (e3, t2) => {
|
|
14
|
+
const o2 = n("el-form");
|
|
15
|
+
return s(), l("div", null, [a(o2, { ref_key: "thisRef", ref: P, "label-width": p(j).labelWidth, "label-position": z.value, size: p(j).componentSize, style: u(_.value), class: r(p(k)) }, { default: f(() => [p(j).formTitle ? (s(), l("div", { key: 0, class: "amb-widget-form-title", style: u(w.value) }, g(p(j).formTitle), 5)) : m("", true), (s(true), l(c, null, d(e3.configure.items, (t3, o3) => (s(), y(v, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["label-width", "label-position", "size", "style", "class"])]);
|
|
16
16
|
};
|
|
17
17
|
} });
|
|
18
18
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onMounted as n, nextTick as r,
|
|
1
|
+
import { defineComponent as e, ref as t, onMounted as n, nextTick as r, createElementBlock as i, openBlock as o, normalizeStyle as s, normalizeClass as a, unref as u } from "vue";
|
|
2
2
|
import "../../../../utils/global-refs.js";
|
|
3
3
|
import { handleAfterInitEvent as l } from "../../../../utils/events/event-util.js";
|
|
4
4
|
const f = ["src"], p = e({ __name: "iframe-runtime", props: { pageContext: {}, configure: {}, indexObj: {}, selectWidget: {} }, setup(e2) {
|
|
@@ -7,7 +7,7 @@ const f = ["src"], p = e({ __name: "iframe-runtime", props: { pageContext: {}, c
|
|
|
7
7
|
r(() => {
|
|
8
8
|
l(null, p2.pageContext, p2.configure, { componentRef: c.value, entity: p2.pageContext.entity.data, pageData: p2.pageContext.entity.page });
|
|
9
9
|
});
|
|
10
|
-
}), (
|
|
10
|
+
}), (e3, t2) => (o(), i("iframe", { ref_key: "thisRef", ref: c, src: e3.configure.props.src, class: a(["amb-widget-container-iframe", u(x)]), style: s(u(m)) }, null, 14, f));
|
|
11
11
|
} });
|
|
12
12
|
export {
|
|
13
13
|
p as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, watch as n, onMounted as o, nextTick as a, resolveComponent as i,
|
|
1
|
+
import { defineComponent as e, ref as t, watch as n, onMounted as o, nextTick as a, resolveComponent as i, createBlock as c, openBlock as u, unref as l, normalizeClass as r, normalizeStyle as s, withCtx as p, createElementBlock as f, createCommentVNode as g, Fragment as d, renderList as m, createElementVNode as b, toDisplayString as y, withModifiers as v, createTextVNode as h } from "vue";
|
|
2
2
|
import { ElTabs as x, ElTabPane as C } from "element-plus";
|
|
3
3
|
import T from "../../object-render.vue.js";
|
|
4
4
|
import { SuperIcon as E } from "agilebuilder-ui";
|
|
@@ -86,9 +86,9 @@ const A = e({ __name: "tabs-runtime", props: { pageContext: {}, configure: {} },
|
|
|
86
86
|
P.configure.items.forEach((n2) => {
|
|
87
87
|
e3.includes(n2.code) && t2.push(n2.code);
|
|
88
88
|
}), w.value = [...new Set(t2)];
|
|
89
|
-
} }), (
|
|
90
|
-
const
|
|
91
|
-
return
|
|
89
|
+
} }), (e3, t2) => {
|
|
90
|
+
const n2 = i("el-button");
|
|
91
|
+
return u(), c(l(x), { ref_key: "thisRef", ref: O, modelValue: j.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => j.value = e4), type: e3.configure.props.cardType, "tab-position": e3.configure.props.tabPosition, style: s(l(B)), class: r([l(z), "runtime-page-container-tabs-view"]), closable: e3.configure.props.closable, "before-leave": S, onTabClick: D, onTabChange: F, onTabRemove: L, onTabAdd: q, onEdit: G }, { default: p(() => [(u(true), f(d, null, m(P.configure.items, (t3, n3) => (u(), c(l(C), { key: n3, label: t3.label, name: t3.code, lazy: !!e3.configure.props.lazy }, { label: p(() => [t3.iconType && t3.iconValue ? (u(), c(l(E), { key: 0, iconType: t3.iconType, iconValue: t3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : g("", true), b("span", { style: s(l(I)) }, y(l(V)(t3.label)), 5)]), default: p(() => [(e3.configure.props.isFullyRendered ?? 1) || t3.code === j.value ? (u(true), f(d, { key: 0 }, m(t3.items, (t4) => (u(), c(T, { key: t4.uuid, pageContext: e3.pageContext, configure: t4 }, null, 8, ["pageContext", "configure"]))), 128)) : g("", true)]), _: 2 }, 1032, ["label", "name", "lazy"]))), 128)), e3.configure.props.resetable ? (u(), c(l(C), { key: 0, disabled: "", name: "-1" }, { label: p(() => [e3.configure.props.resetable ? (u(), c(n2, { key: 0, type: "text", circle: "", onClick: v(H, ["stop"]) }, { default: p(() => [h(y(e3.configure.props.resetButtonName || "重置"), 1)]), _: 1 })) : g("", true)]), _: 1 })) : g("", true)]), _: 1 }, 8, ["modelValue", "type", "tab-position", "style", "class", "closable"]);
|
|
92
92
|
};
|
|
93
93
|
} });
|
|
94
94
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as o, onMounted as i, nextTick as n, onUnmounted as l, resolveComponent as a,
|
|
1
|
+
import { defineComponent as e, ref as t, computed as o, onMounted as i, nextTick as n, onUnmounted as l, resolveComponent as a, createElementBlock as u, openBlock as s, createElementVNode as f, createBlock as r, createCommentVNode as v, withCtx as g, normalizeStyle as p, normalizeClass as c, unref as d, Fragment as m, renderList as x } from "vue";
|
|
2
2
|
import y from "../../object-render.vue.js";
|
|
3
3
|
import { handleAfterInitEvent as b } from "../../../../utils/events/event-util.js";
|
|
4
4
|
/* empty css */
|
|
@@ -39,7 +39,7 @@ const k = { "data-v": "1.0.0", class: "amb-widget-tools-parent" }, w = { ref: "a
|
|
|
39
39
|
D && B.value && (D.unobserve(B.value), D.disconnect());
|
|
40
40
|
}), (e3, t2) => {
|
|
41
41
|
const o2 = a("el-affix");
|
|
42
|
-
return
|
|
42
|
+
return s(), u("div", null, [f("div", { ref_key: "referenceDivRef", ref: B, style: { height: "0" } }, null, 512), q.value && O.value ? (s(), r(C, { key: 0, position: E.value, offset: F.value }, { default: g(() => [f("div", k, [f("div", { class: c(["amb-widget-container-tool amb-widget-tools", d(A)]), style: p(Y.value), ref_key: "thisRef", ref: h }, [(s(true), u(m, null, x(_2.configure.items, (e4) => (s(), r(y, { pageContext: _2.pageContext, configure: e4, key: e4.uuid }, null, 8, ["pageContext", "configure"]))), 128))], 6)])]), _: 1 }, 8, ["position", "offset"])) : $.value && O.value ? (s(), r(o2, { key: 1, position: E.value, offset: F.value }, { default: g(() => [f("div", w, [f("div", { class: c(["amb-widget-container-tool amb-widget-tools", d(A)]), style: p(Y.value), ref_key: "thisRef", ref: h }, [(s(true), u(m, null, x(_2.configure.items, (e4) => (s(), r(y, { pageContext: _2.pageContext, configure: e4, key: e4.uuid }, null, 8, ["pageContext", "configure"]))), 128))], 6)], 512)]), _: 1 }, 8, ["position", "offset"])) : O.value ? (s(), u("div", R, [f("div", { class: c(["amb-widget-container-tool amb-widget-tools", d(A)]), style: p(Y.value), ref_key: "thisRef", ref: h }, [(s(true), u(m, null, x(_2.configure.items, (e4) => (s(), r(y, { pageContext: _2.pageContext, configure: e4, key: e4.uuid }, null, 8, ["pageContext", "configure"]))), 128))], 6)])) : v("", true)]);
|
|
43
43
|
};
|
|
44
44
|
} });
|
|
45
45
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, computed as t, ref as
|
|
1
|
+
import { defineComponent as e, computed as t, ref as a, onMounted as r, watch as l, resolveComponent as o, createBlock as u, openBlock as n, normalizeStyle as i, normalizeClass as s, unref as p, withCtx as c, createElementBlock as m, createCommentVNode as f, toDisplayString as g } from "vue";
|
|
2
2
|
import d from "qrcode";
|
|
3
3
|
import v from "jsbarcode";
|
|
4
4
|
import { getFormModelFields as y } from "../../../../utils/page-init-util.js";
|
|
@@ -12,7 +12,7 @@ const j = ["src"], D = e({ __name: "barcode-runtime", props: { pageContext: {},
|
|
|
12
12
|
let k = y(q.pageContext, q.configure);
|
|
13
13
|
const A = t({ get: () => x(N, k), set(e3) {
|
|
14
14
|
h(N, k, e3);
|
|
15
|
-
} }), E = q.configure.runtime ? q.configure.runtime : {}, _ =
|
|
15
|
+
} }), E = q.configure.runtime ? q.configure.runtime : {}, _ = a(E.props ? E.props : {}), O = E.style, P = E.class, S = E.headerStyle, $ = a(""), I = a(null), Q = a(_.value.brCodeFormat ?? "CODE128"), V = a([]);
|
|
16
16
|
function F(e3) {
|
|
17
17
|
return h(N, k, e3);
|
|
18
18
|
}
|
|
@@ -22,32 +22,31 @@ const j = ["src"], D = e({ __name: "barcode-runtime", props: { pageContext: {},
|
|
|
22
22
|
function L(e3) {
|
|
23
23
|
var t2;
|
|
24
24
|
"QR-code" === _.value.type ? (t2 = e3, d.toDataURL(t2, (e4, t3) => {
|
|
25
|
-
e4
|
|
25
|
+
e4 || ($.value = t3);
|
|
26
26
|
})) : function(e4) {
|
|
27
27
|
try {
|
|
28
28
|
v(I.value, e4, { format: Q.value });
|
|
29
29
|
} catch (e5) {
|
|
30
|
-
console.error("生成条形码时发生错误:", e5);
|
|
31
30
|
}
|
|
32
31
|
}(e3);
|
|
33
32
|
}
|
|
34
|
-
return
|
|
33
|
+
return r(() => {
|
|
35
34
|
_.value.generateRule && ("fixed" === _.value.generateRuleType ? (V.value = Array.from(_.value.generateRule.matchAll(/\$\{(\w+)\}/g), (e3) => e3[1]), V.value.forEach((e3) => {
|
|
36
|
-
|
|
35
|
+
l(() => q.pageContext.entity.data[e3], (e4, t2) => {
|
|
37
36
|
null != e4 && function() {
|
|
38
37
|
let e5 = true;
|
|
39
38
|
V.value.forEach((t3) => {
|
|
40
39
|
q.pageContext.entity.data[t3] || (e5 = false);
|
|
41
40
|
}), e5 && J(function(e6, t3) {
|
|
42
|
-
const
|
|
43
|
-
return e6.replace(
|
|
41
|
+
const a2 = /\$\{(\w+)\}/g;
|
|
42
|
+
return e6.replace(a2, (e7, a3) => t3.hasOwnProperty(a3) ? t3[a3] : e7);
|
|
44
43
|
}(_.value.generateRule, q.pageContext.entity.data));
|
|
45
44
|
}();
|
|
46
45
|
});
|
|
47
46
|
})) : w.get(window.$vueApp.config.globalProperties.baseAPI + "/dc/setting-barcode-models/by-code/" + _.value.generateRule).then((e3) => {
|
|
48
47
|
const t2 = JSON.parse(e3.barcodeModelItems);
|
|
49
48
|
t2.forEach((e4) => {
|
|
50
|
-
"-1" !== e4.propDbName && -1 !== e4.propDbName && (V.value.push(e4.propDbName),
|
|
49
|
+
"-1" !== e4.propDbName && -1 !== e4.propDbName && (V.value.push(e4.propDbName), l(() => q.pageContext.entity.data[e4.propDbName], (e5, a2) => {
|
|
51
50
|
if (null != e5) {
|
|
52
51
|
const e6 = b(t2, q.pageContext.entity.data);
|
|
53
52
|
e6 && J(e6);
|
|
@@ -55,13 +54,12 @@ const j = ["src"], D = e({ __name: "barcode-runtime", props: { pageContext: {},
|
|
|
55
54
|
}));
|
|
56
55
|
});
|
|
57
56
|
}).catch((e3) => {
|
|
58
|
-
console.error("获取条码规则失败:", e3);
|
|
59
57
|
})), A.value && L(A.value);
|
|
60
58
|
}), D2({ getValue: function() {
|
|
61
59
|
return x(N, k);
|
|
62
60
|
}, setValue: F }), (e3, t2) => {
|
|
63
|
-
const
|
|
64
|
-
return n(), u(
|
|
61
|
+
const a2 = o("el-form-item");
|
|
62
|
+
return n(), u(a2, { required: !!_.value.required, class: s(p(P)), "label-width": _.value.labelWidth, style: i(p(O)) }, { label: c(() => [_.value.tittleShow ? (n(), m("div", { key: 0, style: i({ ...p(S) }) }, g(p(R)(_.value.title)), 5)) : f("", true)]), default: c(() => ["QR-code" === _.value.type ? (n(), m("img", { key: 0, src: $.value }, null, 8, j)) : (n(), m("canvas", { key: 1, ref_key: "barcode", ref: I }, null, 512))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
|
|
65
63
|
};
|
|
66
64
|
} });
|
|
67
65
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onMounted as n, watch as o, onUnmounted as i, resolveComponent as a,
|
|
1
|
+
import { defineComponent as e, ref as t, onMounted as n, watch as o, onUnmounted as i, resolveComponent as a, createElementBlock as l, openBlock as r, unref as u, createVNode as s } from "vue";
|
|
2
2
|
import { setTableEvents as c, canExecuteButton as p, doAfterClickEvent as d, doBeforeClickEvent as f, gridSelectRecord as g, gridSelectAllRecords as m, gridSelectionChange as v, cellClick as h, cellDblClick as b, rowClick as w, rowDblClick as S, headerClick as C, getEventNameByType as y, getEventFuncByType as x, getHandleEvent as D } from "../../../../utils/events/event-util.js";
|
|
3
3
|
import { getBaseUrl as E, getListCode as T, getRealRestApiPath as O, isWorkflowPage as R, isVariableInvalidValue as k } from "../../../../utils/common-util.js";
|
|
4
4
|
import { getAdditionalParamMap as I, getSaveFormRequestWithRow as V, standardEvents as j } from "../../../../utils/events/standard-event.js";
|
|
@@ -283,7 +283,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
283
283
|
}
|
|
284
284
|
n(() => {
|
|
285
285
|
const e3 = Xe();
|
|
286
|
-
se.value && e3 && e3.distanceToBottom && (se.value.tableHeight = e3.distanceToBottom - 110), Y.pageContext.pageRuntimeStyle
|
|
286
|
+
se.value && e3 && e3.distanceToBottom && (se.value.tableHeight = e3.distanceToBottom - 110), Y.pageContext.pageRuntimeStyle, window.addEventListener("message", Fe), H.$on(de + "-close-component-page-dialog", function({ jumpInfo: e4, popEntity: t2, popPageCode: n2 }) {
|
|
287
287
|
se.value.closePageDialog({ entity: t2, pageCode: n2, jumpInfo: e4 });
|
|
288
288
|
}), H.$on(de + "_close-dialog-get-entity", () => {
|
|
289
289
|
H.$emit(de + "_close-super-dialog");
|
|
@@ -373,7 +373,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
373
373
|
return (_a = se.value) == null ? void 0 : _a.getColumns();
|
|
374
374
|
} }), (e3, t2) => {
|
|
375
375
|
const n2 = a("super-grid");
|
|
376
|
-
return
|
|
376
|
+
return r(), l("div", { ref_key: "tableDivRef", ref: ue, id: u(pe) + "_tableDiv" }, [s(n2, { ref_key: "gridRef", ref: se, url: u(ce), options: re.value, code: u(pe), settings: u(he), "search-form-info": me.value, "list-toolbar-form-data": u(ge), isDialog: u(J).isDialog, onSelect: He, onSelectAll: Ue, onSelectionChange: Me, onCellClick: $e, onCellDblclick: _e, onRowClick: Ae, onRowDblclick: Le, onHeaderClick: Ge, onRefresh: ze, onNewOpenGridDialog: u(F), onCanShowMobileSearch: We, onGridOnmounted: Se }, null, 8, ["url", "options", "code", "settings", "search-form-info", "list-toolbar-form-data", "isDialog", "onNewOpenGridDialog"])], 8, W);
|
|
377
377
|
};
|
|
378
378
|
} });
|
|
379
379
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onMounted as n, onUnmounted as o, resolveComponent as l,
|
|
1
|
+
import { defineComponent as e, ref as t, onMounted as n, onUnmounted as o, resolveComponent as l, createElementBlock as i, openBlock as a, createBlock as u, createCommentVNode as r, unref as s } from "vue";
|
|
2
2
|
import { setTableEvents as c, gridSelectRecord as p, gridSelectAllRecords as d, gridSelectionChange as f, cellClick as b, cellDblClick as g, rowClick as m, rowDblClick as v, headerClick as h, getHandleEvent as S } from "../../../../utils/events/event-util.js";
|
|
3
3
|
import { caculateShowCondition as w, setVariableValue as T, getVariableValue as x, getSizeConfig as C } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { getModelFields as D, getDefaultValue as y } from "../../../../utils/page-init-util.js";
|
|
@@ -189,7 +189,9 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
189
189
|
return true === a2 && (a2 = w(j.pageContext, N.props.base.showDeleteBtnCondition, n2)), a2;
|
|
190
190
|
}
|
|
191
191
|
function Ce(e3, t2, n2, o2, l2) {
|
|
192
|
-
ie.value.createRow(G, {}, { getDefaultValueFunc: y }, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: l2 })
|
|
192
|
+
ie.value.createRow(G, {}, { getDefaultValueFunc: y }, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: l2 }).then(() => {
|
|
193
|
+
Be(l2);
|
|
194
|
+
});
|
|
193
195
|
}
|
|
194
196
|
function De(e3, t2, n2, o2, l2) {
|
|
195
197
|
ie.value.deleteRow(l2, G, false);
|
|
@@ -263,6 +265,10 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
263
265
|
let n2 = true;
|
|
264
266
|
return t2 && t2.length > 0 && (n2 = w(j.pageContext, t2, e3)), n2;
|
|
265
267
|
}
|
|
268
|
+
function Be(e3) {
|
|
269
|
+
var _a2;
|
|
270
|
+
(_a2 = ie.value) == null ? void 0 : _a2.setScrollTopByRowIndex(e3);
|
|
271
|
+
}
|
|
266
272
|
return function(e3) {
|
|
267
273
|
const t2 = re();
|
|
268
274
|
t2 ? fe(t2, e3) : (ue(t2, e3), e3.isPageInfo = false, e3.subTableData = Ne(), be(e3));
|
|
@@ -302,10 +308,7 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
302
308
|
}, setCurrentRowIndex: function(e3) {
|
|
303
309
|
var _a2;
|
|
304
310
|
(_a2 = ie.value) == null ? void 0 : _a2.setCurrentRowIndex(e3);
|
|
305
|
-
}, setScrollTopByRowIndex: function(
|
|
306
|
-
var _a2;
|
|
307
|
-
(_a2 = ie.value) == null ? void 0 : _a2.setScrollTopByRowIndex(e3);
|
|
308
|
-
}, getTableData: function() {
|
|
311
|
+
}, setScrollTopByRowIndex: Be, getTableData: function() {
|
|
309
312
|
var _a2;
|
|
310
313
|
return (_a2 = ie.value) == null ? void 0 : _a2.getTableData();
|
|
311
314
|
}, addRequiredClass: function(e3, t2, n2) {
|
|
@@ -316,7 +319,7 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
|
|
|
316
319
|
return (_a2 = ie.value) == null ? void 0 : _a2.getColumns();
|
|
317
320
|
} }), (e3, t2) => {
|
|
318
321
|
const n2 = l("super-grid");
|
|
319
|
-
return
|
|
322
|
+
return a(), i("div", null, [ee.value ? (a(), u(n2, { key: 0, ref_key: "gridRef", ref: ie, url: s(Z) + "/dsc/commons/sub-table", options: oe.value, code: s(G), settings: s(K), isDialog: s(z).isDialog, onSelect: _e, onSelectAll: ke, onSelectionChange: Ae, onCellClick: Me, onCellDblclick: Ee, onRowClick: Fe, onRowDblclick: $e, onHeaderClick: je, onFnProhibitToEdit: Ie, onChangeGridData: ye, onReloadGrid: fe, onRefresMainTableFields: Oe, onSetSelectOptions: Re, onChangeRowsPerPage: Pe, onNewOpenGridDialog: s(R), onChangeFormData: ze }, null, 8, ["url", "options", "code", "settings", "isDialog", "onNewOpenGridDialog"])) : r("", true)]);
|
|
320
323
|
};
|
|
321
324
|
} });
|
|
322
325
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onUnmounted as n,
|
|
1
|
+
import { defineComponent as e, ref as t, onUnmounted as n, createElementBlock as u, openBlock as o, createBlock as a, createCommentVNode as l, unref as r } from "vue";
|
|
2
2
|
import i from "./sub-table-runtime.vue.js";
|
|
3
3
|
import c from "./main-table-runtime.vue.js";
|
|
4
4
|
const f = e({ __name: "table-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: f2 }) {
|
|
@@ -78,7 +78,7 @@ const f = e({ __name: "table-runtime", props: { pageContext: {}, configure: {} }
|
|
|
78
78
|
}, getColumns: function() {
|
|
79
79
|
var _a;
|
|
80
80
|
return (_a = b.value) == null ? void 0 : _a.getColumns();
|
|
81
|
-
} }), (
|
|
81
|
+
} }), (e3, t2) => (o(), u("div", null, [r(g) && "form" === r(g) && C.value ? (o(), a(i, { key: 0, ref_key: "gridRef", ref: b, pageContext: e3.pageContext, configure: d.value, onSetSafeDeleteTableCode: E }, null, 8, ["pageContext", "configure"])) : r(g) && "form" === r(g) ? l("", true) : (o(), a(c, { key: 1, ref_key: "gridRef", ref: b, pageContext: e3.pageContext, configure: d.value, onSetSafeDeleteTableCode: E }, null, 8, ["pageContext", "configure"]))]));
|
|
82
82
|
} });
|
|
83
83
|
export {
|
|
84
84
|
f as default
|