@mobileaction/action-kit 1.39.35 → 1.40.0
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/CHANGELOG.md +12 -0
- package/dist/action-kit.mjs +7973 -7811
- package/dist/src/components/tabs-2/components/tabButton.vue.d.ts +28 -0
- package/dist/src/components/tabs-2/components/tabPane.vue.d.ts +36 -0
- package/dist/src/components/tabs-2/index.vue.d.ts +38 -0
- package/dist/src/components/tabs-2/stories/default.stories.d.ts +291 -0
- package/dist/src/components/tabs-2/stories/tab-button.stories.d.ts +306 -0
- package/dist/src/components/tabs-2/stories/tab-pane.stories.d.ts +32 -0
- package/dist/src/components/tabs-2/tabButton.test.d.ts +1 -0
- package/dist/src/components/tabs-2/tabs.test.d.ts +1 -0
- package/dist/src/components/tabs-2/types.d.ts +76 -0
- package/dist/src/index.d.ts +4 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/src/components/app-checkbox/index.vue.d.ts +0 -14
- package/dist/src/components/app-checkbox/stories/constants.d.ts +0 -40
- package/dist/src/components/app-checkbox/stories/default.stories.d.ts +0 -7
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
import type { Meta } from '@storybook/vue3';
|
|
2
|
+
import { MaTabButtonProps } from '../types';
|
|
3
|
+
import { MaTabButton2 as MaTabButton } from '@/index';
|
|
4
|
+
declare const meta: Meta<typeof MaTabButton>;
|
|
5
|
+
export default meta;
|
|
6
|
+
export declare const Rounded: import("@storybook/csf").StoryAnnotations<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
7
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<MaTabButtonProps> & Readonly<{
|
|
8
|
+
onSelectTab?: (...args: any[]) => any;
|
|
9
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
selectTab: (...args: any[]) => void;
|
|
11
|
+
}, import("vue").PublicProps, {
|
|
12
|
+
size: import("@/index").MaTabsSize;
|
|
13
|
+
type: import("@/index").MaTabsType;
|
|
14
|
+
isActive: boolean;
|
|
15
|
+
iconPlacement: string;
|
|
16
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, HTMLButtonElement, import("vue").ComponentProvideOptions, {
|
|
17
|
+
P: {};
|
|
18
|
+
B: {};
|
|
19
|
+
D: {};
|
|
20
|
+
C: {};
|
|
21
|
+
M: {};
|
|
22
|
+
Defaults: {};
|
|
23
|
+
}, Readonly<MaTabButtonProps> & Readonly<{
|
|
24
|
+
onSelectTab?: (...args: any[]) => any;
|
|
25
|
+
}>, {}, {}, {}, {}, {
|
|
26
|
+
size: import("@/index").MaTabsSize;
|
|
27
|
+
type: import("@/index").MaTabsType;
|
|
28
|
+
isActive: boolean;
|
|
29
|
+
iconPlacement: string;
|
|
30
|
+
}>;
|
|
31
|
+
__isFragment?: never;
|
|
32
|
+
__isTeleport?: never;
|
|
33
|
+
__isSuspense?: never;
|
|
34
|
+
} & import("vue").ComponentOptionsBase<Readonly<MaTabButtonProps> & Readonly<{
|
|
35
|
+
onSelectTab?: (...args: any[]) => any;
|
|
36
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
37
|
+
selectTab: (...args: any[]) => void;
|
|
38
|
+
}, string, {
|
|
39
|
+
size: import("@/index").MaTabsSize;
|
|
40
|
+
type: import("@/index").MaTabsType;
|
|
41
|
+
isActive: boolean;
|
|
42
|
+
iconPlacement: string;
|
|
43
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
44
|
+
$slots: {
|
|
45
|
+
title?(_: {}): any;
|
|
46
|
+
default?(_: {}): any;
|
|
47
|
+
};
|
|
48
|
+
})>>;
|
|
49
|
+
export declare const RoundedDark: import("@storybook/csf").StoryAnnotations<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
50
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<MaTabButtonProps> & Readonly<{
|
|
51
|
+
onSelectTab?: (...args: any[]) => any;
|
|
52
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
53
|
+
selectTab: (...args: any[]) => void;
|
|
54
|
+
}, import("vue").PublicProps, {
|
|
55
|
+
size: import("@/index").MaTabsSize;
|
|
56
|
+
type: import("@/index").MaTabsType;
|
|
57
|
+
isActive: boolean;
|
|
58
|
+
iconPlacement: string;
|
|
59
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, HTMLButtonElement, import("vue").ComponentProvideOptions, {
|
|
60
|
+
P: {};
|
|
61
|
+
B: {};
|
|
62
|
+
D: {};
|
|
63
|
+
C: {};
|
|
64
|
+
M: {};
|
|
65
|
+
Defaults: {};
|
|
66
|
+
}, Readonly<MaTabButtonProps> & Readonly<{
|
|
67
|
+
onSelectTab?: (...args: any[]) => any;
|
|
68
|
+
}>, {}, {}, {}, {}, {
|
|
69
|
+
size: import("@/index").MaTabsSize;
|
|
70
|
+
type: import("@/index").MaTabsType;
|
|
71
|
+
isActive: boolean;
|
|
72
|
+
iconPlacement: string;
|
|
73
|
+
}>;
|
|
74
|
+
__isFragment?: never;
|
|
75
|
+
__isTeleport?: never;
|
|
76
|
+
__isSuspense?: never;
|
|
77
|
+
} & import("vue").ComponentOptionsBase<Readonly<MaTabButtonProps> & Readonly<{
|
|
78
|
+
onSelectTab?: (...args: any[]) => any;
|
|
79
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
80
|
+
selectTab: (...args: any[]) => void;
|
|
81
|
+
}, string, {
|
|
82
|
+
size: import("@/index").MaTabsSize;
|
|
83
|
+
type: import("@/index").MaTabsType;
|
|
84
|
+
isActive: boolean;
|
|
85
|
+
iconPlacement: string;
|
|
86
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
87
|
+
$slots: {
|
|
88
|
+
title?(_: {}): any;
|
|
89
|
+
default?(_: {}): any;
|
|
90
|
+
};
|
|
91
|
+
})>>;
|
|
92
|
+
export declare const Line: import("@storybook/csf").StoryAnnotations<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
93
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<MaTabButtonProps> & Readonly<{
|
|
94
|
+
onSelectTab?: (...args: any[]) => any;
|
|
95
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
96
|
+
selectTab: (...args: any[]) => void;
|
|
97
|
+
}, import("vue").PublicProps, {
|
|
98
|
+
size: import("@/index").MaTabsSize;
|
|
99
|
+
type: import("@/index").MaTabsType;
|
|
100
|
+
isActive: boolean;
|
|
101
|
+
iconPlacement: string;
|
|
102
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, HTMLButtonElement, import("vue").ComponentProvideOptions, {
|
|
103
|
+
P: {};
|
|
104
|
+
B: {};
|
|
105
|
+
D: {};
|
|
106
|
+
C: {};
|
|
107
|
+
M: {};
|
|
108
|
+
Defaults: {};
|
|
109
|
+
}, Readonly<MaTabButtonProps> & Readonly<{
|
|
110
|
+
onSelectTab?: (...args: any[]) => any;
|
|
111
|
+
}>, {}, {}, {}, {}, {
|
|
112
|
+
size: import("@/index").MaTabsSize;
|
|
113
|
+
type: import("@/index").MaTabsType;
|
|
114
|
+
isActive: boolean;
|
|
115
|
+
iconPlacement: string;
|
|
116
|
+
}>;
|
|
117
|
+
__isFragment?: never;
|
|
118
|
+
__isTeleport?: never;
|
|
119
|
+
__isSuspense?: never;
|
|
120
|
+
} & import("vue").ComponentOptionsBase<Readonly<MaTabButtonProps> & Readonly<{
|
|
121
|
+
onSelectTab?: (...args: any[]) => any;
|
|
122
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
123
|
+
selectTab: (...args: any[]) => void;
|
|
124
|
+
}, string, {
|
|
125
|
+
size: import("@/index").MaTabsSize;
|
|
126
|
+
type: import("@/index").MaTabsType;
|
|
127
|
+
isActive: boolean;
|
|
128
|
+
iconPlacement: string;
|
|
129
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
130
|
+
$slots: {
|
|
131
|
+
title?(_: {}): any;
|
|
132
|
+
default?(_: {}): any;
|
|
133
|
+
};
|
|
134
|
+
})>>;
|
|
135
|
+
export declare const LineWithAppIcon: import("@storybook/csf").StoryAnnotations<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
136
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<MaTabButtonProps> & Readonly<{
|
|
137
|
+
onSelectTab?: (...args: any[]) => any;
|
|
138
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
139
|
+
selectTab: (...args: any[]) => void;
|
|
140
|
+
}, import("vue").PublicProps, {
|
|
141
|
+
size: import("@/index").MaTabsSize;
|
|
142
|
+
type: import("@/index").MaTabsType;
|
|
143
|
+
isActive: boolean;
|
|
144
|
+
iconPlacement: string;
|
|
145
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, HTMLButtonElement, import("vue").ComponentProvideOptions, {
|
|
146
|
+
P: {};
|
|
147
|
+
B: {};
|
|
148
|
+
D: {};
|
|
149
|
+
C: {};
|
|
150
|
+
M: {};
|
|
151
|
+
Defaults: {};
|
|
152
|
+
}, Readonly<MaTabButtonProps> & Readonly<{
|
|
153
|
+
onSelectTab?: (...args: any[]) => any;
|
|
154
|
+
}>, {}, {}, {}, {}, {
|
|
155
|
+
size: import("@/index").MaTabsSize;
|
|
156
|
+
type: import("@/index").MaTabsType;
|
|
157
|
+
isActive: boolean;
|
|
158
|
+
iconPlacement: string;
|
|
159
|
+
}>;
|
|
160
|
+
__isFragment?: never;
|
|
161
|
+
__isTeleport?: never;
|
|
162
|
+
__isSuspense?: never;
|
|
163
|
+
} & import("vue").ComponentOptionsBase<Readonly<MaTabButtonProps> & Readonly<{
|
|
164
|
+
onSelectTab?: (...args: any[]) => any;
|
|
165
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
166
|
+
selectTab: (...args: any[]) => void;
|
|
167
|
+
}, string, {
|
|
168
|
+
size: import("@/index").MaTabsSize;
|
|
169
|
+
type: import("@/index").MaTabsType;
|
|
170
|
+
isActive: boolean;
|
|
171
|
+
iconPlacement: string;
|
|
172
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
173
|
+
$slots: {
|
|
174
|
+
title?(_: {}): any;
|
|
175
|
+
default?(_: {}): any;
|
|
176
|
+
};
|
|
177
|
+
})>>;
|
|
178
|
+
export declare const LineWithIcon: import("@storybook/csf").StoryAnnotations<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
179
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<MaTabButtonProps> & Readonly<{
|
|
180
|
+
onSelectTab?: (...args: any[]) => any;
|
|
181
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
182
|
+
selectTab: (...args: any[]) => void;
|
|
183
|
+
}, import("vue").PublicProps, {
|
|
184
|
+
size: import("@/index").MaTabsSize;
|
|
185
|
+
type: import("@/index").MaTabsType;
|
|
186
|
+
isActive: boolean;
|
|
187
|
+
iconPlacement: string;
|
|
188
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, HTMLButtonElement, import("vue").ComponentProvideOptions, {
|
|
189
|
+
P: {};
|
|
190
|
+
B: {};
|
|
191
|
+
D: {};
|
|
192
|
+
C: {};
|
|
193
|
+
M: {};
|
|
194
|
+
Defaults: {};
|
|
195
|
+
}, Readonly<MaTabButtonProps> & Readonly<{
|
|
196
|
+
onSelectTab?: (...args: any[]) => any;
|
|
197
|
+
}>, {}, {}, {}, {}, {
|
|
198
|
+
size: import("@/index").MaTabsSize;
|
|
199
|
+
type: import("@/index").MaTabsType;
|
|
200
|
+
isActive: boolean;
|
|
201
|
+
iconPlacement: string;
|
|
202
|
+
}>;
|
|
203
|
+
__isFragment?: never;
|
|
204
|
+
__isTeleport?: never;
|
|
205
|
+
__isSuspense?: never;
|
|
206
|
+
} & import("vue").ComponentOptionsBase<Readonly<MaTabButtonProps> & Readonly<{
|
|
207
|
+
onSelectTab?: (...args: any[]) => any;
|
|
208
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
209
|
+
selectTab: (...args: any[]) => void;
|
|
210
|
+
}, string, {
|
|
211
|
+
size: import("@/index").MaTabsSize;
|
|
212
|
+
type: import("@/index").MaTabsType;
|
|
213
|
+
isActive: boolean;
|
|
214
|
+
iconPlacement: string;
|
|
215
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
216
|
+
$slots: {
|
|
217
|
+
title?(_: {}): any;
|
|
218
|
+
default?(_: {}): any;
|
|
219
|
+
};
|
|
220
|
+
})>>;
|
|
221
|
+
export declare const LineWithIconRight: import("@storybook/csf").StoryAnnotations<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
222
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<MaTabButtonProps> & Readonly<{
|
|
223
|
+
onSelectTab?: (...args: any[]) => any;
|
|
224
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
225
|
+
selectTab: (...args: any[]) => void;
|
|
226
|
+
}, import("vue").PublicProps, {
|
|
227
|
+
size: import("@/index").MaTabsSize;
|
|
228
|
+
type: import("@/index").MaTabsType;
|
|
229
|
+
isActive: boolean;
|
|
230
|
+
iconPlacement: string;
|
|
231
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, HTMLButtonElement, import("vue").ComponentProvideOptions, {
|
|
232
|
+
P: {};
|
|
233
|
+
B: {};
|
|
234
|
+
D: {};
|
|
235
|
+
C: {};
|
|
236
|
+
M: {};
|
|
237
|
+
Defaults: {};
|
|
238
|
+
}, Readonly<MaTabButtonProps> & Readonly<{
|
|
239
|
+
onSelectTab?: (...args: any[]) => any;
|
|
240
|
+
}>, {}, {}, {}, {}, {
|
|
241
|
+
size: import("@/index").MaTabsSize;
|
|
242
|
+
type: import("@/index").MaTabsType;
|
|
243
|
+
isActive: boolean;
|
|
244
|
+
iconPlacement: string;
|
|
245
|
+
}>;
|
|
246
|
+
__isFragment?: never;
|
|
247
|
+
__isTeleport?: never;
|
|
248
|
+
__isSuspense?: never;
|
|
249
|
+
} & import("vue").ComponentOptionsBase<Readonly<MaTabButtonProps> & Readonly<{
|
|
250
|
+
onSelectTab?: (...args: any[]) => any;
|
|
251
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
252
|
+
selectTab: (...args: any[]) => void;
|
|
253
|
+
}, string, {
|
|
254
|
+
size: import("@/index").MaTabsSize;
|
|
255
|
+
type: import("@/index").MaTabsType;
|
|
256
|
+
isActive: boolean;
|
|
257
|
+
iconPlacement: string;
|
|
258
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
259
|
+
$slots: {
|
|
260
|
+
title?(_: {}): any;
|
|
261
|
+
default?(_: {}): any;
|
|
262
|
+
};
|
|
263
|
+
})>>;
|
|
264
|
+
export declare const LineWithBadge: import("@storybook/csf").StoryAnnotations<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
265
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<MaTabButtonProps> & Readonly<{
|
|
266
|
+
onSelectTab?: (...args: any[]) => any;
|
|
267
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
268
|
+
selectTab: (...args: any[]) => void;
|
|
269
|
+
}, import("vue").PublicProps, {
|
|
270
|
+
size: import("@/index").MaTabsSize;
|
|
271
|
+
type: import("@/index").MaTabsType;
|
|
272
|
+
isActive: boolean;
|
|
273
|
+
iconPlacement: string;
|
|
274
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, HTMLButtonElement, import("vue").ComponentProvideOptions, {
|
|
275
|
+
P: {};
|
|
276
|
+
B: {};
|
|
277
|
+
D: {};
|
|
278
|
+
C: {};
|
|
279
|
+
M: {};
|
|
280
|
+
Defaults: {};
|
|
281
|
+
}, Readonly<MaTabButtonProps> & Readonly<{
|
|
282
|
+
onSelectTab?: (...args: any[]) => any;
|
|
283
|
+
}>, {}, {}, {}, {}, {
|
|
284
|
+
size: import("@/index").MaTabsSize;
|
|
285
|
+
type: import("@/index").MaTabsType;
|
|
286
|
+
isActive: boolean;
|
|
287
|
+
iconPlacement: string;
|
|
288
|
+
}>;
|
|
289
|
+
__isFragment?: never;
|
|
290
|
+
__isTeleport?: never;
|
|
291
|
+
__isSuspense?: never;
|
|
292
|
+
} & import("vue").ComponentOptionsBase<Readonly<MaTabButtonProps> & Readonly<{
|
|
293
|
+
onSelectTab?: (...args: any[]) => any;
|
|
294
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
295
|
+
selectTab: (...args: any[]) => void;
|
|
296
|
+
}, string, {
|
|
297
|
+
size: import("@/index").MaTabsSize;
|
|
298
|
+
type: import("@/index").MaTabsType;
|
|
299
|
+
isActive: boolean;
|
|
300
|
+
iconPlacement: string;
|
|
301
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
302
|
+
$slots: {
|
|
303
|
+
title?(_: {}): any;
|
|
304
|
+
default?(_: {}): any;
|
|
305
|
+
};
|
|
306
|
+
})>>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { Meta } from '@storybook/vue3';
|
|
2
|
+
import { MaTabPaneProps } from '../types';
|
|
3
|
+
import { MaTabPane2 as MaTabPane } from '@/index';
|
|
4
|
+
declare const meta: Meta<typeof MaTabPane>;
|
|
5
|
+
export default meta;
|
|
6
|
+
export declare const Default: import("@storybook/csf").StoryAnnotations<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
7
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<MaTabPaneProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
10
|
+
P: {};
|
|
11
|
+
B: {};
|
|
12
|
+
D: {};
|
|
13
|
+
C: {};
|
|
14
|
+
M: {};
|
|
15
|
+
Defaults: {};
|
|
16
|
+
}, Readonly<MaTabPaneProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
}>;
|
|
19
|
+
__isFragment?: never;
|
|
20
|
+
__isTeleport?: never;
|
|
21
|
+
__isSuspense?: never;
|
|
22
|
+
} & import("vue").ComponentOptionsBase<Readonly<MaTabPaneProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
25
|
+
$slots: Readonly<{
|
|
26
|
+
default(): unknown;
|
|
27
|
+
title(): unknown;
|
|
28
|
+
}> & {
|
|
29
|
+
default(): unknown;
|
|
30
|
+
title(): unknown;
|
|
31
|
+
};
|
|
32
|
+
})>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
export declare const MaTabsTypes: readonly ["rounded", "rounded-dark", "line"];
|
|
3
|
+
export declare const MaTabsSizes: readonly ["small", "medium"];
|
|
4
|
+
export declare const MaTabPanePlacements: readonly ["left", "right"];
|
|
5
|
+
export type MaTabsType = (typeof MaTabsTypes)[number];
|
|
6
|
+
export type MaTabsSize = (typeof MaTabsSizes)[number];
|
|
7
|
+
export type MaTabPanePlacement = (typeof MaTabPanePlacements)[number];
|
|
8
|
+
export interface MaTabsProps {
|
|
9
|
+
/**
|
|
10
|
+
* Basic style of tabs
|
|
11
|
+
*/
|
|
12
|
+
type?: MaTabsType;
|
|
13
|
+
/**
|
|
14
|
+
* Current Tab's key
|
|
15
|
+
*/
|
|
16
|
+
activeKey: string;
|
|
17
|
+
/**
|
|
18
|
+
* Preset tab button size
|
|
19
|
+
*/
|
|
20
|
+
size?: MaTabsSize;
|
|
21
|
+
/**
|
|
22
|
+
* The status of the left and right buttons of the content scroller being always visible
|
|
23
|
+
* @default false
|
|
24
|
+
*/
|
|
25
|
+
alwaysShowScrollerButtons?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface MaTabPaneProps {
|
|
28
|
+
/**
|
|
29
|
+
* TabPane's key
|
|
30
|
+
*/
|
|
31
|
+
tabKey?: string;
|
|
32
|
+
/**
|
|
33
|
+
* title of the tab button
|
|
34
|
+
*/
|
|
35
|
+
title?: string;
|
|
36
|
+
/**
|
|
37
|
+
* badge text of the tab button
|
|
38
|
+
*/
|
|
39
|
+
badgeText?: string;
|
|
40
|
+
/**
|
|
41
|
+
* app icon of the tab button
|
|
42
|
+
*/
|
|
43
|
+
appIcon?: string;
|
|
44
|
+
/**
|
|
45
|
+
* regular icon of the tab
|
|
46
|
+
*/
|
|
47
|
+
icon?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Disabled a tab.
|
|
50
|
+
*/
|
|
51
|
+
disabled?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* regular icon placement
|
|
54
|
+
*/
|
|
55
|
+
iconPlacement?: string;
|
|
56
|
+
}
|
|
57
|
+
export interface MaTabButtonProps extends MaTabPaneProps {
|
|
58
|
+
/**
|
|
59
|
+
* Preset tab button size
|
|
60
|
+
*/
|
|
61
|
+
size?: MaTabsSize;
|
|
62
|
+
/**
|
|
63
|
+
* active state
|
|
64
|
+
*/
|
|
65
|
+
isActive?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Basic style of tabs
|
|
68
|
+
*/
|
|
69
|
+
type?: MaTabsType;
|
|
70
|
+
}
|
|
71
|
+
export interface ChildTabComponent {
|
|
72
|
+
props: MaTabPaneProps;
|
|
73
|
+
slots: {
|
|
74
|
+
[name: string]: (() => VNode[]) | undefined;
|
|
75
|
+
};
|
|
76
|
+
}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -66,6 +66,10 @@ export { default as MaAutoComplete } from './components/autocomplete/index.vue';
|
|
|
66
66
|
export { default as MaTabs } from './components/tabs/index.vue';
|
|
67
67
|
export * from './components/tabs/types';
|
|
68
68
|
export { default as MaTabPane } from './components/tabs/components/tabPane.vue';
|
|
69
|
+
export { default as MaTabs2 } from './components/tabs-2/index.vue';
|
|
70
|
+
export { default as MaTabPane2 } from './components/tabs-2/components/tabPane.vue';
|
|
71
|
+
export { default as MaTabButton2 } from './components/tabs-2/components/tabButton.vue';
|
|
72
|
+
export * from './components/tabs-2/types';
|
|
69
73
|
export { default as MaCountrySelect } from './components/country-select/index.vue';
|
|
70
74
|
export { default as MaCard } from './components/card/index.vue';
|
|
71
75
|
export * from './components/card/types';
|
|
@@ -77,7 +81,6 @@ export { default as MaSlider } from './components/slider/index.vue';
|
|
|
77
81
|
export { default as MaCountryRadio } from './components/country-radio/index.vue';
|
|
78
82
|
export { default as MaPopover } from './components/popover/index.vue';
|
|
79
83
|
export { default as MaPopover2 } from './components/popover-2/index.vue';
|
|
80
|
-
export { default as MaAppCheckbox } from './components/app-checkbox/index.vue';
|
|
81
84
|
export { default as MaAvatar } from './components/avatar/index.vue';
|
|
82
85
|
export { default as MaTagInput } from './components/tag-input/index.vue';
|
|
83
86
|
export { default as MaWatchlistButton } from './components/watchlist-button/index.vue';
|