@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
|
@@ -29,7 +29,30 @@ function getAccountList(BASE_API, id, query) {
|
|
|
29
29
|
params: query
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
|
+
function getSysRsClassifyList(BASE_API, sys_tag) {
|
|
33
|
+
return request(BASE_API, {
|
|
34
|
+
url: `/poplar/v3/sys_attachment/scenario_classifies?sys_tag=${sys_tag}`,
|
|
35
|
+
method: "get"
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
function getSysRsByTag(BASE_API, params) {
|
|
39
|
+
return request(BASE_API, {
|
|
40
|
+
url: "/poplar/v3/classified/sys_attachments",
|
|
41
|
+
method: "get",
|
|
42
|
+
params
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
function getSysRsPage(BASE_API, params) {
|
|
46
|
+
return request(BASE_API, {
|
|
47
|
+
url: "/poplar/v3/sys_attachments",
|
|
48
|
+
method: "get",
|
|
49
|
+
params
|
|
50
|
+
});
|
|
51
|
+
}
|
|
32
52
|
exports.getAccountList = getAccountList;
|
|
33
53
|
exports.getAttachmentsAll = getAttachmentsAll;
|
|
34
54
|
exports.getAttachmentsMy = getAttachmentsMy;
|
|
35
55
|
exports.getDirectories = getDirectories;
|
|
56
|
+
exports.getSysRsByTag = getSysRsByTag;
|
|
57
|
+
exports.getSysRsClassifyList = getSysRsClassifyList;
|
|
58
|
+
exports.getSysRsPage = getSysRsPage;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const mediaUseEnum = {
|
|
4
|
+
THUMB: 1,
|
|
5
|
+
COMPOICON: 2,
|
|
6
|
+
PUSHICON: 3,
|
|
7
|
+
NAVBG: 4,
|
|
8
|
+
NAVICON: 5
|
|
9
|
+
};
|
|
10
|
+
exports.mediaUseEnum = mediaUseEnum;
|
|
@@ -62,6 +62,29 @@
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
+
|
|
66
|
+
.folder-more-button {
|
|
67
|
+
width: 20%;
|
|
68
|
+
overflow: hidden;
|
|
69
|
+
|
|
70
|
+
.folder-more-wrap {
|
|
71
|
+
box-sizing: border-box;
|
|
72
|
+
height: 52px;
|
|
73
|
+
margin-right: 20px;
|
|
74
|
+
padding: 14px 16px;
|
|
75
|
+
line-height: 24px;
|
|
76
|
+
background: #f7f8fa;
|
|
77
|
+
border: 1px solid #ebeef5;
|
|
78
|
+
border-radius: 4px;
|
|
79
|
+
|
|
80
|
+
&:hover {
|
|
81
|
+
color: #165dff;
|
|
82
|
+
background: #f2f3f5;
|
|
83
|
+
box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
|
|
84
|
+
cursor: pointer;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
65
88
|
}
|
|
66
89
|
|
|
67
90
|
.file-list {
|
|
@@ -88,14 +111,11 @@
|
|
|
88
111
|
border-radius: 4px;
|
|
89
112
|
|
|
90
113
|
&:hover {
|
|
114
|
+
border: 1px solid #4886ff;
|
|
91
115
|
box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&.active {
|
|
95
|
-
border: 2px solid #4886ff;
|
|
96
116
|
|
|
97
117
|
h4 {
|
|
98
|
-
color: #1a67d2;
|
|
118
|
+
//color: #1a67d2;
|
|
99
119
|
}
|
|
100
120
|
}
|
|
101
121
|
|
|
@@ -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
|
+
}
|
|
@@ -180,6 +180,26 @@
|
|
|
180
180
|
word-wrap: normal;
|
|
181
181
|
opacity: 0.85;
|
|
182
182
|
}
|
|
183
|
+
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .folder-list .folder-more-button {
|
|
184
|
+
width: 20%;
|
|
185
|
+
overflow: hidden;
|
|
186
|
+
}
|
|
187
|
+
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .folder-list .folder-more-button .folder-more-wrap {
|
|
188
|
+
box-sizing: border-box;
|
|
189
|
+
height: 52px;
|
|
190
|
+
margin-right: 20px;
|
|
191
|
+
padding: 14px 16px;
|
|
192
|
+
line-height: 24px;
|
|
193
|
+
background: #f7f8fa;
|
|
194
|
+
border: 1px solid #ebeef5;
|
|
195
|
+
border-radius: 4px;
|
|
196
|
+
}
|
|
197
|
+
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .folder-list .folder-more-button .folder-more-wrap:hover {
|
|
198
|
+
color: #165dff;
|
|
199
|
+
background: #f2f3f5;
|
|
200
|
+
box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
|
|
201
|
+
cursor: pointer;
|
|
202
|
+
}
|
|
183
203
|
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .file-list {
|
|
184
204
|
display: flex;
|
|
185
205
|
flex-wrap: wrap;
|
|
@@ -203,14 +223,9 @@
|
|
|
203
223
|
border-radius: 4px;
|
|
204
224
|
}
|
|
205
225
|
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .file-list .item .shadow-wrap:hover {
|
|
226
|
+
border: 1px solid #4886ff;
|
|
206
227
|
box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1);
|
|
207
228
|
}
|
|
208
|
-
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .file-list .item .shadow-wrap.active {
|
|
209
|
-
border: 2px solid #4886ff;
|
|
210
|
-
}
|
|
211
|
-
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .file-list .item .shadow-wrap.active h4 {
|
|
212
|
-
color: #1a67d2;
|
|
213
|
-
}
|
|
214
229
|
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .file-list .item .shadow-wrap .transcoding-in-progress {
|
|
215
230
|
position: absolute;
|
|
216
231
|
top: 0;
|
|
@@ -506,6 +521,127 @@
|
|
|
506
521
|
color: #fff;
|
|
507
522
|
font-size: 18px;
|
|
508
523
|
}
|
|
524
|
+
.sys-resource-dialog {
|
|
525
|
+
padding: 10px 20px;
|
|
526
|
+
}
|
|
527
|
+
.sys-resource-dialog .scen-module {
|
|
528
|
+
margin-bottom: 20px;
|
|
529
|
+
}
|
|
530
|
+
.sys-resource-dialog .scen-module .title {
|
|
531
|
+
display: flex;
|
|
532
|
+
gap: 8px;
|
|
533
|
+
align-items: center;
|
|
534
|
+
margin-bottom: 12px;
|
|
535
|
+
font-size: 14px;
|
|
536
|
+
}
|
|
537
|
+
.sys-resource-dialog .scen-module .title .line {
|
|
538
|
+
width: 2px;
|
|
539
|
+
height: 14px;
|
|
540
|
+
background-color: #4886ff;
|
|
541
|
+
}
|
|
542
|
+
.sys-resource-dialog .null-file {
|
|
543
|
+
display: flex;
|
|
544
|
+
flex-direction: column;
|
|
545
|
+
justify-content: center;
|
|
546
|
+
height: 300px;
|
|
547
|
+
}
|
|
548
|
+
.sys-resource-dialog .null-file .null-pic {
|
|
549
|
+
display: block;
|
|
550
|
+
width: 10%;
|
|
551
|
+
margin: 20px auto;
|
|
552
|
+
}
|
|
553
|
+
.sys-resource-dialog .null-file p {
|
|
554
|
+
color: #a2a3a7;
|
|
555
|
+
font-size: 14px;
|
|
556
|
+
text-align: center;
|
|
557
|
+
}
|
|
558
|
+
.sysfile-filter-container {
|
|
559
|
+
padding: 12px 0;
|
|
560
|
+
}
|
|
561
|
+
.sys-res-file-list {
|
|
562
|
+
display: flex;
|
|
563
|
+
flex-wrap: wrap;
|
|
564
|
+
gap: 20px;
|
|
565
|
+
}
|
|
566
|
+
.sys-res-file-list .item-load-more {
|
|
567
|
+
display: flex;
|
|
568
|
+
flex-direction: column;
|
|
569
|
+
gap: 10px;
|
|
570
|
+
align-items: center;
|
|
571
|
+
justify-content: center;
|
|
572
|
+
color: #9a9a9a;
|
|
573
|
+
font-size: 12px;
|
|
574
|
+
cursor: pointer;
|
|
575
|
+
}
|
|
576
|
+
.sys-res-file-list .item-load-more img {
|
|
577
|
+
width: 72px;
|
|
578
|
+
}
|
|
579
|
+
.sys-res-file-list .item {
|
|
580
|
+
position: relative;
|
|
581
|
+
width: calc(20% - 20px);
|
|
582
|
+
overflow: hidden;
|
|
583
|
+
cursor: pointer;
|
|
584
|
+
}
|
|
585
|
+
.sys-res-file-list .item .move-action {
|
|
586
|
+
opacity: 0.5;
|
|
587
|
+
}
|
|
588
|
+
.sys-res-file-list .item .shadow-wrap {
|
|
589
|
+
position: relative;
|
|
590
|
+
overflow: hidden;
|
|
591
|
+
background: #fff;
|
|
592
|
+
border: 1px solid #ebeef5;
|
|
593
|
+
border-radius: 4px;
|
|
594
|
+
}
|
|
595
|
+
.sys-res-file-list .item .shadow-wrap:hover {
|
|
596
|
+
border: 1px solid #4886ff;
|
|
597
|
+
box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1);
|
|
598
|
+
}
|
|
599
|
+
.sys-res-file-list .item .shadow-wrap .thumb-wrap {
|
|
600
|
+
position: relative;
|
|
601
|
+
width: 100%;
|
|
602
|
+
background: url('../assets/selection/picBg.png');
|
|
603
|
+
}
|
|
604
|
+
.sys-res-file-list .item .shadow-wrap h4,
|
|
605
|
+
.sys-res-file-list .item .shadow-wrap p {
|
|
606
|
+
margin-top: 4px;
|
|
607
|
+
margin-bottom: 2px;
|
|
608
|
+
padding: 0 10px;
|
|
609
|
+
overflow: hidden;
|
|
610
|
+
color: rgba(0, 0, 0, 0.85);
|
|
611
|
+
font-size: 14px;
|
|
612
|
+
white-space: nowrap;
|
|
613
|
+
text-overflow: ellipsis;
|
|
614
|
+
word-wrap: normal;
|
|
615
|
+
}
|
|
616
|
+
.sys-res-file-list .item .shadow-wrap h4 i,
|
|
617
|
+
.sys-res-file-list .item .shadow-wrap p i,
|
|
618
|
+
.sys-res-file-list .item .shadow-wrap h4 svg,
|
|
619
|
+
.sys-res-file-list .item .shadow-wrap p svg {
|
|
620
|
+
margin-right: 4px;
|
|
621
|
+
color: #e75258;
|
|
622
|
+
font-size: 16px;
|
|
623
|
+
vertical-align: middle;
|
|
624
|
+
}
|
|
625
|
+
.sys-res-file-list .item .shadow-wrap h4 svg,
|
|
626
|
+
.sys-res-file-list .item .shadow-wrap p svg {
|
|
627
|
+
margin-right: 4px;
|
|
628
|
+
font-size: 16px;
|
|
629
|
+
vertical-align: middle;
|
|
630
|
+
}
|
|
631
|
+
.sys-res-file-list .item .shadow-wrap h4 span,
|
|
632
|
+
.sys-res-file-list .item .shadow-wrap p span {
|
|
633
|
+
vertical-align: middle;
|
|
634
|
+
}
|
|
635
|
+
.sys-res-file-list .item .shadow-wrap p {
|
|
636
|
+
margin-bottom: 4px;
|
|
637
|
+
font-weight: normal;
|
|
638
|
+
font-size: 12px;
|
|
639
|
+
line-height: 1em;
|
|
640
|
+
opacity: 0.65;
|
|
641
|
+
}
|
|
642
|
+
.sys-res-file-list::after {
|
|
643
|
+
height: 50px;
|
|
644
|
+
}
|
|
509
645
|
.select-resources-modal-wrapper .arco-modal-header {
|
|
510
646
|
border-bottom: none;
|
|
511
647
|
}
|
|
@@ -14,9 +14,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
14
14
|
repositoryId: {}
|
|
15
15
|
},
|
|
16
16
|
emits: ["update:list"],
|
|
17
|
-
setup(__props, { emit }) {
|
|
17
|
+
setup(__props, { emit: __emit }) {
|
|
18
18
|
const props = __props;
|
|
19
19
|
const BASE_API = props.BASE_API || config.DEFAULT_BASE_API;
|
|
20
|
+
const emit = __emit;
|
|
20
21
|
const visible = vue.ref(false);
|
|
21
22
|
const list = vue.computed({
|
|
22
23
|
get() {
|
|
@@ -16,8 +16,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
16
16
|
columnWithData: {}
|
|
17
17
|
},
|
|
18
18
|
emits: ["update:visible", "submit"],
|
|
19
|
-
setup(__props, { emit }) {
|
|
19
|
+
setup(__props, { emit: __emit }) {
|
|
20
20
|
const props = __props;
|
|
21
|
+
const emit = __emit;
|
|
21
22
|
const BASE_API = props.base_api || config.DEFAULT_BASE_API;
|
|
22
23
|
const selectColumnData = vue.ref(props.columnData || []);
|
|
23
24
|
const selectColumnWithData = vue.ref(props.columnWithData || []);
|
|
@@ -32,8 +32,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
32
32
|
"update:selectColumnData",
|
|
33
33
|
"update:selectColumnWithData"
|
|
34
34
|
],
|
|
35
|
-
setup(__props, { emit }) {
|
|
35
|
+
setup(__props, { emit: __emit }) {
|
|
36
36
|
const props = __props;
|
|
37
|
+
const emit = __emit;
|
|
37
38
|
const popoverShow = vue.ref(false);
|
|
38
39
|
const treeData = vue.ref([]);
|
|
39
40
|
const listMinHeight = vue.ref(0);
|
|
@@ -51,10 +51,12 @@ 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
|
-
setup(__props, { emit }) {
|
|
58
|
+
setup(__props, { emit: __emit }) {
|
|
59
|
+
const emit = __emit;
|
|
58
60
|
const props = __props;
|
|
59
61
|
const BASE_API = props.BASE_API || config.DEFAULT_BASE_API;
|
|
60
62
|
const useCropper = vue.ref(props.cropper || false);
|
|
@@ -66,6 +68,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
66
68
|
const thumbOptionIndex = vue.ref(0);
|
|
67
69
|
const aspectRatioProp = vue.ref(16 / 9);
|
|
68
70
|
const cropperData = vue.ref([]);
|
|
71
|
+
if (props.mediaUseType) {
|
|
72
|
+
vue.provide("mediaUseType", props.mediaUseType);
|
|
73
|
+
}
|
|
69
74
|
const model = vue.computed({
|
|
70
75
|
get() {
|
|
71
76
|
if (!styleData.value.model)
|
|
@@ -6,9 +6,6 @@ const _hoisted_1 = {
|
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "img-v"
|
|
8
8
|
};
|
|
9
|
-
const _hoisted_2 = ["onClick"];
|
|
10
|
-
const _hoisted_3 = ["onClick"];
|
|
11
|
-
const _hoisted_4 = ["onClick"];
|
|
12
9
|
const _sfc_main = vue.defineComponent({
|
|
13
10
|
...{ name: "thumbCard" },
|
|
14
11
|
__name: "card",
|
|
@@ -20,8 +17,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
20
17
|
model: {}
|
|
21
18
|
},
|
|
22
19
|
emits: ["open", "remove"],
|
|
23
|
-
setup(__props, { emit }) {
|
|
20
|
+
setup(__props, { emit: __emit }) {
|
|
24
21
|
const props = __props;
|
|
22
|
+
const emit = __emit;
|
|
25
23
|
const classObj = vue.computed(() => {
|
|
26
24
|
var _a;
|
|
27
25
|
if (!props.model)
|
|
@@ -61,14 +59,14 @@ const _sfc_main = vue.defineComponent({
|
|
|
61
59
|
onClick: vue.withModifiers(openDialogMediaSelection, ["stop"])
|
|
62
60
|
}, [
|
|
63
61
|
vue.createVNode(vue.unref(icon.IconEdit))
|
|
64
|
-
]
|
|
62
|
+
]),
|
|
65
63
|
_ctx.along ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
66
64
|
key: 0,
|
|
67
65
|
class: "half",
|
|
68
66
|
onClick: vue.withModifiers(remove, ["stop"])
|
|
69
67
|
}, [
|
|
70
68
|
vue.createVNode(vue.unref(icon.IconDelete))
|
|
71
|
-
]
|
|
69
|
+
])) : vue.createCommentVNode("v-if", true)
|
|
72
70
|
])
|
|
73
71
|
]),
|
|
74
72
|
_: 1
|
|
@@ -79,7 +77,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
79
77
|
onClick: vue.withModifiers(openDialogMediaSelection, ["stop"])
|
|
80
78
|
}, [
|
|
81
79
|
vue.createVNode(vue.unref(icon.IconPlus))
|
|
82
|
-
]
|
|
80
|
+
]))
|
|
83
81
|
], 2);
|
|
84
82
|
};
|
|
85
83
|
}
|
|
@@ -13,8 +13,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
13
13
|
model: {}
|
|
14
14
|
},
|
|
15
15
|
emits: ["change"],
|
|
16
|
-
setup(__props, { emit }) {
|
|
16
|
+
setup(__props, { emit: __emit }) {
|
|
17
17
|
const props = __props;
|
|
18
|
+
const emit = __emit;
|
|
18
19
|
const color = vue.ref("rgb(101,121,109)");
|
|
19
20
|
const colorList = vue.ref([]);
|
|
20
21
|
const colorChange = (_color) => {
|
|
@@ -7,8 +7,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
7
7
|
modelValue: String
|
|
8
8
|
},
|
|
9
9
|
emits: ["update:modelValue", "change"],
|
|
10
|
-
setup(__props, { emit }) {
|
|
10
|
+
setup(__props, { emit: __emit }) {
|
|
11
11
|
const props = __props;
|
|
12
|
+
const emit = __emit;
|
|
12
13
|
const color = vue.ref(props.modelValue || "#ffffff");
|
|
13
14
|
vue.watch(
|
|
14
15
|
() => props.modelValue,
|
|
@@ -37,21 +37,24 @@ const _sfc_main = vue.defineComponent({
|
|
|
37
37
|
], 2112)) : props.doc && props.type === "video_album" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 7 }, [
|
|
38
38
|
vue.createCommentVNode(" \u89C6\u9891\u96C6 "),
|
|
39
39
|
vue.createVNode(vue.unref(vueCmstopIcons.IconShipinji))
|
|
40
|
-
], 2112)) : props.doc && props.type === "
|
|
40
|
+
], 2112)) : props.doc && props.type === "mini_program" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 8 }, [
|
|
41
|
+
vue.createCommentVNode(" \u89C6\u9891\u96C6 "),
|
|
42
|
+
vue.createVNode(vue.unref(vueCmstopIcons.IconMiniprogram))
|
|
43
|
+
], 2112)) : props.doc && props.type === "h5" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 9 }, [
|
|
41
44
|
vue.createCommentVNode(" h5 "),
|
|
42
45
|
vue.createVNode(vue.unref(vueCmstopIcons.IconH5))
|
|
43
|
-
], 2112)) : props.doc && props.type === "live" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key:
|
|
46
|
+
], 2112)) : props.doc && props.type === "live" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 10 }, [
|
|
44
47
|
vue.createCommentVNode(" \u76F4\u64AD "),
|
|
45
48
|
vue.createVNode(vue.unref(vueCmstopIcons.IconZhibo))
|
|
46
|
-
], 2112)) : props.resource && props.type === "image" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key:
|
|
49
|
+
], 2112)) : props.resource && props.type === "image" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 11 }, [
|
|
47
50
|
vue.createCommentVNode("------------------------------- \u7D20\u6750\u7C7B\u578B --------------------------------------"),
|
|
48
51
|
vue.createCommentVNode(" \u56FE\u7247 "),
|
|
49
|
-
vue.createVNode(vue.unref(vueCmstopIcons.
|
|
50
|
-
], 2112)) : props.type === "mpdoc" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key:
|
|
52
|
+
vue.createVNode(vue.unref(vueCmstopIcons.IconPicture))
|
|
53
|
+
], 2112)) : props.type === "mpdoc" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 12 }, [
|
|
51
54
|
vue.createCommentVNode("------------------------------- \u5176\u4ED6\u7C7B\u578B --------------------------------------"),
|
|
52
55
|
vue.createCommentVNode(" \u516C\u4F17\u53F7\u7A3F\u4EF6 "),
|
|
53
56
|
vue.createVNode(vue.unref(vueCmstopIcons.IconGongzhonghao))
|
|
54
|
-
], 2112)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key:
|
|
57
|
+
], 2112)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 13 }, [
|
|
55
58
|
vue.createCommentVNode(" \u5FAE\u4FE1\u7A3F\u4EF6 "),
|
|
56
59
|
vue.createCommentVNode(" <icon-weixingaojian /> "),
|
|
57
60
|
vue.createCommentVNode(" \u8F6E\u535A\u56FE\u96C6 "),
|
|
@@ -16,10 +16,11 @@ const _sfc_main = vue.defineComponent({
|
|
|
16
16
|
uploadMethod: {}
|
|
17
17
|
},
|
|
18
18
|
emits: ["onProgress", "onListReady"],
|
|
19
|
-
setup(__props, { emit:
|
|
20
|
-
const props = __props;
|
|
19
|
+
setup(__props, { emit: __emit }) {
|
|
21
20
|
const { state: visBeforeUpload, open: openBeforePannel } = toggle.useToggle();
|
|
22
21
|
const { state: visUploadList, open: openListPannel } = toggle.useToggle();
|
|
22
|
+
const props = __props;
|
|
23
|
+
const emits = __emit;
|
|
23
24
|
const baseApi = vue.ref(props.BASE_API || config.DEFAULT_BASE_API);
|
|
24
25
|
const { preOptionsList, uploadFileToShowFileTrans } = uploadHooks.usePreUploadOptions();
|
|
25
26
|
const { fileList, uploadFileAdd } = uploadHooks.useUplaodList();
|
|
@@ -14,8 +14,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
14
14
|
BASE_API: {}
|
|
15
15
|
},
|
|
16
16
|
emits: ["confirm", "update:visable", "update:file-list"],
|
|
17
|
-
setup(__props, { emit:
|
|
17
|
+
setup(__props, { emit: __emit }) {
|
|
18
18
|
const props = __props;
|
|
19
|
+
const emits = __emit;
|
|
19
20
|
const modalVis = vue.toRef(props, "visable");
|
|
20
21
|
const fileList = vue.toRef(props, "fileList");
|
|
21
22
|
const column = [
|
|
@@ -7,7 +7,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
7
7
|
uploadMethod: {}
|
|
8
8
|
},
|
|
9
9
|
emits: ["after-choose"],
|
|
10
|
-
setup(__props, { emit:
|
|
10
|
+
setup(__props, { emit: __emit }) {
|
|
11
|
+
const emits = __emit;
|
|
11
12
|
const tusUpload = (option) => {
|
|
12
13
|
const { fileItem } = option;
|
|
13
14
|
emits("after-choose", fileItem);
|
|
@@ -27,8 +27,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
27
27
|
global: { type: Boolean }
|
|
28
28
|
},
|
|
29
29
|
emits: ["update:visable"],
|
|
30
|
-
setup(__props, { emit:
|
|
31
|
-
const props = __props;
|
|
30
|
+
setup(__props, { emit: __emit }) {
|
|
32
31
|
const progressEnum = {
|
|
33
32
|
UPLOADING: "normal",
|
|
34
33
|
WATING: "normal",
|
|
@@ -41,6 +40,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
41
40
|
SUCCESS: "\u4E0A\u4F20\u5B8C\u6210",
|
|
42
41
|
ERROR: "\u4E0A\u4F20\u5931\u8D25"
|
|
43
42
|
};
|
|
43
|
+
const emits = __emit;
|
|
44
|
+
const props = __props;
|
|
44
45
|
const showList = vue.toRef(props, "fileList");
|
|
45
46
|
const { state: expend, toggle: toggleExp } = toggle.useToggle(true);
|
|
46
47
|
const { state: scale, toggle: toggleSca } = toggle.useToggle();
|
|
@@ -23,9 +23,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
23
23
|
title: {}
|
|
24
24
|
},
|
|
25
25
|
emits: ["update:visible", "submit"],
|
|
26
|
-
setup(__props, { emit }) {
|
|
26
|
+
setup(__props, { emit: __emit }) {
|
|
27
27
|
const props = __props;
|
|
28
28
|
const BASE_API = props.BASE_API || config.DEFAULT_BASE_API;
|
|
29
|
+
const emit = __emit;
|
|
29
30
|
const RoleTreeData = vue.ref([]);
|
|
30
31
|
const DepartTreeData = vue.ref([]);
|
|
31
32
|
const userSelectedList = vue.ref([]);
|
|
@@ -10,7 +10,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
10
10
|
list: {}
|
|
11
11
|
},
|
|
12
12
|
emits: ["select", "expand", "add"],
|
|
13
|
-
setup(__props, { emit }) {
|
|
13
|
+
setup(__props, { emit: __emit }) {
|
|
14
14
|
const props = __props;
|
|
15
15
|
const loadMore = () => {
|
|
16
16
|
};
|
|
@@ -19,6 +19,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
19
19
|
title: "alias",
|
|
20
20
|
key: "node_key"
|
|
21
21
|
};
|
|
22
|
+
const emit = __emit;
|
|
22
23
|
const select = (selectedKeys, data) => {
|
|
23
24
|
emit("select", selectedKeys, data);
|
|
24
25
|
};
|
package/lib/utils/doc.js
CHANGED
|
@@ -83,7 +83,8 @@ const docSeries = {
|
|
|
83
83
|
audio: "\u97F3\u9891\u7A3F\u4EF6",
|
|
84
84
|
audio_album: "\u97F3\u9891\u96C6\u7A3F\u4EF6",
|
|
85
85
|
h5: "H5\u7A3F\u4EF6",
|
|
86
|
-
special_v3: "\u4E13\u9898\u7A3F\u4EF6"
|
|
86
|
+
special_v3: "\u4E13\u9898\u7A3F\u4EF6",
|
|
87
|
+
mini_program: "\u5C0F\u7A0B\u5E8F\u7A3F\u4EF6"
|
|
87
88
|
};
|
|
88
89
|
const typeOptions = () => {
|
|
89
90
|
const arr = Object.keys(docSeries).map((key) => {
|
package/lib/utils/typeMap.js
CHANGED
|
@@ -96,7 +96,8 @@ const kongo_source_map = {
|
|
|
96
96
|
url: "\u94FE\u63A5",
|
|
97
97
|
document: "\u7A3F\u4EF6",
|
|
98
98
|
category_list: "\u9891\u9053",
|
|
99
|
-
service: "\u670D\u52A1"
|
|
99
|
+
service: "\u670D\u52A1",
|
|
100
|
+
political: "\u653F\u60C5"
|
|
100
101
|
};
|
|
101
102
|
const calcApprovingUser = (data) => {
|
|
102
103
|
if (data.current_processes[0] && data.current_processes[0].users && data.current_processes[0].users[0]) {
|