@dinert/element-plus 1.1.31 → 1.1.33
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/element-plus.umd.js +2 -2
- package/dist/element-plus.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/es/packages/assets/scss/dinert-dialog.scss +110 -0
- package/es/packages/assets/scss/dinert-form.scss +195 -0
- package/es/packages/assets/scss/dinert-table-page.scss +79 -0
- package/es/packages/assets/scss/dinert-table.scss +196 -0
- package/es/packages/assets/scss/dinert-tooltip.scss +20 -0
- package/es/packages/assets/scss/index.scss +10 -0
- package/es/packages/assets/scss/normal.scss +349 -0
- package/es/packages/assets/scss/variables.scss +3 -0
- package/es/packages/components/form/src/index.mjs +15 -15
- package/es/packages/components/form/src/index.mjs.map +1 -1
- package/es/packages/components/table/src/index.mjs +87 -83
- package/es/packages/components/table/src/index.mjs.map +1 -1
- package/es/packages/index.mjs.map +1 -1
- package/es/src/components/table/types/index.d.ts +2 -1
- package/es/style.css +1 -1
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/lib/src/components/table/types/index.d.ts +2 -1
- package/lib/style.css +1 -1
- package/package.json +9 -1
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.tree-item{width:100%}.tree-item .el-tooltip__trigger{display:block;overflow:hidden;width:100%;text-align:left;text-overflow:ellipsis;white-space:nowrap}.el-popover-classify{overflow-y:auto;margin:0;padding:0;list-style:none}.el-popover-classify li{margin:0;padding:0;list-style:none}.el-popover-classify li:first-child{border-bottom:1px solid var(--el-fill-color);line-height:32px}.el-popover-classify>.el-tree>.el-tree-node>.el-tree-node__content>.el-tree-node__expand-icon.is-leaf{display:none}.el-popover-classify .el-tree-node__children{overflow:unset}.dinert-table{display:flex;padding:20px;height:100%;border-radius:var(--el-bg-radius);background-color:var(--el-bg-color);flex-direction:column;box-sizing:border-box}.dinert-table .dinert-table-header{display:flex;justify-content:space-between;margin-bottom:12px;text-align:right}.dinert-table .dinert-table-header .el-popover-classify li .el-checkbox{width:100%;line-height:24px;height:24px}.dinert-table .dinert-table-header .dinert-table-header-left{text-align:left}.dinert-table .dinert-table-body{flex:1;height:0}.dinert-table .dinert-table-body .el-table .el-popper{max-width:50%}.dinert-table .dinert-table-body .el-table .el-table__header .el-table__cell.setting .setting-icon{display:inline-block}.dinert-table .dinert-table-body .el-table .el-table__header .el-table__cell .cell{color:var(--zp-color-secondary-text-title)}.dinert-table .dinert-table-body .el-table .el-table__header .el-table__cell .cell .setting-icon{vertical-align:-1px;margin-left:4px;cursor:pointer}.dinert-table .dinert-table-body .el-table .el-table__body-wrapper td{color:var(--zp-color-secondary-text-title)}.dinert-table .dinert-table-body .el-table .el-table__body-wrapper td .cell.el-tooltip>.cell-item{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dinert-table .dinert-table-body .el-table .el-table__body-wrapper td .cell.el-tooltip>.cell-item .cell-item-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dinert-table .dinert-table-body .el-table .el-table__body-wrapper .operations .el-dropdown{vertical-align:-2px}.dinert-table .dinert-table-body .el-table .el-table__body-wrapper .operations .cell{display:flex;justify-content:center;align-items:center}.dinert-table .dinert-table-body .el-table .el-table__body-wrapper .operations .cell .el-button{margin-right:8px;margin-left:0}.dinert-table .dinert-table-body .el-table .el-table__body-wrapper .operations .cell .el-button:focus-visible{outline:none}.dinert-table .dinert-table-body .el-table .el-table__body-wrapper .operations .cell .el-svg-icon{font-size:14px;color:var(--el-color-primary);cursor:pointer;flex:1}.dinert-table .dinert-table-body .el-table .el-table__body-wrapper .operations .cell .el-svg-icon.delete{color:var(--el-color-danger)}.dinert-table .dinert-table-body .el-table .el-table__body-wrapper .operations .cell .svg-icon{width:16px;height:16px;vertical-align:-2px;flex:1;color:var(--el-color-primary);cursor:pointer;fill:var(--el-color-primary)}.dinert-table .dinert-table-body .el-table .el-table__body-wrapper .operations .cell .svg-icon.f-14{width:14px;height:14px}.dinert-table .dinert-table-footer{display:flex;margin-top:16px}.dinert-table .dinert-table-footer .el-pagination{display:flex;flex-wrap:wrap}.
|
|
1
|
+
.tree-item{width:100%}.tree-item .el-tooltip__trigger{display:block;overflow:hidden;width:100%;text-align:left;text-overflow:ellipsis;white-space:nowrap}.el-popover-classify{overflow-y:auto;margin:0;padding:0;list-style:none}.el-popover-classify li{margin:0;padding:0;list-style:none}.el-popover-classify li:first-child{border-bottom:1px solid var(--el-fill-color);line-height:32px}.el-popover-classify>.el-tree>.el-tree-node>.el-tree-node__content>.el-tree-node__expand-icon.is-leaf{display:none}.el-popover-classify .el-tree-node__children{overflow:unset}.dinert-table{display:flex;padding:20px;height:100%;border-radius:var(--el-bg-radius);background-color:var(--el-bg-color);flex-direction:column;box-sizing:border-box}.dinert-table .dinert-table-header{display:flex;justify-content:space-between;margin-bottom:12px;text-align:right}.dinert-table .dinert-table-header .el-popover-classify li .el-checkbox{width:100%;line-height:24px;height:24px}.dinert-table .dinert-table-header .dinert-table-header-left{text-align:left}.dinert-table .dinert-table-body{flex:1;height:0}.dinert-table .dinert-table-body .el-table .el-popper{max-width:50%}.dinert-table .dinert-table-body .el-table .el-table__header .el-table__cell.setting .setting-icon{display:inline-block}.dinert-table .dinert-table-body .el-table .el-table__header .el-table__cell .cell{color:var(--zp-color-secondary-text-title)}.dinert-table .dinert-table-body .el-table .el-table__header .el-table__cell .cell .setting-icon{vertical-align:-1px;margin-left:4px;cursor:pointer}.dinert-table .dinert-table-body .el-table .el-table__body-wrapper td{color:var(--zp-color-secondary-text-title)}.dinert-table .dinert-table-body .el-table .el-table__body-wrapper td .cell.el-tooltip>.cell-item{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dinert-table .dinert-table-body .el-table .el-table__body-wrapper td .cell.el-tooltip>.cell-item .cell-item-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dinert-table .dinert-table-body .el-table .el-table__body-wrapper .operations .el-dropdown{vertical-align:-2px}.dinert-table .dinert-table-body .el-table .el-table__body-wrapper .operations .cell{display:flex;justify-content:center;align-items:center}.dinert-table .dinert-table-body .el-table .el-table__body-wrapper .operations .cell .el-button{margin-right:8px;margin-left:0}.dinert-table .dinert-table-body .el-table .el-table__body-wrapper .operations .cell .el-button:focus-visible{outline:none}.dinert-table .dinert-table-body .el-table .el-table__body-wrapper .operations .cell .el-svg-icon{font-size:14px;color:var(--el-color-primary);cursor:pointer;flex:1}.dinert-table .dinert-table-body .el-table .el-table__body-wrapper .operations .cell .el-svg-icon.delete{color:var(--el-color-danger)}.dinert-table .dinert-table-body .el-table .el-table__body-wrapper .operations .cell .svg-icon{width:16px;height:16px;vertical-align:-2px;flex:1;color:var(--el-color-primary);cursor:pointer;fill:var(--el-color-primary)}.dinert-table .dinert-table-body .el-table .el-table__body-wrapper .operations .cell .svg-icon.f-14{width:14px;height:14px}.dinert-table .dinert-table-footer{display:flex;margin-top:16px}.dinert-table .dinert-table-footer .el-pagination{display:flex;flex-wrap:wrap}.el-form.dinert-form{display:flex;overflow:hidden;padding:0;min-height:50px;border-radius:4px;background-color:var(--el-bg-color);transition:all .3s cubic-bezier(.645,.045,.355,1);box-sizing:content-box}.el-form.dinert-form.near.packUp{max-height:50px}.el-form.dinert-form.near .dinert-form-left .el-col{display:flex;align-items:center;margin-right:10px;width:auto;max-width:unset;flex:unset}.el-form.dinert-form.near .el-form-right.isArrow{width:230px;flex:0 0 230px}.el-form.dinert-form.dialog .dinert-form-left{flex:1}.el-form.dinert-form.dialog .dinert-form-left .el-col .label-text>div{width:100%}.el-form.dinert-form.dialog .dinert-form-left .el-col.slider .label-text{overflow:unset}.el-form.dinert-form.dialog .dinert-form-left .el-col.slider .label-text .el-slider{padding-left:12px}.el-form.dinert-form.dialog .dinert-form-left .el-col.slider .label-text .el-slider .el-input-number{width:auto}.el-form.dinert-form .dinert-form-left .el-col .label-text .el-radio.is-bordered,.el-form.dinert-form .dinert-form-left .el-col .label-text .el-checkbox.is-bordered{margin-right:16px}.el-form.dinert-form .dinert-form-left .el-col .label-text .el-date-editor{width:210px}.el-form.dinert-form .dinert-form-left .el-col .label-text .el-date-editor--daterange{width:260px}.el-form.dinert-form .dinert-form-left .el-col .label-text>.el-input{width:210px}.el-form.dinert-form .dinert-form-left .el-col .label-text>.el-select{width:210px}.el-form.dinert-form .dinert-form-left .el-col .label-text .el-date-editor--datetimerange{width:400px}.el-form.dinert-form .el-form-right{display:flex;margin-left:24px}.el-form.dinert-form .el-form-right .el-form-right-operation{padding:0}.el-form.dinert-form .el-form-right .el-form-right-operation.el-button.is-text{padding-right:0;background-color:unset}.el-form.dinert-form div.el-form-item{position:relative;display:flex;margin-right:0;margin-bottom:18px;width:100%}.el-form.dinert-form div.el-form-item.show-label .label-text{overflow:unset;text-overflow:unset;white-space:unset}.el-form.dinert-form div.el-form-item.label-wrap .el-form-item__label{height:auto}.el-form.dinert-form div.el-form-item.label-wrap .el-form-item__label .label-text{display:inline;text-align:left;white-space:normal}.el-form.dinert-form .el-form-item__content{flex:1;margin-left:0}.el-form.dinert-form .el-form-item__content .el-tooltip__trigger:not(.el-slider__button){width:100%}.el-form.dinert-form .el-form-item__content .el-input-number{width:100%}.el-form.dinert-form .el-form-item__content .el-input-number .el-input__inner{text-align:center}.el-form.dinert-form .el-form-item__content .el-textarea .el-textarea__inner{height:80px}.el-form.dinert-form .el-form-item__content .el-date-editor,.el-form.dinert-form .el-form-item__content .el-date-editor .el-input__wrapper{width:100%;box-sizing:border-box}.el-form.dinert-form .el-form-item__content .el-input__inner{overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.el-form.dinert-form .el-form-item__content .el-form-item__label{overflow:hidden;width:80px;max-width:80px;text-align:right;text-overflow:ellipsis;white-space:nowrap}.el-form.dinert-form .el-form-item__content .el-form-item__label .el-tooltip,.el-form.dinert-form .el-form-item__content .el-form-item__label .el-tooltip .label-text{display:inline}.dinert-table-page{display:flex;flex-direction:column;box-sizing:border-box}.dinert-table-page.text-wrap .el-table__header .cell{white-space:pre-wrap}.dinert-table-page.text-wrap .el-table__body .el-table__row td>.cell,.dinert-table-page.text-wrap .el-table__body .el-table__row td>.cell>.cell-item,.dinert-table-page.text-wrap .el-table__body .el-table__row td .cell.el-tooltip>.cell-item{white-space:pre-wrap}.dinert-table-page.text-wrap .el-table__body .el-table__row .el-button>span{text-align:left}.dinert-table-page.text-wrap .el-table__body .el-table__row span{white-space:pre-wrap;line-height:23px}.dinert-table-page.header-center .el-table__header .el-table__cell{text-align:center}.dinert-table-page.near .dinert-form-left{flex:unset}.dinert-table-page.near .dinert-form-left .el-col{margin-right:16px;width:auto;max-width:unset;flex:unset}.dinert-table-page.near .dinert-table-footer .el-pagination{margin-left:auto}.dinert-table-page.maxWidthAuto .el-form .el-form-item .el-form-item__label{max-width:unset}.dinert-table-page .el-form.dinert-form{padding:20px 20px 0;max-height:300px}.dinert-table-page .dinert-table{padding-top:0;height:0;flex:1}.dinert-tooltip.el-tooltip__trigger{display:block;height:100%}.dinert-tooltip.el-tooltip__trigger .text-tooltip{position:absolute;left:-999999999999px}.dinert-tooltip.el-tooltip__trigger .label-text{display:block;overflow:hidden;width:100%;height:100%;text-overflow:ellipsis;white-space:nowrap}.el-overlay.autoHeight .el-dialog{height:80%}.el-overlay.notPadding .el-dialog__body{padding:0}.el-overlay .el-dialog{top:10%;display:flex;min-width:310px;max-height:80%;border-radius:4px;flex-direction:column;--el-dialog-margin-top: 0;--el-dialog-padding-primary: 0}.el-overlay .el-dialog.is-fullscreen{top:unset;max-height:unset}.el-overlay .el-dialog__headerbtn{right:0;width:40px;height:100%;color:var(--el-color-info)}.el-overlay .el-dialog .full{position:absolute;top:-1.5px;right:34px;display:flex;justify-content:center;align-items:center;width:40px;height:100%;font-size:var(--el-message-close-size, 16px);border:none;color:var(--el-color-info);background:transparent;outline:none;cursor:pointer}.el-overlay .el-dialog .full:hover .icon{fill:var(--el-color-primary);color:var(--el-color-primary)}.el-overlay .el-dialog .full .icon{overflow:hidden;width:14px;height:14px;vertical-align:-.15em;fill:var(--el-color-info)}.el-overlay .el-dialog__header{position:relative;margin-right:0;padding:16px 24px;height:54px;box-sizing:border-box}.el-overlay .el-dialog__body{display:flex;overflow-y:auto;padding:24px;flex-direction:column;flex:1;word-wrap:break-word}.el-overlay .el-dialog__body>.el-form{overflow:unset}.el-overlay .el-dialog__footer{display:flex;justify-content:center;align-items:center;clear:both;padding:12px 24px 16px}.el-overlay .el-dialog__footer .el-button{margin:0}.el-overlay .el-dialog__footer .el-button+.el-button{margin-left:12px}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
|
|
2
|
+
/* stylelint-disable-next-line at-rule-no-unknown */
|
|
3
|
+
@use "variables" as *;
|
|
4
|
+
|
|
5
|
+
.#{$namespace}-overlay {
|
|
6
|
+
&.autoHeight {
|
|
7
|
+
.#{$namespace}-dialog {
|
|
8
|
+
height: 80%;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&.notPadding {
|
|
13
|
+
.#{$namespace}-dialog__body {
|
|
14
|
+
padding: 0;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.#{$namespace}-dialog {
|
|
19
|
+
top: 10%;
|
|
20
|
+
display: flex;
|
|
21
|
+
min-width: 310px;
|
|
22
|
+
max-height: 80%;
|
|
23
|
+
border-radius: 4px;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
|
|
26
|
+
--el-dialog-margin-top: 0;
|
|
27
|
+
--el-dialog-padding-primary: 0;
|
|
28
|
+
|
|
29
|
+
&.is-fullscreen {
|
|
30
|
+
top: unset;
|
|
31
|
+
max-height: unset;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&__headerbtn {
|
|
35
|
+
right: 0;
|
|
36
|
+
width: 40px;
|
|
37
|
+
height: 100%;
|
|
38
|
+
color: var(--el-color-info);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.full {
|
|
42
|
+
position: absolute;
|
|
43
|
+
top: -1.5px;
|
|
44
|
+
right: 34px;
|
|
45
|
+
display: flex;
|
|
46
|
+
justify-content: center;
|
|
47
|
+
align-items: center;
|
|
48
|
+
width: 40px;
|
|
49
|
+
height: 100%;
|
|
50
|
+
font-size: var(--el-message-close-size, 16px);
|
|
51
|
+
border: none;
|
|
52
|
+
color: var(--el-color-info);
|
|
53
|
+
background: transparent;
|
|
54
|
+
outline: none;
|
|
55
|
+
cursor: pointer;
|
|
56
|
+
|
|
57
|
+
&:hover {
|
|
58
|
+
.icon {
|
|
59
|
+
fill: var(--el-color-primary);
|
|
60
|
+
color: var(--el-color-primary);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.icon {
|
|
65
|
+
overflow: hidden;
|
|
66
|
+
width: 14px;
|
|
67
|
+
height: 14px;
|
|
68
|
+
vertical-align: -.15em;
|
|
69
|
+
fill: var(--el-color-info);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&__header {
|
|
74
|
+
position: relative;
|
|
75
|
+
margin-right: 0;
|
|
76
|
+
padding: 16px 24px;
|
|
77
|
+
height: 54px;
|
|
78
|
+
box-sizing: border-box;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&__body {
|
|
82
|
+
display: flex;
|
|
83
|
+
overflow-y: auto;
|
|
84
|
+
padding: 24px;
|
|
85
|
+
flex-direction: column;
|
|
86
|
+
flex: 1;
|
|
87
|
+
word-wrap: break-word;
|
|
88
|
+
|
|
89
|
+
& > .#{$namespace}-form {
|
|
90
|
+
overflow: unset;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&__footer {
|
|
95
|
+
display: flex;
|
|
96
|
+
justify-content: center;
|
|
97
|
+
align-items: center;
|
|
98
|
+
clear: both;
|
|
99
|
+
padding: 12px 24px 16px;
|
|
100
|
+
|
|
101
|
+
.#{$namespace}-button {
|
|
102
|
+
margin: 0;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.#{$namespace}-button + .#{$namespace}-button {
|
|
106
|
+
margin-left: 12px;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
/* stylelint-disable-next-line at-rule-no-unknown */
|
|
2
|
+
@use "variables" as *;
|
|
3
|
+
|
|
4
|
+
.#{$namespace}-form.dinert-form {
|
|
5
|
+
display: flex;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
padding: 0;
|
|
8
|
+
min-height: 50px;
|
|
9
|
+
border-radius: 4px;
|
|
10
|
+
background-color: var(--el-bg-color);
|
|
11
|
+
transition: all .3s cubic-bezier(.645, .045, .355, 1);
|
|
12
|
+
box-sizing: content-box;
|
|
13
|
+
|
|
14
|
+
&.near.packUp {
|
|
15
|
+
max-height: 50px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.near {
|
|
19
|
+
.dinert-form-left {
|
|
20
|
+
.#{$namespace}-col {
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
margin-right: 10px;
|
|
24
|
+
width: auto;
|
|
25
|
+
max-width: unset;
|
|
26
|
+
flex: unset;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.#{$namespace}-form-right {
|
|
31
|
+
&.isArrow {
|
|
32
|
+
width: 230px;
|
|
33
|
+
flex: 0 0 230px;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.dialog {
|
|
39
|
+
.dinert-form-left {
|
|
40
|
+
flex: 1;
|
|
41
|
+
|
|
42
|
+
.#{$namespace}-col {
|
|
43
|
+
.label-text {
|
|
44
|
+
& > div {
|
|
45
|
+
width: 100%;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&.slider {
|
|
50
|
+
.label-text {
|
|
51
|
+
overflow: unset;
|
|
52
|
+
|
|
53
|
+
.#{$namespace}-slider {
|
|
54
|
+
padding-left: 12px;
|
|
55
|
+
|
|
56
|
+
.#{$namespace}-input-number {
|
|
57
|
+
width: auto;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.dinert-form-left {
|
|
67
|
+
.#{$namespace}-col {
|
|
68
|
+
.label-text {
|
|
69
|
+
.#{$namespace}-radio.is-bordered,
|
|
70
|
+
.#{$namespace}-checkbox.is-bordered {
|
|
71
|
+
margin-right: 16px;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.#{$namespace}-date-editor {
|
|
75
|
+
width: 210px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.#{$namespace}-date-editor--daterange {
|
|
79
|
+
width: 260px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
& > .#{$namespace}-input {
|
|
83
|
+
width: 210px;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
& > .#{$namespace}-select {
|
|
87
|
+
width: 210px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.#{$namespace}-date-editor--datetimerange {
|
|
91
|
+
width: 400px;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.#{$namespace}-form-right {
|
|
98
|
+
display: flex;
|
|
99
|
+
margin-left: 24px;
|
|
100
|
+
|
|
101
|
+
.#{$namespace}-form-right-operation {
|
|
102
|
+
padding: 0;
|
|
103
|
+
|
|
104
|
+
&.#{$namespace}-button.is-text {
|
|
105
|
+
padding-right: 0;
|
|
106
|
+
background-color: unset;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
div.#{$namespace}-form-item {
|
|
112
|
+
position: relative;
|
|
113
|
+
display: flex;
|
|
114
|
+
margin-right: 0;
|
|
115
|
+
margin-bottom: 18px;
|
|
116
|
+
width: 100%;
|
|
117
|
+
|
|
118
|
+
&.show-label {
|
|
119
|
+
.label-text {
|
|
120
|
+
overflow: unset;
|
|
121
|
+
text-overflow: unset;
|
|
122
|
+
white-space: unset;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&.label-wrap {
|
|
127
|
+
.#{$namespace}-form-item__label {
|
|
128
|
+
height: auto;
|
|
129
|
+
|
|
130
|
+
.label-text {
|
|
131
|
+
display: inline;
|
|
132
|
+
text-align: left;
|
|
133
|
+
white-space: normal;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.#{$namespace}-form-item__content {
|
|
140
|
+
flex: 1;
|
|
141
|
+
margin-left: 0;
|
|
142
|
+
|
|
143
|
+
.#{$namespace}-tooltip__trigger:not(.#{$namespace}-slider__button) {
|
|
144
|
+
width: 100%;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.#{$namespace}-input-number {
|
|
148
|
+
width: 100%;
|
|
149
|
+
|
|
150
|
+
.#{$namespace}-input__inner {
|
|
151
|
+
text-align: center;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.#{$namespace}-textarea {
|
|
156
|
+
.#{$namespace}-textarea__inner {
|
|
157
|
+
height: 80px;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.#{$namespace}-date-editor {
|
|
162
|
+
width: 100%;
|
|
163
|
+
box-sizing: border-box;
|
|
164
|
+
|
|
165
|
+
.#{$namespace}-input__wrapper {
|
|
166
|
+
width: 100%;
|
|
167
|
+
box-sizing: border-box;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.#{$namespace}-input__inner {
|
|
172
|
+
overflow: hidden;
|
|
173
|
+
text-align: left;
|
|
174
|
+
text-overflow: ellipsis;
|
|
175
|
+
white-space: nowrap;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.#{$namespace}-form-item__label {
|
|
179
|
+
overflow: hidden;
|
|
180
|
+
width: 80px;
|
|
181
|
+
max-width: 80px;
|
|
182
|
+
text-align: right;
|
|
183
|
+
text-overflow: ellipsis;
|
|
184
|
+
white-space: nowrap;
|
|
185
|
+
|
|
186
|
+
.#{$namespace}-tooltip {
|
|
187
|
+
display: inline;
|
|
188
|
+
|
|
189
|
+
.label-text {
|
|
190
|
+
display: inline;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/* stylelint-disable-next-line at-rule-no-unknown */
|
|
2
|
+
@use "variables" as *;
|
|
3
|
+
|
|
4
|
+
$input-width: 200px;
|
|
5
|
+
|
|
6
|
+
.dinert-table-page {
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
|
|
11
|
+
&.text-wrap {
|
|
12
|
+
.#{$namespace}-table__header .cell {
|
|
13
|
+
white-space: pre-wrap;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.#{$namespace}-table__body {
|
|
17
|
+
.#{$namespace}-table__row {
|
|
18
|
+
td > .cell,
|
|
19
|
+
td > .cell > .cell-item,
|
|
20
|
+
td .cell.#{$namespace}-tooltip > .cell-item {
|
|
21
|
+
white-space: pre-wrap;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.#{$namespace}-button > span {
|
|
25
|
+
text-align: left;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
span {
|
|
29
|
+
white-space: pre-wrap;
|
|
30
|
+
line-height: 23px;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&.header-center {
|
|
37
|
+
.#{$namespace}-table__header {
|
|
38
|
+
.#{$namespace}-table__cell {
|
|
39
|
+
text-align: center;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&.near {
|
|
45
|
+
.dinert-form-left {
|
|
46
|
+
flex: unset;
|
|
47
|
+
|
|
48
|
+
.#{$namespace}-col {
|
|
49
|
+
margin-right: 16px;
|
|
50
|
+
width: auto;
|
|
51
|
+
max-width: unset;
|
|
52
|
+
flex: unset;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.dinert-table-footer {
|
|
57
|
+
.#{$namespace}-pagination {
|
|
58
|
+
margin-left: auto;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&.maxWidthAuto {
|
|
64
|
+
.#{$namespace}-form .#{$namespace}-form-item .#{$namespace}-form-item__label {
|
|
65
|
+
max-width: unset;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.#{$namespace}-form.dinert-form {
|
|
70
|
+
padding: 20px 20px 0;
|
|
71
|
+
max-height: 300px;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.dinert-table {
|
|
75
|
+
padding-top: 0;
|
|
76
|
+
height: 0;
|
|
77
|
+
flex: 1;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
/* stylelint-disable-next-line at-rule-no-unknown */
|
|
2
|
+
@use "variables" as *;
|
|
3
|
+
|
|
4
|
+
.tree-item {
|
|
5
|
+
width: 100%;
|
|
6
|
+
|
|
7
|
+
.#{$namespace}-tooltip__trigger {
|
|
8
|
+
display: block;
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
width: 100%;
|
|
11
|
+
text-align: left;
|
|
12
|
+
text-overflow: ellipsis;
|
|
13
|
+
white-space: nowrap;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.#{$namespace}-popover-classify {
|
|
18
|
+
overflow-y: auto;
|
|
19
|
+
margin: 0;
|
|
20
|
+
padding: 0;
|
|
21
|
+
list-style: none;
|
|
22
|
+
|
|
23
|
+
li {
|
|
24
|
+
margin: 0;
|
|
25
|
+
padding: 0;
|
|
26
|
+
list-style: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
li:first-child {
|
|
30
|
+
border-bottom: 1px solid var(--el-fill-color);
|
|
31
|
+
line-height: 32px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
& > .#{$namespace}-tree > .#{$namespace}-tree-node > .#{$namespace}-tree-node__content > .#{$namespace}-tree-node__expand-icon.is-leaf {
|
|
35
|
+
display: none;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.#{$namespace}-tree-node__children {
|
|
39
|
+
overflow: unset;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.dinert-table {
|
|
44
|
+
display: flex;
|
|
45
|
+
padding: 20px;
|
|
46
|
+
height: 100%;
|
|
47
|
+
border-radius: var(--el-bg-radius);
|
|
48
|
+
background-color: var(--el-bg-color);
|
|
49
|
+
flex-direction: column;
|
|
50
|
+
box-sizing: border-box;
|
|
51
|
+
|
|
52
|
+
.dinert-table-header {
|
|
53
|
+
display: flex;
|
|
54
|
+
justify-content: space-between;
|
|
55
|
+
margin-bottom: 12px;
|
|
56
|
+
text-align: right;
|
|
57
|
+
|
|
58
|
+
.#{$namespace}-popover-classify li .#{$namespace}-checkbox {
|
|
59
|
+
width: 100%;
|
|
60
|
+
line-height: 24px;
|
|
61
|
+
height: 24px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.dinert-table-header-left {
|
|
65
|
+
text-align: left;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.dinert-table-body {
|
|
70
|
+
flex: 1;
|
|
71
|
+
height: 0;
|
|
72
|
+
|
|
73
|
+
.#{$namespace}-table {
|
|
74
|
+
&--border {
|
|
75
|
+
&::after,
|
|
76
|
+
&::before {
|
|
77
|
+
// display: none;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.#{$namespace}-table__border-left-patch {
|
|
82
|
+
// display: none;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.#{$namespace}-popper {
|
|
86
|
+
max-width: 50%;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.#{$namespace}-table__header {
|
|
90
|
+
// .#{$namespace}-table__cell {
|
|
91
|
+
// &:last-child {
|
|
92
|
+
// border-right: none;
|
|
93
|
+
// }
|
|
94
|
+
|
|
95
|
+
// border-right: none;
|
|
96
|
+
// border-bottom: none;
|
|
97
|
+
// }
|
|
98
|
+
.#{$namespace}-table__cell {
|
|
99
|
+
&.setting {
|
|
100
|
+
.setting-icon {
|
|
101
|
+
display: inline-block;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.cell {
|
|
106
|
+
color: var(--zp-color-secondary-text-title);
|
|
107
|
+
|
|
108
|
+
.setting-icon {
|
|
109
|
+
vertical-align: -1px;
|
|
110
|
+
margin-left: 4px;
|
|
111
|
+
cursor: pointer;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.#{$namespace}-table__body-wrapper {
|
|
118
|
+
td {
|
|
119
|
+
// border-right: none;
|
|
120
|
+
color: var(--zp-color-secondary-text-title);
|
|
121
|
+
|
|
122
|
+
.cell {
|
|
123
|
+
&.#{$namespace}-tooltip > .cell-item {
|
|
124
|
+
overflow: hidden;
|
|
125
|
+
text-overflow: ellipsis;
|
|
126
|
+
white-space: nowrap;
|
|
127
|
+
|
|
128
|
+
.cell-item-text {
|
|
129
|
+
overflow: hidden;
|
|
130
|
+
text-overflow: ellipsis;
|
|
131
|
+
white-space: nowrap;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.operations {
|
|
138
|
+
.#{$namespace}-dropdown {
|
|
139
|
+
vertical-align: -2px;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.cell {
|
|
143
|
+
display: flex;
|
|
144
|
+
justify-content: center;
|
|
145
|
+
align-items: center;
|
|
146
|
+
|
|
147
|
+
.#{$namespace}-button {
|
|
148
|
+
margin-right: 8px;
|
|
149
|
+
margin-left: 0;
|
|
150
|
+
|
|
151
|
+
&:focus-visible {
|
|
152
|
+
outline: none;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.#{$namespace}-svg-icon {
|
|
157
|
+
font-size: 14px;
|
|
158
|
+
color: var(--el-color-primary);
|
|
159
|
+
cursor: pointer;
|
|
160
|
+
flex: 1;
|
|
161
|
+
|
|
162
|
+
&.delete {
|
|
163
|
+
color: var(--el-color-danger);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.svg-icon {
|
|
168
|
+
width: 16px;
|
|
169
|
+
height: 16px;
|
|
170
|
+
vertical-align: -2px;
|
|
171
|
+
flex: 1;
|
|
172
|
+
color: var(--el-color-primary);
|
|
173
|
+
cursor: pointer;
|
|
174
|
+
fill: var(--el-color-primary);
|
|
175
|
+
|
|
176
|
+
&.f-14 {
|
|
177
|
+
width: 14px;
|
|
178
|
+
height: 14px;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.dinert-table-footer {
|
|
188
|
+
display: flex;
|
|
189
|
+
margin-top: 16px;
|
|
190
|
+
|
|
191
|
+
.#{$namespace}-pagination {
|
|
192
|
+
display: flex;
|
|
193
|
+
flex-wrap: wrap;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* stylelint-disable-next-line at-rule-no-unknown */
|
|
2
|
+
@use "variables" as *;
|
|
3
|
+
.dinert-tooltip.#{$namespace}-tooltip__trigger {
|
|
4
|
+
display: block;
|
|
5
|
+
height: 100%;
|
|
6
|
+
|
|
7
|
+
.text-tooltip {
|
|
8
|
+
position: absolute;
|
|
9
|
+
left: -999999999999px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.label-text {
|
|
13
|
+
display: block;
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
width: 100%;
|
|
16
|
+
height: 100%;
|
|
17
|
+
text-overflow: ellipsis;
|
|
18
|
+
white-space: nowrap;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* stylelint-disable-next-line at-rule-no-unknown */
|
|
2
|
+
@use "./dinert-dialog";
|
|
3
|
+
/* stylelint-disable-next-line at-rule-no-unknown */
|
|
4
|
+
@use "./dinert-form";
|
|
5
|
+
/* stylelint-disable-next-line at-rule-no-unknown */
|
|
6
|
+
@use "./dinert-table";
|
|
7
|
+
/* stylelint-disable-next-line at-rule-no-unknown */
|
|
8
|
+
@use "./dinert-table-page";
|
|
9
|
+
/* stylelint-disable-next-line at-rule-no-unknown */
|
|
10
|
+
@use "./dinert-tooltip";
|