1 | export declare const ActionSheet: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
2 | show: BooleanConstructor;
|
3 | zIndex: (NumberConstructor | StringConstructor)[];
|
4 | overlay: {
|
5 | type: BooleanConstructor;
|
6 | default: true;
|
7 | };
|
8 | duration: (NumberConstructor | StringConstructor)[];
|
9 | teleport: import("vue").PropType<import("vue").TeleportProps["to"]>;
|
10 | lockScroll: {
|
11 | type: BooleanConstructor;
|
12 | default: true;
|
13 | };
|
14 | lazyRender: {
|
15 | type: BooleanConstructor;
|
16 | default: true;
|
17 | };
|
18 | beforeClose: import("vue").PropType<import("../utils").Interceptor>;
|
19 | overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
20 | overlayClass: import("vue").PropType<unknown>;
|
21 | transitionAppear: BooleanConstructor;
|
22 | closeOnClickOverlay: {
|
23 | type: BooleanConstructor;
|
24 | default: true;
|
25 | };
|
26 | } & {
|
27 | title: StringConstructor;
|
28 | round: {
|
29 | type: BooleanConstructor;
|
30 | default: true;
|
31 | };
|
32 | actions: {
|
33 | type: import("vue").PropType<import("./ActionSheet").ActionSheetAction[]>;
|
34 | default: () => never[];
|
35 | };
|
36 | closeIcon: {
|
37 | type: import("vue").PropType<string>;
|
38 | default: string;
|
39 | };
|
40 | closeable: {
|
41 | type: BooleanConstructor;
|
42 | default: true;
|
43 | };
|
44 | cancelText: StringConstructor;
|
45 | description: StringConstructor;
|
46 | closeOnPopstate: {
|
47 | type: BooleanConstructor;
|
48 | default: true;
|
49 | };
|
50 | closeOnClickAction: BooleanConstructor;
|
51 | safeAreaInsetBottom: {
|
52 | type: BooleanConstructor;
|
53 | default: true;
|
54 | };
|
55 | }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "cancel" | "update:show")[], "select" | "cancel" | "update:show", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
56 | show: BooleanConstructor;
|
57 | zIndex: (NumberConstructor | StringConstructor)[];
|
58 | overlay: {
|
59 | type: BooleanConstructor;
|
60 | default: true;
|
61 | };
|
62 | duration: (NumberConstructor | StringConstructor)[];
|
63 | teleport: import("vue").PropType<import("vue").TeleportProps["to"]>;
|
64 | lockScroll: {
|
65 | type: BooleanConstructor;
|
66 | default: true;
|
67 | };
|
68 | lazyRender: {
|
69 | type: BooleanConstructor;
|
70 | default: true;
|
71 | };
|
72 | beforeClose: import("vue").PropType<import("../utils").Interceptor>;
|
73 | overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
74 | overlayClass: import("vue").PropType<unknown>;
|
75 | transitionAppear: BooleanConstructor;
|
76 | closeOnClickOverlay: {
|
77 | type: BooleanConstructor;
|
78 | default: true;
|
79 | };
|
80 | } & {
|
81 | title: StringConstructor;
|
82 | round: {
|
83 | type: BooleanConstructor;
|
84 | default: true;
|
85 | };
|
86 | actions: {
|
87 | type: import("vue").PropType<import("./ActionSheet").ActionSheetAction[]>;
|
88 | default: () => never[];
|
89 | };
|
90 | closeIcon: {
|
91 | type: import("vue").PropType<string>;
|
92 | default: string;
|
93 | };
|
94 | closeable: {
|
95 | type: BooleanConstructor;
|
96 | default: true;
|
97 | };
|
98 | cancelText: StringConstructor;
|
99 | description: StringConstructor;
|
100 | closeOnPopstate: {
|
101 | type: BooleanConstructor;
|
102 | default: true;
|
103 | };
|
104 | closeOnClickAction: BooleanConstructor;
|
105 | safeAreaInsetBottom: {
|
106 | type: BooleanConstructor;
|
107 | default: true;
|
108 | };
|
109 | }>> & Readonly<{
|
110 | onSelect?: ((...args: any[]) => any) | undefined;
|
111 | "onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
112 | onCancel?: ((...args: any[]) => any) | undefined;
|
113 | }>, {
|
114 | round: boolean;
|
115 | overlay: boolean;
|
116 | show: boolean;
|
117 | safeAreaInsetBottom: boolean;
|
118 | lockScroll: boolean;
|
119 | lazyRender: boolean;
|
120 | transitionAppear: boolean;
|
121 | closeOnClickOverlay: boolean;
|
122 | closeIcon: string;
|
123 | closeable: boolean;
|
124 | closeOnPopstate: boolean;
|
125 | actions: import("./ActionSheet").ActionSheetAction[];
|
126 | closeOnClickAction: boolean;
|
127 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
128 | export default ActionSheet;
|
129 | export { actionSheetProps } from './ActionSheet';
|
130 | export type { ActionSheetProps, ActionSheetAction } from './ActionSheet';
|
131 | export type { ActionSheetThemeVars } from './types';
|
132 | declare module 'vue' {
|
133 | interface GlobalComponents {
|
134 | VanActionSheet: typeof ActionSheet;
|
135 | }
|
136 | }
|
137 |
|
\ | No newline at end of file |