super-page-runtime 2.3.36-sit2 → 2.3.37-cdn1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/runtime/utils/api/page-expose-util.js +131 -131
- package/dist/es/components/runtime/utils/events/event-util.js +114 -114
- package/dist/es/components/runtime/utils/events/print-label.js +34 -33
- package/dist/es/components/runtime/utils/events/standard-event.js +37 -37
- package/dist/es/components/runtime/utils/events/validator-util.js +231 -190
- package/dist/es/components/runtime/utils/page-init-util.js +28 -26
- package/dist/es/components/runtime/utils/table-utils.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/print-label/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-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +10 -6
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +8 -6
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +1 -1
- 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-runtime.vue2.js +26 -26
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +100 -93
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +3 -2
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +13 -13
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +11 -9
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +2 -0
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +17 -12
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +5 -5
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +11 -9
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +1 -1
- 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/data/tree/tree-runtime.vue2.js +16 -16
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +37 -37
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +46 -46
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +56 -56
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +36 -36
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +60 -59
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +21 -21
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +59 -58
- 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 +28 -26
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +28 -26
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +50 -50
- 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 +111 -111
- 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 +90 -89
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +7 -7
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +11 -11
- 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 +21 -21
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +105 -91
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +6 -3
- 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-box.vue2.js +41 -20
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +1 -1
- 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/home-chart.vue.js +7 -7
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +1 -0
- package/dist/es/components/runtime/views/super-page.vue.js +1 -1
- package/dist/es/components/runtime/views/super-page.vue2.js +28 -21
- package/dist/es/i18n/langs/cn.js +1 -1
- package/dist/es/i18n/langs/en.js +1 -1
- package/dist/es/style.css +168 -160
- package/package.json +2 -2
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onMounted as l, nextTick as o, computed as
|
|
2
|
-
import { getFormModelFields as
|
|
3
|
-
import { handleAfterInitEvent as
|
|
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
|
+
import { getFormModelFields as C } from "../../../../utils/page-init-util.js";
|
|
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";
|
|
5
5
|
import { $t as I } from "../../../../utils/i18n-util.js";
|
|
6
|
-
import { setVariableValue as
|
|
7
|
-
import { addRequiredClassUtil as
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
const
|
|
12
|
-
let
|
|
13
|
-
const
|
|
14
|
-
|
|
6
|
+
import { setVariableValue as k, getVariableValue as w, getFormPropName as z, getValueFromVariable as R } from "../../../../utils/page-helper-util.js";
|
|
7
|
+
import { addRequiredClassUtil as j } from "../../../../utils/common-util.js";
|
|
8
|
+
const _ = e({ __name: "depttree-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: _2 }) {
|
|
9
|
+
const T = e2, q = t(null), W = t([]), M = T.pageContext.entity ? T.pageContext.entity : {};
|
|
10
|
+
M.data || (M.data = {});
|
|
11
|
+
const O = M.data, $ = M.page;
|
|
12
|
+
let D = C(T.pageContext, T.configure);
|
|
13
|
+
const E = D.length > 0 ? D[D.length - 1] : T.configure.uuid, V = T.configure.runtime ? T.configure.runtime : {}, A = t(V.props ? V.props : {}), B = V.style, G = V.class, H = V.headerStyle, J = V.titleExceedStyle;
|
|
14
|
+
V.props.deptScope && ("field" == V.props.deptScope && V.props.deptScopeField ? (Z(), function(e3, t2) {
|
|
15
15
|
if (0 === e3.indexOf("${fixed.")) return;
|
|
16
16
|
const l2 = e3.match(/\${(.*?)}/);
|
|
17
17
|
if (!l2) return;
|
|
18
18
|
const o2 = l2 ? l2[1].split(".") : [];
|
|
19
|
-
o2 && o2.length > 0 &&
|
|
19
|
+
o2 && o2.length > 0 && n(() => o2.reduce((e4, t3) => e4[t3], T.pageContext.entity), (e4, l3) => {
|
|
20
20
|
t2(e4, l3);
|
|
21
21
|
});
|
|
22
|
-
}(
|
|
23
|
-
|
|
24
|
-
})) : "depts" ==
|
|
25
|
-
const
|
|
22
|
+
}(V.props.deptScopeField, (e3, t2) => {
|
|
23
|
+
Z();
|
|
24
|
+
})) : "depts" == V.props.deptScope && V.props.deptScopeCodes && (W.value = V.props.deptScopeCodes.split(",")));
|
|
25
|
+
const K = t(null), L = t(null), N = t(null);
|
|
26
26
|
l(() => {
|
|
27
27
|
o(() => {
|
|
28
|
-
const e3 =
|
|
29
|
-
|
|
28
|
+
const e3 = O ? O[E] : null;
|
|
29
|
+
S(e3, T.pageContext, T.configure, { formItemRef: K.value, componentRef: L.value, titleRef: N.value, value: e3, entity: T.pageContext.entity.data, pageData: T.pageContext.entity.page });
|
|
30
30
|
});
|
|
31
31
|
});
|
|
32
|
-
const
|
|
33
|
-
|
|
34
|
-
} }),
|
|
35
|
-
let
|
|
36
|
-
function
|
|
37
|
-
|
|
38
|
-
}
|
|
39
|
-
function X() {
|
|
40
|
-
S(null, _.pageContext, _.configure, "click");
|
|
32
|
+
const P = a({ get: () => w(M, D), set(e3) {
|
|
33
|
+
k(M, D, e3), null != e3 && (q.value = "");
|
|
34
|
+
} }), Q = A.value.autoSetFields ? A.value.autoSetFields : [];
|
|
35
|
+
let U = null;
|
|
36
|
+
function X(e3, t2) {
|
|
37
|
+
U ? U === e3 && (D.length > 0 ? b(w(M, D), T.pageContext, T.configure, "change") : b(t2, T.pageContext, T.configure, "change")) : e3 === E && b(t2, T.pageContext, T.configure, "change");
|
|
41
38
|
}
|
|
42
39
|
function Y() {
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
b(null, T.pageContext, T.configure, "click");
|
|
41
|
+
}
|
|
42
|
+
function Z() {
|
|
43
|
+
const e3 = R(T.pageContext.entity, V.props.deptScopeField);
|
|
44
|
+
W.value = e3 ? e3.split(",") : [];
|
|
45
45
|
}
|
|
46
|
-
return
|
|
47
|
-
|
|
48
|
-
} }), (
|
|
49
|
-
const
|
|
50
|
-
return u(), p(
|
|
46
|
+
return Q.length - 1 > 0 && Q[Q.length - 1] && Q[Q.length - 1].model && (U = z(Q[Q.length - 1].model)), _2({ addRequiredClass: function() {
|
|
47
|
+
q.value = j();
|
|
48
|
+
} }), (t2, l2) => {
|
|
49
|
+
const o2 = i("OrganizationInput"), a2 = i("el-form-item");
|
|
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 {
|
|
54
|
-
|
|
54
|
+
_ as default
|
|
55
55
|
};
|
|
@@ -14,9 +14,9 @@ const m = e({ __name: "divider-runtime", props: { pageContext: {}, configure: {}
|
|
|
14
14
|
const e3 = b.value;
|
|
15
15
|
v(e3, m2.pageContext, m2.configure, { componentRef: k.value, value: e3, entity: m2.pageContext.entity.data, pageData: m2.pageContext.entity.page });
|
|
16
16
|
});
|
|
17
|
-
}), (
|
|
18
|
-
const
|
|
19
|
-
return l(), u(
|
|
17
|
+
}), (t2, n2) => {
|
|
18
|
+
const o2 = i("el-divider");
|
|
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 {
|
package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js
CHANGED
|
@@ -1,93 +1,94 @@
|
|
|
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
|
|
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 p, normalizeStyle as s, 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 x, fileUploadBeforeDelete as b, 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) }), z.pageContext.fileuploadInfo, 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, 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
|
+
z.pageContext.fileuploadInfo;
|
|
52
53
|
}
|
|
53
|
-
function
|
|
54
|
-
|
|
54
|
+
function le(e3) {
|
|
55
|
+
ee();
|
|
55
56
|
}
|
|
56
|
-
|
|
57
|
-
const
|
|
57
|
+
X(K);
|
|
58
|
+
const te = (e3, l2, t2) => {
|
|
58
59
|
var o2;
|
|
59
|
-
|
|
60
|
-
},
|
|
61
|
-
const l2 = (t2 = { file: e3 }, b(
|
|
60
|
+
ee(), ie(), o2 = { response: e3, uploadFile: l2, uploadFiles: t2 }, x(z.pageContext, z.configure, o2);
|
|
61
|
+
}, oe = (e3) => {
|
|
62
|
+
const l2 = (t2 = { file: e3 }, b(z.pageContext, z.configure, t2));
|
|
62
63
|
var t2;
|
|
63
|
-
(l2 || void 0 === l2) && (
|
|
64
|
-
|
|
64
|
+
(l2 || void 0 === l2) && (ie(), function(e4) {
|
|
65
|
+
k(z.pageContext, z.configure, e4);
|
|
65
66
|
}({ file: e3 }));
|
|
66
|
-
},
|
|
67
|
+
}, ie = () => {
|
|
67
68
|
const e3 = [], l2 = [];
|
|
68
|
-
if (
|
|
69
|
-
const e4 =
|
|
70
|
-
for (let l3 = 0; l3 < e4; l3++)
|
|
69
|
+
if (D.value.limit && Q.value.length > D.value.limit) {
|
|
70
|
+
const e4 = Q.value.length - D.value.limit;
|
|
71
|
+
for (let l3 = 0; l3 < e4; l3++) Q.value.shift();
|
|
71
72
|
}
|
|
72
|
-
for (let t2 = 0; t2 <
|
|
73
|
-
|
|
74
|
-
},
|
|
73
|
+
for (let t2 = 0; t2 < Q.value.length; t2++) e3.push(Q.value[t2].showName), l2.push(Q.value[t2].serverPath);
|
|
74
|
+
y(z.pageContext.entity, U, l2.join(",")), y(z.pageContext.entity, B, e3.join(",")), l2.length > 0 && (R.value = "");
|
|
75
|
+
}, ae = l(null), ne = l(null);
|
|
75
76
|
return o(() => {
|
|
76
|
-
|
|
77
|
-
|
|
77
|
+
S.$on(J.value + "-pickFileDone", (e3) => {
|
|
78
|
+
J.value, L.value.pickFileDone(e3);
|
|
78
79
|
}), i(() => {
|
|
79
|
-
const e3 =
|
|
80
|
-
|
|
80
|
+
const e3 = h(A, U), l2 = { showName: h(A, B), serverPath: e3 };
|
|
81
|
+
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
82
|
});
|
|
82
83
|
}), a(() => {
|
|
83
|
-
|
|
84
|
-
}),
|
|
85
|
-
|
|
86
|
-
} }), (
|
|
87
|
-
const
|
|
88
|
-
return
|
|
84
|
+
S.$off(J.value + "-pickFileDone");
|
|
85
|
+
}), j2({ addRequiredClass: function() {
|
|
86
|
+
R.value = T();
|
|
87
|
+
} }), (l2, t2) => {
|
|
88
|
+
const o2 = n("el-form-item");
|
|
89
|
+
return D.value.tittleShow ? (p(), u(o2, { 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: s(f(O)) }, m({ default: v(() => [M.value ? (p(), 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": e2.pageContext.systemCode, componentId: J.value, watermark: f(G), "on-success": te, "on-remove": oe, "before-upload": Z, "on-error": le, pageContext: e2.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: s({ ...f(W), ...f($) }), class: "amb-form-item-label" }, g(f(N)(D.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])) : M.value ? (p(), 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": e2.pageContext.systemCode, componentId: J.value, watermark: f(G), "on-success": te, "on-remove": oe, "before-upload": Z, "on-error": le, pageContext: e2.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
90
|
};
|
|
90
91
|
} });
|
|
91
92
|
export {
|
|
92
|
-
|
|
93
|
+
j as default
|
|
93
94
|
};
|
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 b, getVariableValue as h } 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: () => h(V, B), set(e3) {
|
|
12
|
+
b(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
|
-
|
|
21
|
-
} }), (
|
|
22
|
-
const
|
|
23
|
-
return i(), u(
|
|
19
|
+
}), w2({ addRequiredClass: function() {
|
|
20
|
+
S.value = q();
|
|
21
|
+
} }), (t2, l2) => {
|
|
22
|
+
const o2 = n("el-input-number"), a2 = n("el-form-item");
|
|
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: 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 {
|
|
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,82 @@
|
|
|
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
|
|
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 m, createVNode as y, createCommentVNode as g, 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 N, setScanAnalysisValue as P } from "../../../../utils/form/scan-util.js";
|
|
7
7
|
import q from "../common/title-suffix-element.vue.js";
|
|
8
8
|
import { isMobileBrowser as D } from "agilebuilder-ui/src/utils/common-util";
|
|
9
|
-
import
|
|
10
|
-
import { $t as
|
|
9
|
+
import J from "../../../../utils/eventBus.js";
|
|
10
|
+
import { $t as M } from "../../../../utils/i18n-util.js";
|
|
11
11
|
import { addRequiredClassUtil as z } from "../../../../utils/common-util.js";
|
|
12
|
-
const
|
|
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
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
20
|
+
const E = t(D()), 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
|
+
const oe = navigator.userAgent;
|
|
28
|
+
ne = oe.indexOf("Html5Plus") > 0 ? "app" : "browser";
|
|
29
|
+
const ae = !(!E.value || !ne || "app" !== ne), ue = t(!!((ae || te) && ee.value || E.value && ee.value && "https:" === window.location.protocol));
|
|
30
|
+
let ie = {};
|
|
31
|
+
((_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) => {
|
|
32
|
+
ie = e3;
|
|
33
|
+
}), u(() => G.value, (e3) => {
|
|
33
34
|
e3 = e3.trim();
|
|
34
|
-
const t2 =
|
|
35
|
-
t2 && P(
|
|
35
|
+
const t2 = N(e3, ie);
|
|
36
|
+
t2 && P(B.pageContext, t2.scanSet, t2.params);
|
|
36
37
|
}));
|
|
37
|
-
const
|
|
38
|
-
function
|
|
39
|
-
return
|
|
38
|
+
const re = Y.style, se = Y.class, pe = Y.headerStyle, ce = Y.titleExceedStyle;
|
|
39
|
+
function ve(e3) {
|
|
40
|
+
return b(F, A, e3);
|
|
40
41
|
}
|
|
41
42
|
n(() => {
|
|
42
|
-
|
|
43
|
-
|
|
43
|
+
J.$on(U.value + "-scanDone", (e3) => {
|
|
44
|
+
U.value, JSON.stringify(e3), ve(e3.result), S(e3.result, B.pageContext, B.configure, "afterScanDone");
|
|
44
45
|
}), o(() => {
|
|
45
46
|
var _a2;
|
|
46
|
-
const e3 =
|
|
47
|
-
|
|
47
|
+
const e3 = G.value;
|
|
48
|
+
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 }), ue.value && ((_a2 = Z.value.scan) == null ? void 0 : _a2.autoOpen) && me();
|
|
48
49
|
});
|
|
49
50
|
}), a(() => {
|
|
50
|
-
|
|
51
|
+
J.$off(U.value + "-scanDone");
|
|
51
52
|
});
|
|
52
|
-
const
|
|
53
|
-
function
|
|
54
|
-
if (
|
|
55
|
-
const e3 = { type: "scan", componentId:
|
|
56
|
-
|
|
57
|
-
} else if (
|
|
53
|
+
const fe = t(false);
|
|
54
|
+
function me() {
|
|
55
|
+
if (ae || te) {
|
|
56
|
+
const e3 = { type: "scan", componentId: U.value, systemCode: B.pageContext.systemCode };
|
|
57
|
+
te && (e3.type = "dingTalkScan"), window.parent.parent ? (window.parent.parent, window.parent.parent.postMessage(JSON.stringify(e3), "*")) : window.parent && (window.parent, window.parent.postMessage(JSON.stringify(e3), "*"));
|
|
58
|
+
} else if (E.value) if ("https:" === window.location.protocol) fe.value = true;
|
|
58
59
|
else {
|
|
59
|
-
const e3 = { type: "scan", componentId:
|
|
60
|
+
const e3 = { type: "scan", componentId: U.value, systemCode: B.pageContext.systemCode };
|
|
60
61
|
window.parent.postMessage(JSON.stringify(e3), "*");
|
|
61
62
|
}
|
|
62
|
-
else
|
|
63
|
+
else fe.value = true;
|
|
63
64
|
}
|
|
64
|
-
function
|
|
65
|
-
|
|
65
|
+
function ye(e3) {
|
|
66
|
+
fe.value = false, ve(e3);
|
|
66
67
|
}
|
|
67
|
-
return
|
|
68
|
-
return
|
|
69
|
-
}, setValue:
|
|
70
|
-
|
|
71
|
-
} }), (
|
|
72
|
-
const
|
|
73
|
-
return s(), r(
|
|
74
|
-
let t3 =
|
|
75
|
-
null != t3 && (t3 = t3.trim()),
|
|
76
|
-
}(
|
|
68
|
+
return L2({ getValue: function() {
|
|
69
|
+
return _(F, A);
|
|
70
|
+
}, setValue: ve, scanClick: me, addRequiredClass: function() {
|
|
71
|
+
W.value = z();
|
|
72
|
+
} }), (t2, l2) => {
|
|
73
|
+
const n2 = i("el-input"), o2 = i("scan-code-input-browser"), a2 = i("el-form-item");
|
|
74
|
+
return s(), r(a2, { ref_key: "formItemRef", ref: K, required: !!Z.value.required, class: c(v(se) + (W.value ? " " + W.value : "")), "label-width": Z.value.labelWidth, style: p(v(re)) }, f({ default: m(() => [y(n2, { 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": l2[5] || (l2[5] = (e3) => G.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) {
|
|
75
|
+
let t3 = _(F, A);
|
|
76
|
+
null != t3 && (t3 = t3.trim()), b(F, A, t3), S(e4, B.pageContext, B.configure, "blur");
|
|
77
|
+
}(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" != Z.value.iconPosition && (Z.value.preIconType && Z.value.preIconValue || Z.value.preText) ? { name: "prefix", fn: m(() => [Z.value.preIconType && Z.value.preIconValue ? (s(), r(v(k), { key: 0, style: { cursor: "pointer" }, iconType: Z.value.preIconType, iconValue: Z.value.preIconValue, onClick: l2[0] || (l2[0] = (t3) => v(R)(G.value, e2.pageContext, e2.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(M)(Z.value.preText)), 1)]), key: "0" } : void 0, "outer" == Z.value.iconPosition && (Z.value.preIconType && Z.value.preIconValue || Z.value.preText) ? { name: "prepend", fn: m(() => [Z.value.preIconType && Z.value.preIconValue ? (s(), r(v(k), { key: 0, style: { cursor: "pointer" }, iconType: Z.value.preIconType, iconValue: Z.value.preIconValue, onClick: l2[1] || (l2[1] = (t3) => v(R)(G.value, e2.pageContext, e2.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(M)(Z.value.preText)), 1)]), key: "1" } : void 0, "outer" != Z.value.iconPosition && (Z.value.sufIconType && Z.value.sufIconValue || Z.value.sufText) ? { name: "suffix", fn: m(() => [Z.value.sufIconType && Z.value.sufIconValue ? (s(), r(v(k), { key: 0, style: { cursor: "pointer" }, iconType: Z.value.sufIconType, iconValue: Z.value.sufIconValue, onClick: l2[2] || (l2[2] = (t3) => v(R)(G.value, e2.pageContext, e2.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(M)(Z.value.sufText)), 1)]), key: "2" } : void 0, ue.value || "outer" == Z.value.iconPosition && (Z.value.sufIconType && Z.value.sufIconValue || Z.value.sufText) ? { name: "append", fn: m(() => [ue.value ? (s(), r(v(k), { key: 0, style: { cursor: "pointer" }, iconValue: "fa-barcode", onClick: l2[3] || (l2[3] = (e3) => me()) })) : g("", 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: l2[4] || (l2[4] = (t3) => v(R)(G.value, e2.pageContext, e2.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(M)(Z.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: ye })) : g("", true)]), _: 2 }, [Z.value.tittleShow ? { name: "label", fn: m(() => [C("div", { ref_key: "titleRef", ref: X, class: "amb-form-item-label", style: p({ ...v(pe), ...v(ce) }) }, [Z.value.prefixType ? (s(), r(q, { key: 0, pageContext: e2.pageContext, property: Z.value }, null, 8, ["pageContext", "property"])) : (s(), I(T, { key: 1 }, [d(x(v(M)(Z.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
|
|
77
78
|
};
|
|
78
79
|
} });
|
|
79
80
|
export {
|
|
80
|
-
|
|
81
|
+
L as default
|
|
81
82
|
};
|
|
@@ -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-40f0b5f4"]]);
|
|
5
5
|
export {
|
|
6
6
|
t as default
|
|
7
7
|
};
|