@planningcenter/chat-react-native 3.42.3-qa-staging.2 → 3.42.3-qa-staging.4
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/conversation/messages_disabled_banners.d.ts +2 -3
- package/build/components/conversation/messages_disabled_banners.d.ts.map +1 -1
- package/build/components/conversation/messages_disabled_banners.js +2 -7
- package/build/components/conversation/messages_disabled_banners.js.map +1 -1
- package/build/components/display/adult_requirement_notice.js +1 -1
- package/build/components/display/adult_requirement_notice.js.map +1 -1
- package/build/components/display/platform_modal_header_buttons.d.ts +47 -7
- package/build/components/display/platform_modal_header_buttons.d.ts.map +1 -1
- package/build/components/display/platform_modal_header_buttons.js +119 -9
- package/build/components/display/platform_modal_header_buttons.js.map +1 -1
- package/build/hooks/use_conversation.d.ts.map +1 -1
- package/build/hooks/use_conversation.js +1 -0
- package/build/hooks/use_conversation.js.map +1 -1
- package/build/hooks/use_conversation_jolt_events.d.ts.map +1 -1
- package/build/hooks/use_conversation_jolt_events.js +10 -2
- package/build/hooks/use_conversation_jolt_events.js.map +1 -1
- package/build/navigation/index.d.ts +67 -170
- package/build/navigation/index.d.ts.map +1 -1
- package/build/navigation/index.js +59 -70
- package/build/navigation/index.js.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_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_filters_screen.js +2 -2
- package/build/screens/conversation_filters_screen.js.map +1 -1
- package/build/screens/conversation_screen.d.ts.map +1 -1
- package/build/screens/conversation_screen.js +10 -3
- package/build/screens/conversation_screen.js.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/types/jolt_events/conversation_events.d.ts +2 -2
- package/build/types/jolt_events/conversation_events.d.ts.map +1 -1
- package/build/types/jolt_events/conversation_events.js.map +1 -1
- package/build/types/resources/conversation.d.ts +2 -2
- package/build/types/resources/conversation.d.ts.map +1 -1
- package/build/types/resources/conversation.js.map +1 -1
- package/build/utils/conversation_safety_constants.d.ts +1 -1
- package/build/utils/conversation_safety_constants.d.ts.map +1 -1
- package/build/utils/conversation_safety_constants.js +1 -1
- package/build/utils/conversation_safety_constants.js.map +1 -1
- package/build/utils/request/conversation.d.ts.map +1 -1
- package/build/utils/request/conversation.js +1 -0
- package/build/utils/request/conversation.js.map +1 -1
- package/package.json +3 -3
- package/src/components/conversation/messages_disabled_banners.tsx +3 -11
- package/src/components/display/adult_requirement_notice.tsx +1 -1
- package/src/components/display/platform_modal_header_buttons.tsx +254 -13
- package/src/hooks/use_conversation.ts +1 -0
- package/src/hooks/use_conversation_jolt_events.ts +16 -3
- package/src/navigation/index.tsx +147 -164
- 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 +2 -2
- package/src/screens/conversation_screen.tsx +11 -3
- package/src/screens/message_report_screen.tsx +20 -21
- package/src/screens/notification_settings_screen.tsx +1 -21
- package/src/types/jolt_events/conversation_events.ts +2 -2
- package/src/types/resources/conversation.ts +2 -3
- package/src/utils/conversation_safety_constants.ts +1 -1
- package/src/utils/request/conversation.ts +1 -0
|
@@ -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';
|
|
@@ -23,72 +23,47 @@ import { SendGiphyScreen } from '../screens/send_giphy_screen';
|
|
|
23
23
|
import { SettingsScreen } from '../screens/settings_screen';
|
|
24
24
|
import { SystemMessagePeopleScreen } from '../screens/system_message_people_screen';
|
|
25
25
|
import { ScreenLayoutWithChatAccessGate } from './screenLayout';
|
|
26
|
-
export declare const NewConversationStack: import("@react-navigation/core").TypedNavigator<{
|
|
27
|
-
ParamList: import("@react-navigation/routers").ParamListBase;
|
|
28
|
-
NavigatorID: undefined;
|
|
29
|
-
State: import("@react-navigation/routers").StackNavigationState<import("@react-navigation/routers").ParamListBase>;
|
|
30
|
-
ScreenOptions: import("@react-navigation/native-stack").NativeStackNavigationOptions;
|
|
31
|
-
EventMap: import("@react-navigation/native-stack").NativeStackNavigationEventMap;
|
|
32
|
-
NavigationList: {
|
|
33
|
-
[x: string]: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
|
|
34
|
-
};
|
|
35
|
-
Navigator: ({ id, initialRouteName, children, layout, screenListeners, screenOptions, screenLayout, UNSTABLE_getStateForRouteNamesChange, ...rest }: import("@react-navigation/native-stack").NativeStackNavigatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
36
|
-
}, {
|
|
26
|
+
export declare const NewConversationStack: import("@react-navigation/core").TypedNavigator<import("@react-navigation/native-stack").NativeStackTypeBag<import("@react-navigation/routers").ParamListBase, string | undefined>, {
|
|
37
27
|
readonly initialRouteName: "ConversationNewEntry";
|
|
38
|
-
readonly screenOptions:
|
|
39
|
-
readonly headerBackButtonDisplayMode: "minimal";
|
|
40
|
-
};
|
|
28
|
+
readonly screenOptions: () => NativeStackNavigationOptions;
|
|
41
29
|
readonly screenLayout: typeof ScreenLayoutWithChatAccessGate;
|
|
42
30
|
readonly screens: {
|
|
43
31
|
readonly ConversationNewEntry: {
|
|
44
32
|
readonly screen: ({ route }: import("../screens/conversation_select_recipients/types/screen_props").ConversationSelectRecipientsScreenProps) => import("react/jsx-runtime").JSX.Element;
|
|
45
33
|
readonly options: ({ navigation }: {
|
|
46
34
|
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>;
|
|
35
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
48
36
|
theme: ReactNavigation.Theme;
|
|
49
|
-
}) =>
|
|
50
|
-
title: string;
|
|
51
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
52
|
-
headerBackVisible: false;
|
|
53
|
-
};
|
|
37
|
+
}) => NativeStackNavigationOptions;
|
|
54
38
|
};
|
|
55
39
|
readonly ConversationSelectGroupRecipients: {
|
|
56
40
|
readonly screen: ({ route, }: import("../screens/conversation_select_recipients/types/screen_props").ConversationSelectRecipientsScreenProps) => import("react/jsx-runtime").JSX.Element;
|
|
57
41
|
readonly options: ({ navigation, route }: {
|
|
58
42
|
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>;
|
|
43
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
60
44
|
theme: ReactNavigation.Theme;
|
|
61
|
-
}) =>
|
|
62
|
-
title: string;
|
|
63
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
64
|
-
};
|
|
45
|
+
}) => NativeStackNavigationOptions;
|
|
65
46
|
};
|
|
66
47
|
readonly ConversationSelectTeamsILeadRecipients: {
|
|
67
48
|
readonly screen: ({ route, }: import("../screens/conversation_select_recipients/types/screen_props").ConversationSelectRecipientsScreenProps) => import("react/jsx-runtime").JSX.Element;
|
|
68
49
|
readonly options: ({ navigation, route }: {
|
|
69
50
|
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>;
|
|
51
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
71
52
|
theme: ReactNavigation.Theme;
|
|
72
|
-
}) =>
|
|
73
|
-
title: string;
|
|
74
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
75
|
-
};
|
|
53
|
+
}) => NativeStackNavigationOptions;
|
|
76
54
|
};
|
|
77
55
|
readonly ConversationSelectDirectMessageRecipients: {
|
|
78
56
|
readonly screen: typeof ConversationSelectDirectMessageRecipientsScreen;
|
|
79
57
|
readonly if: () => boolean;
|
|
80
58
|
readonly options: ({ navigation, route }: {
|
|
81
59
|
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>;
|
|
60
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
83
61
|
theme: ReactNavigation.Theme;
|
|
84
|
-
}) =>
|
|
85
|
-
title: string;
|
|
86
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
87
|
-
};
|
|
62
|
+
}) => NativeStackNavigationOptions;
|
|
88
63
|
};
|
|
89
64
|
readonly ConversationFilterRecipients: {
|
|
90
65
|
readonly screen: ({ route, }: import("../screens/conversation_filter_recipients/types").ConversationFilterRecipientsScreenProps) => import("react/jsx-runtime").JSX.Element;
|
|
91
|
-
readonly options:
|
|
66
|
+
readonly options: NativeStackNavigationOptions;
|
|
92
67
|
};
|
|
93
68
|
readonly ConversationNew: {
|
|
94
69
|
readonly screen: ({ route }: {
|
|
@@ -107,74 +82,47 @@ export declare const NewConversationStack: import("@react-navigation/core").Type
|
|
|
107
82
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
108
83
|
readonly options: ({ navigation, route }: {
|
|
109
84
|
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>;
|
|
85
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
111
86
|
theme: ReactNavigation.Theme;
|
|
112
|
-
}) =>
|
|
113
|
-
title: string;
|
|
114
|
-
headerLeft: () => null;
|
|
115
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
116
|
-
};
|
|
87
|
+
}) => NativeStackNavigationOptions;
|
|
117
88
|
};
|
|
118
89
|
readonly AvatarPicker: {
|
|
119
90
|
readonly screen: typeof AvatarPickerScreen;
|
|
120
|
-
readonly options:
|
|
91
|
+
readonly options: NativeStackNavigationOptions;
|
|
121
92
|
};
|
|
122
93
|
};
|
|
123
94
|
}>;
|
|
124
|
-
export declare const ChatStack: import("@react-navigation/core").TypedNavigator<{
|
|
125
|
-
|
|
126
|
-
NavigatorID: undefined;
|
|
127
|
-
State: import("@react-navigation/routers").StackNavigationState<import("@react-navigation/routers").ParamListBase>;
|
|
128
|
-
ScreenOptions: import("@react-navigation/native-stack").NativeStackNavigationOptions;
|
|
129
|
-
EventMap: import("@react-navigation/native-stack").NativeStackNavigationEventMap;
|
|
130
|
-
NavigationList: {
|
|
131
|
-
[x: string]: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
|
|
132
|
-
};
|
|
133
|
-
Navigator: ({ id, initialRouteName, children, layout, screenListeners, screenOptions, screenLayout, UNSTABLE_getStateForRouteNamesChange, ...rest }: import("@react-navigation/native-stack").NativeStackNavigatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
134
|
-
}, {
|
|
135
|
-
readonly screenOptions: {
|
|
136
|
-
readonly headerBackButtonDisplayMode: "minimal";
|
|
137
|
-
};
|
|
95
|
+
export declare const ChatStack: import("@react-navigation/core").TypedNavigator<import("@react-navigation/native-stack").NativeStackTypeBag<import("@react-navigation/routers").ParamListBase, string | undefined>, {
|
|
96
|
+
readonly screenOptions: () => NativeStackNavigationOptions;
|
|
138
97
|
readonly screenLayout: typeof ScreenLayoutWithChatAccessGate;
|
|
139
98
|
readonly screens: {
|
|
140
99
|
readonly Conversations: {
|
|
141
100
|
readonly screen: typeof ConversationsScreen;
|
|
142
101
|
readonly options: ({ route, navigation }: {
|
|
143
102
|
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>;
|
|
103
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
145
104
|
theme: ReactNavigation.Theme;
|
|
146
|
-
}) =>
|
|
147
|
-
headerTitle: string;
|
|
148
|
-
headerBackVisible: false;
|
|
149
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
150
|
-
};
|
|
105
|
+
}) => NativeStackNavigationOptions;
|
|
151
106
|
};
|
|
152
107
|
readonly ConversationFilters: {
|
|
153
108
|
readonly screen: (_props: import("..").ConversationFiltersScreenProps) => import("react/jsx-runtime").JSX.Element;
|
|
154
|
-
readonly options:
|
|
109
|
+
readonly options: NativeStackNavigationOptions;
|
|
155
110
|
};
|
|
156
111
|
readonly Conversation: {
|
|
157
112
|
readonly screen: typeof ConversationScreen;
|
|
158
113
|
readonly options: ({ route, navigation }: {
|
|
159
114
|
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>;
|
|
115
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
161
116
|
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
|
-
};
|
|
117
|
+
}) => NativeStackNavigationOptions;
|
|
167
118
|
};
|
|
168
119
|
readonly ConversationReply: {
|
|
169
120
|
readonly screen: typeof ConversationScreen;
|
|
170
121
|
readonly options: ({ route, navigation }: {
|
|
171
122
|
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>;
|
|
123
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
173
124
|
theme: ReactNavigation.Theme;
|
|
174
|
-
}) =>
|
|
175
|
-
title: string;
|
|
176
|
-
headerLeft: (props: import("@react-navigation/native-stack").NativeStackHeaderLeftProps) => import("react/jsx-runtime").JSX.Element;
|
|
177
|
-
};
|
|
125
|
+
}) => NativeStackNavigationOptions;
|
|
178
126
|
};
|
|
179
127
|
readonly TeamConversation: {
|
|
180
128
|
readonly screen: ({ route }: import("..").TeamConversationScreenProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -189,134 +137,96 @@ export declare const ChatStack: import("@react-navigation/core").TypedNavigator<
|
|
|
189
137
|
readonly screen: typeof ConversationDetailsScreen;
|
|
190
138
|
readonly options: ({ navigation }: {
|
|
191
139
|
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>;
|
|
140
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
193
141
|
theme: ReactNavigation.Theme;
|
|
194
|
-
}) =>
|
|
195
|
-
presentation: "modal";
|
|
196
|
-
title: string;
|
|
197
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
198
|
-
};
|
|
142
|
+
}) => NativeStackNavigationOptions;
|
|
199
143
|
};
|
|
200
144
|
readonly AvatarPicker: {
|
|
201
145
|
readonly screen: typeof AvatarPickerScreen;
|
|
202
|
-
readonly options:
|
|
146
|
+
readonly options: NativeStackNavigationOptions;
|
|
203
147
|
};
|
|
204
148
|
readonly ChatSettings: {
|
|
205
149
|
readonly screen: typeof SettingsScreen;
|
|
206
150
|
readonly options: ({ navigation }: {
|
|
207
151
|
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>;
|
|
152
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
209
153
|
theme: ReactNavigation.Theme;
|
|
210
|
-
}) =>
|
|
211
|
-
title: string;
|
|
212
|
-
headerBackVisible: false;
|
|
213
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
214
|
-
};
|
|
154
|
+
}) => NativeStackNavigationOptions;
|
|
215
155
|
};
|
|
216
156
|
readonly NotificationSettings: {
|
|
217
157
|
readonly screen: typeof NotificationSettingsScreen;
|
|
218
158
|
readonly options: ({ navigation }: {
|
|
219
159
|
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>;
|
|
160
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
221
161
|
theme: ReactNavigation.Theme;
|
|
222
|
-
}) =>
|
|
223
|
-
title: string;
|
|
224
|
-
headerBackVisible: false;
|
|
225
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
226
|
-
};
|
|
162
|
+
}) => NativeStackNavigationOptions;
|
|
227
163
|
};
|
|
228
164
|
readonly PreferredAppSelection: {
|
|
229
165
|
readonly screen: typeof PreferredAppSelectionScreen;
|
|
230
|
-
readonly options: {
|
|
231
|
-
|
|
232
|
-
|
|
166
|
+
readonly options: ({ navigation }: {
|
|
167
|
+
route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
|
|
168
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
169
|
+
theme: ReactNavigation.Theme;
|
|
170
|
+
}) => NativeStackNavigationOptions;
|
|
233
171
|
};
|
|
234
172
|
readonly GroupNotificationSettings: {
|
|
235
173
|
readonly screen: typeof GroupNotificationSettingsScreen;
|
|
236
174
|
readonly options: ({ route, navigation }: {
|
|
237
175
|
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>;
|
|
176
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
239
177
|
theme: ReactNavigation.Theme;
|
|
240
|
-
}) =>
|
|
241
|
-
title: string;
|
|
242
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
243
|
-
};
|
|
178
|
+
}) => NativeStackNavigationOptions;
|
|
244
179
|
};
|
|
245
180
|
readonly GroupNotificationLevelSelect: {
|
|
246
181
|
readonly screen: typeof GroupNotificationLevelSelectScreen;
|
|
247
|
-
readonly options:
|
|
182
|
+
readonly options: NativeStackNavigationOptions;
|
|
248
183
|
};
|
|
249
184
|
readonly ConversationNotificationLevelSelect: {
|
|
250
185
|
readonly screen: typeof ConversationNotificationLevelSelectScreen;
|
|
251
|
-
readonly options:
|
|
186
|
+
readonly options: NativeStackNavigationOptions;
|
|
252
187
|
};
|
|
253
188
|
readonly New: {
|
|
254
|
-
readonly screen: import("@react-navigation/core").TypedNavigator<{
|
|
255
|
-
ParamList: import("@react-navigation/routers").ParamListBase;
|
|
256
|
-
NavigatorID: undefined;
|
|
257
|
-
State: import("@react-navigation/routers").StackNavigationState<import("@react-navigation/routers").ParamListBase>;
|
|
258
|
-
ScreenOptions: import("@react-navigation/native-stack").NativeStackNavigationOptions;
|
|
259
|
-
EventMap: import("@react-navigation/native-stack").NativeStackNavigationEventMap;
|
|
260
|
-
NavigationList: {
|
|
261
|
-
[x: string]: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
|
|
262
|
-
};
|
|
263
|
-
Navigator: ({ id, initialRouteName, children, layout, screenListeners, screenOptions, screenLayout, UNSTABLE_getStateForRouteNamesChange, ...rest }: import("@react-navigation/native-stack").NativeStackNavigatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
264
|
-
}, {
|
|
189
|
+
readonly screen: import("@react-navigation/core").TypedNavigator<import("@react-navigation/native-stack").NativeStackTypeBag<import("@react-navigation/routers").ParamListBase, string | undefined>, {
|
|
265
190
|
readonly initialRouteName: "ConversationNewEntry";
|
|
266
|
-
readonly screenOptions:
|
|
267
|
-
readonly headerBackButtonDisplayMode: "minimal";
|
|
268
|
-
};
|
|
191
|
+
readonly screenOptions: () => NativeStackNavigationOptions;
|
|
269
192
|
readonly screenLayout: typeof ScreenLayoutWithChatAccessGate;
|
|
270
193
|
readonly screens: {
|
|
271
194
|
readonly ConversationNewEntry: {
|
|
272
195
|
readonly screen: ({ route }: import("../screens/conversation_select_recipients/types/screen_props").ConversationSelectRecipientsScreenProps) => import("react/jsx-runtime").JSX.Element;
|
|
273
196
|
readonly options: ({ navigation }: {
|
|
274
197
|
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>;
|
|
198
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
276
199
|
theme: ReactNavigation.Theme;
|
|
277
|
-
}) =>
|
|
278
|
-
title: string;
|
|
279
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
280
|
-
headerBackVisible: false;
|
|
281
|
-
};
|
|
200
|
+
}) => NativeStackNavigationOptions;
|
|
282
201
|
};
|
|
283
202
|
readonly ConversationSelectGroupRecipients: {
|
|
284
203
|
readonly screen: ({ route, }: import("../screens/conversation_select_recipients/types/screen_props").ConversationSelectRecipientsScreenProps) => import("react/jsx-runtime").JSX.Element;
|
|
285
204
|
readonly options: ({ navigation, route }: {
|
|
286
205
|
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>;
|
|
206
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
288
207
|
theme: ReactNavigation.Theme;
|
|
289
|
-
}) =>
|
|
290
|
-
title: string;
|
|
291
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
292
|
-
};
|
|
208
|
+
}) => NativeStackNavigationOptions;
|
|
293
209
|
};
|
|
294
210
|
readonly ConversationSelectTeamsILeadRecipients: {
|
|
295
211
|
readonly screen: ({ route, }: import("../screens/conversation_select_recipients/types/screen_props").ConversationSelectRecipientsScreenProps) => import("react/jsx-runtime").JSX.Element;
|
|
296
212
|
readonly options: ({ navigation, route }: {
|
|
297
213
|
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>;
|
|
214
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
299
215
|
theme: ReactNavigation.Theme;
|
|
300
|
-
}) =>
|
|
301
|
-
title: string;
|
|
302
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
303
|
-
};
|
|
216
|
+
}) => NativeStackNavigationOptions;
|
|
304
217
|
};
|
|
305
218
|
readonly ConversationSelectDirectMessageRecipients: {
|
|
306
219
|
readonly screen: typeof ConversationSelectDirectMessageRecipientsScreen;
|
|
307
220
|
readonly if: () => boolean;
|
|
308
221
|
readonly options: ({ navigation, route }: {
|
|
309
222
|
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>;
|
|
223
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
311
224
|
theme: ReactNavigation.Theme;
|
|
312
|
-
}) =>
|
|
313
|
-
title: string;
|
|
314
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
315
|
-
};
|
|
225
|
+
}) => NativeStackNavigationOptions;
|
|
316
226
|
};
|
|
317
227
|
readonly ConversationFilterRecipients: {
|
|
318
228
|
readonly screen: ({ route, }: import("../screens/conversation_filter_recipients/types").ConversationFilterRecipientsScreenProps) => import("react/jsx-runtime").JSX.Element;
|
|
319
|
-
readonly options:
|
|
229
|
+
readonly options: NativeStackNavigationOptions;
|
|
320
230
|
};
|
|
321
231
|
readonly ConversationNew: {
|
|
322
232
|
readonly screen: ({ route }: {
|
|
@@ -335,17 +245,13 @@ export declare const ChatStack: import("@react-navigation/core").TypedNavigator<
|
|
|
335
245
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
336
246
|
readonly options: ({ navigation, route }: {
|
|
337
247
|
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>;
|
|
248
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
339
249
|
theme: ReactNavigation.Theme;
|
|
340
|
-
}) =>
|
|
341
|
-
title: string;
|
|
342
|
-
headerLeft: () => null;
|
|
343
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
344
|
-
};
|
|
250
|
+
}) => NativeStackNavigationOptions;
|
|
345
251
|
};
|
|
346
252
|
readonly AvatarPicker: {
|
|
347
253
|
readonly screen: typeof AvatarPickerScreen;
|
|
348
|
-
readonly options:
|
|
254
|
+
readonly options: NativeStackNavigationOptions;
|
|
349
255
|
};
|
|
350
256
|
};
|
|
351
257
|
}>;
|
|
@@ -373,49 +279,45 @@ export declare const ChatStack: import("@react-navigation/core").TypedNavigator<
|
|
|
373
279
|
readonly if: () => boolean;
|
|
374
280
|
readonly options: ({ navigation }: {
|
|
375
281
|
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>;
|
|
282
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
377
283
|
theme: ReactNavigation.Theme;
|
|
378
|
-
}) =>
|
|
379
|
-
title: string;
|
|
380
|
-
headerLeft: () => null;
|
|
381
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
382
|
-
};
|
|
284
|
+
}) => NativeStackNavigationOptions;
|
|
383
285
|
};
|
|
384
286
|
readonly SendGiphy: {
|
|
385
287
|
readonly screen: typeof SendGiphyScreen;
|
|
386
|
-
readonly options:
|
|
288
|
+
readonly options: NativeStackNavigationOptions;
|
|
387
289
|
};
|
|
388
290
|
readonly MessageActions: {
|
|
389
291
|
readonly screen: typeof MessageActionsScreen;
|
|
390
|
-
readonly options:
|
|
292
|
+
readonly options: NativeStackNavigationOptions;
|
|
391
293
|
};
|
|
392
294
|
readonly MessageReport: {
|
|
393
295
|
readonly screen: typeof MessageReportScreen;
|
|
394
|
-
readonly options: ({ navigation, route, }: import("@react-navigation/native-stack").NativeStackScreenProps<any>) =>
|
|
296
|
+
readonly options: ({ navigation, route, }: import("@react-navigation/native-stack").NativeStackScreenProps<any>) => NativeStackNavigationOptions;
|
|
395
297
|
};
|
|
396
298
|
readonly AttachmentActions: {
|
|
397
299
|
readonly screen: typeof AttachmentActionsScreen;
|
|
398
|
-
readonly options:
|
|
300
|
+
readonly options: NativeStackNavigationOptions;
|
|
399
301
|
};
|
|
400
302
|
readonly ConversationSelectType: {
|
|
401
303
|
readonly screen: typeof ConversationSelectTypeScreen;
|
|
402
|
-
readonly options:
|
|
304
|
+
readonly options: NativeStackNavigationOptions;
|
|
403
305
|
};
|
|
404
306
|
readonly Reactions: {
|
|
405
307
|
readonly screen: typeof ReactionsScreen;
|
|
406
|
-
readonly options:
|
|
308
|
+
readonly options: NativeStackNavigationOptions;
|
|
407
309
|
};
|
|
408
310
|
readonly SystemMessagePeople: {
|
|
409
311
|
readonly screen: typeof SystemMessagePeopleScreen;
|
|
410
|
-
readonly options:
|
|
312
|
+
readonly options: NativeStackNavigationOptions;
|
|
411
313
|
};
|
|
412
314
|
readonly MessageReadReceipts: {
|
|
413
315
|
readonly screen: typeof MessageReadReceiptsScreen;
|
|
414
|
-
readonly options:
|
|
316
|
+
readonly options: NativeStackNavigationOptions;
|
|
415
317
|
};
|
|
416
318
|
readonly BugReport: {
|
|
417
319
|
readonly screen: typeof BugReportScreen;
|
|
418
|
-
readonly options: ({ navigation, }: import("@react-navigation/native-stack").NativeStackScreenProps<any>) =>
|
|
320
|
+
readonly options: ({ navigation, }: import("@react-navigation/native-stack").NativeStackScreenProps<any>) => NativeStackNavigationOptions;
|
|
419
321
|
};
|
|
420
322
|
readonly GetHelp: {
|
|
421
323
|
readonly screen: ({ route }: {
|
|
@@ -427,14 +329,9 @@ export declare const ChatStack: import("@react-navigation/core").TypedNavigator<
|
|
|
427
329
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
428
330
|
readonly options: ({ navigation }: {
|
|
429
331
|
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>;
|
|
332
|
+
navigation: import("@react-navigation/native-stack").NativeStackNavigationProp<import("@react-navigation/routers").ParamListBase, string, string | undefined>;
|
|
431
333
|
theme: ReactNavigation.Theme;
|
|
432
|
-
}) =>
|
|
433
|
-
headerTitle: string;
|
|
434
|
-
headerBackVisible: false;
|
|
435
|
-
presentation: "modal";
|
|
436
|
-
headerRight: (props: NativeStackHeaderRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
437
|
-
};
|
|
334
|
+
}) => NativeStackNavigationOptions;
|
|
438
335
|
};
|
|
439
336
|
readonly NotFound: {
|
|
440
337
|
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;AAUhE,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"}
|