@cmstops/pro-compo 0.1.24 → 0.1.26

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 (36) hide show
  1. package/dist/index.css +24 -0
  2. package/dist/index.min.css +1 -1
  3. package/es/appCenter/script/routeMap.js +0 -1
  4. package/es/baseFilter/component.js +124 -62
  5. package/es/baseFilter/components/filterItem.d.ts +0 -0
  6. package/es/baseFilter/components/filterItem.js +18 -0
  7. package/es/baseFilter/style/index.css +24 -0
  8. package/es/baseFilter/style/index.less +26 -0
  9. package/es/contentDetailList/components/Content/KongoNavItem/index.js +13 -12
  10. package/es/index.css +24 -0
  11. package/es/messageBox/component.js +0 -1
  12. package/es/messageBox/list.js +0 -1
  13. package/es/selectThumb/component.js +0 -1
  14. package/es/uploadBefore/component.js +0 -1
  15. package/es/uploadBefore/components/UploadBefore.js +0 -1
  16. package/es/utils/doc.js +1 -1
  17. package/es/utils/request.js +0 -2
  18. package/es/utils/tusUpload.js +0 -2
  19. package/es/utils/typeMap.js +1 -1
  20. package/lib/appCenter/script/routeMap.js +0 -1
  21. package/lib/baseFilter/component.js +123 -61
  22. package/lib/baseFilter/components/filterItem.js +19 -0
  23. package/lib/baseFilter/style/index.css +24 -0
  24. package/lib/baseFilter/style/index.less +26 -0
  25. package/lib/contentDetailList/components/Content/KongoNavItem/index.js +13 -12
  26. package/lib/index.css +24 -0
  27. package/lib/messageBox/component.js +0 -1
  28. package/lib/messageBox/list.js +0 -1
  29. package/lib/selectThumb/component.js +0 -1
  30. package/lib/uploadBefore/component.js +0 -1
  31. package/lib/uploadBefore/components/UploadBefore.js +0 -1
  32. package/lib/utils/doc.js +1 -1
  33. package/lib/utils/request.js +0 -2
  34. package/lib/utils/tusUpload.js +0 -2
  35. package/lib/utils/typeMap.js +1 -1
  36. package/package.json +1 -1
package/lib/utils/doc.js CHANGED
@@ -92,7 +92,7 @@ const typeOptions = () => {
92
92
  label: docSeries[key].replace("\u7A3F\u4EF6", "")
93
93
  };
94
94
  });
95
- return [{ value: "", label: "\u5168\u90E8" }, ...arr];
95
+ return arr;
96
96
  };
97
97
  const approvalItem = (item) => {
98
98
  if (!(item.approval_status && item.approval_status.current_processes)) {
@@ -19,7 +19,6 @@ function request(BASE_API, options) {
19
19
  return config;
20
20
  },
21
21
  (error) => {
22
- console.log(error);
23
22
  return Promise.reject(error);
24
23
  }
25
24
  );
@@ -32,7 +31,6 @@ function request(BASE_API, options) {
32
31
  return res;
33
32
  },
34
33
  (error) => {
35
- console.log(`err${error}`);
36
34
  return Promise.reject(error);
37
35
  }
38
36
  );
@@ -32,7 +32,6 @@ function uploadByTUS(file, progressCallback) {
32
32
  xhr.withCredentials = true;
33
33
  },
34
34
  onError: (error) => {
35
- console.log(error);
36
35
  reject(error);
37
36
  },
38
37
  onProgress: (bytesSent, bytesTotal) => {
@@ -47,7 +46,6 @@ function uploadByTUS(file, progressCallback) {
47
46
  }
48
47
  function uploadConfig(file) {
49
48
  const fType = getFileType(file);
50
- console.log(config.DEFAULT_UPLOAD_URL);
51
49
  return {
52
50
  endpoint: config.DEFAULT_UPLOAD_URL,
53
51
  chunkSize: config.DEFAULT_UPLOAD_CHUNK_SIZE,
@@ -72,7 +72,7 @@ const mpTypeOptions = () => {
72
72
  label: mp_type_map[key]
73
73
  };
74
74
  });
75
- return [{ value: "", label: "\u5168\u90E8" }, ...arr];
75
+ return arr;
76
76
  };
77
77
  const kongo_source_map = {
78
78
  app: "\u5E94\u7528",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmstops/pro-compo",
3
- "version": "0.1.24",
3
+ "version": "0.1.26",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "vue",