@dao-style/core 1.4.2-beta.6 → 1.4.2-beta.8

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.
@@ -53,9 +53,7 @@ declare const DaoButton: {
53
53
  type: StringConstructor;
54
54
  default: undefined;
55
55
  };
56
- }>> & {
57
- onClick?: ((...args: any[]) => any) | undefined;
58
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "disabled" | "useFont" | "size" | "block" | "tooltipContent" | "loading" | "iconLeft" | "iconRight">;
56
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "disabled" | "useFont" | "size" | "block" | "tooltipContent" | "loading" | "iconLeft" | "iconRight">;
59
57
  $attrs: {
60
58
  [x: string]: unknown;
61
59
  };
@@ -67,7 +65,7 @@ declare const DaoButton: {
67
65
  }>;
68
66
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
69
67
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
70
- $emit: (event: "click", ...args: any[]) => void;
68
+ $emit: (event: string, ...args: any[]) => void;
71
69
  $el: any;
72
70
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
73
71
  type: {
@@ -108,11 +106,8 @@ declare const DaoButton: {
108
106
  type: StringConstructor;
109
107
  default: undefined;
110
108
  };
111
- }>> & {
112
- onClick?: ((...args: any[]) => any) | undefined;
113
- }, {
109
+ }>>, {
114
110
  classList: import("vue").ComputedRef<string[]>;
115
- handleClick: (event: MouseEvent) => void;
116
111
  realDisabled: import("vue").ComputedRef<boolean>;
117
112
  isSimpleButton: import("vue").ComputedRef<boolean | undefined>;
118
113
  isIconLeftFont: import("vue").ComputedRef<boolean>;
@@ -124,7 +119,7 @@ declare const DaoButton: {
124
119
  onMouseEnter: () => void;
125
120
  onMouseLeave: () => void;
126
121
  showTip: import("vue").Ref<boolean>;
127
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], string, {
122
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
128
123
  type: import("./props").ButtonType;
129
124
  disabled: boolean;
130
125
  useFont: boolean;
@@ -193,11 +188,8 @@ declare const DaoButton: {
193
188
  type: StringConstructor;
194
189
  default: undefined;
195
190
  };
196
- }>> & {
197
- onClick?: ((...args: any[]) => any) | undefined;
198
- } & import("vue").ShallowUnwrapRef<{
191
+ }>> & import("vue").ShallowUnwrapRef<{
199
192
  classList: import("vue").ComputedRef<string[]>;
200
- handleClick: (event: MouseEvent) => void;
201
193
  realDisabled: import("vue").ComputedRef<boolean>;
202
194
  isSimpleButton: import("vue").ComputedRef<boolean | undefined>;
203
195
  isIconLeftFont: import("vue").ComputedRef<boolean>;
@@ -252,11 +244,8 @@ declare const DaoButton: {
252
244
  type: StringConstructor;
253
245
  default: undefined;
254
246
  };
255
- }>> & {
256
- onClick?: ((...args: any[]) => any) | undefined;
257
- }, {
247
+ }>>, {
258
248
  classList: import("vue").ComputedRef<string[]>;
259
- handleClick: (event: MouseEvent) => void;
260
249
  realDisabled: import("vue").ComputedRef<boolean>;
261
250
  isSimpleButton: import("vue").ComputedRef<boolean | undefined>;
262
251
  isIconLeftFont: import("vue").ComputedRef<boolean>;
@@ -268,7 +257,7 @@ declare const DaoButton: {
268
257
  onMouseEnter: () => void;
269
258
  onMouseLeave: () => void;
270
259
  showTip: import("vue").Ref<boolean>;
271
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", {
260
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
272
261
  type: import("./props").ButtonType;
273
262
  disabled: boolean;
274
263
  useFont: boolean;
@@ -39,7 +39,6 @@ declare const _default: import("vue").DefineComponent<{
39
39
  };
40
40
  }, {
41
41
  classList: import("vue").ComputedRef<string[]>;
42
- handleClick: (event: MouseEvent) => void;
43
42
  realDisabled: import("vue").ComputedRef<boolean>;
44
43
  isSimpleButton: import("vue").ComputedRef<boolean | undefined>;
45
44
  isIconLeftFont: import("vue").ComputedRef<boolean>;
@@ -51,7 +50,7 @@ declare const _default: import("vue").DefineComponent<{
51
50
  onMouseEnter: () => void;
52
51
  onMouseLeave: () => void;
53
52
  showTip: import("vue").Ref<boolean>;
54
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
53
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
55
54
  type: {
56
55
  type: import("vue").PropType<import("./props").ButtonType>;
57
56
  default: string;
@@ -90,9 +89,7 @@ declare const _default: import("vue").DefineComponent<{
90
89
  type: StringConstructor;
91
90
  default: undefined;
92
91
  };
93
- }>> & {
94
- onClick?: ((...args: any[]) => any) | undefined;
95
- }, {
92
+ }>>, {
96
93
  type: import("./props").ButtonType;
97
94
  disabled: boolean;
98
95
  useFont: boolean;
@@ -1,10 +1,6 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
2
  export type ButtonType = 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'danger';
3
3
  export declare const BUTTON_TYPES: ButtonType[];
4
- export declare const buttonEmits: {
5
- click: (event: MouseEvent) => void;
6
- };
7
- export type ButtonEmits = typeof buttonEmits;
8
4
  export declare const buttonProps: {
9
5
  type: {
10
6
  type: PropType<ButtonType>;
@@ -20,6 +20,10 @@ export declare const tabsProps: {
20
20
  type: StringConstructor;
21
21
  default: null;
22
22
  };
23
+ vertical: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
23
27
  };
24
28
  type modelValueType = string;
25
29
  export declare const tabsEmit: {
@@ -66,6 +70,10 @@ export declare const tabNavProps: {
66
70
  required: boolean;
67
71
  default: () => never[];
68
72
  };
73
+ vertical: {
74
+ type: BooleanConstructor;
75
+ default: boolean;
76
+ };
69
77
  };
70
78
  export declare const tabNavEmit: {
71
79
  updateValue: (content: modelValueType) => void;
@@ -12,6 +12,10 @@ declare const DaoTabNav: import("vue").DefineComponent<{
12
12
  required: boolean;
13
13
  default: () => never[];
14
14
  };
15
+ vertical: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
15
19
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
16
20
  [key: string]: any;
17
21
  }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "updateValue")[], "click" | "updateValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -28,11 +32,16 @@ declare const DaoTabNav: import("vue").DefineComponent<{
28
32
  required: boolean;
29
33
  default: () => never[];
30
34
  };
35
+ vertical: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
31
39
  }>> & {
32
40
  onClick?: ((...args: any[]) => any) | undefined;
33
41
  onUpdateValue?: ((...args: any[]) => any) | undefined;
34
42
  }, {
35
43
  type: string;
44
+ vertical: boolean;
36
45
  currentTab: string;
37
46
  tabList: import("./types").TabItemInfo[];
38
47
  }>;
@@ -12,6 +12,10 @@ declare const _default: import("vue").DefineComponent<{
12
12
  required: boolean;
13
13
  default: () => never[];
14
14
  };
15
+ vertical: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
15
19
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
16
20
  [key: string]: any;
17
21
  }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "updateValue")[], "click" | "updateValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -28,11 +32,16 @@ declare const _default: import("vue").DefineComponent<{
28
32
  required: boolean;
29
33
  default: () => never[];
30
34
  };
35
+ vertical: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
31
39
  }>> & {
32
40
  onClick?: ((...args: any[]) => any) | undefined;
33
41
  onUpdateValue?: ((...args: any[]) => any) | undefined;
34
42
  }, {
35
43
  type: string;
44
+ vertical: boolean;
36
45
  currentTab: string;
37
46
  tabList: import("./types").TabItemInfo[];
38
47
  }>;
@@ -7,6 +7,7 @@ declare const DaoTabs: {
7
7
  type: string;
8
8
  direction: string;
9
9
  modelValue: string;
10
+ vertical: boolean;
10
11
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
11
12
  type: {
12
13
  type: StringConstructor;
@@ -23,11 +24,15 @@ declare const DaoTabs: {
23
24
  type: StringConstructor;
24
25
  default: null;
25
26
  };
27
+ vertical: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
26
31
  }>> & {
27
32
  onChange?: ((...args: any[]) => any) | undefined;
28
33
  onClick?: ((...args: any[]) => any) | undefined;
29
34
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
30
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "direction" | "modelValue">;
35
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "direction" | "modelValue" | "vertical">;
31
36
  $attrs: {
32
37
  [x: string]: unknown;
33
38
  };
@@ -57,6 +62,10 @@ declare const DaoTabs: {
57
62
  type: StringConstructor;
58
63
  default: null;
59
64
  };
65
+ vertical: {
66
+ type: BooleanConstructor;
67
+ default: boolean;
68
+ };
60
69
  }>> & {
61
70
  onChange?: ((...args: any[]) => any) | undefined;
62
71
  onClick?: ((...args: any[]) => any) | undefined;
@@ -75,6 +84,7 @@ declare const DaoTabs: {
75
84
  type: string;
76
85
  direction: string;
77
86
  modelValue: string;
87
+ vertical: boolean;
78
88
  }, {}, string> & {
79
89
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
80
90
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -111,6 +121,10 @@ declare const DaoTabs: {
111
121
  type: StringConstructor;
112
122
  default: null;
113
123
  };
124
+ vertical: {
125
+ type: BooleanConstructor;
126
+ default: boolean;
127
+ };
114
128
  }>> & {
115
129
  onChange?: ((...args: any[]) => any) | undefined;
116
130
  onClick?: ((...args: any[]) => any) | undefined;
@@ -145,6 +159,10 @@ declare const DaoTabs: {
145
159
  type: StringConstructor;
146
160
  default: null;
147
161
  };
162
+ vertical: {
163
+ type: BooleanConstructor;
164
+ default: boolean;
165
+ };
148
166
  }>> & {
149
167
  onChange?: ((...args: any[]) => any) | undefined;
150
168
  onClick?: ((...args: any[]) => any) | undefined;
@@ -163,6 +181,7 @@ declare const DaoTabs: {
163
181
  type: string;
164
182
  direction: string;
165
183
  modelValue: string;
184
+ vertical: boolean;
166
185
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
167
186
  $slots: {
168
187
  action: SlotFn;
@@ -14,6 +14,10 @@ declare const _default: import("vue").DefineComponent<{
14
14
  type: StringConstructor;
15
15
  default: null;
16
16
  };
17
+ vertical: {
18
+ type: BooleanConstructor;
19
+ default: boolean;
20
+ };
17
21
  }, {
18
22
  tabList: {
19
23
  label: import("./types").DaoTabItemLabel;
@@ -40,6 +44,10 @@ declare const _default: import("vue").DefineComponent<{
40
44
  type: StringConstructor;
41
45
  default: null;
42
46
  };
47
+ vertical: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
43
51
  }>> & {
44
52
  onChange?: ((...args: any[]) => any) | undefined;
45
53
  onClick?: ((...args: any[]) => any) | undefined;
@@ -48,5 +56,6 @@ declare const _default: import("vue").DefineComponent<{
48
56
  type: string;
49
57
  direction: string;
50
58
  modelValue: string;
59
+ vertical: boolean;
51
60
  }>;
52
61
  export default _default;