@squirrel-cloud/ui-vue 0.2.42 → 0.2.43

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.
@@ -35,8 +35,9 @@ export declare interface FormRule {
35
35
  */
36
36
  validateFunc?: (
37
37
  value: unknown,
38
+ signal: AbortSignal,
38
39
  trigger?: TriggerType,
39
- ) => Promiseable<string | boolean>
40
+ ) => Promiseable<string | boolean | undefined>
40
41
  }
41
42
 
42
43
  /**
@@ -87,7 +88,7 @@ export declare interface FormConfigBase {
87
88
  /**
88
89
  * 输入框表单项配置
89
90
  */
90
- export declare interface FormInputConfig extends FormConfigBase {
91
+ export declare interface FormConfigInput extends FormConfigBase {
91
92
  /**
92
93
  * 类型
93
94
  */
@@ -96,13 +97,13 @@ export declare interface FormInputConfig extends FormConfigBase {
96
97
  /**
97
98
  * 输入框配置
98
99
  */
99
- props?: Omit<InputProps, 'name' | 'status' | 'showStatusIcon'>
100
+ props?: Omit<InputProps, 'name' | 'status' | 'showStatusIcon' | 'loading'>
100
101
  }
101
102
 
102
103
  /**
103
104
  * 文本域表单项配置
104
105
  */
105
- export declare interface FormTextareaConfig extends FormConfigBase {
106
+ export declare interface FormConfigTextarea extends FormConfigBase {
106
107
  /**
107
108
  * 类型
108
109
  */
@@ -122,7 +123,7 @@ declare type CustomExcludeKeys = 'name' | 'binding' | 'rule'
122
123
  /**
123
124
  * 自定义表单项配置
124
125
  */
125
- export declare type FormCustomConfig = Omit<
126
+ export declare type FormConfigCustom = Omit<
126
127
  FormConfigBase,
127
128
  CustomExcludeKeys
128
129
  > & {
@@ -141,6 +142,6 @@ export declare type FormCustomConfig = Omit<
141
142
  * 表单项配置
142
143
  */
143
144
  export declare type FormConfig =
144
- | FormCustomConfig
145
- | FormTextareaConfig
146
- | FormInputConfig
145
+ | FormConfigCustom
146
+ | FormConfigTextarea
147
+ | FormConfigInput
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@squirrel-cloud/ui-vue",
3
3
  "description": "松鼠的坚果屋前端VUE框架",
4
4
  "license": "GPL-3.0",
5
- "version": "0.2.42",
5
+ "version": "0.2.43",
6
6
  "private": false,
7
7
  "type": "module",
8
8
  "files": [