@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.
Files changed (51) hide show
  1. package/dist/index.css +45 -30
  2. package/dist/index.min.css +1 -1
  3. package/es/appCenter/component.js +30 -1
  4. package/es/appCenter/script/api.d.ts +1 -0
  5. package/es/appCenter/script/api.js +8 -1
  6. package/es/appCenter/style/index.css +17 -14
  7. package/es/appCenter/style/index.less +33 -15
  8. package/es/docHistory/component.js +1 -0
  9. package/es/docPreview/component.js +46 -40
  10. package/es/hooks/useAttachement.d.ts +1 -0
  11. package/es/hooks/useAttachement.js +3 -1
  12. package/es/hooks/useUpload.js +2 -2
  13. package/es/index.css +45 -30
  14. package/es/selectResourceModal/component.js +20 -3
  15. package/es/selectResourceModal/components/ListContentLocal/index.js +1 -1
  16. package/es/selectResourceModal/components/ListFilter/index.js +175 -133
  17. package/es/selectResourceModal/components/ListSelected/index.js +2 -0
  18. package/es/selectResourceModal/components/ListTabs/index.js +2 -1
  19. package/es/selectResourceModal/style/index.css +28 -5
  20. package/es/selectResourceModal/style/listFilter.less +33 -9
  21. package/es/selectResourceModal/style/listSelected.less +7 -1
  22. package/es/thumbCard/component.js +5 -42
  23. package/es/thumbCard/style/index.css +0 -11
  24. package/es/thumbCard/style/index.less +0 -15
  25. package/es/utils/resource.d.ts +4 -0
  26. package/es/utils/resource.js +13 -0
  27. package/es/utils/typeMap.d.ts +0 -1
  28. package/es/utils/typeMap.js +1 -2
  29. package/lib/appCenter/component.js +29 -0
  30. package/lib/appCenter/script/api.js +8 -0
  31. package/lib/appCenter/style/index.css +17 -14
  32. package/lib/appCenter/style/index.less +33 -15
  33. package/lib/docHistory/component.js +1 -0
  34. package/lib/docPreview/component.js +45 -39
  35. package/lib/hooks/useAttachement.js +3 -1
  36. package/lib/hooks/useUpload.js +2 -2
  37. package/lib/index.css +45 -30
  38. package/lib/selectResourceModal/component.js +19 -2
  39. package/lib/selectResourceModal/components/ListContentLocal/index.js +1 -1
  40. package/lib/selectResourceModal/components/ListFilter/index.js +174 -132
  41. package/lib/selectResourceModal/components/ListSelected/index.js +2 -0
  42. package/lib/selectResourceModal/components/ListTabs/index.js +2 -1
  43. package/lib/selectResourceModal/style/index.css +28 -5
  44. package/lib/selectResourceModal/style/listFilter.less +33 -9
  45. package/lib/selectResourceModal/style/listSelected.less +7 -1
  46. package/lib/thumbCard/component.js +2 -39
  47. package/lib/thumbCard/style/index.css +0 -11
  48. package/lib/thumbCard/style/index.less +0 -15
  49. package/lib/utils/resource.js +15 -0
  50. package/lib/utils/typeMap.js +1 -2
  51. 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;
@@ -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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmstops/pro-compo",
3
- "version": "0.3.45",
3
+ "version": "0.3.47",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "vue",