super-page-runtime 2.3.36-sit2 → 2.3.37-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/events/validator-util.js +125 -87
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +3 -1
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +16 -11
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +69 -66
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +36 -33
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +35 -35
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +41 -41
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +59 -59
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +36 -36
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +57 -57
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +19 -19
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +59 -59
- 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-runtime.vue2.js +24 -24
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +25 -25
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +48 -48
- 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 +106 -106
- 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-runtime.vue2.js +87 -87
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +2 -2
- 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-runtime.vue2.js +19 -19
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +94 -90
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +30 -18
- 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-runtime.vue2.js +26 -18
- package/dist/es/components/runtime/views/super-page.vue.js +1 -1
- package/dist/es/components/runtime/views/super-page.vue2.js +9 -3
- package/dist/es/style.css +166 -158
- package/package.json +2 -2
package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js
CHANGED
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, watch as t, onMounted as o, nextTick as i, onUnmounted as a, resolveComponent as n, createBlock as u, createCommentVNode as r, openBlock as s, normalizeStyle as p, normalizeClass as d, unref as f,
|
|
2
|
-
import { getVariableValue as
|
|
3
|
-
import { handleAfterInitEvent as
|
|
4
|
-
import
|
|
5
|
-
import { FsUploadNew as
|
|
6
|
-
import
|
|
7
|
-
import { $t as
|
|
8
|
-
import { addRequiredClassUtil as
|
|
9
|
-
import { getRelativeBaseUrl as
|
|
10
|
-
const
|
|
1
|
+
import { defineComponent as e, ref as l, watch as t, onMounted as o, nextTick as i, onUnmounted as a, resolveComponent as n, createBlock as u, createCommentVNode as r, openBlock as s, normalizeStyle as p, normalizeClass as d, unref as f, createSlots as m, withCtx as v, createElementVNode as c, toDisplayString as g } from "vue";
|
|
2
|
+
import { getVariableValue as h, setVariableValue as y } from "../../../../utils/page-helper-util.js";
|
|
3
|
+
import { handleAfterInitEvent as C, fileUploadBeforeUpload as w, fileUploadUploaded as b, fileUploadBeforeDelete as x, fileUploadDeleted as k } from "../../../../utils/events/event-util.js";
|
|
4
|
+
import I from "agilebuilder-ui/src/utils/request";
|
|
5
|
+
import { FsUploadNew as P } from "agilebuilder-ui";
|
|
6
|
+
import S from "../../../../utils/eventBus.js";
|
|
7
|
+
import { $t as N } from "../../../../utils/i18n-util.js";
|
|
8
|
+
import { addRequiredClassUtil as T } from "../../../../utils/common-util.js";
|
|
9
|
+
import { getRelativeBaseUrl as _ } from "agilebuilder-ui/src/utils/common-util";
|
|
10
|
+
const j = e({ __name: "fileupload-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: j2 }) {
|
|
11
11
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
12
|
-
const
|
|
13
|
-
let
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
const z = e2, R = l(null), F = z.configure.runtime ? z.configure.runtime : {}, D = l(F.props ? F.props : {}), O = F.style, q = F.class, W = F.headerStyle, $ = F.titleExceedStyle, A = z.pageContext.entity ? z.pageContext.entity : {}, E = z.configure.props.base ? z.configure.props.base : {}, U = Y(E.prop), B = Y(E.propName);
|
|
13
|
+
let G = l({});
|
|
14
|
+
G.value.isShowWatermark = void 0 === ((_b = (_a = z.configure.props) == null ? void 0 : _a.watermark) == null ? void 0 : _b.isShowWatermark) ? "true" : ((_c = z.configure.props) == null ? void 0 : _c.watermark.isShowWatermark) + "", G.value.content = ((_e = (_d = z.configure.props) == null ? void 0 : _d.watermark) == null ? void 0 : _e.content) ? (_g = (_f = z.configure.props) == null ? void 0 : _f.watermark) == null ? void 0 : _g.content : "", U && U.length > 1 && t(() => z.pageContext.entity[U[0]][U[1]], (e3) => {
|
|
15
|
+
X(h(A, U));
|
|
16
16
|
});
|
|
17
|
-
const
|
|
18
|
-
function
|
|
17
|
+
const H = z.pageContext.code, J = l(U ? H + "__" + U.join("__") : null), K = h(A, U), L = l(null), M = l(false), Q = l([]), V = l({});
|
|
18
|
+
function X(e3) {
|
|
19
19
|
if (e3) {
|
|
20
20
|
const l2 = e3.split(",");
|
|
21
21
|
if (l2.length > 0) {
|
|
22
|
-
const e4 =
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
const e4 = _(window.$vueApp.config.globalProperties.baseAPI) + "/component/fs-upload/search-file-metadata";
|
|
23
|
+
I.post(e4, l2).then((e5) => {
|
|
24
|
+
Q.value = [];
|
|
25
25
|
const t2 = [], o2 = {};
|
|
26
26
|
e5.forEach((e6) => {
|
|
27
27
|
o2[e6.uuid] = e6;
|
|
28
28
|
});
|
|
29
29
|
for (let e6 = 0; e6 < l2.length; e6++) {
|
|
30
30
|
const i2 = l2[e6];
|
|
31
|
-
t2.push(o2[i2].fileName),
|
|
31
|
+
t2.push(o2[i2].fileName), Q.value.push({ showName: o2[i2].fileName, serverPath: i2, fileSize: o2[i2].fileSize });
|
|
32
32
|
}
|
|
33
|
-
"input" ===
|
|
33
|
+
"input" === D.value.displayType && (V.value.showName = t2.join(","), V.value.serverPath = l2.join(","));
|
|
34
34
|
}).finally(() => {
|
|
35
|
-
|
|
35
|
+
M.value = true;
|
|
36
36
|
});
|
|
37
|
-
} else
|
|
38
|
-
} else
|
|
37
|
+
} else M.value = true;
|
|
38
|
+
} else Q.value = [], V.value = {}, M.value = true;
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function Y(e3) {
|
|
41
41
|
return e3 ? (e3.startsWith("${") && (e3 = e3.substring(2, e3.length - 1)), e3.split(".")) : [];
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
|
|
45
|
-
return -1 ===
|
|
43
|
+
function Z(e3) {
|
|
44
|
+
z.pageContext.fileuploadInfo || (z.pageContext.fileuploadInfo = []);
|
|
45
|
+
return -1 === z.pageContext.fileuploadInfo.findIndex((e4) => e4.uuid === z.configure.uuid) && z.pageContext.fileuploadInfo.push({ uuid: z.configure.uuid, label: N(D.value.title) }), w(e3);
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
if (
|
|
49
|
-
const e3 =
|
|
50
|
-
-1 !== e3 &&
|
|
47
|
+
function ee() {
|
|
48
|
+
if (z.pageContext.fileuploadInfo && z.configure.uuid) {
|
|
49
|
+
const e3 = z.pageContext.fileuploadInfo.findIndex((e4) => e4.uuid === z.configure.uuid);
|
|
50
|
+
-1 !== e3 && z.pageContext.fileuploadInfo.splice(e3, 1);
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
function
|
|
54
|
-
|
|
53
|
+
function le(e3) {
|
|
54
|
+
ee();
|
|
55
55
|
}
|
|
56
|
-
|
|
57
|
-
const
|
|
56
|
+
X(K);
|
|
57
|
+
const te = (e3, l2, t2) => {
|
|
58
58
|
var o2;
|
|
59
|
-
|
|
60
|
-
},
|
|
61
|
-
const l2 = (t2 = { file: e3 },
|
|
59
|
+
ee(), ie(), o2 = { response: e3, uploadFile: l2, uploadFiles: t2 }, b(z.pageContext, z.configure, o2);
|
|
60
|
+
}, oe = (e3) => {
|
|
61
|
+
const l2 = (t2 = { file: e3 }, x(z.pageContext, z.configure, t2));
|
|
62
62
|
var t2;
|
|
63
|
-
(l2 || void 0 === l2) && (
|
|
64
|
-
|
|
63
|
+
(l2 || void 0 === l2) && (ie(), function(e4) {
|
|
64
|
+
k(z.pageContext, z.configure, e4);
|
|
65
65
|
}({ file: e3 }));
|
|
66
|
-
},
|
|
66
|
+
}, ie = () => {
|
|
67
67
|
const e3 = [], l2 = [];
|
|
68
|
-
if (
|
|
69
|
-
const e4 =
|
|
70
|
-
for (let l3 = 0; l3 < e4; l3++)
|
|
68
|
+
if (D.value.limit && Q.value.length > D.value.limit) {
|
|
69
|
+
const e4 = Q.value.length - D.value.limit;
|
|
70
|
+
for (let l3 = 0; l3 < e4; l3++) Q.value.shift();
|
|
71
71
|
}
|
|
72
|
-
for (let t2 = 0; t2 <
|
|
73
|
-
|
|
74
|
-
},
|
|
72
|
+
for (let t2 = 0; t2 < Q.value.length; t2++) e3.push(Q.value[t2].showName), l2.push(Q.value[t2].serverPath);
|
|
73
|
+
y(z.pageContext.entity, U, l2.join(",")), y(z.pageContext.entity, B, e3.join(",")), l2.length > 0 && (R.value = "");
|
|
74
|
+
}, ae = l(null), ne = l(null);
|
|
75
75
|
return o(() => {
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
S.$on(J.value + "-pickFileDone", (e3) => {
|
|
77
|
+
L.value.pickFileDone(e3);
|
|
78
78
|
}), i(() => {
|
|
79
|
-
const e3 =
|
|
80
|
-
|
|
79
|
+
const e3 = h(A, U), l2 = { showName: h(A, B), serverPath: e3 };
|
|
80
|
+
C(l2, z.pageContext, z.configure, { formItemRef: ae.value, componentRef: L.value, titleRef: ne.value, value: l2, entity: z.pageContext.entity.data, pageData: z.pageContext.entity.page });
|
|
81
81
|
});
|
|
82
82
|
}), a(() => {
|
|
83
|
-
|
|
84
|
-
}),
|
|
85
|
-
|
|
83
|
+
S.$off(J.value + "-pickFileDone");
|
|
84
|
+
}), j2({ addRequiredClass: function() {
|
|
85
|
+
R.value = T();
|
|
86
86
|
} }), (e3, l2) => {
|
|
87
87
|
const t2 = n("el-form-item");
|
|
88
|
-
return
|
|
88
|
+
return D.value.tittleShow ? (s(), u(t2, { key: 0, ref_key: "formItemRef", ref: ae, required: D.value.required, class: d(f(q) + (R.value ? " " + R.value : "")), "label-width": D.value.labelWidth, style: p(f(O)) }, m({ default: v(() => [M.value ? (s(), u(f(P), { key: 0, ref_key: "fileUploadRef", ref: L, style: { width: "100%" }, disabled: "disabled" === D.value.state, displayType: D.value.displayType, accept: D.value.accept, multiple: D.value.multiple, placeholder: D.value.placeholder, limit: D.value.limit, "limit-file-size": D.value.limitFileSize, "disabled-no-preview": D.value.disabledNoPreview, "disabled-no-download": D.value.disabledNoDownload, openCameraOrChoosePhoto: D.value.openCameraOrChoosePhoto, "sort-type": D.value.sortType, "file-info": V.value, "file-list": Q.value, "system-code": e3.pageContext.systemCode, componentId: J.value, watermark: f(G), "on-success": te, "on-remove": oe, "before-upload": Z, "on-error": le, pageContext: e3.pageContext, "file-show-type": D.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 }, [D.value.tittleShow ? { name: "label", fn: v(() => [c("div", { ref_key: "titleRef", ref: ne, style: p({ ...f(W), ...f($) }) }, g(f(N)(D.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])) : M.value ? (s(), u(f(P), { key: 1, ref_key: "fileUploadRef", ref: L, style: { width: "100%" }, disabled: "disabled" === D.value.state, displayType: D.value.displayType, accept: D.value.accept, multiple: D.value.multiple, placeholder: D.value.placeholder, limit: D.value.limit, "limit-file-size": D.value.limitFileSize, "disabled-no-preview": D.value.disabledNoPreview, "disabled-no-download": D.value.disabledNoDownload, openCameraOrChoosePhoto: D.value.openCameraOrChoosePhoto, "sort-type": D.value.sortType, "file-info": V.value, "file-list": Q.value, "system-code": e3.pageContext.systemCode, componentId: J.value, watermark: f(G), "on-success": te, "on-remove": oe, "before-upload": Z, "on-error": le, pageContext: e3.pageContext, "file-show-type": D.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);
|
|
89
89
|
};
|
|
90
90
|
} });
|
|
91
91
|
export {
|
|
92
|
-
|
|
92
|
+
j as default
|
|
93
93
|
};
|
package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
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,
|
|
2
|
-
import { getFormModelFields as
|
|
3
|
-
import { setVariableValue as
|
|
4
|
-
import { handleAfterInitEvent as
|
|
5
|
-
import
|
|
6
|
-
import { $t as
|
|
7
|
-
import { addRequiredClassUtil as
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
let
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
} }),
|
|
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
|
+
import { getFormModelFields as C } from "../../../../utils/page-init-util.js";
|
|
3
|
+
import { setVariableValue as h, getVariableValue as b } from "../../../../utils/page-helper-util.js";
|
|
4
|
+
import { handleAfterInitEvent as R, handleFormEvent as j } from "../../../../utils/events/event-util.js";
|
|
5
|
+
import k from "../common/title-suffix-element.vue.js";
|
|
6
|
+
import { $t as _ } from "../../../../utils/i18n-util.js";
|
|
7
|
+
import { addRequiredClassUtil as q } from "../../../../utils/common-util.js";
|
|
8
|
+
const w = e({ __name: "input-number-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: w2 }) {
|
|
9
|
+
const z = e2, S = t(null), V = z.pageContext.entity ? z.pageContext.entity : {};
|
|
10
|
+
let B = C(z.pageContext, z.configure);
|
|
11
|
+
const I = l({ get: () => b(V, B), set(e3) {
|
|
12
|
+
h(V, B, e3), null != e3 && (S.value = "");
|
|
13
|
+
} }), D = z.configure.runtime ? z.configure.runtime : {}, E = D.style, F = D.class, T = D.headerStyle, U = D.titleExceedStyle, W = t(D.props ? D.props : {}), A = t(null), G = t(null), H = t(null);
|
|
14
14
|
return o(() => {
|
|
15
15
|
a(() => {
|
|
16
|
-
const e3 =
|
|
17
|
-
|
|
16
|
+
const e3 = I.value;
|
|
17
|
+
R(e3, z.pageContext, z.configure, { formItemRef: A.value, componentRef: G.value, titleRef: H.value, value: e3, entity: z.pageContext.entity.data, pageData: z.pageContext.entity.page });
|
|
18
18
|
});
|
|
19
|
-
}),
|
|
20
|
-
|
|
19
|
+
}), w2({ addRequiredClass: function() {
|
|
20
|
+
S.value = q();
|
|
21
21
|
} }), (e3, t2) => {
|
|
22
22
|
const l2 = n("el-input-number"), o2 = n("el-form-item");
|
|
23
|
-
return i(), u(o2, { ref_key: "formItemRef", ref:
|
|
23
|
+
return i(), u(o2, { 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(l2, { ref_key: "componentRef", ref: G, disabled: "disabled" === W.value.state, readonly: "readonly" === W.value.state, controls: W.value.showButton, size: W.value.size, placeholder: W.value.placeholder, modelValue: I.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => I.value = e4), precision: W.value.precision, step: W.value.step, min: W.value.min, max: W.value.max, onChange: t2[1] || (t2[1] = (t3) => p(j)(t3, e3.pageContext, e3.configure, "change")), onBlur: t2[2] || (t2[2] = (t3) => p(j)(t3, e3.pageContext, e3.configure, "blur")), onFocus: t2[3] || (t2[3] = (t3) => p(j)(t3, e3.pageContext, e3.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) }) }, [W.value.prefixType ? (i(), u(k, { key: 0, pageContext: e3.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 {
|
|
27
|
-
|
|
27
|
+
w as default
|
|
28
28
|
};
|
package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js
CHANGED
|
@@ -1,81 +1,81 @@
|
|
|
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,
|
|
2
|
-
import { SuperIcon as
|
|
3
|
-
import { getFormModelFields as
|
|
4
|
-
import { getModelFieldFromPageContext as
|
|
5
|
-
import { handleFormEvent as
|
|
6
|
-
import { formatScanRuleSets as
|
|
7
|
-
import
|
|
8
|
-
import { isMobileBrowser as
|
|
9
|
-
import
|
|
10
|
-
import { $t as
|
|
11
|
-
import { addRequiredClassUtil as
|
|
12
|
-
const
|
|
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 g, createCommentVNode as m, createTextVNode as d, toDisplayString as x, createElementVNode as C, createElementBlock as I, Fragment as T } from "vue";
|
|
2
|
+
import { SuperIcon as k } from "agilebuilder-ui";
|
|
3
|
+
import { getFormModelFields as w } from "../../../../utils/page-init-util.js";
|
|
4
|
+
import { getModelFieldFromPageContext as V, isNumberDataType as h, setVariableValue as b, getVariableValue as _ } from "../../../../utils/page-helper-util.js";
|
|
5
|
+
import { handleFormEvent as S, handleAfterInitEvent as j, doSuffixOrPrefixClickEvent as R } from "../../../../utils/events/event-util.js";
|
|
6
|
+
import { formatScanRuleSets as O, analysisScanValue as P, setScanAnalysisValue as q } from "../../../../utils/form/scan-util.js";
|
|
7
|
+
import D from "../common/title-suffix-element.vue.js";
|
|
8
|
+
import { isMobileBrowser as M } from "agilebuilder-ui/src/utils/common-util";
|
|
9
|
+
import N from "../../../../utils/eventBus.js";
|
|
10
|
+
import { $t as z } from "../../../../utils/i18n-util.js";
|
|
11
|
+
import { addRequiredClassUtil as J } from "../../../../utils/common-util.js";
|
|
12
|
+
const L = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: L2 }) {
|
|
13
13
|
var _a, _b, _c;
|
|
14
|
-
const
|
|
15
|
-
let
|
|
16
|
-
if (
|
|
17
|
-
const e3 =
|
|
18
|
-
e3 && (
|
|
14
|
+
const B = e2, F = B.pageContext.entity ? B.pageContext.entity : {}, $ = t("text");
|
|
15
|
+
let A = w(B.pageContext, B.configure);
|
|
16
|
+
if (B.pageContext.modelFieldsMap) {
|
|
17
|
+
const e3 = V(A, B.pageContext);
|
|
18
|
+
e3 && ($.value = h(e3.dataType) ? "number" : "text");
|
|
19
19
|
}
|
|
20
|
-
const
|
|
21
|
-
|
|
22
|
-
} }),
|
|
23
|
-
let
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
let
|
|
27
|
-
|
|
28
|
-
const
|
|
29
|
-
let
|
|
30
|
-
((_b =
|
|
31
|
-
|
|
32
|
-
}), u(() =>
|
|
20
|
+
const E = t(M()), H = B.pageContext.code, U = t(A && A.length > 0 ? H + "__" + A.join("__") : null), W = t(null), G = l({ get: () => _(F, A), set(e3) {
|
|
21
|
+
b(F, A, e3), null != e3 && "" !== e3 && (W.value = "");
|
|
22
|
+
} }), K = t(null), Q = t(null), X = t(null), Y = B.configure.runtime ? B.configure.runtime : {}, Z = t(Y.props ? Y.props : {}), ee = t(!!((_a = Z.value.scan) == null ? void 0 : _a.enable));
|
|
23
|
+
let te = false;
|
|
24
|
+
const le = window.localStorage.getItem("auth_source");
|
|
25
|
+
le && "dingtalk" === le && (te = true);
|
|
26
|
+
let ne = "";
|
|
27
|
+
ne = navigator.userAgent.indexOf("Html5Plus") > 0 ? "app" : "browser";
|
|
28
|
+
const oe = !(!E.value || !ne || "app" !== ne), ae = t(!!((oe || te) && ee.value || E.value && ee.value && "https:" === window.location.protocol));
|
|
29
|
+
let ue = {};
|
|
30
|
+
((_b = Z.value.scan) == null ? void 0 : _b.enable) && ((_c = Z.value.scan.ruleList) == null ? void 0 : _c.length) > 0 && (O(Z.value.scan.ruleList).then((e3) => {
|
|
31
|
+
ue = e3;
|
|
32
|
+
}), u(() => G.value, (e3) => {
|
|
33
33
|
e3 = e3.trim();
|
|
34
|
-
const t2 =
|
|
35
|
-
t2 &&
|
|
34
|
+
const t2 = P(e3, ue);
|
|
35
|
+
t2 && q(B.pageContext, t2.scanSet, t2.params);
|
|
36
36
|
}));
|
|
37
|
-
const
|
|
38
|
-
function
|
|
39
|
-
return
|
|
37
|
+
const ie = Y.style, re = Y.class, se = Y.headerStyle, pe = Y.titleExceedStyle;
|
|
38
|
+
function ce(e3) {
|
|
39
|
+
return b(F, A, e3);
|
|
40
40
|
}
|
|
41
41
|
n(() => {
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
N.$on(U.value + "-scanDone", (e3) => {
|
|
43
|
+
ce(e3.result), S(e3.result, B.pageContext, B.configure, "afterScanDone");
|
|
44
44
|
}), o(() => {
|
|
45
45
|
var _a2;
|
|
46
|
-
const e3 =
|
|
47
|
-
|
|
46
|
+
const e3 = G.value;
|
|
47
|
+
j(e3, B.pageContext, B.configure, { formItemRef: K.value, componentRef: Q.value, titleRef: X.value, value: e3, entity: B.pageContext.entity.data, pageData: B.pageContext.entity.page }), ae.value && ((_a2 = Z.value.scan) == null ? void 0 : _a2.autoOpen) && fe();
|
|
48
48
|
});
|
|
49
49
|
}), a(() => {
|
|
50
|
-
|
|
50
|
+
N.$off(U.value + "-scanDone");
|
|
51
51
|
});
|
|
52
|
-
const
|
|
53
|
-
function
|
|
54
|
-
if (
|
|
55
|
-
const e3 = { type: "scan", componentId:
|
|
56
|
-
|
|
57
|
-
} else if (
|
|
52
|
+
const ve = t(false);
|
|
53
|
+
function fe() {
|
|
54
|
+
if (oe || te) {
|
|
55
|
+
const e3 = { type: "scan", componentId: U.value, systemCode: B.pageContext.systemCode };
|
|
56
|
+
te && (e3.type = "dingTalkScan"), window.parent.parent ? window.parent.parent.postMessage(JSON.stringify(e3), "*") : window.parent && window.parent.postMessage(JSON.stringify(e3), "*");
|
|
57
|
+
} else if (E.value) if ("https:" === window.location.protocol) ve.value = true;
|
|
58
58
|
else {
|
|
59
|
-
const e3 = { type: "scan", componentId:
|
|
59
|
+
const e3 = { type: "scan", componentId: U.value, systemCode: B.pageContext.systemCode };
|
|
60
60
|
window.parent.postMessage(JSON.stringify(e3), "*");
|
|
61
61
|
}
|
|
62
|
-
else
|
|
62
|
+
else ve.value = true;
|
|
63
63
|
}
|
|
64
|
-
function
|
|
65
|
-
|
|
64
|
+
function ye(e3) {
|
|
65
|
+
ve.value = false, ce(e3);
|
|
66
66
|
}
|
|
67
|
-
return
|
|
68
|
-
return
|
|
69
|
-
}, setValue:
|
|
70
|
-
|
|
67
|
+
return L2({ getValue: function() {
|
|
68
|
+
return _(F, A);
|
|
69
|
+
}, setValue: ce, scanClick: fe, addRequiredClass: function() {
|
|
70
|
+
W.value = J();
|
|
71
71
|
} }), (e3, t2) => {
|
|
72
72
|
const l2 = i("el-input"), n2 = i("scan-code-input-browser"), o2 = i("el-form-item");
|
|
73
|
-
return s(), r(o2, { ref_key: "formItemRef", ref:
|
|
74
|
-
let t3 =
|
|
75
|
-
null != t3 && (t3 = t3.trim()),
|
|
76
|
-
}(e4)), onFocus: t2[9] || (t2[9] = (t3) => v(
|
|
73
|
+
return s(), r(o2, { ref_key: "formItemRef", ref: K, required: !!Z.value.required, class: c(v(re) + (W.value ? " " + W.value : "")), "label-width": Z.value.labelWidth, style: p(v(ie)) }, f({ default: y(() => [g(l2, { ref_key: "componentRef", ref: Q, disabled: "disabled" === Z.value.state, readonly: "readonly" === Z.value.state, size: Z.value.size, clearable: Z.value.clearable, placeholder: Z.value.placeholder, maxlength: Z.value.maxLength, "show-word-limit": Z.value.showInputNum, type: $.value, modelValue: G.value, "onUpdate:modelValue": t2[5] || (t2[5] = (e4) => G.value = e4), onInput: t2[6] || (t2[6] = (t3) => v(S)(t3, e3.pageContext, e3.configure, "input")), onChange: t2[7] || (t2[7] = (t3) => v(S)(t3, e3.pageContext, e3.configure, "change")), onBlur: t2[8] || (t2[8] = (e4) => function(e5) {
|
|
74
|
+
let t3 = _(F, A);
|
|
75
|
+
null != t3 && (t3 = t3.trim()), b(F, A, t3), S(e5, B.pageContext, B.configure, "blur");
|
|
76
|
+
}(e4)), onFocus: t2[9] || (t2[9] = (t3) => v(S)(t3, e3.pageContext, e3.configure, "focus")), onClick: t2[10] || (t2[10] = (t3) => v(S)(t3, e3.pageContext, e3.configure, "click")), onClear: t2[11] || (t2[11] = (t3) => v(S)(t3, e3.pageContext, e3.configure, "clear")) }, f({ _: 2 }, ["outer" != Z.value.iconPosition && (Z.value.preIconType && Z.value.preIconValue || Z.value.preText) ? { name: "prefix", fn: y(() => [Z.value.preIconType && Z.value.preIconValue ? (s(), r(v(k), { key: 0, style: { cursor: "pointer" }, iconType: Z.value.preIconType, iconValue: Z.value.preIconValue, onClick: t2[0] || (t2[0] = (t3) => v(R)(G.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + x(v(z)(Z.value.preText)), 1)]), key: "0" } : void 0, "outer" == Z.value.iconPosition && (Z.value.preIconType && Z.value.preIconValue || Z.value.preText) ? { name: "prepend", fn: y(() => [Z.value.preIconType && Z.value.preIconValue ? (s(), r(v(k), { key: 0, style: { cursor: "pointer" }, iconType: Z.value.preIconType, iconValue: Z.value.preIconValue, onClick: t2[1] || (t2[1] = (t3) => v(R)(G.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + x(v(z)(Z.value.preText)), 1)]), key: "1" } : void 0, "outer" != Z.value.iconPosition && (Z.value.sufIconType && Z.value.sufIconValue || Z.value.sufText) ? { name: "suffix", fn: y(() => [Z.value.sufIconType && Z.value.sufIconValue ? (s(), r(v(k), { key: 0, style: { cursor: "pointer" }, iconType: Z.value.sufIconType, iconValue: Z.value.sufIconValue, onClick: t2[2] || (t2[2] = (t3) => v(R)(G.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + x(v(z)(Z.value.sufText)), 1)]), key: "2" } : void 0, ae.value || "outer" == Z.value.iconPosition && (Z.value.sufIconType && Z.value.sufIconValue || Z.value.sufText) ? { name: "append", fn: y(() => [ae.value ? (s(), r(v(k), { key: 0, style: { cursor: "pointer" }, iconValue: "fa-barcode", onClick: t2[3] || (t2[3] = (e4) => fe()) })) : m("", true), Z.value.sufIconType && Z.value.sufIconValue ? (s(), r(v(k), { key: 1, style: { cursor: "pointer" }, iconType: Z.value.sufIconType, iconValue: Z.value.sufIconValue, onClick: t2[4] || (t2[4] = (t3) => v(R)(G.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + x(v(z)(Z.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "type", "modelValue"]), ve.value ? (s(), r(n2, { key: 0, onClose: ye })) : m("", true)]), _: 2 }, [Z.value.tittleShow ? { name: "label", fn: y(() => [C("div", { ref_key: "titleRef", ref: X, style: p({ ...v(se), ...v(pe) }) }, [Z.value.prefixType ? (s(), r(D, { key: 0, pageContext: e3.pageContext, property: Z.value }, null, 8, ["pageContext", "property"])) : (s(), I(T, { key: 1 }, [d(x(v(z)(Z.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
|
|
77
77
|
};
|
|
78
78
|
} });
|
|
79
79
|
export {
|
|
80
|
-
|
|
80
|
+
L as default
|
|
81
81
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./label-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-8357ca43"]]);
|
|
5
5
|
export {
|
|
6
6
|
t as default
|
|
7
7
|
};
|
|
@@ -1,36 +1,36 @@
|
|
|
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,
|
|
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
|
-
import { getVariableValue as
|
|
4
|
-
import { SuperIcon as
|
|
5
|
-
import { getCustomFunc as
|
|
6
|
-
import { $t as
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
let
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
let e3 =
|
|
13
|
-
if (
|
|
3
|
+
import { getVariableValue as h, formatValueByType as k } from "../../../../utils/page-helper-util.js";
|
|
4
|
+
import { SuperIcon as w } from "agilebuilder-ui";
|
|
5
|
+
import { getCustomFunc as T, handleAfterInitEvent as C, handleFormEvent as _ } from "../../../../utils/events/event-util.js";
|
|
6
|
+
import { $t as I } from "../../../../utils/i18n-util.js";
|
|
7
|
+
const b = { style: { width: "100%", "text-align": "center", "font-weight": "700", "font-size": "24px" } }, V = { style: { overflow: "hidden", "white-space": "nowrap" } }, j = ["title"], R = e({ __name: "label-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: R2 }) {
|
|
8
|
+
const S = e2, P = S.pageContext.entity ? S.pageContext.entity : {};
|
|
9
|
+
let q = x(S.pageContext, S.configure);
|
|
10
|
+
const O = S.configure.runtime ? S.configure.runtime : {}, A = O.style, z = O.class, D = O.headerStyle, E = O.appendClass, F = O.appendStyle, N = O.titleExceedStyle, W = t(O.props ? O.props : {});
|
|
11
|
+
const B = t(W.value.options ? W.value.options : []), G = W.value.formatType, H = l(() => {
|
|
12
|
+
let e3 = h(P, q);
|
|
13
|
+
if (G) if (W.value.hasOptions) {
|
|
14
14
|
let t2 = null;
|
|
15
|
-
|
|
16
|
-
} else if ("custom" ===
|
|
17
|
-
const t2 =
|
|
18
|
-
t2 && (e3 = t2.apply(t2, [{ pageContext:
|
|
19
|
-
} else e3 =
|
|
15
|
+
B.value && (t2 = B.value.filter((t3) => t3.value == e3)), t2 && t2.length > 0 && (e3 = t2[0].label);
|
|
16
|
+
} else if ("custom" === G) {
|
|
17
|
+
const t2 = T(S.pageContext, W.value.formatFunc);
|
|
18
|
+
t2 && (e3 = t2.apply(t2, [{ pageContext: S.pageContext, configureObj: S.configure, value: e3 }]));
|
|
19
|
+
} else e3 = k(e3, G, W.value);
|
|
20
20
|
return e3 = null == e3 ? "" : e3, e3;
|
|
21
|
-
}),
|
|
21
|
+
}), J = t(null), K = t(null), L = t(null);
|
|
22
22
|
return n(() => {
|
|
23
23
|
a(() => {
|
|
24
|
-
const e3 =
|
|
25
|
-
|
|
24
|
+
const e3 = H.value;
|
|
25
|
+
C(e3, S.pageContext, S.configure, { formItemRef: J.value, componentRef: K.value, titleRef: L.value, value: e3, entity: S.pageContext.entity.data, pageData: S.pageContext.entity.page });
|
|
26
26
|
});
|
|
27
|
-
}),
|
|
28
|
-
|
|
27
|
+
}), R2({ updateOptions: function(e3) {
|
|
28
|
+
B.value = e3 || [];
|
|
29
29
|
} }), (e3, t2) => {
|
|
30
30
|
const l2 = u("el-form-item");
|
|
31
|
-
return
|
|
31
|
+
return 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(W.value.title), 1)], 6)) : W.value.tittleShow ? (s(), o(l2, { 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: t2[0] || (t2[0] = (t3) => f(_)(t3, e3.pageContext, e3.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(w), { 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(w), { 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: t2[1] || (t2[1] = (t3) => f(_)(t3, e3.pageContext, e3.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(W.value.suffixTxt), 7)) : m("", true)]));
|
|
32
32
|
};
|
|
33
33
|
} });
|
|
34
34
|
export {
|
|
35
|
-
|
|
35
|
+
R as default
|
|
36
36
|
};
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as l, onMounted as i, nextTick as n, resolveComponent as a, createBlock as u, openBlock as o, normalizeStyle as r, normalizeClass as p, unref as s,
|
|
2
|
-
import { getFormModelFields as
|
|
3
|
-
import { getVariableValue as
|
|
4
|
-
import { handleAfterInitEvent as
|
|
5
|
-
import { $t as
|
|
6
|
-
import { SuperIcon as
|
|
7
|
-
import { analysisValue as
|
|
8
|
-
const
|
|
1
|
+
import { defineComponent as e, ref as t, computed as l, onMounted as i, nextTick as n, resolveComponent as a, createBlock as u, openBlock as o, normalizeStyle as r, normalizeClass as p, unref as s, createSlots as f, withCtx as c, createVNode as d, createCommentVNode as g, createTextVNode as m, toDisplayString as v, createElementVNode as y } from "vue";
|
|
2
|
+
import { getFormModelFields as k } from "../../../../utils/page-init-util.js";
|
|
3
|
+
import { getVariableValue as x } from "../../../../utils/page-helper-util.js";
|
|
4
|
+
import { handleAfterInitEvent as b, handleEvent as C } from "../../../../utils/events/event-util.js";
|
|
5
|
+
import { $t as _ } from "../../../../utils/i18n-util.js";
|
|
6
|
+
import { SuperIcon as h } from "agilebuilder-ui";
|
|
7
|
+
import { analysisValue as R } from "agilebuilder-ui/src/utils/util";
|
|
8
|
+
const T = e({ __name: "link-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
|
|
9
9
|
var _a;
|
|
10
|
-
const
|
|
11
|
-
((_a =
|
|
12
|
-
let
|
|
13
|
-
const
|
|
10
|
+
const T2 = e2, j = k(T2.pageContext, T2.configure), w = T2.configure.runtime ? T2.configure.runtime : {}, V = w.style, I = w.class, P = w.headerStyle, S = t(w.props ? w.props : {}), $ = t();
|
|
11
|
+
((_a = T2.configure.props) == null ? void 0 : _a.linkPage) && ($.value = T2.configure.props.linkPage);
|
|
12
|
+
let q = S.value.formatting;
|
|
13
|
+
const D = T2.pageContext.entity ? T2.pageContext.entity : {}, J = l(() => {
|
|
14
14
|
var _a2;
|
|
15
|
-
let e3 =
|
|
16
|
-
if (e3 = null == e3 || null == e3 ? "" : e3,
|
|
17
|
-
else if (
|
|
18
|
-
const e4 =
|
|
15
|
+
let e3 = x(D, j);
|
|
16
|
+
if (e3 = null == e3 || null == e3 ? "" : e3, q) e3 = q.replace(/\${value}/g, e3);
|
|
17
|
+
else if ($.value && $.value.displayTextJudge && ((_a2 = $.value.dynamicTags) == null ? void 0 : _a2.length) > 0) {
|
|
18
|
+
const e4 = R($.value.dynamicTags.join("-#-#"), D.data, D.request, D.context, T2.pageContext);
|
|
19
19
|
if (e4) return e4;
|
|
20
20
|
}
|
|
21
21
|
return e3;
|
|
22
22
|
});
|
|
23
|
-
let
|
|
24
|
-
|
|
25
|
-
let e3 =
|
|
26
|
-
return e3 = null == e3 || null == e3 ? "" : e3,
|
|
23
|
+
let W = S.value.tooltip, z = null;
|
|
24
|
+
W && (z = l(() => {
|
|
25
|
+
let e3 = x(D, j);
|
|
26
|
+
return e3 = null == e3 || null == e3 ? "" : e3, W.replace(/\${value}/g, e3);
|
|
27
27
|
}));
|
|
28
|
-
const
|
|
28
|
+
const A = t(null), B = t(null), E = t(null);
|
|
29
29
|
return i(() => {
|
|
30
30
|
n(() => {
|
|
31
|
-
const e3 =
|
|
32
|
-
|
|
31
|
+
const e3 = J.value;
|
|
32
|
+
b(e3, T2.pageContext, T2.configure, { formItemRef: A.value, componentRef: B.value, titleRef: E.value, value: e3, entity: T2.pageContext.entity.data, pageData: T2.pageContext.entity.page });
|
|
33
33
|
});
|
|
34
34
|
}), (e3, t2) => {
|
|
35
35
|
const l2 = a("el-link"), i2 = a("el-tooltip"), n2 = a("el-form-item");
|
|
36
|
-
return o(), u(n2, { ref_key: "formItemRef", ref:
|
|
36
|
+
return o(), u(n2, { ref_key: "formItemRef", ref: A, class: p(s(I)), "label-width": S.value.labelWidth, style: r(s(V)) }, f({ default: c(() => [d(i2, { disabled: !s(z), content: s(z) }, { default: c(() => [d(l2, { ref_key: "componentRef", ref: B, disabled: "disabled" === S.value.state, type: S.value.type, underline: S.value.underline, onClick: t2[0] || (t2[0] = (t3) => s(C)(t3, e3.pageContext, e3.configure, "click", { skipValidate: true })) }, { default: c(() => [$.value ? (o(), u(s(h), { key: 0, iconType: $.value.iconType, iconValue: $.value.icon }, null, 8, ["iconType", "iconValue"])) : g("", true), m(" " + 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({ ...s(P) }) }, v(s(_)(S.value.title)), 5)]), key: "0" } : void 0]), 1032, ["class", "label-width", "style"]);
|
|
37
37
|
};
|
|
38
38
|
} });
|
|
39
39
|
export {
|
|
40
|
-
|
|
40
|
+
T as default
|
|
41
41
|
};
|