@cmstops/pro-compo 0.1.11 → 0.1.13
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.
- package/dist/index.css +134 -1
- package/dist/index.min.css +1 -1
- package/es/index.css +134 -1
- package/es/mediaFilter/component.js +2 -2
- package/es/mediaFilter/components/DocFilter.js +23 -21
- package/es/mediaFilter/components/FilterGroup.js +4 -7
- package/es/mediaFilter/components/FilterItem.js +2 -5
- package/es/mediaFilter/index.d.ts +1 -0
- package/es/mediaFilter/script/types.d.ts +16 -0
- package/es/mediaFilter/style/index.css +87 -1
- package/es/mediaFilter/style/index.less +109 -3
- package/es/style.css +0 -89
- package/es/userDirector/component.js +185 -70
- package/es/userDirector/components/userTree.d.ts +0 -0
- package/es/userDirector/components/userTree.js +76 -0
- package/es/userDirector/style/index.css +47 -0
- package/es/userDirector/style/index.less +50 -0
- package/lib/index.css +134 -1
- package/lib/mediaFilter/components/DocFilter.js +19 -17
- package/lib/mediaFilter/components/FilterGroup.js +4 -7
- package/lib/mediaFilter/components/FilterItem.js +2 -5
- package/lib/mediaFilter/style/index.css +87 -1
- package/lib/mediaFilter/style/index.less +109 -3
- package/lib/userDirector/component.js +182 -67
- package/lib/userDirector/components/userTree.js +77 -0
- package/lib/userDirector/style/index.css +47 -0
- package/lib/userDirector/style/index.less +50 -0
- package/package.json +1 -1
- package/es/mediaFilter/components/DocFilter.vue_vue_type_style_index_0_scoped_true_lang.js +0 -2
- package/es/mediaFilter/components/FilterGroup.vue_vue_type_style_index_0_scoped_true_lang.js +0 -2
- package/es/mediaFilter/components/FilterItem.vue_vue_type_style_index_0_scoped_true_lang.js +0 -2
- package/lib/mediaFilter/components/DocFilter.vue_vue_type_style_index_0_scoped_true_lang.js +0 -3
- package/lib/mediaFilter/components/FilterGroup.vue_vue_type_style_index_0_scoped_true_lang.js +0 -3
- package/lib/mediaFilter/components/FilterItem.vue_vue_type_style_index_0_scoped_true_lang.js +0 -3
|
@@ -2,8 +2,6 @@ import { defineComponent, ref, watch, onMounted, openBlock, createElementBlock,
|
|
|
2
2
|
import { Button } from "@arco-design/web-vue";
|
|
3
3
|
import { IconCaretDown } from "@arco-design/web-vue/es/icon";
|
|
4
4
|
import { createPopper } from "@popperjs/core";
|
|
5
|
-
import "./FilterGroup.vue_vue_type_style_index_0_scoped_true_lang.js";
|
|
6
|
-
import _export_sfc from "../../_virtual/plugin-vue_export-helper.js";
|
|
7
5
|
const _hoisted_1 = { class: "filter-view-container" };
|
|
8
6
|
const _hoisted_2 = { class: "filter-search" };
|
|
9
7
|
const _hoisted_3 = { class: "more-btn" };
|
|
@@ -136,7 +134,7 @@ const _sfc_main = defineComponent({
|
|
|
136
134
|
return (_ctx, _cache) => {
|
|
137
135
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
138
136
|
createElementVNode("div", _hoisted_2, [
|
|
139
|
-
renderSlot(_ctx.$slots, "search"
|
|
137
|
+
renderSlot(_ctx.$slots, "search")
|
|
140
138
|
]),
|
|
141
139
|
createElementVNode("div", _hoisted_3, [
|
|
142
140
|
createElementVNode("div", {
|
|
@@ -172,10 +170,10 @@ const _sfc_main = defineComponent({
|
|
|
172
170
|
ref: filterItemsRef,
|
|
173
171
|
class: "left"
|
|
174
172
|
}, [
|
|
175
|
-
renderSlot(_ctx.$slots, "left"
|
|
173
|
+
renderSlot(_ctx.$slots, "left")
|
|
176
174
|
], 512),
|
|
177
175
|
createElementVNode("div", _hoisted_6, [
|
|
178
|
-
renderSlot(_ctx.$slots, "right"
|
|
176
|
+
renderSlot(_ctx.$slots, "right")
|
|
179
177
|
])
|
|
180
178
|
]),
|
|
181
179
|
createElementVNode("div", _hoisted_7, null, 512)
|
|
@@ -183,5 +181,4 @@ const _sfc_main = defineComponent({
|
|
|
183
181
|
};
|
|
184
182
|
}
|
|
185
183
|
});
|
|
186
|
-
|
|
187
|
-
export { FilterGroup as default };
|
|
184
|
+
export { _sfc_main as default };
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, createElementVNode, createVNode, unref, withCtx, createCommentVNode, withDirectives, createBlock, createTextVNode, toDisplayString, vShow, renderSlot } from "vue";
|
|
2
2
|
import { ButtonGroup, Button } from "@arco-design/web-vue";
|
|
3
3
|
import { IconCaretDown } from "@arco-design/web-vue/es/icon";
|
|
4
|
-
import "./FilterItem.vue_vue_type_style_index_0_scoped_true_lang.js";
|
|
5
|
-
import _export_sfc from "../../_virtual/plugin-vue_export-helper.js";
|
|
6
4
|
const _hoisted_1 = { class: "filter-item-view" };
|
|
7
5
|
const _hoisted_2 = { class: "show-view" };
|
|
8
6
|
const _hoisted_3 = { class: "right-prefix" };
|
|
@@ -106,11 +104,10 @@ const _sfc_main = defineComponent({
|
|
|
106
104
|
})
|
|
107
105
|
]),
|
|
108
106
|
createElementVNode("div", _hoisted_6, [
|
|
109
|
-
renderSlot(_ctx.$slots, "default"
|
|
107
|
+
renderSlot(_ctx.$slots, "default")
|
|
110
108
|
])
|
|
111
109
|
]);
|
|
112
110
|
};
|
|
113
111
|
}
|
|
114
112
|
});
|
|
115
|
-
|
|
116
|
-
export { FilterItem as default };
|
|
113
|
+
export { _sfc_main as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare type FilterType = 'DOC' | 'MEDIA' | 'MP_ACOUNT' | 'MP_CONTENT';
|
|
2
|
+
export declare type DocFilterType = 'APV' | 'MINE' | 'CONTENT' | 'STORE';
|
|
3
|
+
export declare type Keys = 'doc_type' | 'doc_state' | 'doc_thumb' | 'pub_time' | 'doc_banner' | 'apv_state';
|
|
4
|
+
export declare type DocFilterKeys = Keys[];
|
|
5
|
+
export interface FilterValue {
|
|
6
|
+
keywords: string;
|
|
7
|
+
doc_type: string;
|
|
8
|
+
doc_state: string;
|
|
9
|
+
doc_thumb: string;
|
|
10
|
+
pub_time: [];
|
|
11
|
+
highSearch: {
|
|
12
|
+
order: string;
|
|
13
|
+
sort: -1 | 1;
|
|
14
|
+
meta: any;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
@@ -1,4 +1,90 @@
|
|
|
1
|
-
.tooltip-button {
|
|
1
|
+
.filter-wrp .tooltip-button {
|
|
2
2
|
height: auto;
|
|
3
3
|
padding: 20px;
|
|
4
4
|
}
|
|
5
|
+
.filter-wrp .dop.active {
|
|
6
|
+
color: #165dff;
|
|
7
|
+
}
|
|
8
|
+
.filter-wrp .dop .label {
|
|
9
|
+
display: flex;
|
|
10
|
+
gap: 10px;
|
|
11
|
+
align-items: center;
|
|
12
|
+
}
|
|
13
|
+
.filter-wrp .filter-view-container {
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
margin-bottom: 10px;
|
|
17
|
+
font-size: 14px;
|
|
18
|
+
}
|
|
19
|
+
.filter-wrp .filter-search {
|
|
20
|
+
display: flex;
|
|
21
|
+
gap: 10px;
|
|
22
|
+
width: 180px;
|
|
23
|
+
margin-right: 10px;
|
|
24
|
+
}
|
|
25
|
+
.filter-wrp .filter-content {
|
|
26
|
+
position: relative;
|
|
27
|
+
display: flex;
|
|
28
|
+
flex: 1;
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: space-between;
|
|
31
|
+
}
|
|
32
|
+
.filter-wrp .left {
|
|
33
|
+
display: flex;
|
|
34
|
+
gap: 10px;
|
|
35
|
+
align-items: center;
|
|
36
|
+
}
|
|
37
|
+
.filter-wrp .right {
|
|
38
|
+
position: absolute;
|
|
39
|
+
right: 0;
|
|
40
|
+
z-index: 1;
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-wrap: nowrap;
|
|
43
|
+
align-items: center;
|
|
44
|
+
height: 100%;
|
|
45
|
+
padding-left: 20px;
|
|
46
|
+
background: white;
|
|
47
|
+
}
|
|
48
|
+
.filter-wrp .more-btn {
|
|
49
|
+
margin-right: 10px;
|
|
50
|
+
}
|
|
51
|
+
.filter-wrp .right-prefix {
|
|
52
|
+
display: flex;
|
|
53
|
+
gap: 10px;
|
|
54
|
+
align-items: center;
|
|
55
|
+
}
|
|
56
|
+
.filter-wrp .filter-pannel {
|
|
57
|
+
display: flex;
|
|
58
|
+
gap: 10px;
|
|
59
|
+
padding: 10px;
|
|
60
|
+
background-color: white;
|
|
61
|
+
border-radius: 6px;
|
|
62
|
+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
|
63
|
+
}
|
|
64
|
+
.filter-wrp .filter-item-view {
|
|
65
|
+
position: relative;
|
|
66
|
+
display: flex;
|
|
67
|
+
overflow: hidden;
|
|
68
|
+
}
|
|
69
|
+
.filter-wrp .filter-item-view .show-view {
|
|
70
|
+
z-index: 1;
|
|
71
|
+
width: 100%;
|
|
72
|
+
height: 100%;
|
|
73
|
+
background: #fff;
|
|
74
|
+
pointer-events: none;
|
|
75
|
+
}
|
|
76
|
+
.filter-wrp .filter-item-view .select-view {
|
|
77
|
+
position: absolute;
|
|
78
|
+
z-index: 0;
|
|
79
|
+
width: 100%;
|
|
80
|
+
}
|
|
81
|
+
.filter-wrp .hasvalue-btn {
|
|
82
|
+
color: #165dff;
|
|
83
|
+
background-color: #e8f3ff;
|
|
84
|
+
border-right: none !important;
|
|
85
|
+
}
|
|
86
|
+
.filter-wrp .right-prefix {
|
|
87
|
+
display: flex;
|
|
88
|
+
gap: 10px;
|
|
89
|
+
align-items: center;
|
|
90
|
+
}
|
|
@@ -1,4 +1,110 @@
|
|
|
1
|
-
.
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
.filter-wrp {
|
|
2
|
+
.tooltip-button {
|
|
3
|
+
height: auto;
|
|
4
|
+
padding: 20px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
// DocFilter 组件内部样式
|
|
8
|
+
.dop.active {
|
|
9
|
+
color: #165dff;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.dop .label {
|
|
13
|
+
display: flex;
|
|
14
|
+
gap: 10px;
|
|
15
|
+
align-items: center;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
// FilterGroup 内部样式
|
|
19
|
+
.filter-view-container {
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
margin-bottom: 10px;
|
|
23
|
+
font-size: 14px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.filter-search {
|
|
27
|
+
display: flex;
|
|
28
|
+
gap: 10px;
|
|
29
|
+
width: 180px;
|
|
30
|
+
margin-right: 10px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.filter-content {
|
|
34
|
+
position: relative;
|
|
35
|
+
display: flex;
|
|
36
|
+
flex: 1;
|
|
37
|
+
align-items: center;
|
|
38
|
+
justify-content: space-between;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.left {
|
|
42
|
+
display: flex;
|
|
43
|
+
gap: 10px;
|
|
44
|
+
align-items: center;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.right {
|
|
48
|
+
position: absolute;
|
|
49
|
+
right: 0;
|
|
50
|
+
z-index: 1;
|
|
51
|
+
display: flex;
|
|
52
|
+
flex-wrap: nowrap;
|
|
53
|
+
align-items: center;
|
|
54
|
+
height: 100%;
|
|
55
|
+
padding-left: 20px;
|
|
56
|
+
background: white;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.more-btn {
|
|
60
|
+
margin-right: 10px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.right-prefix {
|
|
64
|
+
display: flex;
|
|
65
|
+
gap: 10px;
|
|
66
|
+
align-items: center;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.filter-pannel {
|
|
70
|
+
display: flex;
|
|
71
|
+
gap: 10px;
|
|
72
|
+
padding: 10px;
|
|
73
|
+
background-color: white;
|
|
74
|
+
border-radius: 6px;
|
|
75
|
+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
// Filter Item 内部样式
|
|
79
|
+
.filter-item-view {
|
|
80
|
+
position: relative;
|
|
81
|
+
display: flex;
|
|
82
|
+
overflow: hidden;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.filter-item-view .show-view {
|
|
86
|
+
z-index: 1;
|
|
87
|
+
width: 100%;
|
|
88
|
+
height: 100%;
|
|
89
|
+
background: #fff;
|
|
90
|
+
pointer-events: none;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.filter-item-view .select-view {
|
|
94
|
+
position: absolute;
|
|
95
|
+
z-index: 0;
|
|
96
|
+
width: 100%;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.hasvalue-btn {
|
|
100
|
+
color: #165dff;
|
|
101
|
+
background-color: #e8f3ff;
|
|
102
|
+
border-right: none !important;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.right-prefix {
|
|
106
|
+
display: flex;
|
|
107
|
+
gap: 10px;
|
|
108
|
+
align-items: center;
|
|
109
|
+
}
|
|
4
110
|
}
|
package/es/style.css
CHANGED
|
@@ -3,92 +3,3 @@
|
|
|
3
3
|
vertical-align: middle;
|
|
4
4
|
font-size: 18px;
|
|
5
5
|
}
|
|
6
|
-
|
|
7
|
-
.dop.active[data-v-10378a8c] {
|
|
8
|
-
color: #165dff;
|
|
9
|
-
}
|
|
10
|
-
.dop .label[data-v-10378a8c] {
|
|
11
|
-
display: flex;
|
|
12
|
-
align-items: center;
|
|
13
|
-
gap: 10px;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.filter-item-view[data-v-197080c1] {
|
|
17
|
-
display: flex;
|
|
18
|
-
position: relative;
|
|
19
|
-
overflow: hidden;
|
|
20
|
-
}
|
|
21
|
-
.filter-item-view .show-view[data-v-197080c1] {
|
|
22
|
-
width: 100%;
|
|
23
|
-
height: 100%;
|
|
24
|
-
background: #ffffff;
|
|
25
|
-
z-index: 1;
|
|
26
|
-
pointer-events: none;
|
|
27
|
-
}
|
|
28
|
-
.filter-item-view .select-view[data-v-197080c1] {
|
|
29
|
-
width: 100%;
|
|
30
|
-
position: absolute;
|
|
31
|
-
z-index: 0;
|
|
32
|
-
}
|
|
33
|
-
.hasvalue-btn[data-v-197080c1] {
|
|
34
|
-
background-color: #e8f3ff;
|
|
35
|
-
color: #165dff;
|
|
36
|
-
border-right: none !important;
|
|
37
|
-
}
|
|
38
|
-
.right-prefix[data-v-197080c1] {
|
|
39
|
-
display: flex;
|
|
40
|
-
align-items: center;
|
|
41
|
-
gap: 10px;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.filter-view-container[data-v-017dcf0e] {
|
|
45
|
-
font-size: 14px;
|
|
46
|
-
margin-bottom: 10px;
|
|
47
|
-
display: flex;
|
|
48
|
-
align-items: center;
|
|
49
|
-
}
|
|
50
|
-
.filter-search[data-v-017dcf0e] {
|
|
51
|
-
margin-right: 10px;
|
|
52
|
-
width: 180px;
|
|
53
|
-
display: flex;
|
|
54
|
-
gap: 10px;
|
|
55
|
-
}
|
|
56
|
-
.filter-content[data-v-017dcf0e] {
|
|
57
|
-
display: flex;
|
|
58
|
-
justify-content: space-between;
|
|
59
|
-
align-items: center;
|
|
60
|
-
position: relative;
|
|
61
|
-
flex: 1;
|
|
62
|
-
}
|
|
63
|
-
.left[data-v-017dcf0e] {
|
|
64
|
-
display: flex;
|
|
65
|
-
align-items: center;
|
|
66
|
-
gap: 10px;
|
|
67
|
-
}
|
|
68
|
-
.right[data-v-017dcf0e] {
|
|
69
|
-
height: 100%;
|
|
70
|
-
display: flex;
|
|
71
|
-
align-items: center;
|
|
72
|
-
flex-wrap: nowrap;
|
|
73
|
-
position: absolute;
|
|
74
|
-
background: white;
|
|
75
|
-
padding-left: 20px;
|
|
76
|
-
right: 0;
|
|
77
|
-
z-index: 1;
|
|
78
|
-
}
|
|
79
|
-
.more-btn[data-v-017dcf0e] {
|
|
80
|
-
margin-right: 10px;
|
|
81
|
-
}
|
|
82
|
-
.right-prefix[data-v-017dcf0e] {
|
|
83
|
-
display: flex;
|
|
84
|
-
align-items: center;
|
|
85
|
-
gap: 10px;
|
|
86
|
-
}
|
|
87
|
-
.filter-pannel[data-v-017dcf0e] {
|
|
88
|
-
display: flex;
|
|
89
|
-
gap: 10px;
|
|
90
|
-
padding: 10px;
|
|
91
|
-
border-radius: 6px;
|
|
92
|
-
background-color: white;
|
|
93
|
-
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
|
94
|
-
}
|