zmdms-webui 3.2.7 → 3.2.9
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/alert/alert.js +2 -1
- package/dist/es/alert/index.css +1 -1
- package/dist/es/alert/interface.d.ts +2 -0
- package/dist/es/applayout/index.css +1 -1
- package/dist/es/applayoutsider/appLayoutSider.d.ts +2 -0
- package/dist/es/applayoutsider/appLayoutSider.js +2 -2
- package/dist/es/applayoutsider/menu/Logo.js +2 -2
- package/dist/es/applayoutsider/menu/index.js +2 -2
- package/dist/es/button/button.js +1 -1
- package/dist/es/config/ZtxkContext.d.ts +4 -0
- package/dist/es/config/ZtxkContext.js +1 -0
- package/dist/es/container/container.d.ts +2 -0
- package/dist/es/container/container.js +2 -2
- package/dist/es/detaillist/index.css +1 -1
- package/dist/es/detaillist/list.js +6 -0
- package/dist/es/empty/empty.d.ts +5 -0
- package/dist/es/empty/empty.js +21 -0
- package/dist/es/empty/index.css +1 -0
- package/dist/es/empty/index.d.ts +5 -0
- package/dist/es/empty/index.js +5 -0
- package/dist/es/empty/interface.d.ts +17 -0
- package/dist/es/form/form.js +2 -1
- package/dist/es/form/index.css +1 -1
- package/dist/es/formitem/formItem.d.ts +1 -1
- package/dist/es/formitem/index.css +1 -1
- package/dist/es/table/index.css +1 -1
- package/dist/es/table/table.js +1 -1
- package/dist/es/title/index.css +1 -1
- package/dist/es/title/interface.d.ts +8 -0
- package/dist/es/title/title.js +16 -2
- package/dist/es/uploadlist/index.css +1 -1
- package/dist/es/uploadlist/interface.d.ts +4 -0
- package/dist/es/uploadlist/uploadList.js +8 -6
- package/dist/es/uploadlist/uploadListDetail.js +2 -2
- package/dist/index.build.d.ts +3 -1
- package/dist/index.dark.css +2 -2
- package/dist/index.default.css +2 -2
- package/dist/index.es.js +2 -1
- package/dist/less/components/Alert/style/index.less +14 -1
- package/dist/less/components/DetailList/style/index.less +6 -0
- package/dist/less/components/Empty/style/index.less +43 -0
- package/dist/less/components/Empty/style/style.less +4 -0
- package/dist/less/components/FormItem/style/index.less +36 -1
- package/dist/less/components/Table/style/index.less +23 -0
- package/dist/less/components/Title/style/index.less +9 -0
- package/dist/less/components/UploadList/style/index.less +2 -0
- package/dist/less/styles/default.less +5 -1
- package/dist/less/styles/index.less +2 -0
- package/dist/less/styles/reset.less +21 -0
- 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,
|
|
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
|
+
}
|
|
@@ -306,7 +306,9 @@
|
|
|
306
306
|
.ant-input-affix-wrapper,
|
|
307
307
|
.ant-input,
|
|
308
308
|
.ant-input-number,
|
|
309
|
-
.ztxk-form--detault-dom
|
|
309
|
+
.ztxk-form--detault-dom,
|
|
310
|
+
.ant-radio-group,
|
|
311
|
+
.ant-checkbox-group {
|
|
310
312
|
border-color: #cdd9e6 !important;
|
|
311
313
|
}
|
|
312
314
|
}
|
|
@@ -454,3 +456,36 @@
|
|
|
454
456
|
}
|
|
455
457
|
}
|
|
456
458
|
}
|
|
459
|
+
|
|
460
|
+
.ztxk-form--weekly-review {
|
|
461
|
+
.ztxk-form__item {
|
|
462
|
+
// 禁用
|
|
463
|
+
&--disabled {
|
|
464
|
+
.ant-input-disabled,
|
|
465
|
+
.ant-input-number-disabled input,
|
|
466
|
+
.ant-input-affix-wrapper-disabled input {
|
|
467
|
+
color: #333 !important;
|
|
468
|
+
}
|
|
469
|
+
.ant-select-disabled {
|
|
470
|
+
.ant-select-selection-item,
|
|
471
|
+
.ant-select-selection-placeholder {
|
|
472
|
+
color: #333 !important;
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
.ant-picker-disabled {
|
|
476
|
+
input,
|
|
477
|
+
.ant-picker-suffix {
|
|
478
|
+
color: #333 !important;
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
.ant-radio-disabled + span,
|
|
482
|
+
.ant-checkbox-disabled + span {
|
|
483
|
+
color: #333 !important;
|
|
484
|
+
}
|
|
485
|
+
.ant-radio-button-wrapper-disabled,
|
|
486
|
+
.ant-checkbox-button-wrapper-disabled {
|
|
487
|
+
color: #333 !important;
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
}
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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