@cmstops/pro-compo 0.1.31 → 0.1.33
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 +190 -15
- package/dist/index.min.css +1 -1
- package/es/contentModal/component.js +35 -35
- package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +53 -22
- package/es/contentModal/components/ViewAllColumn/columnTree/index.js +67 -18
- package/es/contentModal/components/ViewAllColumn/index.js +91 -44
- package/es/contentModal/components/storeBox/index.js +6 -6
- 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/editMetaInfo/components/metaInfoForm.js +84 -81
- package/es/index.css +190 -15
- package/es/resourceModal/assets/images/sys_load_more.js +2 -0
- package/es/resourceModal/component.js +9 -2
- package/es/resourceModal/components/MediaSelection/MainContent/index.js +1 -1
- 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/index.js +16 -7
- 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/DocAiMediaSelected.less +2 -3
- package/es/resourceModal/style/MainContent.less +5 -3
- package/es/resourceModal/style/SystemResourceSelected.less +138 -0
- package/es/resourceModal/style/ToolbarSearch.less +13 -0
- package/es/resourceModal/style/index.css +135 -5
- package/es/resourceModal/style/index.less +1 -0
- package/es/selectThumb/component.js +6 -2
- package/lib/contentModal/component.js +35 -35
- package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +51 -20
- package/lib/contentModal/components/ViewAllColumn/columnTree/index.js +65 -16
- package/lib/contentModal/components/ViewAllColumn/index.js +90 -43
- package/lib/contentModal/components/storeBox/index.js +6 -6
- 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/editMetaInfo/components/metaInfoForm.js +83 -80
- package/lib/index.css +190 -15
- package/lib/resourceModal/assets/images/sys_load_more.js +3 -0
- package/lib/resourceModal/component.js +8 -1
- package/lib/resourceModal/components/MediaSelection/MainContent/index.js +2 -2
- 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/index.js +15 -6
- package/lib/resourceModal/script/api.js +23 -0
- package/lib/resourceModal/script/mediaSelection.js +10 -0
- package/lib/resourceModal/style/DocAiMediaSelected.less +2 -3
- package/lib/resourceModal/style/MainContent.less +5 -3
- package/lib/resourceModal/style/SystemResourceSelected.less +138 -0
- package/lib/resourceModal/style/ToolbarSearch.less +13 -0
- package/lib/resourceModal/style/index.css +135 -5
- package/lib/resourceModal/style/index.less +1 -0
- package/lib/selectThumb/component.js +5 -1
- package/package.json +1 -1
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
.sys-resource-dialog {
|
|
2
|
+
padding: 10px 20px;
|
|
3
|
+
|
|
4
|
+
.scen-module {
|
|
5
|
+
margin-bottom: 20px;
|
|
6
|
+
|
|
7
|
+
.title {
|
|
8
|
+
display: flex;
|
|
9
|
+
gap: 8px;
|
|
10
|
+
align-items: center;
|
|
11
|
+
margin-bottom: 12px;
|
|
12
|
+
font-size: 14px;
|
|
13
|
+
|
|
14
|
+
.line {
|
|
15
|
+
width: 2px;
|
|
16
|
+
height: 14px;
|
|
17
|
+
background-color: #4886ff;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.null-file {
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
justify-content: center;
|
|
26
|
+
height: 300px;
|
|
27
|
+
|
|
28
|
+
.null-pic {
|
|
29
|
+
display: block;
|
|
30
|
+
width: 10%;
|
|
31
|
+
margin: 20px auto;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
p {
|
|
35
|
+
color: #a2a3a7;
|
|
36
|
+
font-size: 14px;
|
|
37
|
+
text-align: center;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.sysfile-filter-container {
|
|
43
|
+
padding: 12px 0;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.sys-res-file-list {
|
|
47
|
+
display: flex;
|
|
48
|
+
flex-wrap: wrap;
|
|
49
|
+
gap: 20px;
|
|
50
|
+
|
|
51
|
+
.item-load-more {
|
|
52
|
+
display: flex;
|
|
53
|
+
flex-direction: column;
|
|
54
|
+
gap: 10px;
|
|
55
|
+
align-items: center;
|
|
56
|
+
justify-content: center;
|
|
57
|
+
color: #9a9a9a;
|
|
58
|
+
font-size: 12px;
|
|
59
|
+
cursor: pointer;
|
|
60
|
+
|
|
61
|
+
img {
|
|
62
|
+
width: 72px;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.item {
|
|
67
|
+
position: relative;
|
|
68
|
+
width: calc(20% - 20px);
|
|
69
|
+
overflow: hidden;
|
|
70
|
+
cursor: pointer;
|
|
71
|
+
|
|
72
|
+
.move-action {
|
|
73
|
+
opacity: 0.5;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.shadow-wrap {
|
|
77
|
+
position: relative;
|
|
78
|
+
overflow: hidden;
|
|
79
|
+
background: #fff;
|
|
80
|
+
border: 1px solid #ebeef5;
|
|
81
|
+
border-radius: 4px;
|
|
82
|
+
|
|
83
|
+
&:hover {
|
|
84
|
+
border: 1px solid #4886ff;
|
|
85
|
+
box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.thumb-wrap {
|
|
89
|
+
position: relative;
|
|
90
|
+
width: 100%;
|
|
91
|
+
background: url('../assets/selection/picBg.png');
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
h4,
|
|
95
|
+
p {
|
|
96
|
+
margin-top: 4px;
|
|
97
|
+
margin-bottom: 2px;
|
|
98
|
+
padding: 0 10px;
|
|
99
|
+
overflow: hidden;
|
|
100
|
+
color: rgba(0, 0, 0, 0.85);
|
|
101
|
+
font-size: 14px;
|
|
102
|
+
white-space: nowrap;
|
|
103
|
+
text-overflow: ellipsis;
|
|
104
|
+
word-wrap: normal;
|
|
105
|
+
|
|
106
|
+
i,
|
|
107
|
+
svg {
|
|
108
|
+
margin-right: 4px;
|
|
109
|
+
color: #e75258;
|
|
110
|
+
font-size: 16px;
|
|
111
|
+
vertical-align: middle;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
svg {
|
|
115
|
+
margin-right: 4px;
|
|
116
|
+
font-size: 16px;
|
|
117
|
+
vertical-align: middle;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
span {
|
|
121
|
+
vertical-align: middle;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
p {
|
|
126
|
+
margin-bottom: 4px;
|
|
127
|
+
font-weight: normal;
|
|
128
|
+
font-size: 12px;
|
|
129
|
+
line-height: 1em;
|
|
130
|
+
opacity: 0.65;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&::after {
|
|
136
|
+
height: 50px;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
@@ -14,6 +14,19 @@
|
|
|
14
14
|
width: auto;
|
|
15
15
|
margin-right: 10px;
|
|
16
16
|
}
|
|
17
|
+
|
|
18
|
+
.filter-right {
|
|
19
|
+
.arco-btn-size-medium.arco-btn-only-icon {
|
|
20
|
+
width: 48px;
|
|
21
|
+
color: #2f6ffb;
|
|
22
|
+
background-color: #e8f3ff;
|
|
23
|
+
|
|
24
|
+
&:hover {
|
|
25
|
+
background-color: #d3e6ff;
|
|
26
|
+
//background-color: red;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
17
30
|
}
|
|
18
31
|
}
|
|
19
32
|
}
|
|
@@ -77,11 +77,11 @@
|
|
|
77
77
|
width: 100%;
|
|
78
78
|
height: 100%;
|
|
79
79
|
overflow: hidden;
|
|
80
|
-
border: solid
|
|
80
|
+
border: solid 1px transparent;
|
|
81
81
|
border-radius: 4px;
|
|
82
82
|
}
|
|
83
83
|
.doc-ai-media-selected .arco-scrollbar .doc-ai-media-selected-scrollbar .thumb-list .thumb-wrap .thumb-item .pic.active {
|
|
84
|
-
border: solid
|
|
84
|
+
border: solid 1px #4886ff;
|
|
85
85
|
border-radius: 4px;
|
|
86
86
|
}
|
|
87
87
|
.doc-ai-media-selected .arco-scrollbar .doc-ai-media-selected-scrollbar .thumb-list .thumb-wrap .thumb-item .pic img {
|
|
@@ -106,6 +106,14 @@
|
|
|
106
106
|
width: auto;
|
|
107
107
|
margin-right: 10px;
|
|
108
108
|
}
|
|
109
|
+
.toolbar-search-container .top-container .filter-content .filter-right .arco-btn-size-medium.arco-btn-only-icon {
|
|
110
|
+
width: 48px;
|
|
111
|
+
color: #2f6ffb;
|
|
112
|
+
background-color: #e8f3ff;
|
|
113
|
+
}
|
|
114
|
+
.toolbar-search-container .top-container .filter-content .filter-right .arco-btn-size-medium.arco-btn-only-icon:hover {
|
|
115
|
+
background-color: #d3e6ff;
|
|
116
|
+
}
|
|
109
117
|
.keywordsSelection {
|
|
110
118
|
display: flex;
|
|
111
119
|
justify-content: space-between;
|
|
@@ -164,7 +172,7 @@
|
|
|
164
172
|
font-size: 0;
|
|
165
173
|
background: url('../assets/selection/folder.png') no-repeat 13px center;
|
|
166
174
|
background-size: 17px auto;
|
|
167
|
-
border: solid
|
|
175
|
+
border: solid 1px transparent;
|
|
168
176
|
border-radius: 4px;
|
|
169
177
|
}
|
|
170
178
|
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .folder-list .folder-item .wrap h4 {
|
|
@@ -191,13 +199,14 @@
|
|
|
191
199
|
padding: 14px 16px;
|
|
192
200
|
line-height: 24px;
|
|
193
201
|
background: #f7f8fa;
|
|
194
|
-
border: 1px solid
|
|
202
|
+
border: 1px solid transparent;
|
|
195
203
|
border-radius: 4px;
|
|
196
204
|
}
|
|
197
205
|
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .folder-list .folder-more-button .folder-more-wrap:hover {
|
|
198
206
|
color: #165dff;
|
|
199
207
|
background: #f2f3f5;
|
|
200
|
-
|
|
208
|
+
border: 1px solid #4886ff;
|
|
209
|
+
box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1);
|
|
201
210
|
cursor: pointer;
|
|
202
211
|
}
|
|
203
212
|
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .file-list {
|
|
@@ -521,6 +530,127 @@
|
|
|
521
530
|
color: #fff;
|
|
522
531
|
font-size: 18px;
|
|
523
532
|
}
|
|
533
|
+
.sys-resource-dialog {
|
|
534
|
+
padding: 10px 20px;
|
|
535
|
+
}
|
|
536
|
+
.sys-resource-dialog .scen-module {
|
|
537
|
+
margin-bottom: 20px;
|
|
538
|
+
}
|
|
539
|
+
.sys-resource-dialog .scen-module .title {
|
|
540
|
+
display: flex;
|
|
541
|
+
gap: 8px;
|
|
542
|
+
align-items: center;
|
|
543
|
+
margin-bottom: 12px;
|
|
544
|
+
font-size: 14px;
|
|
545
|
+
}
|
|
546
|
+
.sys-resource-dialog .scen-module .title .line {
|
|
547
|
+
width: 2px;
|
|
548
|
+
height: 14px;
|
|
549
|
+
background-color: #4886ff;
|
|
550
|
+
}
|
|
551
|
+
.sys-resource-dialog .null-file {
|
|
552
|
+
display: flex;
|
|
553
|
+
flex-direction: column;
|
|
554
|
+
justify-content: center;
|
|
555
|
+
height: 300px;
|
|
556
|
+
}
|
|
557
|
+
.sys-resource-dialog .null-file .null-pic {
|
|
558
|
+
display: block;
|
|
559
|
+
width: 10%;
|
|
560
|
+
margin: 20px auto;
|
|
561
|
+
}
|
|
562
|
+
.sys-resource-dialog .null-file p {
|
|
563
|
+
color: #a2a3a7;
|
|
564
|
+
font-size: 14px;
|
|
565
|
+
text-align: center;
|
|
566
|
+
}
|
|
567
|
+
.sysfile-filter-container {
|
|
568
|
+
padding: 12px 0;
|
|
569
|
+
}
|
|
570
|
+
.sys-res-file-list {
|
|
571
|
+
display: flex;
|
|
572
|
+
flex-wrap: wrap;
|
|
573
|
+
gap: 20px;
|
|
574
|
+
}
|
|
575
|
+
.sys-res-file-list .item-load-more {
|
|
576
|
+
display: flex;
|
|
577
|
+
flex-direction: column;
|
|
578
|
+
gap: 10px;
|
|
579
|
+
align-items: center;
|
|
580
|
+
justify-content: center;
|
|
581
|
+
color: #9a9a9a;
|
|
582
|
+
font-size: 12px;
|
|
583
|
+
cursor: pointer;
|
|
584
|
+
}
|
|
585
|
+
.sys-res-file-list .item-load-more img {
|
|
586
|
+
width: 72px;
|
|
587
|
+
}
|
|
588
|
+
.sys-res-file-list .item {
|
|
589
|
+
position: relative;
|
|
590
|
+
width: calc(20% - 20px);
|
|
591
|
+
overflow: hidden;
|
|
592
|
+
cursor: pointer;
|
|
593
|
+
}
|
|
594
|
+
.sys-res-file-list .item .move-action {
|
|
595
|
+
opacity: 0.5;
|
|
596
|
+
}
|
|
597
|
+
.sys-res-file-list .item .shadow-wrap {
|
|
598
|
+
position: relative;
|
|
599
|
+
overflow: hidden;
|
|
600
|
+
background: #fff;
|
|
601
|
+
border: 1px solid #ebeef5;
|
|
602
|
+
border-radius: 4px;
|
|
603
|
+
}
|
|
604
|
+
.sys-res-file-list .item .shadow-wrap:hover {
|
|
605
|
+
border: 1px solid #4886ff;
|
|
606
|
+
box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1);
|
|
607
|
+
}
|
|
608
|
+
.sys-res-file-list .item .shadow-wrap .thumb-wrap {
|
|
609
|
+
position: relative;
|
|
610
|
+
width: 100%;
|
|
611
|
+
background: url('../assets/selection/picBg.png');
|
|
612
|
+
}
|
|
613
|
+
.sys-res-file-list .item .shadow-wrap h4,
|
|
614
|
+
.sys-res-file-list .item .shadow-wrap p {
|
|
615
|
+
margin-top: 4px;
|
|
616
|
+
margin-bottom: 2px;
|
|
617
|
+
padding: 0 10px;
|
|
618
|
+
overflow: hidden;
|
|
619
|
+
color: rgba(0, 0, 0, 0.85);
|
|
620
|
+
font-size: 14px;
|
|
621
|
+
white-space: nowrap;
|
|
622
|
+
text-overflow: ellipsis;
|
|
623
|
+
word-wrap: normal;
|
|
624
|
+
}
|
|
625
|
+
.sys-res-file-list .item .shadow-wrap h4 i,
|
|
626
|
+
.sys-res-file-list .item .shadow-wrap p i,
|
|
627
|
+
.sys-res-file-list .item .shadow-wrap h4 svg,
|
|
628
|
+
.sys-res-file-list .item .shadow-wrap p svg {
|
|
629
|
+
margin-right: 4px;
|
|
630
|
+
color: #e75258;
|
|
631
|
+
font-size: 16px;
|
|
632
|
+
vertical-align: middle;
|
|
633
|
+
}
|
|
634
|
+
.sys-res-file-list .item .shadow-wrap h4 svg,
|
|
635
|
+
.sys-res-file-list .item .shadow-wrap p svg {
|
|
636
|
+
margin-right: 4px;
|
|
637
|
+
font-size: 16px;
|
|
638
|
+
vertical-align: middle;
|
|
639
|
+
}
|
|
640
|
+
.sys-res-file-list .item .shadow-wrap h4 span,
|
|
641
|
+
.sys-res-file-list .item .shadow-wrap p span {
|
|
642
|
+
vertical-align: middle;
|
|
643
|
+
}
|
|
644
|
+
.sys-res-file-list .item .shadow-wrap p {
|
|
645
|
+
margin-bottom: 4px;
|
|
646
|
+
font-weight: normal;
|
|
647
|
+
font-size: 12px;
|
|
648
|
+
line-height: 1em;
|
|
649
|
+
opacity: 0.65;
|
|
650
|
+
}
|
|
651
|
+
.sys-res-file-list::after {
|
|
652
|
+
height: 50px;
|
|
653
|
+
}
|
|
524
654
|
.select-resources-modal-wrapper .arco-modal-header {
|
|
525
655
|
border-bottom: none;
|
|
526
656
|
}
|
|
@@ -51,7 +51,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
51
51
|
showTitle: { type: Boolean },
|
|
52
52
|
cropper: { type: Boolean },
|
|
53
53
|
aiImages: {},
|
|
54
|
-
series: {}
|
|
54
|
+
series: {},
|
|
55
|
+
mediaUseType: {}
|
|
55
56
|
},
|
|
56
57
|
emits: ["update:dataValue"],
|
|
57
58
|
setup(__props, { emit: __emit }) {
|
|
@@ -67,6 +68,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
67
68
|
const thumbOptionIndex = vue.ref(0);
|
|
68
69
|
const aspectRatioProp = vue.ref(16 / 9);
|
|
69
70
|
const cropperData = vue.ref([]);
|
|
71
|
+
if (props.mediaUseType) {
|
|
72
|
+
vue.provide("mediaUseType", props.mediaUseType);
|
|
73
|
+
}
|
|
70
74
|
const model = vue.computed({
|
|
71
75
|
get() {
|
|
72
76
|
if (!styleData.value.model)
|