vxe-pc-ui 3.6.49 → 3.7.0
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/README.md +122 -10
- package/es/components.js +0 -12
- package/es/icon/style.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/components.js +2 -23
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +3 -18
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/package.json +3 -3
- package/packages/components.ts +0 -12
- package/styles/all.scss +0 -6
- package/types/all.d.ts +16 -25
- package/types/components/button.d.ts +3 -1
- package/styles/components/flow-design.scss +0 -0
- package/styles/components/flow-view.scss +0 -0
- package/styles/components/form-design.scss +0 -294
- package/styles/components/form-view.scss +0 -3
- package/styles/components/list-design.scss +0 -113
- package/styles/components/list-item/list-item-all.scss +0 -3
- package/styles/components/list-item/list-item-field-column.scss +0 -19
- package/styles/components/list-item/list-item-field-configs.scss +0 -43
- package/styles/components/list-item/list-item-field-search.scss +0 -81
- package/styles/components/list-view.scss +0 -16
- package/styles/components/widget-form/widget-form-all.scss +0 -6
- package/styles/components/widget-form/widget-form-empty.scss +0 -7
- package/styles/components/widget-form/widget-form-input.scss +0 -0
- package/styles/components/widget-form/widget-form-row.scss +0 -88
- package/styles/components/widget-form/widget-form-select.scss +0 -0
- package/styles/components/widget-form/widget-form-subtable.scss +0 -204
- package/styles/components/widget-form/widget-form-textarea.scss +0 -0
- package/styles/components/widget-item/widget-item-all.scss +0 -4
- package/styles/components/widget-item/widget-item-data-source.scss +0 -110
- package/styles/components/widget-item/widget-item-devices.scss +0 -4
- package/styles/components/widget-item/widget-item-layout.scss +0 -87
- package/styles/components/widget-item/widget-item-prop-list.scss +0 -49
- /package/es/icon/{iconfont.1751948455443.ttf → iconfont.1751974153009.ttf} +0 -0
- /package/es/icon/{iconfont.1751948455443.woff → iconfont.1751974153009.woff} +0 -0
- /package/es/icon/{iconfont.1751948455443.woff2 → iconfont.1751974153009.woff2} +0 -0
- /package/es/{iconfont.1751948455443.ttf → iconfont.1751974153009.ttf} +0 -0
- /package/es/{iconfont.1751948455443.woff → iconfont.1751974153009.woff} +0 -0
- /package/es/{iconfont.1751948455443.woff2 → iconfont.1751974153009.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1751948455443.ttf → iconfont.1751974153009.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1751948455443.woff → iconfont.1751974153009.woff} +0 -0
- /package/lib/icon/style/{iconfont.1751948455443.woff2 → iconfont.1751974153009.woff2} +0 -0
- /package/lib/{iconfont.1751948455443.ttf → iconfont.1751974153009.ttf} +0 -0
- /package/lib/{iconfont.1751948455443.woff → iconfont.1751974153009.woff} +0 -0
- /package/lib/{iconfont.1751948455443.woff2 → iconfont.1751974153009.woff2} +0 -0
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
.vxe-list-design {
|
|
2
|
-
position: relative;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
color: var(--vxe-ui-font-color);
|
|
6
|
-
font-family: var(--vxe-ui-font-family);
|
|
7
|
-
overflow: auto;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.vxe-list-design {
|
|
11
|
-
font-size: var(--vxe-ui-font-size-default);
|
|
12
|
-
&.size--medium {
|
|
13
|
-
font-size: var(--vxe-ui-font-size-medium);
|
|
14
|
-
}
|
|
15
|
-
&.size--small {
|
|
16
|
-
font-size: var(--vxe-ui-font-size-small);
|
|
17
|
-
}
|
|
18
|
-
&.size--mini {
|
|
19
|
-
font-size: var(--vxe-ui-font-size-mini);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.vxe-list-design--body {
|
|
24
|
-
display: flex;
|
|
25
|
-
flex-direction: row;
|
|
26
|
-
flex-grow: 1;
|
|
27
|
-
overflow: hidden;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.vxe-list-design--header {
|
|
31
|
-
flex-shrink: 0;
|
|
32
|
-
padding: 0 var(--vxe-ui-layout-padding-default);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.vxe-list-design--setting {
|
|
36
|
-
width: 300px;
|
|
37
|
-
flex-shrink: 0;
|
|
38
|
-
padding: var(--vxe-ui-layout-padding-default);
|
|
39
|
-
border-radius: var(--vxe-ui-base-border-radius);
|
|
40
|
-
overflow: auto;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.vxe-list-design--preview {
|
|
44
|
-
flex-grow: 1;
|
|
45
|
-
overflow: auto;
|
|
46
|
-
padding: var(--vxe-ui-layout-padding-default) var(--vxe-ui-layout-padding-half);
|
|
47
|
-
}
|
|
48
|
-
.vxe-list-design--preview-wrapper {
|
|
49
|
-
width: 100%;
|
|
50
|
-
height: 100%;
|
|
51
|
-
overflow: auto;
|
|
52
|
-
padding: var(--vxe-ui-layout-padding-default) 0;
|
|
53
|
-
background-color: var(--vxe-ui-layout-background-color);
|
|
54
|
-
border-radius: var(--vxe-ui-base-border-radius);
|
|
55
|
-
border: 1px solid var(--vxe-ui-input-border-color);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.vxe-list-design--setting-form {
|
|
59
|
-
height: 100%;
|
|
60
|
-
background-color: var(--vxe-ui-layout-background-color);
|
|
61
|
-
border: 1px solid var(--vxe-ui-input-border-color);
|
|
62
|
-
}
|
|
63
|
-
.vxe-list-design--setting-form-tabs {
|
|
64
|
-
height: 100%;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.vxe-list-design--preview-title {
|
|
68
|
-
font-weight: 700;
|
|
69
|
-
padding: var(--vxe-ui-layout-padding-default);
|
|
70
|
-
}
|
|
71
|
-
.vxe-list-design--preview-search,
|
|
72
|
-
.vxe-list-design--preview-table {
|
|
73
|
-
padding: var(--vxe-ui-layout-padding-default);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.vxe-form-design--widget-form-item-devices-item {
|
|
77
|
-
display: flex;
|
|
78
|
-
flex-direction: row;
|
|
79
|
-
align-items: center;
|
|
80
|
-
margin-bottom: var(--vxe-ui-layout-padding-default);
|
|
81
|
-
}
|
|
82
|
-
.vxe-form-design--widget-form-item-devices-left {
|
|
83
|
-
flex-shrink: 0;
|
|
84
|
-
width: 86px;
|
|
85
|
-
padding: 0 var(--vxe-ui-layout-padding-default);
|
|
86
|
-
}
|
|
87
|
-
.vxe-form-design--widget-form-item-devices-select {
|
|
88
|
-
flex-grow: 1;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.vxe-form-design--widget-form-item-render-view-item {
|
|
92
|
-
display: flex;
|
|
93
|
-
flex-direction: row;
|
|
94
|
-
align-items: center;
|
|
95
|
-
height: 2.6em;
|
|
96
|
-
padding: 0 var(--vxe-ui-layout-padding-default);
|
|
97
|
-
border: 1px solid var(--vxe-ui-input-border-color);
|
|
98
|
-
border-radius: var(--vxe-ui-base-border-radius);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.vxe-list-design--preview-search {
|
|
102
|
-
.vxe-form--item-content {
|
|
103
|
-
&::after {
|
|
104
|
-
content: "";
|
|
105
|
-
position: absolute;
|
|
106
|
-
top: 0;
|
|
107
|
-
left: 0;
|
|
108
|
-
width: 100%;
|
|
109
|
-
height: 100%;
|
|
110
|
-
z-index: 1;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
@use '../../helpers/baseMixin.scss';
|
|
2
|
-
|
|
3
|
-
.vxe-list-design--field-checkbox-option {
|
|
4
|
-
overflow: hidden;
|
|
5
|
-
text-overflow: ellipsis;
|
|
6
|
-
white-space: nowrap;
|
|
7
|
-
flex-grow: 1;
|
|
8
|
-
@include baseMixin.createCheckboxIcon();
|
|
9
|
-
}
|
|
10
|
-
.vxe-list-design--field-option-inner {
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-direction: row;
|
|
13
|
-
align-items: center;
|
|
14
|
-
height: 1.8em;
|
|
15
|
-
padding: 0 0.5em;
|
|
16
|
-
&:hover {
|
|
17
|
-
background-color: var(--vxe-ui-base-hover-background-color);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
.vxe-list-design--field-configs-wrapper {
|
|
2
|
-
.vxe-list-design--field-configs-item {
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: row;
|
|
5
|
-
border: 1px solid var(--vxe-ui-input-border-color);
|
|
6
|
-
border-radius: var(--vxe-ui-base-border-radius);
|
|
7
|
-
padding: 0 var(--vxe-ui-layout-padding-default);
|
|
8
|
-
margin-top: 0.5em;
|
|
9
|
-
&:first-child {
|
|
10
|
-
margin-top: 0;
|
|
11
|
-
}
|
|
12
|
-
&:hover {
|
|
13
|
-
background-color: var(--vxe-ui-font-primary-hover-color);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
.vxe-list-design--field-configs-item-title {
|
|
17
|
-
flex-grow: 1;
|
|
18
|
-
padding: 0 0.2em;
|
|
19
|
-
width: 100px;
|
|
20
|
-
overflow: hidden;
|
|
21
|
-
text-overflow: ellipsis;
|
|
22
|
-
white-space: nowrap;
|
|
23
|
-
}
|
|
24
|
-
.vxe-list-design--field-configs-item-icon,
|
|
25
|
-
.vxe-list-design--field-configs-item-btn {
|
|
26
|
-
flex-shrink: 0
|
|
27
|
-
}
|
|
28
|
-
.vxe-list-design--field-configs-item-icon {
|
|
29
|
-
padding: 0 0.2em;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.vxe-list-design--field-configs-item,
|
|
34
|
-
.vxe-list-design--field-configs-empty-data {
|
|
35
|
-
line-height: 2.3em;
|
|
36
|
-
}
|
|
37
|
-
.vxe-list-design--field-configs-empty-data {
|
|
38
|
-
text-align: center;
|
|
39
|
-
color: var(--vxe-ui-input-placeholder-color);
|
|
40
|
-
border: 1px solid var(--vxe-ui-input-border-color);
|
|
41
|
-
border-radius: var(--vxe-ui-base-border-radius);
|
|
42
|
-
padding: 0 var(--vxe-ui-layout-padding-default);
|
|
43
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
@use '../../helpers/baseMixin.scss';
|
|
2
|
-
|
|
3
|
-
.vxe-list-design--field-search-popup {
|
|
4
|
-
border-bottom: 1px solid var(--vxe-ui-list-design-table-border-color);
|
|
5
|
-
table {
|
|
6
|
-
width: 100%;
|
|
7
|
-
border: 0;
|
|
8
|
-
table-layout: fixed;
|
|
9
|
-
word-break: break-all;
|
|
10
|
-
border-spacing: 0;
|
|
11
|
-
border-collapse: separate;
|
|
12
|
-
th {
|
|
13
|
-
position: sticky;
|
|
14
|
-
top: 0;
|
|
15
|
-
text-align: left;
|
|
16
|
-
border-top: 1px solid var(--vxe-ui-list-design-table-border-color);
|
|
17
|
-
border-bottom: 1px solid var(--vxe-ui-list-design-table-border-color);
|
|
18
|
-
border-left: 1px solid var(--vxe-ui-list-design-table-border-color);
|
|
19
|
-
background-color: var(--vxe-ui-list-design-table-header-background-color);
|
|
20
|
-
z-index: 7;
|
|
21
|
-
}
|
|
22
|
-
td {
|
|
23
|
-
border-top: 1px solid var(--vxe-ui-list-design-table-border-color);
|
|
24
|
-
border-left: 1px solid var(--vxe-ui-list-design-table-border-color);
|
|
25
|
-
}
|
|
26
|
-
tr {
|
|
27
|
-
&:first-child {
|
|
28
|
-
td {
|
|
29
|
-
border-top: 0;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
&:hover {
|
|
33
|
-
background-color: var(--vxe-ui-font-primary-hover-color);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
th,
|
|
37
|
-
td {
|
|
38
|
-
height: 44px;
|
|
39
|
-
padding: 0 0.6em;
|
|
40
|
-
&:last-child {
|
|
41
|
-
border-right: 1px solid var(--vxe-ui-list-design-table-border-color);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
.vxe-list-design--field-search-checkbox-option {
|
|
47
|
-
@include baseMixin.createCheckboxIcon();
|
|
48
|
-
}
|
|
49
|
-
.vxe-list-design--field-search-checkbox-option {
|
|
50
|
-
padding-right: 0.4em;
|
|
51
|
-
flex-shrink: 0;
|
|
52
|
-
user-select: none;
|
|
53
|
-
}
|
|
54
|
-
.vxe-list-design--field-search-option-item {
|
|
55
|
-
&.col--visible {
|
|
56
|
-
text-align: center;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
.vxe-list-design--search-item-list {
|
|
62
|
-
.vxe-list-design--search-item {
|
|
63
|
-
display: flex;
|
|
64
|
-
flex-direction: row;
|
|
65
|
-
align-items: center;
|
|
66
|
-
height: 1.8em;
|
|
67
|
-
padding: 0 0.5em;
|
|
68
|
-
&:hover {
|
|
69
|
-
background-color: var(--vxe-ui-base-hover-background-color);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
.vxe-list-design--search-item-title {
|
|
73
|
-
flex-grow: 1;
|
|
74
|
-
overflow: hidden;
|
|
75
|
-
text-overflow: ellipsis;
|
|
76
|
-
white-space: nowrap;
|
|
77
|
-
}
|
|
78
|
-
.vxe-list-design--search-item-btn {
|
|
79
|
-
flex-shrink: 0;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
.vxe-list-view {
|
|
2
|
-
position: relative;
|
|
3
|
-
color: var(--vxe-ui-font-color);
|
|
4
|
-
font-family: var(--vxe-ui-font-family);
|
|
5
|
-
overflow: auto;
|
|
6
|
-
&.is--loading {
|
|
7
|
-
.vxe-list-view--body {
|
|
8
|
-
visibility: hidden;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
.vxe-list-view--body,
|
|
13
|
-
.vxe-list-view--grid-wrapper {
|
|
14
|
-
height: 100%;
|
|
15
|
-
overflow: auto;
|
|
16
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
.vxe-form-design--widget-form-empty-data {
|
|
2
|
-
text-align: center;
|
|
3
|
-
color: var(--vxe-ui-input-placeholder-color);
|
|
4
|
-
border: 1px solid var(--vxe-ui-input-border-color);
|
|
5
|
-
border-radius: var(--vxe-ui-base-border-radius);
|
|
6
|
-
padding: var(--vxe-ui-layout-padding-double);
|
|
7
|
-
}
|
|
File without changes
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
.vxe-form-design--widget-row-form-row {
|
|
2
|
-
border: 1px solid var( --vxe-ui-input-border-color);
|
|
3
|
-
margin-bottom: var(--vxe-ui-layout-padding-default);
|
|
4
|
-
border-radius: var(--vxe-ui-base-border-radius);
|
|
5
|
-
cursor: pointer;
|
|
6
|
-
&:hover {
|
|
7
|
-
border-color: var(--vxe-ui-font-primary-color);
|
|
8
|
-
}
|
|
9
|
-
&.is--active {
|
|
10
|
-
border-color: var(--vxe-ui-font-primary-color);
|
|
11
|
-
color: var(--vxe-ui-layout-background-color);
|
|
12
|
-
.vxe-form-design--widget-row-form-col {
|
|
13
|
-
div {
|
|
14
|
-
background: var(--vxe-ui-font-primary-color);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
.vxe-form-design--widget-row-form-col {
|
|
20
|
-
padding: var(--vxe-ui-layout-padding-default);
|
|
21
|
-
& > div {
|
|
22
|
-
line-height: 24px;
|
|
23
|
-
background: var(--vxe-ui-font-tinge-color);
|
|
24
|
-
text-align: center;
|
|
25
|
-
border-radius: var(--vxe-ui-base-border-radius);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.vxe-form-design--widget-row-view {
|
|
30
|
-
position: relative;
|
|
31
|
-
height: 100%;
|
|
32
|
-
padding: var(--vxe-ui-layout-padding-default);
|
|
33
|
-
}
|
|
34
|
-
.vxe-form-design--widget-row-view-item-inner {
|
|
35
|
-
position: relative;
|
|
36
|
-
height: 100%;
|
|
37
|
-
min-height: 78px;
|
|
38
|
-
padding: 0;
|
|
39
|
-
border: 1px solid transparent;
|
|
40
|
-
cursor: grabbing;
|
|
41
|
-
&::before {
|
|
42
|
-
content: "";
|
|
43
|
-
position: absolute;
|
|
44
|
-
top: 0;
|
|
45
|
-
left: 0;
|
|
46
|
-
width: 100%;
|
|
47
|
-
height: 100%;
|
|
48
|
-
z-index: 1;
|
|
49
|
-
}
|
|
50
|
-
&:not(.is--empty) {
|
|
51
|
-
&:hover {
|
|
52
|
-
background-color: var(--vxe-ui-form-design-sub-widget-hover-background-color);
|
|
53
|
-
.vxe-form-design--widget-row-view-empty {
|
|
54
|
-
background-color: transparent;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
&.is--active {
|
|
59
|
-
border: 1px dashed var(--vxe-ui-font-primary-color);
|
|
60
|
-
background-color: var(--vxe-ui-base-active-background-color);
|
|
61
|
-
}
|
|
62
|
-
&.is--drag,
|
|
63
|
-
&.is--sort {
|
|
64
|
-
background-color: var(--vxe-ui-base-drag-background-color);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.vxe-form-design--widget-row-view-empty {
|
|
69
|
-
display: flex;
|
|
70
|
-
flex-direction: row;
|
|
71
|
-
align-items: center;
|
|
72
|
-
justify-content: center;
|
|
73
|
-
height: 100%;
|
|
74
|
-
width: 100%;
|
|
75
|
-
padding: var(--vxe-ui-layout-padding-default);
|
|
76
|
-
color: var(--vxe-ui-font-placeholder-color);
|
|
77
|
-
border: 2px dashed var(--vxe-ui-input-border-color);
|
|
78
|
-
font-size: 0.95em;
|
|
79
|
-
background-color: var(--vxe-ui-layout-background-color);
|
|
80
|
-
}
|
|
81
|
-
.vxe-form-design--preview-item {
|
|
82
|
-
&.widget-row {
|
|
83
|
-
padding: 0 var(--vxe-ui-layout-padding-default);
|
|
84
|
-
&::after {
|
|
85
|
-
display: none;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
File without changes
|
|
@@ -1,204 +0,0 @@
|
|
|
1
|
-
@use '../../helpers/baseMixin.scss';
|
|
2
|
-
|
|
3
|
-
.vxe-form-design--widget-subtable-view {
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: row;
|
|
6
|
-
max-width: 100%;
|
|
7
|
-
border-radius: var(--vxe-ui-base-border-radius);
|
|
8
|
-
overflow-y: hidden;
|
|
9
|
-
overflow-x: auto;
|
|
10
|
-
}
|
|
11
|
-
.vxe-form-design--widget-subtable-view-box {
|
|
12
|
-
border: 1px solid var(--vxe-ui-input-border-color);
|
|
13
|
-
border-width: 1px 1px 1px 0;
|
|
14
|
-
display: inline-flex;
|
|
15
|
-
flex-direction: row;
|
|
16
|
-
flex-wrap: nowrap;
|
|
17
|
-
}
|
|
18
|
-
.vxe-form-design--widget-subtable-view-left {
|
|
19
|
-
position: sticky;
|
|
20
|
-
left: 0;
|
|
21
|
-
top: 0;
|
|
22
|
-
display: flex;
|
|
23
|
-
flex-shrink: 0;
|
|
24
|
-
box-shadow: 8px 0px 10px -5px rgba(0,0,0,.12);
|
|
25
|
-
border-radius: var(--vxe-ui-base-border-radius) 0 0 var(--vxe-ui-base-border-radius);
|
|
26
|
-
z-index: 5;
|
|
27
|
-
}
|
|
28
|
-
.vxe-form-design--widget-subtable-view-right {
|
|
29
|
-
flex-grow: 1;
|
|
30
|
-
}
|
|
31
|
-
.vxe-form-design--widget-subtable-col {
|
|
32
|
-
position: relative;
|
|
33
|
-
display: flex;
|
|
34
|
-
flex-direction: column;
|
|
35
|
-
align-items: center;
|
|
36
|
-
justify-content: center;
|
|
37
|
-
flex-shrink: 0;
|
|
38
|
-
min-width: 54px;
|
|
39
|
-
text-align: center;
|
|
40
|
-
border-top: 1px solid var(--vxe-ui-input-border-color);
|
|
41
|
-
border-right: 1px solid var(--vxe-ui-input-border-color);
|
|
42
|
-
border-bottom: 1px solid var(--vxe-ui-input-border-color);
|
|
43
|
-
background-color: var(--vxe-ui-layout-background-color);
|
|
44
|
-
&:first-child {
|
|
45
|
-
border-left: 1px solid var(--vxe-ui-input-border-color);
|
|
46
|
-
border-radius: var(--vxe-ui-base-border-radius) 0 0 var(--vxe-ui-base-border-radius);
|
|
47
|
-
}
|
|
48
|
-
&::after {
|
|
49
|
-
content: "";
|
|
50
|
-
position: absolute;
|
|
51
|
-
top: 0;
|
|
52
|
-
left: 0;
|
|
53
|
-
width: 100%;
|
|
54
|
-
height: 100%;
|
|
55
|
-
z-index: 1;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
.vxe-form-design--widget-subtable-head {
|
|
59
|
-
flex-shrink: 0;
|
|
60
|
-
height: 2.8em;
|
|
61
|
-
line-height: 2.8em;
|
|
62
|
-
overflow: hidden;
|
|
63
|
-
text-overflow: ellipsis;
|
|
64
|
-
white-space: nowrap;
|
|
65
|
-
padding: 0 var(--vxe-ui-layout-padding-default);
|
|
66
|
-
border-bottom: 1px solid var(--vxe-ui-input-border-color);
|
|
67
|
-
}
|
|
68
|
-
.vxe-form-design--widget-subtable-body {
|
|
69
|
-
flex-grow: 1;
|
|
70
|
-
padding: var(--vxe-ui-layout-padding-default);
|
|
71
|
-
}
|
|
72
|
-
.vxe-form-design--widget-subtable-head,
|
|
73
|
-
.vxe-form-design--widget-subtable-body {
|
|
74
|
-
width: 100%;
|
|
75
|
-
}
|
|
76
|
-
.vxe-form-design--widget-subtable-body,
|
|
77
|
-
.vxe-form-design--widget-subtable-view-empty {
|
|
78
|
-
display: flex;
|
|
79
|
-
flex-direction: row;
|
|
80
|
-
align-items: center;
|
|
81
|
-
justify-content: center;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.vxe-form-design--widget-subtable-view-wrapper {
|
|
85
|
-
position: relative;
|
|
86
|
-
display: flex;
|
|
87
|
-
flex-direction: row;
|
|
88
|
-
background-color: var(--vxe-ui-layout-background-color);
|
|
89
|
-
border-radius: 0 var(--vxe-ui-base-border-radius) var(--vxe-ui-base-border-radius) 0;
|
|
90
|
-
&::before {
|
|
91
|
-
content: "";
|
|
92
|
-
position: absolute;
|
|
93
|
-
top: 0;
|
|
94
|
-
left: 0;
|
|
95
|
-
width: 100%;
|
|
96
|
-
height: 100%;
|
|
97
|
-
border: 1px solid var(--vxe-ui-input-border-color);
|
|
98
|
-
z-index: 1;
|
|
99
|
-
pointer-events: none;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
.vxe-form-design--widget-subtable-view-list {
|
|
103
|
-
display: flex;
|
|
104
|
-
flex-direction: row;
|
|
105
|
-
flex-wrap: nowrap;
|
|
106
|
-
& > .vxe-form-design--widget-subtable-view-item {
|
|
107
|
-
border-right: 1px solid var(--vxe-ui-input-border-color);
|
|
108
|
-
.vxe-form-design--preview-item-operate {
|
|
109
|
-
top: 0.4em;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
.vxe-form-design--widget-subtable-view-list-move {
|
|
114
|
-
@include baseMixin.createAnimationTransition(transform, 0.35s);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.vxe-form-design--widget-subtable-view-item {
|
|
118
|
-
position: relative;
|
|
119
|
-
min-width: 200px;
|
|
120
|
-
cursor: grabbing;
|
|
121
|
-
&:hover {
|
|
122
|
-
background-color: var(--vxe-ui-form-design-sub-widget-hover-background-color);
|
|
123
|
-
}
|
|
124
|
-
&.is--active {
|
|
125
|
-
background: var(--vxe-ui-base-active-background-color);
|
|
126
|
-
&::before {
|
|
127
|
-
content: "";
|
|
128
|
-
position: absolute;
|
|
129
|
-
top: 0;
|
|
130
|
-
left: 0;
|
|
131
|
-
width: 100%;
|
|
132
|
-
height: 100%;
|
|
133
|
-
border: 1px dashed var(--vxe-ui-font-primary-color);
|
|
134
|
-
pointer-events: none;
|
|
135
|
-
z-index: 2;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
.vxe-form-design--widget-subtable-view-item-box {
|
|
140
|
-
height: 100%;
|
|
141
|
-
&::after {
|
|
142
|
-
content: "";
|
|
143
|
-
position: absolute;
|
|
144
|
-
top: 0;
|
|
145
|
-
left: 0;
|
|
146
|
-
width: 100%;
|
|
147
|
-
height: 100%;
|
|
148
|
-
z-index: 1;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.vxe-form-design--widget-subtable-view-empty {
|
|
153
|
-
flex-grow: 1;
|
|
154
|
-
color: var(--vxe-ui-font-placeholder-color);
|
|
155
|
-
padding: 0 var(--vxe-ui-layout-padding-threefold);
|
|
156
|
-
min-height: 78px;
|
|
157
|
-
min-width: 200px;
|
|
158
|
-
cursor: default;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.vxe-form-design--widget-subtable-form-item {
|
|
162
|
-
overflow: hidden;
|
|
163
|
-
}
|
|
164
|
-
.vxe-form-design--widget-subtable-view-item-wrapper {
|
|
165
|
-
height: 100%;
|
|
166
|
-
.vxe-form--item {
|
|
167
|
-
&.is--vertical {
|
|
168
|
-
padding: 0;
|
|
169
|
-
.vxe-form--item-title {
|
|
170
|
-
height: 2.8em;
|
|
171
|
-
line-height: 2.8em;
|
|
172
|
-
padding: 0 var(--vxe-ui-layout-padding-default);
|
|
173
|
-
}
|
|
174
|
-
.vxe-form--item-content {
|
|
175
|
-
display: flex;
|
|
176
|
-
flex-direction: row;
|
|
177
|
-
align-items: center;
|
|
178
|
-
padding: 0 var(--vxe-ui-layout-padding-default);
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
.vxe-form--item-title {
|
|
183
|
-
border-bottom: 1px solid var(--vxe-ui-input-border-color);
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.vxe-form-design--preview-item {
|
|
188
|
-
&.widget-subtable {
|
|
189
|
-
padding: 0 var(--vxe-ui-layout-padding-double);
|
|
190
|
-
&::after {
|
|
191
|
-
display: none;
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
.vxe-form-design--preview-item-view {
|
|
195
|
-
.vxe-form-design--widget-subtable-form-item {
|
|
196
|
-
& > .vxe-form--item-content {
|
|
197
|
-
padding: 0;
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
.vxe-form--group-content {
|
|
201
|
-
align-items: unset;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
}
|
|
File without changes
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
@use '../../helpers/baseMixin.scss';
|
|
2
|
-
|
|
3
|
-
.vxe-form-design--widget-form-item-data-source-wrapper {
|
|
4
|
-
max-height: 30vh;
|
|
5
|
-
min-height: 140px;
|
|
6
|
-
overflow: auto;
|
|
7
|
-
}
|
|
8
|
-
.vxe-form-design--widget-form-item-data-source-type {
|
|
9
|
-
margin-bottom: 16px;
|
|
10
|
-
}
|
|
11
|
-
.vxe-form-design--widget-form-item-data-source-option {
|
|
12
|
-
position: relative;
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-direction: row;
|
|
15
|
-
padding: var(--vxe-ui-layout-padding-half) 0;
|
|
16
|
-
&::before {
|
|
17
|
-
content: "";
|
|
18
|
-
position: absolute;
|
|
19
|
-
top: 0;
|
|
20
|
-
left: var(--vxe-ui-layout-padding-half);
|
|
21
|
-
width: var(--vxe-ui-layout-padding-default);
|
|
22
|
-
height: 100%;
|
|
23
|
-
border: 1px dotted var(--vxe-ui-base-popup-border-color);
|
|
24
|
-
border-width: 0 0 0 1px;
|
|
25
|
-
}
|
|
26
|
-
&::after {
|
|
27
|
-
content: "";
|
|
28
|
-
position: absolute;
|
|
29
|
-
top: 50%;
|
|
30
|
-
left: var(--vxe-ui-layout-padding-half);
|
|
31
|
-
width: var(--vxe-ui-layout-padding-default);
|
|
32
|
-
height: 0;
|
|
33
|
-
border-top: 1px dotted var(--vxe-ui-base-popup-border-color);
|
|
34
|
-
}
|
|
35
|
-
&.is--first {
|
|
36
|
-
&::before {
|
|
37
|
-
top: 50%;
|
|
38
|
-
height: 50%;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
&.is--last {
|
|
42
|
-
&::before {
|
|
43
|
-
height: 50%;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
.vxe-button {
|
|
47
|
-
flex-shrink: 0;
|
|
48
|
-
}
|
|
49
|
-
.vxe-form-design--widget-expand-btn {
|
|
50
|
-
display: flex;
|
|
51
|
-
flex-direction: row;
|
|
52
|
-
align-items: center;
|
|
53
|
-
width: 2em;
|
|
54
|
-
i {
|
|
55
|
-
cursor: pointer;
|
|
56
|
-
background-color: var(--vxe-ui-layout-background-color);
|
|
57
|
-
@include baseMixin.createAnimationTransition(transform, 0.1s);
|
|
58
|
-
z-index: 2;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
.vxe-form-design--widget-form-item-data-source-sub-option {
|
|
63
|
-
position: relative;
|
|
64
|
-
&::before {
|
|
65
|
-
content: "";
|
|
66
|
-
position: absolute;
|
|
67
|
-
top: 0;
|
|
68
|
-
left: var(--vxe-ui-layout-padding-half);
|
|
69
|
-
width: var(--vxe-ui-layout-padding-default);
|
|
70
|
-
height: 100%;
|
|
71
|
-
border: 1px dotted var(--vxe-ui-base-popup-border-color);
|
|
72
|
-
border-width: 0 0 0 1px;
|
|
73
|
-
}
|
|
74
|
-
&:last-child {
|
|
75
|
-
&::before {
|
|
76
|
-
display: none;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
.vxe-form-design--widget-form-item-data-source-option {
|
|
80
|
-
padding-left: var(--vxe-ui-layout-padding-double);
|
|
81
|
-
&:first-child {
|
|
82
|
-
&::before {
|
|
83
|
-
top: 0;
|
|
84
|
-
height: 50%;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
&::before {
|
|
88
|
-
top: -50%;
|
|
89
|
-
left: calc(var(--vxe-ui-layout-padding-double) + 0.5em);
|
|
90
|
-
width: var(--vxe-ui-layout-padding-default);
|
|
91
|
-
height: 100%;
|
|
92
|
-
}
|
|
93
|
-
&::after {
|
|
94
|
-
left: calc(var(--vxe-ui-layout-padding-double) + 0.5em);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.vxe-form-design--widget-form-item-data-source-popup {
|
|
100
|
-
height: 100%;
|
|
101
|
-
display: flex;
|
|
102
|
-
flex-direction: column;
|
|
103
|
-
overflow: auto;
|
|
104
|
-
& > .vxe-textarea {
|
|
105
|
-
flex-grow: 1;
|
|
106
|
-
.vxe-textarea--inner {
|
|
107
|
-
height: 100%;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|