y-admin-ui 6.2.6 → 6.2.9
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/lib/lang/en.ts +53 -37
- package/lib/lang/zh-cn.ts +16 -0
- package/lib/lang/zh-tw.ts +16 -0
- package/lib/style/fonts/real/index.scss +4 -4
- package/lib/style/fonts/solid/index.scss +4 -4
- package/lib/style.css +9 -1
- package/lib/style.css.gz +0 -0
- package/lib/utils/toolsValidate.ts +364 -0
- package/lib/utils/validate.ts +326 -0
- package/lib/y-admin-ui.js +16538 -14401
- package/lib/y-admin-ui.js.gz +0 -0
- package/lib/y-admin-ui.umd.cjs +27 -18
- package/package.json +6 -2
- package/typings/index.d.ts +142 -143
package/lib/lang/en.ts
CHANGED
|
@@ -2,40 +2,56 @@
|
|
|
2
2
|
import lang from 'element-plus/dist/locale/en';
|
|
3
3
|
|
|
4
4
|
export default {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
5
|
+
...lang,
|
|
6
|
+
y: {
|
|
7
|
+
name: 'en',
|
|
8
|
+
upload: {
|
|
9
|
+
uploading: 'Uploading',
|
|
10
|
+
exception: 'Exception',
|
|
11
|
+
retry: 'Retry',
|
|
12
|
+
},
|
|
13
|
+
proTable: {
|
|
14
|
+
emptyText: 'No Data',
|
|
15
|
+
},
|
|
16
|
+
tableTools: {
|
|
17
|
+
refresh: 'refresh',
|
|
18
|
+
size: 'size',
|
|
19
|
+
fullscreen: 'fullscreen',
|
|
20
|
+
sizeOption: {
|
|
21
|
+
large: 'large',
|
|
22
|
+
default: 'medium',
|
|
23
|
+
small: 'small',
|
|
24
|
+
},
|
|
25
|
+
columns: 'columns',
|
|
26
|
+
columnsOption: {
|
|
27
|
+
columns: 'columns',
|
|
28
|
+
reset: 'reset',
|
|
29
|
+
index: 'index',
|
|
30
|
+
selection: 'selection',
|
|
31
|
+
untitled: 'untitled',
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
tour: {
|
|
35
|
+
skip: 'skip',
|
|
36
|
+
prev: 'prev',
|
|
37
|
+
next: 'next',
|
|
38
|
+
finish: 'finish',
|
|
39
|
+
},
|
|
40
|
+
cropper: {
|
|
41
|
+
zoomIn: 'Acercarse',
|
|
42
|
+
zoomOut: 'Encoger',
|
|
43
|
+
rotateLeft: 'Girar Izquierdo',
|
|
44
|
+
rotateRight: 'Girar Derecho',
|
|
45
|
+
moveLeft: 'Mover Izquierdo',
|
|
46
|
+
moveRight: 'Mover Derecho',
|
|
47
|
+
moveUp: 'Ascender',
|
|
48
|
+
moveDown: 'Bajar',
|
|
49
|
+
flipX: 'VoltearX',
|
|
50
|
+
flipY: 'VoltearY',
|
|
51
|
+
reset: 'Reiniciar',
|
|
52
|
+
upload: 'Subir',
|
|
53
|
+
ok: 'Confirmar',
|
|
54
|
+
title: 'Cultivador',
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
};
|
package/lib/lang/zh-cn.ts
CHANGED
|
@@ -37,5 +37,21 @@ export default {
|
|
|
37
37
|
next: '下一步',
|
|
38
38
|
finish: '完成',
|
|
39
39
|
},
|
|
40
|
+
cropper: {
|
|
41
|
+
zoomIn: '放大',
|
|
42
|
+
zoomOut: '缩小',
|
|
43
|
+
rotateLeft: '向左旋转',
|
|
44
|
+
rotateRight: '向右旋转',
|
|
45
|
+
moveLeft: '左移',
|
|
46
|
+
moveRight: '右移',
|
|
47
|
+
moveUp: '上移',
|
|
48
|
+
moveDown: '下移',
|
|
49
|
+
flipX: '左右翻转',
|
|
50
|
+
flipY: '上下翻转',
|
|
51
|
+
reset: '重新开始',
|
|
52
|
+
upload: '选择图片',
|
|
53
|
+
ok: '完成',
|
|
54
|
+
title: '裁剪图片',
|
|
55
|
+
},
|
|
40
56
|
},
|
|
41
57
|
};
|
package/lib/lang/zh-tw.ts
CHANGED
|
@@ -37,5 +37,21 @@ export default {
|
|
|
37
37
|
next: '下一步',
|
|
38
38
|
finish: '完成',
|
|
39
39
|
},
|
|
40
|
+
cropper: {
|
|
41
|
+
zoomIn: '放大',
|
|
42
|
+
zoomOut: '縮小',
|
|
43
|
+
rotateLeft: '向左旋轉',
|
|
44
|
+
rotateRight: '向右旋轉',
|
|
45
|
+
moveLeft: '左移',
|
|
46
|
+
moveRight: '右移',
|
|
47
|
+
moveUp: '上移',
|
|
48
|
+
moveDown: '下移',
|
|
49
|
+
flipX: '左右翻轉',
|
|
50
|
+
flipY: '上下翻轉',
|
|
51
|
+
reset: '重新開始',
|
|
52
|
+
upload: '選擇圖片',
|
|
53
|
+
ok: '完成',
|
|
54
|
+
title: '裁剪圖片',
|
|
55
|
+
},
|
|
40
56
|
},
|
|
41
57
|
};
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
$--y-font-path: 'fonts' !default;
|
|
3
3
|
|
|
4
4
|
@font-face {
|
|
5
|
-
font-family: 'y-icon'; /* Project id 4767102 */
|
|
5
|
+
font-family: 'y-icon-real'; /* Project id 4767102 */
|
|
6
6
|
src: url('./fonts/real/iconfont.woff') format('woff'), url('./fonts/real/iconfont.ttf') format('truetype');
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
body [class^='y-icon'],
|
|
10
|
-
body [class*='y-icon'] {
|
|
11
|
-
font-family: 'y-icon' !important;
|
|
9
|
+
body [class^='y-icon-real'],
|
|
10
|
+
body [class*='y-icon-real'] {
|
|
11
|
+
font-family: 'y-icon-real' !important;
|
|
12
12
|
font-size: 16px;
|
|
13
13
|
font-style: normal;
|
|
14
14
|
color: var(--y-color-bar);
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
$--y-font-path: 'fonts' !default;
|
|
3
3
|
|
|
4
4
|
@font-face {
|
|
5
|
-
font-family: 'y-icon'; /* Project id 4767102 */
|
|
5
|
+
font-family: 'y-icon-solid'; /* Project id 4767102 */
|
|
6
6
|
src: url('./fonts/solid/iconfont.woff') format('woff'), url('./fonts/solid/iconfont.ttf') format('truetype');
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
body [class^='y-icon'],
|
|
10
|
-
body [class*='y-icon'] {
|
|
11
|
-
font-family: 'y-icon' !important;
|
|
9
|
+
body [class^='y-icon-solid'],
|
|
10
|
+
body [class*='y-icon-solid'] {
|
|
11
|
+
font-family: 'y-icon-solid' !important;
|
|
12
12
|
font-size: 16px;
|
|
13
13
|
font-style: normal;
|
|
14
14
|
color: var(--y-color-bar);
|