vxe-pc-ui 4.11.44 → 4.12.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.
- package/es/button/src/button.js +18 -6
- package/es/date-picker/src/date-picker.js +17 -5
- package/es/date-range-picker/src/date-range-picker.js +17 -5
- package/es/icon/style.css +1 -1
- package/es/icon-picker/src/icon-picker.js +36 -74
- package/es/pulldown/src/pulldown.js +26 -6
- package/es/select/src/select.js +21 -7
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table-select/src/table-select.js +17 -7
- package/es/tree-select/src/tree-select.js +21 -7
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/button/src/button.js +18 -9
- package/lib/button/src/button.min.js +1 -1
- package/lib/date-picker/src/date-picker.js +19 -7
- package/lib/date-picker/src/date-picker.min.js +1 -1
- package/lib/date-range-picker/src/date-range-picker.js +19 -7
- package/lib/date-range-picker/src/date-range-picker.min.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/icon-picker/src/icon-picker.js +39 -80
- package/lib/icon-picker/src/icon-picker.min.js +1 -1
- package/lib/index.umd.js +185 -146
- package/lib/index.umd.min.js +1 -1
- package/lib/pulldown/src/pulldown.js +26 -9
- package/lib/pulldown/src/pulldown.min.js +1 -1
- package/lib/select/src/select.js +22 -10
- package/lib/select/src/select.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table-select/src/table-select.js +18 -12
- package/lib/table-select/src/table-select.min.js +1 -1
- package/lib/tree-select/src/tree-select.js +22 -10
- package/lib/tree-select/src/tree-select.min.js +1 -1
- package/lib/ui/index.js +1 -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/package.json +1 -1
- package/packages/button/src/button.ts +19 -6
- package/packages/date-picker/src/date-picker.ts +18 -5
- package/packages/date-range-picker/src/date-range-picker.ts +18 -5
- package/packages/icon-picker/src/icon-picker.ts +37 -71
- package/packages/pulldown/src/pulldown.ts +27 -6
- package/packages/select/src/select.ts +21 -7
- package/packages/table-select/src/table-select.ts +17 -7
- package/packages/tree-select/src/tree-select.ts +21 -7
- package/types/components/button.d.ts +18 -0
- package/types/components/date-picker.d.ts +8 -0
- package/types/components/date-range-picker.d.ts +8 -0
- package/types/components/icon-picker.d.ts +24 -0
- package/types/components/pulldown.d.ts +28 -0
- package/types/components/select.d.ts +26 -0
- package/types/components/table-select.d.ts +16 -1
- package/types/components/tree-select.d.ts +20 -2
- /package/es/icon/{iconfont.1768284745337.ttf → iconfont.1768384392686.ttf} +0 -0
- /package/es/icon/{iconfont.1768284745337.woff → iconfont.1768384392686.woff} +0 -0
- /package/es/icon/{iconfont.1768284745337.woff2 → iconfont.1768384392686.woff2} +0 -0
- /package/es/{iconfont.1768284745337.ttf → iconfont.1768384392686.ttf} +0 -0
- /package/es/{iconfont.1768284745337.woff → iconfont.1768384392686.woff} +0 -0
- /package/es/{iconfont.1768284745337.woff2 → iconfont.1768384392686.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1768284745337.ttf → iconfont.1768384392686.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1768284745337.woff → iconfont.1768384392686.woff} +0 -0
- /package/lib/icon/style/{iconfont.1768284745337.woff2 → iconfont.1768384392686.woff2} +0 -0
- /package/lib/{iconfont.1768284745337.ttf → iconfont.1768384392686.ttf} +0 -0
- /package/lib/{iconfont.1768284745337.woff → iconfont.1768384392686.woff} +0 -0
- /package/lib/{iconfont.1768284745337.woff2 → iconfont.1768384392686.woff2} +0 -0
|
@@ -27,6 +27,10 @@ export namespace VxeIconPickerPropTypes {
|
|
|
27
27
|
export type Placeholder = string
|
|
28
28
|
export type Size = VxeComponentSizeType
|
|
29
29
|
export type ClassName = string | ((params: { $iconPicker: VxeIconPickerConstructor }) => string)
|
|
30
|
+
/**
|
|
31
|
+
* 已废弃,请使用 PopupConfig.className
|
|
32
|
+
* @deprecated
|
|
33
|
+
*/
|
|
30
34
|
export type PopupClassName = string | ((params: {$iconPicker: VxeIconPickerConstructor }) => string)
|
|
31
35
|
export type Readonly = boolean
|
|
32
36
|
export type Disabled = boolean
|
|
@@ -38,6 +42,21 @@ export namespace VxeIconPickerPropTypes {
|
|
|
38
42
|
export type Clearable = boolean
|
|
39
43
|
export type ShowIconTitle = boolean
|
|
40
44
|
export type Placement = 'top' | 'bottom' | '' | null
|
|
45
|
+
export interface PopupConfig {
|
|
46
|
+
/**
|
|
47
|
+
* 设置弹出面板方向
|
|
48
|
+
*/
|
|
49
|
+
placement?: 'top' | 'bottom' | '' | null
|
|
50
|
+
/**
|
|
51
|
+
* 触发方式
|
|
52
|
+
*/
|
|
53
|
+
trigger?: 'default' | 'icon' | 'manual' | '' | null
|
|
54
|
+
transfer?: boolean
|
|
55
|
+
width?: number | string
|
|
56
|
+
height?: number | string
|
|
57
|
+
zIndex?: number | string
|
|
58
|
+
className?: string | ((params: { $iconPicker: VxeIconPickerConstructor }) => string)
|
|
59
|
+
}
|
|
41
60
|
export type Transfer = boolean
|
|
42
61
|
}
|
|
43
62
|
|
|
@@ -49,6 +68,10 @@ export type VxeIconPickerProps = {
|
|
|
49
68
|
placeholder?: VxeIconPickerPropTypes.Placeholder
|
|
50
69
|
size?: VxeIconPickerPropTypes.Size
|
|
51
70
|
className?: VxeIconPickerPropTypes.ClassName
|
|
71
|
+
/**
|
|
72
|
+
* 已废弃,请使用 popup-config.className
|
|
73
|
+
* @deprecated
|
|
74
|
+
*/
|
|
52
75
|
popupClassName?: VxeIconPickerPropTypes.PopupClassName
|
|
53
76
|
readonly?: VxeIconPickerPropTypes.Readonly
|
|
54
77
|
disabled?: VxeIconPickerPropTypes.Disabled
|
|
@@ -56,6 +79,7 @@ export type VxeIconPickerProps = {
|
|
|
56
79
|
clearable?: VxeIconPickerPropTypes.Clearable
|
|
57
80
|
showIconTitle?: VxeIconPickerPropTypes.ShowIconTitle
|
|
58
81
|
placement?: VxeIconPickerPropTypes.Placement
|
|
82
|
+
popupConfig?: VxeIconPickerPropTypes.PopupConfig
|
|
59
83
|
transfer?: VxeIconPickerPropTypes.Transfer
|
|
60
84
|
}
|
|
61
85
|
|
|
@@ -26,6 +26,10 @@ export namespace VxePulldownPropTypes {
|
|
|
26
26
|
export type ModelValue = boolean
|
|
27
27
|
export type Size = VxeComponentSizeType
|
|
28
28
|
export type Disabled = boolean
|
|
29
|
+
/**
|
|
30
|
+
* 已废弃,请使用 PopupConfig.zIndex
|
|
31
|
+
* @deprecated
|
|
32
|
+
*/
|
|
29
33
|
export type ZIndex = number
|
|
30
34
|
export type Placement = '' | 'top' | 'bottom'
|
|
31
35
|
export type Trigger = '' | 'manual' | 'click'
|
|
@@ -36,7 +40,22 @@ export namespace VxePulldownPropTypes {
|
|
|
36
40
|
}
|
|
37
41
|
export type Options = Option[]
|
|
38
42
|
export type ClassName = string | ((params: { $pulldown: VxePulldownConstructor }) => string)
|
|
43
|
+
/**
|
|
44
|
+
* 已废弃,请使用 PopupConfig.className
|
|
45
|
+
* @deprecated
|
|
46
|
+
*/
|
|
39
47
|
export type PopupClassName = string | ((params: { $pulldown: VxePulldownConstructor }) => string)
|
|
48
|
+
export interface PopupConfig {
|
|
49
|
+
/**
|
|
50
|
+
* 设置弹出面板方向
|
|
51
|
+
*/
|
|
52
|
+
placement?: 'top' | 'bottom' | '' | null
|
|
53
|
+
transfer?: boolean
|
|
54
|
+
width?: number | string
|
|
55
|
+
height?: number | string
|
|
56
|
+
zIndex?: number | string
|
|
57
|
+
className?: string | ((params: { $pulldown: VxePulldownConstructor }) => string)
|
|
58
|
+
}
|
|
40
59
|
export type ShowPopupShadow = boolean
|
|
41
60
|
export type DestroyOnClose = boolean
|
|
42
61
|
export type Transfer = boolean
|
|
@@ -49,15 +68,24 @@ export interface VxePulldownProps {
|
|
|
49
68
|
* 是否禁用
|
|
50
69
|
*/
|
|
51
70
|
disabled?: VxePulldownPropTypes.Disabled
|
|
71
|
+
/**
|
|
72
|
+
* 已废弃,请使用 popup-config.zIndex
|
|
73
|
+
* @deprecated
|
|
74
|
+
*/
|
|
52
75
|
zIndex?: VxePulldownPropTypes.ZIndex
|
|
53
76
|
options?: VxePulldownPropTypes.Options
|
|
54
77
|
className?: VxePulldownPropTypes.ClassName
|
|
78
|
+
/**
|
|
79
|
+
* 已废弃,请使用 popup-config.className
|
|
80
|
+
* @deprecated
|
|
81
|
+
*/
|
|
55
82
|
popupClassName?: VxePulldownPropTypes.PopupClassName
|
|
56
83
|
/**
|
|
57
84
|
* 固定显示下拉面板的方向
|
|
58
85
|
*/
|
|
59
86
|
placement?: VxePulldownPropTypes.Placement
|
|
60
87
|
trigger?: VxePulldownPropTypes.Trigger
|
|
88
|
+
popupConfig?: VxePulldownPropTypes.PopupConfig
|
|
61
89
|
showPopupShadow?: VxePulldownPropTypes.ShowPopupShadow
|
|
62
90
|
/**
|
|
63
91
|
* 在下拉容器关闭时销毁内容
|
|
@@ -34,6 +34,10 @@ export namespace VxeSelectPropTypes {
|
|
|
34
34
|
selectMode?: 'all' | 'first' | 'last'
|
|
35
35
|
}
|
|
36
36
|
export type Clearable = boolean
|
|
37
|
+
/**
|
|
38
|
+
* 已废弃,请使用 PopupConfig.zIndex
|
|
39
|
+
* @deprecated
|
|
40
|
+
*/
|
|
37
41
|
export type ZIndex = number
|
|
38
42
|
export type Placeholder = string
|
|
39
43
|
export type Readonly = boolean
|
|
@@ -43,6 +47,10 @@ export namespace VxeSelectPropTypes {
|
|
|
43
47
|
export type ShowCheckedButoon = boolean
|
|
44
48
|
export type ShowClearButton = boolean
|
|
45
49
|
export type ClassName = string | ((params: { $select: VxeSelectConstructor }) => string)
|
|
50
|
+
/**
|
|
51
|
+
* 已废弃,请使用 PopupConfig.className
|
|
52
|
+
* @deprecated
|
|
53
|
+
*/
|
|
46
54
|
export type PopupClassName = string | ((params: { $select: VxeSelectConstructor }) => string)
|
|
47
55
|
export type Multiple = boolean
|
|
48
56
|
export type MultiCharOverflow = number | string
|
|
@@ -126,8 +134,18 @@ export namespace VxeSelectPropTypes {
|
|
|
126
134
|
export type OptionKey = boolean
|
|
127
135
|
export type Transfer = boolean
|
|
128
136
|
export interface PopupConfig {
|
|
137
|
+
/**
|
|
138
|
+
* 设置弹出面板方向
|
|
139
|
+
*/
|
|
140
|
+
placement?: 'top' | 'bottom' | '' | null
|
|
141
|
+
/**
|
|
142
|
+
* 触发方式
|
|
143
|
+
*/
|
|
144
|
+
trigger?: 'default' | 'icon' | 'manual' | '' | null
|
|
145
|
+
transfer?: boolean
|
|
129
146
|
width?: number | string
|
|
130
147
|
height?: number | string
|
|
148
|
+
zIndex?: number | string
|
|
131
149
|
className?: string | ((params: { $select: VxeSelectConstructor }) => string)
|
|
132
150
|
}
|
|
133
151
|
|
|
@@ -163,6 +181,10 @@ export interface VxeSelectProps {
|
|
|
163
181
|
modelValue?: VxeSelectPropTypes.ModelValue
|
|
164
182
|
defaultConfig?: VxeSelectPropTypes.DefaultConfig
|
|
165
183
|
clearable?: VxeSelectPropTypes.Clearable
|
|
184
|
+
/**
|
|
185
|
+
* 已废弃,请使用 popup-config.zIndex
|
|
186
|
+
* @deprecated
|
|
187
|
+
*/
|
|
166
188
|
zIndex?: VxeSelectPropTypes.ZIndex
|
|
167
189
|
placeholder?: VxeSelectPropTypes.Placeholder
|
|
168
190
|
readonly?: VxeSelectPropTypes.Readonly
|
|
@@ -172,6 +194,10 @@ export interface VxeSelectProps {
|
|
|
172
194
|
showCheckedButoon?: VxeSelectPropTypes.ShowCheckedButoon
|
|
173
195
|
showClearButton?: VxeSelectPropTypes.ShowClearButton
|
|
174
196
|
className?: VxeSelectPropTypes.ClassName
|
|
197
|
+
/**
|
|
198
|
+
* 已废弃,请使用 popup-config.className
|
|
199
|
+
* @deprecated
|
|
200
|
+
*/
|
|
175
201
|
popupClassName?: VxeSelectPropTypes.PopupClassName
|
|
176
202
|
multiple?: VxeSelectPropTypes.Multiple
|
|
177
203
|
multiCharOverflow?: VxeSelectPropTypes.MultiCharOverflow
|
|
@@ -47,8 +47,18 @@ export namespace VxeTableSelectPropTypes {
|
|
|
47
47
|
}
|
|
48
48
|
export type Transfer = boolean
|
|
49
49
|
export interface PopupConfig {
|
|
50
|
+
/**
|
|
51
|
+
* 设置弹出面板方向
|
|
52
|
+
*/
|
|
53
|
+
placement?: 'top' | 'bottom' | '' | null
|
|
54
|
+
/**
|
|
55
|
+
* 触发方式
|
|
56
|
+
*/
|
|
57
|
+
trigger?: 'default' | 'icon' | 'manual' | '' | null
|
|
58
|
+
transfer?: boolean
|
|
50
59
|
width?: number | string
|
|
51
60
|
height?: number | string
|
|
61
|
+
zIndex?: number | string
|
|
52
62
|
className?: string | ((params: { $tableSelect: VxeTableSelectConstructor }) => string)
|
|
53
63
|
}
|
|
54
64
|
export type GridConfig<D = any> = Omit<VxeGridProps<D>, 'data' | 'height' | 'maxHeight' | 'minHeight' | 'size'>
|
|
@@ -58,7 +68,6 @@ export interface VxeTableSelectProps<D = any> {
|
|
|
58
68
|
size?: VxeTableSelectPropTypes.Size
|
|
59
69
|
modelValue?: VxeTableSelectPropTypes.ModelValue
|
|
60
70
|
clearable?: VxeTableSelectPropTypes.Clearable
|
|
61
|
-
zIndex?: VxeTableSelectPropTypes.ZIndex
|
|
62
71
|
placeholder?: VxeTableSelectPropTypes.Placeholder
|
|
63
72
|
readonly?: VxeTableSelectPropTypes.Readonly
|
|
64
73
|
loading?: VxeTableSelectPropTypes.Loading
|
|
@@ -74,6 +83,12 @@ export interface VxeTableSelectProps<D = any> {
|
|
|
74
83
|
transfer?: VxeTableSelectPropTypes.Transfer
|
|
75
84
|
popupConfig?: VxeTableSelectPropTypes.PopupConfig
|
|
76
85
|
gridConfig?: VxeTableSelectPropTypes.GridConfig<D>
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* 已废弃,请使用 popup-config.zIndex
|
|
89
|
+
* @deprecated
|
|
90
|
+
*/
|
|
91
|
+
zIndex?: VxeTableSelectPropTypes.ZIndex
|
|
77
92
|
}
|
|
78
93
|
|
|
79
94
|
export interface TableSelectPrivateComputed {
|
|
@@ -27,6 +27,10 @@ export namespace VxeTreeSelectPropTypes {
|
|
|
27
27
|
export type Size = VxeComponentSizeType
|
|
28
28
|
export type ModelValue = any
|
|
29
29
|
export type Clearable = boolean
|
|
30
|
+
/**
|
|
31
|
+
* 已废弃,请使用 PopupConfig.zIndex
|
|
32
|
+
* @deprecated
|
|
33
|
+
*/
|
|
30
34
|
export type ZIndex = number
|
|
31
35
|
export type Placeholder = string
|
|
32
36
|
export type Readonly = boolean
|
|
@@ -39,7 +43,7 @@ export namespace VxeTreeSelectPropTypes {
|
|
|
39
43
|
export type ShowClearButton = boolean
|
|
40
44
|
export type ClassName = string | ((params: { $treeSelect: VxeTreeSelectConstructor }) => string)
|
|
41
45
|
/**
|
|
42
|
-
* 已废弃,请使用
|
|
46
|
+
* 已废弃,请使用 PopupConfig.className
|
|
43
47
|
* @deprecated
|
|
44
48
|
*/
|
|
45
49
|
export type PopupClassName = string | ((params: { $treeSelect: VxeTreeSelectConstructor }) => string)
|
|
@@ -99,8 +103,18 @@ export namespace VxeTreeSelectPropTypes {
|
|
|
99
103
|
|
|
100
104
|
export type Transfer = boolean
|
|
101
105
|
export interface PopupConfig {
|
|
106
|
+
/**
|
|
107
|
+
* 设置弹出面板方向
|
|
108
|
+
*/
|
|
109
|
+
placement?: 'top' | 'bottom' | '' | null
|
|
110
|
+
/**
|
|
111
|
+
* 触发方式
|
|
112
|
+
*/
|
|
113
|
+
trigger?: 'default' | 'icon' | 'manual' | '' | null
|
|
114
|
+
transfer?: boolean
|
|
102
115
|
width?: number | string
|
|
103
116
|
height?: number | string
|
|
117
|
+
zIndex?: number | string
|
|
104
118
|
className?: string | ((params: { $treeSelect: VxeTreeSelectConstructor }) => string)
|
|
105
119
|
}
|
|
106
120
|
export interface TreeConfig<D = any> extends Omit<VxeTreeProps<D>, 'data' | 'size' | 'menuConfig'> {
|
|
@@ -132,7 +146,6 @@ export interface VxeTreeSelectProps<D = any> {
|
|
|
132
146
|
size?: VxeTreeSelectPropTypes.Size
|
|
133
147
|
modelValue?: VxeTreeSelectPropTypes.ModelValue
|
|
134
148
|
clearable?: VxeTreeSelectPropTypes.Clearable
|
|
135
|
-
zIndex?: VxeTreeSelectPropTypes.ZIndex
|
|
136
149
|
placeholder?: VxeTreeSelectPropTypes.Placeholder
|
|
137
150
|
readonly?: VxeTreeSelectPropTypes.Readonly
|
|
138
151
|
loading?: VxeTreeSelectPropTypes.Loading
|
|
@@ -159,6 +172,11 @@ export interface VxeTreeSelectProps<D = any> {
|
|
|
159
172
|
menuConfig?: VxeTreeSelectPropTypes.MenuConfig<D>
|
|
160
173
|
virtualYConfig?: VxeTreeSelectPropTypes.VirtualYConfig
|
|
161
174
|
|
|
175
|
+
/**
|
|
176
|
+
* 已废弃,请使用 popup-config.zIndex
|
|
177
|
+
* @deprecated
|
|
178
|
+
*/
|
|
179
|
+
zIndex?: VxeTreeSelectPropTypes.ZIndex
|
|
162
180
|
/**
|
|
163
181
|
* 已废弃,被 remote-config.queryMethod 替换
|
|
164
182
|
* @deprecated
|
|
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
|