vxe-pc-ui 4.4.25 → 4.5.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.
Files changed (125) hide show
  1. package/es/col/style.css +0 -105
  2. package/es/col/style.min.css +0 -1
  3. package/es/components.js +6 -0
  4. package/es/icon/style.css +1 -1
  5. package/es/modal/src/modal.js +2 -4
  6. package/es/row/style.css +106 -0
  7. package/es/row/style.min.css +1 -1
  8. package/es/select/src/select.js +4 -3
  9. package/es/split/index.js +12 -0
  10. package/es/split/src/split-item.js +93 -0
  11. package/es/split/src/split.js +292 -0
  12. package/es/split/src/util.js +17 -0
  13. package/es/split/style.css +88 -0
  14. package/es/split/style.min.css +1 -0
  15. package/es/split-item/index.js +12 -0
  16. package/es/split-item/style.css +0 -0
  17. package/es/split-item/style.min.css +0 -0
  18. package/es/style.css +1 -1
  19. package/es/style.min.css +1 -1
  20. package/es/ui/index.js +6 -1
  21. package/es/ui/src/log.js +1 -1
  22. package/es/ui/src/utils.js +6 -0
  23. package/es/vxe-col/style.css +0 -105
  24. package/es/vxe-col/style.min.css +0 -1
  25. package/es/vxe-row/style.css +106 -0
  26. package/es/vxe-row/style.min.css +1 -1
  27. package/es/vxe-split/index.js +3 -0
  28. package/es/vxe-split/style.css +88 -0
  29. package/es/vxe-split/style.min.css +1 -0
  30. package/es/vxe-split-item/index.js +3 -0
  31. package/es/vxe-split-item/style.css +0 -0
  32. package/es/vxe-split-item/style.min.css +0 -0
  33. package/lib/col/style/style.css +0 -105
  34. package/lib/col/style/style.min.css +0 -1
  35. package/lib/components.js +25 -1
  36. package/lib/components.min.js +1 -1
  37. package/lib/icon/style/style.css +1 -1
  38. package/lib/icon/style/style.min.css +1 -1
  39. package/lib/index.umd.js +488 -10
  40. package/lib/index.umd.min.js +1 -1
  41. package/lib/modal/src/modal.js +2 -4
  42. package/lib/modal/src/modal.min.js +1 -1
  43. package/lib/row/style/style.css +106 -0
  44. package/lib/row/style/style.min.css +1 -1
  45. package/lib/select/src/select.js +7 -3
  46. package/lib/select/src/select.min.js +1 -1
  47. package/lib/split/index.js +19 -0
  48. package/lib/split/index.min.js +1 -0
  49. package/lib/split/src/split-item.js +105 -0
  50. package/lib/split/src/split-item.min.js +1 -0
  51. package/lib/split/src/split.js +315 -0
  52. package/lib/split/src/split.min.js +1 -0
  53. package/lib/split/src/util.js +25 -0
  54. package/lib/split/src/util.min.js +1 -0
  55. package/lib/split/style/index.js +1 -0
  56. package/lib/split/style/style.css +88 -0
  57. package/lib/split/style/style.min.css +1 -0
  58. package/lib/split-item/index.js +19 -0
  59. package/lib/split-item/index.min.js +1 -0
  60. package/lib/split-item/style/index.js +1 -0
  61. package/lib/split-item/style/style.css +0 -0
  62. package/lib/split-item/style/style.min.css +0 -0
  63. package/lib/style.css +1 -1
  64. package/lib/style.min.css +1 -1
  65. package/lib/ui/index.js +6 -1
  66. package/lib/ui/index.min.js +1 -1
  67. package/lib/ui/src/log.js +1 -1
  68. package/lib/ui/src/log.min.js +1 -1
  69. package/lib/ui/src/utils.js +7 -0
  70. package/lib/ui/src/utils.min.js +1 -1
  71. package/lib/vxe-col/style/style.css +0 -105
  72. package/lib/vxe-col/style/style.min.css +0 -1
  73. package/lib/vxe-row/style/style.css +106 -0
  74. package/lib/vxe-row/style/style.min.css +1 -1
  75. package/lib/vxe-split/index.js +22 -0
  76. package/lib/vxe-split/index.min.js +1 -0
  77. package/lib/vxe-split/style/index.js +1 -0
  78. package/lib/vxe-split/style/style.css +88 -0
  79. package/lib/vxe-split/style/style.min.css +1 -0
  80. package/lib/vxe-split-item/index.js +22 -0
  81. package/lib/vxe-split-item/index.min.js +1 -0
  82. package/lib/vxe-split-item/style/index.js +1 -0
  83. package/lib/vxe-split-item/style/style.css +0 -0
  84. package/lib/vxe-split-item/style/style.min.css +0 -0
  85. package/package.json +2 -2
  86. package/packages/components.ts +6 -0
  87. package/packages/modal/src/modal.ts +2 -4
  88. package/packages/row/src/col.ts +5 -5
  89. package/packages/select/src/select.ts +4 -3
  90. package/packages/split/index.ts +16 -0
  91. package/packages/split/src/split-item.ts +125 -0
  92. package/packages/split/src/split.ts +315 -0
  93. package/packages/split/src/util.ts +21 -0
  94. package/packages/split-item/index.ts +16 -0
  95. package/packages/ui/index.ts +5 -0
  96. package/packages/ui/src/utils.ts +7 -0
  97. package/styles/all.scss +2 -0
  98. package/styles/components/col.scss +0 -61
  99. package/styles/components/row.scss +59 -0
  100. package/styles/components/split-item.scss +0 -0
  101. package/styles/components/split.scss +103 -0
  102. package/styles/helpers/baseVar.scss +4 -0
  103. package/styles/theme/base.scss +5 -1
  104. package/styles/theme/dark.scss +3 -0
  105. package/styles/theme/light.scss +3 -0
  106. package/styles/variable.scss +4 -0
  107. package/types/all.d.ts +6 -0
  108. package/types/components/col.d.ts +11 -1
  109. package/types/components/split-item.d.ts +89 -0
  110. package/types/components/split.d.ts +96 -0
  111. package/types/components/table-plugins/extend-cell-area.d.ts +54 -0
  112. package/types/components/table.d.ts +131 -11
  113. package/types/ui/global-config.d.ts +4 -0
  114. /package/es/icon/{iconfont.1742881828559.ttf → iconfont.1743044808708.ttf} +0 -0
  115. /package/es/icon/{iconfont.1742881828559.woff → iconfont.1743044808708.woff} +0 -0
  116. /package/es/icon/{iconfont.1742881828559.woff2 → iconfont.1743044808708.woff2} +0 -0
  117. /package/es/{iconfont.1742881828559.ttf → iconfont.1743044808708.ttf} +0 -0
  118. /package/es/{iconfont.1742881828559.woff → iconfont.1743044808708.woff} +0 -0
  119. /package/es/{iconfont.1742881828559.woff2 → iconfont.1743044808708.woff2} +0 -0
  120. /package/lib/icon/style/{iconfont.1742881828559.ttf → iconfont.1743044808708.ttf} +0 -0
  121. /package/lib/icon/style/{iconfont.1742881828559.woff → iconfont.1743044808708.woff} +0 -0
  122. /package/lib/icon/style/{iconfont.1742881828559.woff2 → iconfont.1743044808708.woff2} +0 -0
  123. /package/lib/{iconfont.1742881828559.ttf → iconfont.1743044808708.ttf} +0 -0
  124. /package/lib/{iconfont.1742881828559.woff → iconfont.1743044808708.woff} +0 -0
  125. /package/lib/{iconfont.1742881828559.woff2 → iconfont.1743044808708.woff2} +0 -0
@@ -0,0 +1,292 @@
1
+ import { defineComponent, ref, h, reactive, provide, watch, nextTick, onMounted, onActivated } from 'vue';
2
+ import { getConfig, createEvent, renderEmptyElement } from '../../ui';
3
+ import { getSlotVNs } from '../../ui/src/vn';
4
+ import { toCssUnit, isScale, addClass, removeClass } from '../../ui/src/dom';
5
+ import { getGlobalDefaultConfig } from '../../ui/src/utils';
6
+ import XEUtils from 'xe-utils';
7
+ export default defineComponent({
8
+ name: 'VxeSplit',
9
+ props: {
10
+ resize: {
11
+ type: Boolean,
12
+ default: null
13
+ },
14
+ vertical: {
15
+ type: Boolean,
16
+ default: () => getConfig().split.vertical
17
+ },
18
+ border: {
19
+ type: Boolean,
20
+ default: () => getConfig().split.border
21
+ },
22
+ minWidth: {
23
+ type: [Number, String],
24
+ default: () => getConfig().split.minWidth
25
+ },
26
+ minHeight: {
27
+ type: [Number, String],
28
+ default: () => getConfig().split.minHeight
29
+ }
30
+ },
31
+ emits: [],
32
+ setup(props, context) {
33
+ const { emit, slots } = context;
34
+ const xID = XEUtils.uniqueId();
35
+ const refElem = ref();
36
+ const reactData = reactive({
37
+ staticItems: []
38
+ });
39
+ const internalData = {};
40
+ const computeMaps = {};
41
+ const refMaps = {
42
+ refElem
43
+ };
44
+ const $xeSplit = {
45
+ xID,
46
+ props,
47
+ context,
48
+ reactData,
49
+ internalData,
50
+ getRefMaps: () => refMaps,
51
+ getComputeMaps: () => computeMaps
52
+ };
53
+ const dispatchEvent = (type, params, evnt) => {
54
+ emit(type, createEvent(evnt, { $split: $xeSplit }, params));
55
+ };
56
+ const callSlot = (slotFunc, params) => {
57
+ if (slotFunc) {
58
+ if (XEUtils.isString(slotFunc)) {
59
+ slotFunc = slots[slotFunc] || null;
60
+ }
61
+ if (XEUtils.isFunction(slotFunc)) {
62
+ return getSlotVNs(slotFunc(params));
63
+ }
64
+ }
65
+ return [];
66
+ };
67
+ const recalculate = () => {
68
+ return nextTick().then(() => {
69
+ const { vertical, minWidth, minHeight } = props;
70
+ const { staticItems } = reactData;
71
+ const el = refElem.value;
72
+ if (!el) {
73
+ return;
74
+ }
75
+ const wrapperWidth = el.clientWidth;
76
+ const wrapperHeight = el.clientHeight;
77
+ if (!wrapperWidth || !wrapperHeight) {
78
+ return;
79
+ }
80
+ const residueItems = [];
81
+ if (vertical) {
82
+ let countHeight = 0;
83
+ staticItems.forEach(item => {
84
+ const { height } = item;
85
+ let itemHeight = 0;
86
+ if (height) {
87
+ if (isScale(height)) {
88
+ itemHeight = wrapperHeight * XEUtils.toNumber(height);
89
+ }
90
+ else {
91
+ itemHeight = XEUtils.toNumber(height);
92
+ }
93
+ item.renderHeight = itemHeight;
94
+ }
95
+ else {
96
+ residueItems.push(item);
97
+ }
98
+ countHeight += itemHeight;
99
+ });
100
+ if (residueItems.length) {
101
+ const reMeanHeight = (wrapperHeight - countHeight) / residueItems.length;
102
+ residueItems.forEach(item => {
103
+ item.renderHeight = Math.max(getGlobalDefaultConfig(item.minHeight, minHeight), reMeanHeight);
104
+ });
105
+ }
106
+ }
107
+ else {
108
+ let countWidth = 0;
109
+ staticItems.forEach(item => {
110
+ const { width } = item;
111
+ let itemWidth = 0;
112
+ if (width) {
113
+ if (isScale(width)) {
114
+ itemWidth = wrapperWidth * XEUtils.toNumber(width);
115
+ }
116
+ else {
117
+ itemWidth = XEUtils.toNumber(width);
118
+ }
119
+ item.renderWidth = itemWidth;
120
+ }
121
+ else {
122
+ residueItems.push(item);
123
+ }
124
+ countWidth += itemWidth;
125
+ });
126
+ if (residueItems.length) {
127
+ const reMeanWidth = (wrapperWidth - countWidth) / residueItems.length;
128
+ residueItems.forEach(item => {
129
+ item.renderWidth = Math.max(getGlobalDefaultConfig(item.minWidth, minWidth), reMeanWidth);
130
+ });
131
+ }
132
+ }
133
+ });
134
+ };
135
+ const dragEvent = (evnt) => {
136
+ evnt.preventDefault();
137
+ const { vertical, minWidth, minHeight } = props;
138
+ const { staticItems } = reactData;
139
+ const handleEl = evnt.currentTarget;
140
+ const el = refElem.value;
141
+ if (!el) {
142
+ return;
143
+ }
144
+ const itemId = handleEl.getAttribute('xid');
145
+ const itemIndex = XEUtils.findIndexOf(staticItems, item => item.id === itemId);
146
+ const item = staticItems[itemIndex];
147
+ if (!item) {
148
+ return;
149
+ }
150
+ const prevItem = staticItems[itemIndex - 1];
151
+ const prevItemEl = prevItem ? el.querySelector(`.vxe-split-item[xid="${prevItem.id}"]`) : null;
152
+ const currItemEl = item ? el.querySelector(`.vxe-split-item[xid="${item.id}"]`) : null;
153
+ const prevWidth = prevItemEl ? prevItemEl.clientWidth : 0;
154
+ const currWidth = currItemEl ? currItemEl.clientWidth : 0;
155
+ const prevHeight = prevItemEl ? prevItemEl.clientHeight : 0;
156
+ const currHeight = currItemEl ? currItemEl.clientHeight : 0;
157
+ const prevMinWidth = prevItem ? getGlobalDefaultConfig(prevItem.minWidth, minWidth) : minWidth;
158
+ const currMinWidth = getGlobalDefaultConfig(item.minWidth, minWidth);
159
+ const prevMinHeight = prevItem ? getGlobalDefaultConfig(prevItem.minHeight, minHeight) : minHeight;
160
+ const currMinHeight = getGlobalDefaultConfig(item.minHeight, minHeight);
161
+ const disX = evnt.clientX;
162
+ const disY = evnt.clientY;
163
+ addClass(el, 'is--drag');
164
+ document.onmousemove = evnt => {
165
+ evnt.preventDefault();
166
+ if (vertical) {
167
+ const offsetTop = evnt.clientY - disY;
168
+ if (offsetTop > 0) {
169
+ if (prevItem) {
170
+ if (currHeight - offsetTop >= currMinHeight) {
171
+ prevItem.renderHeight = prevHeight + offsetTop;
172
+ item.renderHeight = currHeight - offsetTop;
173
+ }
174
+ }
175
+ }
176
+ else {
177
+ if (prevItem) {
178
+ if (prevHeight + offsetTop >= prevMinHeight) {
179
+ prevItem.renderHeight = prevHeight + offsetTop;
180
+ item.renderHeight = currHeight - offsetTop;
181
+ }
182
+ }
183
+ }
184
+ }
185
+ else {
186
+ const offsetLeft = evnt.clientX - disX;
187
+ if (offsetLeft > 0) {
188
+ if (prevItem) {
189
+ if (currWidth - offsetLeft >= currMinWidth) {
190
+ prevItem.renderWidth = prevWidth + offsetLeft;
191
+ item.renderWidth = currWidth - offsetLeft;
192
+ }
193
+ }
194
+ }
195
+ else {
196
+ if (prevItem) {
197
+ if (prevWidth + offsetLeft >= prevMinWidth) {
198
+ prevItem.renderWidth = prevWidth + offsetLeft;
199
+ item.renderWidth = currWidth - offsetLeft;
200
+ }
201
+ }
202
+ }
203
+ }
204
+ };
205
+ document.onmouseup = () => {
206
+ document.onmousemove = null;
207
+ document.onmouseup = null;
208
+ removeClass(el, 'is--drag');
209
+ };
210
+ };
211
+ const splitMethods = {
212
+ dispatchEvent,
213
+ recalculate
214
+ };
215
+ const splitPrivateMethods = {};
216
+ Object.assign($xeSplit, splitMethods, splitPrivateMethods);
217
+ const renderItems = () => {
218
+ const { border, vertical } = props;
219
+ const { staticItems } = reactData;
220
+ const itemVNs = [];
221
+ staticItems.forEach((item, index) => {
222
+ const { id, slots, renderHeight, renderWidth } = item;
223
+ const defaultSlot = slots ? slots.default : null;
224
+ const stys = {};
225
+ if (vertical) {
226
+ if (renderHeight) {
227
+ stys.height = toCssUnit(renderHeight);
228
+ }
229
+ }
230
+ else {
231
+ if (renderWidth) {
232
+ stys.width = toCssUnit(renderWidth);
233
+ }
234
+ }
235
+ itemVNs.push(h('div', {
236
+ xid: id,
237
+ class: ['vxe-split-item', vertical ? 'is--vertical' : 'is--horizontal', {
238
+ 'is--border': border,
239
+ 'is--height': renderHeight,
240
+ 'is--width': renderWidth,
241
+ 'is--fill': !renderHeight && !renderWidth,
242
+ 'is--handle': index > 0
243
+ }],
244
+ style: stys
245
+ }, [
246
+ index
247
+ ? h('div', {
248
+ xid: id,
249
+ class: 'vxe-split-item-handle',
250
+ onMousedown: dragEvent
251
+ })
252
+ : renderEmptyElement($xeSplit),
253
+ h('div', {
254
+ xid: id,
255
+ class: 'vxe-split-item--wrapper'
256
+ }, defaultSlot ? callSlot(defaultSlot, {}) : [])
257
+ ]));
258
+ });
259
+ return h('div', {
260
+ class: 'vxe-split-wrapper'
261
+ }, itemVNs);
262
+ };
263
+ const renderVN = () => {
264
+ const { vertical } = props;
265
+ const defaultSlot = slots.default;
266
+ return h('div', {
267
+ ref: refElem,
268
+ class: ['vxe-split', vertical ? 'is--vertical' : 'is--horizontal']
269
+ }, [
270
+ h('div', {
271
+ class: 'vxe-split-slots'
272
+ }, defaultSlot ? defaultSlot({}) : []),
273
+ renderItems()
274
+ ]);
275
+ };
276
+ watch(() => reactData.staticItems, () => {
277
+ recalculate();
278
+ });
279
+ onMounted(() => {
280
+ recalculate();
281
+ });
282
+ onActivated(() => {
283
+ recalculate();
284
+ });
285
+ provide('$xeSplit', $xeSplit);
286
+ $xeSplit.renderVN = renderVN;
287
+ return $xeSplit;
288
+ },
289
+ render() {
290
+ return this.renderVN();
291
+ }
292
+ });
@@ -0,0 +1,17 @@
1
+ import XEUtils from 'xe-utils';
2
+ export function assembleSplitItem($xeSplit, elem, itemConfig) {
3
+ const staticItems = $xeSplit.reactData.staticItems;
4
+ const parentElem = elem.parentNode;
5
+ if (parentElem) {
6
+ staticItems.splice(XEUtils.arrayIndexOf(parentElem.children, elem), 0, itemConfig);
7
+ $xeSplit.reactData.staticItems = staticItems.slice(0);
8
+ }
9
+ }
10
+ export function destroySplitItem($xeSplit, itemConfig) {
11
+ const staticItems = $xeSplit.reactData.staticItems;
12
+ const index = XEUtils.findIndexOf(staticItems, item => item.id === itemConfig.id);
13
+ if (index > -1) {
14
+ staticItems.splice(index, 1);
15
+ }
16
+ $xeSplit.reactData.staticItems = staticItems.slice(0);
17
+ }
@@ -0,0 +1,88 @@
1
+ .vxe-split.is--vertical > .vxe-split-wrapper {
2
+ flex-direction: column;
3
+ }
4
+ .vxe-split.is--vertical > .vxe-split-wrapper > .vxe-split-item {
5
+ width: 100%;
6
+ }
7
+ .vxe-split.is--drag {
8
+ -webkit-user-select: none;
9
+ -moz-user-select: none;
10
+ user-select: none;
11
+ }
12
+ .vxe-split.is--drag > .vxe-split-wrapper > .vxe-split-item > .vxe-split-item--wrapper::after {
13
+ content: "";
14
+ position: absolute;
15
+ top: 0;
16
+ left: 0;
17
+ width: 100%;
18
+ height: 100%;
19
+ z-index: 1;
20
+ background: transparent;
21
+ }
22
+
23
+ .vxe-split-wrapper {
24
+ height: 100%;
25
+ display: flex;
26
+ flex-direction: row;
27
+ overflow: hidden;
28
+ }
29
+
30
+ .vxe-split-slots {
31
+ display: none;
32
+ }
33
+
34
+ .vxe-split-item-handle {
35
+ flex-shrink: 0;
36
+ background-color: var(--vxe-split-handle-bar-background-color);
37
+ -webkit-user-select: none;
38
+ -moz-user-select: none;
39
+ user-select: none;
40
+ }
41
+ .vxe-split-item-handle:hover {
42
+ background-color: var(--vxe-ui-font-primary-lighten-color);
43
+ }
44
+ .vxe-split-item-handle:active {
45
+ background-color: var(--vxe-ui-font-primary-darken-color);
46
+ }
47
+
48
+ .vxe-split-item--wrapper {
49
+ position: relative;
50
+ word-break: break-word;
51
+ overflow: auto;
52
+ flex-grow: 1;
53
+ }
54
+
55
+ .vxe-split-item {
56
+ display: flex;
57
+ position: relative;
58
+ overflow: auto;
59
+ }
60
+ .vxe-split-item.is--fill {
61
+ flex-grow: 1;
62
+ }
63
+ .vxe-split-item.is--width, .vxe-split-item.is--height {
64
+ flex-shrink: 0;
65
+ }
66
+ .vxe-split-item.is--border > .vxe-split-item--wrapper, .vxe-split-item.is--border > .vxe-split-item-handle {
67
+ border: 1px solid var(--vxe-ui-base-popup-border-color);
68
+ }
69
+ .vxe-split-item.is--horizontal {
70
+ flex-direction: row;
71
+ }
72
+ .vxe-split-item.is--horizontal > .vxe-split-item-handle {
73
+ width: var(--vxe-split-handle-bar-width);
74
+ cursor: w-resize;
75
+ }
76
+ .vxe-split-item.is--horizontal.is--border > .vxe-split-item-handle {
77
+ border-width: 1px 0 1px 0;
78
+ }
79
+ .vxe-split-item.is--vertical {
80
+ flex-direction: column;
81
+ }
82
+ .vxe-split-item.is--vertical > .vxe-split-item-handle {
83
+ height: var(--vxe-split-handle-bar-height);
84
+ cursor: n-resize;
85
+ }
86
+ .vxe-split-item.is--vertical.is--border > .vxe-split-item-handle {
87
+ border-width: 0 1px 0 1px;
88
+ }
@@ -0,0 +1 @@
1
+ .vxe-split.is--vertical>.vxe-split-wrapper{flex-direction:column}.vxe-split.is--vertical>.vxe-split-wrapper>.vxe-split-item{width:100%}.vxe-split.is--drag{-webkit-user-select:none;-moz-user-select:none;user-select:none}.vxe-split.is--drag>.vxe-split-wrapper>.vxe-split-item>.vxe-split-item--wrapper::after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;background:0 0}.vxe-split-wrapper{height:100%;display:flex;flex-direction:row;overflow:hidden}.vxe-split-slots{display:none}.vxe-split-item-handle{flex-shrink:0;background-color:var(--vxe-split-handle-bar-background-color);-webkit-user-select:none;-moz-user-select:none;user-select:none}.vxe-split-item-handle:hover{background-color:var(--vxe-ui-font-primary-lighten-color)}.vxe-split-item-handle:active{background-color:var(--vxe-ui-font-primary-darken-color)}.vxe-split-item--wrapper{position:relative;word-break:break-word;overflow:auto;flex-grow:1}.vxe-split-item{display:flex;position:relative;overflow:auto}.vxe-split-item.is--fill{flex-grow:1}.vxe-split-item.is--height,.vxe-split-item.is--width{flex-shrink:0}.vxe-split-item.is--border>.vxe-split-item--wrapper,.vxe-split-item.is--border>.vxe-split-item-handle{border:1px solid var(--vxe-ui-base-popup-border-color)}.vxe-split-item.is--horizontal{flex-direction:row}.vxe-split-item.is--horizontal>.vxe-split-item-handle{width:var(--vxe-split-handle-bar-width);cursor:w-resize}.vxe-split-item.is--horizontal.is--border>.vxe-split-item-handle{border-width:1px 0 1px 0}.vxe-split-item.is--vertical{flex-direction:column}.vxe-split-item.is--vertical>.vxe-split-item-handle{height:var(--vxe-split-handle-bar-height);cursor:n-resize}.vxe-split-item.is--vertical.is--border>.vxe-split-item-handle{border-width:0 1px 0 1px}
@@ -0,0 +1,12 @@
1
+ import { VxeUI } from '@vxe-ui/core';
2
+ import VxeSplitItemComponent from '../split/src/split-item';
3
+ import { dynamicApp } from '../dynamics';
4
+ export const VxeSplitItem = Object.assign({}, VxeSplitItemComponent, {
5
+ install(app) {
6
+ app.component(VxeSplitItemComponent.name, VxeSplitItemComponent);
7
+ }
8
+ });
9
+ dynamicApp.use(VxeSplitItem);
10
+ VxeUI.component(VxeSplitItemComponent);
11
+ export const SplitItem = VxeSplitItem;
12
+ export default VxeSplitItem;
File without changes
File without changes