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