@cmstops/pro-compo 0.3.45 → 0.3.47
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 +45 -30
- package/dist/index.min.css +1 -1
- package/es/appCenter/component.js +30 -1
- package/es/appCenter/script/api.d.ts +1 -0
- package/es/appCenter/script/api.js +8 -1
- package/es/appCenter/style/index.css +17 -14
- package/es/appCenter/style/index.less +33 -15
- package/es/docHistory/component.js +1 -0
- package/es/docPreview/component.js +46 -40
- package/es/hooks/useAttachement.d.ts +1 -0
- package/es/hooks/useAttachement.js +3 -1
- package/es/hooks/useUpload.js +2 -2
- package/es/index.css +45 -30
- package/es/selectResourceModal/component.js +20 -3
- package/es/selectResourceModal/components/ListContentLocal/index.js +1 -1
- package/es/selectResourceModal/components/ListFilter/index.js +175 -133
- package/es/selectResourceModal/components/ListSelected/index.js +2 -0
- package/es/selectResourceModal/components/ListTabs/index.js +2 -1
- package/es/selectResourceModal/style/index.css +28 -5
- package/es/selectResourceModal/style/listFilter.less +33 -9
- package/es/selectResourceModal/style/listSelected.less +7 -1
- package/es/thumbCard/component.js +5 -42
- package/es/thumbCard/style/index.css +0 -11
- package/es/thumbCard/style/index.less +0 -15
- package/es/utils/resource.d.ts +4 -0
- package/es/utils/resource.js +13 -0
- package/es/utils/typeMap.d.ts +0 -1
- package/es/utils/typeMap.js +1 -2
- package/lib/appCenter/component.js +29 -0
- package/lib/appCenter/script/api.js +8 -0
- package/lib/appCenter/style/index.css +17 -14
- package/lib/appCenter/style/index.less +33 -15
- package/lib/docHistory/component.js +1 -0
- package/lib/docPreview/component.js +45 -39
- package/lib/hooks/useAttachement.js +3 -1
- package/lib/hooks/useUpload.js +2 -2
- package/lib/index.css +45 -30
- package/lib/selectResourceModal/component.js +19 -2
- package/lib/selectResourceModal/components/ListContentLocal/index.js +1 -1
- package/lib/selectResourceModal/components/ListFilter/index.js +174 -132
- package/lib/selectResourceModal/components/ListSelected/index.js +2 -0
- package/lib/selectResourceModal/components/ListTabs/index.js +2 -1
- package/lib/selectResourceModal/style/index.css +28 -5
- package/lib/selectResourceModal/style/listFilter.less +33 -9
- package/lib/selectResourceModal/style/listSelected.less +7 -1
- package/lib/thumbCard/component.js +2 -39
- package/lib/thumbCard/style/index.css +0 -11
- package/lib/thumbCard/style/index.less +0 -15
- package/lib/utils/resource.js +15 -0
- package/lib/utils/typeMap.js +1 -2
- package/package.json +1 -1
|
@@ -22,11 +22,6 @@
|
|
|
22
22
|
.thumb-select-wrapper .thumb-upload-loading .arco-progress-circle-text {
|
|
23
23
|
color: #fff;
|
|
24
24
|
}
|
|
25
|
-
.thumb-select-wrapper .thumb-add {
|
|
26
|
-
color: var(--color-text-2);
|
|
27
|
-
font-size: 16px;
|
|
28
|
-
cursor: pointer;
|
|
29
|
-
}
|
|
30
25
|
.thumb-select-wrapper .thumb-image img {
|
|
31
26
|
width: 100%;
|
|
32
27
|
height: 100%;
|
|
@@ -83,9 +78,3 @@
|
|
|
83
78
|
opacity: 1;
|
|
84
79
|
transition: all 0.3s ease-in-out;
|
|
85
80
|
}
|
|
86
|
-
.thumb-select-wrapper .arco-dropdown-option-content {
|
|
87
|
-
display: flex;
|
|
88
|
-
gap: 8px;
|
|
89
|
-
align-items: center;
|
|
90
|
-
font-size: 14px;
|
|
91
|
-
}
|
|
@@ -26,13 +26,6 @@
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
// 添加模式
|
|
30
|
-
.thumb-add {
|
|
31
|
-
color: var(--color-text-2);
|
|
32
|
-
font-size: 16px;
|
|
33
|
-
cursor: pointer;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
29
|
// 样式
|
|
37
30
|
.thumb-image {
|
|
38
31
|
img {
|
|
@@ -104,12 +97,4 @@
|
|
|
104
97
|
opacity: 1;
|
|
105
98
|
transition: all 0.3s ease-in-out;
|
|
106
99
|
}
|
|
107
|
-
|
|
108
|
-
// 素材选择
|
|
109
|
-
.arco-dropdown-option-content {
|
|
110
|
-
display: flex;
|
|
111
|
-
gap: 8px;
|
|
112
|
-
align-items: center;
|
|
113
|
-
font-size: 14px;
|
|
114
|
-
}
|
|
115
100
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const keywordsSelection = [
|
|
4
|
+
{ name: "\u5168\u90E8\u7ED3\u679C", value: "" },
|
|
5
|
+
{ name: "\u6807\u9898", value: "alias" },
|
|
6
|
+
{ name: "\u624B\u52A8\u6807\u7B7E", value: "tags" },
|
|
7
|
+
{ name: "\u4EBA\u8138", value: "ai_figure" },
|
|
8
|
+
{ name: "\u573A\u666F", value: "ai_scenario" },
|
|
9
|
+
{ name: "\u5B9E\u4F53(\u56FE\u50CF)", value: "ai_entity" },
|
|
10
|
+
{ name: "Logo", value: "ai_logo" },
|
|
11
|
+
{ name: "\u6587\u672C(OCR)", value: "ai_ocr_keywords" },
|
|
12
|
+
{ name: "\u8BED\u97F3", value: "ai_speech_keywords" },
|
|
13
|
+
{ name: "\u77E5\u8BC6\u56FE\u8C31", value: "ai_knowledge_graph" }
|
|
14
|
+
];
|
|
15
|
+
exports.keywordsSelection = keywordsSelection;
|
package/lib/utils/typeMap.js
CHANGED
|
@@ -172,8 +172,7 @@ const RESOURCE_SOURCE_DICT = {
|
|
|
172
172
|
const RESOURCE_CATALOG_DICT = {
|
|
173
173
|
image: "\u56FE\u7247",
|
|
174
174
|
video: "\u89C6\u9891",
|
|
175
|
-
audio: "\u97F3\u9891"
|
|
176
|
-
other: "\u5176\u4ED6"
|
|
175
|
+
audio: "\u97F3\u9891"
|
|
177
176
|
};
|
|
178
177
|
const RESOURCE_SOURCE_OPTIONS = object2LabelList(RESOURCE_SOURCE_DICT);
|
|
179
178
|
const RESOURCE_CATALOG_OPTIONS = object2LabelList(RESOURCE_CATALOG_DICT);
|