@a2simcode/ui 0.0.79 → 0.0.81

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.
@@ -8,7 +8,9 @@ export interface ButtonCompActionType {
8
8
  /**
9
9
  * @zh 按钮配置
10
10
  */
11
- config?: ButtonProps;
11
+ config?: ButtonProps & {
12
+ display?: boolean;
13
+ };
12
14
  /**
13
15
  * @zh 按钮点击方法
14
16
  */
@@ -34,7 +34,7 @@ export interface TabsSchemaConfig extends BaseSchemaConfig {
34
34
  /**
35
35
  * @zh id
36
36
  */
37
- id: string;
37
+ id?: string;
38
38
  /**
39
39
  * @zh 组件类型
40
40
  */
@@ -48,7 +48,7 @@ export interface TabPaneSchemaConfig extends BaseSchemaConfig {
48
48
  /**
49
49
  * @zh id
50
50
  */
51
- id: string;
51
+ id?: string;
52
52
  /**
53
53
  * @zh 组件类型
54
54
  */
@@ -69,7 +69,7 @@ export interface GeneralSchemaConfig extends BaseSchemaConfig {
69
69
  /**
70
70
  * @zh id
71
71
  */
72
- id: string;
72
+ id?: string;
73
73
  /**
74
74
  * @zh 组件类型
75
75
  */
@@ -83,7 +83,7 @@ export interface CollapseSchemaConfig extends BaseSchemaConfig {
83
83
  /**
84
84
  * @zh id
85
85
  */
86
- id: string;
86
+ id?: string;
87
87
  /**
88
88
  * @zh 组件类型
89
89
  */
@@ -97,7 +97,7 @@ export interface CollapseItemSchemaConfig extends BaseSchemaConfig {
97
97
  /**
98
98
  * @zh id
99
99
  */
100
- id: string;
100
+ id?: string;
101
101
  /**
102
102
  * @zh 组件类型
103
103
  */
@@ -37,6 +37,11 @@ export interface TabsProps {
37
37
  * @zh 切换标签之前的钩子,若返回 false 或者返回 Promise 且被 reject,则阻止切换
38
38
  */
39
39
  beforeLeave?: (activeName: string | number, oldActiveName: string | number) => boolean | Promise<boolean>;
40
+ /**
41
+ * @zh 是否充满容器
42
+ * @defaultValue false
43
+ */
44
+ isFill?: boolean;
40
45
  }
41
46
  declare function __VLS_template(): {
42
47
  attrs: Partial<{}>;