super-page-runtime 2.3.42 → 2.3.43-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/events/validator-util.js +164 -121
- package/dist/es/components/runtime/utils/page-init-util.js +35 -36
- 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-runtime.vue2.js +23 -24
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +4 -1
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +20 -11
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +52 -52
- 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 +91 -72
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +1 -2
- package/dist/es/i18n/langs/cn.js +1 -1
- package/dist/es/i18n/langs/en.js +1 -1
- package/dist/es/style.css +88 -69
- package/package.json +2 -2
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, watch as l, onMounted as n, nextTick as o, onBeforeUnmount as
|
|
1
|
+
import { defineComponent as e, ref as t, watch as l, onMounted as n, nextTick as o, onBeforeUnmount as r, resolveComponent as i, createElementBlock as a, openBlock as u, Fragment as s, createVNode as c, createBlock as d, createCommentVNode as f, normalizeStyle as p, normalizeClass as m, unref as g, createSlots as v, withCtx as h, createElementVNode as b, toDisplayString as y } from "vue";
|
|
2
2
|
import { getFormModelFields as x } from "../../../../utils/page-init-util.js";
|
|
3
|
-
import { getSizeConfig as k, formatVariableValue as
|
|
4
|
-
import { handleAfterInitEvent as
|
|
3
|
+
import { getSizeConfig as k, formatVariableValue as q, getVariableValue as w, setVariableValue as C } from "../../../../utils/page-helper-util.js";
|
|
4
|
+
import { handleAfterInitEvent as S, handleFormEvent as A } from "../../../../utils/events/event-util.js";
|
|
5
5
|
import E from "agilebuilder-ui/src/utils/request";
|
|
6
|
-
import { $t as
|
|
6
|
+
import { $t as T } from "../../../../utils/i18n-util.js";
|
|
7
7
|
import { getBaseUrl as L, addRequiredClassUtil as H } from "../../../../utils/common-util.js";
|
|
8
8
|
import M from "quill";
|
|
9
9
|
import "quill/dist/quill.snow.css";
|
|
10
10
|
import { ElMessage as N } from "element-plus";
|
|
11
|
-
const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext-statusbar" },
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
const P = e2,
|
|
11
|
+
const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext-statusbar" }, F = { class: "word-count" }, V = { key: 0, class: "upload-loading" }, W = ["innerHTML"], z = e({ __name: "richtext-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: z2 }) {
|
|
12
|
+
const B = ["12px", "14px", "16px", "18px", "20px", "24px", "28px", "32px", "36px", "48px"], D = M.import("attributors/style/size");
|
|
13
|
+
D.whitelist = B, M.register(D, true);
|
|
14
|
+
const U = [false, "Source Han Sans CN", "SimSun", "SimHei", "Microsoft YaHei", "KaiTi", "FangSong", "Arial", "Times New Roman", "Verdana", "Georgia", "Courier New"], $ = M.import("attributors/style/font");
|
|
15
|
+
$.whitelist = U, M.register($, true);
|
|
16
|
+
const P = e2, O = t(""), G = P.pageContext.entity ? P.pageContext.entity : {}, I = x(P.pageContext, P.configure), K = P.configure.runtime ? P.configure.runtime : {}, Y = K.style, J = K.class, Q = K.headerStyle, X = K.titleExceedStyle, Z = t(K.props ? K.props : {});
|
|
17
17
|
let ee = k(P.pageContext, P.configure);
|
|
18
18
|
ee && ee.fixHeight && (Y.height || (Y.height = ee.fixHeight + "px"));
|
|
19
19
|
let te = Z.value.value;
|
|
20
|
-
const le =
|
|
20
|
+
const le = q(P.pageContext, te), ne = t(null);
|
|
21
21
|
let oe = null;
|
|
22
|
-
const
|
|
22
|
+
const re = t(false), ie = t(0), ae = t(false), ue = t(false), se = t("");
|
|
23
23
|
let ce = null, de = Z.value.state;
|
|
24
|
-
function
|
|
24
|
+
function fe(e3) {
|
|
25
25
|
return "readonly" == e3 || "disabled" == e3;
|
|
26
26
|
}
|
|
27
|
-
const
|
|
28
|
-
function
|
|
27
|
+
const pe = fe(de), me = t({ modules: { toolbar: [["bold", "italic", "underline", "strike"], ["blockquote", "code-block"], [{ list: "ordered" }, { list: "bullet" }], [{ script: "sub" }, { script: "super" }], [{ indent: "-1" }, { indent: "+1" }], [{ direction: "rtl" }], [{ size: B }], [{ header: [1, 2, 3, 4, 5, 6, false] }], [{ color: [] }, { background: [] }], [{ font: U }], [{ align: [] }], ["clean"], ["link", "image"]] }, theme: "snow", placeholder: pe ? "" : Z.value.placeholder, readOnly: pe });
|
|
28
|
+
function ge() {
|
|
29
29
|
if (!(oe == null ? void 0 : oe.container)) return;
|
|
30
30
|
const e3 = oe.container.parentNode;
|
|
31
31
|
if (!e3) return;
|
|
@@ -37,80 +37,99 @@ const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext
|
|
|
37
37
|
const e3 = Z.value.state;
|
|
38
38
|
if (null != e3 && e3 !== de) {
|
|
39
39
|
de = e3;
|
|
40
|
-
const t2 =
|
|
40
|
+
const t2 = fe(de);
|
|
41
41
|
oe && (oe.enable(!t2), oe.root.dataset.placeholder = t2 ? "" : Z.value.placeholder);
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
|
-
const
|
|
44
|
+
const ve = t([]), he = t(false), be = t(null), ye = t(null), xe = t(null);
|
|
45
45
|
let ke = null;
|
|
46
|
-
function
|
|
46
|
+
function qe(e3) {
|
|
47
47
|
const t2 = e3.match(/serverPath=([^&"]+)/);
|
|
48
48
|
return t2 ? t2[1] : "";
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function we(e3) {
|
|
51
51
|
if (!oe) return;
|
|
52
52
|
const t2 = function(e4) {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
if (!e4) return e4;
|
|
54
|
+
const t3 = new DOMParser().parseFromString(e4, "text/html"), l3 = P.pageContext.backendUrl, n2 = L(l3, P.pageContext.isTest);
|
|
55
|
+
t3.querySelectorAll("th").forEach((e5) => {
|
|
56
|
+
const l4 = t3.createElement("td");
|
|
57
|
+
for (const t4 of Array.from(e5.attributes)) l4.setAttribute(t4.name, t4.value);
|
|
58
|
+
l4.style.fontWeight = "bold", l4.innerHTML = e5.innerHTML, e5.replaceWith(l4);
|
|
59
|
+
}), t3.querySelectorAll("img[data-uuid]").forEach((e5) => {
|
|
60
|
+
const t4 = e5, l4 = t4.getAttribute("data-uuid");
|
|
61
|
+
l4 && t4.setAttribute("src", `${n2}/common/fs-upload/download?serverPath=${l4}&isShowWatermark=false`);
|
|
56
62
|
});
|
|
57
|
-
|
|
63
|
+
let o2 = t3.body.innerHTML;
|
|
64
|
+
return o2 = o2.replace(/\t/g, " "), o2 = o2.replace(/ {2}/g, " "), o2;
|
|
58
65
|
}(e3), l2 = oe.clipboard.convertHTML(t2);
|
|
59
66
|
oe.setContents(l2.ops), o(() => {
|
|
60
67
|
if (!oe) return;
|
|
61
68
|
oe.root.querySelectorAll("img").forEach((e4) => {
|
|
62
69
|
if (!e4.getAttribute("data-uuid")) {
|
|
63
|
-
const t3 =
|
|
64
|
-
e4.setAttribute("data-uuid", t3);
|
|
70
|
+
const t3 = qe(e4.src);
|
|
71
|
+
t3 && e4.setAttribute("data-uuid", t3);
|
|
65
72
|
}
|
|
73
|
+
}), oe && oe.root.querySelectorAll("table").forEach((e4) => {
|
|
74
|
+
const t3 = e4.querySelector("tr");
|
|
75
|
+
t3 && t3.querySelectorAll("td").forEach((e5) => {
|
|
76
|
+
e5.querySelector("strong, b") && (e5.style.backgroundColor = "#f5f7fa");
|
|
77
|
+
});
|
|
66
78
|
});
|
|
67
79
|
});
|
|
68
80
|
}
|
|
69
|
-
const
|
|
70
|
-
function
|
|
71
|
-
|
|
72
|
-
!
|
|
81
|
+
const Ce = { bold: "加粗", italic: "斜体", underline: "下划线", strike: "删除线", blockquote: "引用", "code-block": "代码块", 'list[value="ordered"]': "有序列表", 'list[value="bullet"]': "无序列表", 'script[value="sub"]': "下标", 'script[value="super"]': "上标", 'indent[value="-1"]': "减少缩进", 'indent[value="+1"]': "增加缩进", 'direction[value="rtl"]': "文字方向", size: "字体大小", header: "标题", color: "字体颜色", background: "背景颜色", font: "字体", align: "对齐方式", clean: "清除格式", link: "链接", image: "图片" };
|
|
82
|
+
function Se() {
|
|
83
|
+
re.value = !re.value, o(() => {
|
|
84
|
+
!re.value && (oe == null ? void 0 : oe.container) && (oe.container.style.height = ""), ge();
|
|
73
85
|
});
|
|
74
86
|
}
|
|
75
|
-
function
|
|
87
|
+
function Ae() {
|
|
76
88
|
oe && (se.value = oe.root.innerHTML, ue.value = true);
|
|
77
89
|
}
|
|
78
90
|
function Ee() {
|
|
79
|
-
if (!oe) return void (
|
|
91
|
+
if (!oe) return void (ie.value = 0);
|
|
80
92
|
const e3 = oe.getText().trim();
|
|
81
|
-
|
|
93
|
+
ie.value = e3.length;
|
|
82
94
|
}
|
|
83
|
-
function
|
|
95
|
+
function Te() {
|
|
96
|
+
if (!oe) return "";
|
|
97
|
+
const e3 = oe.root.cloneNode(true);
|
|
98
|
+
return e3.querySelectorAll("img[data-uuid]").forEach((e4) => {
|
|
99
|
+
e4.getAttribute("data-uuid") && e4.removeAttribute("src");
|
|
100
|
+
}), e3.innerHTML;
|
|
101
|
+
}
|
|
102
|
+
function Le() {
|
|
84
103
|
N.error({ message: "图片上传失败,请重试", duration: 3e3 });
|
|
85
104
|
}
|
|
86
|
-
function
|
|
87
|
-
"Escape" === e3.key &&
|
|
88
|
-
(oe == null ? void 0 : oe.container) && (oe.container.style.height = ""),
|
|
105
|
+
function He(e3) {
|
|
106
|
+
"Escape" === e3.key && re.value && (re.value = false, o(() => {
|
|
107
|
+
(oe == null ? void 0 : oe.container) && (oe.container.style.height = ""), ge();
|
|
89
108
|
}));
|
|
90
109
|
}
|
|
91
|
-
function
|
|
110
|
+
function Me(e3) {
|
|
92
111
|
var _a;
|
|
93
|
-
oe && (null !== e3.relatedTarget && ((_a = ne.value) == null ? void 0 : _a.contains(e3.relatedTarget)) ||
|
|
112
|
+
oe && (null !== e3.relatedTarget && ((_a = ne.value) == null ? void 0 : _a.contains(e3.relatedTarget)) || A(Te(), P.pageContext, P.configure, "change", { entity: G }));
|
|
94
113
|
}
|
|
95
|
-
function
|
|
114
|
+
function Ne(e3) {
|
|
96
115
|
if ("img" === e3.target.localName) {
|
|
97
|
-
|
|
116
|
+
ve.value = [];
|
|
98
117
|
let t2 = e3.target.src;
|
|
99
|
-
|
|
118
|
+
ve.value.push(t2), he.value = true;
|
|
100
119
|
}
|
|
101
120
|
}
|
|
102
|
-
function
|
|
121
|
+
function Re(e3) {
|
|
103
122
|
const t2 = new FormData();
|
|
104
123
|
t2.append("file", e3);
|
|
105
124
|
const l2 = P.pageContext.backendUrl, n2 = L(l2, P.pageContext.isTest);
|
|
106
125
|
return E.post(n2 + "/common/fs-upload/rich-editor-image", t2, { headers: { "Content-Type": "multipart/form-data" } });
|
|
107
126
|
}
|
|
108
|
-
function
|
|
109
|
-
const l2 = e3.split(","), n2 = l2[0].match(/:(.*?);/), o2 = n2 ? n2[1] : "image/png",
|
|
110
|
-
let
|
|
111
|
-
const
|
|
112
|
-
for (;
|
|
113
|
-
return new File([
|
|
127
|
+
function _e(e3, t2) {
|
|
128
|
+
const l2 = e3.split(","), n2 = l2[0].match(/:(.*?);/), o2 = n2 ? n2[1] : "image/png", r2 = atob(l2[1]);
|
|
129
|
+
let i2 = r2.length;
|
|
130
|
+
const a2 = new Uint8Array(i2);
|
|
131
|
+
for (; i2--; ) a2[i2] = r2.charCodeAt(i2);
|
|
132
|
+
return new File([a2], t2, { type: o2 });
|
|
114
133
|
}
|
|
115
134
|
return n(() => {
|
|
116
135
|
var _a;
|
|
@@ -122,15 +141,15 @@ const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext
|
|
|
122
141
|
const t2 = e4.className.match(/ql-([\w-]+)/);
|
|
123
142
|
if (t2) {
|
|
124
143
|
const l2 = t2[1], n2 = `${l2}[value="${e4.value}"]`;
|
|
125
|
-
|
|
144
|
+
Ce[n2] ? e4.setAttribute("data-tooltip", Ce[n2]) : Ce[l2] && e4.setAttribute("data-tooltip", Ce[l2]);
|
|
126
145
|
}
|
|
127
146
|
}), e3.querySelectorAll(".ql-picker").forEach((e4) => {
|
|
128
147
|
const t2 = e4.className.match(/ql-(\w+)/);
|
|
129
148
|
if (t2) {
|
|
130
149
|
const l2 = t2[1];
|
|
131
|
-
if (
|
|
150
|
+
if (Ce[l2]) {
|
|
132
151
|
const t3 = e4.querySelector(".ql-picker-label");
|
|
133
|
-
t3 && t3.setAttribute("data-tooltip",
|
|
152
|
+
t3 && t3.setAttribute("data-tooltip", Ce[l2]);
|
|
134
153
|
}
|
|
135
154
|
}
|
|
136
155
|
});
|
|
@@ -140,11 +159,11 @@ const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext
|
|
|
140
159
|
e3 && e3.addEventListener("mousedown", (e4) => {
|
|
141
160
|
e4.preventDefault();
|
|
142
161
|
});
|
|
143
|
-
}(),
|
|
162
|
+
}(), we(le), (_a = ne.value) == null ? void 0 : _a.addEventListener("focusout", Me), oe.on("text-change", async function(e3) {
|
|
144
163
|
if (!oe) return;
|
|
145
164
|
const t2 = oe.root.getElementsByTagName("img");
|
|
146
165
|
for (const e4 of t2) if (!e4.getAttribute("data-uuid")) {
|
|
147
|
-
const t3 =
|
|
166
|
+
const t3 = qe(e4.src);
|
|
148
167
|
e4.setAttribute("data-uuid", t3);
|
|
149
168
|
}
|
|
150
169
|
if (e3.ops && e3.ops.length > 0) for (const t3 of e3.ops) {
|
|
@@ -153,15 +172,15 @@ const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext
|
|
|
153
172
|
const t4 = e4.image;
|
|
154
173
|
if (!t4.startsWith("data:image")) continue;
|
|
155
174
|
try {
|
|
156
|
-
|
|
157
|
-
const e5 =
|
|
175
|
+
ae.value = true;
|
|
176
|
+
const e5 = _e(t4, "image.png"), l2 = await Re(e5);
|
|
158
177
|
if (!oe) return;
|
|
159
178
|
const n2 = oe.root.getElementsByTagName("img");
|
|
160
179
|
for (const e6 of n2) e6.src === t4 && (e6.width = 300, e6.src = l2.url, e6.setAttribute("data-uuid", l2.uuid));
|
|
161
180
|
} catch (e5) {
|
|
162
|
-
console.error("上传图片失败", e5),
|
|
181
|
+
console.error("上传图片失败", e5), Le();
|
|
163
182
|
} finally {
|
|
164
|
-
|
|
183
|
+
ae.value = false;
|
|
165
184
|
}
|
|
166
185
|
}
|
|
167
186
|
}
|
|
@@ -169,31 +188,31 @@ const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext
|
|
|
169
188
|
ce && clearTimeout(ce);
|
|
170
189
|
ce = setTimeout(() => {
|
|
171
190
|
if (!oe) return;
|
|
172
|
-
const e4 =
|
|
173
|
-
|
|
191
|
+
const e4 = Te();
|
|
192
|
+
C(G, I, e4), e4 && (O.value = "");
|
|
174
193
|
}, 300);
|
|
175
194
|
}(), Ee();
|
|
176
|
-
}), Ee(), ke = oe.container, ke.addEventListener("click",
|
|
177
|
-
const e3 =
|
|
178
|
-
|
|
195
|
+
}), Ee(), ke = oe.container, ke.addEventListener("click", Ne), ge(), o(() => {
|
|
196
|
+
const e3 = w(G, I);
|
|
197
|
+
S(e3, P.pageContext, P.configure, { formItemRef: be.value, componentRef: ye.value, titleRef: xe.value, value: e3, entity: P.pageContext.entity.data, pageData: P.pageContext.entity.page });
|
|
179
198
|
}));
|
|
180
199
|
}), n(() => {
|
|
181
|
-
document.addEventListener("keydown",
|
|
182
|
-
}),
|
|
183
|
-
document.removeEventListener("keydown",
|
|
184
|
-
}),
|
|
185
|
-
|
|
200
|
+
document.addEventListener("keydown", He);
|
|
201
|
+
}), r(() => {
|
|
202
|
+
document.removeEventListener("keydown", He), ce && clearTimeout(ce), ne.value && ne.value.removeEventListener("focusout", Me), ke && ke.removeEventListener("click", Ne);
|
|
203
|
+
}), z2({ addRequiredClass: function() {
|
|
204
|
+
O.value = H();
|
|
186
205
|
}, setContent: function(e3) {
|
|
187
|
-
|
|
206
|
+
we(e3), Ee();
|
|
188
207
|
}, getContent: function() {
|
|
189
208
|
return oe ? oe.root.innerHTML : "";
|
|
190
209
|
} }), (e3, t2) => {
|
|
191
|
-
const l2 =
|
|
192
|
-
return u(),
|
|
210
|
+
const l2 = i("View"), n2 = i("el-icon"), o2 = i("FullScreen"), r2 = i("Close"), x2 = i("el-form-item"), k2 = i("el-image-viewer"), q2 = i("el-dialog");
|
|
211
|
+
return u(), a(s, null, [c(x2, { required: Z.value.required, class: m(g(J) + (O.value ? " " + O.value : "")), "label-width": Z.value.labelWidth, style: p(g(Y)) }, v({ default: h(() => [b("div", { class: m(["richtext-wrapper", { "is-fullscreen": re.value }]) }, [b("div", { ref_key: "quillEditorRef", ref: ne, style: { width: "100%" } }, null, 512), b("div", R, [b("button", { type: "button", class: "toolbar-btn", onClick: Ae, title: "预览" }, [c(n2, null, { default: h(() => [c(l2)]), _: 1 })]), b("button", { type: "button", class: "toolbar-btn", onClick: Se, title: re.value ? "退出全屏" : "全屏编辑" }, [re.value ? (u(), d(n2, { key: 1 }, { default: h(() => [c(r2)]), _: 1 })) : (u(), d(n2, { key: 0 }, { default: h(() => [c(o2)]), _: 1 }))], 8, _)]), b("div", j, [b("span", F, "字数:" + y(ie.value), 1)]), ae.value ? (u(), a("div", V, [...t2[2] || (t2[2] = [b("div", { class: "loading-spinner" }, null, -1), b("span", null, "图片上传中...", -1)])])) : f("", true)], 2)]), _: 2 }, [Z.value.tittleShow ? { name: "label", fn: h(() => [b("div", { style: p({ ...g(Q), ...g(X) }), class: "amb-form-item-label" }, y(g(T)(Z.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]), he.value ? (u(), d(k2, { key: 0, "hide-on-click-modal": "", onClose: t2[0] || (t2[0] = () => {
|
|
193
212
|
he.value = false;
|
|
194
|
-
}), "url-list":
|
|
213
|
+
}), "url-list": ve.value }, null, 8, ["url-list"])) : f("", true), c(q2, { modelValue: ue.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e4) => ue.value = e4), title: "内容预览", width: "80%", "close-on-click-modal": true, "append-to-body": true, class: "richtext-preview-dialog" }, { default: h(() => [b("div", { class: "richtext-preview-content ql-editor", innerHTML: se.value }, null, 8, W)]), _: 1 }, 8, ["modelValue"])], 64);
|
|
195
214
|
};
|
|
196
215
|
} });
|
|
197
216
|
export {
|
|
198
|
-
|
|
217
|
+
z as default
|
|
199
218
|
};
|
|
@@ -15,8 +15,7 @@ const L = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
|
|
|
15
15
|
var _a, _b, _c;
|
|
16
16
|
const L2 = e2;
|
|
17
17
|
null == L2.configure.style && (L2.configure.style = {});
|
|
18
|
-
let k = null;
|
|
19
|
-
const D = w(L2.configure, L2.pageContext);
|
|
18
|
+
let k = null, D = w(L2.configure, L2.pageContext);
|
|
20
19
|
L2.configure && L2.configure.props && L2.configure.props.base && (L2.configure.props.base.functionCode = D);
|
|
21
20
|
const E = R(D || "true", L2.pageContext.systemCode), J = B(L2.pageContext, L2.configure), W = E && J;
|
|
22
21
|
L2.configure && L2.configure.props && L2.configure.props.base && (L2.configure.props.base.isHasFieldAuthPermission = W), j(L2.pageContext, L2.configure, W);
|
package/dist/es/i18n/langs/cn.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = { superPageRuntimeMessage: { successfulSave: "保存成功", recordLine: "第 {row} 行记录", tableListSubTableDataVerificationFailed: "表单子表数据校验失败", formDataVerificationFailed: "表单数据校验失败", successfulOperation: "操作成功", selectTemplate: "选择模板", temlpate: "模板", operating: "操作", export: "导出", tips: "提示", sure: "确定", cancel: "取消", whetherToConfirmSubmit: "确定{name}吗?", whetherToConfirmAgree: "确定{name}吗?", whetherToConfirmDisagree: "确定{name}吗?", pleaseSelectRecord: "请选择记录", whetherToConfirmDeletion: "确定删除吗?", successfulDelete: "删除成功", noFileSelected: "请选择一个文件", asyncImport: "正在异步导入,请等待消息通知!", successfulImport: "导入成功", thePreconditionOfTheButtonTo: "该按钮前置条件为[{message}]", onlyOneRecordCanBeselected: "只能选择一条记录", selectAtLeastOneRecord: "请至少选择一条记录", requestPathEmpty: "后台请求路径为空", successfulSubmit: "提交成功", successfulCompleteTask: "任务办理成功", successfulAssign: "指派任务成功", successfulRetrieve: "取回任务成功", successfulDrawTask: "领取任务成功", successfulAbandonReceive: "放弃任务成功", successfulReturnToPreviousTask: "退回上一环节成功", successfulEndInstance: "强制结束流程成功", selectNode: "选择环节", nodeName: "环节名称", nodeId: "环节编码", pleaseSelectNode: "请选择环节", successfulReturnTaskTo: "退回成功", selectRemoveUsers: "选择减签任务", transactorName: "办理人姓名", transactor: "办理人登录名", trustorName: "委托人姓名", pleaseSelectRemoverUsers: "请选择减签用户", required: "{label}必填", formatMismatch: "{label}格式不匹配", overMaxLength: "{label}最多只能输入{value}字符", limitMinLength: "{label}至少输入{value}字符", flowNotStart: "流程未提交", pleaseInputOpinion: "请输入意见", opinion: "意见", pleaseInputRemark: "请输入备注", remark: "备注", pleaseSelectCondition: "请选择条件", pleaseInputConditionName: "请输入条件名称", conditionName: "名称", save: "保存", saveCondition: "保存条件", popMsg: "弹框参数缺少customSystem参数", noChartSetting: "未查询到图表定义", xxxNotEmpty: "{label}不能为空", successfulStart: "起草成功", successfulInitiateExtract: "发起成功", successfulCancelExtract: "取消成功", taskMeaage1: "当前任务为子流程,不能进行减少办理人操作", taskMeaage2: "当前流程已结束或已取消或当前任务为并发环节,不能进行减少办理人操作", taskMeaage3: "当前任务只有一个办理人,不能再减少", taskMeaage4: "流程已结束或有并发环节,无法跳转环节", taskMeaage5: "以下任务请使用修改办理人", delTransactor: "减少办理人", handledBy: "办理人为", pleaseSelectRemoverTransactors: "请选择要减少的办理人", copySuccess: "复制成功", doingExtractFormData: "抽单办理中", nodeTrustorName: "委托人:", hasReadTip: "已读", success: "成功", fail: "失败", partSucess: "部分成功", doing: "进行中", asyncExportType: "异步导出", asyncImportType: "异步导入", startExecute: "开始执行", endExecute: "执行结束", fileUploadUnComplete: "字段【{label}】还未上传完成附件,不能操作,请稍等", fileUploadUnCompleteTable: "表格【{tableTitle}】第{rowIndex}行记录的字段【{label}】还未上传完成附件,不能操作,请稍等", doNotRemindAgain: "不再提醒", pageDefaultLoadingText: "拼命加载中", transactorNames: "办理人姓名", logTip: "日志提示" }, chartMessage: { saveAsImage: "保存为图片", restore: "还原", dataView: "数据视图", zoomIn: "放大", zoomOut: "缩小", magicType: "动态类型切换", brush: "刷选", close: "关闭", refresh: "刷新" } };
|
|
1
|
+
const e = { superPageRuntimeMessage: { successfulSave: "保存成功", recordLine: "第 {row} 行记录", tableListSubTableDataVerificationFailed: "表单子表数据校验失败", formDataVerificationFailed: "表单数据校验失败", successfulOperation: "操作成功", selectTemplate: "选择模板", temlpate: "模板", operating: "操作", export: "导出", tips: "提示", sure: "确定", cancel: "取消", whetherToConfirmSubmit: "确定{name}吗?", whetherToConfirmAgree: "确定{name}吗?", whetherToConfirmDisagree: "确定{name}吗?", pleaseSelectRecord: "请选择记录", whetherToConfirmDeletion: "确定删除吗?", successfulDelete: "删除成功", noFileSelected: "请选择一个文件", asyncImport: "正在异步导入,请等待消息通知!", successfulImport: "导入成功", thePreconditionOfTheButtonTo: "该按钮前置条件为[{message}]", onlyOneRecordCanBeselected: "只能选择一条记录", selectAtLeastOneRecord: "请至少选择一条记录", requestPathEmpty: "后台请求路径为空", successfulSubmit: "提交成功", successfulCompleteTask: "任务办理成功", successfulAssign: "指派任务成功", successfulRetrieve: "取回任务成功", successfulDrawTask: "领取任务成功", successfulAbandonReceive: "放弃任务成功", successfulReturnToPreviousTask: "退回上一环节成功", successfulEndInstance: "强制结束流程成功", selectNode: "选择环节", nodeName: "环节名称", nodeId: "环节编码", pleaseSelectNode: "请选择环节", successfulReturnTaskTo: "退回成功", selectRemoveUsers: "选择减签任务", transactorName: "办理人姓名", transactor: "办理人登录名", trustorName: "委托人姓名", pleaseSelectRemoverUsers: "请选择减签用户", required: "{label}必填", formatMismatch: "{label}格式不匹配", overMaxLength: "{label}最多只能输入{value}字符", limitMinLength: "{label}至少输入{value}字符", flowNotStart: "流程未提交", pleaseInputOpinion: "请输入意见", opinion: "意见", pleaseInputRemark: "请输入备注", remark: "备注", pleaseSelectCondition: "请选择条件", pleaseInputConditionName: "请输入条件名称", conditionName: "名称", save: "保存", saveCondition: "保存条件", popMsg: "弹框参数缺少customSystem参数", noChartSetting: "未查询到图表定义", xxxNotEmpty: "{label}不能为空", successfulStart: "起草成功", successfulInitiateExtract: "发起成功", successfulCancelExtract: "取消成功", taskMeaage1: "当前任务为子流程,不能进行减少办理人操作", taskMeaage2: "当前流程已结束或已取消或当前任务为并发环节,不能进行减少办理人操作", taskMeaage3: "当前任务只有一个办理人,不能再减少", taskMeaage4: "流程已结束或有并发环节,无法跳转环节", taskMeaage5: "以下任务请使用修改办理人", delTransactor: "减少办理人", handledBy: "办理人为", pleaseSelectRemoverTransactors: "请选择要减少的办理人", copySuccess: "复制成功", doingExtractFormData: "抽单办理中", nodeTrustorName: "委托人:", hasReadTip: "已读", success: "成功", fail: "失败", partSucess: "部分成功", doing: "进行中", asyncExportType: "异步导出", asyncImportType: "异步导入", startExecute: "开始执行", endExecute: "执行结束", fileUploadUnComplete: "字段【{label}】还未上传完成附件,不能操作,请稍等", fileUploadUnCompleteTable: "表格【{tableTitle}】第{rowIndex}行记录的字段【{label}】还未上传完成附件,不能操作,请稍等", doNotRemindAgain: "不再提醒", pageDefaultLoadingText: "拼命加载中", transactorNames: "办理人姓名", logTip: "日志提示", pleaseInputRequiredInfo: "请录入必填信息" }, chartMessage: { saveAsImage: "保存为图片", restore: "还原", dataView: "数据视图", zoomIn: "放大", zoomOut: "缩小", magicType: "动态类型切换", brush: "刷选", close: "关闭", refresh: "刷新" } };
|
|
2
2
|
export {
|
|
3
3
|
e as default
|
|
4
4
|
};
|
package/dist/es/i18n/langs/en.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = { superPageRuntimeMessage: { successfulSave: "Save succeeded", recordLine: "Record line {row}", tableListSubTableDataVerificationFailed: "Table List Sub Table Data Verification Failed", formDataVerificationFailed: "Form Data Verification Failed", successfulOperation: "Operation successful", selectTemplate: "Select Template", temlpate: "Template", operating: "Operate", export: "Export", tips: "Tip", sure: "Sure", cancel: "Cancel", whetherToConfirmSubmit: "Are you sure to {name}?", whetherToConfirmAgree: "Are you sure to {name}?", whetherToConfirmDisagree: "Are you sure to {name}?", pleaseSelectRecord: "Please select the record", whetherToConfirmDeletion: "Are you sure to delete?", successfulDelete: "Delete succeeded", noFileSelected: "Please select a file", asyncImport: "Asynchronous import, please wait for message notification!", successfulImport: "Import succeeded", thePreconditionOfTheButtonTo: "The Precondition Of The Button To [{message}]", onlyOneRecordCanBeselected: "Only One Record Can Be Selected", selectAtLeastOneRecord: "Please Select At Least One Record", requestPathEmpty: "Backend request path is empty", successfulSubmit: "Submit succeeded", successfulCompleteTask: "Task handled successfully", successfulAssign: "Task assigned successfully", successfulRetrieve: "Retrieve task succeeded", successfulDrawTask: "Task received successfully", successfulAbandonReceive: "The task was abandoned successfully", successfulReturnToPreviousTask: "Successfully returned to the previous phase", successfulEndInstance: "Forced to end the process successfully", selectNode: "Select Node", nodeName: "Node Name", nodeId: "Node Code", pleaseSelectNode: "Please Select Node", successfulReturnTaskTo: "Returned successfully", selectRemoveUsers: "Select Remove Task", transactorName: "Transactor Name", transactor: "Transactor Loginname", trustorName: "Trustor Name", pleaseSelectRemoverUsers: "Please select remove task", required: "{label} is required", formatMismatch: "{label} Format mismatch", overMaxLength: "{label} can only input a maximum of {value} characters", limitMinLength: "Enter at least {value} characters for {label}", flowNotStart: "Workflow Not Started", pleaseInputOpinion: "Please input opinion", opinion: "Opinion", pleaseInputRemark: "Please input remark", remark: "Remark", pleaseSelectCondition: "Please select condition", pleaseInputConditionName: "Please input condition name", conditionName: "Name", save: "Save", saveCondition: "Save Condition", popMsg: "Pop dialog lost the parameter of customSystem", noChartSetting: "No chart setting found", xxxNotEmpty: "{label}Not Empty", successfulStart: "Start succeeded", successfulInitiateExtract: "Initiate succeeded", successfulCancelExtract: "Cancel succeeded", taskMeaage1: "The Current Task Is A Subprocess And Cannot Reduce The Handler", taskMeaage2: "The Current Process Has Been Completed Or Cancelled, Or The Current Task Is A Concurrent Phase, So It Is Not Allowed To Reduce The Handler", taskMeaage3: "The Current Task Has Only One Handler And Cannot Be Reduced Any More", taskMeaage4: "The Process Has Been Completed Or There Are Concurrent Phases, Unable To Jump", taskMeaage5: "Please Modify The Handler For The Following Tasks", delTransactor: "Remove Transactor", handledBy: "Handled By", pleaseSelectRemoverTransactors: "Please select the remove transactor", copySuccess: "Copy successful", doingExtractFormData: "Doing draw orders", nodeTrustorName: "Trustor:", hasReadTip: "Readed", success: "Success", fail: "Fail", partSucess: "Part Success", doing: "Running", asyncExportType: "Async Export", asyncImportType: "Async Import", startExecute: "Start Excute", endExecute: "End Excute", fileUploadUnComplete: "The attachment for field [{label}] has not been fully uploaded yet. Please wait before proceeding", fileUploadUnCompleteTable: "The field [{label}] in the record of row [{rowIndex}] in the table [{tableTitle}] has not completed the attachment upload, so no operations can be performed. Please wait a moment", doNotRemindAgain: "Do not remind again", pageDefaultLoadingText: "Loading...", transactorNames: "Transactor Name", logTip: "Log Tip" }, chartMessage: { saveAsImage: "Save as Image", restore: "Restore", dataView: "Data View", zoomIn: "Zoom In", zoomOut: "Zoom Out", magicType: "Magic Type", brush: "Brush" } };
|
|
1
|
+
const e = { superPageRuntimeMessage: { successfulSave: "Save succeeded", recordLine: "Record line {row}", tableListSubTableDataVerificationFailed: "Table List Sub Table Data Verification Failed", formDataVerificationFailed: "Form Data Verification Failed", successfulOperation: "Operation successful", selectTemplate: "Select Template", temlpate: "Template", operating: "Operate", export: "Export", tips: "Tip", sure: "Sure", cancel: "Cancel", whetherToConfirmSubmit: "Are you sure to {name}?", whetherToConfirmAgree: "Are you sure to {name}?", whetherToConfirmDisagree: "Are you sure to {name}?", pleaseSelectRecord: "Please select the record", whetherToConfirmDeletion: "Are you sure to delete?", successfulDelete: "Delete succeeded", noFileSelected: "Please select a file", asyncImport: "Asynchronous import, please wait for message notification!", successfulImport: "Import succeeded", thePreconditionOfTheButtonTo: "The Precondition Of The Button To [{message}]", onlyOneRecordCanBeselected: "Only One Record Can Be Selected", selectAtLeastOneRecord: "Please Select At Least One Record", requestPathEmpty: "Backend request path is empty", successfulSubmit: "Submit succeeded", successfulCompleteTask: "Task handled successfully", successfulAssign: "Task assigned successfully", successfulRetrieve: "Retrieve task succeeded", successfulDrawTask: "Task received successfully", successfulAbandonReceive: "The task was abandoned successfully", successfulReturnToPreviousTask: "Successfully returned to the previous phase", successfulEndInstance: "Forced to end the process successfully", selectNode: "Select Node", nodeName: "Node Name", nodeId: "Node Code", pleaseSelectNode: "Please Select Node", successfulReturnTaskTo: "Returned successfully", selectRemoveUsers: "Select Remove Task", transactorName: "Transactor Name", transactor: "Transactor Loginname", trustorName: "Trustor Name", pleaseSelectRemoverUsers: "Please select remove task", required: "{label} is required", formatMismatch: "{label} Format mismatch", overMaxLength: "{label} can only input a maximum of {value} characters", limitMinLength: "Enter at least {value} characters for {label}", flowNotStart: "Workflow Not Started", pleaseInputOpinion: "Please input opinion", opinion: "Opinion", pleaseInputRemark: "Please input remark", remark: "Remark", pleaseSelectCondition: "Please select condition", pleaseInputConditionName: "Please input condition name", conditionName: "Name", save: "Save", saveCondition: "Save Condition", popMsg: "Pop dialog lost the parameter of customSystem", noChartSetting: "No chart setting found", xxxNotEmpty: "{label}Not Empty", successfulStart: "Start succeeded", successfulInitiateExtract: "Initiate succeeded", successfulCancelExtract: "Cancel succeeded", taskMeaage1: "The Current Task Is A Subprocess And Cannot Reduce The Handler", taskMeaage2: "The Current Process Has Been Completed Or Cancelled, Or The Current Task Is A Concurrent Phase, So It Is Not Allowed To Reduce The Handler", taskMeaage3: "The Current Task Has Only One Handler And Cannot Be Reduced Any More", taskMeaage4: "The Process Has Been Completed Or There Are Concurrent Phases, Unable To Jump", taskMeaage5: "Please Modify The Handler For The Following Tasks", delTransactor: "Remove Transactor", handledBy: "Handled By", pleaseSelectRemoverTransactors: "Please select the remove transactor", copySuccess: "Copy successful", doingExtractFormData: "Doing draw orders", nodeTrustorName: "Trustor:", hasReadTip: "Readed", success: "Success", fail: "Fail", partSucess: "Part Success", doing: "Running", asyncExportType: "Async Export", asyncImportType: "Async Import", startExecute: "Start Excute", endExecute: "End Excute", fileUploadUnComplete: "The attachment for field [{label}] has not been fully uploaded yet. Please wait before proceeding", fileUploadUnCompleteTable: "The field [{label}] in the record of row [{rowIndex}] in the table [{tableTitle}] has not completed the attachment upload, so no operations can be performed. Please wait a moment", doNotRemindAgain: "Do not remind again", pageDefaultLoadingText: "Loading...", transactorNames: "Transactor Name", logTip: "Log Tip", pleaseInputRequiredInfo: "Please input required information" }, chartMessage: { saveAsImage: "Save as Image", restore: "Restore", dataView: "Data View", zoomIn: "Zoom In", zoomOut: "Zoom Out", magicType: "Magic Type", brush: "Brush" } };
|
|
2
2
|
export {
|
|
3
3
|
e as default
|
|
4
4
|
};
|