@cmstops/pro-compo 3.9.1-rc.10 → 3.9.1-rc.12

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 (43) hide show
  1. package/README.md +134 -134
  2. package/es/docHistory/style/index.less +37 -37
  3. package/es/index.js +1 -0
  4. package/es/selectAddTo/component.js +127 -0
  5. package/es/selectAddTo/component.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
  6. package/es/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +169 -0
  7. package/es/selectAddTo/components/ViewAllColumn/index.js +211 -0
  8. package/es/selectAddTo/components/ViewAllColumn/index.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
  9. package/es/selectAddTo/components/ViewAllColumn/script/useTableColumns.js +102 -0
  10. package/es/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +195 -0
  11. package/es/selectAddTo/index.js +7 -0
  12. package/es/selectAddTo/script/api.js +30 -0
  13. package/es/selectAddTo/script/useSelectAddToState.js +106 -0
  14. package/es/selectAddTo/style/css.js +1 -0
  15. package/es/selectAddTo/style/index.css +3 -0
  16. package/es/selectAddTo/style/index.js +1 -0
  17. package/es/selectAddTo/style/index.less +3 -0
  18. package/es/selectResourceModal/components/List/ListLocal/index.js +1 -1
  19. package/es/selectResourceModal/style/index.less +55 -55
  20. package/es/selectResourceModal/style/list.less +203 -203
  21. package/es/style.css +57 -0
  22. package/es/typeIcons/component.js +1 -1
  23. package/lib/docHistory/style/index.less +37 -37
  24. package/lib/index.js +2 -0
  25. package/lib/selectAddTo/component.js +128 -0
  26. package/lib/selectAddTo/component.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
  27. package/lib/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +170 -0
  28. package/lib/selectAddTo/components/ViewAllColumn/index.js +212 -0
  29. package/lib/selectAddTo/components/ViewAllColumn/index.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
  30. package/lib/selectAddTo/components/ViewAllColumn/script/useTableColumns.js +108 -0
  31. package/lib/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +197 -0
  32. package/lib/selectAddTo/index.js +8 -0
  33. package/lib/selectAddTo/script/api.js +35 -0
  34. package/lib/selectAddTo/script/useSelectAddToState.js +108 -0
  35. package/lib/selectAddTo/style/css.js +2 -0
  36. package/lib/selectAddTo/style/index.css +3 -0
  37. package/lib/selectAddTo/style/index.js +2 -0
  38. package/lib/selectAddTo/style/index.less +3 -0
  39. package/lib/selectResourceModal/components/List/ListLocal/index.js +1 -1
  40. package/lib/selectResourceModal/style/index.less +55 -55
  41. package/lib/selectResourceModal/style/list.less +203 -203
  42. package/lib/typeIcons/component.js +1 -1
  43. package/package.json +138 -138
@@ -1,203 +1,203 @@
1
- // 基础列表 layout 样式
2
- .resource-list {
3
- display: flex;
4
- flex: 1;
5
- flex-direction: column;
6
- gap: 10px;
7
- overflow: hidden;
8
-
9
- // 整体布局结构
10
- &-content {
11
- flex: 1;
12
- overflow: hidden;
13
- }
14
-
15
- &-footer,
16
- &-header,
17
- &-content .resource-list-content-empty,
18
- &-content .arco-scrollbar-container {
19
- padding: 0 40px;
20
- }
21
-
22
- &-footer {
23
- display: flex;
24
- flex-wrap: wrap;
25
- justify-content: space-between;
26
- padding-bottom: 20px;
27
-
28
- .footer-right {
29
- display: flex;
30
- flex: 1;
31
- gap: 10px;
32
- align-items: center;
33
- justify-content: flex-end;
34
- margin-top: 10px;
35
-
36
- .list-selected-wrapper {
37
- font-size: 12px;
38
- }
39
- }
40
- }
41
-
42
- // 处理空数据 & 加载中样式
43
- &-content {
44
- &-loading {
45
- display: flex;
46
- align-items: center;
47
- justify-content: center;
48
- width: 100%;
49
- height: 100%;
50
- }
51
- }
52
-
53
- // 所有的卡片 grid 布局
54
- .list-item-grid {
55
- display: grid;
56
- grid-gap: 20px;
57
- grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
58
- }
59
- }
60
-
61
- // 衍生列表一:本地上传页面样式
62
- .resource-list {
63
- .list-content {
64
- margin-top: 30px;
65
-
66
- .list-tips {
67
- margin-bottom: 16px;
68
- color: #3d3d3d;
69
- }
70
- }
71
-
72
- .upload-wrapper {
73
- display: flex;
74
- flex-direction: column;
75
-
76
- .upload-buttons {
77
- display: flex;
78
- gap: 20px;
79
- justify-content: center;
80
- margin: 20px 0;
81
- }
82
-
83
- .upload-dragger {
84
- width: calc(100% - 2px);
85
- }
86
- }
87
- }
88
-
89
- // 衍生列表二:内置素材
90
- .resource-list {
91
- .scen-module {
92
- margin-bottom: 20px;
93
- }
94
-
95
- .item-load-more {
96
- display: flex;
97
- flex-direction: column;
98
- gap: 10px;
99
- align-items: center;
100
- justify-content: center;
101
- width: 100%;
102
- overflow: hidden;
103
- color: #9a9a9a;
104
- font-size: 12px;
105
- cursor: pointer;
106
- aspect-ratio: 4 / 3;
107
-
108
- img {
109
- height: calc(100% - 40px);
110
- }
111
- }
112
- }
113
-
114
- // 列表筛选样式
115
- .resource-list .list-filter-wrapper {
116
- .list-filter-tags {
117
- display: flex;
118
- flex-wrap: wrap;
119
- gap: 10px;
120
- margin-top: 10px;
121
-
122
- .list-filter-tag {
123
- padding: 5px 16px;
124
- border-radius: 15px;
125
- cursor: pointer;
126
-
127
- &:hover {
128
- background-color: var(--color-fill-3);
129
- }
130
-
131
- &.active {
132
- color: rgb(var(--primary-6));
133
- font-weight: bold;
134
- background: var(--color-fill-2);
135
- }
136
- }
137
- }
138
-
139
- .list-filter {
140
- display: flex;
141
- justify-content: space-between;
142
-
143
- .filter-list {
144
- position: relative; /** 给 popup 一个参考 */
145
- display: flex;
146
-
147
- .filter-item {
148
- width: 100px;
149
- margin-right: 10px;
150
- }
151
-
152
- .arco-trigger-popup {
153
- z-index: 100000 !important;
154
- }
155
- }
156
-
157
- .arco-input-prepend {
158
- padding: 0;
159
- }
160
-
161
- .more-btn {
162
- position: relative; /** 给 poperjs 一个参考 */
163
-
164
- .filter-pannel {
165
- inset: 40px auto auto auto !important;
166
- }
167
- }
168
- }
169
-
170
- .filter-extra {
171
- display: flex;
172
- gap: 10px;
173
- }
174
-
175
- .filter-pannel {
176
- z-index: 100000;
177
- display: flex;
178
- flex-direction: column;
179
- gap: 10px;
180
- padding: 10px;
181
- background-color: #fff;
182
- border-radius: 4px;
183
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
184
- }
185
- }
186
-
187
- // 二级列表的标题样式
188
- .resource-list {
189
- .title {
190
- display: flex;
191
- gap: 8px;
192
- align-items: center;
193
- margin-bottom: 20px;
194
- font-weight: bold;
195
- font-size: 16px;
196
-
197
- .line {
198
- width: 3px;
199
- height: 16px;
200
- background-color: #4886ff;
201
- }
202
- }
203
- }
1
+ // 基础列表 layout 样式
2
+ .resource-list {
3
+ display: flex;
4
+ flex: 1;
5
+ flex-direction: column;
6
+ gap: 10px;
7
+ overflow: hidden;
8
+
9
+ // 整体布局结构
10
+ &-content {
11
+ flex: 1;
12
+ overflow: hidden;
13
+ }
14
+
15
+ &-footer,
16
+ &-header,
17
+ &-content .resource-list-content-empty,
18
+ &-content .arco-scrollbar-container {
19
+ padding: 0 40px;
20
+ }
21
+
22
+ &-footer {
23
+ display: flex;
24
+ flex-wrap: wrap;
25
+ justify-content: space-between;
26
+ padding-bottom: 20px;
27
+
28
+ .footer-right {
29
+ display: flex;
30
+ flex: 1;
31
+ gap: 10px;
32
+ align-items: center;
33
+ justify-content: flex-end;
34
+ margin-top: 10px;
35
+
36
+ .list-selected-wrapper {
37
+ font-size: 12px;
38
+ }
39
+ }
40
+ }
41
+
42
+ // 处理空数据 & 加载中样式
43
+ &-content {
44
+ &-loading {
45
+ display: flex;
46
+ align-items: center;
47
+ justify-content: center;
48
+ width: 100%;
49
+ height: 100%;
50
+ }
51
+ }
52
+
53
+ // 所有的卡片 grid 布局
54
+ .list-item-grid {
55
+ display: grid;
56
+ grid-gap: 20px;
57
+ grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
58
+ }
59
+ }
60
+
61
+ // 衍生列表一:本地上传页面样式
62
+ .resource-list {
63
+ .list-content {
64
+ margin-top: 30px;
65
+
66
+ .list-tips {
67
+ margin-bottom: 16px;
68
+ color: #3d3d3d;
69
+ }
70
+ }
71
+
72
+ .upload-wrapper {
73
+ display: flex;
74
+ flex-direction: column;
75
+
76
+ .upload-buttons {
77
+ display: flex;
78
+ gap: 20px;
79
+ justify-content: center;
80
+ margin: 20px 0;
81
+ }
82
+
83
+ .upload-dragger {
84
+ width: calc(100% - 2px);
85
+ }
86
+ }
87
+ }
88
+
89
+ // 衍生列表二:内置素材
90
+ .resource-list {
91
+ .scen-module {
92
+ margin-bottom: 20px;
93
+ }
94
+
95
+ .item-load-more {
96
+ display: flex;
97
+ flex-direction: column;
98
+ gap: 10px;
99
+ align-items: center;
100
+ justify-content: center;
101
+ width: 100%;
102
+ overflow: hidden;
103
+ color: #9a9a9a;
104
+ font-size: 12px;
105
+ cursor: pointer;
106
+ aspect-ratio: 4 / 3;
107
+
108
+ img {
109
+ height: calc(100% - 40px);
110
+ }
111
+ }
112
+ }
113
+
114
+ // 列表筛选样式
115
+ .resource-list .list-filter-wrapper {
116
+ .list-filter-tags {
117
+ display: flex;
118
+ flex-wrap: wrap;
119
+ gap: 10px;
120
+ margin-top: 10px;
121
+
122
+ .list-filter-tag {
123
+ padding: 5px 16px;
124
+ border-radius: 15px;
125
+ cursor: pointer;
126
+
127
+ &:hover {
128
+ background-color: var(--color-fill-3);
129
+ }
130
+
131
+ &.active {
132
+ color: rgb(var(--primary-6));
133
+ font-weight: bold;
134
+ background: var(--color-fill-2);
135
+ }
136
+ }
137
+ }
138
+
139
+ .list-filter {
140
+ display: flex;
141
+ justify-content: space-between;
142
+
143
+ .filter-list {
144
+ position: relative; /** 给 popup 一个参考 */
145
+ display: flex;
146
+
147
+ .filter-item {
148
+ width: 100px;
149
+ margin-right: 10px;
150
+ }
151
+
152
+ .arco-trigger-popup {
153
+ z-index: 100000 !important;
154
+ }
155
+ }
156
+
157
+ .arco-input-prepend {
158
+ padding: 0;
159
+ }
160
+
161
+ .more-btn {
162
+ position: relative; /** 给 poperjs 一个参考 */
163
+
164
+ .filter-pannel {
165
+ inset: 40px auto auto auto !important;
166
+ }
167
+ }
168
+ }
169
+
170
+ .filter-extra {
171
+ display: flex;
172
+ gap: 10px;
173
+ }
174
+
175
+ .filter-pannel {
176
+ z-index: 100000;
177
+ display: flex;
178
+ flex-direction: column;
179
+ gap: 10px;
180
+ padding: 10px;
181
+ background-color: #fff;
182
+ border-radius: 4px;
183
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
184
+ }
185
+ }
186
+
187
+ // 二级列表的标题样式
188
+ .resource-list {
189
+ .title {
190
+ display: flex;
191
+ gap: 8px;
192
+ align-items: center;
193
+ margin-bottom: 20px;
194
+ font-weight: bold;
195
+ font-size: 16px;
196
+
197
+ .line {
198
+ width: 3px;
199
+ height: 16px;
200
+ background-color: #4886ff;
201
+ }
202
+ }
203
+ }
@@ -36,7 +36,7 @@ const _sfc_main = vue.defineComponent({
36
36
  vue.createVNode(vue.unref(vueCmstopIcons.IconYinpinji), { style: { "color": "#1fb7c2" } })
37
37
  ], 2112)) : props.doc && props.type === "video_album" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 7 }, [
38
38
  vue.createCommentVNode(" \u89C6\u9891\u96C6 "),
39
- vue.createVNode(vue.unref(vueCmstopIcons.IconShipinji))
39
+ vue.createVNode(vue.unref(vueCmstopIcons.IconShipinji), { style: { "color": "#f05050" } })
40
40
  ], 2112)) : props.doc && props.type === "mini_program" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 8 }, [
41
41
  vue.createCommentVNode(" \u89C6\u9891\u96C6 "),
42
42
  vue.createVNode(vue.unref(vueCmstopIcons.IconMiniprogram))