knt-shared 1.4.1 → 1.4.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/BasicForm.vue.d.ts.map +1 -1
- package/dist/index.cjs.js +20 -10
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +20 -10
- package/dist/index.esm.js.map +1 -1
- package/dist/style.css +55 -55
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
gap: 8px;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
.video-preview[data-v-
|
|
122
|
+
.video-preview[data-v-e8cbf700] {
|
|
123
123
|
width: 100%;
|
|
124
124
|
max-width: 100%;
|
|
125
125
|
background: #000;
|
|
@@ -127,25 +127,25 @@
|
|
|
127
127
|
overflow: hidden;
|
|
128
128
|
position: relative;
|
|
129
129
|
}
|
|
130
|
-
.video-preview.fullscreen[data-v-
|
|
130
|
+
.video-preview.fullscreen[data-v-e8cbf700] {
|
|
131
131
|
border-radius: 0;
|
|
132
132
|
}
|
|
133
|
-
.video-container[data-v-
|
|
133
|
+
.video-container[data-v-e8cbf700] {
|
|
134
134
|
position: relative;
|
|
135
135
|
width: 100%;
|
|
136
136
|
background: #000;
|
|
137
137
|
cursor: pointer;
|
|
138
138
|
}
|
|
139
|
-
video[data-v-
|
|
139
|
+
video[data-v-e8cbf700] {
|
|
140
140
|
width: 100%;
|
|
141
141
|
height: auto;
|
|
142
142
|
display: block;
|
|
143
143
|
max-height: 70vh;
|
|
144
144
|
}
|
|
145
|
-
.fullscreen video[data-v-
|
|
145
|
+
.fullscreen video[data-v-e8cbf700] {
|
|
146
146
|
max-height: 100vh;
|
|
147
147
|
}
|
|
148
|
-
.play-overlay[data-v-
|
|
148
|
+
.play-overlay[data-v-e8cbf700] {
|
|
149
149
|
position: absolute;
|
|
150
150
|
top: 0;
|
|
151
151
|
left: 0;
|
|
@@ -157,7 +157,7 @@ video[data-v-4056caea] {
|
|
|
157
157
|
background: rgba(0, 0, 0, 0.3);
|
|
158
158
|
transition: opacity 0.3s;
|
|
159
159
|
}
|
|
160
|
-
.play-button[data-v-
|
|
160
|
+
.play-button[data-v-e8cbf700] {
|
|
161
161
|
width: 80px;
|
|
162
162
|
height: 80px;
|
|
163
163
|
border-radius: 50%;
|
|
@@ -168,10 +168,10 @@ video[data-v-4056caea] {
|
|
|
168
168
|
color: #000;
|
|
169
169
|
transition: transform 0.2s;
|
|
170
170
|
}
|
|
171
|
-
.play-button[data-v-
|
|
171
|
+
.play-button[data-v-e8cbf700]:hover {
|
|
172
172
|
transform: scale(1.1);
|
|
173
173
|
}
|
|
174
|
-
.loading-overlay[data-v-
|
|
174
|
+
.loading-overlay[data-v-e8cbf700] {
|
|
175
175
|
position: absolute;
|
|
176
176
|
top: 0;
|
|
177
177
|
left: 0;
|
|
@@ -182,24 +182,24 @@ video[data-v-4056caea] {
|
|
|
182
182
|
justify-content: center;
|
|
183
183
|
background: rgba(0, 0, 0, 0.5);
|
|
184
184
|
}
|
|
185
|
-
.video-controls[data-v-
|
|
185
|
+
.video-controls[data-v-e8cbf700] {
|
|
186
186
|
background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
|
|
187
187
|
padding: 12px;
|
|
188
188
|
position: relative;
|
|
189
189
|
}
|
|
190
|
-
.progress-bar-container[data-v-
|
|
190
|
+
.progress-bar-container[data-v-e8cbf700] {
|
|
191
191
|
padding: 8px 0;
|
|
192
192
|
cursor: pointer;
|
|
193
193
|
margin-bottom: 8px;
|
|
194
194
|
}
|
|
195
|
-
.progress-bar[data-v-
|
|
195
|
+
.progress-bar[data-v-e8cbf700] {
|
|
196
196
|
height: 4px;
|
|
197
197
|
background: rgba(255, 255, 255, 0.3);
|
|
198
198
|
border-radius: 2px;
|
|
199
199
|
position: relative;
|
|
200
200
|
overflow: visible;
|
|
201
201
|
}
|
|
202
|
-
.progress-bar-loaded[data-v-
|
|
202
|
+
.progress-bar-loaded[data-v-e8cbf700] {
|
|
203
203
|
position: absolute;
|
|
204
204
|
top: 0;
|
|
205
205
|
left: 0;
|
|
@@ -208,7 +208,7 @@ video[data-v-4056caea] {
|
|
|
208
208
|
border-radius: 2px;
|
|
209
209
|
transition: width 0.2s;
|
|
210
210
|
}
|
|
211
|
-
.progress-bar-played[data-v-
|
|
211
|
+
.progress-bar-played[data-v-e8cbf700] {
|
|
212
212
|
position: absolute;
|
|
213
213
|
top: 0;
|
|
214
214
|
left: 0;
|
|
@@ -217,7 +217,7 @@ video[data-v-4056caea] {
|
|
|
217
217
|
border-radius: 2px;
|
|
218
218
|
transition: width 0.1s;
|
|
219
219
|
}
|
|
220
|
-
.progress-bar-handle[data-v-
|
|
220
|
+
.progress-bar-handle[data-v-e8cbf700] {
|
|
221
221
|
position: absolute;
|
|
222
222
|
top: 50%;
|
|
223
223
|
width: 12px;
|
|
@@ -229,21 +229,21 @@ video[data-v-4056caea] {
|
|
|
229
229
|
opacity: 0;
|
|
230
230
|
transition: opacity 0.2s;
|
|
231
231
|
}
|
|
232
|
-
.progress-bar-container:hover .progress-bar-handle[data-v-
|
|
232
|
+
.progress-bar-container:hover .progress-bar-handle[data-v-e8cbf700] {
|
|
233
233
|
opacity: 1;
|
|
234
234
|
}
|
|
235
|
-
.controls-bottom[data-v-
|
|
235
|
+
.controls-bottom[data-v-e8cbf700] {
|
|
236
236
|
display: flex;
|
|
237
237
|
align-items: center;
|
|
238
238
|
justify-content: space-between;
|
|
239
239
|
}
|
|
240
|
-
.controls-left[data-v-
|
|
241
|
-
.controls-right[data-v-
|
|
240
|
+
.controls-left[data-v-e8cbf700],
|
|
241
|
+
.controls-right[data-v-e8cbf700] {
|
|
242
242
|
display: flex;
|
|
243
243
|
align-items: center;
|
|
244
244
|
gap: 8px;
|
|
245
245
|
}
|
|
246
|
-
.control-button[data-v-
|
|
246
|
+
.control-button[data-v-e8cbf700] {
|
|
247
247
|
background: transparent;
|
|
248
248
|
border: none;
|
|
249
249
|
color: #fff;
|
|
@@ -258,15 +258,15 @@ video[data-v-4056caea] {
|
|
|
258
258
|
min-width: 32px;
|
|
259
259
|
height: 32px;
|
|
260
260
|
}
|
|
261
|
-
.control-button[data-v-
|
|
261
|
+
.control-button[data-v-e8cbf700]:hover {
|
|
262
262
|
background: rgba(255, 255, 255, 0.1);
|
|
263
263
|
}
|
|
264
|
-
.volume-control[data-v-
|
|
264
|
+
.volume-control[data-v-e8cbf700] {
|
|
265
265
|
position: relative;
|
|
266
266
|
display: flex;
|
|
267
267
|
align-items: center;
|
|
268
268
|
}
|
|
269
|
-
.volume-slider-container[data-v-
|
|
269
|
+
.volume-slider-container[data-v-e8cbf700] {
|
|
270
270
|
position: absolute;
|
|
271
271
|
bottom: 100%;
|
|
272
272
|
left: 50%;
|
|
@@ -276,15 +276,15 @@ video[data-v-4056caea] {
|
|
|
276
276
|
border-radius: 4px;
|
|
277
277
|
margin-bottom: 8px;
|
|
278
278
|
}
|
|
279
|
-
.volume-slider[data-v-
|
|
280
|
-
writing-mode:
|
|
281
|
-
|
|
279
|
+
.volume-slider[data-v-e8cbf700] {
|
|
280
|
+
writing-mode: vertical-lr;
|
|
281
|
+
direction: rtl;
|
|
282
282
|
width: 4px;
|
|
283
283
|
height: 80px;
|
|
284
284
|
padding: 0;
|
|
285
285
|
margin: 0;
|
|
286
286
|
}
|
|
287
|
-
.volume-slider[data-v-
|
|
287
|
+
.volume-slider[data-v-e8cbf700]::-webkit-slider-thumb {
|
|
288
288
|
-webkit-appearance: none;
|
|
289
289
|
appearance: none;
|
|
290
290
|
width: 12px;
|
|
@@ -293,7 +293,7 @@ video[data-v-4056caea] {
|
|
|
293
293
|
border-radius: 50%;
|
|
294
294
|
cursor: pointer;
|
|
295
295
|
}
|
|
296
|
-
.volume-slider[data-v-
|
|
296
|
+
.volume-slider[data-v-e8cbf700]::-moz-range-thumb {
|
|
297
297
|
width: 12px;
|
|
298
298
|
height: 12px;
|
|
299
299
|
background: #fff;
|
|
@@ -301,7 +301,7 @@ video[data-v-4056caea] {
|
|
|
301
301
|
cursor: pointer;
|
|
302
302
|
border: none;
|
|
303
303
|
}
|
|
304
|
-
.time-display[data-v-
|
|
304
|
+
.time-display[data-v-e8cbf700] {
|
|
305
305
|
color: #fff;
|
|
306
306
|
font-size: 13px;
|
|
307
307
|
font-variant-numeric: tabular-nums;
|
|
@@ -311,15 +311,15 @@ video[data-v-4056caea] {
|
|
|
311
311
|
|
|
312
312
|
/* 响应式 */
|
|
313
313
|
@media (max-width: 768px) {
|
|
314
|
-
.play-button[data-v-
|
|
314
|
+
.play-button[data-v-e8cbf700] {
|
|
315
315
|
width: 60px;
|
|
316
316
|
height: 60px;
|
|
317
317
|
}
|
|
318
|
-
.control-button[data-v-
|
|
318
|
+
.control-button[data-v-e8cbf700] {
|
|
319
319
|
min-width: 28px;
|
|
320
320
|
height: 28px;
|
|
321
321
|
}
|
|
322
|
-
.time-display[data-v-
|
|
322
|
+
.time-display[data-v-e8cbf700] {
|
|
323
323
|
font-size: 12px;
|
|
324
324
|
}
|
|
325
325
|
}
|
|
@@ -369,17 +369,17 @@ video[data-v-4056caea] {
|
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
371
|
|
|
372
|
-
.basic-upload[data-v-
|
|
372
|
+
.basic-upload[data-v-640a0bf9] {
|
|
373
373
|
width: 100%;
|
|
374
374
|
}
|
|
375
|
-
.sortable-upload-container[data-v-
|
|
375
|
+
.sortable-upload-container[data-v-640a0bf9] {
|
|
376
376
|
width: 100%;
|
|
377
377
|
display: flex;
|
|
378
378
|
flex-wrap: wrap;
|
|
379
379
|
gap: 8px;
|
|
380
380
|
align-items: flex-start;
|
|
381
381
|
}
|
|
382
|
-
.upload-card-button[data-v-
|
|
382
|
+
.upload-card-button[data-v-640a0bf9] {
|
|
383
383
|
display: flex;
|
|
384
384
|
flex-direction: column;
|
|
385
385
|
align-items: center;
|
|
@@ -394,42 +394,42 @@ video[data-v-4056caea] {
|
|
|
394
394
|
border-color: #e5e7eb;
|
|
395
395
|
border-radius: 6px;
|
|
396
396
|
}
|
|
397
|
-
.upload-card-button .arco-icon[data-v-
|
|
397
|
+
.upload-card-button .arco-icon[data-v-640a0bf9] {
|
|
398
398
|
font-size: 24px;
|
|
399
399
|
margin-bottom: 8px;
|
|
400
400
|
}
|
|
401
|
-
.upload-text[data-v-
|
|
401
|
+
.upload-text[data-v-640a0bf9] {
|
|
402
402
|
margin-top: 8px;
|
|
403
403
|
font-size: 12px;
|
|
404
404
|
}
|
|
405
|
-
.upload-tip[data-v-
|
|
405
|
+
.upload-tip[data-v-640a0bf9] {
|
|
406
406
|
color: var(--color-text-3);
|
|
407
407
|
font-size: 12px;
|
|
408
408
|
line-height: 1.5;
|
|
409
409
|
margin-top: 8px;
|
|
410
410
|
}
|
|
411
|
-
.sortable-tip[data-v-
|
|
411
|
+
.sortable-tip[data-v-640a0bf9] {
|
|
412
412
|
width: 100%;
|
|
413
413
|
margin-top: 0;
|
|
414
414
|
}
|
|
415
|
-
[data-v-
|
|
416
|
-
width: var(--
|
|
417
|
-
height: var(--
|
|
418
|
-
line-height: var(--
|
|
415
|
+
[data-v-640a0bf9] .arco-upload-list-picture {
|
|
416
|
+
width: var(--v5e570a54) !important;
|
|
417
|
+
height: var(--v5e570a54) !important;
|
|
418
|
+
line-height: var(--v5e570a54) !important;
|
|
419
419
|
}
|
|
420
|
-
[data-v-
|
|
420
|
+
[data-v-640a0bf9] .arco-upload-list-picture img {
|
|
421
421
|
width: 100%;
|
|
422
422
|
height: 100%;
|
|
423
423
|
object-fit: cover;
|
|
424
424
|
}
|
|
425
425
|
|
|
426
426
|
/* 视频文件占位处理 - 隐藏破损的图片 */
|
|
427
|
-
[data-v-
|
|
427
|
+
[data-v-640a0bf9] .arco-upload-list-picture img[src*=".mp4"],[data-v-640a0bf9] .arco-upload-list-picture img[src*=".avi"],[data-v-640a0bf9] .arco-upload-list-picture img[src*=".mov"],[data-v-640a0bf9] .arco-upload-list-picture img[src*=".wmv"],[data-v-640a0bf9] .arco-upload-list-picture img[src*=".flv"],[data-v-640a0bf9] .arco-upload-list-picture img[src*=".webm"],[data-v-640a0bf9] .arco-upload-list-picture img[src*=".mkv"],[data-v-640a0bf9] .arco-upload-list-picture img[src*=".m4v"] {
|
|
428
428
|
opacity: 0;
|
|
429
429
|
}
|
|
430
430
|
|
|
431
431
|
/* 视频文件容器添加背景和图标 - 使用 :has() 选择器(现代浏览器) */
|
|
432
|
-
[data-v-
|
|
432
|
+
[data-v-640a0bf9] .arco-upload-list-picture:has(img[src*=".mp4"]) .arco-upload-list-picture-img,[data-v-640a0bf9] .arco-upload-list-picture:has(img[src*=".avi"]) .arco-upload-list-picture-img,[data-v-640a0bf9] .arco-upload-list-picture:has(img[src*=".mov"]) .arco-upload-list-picture-img,[data-v-640a0bf9] .arco-upload-list-picture:has(img[src*=".wmv"]) .arco-upload-list-picture-img,[data-v-640a0bf9] .arco-upload-list-picture:has(img[src*=".flv"]) .arco-upload-list-picture-img,[data-v-640a0bf9] .arco-upload-list-picture:has(img[src*=".webm"]) .arco-upload-list-picture-img,[data-v-640a0bf9] .arco-upload-list-picture:has(img[src*=".mkv"]) .arco-upload-list-picture-img,[data-v-640a0bf9] .arco-upload-list-picture:has(img[src*=".m4v"]) .arco-upload-list-picture-img,[data-v-640a0bf9] .arco-upload-list-picture.is-video-file .arco-upload-list-picture-img {
|
|
433
433
|
position: relative;
|
|
434
434
|
display: flex;
|
|
435
435
|
align-items: center;
|
|
@@ -438,7 +438,7 @@ video[data-v-4056caea] {
|
|
|
438
438
|
}
|
|
439
439
|
|
|
440
440
|
/* 视频图标 */
|
|
441
|
-
[data-v-
|
|
441
|
+
[data-v-640a0bf9] .arco-upload-list-picture:has(img[src*=".mp4"]) .arco-upload-list-picture-img::before,[data-v-640a0bf9] .arco-upload-list-picture:has(img[src*=".avi"]) .arco-upload-list-picture-img::before,[data-v-640a0bf9] .arco-upload-list-picture:has(img[src*=".mov"]) .arco-upload-list-picture-img::before,[data-v-640a0bf9] .arco-upload-list-picture:has(img[src*=".wmv"]) .arco-upload-list-picture-img::before,[data-v-640a0bf9] .arco-upload-list-picture:has(img[src*=".flv"]) .arco-upload-list-picture-img::before,[data-v-640a0bf9] .arco-upload-list-picture:has(img[src*=".webm"]) .arco-upload-list-picture-img::before,[data-v-640a0bf9] .arco-upload-list-picture:has(img[src*=".mkv"]) .arco-upload-list-picture-img::before,[data-v-640a0bf9] .arco-upload-list-picture:has(img[src*=".m4v"]) .arco-upload-list-picture-img::before,[data-v-640a0bf9] .arco-upload-list-picture.is-video-file .arco-upload-list-picture-img::before {
|
|
442
442
|
content: '▶';
|
|
443
443
|
position: absolute;
|
|
444
444
|
font-size: 32px;
|
|
@@ -448,28 +448,28 @@ video[data-v-4056caea] {
|
|
|
448
448
|
}
|
|
449
449
|
|
|
450
450
|
/* 遮罩层 - 修复操作图标位置 */
|
|
451
|
-
[data-v-
|
|
452
|
-
line-height: var(--
|
|
451
|
+
[data-v-640a0bf9] .arco-upload-list-picture-mask {
|
|
452
|
+
line-height: var(--v5e570a54) !important;
|
|
453
453
|
}
|
|
454
454
|
|
|
455
455
|
/* 操作按钮容器 - 根据尺寸调整图标大小 */
|
|
456
|
-
[data-v-
|
|
457
|
-
font-size: calc(var(--
|
|
456
|
+
[data-v-640a0bf9] .arco-upload-list-picture-operation {
|
|
457
|
+
font-size: calc(var(--v5e570a54) / 80 * 14px) !important;
|
|
458
458
|
}
|
|
459
459
|
|
|
460
460
|
/* 错误提示图标 - 根据尺寸调整图标大小 */
|
|
461
|
-
[data-v-
|
|
462
|
-
font-size: calc(var(--
|
|
461
|
+
[data-v-640a0bf9] .arco-upload-list-picture-error-tip .arco-upload-icon-error {
|
|
462
|
+
font-size: calc(var(--v5e570a54) / 80 * 26px) !important;
|
|
463
463
|
}
|
|
464
464
|
|
|
465
465
|
/* 行内视频预览 */
|
|
466
|
-
.inline-video-preview[data-v-
|
|
466
|
+
.inline-video-preview[data-v-640a0bf9] {
|
|
467
467
|
margin-top: 16px;
|
|
468
468
|
border: 1px solid var(--color-border-2);
|
|
469
469
|
border-radius: 4px;
|
|
470
470
|
overflow: hidden;
|
|
471
471
|
}
|
|
472
|
-
.close-inline-preview[data-v-
|
|
472
|
+
.close-inline-preview[data-v-640a0bf9] {
|
|
473
473
|
width: 100%;
|
|
474
474
|
border-radius: 0;
|
|
475
475
|
}
|