vxe-pc-ui 3.12.34 → 3.12.36
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/icon/style.css +1 -1
- package/es/pulldown/src/pulldown.js +29 -9
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +6 -5
- package/es/ui/src/log.js +1 -1
- package/es/upload/src/upload.js +16 -15
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +54 -24
- package/lib/index.umd.min.js +1 -1
- package/lib/pulldown/src/pulldown.js +31 -9
- package/lib/pulldown/src/pulldown.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/ui/index.js +6 -5
- 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 -9
- package/lib/upload/src/upload.min.js +1 -1
- package/package.json +1 -1
- package/packages/pulldown/src/pulldown.ts +29 -9
- package/packages/ui/index.ts +5 -4
- package/packages/upload/src/upload.ts +15 -4
- package/types/components/gantt.d.ts +11 -0
- package/types/components/pulldown.d.ts +12 -0
- package/types/components/textarea.d.ts +9 -3
- package/types/components/upload.d.ts +3 -0
- /package/es/icon/{iconfont.1770363241463.ttf → iconfont.1770735762076.ttf} +0 -0
- /package/es/icon/{iconfont.1770363241463.woff → iconfont.1770735762076.woff} +0 -0
- /package/es/icon/{iconfont.1770363241463.woff2 → iconfont.1770735762076.woff2} +0 -0
- /package/es/{iconfont.1770363241463.ttf → iconfont.1770735762076.ttf} +0 -0
- /package/es/{iconfont.1770363241463.woff → iconfont.1770735762076.woff} +0 -0
- /package/es/{iconfont.1770363241463.woff2 → iconfont.1770735762076.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1770363241463.ttf → iconfont.1770735762076.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1770363241463.woff → iconfont.1770735762076.woff} +0 -0
- /package/lib/icon/style/{iconfont.1770363241463.woff2 → iconfont.1770735762076.woff2} +0 -0
- /package/lib/{iconfont.1770363241463.ttf → iconfont.1770735762076.ttf} +0 -0
- /package/lib/{iconfont.1770363241463.woff → iconfont.1770735762076.woff} +0 -0
- /package/lib/{iconfont.1770363241463.woff2 → iconfont.1770735762076.woff2} +0 -0
|
@@ -25,6 +25,10 @@ export namespace VxePulldownPropTypes {
|
|
|
25
25
|
*/
|
|
26
26
|
export type ZIndex = number
|
|
27
27
|
export type Placement = '' | 'top' | 'bottom'
|
|
28
|
+
/**
|
|
29
|
+
* 已废弃,请使用 PopupConfig.trigger
|
|
30
|
+
* @deprecated
|
|
31
|
+
*/
|
|
28
32
|
export type Trigger = '' | 'manual' | 'click'
|
|
29
33
|
export interface Option {
|
|
30
34
|
label?: string | number
|
|
@@ -43,6 +47,10 @@ export namespace VxePulldownPropTypes {
|
|
|
43
47
|
* 设置弹出面板方向
|
|
44
48
|
*/
|
|
45
49
|
placement?: 'top' | 'bottom' | '' | null
|
|
50
|
+
/**
|
|
51
|
+
* 触发方式
|
|
52
|
+
*/
|
|
53
|
+
trigger?: 'click' | 'manual' | 'default' | '' | null
|
|
46
54
|
transfer?: boolean
|
|
47
55
|
width?: number | string
|
|
48
56
|
height?: number | string
|
|
@@ -77,6 +85,10 @@ export interface VxePulldownProps {
|
|
|
77
85
|
* 固定显示下拉面板的方向
|
|
78
86
|
*/
|
|
79
87
|
placement?: VxePulldownPropTypes.Placement
|
|
88
|
+
/**
|
|
89
|
+
* 已废弃,请使用 popup-config.trigger
|
|
90
|
+
* @deprecated
|
|
91
|
+
*/
|
|
80
92
|
trigger?: VxePulldownPropTypes.Trigger
|
|
81
93
|
popupConfig?: VxePulldownPropTypes.PopupConfig
|
|
82
94
|
showPopupShadow?: VxePulldownPropTypes.ShowPopupShadow
|
|
@@ -167,13 +167,19 @@ export namespace VxeTextareaDefines {
|
|
|
167
167
|
export interface ChangeEventParams extends TextareaEventParams, ChangeParams { }
|
|
168
168
|
|
|
169
169
|
export interface KeyupParams extends InputParams {}
|
|
170
|
-
export interface KeyupEventParams extends TextareaEventParams, KeyupParams {
|
|
170
|
+
export interface KeyupEventParams extends TextareaEventParams, KeyupParams {
|
|
171
|
+
$event: KeyboardEvent
|
|
172
|
+
}
|
|
171
173
|
|
|
172
174
|
export interface KeydownParams extends InputParams {}
|
|
173
|
-
export interface KeydownEventParams extends TextareaEventParams, KeydownParams {
|
|
175
|
+
export interface KeydownEventParams extends TextareaEventParams, KeydownParams {
|
|
176
|
+
$event: KeyboardEvent
|
|
177
|
+
}
|
|
174
178
|
|
|
175
179
|
export interface ClickParams extends InputParams {}
|
|
176
|
-
export interface ClickEventParams extends TextareaEventParams, ClickParams {
|
|
180
|
+
export interface ClickEventParams extends TextareaEventParams, ClickParams {
|
|
181
|
+
$event: MouseEvent
|
|
182
|
+
}
|
|
177
183
|
|
|
178
184
|
export interface FocusParams extends InputParams {}
|
|
179
185
|
export interface FocusEventParams extends TextareaEventParams, FocusParams { }
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentEventParams, ValueOf, VxeComponentSizeType } from '@vxe-ui/core'
|
|
2
2
|
import { VxeImagePropTypes } from './image'
|
|
3
|
+
import { VxeImagePreviewProps } from './image-preview'
|
|
3
4
|
|
|
4
5
|
/* eslint-disable @typescript-eslint/no-empty-interface,no-use-before-define,@typescript-eslint/ban-types */
|
|
5
6
|
|
|
@@ -87,6 +88,7 @@ export namespace VxeUploadPropTypes {
|
|
|
87
88
|
export type ShowSubmitButton = boolean
|
|
88
89
|
export type AutoHiddenButton = boolean
|
|
89
90
|
export type ShowUploadButton = boolean
|
|
91
|
+
export interface PreviewImageConfig extends Omit<VxeImagePreviewProps, 'modelValue' | 'urlList' | 'urlField'> {}
|
|
90
92
|
export type PreviewMethod = undefined | ((params: {
|
|
91
93
|
$upload: VxeUploadConstructor
|
|
92
94
|
option: VxeUploadDefines.FileObjItem
|
|
@@ -179,6 +181,7 @@ export interface VxeUploadProps {
|
|
|
179
181
|
showButtonIcon?: VxeUploadPropTypes.ShowButtonIcon
|
|
180
182
|
showRemoveButton?: VxeUploadPropTypes.ShowRemoveButton
|
|
181
183
|
showDownloadButton?: VxeUploadPropTypes.ShowDownloadButton
|
|
184
|
+
previewImageConfig?: VxeUploadPropTypes.PreviewImageConfig
|
|
182
185
|
showPreview?: VxeUploadPropTypes.ShowPreview
|
|
183
186
|
showErrorStatus?: VxeUploadPropTypes.ShowErrorStatus
|
|
184
187
|
showProgress?: VxeUploadPropTypes.ShowProgress
|
|
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
|