super-page-runtime 2.3.48 → 2.3.49
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/i18n-util.js +6 -5
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/button/{button-runtime2.vue.js → button-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/button-group/{buttongroup-runtime2.vue.js → buttongroup-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/dropdown/{dropdown-runtime2.vue.js → dropdown-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/{exportpdf-runtime2.vue.js → exportpdf-runtime.vue2.js} +3 -3
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/print-label/{printlabel-runtime2.vue.js → printlabel-runtime.vue2.js} +3 -3
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/column-line/{column-line-runtime2.vue.js → 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 +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/common/{common-homepage-search2.vue.js → common-homepage-search.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/gauge/{gauge-runtime2.vue.js → gauge-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/pie/{pie-runtime2.vue.js → pie-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/radar/{radar-runtime2.vue.js → radar-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/scatter/{scatter-runtime2.vue.js → scatter-runtime.vue2.js} +2 -2
- 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.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/table/{table-runtime2.vue.js → table-runtime.vue2.js} +9 -9
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +2 -2
- 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 +2 -2
- 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.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/card/{card-runtime2.vue.js → card-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/collapse/{collapse-runtime2.vue.js → collapse-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/container/{container-runtime2.vue.js → container-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/fixed/{FixedBox2.vue.js → FixedBox.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/fixed/{YxAffix2.vue.js → YxAffix.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/flex/{flex-runtime2.vue.js → flex-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/form/{form-runtime2.vue.js → form-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/iframe/{iframe-runtime2.vue.js → iframe-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/tabs/{tabs-runtime2.vue.js → tabs-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/tools/{tools-runtime2.vue.js → tools-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/data/bar-code/{barcode-runtime2.vue.js → barcode-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/data/table/{table-runtime2.vue.js → table-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/data/tree/{tree-runtime2.vue.js → tree-runtime.vue2.js} +20 -13
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/checkbox/{checkbox-runtime2.vue.js → checkbox-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/custom/{custom-runtime2.vue.js → custom-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/date-picker/{datepicker-runtime2.vue.js → datepicker-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/{depttree-runtime2.vue.js → depttree-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/divider/{divider-runtime2.vue.js → divider-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/file-upload/{fileupload-runtime2.vue.js → fileupload-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/image-upload/{imageupload-runtime2.vue.js → imageupload-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/input-number/{input-number-runtime2.vue.js → input-number-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/input-text/{inputtext-runtime2.vue.js → inputtext-runtime.vue2.js} +3 -3
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/label/{label-runtime2.vue.js → label-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/link/{link-runtime2.vue.js → link-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/placeholder/{placeholder-runtime2.vue.js → placeholder-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/radio/{radio-runtime2.vue.js → radio-runtime.vue2.js} +2 -2
- 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-runtime2.vue.js → richtext-runtime.vue2.js} +3 -3
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/select/{select-runtime2.vue.js → select-runtime.vue2.js} +3 -3
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/{separatelabel-runtime2.vue.js → separatelabel-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/switch/{switch-runtime2.vue.js → switch-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/tag/{tag-runtime2.vue.js → tag-runtime.vue2.js} +3 -3
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/textarea/{textarea-runtime2.vue.js → textarea-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +2 -2
- 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.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/component/{workflow-opinion-box2.vue.js → workflow-opinion-box.vue2.js} +3 -3
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime-dialog2.vue.js → extract-workflow-runtime-dialog.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime2.vue.js → extract-workflow-runtime.vue2.js} +3 -3
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/{pictureflow-runtime2.vue.js → pictureflow-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/{textflow-runtime2.vue.js → textflow-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/{workflowbutton-runtime2.vue.js → workflowbutton-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/{workflownode-runtime2.vue.js → workflownode-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/home-chart.vue.js +2 -2
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +2 -2
- package/dist/es/components/runtime/views/super-page.vue.d.ts +2 -2
- package/dist/es/components/runtime/views/super-page.vue.js +1 -1
- package/dist/es/components/runtime/views/{super-page2.vue.js → super-page.vue2.js} +3 -3
- package/dist/es/style.css +6 -6
- package/package.json +2 -2
- /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-breadcrumb2.vue.js → common-chart-header-breadcrumb.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-group2.vue.js → common-chart-header-group.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header2.vue.js → common-chart-header.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/common/{home-chart-condition-render2.vue.js → home-chart-condition-render.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/table/{group-column-item2.vue.js → group-column-item.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/table/{group-column2.vue.js → group-column.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/table/{normal-column2.vue.js → normal-column.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/table/{table-pageination2.vue.js → table-pageination.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{event-call-component2.vue.js → event-call-component.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{export-form-report-dialog2.vue.js → export-form-report-dialog.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{file-task-notice2.vue.js → file-task-notice.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{format-file-task-notice-message2.vue.js → format-file-task-notice-message.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{remove-signer-dialog2.vue.js → remove-signer-dialog.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{remove-signer-table2.vue.js → remove-signer-table.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{remove-transactor-dialog2.vue.js → remove-transactor-dialog.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{save-chart-condition-dialog2.vue.js → save-chart-condition-dialog.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{task-informition-dialog2.vue.js → task-informition-dialog.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/data/table/{main-table-runtime2.vue.js → main-table-runtime.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/data/table/{sub-table-runtime2.vue.js → sub-table-runtime.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/{error-render2.vue.js → error-render.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/form/common/{title-suffix-element2.vue.js → title-suffix-element.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/{home-chart-render2.vue.js → home-chart-render.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/{object-render2.vue.js → object-render.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/{page-bottom2.vue.js → page-bottom.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/{home-chart2.vue.js → home-chart.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/{super-page-dialog3.vue.js → super-page-dialog.vue3.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import e from "./tree-
|
|
1
|
+
import e from "./tree-runtime.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-9ba61a0f"]]);
|
|
5
5
|
export {
|
|
6
6
|
t as default
|
|
7
7
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as e, ref as a, computed as t, onMounted as n, nextTick as l, watch as u, resolveComponent as o,
|
|
1
|
+
import { defineComponent as e, ref as a, computed as t, onMounted as n, nextTick as l, watch as u, resolveComponent as o, createElementBlock as s, openBlock as d, normalizeClass as i, unref as r, createBlock as c, createCommentVNode as p, withDirectives as v, normalizeStyle as g, withCtx as f, createVNode as m, createElementVNode as h, createTextVNode as y, toDisplayString as C, Fragment as x, renderList as k, vShow as N } from "vue";
|
|
2
2
|
import M from "../../../../../../assets/folder.png.js";
|
|
3
3
|
import I from "../../../../../../assets/file.png.js";
|
|
4
4
|
import { getFormModelFields as T } from "../../../../utils/page-init-util.js";
|
|
5
5
|
import { setVariableValue as P, getVariableValue as R } from "../../../../utils/page-helper-util.js";
|
|
6
|
-
import { getMenuTreeData as V, createTreeNode as b, updateTreeNode as
|
|
7
|
-
import { handleAfterInitEvent as
|
|
6
|
+
import { getMenuTreeData as V, createTreeNode as b, updateTreeNode as E, deleteNode as K } from "../../../../utils/tree-utils.js";
|
|
7
|
+
import { handleAfterInitEvent as w, handleFormEvent as L } from "../../../../utils/events/event-util.js";
|
|
8
8
|
import { ElMessageBox as S, ElMessage as _ } from "element-plus";
|
|
9
9
|
import { checkPermission as j } from "agilebuilder-ui/src/utils/permission";
|
|
10
10
|
import { $t as D } from "../../../../utils/i18n-util.js";
|
|
11
|
-
const W = { key: 0, class: "custom-tree-node" }, z = ["title"], B = { key: 0, class: "item-row" },
|
|
11
|
+
const W = { key: 0, class: "custom-tree-node" }, z = ["title"], B = { key: 0, class: "item-row" }, O = { class: "item-side" }, H = { key: 1, class: "item-side", style: { display: "flex", "align-items": "center" } }, U = ["onClick"], $ = e({ __name: "tree-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: $2 }) {
|
|
12
12
|
var _a, _b, _c;
|
|
13
13
|
const A = a(), F = a(false), X = e2, Y = X.pageContext.entity ? X.pageContext.entity : {}, q = a([]);
|
|
14
14
|
((_a = X.configure.props) == null ? void 0 : _a.contextMenus) && (X.pageContext && X.configure && !X.pageContext.isTest ? X.configure.props.contextMenus.forEach((e3) => {
|
|
@@ -25,7 +25,7 @@ const W = { key: 0, class: "custom-tree-node" }, z = ["title"], B = { key: 0, cl
|
|
|
25
25
|
n(() => {
|
|
26
26
|
l(() => {
|
|
27
27
|
const e3 = J.value;
|
|
28
|
-
|
|
28
|
+
w(e3, X.pageContext, X.configure, { componentRef: te.value, value: e3, entity: X.pageContext.entity.data, pageData: X.pageContext.entity.page });
|
|
29
29
|
});
|
|
30
30
|
}), Q.value ? ue.value = true : V(X.pageContext, X.configure).then((e3) => {
|
|
31
31
|
oe.value = e3, ue.value = true;
|
|
@@ -34,7 +34,7 @@ const W = { key: 0, class: "custom-tree-node" }, z = ["title"], B = { key: 0, cl
|
|
|
34
34
|
});
|
|
35
35
|
const ve = (e3, a2) => !e3 || a2.name.includes(e3);
|
|
36
36
|
function ge(e3, a2, t2) {
|
|
37
|
-
se.value = a2,
|
|
37
|
+
se.value = a2, L(null, X.pageContext, X.configure, "node-click", { data: e3, node: a2, nodeTree: t2 });
|
|
38
38
|
}
|
|
39
39
|
function fe(e3, a2) {
|
|
40
40
|
let t2 = "0";
|
|
@@ -76,12 +76,12 @@ const W = { key: 0, class: "custom-tree-node" }, z = ["title"], B = { key: 0, cl
|
|
|
76
76
|
}, ke = () => ({ nodeId: "primary" + (/* @__PURE__ */ new Date()).getTime(), name: D("superPageRuntimeMessage.addNode"), disabled: false, iconType: "custom", isLeaf: true });
|
|
77
77
|
function Ne(e3) {
|
|
78
78
|
e3.tipMessage ? S.confirm(e3.tipMessage, { confirmButtonText: D("superPageRuntimeMessage.sure"), cancelButtonText: D("superPageRuntimeMessage.cancel"), type: "error" }).then(() => {
|
|
79
|
-
|
|
79
|
+
K(me.value, X.configure, X.pageContext).then(() => {
|
|
80
80
|
_.success(D("superPageRuntimeMessage.successfulDelete")), Me(), me.value = null;
|
|
81
81
|
});
|
|
82
82
|
}).catch(() => {
|
|
83
83
|
me.value = null;
|
|
84
|
-
}) :
|
|
84
|
+
}) : K(me.value, X.configure, X.pageContext).then(() => {
|
|
85
85
|
_.success(D("superPageRuntimeMessage.successfulDelete")), Me(), me.value = null;
|
|
86
86
|
});
|
|
87
87
|
}
|
|
@@ -97,6 +97,13 @@ const W = { key: 0, class: "custom-tree-node" }, z = ["title"], B = { key: 0, cl
|
|
|
97
97
|
V(X.pageContext, X.configure).then((e3) => {
|
|
98
98
|
ie.value = false, oe.value = e3;
|
|
99
99
|
});
|
|
100
|
+
}, loadTreeNodesKeepExpanded: function() {
|
|
101
|
+
var _a2, _b2;
|
|
102
|
+
const e3 = ((_b2 = (_a2 = te.value) == null ? void 0 : _a2.store) == null ? void 0 : _b2.nodesMap) || {}, a2 = Object.keys(e3).filter((a3) => e3[a3].expanded);
|
|
103
|
+
return V(X.pageContext, X.configure).then(async (e4) => {
|
|
104
|
+
var _a3, _b3, _c2, _d;
|
|
105
|
+
ie.value = false, (_b3 = (_a3 = te.value) == null ? void 0 : _a3.store) == null ? void 0 : _b3.setDefaultExpandedKeys([]), oe.value = e4, await l(), (_d = (_c2 = te.value) == null ? void 0 : _c2.store) == null ? void 0 : _d.setDefaultExpandedKeys(a2);
|
|
106
|
+
});
|
|
100
107
|
}, getNode: function(e3) {
|
|
101
108
|
te.value.getNode(e3);
|
|
102
109
|
}, getCheckedNodes: (e3, a2) => te.value.getCheckedNodes(e3, a2), setCheckedNodes: (e3) => {
|
|
@@ -108,15 +115,15 @@ const W = { key: 0, class: "custom-tree-node" }, z = ["title"], B = { key: 0, cl
|
|
|
108
115
|
}, getCurrentKey: () => te.value.getCurrentKey(), getCurrentNode: () => te.value.getCurrentNode(), setCurrentKey: (e3, a2 = true) => te.value.setCurrentKey(e3, a2), setCurrentNode: (e3, a2 = true) => te.value.setCurrentNode(e3, a2) }), (a2, t2) => {
|
|
109
116
|
var _a2;
|
|
110
117
|
const n2 = o("el-input"), l2 = o("el-button"), u2 = o("SuperIcon"), T2 = o("el-tree");
|
|
111
|
-
return
|
|
118
|
+
return d(), s("div", { class: i(["amb-tree-runtime-main", r(ae)]) }, [ne.value.filter ? (d(), c(n2, { key: 0, modelValue: de.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => de.value = e3), style: { width: "100%" }, placeholder: r(D)("superPageRuntimeMessage.pleaseInputSearchCondition") }, null, 8, ["modelValue", "placeholder"])) : p("", true), ue.value ? (d(), c(T2, { key: 1, ref_key: "menuTreeRef", ref: te, style: g(r(ee)), load: fe, data: oe.value, "node-key": "nodeId", props: le.value, "default-expand-all": ne.value.defaultExpandAll, "expand-on-click-node": ne.value.expandOnClickNode, indent: ne.value.retractWidth ? ne.value.retractWidth : 18, accordion: ne.value.accordion, "show-checkbox": !!ne.value.showCheckbox, "highlight-current": "", lazy: Q.value, "filter-node-method": ve, onNodeClick: ge, onNodeContextmenu: he }, { default: f(({ node: a3, data: o2 }) => [o2.nodeId === re.value ? (d(), s("div", W, [m(n2, { modelValue: pe.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => pe.value = e3), size: "small" }, null, 8, ["modelValue"]), h("div", null, [m(l2, { type: "primary", link: "", onClick: (e3) => ((e4) => {
|
|
112
119
|
"" !== pe.value ? (e4.data.name = pe.value, ce.value && e4.data.nodeId === ce.value ? b(e4, X.configure, X.pageContext).then((a4) => {
|
|
113
120
|
Ce(e4, a4.currentNode), xe(), _.success(D("superPageRuntimeMessage.successfulSave"));
|
|
114
|
-
}) :
|
|
121
|
+
}) : E(e4, X.configure, X.pageContext).then((a4) => {
|
|
115
122
|
Ce(e4, a4.currentNode), xe(), _.success(D("superPageRuntimeMessage.successfulSave"));
|
|
116
123
|
})) : _.warning(D("superPageRuntimeMessage.pleaseInputNodeName"));
|
|
117
|
-
})(a3) }, { default:
|
|
124
|
+
})(a3) }, { default: f(() => [y(C(r(D)("superPageRuntimeMessage.save")), 1)]), _: 1 }, 8, ["onClick"]), m(l2, { style: { "margin-left": "4px" }, type: "primary", link: "", onClick: (t3) => ((e3) => {
|
|
118
125
|
ce.value && e3.data.nodeId === ce.value && te.value.remove(e3), xe();
|
|
119
|
-
})(a3, e2.configure, e2.pageContext) }, { default:
|
|
126
|
+
})(a3, e2.configure, e2.pageContext) }, { default: f(() => [y(C(r(D)("superPageRuntimeMessage.undo")), 1)]), _: 1 }, 8, ["onClick"])])])) : (d(), s("span", { key: 1, title: a3.label, class: "ellipsis" }, [o2.iconValue ? (d(), c(u2, { key: 0, iconType: o2.iconType, iconValue: o2.iconValue }, null, 8, ["iconType", "iconValue"])) : ne.value.iconValue ? (d(), c(u2, { key: 1, iconType: ne.value.iconType, iconValue: ne.value.iconValue }, null, 8, ["iconType", "iconValue"])) : (d(), s(x, { key: 2 }, [o2.isLeaf ? (d(), s("div", H, [t2[3] || (t2[3] = h("img", { src: I, class: "file" }, null, -1)), h("span", null, C(o2.name), 1)])) : (d(), s("div", B, [h("div", O, [t2[2] || (t2[2] = h("img", { src: M, class: "file" }, null, -1)), h("span", null, C(o2.name), 1)])]))], 64))], 8, z))]), _: 1 }, 8, ["style", "data", "props", "default-expand-all", "expand-on-click-node", "indent", "accordion", "show-checkbox", "lazy"])) : p("", true), v(h("div", null, [h("ul", { ref_key: "contxtMenuRef", ref: A, class: "context-menu" }, [(d(true), s(x, null, k(q.value, (e3, a3) => (d(), s("li", { key: a3, tabindex: "-1", class: "menu__item", onClick: (a4) => ((e4) => {
|
|
120
127
|
if (me.value && "standard" === e4.type && e4.standardEvent) if ("edit" === e4.standardEvent) re.value = me.value.data.nodeId, pe.value = me.value.data.name;
|
|
121
128
|
else if ("delete" === e4.standardEvent) me.value.childNodes && me.value.childNodes.length > 0 && e4.deleteParentNodeTip ? (e4.deleteParentNodeTipMessage || (e4.deleteParentNodeTipMessage = D("superPageRuntimeMessage.confirmDeleteNodeWithChildren")), S.confirm(e4.deleteParentNodeTipMessage, { confirmButtonText: D("superPageRuntimeMessage.sure"), cancelButtonText: D("superPageRuntimeMessage.cancel"), type: "error" }).then(() => {
|
|
122
129
|
Ne(e4);
|
|
@@ -127,7 +134,7 @@ const W = { key: 0, class: "custom-tree-node" }, z = ["title"], B = { key: 0, cl
|
|
|
127
134
|
const a5 = ke();
|
|
128
135
|
re.value = a5.nodeId, ce.value = a5.nodeId, pe.value = a5.name, "addSiblingNode" === e4.standardEvent ? (a5.isLeaf = me.value.data.isLeaf, me.value.parent && me.value.parent.level > 0 ? te.value.append(a5, me.value.parent) : oe.value.push(a5)) : "addChildNode" === e4.standardEvent && (a5.isLeaf = true, me.value.data.isLeaf = false, te.value.append(a5, me.value), te.value.setCurrentKey(a5.nodeId, true));
|
|
129
136
|
}
|
|
130
|
-
})(e3) }, [
|
|
137
|
+
})(e3) }, [h("span", null, C(e3.name), 1)], 8, U))), 128))], 512)], 512), [[N, F.value && ((_a2 = q.value) == null ? void 0 : _a2.length) > 0]])], 2);
|
|
131
138
|
};
|
|
132
139
|
} });
|
|
133
140
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as e,
|
|
2
|
-
const o = { style: { "text-align": "center", color: "red" } }, c = e({ __name: "error-render", props: { configure: { type: Object, default: { name: "未知" } }, selectWidget: Object, indexObj: Object }, setup: (e2) => (c2, a) => (
|
|
1
|
+
import { defineComponent as e, createElementBlock as t, openBlock as r, toDisplayString as n } from "vue";
|
|
2
|
+
const o = { style: { "text-align": "center", color: "red" } }, c = e({ __name: "error-render", props: { configure: { type: Object, default: { name: "未知" } }, selectWidget: Object, indexObj: Object }, setup: (e2) => (c2, a) => (r(), t("div", o, " 不能识别的组件类型【" + n(e2.configure.name) + "】 ", 1)) });
|
|
3
3
|
export {
|
|
4
4
|
c as default
|
|
5
5
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as l, onMounted as o, nextTick as n, resolveComponent as a,
|
|
1
|
+
import { defineComponent as e, ref as t, computed as l, onMounted as o, nextTick as n, resolveComponent as a, createBlock as u, openBlock as i, normalizeStyle as r, normalizeClass as s, unref as c, createSlots as p, withCtx as f, createVNode as g, createElementBlock as v, Fragment as d, renderList as m, createElementVNode as h, toDisplayString as y } from "vue";
|
|
2
2
|
import { setVariableValue as b, getVariableValue as x, getOptionDatasFromPage as C, putToOptionSourceMap as k, monitorFieldChange as S, autoSetAfterSelect as j, queryOptionDatasources as R } from "../../../../utils/page-helper-util.js";
|
|
3
3
|
import { getFormModelFields as _ } from "../../../../utils/page-init-util.js";
|
|
4
4
|
import { handleFormEvent as I, handleAfterInitEvent as q } from "../../../../utils/events/event-util.js";
|
|
@@ -58,7 +58,7 @@ const z = e({ __name: "checkbox-runtime", props: { pageContext: {}, configure: {
|
|
|
58
58
|
}
|
|
59
59
|
} }), (t2, l2) => {
|
|
60
60
|
const o2 = a("el-checkbox"), n2 = a("el-checkbox-group"), b2 = a("el-form-item");
|
|
61
|
-
return
|
|
61
|
+
return i(), u(b2, { ref_key: "formItemRef", ref: X, class: s(c(F) + (E.value ? " " + E.value : "")), required: !!B.value.required, "label-width": B.value.labelWidth, style: r(c(T)) }, p({ default: f(() => [g(n2, { ref_key: "componentRef", ref: Y, disabled: "disabled" === B.value.state, size: B.value.size, onChange: B.value.changeMethod, modelValue: M.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => M.value = e3) }, { default: f(() => [(i(true), v(d, null, m(G.value, (t3) => (i(), u(o2, { key: t3.value, value: t3.value, label: t3.label, onClick: (l3) => c(I)(t3.value, e2.pageContext, e2.configure, "click", { values: M.value }) }, null, 8, ["value", "label", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "onChange", "modelValue"])]), _: 2 }, [B.value.tittleShow ? { name: "label", fn: f(() => [h("div", { ref_key: "titleRef", ref: Z, style: r({ ...c(U), ...c(W) }), class: "amb-form-item-label" }, y(c(V)(B.value.title)), 5)]), key: "0" } : void 0]), 1032, ["class", "required", "label-width", "style"]);
|
|
62
62
|
};
|
|
63
63
|
} });
|
|
64
64
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, computed as l, resolveComponent as r,
|
|
1
|
+
import { defineComponent as e, computed as l, resolveComponent as r, createElementBlock as t, openBlock as p, Fragment as o, createBlock as u, createCommentVNode as a, unref as i, isRef as n } from "vue";
|
|
2
2
|
import { formatVariableValue as s, setVariableValue as y, getVariableValue as f } from "../../../../utils/page-helper-util.js";
|
|
3
3
|
const x = e({ __name: "title-suffix-element", props: { pageContext: {}, property: {} }, setup(e2) {
|
|
4
4
|
const x2 = e2, c = x2.pageContext.entity;
|
|
@@ -30,7 +30,7 @@ const x = e({ __name: "title-suffix-element", props: { pageContext: {}, property
|
|
|
30
30
|
} else y(c, d, e3);
|
|
31
31
|
} })), (l2, s2) => {
|
|
32
32
|
const y2 = r("el-radio"), f2 = r("el-checkbox");
|
|
33
|
-
return
|
|
33
|
+
return p(), t(o, null, ["radio" === e2.property.prefixType ? (p(), u(y2, { key: 0, value: e2.property.prefixValue, label: e2.property.title, modelValue: i(b), "onUpdate:modelValue": s2[0] || (s2[0] = (e3) => n(b) ? b.value = e3 : b = e3) }, null, 8, ["value", "label", "modelValue"])) : a("", true), "checkbox" === e2.property.prefixType ? (p(), u(f2, { key: 1, label: e2.property.title, value: e2.property.prefixValue, modelValue: i(b), "onUpdate:modelValue": s2[1] || (s2[1] = (e3) => n(b) ? b.value = e3 : b = e3) }, null, 8, ["label", "value", "modelValue"])) : a("", true)], 64);
|
|
34
34
|
};
|
|
35
35
|
} });
|
|
36
36
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, computed as t, ref as o, onMounted as a, nextTick as n, onUnmounted as i, resolveComponent as u,
|
|
1
|
+
import { defineComponent as e, computed as t, ref as o, onMounted as a, nextTick as n, onUnmounted as i, resolveComponent as u, createBlock as l, createElementBlock as r, createCommentVNode as s, openBlock as p, normalizeStyle as c, normalizeClass as m, unref as f, createSlots as d, withCtx as g, resolveDynamicComponent as v, createElementVNode as C, toDisplayString as x } from "vue";
|
|
2
2
|
import { getFormModelFields as y } from "../../../../utils/page-init-util.js";
|
|
3
3
|
import { setVariableValue as b, getVariableValue as h, formatVariableValue as j, getFormPropName as R, setVariableValueWithProp as k } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { handleAfterInitEvent as V, handleEvent as _ } from "../../../../utils/events/event-util.js";
|
|
@@ -61,7 +61,7 @@ const $ = { key: 0, style: { width: "100%", height: "100%" } }, O = { key: 1, st
|
|
|
61
61
|
requiredClass.value = addRequiredClassUtil();
|
|
62
62
|
} }), (t2, o2) => {
|
|
63
63
|
const a2 = u("el-form-item");
|
|
64
|
-
return K.value.tittleShow ? (
|
|
64
|
+
return K.value.tittleShow ? (p(), l(a2, { key: 0, ref_key: "formItemRef", ref: te, required: K.value.required, class: m(f(W)), "label-width": K.value.labelWidth, style: c(f(B)) }, d({ default: g(() => [N.value ? (p(), r("div", $, [(p(), l(v(N.value), { ref_key: "customRef", ref: ee, size: K.value.size, entity: e2.pageContext.entity.data, pageData: e2.pageContext.entity.page, pageContext: e2.pageContext, configureObj: e2.configure, prop: f(R)(e2.configure.props && e2.configure.props.base ? e2.configure.props.base.prop : null), "custom-params": f(L), modelValue: I.value, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => I.value = e3), disabled: "disabled" === K.value.state, "additional-param-map": f(M), "component-id": Z.value, onSetEntityValue: Q, onSetCustomRules: T, onRestoreGridEdit: X, onHandleEvent: ae, onChange: o2[1] || (o2[1] = (t3) => f(_)(I.value, e2.pageContext, e2.configure, "change")) }, null, 40, ["size", "entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : s("", true)]), _: 2 }, [K.value.tittleShow ? { name: "label", fn: g(() => [C("div", { ref_key: "titleRef", ref: oe, style: c({ ...f(J) }), class: "amb-form-item-label" }, x(f(S)(K.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])) : N.value ? (p(), r("div", O, [(p(), l(v(N.value), { ref_key: "customRef", ref: ee, entity: e2.pageContext.entity.data, pageData: e2.pageContext.entity.page, pageContext: e2.pageContext, configureObj: e2.configure, prop: f(R)(e2.configure.props && e2.configure.props.base ? e2.configure.props.base.prop : null), "custom-params": f(L), modelValue: I.value, "onUpdate:modelValue": o2[2] || (o2[2] = (e3) => I.value = e3), disabled: "disabled" === K.value.state, "additional-param-map": f(M), "component-id": Z.value, onSetEntityValue: Q, onSetCustomRules: T, onRestoreGridEdit: X, onHandleEvent: ae, onChange: o2[3] || (o2[3] = (t3) => f(_)(I.value, e2.pageContext, e2.configure, "change")) }, null, 40, ["entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : s("", true);
|
|
65
65
|
};
|
|
66
66
|
} });
|
|
67
67
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as a, onMounted as l, nextTick as t, computed as o, resolveComponent as r,
|
|
1
|
+
import { defineComponent as e, ref as a, onMounted as l, nextTick as t, computed as o, resolveComponent as r, createBlock as u, openBlock as n, normalizeStyle as i, normalizeClass as d, unref as c, createSlots as p, withCtx as s, createElementVNode as v, createElementBlock as f, Fragment as g, createTextVNode as m, toDisplayString as h } from "vue";
|
|
2
2
|
import { getFormModelFields as y } from "../../../../utils/page-init-util.js";
|
|
3
3
|
import { getDateShortCuts as C } from "../../../../utils/form/date-shortcuts.js";
|
|
4
4
|
import { getModelFieldFromPageContext as x, getValueFromVariable as b, setVariableValue as F, getVariableValue as V, isDateDataType as k } from "../../../../utils/page-helper-util.js";
|
|
@@ -94,7 +94,7 @@ const q = e({ __name: "datepicker-runtime", props: { pageContext: {}, configure:
|
|
|
94
94
|
A.value = D();
|
|
95
95
|
} }), (a2, l2) => {
|
|
96
96
|
const t2 = r("el-time-picker"), o2 = r("el-date-picker"), y2 = r("el-form-item");
|
|
97
|
-
return
|
|
97
|
+
return n(), u(y2, { ref_key: "formItemRef", ref: H, required: W.value.required, class: d(c(U) + (A.value ? " " + A.value : "")), "label-width": W.value.labelWidth, style: i(c(M)) }, p({ default: s(() => ["time" == W.value.dateType || "timerange" == W.value.dateType ? (n(), u(t2, { key: 0, ref_key: "componentRef", ref: J, "is-range": "timerange" == W.value.dateType, style: { width: "100%" }, "range-separator": "-", clearable: W.value.clearable, disabled: "disabled" === W.value.state, readonly: "readonly" === W.value.state, size: W.value.size, placeholder: c(Y)(W.value.placeholder), "start-placeholder": c(Y)(W.value.placeholder), "end-placeholder": c(Y)(W.value.endPlaceholder ? W.value.endPlaceholder : W.value.placeholder), "unlink-panels": true, format: W.value.format, "value-format": W.value.valueFormat, modelValue: Q.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => Q.value = e3), shortcuts: X.value, type: W.value.dateType, onChange: l2[1] || (l2[1] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "change")), onBlur: l2[2] || (l2[2] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "blur")), onFocus: l2[3] || (l2[3] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "focus")), onVisibleChange: l2[4] || (l2[4] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "visible-change")), onPanelChange: l2[5] || (l2[5] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "panel-change")), onClear: l2[6] || (l2[6] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "clear")) }, null, 8, ["is-range", "clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"])) : "combined" !== W.value.dateRangePickerMode && ["daterange", "datetimerange", "monthrange", "yearrange"].includes(W.value.dateType) ? (n(), u(c(_), { key: 1, modelValue: Q.value, "onUpdate:modelValue": l2[7] || (l2[7] = (e3) => Q.value = e3), type: W.value.dateType, disabled: "disabled" === W.value.state, readonly: "readonly" === W.value.state, clearable: W.value.clearable, format: W.value.format, "value-format": W.value.valueFormat, placeholder: c(Y)(W.value.placeholder), "start-placeholder": c(Y)(W.value.placeholder), "end-placeholder": c(Y)(W.value.endPlaceholder ? W.value.endPlaceholder : W.value.placeholder), size: W.value.size, shortcuts: X.value, onChange: l2[8] || (l2[8] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "change")), onBlur: l2[9] || (l2[9] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "blur")), onFocus: l2[10] || (l2[10] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "focus")), onVisibleChange: l2[11] || (l2[11] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "visible-change")), onPanelChange: l2[12] || (l2[12] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "panel-change")), onClear: l2[13] || (l2[13] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "clear")) }, null, 8, ["modelValue", "type", "disabled", "readonly", "clearable", "format", "value-format", "placeholder", "start-placeholder", "end-placeholder", "size", "shortcuts"])) : "quarter" === W.value.dateType ? (n(), u(c(S), { key: 2, modelValue: Q.value, "onUpdate:modelValue": l2[14] || (l2[14] = (e3) => Q.value = e3), type: W.value.dateType, disabled: "disabled" === W.value.state, readonly: "readonly" === W.value.state, clearable: W.value.clearable, format: W.value.format, "value-format": W.value.valueFormat, placeholder: c(Y)(W.value.placeholder), size: W.value.size, onChange: l2[15] || (l2[15] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "change")), onBlur: l2[16] || (l2[16] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "blur")), onFocus: l2[17] || (l2[17] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "focus")), onClear: l2[18] || (l2[18] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "clear")) }, null, 8, ["modelValue", "type", "disabled", "readonly", "clearable", "format", "value-format", "placeholder", "size"])) : (n(), u(o2, { key: 3, ref_key: "componentRef", ref: J, clearable: W.value.clearable, style: { width: "100%" }, "unlink-panels": true, disabled: "disabled" === W.value.state, readonly: "readonly" === W.value.state, size: W.value.size, placeholder: c(Y)(W.value.placeholder), "start-placeholder": c(Y)(W.value.placeholder), "end-placeholder": c(Y)(W.value.endPlaceholder ? W.value.endPlaceholder : W.value.placeholder), format: W.value.format, "value-format": W.value.valueFormat, modelValue: Q.value, "onUpdate:modelValue": l2[19] || (l2[19] = (e3) => Q.value = e3), shortcuts: X.value, type: W.value.dateType, onChange: l2[20] || (l2[20] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "change")), onBlur: l2[21] || (l2[21] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "blur")), onFocus: l2[22] || (l2[22] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "focus")), onVisibleChange: l2[23] || (l2[23] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "visible-change")), onPanelChange: l2[24] || (l2[24] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "panel-change")), onClear: l2[25] || (l2[25] = (a3) => c(P)(a3, e2.pageContext, e2.configure, "clear")) }, null, 8, ["clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"]))]), _: 2 }, [W.value.tittleShow ? { name: "label", fn: s(() => [v("div", { ref_key: "titleRef", ref: K, style: i({ ...c($), ...c(N) }) }, [W.value.prefixType ? (n(), u(j, { key: 0, pageContext: e2.pageContext, property: W.value }, null, 8, ["pageContext", "property"])) : (n(), f(g, { key: 1 }, [m(h(c(Y)(W.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
|
|
98
98
|
};
|
|
99
99
|
} });
|
|
100
100
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onMounted as l, nextTick as o, computed as a, watch as n, resolveComponent as i,
|
|
1
|
+
import { defineComponent as e, ref as t, onMounted as l, nextTick as o, computed as a, watch as n, resolveComponent as i, createBlock as p, openBlock as u, normalizeStyle as r, normalizeClass as s, unref as d, createSlots as m, withCtx as f, createVNode as c, createElementVNode as g, createElementBlock as v, Fragment as y, createTextVNode as x, toDisplayString as h } from "vue";
|
|
2
2
|
import { getFormModelFields as C } from "../../../../utils/page-init-util.js";
|
|
3
3
|
import { handleAfterInitEvent as S, handleFormEvent as b } from "../../../../utils/events/event-util.js";
|
|
4
4
|
import F from "../common/title-suffix-element.vue.js";
|
|
@@ -47,7 +47,7 @@ const _ = e({ __name: "depttree-runtime", props: { pageContext: {}, configure: {
|
|
|
47
47
|
q.value = j();
|
|
48
48
|
} }), (t2, l2) => {
|
|
49
49
|
const o2 = i("OrganizationInput"), a2 = i("el-form-item");
|
|
50
|
-
return
|
|
50
|
+
return u(), p(a2, { ref_key: "formItemRef", ref: K, required: A.value.required, class: s(d(G) + (q.value ? " " + q.value : "")), "label-width": A.value.labelWidth, style: r(d(B)) }, m({ default: f(() => [c(o2, { ref_key: "componentRef", ref: L, disabled: "disabled" == A.value.state, multiple: A.value.multiple, treeType: A.value.treeType, value: P.value, models: d(O), departmentInfo: W.value, limitFilterColumn: A.value.limitFilterColumn, pageModels: d($), fields: d(Q), inputShowWay: A.value.inputShowWay, autosize: A.value.autosize, size: A.value.size, displayItem: A.value.displayItem, separator: A.value.separator, onSetValue: X, onShowTree: Y }, null, 8, ["disabled", "multiple", "treeType", "value", "models", "departmentInfo", "limitFilterColumn", "pageModels", "fields", "inputShowWay", "autosize", "size", "displayItem", "separator"])]), _: 2 }, [A.value.tittleShow ? { name: "label", fn: f(() => [g("div", { ref_key: "titleRef", ref: N, style: r({ ...d(H), ...d(J) }), class: "amb-form-item-label" }, [A.value.prefixType ? (u(), p(F, { key: 0, pageContext: e2.pageContext, property: A.value }, null, 8, ["pageContext", "property"])) : (u(), v(y, { key: 1 }, [x(h(d(I)(A.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
|
|
51
51
|
};
|
|
52
52
|
} });
|
|
53
53
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as n, onMounted as o, nextTick as r, resolveComponent as i,
|
|
1
|
+
import { defineComponent as e, ref as t, computed as n, onMounted as o, nextTick as r, resolveComponent as i, createBlock as u, openBlock as l, unref as a, withCtx as p, createElementVNode as s, normalizeStyle as c, toDisplayString as d } from "vue";
|
|
2
2
|
import { formatVariableValue as f } from "../../../../utils/page-helper-util.js";
|
|
3
3
|
import { handleAfterInitEvent as v, handleFormEvent as g } from "../../../../utils/events/event-util.js";
|
|
4
4
|
const m = e({ __name: "divider-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
|
|
@@ -16,7 +16,7 @@ const m = e({ __name: "divider-runtime", props: { pageContext: {}, configure: {}
|
|
|
16
16
|
});
|
|
17
17
|
}), (t2, n2) => {
|
|
18
18
|
const o2 = i("el-divider");
|
|
19
|
-
return
|
|
19
|
+
return l(), u(o2, { ref_key: "componentRef", ref: k, direction: C.value.direction, "border-style": C.value.borderType, "content-position": C.value.titlePosition, onClick: n2[0] || (n2[0] = (t3) => a(g)(t3, e2.pageContext, e2.configure, "click")) }, { default: p(() => [s("div", { style: c(a(x)) }, d(b.value), 5)]), _: 1 }, 8, ["direction", "border-style", "content-position"]);
|
|
20
20
|
};
|
|
21
21
|
} });
|
|
22
22
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, watch as l, onMounted as o, nextTick as a, onUnmounted as i, resolveComponent as n,
|
|
1
|
+
import { defineComponent as e, ref as t, watch as l, onMounted as o, nextTick as a, onUnmounted as i, resolveComponent as n, createBlock as u, createCommentVNode as r, openBlock as p, normalizeStyle as s, normalizeClass as f, unref as d, createSlots as m, withCtx as c, createElementVNode as v, toDisplayString as g } from "vue";
|
|
2
2
|
import { getVariableValue as h, setVariableValue as y } from "../../../../utils/page-helper-util.js";
|
|
3
3
|
import { handleAfterInitEvent as C, fileUploadBeforeUpload as w, fileUploadBeforeDelete as b, fileUploadUploaded as x, fileUploadDeleted as k } from "../../../../utils/events/event-util.js";
|
|
4
4
|
import I from "agilebuilder-ui/src/utils/request";
|
|
@@ -107,7 +107,7 @@ const _ = e({ __name: "fileupload-runtime", props: { pageContext: {}, configure:
|
|
|
107
107
|
R.value = j();
|
|
108
108
|
} }), (t2, l2) => {
|
|
109
109
|
const o2 = n("el-form-item");
|
|
110
|
-
return O.value.tittleShow ? (
|
|
110
|
+
return O.value.tittleShow ? (p(), u(o2, { key: 0, ref_key: "formItemRef", ref: re, required: O.value.required, class: f(d(W) + (R.value ? " " + R.value : "")), "label-width": O.value.labelWidth, style: s(d(q)) }, m({ default: c(() => [Q.value ? (p(), u(d(P), { key: 0, ref_key: "fileUploadRef", ref: M, style: { width: "100%" }, disabled: "disabled" === O.value.state, displayType: O.value.displayType, accept: O.value.accept, multiple: O.value.multiple, placeholder: d(S)(O.value.placeholder), limit: O.value.limit, "limit-file-size": O.value.limitFileSize, "disabled-no-preview": O.value.disabledNoPreview, "disabled-no-download": O.value.disabledNoDownload, openCameraOrChoosePhoto: O.value.openCameraOrChoosePhoto, "sort-type": O.value.sortType, "file-info": Y.value, "file-list": X.value, "system-code": e2.pageContext.systemCode, componentId: K.value, watermark: d(G), "on-success": ie, "on-remove": ne, "before-upload": te, "on-error": oe, "before-remove": ae, pageContext: e2.pageContext, "file-show-type": O.value.fileShowType }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "sort-type", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext", "file-show-type"])) : r("", true)]), _: 2 }, [O.value.tittleShow ? { name: "label", fn: c(() => [v("div", { ref_key: "titleRef", ref: pe, style: s({ ...d(V), ...d($) }), class: "amb-form-item-label" }, g(d(S)(O.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])) : Q.value ? (p(), u(d(P), { key: 1, ref_key: "fileUploadRef", ref: M, style: { width: "100%" }, disabled: "disabled" === O.value.state, displayType: O.value.displayType, accept: O.value.accept, multiple: O.value.multiple, placeholder: d(S)(O.value.placeholder), limit: O.value.limit, "limit-file-size": O.value.limitFileSize, "disabled-no-preview": O.value.disabledNoPreview, "disabled-no-download": O.value.disabledNoDownload, openCameraOrChoosePhoto: O.value.openCameraOrChoosePhoto, "sort-type": O.value.sortType, "file-info": Y.value, "file-list": X.value, "system-code": e2.pageContext.systemCode, componentId: K.value, watermark: d(G), "on-success": ie, "on-remove": ne, "before-upload": te, "on-error": oe, "before-remove": ae, pageContext: e2.pageContext, "file-show-type": O.value.fileShowType }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "sort-type", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext", "file-show-type"])) : r("", true);
|
|
111
111
|
};
|
|
112
112
|
} });
|
|
113
113
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onMounted as l, nextTick as o, onUnmounted as a, resolveComponent as i,
|
|
1
|
+
import { defineComponent as e, ref as t, onMounted as l, nextTick as o, onUnmounted as a, resolveComponent as i, createBlock as n, createCommentVNode as u, openBlock as r, normalizeStyle as p, normalizeClass as s, unref as f, createSlots as d, withCtx as m, createElementVNode as c, toDisplayString as v } from "vue";
|
|
2
2
|
import { getVariableValue as g, setVariableValue as y } from "../../../../utils/page-helper-util.js";
|
|
3
3
|
import { handleAfterInitEvent as h, fileUploadBeforeUpload as C, fileUploadBeforeDelete as x, fileUploadUploaded as w, fileUploadDeleted as b } from "../../../../utils/events/event-util.js";
|
|
4
4
|
import k from "agilebuilder-ui/src/utils/request";
|
|
@@ -83,7 +83,7 @@ const _ = e({ __name: "imageupload-runtime", props: { pageContext: {}, configure
|
|
|
83
83
|
O.value = P();
|
|
84
84
|
} }), (t2, l2) => {
|
|
85
85
|
const o2 = i("el-form-item");
|
|
86
|
-
return D.value.tittleShow ? (
|
|
86
|
+
return D.value.tittleShow ? (r(), n(o2, { key: 0, ref_key: "formItemRef", ref: ae, required: D.value.required, class: s(f(F) + (O.value ? " " + O.value : "")), "label-width": D.value.labelWidth, style: p(f(R)) }, d({ default: m(() => [L.value ? (r(), n(f(I), { key: 0, ref_key: "fileUploadRef", ref: K, style: { width: "100%" }, accept: D.value.accept && Object.keys(D.value.accept).length > 0 ? D.value.accept : "image/*", disabled: "disabled" === D.value.state, displayType: D.value.displayType, multiple: D.value.multiple, placeholder: f(S)(D.value.placeholder), limit: D.value.limit, "limit-file-size": D.value.limitFileSize, "max-display-count": D.value.maxDisplayCount, "disabled-no-download": D.value.disabledNoDownload, openCameraOrChoosePhoto: D.value.openCameraOrChoosePhoto, "sort-type": D.value.sortType, "file-info": Q.value, "file-list": M.value, "system-code": e2.pageContext.systemCode, componentId: H.value, watermark: f(B), "on-success": te, "on-remove": le, "before-upload": X, "before-remove": ee, "on-error": Z, pageContext: e2.pageContext, "file-show-type": D.value.fileShowType }, null, 8, ["accept", "disabled", "displayType", "multiple", "placeholder", "limit", "limit-file-size", "max-display-count", "disabled-no-download", "openCameraOrChoosePhoto", "sort-type", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext", "file-show-type"])) : u("", true)]), _: 2 }, [D.value.tittleShow ? { name: "label", fn: m(() => [c("div", { ref_key: "titleRef", ref: ie, style: p({ ...f(q), ...f(W) }), class: "amb-form-item-label" }, v(f(S)(D.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])) : L.value ? (r(), n(f(I), { key: 1, ref_key: "fileUploadRef", ref: K, style: { width: "100%" }, accept: D.value.accept, disabled: "disabled" === D.value.state, displayType: D.value.displayType, multiple: D.value.multiple, placeholder: f(S)(D.value.placeholder), limit: D.value.limit, "limit-file-size": D.value.limitFileSize, "max-display-count": D.value.maxDisplayCount, "disabled-no-download": D.value.disabledNoDownload, openCameraOrChoosePhoto: D.value.openCameraOrChoosePhoto, "sort-type": D.value.sortType, "file-info": Q.value, "file-list": M.value, "system-code": e2.pageContext.systemCode, componentId: H.value, watermark: f(B), "on-success": te, "on-remove": le, "before-upload": X, "before-remove": ee, "on-error": Z, pageContext: e2.pageContext, "file-show-type": D.value.fileShowType }, null, 8, ["accept", "disabled", "displayType", "multiple", "placeholder", "limit", "limit-file-size", "max-display-count", "disabled-no-download", "openCameraOrChoosePhoto", "sort-type", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext", "file-show-type"])) : u("", true);
|
|
87
87
|
};
|
|
88
88
|
} });
|
|
89
89
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as l, onMounted as o, nextTick as a, resolveComponent as n,
|
|
1
|
+
import { defineComponent as e, ref as t, computed as l, onMounted as o, nextTick as a, resolveComponent as n, createBlock as u, openBlock as i, normalizeStyle as r, normalizeClass as s, unref as p, createSlots as m, withCtx as f, createVNode as c, createElementVNode as d, createElementBlock as v, Fragment as g, createTextVNode as y, toDisplayString as x } from "vue";
|
|
2
2
|
import { getFormModelFields as C } from "../../../../utils/page-init-util.js";
|
|
3
3
|
import { setVariableValue as b, getVariableValue as h } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { handleAfterInitEvent as R, handleFormEvent as j } from "../../../../utils/events/event-util.js";
|
|
@@ -20,7 +20,7 @@ const w = e({ __name: "input-number-runtime", props: { pageContext: {}, configur
|
|
|
20
20
|
S.value = q();
|
|
21
21
|
} }), (t2, l2) => {
|
|
22
22
|
const o2 = n("el-input-number"), a2 = n("el-form-item");
|
|
23
|
-
return
|
|
23
|
+
return i(), u(a2, { ref_key: "formItemRef", ref: A, required: W.value.required, class: s(p(F) + (S.value ? " " + S.value : "")), "label-width": W.value.labelWidth, style: r(p(E)) }, m({ default: f(() => [c(o2, { ref_key: "componentRef", ref: G, disabled: "disabled" === W.value.state, readonly: "readonly" === W.value.state, controls: W.value.showButton, size: W.value.size, placeholder: p(_)(W.value.placeholder), modelValue: I.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => I.value = e3), precision: W.value.precision, step: W.value.step, min: W.value.min, max: W.value.max, onChange: l2[1] || (l2[1] = (t3) => p(j)(t3, e2.pageContext, e2.configure, "change")), onBlur: l2[2] || (l2[2] = (t3) => p(j)(t3, e2.pageContext, e2.configure, "blur")), onFocus: l2[3] || (l2[3] = (t3) => p(j)(t3, e2.pageContext, e2.configure, "focus")) }, null, 8, ["disabled", "readonly", "controls", "size", "placeholder", "modelValue", "precision", "step", "min", "max"])]), _: 2 }, [W.value.tittleShow ? { name: "label", fn: f(() => [d("div", { ref_key: "titleRef", ref: H, style: r({ ...p(T), ...p(U) }), class: "amb-form-item-label" }, [W.value.prefixType ? (i(), u(k, { key: 0, pageContext: e2.pageContext, property: W.value }, null, 8, ["pageContext", "property"])) : (i(), v(g, { key: 1 }, [y(x(p(_)(W.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
|
|
24
24
|
};
|
|
25
25
|
} });
|
|
26
26
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as o, onUnmounted as a, watch as u, resolveComponent as i,
|
|
1
|
+
import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as o, onUnmounted as a, watch as u, resolveComponent as i, createBlock as r, openBlock as s, normalizeStyle as p, normalizeClass as c, unref as v, createSlots as f, withCtx as y, createVNode as m, createCommentVNode as g, createTextVNode as d, toDisplayString as x, createElementVNode as C, createElementBlock as T, Fragment as I } from "vue";
|
|
2
2
|
import { SuperIcon as k } from "agilebuilder-ui";
|
|
3
3
|
import { getFormModelFields as w } from "../../../../utils/page-init-util.js";
|
|
4
4
|
import { getModelFieldFromPageContext as V, isNumberDataType as h, setVariableValue as b, getVariableValue as _ } from "../../../../utils/page-helper-util.js";
|
|
@@ -70,10 +70,10 @@ const B = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure:
|
|
|
70
70
|
G.value = L();
|
|
71
71
|
} }), (t2, l2) => {
|
|
72
72
|
const n2 = i("el-input"), o2 = i("scan-code-input-browser"), a2 = i("el-form-item");
|
|
73
|
-
return
|
|
73
|
+
return s(), r(a2, { ref_key: "formItemRef", ref: Q, required: !!ee.value.required, class: c(v(se) + (G.value ? " " + G.value : "")), "label-width": ee.value.labelWidth, style: p(v(re)) }, f({ default: y(() => [m(n2, { ref_key: "componentRef", ref: X, disabled: "disabled" === ee.value.state, readonly: "readonly" === ee.value.state, size: ee.value.size, clearable: ee.value.clearable, placeholder: v(z)(ee.value.placeholder), maxlength: ee.value.maxLength, "show-word-limit": ee.value.showInputNum, type: A.value, modelValue: K.value, "onUpdate:modelValue": l2[5] || (l2[5] = (e3) => K.value = e3), onInput: l2[6] || (l2[6] = (t3) => v(S)(t3, e2.pageContext, e2.configure, "input")), onChange: l2[7] || (l2[7] = (t3) => v(S)(t3, e2.pageContext, e2.configure, "change")), onBlur: l2[8] || (l2[8] = (e3) => function(e4) {
|
|
74
74
|
let t3 = _($, E);
|
|
75
75
|
null != t3 && (t3 = t3.trim()), b($, E, t3), S(e4, F.pageContext, F.configure, "blur");
|
|
76
|
-
}(e3)), onFocus: l2[9] || (l2[9] = (t3) =>
|
|
76
|
+
}(e3)), onFocus: l2[9] || (l2[9] = (t3) => v(S)(t3, e2.pageContext, e2.configure, "focus")), onClick: l2[10] || (l2[10] = (t3) => v(S)(t3, e2.pageContext, e2.configure, "click")), onClear: l2[11] || (l2[11] = (t3) => v(S)(t3, e2.pageContext, e2.configure, "clear")) }, f({ _: 2 }, ["outer" != ee.value.iconPosition && (ee.value.preIconType && ee.value.preIconValue || ee.value.preText) ? { name: "prefix", fn: y(() => [ee.value.preIconType && ee.value.preIconValue ? (s(), r(v(k), { key: 0, style: { cursor: "pointer" }, iconType: ee.value.preIconType, iconValue: ee.value.preIconValue, onClick: l2[0] || (l2[0] = (t3) => v(R)(K.value, e2.pageContext, e2.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(z)(ee.value.preText)), 1)]), key: "0" } : void 0, "outer" == ee.value.iconPosition && (ee.value.preIconType && ee.value.preIconValue || ee.value.preText) ? { name: "prepend", fn: y(() => [ee.value.preIconType && ee.value.preIconValue ? (s(), r(v(k), { key: 0, style: { cursor: "pointer" }, iconType: ee.value.preIconType, iconValue: ee.value.preIconValue, onClick: l2[1] || (l2[1] = (t3) => v(R)(K.value, e2.pageContext, e2.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(z)(ee.value.preText)), 1)]), key: "1" } : void 0, "outer" != ee.value.iconPosition && (ee.value.sufIconType && ee.value.sufIconValue || ee.value.sufText) ? { name: "suffix", fn: y(() => [ee.value.sufIconType && ee.value.sufIconValue ? (s(), r(v(k), { key: 0, style: { cursor: "pointer" }, iconType: ee.value.sufIconType, iconValue: ee.value.sufIconValue, onClick: l2[2] || (l2[2] = (t3) => v(R)(K.value, e2.pageContext, e2.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(z)(ee.value.sufText)), 1)]), key: "2" } : void 0, ue.value || "outer" == ee.value.iconPosition && (ee.value.sufIconType && ee.value.sufIconValue || ee.value.sufText) ? { name: "append", fn: y(() => [ue.value ? (s(), r(v(k), { key: 0, style: { cursor: "pointer" }, iconValue: "fa-barcode", onClick: l2[3] || (l2[3] = (e3) => ye()) })) : g("", true), ee.value.sufIconType && ee.value.sufIconValue ? (s(), r(v(k), { key: 1, style: { cursor: "pointer" }, iconType: ee.value.sufIconType, iconValue: ee.value.sufIconValue, onClick: l2[4] || (l2[4] = (t3) => v(R)(K.value, e2.pageContext, e2.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(z)(ee.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "type", "modelValue"]), fe.value ? (s(), r(o2, { key: 0, onClose: me, onCancel: l2[12] || (l2[12] = (e3) => fe.value = false) })) : g("", true)]), _: 2 }, [ee.value.tittleShow ? { name: "label", fn: y(() => [C("div", { ref_key: "titleRef", ref: Y, class: "amb-form-item-label", style: p({ ...v(pe), ...v(ce) }) }, [ee.value.prefixType ? (s(), r(q, { key: 0, pageContext: e2.pageContext, property: ee.value }, null, 8, ["pageContext", "property"])) : (s(), T(I, { key: 1 }, [d(x(v(z)(ee.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
|
|
77
77
|
};
|
|
78
78
|
} });
|
|
79
79
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as a, resolveComponent as u,
|
|
1
|
+
import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as a, resolveComponent as u, createElementBlock as i, createBlock as o, openBlock as s, normalizeStyle as p, normalizeClass as r, unref as f, createElementVNode as c, toDisplayString as v, createSlots as y, withCtx as g, createCommentVNode as m, createTextVNode as d } from "vue";
|
|
2
2
|
import { getFormModelFields as x } from "../../../../utils/page-init-util.js";
|
|
3
3
|
import { getVariableValue as h, formatValueByType as w } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { SuperIcon as T } from "agilebuilder-ui";
|
|
@@ -30,7 +30,7 @@ const b = { style: { width: "100%", "text-align": "center", "font-weight": "700"
|
|
|
30
30
|
B.value = e3 || [];
|
|
31
31
|
} }), (t2, l2) => {
|
|
32
32
|
const n2 = u("el-form-item");
|
|
33
|
-
return W.value.whetherTitle || W.value.whetherTittle ? (
|
|
33
|
+
return W.value.whetherTitle || W.value.whetherTittle ? (s(), i("div", { key: 0, ref_key: "titleRef", ref: L, class: r(f(z)), style: p(f(A)) }, [c("div", b, v(f(I)(W.value.title)), 1)], 6)) : W.value.tittleShow ? (s(), o(n2, { key: 1, ref_key: "formItemRef", ref: J, required: !!W.value.required, class: r([f(z), W.value.contentAlign ? "form-item-align-" + W.value.contentAlign : "formNo" === W.value.showType ? "form-item-align-flex-end" : ""]), "label-width": W.value.labelWidth, style: p(f(A)) }, y({ default: g(() => [c("div", { style: { display: "flex", width: "100%", "justify-content": "space-between" }, ref_key: "componentRef", ref: K, onClick: l2[0] || (l2[0] = (t3) => f(_)(t3, e2.pageContext, e2.configure, "click")) }, [c("span", V, [W.value.preIconValue || W.value.preText ? (s(), i("span", { key: 0, class: r({ "el-input__suffix": "outer" != W.value.iconPosition, "el-input-group__append": "outer" == W.value.iconPosition }), style: p(f(F)) }, [W.value.preIconType && W.value.preIconValue ? (s(), o(f(T), { key: 0, iconType: W.value.preIconType, iconValue: W.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + v(f(I)(W.value.preText)), 1)], 6)) : m("", true), d(" " + v(H.value), 1)]), W.value.sufIconValue || W.value.sufText ? (s(), i("span", { key: 0, class: r({ "el-input__suffix": "outer" != W.value.iconPosition, "el-input-group__append": "outer" == W.value.iconPosition }) }, [W.value.sufIconType && W.value.sufIconValue ? (s(), o(f(T), { key: 0, style: {}, iconType: W.value.sufIconType, iconValue: W.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : m("", true), c("span", null, " " + v(f(I)(W.value.sufText)), 1)], 2)) : m("", true)], 512)]), _: 2 }, [W.value.tittleShow ? { name: "label", fn: g(() => [c("div", { ref_key: "titleRef", ref: L, style: p({ ...f(D), ...f(N) }) }, v(f(I)(W.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])) : (s(), i("span", { key: 2, style: { display: "flex", "justify-content": "space-between" }, onClick: l2[1] || (l2[1] = (t3) => f(_)(t3, e2.pageContext, e2.configure, "click")) }, [c("span", { style: { overflow: "hidden", "white-space": "nowrap" }, title: H.value }, v(W.value.prefixIcon) + " " + v(H.value), 9, j), W.value.suffixTxt ? (s(), i("span", { key: 0, class: r(f(E)), style: p(f(F)) }, v(f(I)(W.value.suffixTxt)), 7)) : m("", true)]));
|
|
34
34
|
};
|
|
35
35
|
} });
|
|
36
36
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as l, onMounted as a, nextTick as i, resolveComponent as n,
|
|
1
|
+
import { defineComponent as e, ref as t, computed as l, onMounted as a, nextTick as i, resolveComponent as n, createBlock as u, openBlock as o, normalizeStyle as r, normalizeClass as s, unref as p, createSlots as f, withCtx as c, createVNode as m, createCommentVNode as d, createTextVNode as g, toDisplayString as v, createElementVNode as y } from "vue";
|
|
2
2
|
import { getFormModelFields as b } from "../../../../utils/page-init-util.js";
|
|
3
3
|
import { getVariableValue as k } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { handleAfterInitEvent as x, handleEvent as C } from "../../../../utils/events/event-util.js";
|
|
@@ -35,7 +35,7 @@ const T = e({ __name: "link-runtime", props: { pageContext: {}, configure: {} },
|
|
|
35
35
|
});
|
|
36
36
|
}), (t2, l2) => {
|
|
37
37
|
const a2 = n("el-link"), i2 = n("el-tooltip"), b2 = n("el-form-item");
|
|
38
|
-
return
|
|
38
|
+
return o(), u(b2, { ref_key: "formItemRef", ref: A, class: s(p(I)), "label-width": S.value.labelWidth, style: r(p(V)) }, f({ default: c(() => [m(i2, { disabled: !p(z), content: p(z) }, { default: c(() => [m(a2, { ref_key: "componentRef", ref: B, disabled: "disabled" === S.value.state, type: S.value.type ? S.value.type : "primary", underline: S.value.underline, onClick: l2[0] || (l2[0] = (t3) => p(C)(t3, e2.pageContext, e2.configure, "click", { skipValidate: true })) }, { default: c(() => [$.value ? (o(), u(p(h), { key: 0, iconType: $.value.iconType, iconValue: $.value.icon }, null, 8, ["iconType", "iconValue"])) : d("", true), g(" " + v(J.value), 1)]), _: 1 }, 8, ["disabled", "type", "underline"])]), _: 1 }, 8, ["disabled", "content"])]), _: 2 }, [S.value.tittleShow ? { name: "label", fn: c(() => [y("div", { ref_key: "titleRef", ref: E, style: r({ ...p(P) }), class: "amb-form-item-label" }, v(p(_)(S.value.title)), 5)]), key: "0" } : void 0]), 1032, ["class", "label-width", "style"]);
|
|
39
39
|
};
|
|
40
40
|
} });
|
|
41
41
|
export {
|