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