@cmstops/pro-compo 0.1.14 → 0.1.15
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/gif.worker.js +3 -0
- package/dist/index.css +469 -1
- package/dist/index.min.css +1 -1
- package/es/contentDetailList/component.js +1 -2
- package/es/contentDetailList/components/Content/CompoItem/index.js +1 -2
- package/es/contentDetailList/components/Content/ContentListItem/index.js +1 -2
- package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +1 -2
- package/es/contentDetailList/components/Content/DocItem/index.js +1 -2
- package/es/contentDetailList/components/Content/KongoNavItem/index.js +1 -2
- package/es/contentDetailList/components/Content/LiveItem/index.js +1 -2
- package/es/contentDetailList/components/Content/MaccountItem/index.js +1 -2
- package/es/contentDetailList/components/Content/index.js +1 -2
- package/es/contentDetailList/components/Doc/index.js +1 -2
- package/es/contentModal/component.js +1 -2
- package/es/contentModal/components/CompoList/CompoFilter/index.js +2 -3
- package/es/contentModal/components/CompoList/index.js +2 -3
- package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +1 -2
- package/es/contentModal/components/ViewAllColumn/columnTree/index.js +1 -2
- package/es/contentModal/components/ViewAllColumn/index.js +1 -2
- package/es/contentModal/components/storeBox/index.js +1 -2
- package/es/gif.worker.js +3 -0
- package/es/hooks/assets.d.ts +1 -0
- package/es/hooks/assets.js +9 -0
- package/es/hooks/user.d.ts +1 -3
- package/es/imageCrop/component.d.ts +0 -0
- package/es/imageCrop/component.js +472 -0
- package/es/imageCrop/index.d.ts +2 -0
- package/es/imageCrop/index.js +7 -0
- package/es/imageCrop/script/api.d.ts +1 -0
- package/es/imageCrop/script/api.js +11 -0
- package/es/imageCrop/style/cropper.less +291 -0
- package/es/imageCrop/style/css.js +1 -0
- package/es/imageCrop/style/imageCropper.less +133 -0
- package/es/imageCrop/style/index.css +366 -0
- package/es/imageCrop/style/index.d.ts +1 -0
- package/es/imageCrop/style/index.js +1 -0
- package/es/imageCrop/style/index.less +2 -0
- package/es/index.css +469 -1
- package/es/index.d.ts +2 -0
- package/es/index.js +2 -0
- package/es/index.less +2 -0
- package/es/mediaFilter/component.js +1 -2
- package/es/mediaFilter/components/DocFilter.js +1 -2
- package/es/messageBox/list.js +1 -2
- package/es/previousVersion/component.js +1 -2
- package/es/resourceModal/component.js +4 -7
- package/es/resourceModal/components/MediaPreviewer/index.js +1 -2
- package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +10 -19
- package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +4 -9
- package/es/resourceModal/components/MediaSelection/MainContent/index.js +7 -15
- package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.js +1 -2
- package/es/resourceModal/components/MediaSelection/index.js +8 -12
- package/es/selectAvatarList/component.js +1 -2
- package/es/selectGategory/component.js +1 -2
- package/es/selectGategory/components/ColumnSelection/index.js +1 -2
- package/es/selectThumb/component.d.ts +0 -0
- package/es/selectThumb/component.js +410 -0
- package/es/selectThumb/components/card.d.ts +0 -0
- package/es/selectThumb/components/card.js +86 -0
- package/es/selectThumb/components/colorPalette.d.ts +0 -0
- package/es/selectThumb/components/colorPalette.js +75 -0
- package/es/selectThumb/index.d.ts +2 -0
- package/es/selectThumb/index.js +7 -0
- package/es/selectThumb/style/card.less +79 -0
- package/es/selectThumb/style/colorPalette.less +0 -0
- package/es/selectThumb/style/css.js +1 -0
- package/es/selectThumb/style/index.css +101 -0
- package/es/selectThumb/style/index.d.ts +1 -0
- package/es/selectThumb/style/index.js +1 -0
- package/es/selectThumb/style/index.less +27 -0
- package/es/uploadBefore/component.js +2 -3
- package/es/uploadBefore/components/UploadBefore.js +1 -2
- package/es/uploadBefore/components/UploadForClick.js +1 -2
- package/es/uploadStep/component.js +2 -3
- package/es/userDirector/component.js +1 -2
- package/es/userDirector/components/userTree.js +1 -2
- package/es/userDirector/style/index.css +2 -1
- package/es/userDirector/style/index.less +2 -1
- package/es/utils/doc.js +30 -7
- package/es/utils/index.d.ts +1 -0
- package/es/utils/index.js +6 -1
- package/es/utils/tusUpload.d.ts +1 -1
- package/es/utils/tusUpload.js +1 -1
- package/es/utils/uploadCatalog.d.ts +1 -0
- package/lib/contentDetailList/component.js +1 -2
- package/lib/contentDetailList/components/Content/CompoItem/index.js +1 -2
- package/lib/contentDetailList/components/Content/ContentListItem/index.js +1 -2
- package/lib/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +1 -2
- package/lib/contentDetailList/components/Content/DocItem/index.js +1 -2
- package/lib/contentDetailList/components/Content/KongoNavItem/index.js +1 -2
- package/lib/contentDetailList/components/Content/LiveItem/index.js +1 -2
- package/lib/contentDetailList/components/Content/MaccountItem/index.js +1 -2
- package/lib/contentDetailList/components/Content/index.js +1 -2
- package/lib/contentDetailList/components/Doc/index.js +1 -2
- package/lib/contentModal/component.js +1 -2
- package/lib/contentModal/components/CompoList/CompoFilter/index.js +2 -3
- package/lib/contentModal/components/CompoList/index.js +2 -3
- package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +1 -2
- package/lib/contentModal/components/ViewAllColumn/columnTree/index.js +1 -2
- package/lib/contentModal/components/ViewAllColumn/index.js +1 -2
- package/lib/contentModal/components/storeBox/index.js +1 -2
- package/lib/hooks/assets.js +11 -0
- package/lib/imageCrop/component.js +479 -0
- package/lib/imageCrop/index.js +8 -0
- package/lib/imageCrop/script/api.js +13 -0
- package/lib/imageCrop/style/cropper.less +291 -0
- package/lib/imageCrop/style/css.js +2 -0
- package/lib/imageCrop/style/imageCropper.less +133 -0
- package/lib/imageCrop/style/index.css +366 -0
- package/lib/imageCrop/style/index.js +2 -0
- package/lib/imageCrop/style/index.less +2 -0
- package/lib/index.css +469 -1
- package/lib/index.js +16 -12
- package/lib/index.less +2 -0
- package/lib/mediaFilter/component.js +1 -2
- package/lib/mediaFilter/components/DocFilter.js +1 -2
- package/lib/messageBox/list.js +1 -2
- package/lib/previousVersion/component.js +1 -2
- package/lib/resourceModal/component.js +4 -7
- package/lib/resourceModal/components/MediaPreviewer/index.js +1 -2
- package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +10 -19
- package/lib/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +4 -9
- package/lib/resourceModal/components/MediaSelection/MainContent/index.js +7 -15
- package/lib/resourceModal/components/MediaSelection/ToolbarSearch/index.js +1 -2
- package/lib/resourceModal/components/MediaSelection/index.js +8 -12
- package/lib/selectAvatarList/component.js +1 -2
- package/lib/selectGategory/component.js +1 -2
- package/lib/selectGategory/components/ColumnSelection/index.js +1 -2
- package/lib/selectThumb/component.js +411 -0
- package/lib/selectThumb/components/card.js +87 -0
- package/lib/selectThumb/components/colorPalette.js +76 -0
- package/lib/selectThumb/index.js +8 -0
- package/lib/selectThumb/style/card.less +79 -0
- package/lib/selectThumb/style/colorPalette.less +0 -0
- package/lib/selectThumb/style/css.js +2 -0
- package/lib/selectThumb/style/index.css +101 -0
- package/lib/selectThumb/style/index.js +2 -0
- package/lib/selectThumb/style/index.less +27 -0
- package/lib/uploadBefore/component.js +2 -3
- package/lib/uploadBefore/components/UploadBefore.js +1 -2
- package/lib/uploadBefore/components/UploadForClick.js +1 -2
- package/lib/uploadStep/component.js +2 -3
- package/lib/userDirector/component.js +1 -2
- package/lib/userDirector/components/userTree.js +1 -2
- package/lib/userDirector/style/index.css +2 -1
- package/lib/userDirector/style/index.less +2 -1
- package/lib/utils/doc.js +31 -6
- package/lib/utils/index.js +6 -0
- package/lib/utils/tusUpload.js +1 -1
- package/package.json +11 -2
package/lib/index.css
CHANGED
|
@@ -1293,6 +1293,372 @@
|
|
|
1293
1293
|
.add-category-modal-wrapper .arco-modal-footer {
|
|
1294
1294
|
border-top: 0;
|
|
1295
1295
|
}
|
|
1296
|
+
.cropper-container {
|
|
1297
|
+
position: relative;
|
|
1298
|
+
font-size: 0;
|
|
1299
|
+
line-height: 0;
|
|
1300
|
+
direction: ltr;
|
|
1301
|
+
-webkit-user-select: none;
|
|
1302
|
+
-moz-user-select: none;
|
|
1303
|
+
-ms-user-select: none;
|
|
1304
|
+
user-select: none;
|
|
1305
|
+
-ms-touch-action: none;
|
|
1306
|
+
touch-action: none;
|
|
1307
|
+
}
|
|
1308
|
+
.cropper-container img {
|
|
1309
|
+
display: block;
|
|
1310
|
+
width: 100%;
|
|
1311
|
+
min-width: 0 !important;
|
|
1312
|
+
max-width: none !important;
|
|
1313
|
+
height: 100%;
|
|
1314
|
+
min-height: 0 !important;
|
|
1315
|
+
max-height: none !important;
|
|
1316
|
+
image-orientation: 0deg;
|
|
1317
|
+
}
|
|
1318
|
+
.cropper-canvas,
|
|
1319
|
+
.cropper-crop-box,
|
|
1320
|
+
.cropper-drag-box,
|
|
1321
|
+
.cropper-modal,
|
|
1322
|
+
.cropper-wrap-box {
|
|
1323
|
+
position: absolute;
|
|
1324
|
+
top: 0;
|
|
1325
|
+
right: 0;
|
|
1326
|
+
bottom: 0;
|
|
1327
|
+
left: 0;
|
|
1328
|
+
}
|
|
1329
|
+
.cropper-canvas,
|
|
1330
|
+
.cropper-wrap-box {
|
|
1331
|
+
overflow: hidden;
|
|
1332
|
+
}
|
|
1333
|
+
.cropper-drag-box {
|
|
1334
|
+
background-color: #fff;
|
|
1335
|
+
opacity: 0;
|
|
1336
|
+
}
|
|
1337
|
+
.cropper-modal {
|
|
1338
|
+
background-color: #000;
|
|
1339
|
+
opacity: 0.5;
|
|
1340
|
+
}
|
|
1341
|
+
.cropper-view-box {
|
|
1342
|
+
display: block;
|
|
1343
|
+
width: 100%;
|
|
1344
|
+
height: 100%;
|
|
1345
|
+
overflow: hidden;
|
|
1346
|
+
outline: 1px solid #39f;
|
|
1347
|
+
outline-color: rgba(51, 153, 255, 0.75);
|
|
1348
|
+
}
|
|
1349
|
+
.cropper-dashed {
|
|
1350
|
+
position: absolute;
|
|
1351
|
+
display: block;
|
|
1352
|
+
border: 0 dashed #eee;
|
|
1353
|
+
opacity: 0.5;
|
|
1354
|
+
}
|
|
1355
|
+
.cropper-dashed.dashed-h {
|
|
1356
|
+
top: 33.33333%;
|
|
1357
|
+
left: 0;
|
|
1358
|
+
width: 100%;
|
|
1359
|
+
height: 33.33333%;
|
|
1360
|
+
border-top-width: 1px;
|
|
1361
|
+
border-bottom-width: 1px;
|
|
1362
|
+
}
|
|
1363
|
+
.cropper-dashed.dashed-v {
|
|
1364
|
+
top: 0;
|
|
1365
|
+
left: 33.33333%;
|
|
1366
|
+
width: 33.33333%;
|
|
1367
|
+
height: 100%;
|
|
1368
|
+
border-right-width: 1px;
|
|
1369
|
+
border-left-width: 1px;
|
|
1370
|
+
}
|
|
1371
|
+
.cropper-center {
|
|
1372
|
+
position: absolute;
|
|
1373
|
+
top: 50%;
|
|
1374
|
+
left: 50%;
|
|
1375
|
+
display: block;
|
|
1376
|
+
width: 0;
|
|
1377
|
+
height: 0;
|
|
1378
|
+
opacity: 0.75;
|
|
1379
|
+
}
|
|
1380
|
+
.cropper-center::after,
|
|
1381
|
+
.cropper-center::before {
|
|
1382
|
+
position: absolute;
|
|
1383
|
+
display: block;
|
|
1384
|
+
background-color: #eee;
|
|
1385
|
+
content: ' ';
|
|
1386
|
+
}
|
|
1387
|
+
.cropper-center::before {
|
|
1388
|
+
top: 0;
|
|
1389
|
+
left: -3px;
|
|
1390
|
+
width: 7px;
|
|
1391
|
+
height: 1px;
|
|
1392
|
+
}
|
|
1393
|
+
.cropper-center::after {
|
|
1394
|
+
top: -3px;
|
|
1395
|
+
left: 0;
|
|
1396
|
+
width: 1px;
|
|
1397
|
+
height: 7px;
|
|
1398
|
+
}
|
|
1399
|
+
.cropper-face,
|
|
1400
|
+
.cropper-line,
|
|
1401
|
+
.cropper-point {
|
|
1402
|
+
position: absolute;
|
|
1403
|
+
display: block;
|
|
1404
|
+
width: 100%;
|
|
1405
|
+
height: 100%;
|
|
1406
|
+
opacity: 0.1;
|
|
1407
|
+
}
|
|
1408
|
+
.cropper-face {
|
|
1409
|
+
top: 0;
|
|
1410
|
+
left: 0;
|
|
1411
|
+
background-color: #fff;
|
|
1412
|
+
}
|
|
1413
|
+
.cropper-line {
|
|
1414
|
+
background-color: #39f;
|
|
1415
|
+
}
|
|
1416
|
+
.cropper-line.line-e {
|
|
1417
|
+
top: 0;
|
|
1418
|
+
right: -3px;
|
|
1419
|
+
width: 5px;
|
|
1420
|
+
cursor: e-resize;
|
|
1421
|
+
}
|
|
1422
|
+
.cropper-line.line-n {
|
|
1423
|
+
top: -3px;
|
|
1424
|
+
left: 0;
|
|
1425
|
+
height: 5px;
|
|
1426
|
+
cursor: n-resize;
|
|
1427
|
+
}
|
|
1428
|
+
.cropper-line.line-w {
|
|
1429
|
+
top: 0;
|
|
1430
|
+
left: -3px;
|
|
1431
|
+
width: 5px;
|
|
1432
|
+
cursor: w-resize;
|
|
1433
|
+
}
|
|
1434
|
+
.cropper-line.line-s {
|
|
1435
|
+
bottom: -3px;
|
|
1436
|
+
left: 0;
|
|
1437
|
+
height: 5px;
|
|
1438
|
+
cursor: s-resize;
|
|
1439
|
+
}
|
|
1440
|
+
.cropper-point {
|
|
1441
|
+
width: 5px;
|
|
1442
|
+
height: 5px;
|
|
1443
|
+
background-color: #39f;
|
|
1444
|
+
opacity: 0.75;
|
|
1445
|
+
}
|
|
1446
|
+
.cropper-point.point-e {
|
|
1447
|
+
top: 50%;
|
|
1448
|
+
right: -3px;
|
|
1449
|
+
margin-top: -3px;
|
|
1450
|
+
cursor: e-resize;
|
|
1451
|
+
}
|
|
1452
|
+
.cropper-point.point-n {
|
|
1453
|
+
top: -3px;
|
|
1454
|
+
left: 50%;
|
|
1455
|
+
margin-left: -3px;
|
|
1456
|
+
cursor: n-resize;
|
|
1457
|
+
}
|
|
1458
|
+
.cropper-point.point-w {
|
|
1459
|
+
top: 50%;
|
|
1460
|
+
left: -3px;
|
|
1461
|
+
margin-top: -3px;
|
|
1462
|
+
cursor: w-resize;
|
|
1463
|
+
}
|
|
1464
|
+
.cropper-point.point-s {
|
|
1465
|
+
bottom: -3px;
|
|
1466
|
+
left: 50%;
|
|
1467
|
+
margin-left: -3px;
|
|
1468
|
+
cursor: s-resize;
|
|
1469
|
+
}
|
|
1470
|
+
.cropper-point.point-ne {
|
|
1471
|
+
top: -3px;
|
|
1472
|
+
right: -3px;
|
|
1473
|
+
cursor: ne-resize;
|
|
1474
|
+
}
|
|
1475
|
+
.cropper-point.point-nw {
|
|
1476
|
+
top: -3px;
|
|
1477
|
+
left: -3px;
|
|
1478
|
+
cursor: nw-resize;
|
|
1479
|
+
}
|
|
1480
|
+
.cropper-point.point-sw {
|
|
1481
|
+
bottom: -3px;
|
|
1482
|
+
left: -3px;
|
|
1483
|
+
cursor: sw-resize;
|
|
1484
|
+
}
|
|
1485
|
+
.cropper-point.point-se {
|
|
1486
|
+
right: -3px;
|
|
1487
|
+
bottom: -3px;
|
|
1488
|
+
width: 20px;
|
|
1489
|
+
height: 20px;
|
|
1490
|
+
cursor: se-resize;
|
|
1491
|
+
opacity: 1;
|
|
1492
|
+
}
|
|
1493
|
+
@media (min-width: 768px) {
|
|
1494
|
+
.cropper-point.point-se {
|
|
1495
|
+
width: 15px;
|
|
1496
|
+
height: 15px;
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
@media (min-width: 992px) {
|
|
1500
|
+
.cropper-point.point-se {
|
|
1501
|
+
width: 10px;
|
|
1502
|
+
height: 10px;
|
|
1503
|
+
}
|
|
1504
|
+
}
|
|
1505
|
+
@media (min-width: 1200px) {
|
|
1506
|
+
.cropper-point.point-se {
|
|
1507
|
+
width: 5px;
|
|
1508
|
+
height: 5px;
|
|
1509
|
+
opacity: 0.75;
|
|
1510
|
+
}
|
|
1511
|
+
}
|
|
1512
|
+
.cropper-point.point-se::before {
|
|
1513
|
+
position: absolute;
|
|
1514
|
+
right: -50%;
|
|
1515
|
+
bottom: -50%;
|
|
1516
|
+
display: block;
|
|
1517
|
+
width: 200%;
|
|
1518
|
+
height: 200%;
|
|
1519
|
+
background-color: #39f;
|
|
1520
|
+
opacity: 0;
|
|
1521
|
+
content: ' ';
|
|
1522
|
+
}
|
|
1523
|
+
.cropper-invisible {
|
|
1524
|
+
opacity: 0;
|
|
1525
|
+
}
|
|
1526
|
+
.cropper-bg {
|
|
1527
|
+
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC');
|
|
1528
|
+
}
|
|
1529
|
+
.cropper-hide {
|
|
1530
|
+
position: absolute;
|
|
1531
|
+
display: block;
|
|
1532
|
+
width: 0;
|
|
1533
|
+
height: 0;
|
|
1534
|
+
}
|
|
1535
|
+
.cropper-hidden {
|
|
1536
|
+
display: none !important;
|
|
1537
|
+
}
|
|
1538
|
+
.cropper-move {
|
|
1539
|
+
cursor: move;
|
|
1540
|
+
}
|
|
1541
|
+
.cropper-crop {
|
|
1542
|
+
cursor: crosshair;
|
|
1543
|
+
}
|
|
1544
|
+
.cropper-disabled .cropper-drag-box,
|
|
1545
|
+
.cropper-disabled .cropper-face,
|
|
1546
|
+
.cropper-disabled .cropper-line,
|
|
1547
|
+
.cropper-disabled .cropper-point {
|
|
1548
|
+
cursor: not-allowed;
|
|
1549
|
+
}
|
|
1550
|
+
.image-crop-modal-wrapper .arco-modal-footer {
|
|
1551
|
+
padding: 0;
|
|
1552
|
+
}
|
|
1553
|
+
.image-crop-modal-body {
|
|
1554
|
+
height: calc(100vh - 16vh - 114px);
|
|
1555
|
+
padding: 0;
|
|
1556
|
+
overflow: hidden;
|
|
1557
|
+
background: var(--color-fill-3);
|
|
1558
|
+
}
|
|
1559
|
+
.image-crop-modal-body .image-cropper {
|
|
1560
|
+
height: 100%;
|
|
1561
|
+
}
|
|
1562
|
+
.image-crop-modal-body .image-cropper .edit {
|
|
1563
|
+
height: calc(100% - 86px);
|
|
1564
|
+
padding: 24px;
|
|
1565
|
+
text-align: center;
|
|
1566
|
+
}
|
|
1567
|
+
.image-crop-modal-body .image-cropper .edit.fullHeight {
|
|
1568
|
+
height: 100%;
|
|
1569
|
+
}
|
|
1570
|
+
.image-crop-modal-body .image-cropper .edit .edit-cropper {
|
|
1571
|
+
position: relative;
|
|
1572
|
+
top: 50%;
|
|
1573
|
+
left: 50%;
|
|
1574
|
+
width: 100%;
|
|
1575
|
+
height: 100%;
|
|
1576
|
+
transform: translate(-50%, -50%);
|
|
1577
|
+
}
|
|
1578
|
+
.image-crop-modal-body .image-cropper .edit .edit-cropper #cropper_img {
|
|
1579
|
+
display: block;
|
|
1580
|
+
max-width: 100%;
|
|
1581
|
+
max-height: 100%;
|
|
1582
|
+
}
|
|
1583
|
+
.image-crop-modal-body .image-cropper .edit .edit-cropper #cropper_img.position {
|
|
1584
|
+
position: absolute;
|
|
1585
|
+
top: 50%;
|
|
1586
|
+
left: 50%;
|
|
1587
|
+
transform: translate(-50%, -50%);
|
|
1588
|
+
}
|
|
1589
|
+
.image-crop-modal-body .image-cropper .edit .edit-cropper .cropper-bg {
|
|
1590
|
+
background: none !important;
|
|
1591
|
+
}
|
|
1592
|
+
.image-crop-modal-body .image-cropper .tool {
|
|
1593
|
+
width: 100%;
|
|
1594
|
+
height: 86px;
|
|
1595
|
+
line-height: 86px;
|
|
1596
|
+
text-align: center;
|
|
1597
|
+
background: #fff;
|
|
1598
|
+
}
|
|
1599
|
+
.image-crop-modal-body .image-cropper .tool .btn {
|
|
1600
|
+
display: inline-block;
|
|
1601
|
+
margin: 0 30px;
|
|
1602
|
+
color: #474747;
|
|
1603
|
+
font-size: 14px;
|
|
1604
|
+
font-family: PingFangSC-Regular;
|
|
1605
|
+
letter-spacing: 0;
|
|
1606
|
+
vertical-align: middle;
|
|
1607
|
+
border: 1px solid #333;
|
|
1608
|
+
cursor: pointer;
|
|
1609
|
+
opacity: 0.8;
|
|
1610
|
+
}
|
|
1611
|
+
.image-crop-modal-body .image-cropper .tool .btn.btn1 {
|
|
1612
|
+
width: 41px;
|
|
1613
|
+
height: 33px;
|
|
1614
|
+
line-height: 33px;
|
|
1615
|
+
border: 1px dashed #333;
|
|
1616
|
+
}
|
|
1617
|
+
.image-crop-modal-body .image-cropper .tool .btn.btn2 {
|
|
1618
|
+
width: 35px;
|
|
1619
|
+
height: 35px;
|
|
1620
|
+
line-height: 35px;
|
|
1621
|
+
}
|
|
1622
|
+
.image-crop-modal-body .image-cropper .tool .btn.btn3 {
|
|
1623
|
+
width: 46px;
|
|
1624
|
+
height: 33px;
|
|
1625
|
+
line-height: 33px;
|
|
1626
|
+
}
|
|
1627
|
+
.image-crop-modal-body .image-cropper .tool .btn.btn4 {
|
|
1628
|
+
width: 34px;
|
|
1629
|
+
height: 47px;
|
|
1630
|
+
line-height: 47px;
|
|
1631
|
+
}
|
|
1632
|
+
.image-crop-modal-body .image-cropper .tool .btn.btn5 {
|
|
1633
|
+
width: 59px;
|
|
1634
|
+
height: 33px;
|
|
1635
|
+
line-height: 33px;
|
|
1636
|
+
}
|
|
1637
|
+
.image-crop-modal-body .image-cropper .tool .btn.btn6 {
|
|
1638
|
+
width: 33px;
|
|
1639
|
+
height: 59px;
|
|
1640
|
+
line-height: 59px;
|
|
1641
|
+
}
|
|
1642
|
+
.image-crop-modal-body .image-cropper .tool .btn:hover,
|
|
1643
|
+
.image-crop-modal-body .image-cropper .tool .btn.active {
|
|
1644
|
+
color: #4886ff;
|
|
1645
|
+
border-color: #4886ff;
|
|
1646
|
+
}
|
|
1647
|
+
.image-crop-modal-footer {
|
|
1648
|
+
display: flex;
|
|
1649
|
+
align-items: center;
|
|
1650
|
+
justify-content: space-between;
|
|
1651
|
+
padding: 10px 30px;
|
|
1652
|
+
overflow: hidden;
|
|
1653
|
+
border-top: solid 1px var(--color-border-1);
|
|
1654
|
+
}
|
|
1655
|
+
.image-crop-modal-footer .cropper-btn {
|
|
1656
|
+
padding: 6px !important;
|
|
1657
|
+
font-size: 18px;
|
|
1658
|
+
}
|
|
1659
|
+
.image-crop-modal-footer .cropper-btn + .cropper-btn {
|
|
1660
|
+
margin-left: 10px;
|
|
1661
|
+
}
|
|
1296
1662
|
.tooltip-button {
|
|
1297
1663
|
height: auto;
|
|
1298
1664
|
padding: 20px;
|
|
@@ -2208,6 +2574,7 @@
|
|
|
2208
2574
|
height: 40px !important;
|
|
2209
2575
|
}
|
|
2210
2576
|
.user-director-modal-body {
|
|
2577
|
+
background: var(--color-bg-1);
|
|
2211
2578
|
padding: 0;
|
|
2212
2579
|
}
|
|
2213
2580
|
.user-director-modal-body .arco-collapse {
|
|
@@ -2216,7 +2583,7 @@
|
|
|
2216
2583
|
.user-director-modal-body .arco-collapse-item-content {
|
|
2217
2584
|
padding-left: 10px;
|
|
2218
2585
|
padding-right: 0;
|
|
2219
|
-
background:
|
|
2586
|
+
background: var(--color-bg-1);
|
|
2220
2587
|
}
|
|
2221
2588
|
.user-select-content {
|
|
2222
2589
|
height: 50vh;
|
|
@@ -2274,3 +2641,104 @@
|
|
|
2274
2641
|
.user-select-content .arco-tree-node:hover .tree-action {
|
|
2275
2642
|
display: inline-block;
|
|
2276
2643
|
}
|
|
2644
|
+
.select-thumb-container .thumb-card-container {
|
|
2645
|
+
width: 100px;
|
|
2646
|
+
height: 58px;
|
|
2647
|
+
margin-right: 10px;
|
|
2648
|
+
border-radius: 4px;
|
|
2649
|
+
overflow: hidden;
|
|
2650
|
+
position: relative;
|
|
2651
|
+
}
|
|
2652
|
+
.select-thumb-container .thumb-card-container.model-5 {
|
|
2653
|
+
width: 75px;
|
|
2654
|
+
height: 100px;
|
|
2655
|
+
}
|
|
2656
|
+
.select-thumb-container .thumb-card-container.model-7 {
|
|
2657
|
+
width: 232px;
|
|
2658
|
+
height: 58px;
|
|
2659
|
+
}
|
|
2660
|
+
.select-thumb-container .thumb-card-container .img-v {
|
|
2661
|
+
width: 100%;
|
|
2662
|
+
height: 100%;
|
|
2663
|
+
position: relative;
|
|
2664
|
+
}
|
|
2665
|
+
.select-thumb-container .thumb-card-container .img-v .change-icon {
|
|
2666
|
+
width: 25px;
|
|
2667
|
+
height: 25px;
|
|
2668
|
+
font-size: 25px;
|
|
2669
|
+
position: absolute;
|
|
2670
|
+
left: 0;
|
|
2671
|
+
right: 0;
|
|
2672
|
+
top: 0;
|
|
2673
|
+
bottom: 0;
|
|
2674
|
+
margin: auto;
|
|
2675
|
+
z-index: 1;
|
|
2676
|
+
color: #ffffff;
|
|
2677
|
+
cursor: pointer;
|
|
2678
|
+
}
|
|
2679
|
+
.select-thumb-container .thumb-card-container .item {
|
|
2680
|
+
width: 100%;
|
|
2681
|
+
height: 100%;
|
|
2682
|
+
cursor: pointer;
|
|
2683
|
+
}
|
|
2684
|
+
.select-thumb-container .thumb-card-container .item.add-thumb {
|
|
2685
|
+
display: flex;
|
|
2686
|
+
align-items: center;
|
|
2687
|
+
justify-content: center;
|
|
2688
|
+
background-color: #f9f9f9;
|
|
2689
|
+
}
|
|
2690
|
+
.select-thumb-container .thumb-card-container .mask {
|
|
2691
|
+
display: none;
|
|
2692
|
+
width: 100%;
|
|
2693
|
+
height: 100%;
|
|
2694
|
+
background: rgba(0, 0, 0, 0.3);
|
|
2695
|
+
position: absolute;
|
|
2696
|
+
top: 0;
|
|
2697
|
+
align-items: center;
|
|
2698
|
+
justify-content: center;
|
|
2699
|
+
color: #eaeaea;
|
|
2700
|
+
font-size: 18px;
|
|
2701
|
+
}
|
|
2702
|
+
.select-thumb-container .thumb-card-container .mask i {
|
|
2703
|
+
display: inline-block;
|
|
2704
|
+
cursor: pointer;
|
|
2705
|
+
}
|
|
2706
|
+
.select-thumb-container .thumb-card-container .mask i:active {
|
|
2707
|
+
opacity: 0.4;
|
|
2708
|
+
}
|
|
2709
|
+
.select-thumb-container .thumb-card-container .mask .half {
|
|
2710
|
+
height: 100%;
|
|
2711
|
+
width: 48%;
|
|
2712
|
+
display: flex;
|
|
2713
|
+
align-items: center;
|
|
2714
|
+
justify-content: center;
|
|
2715
|
+
}
|
|
2716
|
+
.select-thumb-container .thumb-card-container .mask .half:hover {
|
|
2717
|
+
opacity: 0.7;
|
|
2718
|
+
}
|
|
2719
|
+
.select-thumb-container .thumb-card-container .img-v:hover .mask {
|
|
2720
|
+
display: flex;
|
|
2721
|
+
}
|
|
2722
|
+
.select-thumb-container .title {
|
|
2723
|
+
font-size: 14px;
|
|
2724
|
+
color: #4e5969;
|
|
2725
|
+
font-weight: 700;
|
|
2726
|
+
line-height: 40px;
|
|
2727
|
+
margin: 5px 0px;
|
|
2728
|
+
}
|
|
2729
|
+
.select-thumb-container .title span {
|
|
2730
|
+
margin-right: 10px;
|
|
2731
|
+
}
|
|
2732
|
+
.select-thumb-container .title .tip {
|
|
2733
|
+
font-size: 12px;
|
|
2734
|
+
color: rgba(78, 89, 105, 0.4);
|
|
2735
|
+
}
|
|
2736
|
+
.select-thumb-container .thumb-list-view {
|
|
2737
|
+
display: flex;
|
|
2738
|
+
align-items: center;
|
|
2739
|
+
margin-bottom: 10px;
|
|
2740
|
+
}
|
|
2741
|
+
.select-thumb-container .star {
|
|
2742
|
+
color: red;
|
|
2743
|
+
margin-right: 2px !important;
|
|
2744
|
+
}
|
package/lib/index.js
CHANGED
|
@@ -10,12 +10,14 @@ var index$5 = require("./contentModal/index.js");
|
|
|
10
10
|
var index$6 = require("./resourceModal/index.js");
|
|
11
11
|
var index$7 = require("./previousVersion/index.js");
|
|
12
12
|
var index$8 = require("./selectGategory/index.js");
|
|
13
|
-
var index$9 = require("./
|
|
14
|
-
var index$a = require("./
|
|
15
|
-
var index$b = require("./
|
|
16
|
-
var index$c = require("./
|
|
17
|
-
var index$d = require("./
|
|
18
|
-
var index$e = require("./
|
|
13
|
+
var index$9 = require("./imageCrop/index.js");
|
|
14
|
+
var index$a = require("./uploadBefore/index.js");
|
|
15
|
+
var index$b = require("./contentDetailList/index.js");
|
|
16
|
+
var index$c = require("./emptyData/index.js");
|
|
17
|
+
var index$d = require("./mediaFilter/index.js");
|
|
18
|
+
var index$e = require("./selectAvatarList/index.js");
|
|
19
|
+
var index$f = require("./userDirector/index.js");
|
|
20
|
+
var index$g = require("./selectThumb/index.js");
|
|
19
21
|
exports["default"] = components;
|
|
20
22
|
exports.appCenter = index;
|
|
21
23
|
exports.messageBox = index$1;
|
|
@@ -26,9 +28,11 @@ exports.contentModal = index$5;
|
|
|
26
28
|
exports.resourceModal = index$6;
|
|
27
29
|
exports.previousVersion = index$7;
|
|
28
30
|
exports.selectGategory = index$8;
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
31
|
+
exports.imageCrop = index$9;
|
|
32
|
+
exports.uploadBefore = index$a;
|
|
33
|
+
exports.contentDetailList = index$b;
|
|
34
|
+
exports.emptyData = index$c;
|
|
35
|
+
exports.mediaFilter = index$d;
|
|
36
|
+
exports.selectAvatarList = index$e;
|
|
37
|
+
exports.userDirector = index$f;
|
|
38
|
+
exports.selectThumb = index$g;
|
package/lib/index.less
CHANGED
|
@@ -8,9 +8,11 @@
|
|
|
8
8
|
@import './resourceModal/style/index.less';
|
|
9
9
|
@import './previousVersion/style/index.less';
|
|
10
10
|
@import './selectGategory/style/index.less';
|
|
11
|
+
@import './imageCrop/style/index.less';
|
|
11
12
|
@import './uploadBefore/style/index.less';
|
|
12
13
|
@import './contentDetailList/style/index.less';
|
|
13
14
|
@import './emptyData/style/index.less';
|
|
14
15
|
@import './mediaFilter/style/index.less';
|
|
15
16
|
@import './selectAvatarList/style/index.less';
|
|
16
17
|
@import './userDirector/style/index.less';
|
|
18
|
+
@import './selectThumb/style/index.less';
|
|
@@ -16,9 +16,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
16
16
|
BASE_API: {}
|
|
17
17
|
},
|
|
18
18
|
emits: ["search", "change"],
|
|
19
|
-
setup(__props, { emit:
|
|
19
|
+
setup(__props, { emit: emits }) {
|
|
20
20
|
const props = __props;
|
|
21
|
-
const emits = __emit;
|
|
22
21
|
props.BASE_API || config.DEFAULT_BASE_API;
|
|
23
22
|
function handleFilterChange(params) {
|
|
24
23
|
emits("change", params);
|
|
@@ -15,9 +15,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
15
15
|
filterType: { default: "APV" }
|
|
16
16
|
},
|
|
17
17
|
emits: ["search", "change"],
|
|
18
|
-
setup(__props, { emit:
|
|
18
|
+
setup(__props, { emit: emits }) {
|
|
19
19
|
const props = __props;
|
|
20
|
-
const emits = __emit;
|
|
21
20
|
const { highLevelSearchOptions, showHighLevelSearch, sortOptions } = optionsGetter.useHighLevelSearch(props.filterType);
|
|
22
21
|
const filter = vue.ref({
|
|
23
22
|
keywords: "",
|
package/lib/messageBox/list.js
CHANGED
|
@@ -32,8 +32,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
32
32
|
isNorMore: { type: Boolean }
|
|
33
33
|
},
|
|
34
34
|
emits: ["loadMoreMsg"],
|
|
35
|
-
setup(__props, { emit:
|
|
36
|
-
const emits = __emit;
|
|
35
|
+
setup(__props, { emit: emits }) {
|
|
37
36
|
const props = __props;
|
|
38
37
|
const isEmptyList = vue.computed(() => {
|
|
39
38
|
if (props.list.length === 0) {
|
|
@@ -37,9 +37,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
37
37
|
targetArr: {}
|
|
38
38
|
},
|
|
39
39
|
emits: ["update:visible", "cancel"],
|
|
40
|
-
setup(__props, { emit
|
|
40
|
+
setup(__props, { emit }) {
|
|
41
41
|
const props = __props;
|
|
42
|
-
const emit = __emit;
|
|
43
42
|
const BASE_API = props.BASE_API || config.DEFAULT_BASE_API;
|
|
44
43
|
const title = props.title || "\u4E0A\u7248";
|
|
45
44
|
const targetArr = vue.computed(() => {
|
|
@@ -12,16 +12,14 @@ const _sfc_main = vue.defineComponent({
|
|
|
12
12
|
ai_static_covers: {},
|
|
13
13
|
ai_gif_covers: {},
|
|
14
14
|
preview: { type: Boolean },
|
|
15
|
-
addType: {},
|
|
16
15
|
base_api: {}
|
|
17
16
|
},
|
|
18
17
|
emits: ["update:dialogVisible", "submit"],
|
|
19
|
-
setup(__props, { emit
|
|
18
|
+
setup(__props, { emit }) {
|
|
20
19
|
const props = __props;
|
|
21
20
|
const BASE_API = props.base_api || config.DEFAULT_BASE_API;
|
|
22
21
|
const selectedMax = vue.ref(1);
|
|
23
|
-
const
|
|
24
|
-
const add = (itemData) => {
|
|
22
|
+
const submit = (itemData) => {
|
|
25
23
|
emit("submit", itemData);
|
|
26
24
|
};
|
|
27
25
|
const setVisible = (bool) => {
|
|
@@ -65,9 +63,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
65
63
|
ai_static_covers: _ctx.ai_static_covers,
|
|
66
64
|
ai_gif_covers: _ctx.ai_gif_covers,
|
|
67
65
|
preview: _ctx.preview,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}, null, 8, ["selected-max", "catalog-props", "base_api", "ai_static_covers", "ai_gif_covers", "preview", "add-type"])
|
|
66
|
+
onConfirm: submit
|
|
67
|
+
}, null, 8, ["selected-max", "catalog-props", "base_api", "ai_static_covers", "ai_gif_covers", "preview"])
|
|
71
68
|
]),
|
|
72
69
|
_: 1
|
|
73
70
|
}, 8, ["visible"]);
|
|
@@ -27,10 +27,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
27
27
|
url: {}
|
|
28
28
|
},
|
|
29
29
|
emits: ["close"],
|
|
30
|
-
setup(__props, { emit
|
|
30
|
+
setup(__props, { emit }) {
|
|
31
31
|
const props = __props;
|
|
32
32
|
const imageVisible = vue.computed(() => props.type === "image");
|
|
33
|
-
const emit = __emit;
|
|
34
33
|
const closePreviewer = () => {
|
|
35
34
|
emit("close", false);
|
|
36
35
|
};
|
|
@@ -22,20 +22,13 @@ const _sfc_main = vue.defineComponent({
|
|
|
22
22
|
selectedMax: {},
|
|
23
23
|
ai_static_covers: {},
|
|
24
24
|
ai_gif_covers: {},
|
|
25
|
-
preview: { type: Boolean }
|
|
26
|
-
addType: {}
|
|
25
|
+
preview: { type: Boolean }
|
|
27
26
|
},
|
|
28
|
-
emits: ["
|
|
29
|
-
setup(__props, { emit
|
|
30
|
-
const
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
selectedUrl.value = [];
|
|
34
|
-
emit("add", null);
|
|
35
|
-
} else {
|
|
36
|
-
selectedUrl.value = [itemData.url];
|
|
37
|
-
emit("add", itemData);
|
|
38
|
-
}
|
|
27
|
+
emits: ["confirm"],
|
|
28
|
+
setup(__props, { emit }) {
|
|
29
|
+
const confirm = (itemData) => {
|
|
30
|
+
selectedUrl.value = [itemData.url];
|
|
31
|
+
emit("confirm", itemData);
|
|
39
32
|
};
|
|
40
33
|
const selectedUrl = vue.ref([]);
|
|
41
34
|
return (_ctx, _cache) => {
|
|
@@ -57,7 +50,6 @@ const _sfc_main = vue.defineComponent({
|
|
|
57
50
|
}, [
|
|
58
51
|
vue.createVNode(index, {
|
|
59
52
|
preview: _ctx.preview,
|
|
60
|
-
"add-type": _ctx.addType,
|
|
61
53
|
"item-data": {
|
|
62
54
|
catalog: "image",
|
|
63
55
|
alias: item,
|
|
@@ -65,8 +57,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
65
57
|
url: item,
|
|
66
58
|
realUrl: item
|
|
67
59
|
},
|
|
68
|
-
|
|
69
|
-
}, null, 8, ["preview", "
|
|
60
|
+
onConfirm: confirm
|
|
61
|
+
}, null, 8, ["preview", "item-data"])
|
|
70
62
|
], 2)
|
|
71
63
|
])
|
|
72
64
|
]);
|
|
@@ -86,7 +78,6 @@ const _sfc_main = vue.defineComponent({
|
|
|
86
78
|
}, [
|
|
87
79
|
vue.createVNode(index, {
|
|
88
80
|
preview: _ctx.preview,
|
|
89
|
-
"add-type": _ctx.addType,
|
|
90
81
|
"item-data": {
|
|
91
82
|
catalog: "image",
|
|
92
83
|
alias: item,
|
|
@@ -94,8 +85,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
94
85
|
url: item,
|
|
95
86
|
realUrl: item
|
|
96
87
|
},
|
|
97
|
-
|
|
98
|
-
}, null, 8, ["preview", "
|
|
88
|
+
onConfirm: confirm
|
|
89
|
+
}, null, 8, ["preview", "item-data"])
|
|
99
90
|
], 2)
|
|
100
91
|
])
|
|
101
92
|
]);
|