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.
Files changed (59) hide show
  1. package/es/drawer/src/drawer.js +6 -5
  2. package/es/icon/style.css +1 -1
  3. package/es/modal/src/modal.js +6 -5
  4. package/es/split/src/split.js +30 -6
  5. package/es/split/style.css +10 -6
  6. package/es/split/style.min.css +1 -1
  7. package/es/style.css +1 -1
  8. package/es/style.min.css +1 -1
  9. package/es/ui/index.js +2 -1
  10. package/es/ui/src/log.js +1 -1
  11. package/es/upload/src/upload.js +22 -2
  12. package/es/vxe-split/style.css +10 -6
  13. package/es/vxe-split/style.min.css +1 -1
  14. package/lib/drawer/src/drawer.js +6 -5
  15. package/lib/drawer/src/drawer.min.js +1 -1
  16. package/lib/icon/style/style.css +1 -1
  17. package/lib/icon/style/style.min.css +1 -1
  18. package/lib/index.umd.js +69 -17
  19. package/lib/index.umd.min.js +1 -1
  20. package/lib/modal/src/modal.js +6 -5
  21. package/lib/modal/src/modal.min.js +1 -1
  22. package/lib/split/src/split.js +29 -3
  23. package/lib/split/src/split.min.js +1 -1
  24. package/lib/split/style/style.css +10 -6
  25. package/lib/split/style/style.min.css +1 -1
  26. package/lib/style.css +1 -1
  27. package/lib/style.min.css +1 -1
  28. package/lib/ui/index.js +2 -1
  29. package/lib/ui/index.min.js +1 -1
  30. package/lib/ui/src/log.js +1 -1
  31. package/lib/ui/src/log.min.js +1 -1
  32. package/lib/upload/src/upload.js +25 -2
  33. package/lib/upload/src/upload.min.js +1 -1
  34. package/lib/vxe-split/style/style.css +10 -6
  35. package/lib/vxe-split/style/style.min.css +1 -1
  36. package/package.json +1 -1
  37. package/packages/drawer/src/drawer.ts +6 -5
  38. package/packages/modal/src/modal.ts +6 -5
  39. package/packages/split/src/split.ts +33 -6
  40. package/packages/ui/index.ts +1 -0
  41. package/packages/upload/src/upload.ts +23 -2
  42. package/styles/components/split.scss +28 -20
  43. package/types/components/drawer.d.ts +1 -0
  44. package/types/components/modal.d.ts +1 -0
  45. package/types/components/split.d.ts +5 -0
  46. package/types/components/table.d.ts +26 -2
  47. package/types/components/upload.d.ts +2 -0
  48. /package/es/icon/{iconfont.1743578648080.ttf → iconfont.1744078845757.ttf} +0 -0
  49. /package/es/icon/{iconfont.1743578648080.woff → iconfont.1744078845757.woff} +0 -0
  50. /package/es/icon/{iconfont.1743578648080.woff2 → iconfont.1744078845757.woff2} +0 -0
  51. /package/es/{iconfont.1743578648080.ttf → iconfont.1744078845757.ttf} +0 -0
  52. /package/es/{iconfont.1743578648080.woff → iconfont.1744078845757.woff} +0 -0
  53. /package/es/{iconfont.1743578648080.woff2 → iconfont.1744078845757.woff2} +0 -0
  54. /package/lib/icon/style/{iconfont.1743578648080.ttf → iconfont.1744078845757.ttf} +0 -0
  55. /package/lib/icon/style/{iconfont.1743578648080.woff → iconfont.1744078845757.woff} +0 -0
  56. /package/lib/icon/style/{iconfont.1743578648080.woff2 → iconfont.1744078845757.woff2} +0 -0
  57. /package/lib/{iconfont.1743578648080.ttf → iconfont.1744078845757.ttf} +0 -0
  58. /package/lib/{iconfont.1743578648080.woff → iconfont.1744078845757.woff} +0 -0
  59. /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: hidden;
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--expand {
107
- &.is--horizontal {
108
- & > .vxe-split-pane-handle {
109
- .vxe-split-pane-handle-bar {
110
- cursor: w-resize;
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
- &.is--vertical {
115
- & > .vxe-split-pane-handle {
116
- .vxe-split-pane-handle-bar {
117
- cursor: n-resize;
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
- & > .vxe-split-pane-handle {
122
- & > .vxe-split-pane-handle-bar {
123
- background-color: var(--vxe-split-handle-bar-background-color);
124
- &:hover {
125
- background-color: var(--vxe-ui-font-primary-lighten-color);
126
- }
127
- &:active {
128
- background-color: var(--vxe-ui-font-primary-darken-color);
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
  }
@@ -111,6 +111,7 @@ export interface DrawerReactData {
111
111
  visible: boolean
112
112
  contentVisible: boolean
113
113
  drawerZIndex: number
114
+ resizeFlag: number
114
115
  }
115
116
 
116
117
  export interface DrawerMethods {
@@ -207,6 +207,7 @@ export interface ModalReactData {
207
207
  height: number
208
208
  } | null
209
209
  firstOpen: boolean
210
+ resizeFlag: number
210
211
  }
211
212
 
212
213
  export interface ModalInternalData {
@@ -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>, VxeTableDefines.CellRenderBodyParams<D> {}
5700
- export interface ColumnDragIconSlotParams<D = any> extends BaseSlotParams<D>, VxeTableDefines.CellRenderHeaderParams<D> {}
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