knt-shared 1.9.1 → 1.9.2
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/components/Form/componentMap.d.ts +30 -0
- package/dist/components/Form/componentMap.d.ts.map +1 -1
- package/dist/components/Table/components/componentMap.d.ts +30 -0
- package/dist/components/Table/components/componentMap.d.ts.map +1 -1
- package/dist/components/Upload/BasicUpload.vue.d.ts +6 -0
- package/dist/components/Upload/BasicUpload.vue.d.ts.map +1 -1
- package/dist/components/Upload/types.d.ts +4 -0
- package/dist/components/Upload/types.d.ts.map +1 -1
- package/dist/index.cjs.js +8 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +8 -6
- package/dist/index.esm.js.map +1 -1
- package/dist/style.css +32 -32
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -381,10 +381,10 @@ video[data-v-b982f870] {
|
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
383
|
|
|
384
|
-
.basic-upload[data-v-
|
|
384
|
+
.basic-upload[data-v-47c7dc74] {
|
|
385
385
|
width: 100%;
|
|
386
386
|
}
|
|
387
|
-
.upload-empty-state[data-v-
|
|
387
|
+
.upload-empty-state[data-v-47c7dc74] {
|
|
388
388
|
display: inline-flex;
|
|
389
389
|
align-items: center;
|
|
390
390
|
min-width: 80px;
|
|
@@ -393,14 +393,14 @@ video[data-v-b982f870] {
|
|
|
393
393
|
color: var(--color-text-3);
|
|
394
394
|
font-size: 14px;
|
|
395
395
|
}
|
|
396
|
-
.sortable-upload-container[data-v-
|
|
396
|
+
.sortable-upload-container[data-v-47c7dc74] {
|
|
397
397
|
width: 100%;
|
|
398
398
|
display: flex;
|
|
399
399
|
flex-wrap: wrap;
|
|
400
400
|
gap: 8px;
|
|
401
401
|
align-items: flex-start;
|
|
402
402
|
}
|
|
403
|
-
.upload-card-button[data-v-
|
|
403
|
+
.upload-card-button[data-v-47c7dc74] {
|
|
404
404
|
display: flex;
|
|
405
405
|
flex-direction: column;
|
|
406
406
|
align-items: center;
|
|
@@ -415,42 +415,42 @@ video[data-v-b982f870] {
|
|
|
415
415
|
border-color: #e5e7eb;
|
|
416
416
|
border-radius: 6px;
|
|
417
417
|
}
|
|
418
|
-
.upload-card-button .arco-icon[data-v-
|
|
418
|
+
.upload-card-button .arco-icon[data-v-47c7dc74] {
|
|
419
419
|
font-size: 24px;
|
|
420
420
|
margin-bottom: 8px;
|
|
421
421
|
}
|
|
422
|
-
.upload-text[data-v-
|
|
422
|
+
.upload-text[data-v-47c7dc74] {
|
|
423
423
|
margin-top: 8px;
|
|
424
424
|
font-size: 12px;
|
|
425
425
|
}
|
|
426
|
-
.upload-tip[data-v-
|
|
426
|
+
.upload-tip[data-v-47c7dc74] {
|
|
427
427
|
color: var(--color-text-3);
|
|
428
428
|
font-size: 12px;
|
|
429
429
|
line-height: 1.5;
|
|
430
430
|
margin-top: 8px;
|
|
431
431
|
}
|
|
432
|
-
.sortable-tip[data-v-
|
|
432
|
+
.sortable-tip[data-v-47c7dc74] {
|
|
433
433
|
width: 100%;
|
|
434
434
|
margin-top: 0;
|
|
435
435
|
}
|
|
436
|
-
[data-v-
|
|
437
|
-
width: var(--
|
|
438
|
-
height: var(--
|
|
439
|
-
line-height: var(--
|
|
436
|
+
[data-v-47c7dc74] .arco-upload-list-picture {
|
|
437
|
+
width: var(--fa001152) !important;
|
|
438
|
+
height: var(--fa001152) !important;
|
|
439
|
+
line-height: var(--fa001152) !important;
|
|
440
440
|
}
|
|
441
|
-
[data-v-
|
|
441
|
+
[data-v-47c7dc74] .arco-upload-list-picture img {
|
|
442
442
|
width: 100%;
|
|
443
443
|
height: 100%;
|
|
444
444
|
object-fit: cover;
|
|
445
445
|
}
|
|
446
446
|
|
|
447
447
|
/* 视频文件占位处理 - 隐藏破损的图片 */
|
|
448
|
-
[data-v-
|
|
448
|
+
[data-v-47c7dc74] .arco-upload-list-picture img[src*='.mp4'],[data-v-47c7dc74] .arco-upload-list-picture img[src*='.avi'],[data-v-47c7dc74] .arco-upload-list-picture img[src*='.mov'],[data-v-47c7dc74] .arco-upload-list-picture img[src*='.wmv'],[data-v-47c7dc74] .arco-upload-list-picture img[src*='.flv'],[data-v-47c7dc74] .arco-upload-list-picture img[src*='.webm'],[data-v-47c7dc74] .arco-upload-list-picture img[src*='.mkv'],[data-v-47c7dc74] .arco-upload-list-picture img[src*='.m4v'] {
|
|
449
449
|
opacity: 0;
|
|
450
450
|
}
|
|
451
451
|
|
|
452
452
|
/* 视频文件容器添加背景和图标 - 使用 :has() 选择器(现代浏览器) */
|
|
453
|
-
[data-v-
|
|
453
|
+
[data-v-47c7dc74] .arco-upload-list-picture:has(img[src*=".mp4"]) .arco-upload-list-picture-img,[data-v-47c7dc74] .arco-upload-list-picture:has(img[src*=".avi"]) .arco-upload-list-picture-img,[data-v-47c7dc74] .arco-upload-list-picture:has(img[src*=".mov"]) .arco-upload-list-picture-img,[data-v-47c7dc74] .arco-upload-list-picture:has(img[src*=".wmv"]) .arco-upload-list-picture-img,[data-v-47c7dc74] .arco-upload-list-picture:has(img[src*=".flv"]) .arco-upload-list-picture-img,[data-v-47c7dc74] .arco-upload-list-picture:has(img[src*=".webm"]) .arco-upload-list-picture-img,[data-v-47c7dc74] .arco-upload-list-picture:has(img[src*=".mkv"]) .arco-upload-list-picture-img,[data-v-47c7dc74] .arco-upload-list-picture:has(img[src*=".m4v"]) .arco-upload-list-picture-img,[data-v-47c7dc74] .arco-upload-list-picture.is-video-file .arco-upload-list-picture-img {
|
|
454
454
|
position: relative;
|
|
455
455
|
display: flex;
|
|
456
456
|
align-items: center;
|
|
@@ -459,23 +459,23 @@ video[data-v-b982f870] {
|
|
|
459
459
|
}
|
|
460
460
|
|
|
461
461
|
/* 视频图标 */
|
|
462
|
-
[data-v-
|
|
462
|
+
[data-v-47c7dc74]
|
|
463
463
|
.arco-upload-list-picture:has(img[src*='.mp4']) .arco-upload-list-picture-img
|
|
464
|
-
::before,[data-v-
|
|
464
|
+
::before,[data-v-47c7dc74]
|
|
465
465
|
.arco-upload-list-picture:has(img[src*='.avi']) .arco-upload-list-picture-img
|
|
466
|
-
::before,[data-v-
|
|
466
|
+
::before,[data-v-47c7dc74]
|
|
467
467
|
.arco-upload-list-picture:has(img[src*='.mov']) .arco-upload-list-picture-img
|
|
468
|
-
::before,[data-v-
|
|
468
|
+
::before,[data-v-47c7dc74]
|
|
469
469
|
.arco-upload-list-picture:has(img[src*='.wmv']) .arco-upload-list-picture-img
|
|
470
|
-
::before,[data-v-
|
|
470
|
+
::before,[data-v-47c7dc74]
|
|
471
471
|
.arco-upload-list-picture:has(img[src*='.flv']) .arco-upload-list-picture-img
|
|
472
|
-
::before,[data-v-
|
|
472
|
+
::before,[data-v-47c7dc74]
|
|
473
473
|
.arco-upload-list-picture:has(img[src*='.webm']) .arco-upload-list-picture-img
|
|
474
|
-
::before,[data-v-
|
|
474
|
+
::before,[data-v-47c7dc74]
|
|
475
475
|
.arco-upload-list-picture:has(img[src*='.mkv']) .arco-upload-list-picture-img
|
|
476
|
-
::before,[data-v-
|
|
476
|
+
::before,[data-v-47c7dc74]
|
|
477
477
|
.arco-upload-list-picture:has(img[src*='.m4v']) .arco-upload-list-picture-img
|
|
478
|
-
::before,[data-v-
|
|
478
|
+
::before,[data-v-47c7dc74]
|
|
479
479
|
.arco-upload-list-picture.is-video-file .arco-upload-list-picture-img
|
|
480
480
|
::before {
|
|
481
481
|
content: '▶';
|
|
@@ -487,28 +487,28 @@ video[data-v-b982f870] {
|
|
|
487
487
|
}
|
|
488
488
|
|
|
489
489
|
/* 遮罩层 - 修复操作图标位置 */
|
|
490
|
-
[data-v-
|
|
491
|
-
line-height: var(--
|
|
490
|
+
[data-v-47c7dc74] .arco-upload-list-picture-mask {
|
|
491
|
+
line-height: var(--fa001152) !important;
|
|
492
492
|
}
|
|
493
493
|
|
|
494
494
|
/* 操作按钮容器 - 根据尺寸调整图标大小 */
|
|
495
|
-
[data-v-
|
|
496
|
-
font-size: calc(var(--
|
|
495
|
+
[data-v-47c7dc74] .arco-upload-list-picture-operation {
|
|
496
|
+
font-size: calc(var(--fa001152) / 80 * 14px) !important;
|
|
497
497
|
}
|
|
498
498
|
|
|
499
499
|
/* 错误提示图标 - 根据尺寸调整图标大小 */
|
|
500
|
-
[data-v-
|
|
501
|
-
font-size: calc(var(--
|
|
500
|
+
[data-v-47c7dc74] .arco-upload-list-picture-error-tip .arco-upload-icon-error {
|
|
501
|
+
font-size: calc(var(--fa001152) / 80 * 26px) !important;
|
|
502
502
|
}
|
|
503
503
|
|
|
504
504
|
/* 行内视频预览 */
|
|
505
|
-
.inline-video-preview[data-v-
|
|
505
|
+
.inline-video-preview[data-v-47c7dc74] {
|
|
506
506
|
margin-top: 16px;
|
|
507
507
|
border: 1px solid var(--color-border-2);
|
|
508
508
|
border-radius: 4px;
|
|
509
509
|
overflow: hidden;
|
|
510
510
|
}
|
|
511
|
-
.close-inline-preview[data-v-
|
|
511
|
+
.close-inline-preview[data-v-47c7dc74] {
|
|
512
512
|
width: 100%;
|
|
513
513
|
border-radius: 0;
|
|
514
514
|
}
|