vxe-pc-ui 4.11.26 → 4.11.28
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/date-range-picker/src/date-range-picker.js +2 -1
- package/es/form/render/index.js +7 -1
- package/es/form/src/form.js +23 -18
- package/es/form/src/render.js +4 -2
- package/es/form/style.css +5 -2
- package/es/form/style.min.css +1 -1
- package/es/icon/style.css +1 -1
- package/es/radio/src/button.js +7 -5
- package/es/radio/src/group.js +3 -2
- package/es/radio/src/radio.js +3 -2
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-form/style.css +5 -2
- package/es/vxe-form/style.min.css +1 -1
- package/lib/date-range-picker/src/date-range-picker.js +5 -1
- package/lib/date-range-picker/src/date-range-picker.min.js +1 -1
- package/lib/form/render/index.js +10 -1
- package/lib/form/render/index.min.js +1 -1
- package/lib/form/src/form.js +28 -23
- package/lib/form/src/form.min.js +1 -1
- package/lib/form/src/render.js +4 -1
- package/lib/form/src/render.min.js +1 -1
- package/lib/form/style/style.css +5 -2
- package/lib/form/style/style.min.css +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +80 -42
- package/lib/index.umd.min.js +1 -1
- package/lib/radio/src/button.js +15 -8
- package/lib/radio/src/button.min.js +1 -1
- package/lib/radio/src/group.js +7 -2
- package/lib/radio/src/group.min.js +1 -1
- package/lib/radio/src/radio.js +7 -2
- package/lib/radio/src/radio.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +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/lib/vxe-form/style/style.css +5 -2
- package/lib/vxe-form/style/style.min.css +1 -1
- package/package.json +2 -2
- package/packages/date-range-picker/src/date-range-picker.ts +2 -1
- package/packages/form/render/index.ts +27 -21
- package/packages/form/src/form.ts +23 -17
- package/packages/form/src/render.ts +4 -2
- package/packages/radio/src/button.ts +9 -6
- package/packages/radio/src/group.ts +3 -2
- package/packages/radio/src/radio.ts +3 -2
- package/styles/components/form.scss +7 -2
- package/styles/theme/base.scss +2 -0
- package/types/components/date-range-picker.d.ts +3 -1
- package/types/components/form-item.d.ts +4 -0
- package/types/components/form.d.ts +23 -0
- package/types/components/radio-group.d.ts +2 -1
- package/types/components/table.d.ts +11 -2
- /package/es/icon/{iconfont.1767145265666.ttf → iconfont.1767178201934.ttf} +0 -0
- /package/es/icon/{iconfont.1767145265666.woff → iconfont.1767178201934.woff} +0 -0
- /package/es/icon/{iconfont.1767145265666.woff2 → iconfont.1767178201934.woff2} +0 -0
- /package/es/{iconfont.1767145265666.ttf → iconfont.1767178201934.ttf} +0 -0
- /package/es/{iconfont.1767145265666.woff → iconfont.1767178201934.woff} +0 -0
- /package/es/{iconfont.1767145265666.woff2 → iconfont.1767178201934.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1767145265666.ttf → iconfont.1767178201934.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1767145265666.woff → iconfont.1767178201934.woff} +0 -0
- /package/lib/icon/style/{iconfont.1767145265666.woff2 → iconfont.1767178201934.woff2} +0 -0
- /package/lib/{iconfont.1767145265666.ttf → iconfont.1767178201934.ttf} +0 -0
- /package/lib/{iconfont.1767145265666.woff → iconfont.1767178201934.woff} +0 -0
- /package/lib/{iconfont.1767145265666.woff2 → iconfont.1767178201934.woff2} +0 -0
|
@@ -251,7 +251,9 @@ export namespace VxeDateRangePickerDefines {
|
|
|
251
251
|
}
|
|
252
252
|
export interface InputEventParams extends DateRangePickerEventParams, DateRangePickerParams { }
|
|
253
253
|
|
|
254
|
-
export interface ChangeParams extends DateRangePickerParams {
|
|
254
|
+
export interface ChangeParams extends DateRangePickerParams {
|
|
255
|
+
isFinish: boolean
|
|
256
|
+
}
|
|
255
257
|
export interface ChangeEventParams extends DateRangePickerEventParams, ChangeParams { }
|
|
256
258
|
|
|
257
259
|
export interface ClearEventParams extends DateRangePickerEventParams {}
|
|
@@ -96,6 +96,10 @@ export namespace VxeFormItemPropTypes {
|
|
|
96
96
|
props?: P
|
|
97
97
|
attrs?: Record<string, any>
|
|
98
98
|
events?: Record<string, (itemParams: VxeFormItemSlotTypes.DefaultSlotParams<D>, ...args: any[]) => any>
|
|
99
|
+
/**
|
|
100
|
+
* 是否在 change 时触发提交
|
|
101
|
+
*/
|
|
102
|
+
changeToSubmit?: boolean
|
|
99
103
|
/**
|
|
100
104
|
* 下拉选项列表(需要渲染器支持)
|
|
101
105
|
*/
|
|
@@ -72,6 +72,10 @@ export namespace VxeFormPropTypes {
|
|
|
72
72
|
* 当校验不通过时在对应项显示错误提示
|
|
73
73
|
*/
|
|
74
74
|
showErrorMessage?: boolean
|
|
75
|
+
/**
|
|
76
|
+
* 是否显示错误项背景色
|
|
77
|
+
*/
|
|
78
|
+
showErrorBackground?: boolean
|
|
75
79
|
/**
|
|
76
80
|
* 当校验不通过时在对应项显示错误图标
|
|
77
81
|
*/
|
|
@@ -246,13 +250,32 @@ export interface FormMethods<D = any> {
|
|
|
246
250
|
export interface VxeFormMethods<D = any> extends FormMethods<D> { }
|
|
247
251
|
|
|
248
252
|
export interface FormPrivateMethods {
|
|
253
|
+
/**
|
|
254
|
+
* @private
|
|
255
|
+
*/
|
|
249
256
|
callSlot<T = any>(slotFunc: ((params: T) => VxeComponentSlotType | VxeComponentSlotType[]) | string | null, params: T): VxeComponentSlotType[]
|
|
257
|
+
/**
|
|
258
|
+
* @private
|
|
259
|
+
*/
|
|
250
260
|
triggerItemEvent(evnt: Event | { type: string }, field: string, itemValue?: any): Promise<any>
|
|
261
|
+
/**
|
|
262
|
+
* @private
|
|
263
|
+
*/
|
|
251
264
|
toggleCollapseEvent(evnt: Event): void
|
|
265
|
+
/**
|
|
266
|
+
* @private
|
|
267
|
+
*/
|
|
252
268
|
triggerTitleTipEvent(evnt: MouseEvent, params: {
|
|
253
269
|
item: VxeFormDefines.ItemInfo
|
|
254
270
|
}): void
|
|
271
|
+
handleSubmitEvent(evnt: Event): void
|
|
272
|
+
/**
|
|
273
|
+
* @private
|
|
274
|
+
*/
|
|
255
275
|
handleTitleTipLeaveEvent(): void
|
|
276
|
+
/**
|
|
277
|
+
* @private
|
|
278
|
+
*/
|
|
256
279
|
handleValidIconEvent(evnt: Event, params: {
|
|
257
280
|
item: VxeFormDefines.ItemInfo
|
|
258
281
|
}): void
|
|
@@ -81,7 +81,8 @@ export interface VxeRadioGroupMethods extends RadioGroupMethods { }
|
|
|
81
81
|
|
|
82
82
|
export interface RadioGroupPrivateMethods {
|
|
83
83
|
handleChecked(params: {
|
|
84
|
-
checkedValue:
|
|
84
|
+
checkedValue: VxeRadioPropTypes.CheckedValue
|
|
85
|
+
checkedLabel: VxeRadioPropTypes.Content | undefined
|
|
85
86
|
|
|
86
87
|
/**
|
|
87
88
|
* @deprecated
|
|
@@ -2392,9 +2392,13 @@ export namespace VxeTablePropTypes {
|
|
|
2392
2392
|
*/
|
|
2393
2393
|
autoPos?: boolean
|
|
2394
2394
|
/**
|
|
2395
|
-
*
|
|
2395
|
+
* 是否显示错误提示内容
|
|
2396
2396
|
*/
|
|
2397
|
-
|
|
2397
|
+
showErrorMessage?: boolean
|
|
2398
|
+
/**
|
|
2399
|
+
* 是否显示错误单元格背景色
|
|
2400
|
+
*/
|
|
2401
|
+
showErrorBackground?: boolean
|
|
2398
2402
|
/**
|
|
2399
2403
|
* 校验消息提示方式
|
|
2400
2404
|
* - single 单个提示
|
|
@@ -2418,6 +2422,11 @@ export namespace VxeTablePropTypes {
|
|
|
2418
2422
|
*/
|
|
2419
2423
|
className?: string | ((params: VxeColumnSlotTypes.ValidSlotParams<D>) => string)
|
|
2420
2424
|
|
|
2425
|
+
/**
|
|
2426
|
+
* 已废弃,被 showErrorMessage 替换
|
|
2427
|
+
* @deprecated
|
|
2428
|
+
*/
|
|
2429
|
+
showMessage?: boolean
|
|
2421
2430
|
/**
|
|
2422
2431
|
* 不建议使用,已废弃
|
|
2423
2432
|
* @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
|