vxe-pc-ui 4.18.3 → 4.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/dist/all.esm.js +117 -25
- package/dist/style.css +1 -1
- package/dist/style.min.css +1 -1
- package/es/color-picker/src/color-picker.js +14 -3
- package/es/date-picker/src/date-picker.js +12 -1
- package/es/date-range-picker/src/date-range-picker.js +12 -1
- package/es/icon/style.css +1 -1
- package/es/icon-picker/src/icon-picker.js +17 -6
- package/es/input/src/input.js +12 -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 +12 -0
- package/es/select/src/select.js +19 -8
- 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 +18 -5
- 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 +21 -8
- package/lib/icon-picker/src/icon-picker.min.js +1 -1
- package/lib/index.umd.js +141 -31
- 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 +13 -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 +23 -10
- 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 -4
- package/packages/date-picker/src/date-picker.ts +14 -2
- package/packages/date-range-picker/src/date-range-picker.ts +14 -2
- package/packages/icon-picker/src/icon-picker.ts +18 -6
- package/packages/input/src/input.ts +13 -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 +14 -1
- package/packages/select/src/select.ts +20 -8
- 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.1788745459463.ttf → iconfont.1788857098184.ttf} +0 -0
- /package/es/icon/{iconfont.1788745459463.woff → iconfont.1788857098184.woff} +0 -0
- /package/es/icon/{iconfont.1788745459463.woff2 → iconfont.1788857098184.woff2} +0 -0
- /package/es/{iconfont.1788745459463.ttf → iconfont.1788857098184.ttf} +0 -0
- /package/es/{iconfont.1788745459463.woff → iconfont.1788857098184.woff} +0 -0
- /package/es/{iconfont.1788745459463.woff2 → iconfont.1788857098184.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1788745459463.ttf → iconfont.1788857098184.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1788745459463.woff → iconfont.1788857098184.woff} +0 -0
- /package/lib/icon/style/{iconfont.1788745459463.woff2 → iconfont.1788857098184.woff2} +0 -0
- /package/lib/{iconfont.1788745459463.ttf → iconfont.1788857098184.ttf} +0 -0
- /package/lib/{iconfont.1788745459463.woff → iconfont.1788857098184.woff} +0 -0
- /package/lib/{iconfont.1788745459463.woff2 → iconfont.1788857098184.woff2} +0 -0
|
@@ -18,6 +18,7 @@ export default defineVxeComponent({
|
|
|
18
18
|
type: Boolean as PropType<VxeSpacePropTypes.Wrap>,
|
|
19
19
|
default: () => getConfig().space.wrap
|
|
20
20
|
},
|
|
21
|
+
width: [Number, String] as PropType<VxeSpacePropTypes.Width>,
|
|
21
22
|
gap: {
|
|
22
23
|
type: [Number, String, Array, Object] as PropType<VxeSpacePropTypes.Gap>,
|
|
23
24
|
default: () => getConfig().space.gap
|
|
@@ -81,8 +82,8 @@ export default defineVxeComponent({
|
|
|
81
82
|
refElem
|
|
82
83
|
}
|
|
83
84
|
|
|
84
|
-
const
|
|
85
|
-
const { align, gap } = props
|
|
85
|
+
const computeCurrStyle = computed(() => {
|
|
86
|
+
const { align, gap, width } = props
|
|
86
87
|
const stys: VxeComponentStyleType = {}
|
|
87
88
|
let rowGap: string | number = ''
|
|
88
89
|
let columGap: string | number = ''
|
|
@@ -98,6 +99,9 @@ export default defineVxeComponent({
|
|
|
98
99
|
columGap = gap.columGap || ''
|
|
99
100
|
}
|
|
100
101
|
}
|
|
102
|
+
if (width) {
|
|
103
|
+
stys.width = toCssUnit(width)
|
|
104
|
+
}
|
|
101
105
|
if (align) {
|
|
102
106
|
stys['align-items'] = align
|
|
103
107
|
}
|
|
@@ -180,7 +184,7 @@ export default defineVxeComponent({
|
|
|
180
184
|
|
|
181
185
|
const renderVN = () => {
|
|
182
186
|
const { vertical, wrap, className, fill, itemWidth, itemMinWidth, itemMaxWidth } = props
|
|
183
|
-
const
|
|
187
|
+
const currStyle = computeCurrStyle.value
|
|
184
188
|
const vSize = computeSize.value
|
|
185
189
|
return h('div', {
|
|
186
190
|
ref: refElem,
|
|
@@ -191,7 +195,7 @@ export default defineVxeComponent({
|
|
|
191
195
|
'is--fill': fill,
|
|
192
196
|
'is--width': itemWidth || itemMinWidth || itemMaxWidth
|
|
193
197
|
}],
|
|
194
|
-
style:
|
|
198
|
+
style: currStyle
|
|
195
199
|
}, renderItems())
|
|
196
200
|
}
|
|
197
201
|
|
|
@@ -28,6 +28,7 @@ export namespace VxeColorPickerPropTypes {
|
|
|
28
28
|
export type Type = 'rgb' | 'hex'
|
|
29
29
|
export type ClassName = string | ((params: { $colorPicker: VxeColorPickerConstructor }) => string)
|
|
30
30
|
export type PopupClassName = string | ((params: {$colorPicker: VxeColorPickerConstructor }) => string)
|
|
31
|
+
export type Width = string | number
|
|
31
32
|
export type Colors = string[] | {
|
|
32
33
|
label?: string
|
|
33
34
|
value: string
|
|
@@ -90,6 +91,7 @@ export interface VxeColorPickerProps {
|
|
|
90
91
|
type?: VxeColorPickerPropTypes.Type
|
|
91
92
|
className?: VxeColorPickerPropTypes.ClassName
|
|
92
93
|
popupClassName?: VxeColorPickerPropTypes.PopupClassName
|
|
94
|
+
width?: VxeColorPickerPropTypes.Width
|
|
93
95
|
colors?: VxeColorPickerPropTypes.Colors
|
|
94
96
|
showAlpha?: VxeColorPickerPropTypes.ShowAlpha
|
|
95
97
|
showEyeDropper?: VxeColorPickerPropTypes.ShowEyeDropper
|
|
@@ -31,6 +31,7 @@ export namespace VxeDatePickerPropTypes {
|
|
|
31
31
|
export type ModelValue = string | number | Date | null
|
|
32
32
|
export type ClassName = string
|
|
33
33
|
export type InputClassName = string
|
|
34
|
+
export type Width = string | number
|
|
34
35
|
export type Immediate = boolean
|
|
35
36
|
export type Name = string
|
|
36
37
|
export type Type = VxeDatePanelPropTypes.Type
|
|
@@ -150,6 +151,7 @@ export interface VxeDatePickerProps {
|
|
|
150
151
|
modelValue?: VxeDatePickerPropTypes.ModelValue
|
|
151
152
|
className?: VxeDatePickerPropTypes.ClassName
|
|
152
153
|
inputClassName?: VxeDatePickerPropTypes.InputClassName
|
|
154
|
+
width?: VxeDatePickerPropTypes.Width
|
|
153
155
|
immediate?: VxeDatePickerPropTypes.Immediate
|
|
154
156
|
name?: VxeDatePickerPropTypes.Name
|
|
155
157
|
type?: VxeDatePickerPropTypes.Type
|
|
@@ -33,6 +33,7 @@ export namespace VxeDateRangePickerPropTypes {
|
|
|
33
33
|
export type EndValue = string | number | Date | null
|
|
34
34
|
export type ClassName = string
|
|
35
35
|
export type InputClassName = string
|
|
36
|
+
export type Width = string | number
|
|
36
37
|
export type Immediate = boolean
|
|
37
38
|
export type Name = string
|
|
38
39
|
export type Type = VxeDatePanelPropTypes.Type
|
|
@@ -135,6 +136,7 @@ export interface VxeDateRangePickerProps {
|
|
|
135
136
|
endValue?: VxeDateRangePickerPropTypes.EndValue
|
|
136
137
|
className?: VxeDateRangePickerPropTypes.ClassName
|
|
137
138
|
inputClassName?: VxeDateRangePickerPropTypes.InputClassName
|
|
139
|
+
width?: VxeDateRangePickerPropTypes.Width
|
|
138
140
|
immediate?: VxeDateRangePickerPropTypes.Immediate
|
|
139
141
|
name?: VxeDateRangePickerPropTypes.Name
|
|
140
142
|
type?: VxeDateRangePickerPropTypes.Type
|
|
@@ -3,7 +3,7 @@ import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentIns
|
|
|
3
3
|
import { GridPrivateRef, VxeGridProps, VxeGridPropTypes, GridPrivateComputed, GridReactData, GridInternalData, GridMethods, GridPrivateMethods, VxeGridEmits, VxeGridSlots, VxeGridListeners, VxeGridEventProps, VxeGridMethods } from './grid'
|
|
4
4
|
import { VxeTablePropTypes } from './table'
|
|
5
5
|
import { VxeGanttViewInstance, VxeGanttViewPrivateMethods } from './gantt-module/gantt-view'
|
|
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 */
|
|
9
9
|
|
|
@@ -503,6 +503,10 @@ export namespace VxeGanttPropTypes {
|
|
|
503
503
|
* 是否允许拖拽调整任务条结束日期
|
|
504
504
|
*/
|
|
505
505
|
allowEnd?: boolean
|
|
506
|
+
/**
|
|
507
|
+
* 显示 Tooltip 提示
|
|
508
|
+
*/
|
|
509
|
+
showTooltip?: boolean
|
|
506
510
|
/**
|
|
507
511
|
* 拖拽开始时是否允许行拖拽调整任务日期的方法,该方法的返回值用来决定是否允许被拖拽
|
|
508
512
|
*/
|
|
@@ -546,6 +550,23 @@ export namespace VxeGanttPropTypes {
|
|
|
546
550
|
}): void
|
|
547
551
|
}
|
|
548
552
|
|
|
553
|
+
export interface TaskBarResizeTooltipConfig<D = any> extends Omit<VxeTooltipProps, 'content' | 'transfer' | 'appendTo'> {
|
|
554
|
+
/**
|
|
555
|
+
* 自定义内容
|
|
556
|
+
*/
|
|
557
|
+
contentMethod?: (params: {
|
|
558
|
+
$gantt: VxeGanttConstructor<D>
|
|
559
|
+
resizeType: 'start' | 'end'
|
|
560
|
+
row: D
|
|
561
|
+
startDate: Date
|
|
562
|
+
endDate: Date
|
|
563
|
+
targetStartDate: Date
|
|
564
|
+
targetEndDate: Date
|
|
565
|
+
offsetSize: number
|
|
566
|
+
linkInfo: VxeGanttDefines.LinkInfoObj<D>
|
|
567
|
+
}) => string | number | null | undefined
|
|
568
|
+
}
|
|
569
|
+
|
|
549
570
|
export interface TaskBarMoveConfig<D = any> {
|
|
550
571
|
/**
|
|
551
572
|
* 拖拽模式
|
|
@@ -555,6 +576,10 @@ export namespace VxeGanttPropTypes {
|
|
|
555
576
|
* 拖拽移动任务后自动更新依赖线关联任务的日期
|
|
556
577
|
*/
|
|
557
578
|
isSyncLinkTask?: boolean
|
|
579
|
+
/**
|
|
580
|
+
* 显示 Tooltip 提示
|
|
581
|
+
*/
|
|
582
|
+
showTooltip?: boolean
|
|
558
583
|
/**
|
|
559
584
|
* 拖拽开始时是否允许行拖拽移动任务日期的方法,该方法的返回值用来决定是否允许被拖拽
|
|
560
585
|
*/
|
|
@@ -594,6 +619,22 @@ export namespace VxeGanttPropTypes {
|
|
|
594
619
|
linkInfo: VxeGanttDefines.LinkInfoObj<D>
|
|
595
620
|
}): void
|
|
596
621
|
}
|
|
622
|
+
|
|
623
|
+
export interface TaskBarMoveTooltipConfig<D = any> extends Omit<VxeTooltipProps, 'content' | 'transfer' | 'appendTo'> {
|
|
624
|
+
/**
|
|
625
|
+
* 自定义内容
|
|
626
|
+
*/
|
|
627
|
+
contentMethod?: (params: {
|
|
628
|
+
$gantt: VxeGanttConstructor<D>
|
|
629
|
+
row: D
|
|
630
|
+
startDate: Date
|
|
631
|
+
endDate: Date
|
|
632
|
+
targetStartDate: Date
|
|
633
|
+
targetEndDate: Date
|
|
634
|
+
offsetSize: number
|
|
635
|
+
linkInfo: VxeGanttDefines.LinkInfoObj<D>
|
|
636
|
+
}) => string | number | null | undefined
|
|
637
|
+
}
|
|
597
638
|
}
|
|
598
639
|
|
|
599
640
|
export interface VxeGanttProps<D = any> extends Omit<VxeGridProps<D>, 'layouts'> {
|
|
@@ -613,7 +654,9 @@ export interface VxeGanttProps<D = any> extends Omit<VxeGridProps<D>, 'layouts'>
|
|
|
613
654
|
taskBarSubviewConfig?: VxeGanttPropTypes.TaskBarSubviewConfig<D>
|
|
614
655
|
taskBarTooltipConfig?: VxeGanttPropTypes.TaskBarTooltipConfig<D>
|
|
615
656
|
taskBarResizeConfig?: VxeGanttPropTypes.TaskBarResizeConfig<D>
|
|
657
|
+
taskBarResizeTooltipConfig?: VxeGanttPropTypes.TaskBarResizeTooltipConfig<D>
|
|
616
658
|
taskBarMoveConfig?: VxeGanttPropTypes.TaskBarMoveConfig<D>
|
|
659
|
+
taskBarMoveTooltipConfig?: VxeGanttPropTypes.TaskBarMoveTooltipConfig<D>
|
|
617
660
|
}
|
|
618
661
|
|
|
619
662
|
export interface GanttPrivateComputed<D = any> extends GridPrivateComputed<D> {
|
|
@@ -623,7 +666,9 @@ export interface GanttPrivateComputed<D = any> extends GridPrivateComputed<D> {
|
|
|
623
666
|
computeTaskViewScaleOpts: ComputedRef<VxeGanttPropTypes.TaskViewScaleConfig>
|
|
624
667
|
computeTaskBarOpts: ComputedRef<VxeGanttPropTypes.TaskBarConfig<D>>
|
|
625
668
|
computeTaskBarMoveOpts: ComputedRef<VxeGanttPropTypes.TaskBarMoveConfig<D>>
|
|
669
|
+
computeTaskBarMoveTooltipOpts: ComputedRef<VxeGanttPropTypes.TaskBarMoveTooltipConfig<D>>
|
|
626
670
|
computeTaskBarResizeOpts: ComputedRef<VxeGanttPropTypes.TaskBarResizeConfig<D>>
|
|
671
|
+
computeTaskBarResizeTooltipOpts: ComputedRef<VxeGanttPropTypes.TaskBarResizeTooltipConfig<D>>
|
|
627
672
|
computeTaskSplitOpts: ComputedRef<VxeGanttPropTypes.TaskSplitConfig>
|
|
628
673
|
computeTaskBarMilestoneOpts: ComputedRef<VxeGanttPropTypes.TaskBarMilestoneConfig<D>>
|
|
629
674
|
computeTaskBarSubviewOpts: ComputedRef<VxeGanttPropTypes.TaskBarSubviewConfig<D>>
|
|
@@ -1129,10 +1174,17 @@ export namespace VxeGanttDefines {
|
|
|
1129
1174
|
startDate: Date
|
|
1130
1175
|
endDate: Date
|
|
1131
1176
|
}
|
|
1132
|
-
export interface TaskMoveDragEventParams<D = any> extends TaskMoveStartEventParams<D> {
|
|
1177
|
+
export interface TaskMoveDragEventParams<D = any> extends TaskMoveStartEventParams<D> {
|
|
1178
|
+
targetStartDate: Date
|
|
1179
|
+
targetEndDate: Date
|
|
1180
|
+
offsetSize: number
|
|
1181
|
+
linkInfo: VxeGanttDefines.LinkInfoObj<D>
|
|
1182
|
+
}
|
|
1133
1183
|
export interface TaskMoveEndEventParams<D = any> extends TaskMoveStartEventParams<D> {
|
|
1134
1184
|
targetStartDate: Date
|
|
1135
1185
|
targetEndDate: Date
|
|
1186
|
+
offsetSize: number
|
|
1187
|
+
linkInfo: VxeGanttDefines.LinkInfoObj<D>
|
|
1136
1188
|
}
|
|
1137
1189
|
export interface TaskResizeStartEventParams<D = any> extends GanttEventParams<D> {
|
|
1138
1190
|
$gantt: VxeGanttConstructor<D>
|
|
@@ -1141,10 +1193,17 @@ export namespace VxeGanttDefines {
|
|
|
1141
1193
|
startDate: Date
|
|
1142
1194
|
endDate: Date
|
|
1143
1195
|
}
|
|
1144
|
-
export interface TaskResizeDragEventParams<D = any> extends TaskResizeStartEventParams<D> {
|
|
1196
|
+
export interface TaskResizeDragEventParams<D = any> extends TaskResizeStartEventParams<D> {
|
|
1197
|
+
targetStartDate: Date
|
|
1198
|
+
targetEndDate: Date
|
|
1199
|
+
offsetSize: number
|
|
1200
|
+
linkInfo: VxeGanttDefines.LinkInfoObj<D>
|
|
1201
|
+
}
|
|
1145
1202
|
export interface TaskResizeEndEventParams<D = any> extends TaskResizeStartEventParams<D> {
|
|
1146
1203
|
targetStartDate: Date
|
|
1147
1204
|
targetEndDate: Date
|
|
1205
|
+
offsetSize: number
|
|
1206
|
+
linkInfo: VxeGanttDefines.LinkInfoObj<D>
|
|
1148
1207
|
}
|
|
1149
1208
|
|
|
1150
1209
|
export interface TaskLinkClickEventParams<D = any> extends GanttEventParams<D> {
|
|
@@ -27,6 +27,7 @@ export namespace VxeIconPickerPropTypes {
|
|
|
27
27
|
export type ModelValue = string | null
|
|
28
28
|
export type Placeholder = string
|
|
29
29
|
export type Size = VxeComponentSizeType
|
|
30
|
+
export type Width = string | number
|
|
30
31
|
export type ClassName = string | ((params: { $iconPicker: VxeIconPickerConstructor }) => string)
|
|
31
32
|
/**
|
|
32
33
|
* 已废弃,请使用 PopupConfig.className
|
|
@@ -107,6 +108,7 @@ export type VxeIconPickerProps = {
|
|
|
107
108
|
* @deprecated
|
|
108
109
|
*/
|
|
109
110
|
popupClassName?: VxeIconPickerPropTypes.PopupClassName
|
|
111
|
+
width?: VxeIconPickerPropTypes.Width
|
|
110
112
|
readonly?: VxeIconPickerPropTypes.Readonly
|
|
111
113
|
disabled?: VxeIconPickerPropTypes.Disabled
|
|
112
114
|
icons?: VxeIconPickerPropTypes.Icons
|
|
@@ -28,6 +28,7 @@ export namespace VxeInputPropTypes {
|
|
|
28
28
|
export type ModelValue = string | number | Date | undefined | null
|
|
29
29
|
export type ClassName = string
|
|
30
30
|
export type InputClassName = string
|
|
31
|
+
export type Width = string | number
|
|
31
32
|
export type Immediate = boolean
|
|
32
33
|
export type Name = string
|
|
33
34
|
export type Title = string
|
|
@@ -99,6 +100,10 @@ export interface VxeInputProps {
|
|
|
99
100
|
modelValue?: VxeInputPropTypes.ModelValue
|
|
100
101
|
className?: VxeInputPropTypes.ClassName
|
|
101
102
|
inputClassName?: VxeInputPropTypes.InputClassName
|
|
103
|
+
/**
|
|
104
|
+
* 宽度
|
|
105
|
+
*/
|
|
106
|
+
width?: VxeInputPropTypes.Width
|
|
102
107
|
immediate?: VxeInputPropTypes.Immediate
|
|
103
108
|
name?: VxeInputPropTypes.Name
|
|
104
109
|
title?: VxeInputPropTypes.Title
|
|
@@ -28,6 +28,7 @@ export namespace VxeNumberInputPropTypes {
|
|
|
28
28
|
export type ModelValue = string | number | null
|
|
29
29
|
export type ClassName = string
|
|
30
30
|
export type InputClassName = string
|
|
31
|
+
export type Width = string | number
|
|
31
32
|
export type Immediate = boolean
|
|
32
33
|
export type Name = string
|
|
33
34
|
export type Type = 'number' | 'integer' | 'float' | 'amount'
|
|
@@ -129,6 +130,10 @@ export interface VxeNumberInputProps {
|
|
|
129
130
|
modelValue?: VxeNumberInputPropTypes.ModelValue
|
|
130
131
|
className?: VxeNumberInputPropTypes.ClassName
|
|
131
132
|
inputClassName?: VxeNumberInputPropTypes.InputClassName
|
|
133
|
+
/**
|
|
134
|
+
* 宽度
|
|
135
|
+
*/
|
|
136
|
+
width?: VxeNumberInputPropTypes.Width
|
|
132
137
|
immediate?: VxeNumberInputPropTypes.Immediate
|
|
133
138
|
name?: VxeNumberInputPropTypes.Name
|
|
134
139
|
type?: VxeNumberInputPropTypes.Type
|
|
@@ -28,6 +28,7 @@ export namespace VxePasswordInputPropTypes {
|
|
|
28
28
|
export type Immediate = boolean
|
|
29
29
|
export type ClassName = string
|
|
30
30
|
export type InputClassName = string
|
|
31
|
+
export type Width = string | number
|
|
31
32
|
export type Name = string
|
|
32
33
|
export type Clearable = boolean
|
|
33
34
|
export type Readonly = boolean
|
|
@@ -54,6 +55,10 @@ export interface VxePasswordInputProps {
|
|
|
54
55
|
immediate?: VxePasswordInputPropTypes.Immediate
|
|
55
56
|
className?: VxePasswordInputPropTypes.ClassName
|
|
56
57
|
inputClassName?: VxePasswordInputPropTypes.InputClassName
|
|
58
|
+
/**
|
|
59
|
+
* 宽度
|
|
60
|
+
*/
|
|
61
|
+
width?: VxePasswordInputPropTypes.Width
|
|
57
62
|
name?: VxePasswordInputPropTypes.Name
|
|
58
63
|
clearable?: VxePasswordInputPropTypes.Clearable
|
|
59
64
|
readonly?: VxePasswordInputPropTypes.Readonly
|
|
@@ -51,6 +51,7 @@ export namespace VxeSelectPropTypes {
|
|
|
51
51
|
export type ShowCheckedButton = boolean
|
|
52
52
|
export type ShowClearButton = boolean
|
|
53
53
|
export type ClassName = string | ((params: { $select: VxeSelectConstructor }) => string)
|
|
54
|
+
export type Width = string | number
|
|
54
55
|
/**
|
|
55
56
|
* 已废弃,请使用 PopupConfig.className
|
|
56
57
|
* @deprecated
|
|
@@ -223,6 +224,10 @@ export interface VxeSelectProps {
|
|
|
223
224
|
showCheckedButton?: VxeSelectPropTypes.ShowCheckedButton
|
|
224
225
|
showClearButton?: VxeSelectPropTypes.ShowClearButton
|
|
225
226
|
className?: VxeSelectPropTypes.ClassName
|
|
227
|
+
/**
|
|
228
|
+
* 宽度
|
|
229
|
+
*/
|
|
230
|
+
width?: VxeSelectPropTypes.Width
|
|
226
231
|
/**
|
|
227
232
|
* 已废弃,请使用 popup-config.className
|
|
228
233
|
* @deprecated
|
|
@@ -25,6 +25,7 @@ export interface VxeSpacePrivateRef extends SpacePrivateRef { }
|
|
|
25
25
|
export namespace VxeSpacePropTypes {
|
|
26
26
|
export type Size = VxeComponentSizeType
|
|
27
27
|
export type Wrap = boolean
|
|
28
|
+
export type Width = string | number
|
|
28
29
|
export type Gap = number | string | number[] | VxeSpaceDefines.GapObj
|
|
29
30
|
export type Vertical = boolean
|
|
30
31
|
export type ClassName = string
|
|
@@ -44,6 +45,10 @@ export interface VxeSpaceProps {
|
|
|
44
45
|
* 是否自动换行
|
|
45
46
|
*/
|
|
46
47
|
wrap?: VxeSpacePropTypes.Wrap
|
|
48
|
+
/**
|
|
49
|
+
* 宽度
|
|
50
|
+
*/
|
|
51
|
+
width?: VxeSpacePropTypes.Width
|
|
47
52
|
/**
|
|
48
53
|
* 自定义间距
|
|
49
54
|
*/
|
|
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
|