@zyzgroup/core-vue 0.0.11 → 0.0.12
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/README.md +2 -0
- package/ce/style.css +1 -1
- package/ce/yz_custom_element.iife.js +37 -78
- package/ce/yz_custom_element.iife.js.map +1 -1
- package/ce/yz_custom_element.js +9434 -41986
- package/ce/yz_custom_element.js.map +1 -1
- package/ce/yz_custom_element.umd.cjs +37 -78
- package/ce/yz_custom_element.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/dist/zyzgroup_core_vue.iife.js +32 -55
- package/dist/zyzgroup_core_vue.iife.js.map +1 -0
- package/dist/zyzgroup_core_vue.js +7629 -38412
- package/dist/zyzgroup_core_vue.js.map +1 -0
- package/dist/zyzgroup_core_vue.umd.cjs +32 -55
- package/dist/zyzgroup_core_vue.umd.cjs.map +1 -0
- package/package.json +5 -5
- package/types/components/Button.ce.vue.d.ts +13 -15
- package/types/components/Button.vue.d.ts +13 -15
- package/types/components/CheckboxGroup.ce.vue.d.ts +79 -0
- package/types/components/CheckboxGroup.vue.d.ts +79 -0
- package/types/components/ColorPicker.ce.vue.d.ts +41 -0
- package/types/components/ColorPicker.vue.d.ts +41 -0
- package/types/components/Dialog.ce.vue.d.ts +12 -8
- package/types/components/Dialog.vue.d.ts +12 -8
- package/types/components/DialogLoading.ce.vue.d.ts +28 -7
- package/types/components/DialogLoading.vue.d.ts +28 -7
- package/types/components/MapTianditu.ce.vue.d.ts +67 -0
- package/types/components/MapTianditu.vue.d.ts +67 -0
- package/types/components/MobileLayout.ce.vue.d.ts +1 -1
- package/types/components/MobileLayout.vue.d.ts +1 -1
- package/types/components/Overlay.ce.vue.d.ts +40 -0
- package/types/components/Overlay.vue.d.ts +40 -0
- package/types/components/PlateDisplay.ce.vue.d.ts +37 -0
- package/types/components/PlateDisplay.vue.d.ts +37 -0
- package/types/components/PlateKeyboard.ce.vue.d.ts +45 -0
- package/types/components/PlateKeyboard.vue.d.ts +45 -0
- package/types/components/PlateMobile.ce.vue.d.ts +35 -0
- package/types/components/PlateMobile.vue.d.ts +35 -0
- package/types/components/Pop.ce.vue.d.ts +62 -0
- package/types/components/Pop.vue.d.ts +62 -0
- package/types/components/Popover.ce.vue.d.ts +37 -0
- package/types/components/Popover.vue.d.ts +37 -0
- package/types/components/PopoverHeadlessUI.ce.vue.d.ts +10 -0
- package/types/components/PopoverHeadlessUI.vue.d.ts +10 -0
- package/types/components/RadioGroup.ce.vue.d.ts +79 -0
- package/types/components/RadioGroup.vue.d.ts +79 -0
- package/types/components/ResizeObserver.ce.vue.d.ts +37 -0
- package/types/components/ResizeObserver.vue.d.ts +37 -0
- package/types/components/Select.ce.vue.d.ts +31 -4
- package/types/components/Select.vue.d.ts +31 -4
- package/types/components/SlideLeftItem.ce.vue.d.ts +60 -0
- package/types/components/SlideLeftItem.vue.d.ts +60 -0
- package/types/components/Switch.ce.vue.d.ts +63 -0
- package/types/components/Switch.vue.d.ts +63 -0
- package/types/components/Tab.ce.vue.d.ts +30 -0
- package/types/components/Tab.vue.d.ts +30 -0
- package/types/components/Tabs.ce.vue.d.ts +33 -0
- package/types/components/Tabs.vue.d.ts +33 -0
- package/types/components/TabsForCE.ce.vue.d.ts +38 -0
- package/types/components/TabsForCE.vue.d.ts +38 -0
- package/types/components/svg/SVGCheck.ce.vue.d.ts +34 -0
- package/types/components/svg/SVGCheck.vue.d.ts +34 -0
- package/types/components/svg/SVGCleanUp.ce.vue.d.ts +34 -0
- package/types/components/svg/SVGCleanUp.vue.d.ts +34 -0
- package/types/components/svg/SVGDelete.ce.vue.d.ts +36 -0
- package/types/components/svg/SVGDelete.vue.d.ts +36 -0
- package/types/components/svg/SVGFail.ce.vue.d.ts +36 -0
- package/types/components/svg/SVGFail.vue.d.ts +36 -0
- package/types/components/svg/SVGHome.ce.vue.d.ts +36 -0
- package/types/components/svg/SVGHome.vue.d.ts +36 -0
- package/types/components/svg/SVGPrompt.ce.vue.d.ts +36 -0
- package/types/components/svg/SVGPrompt.vue.d.ts +36 -0
- package/types/components/svg/SVGQuestion.ce.vue.d.ts +36 -0
- package/types/components/svg/SVGQuestion.vue.d.ts +36 -0
- package/types/components/svg/SVGReturn.ce.vue.d.ts +36 -0
- package/types/components/svg/SVGReturn.vue.d.ts +36 -0
- package/types/components/svg/SVGSuccess.vue.d.ts +36 -0
- package/types/components/svg/SVGWaiting.ce.vue.d.ts +36 -0
- package/types/components/svg/SVGWaiting.vue.d.ts +36 -0
- package/types/hooks/useWindowSize.d.ts +5 -0
- package/types/lib.d.ts +19 -5
- package/dist/vite.svg +0 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
|
+
button?(_: {}): any;
|
|
3
|
+
panel?(_: {}): any;
|
|
4
|
+
}>;
|
|
5
|
+
export default _default;
|
|
6
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
7
|
+
new (): {
|
|
8
|
+
$slots: S;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
|
+
button?(_: {}): any;
|
|
3
|
+
panel?(_: {}): any;
|
|
4
|
+
}>;
|
|
5
|
+
export default _default;
|
|
6
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
7
|
+
new (): {
|
|
8
|
+
$slots: S;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
declare const _default: <T extends string>(__VLS_props: {
|
|
2
|
+
onChange?: ((values: T) => any) | undefined;
|
|
3
|
+
options: T[];
|
|
4
|
+
initIndexs?: number | undefined;
|
|
5
|
+
isRounded?: boolean | undefined;
|
|
6
|
+
isFullfilled?: boolean | undefined;
|
|
7
|
+
colorPath?: string | undefined;
|
|
8
|
+
colorBg?: string | undefined;
|
|
9
|
+
colorBorder?: string | undefined;
|
|
10
|
+
fontSize?: string | undefined;
|
|
11
|
+
itemWidth?: string | undefined;
|
|
12
|
+
itemPadding?: string | undefined;
|
|
13
|
+
labelPadding?: string | undefined;
|
|
14
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
15
|
+
attrs: any;
|
|
16
|
+
slots: {
|
|
17
|
+
default?(_: {
|
|
18
|
+
label: T;
|
|
19
|
+
index: number;
|
|
20
|
+
}): any;
|
|
21
|
+
};
|
|
22
|
+
emit: (event: "change", values: T) => void;
|
|
23
|
+
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
24
|
+
props: {
|
|
25
|
+
onChange?: ((values: T) => any) | undefined;
|
|
26
|
+
options: T[];
|
|
27
|
+
initIndexs?: number | undefined;
|
|
28
|
+
isRounded?: boolean | undefined;
|
|
29
|
+
isFullfilled?: boolean | undefined;
|
|
30
|
+
colorPath?: string | undefined;
|
|
31
|
+
colorBg?: string | undefined;
|
|
32
|
+
colorBorder?: string | undefined;
|
|
33
|
+
fontSize?: string | undefined;
|
|
34
|
+
itemWidth?: string | undefined;
|
|
35
|
+
itemPadding?: string | undefined;
|
|
36
|
+
labelPadding?: string | undefined;
|
|
37
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
38
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
39
|
+
attrs: any;
|
|
40
|
+
slots: {
|
|
41
|
+
default?(_: {
|
|
42
|
+
label: T;
|
|
43
|
+
index: number;
|
|
44
|
+
}): any;
|
|
45
|
+
};
|
|
46
|
+
emit: (event: "change", values: T) => void;
|
|
47
|
+
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
}> & {
|
|
50
|
+
__ctx?: {
|
|
51
|
+
props: {
|
|
52
|
+
onChange?: ((values: T) => any) | undefined;
|
|
53
|
+
options: T[];
|
|
54
|
+
initIndexs?: number | undefined;
|
|
55
|
+
isRounded?: boolean | undefined;
|
|
56
|
+
isFullfilled?: boolean | undefined;
|
|
57
|
+
colorPath?: string | undefined;
|
|
58
|
+
colorBg?: string | undefined;
|
|
59
|
+
colorBorder?: string | undefined;
|
|
60
|
+
fontSize?: string | undefined;
|
|
61
|
+
itemWidth?: string | undefined;
|
|
62
|
+
itemPadding?: string | undefined;
|
|
63
|
+
labelPadding?: string | undefined;
|
|
64
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
65
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
66
|
+
attrs: any;
|
|
67
|
+
slots: {
|
|
68
|
+
default?(_: {
|
|
69
|
+
label: T;
|
|
70
|
+
index: number;
|
|
71
|
+
}): any;
|
|
72
|
+
};
|
|
73
|
+
emit: (event: "change", values: T) => void;
|
|
74
|
+
} | undefined;
|
|
75
|
+
};
|
|
76
|
+
export default _default;
|
|
77
|
+
type __VLS_Prettify<T> = {
|
|
78
|
+
[K in keyof T]: T[K];
|
|
79
|
+
} & {};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
declare const _default: <T extends string>(__VLS_props: {
|
|
2
|
+
onChange?: ((values: T) => any) | undefined;
|
|
3
|
+
options: T[];
|
|
4
|
+
initIndexs?: number | undefined;
|
|
5
|
+
isRounded?: boolean | undefined;
|
|
6
|
+
isFullfilled?: boolean | undefined;
|
|
7
|
+
colorPath?: string | undefined;
|
|
8
|
+
colorBg?: string | undefined;
|
|
9
|
+
colorBorder?: string | undefined;
|
|
10
|
+
fontSize?: string | undefined;
|
|
11
|
+
itemWidth?: string | undefined;
|
|
12
|
+
itemPadding?: string | undefined;
|
|
13
|
+
labelPadding?: string | undefined;
|
|
14
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
15
|
+
attrs: any;
|
|
16
|
+
slots: {
|
|
17
|
+
default?(_: {
|
|
18
|
+
label: T;
|
|
19
|
+
index: number;
|
|
20
|
+
}): any;
|
|
21
|
+
};
|
|
22
|
+
emit: (event: "change", values: T) => void;
|
|
23
|
+
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
24
|
+
props: {
|
|
25
|
+
onChange?: ((values: T) => any) | undefined;
|
|
26
|
+
options: T[];
|
|
27
|
+
initIndexs?: number | undefined;
|
|
28
|
+
isRounded?: boolean | undefined;
|
|
29
|
+
isFullfilled?: boolean | undefined;
|
|
30
|
+
colorPath?: string | undefined;
|
|
31
|
+
colorBg?: string | undefined;
|
|
32
|
+
colorBorder?: string | undefined;
|
|
33
|
+
fontSize?: string | undefined;
|
|
34
|
+
itemWidth?: string | undefined;
|
|
35
|
+
itemPadding?: string | undefined;
|
|
36
|
+
labelPadding?: string | undefined;
|
|
37
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
38
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
39
|
+
attrs: any;
|
|
40
|
+
slots: {
|
|
41
|
+
default?(_: {
|
|
42
|
+
label: T;
|
|
43
|
+
index: number;
|
|
44
|
+
}): any;
|
|
45
|
+
};
|
|
46
|
+
emit: (event: "change", values: T) => void;
|
|
47
|
+
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
}> & {
|
|
50
|
+
__ctx?: {
|
|
51
|
+
props: {
|
|
52
|
+
onChange?: ((values: T) => any) | undefined;
|
|
53
|
+
options: T[];
|
|
54
|
+
initIndexs?: number | undefined;
|
|
55
|
+
isRounded?: boolean | undefined;
|
|
56
|
+
isFullfilled?: boolean | undefined;
|
|
57
|
+
colorPath?: string | undefined;
|
|
58
|
+
colorBg?: string | undefined;
|
|
59
|
+
colorBorder?: string | undefined;
|
|
60
|
+
fontSize?: string | undefined;
|
|
61
|
+
itemWidth?: string | undefined;
|
|
62
|
+
itemPadding?: string | undefined;
|
|
63
|
+
labelPadding?: string | undefined;
|
|
64
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
65
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
66
|
+
attrs: any;
|
|
67
|
+
slots: {
|
|
68
|
+
default?(_: {
|
|
69
|
+
label: T;
|
|
70
|
+
index: number;
|
|
71
|
+
}): any;
|
|
72
|
+
};
|
|
73
|
+
emit: (event: "change", values: T) => void;
|
|
74
|
+
} | undefined;
|
|
75
|
+
};
|
|
76
|
+
export default _default;
|
|
77
|
+
type __VLS_Prettify<T> = {
|
|
78
|
+
[K in keyof T]: T[K];
|
|
79
|
+
} & {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
emitOnMount: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
ignoreWidth: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
ignoreHeight: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
}, any, any, {}, {
|
|
15
|
+
compareAndNotify(): void;
|
|
16
|
+
emitSize(): void;
|
|
17
|
+
addResizeHandlers(): void;
|
|
18
|
+
removeResizeHandlers(): void;
|
|
19
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
+
emitOnMount: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
ignoreWidth: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
ignoreHeight: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
}>>, {
|
|
33
|
+
emitOnMount: boolean;
|
|
34
|
+
ignoreWidth: boolean;
|
|
35
|
+
ignoreHeight: boolean;
|
|
36
|
+
}, {}>;
|
|
37
|
+
export default _default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
emitOnMount: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
ignoreWidth: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
ignoreHeight: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
}, any, any, {}, {
|
|
15
|
+
compareAndNotify(): void;
|
|
16
|
+
emitSize(): void;
|
|
17
|
+
addResizeHandlers(): void;
|
|
18
|
+
removeResizeHandlers(): void;
|
|
19
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
+
emitOnMount: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
ignoreWidth: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
ignoreHeight: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
}>>, {
|
|
33
|
+
emitOnMount: boolean;
|
|
34
|
+
ignoreWidth: boolean;
|
|
35
|
+
ignoreHeight: boolean;
|
|
36
|
+
}, {}>;
|
|
37
|
+
export default _default;
|
|
@@ -1,20 +1,38 @@
|
|
|
1
|
-
declare const _default: <T>(__VLS_props: {
|
|
1
|
+
declare const _default: <T extends string>(__VLS_props: {
|
|
2
2
|
onChange?: ((value: T) => any) | undefined;
|
|
3
3
|
options: T[];
|
|
4
4
|
initIndex?: number | undefined;
|
|
5
|
+
fontSize?: string | undefined;
|
|
5
6
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
6
7
|
attrs: any;
|
|
7
|
-
slots: {
|
|
8
|
+
slots: {
|
|
9
|
+
button?(_: {
|
|
10
|
+
selectedIndex: number;
|
|
11
|
+
}): any;
|
|
12
|
+
default?(_: {
|
|
13
|
+
item: T;
|
|
14
|
+
index: number;
|
|
15
|
+
}): any;
|
|
16
|
+
};
|
|
8
17
|
emit: (event: "change", value: T) => void;
|
|
9
18
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
10
19
|
props: {
|
|
11
20
|
onChange?: ((value: T) => any) | undefined;
|
|
12
21
|
options: T[];
|
|
13
22
|
initIndex?: number | undefined;
|
|
23
|
+
fontSize?: string | undefined;
|
|
14
24
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
15
25
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
16
26
|
attrs: any;
|
|
17
|
-
slots: {
|
|
27
|
+
slots: {
|
|
28
|
+
button?(_: {
|
|
29
|
+
selectedIndex: number;
|
|
30
|
+
}): any;
|
|
31
|
+
default?(_: {
|
|
32
|
+
item: T;
|
|
33
|
+
index: number;
|
|
34
|
+
}): any;
|
|
35
|
+
};
|
|
18
36
|
emit: (event: "change", value: T) => void;
|
|
19
37
|
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
20
38
|
[key: string]: any;
|
|
@@ -24,10 +42,19 @@ declare const _default: <T>(__VLS_props: {
|
|
|
24
42
|
onChange?: ((value: T) => any) | undefined;
|
|
25
43
|
options: T[];
|
|
26
44
|
initIndex?: number | undefined;
|
|
45
|
+
fontSize?: string | undefined;
|
|
27
46
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
28
47
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
29
48
|
attrs: any;
|
|
30
|
-
slots: {
|
|
49
|
+
slots: {
|
|
50
|
+
button?(_: {
|
|
51
|
+
selectedIndex: number;
|
|
52
|
+
}): any;
|
|
53
|
+
default?(_: {
|
|
54
|
+
item: T;
|
|
55
|
+
index: number;
|
|
56
|
+
}): any;
|
|
57
|
+
};
|
|
31
58
|
emit: (event: "change", value: T) => void;
|
|
32
59
|
} | undefined;
|
|
33
60
|
};
|
|
@@ -1,20 +1,38 @@
|
|
|
1
|
-
declare const _default: <T>(__VLS_props: {
|
|
1
|
+
declare const _default: <T extends string>(__VLS_props: {
|
|
2
2
|
onChange?: ((value: T) => any) | undefined;
|
|
3
3
|
options: T[];
|
|
4
4
|
initIndex?: number | undefined;
|
|
5
|
+
fontSize?: string | undefined;
|
|
5
6
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
6
7
|
attrs: any;
|
|
7
|
-
slots: {
|
|
8
|
+
slots: {
|
|
9
|
+
button?(_: {
|
|
10
|
+
selectedIndex: number;
|
|
11
|
+
}): any;
|
|
12
|
+
default?(_: {
|
|
13
|
+
item: T;
|
|
14
|
+
index: number;
|
|
15
|
+
}): any;
|
|
16
|
+
};
|
|
8
17
|
emit: (event: "change", value: T) => void;
|
|
9
18
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
10
19
|
props: {
|
|
11
20
|
onChange?: ((value: T) => any) | undefined;
|
|
12
21
|
options: T[];
|
|
13
22
|
initIndex?: number | undefined;
|
|
23
|
+
fontSize?: string | undefined;
|
|
14
24
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
15
25
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
16
26
|
attrs: any;
|
|
17
|
-
slots: {
|
|
27
|
+
slots: {
|
|
28
|
+
button?(_: {
|
|
29
|
+
selectedIndex: number;
|
|
30
|
+
}): any;
|
|
31
|
+
default?(_: {
|
|
32
|
+
item: T;
|
|
33
|
+
index: number;
|
|
34
|
+
}): any;
|
|
35
|
+
};
|
|
18
36
|
emit: (event: "change", value: T) => void;
|
|
19
37
|
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
20
38
|
[key: string]: any;
|
|
@@ -24,10 +42,19 @@ declare const _default: <T>(__VLS_props: {
|
|
|
24
42
|
onChange?: ((value: T) => any) | undefined;
|
|
25
43
|
options: T[];
|
|
26
44
|
initIndex?: number | undefined;
|
|
45
|
+
fontSize?: string | undefined;
|
|
27
46
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
28
47
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
29
48
|
attrs: any;
|
|
30
|
-
slots: {
|
|
49
|
+
slots: {
|
|
50
|
+
button?(_: {
|
|
51
|
+
selectedIndex: number;
|
|
52
|
+
}): any;
|
|
53
|
+
default?(_: {
|
|
54
|
+
item: T;
|
|
55
|
+
index: number;
|
|
56
|
+
}): any;
|
|
57
|
+
};
|
|
31
58
|
emit: (event: "change", value: T) => void;
|
|
32
59
|
} | undefined;
|
|
33
60
|
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
bgColor?: string | undefined;
|
|
3
|
+
deleteColor?: string | undefined;
|
|
4
|
+
fontColor?: string | undefined;
|
|
5
|
+
deleteWidth?: string | undefined;
|
|
6
|
+
transtionDuration?: string | undefined;
|
|
7
|
+
}>, {
|
|
8
|
+
bgColor: string;
|
|
9
|
+
deleteColor: string;
|
|
10
|
+
fontColor: string;
|
|
11
|
+
deleteWidth: string;
|
|
12
|
+
transtionDuration: string;
|
|
13
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
delete: () => void;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
16
|
+
bgColor?: string | undefined;
|
|
17
|
+
deleteColor?: string | undefined;
|
|
18
|
+
fontColor?: string | undefined;
|
|
19
|
+
deleteWidth?: string | undefined;
|
|
20
|
+
transtionDuration?: string | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
bgColor: string;
|
|
23
|
+
deleteColor: string;
|
|
24
|
+
fontColor: string;
|
|
25
|
+
deleteWidth: string;
|
|
26
|
+
transtionDuration: string;
|
|
27
|
+
}>>> & {
|
|
28
|
+
onDelete?: (() => any) | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
bgColor: string;
|
|
31
|
+
fontColor: string;
|
|
32
|
+
deleteColor: string;
|
|
33
|
+
deleteWidth: string;
|
|
34
|
+
transtionDuration: string;
|
|
35
|
+
}, {}>, {
|
|
36
|
+
default?(_: {}): any;
|
|
37
|
+
}>;
|
|
38
|
+
export default _default;
|
|
39
|
+
type __VLS_WithDefaults<P, D> = {
|
|
40
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
41
|
+
default: D[K];
|
|
42
|
+
}> : P[K];
|
|
43
|
+
};
|
|
44
|
+
type __VLS_Prettify<T> = {
|
|
45
|
+
[K in keyof T]: T[K];
|
|
46
|
+
} & {};
|
|
47
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
48
|
+
new (): {
|
|
49
|
+
$slots: S;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
53
|
+
type __VLS_TypePropsToOption<T> = {
|
|
54
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
55
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
56
|
+
} : {
|
|
57
|
+
type: import('vue').PropType<T[K]>;
|
|
58
|
+
required: true;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
bgColor?: string | undefined;
|
|
3
|
+
deleteColor?: string | undefined;
|
|
4
|
+
fontColor?: string | undefined;
|
|
5
|
+
deleteWidth?: string | undefined;
|
|
6
|
+
transtionDuration?: string | undefined;
|
|
7
|
+
}>, {
|
|
8
|
+
bgColor: string;
|
|
9
|
+
deleteColor: string;
|
|
10
|
+
fontColor: string;
|
|
11
|
+
deleteWidth: string;
|
|
12
|
+
transtionDuration: string;
|
|
13
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
delete: () => void;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
16
|
+
bgColor?: string | undefined;
|
|
17
|
+
deleteColor?: string | undefined;
|
|
18
|
+
fontColor?: string | undefined;
|
|
19
|
+
deleteWidth?: string | undefined;
|
|
20
|
+
transtionDuration?: string | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
bgColor: string;
|
|
23
|
+
deleteColor: string;
|
|
24
|
+
fontColor: string;
|
|
25
|
+
deleteWidth: string;
|
|
26
|
+
transtionDuration: string;
|
|
27
|
+
}>>> & {
|
|
28
|
+
onDelete?: (() => any) | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
bgColor: string;
|
|
31
|
+
fontColor: string;
|
|
32
|
+
deleteColor: string;
|
|
33
|
+
deleteWidth: string;
|
|
34
|
+
transtionDuration: string;
|
|
35
|
+
}, {}>, {
|
|
36
|
+
default?(_: {}): any;
|
|
37
|
+
}>;
|
|
38
|
+
export default _default;
|
|
39
|
+
type __VLS_WithDefaults<P, D> = {
|
|
40
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
41
|
+
default: D[K];
|
|
42
|
+
}> : P[K];
|
|
43
|
+
};
|
|
44
|
+
type __VLS_Prettify<T> = {
|
|
45
|
+
[K in keyof T]: T[K];
|
|
46
|
+
} & {};
|
|
47
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
48
|
+
new (): {
|
|
49
|
+
$slots: S;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
53
|
+
type __VLS_TypePropsToOption<T> = {
|
|
54
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
55
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
56
|
+
} : {
|
|
57
|
+
type: import('vue').PropType<T[K]>;
|
|
58
|
+
required: true;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
init: boolean;
|
|
3
|
+
width?: string | undefined;
|
|
4
|
+
height?: string | undefined;
|
|
5
|
+
padding?: string | undefined;
|
|
6
|
+
colorPrimary?: string | undefined;
|
|
7
|
+
colorBgOn?: string | undefined;
|
|
8
|
+
colorBgOff?: string | undefined;
|
|
9
|
+
}>, {
|
|
10
|
+
init: boolean;
|
|
11
|
+
width: string;
|
|
12
|
+
height: string;
|
|
13
|
+
padding: string;
|
|
14
|
+
colorPrimary: string;
|
|
15
|
+
colorBgOn: string;
|
|
16
|
+
colorBgOff: string;
|
|
17
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
change: (value: boolean) => void;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
20
|
+
init: boolean;
|
|
21
|
+
width?: string | undefined;
|
|
22
|
+
height?: string | undefined;
|
|
23
|
+
padding?: string | undefined;
|
|
24
|
+
colorPrimary?: string | undefined;
|
|
25
|
+
colorBgOn?: string | undefined;
|
|
26
|
+
colorBgOff?: string | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
init: boolean;
|
|
29
|
+
width: string;
|
|
30
|
+
height: string;
|
|
31
|
+
padding: string;
|
|
32
|
+
colorPrimary: string;
|
|
33
|
+
colorBgOn: string;
|
|
34
|
+
colorBgOff: string;
|
|
35
|
+
}>>> & {
|
|
36
|
+
onChange?: ((value: boolean) => any) | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
colorPrimary: string;
|
|
39
|
+
width: string;
|
|
40
|
+
height: string;
|
|
41
|
+
padding: string;
|
|
42
|
+
init: boolean;
|
|
43
|
+
colorBgOn: string;
|
|
44
|
+
colorBgOff: string;
|
|
45
|
+
}, {}>;
|
|
46
|
+
export default _default;
|
|
47
|
+
type __VLS_WithDefaults<P, D> = {
|
|
48
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
49
|
+
default: D[K];
|
|
50
|
+
}> : P[K];
|
|
51
|
+
};
|
|
52
|
+
type __VLS_Prettify<T> = {
|
|
53
|
+
[K in keyof T]: T[K];
|
|
54
|
+
} & {};
|
|
55
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
56
|
+
type __VLS_TypePropsToOption<T> = {
|
|
57
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
58
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
59
|
+
} : {
|
|
60
|
+
type: import('vue').PropType<T[K]>;
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
init: boolean;
|
|
3
|
+
width?: string | undefined;
|
|
4
|
+
height?: string | undefined;
|
|
5
|
+
padding?: string | undefined;
|
|
6
|
+
colorPrimary?: string | undefined;
|
|
7
|
+
colorBgOn?: string | undefined;
|
|
8
|
+
colorBgOff?: string | undefined;
|
|
9
|
+
}>, {
|
|
10
|
+
init: boolean;
|
|
11
|
+
width: string;
|
|
12
|
+
height: string;
|
|
13
|
+
padding: string;
|
|
14
|
+
colorPrimary: string;
|
|
15
|
+
colorBgOn: string;
|
|
16
|
+
colorBgOff: string;
|
|
17
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
change: (value: boolean) => void;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
20
|
+
init: boolean;
|
|
21
|
+
width?: string | undefined;
|
|
22
|
+
height?: string | undefined;
|
|
23
|
+
padding?: string | undefined;
|
|
24
|
+
colorPrimary?: string | undefined;
|
|
25
|
+
colorBgOn?: string | undefined;
|
|
26
|
+
colorBgOff?: string | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
init: boolean;
|
|
29
|
+
width: string;
|
|
30
|
+
height: string;
|
|
31
|
+
padding: string;
|
|
32
|
+
colorPrimary: string;
|
|
33
|
+
colorBgOn: string;
|
|
34
|
+
colorBgOff: string;
|
|
35
|
+
}>>> & {
|
|
36
|
+
onChange?: ((value: boolean) => any) | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
colorPrimary: string;
|
|
39
|
+
width: string;
|
|
40
|
+
height: string;
|
|
41
|
+
padding: string;
|
|
42
|
+
init: boolean;
|
|
43
|
+
colorBgOn: string;
|
|
44
|
+
colorBgOff: string;
|
|
45
|
+
}, {}>;
|
|
46
|
+
export default _default;
|
|
47
|
+
type __VLS_WithDefaults<P, D> = {
|
|
48
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
49
|
+
default: D[K];
|
|
50
|
+
}> : P[K];
|
|
51
|
+
};
|
|
52
|
+
type __VLS_Prettify<T> = {
|
|
53
|
+
[K in keyof T]: T[K];
|
|
54
|
+
} & {};
|
|
55
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
56
|
+
type __VLS_TypePropsToOption<T> = {
|
|
57
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
58
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
59
|
+
} : {
|
|
60
|
+
type: import('vue').PropType<T[K]>;
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
label: string;
|
|
3
|
+
}>, {}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
4
|
+
label: string;
|
|
5
|
+
}>, {}>>>, {}, {}>, {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
}>;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithDefaults<P, D> = {
|
|
10
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
11
|
+
default: D[K];
|
|
12
|
+
}> : P[K];
|
|
13
|
+
};
|
|
14
|
+
type __VLS_Prettify<T> = {
|
|
15
|
+
[K in keyof T]: T[K];
|
|
16
|
+
} & {};
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
+
type __VLS_TypePropsToOption<T> = {
|
|
24
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
+
} : {
|
|
27
|
+
type: import('vue').PropType<T[K]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
};
|