@planningcenter/chat-react-native 3.44.0-rc.0 → 3.44.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/build/components/display/platform_modal_header_buttons.d.ts +42 -14
- package/build/components/display/platform_modal_header_buttons.d.ts.map +1 -1
- package/build/components/display/platform_modal_header_buttons.js +107 -27
- package/build/components/display/platform_modal_header_buttons.js.map +1 -1
- package/build/components/primitive/form_sheet.d.ts +8 -2
- package/build/components/primitive/form_sheet.d.ts.map +1 -1
- package/build/components/primitive/form_sheet.js +10 -4
- package/build/components/primitive/form_sheet.js.map +1 -1
- package/build/navigation/index.d.ts +76 -149
- package/build/navigation/index.d.ts.map +1 -1
- package/build/navigation/index.js +67 -76
- package/build/navigation/index.js.map +1 -1
- package/build/screens/attachment_actions/attachment_actions_screen.d.ts +1 -1
- package/build/screens/attachment_actions/attachment_actions_screen.d.ts.map +1 -1
- package/build/screens/avatar_picker/avatar_picker_screen.d.ts +2 -2
- package/build/screens/avatar_picker/avatar_picker_screen.d.ts.map +1 -1
- package/build/screens/bug_report_screen.d.ts.map +1 -1
- package/build/screens/bug_report_screen.js +10 -13
- package/build/screens/bug_report_screen.js.map +1 -1
- package/build/screens/conversation/message_read_receipts_screen.d.ts +1 -1
- package/build/screens/conversation/message_read_receipts_screen.d.ts.map +1 -1
- package/build/screens/conversation_details_screen.d.ts.map +1 -1
- package/build/screens/conversation_details_screen.js +11 -12
- package/build/screens/conversation_details_screen.js.map +1 -1
- package/build/screens/conversation_filter_recipients/conversation_filter_recipients_screen.d.ts +1 -1
- package/build/screens/conversation_filter_recipients/conversation_filter_recipients_screen.d.ts.map +1 -1
- package/build/screens/conversation_filters_screen.d.ts +1 -1
- package/build/screens/conversation_filters_screen.d.ts.map +1 -1
- package/build/screens/conversation_filters_screen.js +18 -2
- package/build/screens/conversation_filters_screen.js.map +1 -1
- package/build/screens/conversation_notification_level_select_screen.d.ts +1 -1
- package/build/screens/conversation_notification_level_select_screen.d.ts.map +1 -1
- package/build/screens/conversation_screen.d.ts.map +1 -1
- package/build/screens/conversation_screen.js +6 -2
- package/build/screens/conversation_screen.js.map +1 -1
- package/build/screens/conversation_select_type_screen.d.ts +1 -1
- package/build/screens/conversation_select_type_screen.d.ts.map +1 -1
- package/build/screens/group_notification_level_select_screen.d.ts +1 -1
- package/build/screens/group_notification_level_select_screen.d.ts.map +1 -1
- package/build/screens/message_actions_screen.d.ts +1 -1
- package/build/screens/message_actions_screen.d.ts.map +1 -1
- package/build/screens/message_report_screen.d.ts.map +1 -1
- package/build/screens/message_report_screen.js +14 -18
- package/build/screens/message_report_screen.js.map +1 -1
- package/build/screens/notification_settings_screen.d.ts.map +1 -1
- package/build/screens/notification_settings_screen.js +0 -14
- package/build/screens/notification_settings_screen.js.map +1 -1
- package/build/screens/reactions_screen.d.ts +1 -1
- package/build/screens/reactions_screen.d.ts.map +1 -1
- package/build/screens/send_giphy_screen.d.ts +1 -1
- package/build/screens/send_giphy_screen.d.ts.map +1 -1
- package/build/screens/system_message_people_screen.d.ts +1 -1
- package/build/screens/system_message_people_screen.d.ts.map +1 -1
- package/package.json +3 -2
- package/src/components/display/platform_modal_header_buttons.tsx +196 -45
- package/src/components/primitive/form_sheet.tsx +19 -15
- package/src/navigation/index.tsx +147 -151
- package/src/screens/bug_report_screen.tsx +16 -15
- package/src/screens/conversation_details_screen.tsx +11 -17
- package/src/screens/conversation_filters_screen.tsx +25 -2
- package/src/screens/conversation_screen.tsx +7 -2
- package/src/screens/message_report_screen.tsx +20 -21
- package/src/screens/notification_settings_screen.tsx +1 -21
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StaticParamList } from '@react-navigation/native';
|
|
2
|
-
import {
|
|
2
|
+
import { NativeStackNavigationOptions } from '@react-navigation/native-stack';
|
|
3
3
|
import { CardStyleInterpolators } from '@react-navigation/stack';
|
|
4
4
|
import { AttachmentActionsScreen } from '../screens/attachment_actions/attachment_actions_screen';
|
|
5
5
|
import { AvatarPickerScreen } from '../screens/avatar_picker/avatar_picker_screen';
|
|
@@ -25,70 +25,55 @@ import { SystemMessagePeopleScreen } from '../screens/system_message_people_scre
|
|
|
25
25
|
import { ScreenLayoutWithChatAccessGate } from './screenLayout';
|
|
26
26
|
export declare const NewConversationStack: import("@react-navigation/core").TypedNavigator<{
|
|
27
27
|
ParamList: import("@react-navigation/routers").ParamListBase;
|
|
28
|
-
NavigatorID: undefined;
|
|
28
|
+
NavigatorID: string | undefined;
|
|
29
29
|
State: import("@react-navigation/routers").StackNavigationState<import("@react-navigation/routers").ParamListBase>;
|
|
30
|
-
ScreenOptions:
|
|
30
|
+
ScreenOptions: NativeStackNavigationOptions;
|
|
31
31
|
EventMap: import("@react-navigation/native-stack").NativeStackNavigationEventMap;
|
|
32
32
|
NavigationList: {
|
|
33
|
-
[x: string]: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
|
|
33
|
+
[x: string]: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
34
34
|
};
|
|
35
|
-
Navigator: ({ id, initialRouteName, children, layout, screenListeners, screenOptions, screenLayout,
|
|
35
|
+
Navigator: ({ id, initialRouteName, UNSTABLE_routeNamesChangeBehavior, children, layout, screenListeners, screenOptions, screenLayout, UNSTABLE_router, ...rest }: import("@react-navigation/native-stack").NativeStackNavigatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
36
36
|
}, {
|
|
37
37
|
readonly initialRouteName: "ConversationNewEntry";
|
|
38
|
-
readonly screenOptions:
|
|
39
|
-
readonly headerBackButtonDisplayMode: "minimal";
|
|
40
|
-
};
|
|
38
|
+
readonly screenOptions: () => NativeStackNavigationOptions;
|
|
41
39
|
readonly screenLayout: typeof ScreenLayoutWithChatAccessGate;
|
|
42
40
|
readonly screens: {
|
|
43
41
|
readonly ConversationNewEntry: {
|
|
44
42
|
readonly screen: ({ route }: import("../screens/conversation_select_recipients/types/screen_props").ConversationSelectRecipientsScreenProps) => import("react/jsx-runtime").JSX.Element;
|
|
45
43
|
readonly options: ({ navigation }: {
|
|
46
44
|
route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
|
|
47
|
-
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
|
|
45
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
48
46
|
theme: ReactNavigation.Theme;
|
|
49
|
-
}) =>
|
|
50
|
-
title: string;
|
|
51
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
52
|
-
headerBackVisible: false;
|
|
53
|
-
};
|
|
47
|
+
}) => NativeStackNavigationOptions;
|
|
54
48
|
};
|
|
55
49
|
readonly ConversationSelectGroupRecipients: {
|
|
56
50
|
readonly screen: ({ route, }: import("../screens/conversation_select_recipients/types/screen_props").ConversationSelectRecipientsScreenProps) => import("react/jsx-runtime").JSX.Element;
|
|
57
51
|
readonly options: ({ navigation, route }: {
|
|
58
52
|
route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
|
|
59
|
-
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
|
|
53
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
60
54
|
theme: ReactNavigation.Theme;
|
|
61
|
-
}) =>
|
|
62
|
-
title: string;
|
|
63
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
64
|
-
};
|
|
55
|
+
}) => NativeStackNavigationOptions;
|
|
65
56
|
};
|
|
66
57
|
readonly ConversationSelectTeamsILeadRecipients: {
|
|
67
58
|
readonly screen: ({ route, }: import("../screens/conversation_select_recipients/types/screen_props").ConversationSelectRecipientsScreenProps) => import("react/jsx-runtime").JSX.Element;
|
|
68
59
|
readonly options: ({ navigation, route }: {
|
|
69
60
|
route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
|
|
70
|
-
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
|
|
61
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
71
62
|
theme: ReactNavigation.Theme;
|
|
72
|
-
}) =>
|
|
73
|
-
title: string;
|
|
74
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
75
|
-
};
|
|
63
|
+
}) => NativeStackNavigationOptions;
|
|
76
64
|
};
|
|
77
65
|
readonly ConversationSelectDirectMessageRecipients: {
|
|
78
66
|
readonly screen: typeof ConversationSelectDirectMessageRecipientsScreen;
|
|
79
67
|
readonly if: () => boolean;
|
|
80
68
|
readonly options: ({ navigation, route }: {
|
|
81
69
|
route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
|
|
82
|
-
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
|
|
70
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
83
71
|
theme: ReactNavigation.Theme;
|
|
84
|
-
}) =>
|
|
85
|
-
title: string;
|
|
86
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
87
|
-
};
|
|
72
|
+
}) => NativeStackNavigationOptions;
|
|
88
73
|
};
|
|
89
74
|
readonly ConversationFilterRecipients: {
|
|
90
75
|
readonly screen: ({ route, }: import("../screens/conversation_filter_recipients/types").ConversationFilterRecipientsScreenProps) => import("react/jsx-runtime").JSX.Element;
|
|
91
|
-
readonly options:
|
|
76
|
+
readonly options: () => NativeStackNavigationOptions;
|
|
92
77
|
};
|
|
93
78
|
readonly ConversationNew: {
|
|
94
79
|
readonly screen: ({ route }: {
|
|
@@ -107,74 +92,57 @@ export declare const NewConversationStack: import("@react-navigation/core").Type
|
|
|
107
92
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
108
93
|
readonly options: ({ navigation, route }: {
|
|
109
94
|
route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
|
|
110
|
-
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
|
|
95
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
111
96
|
theme: ReactNavigation.Theme;
|
|
112
|
-
}) =>
|
|
113
|
-
title: string;
|
|
114
|
-
headerLeft: () => null;
|
|
115
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
116
|
-
};
|
|
97
|
+
}) => NativeStackNavigationOptions;
|
|
117
98
|
};
|
|
118
99
|
readonly AvatarPicker: {
|
|
119
100
|
readonly screen: typeof AvatarPickerScreen;
|
|
120
|
-
readonly options:
|
|
101
|
+
readonly options: () => NativeStackNavigationOptions;
|
|
121
102
|
};
|
|
122
103
|
};
|
|
123
104
|
}>;
|
|
124
105
|
export declare const ChatStack: import("@react-navigation/core").TypedNavigator<{
|
|
125
106
|
ParamList: import("@react-navigation/routers").ParamListBase;
|
|
126
|
-
NavigatorID: undefined;
|
|
107
|
+
NavigatorID: string | undefined;
|
|
127
108
|
State: import("@react-navigation/routers").StackNavigationState<import("@react-navigation/routers").ParamListBase>;
|
|
128
|
-
ScreenOptions:
|
|
109
|
+
ScreenOptions: NativeStackNavigationOptions;
|
|
129
110
|
EventMap: import("@react-navigation/native-stack").NativeStackNavigationEventMap;
|
|
130
111
|
NavigationList: {
|
|
131
|
-
[x: string]: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
|
|
112
|
+
[x: string]: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
132
113
|
};
|
|
133
|
-
Navigator: ({ id, initialRouteName, children, layout, screenListeners, screenOptions, screenLayout,
|
|
114
|
+
Navigator: ({ id, initialRouteName, UNSTABLE_routeNamesChangeBehavior, children, layout, screenListeners, screenOptions, screenLayout, UNSTABLE_router, ...rest }: import("@react-navigation/native-stack").NativeStackNavigatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
134
115
|
}, {
|
|
135
|
-
readonly screenOptions:
|
|
136
|
-
readonly headerBackButtonDisplayMode: "minimal";
|
|
137
|
-
};
|
|
116
|
+
readonly screenOptions: () => NativeStackNavigationOptions;
|
|
138
117
|
readonly screenLayout: typeof ScreenLayoutWithChatAccessGate;
|
|
139
118
|
readonly screens: {
|
|
140
119
|
readonly Conversations: {
|
|
141
120
|
readonly screen: typeof ConversationsScreen;
|
|
142
121
|
readonly options: ({ route, navigation }: {
|
|
143
122
|
route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
|
|
144
|
-
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
|
|
123
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
145
124
|
theme: ReactNavigation.Theme;
|
|
146
|
-
}) =>
|
|
147
|
-
headerTitle: string;
|
|
148
|
-
headerBackVisible: false;
|
|
149
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
150
|
-
};
|
|
125
|
+
}) => NativeStackNavigationOptions;
|
|
151
126
|
};
|
|
152
127
|
readonly ConversationFilters: {
|
|
153
128
|
readonly screen: (_props: import("..").ConversationFiltersScreenProps) => import("react/jsx-runtime").JSX.Element;
|
|
154
|
-
readonly options:
|
|
129
|
+
readonly options: () => NativeStackNavigationOptions;
|
|
155
130
|
};
|
|
156
131
|
readonly Conversation: {
|
|
157
132
|
readonly screen: typeof ConversationScreen;
|
|
158
133
|
readonly options: ({ route, navigation }: {
|
|
159
134
|
route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
|
|
160
|
-
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
|
|
135
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
161
136
|
theme: ReactNavigation.Theme;
|
|
162
|
-
}) =>
|
|
163
|
-
headerTitle: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
164
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
165
|
-
headerLeft: (props: import("@react-navigation/native-stack").NativeStackHeaderLeftProps) => import("react/jsx-runtime").JSX.Element;
|
|
166
|
-
};
|
|
137
|
+
}) => NativeStackNavigationOptions;
|
|
167
138
|
};
|
|
168
139
|
readonly ConversationReply: {
|
|
169
140
|
readonly screen: typeof ConversationScreen;
|
|
170
141
|
readonly options: ({ route, navigation }: {
|
|
171
142
|
route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
|
|
172
|
-
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
|
|
143
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
173
144
|
theme: ReactNavigation.Theme;
|
|
174
|
-
}) =>
|
|
175
|
-
headerLeft?: ((props: import("@react-navigation/native-stack").NativeStackHeaderLeftProps) => import("react/jsx-runtime").JSX.Element) | undefined;
|
|
176
|
-
title: string;
|
|
177
|
-
};
|
|
145
|
+
}) => NativeStackNavigationOptions;
|
|
178
146
|
};
|
|
179
147
|
readonly TeamConversation: {
|
|
180
148
|
readonly screen: ({ route }: import("..").TeamConversationScreenProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -189,134 +157,106 @@ export declare const ChatStack: import("@react-navigation/core").TypedNavigator<
|
|
|
189
157
|
readonly screen: typeof ConversationDetailsScreen;
|
|
190
158
|
readonly options: ({ navigation }: {
|
|
191
159
|
route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
|
|
192
|
-
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
|
|
160
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
193
161
|
theme: ReactNavigation.Theme;
|
|
194
|
-
}) =>
|
|
195
|
-
presentation: "modal";
|
|
196
|
-
title: string;
|
|
197
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
198
|
-
};
|
|
162
|
+
}) => NativeStackNavigationOptions;
|
|
199
163
|
};
|
|
200
164
|
readonly AvatarPicker: {
|
|
201
165
|
readonly screen: typeof AvatarPickerScreen;
|
|
202
|
-
readonly options:
|
|
166
|
+
readonly options: () => NativeStackNavigationOptions;
|
|
203
167
|
};
|
|
204
168
|
readonly ChatSettings: {
|
|
205
169
|
readonly screen: typeof SettingsScreen;
|
|
206
170
|
readonly options: ({ navigation }: {
|
|
207
171
|
route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
|
|
208
|
-
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
|
|
172
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
209
173
|
theme: ReactNavigation.Theme;
|
|
210
|
-
}) =>
|
|
211
|
-
title: string;
|
|
212
|
-
headerBackVisible: false;
|
|
213
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
214
|
-
};
|
|
174
|
+
}) => NativeStackNavigationOptions;
|
|
215
175
|
};
|
|
216
176
|
readonly NotificationSettings: {
|
|
217
177
|
readonly screen: typeof NotificationSettingsScreen;
|
|
218
178
|
readonly options: ({ navigation }: {
|
|
219
179
|
route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
|
|
220
|
-
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
|
|
180
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
221
181
|
theme: ReactNavigation.Theme;
|
|
222
|
-
}) =>
|
|
223
|
-
title: string;
|
|
224
|
-
headerBackVisible: false;
|
|
225
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
226
|
-
};
|
|
182
|
+
}) => NativeStackNavigationOptions;
|
|
227
183
|
};
|
|
228
184
|
readonly PreferredAppSelection: {
|
|
229
185
|
readonly screen: typeof PreferredAppSelectionScreen;
|
|
230
|
-
readonly options: {
|
|
231
|
-
|
|
232
|
-
|
|
186
|
+
readonly options: ({ navigation }: {
|
|
187
|
+
route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
|
|
188
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
189
|
+
theme: ReactNavigation.Theme;
|
|
190
|
+
}) => NativeStackNavigationOptions;
|
|
233
191
|
};
|
|
234
192
|
readonly GroupNotificationSettings: {
|
|
235
193
|
readonly screen: typeof GroupNotificationSettingsScreen;
|
|
236
194
|
readonly options: ({ route, navigation }: {
|
|
237
195
|
route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
|
|
238
|
-
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
|
|
196
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
239
197
|
theme: ReactNavigation.Theme;
|
|
240
|
-
}) =>
|
|
241
|
-
title: string;
|
|
242
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
243
|
-
};
|
|
198
|
+
}) => NativeStackNavigationOptions;
|
|
244
199
|
};
|
|
245
200
|
readonly GroupNotificationLevelSelect: {
|
|
246
201
|
readonly screen: typeof GroupNotificationLevelSelectScreen;
|
|
247
|
-
readonly options:
|
|
202
|
+
readonly options: () => NativeStackNavigationOptions;
|
|
248
203
|
};
|
|
249
204
|
readonly ConversationNotificationLevelSelect: {
|
|
250
205
|
readonly screen: typeof ConversationNotificationLevelSelectScreen;
|
|
251
|
-
readonly options:
|
|
206
|
+
readonly options: () => NativeStackNavigationOptions;
|
|
252
207
|
};
|
|
253
208
|
readonly New: {
|
|
254
209
|
readonly screen: import("@react-navigation/core").TypedNavigator<{
|
|
255
210
|
ParamList: import("@react-navigation/routers").ParamListBase;
|
|
256
|
-
NavigatorID: undefined;
|
|
211
|
+
NavigatorID: string | undefined;
|
|
257
212
|
State: import("@react-navigation/routers").StackNavigationState<import("@react-navigation/routers").ParamListBase>;
|
|
258
|
-
ScreenOptions:
|
|
213
|
+
ScreenOptions: NativeStackNavigationOptions;
|
|
259
214
|
EventMap: import("@react-navigation/native-stack").NativeStackNavigationEventMap;
|
|
260
215
|
NavigationList: {
|
|
261
|
-
[x: string]: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
|
|
216
|
+
[x: string]: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
262
217
|
};
|
|
263
|
-
Navigator: ({ id, initialRouteName, children, layout, screenListeners, screenOptions, screenLayout,
|
|
218
|
+
Navigator: ({ id, initialRouteName, UNSTABLE_routeNamesChangeBehavior, children, layout, screenListeners, screenOptions, screenLayout, UNSTABLE_router, ...rest }: import("@react-navigation/native-stack").NativeStackNavigatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
264
219
|
}, {
|
|
265
220
|
readonly initialRouteName: "ConversationNewEntry";
|
|
266
|
-
readonly screenOptions:
|
|
267
|
-
readonly headerBackButtonDisplayMode: "minimal";
|
|
268
|
-
};
|
|
221
|
+
readonly screenOptions: () => NativeStackNavigationOptions;
|
|
269
222
|
readonly screenLayout: typeof ScreenLayoutWithChatAccessGate;
|
|
270
223
|
readonly screens: {
|
|
271
224
|
readonly ConversationNewEntry: {
|
|
272
225
|
readonly screen: ({ route }: import("../screens/conversation_select_recipients/types/screen_props").ConversationSelectRecipientsScreenProps) => import("react/jsx-runtime").JSX.Element;
|
|
273
226
|
readonly options: ({ navigation }: {
|
|
274
227
|
route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
|
|
275
|
-
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
|
|
228
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
276
229
|
theme: ReactNavigation.Theme;
|
|
277
|
-
}) =>
|
|
278
|
-
title: string;
|
|
279
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
280
|
-
headerBackVisible: false;
|
|
281
|
-
};
|
|
230
|
+
}) => NativeStackNavigationOptions;
|
|
282
231
|
};
|
|
283
232
|
readonly ConversationSelectGroupRecipients: {
|
|
284
233
|
readonly screen: ({ route, }: import("../screens/conversation_select_recipients/types/screen_props").ConversationSelectRecipientsScreenProps) => import("react/jsx-runtime").JSX.Element;
|
|
285
234
|
readonly options: ({ navigation, route }: {
|
|
286
235
|
route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
|
|
287
|
-
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
|
|
236
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
288
237
|
theme: ReactNavigation.Theme;
|
|
289
|
-
}) =>
|
|
290
|
-
title: string;
|
|
291
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
292
|
-
};
|
|
238
|
+
}) => NativeStackNavigationOptions;
|
|
293
239
|
};
|
|
294
240
|
readonly ConversationSelectTeamsILeadRecipients: {
|
|
295
241
|
readonly screen: ({ route, }: import("../screens/conversation_select_recipients/types/screen_props").ConversationSelectRecipientsScreenProps) => import("react/jsx-runtime").JSX.Element;
|
|
296
242
|
readonly options: ({ navigation, route }: {
|
|
297
243
|
route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
|
|
298
|
-
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
|
|
244
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
299
245
|
theme: ReactNavigation.Theme;
|
|
300
|
-
}) =>
|
|
301
|
-
title: string;
|
|
302
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
303
|
-
};
|
|
246
|
+
}) => NativeStackNavigationOptions;
|
|
304
247
|
};
|
|
305
248
|
readonly ConversationSelectDirectMessageRecipients: {
|
|
306
249
|
readonly screen: typeof ConversationSelectDirectMessageRecipientsScreen;
|
|
307
250
|
readonly if: () => boolean;
|
|
308
251
|
readonly options: ({ navigation, route }: {
|
|
309
252
|
route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
|
|
310
|
-
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
|
|
253
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
311
254
|
theme: ReactNavigation.Theme;
|
|
312
|
-
}) =>
|
|
313
|
-
title: string;
|
|
314
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
315
|
-
};
|
|
255
|
+
}) => NativeStackNavigationOptions;
|
|
316
256
|
};
|
|
317
257
|
readonly ConversationFilterRecipients: {
|
|
318
258
|
readonly screen: ({ route, }: import("../screens/conversation_filter_recipients/types").ConversationFilterRecipientsScreenProps) => import("react/jsx-runtime").JSX.Element;
|
|
319
|
-
readonly options:
|
|
259
|
+
readonly options: () => NativeStackNavigationOptions;
|
|
320
260
|
};
|
|
321
261
|
readonly ConversationNew: {
|
|
322
262
|
readonly screen: ({ route }: {
|
|
@@ -335,17 +275,13 @@ export declare const ChatStack: import("@react-navigation/core").TypedNavigator<
|
|
|
335
275
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
336
276
|
readonly options: ({ navigation, route }: {
|
|
337
277
|
route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
|
|
338
|
-
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
|
|
278
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
339
279
|
theme: ReactNavigation.Theme;
|
|
340
|
-
}) =>
|
|
341
|
-
title: string;
|
|
342
|
-
headerLeft: () => null;
|
|
343
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
344
|
-
};
|
|
280
|
+
}) => NativeStackNavigationOptions;
|
|
345
281
|
};
|
|
346
282
|
readonly AvatarPicker: {
|
|
347
283
|
readonly screen: typeof AvatarPickerScreen;
|
|
348
|
-
readonly options:
|
|
284
|
+
readonly options: () => NativeStackNavigationOptions;
|
|
349
285
|
};
|
|
350
286
|
};
|
|
351
287
|
}>;
|
|
@@ -373,49 +309,45 @@ export declare const ChatStack: import("@react-navigation/core").TypedNavigator<
|
|
|
373
309
|
readonly if: () => boolean;
|
|
374
310
|
readonly options: ({ navigation }: {
|
|
375
311
|
route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
|
|
376
|
-
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
|
|
312
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
377
313
|
theme: ReactNavigation.Theme;
|
|
378
|
-
}) =>
|
|
379
|
-
title: string;
|
|
380
|
-
headerLeft: () => null;
|
|
381
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
382
|
-
};
|
|
314
|
+
}) => NativeStackNavigationOptions;
|
|
383
315
|
};
|
|
384
316
|
readonly SendGiphy: {
|
|
385
317
|
readonly screen: typeof SendGiphyScreen;
|
|
386
|
-
readonly options:
|
|
318
|
+
readonly options: () => NativeStackNavigationOptions;
|
|
387
319
|
};
|
|
388
320
|
readonly MessageActions: {
|
|
389
321
|
readonly screen: typeof MessageActionsScreen;
|
|
390
|
-
readonly options:
|
|
322
|
+
readonly options: () => NativeStackNavigationOptions;
|
|
391
323
|
};
|
|
392
324
|
readonly MessageReport: {
|
|
393
325
|
readonly screen: typeof MessageReportScreen;
|
|
394
|
-
readonly options: ({ navigation, route, }: import("@react-navigation/native-stack").NativeStackScreenProps<any>) =>
|
|
326
|
+
readonly options: ({ navigation, route, }: import("@react-navigation/native-stack").NativeStackScreenProps<any>) => NativeStackNavigationOptions;
|
|
395
327
|
};
|
|
396
328
|
readonly AttachmentActions: {
|
|
397
329
|
readonly screen: typeof AttachmentActionsScreen;
|
|
398
|
-
readonly options:
|
|
330
|
+
readonly options: () => NativeStackNavigationOptions;
|
|
399
331
|
};
|
|
400
332
|
readonly ConversationSelectType: {
|
|
401
333
|
readonly screen: typeof ConversationSelectTypeScreen;
|
|
402
|
-
readonly options:
|
|
334
|
+
readonly options: () => NativeStackNavigationOptions;
|
|
403
335
|
};
|
|
404
336
|
readonly Reactions: {
|
|
405
337
|
readonly screen: typeof ReactionsScreen;
|
|
406
|
-
readonly options:
|
|
338
|
+
readonly options: () => NativeStackNavigationOptions;
|
|
407
339
|
};
|
|
408
340
|
readonly SystemMessagePeople: {
|
|
409
341
|
readonly screen: typeof SystemMessagePeopleScreen;
|
|
410
|
-
readonly options:
|
|
342
|
+
readonly options: () => NativeStackNavigationOptions;
|
|
411
343
|
};
|
|
412
344
|
readonly MessageReadReceipts: {
|
|
413
345
|
readonly screen: typeof MessageReadReceiptsScreen;
|
|
414
|
-
readonly options:
|
|
346
|
+
readonly options: () => NativeStackNavigationOptions;
|
|
415
347
|
};
|
|
416
348
|
readonly BugReport: {
|
|
417
349
|
readonly screen: typeof BugReportScreen;
|
|
418
|
-
readonly options: ({ navigation, }: import("@react-navigation/native-stack").NativeStackScreenProps<any>) =>
|
|
350
|
+
readonly options: ({ navigation, }: import("@react-navigation/native-stack").NativeStackScreenProps<any>) => NativeStackNavigationOptions;
|
|
419
351
|
};
|
|
420
352
|
readonly GetHelp: {
|
|
421
353
|
readonly screen: ({ route }: {
|
|
@@ -427,14 +359,9 @@ export declare const ChatStack: import("@react-navigation/core").TypedNavigator<
|
|
|
427
359
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
428
360
|
readonly options: ({ navigation }: {
|
|
429
361
|
route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
|
|
430
|
-
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
|
|
362
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
431
363
|
theme: ReactNavigation.Theme;
|
|
432
|
-
}) =>
|
|
433
|
-
headerTitle: string;
|
|
434
|
-
headerBackVisible: false;
|
|
435
|
-
presentation: "modal";
|
|
436
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
437
|
-
};
|
|
364
|
+
}) => NativeStackNavigationOptions;
|
|
438
365
|
};
|
|
439
366
|
readonly NotFound: {
|
|
440
367
|
readonly screen: typeof NotFound;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/navigation/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/navigation/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAC1D,OAAO,EAGL,4BAA4B,EAC7B,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAA;AAShE,OAAO,EACL,uBAAuB,EAExB,MAAM,yDAAyD,CAAA;AAChE,OAAO,EACL,kBAAkB,EAGnB,MAAM,+CAA+C,CAAA;AACtD,OAAO,EAAE,eAAe,EAA0B,MAAM,8BAA8B,CAAA;AACtF,OAAO,EACL,yBAAyB,EAE1B,MAAM,sDAAsD,CAAA;AAC7D,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAA;AAWlF,OAAO,EACL,yCAAyC,EAE1C,MAAM,0DAA0D,CAAA;AACjE,OAAO,EAEL,kBAAkB,EAEnB,MAAM,gCAAgC,CAAA;AAEvC,OAAO,EAAE,+CAA+C,EAAE,MAAM,gGAAgG,CAAA;AAIhK,OAAO,EACL,4BAA4B,EAE7B,MAAM,4CAA4C,CAAA;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAA;AAEnF,OAAO,EACL,kCAAkC,EAEnC,MAAM,mDAAmD,CAAA;AAC1D,OAAO,EAAE,+BAA+B,EAAE,MAAM,+CAA+C,CAAA;AAC/F,OAAO,EACL,oBAAoB,EAErB,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EAAE,mBAAmB,EAA8B,MAAM,kCAAkC,CAAA;AAClG,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAC/C,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAA;AACpF,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAA;AACvF,OAAO,EAAE,eAAe,EAA0B,MAAM,6BAA6B,CAAA;AACrF,OAAO,EAAE,eAAe,EAA0B,MAAM,8BAA8B,CAAA;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAC3D,OAAO,EACL,yBAAyB,EAE1B,MAAM,yCAAyC,CAAA;AAGhD,OAAO,EAAE,8BAA8B,EAAE,MAAM,gBAAgB,CAAA;AAO/D,eAAO,MAAM,oBAAoB;;;;;;;;;;;;kCALA,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoF3D,CAAA;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;kCAtFW,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8CAA5B,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6S3D,CAAA;AAEF,KAAK,kBAAkB,GAAG,eAAe,CAAC,OAAO,SAAS,CAAC,CAAA;AAE3D,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,eAAe,CAAC;QACxB,UAAU,aAAc,SAAQ,kBAAkB;SAAG;KACtD;CACF"}
|