vxe-pc-ui 3.18.3 → 3.18.5
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/color-picker/src/color-picker.js +14 -1
- package/es/date-picker/src/date-picker.js +14 -1
- package/es/date-range-picker/src/date-range-picker.js +14 -1
- package/es/icon/style.css +1 -1
- package/es/icon-picker/src/icon-picker.js +18 -5
- package/es/input/src/input.js +14 -1
- package/es/language/en-US.js +2 -2
- package/es/language/zh-CHT.js +2 -2
- package/es/language/zh-CN.js +2 -2
- package/es/number-input/src/number-input.js +12 -1
- package/es/password-input/src/password-input.js +14 -0
- package/es/select/src/select.js +20 -7
- package/es/space/src/space.js +8 -4
- 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/lib/color-picker/src/color-picker.js +14 -1
- package/lib/color-picker/src/color-picker.min.js +1 -1
- package/lib/date-picker/src/date-picker.js +13 -0
- package/lib/date-picker/src/date-picker.min.js +1 -1
- package/lib/date-range-picker/src/date-range-picker.js +13 -0
- 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 +18 -5
- package/lib/icon-picker/src/icon-picker.min.js +1 -1
- package/lib/index.umd.js +131 -21
- package/lib/index.umd.min.js +1 -1
- package/lib/input/src/input.js +13 -0
- package/lib/input/src/input.min.js +1 -1
- package/lib/language/en-US.js +2 -2
- package/lib/language/en-US.min.js +1 -1
- package/lib/language/en-US.umd.js +2 -2
- package/lib/language/zh-CHT.js +2 -2
- package/lib/language/zh-CHT.min.js +1 -1
- package/lib/language/zh-CHT.umd.js +2 -2
- package/lib/language/zh-CN.js +2 -2
- package/lib/language/zh-CN.min.js +1 -1
- package/lib/language/zh-CN.umd.js +2 -2
- package/lib/number-input/src/number-input.js +11 -0
- package/lib/number-input/src/number-input.min.js +1 -1
- package/lib/password-input/src/password-input.js +14 -0
- package/lib/password-input/src/password-input.min.js +1 -1
- package/lib/select/src/select.js +20 -7
- package/lib/select/src/select.min.js +1 -1
- package/lib/space/src/space.js +9 -4
- package/lib/space/src/space.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/package.json +1 -1
- package/packages/color-picker/src/color-picker.ts +16 -2
- package/packages/date-picker/src/date-picker.ts +16 -2
- package/packages/date-range-picker/src/date-range-picker.ts +16 -2
- package/packages/icon-picker/src/icon-picker.ts +19 -5
- package/packages/input/src/input.ts +15 -1
- package/packages/language/en-US.ts +2 -2
- package/packages/language/zh-CHT.ts +2 -2
- package/packages/language/zh-CN.ts +2 -2
- package/packages/number-input/src/number-input.ts +14 -2
- package/packages/password-input/src/password-input.ts +16 -1
- package/packages/select/src/select.ts +21 -7
- package/packages/space/src/space.ts +8 -4
- package/types/components/color-picker.d.ts +2 -0
- package/types/components/date-picker.d.ts +2 -0
- package/types/components/date-range-picker.d.ts +2 -0
- package/types/components/gantt.d.ts +62 -3
- package/types/components/icon-picker.d.ts +2 -0
- package/types/components/input.d.ts +5 -0
- package/types/components/number-input.d.ts +5 -0
- package/types/components/password-input.d.ts +5 -0
- package/types/components/select.d.ts +5 -0
- package/types/components/space.d.ts +5 -0
- /package/es/icon/{iconfont.1788745444732.ttf → iconfont.1788857081434.ttf} +0 -0
- /package/es/icon/{iconfont.1788745444732.woff → iconfont.1788857081434.woff} +0 -0
- /package/es/icon/{iconfont.1788745444732.woff2 → iconfont.1788857081434.woff2} +0 -0
- /package/es/{iconfont.1788745444732.ttf → iconfont.1788857081434.ttf} +0 -0
- /package/es/{iconfont.1788745444732.woff → iconfont.1788857081434.woff} +0 -0
- /package/es/{iconfont.1788745444732.woff2 → iconfont.1788857081434.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1788745444732.ttf → iconfont.1788857081434.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1788745444732.woff → iconfont.1788857081434.woff} +0 -0
- /package/lib/icon/style/{iconfont.1788745444732.woff2 → iconfont.1788857081434.woff2} +0 -0
- /package/lib/{iconfont.1788745444732.ttf → iconfont.1788857081434.ttf} +0 -0
- /package/lib/{iconfont.1788745444732.woff → iconfont.1788857081434.woff} +0 -0
- /package/lib/{iconfont.1788745444732.woff2 → iconfont.1788857081434.woff2} +0 -0
|
@@ -22,6 +22,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
22
22
|
type: Boolean as PropType<VxeSpacePropTypes.Wrap>,
|
|
23
23
|
default: () => getConfig().space.wrap
|
|
24
24
|
},
|
|
25
|
+
width: [Number, String] as PropType<VxeSpacePropTypes.Width>,
|
|
25
26
|
gap: {
|
|
26
27
|
type: [Number, String, Array, Object] as PropType<VxeSpacePropTypes.Gap>,
|
|
27
28
|
default: () => getConfig().space.gap
|
|
@@ -82,11 +83,11 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
82
83
|
computePermissionInfo(): VxeComponentPermissionInfo
|
|
83
84
|
computeSize(): VxeComponentSizeType
|
|
84
85
|
}),
|
|
85
|
-
|
|
86
|
+
computeCurrStyle () {
|
|
86
87
|
const $xeSpace = this
|
|
87
88
|
const props = $xeSpace
|
|
88
89
|
|
|
89
|
-
const { align, gap } = props
|
|
90
|
+
const { align, gap, width } = props
|
|
90
91
|
const stys: VxeComponentStyleType = {}
|
|
91
92
|
let rowGap: string | number = ''
|
|
92
93
|
let columGap: string | number = ''
|
|
@@ -102,6 +103,9 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
102
103
|
columGap = gap.columGap || ''
|
|
103
104
|
}
|
|
104
105
|
}
|
|
106
|
+
if (width) {
|
|
107
|
+
stys.width = toCssUnit(width)
|
|
108
|
+
}
|
|
105
109
|
if (align) {
|
|
106
110
|
stys['align-items'] = align
|
|
107
111
|
}
|
|
@@ -174,7 +178,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
174
178
|
const props = $xeSpace
|
|
175
179
|
|
|
176
180
|
const { vertical, wrap, className, fill, itemWidth, itemMinWidth, itemMaxWidth } = props
|
|
177
|
-
const
|
|
181
|
+
const currStyle = $xeSpace.computeCurrStyle
|
|
178
182
|
const vSize = $xeSpace.computeSize
|
|
179
183
|
return h('div', {
|
|
180
184
|
ref: 'refElem',
|
|
@@ -185,7 +189,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
185
189
|
'is--fill': fill,
|
|
186
190
|
'is--width': itemWidth || itemMinWidth || itemMaxWidth
|
|
187
191
|
}],
|
|
188
|
-
style:
|
|
192
|
+
style: currStyle
|
|
189
193
|
}, $xeSpace.renderItems(h))
|
|
190
194
|
}
|
|
191
195
|
},
|
|
@@ -21,6 +21,7 @@ export namespace VxeColorPickerPropTypes {
|
|
|
21
21
|
export type Type = 'rgb' | 'hex'
|
|
22
22
|
export type ClassName = string | ((params: { $colorPicker: VxeColorPickerConstructor }) => string)
|
|
23
23
|
export type PopupClassName = string | ((params: {$colorPicker: VxeColorPickerConstructor }) => string)
|
|
24
|
+
export type Width = string | number
|
|
24
25
|
export type Colors = string[] | {
|
|
25
26
|
label?: string
|
|
26
27
|
value: string
|
|
@@ -83,6 +84,7 @@ export interface VxeColorPickerProps {
|
|
|
83
84
|
type?: VxeColorPickerPropTypes.Type
|
|
84
85
|
className?: VxeColorPickerPropTypes.ClassName
|
|
85
86
|
popupClassName?: VxeColorPickerPropTypes.PopupClassName
|
|
87
|
+
width?: VxeColorPickerPropTypes.Width
|
|
86
88
|
colors?: VxeColorPickerPropTypes.Colors
|
|
87
89
|
showAlpha?: VxeColorPickerPropTypes.ShowAlpha
|
|
88
90
|
showEyeDropper?: VxeColorPickerPropTypes.ShowEyeDropper
|
|
@@ -23,6 +23,7 @@ export namespace VxeDatePickerPropTypes {
|
|
|
23
23
|
export type ModelValue = string | number | Date | null
|
|
24
24
|
export type ClassName = string
|
|
25
25
|
export type InputClassName = string
|
|
26
|
+
export type Width = string | number
|
|
26
27
|
export type Immediate = boolean
|
|
27
28
|
export type Name = string
|
|
28
29
|
export type Type = VxeDatePanelPropTypes.Type
|
|
@@ -142,6 +143,7 @@ export interface VxeDatePickerProps {
|
|
|
142
143
|
value?: VxeDatePickerPropTypes.ModelValue
|
|
143
144
|
className?: VxeDatePickerPropTypes.ClassName
|
|
144
145
|
inputClassName?: VxeDatePickerPropTypes.InputClassName
|
|
146
|
+
width?: VxeDatePickerPropTypes.Width
|
|
145
147
|
immediate?: VxeDatePickerPropTypes.Immediate
|
|
146
148
|
name?: VxeDatePickerPropTypes.Name
|
|
147
149
|
type?: VxeDatePickerPropTypes.Type
|
|
@@ -25,6 +25,7 @@ export namespace VxeDateRangePickerPropTypes {
|
|
|
25
25
|
export type EndValue = string | number | Date | null
|
|
26
26
|
export type ClassName = string
|
|
27
27
|
export type InputClassName = string
|
|
28
|
+
export type Width = string | number
|
|
28
29
|
export type Immediate = boolean
|
|
29
30
|
export type Name = string
|
|
30
31
|
export type Type = VxeDatePanelPropTypes.Type
|
|
@@ -127,6 +128,7 @@ export interface VxeDateRangePickerProps {
|
|
|
127
128
|
endValue?: VxeDateRangePickerPropTypes.EndValue
|
|
128
129
|
className?: VxeDateRangePickerPropTypes.ClassName
|
|
129
130
|
inputClassName?: VxeDateRangePickerPropTypes.InputClassName
|
|
131
|
+
width?: VxeDateRangePickerPropTypes.Width
|
|
130
132
|
immediate?: VxeDateRangePickerPropTypes.Immediate
|
|
131
133
|
name?: VxeDateRangePickerPropTypes.Name
|
|
132
134
|
type?: VxeDateRangePickerPropTypes.Type
|
|
@@ -3,7 +3,7 @@ import { NormalizedScopedSlot } from 'vue/types/vnode'
|
|
|
3
3
|
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentEventParams, ValueOf, VxeComponentSlotType, VxeComponentAlignType, VxeComponentStatusType } from '@vxe-ui/core'
|
|
4
4
|
import { GridPrivateRef, VxeGridProps, VxeGridPropTypes, GridPrivateComputed, GridReactData, GridInternalData, GridMethods, GridPrivateMethods, VxeGridEmits, VxeGridSlots, VxeGridListeners, VxeGridEventProps, VxeGridMethods } from './grid'
|
|
5
5
|
import { VxeTablePropTypes } from './table'
|
|
6
|
-
import { VxeTooltipPropTypes } from './tooltip'
|
|
6
|
+
import { VxeTooltipPropTypes, VxeTooltipProps } from './tooltip'
|
|
7
7
|
|
|
8
8
|
/* eslint-disable no-use-before-define,@typescript-eslint/ban-types,@typescript-eslint/no-unused-vars */
|
|
9
9
|
|
|
@@ -495,6 +495,10 @@ export namespace VxeGanttPropTypes {
|
|
|
495
495
|
* 是否允许拖拽调整任务条结束日期
|
|
496
496
|
*/
|
|
497
497
|
allowEnd?: boolean
|
|
498
|
+
/**
|
|
499
|
+
* 显示 Tooltip 提示
|
|
500
|
+
*/
|
|
501
|
+
showTooltip?: boolean
|
|
498
502
|
/**
|
|
499
503
|
* 拖拽开始时是否允许行拖拽调整任务日期的方法,该方法的返回值用来决定是否允许被拖拽
|
|
500
504
|
*/
|
|
@@ -538,6 +542,23 @@ export namespace VxeGanttPropTypes {
|
|
|
538
542
|
}): void
|
|
539
543
|
}
|
|
540
544
|
|
|
545
|
+
export interface TaskBarResizeTooltipConfig<D = any> extends Omit<VxeTooltipProps, 'content' | 'transfer' | 'appendTo'> {
|
|
546
|
+
/**
|
|
547
|
+
* 自定义内容
|
|
548
|
+
*/
|
|
549
|
+
contentMethod?: (params: {
|
|
550
|
+
$gantt: VxeGanttConstructor<D>
|
|
551
|
+
resizeType: 'start' | 'end'
|
|
552
|
+
row: D
|
|
553
|
+
startDate: Date
|
|
554
|
+
endDate: Date
|
|
555
|
+
targetStartDate: Date
|
|
556
|
+
targetEndDate: Date
|
|
557
|
+
offsetSize: number
|
|
558
|
+
linkInfo: VxeGanttDefines.LinkInfoObj<D>
|
|
559
|
+
}) => string | number | null | undefined
|
|
560
|
+
}
|
|
561
|
+
|
|
541
562
|
export interface TaskBarMoveConfig<D = any> {
|
|
542
563
|
/**
|
|
543
564
|
* 拖拽模式
|
|
@@ -547,6 +568,10 @@ export namespace VxeGanttPropTypes {
|
|
|
547
568
|
* 拖拽移动任务后自动更新依赖线关联任务的日期
|
|
548
569
|
*/
|
|
549
570
|
isSyncLinkTask?: boolean
|
|
571
|
+
/**
|
|
572
|
+
* 显示 Tooltip 提示
|
|
573
|
+
*/
|
|
574
|
+
showTooltip?: boolean
|
|
550
575
|
/**
|
|
551
576
|
* 拖拽开始时是否允许行拖拽移动任务日期的方法,该方法的返回值用来决定是否允许被拖拽
|
|
552
577
|
*/
|
|
@@ -586,6 +611,22 @@ export namespace VxeGanttPropTypes {
|
|
|
586
611
|
linkInfo: VxeGanttDefines.LinkInfoObj<D>
|
|
587
612
|
}): void
|
|
588
613
|
}
|
|
614
|
+
|
|
615
|
+
export interface TaskBarMoveTooltipConfig<D = any> extends Omit<VxeTooltipProps, 'content' | 'transfer' | 'appendTo'> {
|
|
616
|
+
/**
|
|
617
|
+
* 自定义内容
|
|
618
|
+
*/
|
|
619
|
+
contentMethod?: (params: {
|
|
620
|
+
$gantt: VxeGanttConstructor<D>
|
|
621
|
+
row: D
|
|
622
|
+
startDate: Date
|
|
623
|
+
endDate: Date
|
|
624
|
+
targetStartDate: Date
|
|
625
|
+
targetEndDate: Date
|
|
626
|
+
offsetSize: number
|
|
627
|
+
linkInfo: VxeGanttDefines.LinkInfoObj<D>
|
|
628
|
+
}) => string | number | null | undefined
|
|
629
|
+
}
|
|
589
630
|
}
|
|
590
631
|
|
|
591
632
|
export interface VxeGanttProps<D = any> extends Omit<VxeGridProps<D>, 'layouts'> {
|
|
@@ -605,7 +646,9 @@ export interface VxeGanttProps<D = any> extends Omit<VxeGridProps<D>, 'layouts'>
|
|
|
605
646
|
taskBarSubviewConfig?: VxeGanttPropTypes.TaskBarSubviewConfig<D>
|
|
606
647
|
taskBarTooltipConfig?: VxeGanttPropTypes.TaskBarTooltipConfig<D>
|
|
607
648
|
taskBarResizeConfig?: VxeGanttPropTypes.TaskBarResizeConfig<D>
|
|
649
|
+
taskBarResizeTooltipConfig?: VxeGanttPropTypes.TaskBarResizeTooltipConfig<D>
|
|
608
650
|
taskBarMoveConfig?: VxeGanttPropTypes.TaskBarMoveConfig<D>
|
|
651
|
+
taskBarMoveTooltipConfig?: VxeGanttPropTypes.TaskBarMoveTooltipConfig<D>
|
|
609
652
|
}
|
|
610
653
|
|
|
611
654
|
export interface GanttPrivateComputed<D = any> extends GridPrivateComputed<D> {
|
|
@@ -615,7 +658,9 @@ export interface GanttPrivateComputed<D = any> extends GridPrivateComputed<D> {
|
|
|
615
658
|
computeTaskViewScaleOpts: VxeGanttPropTypes.TaskViewScaleConfig
|
|
616
659
|
computeTaskBarOpts: VxeGanttPropTypes.TaskBarConfig<D>
|
|
617
660
|
computeTaskBarMoveOpts: VxeGanttPropTypes.TaskBarMoveConfig<D>
|
|
661
|
+
computeTaskBarMoveTooltipOpts: VxeGanttPropTypes.TaskBarMoveTooltipConfig<D>
|
|
618
662
|
computeTaskBarResizeOpts: VxeGanttPropTypes.TaskBarResizeConfig<D>
|
|
663
|
+
computeTaskBarResizeTooltipOpts: VxeGanttPropTypes.TaskBarResizeTooltipConfig<D>
|
|
619
664
|
computeTaskSplitOpts: VxeGanttPropTypes.TaskSplitConfig
|
|
620
665
|
computeTaskBarMilestoneOpts: VxeGanttPropTypes.TaskBarMilestoneConfig<D>
|
|
621
666
|
computeTaskBarSubviewOpts: VxeGanttPropTypes.TaskBarSubviewConfig<D>
|
|
@@ -1127,10 +1172,17 @@ export namespace VxeGanttDefines {
|
|
|
1127
1172
|
startDate: Date
|
|
1128
1173
|
endDate: Date
|
|
1129
1174
|
}
|
|
1130
|
-
export interface TaskMoveDragEventParams<D = any> extends TaskMoveStartEventParams<D> {
|
|
1175
|
+
export interface TaskMoveDragEventParams<D = any> extends TaskMoveStartEventParams<D> {
|
|
1176
|
+
targetStartDate: Date
|
|
1177
|
+
targetEndDate: Date
|
|
1178
|
+
offsetSize: number
|
|
1179
|
+
linkInfo: VxeGanttDefines.LinkInfoObj<D>
|
|
1180
|
+
}
|
|
1131
1181
|
export interface TaskMoveEndEventParams<D = any> extends TaskMoveStartEventParams<D> {
|
|
1132
1182
|
targetStartDate: Date
|
|
1133
1183
|
targetEndDate: Date
|
|
1184
|
+
offsetSize: number
|
|
1185
|
+
linkInfo: VxeGanttDefines.LinkInfoObj<D>
|
|
1134
1186
|
}
|
|
1135
1187
|
export interface TaskResizeStartEventParams<D = any> extends GanttEventParams<D> {
|
|
1136
1188
|
$gantt: VxeGanttConstructor<D>
|
|
@@ -1139,10 +1191,17 @@ export namespace VxeGanttDefines {
|
|
|
1139
1191
|
startDate: Date
|
|
1140
1192
|
endDate: Date
|
|
1141
1193
|
}
|
|
1142
|
-
export interface TaskResizeDragEventParams<D = any> extends TaskResizeStartEventParams<D> {
|
|
1194
|
+
export interface TaskResizeDragEventParams<D = any> extends TaskResizeStartEventParams<D> {
|
|
1195
|
+
targetStartDate: Date
|
|
1196
|
+
targetEndDate: Date
|
|
1197
|
+
offsetSize: number
|
|
1198
|
+
linkInfo: VxeGanttDefines.LinkInfoObj<D>
|
|
1199
|
+
}
|
|
1143
1200
|
export interface TaskResizeEndEventParams<D = any> extends TaskResizeStartEventParams<D> {
|
|
1144
1201
|
targetStartDate: Date
|
|
1145
1202
|
targetEndDate: Date
|
|
1203
|
+
offsetSize: number
|
|
1204
|
+
linkInfo: VxeGanttDefines.LinkInfoObj<D>
|
|
1146
1205
|
}
|
|
1147
1206
|
|
|
1148
1207
|
export interface TaskLinkClickEventParams<D = any> extends GanttEventParams<D> {
|
|
@@ -20,6 +20,7 @@ export namespace VxeIconPickerPropTypes {
|
|
|
20
20
|
export type ModelValue = string | null
|
|
21
21
|
export type Placeholder = string
|
|
22
22
|
export type Size = VxeComponentSizeType
|
|
23
|
+
export type Width = string | number
|
|
23
24
|
export type ClassName = string | ((params: { $iconPicker: VxeIconPickerConstructor }) => string)
|
|
24
25
|
/**
|
|
25
26
|
* 已废弃,请使用 PopupConfig.className
|
|
@@ -100,6 +101,7 @@ export interface VxeIconPickerProps {
|
|
|
100
101
|
* @deprecated
|
|
101
102
|
*/
|
|
102
103
|
popupClassName?: VxeIconPickerPropTypes.PopupClassName
|
|
104
|
+
width?: VxeIconPickerPropTypes.Width
|
|
103
105
|
readonly?: VxeIconPickerPropTypes.Readonly
|
|
104
106
|
disabled?: VxeIconPickerPropTypes.Disabled
|
|
105
107
|
icons?: VxeIconPickerPropTypes.Icons
|
|
@@ -20,6 +20,7 @@ export namespace VxeInputPropTypes {
|
|
|
20
20
|
export type ModelValue = string | number | Date | undefined | null
|
|
21
21
|
export type ClassName = string
|
|
22
22
|
export type InputClassName = string
|
|
23
|
+
export type Width = string | number
|
|
23
24
|
export type Immediate = boolean
|
|
24
25
|
export type Name = string
|
|
25
26
|
export type Title = string
|
|
@@ -91,6 +92,10 @@ export interface VxeInputProps {
|
|
|
91
92
|
value?: VxeInputPropTypes.ModelValue
|
|
92
93
|
className?: VxeInputPropTypes.ClassName
|
|
93
94
|
inputClassName?: VxeInputPropTypes.InputClassName
|
|
95
|
+
/**
|
|
96
|
+
* 宽度
|
|
97
|
+
*/
|
|
98
|
+
width?: VxeInputPropTypes.Width
|
|
94
99
|
immediate?: VxeInputPropTypes.Immediate
|
|
95
100
|
name?: VxeInputPropTypes.Name
|
|
96
101
|
title?: VxeInputPropTypes.Title
|
|
@@ -21,6 +21,7 @@ export namespace VxeNumberInputPropTypes {
|
|
|
21
21
|
export type ModelValue = string | number | null
|
|
22
22
|
export type ClassName = string
|
|
23
23
|
export type InputClassName = string
|
|
24
|
+
export type Width = string | number
|
|
24
25
|
export type Immediate = boolean
|
|
25
26
|
export type Name = string
|
|
26
27
|
export type Type = 'number' | 'integer' | 'float' | 'amount'
|
|
@@ -122,6 +123,10 @@ export interface VxeNumberInputProps {
|
|
|
122
123
|
value?: VxeNumberInputPropTypes.ModelValue
|
|
123
124
|
className?: VxeNumberInputPropTypes.ClassName
|
|
124
125
|
inputClassName?: VxeNumberInputPropTypes.InputClassName
|
|
126
|
+
/**
|
|
127
|
+
* 宽度
|
|
128
|
+
*/
|
|
129
|
+
width?: VxeNumberInputPropTypes.Width
|
|
125
130
|
immediate?: VxeNumberInputPropTypes.Immediate
|
|
126
131
|
name?: VxeNumberInputPropTypes.Name
|
|
127
132
|
type?: VxeNumberInputPropTypes.Type
|
|
@@ -21,6 +21,7 @@ export namespace VxePasswordInputPropTypes {
|
|
|
21
21
|
export type Immediate = boolean
|
|
22
22
|
export type InputClassName = string
|
|
23
23
|
export type ClassName = string
|
|
24
|
+
export type Width = string | number
|
|
24
25
|
export type Name = string
|
|
25
26
|
export type Clearable = boolean
|
|
26
27
|
export type Readonly = boolean
|
|
@@ -47,6 +48,10 @@ export interface VxePasswordInputProps {
|
|
|
47
48
|
immediate?: VxePasswordInputPropTypes.Immediate
|
|
48
49
|
className?: VxePasswordInputPropTypes.ClassName
|
|
49
50
|
inputClassName?: VxePasswordInputPropTypes.InputClassName
|
|
51
|
+
/**
|
|
52
|
+
* 宽度
|
|
53
|
+
*/
|
|
54
|
+
width?: VxePasswordInputPropTypes.Width
|
|
50
55
|
name?: VxePasswordInputPropTypes.Name
|
|
51
56
|
clearable?: VxePasswordInputPropTypes.Clearable
|
|
52
57
|
readonly?: VxePasswordInputPropTypes.Readonly
|
|
@@ -44,6 +44,7 @@ export namespace VxeSelectPropTypes {
|
|
|
44
44
|
export type ShowCheckedButton = boolean
|
|
45
45
|
export type ShowClearButton = boolean
|
|
46
46
|
export type ClassName = string | ((params: { $select: VxeSelectConstructor }) => string)
|
|
47
|
+
export type Width = string | number
|
|
47
48
|
/**
|
|
48
49
|
* 已废弃,请使用 PopupConfig.className
|
|
49
50
|
* @deprecated
|
|
@@ -216,6 +217,10 @@ export interface VxeSelectProps {
|
|
|
216
217
|
showCheckedButton?: VxeSelectPropTypes.ShowCheckedButton
|
|
217
218
|
showClearButton?: VxeSelectPropTypes.ShowClearButton
|
|
218
219
|
className?: VxeSelectPropTypes.ClassName
|
|
220
|
+
/**
|
|
221
|
+
* 宽度
|
|
222
|
+
*/
|
|
223
|
+
width?: VxeSelectPropTypes.Width
|
|
219
224
|
/**
|
|
220
225
|
* 已废弃,请使用 popup-config.className
|
|
221
226
|
* @deprecated
|
|
@@ -18,6 +18,7 @@ export interface VxeSpacePrivateRef extends SpacePrivateRef { }
|
|
|
18
18
|
export namespace VxeSpacePropTypes {
|
|
19
19
|
export type Size = VxeComponentSizeType
|
|
20
20
|
export type Wrap = boolean
|
|
21
|
+
export type Width = string | number
|
|
21
22
|
export type Gap = number | string | number[] | VxeSpaceDefines.GapObj
|
|
22
23
|
export type Vertical = boolean
|
|
23
24
|
export type ClassName = string
|
|
@@ -37,6 +38,10 @@ export interface VxeSpaceProps {
|
|
|
37
38
|
* 是否自动换行
|
|
38
39
|
*/
|
|
39
40
|
wrap?: VxeSpacePropTypes.Wrap
|
|
41
|
+
/**
|
|
42
|
+
* 宽度
|
|
43
|
+
*/
|
|
44
|
+
width?: VxeSpacePropTypes.Width
|
|
40
45
|
/**
|
|
41
46
|
* 自定义间距
|
|
42
47
|
*/
|
|
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
|