@pointcloud/pcloud-components 1.0.4 → 1.0.6
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 +1 -1
- package/dist/esm/AdvancedFilter/styles/index.less +143 -143
- package/dist/esm/AnimatedScrollList/styles/index.less +22 -22
- package/dist/esm/CRUD/index.less +156 -154
- package/dist/esm/CRUD/toolbar.d.ts +3 -3
- package/dist/esm/ColorPicker/index.js +4 -4
- package/dist/esm/ContextMenu/index.less +61 -61
- package/dist/esm/DCascader/index.d.ts +1 -1
- package/dist/esm/DForm/DItem/itemsRender.js +6 -6
- package/dist/esm/DForm/index.js +6 -6
- package/dist/esm/DForm/index.less +50 -50
- package/dist/esm/DInput/index.js +6 -6
- package/dist/esm/DModal/styles/index.less +33 -33
- package/dist/esm/DRangePicker/index.less +30 -30
- package/dist/esm/DSelect/index.d.ts +1 -1
- package/dist/esm/DTable/index.d.ts +7 -3
- package/dist/esm/DTable/index.js +53 -19
- package/dist/esm/DTable/index.less +13 -23
- package/dist/esm/DUpload/helper.js +47 -47
- package/dist/esm/DUpload/index.js +6 -6
- package/dist/esm/DynamicFormItem/index.less +28 -28
- package/dist/esm/IPAddress/index.less +75 -75
- package/dist/esm/InfiniteScrollList/index.d.ts +1 -1
- package/dist/esm/InfiniteScrollList/index.js +3 -3
- package/dist/esm/InfiniteScrollList/styles/index.less +24 -24
- package/dist/esm/Loading/styles/index.less +37 -37
- package/dist/esm/LoginForm/index.js +1 -0
- package/dist/esm/ModalTable/index.d.ts +3 -0
- package/dist/esm/ModalTable/index.js +95 -0
- package/dist/esm/ModalTable/interface.d.ts +23 -0
- package/dist/esm/ModalTable/interface.js +1 -0
- package/dist/esm/OrgTree/index.less +15 -15
- package/dist/esm/RCropper/index.js +5 -5
- package/dist/esm/RCropper/styles/toolbar.less +25 -25
- package/dist/esm/SignaturePad/style/index.less +47 -47
- package/dist/esm/TypewriterText/index.less +29 -29
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.js +1 -0
- package/dist/umd/pcloud-components.min.css +1 -1
- package/dist/umd/pcloud-components.min.js +1 -1
- package/package.json +133 -133
package/README.md
CHANGED
|
@@ -1,143 +1,143 @@
|
|
|
1
|
-
@import '../../commonStyle/index.less';
|
|
2
|
-
|
|
3
|
-
.@{prefix}-search-filter {
|
|
4
|
-
align-items: center;
|
|
5
|
-
width: 100%;
|
|
6
|
-
margin-top: 10px;
|
|
7
|
-
background-color: #fff;
|
|
8
|
-
|
|
9
|
-
span.ant-collapse-header-text {
|
|
10
|
-
display: inline-block;
|
|
11
|
-
width: 100%;
|
|
12
|
-
cursor: auto !important;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.ant-collapse-content-box {
|
|
16
|
-
padding: 0;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.search-header {
|
|
20
|
-
display: flex;
|
|
21
|
-
width: 100%;
|
|
22
|
-
|
|
23
|
-
.left {
|
|
24
|
-
max-width: 100%;
|
|
25
|
-
overflow: hidden;
|
|
26
|
-
white-space: no-wrap;
|
|
27
|
-
text-overflow: ellipsis;
|
|
28
|
-
|
|
29
|
-
:global {
|
|
30
|
-
.ant-radio-wrapper:first-child {
|
|
31
|
-
border-left: 1px solid #d9d9d9;
|
|
32
|
-
border-radius: 5px 0 0 5px;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.ant-radio-wrapper:last-child {
|
|
36
|
-
border-radius: 0 5px 5px 0;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.ant-radio-wrapper {
|
|
40
|
-
margin-right: 0;
|
|
41
|
-
padding: 4px 6px;
|
|
42
|
-
border: 1px solid #d9d9d9;
|
|
43
|
-
border-top-width: 1px;
|
|
44
|
-
border-left: 1px solid #fff;
|
|
45
|
-
border-left-width: 1px;
|
|
46
|
-
|
|
47
|
-
.ant-radio {
|
|
48
|
-
display: none;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.ant-radio-wrapper:hover {
|
|
53
|
-
color: #1890ff;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.ant-radio-wrapper-checked {
|
|
57
|
-
z-index: 1;
|
|
58
|
-
color: #1890ff;
|
|
59
|
-
background: #fff;
|
|
60
|
-
border: 1px solid #1890ff;
|
|
61
|
-
border-left: 1px solid #1890ff !important;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.right {
|
|
67
|
-
display: flex;
|
|
68
|
-
justify-content: center;
|
|
69
|
-
|
|
70
|
-
.input {
|
|
71
|
-
width: 200px;
|
|
72
|
-
border-radius: 4px;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.button {
|
|
76
|
-
margin-left: 10px;
|
|
77
|
-
|
|
78
|
-
&:active,
|
|
79
|
-
&:focus,
|
|
80
|
-
&:hover {
|
|
81
|
-
border-color: transparent;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.icon {
|
|
85
|
-
margin-left: 8px;
|
|
86
|
-
transition: transform 0.4s;
|
|
87
|
-
|
|
88
|
-
&.down {
|
|
89
|
-
transform: rotateZ(180deg);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
&.up {
|
|
93
|
-
transform: rotateZ(0deg);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.title {
|
|
101
|
-
display: flex;
|
|
102
|
-
align-items: center;
|
|
103
|
-
margin: 0 10px;
|
|
104
|
-
padding-bottom: 10px;
|
|
105
|
-
font-weight: bold;
|
|
106
|
-
border-bottom: 1px solid #f0f0f0;
|
|
107
|
-
|
|
108
|
-
span.icon {
|
|
109
|
-
width: 4px;
|
|
110
|
-
height: 16px;
|
|
111
|
-
margin-right: 6px;
|
|
112
|
-
background-color: #1890ff;
|
|
113
|
-
border-radius: 2px;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.search-content {
|
|
118
|
-
.filter-row {
|
|
119
|
-
display: flex;
|
|
120
|
-
flex-wrap: wrap;
|
|
121
|
-
width: 100%;
|
|
122
|
-
padding: 10px;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.filter-col {
|
|
126
|
-
height: 30px;
|
|
127
|
-
margin-bottom: 10px;
|
|
128
|
-
line-height: 30px;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.filter-col .ant-picker {
|
|
132
|
-
width: 100%;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.search-btn {
|
|
136
|
-
justify-content: center;
|
|
137
|
-
|
|
138
|
-
> button {
|
|
139
|
-
margin: 0 5px;
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
}
|
|
1
|
+
@import '../../commonStyle/index.less';
|
|
2
|
+
|
|
3
|
+
.@{prefix}-search-filter {
|
|
4
|
+
align-items: center;
|
|
5
|
+
width: 100%;
|
|
6
|
+
margin-top: 10px;
|
|
7
|
+
background-color: #fff;
|
|
8
|
+
|
|
9
|
+
span.ant-collapse-header-text {
|
|
10
|
+
display: inline-block;
|
|
11
|
+
width: 100%;
|
|
12
|
+
cursor: auto !important;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.ant-collapse-content-box {
|
|
16
|
+
padding: 0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.search-header {
|
|
20
|
+
display: flex;
|
|
21
|
+
width: 100%;
|
|
22
|
+
|
|
23
|
+
.left {
|
|
24
|
+
max-width: 100%;
|
|
25
|
+
overflow: hidden;
|
|
26
|
+
white-space: no-wrap;
|
|
27
|
+
text-overflow: ellipsis;
|
|
28
|
+
|
|
29
|
+
:global {
|
|
30
|
+
.ant-radio-wrapper:first-child {
|
|
31
|
+
border-left: 1px solid #d9d9d9;
|
|
32
|
+
border-radius: 5px 0 0 5px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.ant-radio-wrapper:last-child {
|
|
36
|
+
border-radius: 0 5px 5px 0;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.ant-radio-wrapper {
|
|
40
|
+
margin-right: 0;
|
|
41
|
+
padding: 4px 6px;
|
|
42
|
+
border: 1px solid #d9d9d9;
|
|
43
|
+
border-top-width: 1px;
|
|
44
|
+
border-left: 1px solid #fff;
|
|
45
|
+
border-left-width: 1px;
|
|
46
|
+
|
|
47
|
+
.ant-radio {
|
|
48
|
+
display: none;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.ant-radio-wrapper:hover {
|
|
53
|
+
color: #1890ff;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.ant-radio-wrapper-checked {
|
|
57
|
+
z-index: 1;
|
|
58
|
+
color: #1890ff;
|
|
59
|
+
background: #fff;
|
|
60
|
+
border: 1px solid #1890ff;
|
|
61
|
+
border-left: 1px solid #1890ff !important;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.right {
|
|
67
|
+
display: flex;
|
|
68
|
+
justify-content: center;
|
|
69
|
+
|
|
70
|
+
.input {
|
|
71
|
+
width: 200px;
|
|
72
|
+
border-radius: 4px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.button {
|
|
76
|
+
margin-left: 10px;
|
|
77
|
+
|
|
78
|
+
&:active,
|
|
79
|
+
&:focus,
|
|
80
|
+
&:hover {
|
|
81
|
+
border-color: transparent;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.icon {
|
|
85
|
+
margin-left: 8px;
|
|
86
|
+
transition: transform 0.4s;
|
|
87
|
+
|
|
88
|
+
&.down {
|
|
89
|
+
transform: rotateZ(180deg);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&.up {
|
|
93
|
+
transform: rotateZ(0deg);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.title {
|
|
101
|
+
display: flex;
|
|
102
|
+
align-items: center;
|
|
103
|
+
margin: 0 10px;
|
|
104
|
+
padding-bottom: 10px;
|
|
105
|
+
font-weight: bold;
|
|
106
|
+
border-bottom: 1px solid #f0f0f0;
|
|
107
|
+
|
|
108
|
+
span.icon {
|
|
109
|
+
width: 4px;
|
|
110
|
+
height: 16px;
|
|
111
|
+
margin-right: 6px;
|
|
112
|
+
background-color: #1890ff;
|
|
113
|
+
border-radius: 2px;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.search-content {
|
|
118
|
+
.filter-row {
|
|
119
|
+
display: flex;
|
|
120
|
+
flex-wrap: wrap;
|
|
121
|
+
width: 100%;
|
|
122
|
+
padding: 10px;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.filter-col {
|
|
126
|
+
height: 30px;
|
|
127
|
+
margin-bottom: 10px;
|
|
128
|
+
line-height: 30px;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.filter-col .ant-picker {
|
|
132
|
+
width: 100%;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.search-btn {
|
|
136
|
+
justify-content: center;
|
|
137
|
+
|
|
138
|
+
> button {
|
|
139
|
+
margin: 0 5px;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
@import '../../commonStyle/index.less';
|
|
2
|
-
|
|
3
|
-
.@{prefix}-animated-scroll-list {
|
|
4
|
-
position: relative;
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
height: 100%;
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
|
|
10
|
-
&-header {
|
|
11
|
-
flex-shrink: 0;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&-body {
|
|
15
|
-
position: relative;
|
|
16
|
-
overflow: hidden;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&-content {
|
|
20
|
-
position: relative;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
1
|
+
@import '../../commonStyle/index.less';
|
|
2
|
+
|
|
3
|
+
.@{prefix}-animated-scroll-list {
|
|
4
|
+
position: relative;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
height: 100%;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
|
|
10
|
+
&-header {
|
|
11
|
+
flex-shrink: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&-body {
|
|
15
|
+
position: relative;
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&-content {
|
|
20
|
+
position: relative;
|
|
21
|
+
}
|
|
22
|
+
}
|
package/dist/esm/CRUD/index.less
CHANGED
|
@@ -1,154 +1,156 @@
|
|
|
1
|
-
@import '../commonStyle/index.less';
|
|
2
|
-
|
|
3
|
-
.@{prefix}-crud {
|
|
4
|
-
height: 100%;
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
&-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
border
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
color: #2e4dd9;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
padding-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
}
|
|
1
|
+
@import '../commonStyle/index.less';
|
|
2
|
+
|
|
3
|
+
.@{prefix}-crud {
|
|
4
|
+
height: 100%;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
|
|
9
|
+
&.fullscreen {
|
|
10
|
+
position: fixed;
|
|
11
|
+
inset: 0;
|
|
12
|
+
z-index: 10000;
|
|
13
|
+
padding: 10px;
|
|
14
|
+
background-color: #fff;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&-action-tool-bar {
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: space-between;
|
|
20
|
+
align-items: center;
|
|
21
|
+
margin-bottom: 10px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&-action-bar,
|
|
25
|
+
&-tool-bar {
|
|
26
|
+
display: flex;
|
|
27
|
+
justify-content: flex-start;
|
|
28
|
+
align-items: center;
|
|
29
|
+
gap: 8px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.tool-icon {
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
padding: 5px;
|
|
35
|
+
border: 1px solid #e3e3e3;
|
|
36
|
+
border-radius: 50%;
|
|
37
|
+
font-size: 15px;
|
|
38
|
+
|
|
39
|
+
&:hover {
|
|
40
|
+
border-color: #2e4dd9;
|
|
41
|
+
color: #2e4dd9;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&.rotating {
|
|
45
|
+
animation: rotating 0.5s linear;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// column setting popup
|
|
50
|
+
.column-setting-popup {
|
|
51
|
+
.ant-popover-title {
|
|
52
|
+
padding-right: 10px;
|
|
53
|
+
padding-left: 10px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.ant-popover-inner-content {
|
|
57
|
+
width: 100%;
|
|
58
|
+
padding: 8px 0 4px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.column-setting-title {
|
|
62
|
+
display: flex;
|
|
63
|
+
justify-content: space-between;
|
|
64
|
+
align-items: center;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.column-setting-list {
|
|
68
|
+
display: flex;
|
|
69
|
+
flex-direction: column;
|
|
70
|
+
max-height: 300px;
|
|
71
|
+
overflow-y: auto;
|
|
72
|
+
margin-bottom: 0;
|
|
73
|
+
padding-inline-start: 0;
|
|
74
|
+
list-style: none;
|
|
75
|
+
padding: 5px 0;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.column-setting-list::-webkit-scrollbar {
|
|
79
|
+
width: 5px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.column-setting-list::-webkit-scrollbar-track {
|
|
83
|
+
border-radius: 3px;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.column-setting-list::-webkit-scrollbar-thumb {
|
|
87
|
+
width: 5px;
|
|
88
|
+
border-radius: 3px;
|
|
89
|
+
background: #8b8b8b;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.column-setting-item {
|
|
93
|
+
display: flex;
|
|
94
|
+
align-items: center;
|
|
95
|
+
padding: 8px 10px;
|
|
96
|
+
user-select: none;
|
|
97
|
+
border-radius: 4px;
|
|
98
|
+
margin-bottom: 2px;
|
|
99
|
+
min-height: 32px;
|
|
100
|
+
|
|
101
|
+
&:hover {
|
|
102
|
+
background-color: #f5f5f5;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.column-drag-handle {
|
|
107
|
+
cursor: move;
|
|
108
|
+
margin-right: 8px;
|
|
109
|
+
display: flex;
|
|
110
|
+
align-items: center;
|
|
111
|
+
color: #666;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.column-setting-footer {
|
|
115
|
+
display: flex;
|
|
116
|
+
justify-content: flex-end;
|
|
117
|
+
padding-top: 4px;
|
|
118
|
+
border-top: 1px solid #f0f0f0;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
// form display
|
|
123
|
+
.@{prefix}-form {
|
|
124
|
+
transition: all 0.3s ease-in-out;
|
|
125
|
+
overflow: hidden;
|
|
126
|
+
|
|
127
|
+
&.visible {
|
|
128
|
+
max-height: 300px;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
&.hidden {
|
|
132
|
+
max-height: 0;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
&-table {
|
|
137
|
+
flex: 1;
|
|
138
|
+
overflow: hidden;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&-modalform-view {
|
|
142
|
+
.ant-form-item-label > label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::before {
|
|
143
|
+
display: none;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
@keyframes rotating {
|
|
148
|
+
from {
|
|
149
|
+
transform: rotate(0deg);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
to {
|
|
153
|
+
transform: rotate(360deg);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
@@ -7,10 +7,10 @@ export interface ToolbarProps {
|
|
|
7
7
|
conditionVisible?: boolean;
|
|
8
8
|
columns?: DColumnType[];
|
|
9
9
|
onActions?: {
|
|
10
|
-
setFullScreen?: (
|
|
10
|
+
setFullScreen?: (_fullScreen: boolean) => void;
|
|
11
11
|
handleRefresh?: () => void;
|
|
12
|
-
onColumnSettingChanged?: (
|
|
13
|
-
setConditionVisible?: (
|
|
12
|
+
onColumnSettingChanged?: (_checkedList: CheckboxValueType[], _sortedColumns?: DColumnType[]) => void;
|
|
13
|
+
setConditionVisible?: (_visible: boolean) => void;
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
16
|
declare function Toolbar({ className, fullScreen, conditionVisible, columns, onActions }: ToolbarProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
4
|
-
/*
|
|
5
|
-
* @Author : frank
|
|
6
|
-
* @Date : 2023-11-21
|
|
7
|
-
* @Description : 多模式颜色选择器组件
|
|
4
|
+
/*
|
|
5
|
+
* @Author : frank
|
|
6
|
+
* @Date : 2023-11-21
|
|
7
|
+
* @Description : 多模式颜色选择器组件
|
|
8
8
|
*/
|
|
9
9
|
import { useState, useContext } from 'react';
|
|
10
10
|
import classNames from 'classnames';
|