@cmstops/pro-compo 0.1.30 → 0.1.32
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/index.css +218 -20
- package/dist/index.min.css +1 -1
- package/es/baseFilter/component.js +2 -1
- package/es/contentDetailList/component.js +3 -1
- package/es/contentDetailList/components/Content/CompoItem/index.js +2 -1
- package/es/contentDetailList/components/Content/ContentListItem/index.js +2 -1
- package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +2 -1
- package/es/contentDetailList/components/Content/DocItem/index.js +2 -1
- package/es/contentDetailList/components/Content/DocMpItem/index.js +2 -1
- package/es/contentDetailList/components/Content/KongoNavItem/index.js +2 -1
- package/es/contentDetailList/components/Content/LiveItem/index.js +2 -1
- package/es/contentDetailList/components/Content/MaccountItem/index.js +2 -1
- package/es/contentDetailList/components/Content/index.js +7 -2
- package/es/contentDetailList/components/Doc/index.js +2 -1
- package/es/contentDetailList/style/DocItem.less +4 -3
- package/es/contentDetailList/style/index.css +3 -3
- package/es/contentModal/component.js +39 -36
- package/es/contentModal/components/CompoList/CompoFilter/index.js +3 -2
- package/es/contentModal/components/CompoList/index.js +10 -3
- package/es/contentModal/components/ContentList/MediaFilter/index.js +2 -1
- package/es/contentModal/components/ContentList/index.js +2 -1
- package/es/contentModal/components/LiveList/MediaFilter/index.js +2 -1
- package/es/contentModal/components/LiveList/index.js +2 -1
- package/es/contentModal/components/MpAccountList/MpAccountFilter/index.js +2 -1
- package/es/contentModal/components/MpAccountList/index.js +2 -1
- package/es/contentModal/components/MpContentList/MediaFilter/index.js +2 -1
- package/es/contentModal/components/MpContentList/index.js +2 -1
- package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +55 -23
- package/es/contentModal/components/ViewAllColumn/columnTree/index.js +68 -18
- package/es/contentModal/components/ViewAllColumn/index.js +93 -45
- package/es/contentModal/components/storeBox/index.js +8 -7
- package/es/contentModal/images/pic-thumb.js +2 -0
- package/es/contentModal/style/MediaFilter.less +35 -5
- package/es/contentModal/style/ViewAllColumn.less +11 -0
- package/es/contentModal/style/columnTree.less +25 -5
- package/es/contentModal/style/index.css +56 -11
- package/es/contentModal/style/storeBox.less +16 -6
- package/es/dataTags/component.js +26 -5
- package/es/editMetaInfo/component.js +2 -1
- package/es/editMetaInfo/components/metaInfoForm.js +93 -7
- package/es/editMetaInfo/style/index.css +18 -1
- package/es/editMetaInfo/style/index.less +31 -1
- package/es/hooks/source.d.ts +9 -0
- package/es/hooks/source.js +31 -0
- package/es/hooks/user.d.ts +1 -1
- package/es/imageCrop/component.js +16 -9
- package/es/index.css +218 -20
- package/es/mediaFilter/component.js +2 -1
- package/es/mediaFilter/components/DocFilter.js +2 -1
- package/es/mediaFilter/components/FilterGroup.js +1 -1
- package/es/messageBox/list.js +2 -1
- package/es/previousVersion/component.js +2 -1
- package/es/resourceModal/assets/images/sys_load_more.js +2 -0
- package/es/resourceModal/component.js +11 -3
- package/es/resourceModal/components/MediaPreviewer/index.js +2 -1
- package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +2 -1
- package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +5 -7
- package/es/resourceModal/components/MediaSelection/MainContent/index.js +87 -34
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +139 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +103 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +103 -0
- package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.js +2 -1
- package/es/resourceModal/components/MediaSelection/index.js +18 -8
- package/es/resourceModal/script/api.d.ts +17 -0
- package/es/resourceModal/script/api.js +21 -1
- package/es/resourceModal/script/mediaSelection.d.ts +4 -0
- package/es/resourceModal/script/mediaSelection.js +8 -0
- package/es/resourceModal/style/MainContent.less +25 -5
- package/es/resourceModal/style/SystemResourceSelected.less +138 -0
- package/es/resourceModal/style/index.css +142 -6
- package/es/resourceModal/style/index.less +1 -0
- package/es/selectAvatarList/component.js +2 -1
- package/es/selectGategory/component.js +2 -1
- package/es/selectGategory/components/ColumnSelection/index.js +2 -1
- package/es/selectThumb/component.js +8 -3
- package/es/selectThumb/components/card.js +5 -7
- package/es/selectThumb/components/colorPalette.js +2 -1
- package/es/selectThumb/components/colorPicker.js +2 -1
- package/es/typeIcons/component.js +10 -7
- package/es/uploadBefore/component.js +3 -2
- package/es/uploadBefore/components/UploadBefore.js +2 -1
- package/es/uploadBefore/components/UploadForClick.js +2 -1
- package/es/uploadStep/component.js +3 -2
- package/es/userDirector/component.js +2 -1
- package/es/userDirector/components/userTree.js +2 -1
- package/es/utils/doc.d.ts +1 -0
- package/es/utils/doc.js +2 -1
- package/es/utils/typeMap.d.ts +1 -0
- package/es/utils/typeMap.js +2 -1
- package/lib/baseFilter/component.js +2 -1
- package/lib/contentDetailList/component.js +3 -1
- package/lib/contentDetailList/components/Content/CompoItem/index.js +2 -1
- package/lib/contentDetailList/components/Content/ContentListItem/index.js +2 -1
- package/lib/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +2 -1
- package/lib/contentDetailList/components/Content/DocItem/index.js +2 -1
- package/lib/contentDetailList/components/Content/DocMpItem/index.js +2 -1
- package/lib/contentDetailList/components/Content/KongoNavItem/index.js +2 -1
- package/lib/contentDetailList/components/Content/LiveItem/index.js +2 -1
- package/lib/contentDetailList/components/Content/MaccountItem/index.js +2 -1
- package/lib/contentDetailList/components/Content/index.js +6 -1
- package/lib/contentDetailList/components/Doc/index.js +2 -1
- package/lib/contentDetailList/style/DocItem.less +4 -3
- package/lib/contentDetailList/style/index.css +3 -3
- package/lib/contentModal/component.js +39 -36
- package/lib/contentModal/components/CompoList/CompoFilter/index.js +3 -2
- package/lib/contentModal/components/CompoList/index.js +10 -3
- package/lib/contentModal/components/ContentList/MediaFilter/index.js +2 -1
- package/lib/contentModal/components/ContentList/index.js +2 -1
- package/lib/contentModal/components/LiveList/MediaFilter/index.js +2 -1
- package/lib/contentModal/components/LiveList/index.js +2 -1
- package/lib/contentModal/components/MpAccountList/MpAccountFilter/index.js +2 -1
- package/lib/contentModal/components/MpAccountList/index.js +2 -1
- package/lib/contentModal/components/MpContentList/MediaFilter/index.js +2 -1
- package/lib/contentModal/components/MpContentList/index.js +2 -1
- package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +53 -21
- package/lib/contentModal/components/ViewAllColumn/columnTree/index.js +66 -16
- package/lib/contentModal/components/ViewAllColumn/index.js +92 -44
- package/lib/contentModal/components/storeBox/index.js +8 -7
- package/lib/contentModal/images/pic-thumb.js +3 -0
- package/lib/contentModal/style/MediaFilter.less +35 -5
- package/lib/contentModal/style/ViewAllColumn.less +11 -0
- package/lib/contentModal/style/columnTree.less +25 -5
- package/lib/contentModal/style/index.css +56 -11
- package/lib/contentModal/style/storeBox.less +16 -6
- package/lib/dataTags/component.js +25 -4
- package/lib/editMetaInfo/component.js +2 -1
- package/lib/editMetaInfo/components/metaInfoForm.js +91 -5
- package/lib/editMetaInfo/style/index.css +18 -1
- package/lib/editMetaInfo/style/index.less +31 -1
- package/lib/hooks/source.js +34 -0
- package/lib/imageCrop/component.js +16 -9
- package/lib/index.css +218 -20
- package/lib/mediaFilter/component.js +2 -1
- package/lib/mediaFilter/components/DocFilter.js +2 -1
- package/lib/mediaFilter/components/FilterGroup.js +1 -1
- package/lib/messageBox/list.js +2 -1
- package/lib/previousVersion/component.js +2 -1
- package/lib/resourceModal/assets/images/sys_load_more.js +3 -0
- package/lib/resourceModal/component.js +10 -2
- package/lib/resourceModal/components/MediaPreviewer/index.js +2 -1
- package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +2 -1
- package/lib/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +5 -7
- package/lib/resourceModal/components/MediaSelection/MainContent/index.js +86 -33
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +140 -0
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +104 -0
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +104 -0
- package/lib/resourceModal/components/MediaSelection/ToolbarSearch/index.js +2 -1
- package/lib/resourceModal/components/MediaSelection/index.js +17 -7
- package/lib/resourceModal/script/api.js +23 -0
- package/lib/resourceModal/script/mediaSelection.js +10 -0
- package/lib/resourceModal/style/MainContent.less +25 -5
- package/lib/resourceModal/style/SystemResourceSelected.less +138 -0
- package/lib/resourceModal/style/index.css +142 -6
- package/lib/resourceModal/style/index.less +1 -0
- package/lib/selectAvatarList/component.js +2 -1
- package/lib/selectGategory/component.js +2 -1
- package/lib/selectGategory/components/ColumnSelection/index.js +2 -1
- package/lib/selectThumb/component.js +7 -2
- package/lib/selectThumb/components/card.js +5 -7
- package/lib/selectThumb/components/colorPalette.js +2 -1
- package/lib/selectThumb/components/colorPicker.js +2 -1
- package/lib/typeIcons/component.js +9 -6
- package/lib/uploadBefore/component.js +3 -2
- package/lib/uploadBefore/components/UploadBefore.js +2 -1
- package/lib/uploadBefore/components/UploadForClick.js +2 -1
- package/lib/uploadStep/component.js +3 -2
- package/lib/userDirector/component.js +2 -1
- package/lib/userDirector/components/userTree.js +2 -1
- package/lib/utils/doc.js +2 -1
- package/lib/utils/typeMap.js +2 -1
- package/package.json +5 -3
- package/es/editMetaInfo/script/restaurants.js +0 -127
- package/lib/editMetaInfo/script/restaurants.js +0 -128
package/es/index.css
CHANGED
|
@@ -326,49 +326,84 @@
|
|
|
326
326
|
text-overflow: ellipsis;
|
|
327
327
|
}
|
|
328
328
|
.column-selection-container {
|
|
329
|
-
padding:
|
|
329
|
+
padding: 0 15px;
|
|
330
330
|
}
|
|
331
|
-
.column-selection-popover-content {
|
|
332
|
-
|
|
331
|
+
.column-selection-popover-content .search-column {
|
|
332
|
+
margin-bottom: 4px;
|
|
333
|
+
padding: 4px 8px;
|
|
334
|
+
}
|
|
335
|
+
.column-selection-popover-content .last-search-key {
|
|
336
|
+
height: 32px;
|
|
337
|
+
margin-left: 22px;
|
|
338
|
+
padding-left: 4px;
|
|
339
|
+
color: #165dff;
|
|
340
|
+
line-height: 32px;
|
|
341
|
+
border-radius: var(--border-radius-small);
|
|
342
|
+
}
|
|
343
|
+
.column-selection-popover-content .last-search-key:hover {
|
|
344
|
+
color: var(--color-text-1);
|
|
345
|
+
background-color: var(--color-fill-2);
|
|
346
|
+
cursor: pointer;
|
|
333
347
|
}
|
|
334
348
|
.column-selection-popover-content .column-outer-scrollbar {
|
|
335
349
|
height: 100%;
|
|
336
350
|
}
|
|
337
351
|
.media-filter-container {
|
|
338
|
-
padding: 10px 15px;
|
|
339
352
|
display: flex;
|
|
340
353
|
align-items: center;
|
|
354
|
+
justify-content: space-between;
|
|
355
|
+
padding: 10px 20px;
|
|
341
356
|
}
|
|
342
357
|
.media-filter-container .filter-item {
|
|
343
358
|
width: auto;
|
|
344
359
|
}
|
|
360
|
+
.media-filter-container .reset-button {
|
|
361
|
+
width: 74px;
|
|
362
|
+
padding: 9px 12px;
|
|
363
|
+
font-size: 14px;
|
|
364
|
+
}
|
|
365
|
+
.media-filter-container .reset-button .reset-icon {
|
|
366
|
+
margin-right: 8px;
|
|
367
|
+
}
|
|
368
|
+
.media-filter-container .sort-button {
|
|
369
|
+
color: #4e5969;
|
|
370
|
+
}
|
|
371
|
+
.media-filter-container .sort-button .filter-item {
|
|
372
|
+
width: 102px;
|
|
373
|
+
}
|
|
374
|
+
.media-filter-container .sort-button .filter-item .arco-select-view-suffix {
|
|
375
|
+
padding-left: 0;
|
|
376
|
+
}
|
|
377
|
+
.media-filter-container .sort-button:hover {
|
|
378
|
+
cursor: pointer;
|
|
379
|
+
}
|
|
345
380
|
.selected-store-box-popover-content {
|
|
346
381
|
padding: 0;
|
|
347
382
|
}
|
|
348
383
|
.selected-store-box-popover-content .batch-section-popover-main .item {
|
|
349
|
-
height: 35px;
|
|
350
384
|
display: flex;
|
|
351
385
|
align-items: center;
|
|
352
386
|
justify-content: space-between;
|
|
353
|
-
padding: 5px 10px;
|
|
354
387
|
box-sizing: border-box;
|
|
388
|
+
height: 42px;
|
|
389
|
+
padding: 5px 10px;
|
|
355
390
|
}
|
|
356
391
|
.selected-store-box-popover-content .batch-section-popover-main .item .icon {
|
|
392
|
+
display: inline-block;
|
|
357
393
|
width: 20px;
|
|
358
394
|
height: 25px;
|
|
359
395
|
margin-right: 8px;
|
|
360
396
|
font-size: 18px;
|
|
361
|
-
vertical-align: middle;
|
|
362
|
-
display: inline-block;
|
|
363
397
|
text-align: center;
|
|
398
|
+
vertical-align: middle;
|
|
364
399
|
}
|
|
365
400
|
.selected-store-box-popover-content .batch-section-popover-main .item .left {
|
|
366
|
-
width: 90%;
|
|
367
401
|
display: inline-block;
|
|
368
402
|
align-items: center;
|
|
369
|
-
|
|
403
|
+
width: 90%;
|
|
370
404
|
overflow: hidden;
|
|
371
405
|
white-space: nowrap;
|
|
406
|
+
text-overflow: ellipsis;
|
|
372
407
|
}
|
|
373
408
|
.selected-store-box-popover-content .batch-section-popover-main .item .close-btn {
|
|
374
409
|
display: none;
|
|
@@ -385,12 +420,22 @@
|
|
|
385
420
|
display: flex;
|
|
386
421
|
align-items: center;
|
|
387
422
|
justify-content: flex-end;
|
|
423
|
+
height: 42px;
|
|
424
|
+
border-top: 1px solid #f2f3f5;
|
|
388
425
|
}
|
|
389
426
|
.view-all-column-container {
|
|
390
427
|
height: 100%;
|
|
391
428
|
}
|
|
392
429
|
.view-all-column-container .content-table-view {
|
|
393
430
|
height: calc(100% - 110px);
|
|
431
|
+
padding: 0 20px;
|
|
432
|
+
}
|
|
433
|
+
.view-all-column-container .content-table-view .arco-checkbox {
|
|
434
|
+
padding: 0;
|
|
435
|
+
}
|
|
436
|
+
.view-all-column-container .content-table-view .pic-thumb-img {
|
|
437
|
+
width: 60px;
|
|
438
|
+
height: 45px;
|
|
394
439
|
}
|
|
395
440
|
.view-all-column-container .content-table-view .title-span,
|
|
396
441
|
.view-all-column-container .content-table-view .mp_title-span {
|
|
@@ -629,6 +674,26 @@
|
|
|
629
674
|
word-wrap: normal;
|
|
630
675
|
opacity: 0.85;
|
|
631
676
|
}
|
|
677
|
+
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .folder-list .folder-more-button {
|
|
678
|
+
width: 20%;
|
|
679
|
+
overflow: hidden;
|
|
680
|
+
}
|
|
681
|
+
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .folder-list .folder-more-button .folder-more-wrap {
|
|
682
|
+
box-sizing: border-box;
|
|
683
|
+
height: 52px;
|
|
684
|
+
margin-right: 20px;
|
|
685
|
+
padding: 14px 16px;
|
|
686
|
+
line-height: 24px;
|
|
687
|
+
background: #f7f8fa;
|
|
688
|
+
border: 1px solid #ebeef5;
|
|
689
|
+
border-radius: 4px;
|
|
690
|
+
}
|
|
691
|
+
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .folder-list .folder-more-button .folder-more-wrap:hover {
|
|
692
|
+
color: #165dff;
|
|
693
|
+
background: #f2f3f5;
|
|
694
|
+
box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
|
|
695
|
+
cursor: pointer;
|
|
696
|
+
}
|
|
632
697
|
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .file-list {
|
|
633
698
|
display: flex;
|
|
634
699
|
flex-wrap: wrap;
|
|
@@ -652,14 +717,9 @@
|
|
|
652
717
|
border-radius: 4px;
|
|
653
718
|
}
|
|
654
719
|
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .file-list .item .shadow-wrap:hover {
|
|
720
|
+
border: 1px solid #4886ff;
|
|
655
721
|
box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1);
|
|
656
722
|
}
|
|
657
|
-
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .file-list .item .shadow-wrap.active {
|
|
658
|
-
border: 2px solid #4886ff;
|
|
659
|
-
}
|
|
660
|
-
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .file-list .item .shadow-wrap.active h4 {
|
|
661
|
-
color: #1a67d2;
|
|
662
|
-
}
|
|
663
723
|
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .file-list .item .shadow-wrap .transcoding-in-progress {
|
|
664
724
|
position: absolute;
|
|
665
725
|
top: 0;
|
|
@@ -955,6 +1015,127 @@
|
|
|
955
1015
|
color: #fff;
|
|
956
1016
|
font-size: 18px;
|
|
957
1017
|
}
|
|
1018
|
+
.sys-resource-dialog {
|
|
1019
|
+
padding: 10px 20px;
|
|
1020
|
+
}
|
|
1021
|
+
.sys-resource-dialog .scen-module {
|
|
1022
|
+
margin-bottom: 20px;
|
|
1023
|
+
}
|
|
1024
|
+
.sys-resource-dialog .scen-module .title {
|
|
1025
|
+
display: flex;
|
|
1026
|
+
gap: 8px;
|
|
1027
|
+
align-items: center;
|
|
1028
|
+
margin-bottom: 12px;
|
|
1029
|
+
font-size: 14px;
|
|
1030
|
+
}
|
|
1031
|
+
.sys-resource-dialog .scen-module .title .line {
|
|
1032
|
+
width: 2px;
|
|
1033
|
+
height: 14px;
|
|
1034
|
+
background-color: #4886ff;
|
|
1035
|
+
}
|
|
1036
|
+
.sys-resource-dialog .null-file {
|
|
1037
|
+
display: flex;
|
|
1038
|
+
flex-direction: column;
|
|
1039
|
+
justify-content: center;
|
|
1040
|
+
height: 300px;
|
|
1041
|
+
}
|
|
1042
|
+
.sys-resource-dialog .null-file .null-pic {
|
|
1043
|
+
display: block;
|
|
1044
|
+
width: 10%;
|
|
1045
|
+
margin: 20px auto;
|
|
1046
|
+
}
|
|
1047
|
+
.sys-resource-dialog .null-file p {
|
|
1048
|
+
color: #a2a3a7;
|
|
1049
|
+
font-size: 14px;
|
|
1050
|
+
text-align: center;
|
|
1051
|
+
}
|
|
1052
|
+
.sysfile-filter-container {
|
|
1053
|
+
padding: 12px 0;
|
|
1054
|
+
}
|
|
1055
|
+
.sys-res-file-list {
|
|
1056
|
+
display: flex;
|
|
1057
|
+
flex-wrap: wrap;
|
|
1058
|
+
gap: 20px;
|
|
1059
|
+
}
|
|
1060
|
+
.sys-res-file-list .item-load-more {
|
|
1061
|
+
display: flex;
|
|
1062
|
+
flex-direction: column;
|
|
1063
|
+
gap: 10px;
|
|
1064
|
+
align-items: center;
|
|
1065
|
+
justify-content: center;
|
|
1066
|
+
color: #9a9a9a;
|
|
1067
|
+
font-size: 12px;
|
|
1068
|
+
cursor: pointer;
|
|
1069
|
+
}
|
|
1070
|
+
.sys-res-file-list .item-load-more img {
|
|
1071
|
+
width: 72px;
|
|
1072
|
+
}
|
|
1073
|
+
.sys-res-file-list .item {
|
|
1074
|
+
position: relative;
|
|
1075
|
+
width: calc(20% - 20px);
|
|
1076
|
+
overflow: hidden;
|
|
1077
|
+
cursor: pointer;
|
|
1078
|
+
}
|
|
1079
|
+
.sys-res-file-list .item .move-action {
|
|
1080
|
+
opacity: 0.5;
|
|
1081
|
+
}
|
|
1082
|
+
.sys-res-file-list .item .shadow-wrap {
|
|
1083
|
+
position: relative;
|
|
1084
|
+
overflow: hidden;
|
|
1085
|
+
background: #fff;
|
|
1086
|
+
border: 1px solid #ebeef5;
|
|
1087
|
+
border-radius: 4px;
|
|
1088
|
+
}
|
|
1089
|
+
.sys-res-file-list .item .shadow-wrap:hover {
|
|
1090
|
+
border: 1px solid #4886ff;
|
|
1091
|
+
box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1);
|
|
1092
|
+
}
|
|
1093
|
+
.sys-res-file-list .item .shadow-wrap .thumb-wrap {
|
|
1094
|
+
position: relative;
|
|
1095
|
+
width: 100%;
|
|
1096
|
+
background: url('../assets/selection/picBg.png');
|
|
1097
|
+
}
|
|
1098
|
+
.sys-res-file-list .item .shadow-wrap h4,
|
|
1099
|
+
.sys-res-file-list .item .shadow-wrap p {
|
|
1100
|
+
margin-top: 4px;
|
|
1101
|
+
margin-bottom: 2px;
|
|
1102
|
+
padding: 0 10px;
|
|
1103
|
+
overflow: hidden;
|
|
1104
|
+
color: rgba(0, 0, 0, 0.85);
|
|
1105
|
+
font-size: 14px;
|
|
1106
|
+
white-space: nowrap;
|
|
1107
|
+
text-overflow: ellipsis;
|
|
1108
|
+
word-wrap: normal;
|
|
1109
|
+
}
|
|
1110
|
+
.sys-res-file-list .item .shadow-wrap h4 i,
|
|
1111
|
+
.sys-res-file-list .item .shadow-wrap p i,
|
|
1112
|
+
.sys-res-file-list .item .shadow-wrap h4 svg,
|
|
1113
|
+
.sys-res-file-list .item .shadow-wrap p svg {
|
|
1114
|
+
margin-right: 4px;
|
|
1115
|
+
color: #e75258;
|
|
1116
|
+
font-size: 16px;
|
|
1117
|
+
vertical-align: middle;
|
|
1118
|
+
}
|
|
1119
|
+
.sys-res-file-list .item .shadow-wrap h4 svg,
|
|
1120
|
+
.sys-res-file-list .item .shadow-wrap p svg {
|
|
1121
|
+
margin-right: 4px;
|
|
1122
|
+
font-size: 16px;
|
|
1123
|
+
vertical-align: middle;
|
|
1124
|
+
}
|
|
1125
|
+
.sys-res-file-list .item .shadow-wrap h4 span,
|
|
1126
|
+
.sys-res-file-list .item .shadow-wrap p span {
|
|
1127
|
+
vertical-align: middle;
|
|
1128
|
+
}
|
|
1129
|
+
.sys-res-file-list .item .shadow-wrap p {
|
|
1130
|
+
margin-bottom: 4px;
|
|
1131
|
+
font-weight: normal;
|
|
1132
|
+
font-size: 12px;
|
|
1133
|
+
line-height: 1em;
|
|
1134
|
+
opacity: 0.65;
|
|
1135
|
+
}
|
|
1136
|
+
.sys-res-file-list::after {
|
|
1137
|
+
height: 50px;
|
|
1138
|
+
}
|
|
958
1139
|
.select-resources-modal-wrapper .arco-modal-header {
|
|
959
1140
|
border-bottom: none;
|
|
960
1141
|
}
|
|
@@ -2344,15 +2525,15 @@
|
|
|
2344
2525
|
padding: 2px 0;
|
|
2345
2526
|
}
|
|
2346
2527
|
.medialist-doc-item-view .info-view .title {
|
|
2347
|
-
width: calc(100% - 50px);
|
|
2348
2528
|
display: flex;
|
|
2349
2529
|
align-items: center;
|
|
2530
|
+
width: calc(100% - 50px);
|
|
2350
2531
|
margin-bottom: 10px;
|
|
2351
2532
|
overflow: hidden;
|
|
2352
2533
|
color: #1d2129;
|
|
2534
|
+
font-weight: 400;
|
|
2353
2535
|
font-size: 14px;
|
|
2354
2536
|
font-style: normal;
|
|
2355
|
-
font-weight: 400;
|
|
2356
2537
|
line-height: 22px;
|
|
2357
2538
|
cursor: pointer;
|
|
2358
2539
|
-webkit-line-clamp: 2;
|
|
@@ -2382,7 +2563,7 @@
|
|
|
2382
2563
|
}
|
|
2383
2564
|
.medialist-doc-item-view .info-view .abttrite-v .left .tags {
|
|
2384
2565
|
display: inline-block;
|
|
2385
|
-
width:
|
|
2566
|
+
width: 200px;
|
|
2386
2567
|
}
|
|
2387
2568
|
.medialist-doc-item-view .info-view .abttrite-v .left .abttr {
|
|
2388
2569
|
display: inline-block;
|
|
@@ -2879,8 +3060,8 @@
|
|
|
2879
3060
|
.edit-meta-info-dialog-body .style-form-item .title {
|
|
2880
3061
|
max-width: 100%;
|
|
2881
3062
|
color: var(--color-text-2);
|
|
2882
|
-
font-size: 14px;
|
|
2883
3063
|
font-weight: 400;
|
|
3064
|
+
font-size: 14px;
|
|
2884
3065
|
white-space: normal;
|
|
2885
3066
|
}
|
|
2886
3067
|
.edit-meta-info-dialog-body .select-thumb-wrap {
|
|
@@ -2889,6 +3070,23 @@
|
|
|
2889
3070
|
.edit-meta-info-dialog-body .input-w {
|
|
2890
3071
|
width: 450px;
|
|
2891
3072
|
}
|
|
3073
|
+
.edit-meta-info-dialog-body .silence .arco-form-item-wrapper-col .arco-form-item-content {
|
|
3074
|
+
display: block;
|
|
3075
|
+
}
|
|
3076
|
+
.edit-meta-info-dialog-body .silence .arco-form-item-wrapper-col .arco-form-item-content .arco-switch {
|
|
3077
|
+
margin: 4px 0;
|
|
3078
|
+
}
|
|
3079
|
+
.edit-meta-info-dialog-body .silence .arco-form-item-wrapper-col .arco-form-item-content .silence-options {
|
|
3080
|
+
margin-top: 20px;
|
|
3081
|
+
margin-left: -75px;
|
|
3082
|
+
}
|
|
3083
|
+
.edit-meta-info-dialog-body .silence .arco-form-item-wrapper-col .arco-form-item-content .silence-options .info {
|
|
3084
|
+
margin-top: 12px;
|
|
3085
|
+
padding-left: 5px;
|
|
3086
|
+
color: #878e96;
|
|
3087
|
+
font-size: 14px;
|
|
3088
|
+
line-height: 1.5;
|
|
3089
|
+
}
|
|
2892
3090
|
.base-filter-container {
|
|
2893
3091
|
display: flex;
|
|
2894
3092
|
align-items: center;
|
|
@@ -15,8 +15,9 @@ const _sfc_main = defineComponent({
|
|
|
15
15
|
BASE_API: {}
|
|
16
16
|
},
|
|
17
17
|
emits: ["search", "change"],
|
|
18
|
-
setup(__props, { emit:
|
|
18
|
+
setup(__props, { emit: __emit }) {
|
|
19
19
|
const props = __props;
|
|
20
|
+
const emits = __emit;
|
|
20
21
|
props.BASE_API || DEFAULT_BASE_API;
|
|
21
22
|
function handleFilterChange(params) {
|
|
22
23
|
emits("change", params);
|
|
@@ -15,8 +15,9 @@ const _sfc_main = defineComponent({
|
|
|
15
15
|
filterType: { default: "APV" }
|
|
16
16
|
},
|
|
17
17
|
emits: ["search", "change"],
|
|
18
|
-
setup(__props, { emit:
|
|
18
|
+
setup(__props, { emit: __emit }) {
|
|
19
19
|
const props = __props;
|
|
20
|
+
const emits = __emit;
|
|
20
21
|
const { highLevelSearchOptions, showHighLevelSearch, sortOptions } = useHighLevelSearch(props.filterType);
|
|
21
22
|
const filter = ref({
|
|
22
23
|
keywords: "",
|
package/es/messageBox/list.js
CHANGED
|
@@ -31,7 +31,8 @@ const _sfc_main = defineComponent({
|
|
|
31
31
|
isNorMore: { type: Boolean }
|
|
32
32
|
},
|
|
33
33
|
emits: ["loadMoreMsg"],
|
|
34
|
-
setup(__props, { emit:
|
|
34
|
+
setup(__props, { emit: __emit }) {
|
|
35
|
+
const emits = __emit;
|
|
35
36
|
const props = __props;
|
|
36
37
|
const isEmptyList = computed(() => {
|
|
37
38
|
if (props.list.length === 0) {
|
|
@@ -36,8 +36,9 @@ const _sfc_main = defineComponent({
|
|
|
36
36
|
targetArr: {}
|
|
37
37
|
},
|
|
38
38
|
emits: ["update:visible", "cancel"],
|
|
39
|
-
setup(__props, { emit }) {
|
|
39
|
+
setup(__props, { emit: __emit }) {
|
|
40
40
|
const props = __props;
|
|
41
|
+
const emit = __emit;
|
|
41
42
|
const BASE_API = props.BASE_API || DEFAULT_BASE_API;
|
|
42
43
|
const title = props.title || "\u4E0A\u7248";
|
|
43
44
|
const targetArr = computed(() => {
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var _imports_0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJAAAACQCAYAAADnRuK4AAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABReSURBVHgB7V1rctvGlj4ARIp62BKj2LFdd8pU1dya8f0xUVZw5RVMsoLYK7CzgtgrSLyCK68gyQqsHViZqqnM3D+ia1JxLD9IPSiSIIme8zXYEggCIECCBEj2V0WbIkECRH845zuPbhi0ZDg+rm0XClSxirRHPaqYlnlfCLHNb1X4sd3frBLy8ar813D/N8ioOj3nDVn8N7/WuqCj3d1ynZYIBi0wQJbSBn0tHNozTeNL/rF7QlyRZCowDKoLoiPHEb8Kgw5Nh47u3i1XaUGxUAQCYYrrtG8I2jcN4z8p3JLMGkeGYRx1hfOLfUmHi2Sl5p5AIM3aGj0ikwnDxKF5AFsm0RMv+dnhvFunuSSQsjSWYTyZG9KEoU8mJtIBzSHmikBv39Yq5or5LQnxdNpaJgNU2c0dsih/Pk9WaS4IxMTZNyzj+7m3NjHBRD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LLZLEI71HFNM37whAV+aa4EuaVkI9X8Y/hLvfHz4264zhv+LuqFtFRo0HVRSZLEP4fk2v7Crb/X/wAAAAASUVORK5CYII=";
|
|
2
|
+
export { _imports_0 as default };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, openBlock, createBlock, unref, withCtx, createTextVNode, createVNode } from "vue";
|
|
1
|
+
import { defineComponent, inject, provide, ref, computed, openBlock, createBlock, unref, withCtx, createTextVNode, createVNode } from "vue";
|
|
2
2
|
import { Modal } from "@arco-design/web-vue";
|
|
3
3
|
import { DEFAULT_BASE_API } from "../config.js";
|
|
4
4
|
import _sfc_main$1 from "./components/MediaSelection/index.js";
|
|
5
|
+
import { mediaUseEnum } from "./script/mediaSelection.js";
|
|
5
6
|
const _sfc_main = defineComponent({
|
|
6
7
|
...{ name: "resourceModal" },
|
|
7
8
|
__name: "component",
|
|
@@ -11,13 +12,20 @@ const _sfc_main = defineComponent({
|
|
|
11
12
|
ai_static_covers: {},
|
|
12
13
|
ai_gif_covers: {},
|
|
13
14
|
preview: { type: Boolean },
|
|
14
|
-
base_api: {}
|
|
15
|
+
base_api: {},
|
|
16
|
+
mediaUseType: {}
|
|
15
17
|
},
|
|
16
18
|
emits: ["update:dialogVisible", "submit"],
|
|
17
|
-
setup(__props, { emit }) {
|
|
19
|
+
setup(__props, { emit: __emit }) {
|
|
18
20
|
const props = __props;
|
|
21
|
+
const injectMediaUseType = inject("mediaUseType");
|
|
22
|
+
if (!injectMediaUseType && props.mediaUseType) {
|
|
23
|
+
provide("mediaUseType", props.mediaUseType || mediaUseEnum.THUMB);
|
|
24
|
+
}
|
|
25
|
+
provide("baseAPI", props.base_api || DEFAULT_BASE_API);
|
|
19
26
|
const BASE_API = props.base_api || DEFAULT_BASE_API;
|
|
20
27
|
const selectedMax = ref(1);
|
|
28
|
+
const emit = __emit;
|
|
21
29
|
const submit = (itemData) => {
|
|
22
30
|
emit("submit", itemData);
|
|
23
31
|
};
|
|
@@ -26,9 +26,10 @@ const _sfc_main = defineComponent({
|
|
|
26
26
|
url: {}
|
|
27
27
|
},
|
|
28
28
|
emits: ["close"],
|
|
29
|
-
setup(__props, { emit }) {
|
|
29
|
+
setup(__props, { emit: __emit }) {
|
|
30
30
|
const props = __props;
|
|
31
31
|
const imageVisible = computed(() => props.type === "image");
|
|
32
|
+
const emit = __emit;
|
|
32
33
|
const closePreviewer = () => {
|
|
33
34
|
emit("close", false);
|
|
34
35
|
};
|
|
@@ -24,7 +24,8 @@ const _sfc_main = defineComponent({
|
|
|
24
24
|
preview: { type: Boolean }
|
|
25
25
|
},
|
|
26
26
|
emits: ["confirm"],
|
|
27
|
-
setup(__props, { emit }) {
|
|
27
|
+
setup(__props, { emit: __emit }) {
|
|
28
|
+
const emit = __emit;
|
|
28
29
|
const confirm = (itemData) => {
|
|
29
30
|
selectedUrl.value = [itemData.url];
|
|
30
31
|
emit("confirm", itemData);
|
|
@@ -7,9 +7,6 @@ const _hoisted_2 = {
|
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "mask"
|
|
9
9
|
};
|
|
10
|
-
const _hoisted_3 = ["onClick"];
|
|
11
|
-
const _hoisted_4 = ["onClick"];
|
|
12
|
-
const _hoisted_5 = ["onClick"];
|
|
13
10
|
const _sfc_main = defineComponent({
|
|
14
11
|
__name: "index",
|
|
15
12
|
props: {
|
|
@@ -17,8 +14,9 @@ const _sfc_main = defineComponent({
|
|
|
17
14
|
preview: { type: Boolean }
|
|
18
15
|
},
|
|
19
16
|
emits: ["confirm"],
|
|
20
|
-
setup(__props, { emit }) {
|
|
17
|
+
setup(__props, { emit: __emit }) {
|
|
21
18
|
const props = __props;
|
|
19
|
+
const emit = __emit;
|
|
22
20
|
const visible = ref(false);
|
|
23
21
|
const previewType = computed(() => props.itemData.catalog);
|
|
24
22
|
const previewUrl = computed(() => props.itemData.url || "");
|
|
@@ -49,7 +47,7 @@ const _sfc_main = defineComponent({
|
|
|
49
47
|
"stroke-width": 6,
|
|
50
48
|
size: 20
|
|
51
49
|
})
|
|
52
|
-
]
|
|
50
|
+
]),
|
|
53
51
|
createVNode(unref(Divider), { direction: "vertical" }),
|
|
54
52
|
createElementVNode("span", {
|
|
55
53
|
class: "half",
|
|
@@ -59,12 +57,12 @@ const _sfc_main = defineComponent({
|
|
|
59
57
|
"stroke-width": 6,
|
|
60
58
|
size: 20
|
|
61
59
|
})
|
|
62
|
-
]
|
|
60
|
+
])
|
|
63
61
|
])) : (openBlock(), createElementBlock("div", {
|
|
64
62
|
key: 1,
|
|
65
63
|
class: "transparent",
|
|
66
64
|
onClick: withModifiers(add, ["stop"])
|
|
67
|
-
}
|
|
65
|
+
}))
|
|
68
66
|
]),
|
|
69
67
|
_: 1
|
|
70
68
|
})
|