vxe-pc-ui 4.5.11 → 4.5.14
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/drawer/src/drawer.js +6 -5
- package/es/icon/style.css +1 -1
- package/es/modal/src/modal.js +6 -5
- package/es/split/src/split.js +30 -6
- package/es/split/style.css +10 -6
- package/es/split/style.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +2 -1
- package/es/ui/src/log.js +1 -1
- package/es/upload/src/upload.js +22 -2
- package/es/vxe-split/style.css +10 -6
- package/es/vxe-split/style.min.css +1 -1
- package/lib/drawer/src/drawer.js +6 -5
- package/lib/drawer/src/drawer.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 +69 -17
- package/lib/index.umd.min.js +1 -1
- package/lib/modal/src/modal.js +6 -5
- package/lib/modal/src/modal.min.js +1 -1
- package/lib/split/src/split.js +29 -3
- package/lib/split/src/split.min.js +1 -1
- package/lib/split/style/style.css +10 -6
- package/lib/split/style/style.min.css +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/ui/index.js +2 -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/upload/src/upload.js +25 -2
- package/lib/upload/src/upload.min.js +1 -1
- package/lib/vxe-split/style/style.css +10 -6
- package/lib/vxe-split/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/drawer/src/drawer.ts +6 -5
- package/packages/modal/src/modal.ts +6 -5
- package/packages/split/src/split.ts +33 -6
- package/packages/ui/index.ts +1 -0
- package/packages/upload/src/upload.ts +23 -2
- package/styles/components/split.scss +28 -20
- package/types/components/drawer.d.ts +1 -0
- package/types/components/modal.d.ts +1 -0
- package/types/components/split.d.ts +5 -0
- package/types/components/table.d.ts +26 -2
- package/types/components/upload.d.ts +2 -0
- /package/es/icon/{iconfont.1743578648080.ttf → iconfont.1744078845757.ttf} +0 -0
- /package/es/icon/{iconfont.1743578648080.woff → iconfont.1744078845757.woff} +0 -0
- /package/es/icon/{iconfont.1743578648080.woff2 → iconfont.1744078845757.woff2} +0 -0
- /package/es/{iconfont.1743578648080.ttf → iconfont.1744078845757.ttf} +0 -0
- /package/es/{iconfont.1743578648080.woff → iconfont.1744078845757.woff} +0 -0
- /package/es/{iconfont.1743578648080.woff2 → iconfont.1744078845757.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1743578648080.ttf → iconfont.1744078845757.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1743578648080.woff → iconfont.1744078845757.woff} +0 -0
- /package/lib/icon/style/{iconfont.1743578648080.woff2 → iconfont.1744078845757.woff2} +0 -0
- /package/lib/{iconfont.1743578648080.ttf → iconfont.1744078845757.ttf} +0 -0
- /package/lib/{iconfont.1743578648080.woff → iconfont.1744078845757.woff} +0 -0
- /package/lib/{iconfont.1743578648080.woff2 → iconfont.1744078845757.woff2} +0 -0
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
height: 100%;
|
|
35
35
|
display: flex;
|
|
36
36
|
flex-direction: row;
|
|
37
|
-
overflow:
|
|
37
|
+
overflow: auto;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.vxe-split-slots {
|
|
@@ -103,29 +103,31 @@
|
|
|
103
103
|
border: 1px solid var(--vxe-ui-base-popup-border-color);
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
|
-
&.is--
|
|
107
|
-
&.is--
|
|
108
|
-
|
|
109
|
-
.vxe-split-pane-handle
|
|
110
|
-
|
|
106
|
+
&.is--resize {
|
|
107
|
+
&.is--expand {
|
|
108
|
+
&.is--horizontal {
|
|
109
|
+
& > .vxe-split-pane-handle {
|
|
110
|
+
.vxe-split-pane-handle-bar {
|
|
111
|
+
cursor: w-resize;
|
|
112
|
+
}
|
|
111
113
|
}
|
|
112
114
|
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
115
|
+
&.is--vertical {
|
|
116
|
+
& > .vxe-split-pane-handle {
|
|
117
|
+
.vxe-split-pane-handle-bar {
|
|
118
|
+
cursor: n-resize;
|
|
119
|
+
}
|
|
118
120
|
}
|
|
119
121
|
}
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
122
|
+
& > .vxe-split-pane-handle {
|
|
123
|
+
& > .vxe-split-pane-handle-bar {
|
|
124
|
+
background-color: var(--vxe-split-handle-bar-background-color);
|
|
125
|
+
&:hover {
|
|
126
|
+
background-color: var(--vxe-ui-font-primary-lighten-color);
|
|
127
|
+
}
|
|
128
|
+
&:active {
|
|
129
|
+
background-color: var(--vxe-ui-font-primary-darken-color);
|
|
130
|
+
}
|
|
129
131
|
}
|
|
130
132
|
}
|
|
131
133
|
}
|
|
@@ -194,4 +196,10 @@
|
|
|
194
196
|
}
|
|
195
197
|
}
|
|
196
198
|
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.vxe-modal--content {
|
|
202
|
+
& > .vxe-split {
|
|
203
|
+
height: 100%;
|
|
204
|
+
}
|
|
197
205
|
}
|
|
@@ -29,6 +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 Resize = boolean
|
|
32
33
|
export type Items = VxeSplitPaneProps[]
|
|
33
34
|
export interface ItemConfig {
|
|
34
35
|
minWidth?: string | number
|
|
@@ -84,6 +85,10 @@ export type VxeSplitProps = {
|
|
|
84
85
|
* 是否带有边框
|
|
85
86
|
*/
|
|
86
87
|
border?: VxeSplitPropTypes.Border
|
|
88
|
+
/**
|
|
89
|
+
* 是否允许拖拽
|
|
90
|
+
*/
|
|
91
|
+
resize?: VxeSplitPropTypes.Resize
|
|
87
92
|
/**
|
|
88
93
|
* 面板列表
|
|
89
94
|
*/
|
|
@@ -1749,6 +1749,8 @@ export namespace VxeTablePropTypes {
|
|
|
1749
1749
|
*/
|
|
1750
1750
|
findMethod?(params: {
|
|
1751
1751
|
cellValue: any
|
|
1752
|
+
row: DT
|
|
1753
|
+
column: VxeTableDefines.ColumnInfo<DT>
|
|
1752
1754
|
isWhole: boolean
|
|
1753
1755
|
isRE: boolean
|
|
1754
1756
|
isSensitive: boolean
|
|
@@ -5696,11 +5698,33 @@ export namespace VxeTableSlotTypes {
|
|
|
5696
5698
|
export interface EmptySlotParams<D = any> extends BaseSlotParams<D> {}
|
|
5697
5699
|
export interface LoadingSlotParams<D = any> extends BaseSlotParams<D> {}
|
|
5698
5700
|
|
|
5699
|
-
export interface RowDragIconSlotParams<D = any> extends BaseSlotParams<D
|
|
5700
|
-
|
|
5701
|
+
export interface RowDragIconSlotParams<D = any> extends BaseSlotParams<D> {
|
|
5702
|
+
row: D
|
|
5703
|
+
column: VxeTableDefines.ColumnInfo<D>
|
|
5704
|
+
}
|
|
5705
|
+
export interface ColumnDragIconSlotParams<D = any> extends BaseSlotParams<D> {
|
|
5706
|
+
column: VxeTableDefines.ColumnInfo<D>
|
|
5707
|
+
}
|
|
5701
5708
|
}
|
|
5702
5709
|
|
|
5703
5710
|
export interface VxeTableSlots<D = any> {
|
|
5711
|
+
/**
|
|
5712
|
+
* 自定义插槽模板
|
|
5713
|
+
*/
|
|
5714
|
+
// [key: string]: ((params: {
|
|
5715
|
+
// $table: VxeTableConstructor<D>
|
|
5716
|
+
// $grid: VxeGridConstructor<D> | null | undefined
|
|
5717
|
+
// row: D
|
|
5718
|
+
// rowIndex: number
|
|
5719
|
+
// $rowIndex: number
|
|
5720
|
+
// _rowIndex: number
|
|
5721
|
+
// column: VxeTableDefines.ColumnInfo<D>
|
|
5722
|
+
// columnIndex: number
|
|
5723
|
+
// $columnIndex: number
|
|
5724
|
+
// _columnIndex: number
|
|
5725
|
+
// [key: string]: any
|
|
5726
|
+
// }) => any) | undefined
|
|
5727
|
+
|
|
5704
5728
|
/**
|
|
5705
5729
|
* 自定义空数据时显示模板
|
|
5706
5730
|
*/
|
|
@@ -63,6 +63,7 @@ export namespace VxeUploadPropTypes {
|
|
|
63
63
|
export type TypeField = string
|
|
64
64
|
export type UrlField = string
|
|
65
65
|
export type SizeField = string
|
|
66
|
+
export type ShowTip = boolean
|
|
66
67
|
export type TipText = string
|
|
67
68
|
export type ButtonText = string
|
|
68
69
|
export type ButtonIcon = string
|
|
@@ -162,6 +163,7 @@ export interface VxeUploadProps {
|
|
|
162
163
|
showProgress?: VxeUploadPropTypes.ShowProgress
|
|
163
164
|
progressText?: VxeUploadPropTypes.ProgressText
|
|
164
165
|
autoHiddenButton?: VxeUploadPropTypes.AutoHiddenButton
|
|
166
|
+
showTip?: VxeUploadPropTypes.ShowTip
|
|
165
167
|
tipText?: VxeUploadPropTypes.TipText
|
|
166
168
|
previewMethod?: VxeUploadPropTypes.PreviewMethod
|
|
167
169
|
uploadMethod?: VxeUploadPropTypes.UploadMethod
|
|
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
|