@messenger-box/slack-ui-mobile 10.0.2-alpha.5 → 10.0.3-alpha.5
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/lib/components/AppRootContextProviderComponent.js +2 -5
- package/lib/components/AppRootContextProviderComponent.js.map +1 -1
- package/lib/components/Channels/ChannelsByAlphabeticalAccordion.js +16 -81
- package/lib/components/Channels/ChannelsByAlphabeticalAccordion.js.map +1 -1
- package/lib/components/CustomBottomTabs/CustomBottomTabs.js +60 -75
- package/lib/components/CustomBottomTabs/CustomBottomTabs.js.map +1 -1
- package/lib/components/CustomDrawer/CustomDrawer.js +78 -185
- package/lib/components/CustomDrawer/CustomDrawer.js.map +1 -1
- package/lib/components/Header/Header.js +1 -8
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/styles.js +14 -14
- package/lib/components/Header/styles.js.map +1 -1
- package/lib/components/LoadingSpinner/index.js +6 -29
- package/lib/components/LoadingSpinner/index.js.map +1 -1
- package/lib/components/NavigationHeader/InboxNavigationHeader.js +84 -176
- package/lib/components/NavigationHeader/InboxNavigationHeader.js.map +1 -1
- package/lib/components/NavigationHeader/NavigationHeader.js +154 -276
- package/lib/components/NavigationHeader/NavigationHeader.js.map +1 -1
- package/lib/components/NavigationHeader/NavigationHeaderChat.js +25 -66
- package/lib/components/NavigationHeader/NavigationHeaderChat.js.map +1 -1
- package/lib/components/NavigationHeader/index.js +1 -1
- package/lib/components/SlackSearchInput/Suggestion.js +40 -14
- package/lib/components/SlackSearchInput/Suggestion.js.map +1 -1
- package/lib/components/SlackSearchInput/Tag.js +43 -17
- package/lib/components/SlackSearchInput/Tag.js.map +1 -1
- package/lib/components/SlackSearchInput/index.js +57 -114
- package/lib/components/SlackSearchInput/index.js.map +1 -1
- package/lib/components/Tiles/Tiles.js +1 -8
- package/lib/components/Tiles/Tiles.js.map +1 -1
- package/lib/components/Tiles/styles.js +14 -14
- package/lib/components/Tiles/styles.js.map +1 -1
- package/lib/components/VirtualizedScrollView/VirtualizedScrollView.js +27 -17
- package/lib/components/VirtualizedScrollView/VirtualizedScrollView.js.map +1 -1
- package/lib/components/WorkSpaceDrawer/WorkSpaceDrawer.js +86 -193
- package/lib/components/WorkSpaceDrawer/WorkSpaceDrawer.js.map +1 -1
- package/lib/compute.js +222 -234
- package/lib/compute.js.map +1 -1
- package/lib/config/env-config.js +14 -12
- package/lib/config/env-config.js.map +1 -1
- package/lib/constants/Colors.js +52 -56
- package/lib/constants/Colors.js.map +1 -1
- package/lib/constants/Layout.js +2 -2
- package/lib/constants/Layout.js.map +1 -1
- package/lib/constants/device.js +4 -12
- package/lib/constants/device.js.map +1 -1
- package/lib/constants/fonts.js +5 -5
- package/lib/constants/fonts.js.map +1 -1
- package/lib/constants/globalStyles.js +13 -13
- package/lib/constants/globalStyles.js.map +1 -1
- package/lib/constants/preloadImages.js +11 -22
- package/lib/constants/preloadImages.js.map +1 -1
- package/lib/constants/routes.js +37 -43
- package/lib/constants/routes.js.map +1 -1
- package/lib/hooks/useCachedResources.js +32 -18
- package/lib/hooks/useCachedResources.js.map +1 -1
- package/lib/hooks/useColorScheme.js +1 -4
- package/lib/hooks/useColorScheme.js.map +1 -1
- package/lib/hooks/useDisclose.js.map +1 -1
- package/lib/hooks/useDrawerLayout.js +33 -104
- package/lib/hooks/useDrawerLayout.js.map +1 -1
- package/lib/hooks/useExpoNotificationProvider.js +35 -41
- package/lib/hooks/useExpoNotificationProvider.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/locales/index.js +4 -4
- package/lib/locales/index.js.map +1 -1
- package/lib/module.js +1 -4
- package/lib/module.js.map +1 -1
- package/lib/navigation/ActivityNavigator.js +31 -25
- package/lib/navigation/ActivityNavigator.js.map +1 -1
- package/lib/navigation/ExploreNavigator.js +199 -440
- package/lib/navigation/ExploreNavigator.js.map +1 -1
- package/lib/navigation/InboxNavigator.js +69 -128
- package/lib/navigation/InboxNavigator.js.map +1 -1
- package/lib/navigation/SearchTabNavigation.js +60 -138
- package/lib/navigation/SearchTabNavigation.js.map +1 -1
- package/lib/navigation/TeamTabNavigation.js +52 -41
- package/lib/navigation/TeamTabNavigation.js.map +1 -1
- package/lib/screens/Account/AccountScreen.js +51 -239
- package/lib/screens/Account/AccountScreen.js.map +1 -1
- package/lib/screens/Activity/ActivityScreen.js +1 -9
- package/lib/screens/Activity/ActivityScreen.js.map +1 -1
- package/lib/screens/Channels/Add/AddName.js +25 -115
- package/lib/screens/Channels/Add/AddName.js.map +1 -1
- package/lib/screens/Channels/Add/AddVisibility.js +43 -111
- package/lib/screens/Channels/Add/AddVisibility.js.map +1 -1
- package/lib/screens/Channels/AddChannel.js +25 -100
- package/lib/screens/Channels/AddChannel.js.map +1 -1
- package/lib/screens/Channels/Channels.js +65 -190
- package/lib/screens/Channels/Channels.js.map +1 -1
- package/lib/screens/Files/FilesScreen.js +1 -12
- package/lib/screens/Files/FilesScreen.js.map +1 -1
- package/lib/screens/Home/Components/Channels/Channels.js +53 -190
- package/lib/screens/Home/Components/Channels/Channels.js.map +1 -1
- package/lib/screens/Home/Components/DirectChannels/DirectChannels.js +99 -285
- package/lib/screens/Home/Components/DirectChannels/DirectChannels.js.map +1 -1
- package/lib/screens/Home/Components/Teams/Teams.js +34 -122
- package/lib/screens/Home/Components/Teams/Teams.js.map +1 -1
- package/lib/screens/Home/Components/TopCommonSlider/TopCommonSlider.js +36 -59
- package/lib/screens/Home/Components/TopCommonSlider/TopCommonSlider.js.map +1 -1
- package/lib/screens/Home/HomeScreen.js +113 -242
- package/lib/screens/Home/HomeScreen.js.map +1 -1
- package/lib/screens/Home/styles.js +27 -27
- package/lib/screens/Home/styles.js.map +1 -1
- package/lib/screens/Inbox/InboxChannelDetail.js +124 -430
- package/lib/screens/Inbox/InboxChannelDetail.js.map +1 -1
- package/lib/screens/Inbox/InboxDialogMessages.js +21 -4
- package/lib/screens/Inbox/InboxDialogMessages.js.map +1 -1
- package/lib/screens/Inbox/InboxScreen.js +27 -11
- package/lib/screens/Inbox/InboxScreen.js.map +1 -1
- package/lib/screens/Inbox/InboxThreadMessages.js +21 -7
- package/lib/screens/Inbox/InboxThreadMessages.js.map +1 -1
- package/lib/screens/Inbox/InboxThreads.js +21 -6
- package/lib/screens/Inbox/InboxThreads.js.map +1 -1
- package/lib/screens/Login.js +7 -63
- package/lib/screens/Login.js.map +1 -1
- package/lib/screens/Notification/NotificationsScreen.js +3 -5
- package/lib/screens/Notification/NotificationsScreen.js.map +1 -1
- package/lib/screens/Organization/AddWorkspace.js +52 -180
- package/lib/screens/Organization/AddWorkspace.js.map +1 -1
- package/lib/screens/Organization/CreateOrganization.js +20 -80
- package/lib/screens/Organization/CreateOrganization.js.map +1 -1
- package/lib/screens/Organization/InitialChannelOnboarding.js +26 -148
- package/lib/screens/Organization/InitialChannelOnboarding.js.map +1 -1
- package/lib/screens/Organization/InitializeOrganizationChannel.js +23 -76
- package/lib/screens/Organization/InitializeOrganizationChannel.js.map +1 -1
- package/lib/screens/Organization/InviteOrganizationMembers.js +15 -98
- package/lib/screens/Organization/InviteOrganizationMembers.js.map +1 -1
- package/lib/screens/Peoples/AddByEmail.js +33 -130
- package/lib/screens/Peoples/AddByEmail.js.map +1 -1
- package/lib/screens/Peoples/AddFromContacts.js +79 -155
- package/lib/screens/Peoples/AddFromContacts.js.map +1 -1
- package/lib/screens/Peoples/AddPeople.js +127 -236
- package/lib/screens/Peoples/AddPeople.js.map +1 -1
- package/lib/screens/Peoples/People.js +9 -13
- package/lib/screens/Peoples/People.js.map +1 -1
- package/lib/screens/Profile/ProfileScreen.js +25 -83
- package/lib/screens/Profile/ProfileScreen.js.map +1 -1
- package/lib/screens/Saved/SavedScreen.js +1 -9
- package/lib/screens/Saved/SavedScreen.js.map +1 -1
- package/lib/screens/Search/Channels.js +52 -123
- package/lib/screens/Search/Channels.js.map +1 -1
- package/lib/screens/Search/Files.js +5 -24
- package/lib/screens/Search/Files.js.map +1 -1
- package/lib/screens/Search/JumpTo.js +44 -127
- package/lib/screens/Search/JumpTo.js.map +1 -1
- package/lib/screens/Search/People.js +52 -123
- package/lib/screens/Search/People.js.map +1 -1
- package/lib/screens/Search/Recents.js +52 -123
- package/lib/screens/Search/Recents.js.map +1 -1
- package/lib/screens/Search/SearchAddChannel.js +224 -427
- package/lib/screens/Search/SearchAddChannel.js.map +1 -1
- package/lib/screens/Search/SearchChannelPeople.js +86 -230
- package/lib/screens/Search/SearchChannelPeople.js.map +1 -1
- package/lib/screens/Search/SearchScreen.js +39 -41
- package/lib/screens/Search/SearchScreen.js.map +1 -1
- package/lib/screens/Search/styles.js +26 -26
- package/lib/screens/Search/styles.js.map +1 -1
- package/lib/screens/Teams/AddTeam.js +26 -103
- package/lib/screens/Teams/AddTeam.js.map +1 -1
- package/lib/screens/Teams/Components/Channels/Channels.js +54 -88
- package/lib/screens/Teams/Components/Channels/Channels.js.map +1 -1
- package/lib/screens/Teams/Components/Members/Members.js +24 -81
- package/lib/screens/Teams/Components/Members/Members.js.map +1 -1
- package/lib/screens/Teams/Team.js +48 -47
- package/lib/screens/Teams/Team.js.map +1 -1
- package/lib/screens/Teams/Teams.js +59 -140
- package/lib/screens/Teams/Teams.js.map +1 -1
- package/lib/screens/Wiki/WikiScreen.js +1 -12
- package/lib/screens/Wiki/WikiScreen.js.map +1 -1
- package/lib/theme/index.js +0 -2
- package/lib/theme/index.js.map +1 -1
- package/package.json +3 -3
- package/lib/components/AddMemberToChannel/AddMemberToChannel.d.ts +0 -3
- package/lib/components/AddMemberToChannel/index.d.ts +0 -2
- package/lib/components/AppRootContextProviderComponent.d.ts +0 -6
- package/lib/components/CachedImage/consts.d.ts +0 -2
- package/lib/components/CachedImage/index.d.ts +0 -8
- package/lib/components/Channels/ChannelsByAlphabeticalAccordion.d.ts +0 -8
- package/lib/components/Channels/index.d.ts +0 -2
- package/lib/components/CustomBottomTabs/CustomBottomTabs.d.ts +0 -3
- package/lib/components/CustomBottomTabs/index.d.ts +0 -2
- package/lib/components/CustomDrawer/CustomDrawer.d.ts +0 -3
- package/lib/components/CustomDrawer/index.d.ts +0 -2
- package/lib/components/Header/Header.d.ts +0 -8
- package/lib/components/Header/index.d.ts +0 -2
- package/lib/components/Header/styles.d.ts +0 -43
- package/lib/components/LoadingSpinner/index.d.ts +0 -7
- package/lib/components/NavigationComponent/NavigationComponent.d.ts +0 -8
- package/lib/components/NavigationComponent/index.d.ts +0 -1
- package/lib/components/NavigationHeader/InboxNavigationHeader.d.ts +0 -3
- package/lib/components/NavigationHeader/NavigationHeader.d.ts +0 -5
- package/lib/components/NavigationHeader/NavigationHeaderChat.d.ts +0 -3
- package/lib/components/NavigationHeader/index.d.ts +0 -5
- package/lib/components/RootNavigation.d.ts +0 -3
- package/lib/components/Search/AddByEmail.d.ts +0 -3
- package/lib/components/Search/AddChannel.d.ts +0 -3
- package/lib/components/Search/AddFromContacts.d.ts +0 -3
- package/lib/components/Search/AddPeople.d.ts +0 -3
- package/lib/components/Search/AddTeam.d.ts +0 -3
- package/lib/components/Search/Channels.d.ts +0 -3
- package/lib/components/Search/People.d.ts +0 -5
- package/lib/components/SlackSearchInput/Suggestion.d.ts +0 -8
- package/lib/components/SlackSearchInput/Tag.d.ts +0 -8
- package/lib/components/SlackSearchInput/index.d.ts +0 -61
- package/lib/components/Tiles/Tiles.d.ts +0 -7
- package/lib/components/Tiles/index.d.ts +0 -2
- package/lib/components/Tiles/styles.d.ts +0 -40
- package/lib/components/VirtualizedScrollView/VirtualizedScrollView.d.ts +0 -3
- package/lib/components/VirtualizedScrollView/index.d.ts +0 -2
- package/lib/components/WorkSpaceDrawer/WorkSpaceDrawer.d.ts +0 -3
- package/lib/components/WorkSpaceDrawer/index.d.ts +0 -2
- package/lib/components/index.d.ts +0 -11
- package/lib/compute.d.ts +0 -5
- package/lib/config/env-config.d.ts +0 -5
- package/lib/config/index.d.ts +0 -1
- package/lib/constants/Colors.d.ts +0 -61
- package/lib/constants/Layout.d.ts +0 -8
- package/lib/constants/device.d.ts +0 -10
- package/lib/constants/fonts.d.ts +0 -8
- package/lib/constants/globalStyles.d.ts +0 -202
- package/lib/constants/index.d.ts +0 -8
- package/lib/constants/preloadImages.d.ts +0 -14
- package/lib/constants/routes.d.ts +0 -36
- package/lib/hooks/index.d.ts +0 -6
- package/lib/hooks/useCachedResources.d.ts +0 -1
- package/lib/hooks/useColorScheme.d.ts +0 -2
- package/lib/hooks/useColorScheme.web.d.ts +0 -1
- package/lib/hooks/useDisclose.d.ts +0 -5
- package/lib/hooks/useDrawerLayout.d.ts +0 -18
- package/lib/hooks/useExpoNotificationProvider.d.ts +0 -7
- package/lib/hooks/useIsAuthenticated.d.ts +0 -2
- package/lib/index.d.ts +0 -10
- package/lib/locales/en/index.d.ts +0 -3
- package/lib/locales/fr/index.d.ts +0 -2
- package/lib/locales/index.d.ts +0 -1
- package/lib/module.d.ts +0 -3
- package/lib/navigation/AccountNavigator.d.ts +0 -2
- package/lib/navigation/ActivityNavigator.d.ts +0 -2
- package/lib/navigation/ExploreNavigator.d.ts +0 -2
- package/lib/navigation/InboxNavigator.d.ts +0 -2
- package/lib/navigation/InboxTabNavigation.d.ts +0 -3
- package/lib/navigation/MentionsNavigator.d.ts +0 -2
- package/lib/navigation/SearchNavigator.d.ts +0 -2
- package/lib/navigation/SearchTabNavigation.d.ts +0 -3
- package/lib/navigation/TeamTabNavigation.d.ts +0 -3
- package/lib/navigation/index.d.ts +0 -3
- package/lib/screens/Account/AccountScreen.d.ts +0 -3
- package/lib/screens/Account/index.d.ts +0 -2
- package/lib/screens/Activity/ActivityScreen.d.ts +0 -7
- package/lib/screens/Activity/index.d.ts +0 -2
- package/lib/screens/Activity/styles.d.ts +0 -85
- package/lib/screens/Channels/Add/AddName.d.ts +0 -3
- package/lib/screens/Channels/Add/AddVisibility.d.ts +0 -3
- package/lib/screens/Channels/Add/index.d.ts +0 -3
- package/lib/screens/Channels/AddChannel.d.ts +0 -3
- package/lib/screens/Channels/Channels.d.ts +0 -3
- package/lib/screens/Channels/index.d.ts +0 -4
- package/lib/screens/Files/FilesScreen.d.ts +0 -6
- package/lib/screens/Files/index.d.ts +0 -2
- package/lib/screens/Home/Components/Channels/Channels.d.ts +0 -9
- package/lib/screens/Home/Components/Channels/index.d.ts +0 -2
- package/lib/screens/Home/Components/DirectChannels/DirectChannels.d.ts +0 -3
- package/lib/screens/Home/Components/DirectChannels/index.d.ts +0 -2
- package/lib/screens/Home/Components/Teams/Teams.d.ts +0 -7
- package/lib/screens/Home/Components/Teams/index.d.ts +0 -2
- package/lib/screens/Home/Components/TopCommonSlider/TopCommonSlider.d.ts +0 -3
- package/lib/screens/Home/Components/TopCommonSlider/index.d.ts +0 -2
- package/lib/screens/Home/HomeScreen.d.ts +0 -3
- package/lib/screens/Home/index.d.ts +0 -2
- package/lib/screens/Home/styles.d.ts +0 -86
- package/lib/screens/Inbox/InboxChannelDetail.d.ts +0 -3
- package/lib/screens/Inbox/InboxDialogMessages.d.ts +0 -3
- package/lib/screens/Inbox/InboxScreen.d.ts +0 -3
- package/lib/screens/Inbox/InboxThreadMessages.d.ts +0 -3
- package/lib/screens/Inbox/InboxThreads.d.ts +0 -3
- package/lib/screens/Inbox/index.d.ts +0 -3
- package/lib/screens/Login.d.ts +0 -3
- package/lib/screens/Notification/NotificationsScreen.d.ts +0 -2
- package/lib/screens/Notification/index.d.ts +0 -2
- package/lib/screens/Organization/AddWorkspace.d.ts +0 -3
- package/lib/screens/Organization/CreateOrganization.d.ts +0 -3
- package/lib/screens/Organization/InitialChannelOnboarding.d.ts +0 -3
- package/lib/screens/Organization/InitializeOrganizationChannel.d.ts +0 -3
- package/lib/screens/Organization/InviteOrganizationMembers.d.ts +0 -3
- package/lib/screens/Organization/index.d.ts +0 -6
- package/lib/screens/Peoples/AddByEmail.d.ts +0 -3
- package/lib/screens/Peoples/AddFromContacts.d.ts +0 -3
- package/lib/screens/Peoples/AddPeople.d.ts +0 -3
- package/lib/screens/Peoples/People.d.ts +0 -3
- package/lib/screens/Peoples/index.d.ts +0 -5
- package/lib/screens/Profile/ProfileScreen.d.ts +0 -3
- package/lib/screens/Profile/index.d.ts +0 -2
- package/lib/screens/Profile/styles.d.ts +0 -83
- package/lib/screens/Saved/SavedScreen.d.ts +0 -7
- package/lib/screens/Saved/index.d.ts +0 -2
- package/lib/screens/Saved/styles.d.ts +0 -85
- package/lib/screens/Search/Channels.d.ts +0 -6
- package/lib/screens/Search/Files.d.ts +0 -3
- package/lib/screens/Search/JumpTo.d.ts +0 -4
- package/lib/screens/Search/People.d.ts +0 -6
- package/lib/screens/Search/Recents.d.ts +0 -6
- package/lib/screens/Search/SearchAddChannel.d.ts +0 -4
- package/lib/screens/Search/SearchChannelPeople.d.ts +0 -4
- package/lib/screens/Search/SearchScreen.d.ts +0 -5
- package/lib/screens/Search/index.d.ts +0 -5
- package/lib/screens/Search/styles.d.ts +0 -83
- package/lib/screens/Teams/AddTeam.d.ts +0 -3
- package/lib/screens/Teams/Components/Channels/Channels.d.ts +0 -3
- package/lib/screens/Teams/Components/Channels/index.d.ts +0 -2
- package/lib/screens/Teams/Components/Members/Members.d.ts +0 -8
- package/lib/screens/Teams/Components/Members/index.d.ts +0 -2
- package/lib/screens/Teams/Team.d.ts +0 -7
- package/lib/screens/Teams/Teams.d.ts +0 -3
- package/lib/screens/Teams/index.d.ts +0 -4
- package/lib/screens/Wiki/WikiScreen.d.ts +0 -6
- package/lib/screens/Wiki/index.d.ts +0 -2
- package/lib/screens/index.d.ts +0 -16
- package/lib/theme/index.d.ts +0 -11
|
@@ -1,57 +1,55 @@
|
|
|
1
|
-
import React__default from'react';import {Login}from'../screens/Login.js';import Home from'../screens/Home/HomeScreen.js';import'@adminide-stack/user-auth0-client';import'@messenger-box/platform-mobile';import
|
|
2
|
-
|
|
1
|
+
import React__default from'react';import {Login}from'../screens/Login.js';import Home from'../screens/Home/HomeScreen.js';import'@adminide-stack/user-auth0-client';import'@messenger-box/platform-mobile';import {MaterialIcons,MaterialCommunityIcons}from'@expo/vector-icons';import'expo-font';import'expo-splash-screen';import'react-native';import'../hooks/useDrawerLayout.js';import'../hooks/useExpoNotificationProvider.js';import {LifecyclePhase}from'@workbench-stack/core';import {withLifeCycleInteractionsManaged,Lifecycle,Text,Button,ButtonText}from'@admin-layout/gluestack-ui-mobile';import'@react-navigation/core';import'../components/Header/styles.js';import'../components/Tiles/styles.js';import'../components/CustomDrawer/CustomDrawer.js';import'../components/CustomBottomTabs/CustomBottomTabs.js';import NavigationHeader from'../components/NavigationHeader/NavigationHeader.js';import'@react-navigation/elements';import {NavigationRoutes}from'../constants/routes.js';import {Feature,navigationRef}from'@common-stack/client-react';import'../components/NavigationHeader/InboxNavigationHeader.js';import {LoadingSpinnerDefault}from'../components/LoadingSpinner/index.js';import'../components/WorkSpaceDrawer/WorkSpaceDrawer.js';import'../components/Channels/ChannelsByAlphabeticalAccordion.js';import'../components/SlackSearchInput/index.js';import'common';import'common/lib/generated/generated.js';import'expo-status-bar';import'react-redux';import'lodash-es';import'../constants/device.js';import'../constants/globalStyles.js';import'../constants/Layout.js';import AccountScreen from'../screens/Account/AccountScreen.js';import ProfileScreen from'../screens/Profile/ProfileScreen.js';import NotificationsScreen from'../screens/Notification/NotificationsScreen.js';import'../screens/Search/SearchScreen.js';import SearchChannelPeople from'../screens/Search/SearchChannelPeople.js';import'../screens/Search/SearchAddChannel.js';import JumpToScreen from'../screens/Search/JumpTo.js';import Channels from'../screens/Channels/Channels.js';import'../screens/Channels/AddChannel.js';import AddChannelName from'../screens/Channels/Add/AddName.js';import AddChannelVisibility from'../screens/Channels/Add/AddVisibility.js';import Peoples from'../screens/Peoples/People.js';import AddPeople from'../screens/Peoples/AddPeople.js';import AddPeopleByEmail from'../screens/Peoples/AddByEmail.js';import AddFromContacts from'../screens/Peoples/AddFromContacts.js';import AddTeam from'../screens/Teams/AddTeam.js';import'../screens/Teams/Team.js';import Teams from'../screens/Teams/Teams.js';import CreateOrganization from'../screens/Organization/CreateOrganization.js';import InviteOrganizationMembers from'../screens/Organization/InviteOrganizationMembers.js';import InitializeOrganizationChannel from'../screens/Organization/InitializeOrganizationChannel.js';import InitialChannelOnboarding from'../screens/Organization/InitialChannelOnboarding.js';import AddWorkSpace from'../screens/Organization/AddWorkspace.js';import SearchTabNavigation from'./SearchTabNavigation.js';import TeamTabNavigation from'./TeamTabNavigation.js';var __defProp = Object.defineProperty;
|
|
2
|
+
var __defProps = Object.defineProperties;
|
|
3
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
+
var __spreadValues = (a, b) => {
|
|
9
|
+
for (var prop in b || (b = {}))
|
|
10
|
+
if (__hasOwnProp.call(b, prop))
|
|
11
|
+
__defNormalProp(a, prop, b[prop]);
|
|
12
|
+
if (__getOwnPropSymbols)
|
|
13
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
14
|
+
if (__propIsEnum.call(b, prop))
|
|
15
|
+
__defNormalProp(a, prop, b[prop]);
|
|
16
|
+
}
|
|
17
|
+
return a;
|
|
18
|
+
};
|
|
19
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
+
const exploreConfig = {
|
|
21
|
+
["//:orgName/l/home"]: {
|
|
3
22
|
exact: false,
|
|
4
|
-
name:
|
|
5
|
-
menu_position:
|
|
23
|
+
name: "Home",
|
|
24
|
+
menu_position: "bottom",
|
|
6
25
|
auth: true,
|
|
7
26
|
props: {
|
|
8
27
|
initialParams: {
|
|
9
28
|
orgName: null
|
|
10
29
|
},
|
|
11
30
|
component: withLifeCycleInteractionsManaged(Home, null, 100),
|
|
12
|
-
|
|
13
|
-
// <Lifecycle renderWhenPhase={LifecyclePhase.Restored} loadingRenderer={LoadingSpinnerDefault}>
|
|
14
|
-
// <Home {...props} />
|
|
15
|
-
// </Lifecycle>
|
|
16
|
-
// ),
|
|
17
|
-
unauthenticatedComponent: props => React__default.createElement(Login, Object.assign({}, props)),
|
|
31
|
+
unauthenticatedComponent: (props) => /* @__PURE__ */ React__default.createElement(Login, __spreadValues({}, props)),
|
|
18
32
|
options: {
|
|
19
33
|
headerShown: true,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
showTitle: false,
|
|
24
|
-
showOrganizationTitle: true,
|
|
25
|
-
showToggle: true,
|
|
26
|
-
showFilter: true,
|
|
27
|
-
isSearchBack: false
|
|
28
|
-
}, props)),
|
|
29
|
-
//header: (props: any) => <Header showToggle={false} right={false} {...props} />,
|
|
30
|
-
title: 'Home',
|
|
31
|
-
headerTitle: 'Home',
|
|
34
|
+
header: (props) => /* @__PURE__ */ React__default.createElement(NavigationHeader, __spreadValues({ showTitle: false, showOrganizationTitle: true, showToggle: true, showFilter: true, isSearchBack: false }, props)),
|
|
35
|
+
title: "Home",
|
|
36
|
+
headerTitle: "Home",
|
|
32
37
|
priority: 1,
|
|
33
|
-
tabBarActiveTintColor:
|
|
34
|
-
tabBarInactiveTintColor:
|
|
38
|
+
tabBarActiveTintColor: "#000",
|
|
39
|
+
tabBarInactiveTintColor: "black",
|
|
35
40
|
tabBarIcon: ({
|
|
36
41
|
color
|
|
37
|
-
}) => React__default.createElement(MaterialCommunityIcons, {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
color: color
|
|
41
|
-
}),
|
|
42
|
-
tabBarLabel: 'Home',
|
|
43
|
-
drawerIcon: 'home'
|
|
44
|
-
//drawerStyle: { backgroundColor: 'yellow' },
|
|
45
|
-
// drawerOption: { title: 'workspace' },
|
|
42
|
+
}) => /* @__PURE__ */ React__default.createElement(MaterialCommunityIcons, { name: "home-variant-outline", size: 24, color }),
|
|
43
|
+
tabBarLabel: "Home",
|
|
44
|
+
drawerIcon: "home"
|
|
46
45
|
},
|
|
47
46
|
listeners: ({
|
|
48
47
|
navigation
|
|
49
48
|
}) => ({
|
|
50
|
-
tabPress: e => {
|
|
51
|
-
var _a, _b;
|
|
52
|
-
// Prevent default action
|
|
49
|
+
tabPress: (e) => {
|
|
50
|
+
var _a, _b, _c, _d;
|
|
53
51
|
e.preventDefault();
|
|
54
|
-
const orgName = (
|
|
52
|
+
const orgName = ((_a = navigationRef) == null ? void 0 : _a.isReady()) ? (_d = (_c = (_b = navigationRef) == null ? void 0 : _b.getCurrentRoute()) == null ? void 0 : _c.params) == null ? void 0 : _d.orgName : null;
|
|
55
53
|
navigation.navigate(NavigationRoutes.Home, {
|
|
56
54
|
orgName
|
|
57
55
|
});
|
|
@@ -59,389 +57,247 @@ import React__default from'react';import {Login}from'../screens/Login.js';import
|
|
|
59
57
|
})
|
|
60
58
|
}
|
|
61
59
|
},
|
|
62
|
-
[
|
|
60
|
+
["//:orgName/useraccount"]: {
|
|
63
61
|
exact: true,
|
|
64
|
-
name:
|
|
62
|
+
name: "UserAccount",
|
|
65
63
|
auth: true,
|
|
66
64
|
props: {
|
|
67
65
|
initialParams: {
|
|
68
66
|
orgName: null
|
|
69
67
|
},
|
|
70
|
-
component: props => React__default.createElement(Lifecycle, {
|
|
71
|
-
|
|
72
|
-
loadingRenderer: LoadingSpinnerDefault
|
|
73
|
-
}, React__default.createElement(AccountScreen, Object.assign({}, props))),
|
|
74
|
-
//component: (props: any) => <Account {...props} />,
|
|
75
|
-
unauthenticatedComponent: props => React__default.createElement(Login, Object.assign({}, props)),
|
|
68
|
+
component: (props) => /* @__PURE__ */ React__default.createElement(Lifecycle, { renderWhenPhase: LifecyclePhase.Restored, loadingRenderer: LoadingSpinnerDefault }, /* @__PURE__ */ React__default.createElement(AccountScreen, __spreadValues({}, props))),
|
|
69
|
+
unauthenticatedComponent: (props) => /* @__PURE__ */ React__default.createElement(Login, __spreadValues({}, props)),
|
|
76
70
|
options: ({
|
|
77
71
|
navigation
|
|
78
72
|
}) => {
|
|
79
73
|
return {
|
|
80
74
|
animationEnabled: false,
|
|
81
|
-
headerTitleAlign:
|
|
82
|
-
title:
|
|
75
|
+
headerTitleAlign: "left",
|
|
76
|
+
title: "you",
|
|
83
77
|
headerShown: true,
|
|
84
78
|
headerBackTitleVisible: false,
|
|
85
|
-
headerTintColor:
|
|
79
|
+
headerTintColor: "#1d1c1d",
|
|
86
80
|
swipeEnabled: false,
|
|
87
81
|
headerShadowVisible: true,
|
|
88
|
-
headerLeft: props => React__default.createElement(Button, {
|
|
89
|
-
bg: 'transparent',
|
|
90
|
-
"$pressed-bg": "$trueGray200",
|
|
91
|
-
"$active-bg": '$trueGray200',
|
|
92
|
-
onPress: () => navigation.goBack()
|
|
93
|
-
}, React__default.createElement(MaterialIcons, {
|
|
94
|
-
size: 20,
|
|
95
|
-
name: "arrow-back-ios",
|
|
96
|
-
color: 'black'
|
|
97
|
-
}))
|
|
82
|
+
headerLeft: (props) => /* @__PURE__ */ React__default.createElement(Button, { bg: "transparent", "$pressed-bg": "$trueGray200", "$active-bg": "$trueGray200", onPress: () => navigation.goBack() }, /* @__PURE__ */ React__default.createElement(MaterialIcons, { size: 20, name: "arrow-back-ios", color: "black" }))
|
|
98
83
|
};
|
|
99
84
|
}
|
|
100
85
|
}
|
|
101
86
|
},
|
|
102
|
-
[
|
|
87
|
+
["//:orgName/profile"]: {
|
|
103
88
|
exact: true,
|
|
104
|
-
name:
|
|
89
|
+
name: "Profile",
|
|
105
90
|
auth: true,
|
|
106
91
|
props: {
|
|
107
92
|
initialParams: {
|
|
108
93
|
orgName: null
|
|
109
94
|
},
|
|
110
|
-
component: props => React__default.createElement(Lifecycle, {
|
|
111
|
-
|
|
112
|
-
loadingRenderer: LoadingSpinnerDefault
|
|
113
|
-
}, React__default.createElement(ProfileScreen, Object.assign({}, props))),
|
|
114
|
-
//component: (props: any) => <Account {...props} />,
|
|
115
|
-
unauthenticatedComponent: props => React__default.createElement(Login, Object.assign({}, props)),
|
|
95
|
+
component: (props) => /* @__PURE__ */ React__default.createElement(Lifecycle, { renderWhenPhase: LifecyclePhase.Restored, loadingRenderer: LoadingSpinnerDefault }, /* @__PURE__ */ React__default.createElement(ProfileScreen, __spreadValues({}, props))),
|
|
96
|
+
unauthenticatedComponent: (props) => /* @__PURE__ */ React__default.createElement(Login, __spreadValues({}, props)),
|
|
116
97
|
options: ({
|
|
117
98
|
navigation
|
|
118
99
|
}) => {
|
|
119
100
|
return {
|
|
120
101
|
animationEnabled: false,
|
|
121
|
-
headerTitleAlign:
|
|
122
|
-
title:
|
|
102
|
+
headerTitleAlign: "left",
|
|
103
|
+
title: "Profile",
|
|
123
104
|
headerShown: true,
|
|
124
105
|
headerBackTitleVisible: false,
|
|
125
|
-
headerTintColor:
|
|
106
|
+
headerTintColor: "#1d1c1d",
|
|
126
107
|
swipeEnabled: false,
|
|
127
108
|
headerShadowVisible: true,
|
|
128
|
-
headerLeft: props => React__default.createElement(Button, {
|
|
129
|
-
bg: 'transparent',
|
|
130
|
-
"$pressed-bg": "$trueGray200",
|
|
131
|
-
"$active-bg": '$trueGray200',
|
|
132
|
-
onPress: () => navigation.goBack()
|
|
133
|
-
}, React__default.createElement(MaterialIcons, {
|
|
134
|
-
size: 20,
|
|
135
|
-
name: "arrow-back-ios",
|
|
136
|
-
color: 'black'
|
|
137
|
-
}))
|
|
109
|
+
headerLeft: (props) => /* @__PURE__ */ React__default.createElement(Button, { bg: "transparent", "$pressed-bg": "$trueGray200", "$active-bg": "$trueGray200", onPress: () => navigation.goBack() }, /* @__PURE__ */ React__default.createElement(MaterialIcons, { size: 20, name: "arrow-back-ios", color: "black" }))
|
|
138
110
|
};
|
|
139
111
|
}
|
|
140
112
|
}
|
|
141
113
|
},
|
|
142
|
-
[
|
|
114
|
+
["//:orgName/search"]: {
|
|
143
115
|
exact: true,
|
|
144
|
-
name:
|
|
116
|
+
name: "Search",
|
|
145
117
|
auth: true,
|
|
146
118
|
props: {
|
|
147
119
|
initialParams: {
|
|
148
120
|
orgName: null
|
|
149
121
|
},
|
|
150
|
-
component: props => React__default.createElement(Lifecycle, {
|
|
151
|
-
|
|
152
|
-
loadingRenderer: LoadingSpinnerDefault
|
|
153
|
-
}, React__default.createElement(SearchTabNavigation, Object.assign({}, props))),
|
|
154
|
-
// component: (props: any) => <SearchTabNavigation {...props} />,
|
|
155
|
-
unauthenticatedComponent: props => React__default.createElement(Login, Object.assign({}, props)),
|
|
122
|
+
component: (props) => /* @__PURE__ */ React__default.createElement(Lifecycle, { renderWhenPhase: LifecyclePhase.Restored, loadingRenderer: LoadingSpinnerDefault }, /* @__PURE__ */ React__default.createElement(SearchTabNavigation, __spreadValues({}, props))),
|
|
123
|
+
unauthenticatedComponent: (props) => /* @__PURE__ */ React__default.createElement(Login, __spreadValues({}, props)),
|
|
156
124
|
options: {
|
|
157
|
-
title:
|
|
158
|
-
|
|
159
|
-
header: props => React__default.createElement(NavigationHeader, Object.assign({}, props, {
|
|
160
|
-
showToggle: false,
|
|
161
|
-
showFilter: false,
|
|
162
|
-
showTitle: false,
|
|
163
|
-
showProfile: false,
|
|
164
|
-
back: null,
|
|
165
|
-
isSearchBack: true
|
|
166
|
-
})),
|
|
125
|
+
title: "Search",
|
|
126
|
+
header: (props) => /* @__PURE__ */ React__default.createElement(NavigationHeader, __spreadProps(__spreadValues({}, props), { showToggle: false, showFilter: false, showTitle: false, showProfile: false, back: null, isSearchBack: true })),
|
|
167
127
|
headerShown: true,
|
|
168
128
|
headerBackTitleVisible: false,
|
|
169
129
|
gestureEnabled: true,
|
|
170
130
|
swipeEnabled: true,
|
|
171
|
-
presentation:
|
|
131
|
+
presentation: "fullScreenModal",
|
|
172
132
|
animationEnabled: true
|
|
173
|
-
// headerTintColor: '#ff5a60',
|
|
174
|
-
// headerTitleStyle: { color: 'black' },
|
|
175
133
|
}
|
|
176
134
|
}
|
|
177
135
|
},
|
|
178
|
-
[
|
|
179
|
-
name:
|
|
136
|
+
["//:orgName/jumpto"]: {
|
|
137
|
+
name: "JumpTo",
|
|
180
138
|
exact: false,
|
|
181
139
|
auth: true,
|
|
182
140
|
props: {
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
renderWhenPhase: 3 /* LifecyclePhase.Restored */,
|
|
186
|
-
loadingRenderer: LoadingSpinnerDefault
|
|
187
|
-
}, React__default.createElement(JumpToScreen, Object.assign({}, props))),
|
|
188
|
-
unauthenticatedComponent: props => React__default.createElement(Login, Object.assign({}, props)),
|
|
141
|
+
component: (props) => /* @__PURE__ */ React__default.createElement(Lifecycle, { renderWhenPhase: LifecyclePhase.Restored, loadingRenderer: LoadingSpinnerDefault }, /* @__PURE__ */ React__default.createElement(JumpToScreen, __spreadValues({}, props))),
|
|
142
|
+
unauthenticatedComponent: (props) => /* @__PURE__ */ React__default.createElement(Login, __spreadValues({}, props)),
|
|
189
143
|
options: {
|
|
190
|
-
title:
|
|
191
|
-
|
|
192
|
-
header: props => React__default.createElement(NavigationHeader, Object.assign({}, props, {
|
|
193
|
-
showToggle: false,
|
|
194
|
-
showFilter: false,
|
|
195
|
-
showTitle: false,
|
|
196
|
-
showProfile: false,
|
|
197
|
-
back: null,
|
|
198
|
-
isSearchBack: true
|
|
199
|
-
})),
|
|
144
|
+
title: "JumpTo",
|
|
145
|
+
header: (props) => /* @__PURE__ */ React__default.createElement(NavigationHeader, __spreadProps(__spreadValues({}, props), { showToggle: false, showFilter: false, showTitle: false, showProfile: false, back: null, isSearchBack: true })),
|
|
200
146
|
headerShown: true,
|
|
201
147
|
headerBackTitleVisible: false,
|
|
202
148
|
gestureEnabled: false,
|
|
203
149
|
swipeEnabled: false,
|
|
204
|
-
presentation:
|
|
150
|
+
presentation: "fullScreenModal",
|
|
205
151
|
animationEnabled: false
|
|
206
|
-
// headerTintColor: '#ff5a60',
|
|
207
|
-
// headerTitleStyle: { color: 'black' },
|
|
208
152
|
}
|
|
209
153
|
}
|
|
210
154
|
},
|
|
211
|
-
[
|
|
212
|
-
name:
|
|
155
|
+
["//:orgName/addworkspace"]: {
|
|
156
|
+
name: "AddWorkSpace",
|
|
213
157
|
exact: false,
|
|
214
158
|
auth: true,
|
|
215
159
|
props: {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
renderWhenPhase: 3 /* LifecyclePhase.Restored */,
|
|
219
|
-
loadingRenderer: LoadingSpinnerDefault
|
|
220
|
-
}, React__default.createElement(AddWorkSpace, Object.assign({}, props))),
|
|
221
|
-
unauthenticatedComponent: props => React__default.createElement(Login, Object.assign({}, props)),
|
|
160
|
+
component: (props) => /* @__PURE__ */ React__default.createElement(Lifecycle, { renderWhenPhase: LifecyclePhase.Restored, loadingRenderer: LoadingSpinnerDefault }, /* @__PURE__ */ React__default.createElement(AddWorkSpace, __spreadValues({}, props))),
|
|
161
|
+
unauthenticatedComponent: (props) => /* @__PURE__ */ React__default.createElement(Login, __spreadValues({}, props)),
|
|
222
162
|
options: ({
|
|
223
163
|
navigation
|
|
224
164
|
}) => {
|
|
225
165
|
return {
|
|
226
166
|
animationEnabled: true,
|
|
227
|
-
headerTitleAlign:
|
|
228
|
-
title:
|
|
167
|
+
headerTitleAlign: "left",
|
|
168
|
+
title: "Add Workspaces",
|
|
229
169
|
headerShown: true,
|
|
230
170
|
headerBackTitleVisible: false,
|
|
231
|
-
headerTintColor:
|
|
171
|
+
headerTintColor: "#1d1c1d",
|
|
232
172
|
headerShadowVisible: true,
|
|
233
|
-
headerLeft: props => React__default.createElement(Button, {
|
|
234
|
-
bg: 'transparent',
|
|
235
|
-
"$pressed-bg": "$trueGray200",
|
|
236
|
-
"$active-bg": '$trueGray200',
|
|
237
|
-
onPress: () => navigation.goBack()
|
|
238
|
-
}, React__default.createElement(MaterialIcons, {
|
|
239
|
-
size: 20,
|
|
240
|
-
name: "arrow-back-ios",
|
|
241
|
-
color: 'black'
|
|
242
|
-
}))
|
|
173
|
+
headerLeft: (props) => /* @__PURE__ */ React__default.createElement(Button, { bg: "transparent", "$pressed-bg": "$trueGray200", "$active-bg": "$trueGray200", onPress: () => navigation.goBack() }, /* @__PURE__ */ React__default.createElement(MaterialIcons, { size: 20, name: "arrow-back-ios", color: "black" }))
|
|
243
174
|
};
|
|
244
175
|
}
|
|
245
176
|
}
|
|
246
177
|
},
|
|
247
|
-
[
|
|
248
|
-
name:
|
|
178
|
+
["//:orgName/createorganization"]: {
|
|
179
|
+
name: "CreateOrganization",
|
|
249
180
|
exact: false,
|
|
250
181
|
auth: true,
|
|
251
182
|
props: {
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
renderWhenPhase: 3 /* LifecyclePhase.Restored */,
|
|
255
|
-
loadingRenderer: LoadingSpinnerDefault
|
|
256
|
-
}, React__default.createElement(CreateOrganization, Object.assign({}, props))),
|
|
257
|
-
// component: CreateOrganization,
|
|
258
|
-
unauthenticatedComponent: props => React__default.createElement(Login, Object.assign({}, props)),
|
|
183
|
+
component: (props) => /* @__PURE__ */ React__default.createElement(Lifecycle, { renderWhenPhase: LifecyclePhase.Restored, loadingRenderer: LoadingSpinnerDefault }, /* @__PURE__ */ React__default.createElement(CreateOrganization, __spreadValues({}, props))),
|
|
184
|
+
unauthenticatedComponent: (props) => /* @__PURE__ */ React__default.createElement(Login, __spreadValues({}, props)),
|
|
259
185
|
options: ({
|
|
260
186
|
navigation
|
|
261
187
|
}) => {
|
|
262
188
|
return {
|
|
263
189
|
animationEnabled: false,
|
|
264
|
-
headerTitleAlign:
|
|
265
|
-
title:
|
|
190
|
+
headerTitleAlign: "left",
|
|
191
|
+
title: "",
|
|
266
192
|
headerShown: true,
|
|
267
193
|
headerBackTitleVisible: false,
|
|
268
|
-
headerTintColor:
|
|
194
|
+
headerTintColor: "#1d1c1d",
|
|
269
195
|
swipeEnabled: false,
|
|
270
196
|
headerShadowVisible: true,
|
|
271
|
-
headerLeft: props => React__default.createElement(Button, {
|
|
272
|
-
bg: 'transparent',
|
|
273
|
-
"$pressed-bg": "$trueGray200",
|
|
274
|
-
"$active-bg": '$trueGray200',
|
|
275
|
-
onPress: () => navigation.goBack()
|
|
276
|
-
}, React__default.createElement(MaterialIcons, {
|
|
277
|
-
size: 20,
|
|
278
|
-
name: "arrow-back-ios",
|
|
279
|
-
color: 'black'
|
|
280
|
-
}))
|
|
197
|
+
headerLeft: (props) => /* @__PURE__ */ React__default.createElement(Button, { bg: "transparent", "$pressed-bg": "$trueGray200", "$active-bg": "$trueGray200", onPress: () => navigation.goBack() }, /* @__PURE__ */ React__default.createElement(MaterialIcons, { size: 20, name: "arrow-back-ios", color: "black" }))
|
|
281
198
|
};
|
|
282
199
|
}
|
|
283
200
|
}
|
|
284
201
|
},
|
|
285
|
-
[
|
|
286
|
-
name:
|
|
202
|
+
["//:orgName/invite-orgmembers"]: {
|
|
203
|
+
name: "InviteOrganizationMembers",
|
|
287
204
|
exact: false,
|
|
288
205
|
auth: true,
|
|
289
206
|
props: {
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
renderWhenPhase: 3 /* LifecyclePhase.Restored */,
|
|
293
|
-
loadingRenderer: LoadingSpinnerDefault
|
|
294
|
-
}, React__default.createElement(InviteOrganizationMembers, Object.assign({}, props))),
|
|
295
|
-
unauthenticatedComponent: props => React__default.createElement(Login, Object.assign({}, props)),
|
|
207
|
+
component: (props) => /* @__PURE__ */ React__default.createElement(Lifecycle, { renderWhenPhase: LifecyclePhase.Restored, loadingRenderer: LoadingSpinnerDefault }, /* @__PURE__ */ React__default.createElement(InviteOrganizationMembers, __spreadValues({}, props))),
|
|
208
|
+
unauthenticatedComponent: (props) => /* @__PURE__ */ React__default.createElement(Login, __spreadValues({}, props)),
|
|
296
209
|
options: ({
|
|
297
210
|
navigation,
|
|
298
211
|
route
|
|
299
212
|
}) => {
|
|
300
213
|
return {
|
|
301
214
|
animationEnabled: false,
|
|
302
|
-
headerTitleAlign:
|
|
303
|
-
title:
|
|
215
|
+
headerTitleAlign: "left",
|
|
216
|
+
title: "",
|
|
304
217
|
headerShown: true,
|
|
305
218
|
headerBackTitleVisible: false,
|
|
306
|
-
headerTintColor:
|
|
219
|
+
headerTintColor: "#1d1c1d",
|
|
307
220
|
swipeEnabled: false,
|
|
308
221
|
headerShadowVisible: true,
|
|
309
|
-
headerLeft: props => React__default.createElement(Button, {
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
name: "arrow-back-ios",
|
|
317
|
-
color: 'black'
|
|
318
|
-
})),
|
|
319
|
-
headerRight: props => React__default.createElement(Button, {
|
|
320
|
-
mr: '$2',
|
|
321
|
-
onPress: () => {
|
|
322
|
-
var _a;
|
|
323
|
-
return navigation.navigate(NavigationRoutes.InitializeOrganizationChannel, {
|
|
324
|
-
orgName: (_a = route === null || route === void 0 ? void 0 : route.params) === null || _a === void 0 ? void 0 : _a.orgName
|
|
325
|
-
});
|
|
326
|
-
},
|
|
327
|
-
variant: 'link'
|
|
328
|
-
}, React__default.createElement(ButtonText, {
|
|
329
|
-
color: '$black'
|
|
330
|
-
}, "SKIP"))
|
|
222
|
+
headerLeft: (props) => /* @__PURE__ */ React__default.createElement(Button, { bg: "transparent", "$pressed-bg": "$trueGray200", "$active-bg": "$trueGray200", onPress: () => navigation.goBack() }, /* @__PURE__ */ React__default.createElement(MaterialIcons, { size: 20, name: "arrow-back-ios", color: "black" })),
|
|
223
|
+
headerRight: (props) => /* @__PURE__ */ React__default.createElement(Button, { mr: "$2", onPress: () => {
|
|
224
|
+
var _a;
|
|
225
|
+
return navigation.navigate(NavigationRoutes.InitializeOrganizationChannel, {
|
|
226
|
+
orgName: (_a = route == null ? void 0 : route.params) == null ? void 0 : _a.orgName
|
|
227
|
+
});
|
|
228
|
+
}, variant: "link" }, /* @__PURE__ */ React__default.createElement(ButtonText, { color: "$black" }, "SKIP"))
|
|
331
229
|
};
|
|
332
230
|
}
|
|
333
231
|
}
|
|
334
232
|
},
|
|
335
|
-
[
|
|
336
|
-
name:
|
|
233
|
+
["//:orgName/initialize-org-channel"]: {
|
|
234
|
+
name: "InitializeOrganizationChannel",
|
|
337
235
|
exact: false,
|
|
338
236
|
auth: true,
|
|
339
237
|
props: {
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
renderWhenPhase: 3 /* LifecyclePhase.Restored */,
|
|
343
|
-
loadingRenderer: LoadingSpinnerDefault
|
|
344
|
-
}, React__default.createElement(InitializeOrganizationChannel, Object.assign({}, props))),
|
|
345
|
-
unauthenticatedComponent: props => React__default.createElement(Login, Object.assign({}, props)),
|
|
238
|
+
component: (props) => /* @__PURE__ */ React__default.createElement(Lifecycle, { renderWhenPhase: LifecyclePhase.Restored, loadingRenderer: LoadingSpinnerDefault }, /* @__PURE__ */ React__default.createElement(InitializeOrganizationChannel, __spreadValues({}, props))),
|
|
239
|
+
unauthenticatedComponent: (props) => /* @__PURE__ */ React__default.createElement(Login, __spreadValues({}, props)),
|
|
346
240
|
options: ({
|
|
347
241
|
navigation
|
|
348
242
|
}) => {
|
|
349
243
|
return {
|
|
350
244
|
animationEnabled: false,
|
|
351
|
-
headerTitleAlign:
|
|
352
|
-
title:
|
|
245
|
+
headerTitleAlign: "left",
|
|
246
|
+
title: "",
|
|
353
247
|
headerShown: true,
|
|
354
248
|
headerBackTitleVisible: false,
|
|
355
|
-
headerTintColor:
|
|
249
|
+
headerTintColor: "#1d1c1d",
|
|
356
250
|
swipeEnabled: false,
|
|
357
251
|
headerShadowVisible: true,
|
|
358
|
-
headerLeft: props => React__default.createElement(Button, {
|
|
359
|
-
bg: 'transparent',
|
|
360
|
-
"$pressed-bg": "$trueGray200",
|
|
361
|
-
"$active-bg": '$trueGray200',
|
|
362
|
-
onPress: () => navigation.goBack()
|
|
363
|
-
}, React__default.createElement(MaterialIcons, {
|
|
364
|
-
size: 20,
|
|
365
|
-
name: "arrow-back-ios",
|
|
366
|
-
color: 'black'
|
|
367
|
-
}))
|
|
252
|
+
headerLeft: (props) => /* @__PURE__ */ React__default.createElement(Button, { bg: "transparent", "$pressed-bg": "$trueGray200", "$active-bg": "$trueGray200", onPress: () => navigation.goBack() }, /* @__PURE__ */ React__default.createElement(MaterialIcons, { size: 20, name: "arrow-back-ios", color: "black" }))
|
|
368
253
|
};
|
|
369
254
|
}
|
|
370
255
|
}
|
|
371
256
|
},
|
|
372
|
-
[
|
|
373
|
-
name:
|
|
257
|
+
["//:orgName/initial-channel-onboarding"]: {
|
|
258
|
+
name: "InitialChannelOnboarding",
|
|
374
259
|
exact: false,
|
|
375
260
|
auth: true,
|
|
376
261
|
props: {
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
renderWhenPhase: 3 /* LifecyclePhase.Restored */,
|
|
380
|
-
loadingRenderer: LoadingSpinnerDefault
|
|
381
|
-
}, React__default.createElement(InitialChannelOnboarding, Object.assign({}, props))),
|
|
382
|
-
unauthenticatedComponent: props => React__default.createElement(Login, Object.assign({}, props)),
|
|
262
|
+
component: (props) => /* @__PURE__ */ React__default.createElement(Lifecycle, { renderWhenPhase: LifecyclePhase.Restored, loadingRenderer: LoadingSpinnerDefault }, /* @__PURE__ */ React__default.createElement(InitialChannelOnboarding, __spreadValues({}, props))),
|
|
263
|
+
unauthenticatedComponent: (props) => /* @__PURE__ */ React__default.createElement(Login, __spreadValues({}, props)),
|
|
383
264
|
options: ({
|
|
384
265
|
navigation
|
|
385
266
|
}) => {
|
|
386
267
|
return {
|
|
387
268
|
animationEnabled: false,
|
|
388
|
-
headerTitleAlign:
|
|
389
|
-
title:
|
|
269
|
+
headerTitleAlign: "left",
|
|
270
|
+
title: "",
|
|
390
271
|
headerShown: false,
|
|
391
272
|
headerBackTitleVisible: false,
|
|
392
|
-
headerTintColor:
|
|
273
|
+
headerTintColor: "#1d1c1d",
|
|
393
274
|
swipeEnabled: false,
|
|
394
275
|
headerShadowVisible: true
|
|
395
276
|
};
|
|
396
277
|
}
|
|
397
278
|
}
|
|
398
279
|
},
|
|
399
|
-
[
|
|
400
|
-
name:
|
|
280
|
+
["//:orgName/channels"]: {
|
|
281
|
+
name: "Channels",
|
|
401
282
|
exact: false,
|
|
402
283
|
auth: true,
|
|
403
284
|
props: {
|
|
404
285
|
initialParams: {},
|
|
405
|
-
component: props => React__default.createElement(Lifecycle, {
|
|
406
|
-
|
|
407
|
-
loadingRenderer: LoadingSpinnerDefault
|
|
408
|
-
}, React__default.createElement(Channels, Object.assign({}, props))),
|
|
409
|
-
// component: (props: any) => <Channels {...props} />,
|
|
410
|
-
unauthenticatedComponent: props => React__default.createElement(Login, Object.assign({}, props)),
|
|
286
|
+
component: (props) => /* @__PURE__ */ React__default.createElement(Lifecycle, { renderWhenPhase: LifecyclePhase.Restored, loadingRenderer: LoadingSpinnerDefault }, /* @__PURE__ */ React__default.createElement(Channels, __spreadValues({}, props))),
|
|
287
|
+
unauthenticatedComponent: (props) => /* @__PURE__ */ React__default.createElement(Login, __spreadValues({}, props)),
|
|
411
288
|
options: ({
|
|
412
289
|
navigation
|
|
413
290
|
}) => {
|
|
414
291
|
return {
|
|
415
|
-
title:
|
|
416
|
-
// header: (props: any) => (
|
|
417
|
-
// <NavigationHeader
|
|
418
|
-
// {...props}
|
|
419
|
-
// statusBarType="dark"
|
|
420
|
-
// titleColor="black"
|
|
421
|
-
// backBtnColor="black"
|
|
422
|
-
// headerBgColor="white"
|
|
423
|
-
// showProfile={false}
|
|
424
|
-
// showDefaultSearchBox={false}
|
|
425
|
-
// back={true}
|
|
426
|
-
// />
|
|
427
|
-
// ),
|
|
292
|
+
title: "Channel Browser",
|
|
428
293
|
headerShown: false,
|
|
429
|
-
|
|
430
|
-
// gestureEnabled: true,
|
|
431
|
-
// swipeEnabled: true,
|
|
432
|
-
presentation: 'fullScreenModal'
|
|
433
|
-
// animationEnabled: true,
|
|
434
|
-
// headerTintColor: '#1d1c1d',
|
|
435
|
-
// headerTitleAlign: 'left',
|
|
436
|
-
// headerTitleStyle: {
|
|
437
|
-
// borderBottomWidth: 1,
|
|
438
|
-
// },
|
|
294
|
+
presentation: "fullScreenModal"
|
|
439
295
|
};
|
|
440
296
|
}
|
|
441
297
|
}
|
|
442
298
|
},
|
|
443
|
-
[
|
|
444
|
-
name:
|
|
299
|
+
["//:orgName/addchannel/:teamName"]: {
|
|
300
|
+
name: "AddChannel",
|
|
445
301
|
exact: false,
|
|
446
302
|
auth: true,
|
|
447
303
|
props: {
|
|
@@ -449,34 +305,26 @@ import React__default from'react';import {Login}from'../screens/Login.js';import
|
|
|
449
305
|
orgName: null,
|
|
450
306
|
teamName: null
|
|
451
307
|
},
|
|
452
|
-
component: props => React__default.createElement(Lifecycle, {
|
|
453
|
-
|
|
454
|
-
loadingRenderer: LoadingSpinnerDefault
|
|
455
|
-
}, React__default.createElement(AddChannelName, Object.assign({}, props))),
|
|
456
|
-
// component: (props: any) => <AddChannelName {...props} />,
|
|
457
|
-
unauthenticatedComponent: props => React__default.createElement(Login, Object.assign({}, props)),
|
|
308
|
+
component: (props) => /* @__PURE__ */ React__default.createElement(Lifecycle, { renderWhenPhase: LifecyclePhase.Restored, loadingRenderer: LoadingSpinnerDefault }, /* @__PURE__ */ React__default.createElement(AddChannelName, __spreadValues({}, props))),
|
|
309
|
+
unauthenticatedComponent: (props) => /* @__PURE__ */ React__default.createElement(Login, __spreadValues({}, props)),
|
|
458
310
|
options: ({
|
|
459
311
|
navigation
|
|
460
312
|
}) => {
|
|
461
313
|
return {
|
|
462
|
-
//presentation: 'modal',
|
|
463
314
|
animationEnabled: false,
|
|
464
|
-
headerTitleAlign:
|
|
465
|
-
|
|
466
|
-
//animation: 'fade_from_bottom',
|
|
467
|
-
// header: NavigationHeader,
|
|
468
|
-
title: 'Create a channel',
|
|
315
|
+
headerTitleAlign: "left",
|
|
316
|
+
title: "Create a channel",
|
|
469
317
|
headerShown: true,
|
|
470
318
|
headerBackTitleVisible: false,
|
|
471
|
-
headerTintColor:
|
|
319
|
+
headerTintColor: "#1d1c1d",
|
|
472
320
|
gestureEnabled: false,
|
|
473
321
|
swipeEnabled: false
|
|
474
322
|
};
|
|
475
323
|
}
|
|
476
324
|
}
|
|
477
325
|
},
|
|
478
|
-
[
|
|
479
|
-
name:
|
|
326
|
+
["//:orgName/addchannelvisibility/:teamName"]: {
|
|
327
|
+
name: "AddChannelVisibility",
|
|
480
328
|
exact: false,
|
|
481
329
|
auth: true,
|
|
482
330
|
props: {
|
|
@@ -484,49 +332,35 @@ import React__default from'react';import {Login}from'../screens/Login.js';import
|
|
|
484
332
|
orgName: null,
|
|
485
333
|
teamName: null
|
|
486
334
|
},
|
|
487
|
-
component: props => React__default.createElement(Lifecycle, {
|
|
488
|
-
|
|
489
|
-
loadingRenderer: LoadingSpinnerDefault
|
|
490
|
-
}, React__default.createElement(AddChannelVisibility, Object.assign({}, props))),
|
|
491
|
-
//component: (props: any) => <AddChannelVisibility {...props} />,
|
|
492
|
-
unauthenticatedComponent: props => React__default.createElement(Login, Object.assign({}, props)),
|
|
335
|
+
component: (props) => /* @__PURE__ */ React__default.createElement(Lifecycle, { renderWhenPhase: LifecyclePhase.Restored, loadingRenderer: LoadingSpinnerDefault }, /* @__PURE__ */ React__default.createElement(AddChannelVisibility, __spreadValues({}, props))),
|
|
336
|
+
unauthenticatedComponent: (props) => /* @__PURE__ */ React__default.createElement(Login, __spreadValues({}, props)),
|
|
493
337
|
options: ({
|
|
494
338
|
navigation,
|
|
495
339
|
route
|
|
496
340
|
}) => {
|
|
497
341
|
return {
|
|
498
|
-
//presentation: 'modal',
|
|
499
342
|
animationEnabled: false,
|
|
500
|
-
headerTitleAlign:
|
|
501
|
-
|
|
502
|
-
//animation: 'fade_from_bottom',
|
|
503
|
-
// header: NavigationHeader,
|
|
504
|
-
//title: 'Create a channel',
|
|
505
|
-
headerTitle: props => {
|
|
343
|
+
headerTitleAlign: "left",
|
|
344
|
+
headerTitle: (props) => {
|
|
506
345
|
var _a;
|
|
507
|
-
return React__default.createElement(React__default.Fragment, null, React__default.createElement(Text, {
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
}, "
|
|
513
|
-
color: '$warmGray600',
|
|
514
|
-
style: {
|
|
515
|
-
fontWeight: '500'
|
|
516
|
-
}
|
|
517
|
-
}, "# ", (_a = route === null || route === void 0 ? void 0 : route.params) === null || _a === void 0 ? void 0 : _a.name));
|
|
346
|
+
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(Text, { style: {
|
|
347
|
+
fontSize: 15,
|
|
348
|
+
fontWeight: "600"
|
|
349
|
+
} }, "Create a Channel"), /* @__PURE__ */ React__default.createElement(Text, { color: "$warmGray600", style: {
|
|
350
|
+
fontWeight: "500"
|
|
351
|
+
} }, "# ", (_a = route == null ? void 0 : route.params) == null ? void 0 : _a.name));
|
|
518
352
|
},
|
|
519
353
|
headerShown: true,
|
|
520
354
|
headerBackTitleVisible: false,
|
|
521
|
-
headerTintColor:
|
|
355
|
+
headerTintColor: "#1d1c1d",
|
|
522
356
|
gestureEnabled: false,
|
|
523
357
|
swipeEnabled: false
|
|
524
358
|
};
|
|
525
359
|
}
|
|
526
360
|
}
|
|
527
361
|
},
|
|
528
|
-
[
|
|
529
|
-
name:
|
|
362
|
+
["//:orgName/addpeople"]: {
|
|
363
|
+
name: "AddPeople",
|
|
530
364
|
exact: false,
|
|
531
365
|
auth: true,
|
|
532
366
|
props: {
|
|
@@ -534,284 +368,209 @@ import React__default from'react';import {Login}from'../screens/Login.js';import
|
|
|
534
368
|
orgName: null,
|
|
535
369
|
channelId: null
|
|
536
370
|
},
|
|
537
|
-
component: props => React__default.createElement(Lifecycle, {
|
|
538
|
-
|
|
539
|
-
loadingRenderer: LoadingSpinnerDefault
|
|
540
|
-
}, React__default.createElement(AddPeople, Object.assign({}, props))),
|
|
541
|
-
//component: (props: any) => <AddPeople {...props} />,
|
|
542
|
-
unauthenticatedComponent: props => React__default.createElement(Login, Object.assign({}, props)),
|
|
371
|
+
component: (props) => /* @__PURE__ */ React__default.createElement(Lifecycle, { renderWhenPhase: LifecyclePhase.Restored, loadingRenderer: LoadingSpinnerDefault }, /* @__PURE__ */ React__default.createElement(AddPeople, __spreadValues({}, props))),
|
|
372
|
+
unauthenticatedComponent: (props) => /* @__PURE__ */ React__default.createElement(Login, __spreadValues({}, props)),
|
|
543
373
|
options: ({
|
|
544
374
|
navigation
|
|
545
375
|
}) => {
|
|
546
376
|
return {
|
|
547
|
-
//presentation: 'modal',
|
|
548
377
|
animationEnabled: false,
|
|
549
|
-
headerTitleAlign:
|
|
550
|
-
|
|
551
|
-
//animation: 'fade_from_bottom',
|
|
552
|
-
// header: NavigationHeader,
|
|
553
|
-
title: 'Add people',
|
|
378
|
+
headerTitleAlign: "left",
|
|
379
|
+
title: "Add people",
|
|
554
380
|
headerShown: true,
|
|
555
381
|
headerBackTitleVisible: false,
|
|
556
|
-
headerTintColor:
|
|
382
|
+
headerTintColor: "#1d1c1d",
|
|
557
383
|
gestureEnabled: false,
|
|
558
384
|
swipeEnabled: false
|
|
559
385
|
};
|
|
560
386
|
}
|
|
561
387
|
}
|
|
562
388
|
},
|
|
563
|
-
[
|
|
564
|
-
name:
|
|
389
|
+
["//:orgName/addpeople-by-email"]: {
|
|
390
|
+
name: "AddPeopleByEmail",
|
|
565
391
|
exact: false,
|
|
566
392
|
auth: true,
|
|
567
393
|
props: {
|
|
568
394
|
initialParams: {
|
|
569
395
|
orgName: null
|
|
570
396
|
},
|
|
571
|
-
component: props => React__default.createElement(Lifecycle, {
|
|
572
|
-
|
|
573
|
-
loadingRenderer: LoadingSpinnerDefault
|
|
574
|
-
}, React__default.createElement(AddPeopleByEmail, Object.assign({}, props))),
|
|
575
|
-
//component: (props: any) => <AddPeople {...props} />,
|
|
576
|
-
unauthenticatedComponent: props => React__default.createElement(Login, Object.assign({}, props)),
|
|
397
|
+
component: (props) => /* @__PURE__ */ React__default.createElement(Lifecycle, { renderWhenPhase: LifecyclePhase.Restored, loadingRenderer: LoadingSpinnerDefault }, /* @__PURE__ */ React__default.createElement(AddPeopleByEmail, __spreadValues({}, props))),
|
|
398
|
+
unauthenticatedComponent: (props) => /* @__PURE__ */ React__default.createElement(Login, __spreadValues({}, props)),
|
|
577
399
|
options: ({
|
|
578
400
|
navigation
|
|
579
401
|
}) => {
|
|
580
402
|
return {
|
|
581
|
-
presentation:
|
|
403
|
+
presentation: "modal",
|
|
582
404
|
animationEnabled: false,
|
|
583
|
-
headerTitleAlign:
|
|
584
|
-
|
|
585
|
-
//animation: 'fade_from_bottom',
|
|
586
|
-
// header: NavigationHeader,
|
|
587
|
-
title: 'Add by Email',
|
|
405
|
+
headerTitleAlign: "left",
|
|
406
|
+
title: "Add by Email",
|
|
588
407
|
headerShown: true,
|
|
589
408
|
headerBackTitleVisible: false,
|
|
590
|
-
headerTintColor:
|
|
409
|
+
headerTintColor: "#1d1c1d",
|
|
591
410
|
gestureEnabled: false,
|
|
592
411
|
swipeEnabled: false
|
|
593
412
|
};
|
|
594
413
|
}
|
|
595
414
|
}
|
|
596
415
|
},
|
|
597
|
-
[
|
|
598
|
-
name:
|
|
416
|
+
["//:orgName/addpeople-from-contacts"]: {
|
|
417
|
+
name: "AddPeopleFromContacts",
|
|
599
418
|
exact: false,
|
|
600
419
|
auth: true,
|
|
601
420
|
props: {
|
|
602
421
|
initialParams: {
|
|
603
422
|
orgName: null
|
|
604
423
|
},
|
|
605
|
-
component: props => React__default.createElement(Lifecycle, {
|
|
606
|
-
|
|
607
|
-
loadingRenderer: LoadingSpinnerDefault
|
|
608
|
-
}, React__default.createElement(AddFromContacts, Object.assign({}, props))),
|
|
609
|
-
//component: (props: any) => <AddPeople {...props} />,
|
|
610
|
-
unauthenticatedComponent: props => React__default.createElement(Login, Object.assign({}, props)),
|
|
424
|
+
component: (props) => /* @__PURE__ */ React__default.createElement(Lifecycle, { renderWhenPhase: LifecyclePhase.Restored, loadingRenderer: LoadingSpinnerDefault }, /* @__PURE__ */ React__default.createElement(AddFromContacts, __spreadValues({}, props))),
|
|
425
|
+
unauthenticatedComponent: (props) => /* @__PURE__ */ React__default.createElement(Login, __spreadValues({}, props)),
|
|
611
426
|
options: ({
|
|
612
427
|
navigation
|
|
613
428
|
}) => {
|
|
614
429
|
return {
|
|
615
|
-
presentation:
|
|
430
|
+
presentation: "modal",
|
|
616
431
|
animationEnabled: false,
|
|
617
|
-
headerTitleAlign:
|
|
618
|
-
|
|
619
|
-
//animation: 'fade_from_bottom',
|
|
620
|
-
// header: NavigationHeader,
|
|
621
|
-
title: 'Add teammates',
|
|
432
|
+
headerTitleAlign: "left",
|
|
433
|
+
title: "Add teammates",
|
|
622
434
|
headerShown: true,
|
|
623
435
|
headerBackTitleVisible: false,
|
|
624
|
-
headerTintColor:
|
|
436
|
+
headerTintColor: "#1d1c1d",
|
|
625
437
|
gestureEnabled: false,
|
|
626
438
|
swipeEnabled: false
|
|
627
439
|
};
|
|
628
440
|
}
|
|
629
441
|
}
|
|
630
442
|
},
|
|
631
|
-
[
|
|
632
|
-
name:
|
|
443
|
+
["//:orgName/searchchannelpeople"]: {
|
|
444
|
+
name: "SearchChannelPeople",
|
|
633
445
|
exact: false,
|
|
634
446
|
auth: true,
|
|
635
447
|
props: {
|
|
636
448
|
initialParams: {},
|
|
637
|
-
component: props => React__default.createElement(Lifecycle, {
|
|
638
|
-
|
|
639
|
-
loadingRenderer: LoadingSpinnerDefault
|
|
640
|
-
}, React__default.createElement(SearchChannelPeople, Object.assign({}, props))),
|
|
641
|
-
// component: (props: any) => <SearchChannelPeople {...props} />,
|
|
642
|
-
unauthenticatedComponent: props => React__default.createElement(Login, Object.assign({}, props)),
|
|
449
|
+
component: (props) => /* @__PURE__ */ React__default.createElement(Lifecycle, { renderWhenPhase: LifecyclePhase.Restored, loadingRenderer: LoadingSpinnerDefault }, /* @__PURE__ */ React__default.createElement(SearchChannelPeople, __spreadValues({}, props))),
|
|
450
|
+
unauthenticatedComponent: (props) => /* @__PURE__ */ React__default.createElement(Login, __spreadValues({}, props)),
|
|
643
451
|
options: ({
|
|
644
452
|
navigation
|
|
645
453
|
}) => {
|
|
646
454
|
return {
|
|
647
|
-
//presentation: 'modal',
|
|
648
455
|
animationEnabled: false,
|
|
649
|
-
headerTitleAlign:
|
|
650
|
-
|
|
651
|
-
//animation: 'fade_from_bottom',
|
|
652
|
-
// header: NavigationHeader,
|
|
653
|
-
title: 'New Message',
|
|
456
|
+
headerTitleAlign: "left",
|
|
457
|
+
title: "New Message",
|
|
654
458
|
headerShown: false,
|
|
655
|
-
presentation:
|
|
459
|
+
presentation: "fullScreenModal",
|
|
656
460
|
headerBackTitleVisible: false,
|
|
657
|
-
headerTintColor:
|
|
461
|
+
headerTintColor: "#1d1c1d",
|
|
658
462
|
gestureEnabled: false,
|
|
659
463
|
swipeEnabled: false
|
|
660
464
|
};
|
|
661
465
|
}
|
|
662
466
|
}
|
|
663
467
|
},
|
|
664
|
-
[
|
|
665
|
-
name:
|
|
468
|
+
["//:orgName/teams"]: {
|
|
469
|
+
name: "Teams",
|
|
666
470
|
exact: false,
|
|
667
471
|
auth: true,
|
|
668
472
|
props: {
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
renderWhenPhase: 3 /* LifecyclePhase.Restored */,
|
|
672
|
-
loadingRenderer: LoadingSpinnerDefault
|
|
673
|
-
}, React__default.createElement(Teams, Object.assign({}, props))),
|
|
674
|
-
//component: (props: any) => <Teams {...props} />,
|
|
675
|
-
unauthenticatedComponent: props => React__default.createElement(Login, Object.assign({}, props)),
|
|
473
|
+
component: (props) => /* @__PURE__ */ React__default.createElement(Lifecycle, { renderWhenPhase: LifecyclePhase.Restored, loadingRenderer: LoadingSpinnerDefault }, /* @__PURE__ */ React__default.createElement(Teams, __spreadValues({}, props))),
|
|
474
|
+
unauthenticatedComponent: (props) => /* @__PURE__ */ React__default.createElement(Login, __spreadValues({}, props)),
|
|
676
475
|
options: ({
|
|
677
476
|
navigation
|
|
678
477
|
}) => {
|
|
679
478
|
return {
|
|
680
|
-
title:
|
|
479
|
+
title: "Teams",
|
|
681
480
|
headerShown: true,
|
|
682
|
-
header: props => React__default.createElement(NavigationHeader,
|
|
683
|
-
showTitle: false,
|
|
684
|
-
showOrganizationTitle: false,
|
|
685
|
-
showToggle: true,
|
|
686
|
-
showFilter: false,
|
|
687
|
-
isSearchBack: false,
|
|
688
|
-
showProfile: false,
|
|
689
|
-
showDefaultSearchBox: false,
|
|
690
|
-
headerBgColor: 'white',
|
|
691
|
-
backBtnColor: 'black'
|
|
692
|
-
}))
|
|
693
|
-
//presentation: 'fullScreenModal',
|
|
481
|
+
header: (props) => /* @__PURE__ */ React__default.createElement(NavigationHeader, __spreadProps(__spreadValues({}, props), { showTitle: false, showOrganizationTitle: false, showToggle: true, showFilter: false, isSearchBack: false, showProfile: false, showDefaultSearchBox: false, headerBgColor: "white", backBtnColor: "black" }))
|
|
694
482
|
};
|
|
695
483
|
}
|
|
696
484
|
}
|
|
697
485
|
},
|
|
698
|
-
[
|
|
486
|
+
["//:orgName/team/view/:teamName"]: {
|
|
699
487
|
exact: false,
|
|
700
|
-
name:
|
|
488
|
+
name: "Team",
|
|
701
489
|
auth: true,
|
|
702
490
|
props: {
|
|
703
491
|
initialParams: {
|
|
704
492
|
orgName: null,
|
|
705
493
|
teamName: null
|
|
706
494
|
},
|
|
707
|
-
component: props => React__default.createElement(Lifecycle, {
|
|
708
|
-
|
|
709
|
-
loadingRenderer: LoadingSpinnerDefault
|
|
710
|
-
}, React__default.createElement(TeamTabNavigation, Object.assign({}, props))),
|
|
711
|
-
unauthenticatedComponent: props => React__default.createElement(Login, Object.assign({}, props)),
|
|
495
|
+
component: (props) => /* @__PURE__ */ React__default.createElement(Lifecycle, { renderWhenPhase: LifecyclePhase.Restored, loadingRenderer: LoadingSpinnerDefault }, /* @__PURE__ */ React__default.createElement(TeamTabNavigation, __spreadValues({}, props))),
|
|
496
|
+
unauthenticatedComponent: (props) => /* @__PURE__ */ React__default.createElement(Login, __spreadValues({}, props)),
|
|
712
497
|
options: ({
|
|
713
498
|
navigation,
|
|
714
499
|
route
|
|
715
500
|
}) => {
|
|
716
501
|
var _a, _b;
|
|
717
502
|
return {
|
|
718
|
-
title: (_b = (_a = route
|
|
719
|
-
|
|
720
|
-
header: props => React__default.createElement(NavigationHeader, Object.assign({}, props, props, {
|
|
721
|
-
showTitle: true,
|
|
722
|
-
showOrganizationTitle: false,
|
|
723
|
-
showToggle: true,
|
|
724
|
-
showFilter: false,
|
|
725
|
-
isSearchBack: false,
|
|
726
|
-
showProfile: false,
|
|
727
|
-
showDefaultSearchBox: false
|
|
728
|
-
})),
|
|
503
|
+
title: (_b = (_a = route == null ? void 0 : route.params) == null ? void 0 : _a.title) != null ? _b : "Team",
|
|
504
|
+
header: (props) => /* @__PURE__ */ React__default.createElement(NavigationHeader, __spreadProps(__spreadValues(__spreadValues({}, props), props), { showTitle: true, showOrganizationTitle: false, showToggle: true, showFilter: false, isSearchBack: false, showProfile: false, showDefaultSearchBox: false })),
|
|
729
505
|
headerShown: true,
|
|
730
506
|
headerBackTitleVisible: false,
|
|
731
507
|
gestureEnabled: true,
|
|
732
508
|
swipeEnabled: true,
|
|
733
|
-
presentation:
|
|
509
|
+
presentation: "fullScreenModal",
|
|
734
510
|
animationEnabled: true
|
|
735
|
-
// headerTintColor: '#ff5a60',
|
|
736
|
-
// headerTitleStyle: { color: 'black' },
|
|
737
511
|
};
|
|
738
512
|
}
|
|
739
513
|
}
|
|
740
514
|
},
|
|
741
|
-
[
|
|
742
|
-
name:
|
|
515
|
+
["//:orgName/addteam"]: {
|
|
516
|
+
name: "AddTeam",
|
|
743
517
|
exact: false,
|
|
744
518
|
auth: true,
|
|
745
519
|
props: {
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
renderWhenPhase: 3 /* LifecyclePhase.Restored */,
|
|
749
|
-
loadingRenderer: LoadingSpinnerDefault
|
|
750
|
-
}, React__default.createElement(AddTeam, Object.assign({}, props))),
|
|
751
|
-
// component: (props: any) => <AddTeam {...props} />,
|
|
752
|
-
unauthenticatedComponent: props => React__default.createElement(Login, Object.assign({}, props)),
|
|
520
|
+
component: (props) => /* @__PURE__ */ React__default.createElement(Lifecycle, { renderWhenPhase: LifecyclePhase.Restored, loadingRenderer: LoadingSpinnerDefault }, /* @__PURE__ */ React__default.createElement(AddTeam, __spreadValues({}, props))),
|
|
521
|
+
unauthenticatedComponent: (props) => /* @__PURE__ */ React__default.createElement(Login, __spreadValues({}, props)),
|
|
753
522
|
options: ({
|
|
754
523
|
navigation
|
|
755
524
|
}) => {
|
|
756
525
|
return {
|
|
757
|
-
//presentation: 'modal',
|
|
758
526
|
animationEnabled: false,
|
|
759
|
-
headerTitleAlign:
|
|
760
|
-
|
|
761
|
-
//animation: 'fade_from_bottom',
|
|
762
|
-
// header: NavigationHeader,
|
|
763
|
-
title: 'New Team',
|
|
527
|
+
headerTitleAlign: "left",
|
|
528
|
+
title: "New Team",
|
|
764
529
|
headerShown: true,
|
|
765
530
|
headerBackTitleVisible: false,
|
|
766
|
-
headerTintColor:
|
|
531
|
+
headerTintColor: "#1d1c1d",
|
|
767
532
|
gestureEnabled: false,
|
|
768
533
|
swipeEnabled: false
|
|
769
534
|
};
|
|
770
535
|
}
|
|
771
536
|
}
|
|
772
537
|
},
|
|
773
|
-
[
|
|
774
|
-
name:
|
|
538
|
+
["//:orgName/peoples"]: {
|
|
539
|
+
name: "Peoples",
|
|
775
540
|
exact: false,
|
|
776
541
|
auth: true,
|
|
777
542
|
props: {
|
|
778
543
|
initialParams: {},
|
|
779
|
-
component: props => React__default.createElement(Lifecycle, {
|
|
780
|
-
|
|
781
|
-
loadingRenderer: LoadingSpinnerDefault
|
|
782
|
-
}, React__default.createElement(Peoples, Object.assign({}, props))),
|
|
783
|
-
//component: (props: any) => <Peoples {...props} />,
|
|
784
|
-
unauthenticatedComponent: props => React__default.createElement(Login, Object.assign({}, props)),
|
|
544
|
+
component: (props) => /* @__PURE__ */ React__default.createElement(Lifecycle, { renderWhenPhase: LifecyclePhase.Restored, loadingRenderer: LoadingSpinnerDefault }, /* @__PURE__ */ React__default.createElement(Peoples, __spreadValues({}, props))),
|
|
545
|
+
unauthenticatedComponent: (props) => /* @__PURE__ */ React__default.createElement(Login, __spreadValues({}, props)),
|
|
785
546
|
options: ({
|
|
786
547
|
navigation
|
|
787
548
|
}) => {
|
|
788
549
|
return {
|
|
789
|
-
presentation:
|
|
790
|
-
|
|
791
|
-
title: 'People',
|
|
550
|
+
presentation: "modal",
|
|
551
|
+
title: "People",
|
|
792
552
|
headerShown: true,
|
|
793
553
|
headerBackTitleVisible: false,
|
|
794
|
-
headerTintColor:
|
|
554
|
+
headerTintColor: "#1d1c1d",
|
|
795
555
|
gestureEnabled: false,
|
|
796
556
|
swipeEnabled: false
|
|
797
557
|
};
|
|
798
558
|
}
|
|
799
559
|
}
|
|
800
560
|
},
|
|
801
|
-
[
|
|
802
|
-
name:
|
|
561
|
+
["//:orgName/notifications"]: {
|
|
562
|
+
name: "Notifications",
|
|
803
563
|
exact: false,
|
|
804
564
|
priority: 5,
|
|
805
565
|
auth: true,
|
|
806
566
|
props: {
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
unauthenticatedComponent: () => React__default.createElement(Login, null),
|
|
567
|
+
component: (props) => /* @__PURE__ */ React__default.createElement(NotificationsScreen, __spreadValues({}, props)),
|
|
568
|
+
unauthenticatedComponent: () => /* @__PURE__ */ React__default.createElement(Login, null),
|
|
810
569
|
options: ({
|
|
811
570
|
navigation
|
|
812
571
|
}) => {
|
|
813
572
|
return {
|
|
814
|
-
title:
|
|
573
|
+
title: "Notification",
|
|
815
574
|
gestureEnabled: false,
|
|
816
575
|
swipeEnabled: false
|
|
817
576
|
};
|