yahee-components 0.0.18
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/es/_virtual/_commonjsHelpers.js +8 -0
- package/es/_virtual/lodash.js +4 -0
- package/es/comprehensive-search/comprehensive-search.vue.js +234 -0
- package/es/comprehensive-search/comprehensive-search.vue2.js +4 -0
- package/es/comprehensive-search/index.js +7 -0
- package/es/comprehensive-search/style/index.css +24 -0
- package/es/copy/copy.vue.js +57 -0
- package/es/copy/copy.vue2.js +4 -0
- package/es/copy/index.js +7 -0
- package/es/copy/style/index.css +10 -0
- package/es/hooks/useClipboard.js +28 -0
- package/es/index.js +12 -0
- package/es/input/index.js +7 -0
- package/es/input/input.vue.js +40 -0
- package/es/input/input.vue2.js +4 -0
- package/es/input/style/index.css +3 -0
- package/es/installs.js +7 -0
- package/es/node_modules/element-plus/es/locale/lang/zh-cn.js +181 -0
- package/es/node_modules/lodash/lodash.js +3677 -0
- package/es/style.css +39 -0
- package/es/utils/install.js +13 -0
- package/global.d.ts +10 -0
- package/lib/_virtual/_commonjsHelpers.js +1 -0
- package/lib/_virtual/lodash.js +1 -0
- package/lib/comprehensive-search/comprehensive-search.vue.js +1 -0
- package/lib/comprehensive-search/comprehensive-search.vue2.js +1 -0
- package/lib/comprehensive-search/index.js +1 -0
- package/lib/comprehensive-search/style/index.css +24 -0
- package/lib/copy/copy.vue.js +1 -0
- package/lib/copy/copy.vue2.js +1 -0
- package/lib/copy/index.js +1 -0
- package/lib/copy/style/index.css +10 -0
- package/lib/hooks/useClipboard.js +1 -0
- package/lib/index.js +1 -0
- package/lib/input/index.js +1 -0
- package/lib/input/input.vue.js +1 -0
- package/lib/input/input.vue2.js +1 -0
- package/lib/input/style/index.css +3 -0
- package/lib/installs.js +1 -0
- package/lib/node_modules/element-plus/es/locale/lang/zh-cn.js +1 -0
- package/lib/node_modules/lodash/lodash.js +27 -0
- package/lib/style.css +39 -0
- package/lib/utils/install.js +1 -0
- package/package.json +38 -0
- package/types/index.d.ts +204 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var o = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
2
|
+
function l(e) {
|
|
3
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
4
|
+
}
|
|
5
|
+
export {
|
|
6
|
+
o as commonjsGlobal,
|
|
7
|
+
l as getDefaultExportFromCjs
|
|
8
|
+
};
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
import { defineComponent as M, toRefs as Q, ref as n, openBlock as r, createBlock as c, unref as e, withCtx as o, createElementVNode as V, createVNode as t, withKeys as W, createElementBlock as v, Fragment as b, renderList as E, createTextVNode as p, toDisplayString as i, createCommentVNode as k } from "vue";
|
|
2
|
+
import m from "../node_modules/lodash/lodash.js";
|
|
3
|
+
import { ElConfigProvider as X, ElInput as w, ElSelect as x, ElOption as F, ElIcon as Y, ElCheckbox as j, ElLink as G, ElDialog as J, ElButton as B, ElForm as Z, ElRow as P, ElFormItem as T, ElMessage as $ } from "element-plus";
|
|
4
|
+
import "element-plus/theme-chalk/src/base.scss";
|
|
5
|
+
import "element-plus/theme-chalk/src/input.scss";
|
|
6
|
+
import "element-plus/theme-chalk/src/checkbox.scss";
|
|
7
|
+
import "element-plus/theme-chalk/src/tag.scss";
|
|
8
|
+
import "element-plus/theme-chalk/src/option.scss";
|
|
9
|
+
import "element-plus/theme-chalk/src/option-group.scss";
|
|
10
|
+
import "element-plus/theme-chalk/src/scrollbar.scss";
|
|
11
|
+
import "element-plus/theme-chalk/src/popper.scss";
|
|
12
|
+
import "element-plus/theme-chalk/src/select.scss";
|
|
13
|
+
import "element-plus/theme-chalk/src/dialog.scss";
|
|
14
|
+
import "element-plus/theme-chalk/src/overlay.scss";
|
|
15
|
+
import "element-plus/theme-chalk/src/form.scss";
|
|
16
|
+
import "element-plus/theme-chalk/src/form-item.scss";
|
|
17
|
+
import "element-plus/theme-chalk/src/row.scss";
|
|
18
|
+
import "element-plus/theme-chalk/src/button.scss";
|
|
19
|
+
import "element-plus/theme-chalk/src/link.scss";
|
|
20
|
+
import "element-plus/theme-chalk/src/config-provider.scss";
|
|
21
|
+
import "element-plus/theme-chalk/src/badge.scss";
|
|
22
|
+
import "element-plus/theme-chalk/src/message.scss";
|
|
23
|
+
import { Search as ee } from "@element-plus/icons-vue";
|
|
24
|
+
import le from "../node_modules/element-plus/es/locale/lang/zh-cn.js";
|
|
25
|
+
const ae = { class: "yahee-comporehensive-search" }, oe = {
|
|
26
|
+
key: 0,
|
|
27
|
+
class: "search-type-checkbox"
|
|
28
|
+
}, te = { class: "dialog-footer" }, Pe = /* @__PURE__ */ M({
|
|
29
|
+
name: "YaheeComprehensiveSearch",
|
|
30
|
+
__name: "comprehensive-search",
|
|
31
|
+
props: {
|
|
32
|
+
dealSearch: { type: Function, default: m.noop },
|
|
33
|
+
confirmSearch: { type: Function, default: m.noop },
|
|
34
|
+
pasteFormat: { type: Function, default: m.noop },
|
|
35
|
+
isInSearchChange: { type: Function, default: m.noop },
|
|
36
|
+
defaultSearch: { default: "" },
|
|
37
|
+
options: { default: () => [] },
|
|
38
|
+
placeholderText: { default: "" },
|
|
39
|
+
showPatchSearch: { type: Boolean, default: !1 },
|
|
40
|
+
showPatchCheckbox: { type: Boolean }
|
|
41
|
+
},
|
|
42
|
+
setup(_) {
|
|
43
|
+
const I = le, U = _, {
|
|
44
|
+
dealSearch: L,
|
|
45
|
+
defaultSearch: z,
|
|
46
|
+
pasteFormat: y,
|
|
47
|
+
confirmSearch: N,
|
|
48
|
+
isInSearchChange: R,
|
|
49
|
+
options: C,
|
|
50
|
+
showPatchSearch: D,
|
|
51
|
+
showPatchCheckbox: q
|
|
52
|
+
} = Q(U), h = n(z.value), u = n(""), g = n(!1), H = n(!1), d = n(!1), s = n({ searchType: "WHOLE_SEARCH", searchContent: "" }), K = {
|
|
53
|
+
selectedSearchType: [{ required: !0, message: "请输入查询类型", trigger: "blur" }],
|
|
54
|
+
searchContent: [{ required: !0, message: "请输入查询内容", trigger: "blur" }]
|
|
55
|
+
};
|
|
56
|
+
function O() {
|
|
57
|
+
d.value = !0;
|
|
58
|
+
}
|
|
59
|
+
function S() {
|
|
60
|
+
d.value = !1;
|
|
61
|
+
}
|
|
62
|
+
const f = () => {
|
|
63
|
+
if (!u.value) {
|
|
64
|
+
$.warning("请输入搜索关键字");
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
L.value(h.value, u.value);
|
|
68
|
+
};
|
|
69
|
+
return (A, l) => (r(), c(e(X), { locale: e(I) }, {
|
|
70
|
+
default: o(() => [
|
|
71
|
+
V("div", ae, [
|
|
72
|
+
t(e(w), {
|
|
73
|
+
modelValue: u.value,
|
|
74
|
+
"onUpdate:modelValue": l[1] || (l[1] = (a) => u.value = a),
|
|
75
|
+
placeholder: A.placeholderText,
|
|
76
|
+
class: "input-with-select",
|
|
77
|
+
clearable: "",
|
|
78
|
+
maxlength: "30",
|
|
79
|
+
onChange: f,
|
|
80
|
+
onKeyup: W(f, ["enter"]),
|
|
81
|
+
onPaste: e(y)
|
|
82
|
+
}, {
|
|
83
|
+
prepend: o(() => [
|
|
84
|
+
t(e(x), {
|
|
85
|
+
modelValue: h.value,
|
|
86
|
+
"onUpdate:modelValue": l[0] || (l[0] = (a) => h.value = a),
|
|
87
|
+
size: "small",
|
|
88
|
+
class: "custom-select"
|
|
89
|
+
}, {
|
|
90
|
+
default: o(() => [
|
|
91
|
+
(r(!0), v(b, null, E(e(C), (a) => (r(), c(e(F), {
|
|
92
|
+
key: a.label,
|
|
93
|
+
label: a.label,
|
|
94
|
+
value: a.value
|
|
95
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
96
|
+
]),
|
|
97
|
+
_: 1
|
|
98
|
+
}, 8, ["modelValue"])
|
|
99
|
+
]),
|
|
100
|
+
append: o(() => [
|
|
101
|
+
t(e(Y), {
|
|
102
|
+
size: "12",
|
|
103
|
+
color: "#3366cc",
|
|
104
|
+
style: { cursor: "pointer" },
|
|
105
|
+
class: "icon-cusor",
|
|
106
|
+
onClick: f
|
|
107
|
+
}, {
|
|
108
|
+
default: o(() => [
|
|
109
|
+
t(e(ee))
|
|
110
|
+
]),
|
|
111
|
+
_: 1
|
|
112
|
+
})
|
|
113
|
+
]),
|
|
114
|
+
_: 1
|
|
115
|
+
}, 8, ["modelValue", "placeholder", "onPaste"]),
|
|
116
|
+
e(q) ? (r(), v("div", oe, [
|
|
117
|
+
t(e(j), {
|
|
118
|
+
modelValue: g.value,
|
|
119
|
+
"onUpdate:modelValue": l[2] || (l[2] = (a) => g.value = a),
|
|
120
|
+
onChange: e(R)
|
|
121
|
+
}, {
|
|
122
|
+
default: o(() => l[6] || (l[6] = [
|
|
123
|
+
p(i("在筛选条件内查询"))
|
|
124
|
+
])),
|
|
125
|
+
_: 1
|
|
126
|
+
}, 8, ["modelValue", "onChange"]),
|
|
127
|
+
e(D) ? (r(), c(e(G), {
|
|
128
|
+
key: 0,
|
|
129
|
+
type: "primary",
|
|
130
|
+
onClick: O
|
|
131
|
+
}, {
|
|
132
|
+
default: o(() => l[7] || (l[7] = [
|
|
133
|
+
p(i("批量查询"))
|
|
134
|
+
])),
|
|
135
|
+
_: 1
|
|
136
|
+
})) : k("", !0)
|
|
137
|
+
])) : k("", !0)
|
|
138
|
+
]),
|
|
139
|
+
t(e(J), {
|
|
140
|
+
modelValue: d.value,
|
|
141
|
+
"onUpdate:modelValue": l[5] || (l[5] = (a) => d.value = a),
|
|
142
|
+
title: "批量查询",
|
|
143
|
+
width: "30%",
|
|
144
|
+
"before-close": S,
|
|
145
|
+
"append-to-body": !0,
|
|
146
|
+
draggable: ""
|
|
147
|
+
}, {
|
|
148
|
+
footer: o(() => [
|
|
149
|
+
V("div", te, [
|
|
150
|
+
t(e(B), {
|
|
151
|
+
type: "primary",
|
|
152
|
+
loading: H.value,
|
|
153
|
+
onClick: e(N)
|
|
154
|
+
}, {
|
|
155
|
+
default: o(() => l[8] || (l[8] = [
|
|
156
|
+
p(i("确认"))
|
|
157
|
+
])),
|
|
158
|
+
_: 1
|
|
159
|
+
}, 8, ["loading", "onClick"]),
|
|
160
|
+
t(e(B), { onClick: S }, {
|
|
161
|
+
default: o(() => l[9] || (l[9] = [
|
|
162
|
+
p(i("关闭"))
|
|
163
|
+
])),
|
|
164
|
+
_: 1
|
|
165
|
+
})
|
|
166
|
+
])
|
|
167
|
+
]),
|
|
168
|
+
default: o(() => [
|
|
169
|
+
t(e(Z), {
|
|
170
|
+
ref: "batchSearchFormRef",
|
|
171
|
+
model: s.value,
|
|
172
|
+
rules: K
|
|
173
|
+
}, {
|
|
174
|
+
default: o(() => [
|
|
175
|
+
t(e(P), { class: "row-class" }, {
|
|
176
|
+
default: o(() => [
|
|
177
|
+
t(e(T), { prop: "searchType" }, {
|
|
178
|
+
default: o(() => [
|
|
179
|
+
t(e(x), {
|
|
180
|
+
modelValue: s.value.searchType,
|
|
181
|
+
"onUpdate:modelValue": l[3] || (l[3] = (a) => s.value.searchType = a),
|
|
182
|
+
size: "small",
|
|
183
|
+
class: "custom-select"
|
|
184
|
+
}, {
|
|
185
|
+
default: o(() => [
|
|
186
|
+
(r(!0), v(b, null, E(e(C), (a) => (r(), c(e(F), {
|
|
187
|
+
key: a.label,
|
|
188
|
+
label: a.label,
|
|
189
|
+
value: a.value
|
|
190
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
191
|
+
]),
|
|
192
|
+
_: 1
|
|
193
|
+
}, 8, ["modelValue"])
|
|
194
|
+
]),
|
|
195
|
+
_: 1
|
|
196
|
+
})
|
|
197
|
+
]),
|
|
198
|
+
_: 1
|
|
199
|
+
}),
|
|
200
|
+
t(e(P), { class: "row-class" }, {
|
|
201
|
+
default: o(() => [
|
|
202
|
+
t(e(T), {
|
|
203
|
+
prop: "searchContent",
|
|
204
|
+
style: { width: "100%" }
|
|
205
|
+
}, {
|
|
206
|
+
default: o(() => [
|
|
207
|
+
t(e(w), {
|
|
208
|
+
modelValue: s.value.searchContent,
|
|
209
|
+
"onUpdate:modelValue": l[4] || (l[4] = (a) => s.value.searchContent = a),
|
|
210
|
+
placeholder: "请输入批量查询内容,从EXCEL复制可自动替换为`,`",
|
|
211
|
+
type: "textarea",
|
|
212
|
+
rows: 5,
|
|
213
|
+
onPaste: e(y)
|
|
214
|
+
}, null, 8, ["modelValue", "onPaste"])
|
|
215
|
+
]),
|
|
216
|
+
_: 1
|
|
217
|
+
})
|
|
218
|
+
]),
|
|
219
|
+
_: 1
|
|
220
|
+
})
|
|
221
|
+
]),
|
|
222
|
+
_: 1
|
|
223
|
+
}, 8, ["model"])
|
|
224
|
+
]),
|
|
225
|
+
_: 1
|
|
226
|
+
}, 8, ["modelValue"])
|
|
227
|
+
]),
|
|
228
|
+
_: 1
|
|
229
|
+
}, 8, ["locale"]));
|
|
230
|
+
}
|
|
231
|
+
});
|
|
232
|
+
export {
|
|
233
|
+
Pe as default
|
|
234
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
.yahee-comporehensive-search .input-with-select {
|
|
2
|
+
width: 83%;
|
|
3
|
+
border-radius: 0;
|
|
4
|
+
height: 24px;
|
|
5
|
+
}
|
|
6
|
+
.yahee-comporehensive-search .custom-select {
|
|
7
|
+
width: 95px;
|
|
8
|
+
background-color: white;
|
|
9
|
+
}
|
|
10
|
+
.yahee-comporehensive-search :deep(.custom-button + .custom-button) {
|
|
11
|
+
margin-left: 5px;
|
|
12
|
+
}
|
|
13
|
+
.yahee-comporehensive-search :deep(.custom-button) {
|
|
14
|
+
padding: 1px 4px;
|
|
15
|
+
height: 22px;
|
|
16
|
+
}
|
|
17
|
+
.yahee-comporehensive-search .icon-cursor {
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
}
|
|
20
|
+
.yahee-comporehensive-search .search-type-checkbox {
|
|
21
|
+
display: flex;
|
|
22
|
+
justify-content: space-between;
|
|
23
|
+
width: 83%;
|
|
24
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { defineComponent as l, openBlock as a, createElementBlock as m, createVNode as e, unref as o, withCtx as t, createElementVNode as i, renderSlot as f } from "vue";
|
|
2
|
+
import { ElTooltip as u, ElIcon as d, ElMessage as _ } from "element-plus";
|
|
3
|
+
import "element-plus/theme-chalk/src/base.scss";
|
|
4
|
+
import "element-plus/theme-chalk/src/tooltip.scss";
|
|
5
|
+
import "element-plus/theme-chalk/src/popper.scss";
|
|
6
|
+
import "element-plus/theme-chalk/src/badge.scss";
|
|
7
|
+
import "element-plus/theme-chalk/src/message.scss";
|
|
8
|
+
import { DocumentCopy as h } from "@element-plus/icons-vue";
|
|
9
|
+
import { useClipboard as y } from "../hooks/useClipboard.js";
|
|
10
|
+
const C = { class: "yahee-copy" }, z = /* @__PURE__ */ l({
|
|
11
|
+
name: "YaheeCopy",
|
|
12
|
+
__name: "copy",
|
|
13
|
+
props: {
|
|
14
|
+
content: { default: "" },
|
|
15
|
+
message: { default: "复制成功" }
|
|
16
|
+
},
|
|
17
|
+
setup(c) {
|
|
18
|
+
const s = c, { copyUrl: r } = y(), p = () => {
|
|
19
|
+
r(s.content), _({
|
|
20
|
+
message: s.message,
|
|
21
|
+
type: "success"
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
return (n, g) => (a(), m("div", C, [
|
|
25
|
+
e(o(u), {
|
|
26
|
+
placement: "right",
|
|
27
|
+
effect: "light",
|
|
28
|
+
offset: -5,
|
|
29
|
+
"show-arrow": !1,
|
|
30
|
+
"popper-class": "custom-popper-class"
|
|
31
|
+
}, {
|
|
32
|
+
content: t(() => [
|
|
33
|
+
e(o(d), {
|
|
34
|
+
color: "#3366cc",
|
|
35
|
+
size: "18",
|
|
36
|
+
class: "icon",
|
|
37
|
+
onClick: p
|
|
38
|
+
}, {
|
|
39
|
+
default: t(() => [
|
|
40
|
+
e(o(h))
|
|
41
|
+
]),
|
|
42
|
+
_: 1
|
|
43
|
+
})
|
|
44
|
+
]),
|
|
45
|
+
default: t(() => [
|
|
46
|
+
i("div", null, [
|
|
47
|
+
f(n.$slots, "default")
|
|
48
|
+
])
|
|
49
|
+
]),
|
|
50
|
+
_: 3
|
|
51
|
+
})
|
|
52
|
+
]));
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
export {
|
|
56
|
+
z as default
|
|
57
|
+
};
|
package/es/copy/index.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ref as s, unref as u } from "vue";
|
|
2
|
+
function f(c = {}) {
|
|
3
|
+
const n = s(!1), { navigator: t = window.navigator, source: r, copiedDuring: a = 1500 } = c, i = !!(t && "clipboard" in t);
|
|
4
|
+
async function l(e = u(r)) {
|
|
5
|
+
if (e != null) {
|
|
6
|
+
if (i)
|
|
7
|
+
await t.clipboard.writeText(e);
|
|
8
|
+
else
|
|
9
|
+
return;
|
|
10
|
+
n.value = !0, setTimeout(() => {
|
|
11
|
+
n.value = !1;
|
|
12
|
+
}, a);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
function p(e = u(r)) {
|
|
16
|
+
let d = e, o = document.createElement("input");
|
|
17
|
+
o.value = d, document.body.appendChild(o), o.select(), document.execCommand("Copy"), o.remove();
|
|
18
|
+
}
|
|
19
|
+
return {
|
|
20
|
+
isSupported: i,
|
|
21
|
+
copied: n,
|
|
22
|
+
copy: l,
|
|
23
|
+
copyUrl: p
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export {
|
|
27
|
+
f as useClipboard
|
|
28
|
+
};
|
package/es/index.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { makeInstaller as e } from "./utils/install.js";
|
|
2
|
+
import o from "./installs.js";
|
|
3
|
+
import { YaheeInput as f } from "./input/index.js";
|
|
4
|
+
import { YaheeComprehensiveSearch as s } from "./comprehensive-search/index.js";
|
|
5
|
+
import { YaheeCopy as i } from "./copy/index.js";
|
|
6
|
+
const a = e([...o]);
|
|
7
|
+
export {
|
|
8
|
+
s as YaheeComprehensiveSearch,
|
|
9
|
+
i as YaheeCopy,
|
|
10
|
+
f as YaheeInput,
|
|
11
|
+
a as default
|
|
12
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { defineComponent as i, computed as r, ref as f, openBlock as c, createElementBlock as V, createVNode as _, unref as b } from "vue";
|
|
2
|
+
import { ElInput as v } from "element-plus";
|
|
3
|
+
import "element-plus/theme-chalk/src/base.scss";
|
|
4
|
+
import "element-plus/theme-chalk/src/input.scss";
|
|
5
|
+
const x = { class: "yahee-input" }, E = /* @__PURE__ */ i({
|
|
6
|
+
name: "YaheeInput",
|
|
7
|
+
__name: "input",
|
|
8
|
+
props: {
|
|
9
|
+
modelValue: { default: "" },
|
|
10
|
+
disabled: { type: Boolean, default: !1 }
|
|
11
|
+
},
|
|
12
|
+
emits: ["update:modelValue"],
|
|
13
|
+
setup(u, { expose: n, emit: d }) {
|
|
14
|
+
const p = d, t = u, o = r({
|
|
15
|
+
get: () => t.modelValue,
|
|
16
|
+
set: (e) => {
|
|
17
|
+
p("update:modelValue", e);
|
|
18
|
+
}
|
|
19
|
+
}), l = f();
|
|
20
|
+
function s() {
|
|
21
|
+
var e;
|
|
22
|
+
(e = l.value) == null || e.focus();
|
|
23
|
+
}
|
|
24
|
+
return n({
|
|
25
|
+
focus: s
|
|
26
|
+
}), (e, a) => (c(), V("div", x, [
|
|
27
|
+
_(b(v), {
|
|
28
|
+
ref_key: "inputRef",
|
|
29
|
+
ref: l,
|
|
30
|
+
modelValue: o.value,
|
|
31
|
+
"onUpdate:modelValue": a[0] || (a[0] = (m) => o.value = m),
|
|
32
|
+
type: "text",
|
|
33
|
+
disabled: t.disabled
|
|
34
|
+
}, null, 8, ["modelValue", "disabled"])
|
|
35
|
+
]));
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
export {
|
|
39
|
+
E as default
|
|
40
|
+
};
|
package/es/installs.js
ADDED
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
var u = {
|
|
2
|
+
name: "zh-cn",
|
|
3
|
+
el: {
|
|
4
|
+
breadcrumb: {
|
|
5
|
+
label: "面包屑"
|
|
6
|
+
},
|
|
7
|
+
colorpicker: {
|
|
8
|
+
confirm: "确定",
|
|
9
|
+
clear: "清空",
|
|
10
|
+
defaultLabel: "颜色选择器",
|
|
11
|
+
description: "当前颜色 {color},按 Enter 键选择新颜色",
|
|
12
|
+
alphaLabel: "选择透明度的值"
|
|
13
|
+
},
|
|
14
|
+
datepicker: {
|
|
15
|
+
now: "此刻",
|
|
16
|
+
today: "今天",
|
|
17
|
+
cancel: "取消",
|
|
18
|
+
clear: "清空",
|
|
19
|
+
confirm: "确定",
|
|
20
|
+
dateTablePrompt: "使用方向键与 Enter 键可选择日期",
|
|
21
|
+
monthTablePrompt: "使用方向键与 Enter 键可选择月份",
|
|
22
|
+
yearTablePrompt: "使用方向键与 Enter 键可选择年份",
|
|
23
|
+
selectedDate: "已选日期",
|
|
24
|
+
selectDate: "选择日期",
|
|
25
|
+
selectTime: "选择时间",
|
|
26
|
+
startDate: "开始日期",
|
|
27
|
+
startTime: "开始时间",
|
|
28
|
+
endDate: "结束日期",
|
|
29
|
+
endTime: "结束时间",
|
|
30
|
+
prevYear: "前一年",
|
|
31
|
+
nextYear: "后一年",
|
|
32
|
+
prevMonth: "上个月",
|
|
33
|
+
nextMonth: "下个月",
|
|
34
|
+
year: "年",
|
|
35
|
+
month1: "1 月",
|
|
36
|
+
month2: "2 月",
|
|
37
|
+
month3: "3 月",
|
|
38
|
+
month4: "4 月",
|
|
39
|
+
month5: "5 月",
|
|
40
|
+
month6: "6 月",
|
|
41
|
+
month7: "7 月",
|
|
42
|
+
month8: "8 月",
|
|
43
|
+
month9: "9 月",
|
|
44
|
+
month10: "10 月",
|
|
45
|
+
month11: "11 月",
|
|
46
|
+
month12: "12 月",
|
|
47
|
+
weeks: {
|
|
48
|
+
sun: "日",
|
|
49
|
+
mon: "一",
|
|
50
|
+
tue: "二",
|
|
51
|
+
wed: "三",
|
|
52
|
+
thu: "四",
|
|
53
|
+
fri: "五",
|
|
54
|
+
sat: "六"
|
|
55
|
+
},
|
|
56
|
+
weeksFull: {
|
|
57
|
+
sun: "星期日",
|
|
58
|
+
mon: "星期一",
|
|
59
|
+
tue: "星期二",
|
|
60
|
+
wed: "星期三",
|
|
61
|
+
thu: "星期四",
|
|
62
|
+
fri: "星期五",
|
|
63
|
+
sat: "星期六"
|
|
64
|
+
},
|
|
65
|
+
months: {
|
|
66
|
+
jan: "一月",
|
|
67
|
+
feb: "二月",
|
|
68
|
+
mar: "三月",
|
|
69
|
+
apr: "四月",
|
|
70
|
+
may: "五月",
|
|
71
|
+
jun: "六月",
|
|
72
|
+
jul: "七月",
|
|
73
|
+
aug: "八月",
|
|
74
|
+
sep: "九月",
|
|
75
|
+
oct: "十月",
|
|
76
|
+
nov: "十一月",
|
|
77
|
+
dec: "十二月"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
inputNumber: {
|
|
81
|
+
decrease: "减少数值",
|
|
82
|
+
increase: "增加数值"
|
|
83
|
+
},
|
|
84
|
+
select: {
|
|
85
|
+
loading: "加载中",
|
|
86
|
+
noMatch: "无匹配数据",
|
|
87
|
+
noData: "无数据",
|
|
88
|
+
placeholder: "请选择"
|
|
89
|
+
},
|
|
90
|
+
dropdown: {
|
|
91
|
+
toggleDropdown: "切换下拉选项"
|
|
92
|
+
},
|
|
93
|
+
mention: {
|
|
94
|
+
loading: "加载中"
|
|
95
|
+
},
|
|
96
|
+
cascader: {
|
|
97
|
+
noMatch: "无匹配数据",
|
|
98
|
+
loading: "加载中",
|
|
99
|
+
placeholder: "请选择",
|
|
100
|
+
noData: "暂无数据"
|
|
101
|
+
},
|
|
102
|
+
pagination: {
|
|
103
|
+
goto: "前往",
|
|
104
|
+
pagesize: "条/页",
|
|
105
|
+
total: "共 {total} 条",
|
|
106
|
+
pageClassifier: "页",
|
|
107
|
+
page: "页",
|
|
108
|
+
prev: "上一页",
|
|
109
|
+
next: "下一页",
|
|
110
|
+
currentPage: "第 {pager} 页",
|
|
111
|
+
prevPages: "向前 {pager} 页",
|
|
112
|
+
nextPages: "向后 {pager} 页",
|
|
113
|
+
deprecationWarning: "你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"
|
|
114
|
+
},
|
|
115
|
+
dialog: {
|
|
116
|
+
close: "关闭此对话框"
|
|
117
|
+
},
|
|
118
|
+
drawer: {
|
|
119
|
+
close: "关闭此对话框"
|
|
120
|
+
},
|
|
121
|
+
messagebox: {
|
|
122
|
+
title: "提示",
|
|
123
|
+
confirm: "确定",
|
|
124
|
+
cancel: "取消",
|
|
125
|
+
error: "输入的数据不合法!",
|
|
126
|
+
close: "关闭此对话框"
|
|
127
|
+
},
|
|
128
|
+
upload: {
|
|
129
|
+
deleteTip: "按 delete 键可删除",
|
|
130
|
+
delete: "删除",
|
|
131
|
+
preview: "查看图片",
|
|
132
|
+
continue: "继续上传"
|
|
133
|
+
},
|
|
134
|
+
slider: {
|
|
135
|
+
defaultLabel: "滑块介于 {min} 至 {max}",
|
|
136
|
+
defaultRangeStartLabel: "选择起始值",
|
|
137
|
+
defaultRangeEndLabel: "选择结束值"
|
|
138
|
+
},
|
|
139
|
+
table: {
|
|
140
|
+
emptyText: "暂无数据",
|
|
141
|
+
confirmFilter: "筛选",
|
|
142
|
+
resetFilter: "重置",
|
|
143
|
+
clearFilter: "全部",
|
|
144
|
+
sumText: "合计"
|
|
145
|
+
},
|
|
146
|
+
tour: {
|
|
147
|
+
next: "下一步",
|
|
148
|
+
previous: "上一步",
|
|
149
|
+
finish: "结束导览"
|
|
150
|
+
},
|
|
151
|
+
tree: {
|
|
152
|
+
emptyText: "暂无数据"
|
|
153
|
+
},
|
|
154
|
+
transfer: {
|
|
155
|
+
noMatch: "无匹配数据",
|
|
156
|
+
noData: "无数据",
|
|
157
|
+
titles: ["列表 1", "列表 2"],
|
|
158
|
+
filterPlaceholder: "请输入搜索内容",
|
|
159
|
+
noCheckedFormat: "共 {total} 项",
|
|
160
|
+
hasCheckedFormat: "已选 {checked}/{total} 项"
|
|
161
|
+
},
|
|
162
|
+
image: {
|
|
163
|
+
error: "加载失败"
|
|
164
|
+
},
|
|
165
|
+
pageHeader: {
|
|
166
|
+
title: "返回"
|
|
167
|
+
},
|
|
168
|
+
popconfirm: {
|
|
169
|
+
confirmButtonText: "确定",
|
|
170
|
+
cancelButtonText: "取消"
|
|
171
|
+
},
|
|
172
|
+
carousel: {
|
|
173
|
+
leftArrow: "上一张幻灯片",
|
|
174
|
+
rightArrow: "下一张幻灯片",
|
|
175
|
+
indicator: "幻灯片切换至索引 {index}"
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
};
|
|
179
|
+
export {
|
|
180
|
+
u as default
|
|
181
|
+
};
|