@cmstops/pro-compo 3.9.2-alpha.1 → 3.9.2-alpha.10

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 (32) hide show
  1. package/dist/index.css +6 -0
  2. package/dist/index.min.css +1 -1
  3. package/es/baseFilter/component.js +71 -14
  4. package/es/contentDetailList/component.js +24 -0
  5. package/es/contentDetailList/components/Content/index.js +2 -1
  6. package/es/contentDetailList/components/Doc/index.js +6 -0
  7. package/es/hooks/useUpload.d.ts +50 -2
  8. package/es/hooks/useUpload.js +43 -4
  9. package/es/index.css +6 -0
  10. package/es/selectResourceModal/components/List/ListLocal/index.js +8 -3
  11. package/es/selectResourceModal/components/List/ListNormal/Filter.js +55 -26
  12. package/es/selectResourceModal/components/List/ListNormal/index.js +5 -4
  13. package/es/selectResourceModal/hooks/useResponsiveFilter.js +1 -1
  14. package/es/selectResourceModal/style/index.css +6 -0
  15. package/es/selectResourceModal/style/index.less +9 -0
  16. package/es/selectResourceModal/style/list.less +1 -0
  17. package/es/utils/index.js +6 -6
  18. package/lib/baseFilter/component.js +69 -12
  19. package/lib/contentDetailList/component.js +24 -0
  20. package/lib/contentDetailList/components/Content/index.js +2 -1
  21. package/lib/contentDetailList/components/Doc/index.js +6 -0
  22. package/lib/hooks/useUpload.js +43 -3
  23. package/lib/index.css +6 -0
  24. package/lib/selectResourceModal/components/List/ListLocal/index.js +6 -1
  25. package/lib/selectResourceModal/components/List/ListNormal/Filter.js +54 -25
  26. package/lib/selectResourceModal/components/List/ListNormal/index.js +5 -4
  27. package/lib/selectResourceModal/hooks/useResponsiveFilter.js +1 -1
  28. package/lib/selectResourceModal/style/index.css +6 -0
  29. package/lib/selectResourceModal/style/index.less +9 -0
  30. package/lib/selectResourceModal/style/list.less +1 -0
  31. package/lib/utils/index.js +6 -6
  32. package/package.json +1 -1
@@ -172,6 +172,7 @@
172
172
  }
173
173
  .resource-list-footer,
174
174
  .resource-list-header,
175
+ .resource-list-content .resource-list-content-empty,
175
176
  .resource-list-content .arco-scrollbar-container {
176
177
  padding: 0 40px;
177
178
  }
@@ -347,3 +348,8 @@
347
348
  .resource-select-container .resource-select-header .arco-tabs-content {
348
349
  display: none !important;
349
350
  }
351
+ .resource-select-container .resource-list-content .resource-list-content-empty {
352
+ box-sizing: border-box;
353
+ width: 100%;
354
+ height: 100%;
355
+ }
@@ -43,4 +43,13 @@
43
43
  display: none !important;
44
44
  }
45
45
  }
46
+
47
+ // 内容区域样式
48
+ .resource-list-content {
49
+ .resource-list-content-empty {
50
+ box-sizing: border-box;
51
+ width: 100%;
52
+ height: 100%;
53
+ }
54
+ }
46
55
  }
@@ -14,6 +14,7 @@
14
14
 
15
15
  &-footer,
16
16
  &-header,
17
+ &-content .resource-list-content-empty,
17
18
  &-content .arco-scrollbar-container {
18
19
  padding: 0 40px;
19
20
  }
@@ -144,13 +144,13 @@ async function copyContent(content) {
144
144
  }
145
145
  }
146
146
  function mediaTime(v) {
147
- const h = Math.floor(v / (60 * 60));
148
- const m = Math.floor((v - h) / 60);
149
- const s = Math.floor(v - h * 360 - m * 60);
147
+ const h = Math.floor(v / 3600);
148
+ const m = Math.floor(v % 3600 / 60);
149
+ const s = Math.floor(v % 60);
150
150
  let ret = "";
151
- ret += `${h < 10 ? `0${h}` : h || "--"}:`;
152
- ret += `${m < 10 ? `0${m}` : m || "--"}:`;
153
- ret += s < 10 ? `0${s}` : s || "--";
151
+ ret += `${h < 10 ? `0${h}` : h}:`;
152
+ ret += `${m < 10 ? `0${m}` : m}:`;
153
+ ret += s < 10 ? `0${s}` : s;
154
154
  return ret;
155
155
  }
156
156
  exports.copyContent = copyContent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmstops/pro-compo",
3
- "version": "3.9.2-alpha.1",
3
+ "version": "3.9.2-alpha.10",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "vue",