vxe-pc-ui 4.10.10 → 4.10.11

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 (115) hide show
  1. package/es/components.js +6 -0
  2. package/es/icon/style.css +1 -1
  3. package/es/split/index.js +2 -2
  4. package/es/split/style.css +79 -79
  5. package/es/split/style.min.css +1 -1
  6. package/es/split-pane/index.js +2 -2
  7. package/es/splitter/index.js +12 -0
  8. package/es/{split/src/split-pane.js → splitter/src/splitter-panel.js} +15 -15
  9. package/es/{split/src/split.js → splitter/src/splitter.js} +137 -68
  10. package/es/splitter/src/util.js +17 -0
  11. package/es/splitter/style.css +288 -0
  12. package/es/splitter/style.min.css +1 -0
  13. package/es/splitter-panel/index.js +12 -0
  14. package/es/splitter-panel/style.css +0 -0
  15. package/es/splitter-panel/style.min.css +0 -0
  16. package/es/style.css +1 -1
  17. package/es/style.min.css +1 -1
  18. package/es/ui/index.js +3 -3
  19. package/es/ui/src/log.js +1 -1
  20. package/es/vxe-split/style.css +79 -79
  21. package/es/vxe-split/style.min.css +1 -1
  22. package/es/vxe-splitter/index.js +3 -0
  23. package/es/vxe-splitter/style.css +288 -0
  24. package/es/vxe-splitter/style.min.css +1 -0
  25. package/es/vxe-splitter-panel/index.js +3 -0
  26. package/es/vxe-splitter-panel/style.css +0 -0
  27. package/es/vxe-splitter-panel/style.min.css +0 -0
  28. package/lib/components.js +25 -1
  29. package/lib/components.min.js +1 -1
  30. package/lib/icon/style/style.css +1 -1
  31. package/lib/icon/style/style.min.css +1 -1
  32. package/lib/index.umd.js +231 -115
  33. package/lib/index.umd.min.js +1 -1
  34. package/lib/split/index.js +4 -4
  35. package/lib/split/index.min.js +1 -1
  36. package/lib/split/style/style.css +79 -79
  37. package/lib/split/style/style.min.css +1 -1
  38. package/lib/split-pane/index.js +5 -5
  39. package/lib/split-pane/index.min.js +1 -1
  40. package/lib/splitter/index.js +19 -0
  41. package/lib/splitter/index.min.js +1 -0
  42. package/lib/{split/src/split-pane.js → splitter/src/splitter-panel.js} +14 -14
  43. package/lib/splitter/src/splitter-panel.min.js +1 -0
  44. package/lib/{split/src/split.js → splitter/src/splitter.js} +150 -72
  45. package/lib/splitter/src/splitter.min.js +1 -0
  46. package/lib/{split → splitter}/src/util.js +8 -8
  47. package/lib/splitter/src/util.min.js +1 -0
  48. package/lib/splitter/style/index.js +1 -0
  49. package/lib/splitter/style/style.css +288 -0
  50. package/lib/splitter/style/style.min.css +1 -0
  51. package/lib/splitter-panel/index.js +19 -0
  52. package/lib/splitter-panel/index.min.js +1 -0
  53. package/lib/splitter-panel/style/index.js +1 -0
  54. package/lib/splitter-panel/style/style.css +0 -0
  55. package/lib/splitter-panel/style/style.min.css +0 -0
  56. package/lib/style.css +1 -1
  57. package/lib/style.min.css +1 -1
  58. package/lib/ui/index.js +3 -3
  59. package/lib/ui/index.min.js +1 -1
  60. package/lib/ui/src/log.js +1 -1
  61. package/lib/ui/src/log.min.js +1 -1
  62. package/lib/vxe-split/style/style.css +79 -79
  63. package/lib/vxe-split/style/style.min.css +1 -1
  64. package/lib/vxe-splitter/index.js +22 -0
  65. package/lib/vxe-splitter/index.min.js +1 -0
  66. package/lib/vxe-splitter/style/index.js +1 -0
  67. package/lib/vxe-splitter/style/style.css +288 -0
  68. package/lib/vxe-splitter/style/style.min.css +1 -0
  69. package/lib/vxe-splitter-panel/index.js +22 -0
  70. package/lib/vxe-splitter-panel/index.min.js +1 -0
  71. package/lib/vxe-splitter-panel/style/index.js +1 -0
  72. package/lib/vxe-splitter-panel/style/style.css +0 -0
  73. package/lib/vxe-splitter-panel/style/style.min.css +0 -0
  74. package/package.json +1 -1
  75. package/packages/components.ts +6 -0
  76. package/packages/split/index.ts +2 -2
  77. package/packages/split-pane/index.ts +2 -2
  78. package/packages/splitter/index.ts +16 -0
  79. package/packages/splitter/src/splitter-panel.ts +145 -0
  80. package/packages/{split/src/split.ts → splitter/src/splitter.ts} +168 -96
  81. package/packages/splitter/src/util.ts +21 -0
  82. package/packages/splitter-panel/index.ts +16 -0
  83. package/packages/ui/index.ts +2 -2
  84. package/styles/components/split.scss +1 -317
  85. package/styles/components/splitter-panel.scss +0 -0
  86. package/styles/components/splitter.scss +317 -0
  87. package/styles/theme/base.scss +6 -6
  88. package/styles/theme/dark.scss +3 -3
  89. package/styles/theme/light.scss +3 -3
  90. package/styles/variable.scss +3 -3
  91. package/types/all.d.ts +6 -0
  92. package/types/components/split-pane.d.ts +42 -14
  93. package/types/components/split.d.ts +54 -18
  94. package/types/components/splitter-panel.d.ts +105 -0
  95. package/types/components/splitter.d.ts +288 -0
  96. package/types/ui/global-config.d.ts +4 -0
  97. package/types/ui/global-icon.d.ts +1 -1
  98. package/es/split/src/util.js +0 -17
  99. package/lib/split/src/split-pane.min.js +0 -1
  100. package/lib/split/src/split.min.js +0 -1
  101. package/lib/split/src/util.min.js +0 -1
  102. package/packages/split/src/split-pane.ts +0 -145
  103. package/packages/split/src/util.ts +0 -21
  104. /package/es/icon/{iconfont.1761298747069.ttf → iconfont.1761614052122.ttf} +0 -0
  105. /package/es/icon/{iconfont.1761298747069.woff → iconfont.1761614052122.woff} +0 -0
  106. /package/es/icon/{iconfont.1761298747069.woff2 → iconfont.1761614052122.woff2} +0 -0
  107. /package/es/{iconfont.1761298747069.ttf → iconfont.1761614052122.ttf} +0 -0
  108. /package/es/{iconfont.1761298747069.woff → iconfont.1761614052122.woff} +0 -0
  109. /package/es/{iconfont.1761298747069.woff2 → iconfont.1761614052122.woff2} +0 -0
  110. /package/lib/icon/style/{iconfont.1761298747069.ttf → iconfont.1761614052122.ttf} +0 -0
  111. /package/lib/icon/style/{iconfont.1761298747069.woff → iconfont.1761614052122.woff} +0 -0
  112. /package/lib/icon/style/{iconfont.1761298747069.woff2 → iconfont.1761614052122.woff2} +0 -0
  113. /package/lib/{iconfont.1761298747069.ttf → iconfont.1761614052122.ttf} +0 -0
  114. /package/lib/{iconfont.1761298747069.woff → iconfont.1761614052122.woff} +0 -0
  115. /package/lib/{iconfont.1761298747069.woff2 → iconfont.1761614052122.woff2} +0 -0
@@ -1,317 +1 @@
1
- @use "sass:list";
2
- @use '../helpers/baseMixin.scss';
3
-
4
- .vxe-split {
5
- position: relative;
6
- width: 100%;
7
- &.is--vertical {
8
- & > .vxe-split-wrapper {
9
- flex-direction: column;
10
- & > .vxe-split-pane {
11
- width: 100%;
12
- }
13
- }
14
- }
15
- &.is--drag {
16
- user-select: none;
17
- &.is-resize--immediate {
18
- &.is--horizontal {
19
- cursor: w-resize;
20
- }
21
- &.is--vertical {
22
- cursor: n-resize;
23
- }
24
- }
25
- &.is-resize--lazy {
26
- &.is--horizontal {
27
- cursor: col-resize;
28
- }
29
- &.is--vertical {
30
- cursor: row-resize;
31
- }
32
- }
33
- & > .vxe-split-wrapper {
34
- & > .vxe-split-pane {
35
- & > .vxe-split-pane--wrapper {
36
- &::after {
37
- content: "";
38
- position: absolute;
39
- top: 0;
40
- left: 0;
41
- width: 100%;
42
- height: 100%;
43
- z-index: 1;
44
- background: transparent;
45
- user-select: none;
46
- }
47
- }
48
- }
49
- }
50
- }
51
- }
52
-
53
- .vxe-split--resizable-split-tip {
54
- display: none;
55
- position: absolute;
56
- top: 0;
57
- left: 0;
58
- z-index: 7;
59
- pointer-events: none;
60
- user-select: none;
61
- cursor: col-resize;
62
- &.is-resize--lazy {
63
- &:before {
64
- content: "";
65
- display: block;
66
- height: 100%;
67
- background-color: var(--vxe-ui-split-resizable-drag-line-color);
68
- }
69
- }
70
- &.is--horizontal {
71
- width: 1px;
72
- height: 100%;
73
- .vxe-split--resizable-split-number-prev {
74
- right: 0;
75
- }
76
- .vxe-split--resizable-split-number-next {
77
- left: 1px;
78
- }
79
- }
80
- &.is--vertical {
81
- width: 100%;
82
- height: 1px;
83
- .vxe-split--resizable-split-number-prev {
84
- bottom: 0;
85
- }
86
- .vxe-split--resizable-split-number-next {
87
- top: 1px;
88
- }
89
- }
90
- }
91
- .vxe-split--resizable-split-tip-number {
92
- position: absolute;
93
- top: 0;
94
- left: 0;
95
- user-select: none;
96
- pointer-events: none;
97
- }
98
- .vxe-split--resizable-split-number-prev,
99
- .vxe-split--resizable-split-number-next {
100
- position: absolute;
101
- padding: 0.25em 0.25em;
102
- font-size: 12px;
103
- border-radius: var(--vxe-ui-border-radius);
104
- white-space: nowrap;
105
- color: #ffffff;
106
- background-color: var(--vxe-ui-split-resizable-drag-line-color);
107
- }
108
-
109
- .vxe-split-wrapper {
110
- height: 100%;
111
- display: flex;
112
- flex-direction: row;
113
- overflow: hidden;
114
- }
115
-
116
- .vxe-split-slots {
117
- display: none;
118
- }
119
-
120
- .vxe-split-pane-handle {
121
- display: flex;
122
- position: relative;
123
- flex-shrink: 0;
124
- user-select: none;
125
- }
126
-
127
- .vxe-split-pane--wrapper {
128
- position: relative;
129
- word-break: break-word;
130
- overflow: hidden;
131
- flex-grow: 1;
132
- }
133
- .vxe-split-pane--inner {
134
- height: 100%;
135
- width: 100%;
136
- overflow: auto;
137
- & > .vxe-split {
138
- height: 100%;
139
- }
140
- }
141
- .vxe-split-pane-handle-bar {
142
- background-color: var(--vxe-ui-split-handle-bar-background-color);
143
- &:hover {
144
- background-color: var(--vxe-ui-split-handle-bar-hover-background-color);
145
- }
146
- }
147
-
148
- .vxe-split-pane-action-btn-wrapper {
149
- position: absolute;
150
- display: flex;
151
- top: 50%;
152
- left: 50%;
153
- transform: translate(-50%, -50%);
154
- z-index: 2;
155
- }
156
- .vxe-split-pane-action-btn {
157
- display: flex;
158
- flex-direction: row;
159
- align-items: center;
160
- justify-content: center;
161
- border-radius: var(--vxe-ui-base-border-radius);
162
- color: var(--vxe-ui-layout-background-color);
163
- background-color: var(--vxe-ui-split-handle-button-background-color);
164
- border: 1px solid var(--vxe-ui-input-border-color);
165
- cursor: pointer;
166
- @include baseMixin.createAnimationTransition(transform, 0.1s);
167
- &:hover {
168
- color: #ffffff;
169
- background-color: var(--vxe-ui-font-primary-color);
170
- }
171
- &:active {
172
- transform: scale(0.9);
173
- }
174
- & > i {
175
- font-size: 0.6em;
176
- }
177
- }
178
- .vxe-split-pane-handle {
179
- &.is--horizontal {
180
- flex-direction: row;
181
- &.is--border {
182
- border-width: 1px 0 1px 0;
183
- }
184
- .vxe-split-pane-action-btn-wrapper {
185
- flex-direction: column;
186
- & div {
187
- margin-top: 1em;
188
- &:first-child {
189
- margin-top: 0;
190
- }
191
- }
192
- }
193
- .vxe-split-pane-handle-bar {
194
- width: var(--vxe-ui-split-handle-bar-horizontal-width);
195
- height: 100%;
196
- }
197
- .vxe-split-pane-action-btn {
198
- width: var(--vxe-ui-split-handle-bar-horizontal-width);
199
- height: var(--vxe-ui-split-handle-bar-horizontal-height);
200
- }
201
- }
202
- &.is--vertical {
203
- flex-direction: column;
204
- &.is--border {
205
- border-width: 0 1px 0 1px;
206
- }
207
- .vxe-split-pane-action-btn-wrapper {
208
- flex-direction: row;
209
- & div {
210
- margin-left: 1em;
211
- &:first-child {
212
- margin-left: 0;
213
- }
214
- }
215
- }
216
- .vxe-split-pane-handle-bar {
217
- height: var(--vxe-ui-split-handle-bar-vertical-height);
218
- width: 100%;
219
- }
220
- .vxe-split-pane-action-btn {
221
- width: var(--vxe-ui-split-handle-bar-vertical-width);
222
- height: var(--vxe-ui-split-handle-bar-vertical-height);
223
- }
224
- }
225
- &.is--resize {
226
- &.is-resize--immediate {
227
- &.is--horizontal {
228
- .vxe-split-pane-handle-bar {
229
- cursor: w-resize;
230
- }
231
- }
232
- &.is--vertical {
233
- .vxe-split-pane-handle-bar {
234
- cursor: n-resize;
235
- }
236
- }
237
- & > .vxe-split-pane-handle-bar {
238
- &:active {
239
- background-color: var(--vxe-ui-font-primary-color);
240
- }
241
- }
242
- }
243
- &.is-resize--lazy {
244
- &.is--horizontal {
245
- .vxe-split-pane-handle-bar {
246
- cursor: col-resize;
247
- }
248
- }
249
- &.is--vertical {
250
- .vxe-split-pane-handle-bar {
251
- cursor: row-resize;
252
- }
253
- }
254
- }
255
- }
256
- }
257
-
258
- .vxe-split-pane {
259
- display: flex;
260
- position: relative;
261
- overflow: hidden;
262
- &.is--fill {
263
- flex-grow: 1;
264
- }
265
- &.is--hidden {
266
- &.is--horizontal {
267
- width: 0;
268
- }
269
- &.is--vertical {
270
- height: 0;
271
- }
272
- }
273
- &.is--padding {
274
- & > .vxe-split-pane--wrapper {
275
- padding: var(--vxe-ui-layout-padding-default);
276
- }
277
- }
278
- &.is--hidden,
279
- &.is--width,
280
- &.is--height {
281
- flex-shrink: 0;
282
- }
283
- &.is--border {
284
- & > .vxe-split-pane--wrapper {
285
- border: 1px solid var(--vxe-ui-base-popup-border-color);
286
- }
287
- }
288
- }
289
-
290
- .vxe-split--render-vars {
291
- width: 0;
292
- height: 0;
293
- overflow: hidden;
294
- .vxe-split--handle-bar-info {
295
- width: var(--vxe-ui-split-handle-bar-horizontal-width);
296
- height: var(--vxe-ui-split-handle-bar-vertical-height);
297
- }
298
- }
299
-
300
- .vxe-modal--content {
301
- & > .vxe-split {
302
- height: 100%;
303
- }
304
- }
305
-
306
- .vxe-split {
307
- font-size: var(--vxe-ui-font-size-default);
308
- &.size--medium {
309
- font-size: var(--vxe-ui-font-size-medium);
310
- }
311
- &.size--small {
312
- font-size: var(--vxe-ui-font-size-small);
313
- }
314
- &.size--mini {
315
- font-size: var(--vxe-ui-font-size-mini);
316
- }
317
- }
1
+ @use "./splitter.scss";
File without changes
@@ -0,0 +1,317 @@
1
+ @use "sass:list";
2
+ @use '../helpers/baseMixin.scss';
3
+
4
+ .vxe-splitter {
5
+ position: relative;
6
+ width: 100%;
7
+ &.is--vertical {
8
+ & > .vxe-splitter-wrapper {
9
+ flex-direction: column;
10
+ & > .vxe-splitter-panel {
11
+ width: 100%;
12
+ }
13
+ }
14
+ }
15
+ &.is--drag {
16
+ user-select: none;
17
+ &.is-resize--immediate {
18
+ &.is--horizontal {
19
+ cursor: w-resize;
20
+ }
21
+ &.is--vertical {
22
+ cursor: n-resize;
23
+ }
24
+ }
25
+ &.is-resize--lazy {
26
+ &.is--horizontal {
27
+ cursor: col-resize;
28
+ }
29
+ &.is--vertical {
30
+ cursor: row-resize;
31
+ }
32
+ }
33
+ & > .vxe-splitter-wrapper {
34
+ & > .vxe-splitter-panel {
35
+ & > .vxe-splitter-panel--wrapper {
36
+ &::after {
37
+ content: "";
38
+ position: absolute;
39
+ top: 0;
40
+ left: 0;
41
+ width: 100%;
42
+ height: 100%;
43
+ z-index: 1;
44
+ background: transparent;
45
+ user-select: none;
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+
53
+ .vxe-splitter--resizable-splitter-tip {
54
+ display: none;
55
+ position: absolute;
56
+ top: 0;
57
+ left: 0;
58
+ z-index: 7;
59
+ pointer-events: none;
60
+ user-select: none;
61
+ cursor: col-resize;
62
+ &.is-resize--lazy {
63
+ &:before {
64
+ content: "";
65
+ display: block;
66
+ height: 100%;
67
+ background-color: var(--vxe-ui-splitter-resizable-drag-line-color);
68
+ }
69
+ }
70
+ &.is--horizontal {
71
+ width: 1px;
72
+ height: 100%;
73
+ .vxe-splitter--resizable-splitter-number-prev {
74
+ right: 0;
75
+ }
76
+ .vxe-splitter--resizable-splitter-number-next {
77
+ left: 1px;
78
+ }
79
+ }
80
+ &.is--vertical {
81
+ width: 100%;
82
+ height: 1px;
83
+ .vxe-splitter--resizable-splitter-number-prev {
84
+ bottom: 0;
85
+ }
86
+ .vxe-splitter--resizable-splitter-number-next {
87
+ top: 1px;
88
+ }
89
+ }
90
+ }
91
+ .vxe-splitter--resizable-splitter-tip-number {
92
+ position: absolute;
93
+ top: 0;
94
+ left: 0;
95
+ user-select: none;
96
+ pointer-events: none;
97
+ }
98
+ .vxe-splitter--resizable-splitter-number-prev,
99
+ .vxe-splitter--resizable-splitter-number-next {
100
+ position: absolute;
101
+ padding: 0.25em 0.25em;
102
+ font-size: 12px;
103
+ border-radius: var(--vxe-ui-border-radius);
104
+ white-space: nowrap;
105
+ color: #ffffff;
106
+ background-color: var(--vxe-ui-splitter-resizable-drag-line-color);
107
+ }
108
+
109
+ .vxe-splitter-wrapper {
110
+ height: 100%;
111
+ display: flex;
112
+ flex-direction: row;
113
+ overflow: hidden;
114
+ }
115
+
116
+ .vxe-splitter-slots {
117
+ display: none;
118
+ }
119
+
120
+ .vxe-splitter-panel-handle {
121
+ display: flex;
122
+ position: relative;
123
+ flex-shrink: 0;
124
+ user-select: none;
125
+ }
126
+
127
+ .vxe-splitter-panel--wrapper {
128
+ position: relative;
129
+ word-break: break-word;
130
+ overflow: hidden;
131
+ flex-grow: 1;
132
+ }
133
+ .vxe-splitter-panel--inner {
134
+ height: 100%;
135
+ width: 100%;
136
+ overflow: auto;
137
+ & > .vxe-splitter {
138
+ height: 100%;
139
+ }
140
+ }
141
+ .vxe-splitter-panel-handle-bar {
142
+ background-color: var(--vxe-ui-splitter-handle-bar-background-color);
143
+ &:hover {
144
+ background-color: var(--vxe-ui-splitter-handle-bar-hover-background-color);
145
+ }
146
+ }
147
+
148
+ .vxe-splitter-panel-action-btn-wrapper {
149
+ position: absolute;
150
+ display: flex;
151
+ top: 50%;
152
+ left: 50%;
153
+ transform: translate(-50%, -50%);
154
+ z-index: 2;
155
+ }
156
+ .vxe-splitter-panel-action-btn {
157
+ display: flex;
158
+ flex-direction: row;
159
+ align-items: center;
160
+ justify-content: center;
161
+ border-radius: var(--vxe-ui-base-border-radius);
162
+ color: var(--vxe-ui-layout-background-color);
163
+ background-color: var(--vxe-ui-splitter-handle-button-background-color);
164
+ border: 1px solid var(--vxe-ui-input-border-color);
165
+ cursor: pointer;
166
+ @include baseMixin.createAnimationTransition(transform, 0.1s);
167
+ &:hover {
168
+ color: #ffffff;
169
+ background-color: var(--vxe-ui-font-primary-color);
170
+ }
171
+ &:active {
172
+ transform: scale(0.9);
173
+ }
174
+ & > i {
175
+ font-size: 0.6em;
176
+ }
177
+ }
178
+ .vxe-splitter-panel-handle {
179
+ &.is--horizontal {
180
+ flex-direction: row;
181
+ &.is--border {
182
+ border-width: 1px 0 1px 0;
183
+ }
184
+ .vxe-splitter-panel-action-btn-wrapper {
185
+ flex-direction: column;
186
+ & div {
187
+ margin-top: 1em;
188
+ &:first-child {
189
+ margin-top: 0;
190
+ }
191
+ }
192
+ }
193
+ .vxe-splitter-panel-handle-bar {
194
+ width: var(--vxe-ui-splitter-handle-bar-horizontal-width);
195
+ height: 100%;
196
+ }
197
+ .vxe-splitter-panel-action-btn {
198
+ width: var(--vxe-ui-splitter-handle-bar-horizontal-width);
199
+ height: var(--vxe-ui-splitter-handle-bar-horizontal-height);
200
+ }
201
+ }
202
+ &.is--vertical {
203
+ flex-direction: column;
204
+ &.is--border {
205
+ border-width: 0 1px 0 1px;
206
+ }
207
+ .vxe-splitter-panel-action-btn-wrapper {
208
+ flex-direction: row;
209
+ & div {
210
+ margin-left: 1em;
211
+ &:first-child {
212
+ margin-left: 0;
213
+ }
214
+ }
215
+ }
216
+ .vxe-splitter-panel-handle-bar {
217
+ height: var(--vxe-ui-splitter-handle-bar-vertical-height);
218
+ width: 100%;
219
+ }
220
+ .vxe-splitter-panel-action-btn {
221
+ width: var(--vxe-ui-splitter-handle-bar-vertical-width);
222
+ height: var(--vxe-ui-splitter-handle-bar-vertical-height);
223
+ }
224
+ }
225
+ &.is--resize {
226
+ &.is-resize--immediate {
227
+ &.is--horizontal {
228
+ .vxe-splitter-panel-handle-bar {
229
+ cursor: w-resize;
230
+ }
231
+ }
232
+ &.is--vertical {
233
+ .vxe-splitter-panel-handle-bar {
234
+ cursor: n-resize;
235
+ }
236
+ }
237
+ & > .vxe-splitter-panel-handle-bar {
238
+ &:active {
239
+ background-color: var(--vxe-ui-font-primary-color);
240
+ }
241
+ }
242
+ }
243
+ &.is-resize--lazy {
244
+ &.is--horizontal {
245
+ .vxe-splitter-panel-handle-bar {
246
+ cursor: col-resize;
247
+ }
248
+ }
249
+ &.is--vertical {
250
+ .vxe-splitter-panel-handle-bar {
251
+ cursor: row-resize;
252
+ }
253
+ }
254
+ }
255
+ }
256
+ }
257
+
258
+ .vxe-splitter-panel {
259
+ display: flex;
260
+ position: relative;
261
+ overflow: hidden;
262
+ &.is--fill {
263
+ flex-grow: 1;
264
+ }
265
+ &.is--hidden {
266
+ &.is--horizontal {
267
+ width: 0;
268
+ }
269
+ &.is--vertical {
270
+ height: 0;
271
+ }
272
+ }
273
+ &.is--padding {
274
+ & > .vxe-splitter-panel--wrapper {
275
+ padding: var(--vxe-ui-layout-padding-default);
276
+ }
277
+ }
278
+ &.is--hidden,
279
+ &.is--width,
280
+ &.is--height {
281
+ flex-shrink: 0;
282
+ }
283
+ &.is--border {
284
+ & > .vxe-splitter-panel--wrapper {
285
+ border: 1px solid var(--vxe-ui-base-popup-border-color);
286
+ }
287
+ }
288
+ }
289
+
290
+ .vxe-splitter--render-vars {
291
+ width: 0;
292
+ height: 0;
293
+ overflow: hidden;
294
+ .vxe-splitter--handle-bar-info {
295
+ width: var(--vxe-ui-splitter-handle-bar-horizontal-width);
296
+ height: var(--vxe-ui-splitter-handle-bar-vertical-height);
297
+ }
298
+ }
299
+
300
+ .vxe-modal--content {
301
+ & > .vxe-splitter {
302
+ height: 100%;
303
+ }
304
+ }
305
+
306
+ .vxe-splitter {
307
+ font-size: var(--vxe-ui-font-size-default);
308
+ &.size--medium {
309
+ font-size: var(--vxe-ui-font-size-medium);
310
+ }
311
+ &.size--small {
312
+ font-size: var(--vxe-ui-font-size-small);
313
+ }
314
+ &.size--mini {
315
+ font-size: var(--vxe-ui-font-size-mini);
316
+ }
317
+ }
@@ -191,10 +191,10 @@
191
191
  --vxe-ui-calendar-notice-selected-background-color: var(--vxe-ui-calendar-selected-color);
192
192
 
193
193
  /*split*/
194
- --vxe-ui-split-handle-bar-horizontal-width: 0.68em;
195
- --vxe-ui-split-handle-bar-horizontal-height: 6.8em;
196
- --vxe-ui-split-handle-bar-vertical-width: var(--vxe-ui-split-handle-bar-horizontal-height);
197
- --vxe-ui-split-handle-bar-vertical-height: var(--vxe-ui-split-handle-bar-horizontal-width);
198
- --vxe-ui-split-resizable-line-color: #D9DDDF;
199
- --vxe-ui-split-resizable-drag-line-color: var(--vxe-ui-font-primary-color);
194
+ --vxe-ui-splitter-handle-bar-horizontal-width: 0.68em;
195
+ --vxe-ui-splitter-handle-bar-horizontal-height: 3.2em;
196
+ --vxe-ui-splitter-handle-bar-vertical-width: var(--vxe-ui-splitter-handle-bar-horizontal-height);
197
+ --vxe-ui-splitter-handle-bar-vertical-height: var(--vxe-ui-splitter-handle-bar-horizontal-width);
198
+ --vxe-ui-splitter-resizable-line-color: #D9DDDF;
199
+ --vxe-ui-splitter-resizable-drag-line-color: var(--vxe-ui-font-primary-color);
200
200
  }
@@ -112,7 +112,7 @@
112
112
  --vxe-ui-rate-item-color: #bd9537;
113
113
 
114
114
  /*split*/
115
- --vxe-ui-split-handle-button-background-color: #9f9f9f;
116
- --vxe-ui-split-handle-bar-background-color: #444444;
117
- --vxe-ui-split-handle-bar-hover-background-color: #606060;
115
+ --vxe-ui-splitter-handle-button-background-color: #9f9f9f;
116
+ --vxe-ui-splitter-handle-bar-background-color: #444444;
117
+ --vxe-ui-splitter-handle-bar-hover-background-color: #606060;
118
118
  }
@@ -111,7 +111,7 @@
111
111
  --vxe-ui-rate-item-color: #{light_variable.$vxe-ui-rate-item-color};
112
112
 
113
113
  /*split*/
114
- --vxe-ui-split-handle-button-background-color: #{light_variable.$vxe-ui-split-handle-button-background-color};
115
- --vxe-ui-split-handle-bar-background-color: #{light_variable.$vxe-ui-split-handle-bar-background-color};
116
- --vxe-ui-split-handle-bar-hover-background-color: #{light_variable.$vxe-ui-split-handle-bar-hover-background-color};
114
+ --vxe-ui-splitter-handle-button-background-color: #{light_variable.$vxe-ui-splitter-handle-button-background-color};
115
+ --vxe-ui-splitter-handle-bar-background-color: #{light_variable.$vxe-ui-splitter-handle-bar-background-color};
116
+ --vxe-ui-splitter-handle-bar-hover-background-color: #{light_variable.$vxe-ui-splitter-handle-bar-hover-background-color};
117
117
  }
@@ -104,7 +104,7 @@ $vxe-ui-tree-node-hover-current-background-color: #d7effb !default;
104
104
  $vxe-ui-rate-item-color: #f7ba2a !default;
105
105
 
106
106
  /*split*/
107
- $vxe-ui-split-handle-button-background-color: #8b8b8b;
108
- $vxe-ui-split-handle-bar-background-color: #e2e2e3;
109
- $vxe-ui-split-handle-bar-hover-background-color: #d8d8d8;
107
+ $vxe-ui-splitter-handle-button-background-color: #8b8b8b;
108
+ $vxe-ui-splitter-handle-bar-background-color: #e2e2e3;
109
+ $vxe-ui-splitter-handle-bar-hover-background-color: #d8d8d8;
110
110
 
package/types/all.d.ts CHANGED
@@ -62,6 +62,8 @@ import VxeRadioGroup from './components/radio-group'
62
62
  import VxeResult from './components/result'
63
63
  import VxeRow from './components/row'
64
64
  import VxeSelect from './components/select'
65
+ import VxeSplitter from './components/splitter'
66
+ import VxeSplitterPanel from './components/splitter-panel'
65
67
  import VxeSplit from './components/split'
66
68
  import VxeSplitPane from './components/split-pane'
67
69
  import VxeSlider from './components/slider'
@@ -165,6 +167,8 @@ interface AllComponents {
165
167
  VxeResult: typeof VxeResult
166
168
  VxeRow: typeof VxeRow
167
169
  VxeSelect: typeof VxeSelect
170
+ VxeSplitter: typeof VxeSplitter
171
+ VxeSplitterPanel: typeof VxeSplitterPanel
168
172
  VxeSplit: typeof VxeSplit
169
173
  VxeSplitPane: typeof VxeSplitPane
170
174
  VxeSlider: typeof VxeSlider
@@ -277,6 +281,8 @@ export * from './components/rate'
277
281
  export * from './components/result'
278
282
  export * from './components/row'
279
283
  export * from './components/select'
284
+ export * from './components/splitter'
285
+ export * from './components/splitter-panel'
280
286
  export * from './components/split'
281
287
  export * from './components/split-pane'
282
288
  export * from './components/slider'