@squirrel-cloud/ui-vue 0.2.24 → 0.2.25
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/components/input/input.d.ts +1 -0
- package/dist/props/input/input.d.ts +13 -1
- package/dist/squirrel-cloud-ui-vue.js +1436 -1274
- package/dist/squirrel-cloud-ui-vue.umd.cjs +44 -18
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/typings/InputType.d.ts +4 -0
- package/typings/index.d.ts +15 -14
|
@@ -33,6 +33,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
33
33
|
onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
34
34
|
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
35
35
|
}>, {
|
|
36
|
+
type: import('../..').InputType;
|
|
36
37
|
size: import('../..').ComponentSize;
|
|
37
38
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
38
39
|
inputRef: HTMLInputElement;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Component } from 'vue';
|
|
2
|
-
import { ComponentSize, ComponentTypeBase } from '../../../typings';
|
|
2
|
+
import { ComponentSize, ComponentTypeBase, InputType } from '../../../typings';
|
|
3
3
|
/**
|
|
4
4
|
* 输入框属性
|
|
5
5
|
*/
|
|
@@ -32,6 +32,18 @@ export interface InputProps {
|
|
|
32
32
|
* 是否只读
|
|
33
33
|
*/
|
|
34
34
|
readonly?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* 是否可清空
|
|
37
|
+
*/
|
|
38
|
+
clearable?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* 占位文本
|
|
41
|
+
*/
|
|
42
|
+
placeholder?: string;
|
|
43
|
+
/**
|
|
44
|
+
* 输入框类型
|
|
45
|
+
*/
|
|
46
|
+
type?: InputType;
|
|
35
47
|
/**
|
|
36
48
|
* 输入框大小
|
|
37
49
|
*/
|