zmdms-webui 2.3.1 → 2.3.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.
Files changed (218) hide show
  1. package/dist/index.es.css +1 -1
  2. package/dist/index.es.js +1 -0
  3. package/package.json +1 -1
  4. package/dist/es/alert/alert.d.ts +0 -5
  5. package/dist/es/alert/index.css +0 -1
  6. package/dist/es/alert/index.d.ts +0 -5
  7. package/dist/es/alert/interface.d.ts +0 -14
  8. package/dist/es/applayout/appLayout.d.ts +0 -11
  9. package/dist/es/applayout/index.css +0 -1
  10. package/dist/es/applayout/index.d.ts +0 -5
  11. package/dist/es/applayoutheader/appLayoutHeader.d.ts +0 -16
  12. package/dist/es/applayoutheader/index.d.ts +0 -5
  13. package/dist/es/applayoutsider/appLayoutSider.d.ts +0 -57
  14. package/dist/es/applayoutsider/index.d.ts +0 -5
  15. package/dist/es/authloading/authLoading.d.ts +0 -5
  16. package/dist/es/authloading/index.css +0 -1
  17. package/dist/es/authloading/index.d.ts +0 -5
  18. package/dist/es/button/button.d.ts +0 -5
  19. package/dist/es/button/buttonDownload.d.ts +0 -25
  20. package/dist/es/button/buttonExport.d.ts +0 -15
  21. package/dist/es/button/buttonFullScreen.d.ts +0 -9
  22. package/dist/es/button/buttonPreview.d.ts +0 -26
  23. package/dist/es/button/index.css +0 -1
  24. package/dist/es/button/index.d.ts +0 -5
  25. package/dist/es/button/interface.d.ts +0 -34
  26. package/dist/es/calendar/index.d.ts +0 -7
  27. package/dist/es/collapse/collapse.d.ts +0 -7
  28. package/dist/es/collapse/index.d.ts +0 -5
  29. package/dist/es/collapse/interface.d.ts +0 -25
  30. package/dist/es/config/ZtxkContext.d.ts +0 -32
  31. package/dist/es/container/container.d.ts +0 -51
  32. package/dist/es/container/index.d.ts +0 -5
  33. package/dist/es/datepicker/index.d.ts +0 -48
  34. package/dist/es/datepicker/interface.d.ts +0 -56
  35. package/dist/es/descriptions/descriptions.d.ts +0 -5
  36. package/dist/es/descriptions/index.d.ts +0 -5
  37. package/dist/es/descriptions/interface.d.ts +0 -12
  38. package/dist/es/detaillist/index.d.ts +0 -5
  39. package/dist/es/detaillist/item.d.ts +0 -35
  40. package/dist/es/detaillist/list.d.ts +0 -17
  41. package/dist/es/differences/differences.d.ts +0 -5
  42. package/dist/es/differences/index.d.ts +0 -5
  43. package/dist/es/differences/interface.d.ts +0 -17
  44. package/dist/es/dynamicsetting/dynamicSetting.d.ts +0 -6
  45. package/dist/es/dynamicsetting/index.d.ts +0 -5
  46. package/dist/es/dynamicsetting/interface.d.ts +0 -43
  47. package/dist/es/electronsignatures/index.d.ts +0 -6
  48. package/dist/es/electronsignatures/interface.d.ts +0 -500
  49. package/dist/es/enhanceselect/enhance-select.d.ts +0 -6
  50. package/dist/es/enhanceselect/index.d.ts +0 -5
  51. package/dist/es/enhanceselect/interface.d.ts +0 -71
  52. package/dist/es/footer/footer.d.ts +0 -6
  53. package/dist/es/footer/index.d.ts +0 -5
  54. package/dist/es/footer/interface.d.ts +0 -34
  55. package/dist/es/form/form.d.ts +0 -18
  56. package/dist/es/form/index.d.ts +0 -5
  57. package/dist/es/form/interface.d.ts +0 -91
  58. package/dist/es/formitem/formItem.d.ts +0 -115
  59. package/dist/es/formitem/index.d.ts +0 -5
  60. package/dist/es/icon/icon-oss.d.ts +0 -6
  61. package/dist/es/icon/index.d.ts +0 -6
  62. package/dist/es/input/TextArea.d.ts +0 -13
  63. package/dist/es/input/index.d.ts +0 -5
  64. package/dist/es/input/input.d.ts +0 -23
  65. package/dist/es/inputnumber/index.d.ts +0 -5
  66. package/dist/es/inputnumber/inputNumber.d.ts +0 -28
  67. package/dist/es/inputnumber/interface.d.ts +0 -4
  68. package/dist/es/leftcontent/index.d.ts +0 -5
  69. package/dist/es/leftcontent/leftContent.d.ts +0 -31
  70. package/dist/es/login/index.css +0 -1
  71. package/dist/es/login/index.d.ts +0 -37
  72. package/dist/es/message/index.d.ts +0 -5
  73. package/dist/es/microloading/index.d.ts +0 -5
  74. package/dist/es/microloading/micro-loading.d.ts +0 -8
  75. package/dist/es/modal/index.d.ts +0 -5
  76. package/dist/es/modal/interface.d.ts +0 -91
  77. package/dist/es/modal/modal.d.ts +0 -5
  78. package/dist/es/notauthpage/index.d.ts +0 -5
  79. package/dist/es/notauthpage/notAuthPage.d.ts +0 -8
  80. package/dist/es/notroutepage/index.d.ts +0 -5
  81. package/dist/es/notroutepage/notRoutePage.d.ts +0 -8
  82. package/dist/es/operationbtn/index.d.ts +0 -5
  83. package/dist/es/operationbtn/interface.d.ts +0 -34
  84. package/dist/es/operationbtn/operationBtn.d.ts +0 -6
  85. package/dist/es/pagination/index.d.ts +0 -5
  86. package/dist/es/pagination/pagination.d.ts +0 -8
  87. package/dist/es/placeholder/index.d.ts +0 -5
  88. package/dist/es/placeholder/interface.d.ts +0 -12
  89. package/dist/es/placeholder/placeholder.d.ts +0 -5
  90. package/dist/es/print/index.d.ts +0 -5
  91. package/dist/es/print/interface.d.ts +0 -69
  92. package/dist/es/print/print-page.d.ts +0 -6
  93. package/dist/es/print/print.d.ts +0 -5
  94. package/dist/es/protectedroute/index.d.ts +0 -24
  95. package/dist/es/select/hooks.d.ts +0 -16
  96. package/dist/es/select/index.d.ts +0 -5
  97. package/dist/es/select/interface.d.ts +0 -82
  98. package/dist/es/select/select-render.d.ts +0 -31
  99. package/dist/es/select/select.d.ts +0 -5
  100. package/dist/es/sortable/index.d.ts +0 -5
  101. package/dist/es/sortable/sortable-item.d.ts +0 -14
  102. package/dist/es/sortable/sortable.d.ts +0 -13
  103. package/dist/es/suspensecomponent/index.d.ts +0 -10
  104. package/dist/es/table/components/Badge.d.ts +0 -24
  105. package/dist/es/table/components/TitleDirectionColumn.d.ts +0 -11
  106. package/dist/es/table/constant.d.ts +0 -3
  107. package/dist/es/table/index.d.ts +0 -5
  108. package/dist/es/table/interface.d.ts +0 -613
  109. package/dist/es/table/table.d.ts +0 -11
  110. package/dist/es/tabs/index.d.ts +0 -5
  111. package/dist/es/tabs/interface.d.ts +0 -52
  112. package/dist/es/tabs/tabs.d.ts +0 -5
  113. package/dist/es/tag/index.d.ts +0 -5
  114. package/dist/es/tag/interface.d.ts +0 -9
  115. package/dist/es/tag/tag.d.ts +0 -5
  116. package/dist/es/timepicker/index.d.ts +0 -19
  117. package/dist/es/title/index.d.ts +0 -5
  118. package/dist/es/title/interface.d.ts +0 -35
  119. package/dist/es/title/title.d.ts +0 -5
  120. package/dist/es/tree/index.d.ts +0 -5
  121. package/dist/es/tree/interface.d.ts +0 -44
  122. package/dist/es/tree/tree.d.ts +0 -5
  123. package/dist/es/treeselect/index.d.ts +0 -5
  124. package/dist/es/treeselect/interface.d.ts +0 -32
  125. package/dist/es/treeselect/treeSelect.d.ts +0 -5
  126. package/dist/es/uploadlist/index.d.ts +0 -5
  127. package/dist/es/uploadlist/interface.d.ts +0 -113
  128. package/dist/es/uploadlist/uploadList.d.ts +0 -5
  129. package/dist/es/watermark/index.d.ts +0 -5
  130. package/dist/es/watermark/interface.d.ts +0 -23
  131. package/dist/es/watermark/watermark.d.ts +0 -5
  132. package/dist/es/zttransfer/index.d.ts +0 -5
  133. package/dist/es/zttransfer/interface.d.ts +0 -38
  134. package/dist/es/zttransfer/zt-transfer.d.ts +0 -6
  135. package/dist/index.build.d.ts +0 -67
  136. package/dist/index.dark.css +0 -2
  137. package/dist/index.default.css +0 -2
  138. package/dist/less/components/Alert/style/index.less +0 -53
  139. package/dist/less/components/Alert/style/style.less +0 -4
  140. package/dist/less/components/AppLayout/style/index.less +0 -546
  141. package/dist/less/components/AppLayout/style/style.less +0 -2
  142. package/dist/less/components/AppLayout/style.less +0 -5
  143. package/dist/less/components/AuthLoading/style/index.less +0 -15
  144. package/dist/less/components/AuthLoading/style/style.less +0 -2
  145. package/dist/less/components/Button/style/index.less +0 -160
  146. package/dist/less/components/Button/style/style.less +0 -5
  147. package/dist/less/components/CanvasTable/style/index.less +0 -106
  148. package/dist/less/components/Cascader/style/index.less +0 -9
  149. package/dist/less/components/Cascader/style/style.less +0 -2
  150. package/dist/less/components/Collapse/style/index.less +0 -117
  151. package/dist/less/components/Collapse/style/style.less +0 -2
  152. package/dist/less/components/Container/style/index.less +0 -64
  153. package/dist/less/components/Container/style/style.less +0 -2
  154. package/dist/less/components/DatePicker/style/index.less +0 -7
  155. package/dist/less/components/DatePicker/style/style.less +0 -4
  156. package/dist/less/components/Descriptions/style/index.less +0 -32
  157. package/dist/less/components/Descriptions/style/style.less +0 -5
  158. package/dist/less/components/DetailList/style/index.less +0 -105
  159. package/dist/less/components/DetailList/style/style.less +0 -2
  160. package/dist/less/components/Differences/style/index.less +0 -5
  161. package/dist/less/components/Differences/style/style.less +0 -2
  162. package/dist/less/components/DynamicSetting/style/index.less +0 -96
  163. package/dist/less/components/DynamicSetting/style/style.less +0 -2
  164. package/dist/less/components/ElectronSignatures/style/index.less +0 -331
  165. package/dist/less/components/ElectronSignatures/style/style.less +0 -1
  166. package/dist/less/components/Footer/style/index.less +0 -28
  167. package/dist/less/components/Footer/style/style.less +0 -2
  168. package/dist/less/components/Form/style/index.less +0 -150
  169. package/dist/less/components/Form/style/style.less +0 -5
  170. package/dist/less/components/FormItem/style/index.less +0 -456
  171. package/dist/less/components/FormItem/style/style.less +0 -2
  172. package/dist/less/components/Input/style/index.less +0 -15
  173. package/dist/less/components/Input/style/style.less +0 -4
  174. package/dist/less/components/InputNumber/style/index.less +0 -30
  175. package/dist/less/components/InputNumber/style/style.less +0 -4
  176. package/dist/less/components/LeftContent/style/index.less +0 -62
  177. package/dist/less/components/LeftContent/style/style.less +0 -2
  178. package/dist/less/components/Login/style/index.less +0 -63
  179. package/dist/less/components/Login/style/style.less +0 -2
  180. package/dist/less/components/Message/style/index.less +0 -19
  181. package/dist/less/components/Message/style/style.less +0 -2
  182. package/dist/less/components/MicroLoading/style/index.less +0 -15
  183. package/dist/less/components/MicroLoading/style/style.less +0 -2
  184. package/dist/less/components/Modal/style/index.less +0 -43
  185. package/dist/less/components/Modal/style/style.less +0 -2
  186. package/dist/less/components/NotAuthPage/style/index.less +0 -0
  187. package/dist/less/components/NotAuthPage/style/style.less +0 -2
  188. package/dist/less/components/NotRoutePage/style/index.less +0 -0
  189. package/dist/less/components/NotRoutePage/style/style.less +0 -2
  190. package/dist/less/components/Pagination/style/index.less +0 -107
  191. package/dist/less/components/Pagination/style/style.less +0 -5
  192. package/dist/less/components/Placeholder/style/index.less +0 -3
  193. package/dist/less/components/Placeholder/style/style.less +0 -2
  194. package/dist/less/components/Print/style/index.less +0 -65
  195. package/dist/less/components/Print/style/style.less +0 -3
  196. package/dist/less/components/Select/style/index.less +0 -55
  197. package/dist/less/components/Select/style/style.less +0 -4
  198. package/dist/less/components/Table/style/index.less +0 -362
  199. package/dist/less/components/Table/style/style.less +0 -4
  200. package/dist/less/components/Tabs/style/index.less +0 -118
  201. package/dist/less/components/Tabs/style/style.less +0 -4
  202. package/dist/less/components/Tag/style/index.less +0 -3
  203. package/dist/less/components/Tag/style/style.less +0 -4
  204. package/dist/less/components/Title/style/index.less +0 -54
  205. package/dist/less/components/Title/style/style.less +0 -2
  206. package/dist/less/components/Tree/style/index.less +0 -58
  207. package/dist/less/components/Tree/style/style.less +0 -4
  208. package/dist/less/components/TreeSelect/style/index.less +0 -0
  209. package/dist/less/components/TreeSelect/style/style.less +0 -4
  210. package/dist/less/components/UploadList/style/index.less +0 -61
  211. package/dist/less/components/UploadList/style/style.less +0 -4
  212. package/dist/less/components/Watermark/style/index.less +0 -7
  213. package/dist/less/components/Watermark/style/style.less +0 -3
  214. package/dist/less/components/ZtTransfer/style/index.less +0 -136
  215. package/dist/less/components/ZtTransfer/style/style.less +0 -2
  216. package/dist/less/styles/default.less +0 -100
  217. package/dist/less/styles/index.less +0 -86
  218. package/dist/less/styles/reset.less +0 -189
@@ -1,43 +0,0 @@
1
- @qynModalHeaderHeight: 40px;
2
-
3
- .ztxk-modal {
4
- top: 8vh;
5
- .ant-modal-content {
6
- border-radius: 8px;
7
- > .ant-modal-close {
8
- color: #333333;
9
- width: @qynModalHeaderHeight;
10
- height: @qynModalHeaderHeight;
11
- > .ant-modal-close-x {
12
- width: @qynModalHeaderHeight;
13
- height: @qynModalHeaderHeight;
14
- line-height: @qynModalHeaderHeight;
15
- font-weight: normal;
16
- }
17
- }
18
- > .ant-modal-header {
19
- padding: 9px 20px 9px 24px;
20
- border-bottom: 1px solid #f0f0f0;
21
- border-radius: 8px 8px 0 0;
22
- > .ant-modal-title {
23
- color: #333333;
24
- line-height: 22px;
25
- text-align: center;
26
- font-weight: normal;
27
- }
28
- }
29
- > .ant-modal-body {
30
- padding: 10px;
31
- // 去掉最小高度
32
- // min-height: 200px;
33
- // 默认不超出高度
34
- max-height: 75vh;
35
- overflow: auto;
36
- }
37
- > .ant-modal-footer {
38
- text-align: center;
39
- border-top: 0;
40
- padding: 10px 0 10px 0;
41
- }
42
- }
43
- }
@@ -1,2 +0,0 @@
1
- @import "../../../styles/default.less";
2
- @import "./index.less";
File without changes
@@ -1,2 +0,0 @@
1
- @import "../../../styles/default.less";
2
- @import "./index.less";
@@ -1,2 +0,0 @@
1
- @import "../../../styles/default.less";
2
- @import "./index.less";
@@ -1,107 +0,0 @@
1
- .ztxk-pagination {
2
- font-size: @font-size-text;
3
- &.ztxk-table-pagination {
4
- display: block;
5
- .ant-pagination-prev {
6
- border-left: 1px solid #d9d9d9;
7
- }
8
- .ant-pagination-options .ant-select-selector {
9
- border-right: none;
10
- }
11
- }
12
- .ant-pagination-total-text {
13
- float: left;
14
- margin-right: 0;
15
- padding: 0 10px;
16
- color: @link-color;
17
- border: 1px solid @system;
18
- border-right: 0;
19
- border-radius: @border-radius-base 0 0 @border-radius-base;
20
- }
21
- .ant-pagination-options {
22
- float: left;
23
- margin-left: 0;
24
- border-radius: 0;
25
- .ant-select-selector {
26
- border-radius: 0;
27
- }
28
- }
29
- .ant-pagination-prev {
30
- margin-right: 0;
31
- &.ant-pagination-disabled {
32
- &:hover > button {
33
- color: rgba(0, 0, 0, 0.25);
34
- border: 1px solid @border-color-base;
35
- border-right: 0;
36
- border-left: 0;
37
- cursor: not-allowed;
38
- background: @bg-white;
39
- }
40
- }
41
- &:hover {
42
- > button {
43
- border: 0;
44
- color: @bg-white;
45
- background: @primary-color;
46
- }
47
- }
48
- > button {
49
- border-right: 0;
50
- border-left: 0;
51
- border-radius: 0;
52
- }
53
- }
54
- .ant-pagination-item {
55
- margin-right: 0;
56
- border-radius: 0;
57
- border-right: 0;
58
- &:focus,
59
- &:hover,
60
- &.ant-pagination-item-active {
61
- border: 0;
62
- color: @bg-white;
63
- background: @primary-color;
64
- > a {
65
- color: @bg-white;
66
- }
67
- }
68
- }
69
- .ant-pagination-jump-prev {
70
- margin-right: 0;
71
- border-left: 1px solid @border-color-base;
72
- border-radius: 0;
73
- }
74
- .ant-pagination-jump-next {
75
- margin-right: 0;
76
- border-left: 1px solid @border-color-base;
77
- border-radius: 0;
78
- }
79
- .ant-pagination-next {
80
- &.ant-pagination-disabled {
81
- &:hover > button {
82
- color: rgba(0, 0, 0, 0.25);
83
- border: 1px solid @border-color-base;
84
- cursor: not-allowed;
85
- background: @bg-white;
86
- }
87
- }
88
- &:hover {
89
- > button {
90
- border: 0;
91
- color: @bg-white;
92
- background: @primary-color;
93
- }
94
- }
95
- > button {
96
- border-radius: 0 @border-radius-base @border-radius-base 0;
97
- }
98
- }
99
- .ant-select-selection-item {
100
- // UI审查 分页器颜色修改 lint-color => text-color
101
- color: @text-color;
102
- }
103
- .ant-select-item {
104
- font-weight: 400;
105
- font-size: @font-size-base;
106
- }
107
- }
@@ -1,5 +0,0 @@
1
- // 包含antd pagination 和 自定义样式
2
- @import "antd/lib/pagination/style/index.less";
3
-
4
- @import "../../../styles/default.less";
5
- @import "./index.less";
@@ -1,3 +0,0 @@
1
- .ztxk-placeholder {
2
- display: inline-block;
3
- }
@@ -1,2 +0,0 @@
1
- @import "../../../styles/default.less";
2
- @import "./index.less";
@@ -1,65 +0,0 @@
1
- .ztxk-print {
2
- .ztxk-print--header {
3
- padding: @padding-base;
4
- position: sticky;
5
- top: 0;
6
- background-color: #fff;
7
- z-index: 100;
8
- // 每项定义一个边距
9
- .ph__item,
10
- button {
11
- margin-left: 10px;
12
- &:first-child {
13
- margin-left: 0;
14
- }
15
- }
16
- }
17
- .ztxk-print--content {
18
- width: 100%;
19
- min-height: 500px;
20
- font-family: microsoft-yahei;
21
- .ztxk-print--main {
22
- width: 1000px;
23
- margin: auto;
24
- .ztxk-print--page {
25
- min-height: 200px;
26
- }
27
- }
28
- }
29
- .ztxk-print--page-break__before {
30
- display: block;
31
- page-break-before: always;
32
- }
33
- .ztxk-print--page__pagination {
34
- text-align: center;
35
- margin: @margin-base 0;
36
- }
37
- .ztxk-print--page-break__after {
38
- display: block;
39
- page-break-after: always;
40
- &:last-child {
41
- display: none;
42
- page-break-after: auto;
43
- }
44
- }
45
- }
46
-
47
- @media print {
48
- .non-printable {
49
- visibility: hidden;
50
- display: none;
51
- }
52
- // 这个样式会影响整个页面
53
- // body * {
54
- // visibility: hidden;
55
- // }
56
- .ztxk-print--content,
57
- .ztxk-print--content * {
58
- visibility: visible;
59
- }
60
- footer.ztxk-print--page__pagination {
61
- position: fixed;
62
- bottom: 0;
63
- width: 100%;
64
- }
65
- }
@@ -1,3 +0,0 @@
1
- // 包含antd form 和 自定义样式
2
- @import "../../../styles/default.less";
3
- @import "./index.less";
@@ -1,55 +0,0 @@
1
- .ztxk-select--feed-item {
2
- font-size: 12px;
3
- line-height: 16px;
4
- opacity: 0.86;
5
- overflow: hidden;
6
- text-overflow: ellipsis;
7
- white-space: nowrap;
8
- width: 100%;
9
- }
10
-
11
- .ztxk-tabs.ztxk-select--tabs {
12
- .ant-tabs-nav {
13
- margin-bottom: 0 !important;
14
- }
15
- }
16
-
17
- .rc-virtual-list-scrollbar.rc-virtual-list-scrollbar-vertical {
18
- visibility: visible !important;
19
- }
20
-
21
- .ztxk-select--list {
22
- .ant-list-item {
23
- padding: 5px 12px;
24
- min-height: 32px;
25
- color: #333;
26
- font-size: 13px;
27
- line-height: 22px;
28
- cursor: pointer;
29
- border-bottom: none;
30
- display: flex;
31
- flex-direction: row;
32
- align-items: flex-start;
33
- overflow: hidden;
34
- white-space: nowrap;
35
- text-overflow: ellipsis;
36
- &:hover {
37
- background-color: #f5f5f5;
38
- }
39
- .ztxk-select--item-text {
40
- flex: 1;
41
- overflow: hidden;
42
- white-space: nowrap;
43
- text-overflow: ellipsis;
44
- }
45
- .ztxk-select--item-icon {
46
- color: #5b76f6;
47
- margin-top: 5px;
48
- }
49
- &.active {
50
- color: #333333;
51
- font-weight: 600;
52
- background-color: #f0f5ff;
53
- }
54
- }
55
- }
@@ -1,4 +0,0 @@
1
- @import "antd/lib/select/style/index.less";
2
-
3
- @import "../../../styles/default.less";
4
- @import "./index.less";
@@ -1,362 +0,0 @@
1
- .ztxk-table {
2
- /* 基础样式 */
3
- // 表头颜色设置
4
- .ant-table-thead > tr > th {
5
- background: @title-head-bg;
6
- .ant-table-column-sorters {
7
- padding: 0;
8
- }
9
- }
10
- // 这种方式修复表格无数据不出现滚动条,会导致固定列时,列头不对齐
11
- // .ant-table-scroll-horizontal {
12
- // 修复:表格数据不够撑开滚动条时,表格body也会预留滚动条位置
13
- // .ant-table-body {
14
- // overflow: auto !important;
15
- // }
16
- // 修复:表格无数据时,出现滚动条
17
- // .ant-table-expanded-row-fixed {
18
- // margin: 0 !important;
19
- // }
20
- // }
21
- // 让一些元素能换行显示
22
- .ant-table-tbody > tr > td {
23
- button {
24
- overflow-wrap: break-word;
25
- white-space: pre-wrap;
26
- word-break: break-all;
27
- }
28
- }
29
- // 行hover
30
- .ant-table-tbody > tr.ant-table-row:hover > td {
31
- background-color: @col-head-bg;
32
- }
33
- .ant-table-tbody > tr.ant-table-row > td.ztxk-table--info-td {
34
- background-color: @global-color;
35
- }
36
- .ant-table-tbody > tr.ant-table-row > td.ztxk-table--error-td {
37
- background-color: @stress-color;
38
- }
39
- // 显示行差异
40
- .ant-table-tbody > tr.ztxk-table--differences {
41
- background-color: @global-color;
42
- &:hover {
43
- > td {
44
- background-color: @global-color;
45
- }
46
- }
47
- > td {
48
- background-color: @global-color;
49
- }
50
- }
51
- .react-resizable {
52
- position: relative;
53
- background-clip: padding-box;
54
- }
55
- .react-resizable-handle {
56
- position: absolute;
57
- right: -5px;
58
- bottom: 0;
59
- z-index: 1;
60
- width: 10px;
61
- height: 100%;
62
- cursor: col-resize;
63
- }
64
- .react-resizable-handle.active::before {
65
- content: "";
66
- position: absolute;
67
- left: 50%;
68
- top: 0;
69
- bottom: 0;
70
- border-left: dotted 3px #40a9ff;
71
- }
72
- // 设置内容最小高度
73
- .ant-table-body {
74
- // 2023-12-13 去掉最小高度
75
- // min-height: 100px;
76
- // 无数据时,修改fixed的样式
77
- .ant-table-expanded-row-fixed {
78
- // width: 100% !important;
79
- margin: 0;
80
- padding: 0;
81
- }
82
- }
83
- // 设置单元格高度
84
- .ant-table-thead > tr > th,
85
- .ant-table-tbody > tr > td,
86
- .ant-table-summary > tr > td {
87
- height: 36px;
88
- padding: 0 5px;
89
- vertical-align: middle;
90
- // 表格字体颜色设置
91
- color: rgb(51, 51, 51);
92
- .ant-select {
93
- width: 100%;
94
- .ant-select-selector {
95
- // 2023-08-09 表格编辑显示边框
96
- // border: none;
97
- }
98
- }
99
- }
100
- // tbody文字换行方式
101
- .ant-table-tbody > tr > td {
102
- word-break: break-all;
103
- }
104
- //总结栏样式
105
- .ant-table-summary > tr > td {
106
- text-align: left;
107
- font-weight: bold;
108
- &:first-child {
109
- text-align: center;
110
- }
111
- }
112
- .ztxk-column--adddel-icon {
113
- font-size: @font-size-text;
114
- line-height: @font-size-text;
115
- // color: @weight-3;
116
- color: @link-color;
117
- &:hover {
118
- color: @link-hover-color;
119
- }
120
- &:first-child {
121
- margin-bottom: 4px;
122
- }
123
- &:last-child {
124
- margin-bottom: 0;
125
- }
126
- }
127
- // 单元格错误样式
128
- td.error-td {
129
- background: rgb(255, 136, 136) !important;
130
- border: 1px solid rgb(255, 136, 136) !important;
131
- }
132
- /* 基础样式 */
133
-
134
- /* 表头图标样式 */
135
- .thead-icon {
136
- cursor: pointer;
137
- }
138
-
139
- // 可编辑列样式
140
- .ztxk-table__enhance-cell {
141
- margin: 0;
142
- font-size: @font-size-text;
143
- input,
144
- .ant-input-affix-wrapper,
145
- .ant-input-number,
146
- .ant-select-selector {
147
- border: none;
148
- width: 100%;
149
- }
150
- &.input-model__input {
151
- border: 1px solid #d9d9d9;
152
- }
153
- .ant-form-item-control-input {
154
- min-height: auto;
155
- }
156
- .ant-input-number {
157
- min-height: 30px;
158
- input {
159
- min-height: 28px;
160
- }
161
- }
162
- .ant-input-affix-wrapper {
163
- min-height: 30px;
164
- padding: 0 11px;
165
- input {
166
- min-height: 28px;
167
- }
168
- }
169
- .ant-select-single:not(.ant-select-customize-input) .ant-select-selector,
170
- .ant-select-selector {
171
- min-height: 30px;
172
- input {
173
- min-height: 28px;
174
- }
175
- }
176
- .ant-input-number-input {
177
- text-align: left !important;
178
- }
179
- }
180
- .ztxk-table__enhance-cell-wrap {
181
- padding: 4px;
182
- min-height: 30px;
183
- cursor: pointer;
184
- border: 1px solid #d9d9d9;
185
- &:hover {
186
- border-color: #40a9ff;
187
- }
188
- }
189
- .ztxk-table__enhance-cell-wrap--disabled {
190
- color: rgba(0, 0, 0, 0.25);
191
- background-color: #f5f5f5;
192
- border-color: #d9d9d9;
193
- box-shadow: none;
194
- cursor: not-allowed;
195
- opacity: 1;
196
- &:hover {
197
- border-color: #d9d9d9;
198
- }
199
- }
200
- .ztxk-table__enhance-row {
201
- &:hover {
202
- .ztxk-table__enhance-cell-wrap {
203
- border-radius: 2px;
204
- }
205
- }
206
- &.drop-over-downward td {
207
- border-bottom: 2px dashed #1890ff;
208
- }
209
- &.drop-over-upward td {
210
- border-top: 2px dashed #1890ff;
211
- }
212
- }
213
-
214
- // 其他样式
215
- .zt-btn-link {
216
- padding: 0;
217
- margin-right: 5px;
218
- }
219
- .ant-dropdown-trigger {
220
- margin-right: 0;
221
- }
222
-
223
- // flex布局
224
- &.ztxk-table--flex {
225
- height: 100%;
226
- > .ant-spin-nested-loading {
227
- height: 100%;
228
- > .ant-spin-container {
229
- height: 100%;
230
- > .ant-table {
231
- height: 100%;
232
- > .ant-table-container {
233
- height: 100%;
234
- display: flex;
235
- flex-direction: column;
236
- > .ant-table-body {
237
- flex: 1;
238
- max-height: none !important;
239
- }
240
- }
241
- }
242
- }
243
- }
244
- }
245
-
246
- // 必填
247
- .ztxk-column--required {
248
- font-style: normal;
249
- color: @stress;
250
- }
251
-
252
- .ztxk-table--title-stress {
253
- font-style: normal;
254
- color: @stress;
255
- }
256
-
257
- // 排序相关样式
258
- .ztxk-table--sorter {
259
- display: flex;
260
- align-items: center;
261
- justify-content: space-between;
262
- flex: 1;
263
- .ztxk-table--sorter-title {
264
- flex-grow: 1;
265
- }
266
- .ztxk-table--sorter-icon {
267
- color: #bfbfbf;
268
- font-size: 0;
269
- display: inline-flex;
270
- flex-direction: column;
271
- align-items: center;
272
- cursor: pointer;
273
- }
274
- }
275
-
276
- // 过滤列的样式问题
277
- .ant-table-filter-trigger {
278
- margin: 0;
279
- }
280
- }
281
-
282
- .ztxk-table--wrapper-container {
283
- .ztxk-table--exit-fullscreen {
284
- position: absolute;
285
- width: 100px;
286
- text-align: center;
287
- margin-left: -50px;
288
- top: 30px;
289
- left: 50%;
290
- z-index: 1001;
291
- background: @white;
292
- padding: 10px;
293
- font-size: 16px;
294
- opacity: 0;
295
- transition: opacity 0.8s;
296
- cursor: pointer;
297
- border-radius: 10px;
298
- color: @global-text-color;
299
- }
300
- &:hover {
301
- .ztxk-table--exit-fullscreen {
302
- opacity: 0.8;
303
- }
304
- }
305
- }
306
-
307
- .error-popover {
308
- .ant-popover-inner-content {
309
- padding: 6px 10px;
310
- color: rgb(255, 136, 136);
311
- }
312
- }
313
-
314
- // 兼容全屏时,分页器弹出层样式
315
- .ztxk-table--fullscreen {
316
- .ant-pagination-options {
317
- .ant-select-dropdown {
318
- top: -140px !important;
319
- }
320
- }
321
- }
322
- .ztxk-table--pagination--select-top {
323
- top: -140px !important;
324
- }
325
-
326
- // 列头过滤相关样式
327
- .ztxk-table--filter {
328
- padding: 6px;
329
- max-width: 220px;
330
- input::placeholder {
331
- font-size: 12px;
332
- }
333
- .ztxk-table--filter__checkbox-container {
334
- display: flex;
335
- flex-direction: column;
336
- margin-top: 8px;
337
- margin-bottom: 8px;
338
- max-height: 200px;
339
- width: 200px;
340
- overflow-y: auto;
341
- .ant-checkbox-wrapper {
342
- margin-left: 0;
343
- }
344
- .ant-checkbox + span {
345
- text-overflow: ellipsis;
346
- display: block;
347
- white-space: nowrap;
348
- overflow: hidden;
349
- }
350
- }
351
- .ztxk-table--filter__btn-container {
352
- button {
353
- margin-right: 10px;
354
- &:last-child {
355
- margin-right: 0;
356
- }
357
- .anticon {
358
- line-height: inherit;
359
- }
360
- }
361
- }
362
- }
@@ -1,4 +0,0 @@
1
- @import "antd/lib/table/style/index.less";
2
-
3
- @import "../../../styles/default.less";
4
- @import "./index.less";