@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
package/dist/index.css CHANGED
@@ -1,33 +1,33 @@
1
1
  .reference-btn {
2
- border: none;
3
2
  padding: 12px 16px;
4
- border-radius: 4px;
5
3
  color: #5f5f5f;
4
+ border: none;
5
+ border-radius: 4px;
6
6
  }
7
7
  .apps-box-popover {
8
8
  position: relative;
9
9
  padding: 10px;
10
10
  }
11
11
  .app-title {
12
- font-size: 16px;
12
+ padding: 0 15px;
13
13
  font-weight: bold;
14
- padding: 0px 15px;
14
+ font-size: 16px;
15
15
  }
16
16
  .ul-list {
17
- list-style: none;
18
- overflow: hidden;
19
17
  width: 435px !important;
20
- text-align: center;
21
- padding: 0;
22
18
  margin: 0;
19
+ padding: 0;
20
+ overflow: hidden;
21
+ text-align: center;
22
+ list-style: none;
23
23
  }
24
24
  .ul-list .li_item {
25
+ position: relative;
25
26
  float: left;
26
27
  width: 85px;
27
28
  height: 90px;
28
- text-align: center;
29
29
  margin: 13px 0;
30
- position: relative;
30
+ text-align: center;
31
31
  }
32
32
  .ul-list .li_item .icon-logo .svg-icon {
33
33
  width: 4em;
@@ -42,8 +42,8 @@
42
42
  display: block;
43
43
  }
44
44
  .ul-list .li_item .wrap_icon {
45
- width: 70px;
46
45
  display: inline-block;
46
+ width: 70px;
47
47
  margin-top: 6px;
48
48
  }
49
49
  .ul-list .li_item .wrap_icon .wrap_ .icon-logo {
@@ -52,8 +52,11 @@
52
52
  margin-bottom: 4px;
53
53
  }
54
54
  .ul-list .li_item .wrap_icon .wrap_ .icon-logo img {
55
+ width: 50px;
55
56
  max-width: 100%;
57
+ height: 50px;
56
58
  max-height: 100%;
59
+ border-radius: 50%;
57
60
  }
58
61
  .ul-list .li_item .wrap_icon .wrap_ .shortcut-logo {
59
62
  line-height: 77px;
@@ -66,8 +69,8 @@
66
69
  width: 73px;
67
70
  height: 20px;
68
71
  overflow: hidden;
69
- text-overflow: ellipsis;
70
72
  white-space: nowrap;
73
+ text-overflow: ellipsis;
71
74
  }
72
75
  .ul-list .li_item .wrap_icon .quick-add .icon-logo {
73
76
  width: 40px;
@@ -78,15 +81,15 @@
78
81
  border-radius: 50%;
79
82
  }
80
83
  .ul-list .li_item .wrap_icon .quick-add .icon-logo i {
81
- line-height: 40px;
82
84
  color: rgba(0, 0, 0, 0.85);
83
85
  font-size: 14px;
86
+ line-height: 40px;
84
87
  }
85
88
  .ul-list .li_item .icon-gengduo {
86
- display: none;
87
89
  position: absolute;
88
90
  top: 2px;
89
91
  right: 4px;
92
+ display: none;
90
93
  }
91
94
  .reference-btn {
92
95
  border: none;
@@ -4267,11 +4270,6 @@
4267
4270
  .thumb-select-wrapper .thumb-upload-loading .arco-progress-circle-text {
4268
4271
  color: #fff;
4269
4272
  }
4270
- .thumb-select-wrapper .thumb-add {
4271
- color: var(--color-text-2);
4272
- font-size: 16px;
4273
- cursor: pointer;
4274
- }
4275
4273
  .thumb-select-wrapper .thumb-image img {
4276
4274
  width: 100%;
4277
4275
  height: 100%;
@@ -4328,29 +4326,41 @@
4328
4326
  opacity: 1;
4329
4327
  transition: all 0.3s ease-in-out;
4330
4328
  }
4331
- .thumb-select-wrapper .arco-dropdown-option-content {
4332
- display: flex;
4333
- gap: 8px;
4334
- align-items: center;
4335
- font-size: 14px;
4336
- }
4337
4329
  .card-list-wrapper {
4338
4330
  display: grid;
4339
4331
  grid-gap: 20px;
4340
4332
  grid-template-columns: repeat(5, 1fr);
4341
4333
  }
4342
- .list-filter-wrapper {
4334
+ .list-filter-wrapper .list-filter-tags {
4343
4335
  display: flex;
4344
4336
  justify-content: space-between;
4337
+ margin-top: 10px;
4345
4338
  }
4346
- .list-filter-wrapper .filter-list {
4339
+ .list-filter-wrapper .list-filter-tags .list-filter-tag {
4340
+ padding: 5px 16px;
4341
+ border-radius: 15px;
4342
+ cursor: pointer;
4343
+ }
4344
+ .list-filter-wrapper .list-filter-tags .list-filter-tag:hover {
4345
+ background-color: var(--color-fill-3);
4346
+ }
4347
+ .list-filter-wrapper .list-filter-tags .list-filter-tag.active {
4348
+ color: rgb(var(--primary-6));
4349
+ font-weight: bold;
4350
+ background: var(--color-fill-2);
4351
+ }
4352
+ .list-filter-wrapper .list-filter {
4353
+ display: flex;
4354
+ justify-content: space-between;
4355
+ }
4356
+ .list-filter-wrapper .list-filter .filter-list {
4347
4357
  display: flex;
4348
4358
  gap: 10px;
4349
4359
  }
4350
- .list-filter-wrapper .filter-list .filter-item {
4360
+ .list-filter-wrapper .list-filter .filter-list .filter-item {
4351
4361
  width: 100px;
4352
4362
  }
4353
- .list-filter-wrapper .arco-input-prepend {
4363
+ .list-filter-wrapper .list-filter .arco-input-prepend {
4354
4364
  padding: 0;
4355
4365
  }
4356
4366
  .list-panel-wrapper {
@@ -4397,7 +4407,12 @@
4397
4407
  overflow-y: scroll;
4398
4408
  }
4399
4409
  .list-panel-wrapper .list-selected-record::-webkit-scrollbar {
4400
- display: none;
4410
+ width: 6px;
4411
+ }
4412
+ .list-panel-wrapper .list-selected-record::-webkit-scrollbar-thumb {
4413
+ background-color: #ececec;
4414
+ -webkit-border-radius: 6px;
4415
+ opacity: 0.5;
4401
4416
  }
4402
4417
  .list-panel-wrapper .list-selected-record .list-selected-item {
4403
4418
  display: flex;