vxe-pc-ui 4.4.26 → 4.5.1
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/es/col/style.css +0 -105
- package/es/col/style.min.css +0 -1
- package/es/components.js +6 -0
- package/es/icon/style.css +1 -1
- package/es/modal/src/modal.js +2 -4
- package/es/row/style.css +106 -0
- package/es/row/style.min.css +1 -1
- package/es/split/index.js +12 -0
- package/es/split/src/split-item.js +93 -0
- package/es/split/src/split.js +302 -0
- package/es/split/src/util.js +17 -0
- package/es/split/style.css +91 -0
- package/es/split/style.min.css +1 -0
- package/es/split-item/index.js +12 -0
- package/es/split-item/style.css +0 -0
- package/es/split-item/style.min.css +0 -0
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +8 -1
- package/es/ui/src/log.js +1 -1
- package/es/ui/src/utils.js +6 -0
- package/es/vxe-col/style.css +0 -105
- package/es/vxe-col/style.min.css +0 -1
- package/es/vxe-row/style.css +106 -0
- package/es/vxe-row/style.min.css +1 -1
- package/es/vxe-split/index.js +3 -0
- package/es/vxe-split/style.css +91 -0
- package/es/vxe-split/style.min.css +1 -0
- package/es/vxe-split-item/index.js +3 -0
- package/es/vxe-split-item/style.css +0 -0
- package/es/vxe-split-item/style.min.css +0 -0
- package/lib/col/style/style.css +0 -105
- package/lib/col/style/style.min.css +0 -1
- package/lib/components.js +25 -1
- 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 +491 -7
- package/lib/index.umd.min.js +1 -1
- package/lib/modal/src/modal.js +2 -4
- package/lib/modal/src/modal.min.js +1 -1
- package/lib/row/style/style.css +106 -0
- package/lib/row/style/style.min.css +1 -1
- package/lib/split/index.js +19 -0
- package/lib/split/index.min.js +1 -0
- package/lib/split/src/split-item.js +105 -0
- package/lib/split/src/split-item.min.js +1 -0
- package/lib/split/src/split.js +323 -0
- package/lib/split/src/split.min.js +1 -0
- package/lib/split/src/util.js +25 -0
- package/lib/split/src/util.min.js +1 -0
- package/lib/split/style/index.js +1 -0
- package/lib/split/style/style.css +91 -0
- package/lib/split/style/style.min.css +1 -0
- package/lib/split-item/index.js +19 -0
- package/lib/split-item/index.min.js +1 -0
- package/lib/split-item/style/index.js +1 -0
- package/lib/split-item/style/style.css +0 -0
- package/lib/split-item/style/style.min.css +0 -0
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/ui/index.js +8 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/ui/src/utils.js +7 -0
- package/lib/ui/src/utils.min.js +1 -1
- package/lib/vxe-col/style/style.css +0 -105
- package/lib/vxe-col/style/style.min.css +0 -1
- package/lib/vxe-row/style/style.css +106 -0
- package/lib/vxe-row/style/style.min.css +1 -1
- package/lib/vxe-split/index.js +22 -0
- package/lib/vxe-split/index.min.js +1 -0
- package/lib/vxe-split/style/index.js +1 -0
- package/lib/vxe-split/style/style.css +91 -0
- package/lib/vxe-split/style/style.min.css +1 -0
- package/lib/vxe-split-item/index.js +22 -0
- package/lib/vxe-split-item/index.min.js +1 -0
- package/lib/vxe-split-item/style/index.js +1 -0
- package/lib/vxe-split-item/style/style.css +0 -0
- package/lib/vxe-split-item/style/style.min.css +0 -0
- package/package.json +2 -2
- package/packages/components.ts +6 -0
- package/packages/modal/src/modal.ts +2 -4
- package/packages/row/src/col.ts +5 -5
- package/packages/split/index.ts +16 -0
- package/packages/split/src/split-item.ts +125 -0
- package/packages/split/src/split.ts +325 -0
- package/packages/split/src/util.ts +21 -0
- package/packages/split-item/index.ts +16 -0
- package/packages/ui/index.ts +7 -0
- package/packages/ui/src/utils.ts +7 -0
- package/styles/all.scss +2 -0
- package/styles/components/col.scss +0 -61
- package/styles/components/row.scss +59 -0
- package/styles/components/split-item.scss +0 -0
- package/styles/components/split.scss +106 -0
- package/styles/helpers/baseVar.scss +4 -0
- package/styles/theme/base.scss +5 -1
- package/styles/theme/dark.scss +3 -0
- package/styles/theme/light.scss +3 -0
- package/styles/variable.scss +4 -0
- package/types/all.d.ts +6 -0
- package/types/components/col.d.ts +11 -1
- package/types/components/split-item.d.ts +89 -0
- package/types/components/split.d.ts +100 -0
- package/types/components/table-plugins/extend-cell-area.d.ts +54 -0
- package/types/components/table.d.ts +131 -11
- package/types/ui/global-config.d.ts +4 -0
- /package/es/icon/{iconfont.1742955913094.ttf → iconfont.1743051559265.ttf} +0 -0
- /package/es/icon/{iconfont.1742955913094.woff → iconfont.1743051559265.woff} +0 -0
- /package/es/icon/{iconfont.1742955913094.woff2 → iconfont.1743051559265.woff2} +0 -0
- /package/es/{iconfont.1742955913094.ttf → iconfont.1743051559265.ttf} +0 -0
- /package/es/{iconfont.1742955913094.woff → iconfont.1743051559265.woff} +0 -0
- /package/es/{iconfont.1742955913094.woff2 → iconfont.1743051559265.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1742955913094.ttf → iconfont.1743051559265.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1742955913094.woff → iconfont.1743051559265.woff} +0 -0
- /package/lib/icon/style/{iconfont.1742955913094.woff2 → iconfont.1743051559265.woff2} +0 -0
- /package/lib/{iconfont.1742955913094.ttf → iconfont.1743051559265.ttf} +0 -0
- /package/lib/{iconfont.1742955913094.woff → iconfont.1743051559265.woff} +0 -0
- /package/lib/{iconfont.1742955913094.woff2 → iconfont.1743051559265.woff2} +0 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
@use "sass:list";
|
|
2
|
+
|
|
3
|
+
.vxe-split {
|
|
4
|
+
&.is--vertical {
|
|
5
|
+
& > .vxe-split-wrapper {
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
& > .vxe-split-item {
|
|
8
|
+
width: 100%;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
&.is--drag {
|
|
13
|
+
user-select: none;
|
|
14
|
+
& > .vxe-split-wrapper {
|
|
15
|
+
& > .vxe-split-item {
|
|
16
|
+
& > .vxe-split-item--wrapper {
|
|
17
|
+
&::after {
|
|
18
|
+
content: "";
|
|
19
|
+
position: absolute;
|
|
20
|
+
top: 0;
|
|
21
|
+
left: 0;
|
|
22
|
+
width: 100%;
|
|
23
|
+
height: 100%;
|
|
24
|
+
z-index: 1;
|
|
25
|
+
background: transparent;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
.vxe-split-wrapper {
|
|
33
|
+
height: 100%;
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: row;
|
|
36
|
+
overflow: hidden;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.vxe-split-slots {
|
|
40
|
+
display: none;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.vxe-split-item-handle {
|
|
44
|
+
flex-shrink: 0;
|
|
45
|
+
background-color: var(--vxe-split-handle-bar-background-color);
|
|
46
|
+
user-select: none;
|
|
47
|
+
&:hover {
|
|
48
|
+
background-color: var(--vxe-ui-font-primary-lighten-color);
|
|
49
|
+
}
|
|
50
|
+
&:active {
|
|
51
|
+
background-color: var(--vxe-ui-font-primary-darken-color);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.vxe-split-item--wrapper {
|
|
56
|
+
position: relative;
|
|
57
|
+
word-break: break-word;
|
|
58
|
+
overflow: auto;
|
|
59
|
+
flex-grow: 1;
|
|
60
|
+
& > .vxe-split {
|
|
61
|
+
height: 100%;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.vxe-split-item {
|
|
66
|
+
display: flex;
|
|
67
|
+
position: relative;
|
|
68
|
+
overflow: auto;
|
|
69
|
+
&.is--fill {
|
|
70
|
+
flex-grow: 1;
|
|
71
|
+
}
|
|
72
|
+
&.is--width,
|
|
73
|
+
&.is--height {
|
|
74
|
+
flex-shrink: 0;
|
|
75
|
+
}
|
|
76
|
+
&.is--border {
|
|
77
|
+
& > .vxe-split-item--wrapper,
|
|
78
|
+
& > .vxe-split-item-handle {
|
|
79
|
+
border: 1px solid var(--vxe-ui-base-popup-border-color);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
&.is--horizontal {
|
|
83
|
+
flex-direction: row;
|
|
84
|
+
& > .vxe-split-item-handle {
|
|
85
|
+
width: var(--vxe-split-handle-bar-width);
|
|
86
|
+
cursor: w-resize;
|
|
87
|
+
}
|
|
88
|
+
&.is--border {
|
|
89
|
+
& > .vxe-split-item-handle {
|
|
90
|
+
border-width: 1px 0 1px 0;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
&.is--vertical {
|
|
95
|
+
flex-direction: column;
|
|
96
|
+
& > .vxe-split-item-handle {
|
|
97
|
+
height: var(--vxe-split-handle-bar-height);
|
|
98
|
+
cursor: n-resize;
|
|
99
|
+
}
|
|
100
|
+
&.is--border {
|
|
101
|
+
& > .vxe-split-item-handle {
|
|
102
|
+
border-width: 0 1px 0 1px;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
package/styles/theme/base.scss
CHANGED
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
--vxe-ui-switch-font-color: #fff;
|
|
146
146
|
--vxe-ui-switch-icon-background-color: #fff;
|
|
147
147
|
--vxe-ui-switch-open-background-color: var(--vxe-ui-font-primary-color);
|
|
148
|
-
--vxe-ui-switch-disabled-background-color: rgba(0,0,0,0.15)
|
|
148
|
+
--vxe-ui-switch-disabled-background-color: rgba(0,0,0,0.15);
|
|
149
149
|
|
|
150
150
|
/*upload*/
|
|
151
151
|
--vxe-ui-upload-file-button-border-style: dashed;
|
|
@@ -175,4 +175,8 @@
|
|
|
175
175
|
--vxe-ui-calendar-selected-color: #fff;
|
|
176
176
|
--vxe-ui-calendar-festival-selected-color: var(--vxe-ui-calendar-selected-color);
|
|
177
177
|
--vxe-ui-calendar-notice-selected-background-color: var(--vxe-ui-calendar-selected-color);
|
|
178
|
+
|
|
179
|
+
/*split*/
|
|
180
|
+
--vxe-split-handle-bar-width: 0.4em;
|
|
181
|
+
--vxe-split-handle-bar-height: var(--vxe-split-handle-bar-width);
|
|
178
182
|
}
|
package/styles/theme/dark.scss
CHANGED
package/styles/theme/light.scss
CHANGED
package/styles/variable.scss
CHANGED
package/types/all.d.ts
CHANGED
|
@@ -65,6 +65,8 @@ import VxeRadioGroup from './components/radio-group'
|
|
|
65
65
|
import VxeResult from './components/result'
|
|
66
66
|
import VxeRow from './components/row'
|
|
67
67
|
import VxeSelect from './components/select'
|
|
68
|
+
import VxeSplit from './components/split'
|
|
69
|
+
import VxeSplitItem from './components/split-item'
|
|
68
70
|
import VxeSlider from './components/slider'
|
|
69
71
|
import VxeRate from './components/rate'
|
|
70
72
|
import VxeSteps from './components/steps'
|
|
@@ -158,6 +160,8 @@ interface AllComponents {
|
|
|
158
160
|
VxeResult: typeof VxeResult
|
|
159
161
|
VxeRow: typeof VxeRow
|
|
160
162
|
VxeSelect: typeof VxeSelect
|
|
163
|
+
VxeSplit: typeof VxeSplit
|
|
164
|
+
VxeSplitItem: typeof VxeSplitItem
|
|
161
165
|
VxeSlider: typeof VxeSlider
|
|
162
166
|
VxeSteps: typeof VxeSteps
|
|
163
167
|
VxeSwitch: typeof VxeSwitch
|
|
@@ -259,6 +263,8 @@ export * from './components/rate'
|
|
|
259
263
|
export * from './components/result'
|
|
260
264
|
export * from './components/row'
|
|
261
265
|
export * from './components/select'
|
|
266
|
+
export * from './components/split'
|
|
267
|
+
export * from './components/split-item'
|
|
262
268
|
export * from './components/slider'
|
|
263
269
|
export * from './components/steps'
|
|
264
270
|
export * from './components/switch'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RenderFunction, SetupContext, Ref } from 'vue'
|
|
2
|
-
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentBaseOptions, VxeComponentEventParams, VxeComponentSizeType } from '@vxe-ui/core'
|
|
2
|
+
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentBaseOptions, VxeComponentEventParams, VxeComponentSizeType, VxeComponentAlignType } from '@vxe-ui/core'
|
|
3
3
|
|
|
4
4
|
/* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
|
|
5
5
|
|
|
@@ -23,10 +23,20 @@ export interface ColPrivateRef {
|
|
|
23
23
|
export interface VxeColPrivateRef extends ColPrivateRef { }
|
|
24
24
|
|
|
25
25
|
export namespace VxeColPropTypes {
|
|
26
|
+
export type Span = string | number
|
|
27
|
+
export type Align = VxeComponentAlignType
|
|
28
|
+
export type Width = string | number
|
|
29
|
+
export type Fill = boolean
|
|
30
|
+
export type Ellipsis = boolean
|
|
26
31
|
export type Size = VxeComponentSizeType
|
|
27
32
|
}
|
|
28
33
|
|
|
29
34
|
export interface VxeColProps {
|
|
35
|
+
span?: VxeColPropTypes.Span
|
|
36
|
+
align?: VxeColPropTypes.Align
|
|
37
|
+
width?: VxeColPropTypes.Width
|
|
38
|
+
fill?: VxeColPropTypes.Fill
|
|
39
|
+
ellipsis?: VxeColPropTypes.Ellipsis
|
|
30
40
|
size?: VxeColPropTypes.Size
|
|
31
41
|
}
|
|
32
42
|
|
|
@@ -0,0 +1,89 @@
|
|
|
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 Width = string | number
|
|
27
|
+
export type Height = string | number
|
|
28
|
+
export type MinWidth = string | number
|
|
29
|
+
export type MinHeight = string | number
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export type VxeSplitItemProps = {
|
|
33
|
+
width?: VxeSplitItemPropTypes.Width
|
|
34
|
+
height?: VxeSplitItemPropTypes.Height
|
|
35
|
+
minWidth?: VxeSplitItemPropTypes.MinWidth
|
|
36
|
+
minHeight?: VxeSplitItemPropTypes.MinHeight
|
|
37
|
+
|
|
38
|
+
slots?: {
|
|
39
|
+
default?: string | ((params: VxeSplitItemSlotTypes.DefaultSlotParams) => VxeComponentSlotType | VxeComponentSlotType[])
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export interface SplitItemPrivateComputed {
|
|
44
|
+
}
|
|
45
|
+
export interface VxeSplitItemPrivateComputed extends SplitItemPrivateComputed { }
|
|
46
|
+
|
|
47
|
+
export interface SplitItemReactData {
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export interface SplitItemInternalData {
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export interface SplitItemMethods {
|
|
54
|
+
dispatchEvent(type: ValueOf<VxeSplitItemEmits>, params: Record<string, any>, evnt: Event | null): void
|
|
55
|
+
}
|
|
56
|
+
export interface VxeSplitItemMethods extends SplitItemMethods { }
|
|
57
|
+
|
|
58
|
+
export interface SplitItemPrivateMethods { }
|
|
59
|
+
export interface VxeSplitItemPrivateMethods extends SplitItemPrivateMethods { }
|
|
60
|
+
|
|
61
|
+
export type VxeSplitItemEmits = [
|
|
62
|
+
]
|
|
63
|
+
|
|
64
|
+
export namespace VxeSplitItemDefines {
|
|
65
|
+
export interface SplitItemEventParams extends VxeComponentEventParams {
|
|
66
|
+
$splitItem: VxeSplitItemConstructor
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export type VxeSplitItemEventProps = {
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export interface VxeSplitItemListeners {
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export namespace VxeSplitItemEvents {
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export namespace VxeSplitItemSlotTypes {
|
|
80
|
+
export interface DefaultSlotParams {
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export interface VxeSplitItemSlots {
|
|
85
|
+
default?: (params: VxeSplitItemSlotTypes.DefaultSlotParams) => any
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export const SplitItem: typeof VxeSplitItem
|
|
89
|
+
export default VxeSplitItem
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { RenderFunction, SetupContext, Ref, ComputedRef } from 'vue'
|
|
2
|
+
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentBaseOptions, VxeComponentEventParams, ValueOf } from '@vxe-ui/core'
|
|
3
|
+
import { VxeSplitItemProps } from './split-item'
|
|
4
|
+
|
|
5
|
+
/* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
|
|
6
|
+
|
|
7
|
+
export declare const VxeSplit: DefineVxeComponentApp<VxeSplitProps, VxeSplitEventProps, VxeSplitSlots>
|
|
8
|
+
export type VxeSplitComponent = DefineVxeComponentOptions<VxeSplitProps, VxeSplitEventProps>
|
|
9
|
+
|
|
10
|
+
export type VxeSplitInstance = DefineVxeComponentInstance<VxeSplitProps, VxeSplitConstructor>
|
|
11
|
+
|
|
12
|
+
export interface VxeSplitConstructor extends VxeComponentBaseOptions, VxeSplitMethods {
|
|
13
|
+
props: VxeSplitProps
|
|
14
|
+
context: SetupContext<VxeSplitEmits>
|
|
15
|
+
reactData: SplitReactData
|
|
16
|
+
getRefMaps(): SplitPrivateRef
|
|
17
|
+
getComputeMaps(): SplitPrivateComputed
|
|
18
|
+
renderVN: RenderFunction
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface SplitPrivateRef {
|
|
22
|
+
refElem: Ref<HTMLDivElement | undefined>
|
|
23
|
+
}
|
|
24
|
+
export interface VxeSplitPrivateRef extends SplitPrivateRef { }
|
|
25
|
+
|
|
26
|
+
export namespace VxeSplitPropTypes {
|
|
27
|
+
export type Height = string | number
|
|
28
|
+
export type Width = string | number
|
|
29
|
+
export type Vertical = boolean
|
|
30
|
+
export type Border = boolean
|
|
31
|
+
export interface ItemConfig {
|
|
32
|
+
minWidth?: string | number
|
|
33
|
+
minHeight?: string | number
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type VxeSplitProps = {
|
|
38
|
+
height?: VxeSplitPropTypes.Height
|
|
39
|
+
width?: VxeSplitPropTypes.Width
|
|
40
|
+
vertical?: VxeSplitPropTypes.Vertical
|
|
41
|
+
border?: VxeSplitPropTypes.Border
|
|
42
|
+
itemConfig?: VxeSplitPropTypes.ItemConfig
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export interface SplitPrivateComputed {
|
|
46
|
+
computeItemOpts: ComputedRef<VxeSplitPropTypes.ItemConfig>
|
|
47
|
+
}
|
|
48
|
+
export interface VxeSplitPrivateComputed extends SplitPrivateComputed { }
|
|
49
|
+
|
|
50
|
+
export interface SplitReactData {
|
|
51
|
+
staticItems: VxeSplitDefines.ChunkConfig[]
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export interface SplitInternalData {
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export interface SplitMethods {
|
|
58
|
+
dispatchEvent(type: ValueOf<VxeSplitEmits>, params: Record<string, any>, evnt: Event | null): void
|
|
59
|
+
recalculate(): Promise<void>
|
|
60
|
+
}
|
|
61
|
+
export interface VxeSplitMethods extends SplitMethods { }
|
|
62
|
+
|
|
63
|
+
export interface SplitPrivateMethods { }
|
|
64
|
+
export interface VxeSplitPrivateMethods extends SplitPrivateMethods { }
|
|
65
|
+
|
|
66
|
+
export type VxeSplitEmits = [
|
|
67
|
+
]
|
|
68
|
+
|
|
69
|
+
export namespace VxeSplitDefines {
|
|
70
|
+
export interface SplitEventParams extends VxeComponentEventParams {
|
|
71
|
+
$split: VxeSplitConstructor
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export interface ChunkConfig extends VxeSplitItemProps {
|
|
75
|
+
id: string
|
|
76
|
+
renderWidth: number
|
|
77
|
+
renderHeight: number
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export type VxeSplitEventProps = {
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export interface VxeSplitListeners {
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export namespace VxeSplitEvents {
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export namespace VxeSplitSlotTypes {
|
|
91
|
+
export interface DefaultSlotParams {
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export interface VxeSplitSlots {
|
|
96
|
+
default?: (params: VxeSplitSlotTypes.DefaultSlotParams) => any
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export const Split: typeof VxeSplit
|
|
100
|
+
export default VxeSplit
|
|
@@ -79,23 +79,77 @@ export interface VxeTableExtendCellAreaMethods<D = any> {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
export interface VxeTableExtendCellAreaPrivateMethods<D = any> {
|
|
82
|
+
/**
|
|
83
|
+
* @private
|
|
84
|
+
*/
|
|
82
85
|
handleKeyboardCellAreaEvent(evnt: KeyboardEvent): void
|
|
86
|
+
/**
|
|
87
|
+
* @private
|
|
88
|
+
*/
|
|
83
89
|
handleHeaderCellAreaEvent(evnt: MouseEvent, params: VxeTableDefines.HeaderCellClickEventParams<D>): void
|
|
90
|
+
/**
|
|
91
|
+
* @private
|
|
92
|
+
*/
|
|
84
93
|
handleCellAreaMousedownEvent(evnt: MouseEvent, params: VxeTableDefines.CellClickEventParams<D>): void
|
|
94
|
+
/**
|
|
95
|
+
* @private
|
|
96
|
+
*/
|
|
85
97
|
handleFilterEvent(evnt: Event, params: VxeTableDefines.FilterChangeEventParams<D>): any
|
|
98
|
+
/**
|
|
99
|
+
* @private
|
|
100
|
+
*/
|
|
86
101
|
handleSortEvent(evnt: Event, params: VxeTableDefines.SortChangeEventParams<D>): any
|
|
102
|
+
/**
|
|
103
|
+
* @private
|
|
104
|
+
*/
|
|
87
105
|
handleRecalculateCellAreaEvent(): any
|
|
106
|
+
/**
|
|
107
|
+
* @private
|
|
108
|
+
*/
|
|
88
109
|
handleCopyCellAreaEvent(evnt: ClipboardEvent): void
|
|
110
|
+
/**
|
|
111
|
+
* @private
|
|
112
|
+
*/
|
|
89
113
|
handlePasteCellAreaEvent(evnt: ClipboardEvent): void
|
|
114
|
+
/**
|
|
115
|
+
* @private
|
|
116
|
+
*/
|
|
90
117
|
handleCutCellAreaEvent(evnt: ClipboardEvent): void
|
|
118
|
+
/**
|
|
119
|
+
* @private
|
|
120
|
+
*/
|
|
91
121
|
handleColResizeCellAreaEvent(evnt: MouseEvent, params: any): void
|
|
122
|
+
/**
|
|
123
|
+
* @private
|
|
124
|
+
*/
|
|
92
125
|
handleColResizeDblclickCellAreaEvent(evnt: MouseEvent, params: any): void
|
|
126
|
+
/**
|
|
127
|
+
* @private
|
|
128
|
+
*/
|
|
93
129
|
handleRowResizeCellAreaEvent(evnt: MouseEvent, params: any): void
|
|
130
|
+
/**
|
|
131
|
+
* @private
|
|
132
|
+
*/
|
|
94
133
|
handleRowResizeDblclickCellAreaEvent(evnt: MouseEvent, params: any): void
|
|
134
|
+
/**
|
|
135
|
+
* @private
|
|
136
|
+
*/
|
|
95
137
|
triggerCellAreaExtendMousedownEvent(evnt: MouseEvent, params: any): void
|
|
138
|
+
/**
|
|
139
|
+
* @private
|
|
140
|
+
*/
|
|
96
141
|
triggerCopyCellAreaEvent(evnt: MouseEvent): void
|
|
142
|
+
/**
|
|
143
|
+
* @private
|
|
144
|
+
*/
|
|
97
145
|
triggerCutCellAreaEvent(evnt: MouseEvent): void
|
|
146
|
+
/**
|
|
147
|
+
* @private
|
|
148
|
+
*/
|
|
98
149
|
triggerPasteCellAreaEvent(evnt: MouseEvent): void
|
|
150
|
+
/**
|
|
151
|
+
* @private
|
|
152
|
+
*/
|
|
99
153
|
triggerFNROpenEvent(evnt: MouseEvent, tab: 'find' | 'replace'): void
|
|
100
154
|
}
|
|
101
155
|
|