knt-shared 1.8.2 → 1.8.3
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 +60 -45
- package/dist/components/Form/componentMap.d.ts.map +1 -1
- package/dist/components/Form/components/ApiCascader.vue.d.ts +2 -2
- package/dist/components/Form/components/ApiCascader.vue.d.ts.map +1 -1
- package/dist/components/Form/components/ApiSelect.vue.d.ts +1 -1
- package/dist/components/Form/components/ApiSelect.vue.d.ts.map +1 -1
- package/dist/components/Table/components/componentMap.d.ts +60 -45
- package/dist/components/Table/components/componentMap.d.ts.map +1 -1
- package/dist/components/Upload/BasicUpload.vue.d.ts +4 -1
- package/dist/components/Upload/BasicUpload.vue.d.ts.map +1 -1
- package/dist/components/Upload/components/VideoPreviewModal.vue.d.ts +1 -1
- package/dist/components/Upload/components/VideoPreviewModal.vue.d.ts.map +1 -1
- package/dist/components/Upload/types.d.ts +3 -1
- package/dist/components/Upload/types.d.ts.map +1 -1
- package/dist/index.cjs.js +7964 -7925
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +7964 -7925
- package/dist/index.esm.js.map +1 -1
- package/dist/style.css +110 -92
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -369,118 +369,136 @@ video[data-v-b982f870] {
|
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
371
|
|
|
372
|
-
.basic-upload[data-v-
|
|
373
|
-
|
|
374
|
-
}
|
|
375
|
-
.upload-empty-state[data-v-2be9e535] {
|
|
376
|
-
display: inline-flex;
|
|
377
|
-
align-items: center;
|
|
378
|
-
min-width: 80px;
|
|
379
|
-
height: 32px;
|
|
380
|
-
padding: 0 12px;
|
|
381
|
-
color: var(--color-text-3);
|
|
382
|
-
font-size: 14px;
|
|
383
|
-
}
|
|
384
|
-
.sortable-upload-container[data-v-2be9e535] {
|
|
385
|
-
width: 100%;
|
|
386
|
-
display: flex;
|
|
387
|
-
flex-wrap: wrap;
|
|
388
|
-
gap: 8px;
|
|
389
|
-
align-items: flex-start;
|
|
372
|
+
.basic-upload[data-v-13e8439f] {
|
|
373
|
+
width: 100%;
|
|
390
374
|
}
|
|
391
|
-
.upload-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
font-size: 14px;
|
|
400
|
-
background-color: #fafafa;
|
|
401
|
-
border-width: 1px;
|
|
402
|
-
border-style: dashed;
|
|
403
|
-
border-color: #e5e7eb;
|
|
404
|
-
border-radius: 6px;
|
|
405
|
-
}
|
|
406
|
-
.upload-card-button .arco-icon[data-v-2be9e535] {
|
|
407
|
-
font-size: 24px;
|
|
408
|
-
margin-bottom: 8px;
|
|
375
|
+
.upload-empty-state[data-v-13e8439f] {
|
|
376
|
+
display: inline-flex;
|
|
377
|
+
align-items: center;
|
|
378
|
+
min-width: 80px;
|
|
379
|
+
height: 32px;
|
|
380
|
+
padding: 0 12px;
|
|
381
|
+
color: var(--color-text-3);
|
|
382
|
+
font-size: 14px;
|
|
409
383
|
}
|
|
410
|
-
.upload-
|
|
411
|
-
|
|
412
|
-
|
|
384
|
+
.sortable-upload-container[data-v-13e8439f] {
|
|
385
|
+
width: 100%;
|
|
386
|
+
display: flex;
|
|
387
|
+
flex-wrap: wrap;
|
|
388
|
+
gap: 8px;
|
|
389
|
+
align-items: flex-start;
|
|
413
390
|
}
|
|
414
|
-
.upload-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
391
|
+
.upload-card-button[data-v-13e8439f] {
|
|
392
|
+
display: flex;
|
|
393
|
+
flex-direction: column;
|
|
394
|
+
align-items: center;
|
|
395
|
+
justify-content: center;
|
|
396
|
+
width: 80px;
|
|
397
|
+
height: 80px;
|
|
398
|
+
color: var(--color-text-3);
|
|
399
|
+
font-size: 14px;
|
|
400
|
+
background-color: #fafafa;
|
|
401
|
+
border-width: 1px;
|
|
402
|
+
border-style: dashed;
|
|
403
|
+
border-color: #e5e7eb;
|
|
404
|
+
border-radius: 6px;
|
|
405
|
+
}
|
|
406
|
+
.upload-card-button .arco-icon[data-v-13e8439f] {
|
|
407
|
+
font-size: 24px;
|
|
408
|
+
margin-bottom: 8px;
|
|
409
|
+
}
|
|
410
|
+
.upload-text[data-v-13e8439f] {
|
|
411
|
+
margin-top: 8px;
|
|
412
|
+
font-size: 12px;
|
|
419
413
|
}
|
|
420
|
-
.
|
|
421
|
-
|
|
422
|
-
|
|
414
|
+
.upload-tip[data-v-13e8439f] {
|
|
415
|
+
color: var(--color-text-3);
|
|
416
|
+
font-size: 12px;
|
|
417
|
+
line-height: 1.5;
|
|
418
|
+
margin-top: 8px;
|
|
423
419
|
}
|
|
424
|
-
[data-v-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
line-height: var(--v8d4c92d8) !important;
|
|
420
|
+
.sortable-tip[data-v-13e8439f] {
|
|
421
|
+
width: 100%;
|
|
422
|
+
margin-top: 0;
|
|
428
423
|
}
|
|
429
|
-
[data-v-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
424
|
+
[data-v-13e8439f] .arco-upload-list-picture {
|
|
425
|
+
width: var(--f72d42ee) !important;
|
|
426
|
+
height: var(--f72d42ee) !important;
|
|
427
|
+
line-height: var(--f72d42ee) !important;
|
|
433
428
|
}
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
429
|
+
[data-v-13e8439f] .arco-upload-list-picture img {
|
|
430
|
+
width: 100%;
|
|
431
|
+
height: 100%;
|
|
432
|
+
object-fit: cover;
|
|
438
433
|
}
|
|
439
434
|
|
|
440
|
-
|
|
441
|
-
[data-v-
|
|
442
|
-
|
|
443
|
-
display: flex;
|
|
444
|
-
align-items: center;
|
|
445
|
-
justify-content: center;
|
|
446
|
-
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
435
|
+
/* 视频文件占位处理 - 隐藏破损的图片 */
|
|
436
|
+
[data-v-13e8439f] .arco-upload-list-picture img[src*='.mp4'],[data-v-13e8439f] .arco-upload-list-picture img[src*='.avi'],[data-v-13e8439f] .arco-upload-list-picture img[src*='.mov'],[data-v-13e8439f] .arco-upload-list-picture img[src*='.wmv'],[data-v-13e8439f] .arco-upload-list-picture img[src*='.flv'],[data-v-13e8439f] .arco-upload-list-picture img[src*='.webm'],[data-v-13e8439f] .arco-upload-list-picture img[src*='.mkv'],[data-v-13e8439f] .arco-upload-list-picture img[src*='.m4v'] {
|
|
437
|
+
opacity: 0;
|
|
447
438
|
}
|
|
448
439
|
|
|
449
|
-
|
|
450
|
-
[data-v-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
440
|
+
/* 视频文件容器添加背景和图标 - 使用 :has() 选择器(现代浏览器) */
|
|
441
|
+
[data-v-13e8439f] .arco-upload-list-picture:has(img[src*=".mp4"]) .arco-upload-list-picture-img,[data-v-13e8439f] .arco-upload-list-picture:has(img[src*=".avi"]) .arco-upload-list-picture-img,[data-v-13e8439f] .arco-upload-list-picture:has(img[src*=".mov"]) .arco-upload-list-picture-img,[data-v-13e8439f] .arco-upload-list-picture:has(img[src*=".wmv"]) .arco-upload-list-picture-img,[data-v-13e8439f] .arco-upload-list-picture:has(img[src*=".flv"]) .arco-upload-list-picture-img,[data-v-13e8439f] .arco-upload-list-picture:has(img[src*=".webm"]) .arco-upload-list-picture-img,[data-v-13e8439f] .arco-upload-list-picture:has(img[src*=".mkv"]) .arco-upload-list-picture-img,[data-v-13e8439f] .arco-upload-list-picture:has(img[src*=".m4v"]) .arco-upload-list-picture-img,[data-v-13e8439f] .arco-upload-list-picture.is-video-file .arco-upload-list-picture-img {
|
|
442
|
+
position: relative;
|
|
443
|
+
display: flex;
|
|
444
|
+
align-items: center;
|
|
445
|
+
justify-content: center;
|
|
446
|
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
/* 视频图标 */
|
|
450
|
+
[data-v-13e8439f]
|
|
451
|
+
.arco-upload-list-picture:has(img[src*='.mp4']) .arco-upload-list-picture-img
|
|
452
|
+
::before,[data-v-13e8439f]
|
|
453
|
+
.arco-upload-list-picture:has(img[src*='.avi']) .arco-upload-list-picture-img
|
|
454
|
+
::before,[data-v-13e8439f]
|
|
455
|
+
.arco-upload-list-picture:has(img[src*='.mov']) .arco-upload-list-picture-img
|
|
456
|
+
::before,[data-v-13e8439f]
|
|
457
|
+
.arco-upload-list-picture:has(img[src*='.wmv']) .arco-upload-list-picture-img
|
|
458
|
+
::before,[data-v-13e8439f]
|
|
459
|
+
.arco-upload-list-picture:has(img[src*='.flv']) .arco-upload-list-picture-img
|
|
460
|
+
::before,[data-v-13e8439f]
|
|
461
|
+
.arco-upload-list-picture:has(img[src*='.webm']) .arco-upload-list-picture-img
|
|
462
|
+
::before,[data-v-13e8439f]
|
|
463
|
+
.arco-upload-list-picture:has(img[src*='.mkv']) .arco-upload-list-picture-img
|
|
464
|
+
::before,[data-v-13e8439f]
|
|
465
|
+
.arco-upload-list-picture:has(img[src*='.m4v']) .arco-upload-list-picture-img
|
|
466
|
+
::before,[data-v-13e8439f]
|
|
467
|
+
.arco-upload-list-picture.is-video-file .arco-upload-list-picture-img
|
|
468
|
+
::before {
|
|
469
|
+
content: '▶';
|
|
470
|
+
position: absolute;
|
|
471
|
+
font-size: 32px;
|
|
472
|
+
color: rgba(255, 255, 255, 0.9);
|
|
473
|
+
z-index: 1;
|
|
474
|
+
pointer-events: none;
|
|
457
475
|
}
|
|
458
476
|
|
|
459
|
-
|
|
460
|
-
[data-v-
|
|
461
|
-
|
|
477
|
+
/* 遮罩层 - 修复操作图标位置 */
|
|
478
|
+
[data-v-13e8439f] .arco-upload-list-picture-mask {
|
|
479
|
+
line-height: var(--f72d42ee) !important;
|
|
462
480
|
}
|
|
463
481
|
|
|
464
|
-
|
|
465
|
-
[data-v-
|
|
466
|
-
|
|
482
|
+
/* 操作按钮容器 - 根据尺寸调整图标大小 */
|
|
483
|
+
[data-v-13e8439f] .arco-upload-list-picture-operation {
|
|
484
|
+
font-size: calc(var(--f72d42ee) / 80 * 14px) !important;
|
|
467
485
|
}
|
|
468
486
|
|
|
469
|
-
|
|
470
|
-
[data-v-
|
|
471
|
-
|
|
487
|
+
/* 错误提示图标 - 根据尺寸调整图标大小 */
|
|
488
|
+
[data-v-13e8439f] .arco-upload-list-picture-error-tip .arco-upload-icon-error {
|
|
489
|
+
font-size: calc(var(--f72d42ee) / 80 * 26px) !important;
|
|
472
490
|
}
|
|
473
491
|
|
|
474
|
-
|
|
475
|
-
.inline-video-preview[data-v-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
492
|
+
/* 行内视频预览 */
|
|
493
|
+
.inline-video-preview[data-v-13e8439f] {
|
|
494
|
+
margin-top: 16px;
|
|
495
|
+
border: 1px solid var(--color-border-2);
|
|
496
|
+
border-radius: 4px;
|
|
497
|
+
overflow: hidden;
|
|
480
498
|
}
|
|
481
|
-
.close-inline-preview[data-v-
|
|
482
|
-
|
|
483
|
-
|
|
499
|
+
.close-inline-preview[data-v-13e8439f] {
|
|
500
|
+
width: 100%;
|
|
501
|
+
border-radius: 0;
|
|
484
502
|
}
|
|
485
503
|
|
|
486
504
|
.readonly-field[data-v-3d2d24e0] {
|