linkmore-design 1.0.3
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/LICENSE +21 -0
- package/README.md +81 -0
- package/dist/40b22ad7b4ea2a7e.jpg +0 -0
- package/dist/566891e3103ae07a.png +0 -0
- package/dist/9f788f660abc173c.png +0 -0
- package/dist/f8940d62d6a40f71.png +0 -0
- package/dist/index.umd.css +2167 -0
- package/dist/index.umd.js +69587 -0
- package/dist/index.umd.min.css +1 -0
- package/dist/index.umd.min.js +31 -0
- package/es/ButtonTags/ButtonTags.js +59 -0
- package/es/ButtonTags/index.js +13 -0
- package/es/ButtonTags/style/index.js +3 -0
- package/es/ButtonTags/style/style.css +221 -0
- package/es/CkFilter/baseFilter/filterMenu.js +177 -0
- package/es/CkFilter/baseFilter/index.js +91 -0
- package/es/CkFilter/baseFilter/moreFilters.js +198 -0
- package/es/CkFilter/complexFilter/drawer.js +337 -0
- package/es/CkFilter/complexFilter/index.js +69 -0
- package/es/CkFilter/components/filterTypes.js +530 -0
- package/es/CkFilter/components/modal.js +275 -0
- package/es/CkFilter/context.js +152 -0
- package/es/CkFilter/customFilter/drawer.js +364 -0
- package/es/CkFilter/customFilter/index.js +130 -0
- package/es/CkFilter/customFilter/radioGroup.js +65 -0
- package/es/CkFilter/filter.js +115 -0
- package/es/CkFilter/index.js +13 -0
- package/es/CkFilter/style/index.js +3 -0
- package/es/CkFilter/style/style.css +586 -0
- package/es/CkFilter/utils.js +65 -0
- package/es/CustomerService/assets/question01.png +0 -0
- package/es/CustomerService/assets/send.png +0 -0
- package/es/CustomerService/assets/service.png +0 -0
- package/es/CustomerService/assets/shuoming01.png +0 -0
- package/es/CustomerService/assets/shuoming02.png +0 -0
- package/es/CustomerService/components/question.js +120 -0
- package/es/CustomerService/index.js +291 -0
- package/es/CustomerService/style/index.js +3 -0
- package/es/CustomerService/style/style.css +402 -0
- package/es/EditTable/EditTable.js +489 -0
- package/es/EditTable/index.js +13 -0
- package/es/EditTable/style/index.js +3 -0
- package/es/EditTable/style/style.css +165 -0
- package/es/EnlargeImg/index.js +109 -0
- package/es/EnlargeImg/style/index.js +3 -0
- package/es/EnlargeImg/style/style.css +4 -0
- package/es/Filter/Popover.js +199 -0
- package/es/Filter/baseFilter/Popover.js +214 -0
- package/es/Filter/baseFilter/ToggleFilter.js +112 -0
- package/es/Filter/baseFilter/index.js +100 -0
- package/es/Filter/complex/ComplexFilter.js +149 -0
- package/es/Filter/complex/ComplexItem.js +157 -0
- package/es/Filter/components/Checkbox.js +94 -0
- package/es/Filter/components/Date.js +87 -0
- package/es/Filter/components/Input.js +63 -0
- package/es/Filter/components/Select.js +89 -0
- package/es/Filter/components/Tree.js +64 -0
- package/es/Filter/components/header.js +60 -0
- package/es/Filter/components/index.js +47 -0
- package/es/Filter/context.js +15 -0
- package/es/Filter/edit/editFilter.js +277 -0
- package/es/Filter/index.js +174 -0
- package/es/Filter/popContext.js +15 -0
- package/es/Filter/remember.js +137 -0
- package/es/Filter/style/index.js +3 -0
- package/es/Filter/style/style.css +420 -0
- package/es/Icon/index.js +20 -0
- package/es/Icon/style/index.js +1 -0
- package/es/Icon/style/style.css +0 -0
- package/es/IconFont/index.js +15 -0
- package/es/IconFont/style/index.js +1 -0
- package/es/IconFont/style/style.css +0 -0
- package/es/LeftTable/assets/imgTest.jpg +0 -0
- package/es/LeftTable/index.js +116 -0
- package/es/LeftTable/style/index.js +3 -0
- package/es/LeftTable/style/style.css +231 -0
- package/es/LoadingPage/index.js +33 -0
- package/es/LoadingPage/style/index.js +1 -0
- package/es/LoadingPage/style/style.css +0 -0
- package/es/Modal/add.js +68 -0
- package/es/Modal/confirm.js +88 -0
- package/es/Modal/edit.js +44 -0
- package/es/Modal/exportModal.js +300 -0
- package/es/Modal/index.js +24 -0
- package/es/Modal/style/index.js +3 -0
- package/es/Modal/style/style.css +119 -0
- package/es/PopTable/BseTable.js +113 -0
- package/es/PopTable/index.js +151 -0
- package/es/PopTable/style/index.js +3 -0
- package/es/PopTable/style/style.css +363 -0
- package/es/ProTable/ImgList/body.js +111 -0
- package/es/ProTable/ImgList/cardCell.js +179 -0
- package/es/ProTable/ImgList/context.js +12 -0
- package/es/ProTable/ImgList/empty.js +24 -0
- package/es/ProTable/ImgList/footer.js +59 -0
- package/es/ProTable/ImgList/imgCell.js +181 -0
- package/es/ProTable/ImgList/imgTable.js +110 -0
- package/es/ProTable/ImgList/index.js +13 -0
- package/es/ProTable/Table.js +321 -0
- package/es/ProTable/VList.js +594 -0
- package/es/ProTable/context.js +12 -0
- package/es/ProTable/index.js +16 -0
- package/es/ProTable/resetConfig.js +39 -0
- package/es/ProTable/style/index.js +3 -0
- package/es/ProTable/style/style.css +693 -0
- package/es/TableRender/index.js +15 -0
- package/es/TableRender/state.js +72 -0
- package/es/TableRender/style/index.js +3 -0
- package/es/TableRender/style/style.css +0 -0
- package/es/UploadOss/index.js +18 -0
- package/es/UploadOss/style/index.js +3 -0
- package/es/UploadOss/style/style.css +121 -0
- package/es/UploadOss/uploadBtn.js +141 -0
- package/es/UploadOss/uploadImg.js +282 -0
- package/es/VirtualList/index.js +84 -0
- package/es/VirtualList/style/index.js +3 -0
- package/es/VirtualList/style/style.css +0 -0
- package/es/index.js +135 -0
- package/es/services/newRequest.js +201 -0
- package/es/services/utils.js +72 -0
- package/es/styles/icon.css +15 -0
- package/es/styles/main.css +149 -0
- package/es/styles/resetAntd.css +62 -0
- package/es/styles/them.css +0 -0
- package/lib/ButtonTags/ButtonTags.js +59 -0
- package/lib/ButtonTags/index.js +13 -0
- package/lib/ButtonTags/style/index.js +3 -0
- package/lib/ButtonTags/style/style.css +221 -0
- package/lib/CkFilter/baseFilter/filterMenu.js +177 -0
- package/lib/CkFilter/baseFilter/index.js +91 -0
- package/lib/CkFilter/baseFilter/moreFilters.js +198 -0
- package/lib/CkFilter/complexFilter/drawer.js +337 -0
- package/lib/CkFilter/complexFilter/index.js +69 -0
- package/lib/CkFilter/components/filterTypes.js +530 -0
- package/lib/CkFilter/components/modal.js +275 -0
- package/lib/CkFilter/context.js +152 -0
- package/lib/CkFilter/customFilter/drawer.js +364 -0
- package/lib/CkFilter/customFilter/index.js +130 -0
- package/lib/CkFilter/customFilter/radioGroup.js +65 -0
- package/lib/CkFilter/filter.js +115 -0
- package/lib/CkFilter/index.js +13 -0
- package/lib/CkFilter/style/index.js +3 -0
- package/lib/CkFilter/style/style.css +586 -0
- package/lib/CkFilter/utils.js +65 -0
- package/lib/CustomerService/assets/question01.png +0 -0
- package/lib/CustomerService/assets/send.png +0 -0
- package/lib/CustomerService/assets/service.png +0 -0
- package/lib/CustomerService/assets/shuoming01.png +0 -0
- package/lib/CustomerService/assets/shuoming02.png +0 -0
- package/lib/CustomerService/components/question.js +120 -0
- package/lib/CustomerService/index.js +291 -0
- package/lib/CustomerService/style/index.js +3 -0
- package/lib/CustomerService/style/style.css +402 -0
- package/lib/EditTable/EditTable.js +489 -0
- package/lib/EditTable/index.js +13 -0
- package/lib/EditTable/style/index.js +3 -0
- package/lib/EditTable/style/style.css +165 -0
- package/lib/EnlargeImg/index.js +109 -0
- package/lib/EnlargeImg/style/index.js +3 -0
- package/lib/EnlargeImg/style/style.css +4 -0
- package/lib/Filter/Popover.js +199 -0
- package/lib/Filter/baseFilter/Popover.js +214 -0
- package/lib/Filter/baseFilter/ToggleFilter.js +112 -0
- package/lib/Filter/baseFilter/index.js +100 -0
- package/lib/Filter/complex/ComplexFilter.js +149 -0
- package/lib/Filter/complex/ComplexItem.js +157 -0
- package/lib/Filter/components/Checkbox.js +94 -0
- package/lib/Filter/components/Date.js +87 -0
- package/lib/Filter/components/Input.js +63 -0
- package/lib/Filter/components/Select.js +89 -0
- package/lib/Filter/components/Tree.js +64 -0
- package/lib/Filter/components/header.js +60 -0
- package/lib/Filter/components/index.js +47 -0
- package/lib/Filter/context.js +15 -0
- package/lib/Filter/edit/editFilter.js +277 -0
- package/lib/Filter/index.js +174 -0
- package/lib/Filter/popContext.js +15 -0
- package/lib/Filter/remember.js +137 -0
- package/lib/Filter/style/index.js +3 -0
- package/lib/Filter/style/style.css +420 -0
- package/lib/Icon/index.js +20 -0
- package/lib/Icon/style/index.js +1 -0
- package/lib/Icon/style/style.css +0 -0
- package/lib/IconFont/index.js +15 -0
- package/lib/IconFont/style/index.js +1 -0
- package/lib/IconFont/style/style.css +0 -0
- package/lib/LeftTable/assets/imgTest.jpg +0 -0
- package/lib/LeftTable/index.js +116 -0
- package/lib/LeftTable/style/index.js +3 -0
- package/lib/LeftTable/style/style.css +231 -0
- package/lib/LoadingPage/index.js +33 -0
- package/lib/LoadingPage/style/index.js +1 -0
- package/lib/LoadingPage/style/style.css +0 -0
- package/lib/Modal/add.js +68 -0
- package/lib/Modal/confirm.js +88 -0
- package/lib/Modal/edit.js +44 -0
- package/lib/Modal/exportModal.js +300 -0
- package/lib/Modal/index.js +24 -0
- package/lib/Modal/style/index.js +3 -0
- package/lib/Modal/style/style.css +119 -0
- package/lib/PopTable/BseTable.js +113 -0
- package/lib/PopTable/index.js +151 -0
- package/lib/PopTable/style/index.js +3 -0
- package/lib/PopTable/style/style.css +363 -0
- package/lib/ProTable/ImgList/body.js +111 -0
- package/lib/ProTable/ImgList/cardCell.js +179 -0
- package/lib/ProTable/ImgList/context.js +12 -0
- package/lib/ProTable/ImgList/empty.js +24 -0
- package/lib/ProTable/ImgList/footer.js +59 -0
- package/lib/ProTable/ImgList/imgCell.js +181 -0
- package/lib/ProTable/ImgList/imgTable.js +110 -0
- package/lib/ProTable/ImgList/index.js +13 -0
- package/lib/ProTable/Table.js +321 -0
- package/lib/ProTable/VList.js +594 -0
- package/lib/ProTable/context.js +12 -0
- package/lib/ProTable/index.js +16 -0
- package/lib/ProTable/resetConfig.js +39 -0
- package/lib/ProTable/style/index.js +3 -0
- package/lib/ProTable/style/style.css +693 -0
- package/lib/TableRender/index.js +15 -0
- package/lib/TableRender/state.js +72 -0
- package/lib/TableRender/style/index.js +3 -0
- package/lib/TableRender/style/style.css +0 -0
- package/lib/UploadOss/index.js +18 -0
- package/lib/UploadOss/style/index.js +3 -0
- package/lib/UploadOss/style/style.css +121 -0
- package/lib/UploadOss/uploadBtn.js +141 -0
- package/lib/UploadOss/uploadImg.js +282 -0
- package/lib/VirtualList/index.js +84 -0
- package/lib/VirtualList/style/index.js +3 -0
- package/lib/VirtualList/style/style.css +0 -0
- package/lib/index.js +135 -0
- package/lib/services/newRequest.js +201 -0
- package/lib/services/utils.js +72 -0
- package/lib/styles/icon.css +15 -0
- package/lib/styles/main.css +149 -0
- package/lib/styles/resetAntd.css +62 -0
- package/lib/styles/them.css +0 -0
- package/package.json +102 -0
|
@@ -0,0 +1,420 @@
|
|
|
1
|
+
.ant-layout-sider {
|
|
2
|
+
min-height: 100vh;
|
|
3
|
+
background-color: #022766;
|
|
4
|
+
}
|
|
5
|
+
.ant-menu-dark .ant-menu-inline.ant-menu-sub {
|
|
6
|
+
box-shadow: none;
|
|
7
|
+
}
|
|
8
|
+
.ant-menu-submenu-placement-rightTop {
|
|
9
|
+
display: none;
|
|
10
|
+
}
|
|
11
|
+
.ant-table .row-active .ant-table-cell {
|
|
12
|
+
background-color: #FEFFD3 !important;
|
|
13
|
+
}
|
|
14
|
+
.ant-dropdown-menu-item {
|
|
15
|
+
font-size: 12px;
|
|
16
|
+
height: 32px;
|
|
17
|
+
}
|
|
18
|
+
.ant-tabs .ant-tabs-nav .ant-tabs-tab {
|
|
19
|
+
font-size: 14px;
|
|
20
|
+
}
|
|
21
|
+
.ant-tabs.auto_tabs {
|
|
22
|
+
display: flex;
|
|
23
|
+
flex-flow: column;
|
|
24
|
+
height: 100%;
|
|
25
|
+
}
|
|
26
|
+
.ant-tabs.auto_tabs .ant-tabs-nav {
|
|
27
|
+
height: 48px;
|
|
28
|
+
}
|
|
29
|
+
.ant-tabs.auto_tabs .ant-tabs-content-holder {
|
|
30
|
+
flex: 1;
|
|
31
|
+
overflow: auto;
|
|
32
|
+
}
|
|
33
|
+
.ant-drawer.drawer_wrapper .ant-drawer-header {
|
|
34
|
+
padding: 0 24px;
|
|
35
|
+
}
|
|
36
|
+
.ant-drawer.drawer_wrapper .ant-drawer-body {
|
|
37
|
+
position: relative;
|
|
38
|
+
flex: 1;
|
|
39
|
+
padding: 0 24px;
|
|
40
|
+
}
|
|
41
|
+
.ant-modal-wrap.plugin_modal {
|
|
42
|
+
display: flex;
|
|
43
|
+
flex-flow: column;
|
|
44
|
+
justify-content: flex-end;
|
|
45
|
+
}
|
|
46
|
+
.ant-modal-wrap.plugin_modal .ant-modal {
|
|
47
|
+
left: 56px;
|
|
48
|
+
top: 0;
|
|
49
|
+
margin: 0 0 8px 8px;
|
|
50
|
+
padding: 0;
|
|
51
|
+
}
|
|
52
|
+
.ant-modal-wrap.lm_modal_confirm .anticon {
|
|
53
|
+
margin-top: -1px;
|
|
54
|
+
margin-right: 8px;
|
|
55
|
+
}
|
|
56
|
+
.ant-modal-wrap.lm_modal_confirm .ant-modal-body {
|
|
57
|
+
padding: 16px 24px;
|
|
58
|
+
}
|
|
59
|
+
.ant-popover.pop_img .ant-popover-inner-content {
|
|
60
|
+
line-height: 1;
|
|
61
|
+
padding: var(--gap);
|
|
62
|
+
}
|
|
63
|
+
@font-face {
|
|
64
|
+
font-family: 'iconfont';
|
|
65
|
+
/* Project id 2966019 */
|
|
66
|
+
src: url('//at.alicdn.com/t/font_2966019_i3eb1wwkoo.woff2?t=1641546077924') format('woff2'), url('//at.alicdn.com/t/font_2966019_i3eb1wwkoo.woff?t=1641546077924') format('woff'), url('//at.alicdn.com/t/font_2966019_i3eb1wwkoo.ttf?t=1641546077924') format('truetype');
|
|
67
|
+
}
|
|
68
|
+
.icon_ {
|
|
69
|
+
font-family: 'iconfont';
|
|
70
|
+
font-size: 14px;
|
|
71
|
+
}
|
|
72
|
+
.iconfont {
|
|
73
|
+
font-size: 12px;
|
|
74
|
+
}
|
|
75
|
+
.icon_home::before {
|
|
76
|
+
content: '\e7fc';
|
|
77
|
+
}
|
|
78
|
+
:root {
|
|
79
|
+
--them-color: #1890fc;
|
|
80
|
+
--main-color: #1890fc;
|
|
81
|
+
--primary-color: #1890fc;
|
|
82
|
+
--primary2-color: rgba(24, 144, 252, 0.08);
|
|
83
|
+
--success-color: #56C22D;
|
|
84
|
+
--warning-color: #FD9727;
|
|
85
|
+
--error-color: #FA4F53;
|
|
86
|
+
--aside-bg-color: #022766;
|
|
87
|
+
--font-color: rgba(0, 0, 0, 0.85);
|
|
88
|
+
--font2-color: rgba(0, 0, 0, 0.65);
|
|
89
|
+
--text-color: rgba(0, 0, 0, 0.45);
|
|
90
|
+
--box-shadow-color: rgba(0, 0, 0, 0.15);
|
|
91
|
+
--background-color: rgba(0, 0, 0, 0.04);
|
|
92
|
+
--background-color-hover: rgba(0, 0, 0, 0.08);
|
|
93
|
+
--border-color: #f0f0f0;
|
|
94
|
+
--stripe-color: #f5f5f5;
|
|
95
|
+
--border-hover-color: #f2f5f7;
|
|
96
|
+
--gap: 8px;
|
|
97
|
+
--basic-height: 24px;
|
|
98
|
+
}
|
|
99
|
+
.ant-input,
|
|
100
|
+
.ant-select {
|
|
101
|
+
font-size: 12px;
|
|
102
|
+
}
|
|
103
|
+
.ant-select-dropdown .ant-select-item {
|
|
104
|
+
font-size: 12px;
|
|
105
|
+
align-items: center;
|
|
106
|
+
}
|
|
107
|
+
.react-resizable {
|
|
108
|
+
position: relative;
|
|
109
|
+
background-clip: padding-box;
|
|
110
|
+
}
|
|
111
|
+
.react-resizable-handle {
|
|
112
|
+
position: absolute;
|
|
113
|
+
right: 0;
|
|
114
|
+
top: 0;
|
|
115
|
+
z-index: 1;
|
|
116
|
+
width: 3px;
|
|
117
|
+
height: 40px;
|
|
118
|
+
cursor: col-resize;
|
|
119
|
+
}
|
|
120
|
+
.react-resizable-handle:hover {
|
|
121
|
+
background-color: var(--primary-color);
|
|
122
|
+
}
|
|
123
|
+
.react-resizable-handle:active {
|
|
124
|
+
background-color: var(--primary-color);
|
|
125
|
+
}
|
|
126
|
+
.yf_resizable_bar {
|
|
127
|
+
position: absolute;
|
|
128
|
+
left: 0;
|
|
129
|
+
top: 0;
|
|
130
|
+
z-index: 2;
|
|
131
|
+
height: 0;
|
|
132
|
+
}
|
|
133
|
+
.resizable_line {
|
|
134
|
+
position: absolute;
|
|
135
|
+
left: 0;
|
|
136
|
+
top: 0;
|
|
137
|
+
height: 100%;
|
|
138
|
+
width: 1px;
|
|
139
|
+
background-color: var(--primary-color);
|
|
140
|
+
z-index: 1;
|
|
141
|
+
}
|
|
142
|
+
.handle_resizable {
|
|
143
|
+
position: absolute;
|
|
144
|
+
right: 0;
|
|
145
|
+
top: 0;
|
|
146
|
+
height: 100%;
|
|
147
|
+
width: 5px;
|
|
148
|
+
z-index: 2;
|
|
149
|
+
}
|
|
150
|
+
.lm_filter {
|
|
151
|
+
display: flex;
|
|
152
|
+
align-items: center;
|
|
153
|
+
padding-bottom: calc(var(--gap) * 2);
|
|
154
|
+
}
|
|
155
|
+
.lm_filter .ant-space-item,
|
|
156
|
+
.lm_filter .ant-space-item > *,
|
|
157
|
+
.lm_filter .ant-btn,
|
|
158
|
+
.lm_filter .ant-input {
|
|
159
|
+
font-size: 12px;
|
|
160
|
+
}
|
|
161
|
+
.lm_filter .anticon + span,
|
|
162
|
+
.lm_filter span + .anticon {
|
|
163
|
+
margin-left: calc(var(--gap) / 2);
|
|
164
|
+
}
|
|
165
|
+
.lm_filter .ant-input-affix-wrapper {
|
|
166
|
+
height: 24px;
|
|
167
|
+
}
|
|
168
|
+
.lm_filter .line {
|
|
169
|
+
display: block;
|
|
170
|
+
height: var(--basic-height);
|
|
171
|
+
border-right: 1px solid #eee;
|
|
172
|
+
}
|
|
173
|
+
.lm_filter .item_icon {
|
|
174
|
+
display: none;
|
|
175
|
+
}
|
|
176
|
+
.lm_filter .btn_active {
|
|
177
|
+
background-color: var(--ant-primary-1);
|
|
178
|
+
}
|
|
179
|
+
.ant-popover.list-popover {
|
|
180
|
+
min-width: 130px;
|
|
181
|
+
}
|
|
182
|
+
.ant-popover.list-popover .ant-popover-inner-content {
|
|
183
|
+
overflow-y: auto;
|
|
184
|
+
max-height: 260px;
|
|
185
|
+
padding: 0;
|
|
186
|
+
}
|
|
187
|
+
.ant-popover.list-popover .list-popover-header {
|
|
188
|
+
font-size: 12px;
|
|
189
|
+
height: 40px;
|
|
190
|
+
border-bottom: 1px solid #eee;
|
|
191
|
+
padding: 0 15px;
|
|
192
|
+
}
|
|
193
|
+
.ant-popover.list-popover .list-popover-header .ant-radio-button-wrapper {
|
|
194
|
+
font-size: 12px;
|
|
195
|
+
}
|
|
196
|
+
.ant-popover.list-popover .item_other {
|
|
197
|
+
position: relative;
|
|
198
|
+
right: -8px;
|
|
199
|
+
display: inline-flex;
|
|
200
|
+
align-items: center;
|
|
201
|
+
color: #666;
|
|
202
|
+
}
|
|
203
|
+
.ant-popover.list-popover .item_other .item_icon {
|
|
204
|
+
font-size: 14px;
|
|
205
|
+
text-align: center;
|
|
206
|
+
padding: 0 2px;
|
|
207
|
+
transition: 0.3s;
|
|
208
|
+
}
|
|
209
|
+
.ant-popover.list-popover .item_other .item_icon:hover {
|
|
210
|
+
color: var(--primary-color);
|
|
211
|
+
}
|
|
212
|
+
.ant-popover.list-popover .item_other .item_top {
|
|
213
|
+
opacity: 0;
|
|
214
|
+
}
|
|
215
|
+
.ant-popover.list-popover .ant-list .ant-list-items .ant-list-item {
|
|
216
|
+
position: relative;
|
|
217
|
+
display: flex;
|
|
218
|
+
height: 32px;
|
|
219
|
+
align-items: center;
|
|
220
|
+
font-size: 12px;
|
|
221
|
+
border: none;
|
|
222
|
+
color: #333;
|
|
223
|
+
padding: 0 15px;
|
|
224
|
+
transition: 0.3s;
|
|
225
|
+
cursor: pointer;
|
|
226
|
+
}
|
|
227
|
+
.ant-popover.list-popover .ant-list .ant-list-items .ant-list-item.active {
|
|
228
|
+
background-color: var(--stripe-color);
|
|
229
|
+
}
|
|
230
|
+
.ant-popover.list-popover .ant-list .ant-list-items .ant-list-item:hover {
|
|
231
|
+
background-color: var(--stripe-color);
|
|
232
|
+
}
|
|
233
|
+
.ant-popover.list-popover .ant-list .ant-list-items .ant-list-item:hover .item_top {
|
|
234
|
+
opacity: 1;
|
|
235
|
+
}
|
|
236
|
+
.ant-popover.list-popover .ant-list .ant-list-item-meta-content {
|
|
237
|
+
width: auto;
|
|
238
|
+
}
|
|
239
|
+
.ant-popover.list-popover .filte_warp {
|
|
240
|
+
padding: 8px 15px;
|
|
241
|
+
}
|
|
242
|
+
.ant-popover.list-popover .filte_warp > div {
|
|
243
|
+
width: 100%;
|
|
244
|
+
}
|
|
245
|
+
.ant-popover.list-popover .filte_warp .ant-picker-input > input {
|
|
246
|
+
font-size: 12px;
|
|
247
|
+
height: 22px;
|
|
248
|
+
}
|
|
249
|
+
.ant-popover.list-popover .filte_warp .ant-input {
|
|
250
|
+
font-size: 12px;
|
|
251
|
+
height: var(--basic-height);
|
|
252
|
+
}
|
|
253
|
+
.ant-popover.list-popover .ant-checkbox-group {
|
|
254
|
+
width: 100%;
|
|
255
|
+
}
|
|
256
|
+
.ant-popover.list-popover .ant-checkbox-group .ant-checkbox-wrapper {
|
|
257
|
+
display: flex;
|
|
258
|
+
flex: 1;
|
|
259
|
+
align-items: center;
|
|
260
|
+
font-size: inherit;
|
|
261
|
+
height: 32px;
|
|
262
|
+
}
|
|
263
|
+
.ant-popover.list-popover .ant-checkbox-group .ant-checkbox-wrapper .ant-checkbox {
|
|
264
|
+
top: 0;
|
|
265
|
+
}
|
|
266
|
+
.ant-popover.list-popover .ant-tree {
|
|
267
|
+
font-size: 12px;
|
|
268
|
+
padding-right: 8px;
|
|
269
|
+
}
|
|
270
|
+
.ant-popover.list-popover .ant-tree .ant-tree-treenode {
|
|
271
|
+
height: 32px;
|
|
272
|
+
align-items: center;
|
|
273
|
+
padding: 0;
|
|
274
|
+
}
|
|
275
|
+
.ant-popover.list-popover .ant-tree .ant-tree-treenode .ant-tree-switcher {
|
|
276
|
+
display: inline-flex;
|
|
277
|
+
align-items: center;
|
|
278
|
+
justify-content: center;
|
|
279
|
+
}
|
|
280
|
+
.ant-popover.list-popover .ant-tree .ant-tree-treenode .ant-tree-switcher:empty {
|
|
281
|
+
width: 12px;
|
|
282
|
+
}
|
|
283
|
+
.ant-drawer .ant-drawer-header {
|
|
284
|
+
height: 48px;
|
|
285
|
+
padding: 0 16px;
|
|
286
|
+
}
|
|
287
|
+
.ant-drawer.complex_filter .ant-drawer-body {
|
|
288
|
+
display: flex;
|
|
289
|
+
flex-flow: column;
|
|
290
|
+
padding: 16px 16px 0;
|
|
291
|
+
}
|
|
292
|
+
.ant-drawer.complex_filter .ant-drawer-body .ant-list {
|
|
293
|
+
flex: 1;
|
|
294
|
+
overflow-y: auto;
|
|
295
|
+
margin-top: var(--gap);
|
|
296
|
+
}
|
|
297
|
+
.ant-drawer.complex_filter .ant-drawer-footer {
|
|
298
|
+
display: flex;
|
|
299
|
+
align-items: center;
|
|
300
|
+
justify-content: space-between;
|
|
301
|
+
font-size: 12px;
|
|
302
|
+
height: 48px;
|
|
303
|
+
}
|
|
304
|
+
.ant-drawer.complex_filter .ant-drawer-footer .ant-btn {
|
|
305
|
+
font-size: 12px;
|
|
306
|
+
min-width: 56px;
|
|
307
|
+
}
|
|
308
|
+
.ant-drawer.complex_filter .ant-list-item {
|
|
309
|
+
height: 40px;
|
|
310
|
+
padding: 0;
|
|
311
|
+
}
|
|
312
|
+
.ant-drawer.complex_filter .ant-list-item:hover {
|
|
313
|
+
color: var(--primary-color);
|
|
314
|
+
}
|
|
315
|
+
.ant-drawer.complex_filter .item_other {
|
|
316
|
+
display: flex;
|
|
317
|
+
align-items: center;
|
|
318
|
+
}
|
|
319
|
+
.ant-drawer.complex_filter .item_other .itme_icon {
|
|
320
|
+
font-size: 10px;
|
|
321
|
+
cursor: pointer;
|
|
322
|
+
}
|
|
323
|
+
.ant-drawer.edit_filter .ant-drawer-body {
|
|
324
|
+
display: flex;
|
|
325
|
+
flex-flow: column;
|
|
326
|
+
flex: 1;
|
|
327
|
+
padding: 16px 16px 0;
|
|
328
|
+
}
|
|
329
|
+
.ant-drawer.edit_filter .edit_filter_title .ant-space-vertical {
|
|
330
|
+
width: 100%;
|
|
331
|
+
}
|
|
332
|
+
.ant-drawer.edit_filter .edit_filter_title .title_lable {
|
|
333
|
+
font-size: 12px;
|
|
334
|
+
padding-bottom: 8px;
|
|
335
|
+
}
|
|
336
|
+
.ant-drawer.edit_filter .edit_filter_title .title_lable span.required {
|
|
337
|
+
color: #fd4d4e;
|
|
338
|
+
}
|
|
339
|
+
.ant-drawer.edit_filter .edit_filter_body {
|
|
340
|
+
flex: 1;
|
|
341
|
+
overflow-y: auto;
|
|
342
|
+
margin-top: 16px;
|
|
343
|
+
}
|
|
344
|
+
.ant-drawer.edit_filter .edit_filter_body .ant-list-item {
|
|
345
|
+
border: none;
|
|
346
|
+
padding: 4px 0;
|
|
347
|
+
}
|
|
348
|
+
.ant-drawer.edit_filter .edit_filter_body .ant-list-item:first-of-type {
|
|
349
|
+
padding-top: 0;
|
|
350
|
+
}
|
|
351
|
+
.ant-drawer.edit_filter .edit_filter_body .ant-list-item .item_box {
|
|
352
|
+
background: var(--background-color);
|
|
353
|
+
padding: 12px;
|
|
354
|
+
}
|
|
355
|
+
.ant-drawer.edit_filter .edit_filter_body .ant-list-item .item_box .item_label {
|
|
356
|
+
display: flex;
|
|
357
|
+
align-items: center;
|
|
358
|
+
justify-content: space-between;
|
|
359
|
+
}
|
|
360
|
+
.ant-drawer.edit_filter .edit_filter_body .ant-list-item .item_box .item_tags {
|
|
361
|
+
padding-top: 16px;
|
|
362
|
+
}
|
|
363
|
+
.ant-drawer.edit_filter .edit_filter_body .ant-list-item .item_box .item_tags .ant-tag {
|
|
364
|
+
color: var(--font-color);
|
|
365
|
+
background-color: var(--background-color);
|
|
366
|
+
}
|
|
367
|
+
.ant-drawer.edit_filter .edit_filter_body .ant-list-item .item_box .item_tags .ant-tag.site-tag-plus {
|
|
368
|
+
background: transparent;
|
|
369
|
+
border-style: dashed;
|
|
370
|
+
cursor: pointer;
|
|
371
|
+
}
|
|
372
|
+
.ant-drawer.edit_filter .edit_filter_body .ant-list-item .item_box .item_tags .tag-input {
|
|
373
|
+
width: 78px;
|
|
374
|
+
margin-right: 8px;
|
|
375
|
+
vertical-align: top;
|
|
376
|
+
}
|
|
377
|
+
.ant-drawer.edit_filter .edit_filter_footer {
|
|
378
|
+
position: sticky;
|
|
379
|
+
bottom: 0;
|
|
380
|
+
background-color: #fff;
|
|
381
|
+
padding-top: 4px;
|
|
382
|
+
}
|
|
383
|
+
.ant-select-dropdown.first_select .rc-virtual-list .ant-select-item {
|
|
384
|
+
padding: 0 12px;
|
|
385
|
+
}
|
|
386
|
+
.ant-select-dropdown.first_select .rc-virtual-list .ant-select-item .ant-input {
|
|
387
|
+
font-size: 12px;
|
|
388
|
+
height: var(--basic-height);
|
|
389
|
+
}
|
|
390
|
+
.ant-select-dropdown.first_select .rc-virtual-list .ant-select-item .item_nowarp {
|
|
391
|
+
flex-wrap: nowrap;
|
|
392
|
+
}
|
|
393
|
+
.ant-select-dropdown.first_select .rc-virtual-list .ant-select-item .item_label {
|
|
394
|
+
flex: 1;
|
|
395
|
+
overflow: hidden;
|
|
396
|
+
text-overflow: ellipsis;
|
|
397
|
+
}
|
|
398
|
+
.ant-select-dropdown.first_select .rc-virtual-list .ant-select-item .item_icon {
|
|
399
|
+
opacity: 0;
|
|
400
|
+
transition: 0.3s;
|
|
401
|
+
padding-left: 3px;
|
|
402
|
+
}
|
|
403
|
+
.ant-select-dropdown.first_select .rc-virtual-list .ant-select-item:hover .item_icon {
|
|
404
|
+
opacity: 1;
|
|
405
|
+
}
|
|
406
|
+
.ant-select-dropdown.first_select .rc-virtual-list .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
|
|
407
|
+
color: var(--primary-color);
|
|
408
|
+
}
|
|
409
|
+
.ant-select-dropdown.first_select .add_more {
|
|
410
|
+
display: flex;
|
|
411
|
+
flex-wrap: nowrap;
|
|
412
|
+
align-items: center;
|
|
413
|
+
font-size: 12px;
|
|
414
|
+
padding: 4px 12px;
|
|
415
|
+
cursor: pointer;
|
|
416
|
+
}
|
|
417
|
+
.ant-select-dropdown.first_select .add_more .ant-input {
|
|
418
|
+
font-size: 12px;
|
|
419
|
+
height: var(--basic-height);
|
|
420
|
+
}
|
package/es/Icon/index.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
|
|
12
|
+
var Icon = function Icon(prop) {
|
|
13
|
+
var className = prop.className;
|
|
14
|
+
return /*#__PURE__*/_react.default.createElement("span", {
|
|
15
|
+
className: className
|
|
16
|
+
});
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
var _default = Icon;
|
|
20
|
+
exports.default = _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
File without changes
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _icons = require("@ant-design/icons");
|
|
9
|
+
|
|
10
|
+
var IconFont = (0, _icons.createFromIconfontCN)({
|
|
11
|
+
scriptUrl: '//at.alicdn.com/t/font_2966019_oo18nfy5zb.js' // 在 iconfont.cn 上生成
|
|
12
|
+
|
|
13
|
+
});
|
|
14
|
+
var _default = IconFont;
|
|
15
|
+
exports.default = _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
File without changes
|
|
Binary file
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
|
|
4
|
+
|
|
5
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8
|
+
value: true
|
|
9
|
+
});
|
|
10
|
+
exports.default = void 0;
|
|
11
|
+
|
|
12
|
+
require("antd/es/tree/style");
|
|
13
|
+
|
|
14
|
+
var _tree = _interopRequireDefault(require("antd/es/tree"));
|
|
15
|
+
|
|
16
|
+
require("antd/es/button/style");
|
|
17
|
+
|
|
18
|
+
var _button = _interopRequireDefault(require("antd/es/button"));
|
|
19
|
+
|
|
20
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
|
|
21
|
+
|
|
22
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
23
|
+
|
|
24
|
+
var _icons = require("@ant-design/icons");
|
|
25
|
+
|
|
26
|
+
var _Popover = _interopRequireDefault(require("../Filter/Popover"));
|
|
27
|
+
|
|
28
|
+
var _imgTest = _interopRequireDefault(require("./assets/imgTest.jpg"));
|
|
29
|
+
|
|
30
|
+
var LeftSide = function LeftSide(_ref) {
|
|
31
|
+
var useToggle = _ref.useToggle,
|
|
32
|
+
toggleTree = _ref.toggleTree,
|
|
33
|
+
treeData = _ref.treeData,
|
|
34
|
+
treeType = _ref.treeType;
|
|
35
|
+
|
|
36
|
+
var _useState = (0, _react.useState)({
|
|
37
|
+
title: '分类',
|
|
38
|
+
treeData: treeData.category
|
|
39
|
+
}),
|
|
40
|
+
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
41
|
+
useTree = _useState2[0],
|
|
42
|
+
setTree = _useState2[1]; // 左侧树分类变化事件
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
var getTreeTypeChange = function getTreeTypeChange(value) {
|
|
46
|
+
var title = treeType.data.find(function (v) {
|
|
47
|
+
return v.value === value.value;
|
|
48
|
+
}).label;
|
|
49
|
+
var nValue = {
|
|
50
|
+
title: title,
|
|
51
|
+
treeData: treeData[value.value]
|
|
52
|
+
};
|
|
53
|
+
setTree(nValue);
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
var data = new Array(50).fill().map(function (item, index) {
|
|
57
|
+
return {
|
|
58
|
+
id: index,
|
|
59
|
+
title: '物料的名称',
|
|
60
|
+
code: "MLY001Y002009".concat(index, "Y"),
|
|
61
|
+
signer: index % 4 ? ['战略备料', '预售期货', '大货齐备', '外发加工'] : ['战略备料', '样衣打版'],
|
|
62
|
+
// 标签
|
|
63
|
+
tags: [{
|
|
64
|
+
icon: /*#__PURE__*/_react.default.createElement(_icons.ExportOutlined, null),
|
|
65
|
+
label: '战略备料'
|
|
66
|
+
}, {
|
|
67
|
+
label: '战略备料'
|
|
68
|
+
}],
|
|
69
|
+
checked: false,
|
|
70
|
+
material: '物料名称',
|
|
71
|
+
materialCode: "MLY001Y002009".concat(index, "Y"),
|
|
72
|
+
img: index % 2 ? 'http://www.wuliwu.top/logo.png' : _imgTest.default,
|
|
73
|
+
imgUrl: _imgTest.default,
|
|
74
|
+
state: index % 3 ? 'ok' : index % 2 ? 'disable' : 'wait',
|
|
75
|
+
supplier: '供应商名称',
|
|
76
|
+
number: 'MLY001',
|
|
77
|
+
contactUser: '联系人',
|
|
78
|
+
phone: '13131313131',
|
|
79
|
+
category: index % 2 ? '牛仔' : '非牛仔',
|
|
80
|
+
type: index % 2 ? '面料' : '辅料',
|
|
81
|
+
money: Math.floor(Math.random() * 2000) * index,
|
|
82
|
+
remark: '这是备注这是备注这是备注这是备注这是备注这是备注这是备注这是备注'
|
|
83
|
+
};
|
|
84
|
+
});
|
|
85
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
86
|
+
className: useToggle ? 'lm_grid_tree' : "lm_grid_tree grid_toggle"
|
|
87
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
88
|
+
className: "grid_tree_title"
|
|
89
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
90
|
+
className: "grid_tree_title_left"
|
|
91
|
+
}, /*#__PURE__*/_react.default.createElement("span", null, useTree.title)), /*#__PURE__*/_react.default.createElement(_Popover.default, {
|
|
92
|
+
item: treeType,
|
|
93
|
+
config: {
|
|
94
|
+
placement: 'bottomRight',
|
|
95
|
+
overlayStyle: {
|
|
96
|
+
width: 168,
|
|
97
|
+
paddingTop: 0
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
getChange: function getChange(e, mode) {
|
|
101
|
+
return getTreeTypeChange(e, mode, data.field);
|
|
102
|
+
}
|
|
103
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
104
|
+
className: "grid_tree_title_right"
|
|
105
|
+
}, /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
106
|
+
type: "text"
|
|
107
|
+
}, /*#__PURE__*/_react.default.createElement(_icons.EllipsisOutlined, null))))), /*#__PURE__*/_react.default.createElement(_tree.default, {
|
|
108
|
+
treeData: useTree.treeData
|
|
109
|
+
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
110
|
+
className: "toggle_btn",
|
|
111
|
+
onClick: toggleTree
|
|
112
|
+
}, /*#__PURE__*/_react.default.createElement(_icons.LeftOutlined, null)));
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
var _default = LeftSide;
|
|
116
|
+
exports.default = _default;
|