zmdms-webui 2.9.0 → 2.9.2
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/es/button/button.js +2 -1
- package/dist/es/button/index.css +1 -1
- package/dist/es/button/interface.d.ts +2 -0
- package/dist/es/config/ZtxkContext.d.ts +20 -0
- package/dist/es/config/ZtxkContext.js +5 -0
- package/dist/es/form/form.js +21 -13
- package/dist/es/form/index.css +1 -1
- package/dist/es/form/interface.d.ts +4 -0
- package/dist/es/form/toggle.js +6 -4
- package/dist/es/icon/index.js +1 -1
- package/dist/es/operationbtn/index.css +1 -0
- package/dist/es/operationbtn/interface.d.ts +13 -1
- package/dist/es/operationbtn/operationBtn.js +87 -27
- package/dist/es/table/components/ColumnDynamic.js +6 -2
- package/dist/es/table/components/FilterDropdown.js +9 -3
- package/dist/es/table/components/TitleOperation.js +1 -1
- package/dist/es/table/excel.js +15 -4
- package/dist/es/table/index.css +1 -1
- package/dist/es/table/interface.d.ts +12 -0
- package/dist/es/table/table.js +33 -16
- package/dist/es/table/useColumns.js +10 -4
- package/dist/es/table/useSummary.js +31 -20
- package/dist/es/table/useTableSummaryCollapse.js +29 -0
- package/dist/index.dark.css +1 -1
- package/dist/index.default.css +1 -1
- package/dist/less/components/Button/style/index.less +5 -0
- package/dist/less/components/Form/style/index.less +9 -0
- package/dist/less/components/OperationBtn/style/index.less +63 -0
- package/dist/less/components/OperationBtn/style/style.less +2 -0
- package/dist/less/components/Table/style/index.less +35 -0
- package/dist/less/styles/index.less +2 -0
- package/package.json +1 -1
|
@@ -152,6 +152,15 @@
|
|
|
152
152
|
}
|
|
153
153
|
.ztxk-form__right--common-right {
|
|
154
154
|
margin-top: 13px;
|
|
155
|
+
&.ztxk-form__right--common-right--new-layout {
|
|
156
|
+
display: flex;
|
|
157
|
+
button {
|
|
158
|
+
padding: 0 5px;
|
|
159
|
+
&.ant-dropdown-trigger {
|
|
160
|
+
padding: 0 2px;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
155
164
|
}
|
|
156
165
|
}
|
|
157
166
|
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
.operation_btn_group_popover {
|
|
2
|
+
padding: 0 5px;
|
|
3
|
+
> .ant-popover-content {
|
|
4
|
+
> .ant-popover-arrow {
|
|
5
|
+
display: none;
|
|
6
|
+
}
|
|
7
|
+
> .ant-popover-inner {
|
|
8
|
+
background: #ffffff;
|
|
9
|
+
box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.1);
|
|
10
|
+
border-radius: 0px 0px 4px 4px;
|
|
11
|
+
> .ant-popover-inner-content {
|
|
12
|
+
padding: 0;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
.ant-btn-link {
|
|
17
|
+
white-space: normal;
|
|
18
|
+
word-break: break-all;
|
|
19
|
+
overflow-wrap: break-word;
|
|
20
|
+
text-align: left;
|
|
21
|
+
}
|
|
22
|
+
.ant-btn-link {
|
|
23
|
+
color: @primary-color;
|
|
24
|
+
background: transparent;
|
|
25
|
+
border-color: transparent;
|
|
26
|
+
box-shadow: none;
|
|
27
|
+
margin-right: 5px;
|
|
28
|
+
padding: 0px;
|
|
29
|
+
&:hover,
|
|
30
|
+
&:active,
|
|
31
|
+
&:focus {
|
|
32
|
+
color: @link-hover-color;
|
|
33
|
+
background: transparent;
|
|
34
|
+
border-color: transparent;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
&.operation_btn_group_popover_en {
|
|
38
|
+
.ant-btn-link {
|
|
39
|
+
background: #ffffff;
|
|
40
|
+
border: 1px solid #ebebeb;
|
|
41
|
+
padding: 5px 10px;
|
|
42
|
+
&:hover,
|
|
43
|
+
&:active,
|
|
44
|
+
&:focus {
|
|
45
|
+
color: @link-hover-color;
|
|
46
|
+
background: #ffffff;
|
|
47
|
+
border: 1px solid #ebebeb;
|
|
48
|
+
padding: 5px 10px;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
.operation_btn_group_popover_content_en {
|
|
53
|
+
display: flex;
|
|
54
|
+
flex-wrap: wrap;
|
|
55
|
+
gap: 5px 0px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.operation_btn_more {
|
|
60
|
+
display: inline-flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
justify-content: center;
|
|
63
|
+
}
|
|
@@ -1,4 +1,39 @@
|
|
|
1
1
|
.ztxk-table {
|
|
2
|
+
// 动态列配置文本样式
|
|
3
|
+
.ztxk-table__dynamic-text {
|
|
4
|
+
font-size: 12px;
|
|
5
|
+
color: rgb(118, 134, 150);
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
}
|
|
8
|
+
// 表格合计折叠样式
|
|
9
|
+
|
|
10
|
+
// 表格合计
|
|
11
|
+
.ztxk-table-summary-collapse {
|
|
12
|
+
height: 20px;
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
position: sticky;
|
|
17
|
+
left: 0;
|
|
18
|
+
overflow: hidden;
|
|
19
|
+
margin: 0 -17px;
|
|
20
|
+
.ztxk-table-summary-collapse-title {
|
|
21
|
+
cursor: pointer;
|
|
22
|
+
padding: 0 12px;
|
|
23
|
+
height: 20px;
|
|
24
|
+
line-height: 20px;
|
|
25
|
+
font-size: 12px;
|
|
26
|
+
background-color: #cdd9e6;
|
|
27
|
+
border-radius: 0 0 4px 4px;
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
color: #555555;
|
|
32
|
+
> span {
|
|
33
|
+
margin-left: 7px;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
2
37
|
/* 基础样式 */
|
|
3
38
|
// 表头颜色设置
|
|
4
39
|
.ant-table-thead > tr > th {
|