@jiaozhiye/qm-design-react 1.9.6 → 1.9.7
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/download/src/download.d.ts +0 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/lang/en.d.ts +2 -0
- package/lib/locale/lang/en.js +3 -1
- package/lib/locale/lang/zh-cn.d.ts +2 -0
- package/lib/locale/lang/zh-cn.js +3 -1
- package/lib/style/index.css +52 -5
- package/lib/style/index.min.css +1 -1
- package/lib/style/themes/default.less +117 -117
- package/lib/upload-file/src/upload-file.d.ts +1 -1
- package/lib/upload-img/src/upload-img.d.ts +5 -0
- package/lib/upload-img/style/index.less +52 -3
- package/package.json +2 -2
package/lib/locale/lang/en.d.ts
CHANGED
package/lib/locale/lang/en.js
CHANGED
|
@@ -70,10 +70,12 @@ export default {
|
|
|
70
70
|
countLimit: 'Quantity cannot exceed {count}',
|
|
71
71
|
uploadError: 'Failed to upload files!',
|
|
72
72
|
downError: 'File download failed!',
|
|
73
|
-
text: 'click and upload'
|
|
73
|
+
text: 'click and upload',
|
|
74
|
+
remove: 'Delete files'
|
|
74
75
|
},
|
|
75
76
|
uploadCropper: {
|
|
76
77
|
dragableText: 'Drop or click',
|
|
78
|
+
pasteText: 'Ctrl+V Paste',
|
|
77
79
|
tooltip: 'Can only upload {type} format',
|
|
78
80
|
preview: 'Preview image',
|
|
79
81
|
cropper: 'Cropper image',
|
package/lib/locale/lang/zh-cn.js
CHANGED
|
@@ -70,10 +70,12 @@ export default {
|
|
|
70
70
|
countLimit: '数量不能超过 {count} 个',
|
|
71
71
|
uploadError: '文件上传失败!',
|
|
72
72
|
downError: '文件下载失败!',
|
|
73
|
-
text: '点击上传'
|
|
73
|
+
text: '点击上传',
|
|
74
|
+
remove: '删除文件'
|
|
74
75
|
},
|
|
75
76
|
uploadCropper: {
|
|
76
77
|
dragableText: '拖放或点击',
|
|
78
|
+
pasteText: 'Ctrl+V 粘贴',
|
|
77
79
|
tooltip: '只能上传 {type} 格式的图片',
|
|
78
80
|
preview: '图片预览',
|
|
79
81
|
cropper: '图片裁剪',
|
package/lib/style/index.css
CHANGED
|
@@ -28472,8 +28472,55 @@ table {
|
|
|
28472
28472
|
* @Last Modified by: 焦质晔
|
|
28473
28473
|
* @Last Modified time: 2023-10-15 12:14:45
|
|
28474
28474
|
*/
|
|
28475
|
-
.qm-upload-img .ant-upload-
|
|
28476
|
-
|
|
28475
|
+
.qm-upload-img .ant-upload-select > span {
|
|
28476
|
+
flex-direction: column;
|
|
28477
|
+
}
|
|
28478
|
+
.qm-upload-img .ant-upload-select > span .ant-upload-drag-icon {
|
|
28479
|
+
font-size: 24px;
|
|
28480
|
+
line-height: 0;
|
|
28481
|
+
color: #40a9ff;
|
|
28482
|
+
}
|
|
28483
|
+
.qm-upload-img .ant-upload-select > span .ant-upload-text {
|
|
28484
|
+
font-size: 13px;
|
|
28485
|
+
}
|
|
28486
|
+
.qm-upload-img .ant-upload-select > span .ant-upload-button {
|
|
28487
|
+
display: inline-block;
|
|
28488
|
+
text-align: center;
|
|
28489
|
+
text-transform: none;
|
|
28490
|
+
text-decoration: none;
|
|
28491
|
+
background: transparent;
|
|
28492
|
+
border: 0;
|
|
28493
|
+
outline: 0;
|
|
28494
|
+
font-size: 13px;
|
|
28495
|
+
transition: all 0.3s ease;
|
|
28496
|
+
cursor: inherit;
|
|
28497
|
+
}
|
|
28498
|
+
.qm-upload-img .ant-upload-select > span .ant-upload-button:focus {
|
|
28499
|
+
box-shadow: 0 0 2px 0 #40a9ff;
|
|
28500
|
+
background-color: #e6f7ff;
|
|
28501
|
+
}
|
|
28502
|
+
.qm-upload-img .ant-upload-select > span .ant-upload-button.disabled {
|
|
28503
|
+
pointer-events: none;
|
|
28504
|
+
}
|
|
28505
|
+
.qm-upload-img .upload-item {
|
|
28506
|
+
height: 100%;
|
|
28507
|
+
position: relative;
|
|
28508
|
+
}
|
|
28509
|
+
.qm-upload-img .upload-item:hover .icon {
|
|
28510
|
+
display: block;
|
|
28511
|
+
}
|
|
28512
|
+
.qm-upload-img .upload-item .icon {
|
|
28513
|
+
position: absolute;
|
|
28514
|
+
top: 2px;
|
|
28515
|
+
right: 2px;
|
|
28516
|
+
padding: 1px;
|
|
28517
|
+
border-radius: 2px;
|
|
28518
|
+
font-size: 12px;
|
|
28519
|
+
color: #fff;
|
|
28520
|
+
background-color: rgba(0, 0, 0, 0.4);
|
|
28521
|
+
z-index: 2;
|
|
28522
|
+
cursor: pointer;
|
|
28523
|
+
display: none;
|
|
28477
28524
|
}
|
|
28478
28525
|
.qm-cropper-preview .cropper-preview {
|
|
28479
28526
|
display: flex;
|
|
@@ -29541,7 +29588,7 @@ table {
|
|
|
29541
29588
|
}
|
|
29542
29589
|
.header--column.column--required .cell::before {
|
|
29543
29590
|
content: '*';
|
|
29544
|
-
color: #
|
|
29591
|
+
color: #ff4d4f;
|
|
29545
29592
|
margin-right: 2px;
|
|
29546
29593
|
}
|
|
29547
29594
|
.header--column .cell--selection {
|
|
@@ -29688,7 +29735,7 @@ table {
|
|
|
29688
29735
|
}
|
|
29689
29736
|
.body--column .cell--edit.is-error .ant-input,
|
|
29690
29737
|
.body--column .cell--edit.is-error .ant-input-affix-wrapper {
|
|
29691
|
-
border-color: #
|
|
29738
|
+
border-color: #ff4d4f;
|
|
29692
29739
|
box-shadow: none;
|
|
29693
29740
|
z-index: 1;
|
|
29694
29741
|
}
|
|
@@ -29699,7 +29746,7 @@ table {
|
|
|
29699
29746
|
position: absolute;
|
|
29700
29747
|
top: calc(50% - 9px);
|
|
29701
29748
|
font-size: 12px;
|
|
29702
|
-
color: #
|
|
29749
|
+
color: #ff4d4f;
|
|
29703
29750
|
right: 8px;
|
|
29704
29751
|
pointer-events: none;
|
|
29705
29752
|
z-index: 1;
|