vxe-pc-ui 4.5.5 → 4.5.7
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/es/components.js +3 -3
- package/es/icon/style.css +1 -1
- package/es/modal/src/modal.js +1 -2
- package/es/split/src/{split-item.js → split-pane.js} +14 -14
- package/es/split/src/split.js +10 -10
- package/es/split/src/util.js +4 -4
- package/es/split/style.css +35 -35
- package/es/split/style.min.css +1 -1
- package/es/split-pane/index.js +13 -0
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +2 -2
- package/es/ui/src/log.js +1 -1
- package/es/upload/src/upload.js +15 -15
- package/es/upload/style.css +1 -1
- package/es/upload/style.min.css +1 -1
- package/es/vxe-split/style.css +35 -35
- package/es/vxe-split/style.min.css +1 -1
- package/es/vxe-split-pane/index.js +3 -0
- package/es/vxe-upload/style.css +1 -1
- package/es/vxe-upload/style.min.css +1 -1
- package/lib/components.js +5 -5
- package/lib/components.min.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +63 -63
- package/lib/index.umd.min.js +1 -1
- package/lib/modal/src/modal.js +1 -2
- package/lib/modal/src/modal.min.js +1 -1
- package/lib/split/src/{split-item.js → split-pane.js} +14 -14
- package/lib/split/src/{split-item.min.js → split-pane.min.js} +1 -1
- package/lib/split/src/split.js +10 -10
- package/lib/split/src/split.min.js +1 -1
- package/lib/split/src/util.js +4 -4
- package/lib/split/style/style.css +35 -35
- package/lib/split/style/style.min.css +1 -1
- package/lib/split-pane/index.js +20 -0
- package/lib/split-pane/index.min.js +1 -0
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/ui/index.js +2 -2
- 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/lib/upload/src/upload.js +16 -16
- package/lib/upload/src/upload.min.js +1 -1
- package/lib/upload/style/style.css +1 -1
- package/lib/upload/style/style.min.css +1 -1
- package/lib/vxe-split/style/style.css +35 -35
- package/lib/vxe-split/style/style.min.css +1 -1
- package/lib/{vxe-split-item → vxe-split-pane}/index.js +5 -5
- package/lib/vxe-split-pane/index.min.js +1 -0
- package/lib/vxe-upload/style/style.css +1 -1
- package/lib/vxe-upload/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/components.ts +3 -3
- package/packages/modal/src/modal.ts +1 -2
- package/packages/split/src/{split-item.ts → split-pane.ts} +25 -25
- package/packages/split/src/split.ts +17 -17
- package/packages/split/src/util.ts +4 -4
- package/packages/split-pane/index.ts +17 -0
- package/packages/ui/index.ts +1 -1
- package/packages/upload/src/upload.ts +15 -15
- package/styles/all.scss +1 -1
- package/styles/components/split.scss +30 -30
- package/styles/components/upload.scss +1 -1
- package/types/all.d.ts +3 -3
- package/types/components/split-pane.d.ts +96 -0
- package/types/components/split.d.ts +20 -20
- package/types/ui/global-config.d.ts +2 -2
- package/es/split-item/index.js +0 -12
- package/es/vxe-split-item/index.js +0 -3
- package/lib/split-item/index.js +0 -19
- package/lib/split-item/index.min.js +0 -1
- package/lib/vxe-split-item/index.min.js +0 -1
- package/packages/split-item/index.ts +0 -16
- package/types/components/split-item.d.ts +0 -96
- /package/es/icon/{iconfont.1743138565378.ttf → iconfont.1743248072130.ttf} +0 -0
- /package/es/icon/{iconfont.1743138565378.woff → iconfont.1743248072130.woff} +0 -0
- /package/es/icon/{iconfont.1743138565378.woff2 → iconfont.1743248072130.woff2} +0 -0
- /package/es/{iconfont.1743138565378.ttf → iconfont.1743248072130.ttf} +0 -0
- /package/es/{iconfont.1743138565378.woff → iconfont.1743248072130.woff} +0 -0
- /package/es/{iconfont.1743138565378.woff2 → iconfont.1743248072130.woff2} +0 -0
- /package/es/{split-item → split-pane}/style.css +0 -0
- /package/es/{split-item → split-pane}/style.min.css +0 -0
- /package/es/{vxe-split-item → vxe-split-pane}/style.css +0 -0
- /package/es/{vxe-split-item → vxe-split-pane}/style.min.css +0 -0
- /package/lib/icon/style/{iconfont.1743138565378.ttf → iconfont.1743248072130.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1743138565378.woff → iconfont.1743248072130.woff} +0 -0
- /package/lib/icon/style/{iconfont.1743138565378.woff2 → iconfont.1743248072130.woff2} +0 -0
- /package/lib/{iconfont.1743138565378.ttf → iconfont.1743248072130.ttf} +0 -0
- /package/lib/{iconfont.1743138565378.woff → iconfont.1743248072130.woff} +0 -0
- /package/lib/{iconfont.1743138565378.woff2 → iconfont.1743248072130.woff2} +0 -0
- /package/lib/{split-item → split-pane}/style/index.js +0 -0
- /package/lib/{split-item → split-pane}/style/style.css +0 -0
- /package/lib/{split-item → split-pane}/style/style.min.css +0 -0
- /package/lib/{vxe-split-item → vxe-split-pane}/style/index.js +0 -0
- /package/lib/{vxe-split-item → vxe-split-pane}/style/style.css +0 -0
- /package/lib/{vxe-split-item → vxe-split-pane}/style/style.min.css +0 -0
- /package/styles/components/{split-item.scss → split-pane.scss} +0 -0
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
&.is--vertical {
|
|
6
6
|
& > .vxe-split-wrapper {
|
|
7
7
|
flex-direction: column;
|
|
8
|
-
& > .vxe-split-
|
|
8
|
+
& > .vxe-split-pane {
|
|
9
9
|
width: 100%;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
&.is--drag {
|
|
14
14
|
user-select: none;
|
|
15
15
|
& > .vxe-split-wrapper {
|
|
16
|
-
& > .vxe-split-
|
|
17
|
-
& > .vxe-split-
|
|
16
|
+
& > .vxe-split-pane {
|
|
17
|
+
& > .vxe-split-pane--wrapper {
|
|
18
18
|
&::after {
|
|
19
19
|
content: "";
|
|
20
20
|
position: absolute;
|
|
@@ -41,19 +41,19 @@
|
|
|
41
41
|
display: none;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
.vxe-split-
|
|
44
|
+
.vxe-split-pane-handle {
|
|
45
45
|
position: relative;
|
|
46
46
|
flex-shrink: 0;
|
|
47
47
|
user-select: none;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
.vxe-split-
|
|
50
|
+
.vxe-split-pane--wrapper {
|
|
51
51
|
position: relative;
|
|
52
52
|
word-break: break-word;
|
|
53
53
|
overflow: hidden;
|
|
54
54
|
flex-grow: 1;
|
|
55
55
|
}
|
|
56
|
-
.vxe-split-
|
|
56
|
+
.vxe-split-pane--inner {
|
|
57
57
|
height: 100%;
|
|
58
58
|
width: 100%;
|
|
59
59
|
overflow: auto;
|
|
@@ -61,10 +61,10 @@
|
|
|
61
61
|
height: 100%;
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
.vxe-split-
|
|
64
|
+
.vxe-split-pane-handle-bar {
|
|
65
65
|
background-color: var(--vxe-split-handle-bar-background-color);
|
|
66
66
|
}
|
|
67
|
-
.vxe-split-
|
|
67
|
+
.vxe-split-pane-action-btn {
|
|
68
68
|
display: block;
|
|
69
69
|
position: absolute;
|
|
70
70
|
z-index: 2;
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
@include baseMixin.createAnimationTransition(transform, 0.1s);
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
.vxe-split-
|
|
77
|
+
.vxe-split-pane {
|
|
78
78
|
display: flex;
|
|
79
79
|
position: relative;
|
|
80
80
|
overflow: hidden;
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
width: 0;
|
|
83
83
|
}
|
|
84
84
|
&.is--padding {
|
|
85
|
-
& > .vxe-split-
|
|
85
|
+
& > .vxe-split-pane--wrapper {
|
|
86
86
|
padding: var(--vxe-ui-layout-padding-default);
|
|
87
87
|
}
|
|
88
88
|
}
|
|
@@ -94,28 +94,28 @@
|
|
|
94
94
|
flex-shrink: 0;
|
|
95
95
|
}
|
|
96
96
|
&.is--border {
|
|
97
|
-
& > .vxe-split-
|
|
98
|
-
& > .vxe-split-
|
|
97
|
+
& > .vxe-split-pane--wrapper,
|
|
98
|
+
& > .vxe-split-pane-handle {
|
|
99
99
|
border: 1px solid var(--vxe-ui-base-popup-border-color);
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
&.is--expand {
|
|
103
103
|
&.is--horizontal {
|
|
104
|
-
& > .vxe-split-
|
|
105
|
-
.vxe-split-
|
|
104
|
+
& > .vxe-split-pane-handle {
|
|
105
|
+
.vxe-split-pane-handle-bar {
|
|
106
106
|
cursor: w-resize;
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
&.is--vertical {
|
|
111
|
-
& > .vxe-split-
|
|
112
|
-
.vxe-split-
|
|
111
|
+
& > .vxe-split-pane-handle {
|
|
112
|
+
.vxe-split-pane-handle-bar {
|
|
113
113
|
cursor: n-resize;
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
-
& > .vxe-split-
|
|
118
|
-
& > .vxe-split-
|
|
117
|
+
& > .vxe-split-pane-handle {
|
|
118
|
+
& > .vxe-split-pane-handle-bar {
|
|
119
119
|
background-color: var(--vxe-split-handle-bar-background-color);
|
|
120
120
|
&:hover {
|
|
121
121
|
background-color: var(--vxe-ui-font-primary-lighten-color);
|
|
@@ -128,22 +128,22 @@
|
|
|
128
128
|
}
|
|
129
129
|
&.is--horizontal {
|
|
130
130
|
flex-direction: row;
|
|
131
|
-
& > .vxe-split-
|
|
131
|
+
& > .vxe-split-pane-handle {
|
|
132
132
|
&.to--prev {
|
|
133
|
-
.vxe-split-
|
|
133
|
+
.vxe-split-pane-action-btn {
|
|
134
134
|
left: 0;
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
&.to--next {
|
|
138
|
-
.vxe-split-
|
|
138
|
+
.vxe-split-pane-action-btn {
|
|
139
139
|
right: 0;
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
-
.vxe-split-
|
|
142
|
+
.vxe-split-pane-handle-bar {
|
|
143
143
|
width: var(--vxe-split-handle-bar-width);
|
|
144
144
|
height: 100%;
|
|
145
145
|
}
|
|
146
|
-
.vxe-split-
|
|
146
|
+
.vxe-split-pane-action-btn {
|
|
147
147
|
top: 50%;
|
|
148
148
|
transform: translateY(-50%);
|
|
149
149
|
padding: 1em 0;
|
|
@@ -156,29 +156,29 @@
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
&.is--border {
|
|
159
|
-
& > .vxe-split-
|
|
159
|
+
& > .vxe-split-pane-handle {
|
|
160
160
|
border-width: 1px 0 1px 0;
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
&.is--vertical {
|
|
165
165
|
flex-direction: column;
|
|
166
|
-
& > .vxe-split-
|
|
166
|
+
& > .vxe-split-pane-handle {
|
|
167
167
|
&.to--prev {
|
|
168
|
-
.vxe-split-
|
|
168
|
+
.vxe-split-pane-action-btn {
|
|
169
169
|
top: 0;
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
&.to--next {
|
|
173
|
-
.vxe-split-
|
|
173
|
+
.vxe-split-pane-action-btn {
|
|
174
174
|
bottom: 0;
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
|
-
.vxe-split-
|
|
177
|
+
.vxe-split-pane-handle-bar {
|
|
178
178
|
height: var(--vxe-split-handle-bar-height);
|
|
179
179
|
width: 100%;
|
|
180
180
|
}
|
|
181
|
-
.vxe-split-
|
|
181
|
+
.vxe-split-pane-action-btn {
|
|
182
182
|
left: 50%;
|
|
183
183
|
transform: translateX(-50%);
|
|
184
184
|
padding: 0 1em;
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
&.is--border {
|
|
194
|
-
& > .vxe-split-
|
|
194
|
+
& > .vxe-split-pane-handle {
|
|
195
195
|
border-width: 0 1px 0 1px;
|
|
196
196
|
}
|
|
197
197
|
}
|
package/types/all.d.ts
CHANGED
|
@@ -66,7 +66,7 @@ import VxeResult from './components/result'
|
|
|
66
66
|
import VxeRow from './components/row'
|
|
67
67
|
import VxeSelect from './components/select'
|
|
68
68
|
import VxeSplit from './components/split'
|
|
69
|
-
import
|
|
69
|
+
import VxeSplitPane from './components/split-pane'
|
|
70
70
|
import VxeSlider from './components/slider'
|
|
71
71
|
import VxeRate from './components/rate'
|
|
72
72
|
import VxeSteps from './components/steps'
|
|
@@ -161,7 +161,7 @@ interface AllComponents {
|
|
|
161
161
|
VxeRow: typeof VxeRow
|
|
162
162
|
VxeSelect: typeof VxeSelect
|
|
163
163
|
VxeSplit: typeof VxeSplit
|
|
164
|
-
|
|
164
|
+
VxeSplitPane: typeof VxeSplitPane
|
|
165
165
|
VxeSlider: typeof VxeSlider
|
|
166
166
|
VxeSteps: typeof VxeSteps
|
|
167
167
|
VxeSwitch: typeof VxeSwitch
|
|
@@ -264,7 +264,7 @@ export * from './components/result'
|
|
|
264
264
|
export * from './components/row'
|
|
265
265
|
export * from './components/select'
|
|
266
266
|
export * from './components/split'
|
|
267
|
-
export * from './components/split-
|
|
267
|
+
export * from './components/split-pane'
|
|
268
268
|
export * from './components/slider'
|
|
269
269
|
export * from './components/steps'
|
|
270
270
|
export * from './components/switch'
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { RenderFunction, SetupContext, Ref } from 'vue'
|
|
2
|
+
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentBaseOptions, VxeComponentEventParams, ValueOf, VxeComponentSlotType } from '@vxe-ui/core'
|
|
3
|
+
|
|
4
|
+
/* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
|
|
5
|
+
|
|
6
|
+
export declare const VxeSplitPane: DefineVxeComponentApp<VxeSplitPaneProps, VxeSplitPaneEventProps, VxeSplitPaneSlots>
|
|
7
|
+
export type VxeSplitPaneComponent = DefineVxeComponentOptions<VxeSplitPaneProps, VxeSplitPaneEventProps>
|
|
8
|
+
|
|
9
|
+
export type VxeSplitPaneInstance = DefineVxeComponentInstance<VxeSplitPaneProps, VxeSplitPaneConstructor>
|
|
10
|
+
|
|
11
|
+
export interface VxeSplitPaneConstructor extends VxeComponentBaseOptions, VxeSplitPaneMethods {
|
|
12
|
+
props: VxeSplitPaneProps
|
|
13
|
+
context: SetupContext<VxeSplitPaneEmits>
|
|
14
|
+
reactData: SplitItemReactData
|
|
15
|
+
getRefMaps(): SplitItemPrivateRef
|
|
16
|
+
getComputeMaps(): SplitItemPrivateComputed
|
|
17
|
+
renderVN: RenderFunction
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface SplitItemPrivateRef {
|
|
21
|
+
refElem: Ref<HTMLDivElement | undefined>
|
|
22
|
+
}
|
|
23
|
+
export interface VxeSplitPanePrivateRef extends SplitItemPrivateRef { }
|
|
24
|
+
|
|
25
|
+
export namespace VxeSplitPanePropTypes {
|
|
26
|
+
export type Name = string | number
|
|
27
|
+
export type Width = string | number
|
|
28
|
+
export type Height = string | number
|
|
29
|
+
export type MinWidth = string | number
|
|
30
|
+
export type MinHeight = string | number
|
|
31
|
+
export type ShowAction = boolean
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface VxeSplitPaneProps {
|
|
35
|
+
name?: VxeSplitPanePropTypes.Name
|
|
36
|
+
width?: VxeSplitPanePropTypes.Width
|
|
37
|
+
height?: VxeSplitPanePropTypes.Height
|
|
38
|
+
minWidth?: VxeSplitPanePropTypes.MinWidth
|
|
39
|
+
minHeight?: VxeSplitPanePropTypes.MinHeight
|
|
40
|
+
showAction?: VxeSplitPanePropTypes.ShowAction
|
|
41
|
+
|
|
42
|
+
slots?: {
|
|
43
|
+
default?: string | ((params: VxeSplitPaneSlotTypes.DefaultSlotParams) => VxeComponentSlotType | VxeComponentSlotType[])
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export interface SplitItemPrivateComputed {
|
|
48
|
+
}
|
|
49
|
+
export interface VxeSplitPanePrivateComputed extends SplitItemPrivateComputed { }
|
|
50
|
+
|
|
51
|
+
export interface SplitItemReactData {
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export interface SplitItemInternalData {
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export interface SplitItemMethods {
|
|
58
|
+
dispatchEvent(type: ValueOf<VxeSplitPaneEmits>, params: Record<string, any>, evnt: Event | null): void
|
|
59
|
+
}
|
|
60
|
+
export interface VxeSplitPaneMethods extends SplitItemMethods { }
|
|
61
|
+
|
|
62
|
+
export interface SplitItemPrivateMethods { }
|
|
63
|
+
export interface VxeSplitPanePrivateMethods extends SplitItemPrivateMethods { }
|
|
64
|
+
|
|
65
|
+
export type VxeSplitPaneEmits = [
|
|
66
|
+
]
|
|
67
|
+
|
|
68
|
+
export namespace VxeSplitPaneDefines {
|
|
69
|
+
export interface SplitItemEventParams extends VxeComponentEventParams {
|
|
70
|
+
$splitPane: VxeSplitPaneConstructor
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export type VxeSplitPaneEventProps = {
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export interface VxeSplitPaneListeners {
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export namespace VxeSplitPaneEvents {
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export namespace VxeSplitPaneSlotTypes {
|
|
84
|
+
export interface DefaultSlotParams {
|
|
85
|
+
name: VxeSplitPanePropTypes.Name
|
|
86
|
+
isVisible: boolean
|
|
87
|
+
isExpand: boolean
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export interface VxeSplitPaneSlots {
|
|
92
|
+
default?: (params: VxeSplitPaneSlotTypes.DefaultSlotParams) => any
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export const SplitItem: typeof VxeSplitPane
|
|
96
|
+
export default VxeSplitPane
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RenderFunction, SetupContext, Ref, ComputedRef } from 'vue'
|
|
2
2
|
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentBaseOptions, VxeComponentEventParams, ValueOf } from '@vxe-ui/core'
|
|
3
|
-
import {
|
|
3
|
+
import { VxeSplitPaneProps, VxeSplitPanePropTypes } from './split-pane'
|
|
4
4
|
|
|
5
5
|
/* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
|
|
6
6
|
|
|
@@ -29,7 +29,7 @@ export namespace VxeSplitPropTypes {
|
|
|
29
29
|
export type Padding = boolean
|
|
30
30
|
export type Vertical = boolean
|
|
31
31
|
export type Border = boolean
|
|
32
|
-
export type Items =
|
|
32
|
+
export type Items = VxeSplitPaneProps[]
|
|
33
33
|
export interface ItemConfig {
|
|
34
34
|
minWidth?: string | number
|
|
35
35
|
minHeight?: string | number
|
|
@@ -111,8 +111,8 @@ export interface SplitPrivateComputed {
|
|
|
111
111
|
export interface VxeSplitPrivateComputed extends SplitPrivateComputed { }
|
|
112
112
|
|
|
113
113
|
export interface SplitReactData {
|
|
114
|
-
staticItems: VxeSplitDefines.
|
|
115
|
-
itemList: VxeSplitDefines.
|
|
114
|
+
staticItems: VxeSplitDefines.PaneConfig[]
|
|
115
|
+
itemList: VxeSplitDefines.PaneConfig[]
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
export interface SplitInternalData {
|
|
@@ -131,11 +131,11 @@ export interface SplitMethods {
|
|
|
131
131
|
/**
|
|
132
132
|
* 加载面板配置
|
|
133
133
|
*/
|
|
134
|
-
loadItem(list:
|
|
134
|
+
loadItem(list: VxeSplitPaneProps[]): Promise<void>
|
|
135
135
|
/**
|
|
136
136
|
* 重新加载面板配置,区别就是会重置
|
|
137
137
|
*/
|
|
138
|
-
reloadItem(list:
|
|
138
|
+
reloadItem(list: VxeSplitPaneProps[]): Promise<void>
|
|
139
139
|
}
|
|
140
140
|
export interface VxeSplitMethods extends SplitMethods { }
|
|
141
141
|
|
|
@@ -156,7 +156,7 @@ export namespace VxeSplitDefines {
|
|
|
156
156
|
$split: VxeSplitConstructor
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
export interface
|
|
159
|
+
export interface PaneConfig extends VxeSplitPaneProps {
|
|
160
160
|
id: string
|
|
161
161
|
isVisible: boolean
|
|
162
162
|
isExpand: boolean
|
|
@@ -169,32 +169,32 @@ export namespace VxeSplitDefines {
|
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
export interface ActionClickEventParams extends SplitEventParams {
|
|
172
|
-
item:
|
|
173
|
-
name:
|
|
172
|
+
item: PaneConfig
|
|
173
|
+
name: VxeSplitPanePropTypes.Name
|
|
174
174
|
}
|
|
175
175
|
export interface ActionDblclickEventParams extends ActionClickEventParams {}
|
|
176
176
|
export interface ToggleExpandEventParams extends SplitEventParams {
|
|
177
|
-
item:
|
|
178
|
-
name:
|
|
179
|
-
targetItem:
|
|
180
|
-
targetName:
|
|
177
|
+
item: PaneConfig
|
|
178
|
+
name: VxeSplitPanePropTypes.Name
|
|
179
|
+
targetItem: PaneConfig
|
|
180
|
+
targetName: VxeSplitPanePropTypes.Name
|
|
181
181
|
expanded: boolean
|
|
182
182
|
}
|
|
183
183
|
export interface ResizeStartEventParams extends SplitEventParams {
|
|
184
|
-
item:
|
|
185
|
-
name:
|
|
184
|
+
item: PaneConfig
|
|
185
|
+
name: VxeSplitPanePropTypes.Name
|
|
186
186
|
}
|
|
187
187
|
export interface ResizeDragEventParams extends SplitEventParams {
|
|
188
|
-
item:
|
|
189
|
-
name:
|
|
188
|
+
item: PaneConfig
|
|
189
|
+
name: VxeSplitPanePropTypes.Name
|
|
190
190
|
offsetHeight: number
|
|
191
191
|
resizeHeight: number
|
|
192
192
|
offsetWidth: number
|
|
193
193
|
resizeWidth: number
|
|
194
194
|
}
|
|
195
195
|
export interface ResizeEndEventParams extends SplitEventParams {
|
|
196
|
-
item:
|
|
197
|
-
name:
|
|
196
|
+
item: PaneConfig
|
|
197
|
+
name: VxeSplitPanePropTypes.Name
|
|
198
198
|
resizeHeight: number
|
|
199
199
|
resizeWidth: number
|
|
200
200
|
}
|
|
@@ -237,7 +237,7 @@ export interface VxeSplitSlots {
|
|
|
237
237
|
* 自定义插槽模板
|
|
238
238
|
*/
|
|
239
239
|
[key: string]: ((params: {
|
|
240
|
-
name:
|
|
240
|
+
name: VxeSplitPanePropTypes.Name
|
|
241
241
|
isVisible: boolean
|
|
242
242
|
isExpand: boolean
|
|
243
243
|
}) => any) | undefined
|
|
@@ -63,7 +63,7 @@ import { VxeResultProps } from '../components/result'
|
|
|
63
63
|
import { VxeRowProps } from '../components/row'
|
|
64
64
|
import { VxeSelectProps } from '../components/select'
|
|
65
65
|
import { VxeSplitProps } from '../components/split'
|
|
66
|
-
import {
|
|
66
|
+
import { VxeSplitPaneProps } from '../components/split-pane'
|
|
67
67
|
import { VxeSliderProps } from '../components/slider'
|
|
68
68
|
import { VxeStepsProps } from '../components/steps'
|
|
69
69
|
import { VxeSwitchProps } from '../components/switch'
|
|
@@ -154,7 +154,7 @@ declare module '@vxe-ui/core' {
|
|
|
154
154
|
row?: VxeRowProps
|
|
155
155
|
select?: VxeSelectProps
|
|
156
156
|
split?: VxeSplitProps
|
|
157
|
-
|
|
157
|
+
splitPane?: VxeSplitPaneProps
|
|
158
158
|
slider?: VxeSliderProps
|
|
159
159
|
steps?: VxeStepsProps
|
|
160
160
|
switch?: VxeSwitchProps
|
package/es/split-item/index.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
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;
|
package/lib/split-item/index.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = exports.VxeSplitItem = exports.SplitItem = void 0;
|
|
7
|
-
var _core = require("@vxe-ui/core");
|
|
8
|
-
var _splitItem = _interopRequireDefault(require("../split/src/split-item"));
|
|
9
|
-
var _dynamics = require("../dynamics");
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
-
const VxeSplitItem = exports.VxeSplitItem = Object.assign({}, _splitItem.default, {
|
|
12
|
-
install(app) {
|
|
13
|
-
app.component(_splitItem.default.name, _splitItem.default);
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
_dynamics.dynamicApp.use(VxeSplitItem);
|
|
17
|
-
_core.VxeUI.component(_splitItem.default);
|
|
18
|
-
const SplitItem = exports.SplitItem = VxeSplitItem;
|
|
19
|
-
var _default = exports.default = VxeSplitItem;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.VxeSplitItem=exports.SplitItem=void 0;var _core=require("@vxe-ui/core"),_splitItem=_interopRequireDefault(require("../split/src/split-item")),_dynamics=require("../dynamics");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const VxeSplitItem=exports.VxeSplitItem=Object.assign({},_splitItem.default,{install(e){e.component(_splitItem.default.name,_splitItem.default)}}),SplitItem=(_dynamics.dynamicApp.use(VxeSplitItem),_core.VxeUI.component(_splitItem.default),exports.SplitItem=VxeSplitItem);var _default=exports.default=VxeSplitItem;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={},_splitItem=(exports.default=void 0,_interopRequireWildcard(require("../split-item")));function _getRequireWildcardCache(e){var t,r;return"function"!=typeof WeakMap?null:(t=new WeakMap,r=new WeakMap,(_getRequireWildcardCache=function(e){return e?r:t})(e))}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};t=_getRequireWildcardCache(t);if(t&&t.has(e))return t.get(e);var r,o,i={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in e)"default"!==r&&{}.hasOwnProperty.call(e,r)&&((o=n?Object.getOwnPropertyDescriptor(e,r):null)&&(o.get||o.set)?Object.defineProperty(i,r,o):i[r]=e[r]);return i.default=e,t&&t.set(e,i),i}Object.keys(_splitItem).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_splitItem[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _splitItem[e]}})});var _default=exports.default=_splitItem.default;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { App } from 'vue'
|
|
2
|
-
import { VxeUI } from '@vxe-ui/core'
|
|
3
|
-
import VxeSplitItemComponent from '../split/src/split-item'
|
|
4
|
-
import { dynamicApp } from '../dynamics'
|
|
5
|
-
|
|
6
|
-
export const VxeSplitItem = Object.assign({}, VxeSplitItemComponent, {
|
|
7
|
-
install (app: App) {
|
|
8
|
-
app.component(VxeSplitItemComponent.name as string, VxeSplitItemComponent)
|
|
9
|
-
}
|
|
10
|
-
})
|
|
11
|
-
|
|
12
|
-
dynamicApp.use(VxeSplitItem)
|
|
13
|
-
VxeUI.component(VxeSplitItemComponent)
|
|
14
|
-
|
|
15
|
-
export const SplitItem = VxeSplitItem
|
|
16
|
-
export default VxeSplitItem
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { RenderFunction, SetupContext, Ref } from 'vue'
|
|
2
|
-
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentBaseOptions, VxeComponentEventParams, ValueOf, VxeComponentSlotType } from '@vxe-ui/core'
|
|
3
|
-
|
|
4
|
-
/* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
|
|
5
|
-
|
|
6
|
-
export declare const VxeSplitItem: DefineVxeComponentApp<VxeSplitItemProps, VxeSplitItemEventProps, VxeSplitItemSlots>
|
|
7
|
-
export type VxeSplitItemComponent = DefineVxeComponentOptions<VxeSplitItemProps, VxeSplitItemEventProps>
|
|
8
|
-
|
|
9
|
-
export type VxeSplitItemInstance = DefineVxeComponentInstance<VxeSplitItemProps, VxeSplitItemConstructor>
|
|
10
|
-
|
|
11
|
-
export interface VxeSplitItemConstructor extends VxeComponentBaseOptions, VxeSplitItemMethods {
|
|
12
|
-
props: VxeSplitItemProps
|
|
13
|
-
context: SetupContext<VxeSplitItemEmits>
|
|
14
|
-
reactData: SplitItemReactData
|
|
15
|
-
getRefMaps(): SplitItemPrivateRef
|
|
16
|
-
getComputeMaps(): SplitItemPrivateComputed
|
|
17
|
-
renderVN: RenderFunction
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export interface SplitItemPrivateRef {
|
|
21
|
-
refElem: Ref<HTMLDivElement | undefined>
|
|
22
|
-
}
|
|
23
|
-
export interface VxeSplitItemPrivateRef extends SplitItemPrivateRef { }
|
|
24
|
-
|
|
25
|
-
export namespace VxeSplitItemPropTypes {
|
|
26
|
-
export type Name = string | number
|
|
27
|
-
export type Width = string | number
|
|
28
|
-
export type Height = string | number
|
|
29
|
-
export type MinWidth = string | number
|
|
30
|
-
export type MinHeight = string | number
|
|
31
|
-
export type ShowAction = boolean
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export interface VxeSplitItemProps {
|
|
35
|
-
name?: VxeSplitItemPropTypes.Name
|
|
36
|
-
width?: VxeSplitItemPropTypes.Width
|
|
37
|
-
height?: VxeSplitItemPropTypes.Height
|
|
38
|
-
minWidth?: VxeSplitItemPropTypes.MinWidth
|
|
39
|
-
minHeight?: VxeSplitItemPropTypes.MinHeight
|
|
40
|
-
showAction?: VxeSplitItemPropTypes.ShowAction
|
|
41
|
-
|
|
42
|
-
slots?: {
|
|
43
|
-
default?: string | ((params: VxeSplitItemSlotTypes.DefaultSlotParams) => VxeComponentSlotType | VxeComponentSlotType[])
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export interface SplitItemPrivateComputed {
|
|
48
|
-
}
|
|
49
|
-
export interface VxeSplitItemPrivateComputed extends SplitItemPrivateComputed { }
|
|
50
|
-
|
|
51
|
-
export interface SplitItemReactData {
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export interface SplitItemInternalData {
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
export interface SplitItemMethods {
|
|
58
|
-
dispatchEvent(type: ValueOf<VxeSplitItemEmits>, params: Record<string, any>, evnt: Event | null): void
|
|
59
|
-
}
|
|
60
|
-
export interface VxeSplitItemMethods extends SplitItemMethods { }
|
|
61
|
-
|
|
62
|
-
export interface SplitItemPrivateMethods { }
|
|
63
|
-
export interface VxeSplitItemPrivateMethods extends SplitItemPrivateMethods { }
|
|
64
|
-
|
|
65
|
-
export type VxeSplitItemEmits = [
|
|
66
|
-
]
|
|
67
|
-
|
|
68
|
-
export namespace VxeSplitItemDefines {
|
|
69
|
-
export interface SplitItemEventParams extends VxeComponentEventParams {
|
|
70
|
-
$splitItem: VxeSplitItemConstructor
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export type VxeSplitItemEventProps = {
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export interface VxeSplitItemListeners {
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export namespace VxeSplitItemEvents {
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
export namespace VxeSplitItemSlotTypes {
|
|
84
|
-
export interface DefaultSlotParams {
|
|
85
|
-
name: VxeSplitItemPropTypes.Name
|
|
86
|
-
isVisible: boolean
|
|
87
|
-
isExpand: boolean
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
export interface VxeSplitItemSlots {
|
|
92
|
-
default?: (params: VxeSplitItemSlotTypes.DefaultSlotParams) => any
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
export const SplitItem: typeof VxeSplitItem
|
|
96
|
-
export default VxeSplitItem
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|