zmdms-webui 3.2.6 → 3.2.8

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 (46) hide show
  1. package/dist/es/alert/alert.js +2 -1
  2. package/dist/es/alert/index.css +1 -1
  3. package/dist/es/alert/interface.d.ts +2 -0
  4. package/dist/es/applayout/index.css +1 -1
  5. package/dist/es/button/button.js +1 -1
  6. package/dist/es/canvastable/components/HeaderOverlay.js +10 -3
  7. package/dist/es/canvastable/hooks/useOverlays.js +64 -98
  8. package/dist/es/config/ZtxkContext.d.ts +4 -0
  9. package/dist/es/config/ZtxkContext.js +1 -0
  10. package/dist/es/container/container.d.ts +2 -0
  11. package/dist/es/container/container.js +2 -2
  12. package/dist/es/detaillist/index.css +1 -1
  13. package/dist/es/detaillist/list.js +6 -0
  14. package/dist/es/electronsignatures/electroncomponents/electron-seal-batch-download.js +1 -0
  15. package/dist/es/empty/empty.d.ts +5 -0
  16. package/dist/es/empty/empty.js +21 -0
  17. package/dist/es/empty/index.css +1 -0
  18. package/dist/es/empty/index.d.ts +5 -0
  19. package/dist/es/empty/index.js +5 -0
  20. package/dist/es/empty/interface.d.ts +17 -0
  21. package/dist/es/form/index.css +1 -1
  22. package/dist/es/formitem/formItem.d.ts +1 -1
  23. package/dist/es/table/index.css +1 -1
  24. package/dist/es/table/table.js +1 -1
  25. package/dist/es/title/index.css +1 -1
  26. package/dist/es/title/interface.d.ts +8 -0
  27. package/dist/es/title/title.js +16 -2
  28. package/dist/es/uploadlist/index.css +1 -1
  29. package/dist/es/uploadlist/interface.d.ts +4 -0
  30. package/dist/es/uploadlist/uploadList.js +8 -6
  31. package/dist/es/uploadlist/uploadListDetail.js +2 -2
  32. package/dist/index.build.d.ts +3 -1
  33. package/dist/index.dark.css +2 -2
  34. package/dist/index.default.css +2 -2
  35. package/dist/index.es.js +2 -1
  36. package/dist/less/components/Alert/style/index.less +14 -1
  37. package/dist/less/components/DetailList/style/index.less +6 -0
  38. package/dist/less/components/Empty/style/index.less +43 -0
  39. package/dist/less/components/Empty/style/style.less +4 -0
  40. package/dist/less/components/Table/style/index.less +23 -0
  41. package/dist/less/components/Title/style/index.less +9 -0
  42. package/dist/less/components/UploadList/style/index.less +2 -0
  43. package/dist/less/styles/default.less +5 -1
  44. package/dist/less/styles/index.less +2 -0
  45. package/dist/less/styles/reset.less +21 -0
  46. package/package.json +2 -2
package/dist/index.es.js CHANGED
@@ -42,6 +42,7 @@ export { default as AuthLoading } from './es/authloading/authLoading.js';
42
42
  export { default as MicroLoading } from './es/microloading/micro-loading.js';
43
43
  export { default as NotRoutePage } from './es/notroutepage/notRoutePage.js';
44
44
  export { default as Alert } from './es/alert/alert.js';
45
+ export { default as Empty } from './es/empty/empty.js';
45
46
  export { default as ZtTransfer } from './es/zttransfer/zt-transfer.js';
46
47
  export { default as Watermark } from './es/watermark/watermark.js';
47
48
  export { default as Sortable } from './es/sortable/sortable.js';
@@ -50,7 +51,7 @@ export { default as message } from './es/message/index.js';
50
51
  export { default as CanvasTable } from './es/canvastable/canvasTable.js';
51
52
  export { default as TranslationButton } from './es/translationbutton/translationButton.js';
52
53
  export { default as PreviewFile } from './es/translationbutton/PreviewFile.js';
53
- export { Affix, Anchor, AutoComplete, Avatar, BackTop, Badge, Breadcrumb, Card, Carousel, Cascader, Checkbox, Col, Comment, ConfigProvider, Divider, Drawer, Dropdown, Empty, Grid, Image, Layout, List, Mentions, Menu, PageHeader, Popconfirm, Popover, Progress, Radio, Rate, Result, Row, Segmented, Skeleton, Slider, Space, Spin, Statistic, Steps, Switch, Timeline, Tooltip, Transfer, Typography, Upload, notification } from 'antd';
54
+ export { Affix, Anchor, AutoComplete, Avatar, BackTop, Badge, Breadcrumb, Card, Carousel, Cascader, Checkbox, Col, Comment, ConfigProvider, Divider, Drawer, Dropdown, Grid, Image, Layout, List, Mentions, Menu, PageHeader, Popconfirm, Popover, Progress, Radio, Rate, Result, Row, Segmented, Skeleton, Slider, Space, Spin, Statistic, Steps, Switch, Timeline, Tooltip, Transfer, Typography, Upload, notification } from 'antd';
54
55
  export { default as Button } from './es/button/button.js';
55
56
  export { default as Input } from './es/input/input.js';
56
57
  export { default as Form } from './es/form/form.js';
@@ -18,6 +18,9 @@
18
18
  &.zt-alert--margin-bottom {
19
19
  margin-bottom: @margin-base;
20
20
  }
21
+ &.zt-alert--inline {
22
+ display: inline-flex;
23
+ }
21
24
  &.ant-alert-success {
22
25
  background-color: @active-color;
23
26
  color: #fff;
@@ -39,7 +42,17 @@
39
42
  color: #fff;
40
43
  }
41
44
  }
42
- &.ant-alert-info,
45
+ &.ant-alert-info {
46
+ background: @col-head-bg;
47
+ border: 2px solid @system;
48
+ color: #3d3d3d;
49
+ .anticon {
50
+ color: #3d3d3d;
51
+ }
52
+ .ant-alert-message {
53
+ color: #3d3d3d;
54
+ }
55
+ }
43
56
  &.ant-alert-warning {
44
57
  background-color: @global-color;
45
58
  color: @global-text-color;
@@ -12,6 +12,7 @@
12
12
  }
13
13
  &.ztxk-grid--border {
14
14
  border-left: 1px solid @col-line-border;
15
+ border-top: 1px solid @col-line-border;
15
16
  &:first-child {
16
17
  border-top: 1px solid @col-line-border;
17
18
  }
@@ -102,4 +103,9 @@
102
103
  flex: 1;
103
104
  }
104
105
  }
106
+ &.ztxk-grid--ui-weekly {
107
+ .ztxk-grid-item--text {
108
+ font-size: 13px;
109
+ }
110
+ }
105
111
  }
@@ -0,0 +1,43 @@
1
+ .zt-empty {
2
+ &.zt-empty--margin-top {
3
+ margin-top: @margin-base;
4
+ }
5
+ &.zt-empty--margin-bottom {
6
+ margin-bottom: @margin-base;
7
+ }
8
+ &.zt-empty--inline {
9
+ display: flex;
10
+ flex-direction: row;
11
+ align-items: center;
12
+ justify-content: center;
13
+ margin: @margin-base 0;
14
+
15
+ .ant-empty-image {
16
+ height: auto;
17
+ margin-bottom: 0;
18
+ flex-shrink: 0;
19
+ display: flex;
20
+ align-items: center;
21
+ justify-content: center;
22
+ svg {
23
+ width: 24px;
24
+ height: 24px;
25
+ }
26
+ img {
27
+ width: 24px;
28
+ height: 24px;
29
+ }
30
+ }
31
+
32
+ .ant-empty-description {
33
+ margin-top: 0;
34
+ font-size: @font-size-text;
35
+ color: @weight-2;
36
+ margin-left: 10px;
37
+ }
38
+
39
+ .ant-empty-footer {
40
+ margin-top: 0;
41
+ }
42
+ }
43
+ }
@@ -0,0 +1,4 @@
1
+ @import "antd/lib/empty/style/index.less";
2
+
3
+ @import "../../../styles/default.less";
4
+ @import "./index.less";
@@ -37,6 +37,24 @@
37
37
  }
38
38
  /* 基础样式 */
39
39
 
40
+ // 表格展开图标样式
41
+ .ztxk-table--expand-icon__open,
42
+ .ztxk-table--expand-icon__close {
43
+ color: #ffffff;
44
+ width: 16px;
45
+ height: 16px;
46
+ line-height: 16px;
47
+ justify-content: center;
48
+ border-radius: 4px;
49
+ }
50
+ .ztxk-table--expand-icon__open {
51
+ background-color: @primary-color;
52
+ }
53
+ .ztxk-table--expand-icon__close {
54
+ background-color: @system-color;
55
+ color: @primary-color;
56
+ }
57
+
40
58
  // 表头颜色设置
41
59
  .ant-table-thead > tr > th {
42
60
  background: @title-head-bg;
@@ -317,6 +335,11 @@
317
335
  .ant-table-filter-trigger {
318
336
  margin: 0;
319
337
  }
338
+
339
+ // 表格行选中样式
340
+ .ant-table-tbody > tr.ant-table-row-selected > td {
341
+ background: @selected-row-bg;
342
+ }
320
343
  }
321
344
 
322
345
  .ztxk-table--wrapper-container {
@@ -15,6 +15,10 @@
15
15
  position: sticky;
16
16
  top: 0;
17
17
  }
18
+ .ztxk-title--title__container {
19
+ display: flex;
20
+ align-items: center;
21
+ }
18
22
  .ztxk-title--title {
19
23
  font-size: @font-size-title;
20
24
  font-weight: 600;
@@ -23,6 +27,11 @@
23
27
  font-size: inherit;
24
28
  }
25
29
  }
30
+ &.ztxk-title--nonBold {
31
+ .ztxk-title--title {
32
+ font-weight: normal;
33
+ }
34
+ }
26
35
  .ztxk-title--extra {
27
36
  font-size: 13px;
28
37
  color: @weight-1;
@@ -68,6 +68,8 @@
68
68
  }
69
69
  .preview-list__item--right {
70
70
  flex-shrink: 0;
71
+ display: flex;
72
+ align-items: center;
71
73
  }
72
74
  }
73
75
  }
@@ -9,7 +9,8 @@
9
9
 
10
10
  @bg-white: rgb(255, 255, 255);
11
11
  @text-white: rgb(255, 255, 255);
12
- @col-head-bg: #ebf3fe; // 列表背景 分割线 hover显示色
12
+ // @col-head-bg: #ebf3fe; // 列表背景 分割线 hover显示色
13
+ @col-head-bg: #edf4ff;
13
14
  @black-1: rgba(187, 199, 211, 0.4);
14
15
  @system: #cdd9e6;
15
16
  // @title-head-bg: #fafafa; // 表头
@@ -98,3 +99,6 @@
98
99
 
99
100
  // 页签底部颜色
100
101
  @tabs-nav-color-split: #cdd9e6;
102
+
103
+ // 表格选中颜色
104
+ @selected-row-bg: #f0faf0;
@@ -71,6 +71,8 @@
71
71
 
72
72
  @import "../components/OperationBtn/style/index.less";
73
73
 
74
+ @import "../components/Empty/style/index.less";
75
+
74
76
  // 显示换行符
75
77
  .ant-tooltip-inner {
76
78
  white-space: pre-wrap;
@@ -187,3 +187,24 @@ video {
187
187
  border-left: 0;
188
188
  border-right: 0;
189
189
  }
190
+
191
+ /**
192
+ * 修改ToolTip组件样式
193
+ */
194
+ .ant-tooltip {
195
+ color: #333;
196
+ .ant-tooltip-arrow-content {
197
+ background-color: #ebf3fe;
198
+ border: 1px solid #d8d8d8;
199
+ width: 8px;
200
+ height: 8px;
201
+ box-shadow: none;
202
+ --antd-arrow-background-color: none;
203
+ }
204
+ .ant-tooltip-inner {
205
+ background-color: #ebf3fe;
206
+ color: #333;
207
+ border: 1px solid #d8d8d8;
208
+ border-bottom: 0px;
209
+ }
210
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zmdms-webui",
3
- "version": "3.2.6",
3
+ "version": "3.2.8",
4
4
  "private": false,
5
5
  "main": "dist/index.es.js",
6
6
  "module": "dist/index.es.js",
@@ -159,4 +159,4 @@
159
159
  "xlsx": "^0.18.5",
160
160
  "xlsx-js-style": "^1.2.0"
161
161
  }
162
- }
162
+ }