1 | import { type PropType, type ExtractPropTypes } from 'vue';
|
2 | import { type Numeric } from '../utils';
|
3 | export type BadgePosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
4 | export declare const badgeProps: {
|
5 | dot: BooleanConstructor;
|
6 | max: (NumberConstructor | StringConstructor)[];
|
7 | tag: {
|
8 | type: PropType<keyof HTMLElementTagNameMap>;
|
9 | default: keyof HTMLElementTagNameMap;
|
10 | };
|
11 | color: StringConstructor;
|
12 | offset: PropType<[Numeric, Numeric]>;
|
13 | content: (NumberConstructor | StringConstructor)[];
|
14 | showZero: {
|
15 | type: BooleanConstructor;
|
16 | default: true;
|
17 | };
|
18 | position: {
|
19 | type: PropType<BadgePosition>;
|
20 | default: BadgePosition;
|
21 | };
|
22 | };
|
23 | export type BadgeProps = ExtractPropTypes<typeof badgeProps>;
|
24 | declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
25 | dot: BooleanConstructor;
|
26 | max: (NumberConstructor | StringConstructor)[];
|
27 | tag: {
|
28 | type: PropType<keyof HTMLElementTagNameMap>;
|
29 | default: keyof HTMLElementTagNameMap;
|
30 | };
|
31 | color: StringConstructor;
|
32 | offset: PropType<[Numeric, Numeric]>;
|
33 | content: (NumberConstructor | StringConstructor)[];
|
34 | showZero: {
|
35 | type: BooleanConstructor;
|
36 | default: true;
|
37 | };
|
38 | position: {
|
39 | type: PropType<BadgePosition>;
|
40 | default: BadgePosition;
|
41 | };
|
42 | }>, () => import("vue/jsx-runtime").JSX.Element | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
43 | dot: BooleanConstructor;
|
44 | max: (NumberConstructor | StringConstructor)[];
|
45 | tag: {
|
46 | type: PropType<keyof HTMLElementTagNameMap>;
|
47 | default: keyof HTMLElementTagNameMap;
|
48 | };
|
49 | color: StringConstructor;
|
50 | offset: PropType<[Numeric, Numeric]>;
|
51 | content: (NumberConstructor | StringConstructor)[];
|
52 | showZero: {
|
53 | type: BooleanConstructor;
|
54 | default: true;
|
55 | };
|
56 | position: {
|
57 | type: PropType<BadgePosition>;
|
58 | default: BadgePosition;
|
59 | };
|
60 | }>> & Readonly<{}>, {
|
61 | dot: boolean;
|
62 | tag: keyof HTMLElementTagNameMap;
|
63 | showZero: boolean;
|
64 | position: BadgePosition;
|
65 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
66 | export default _default;
|