@adminide-stack/yantra-mobile 12.0.69-alpha.9 → 12.0.70-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/GatewayConnector/GatewayConnector.js +2 -2
- package/lib/components/GatewayConnector/GatewayConnector.js.map +1 -1
- package/lib/components/KeyboardComposerDock.js +8 -1
- package/lib/components/KeyboardComposerDock.js.map +1 -1
- package/lib/components/NavigationHeader/NavigationHeader.js +2 -2
- package/lib/components/NavigationHeader/NavigationHeader.js.map +1 -1
- package/lib/config/env-config.js +4 -0
- package/lib/config/env-config.js.map +1 -1
- package/lib/contexts/ChatLiveStreamContext.js +4 -1
- package/lib/contexts/ChatLiveStreamContext.js.map +1 -1
- package/lib/features/agent-chat/NativeAgentChat.js +2 -0
- package/lib/features/agent-chat/NativeAgentChat.js.map +1 -1
- package/lib/features/apps/AppsCatalog.js +2 -2
- package/lib/features/apps/AppsCatalog.js.map +1 -1
- package/lib/features/audio-input/MicErrorBoundary.js +2 -2
- package/lib/features/audio-input/MicErrorBoundary.js.map +1 -1
- package/lib/features/canvas/AudioEditorExperience.js +308 -0
- package/lib/features/canvas/AudioEditorExperience.js.map +1 -0
- package/lib/features/canvas/CanvasAgentChatPane.js +310 -0
- package/lib/features/canvas/CanvasAgentChatPane.js.map +1 -0
- package/lib/features/canvas/CanvasBoardsGrid.js +414 -0
- package/lib/features/canvas/CanvasBoardsGrid.js.map +1 -0
- package/lib/features/canvas/CanvasChatResultCard.js +113 -0
- package/lib/features/canvas/CanvasChatResultCard.js.map +1 -0
- package/lib/features/canvas/CanvasEditToolsPanel.js +179 -0
- package/lib/features/canvas/CanvasEditToolsPanel.js.map +1 -0
- package/lib/features/canvas/CanvasExperience.js +859 -0
- package/lib/features/canvas/CanvasExperience.js.map +1 -0
- package/lib/features/canvas/CanvasGeneratePanel.js +514 -0
- package/lib/features/canvas/CanvasGeneratePanel.js.map +1 -0
- package/lib/features/canvas/CanvasLibrarySheet.js +355 -0
- package/lib/features/canvas/CanvasLibrarySheet.js.map +1 -0
- package/lib/features/canvas/CanvasLooksPanel.js +184 -0
- package/lib/features/canvas/CanvasLooksPanel.js.map +1 -0
- package/lib/features/canvas/CanvasTasksPanel.js +138 -0
- package/lib/features/canvas/CanvasTasksPanel.js.map +1 -0
- package/lib/features/canvas/CanvasTemplatesPanel.js +226 -0
- package/lib/features/canvas/CanvasTemplatesPanel.js.map +1 -0
- package/lib/features/canvas/CanvasToolDock.js +423 -0
- package/lib/features/canvas/CanvasToolDock.js.map +1 -0
- package/lib/features/canvas/FrameExtractorExperience.js +242 -0
- package/lib/features/canvas/FrameExtractorExperience.js.map +1 -0
- package/lib/features/canvas/ImageEditorExperience.js +491 -0
- package/lib/features/canvas/ImageEditorExperience.js.map +1 -0
- package/lib/features/canvas/InfluencerStudioExperience.js +288 -0
- package/lib/features/canvas/InfluencerStudioExperience.js.map +1 -0
- package/lib/features/canvas/MoodboardExperience.js +205 -0
- package/lib/features/canvas/MoodboardExperience.js.map +1 -0
- package/lib/features/canvas/NativeCanvasViewer.js +929 -0
- package/lib/features/canvas/NativeCanvasViewer.js.map +1 -0
- package/lib/features/canvas/PromoContextFields.js +150 -0
- package/lib/features/canvas/PromoContextFields.js.map +1 -0
- package/lib/features/canvas/SetStudioExperience.js +323 -0
- package/lib/features/canvas/SetStudioExperience.js.map +1 -0
- package/lib/features/canvas/VideoClipsExperience.js +175 -0
- package/lib/features/canvas/VideoClipsExperience.js.map +1 -0
- package/lib/features/canvas/VideoEditExperience.js +824 -0
- package/lib/features/canvas/VideoEditExperience.js.map +1 -0
- package/lib/features/canvas/VideoEditorExperience.js +3050 -0
- package/lib/features/canvas/VideoEditorExperience.js.map +1 -0
- package/lib/features/canvas/VideoGeneratorExperience.js +415 -0
- package/lib/features/canvas/VideoGeneratorExperience.js.map +1 -0
- package/lib/features/canvas/aiEdit.js +53 -0
- package/lib/features/canvas/aiEdit.js.map +1 -0
- package/lib/features/canvas/canvasAgentChat.js +76 -0
- package/lib/features/canvas/canvasAgentChat.js.map +1 -0
- package/lib/features/canvas/canvasBoardsCatalog.js +59 -0
- package/lib/features/canvas/canvasBoardsCatalog.js.map +1 -0
- package/lib/features/canvas/canvasBoardsSnapshot.js +14 -1
- package/lib/features/canvas/canvasBoardsSnapshot.js.map +1 -1
- package/lib/features/canvas/canvasChatDisplay.js +38 -0
- package/lib/features/canvas/canvasChatDisplay.js.map +1 -0
- package/lib/features/canvas/canvasChatTemplates.js +219 -0
- package/lib/features/canvas/canvasChatTemplates.js.map +1 -0
- package/lib/features/canvas/canvasCore.js +138 -1
- package/lib/features/canvas/canvasCore.js.map +1 -1
- package/lib/features/canvas/canvasEditOps.js +224 -0
- package/lib/features/canvas/canvasEditOps.js.map +1 -0
- package/lib/features/canvas/canvasTasks.js +187 -0
- package/lib/features/canvas/canvasTasks.js.map +1 -0
- package/lib/features/canvas/designPromptTemplates.js +3084 -0
- package/lib/features/canvas/designPromptTemplates.js.map +1 -0
- package/lib/features/canvas/editTools.js +54 -0
- package/lib/features/canvas/editTools.js.map +1 -0
- package/lib/features/canvas/extendVideo.js +5 -0
- package/lib/features/canvas/extendVideo.js.map +1 -0
- package/lib/features/canvas/frameExtract.js +33 -0
- package/lib/features/canvas/frameExtract.js.map +1 -0
- package/lib/features/canvas/generationModels.js +201 -0
- package/lib/features/canvas/generationModels.js.map +1 -0
- package/lib/features/canvas/influencer/influencerPipeline.js +170 -0
- package/lib/features/canvas/influencer/influencerPipeline.js.map +1 -0
- package/lib/features/canvas/influencer/productReel.js +72 -0
- package/lib/features/canvas/influencer/productReel.js.map +1 -0
- package/lib/features/canvas/influencer/reelPlan.js +159 -0
- package/lib/features/canvas/influencer/reelPlan.js.map +1 -0
- package/lib/features/canvas/moodboardCore.js +13 -0
- package/lib/features/canvas/moodboardCore.js.map +1 -0
- package/lib/features/canvas/promoProjectImport.js +99 -0
- package/lib/features/canvas/promoProjectImport.js.map +1 -0
- package/lib/features/canvas/promoVideo.js +312 -0
- package/lib/features/canvas/promoVideo.js.map +1 -0
- package/lib/features/canvas/recorder/CameraRecorderExperience.js +109 -0
- package/lib/features/canvas/recorder/CameraRecorderExperience.js.map +1 -0
- package/lib/features/canvas/sessionIdentity.js +28 -1
- package/lib/features/canvas/sessionIdentity.js.map +1 -1
- package/lib/features/canvas/set/SetViewportWebView.js +133 -0
- package/lib/features/canvas/set/SetViewportWebView.js.map +1 -0
- package/lib/features/canvas/set/cameraPath.js +194 -0
- package/lib/features/canvas/set/cameraPath.js.map +1 -0
- package/lib/features/canvas/set/setProject.js +24 -0
- package/lib/features/canvas/set/setProject.js.map +1 -0
- package/lib/features/canvas/storageLibrary.js +184 -0
- package/lib/features/canvas/storageLibrary.js.map +1 -0
- package/lib/features/canvas/studioCatalog.js +129 -0
- package/lib/features/canvas/studioCatalog.js.map +1 -0
- package/lib/features/canvas/studioLooks.js +189 -0
- package/lib/features/canvas/studioLooks.js.map +1 -0
- package/lib/features/canvas/surfaceIndex.js +63 -1
- package/lib/features/canvas/surfaceIndex.js.map +1 -1
- package/lib/features/canvas/templateImport/invideoNative.js +221 -0
- package/lib/features/canvas/templateImport/invideoNative.js.map +1 -0
- package/lib/features/canvas/templateImport/loadTemplate.js +43 -0
- package/lib/features/canvas/templateImport/loadTemplate.js.map +1 -0
- package/lib/features/canvas/templateImport/renderConfig.js +93 -0
- package/lib/features/canvas/templateImport/renderConfig.js.map +1 -0
- package/lib/features/canvas/useStudioCatalogTemplates.js +134 -0
- package/lib/features/canvas/useStudioCatalogTemplates.js.map +1 -0
- package/lib/features/canvas/video3d.js +109 -0
- package/lib/features/canvas/video3d.js.map +1 -0
- package/lib/features/canvas/videoClips.js +42 -0
- package/lib/features/canvas/videoClips.js.map +1 -0
- package/lib/features/canvas/videoEditor/agent/AgentCutPane.js +120 -0
- package/lib/features/canvas/videoEditor/agent/AgentCutPane.js.map +1 -0
- package/lib/features/canvas/videoEditor/agent/agentLoop.js +69 -0
- package/lib/features/canvas/videoEditor/agent/agentLoop.js.map +1 -0
- package/lib/features/canvas/videoEditor/agent/brainClient.js +45 -0
- package/lib/features/canvas/videoEditor/agent/brainClient.js.map +1 -0
- package/lib/features/canvas/videoEditor/agent/cutTools.js +129 -0
- package/lib/features/canvas/videoEditor/agent/cutTools.js.map +1 -0
- package/lib/features/canvas/videoEditor/editorModel.js +346 -0
- package/lib/features/canvas/videoEditor/editorModel.js.map +1 -0
- package/lib/features/canvas/videoEditor/exportRenderer.js +214 -0
- package/lib/features/canvas/videoEditor/exportRenderer.js.map +1 -0
- package/lib/features/canvas/videoEditor/filters.js +41 -0
- package/lib/features/canvas/videoEditor/filters.js.map +1 -0
- package/lib/features/canvas/videoEditor/mediaActions.js +57 -0
- package/lib/features/canvas/videoEditor/mediaActions.js.map +1 -0
- package/lib/features/canvas/videoEditor/remoteMediaClient.js +129 -0
- package/lib/features/canvas/videoEditor/remoteMediaClient.js.map +1 -0
- package/lib/features/canvas/videoEditor/solidColorPng.js +115 -0
- package/lib/features/canvas/videoEditor/solidColorPng.js.map +1 -0
- package/lib/features/canvas/videoEditor/videoEditOps.js +191 -0
- package/lib/features/canvas/videoEditor/videoEditOps.js.map +1 -0
- package/lib/features/canvas/videoEditor/videoProjectsStore.js +82 -0
- package/lib/features/canvas/videoEditor/videoProjectsStore.js.map +1 -0
- package/lib/features/canvas/videoRenderer.js +8 -0
- package/lib/features/canvas/videoRenderer.js.map +1 -0
- package/lib/features/canvas/withRemoteSafeArea.js +2 -2
- package/lib/features/canvas/withRemoteSafeArea.js.map +1 -1
- package/lib/features/characters/characterStudioProps.js +14 -0
- package/lib/features/characters/characterStudioProps.js.map +1 -0
- package/lib/features/chat/ChatCodeBlock.js +7 -3
- package/lib/features/chat/ChatCodeBlock.js.map +1 -1
- package/lib/features/chat/ChatTranscript.js +7 -3
- package/lib/features/chat/ChatTranscript.js.map +1 -1
- package/lib/features/chat/ChatWidgetCard.js +13 -0
- package/lib/features/chat/ChatWidgetCard.js.map +1 -0
- package/lib/features/chat/ConnectorConnectCard.js +166 -0
- package/lib/features/chat/ConnectorConnectCard.js.map +1 -0
- package/lib/features/chat/ConnectorConnectPrompt.js +272 -0
- package/lib/features/chat/ConnectorConnectPrompt.js.map +1 -0
- package/lib/features/chat/MessageActionBar.js.map +1 -1
- package/lib/features/chat/QueuedFollowUps.js +71 -0
- package/lib/features/chat/QueuedFollowUps.js.map +1 -0
- package/lib/features/chat/chatWidgets.js +37 -0
- package/lib/features/chat/chatWidgets.js.map +1 -0
- package/lib/features/chat/connectorConnect.js +207 -0
- package/lib/features/chat/connectorConnect.js.map +1 -0
- package/lib/features/chat/connectorConnectHandbacks.js +55 -0
- package/lib/features/chat/connectorConnectHandbacks.js.map +1 -0
- package/lib/features/design/DesignEditorExperience.js +643 -0
- package/lib/features/design/DesignEditorExperience.js.map +1 -0
- package/lib/features/design/DesignExperience.js +444 -0
- package/lib/features/design/DesignExperience.js.map +1 -0
- package/lib/features/design/designCore.js +298 -0
- package/lib/features/design/designCore.js.map +1 -0
- package/lib/features/design/designIndex.js +150 -0
- package/lib/features/design/designIndex.js.map +1 -0
- package/lib/features/design/exportDesign.js +133 -0
- package/lib/features/design/exportDesign.js.map +1 -0
- package/lib/features/job-search/ApplicationsPanel.js +907 -0
- package/lib/features/job-search/ApplicationsPanel.js.map +1 -0
- package/lib/features/job-search/ContactsPanel.js +627 -0
- package/lib/features/job-search/ContactsPanel.js.map +1 -0
- package/lib/features/job-search/InsightsPanel.js +299 -0
- package/lib/features/job-search/InsightsPanel.js.map +1 -0
- package/lib/features/job-search/InterviewPanel.js +637 -0
- package/lib/features/job-search/InterviewPanel.js.map +1 -0
- package/lib/features/job-search/JdPastePrompt.js +130 -0
- package/lib/features/job-search/JdPastePrompt.js.map +1 -0
- package/lib/features/job-search/JobCard.js +199 -0
- package/lib/features/job-search/JobCard.js.map +1 -0
- package/lib/features/job-search/JobDetailSheet.js +255 -0
- package/lib/features/job-search/JobDetailSheet.js.map +1 -0
- package/lib/features/job-search/JobSearchAgentChatPane.js +377 -0
- package/lib/features/job-search/JobSearchAgentChatPane.js.map +1 -0
- package/lib/features/job-search/JobSearchExperience.js +1324 -0
- package/lib/features/job-search/JobSearchExperience.js.map +1 -0
- package/lib/features/job-search/JobSearchLocationField.js +231 -0
- package/lib/features/job-search/JobSearchLocationField.js.map +1 -0
- package/lib/features/job-search/ProfilePanel.js +679 -0
- package/lib/features/job-search/ProfilePanel.js.map +1 -0
- package/lib/features/job-search/RepliesPanel.js +344 -0
- package/lib/features/job-search/RepliesPanel.js.map +1 -0
- package/lib/features/job-search/SavedPanel.js +297 -0
- package/lib/features/job-search/SavedPanel.js.map +1 -0
- package/lib/features/job-search/chat/widgetContent.js +29 -0
- package/lib/features/job-search/chat/widgetContent.js.map +1 -0
- package/lib/features/job-search/cvText.js +91 -0
- package/lib/features/job-search/cvText.js.map +1 -0
- package/lib/features/job-search/jobAgentSwipe.js +7 -0
- package/lib/features/job-search/jobAgentSwipe.js.map +1 -0
- package/lib/features/job-search/jobSearchClient.js +184 -0
- package/lib/features/job-search/jobSearchClient.js.map +1 -0
- package/lib/features/job-search/jobSearchExec.js +14 -0
- package/lib/features/job-search/jobSearchExec.js.map +1 -0
- package/lib/features/job-search/jobSearchRuntime.js +50 -0
- package/lib/features/job-search/jobSearchRuntime.js.map +1 -0
- package/lib/features/job-search/jobSearchTheme.js +44 -0
- package/lib/features/job-search/jobSearchTheme.js.map +1 -0
- package/lib/features/job-search/savedJobs.js +85 -0
- package/lib/features/job-search/savedJobs.js.map +1 -0
- package/lib/features/job-search/searchHistory.js +117 -0
- package/lib/features/job-search/searchHistory.js.map +1 -0
- package/lib/features/job-search/types.js +36 -0
- package/lib/features/job-search/types.js.map +1 -0
- package/lib/features/job-search/useJobSearchSession.js +558 -0
- package/lib/features/job-search/useJobSearchSession.js.map +1 -0
- package/lib/features/messaging/ChatComponents.js +529 -0
- package/lib/features/messaging/ChatComponents.js.map +1 -0
- package/lib/features/messaging/ChatInviteDeepLink.js +116 -0
- package/lib/features/messaging/ChatInviteDeepLink.js.map +1 -0
- package/lib/features/messaging/ContactsScreen.js +288 -0
- package/lib/features/messaging/ContactsScreen.js.map +1 -0
- package/lib/features/messaging/ConversationListScreen.js +147 -0
- package/lib/features/messaging/ConversationListScreen.js.map +1 -0
- package/lib/features/messaging/MessageActions.js +290 -0
- package/lib/features/messaging/MessageActions.js.map +1 -0
- package/lib/features/messaging/NativeChatExperience.js +189 -0
- package/lib/features/messaging/NativeChatExperience.js.map +1 -0
- package/lib/features/messaging/RegistrationScreen.js +11 -14
- package/lib/features/messaging/RegistrationScreen.js.map +1 -1
- package/lib/features/messaging/ThreadScreen.js +215 -0
- package/lib/features/messaging/ThreadScreen.js.map +1 -0
- package/lib/features/messaging/chatInviteLink.js +52 -0
- package/lib/features/messaging/chatInviteLink.js.map +1 -0
- package/lib/features/messaging/chatModel.js +278 -0
- package/lib/features/messaging/chatModel.js.map +1 -0
- package/lib/features/messaging/chatOperations.js +106 -1
- package/lib/features/messaging/chatOperations.js.map +1 -1
- package/lib/features/messaging/emojiCatalog.js +60 -0
- package/lib/features/messaging/emojiCatalog.js.map +1 -0
- package/lib/features/messaging/emojiKeywords.js +1592 -0
- package/lib/features/messaging/emojiKeywords.js.map +1 -0
- package/lib/features/messaging/nativeChatChannelQuery.js +27 -0
- package/lib/features/messaging/nativeChatChannelQuery.js.map +1 -0
- package/lib/features/messaging/phoneNumbers.js +52 -1
- package/lib/features/messaging/phoneNumbers.js.map +1 -1
- package/lib/features/messaging/sha256.js +68 -0
- package/lib/features/messaging/sha256.js.map +1 -0
- package/lib/features/messaging/useChatData.js +421 -0
- package/lib/features/messaging/useChatData.js.map +1 -0
- package/lib/features/messaging/useContactMatches.js +191 -0
- package/lib/features/messaging/useContactMatches.js.map +1 -0
- package/lib/features/messaging/usePhoneVerification.js +12 -12
- package/lib/features/messaging/usePhoneVerification.js.map +1 -1
- package/lib/features/messaging/yantraChatOrg.js +8 -3
- package/lib/features/messaging/yantraChatOrg.js.map +1 -1
- package/lib/features/resume/AnnotateModal.js +100 -0
- package/lib/features/resume/AnnotateModal.js.map +1 -0
- package/lib/features/resume/AnnotationBar.js +69 -0
- package/lib/features/resume/AnnotationBar.js.map +1 -0
- package/lib/features/resume/ExportSheet.js +105 -0
- package/lib/features/resume/ExportSheet.js.map +1 -0
- package/lib/features/resume/ResumeAgentChatPane.js +95 -0
- package/lib/features/resume/ResumeAgentChatPane.js.map +1 -0
- package/lib/features/resume/ResumeEditor.js +676 -0
- package/lib/features/resume/ResumeEditor.js.map +1 -0
- package/lib/features/resume/ResumeExperience.js +235 -0
- package/lib/features/resume/ResumeExperience.js.map +1 -0
- package/lib/features/resume/ResumeListPanel.js +262 -0
- package/lib/features/resume/ResumeListPanel.js.map +1 -0
- package/lib/features/resume/ResumeToolbar.js +236 -0
- package/lib/features/resume/ResumeToolbar.js.map +1 -0
- package/lib/features/resume/annotations.js +17 -0
- package/lib/features/resume/annotations.js.map +1 -0
- package/lib/features/resume/documentCss.js +52 -0
- package/lib/features/resume/documentCss.js.map +1 -0
- package/lib/features/resume/draft.js +89 -0
- package/lib/features/resume/draft.js.map +1 -0
- package/lib/features/resume/exportResume.js +43 -0
- package/lib/features/resume/exportResume.js.map +1 -0
- package/lib/features/resume/pickResumePhoto.js +22 -0
- package/lib/features/resume/pickResumePhoto.js.map +1 -0
- package/lib/features/resume/renderResume.js +121 -0
- package/lib/features/resume/renderResume.js.map +1 -0
- package/lib/features/resume/resumeClient.js +69 -0
- package/lib/features/resume/resumeClient.js.map +1 -0
- package/lib/features/resume/resumeExec.js +14 -0
- package/lib/features/resume/resumeExec.js.map +1 -0
- package/lib/features/resume/resumeIndex.js +244 -0
- package/lib/features/resume/resumeIndex.js.map +1 -0
- package/lib/features/resume/resumeRuntime.js +50 -0
- package/lib/features/resume/resumeRuntime.js.map +1 -0
- package/lib/features/resume/resumeTheme.js +34 -0
- package/lib/features/resume/resumeTheme.js.map +1 -0
- package/lib/features/resume/resumeToolbox.js +49 -0
- package/lib/features/resume/resumeToolbox.js.map +1 -0
- package/lib/features/resume/templates.js +90 -0
- package/lib/features/resume/templates.js.map +1 -0
- package/lib/features/resume/types.js +10 -0
- package/lib/features/resume/types.js.map +1 -0
- package/lib/features/resume/useResumeSession.js +183 -0
- package/lib/features/resume/useResumeSession.js.map +1 -0
- package/lib/features/shopping/DealsPanel.js +254 -0
- package/lib/features/shopping/DealsPanel.js.map +1 -0
- package/lib/features/shopping/HistoryPanel.js +147 -0
- package/lib/features/shopping/HistoryPanel.js.map +1 -0
- package/lib/features/shopping/OrdersPanel.js +157 -0
- package/lib/features/shopping/OrdersPanel.js.map +1 -0
- package/lib/features/shopping/ProductCard.js +326 -0
- package/lib/features/shopping/ProductCard.js.map +1 -0
- package/lib/features/shopping/ProductDetailSheet.js +313 -0
- package/lib/features/shopping/ProductDetailSheet.js.map +1 -0
- package/lib/features/shopping/ProductFilterBar.js +153 -0
- package/lib/features/shopping/ProductFilterBar.js.map +1 -0
- package/lib/features/shopping/ProductPhoto.js +27 -0
- package/lib/features/shopping/ProductPhoto.js.map +1 -0
- package/lib/features/shopping/SavedPanel.js +139 -0
- package/lib/features/shopping/SavedPanel.js.map +1 -0
- package/lib/features/shopping/ShoppingAgentChatPane.js +436 -0
- package/lib/features/shopping/ShoppingAgentChatPane.js.map +1 -0
- package/lib/features/shopping/ShoppingExperience.js +888 -0
- package/lib/features/shopping/ShoppingExperience.js.map +1 -0
- package/lib/features/shopping/TrendingSections.js +199 -0
- package/lib/features/shopping/TrendingSections.js.map +1 -0
- package/lib/features/shopping/WatchlistPanel.js +148 -0
- package/lib/features/shopping/WatchlistPanel.js.map +1 -0
- package/lib/features/shopping/catalog.js +238 -0
- package/lib/features/shopping/catalog.js.map +1 -0
- package/lib/features/shopping/chat/ShoppingChatResultCard.js +175 -0
- package/lib/features/shopping/chat/ShoppingChatResultCard.js.map +1 -0
- package/lib/features/shopping/chat/streamAssistantReply.js +34 -0
- package/lib/features/shopping/chat/streamAssistantReply.js.map +1 -0
- package/lib/features/shopping/chat/widgetContent.js +233 -0
- package/lib/features/shopping/chat/widgetContent.js.map +1 -0
- package/lib/features/shopping/hooks/useTrendingProducts.js +162 -0
- package/lib/features/shopping/hooks/useTrendingProducts.js.map +1 -0
- package/lib/features/shopping/productImage.js +42 -0
- package/lib/features/shopping/productImage.js.map +1 -0
- package/lib/features/shopping/savedProducts.js +84 -0
- package/lib/features/shopping/savedProducts.js.map +1 -0
- package/lib/features/shopping/services/catalogActions.js +166 -0
- package/lib/features/shopping/services/catalogActions.js.map +1 -0
- package/lib/features/shopping/services/parsePriceCheckIntent.js +58 -0
- package/lib/features/shopping/services/parsePriceCheckIntent.js.map +1 -0
- package/lib/features/shopping/services/parseShoppingIntent.js +67 -0
- package/lib/features/shopping/services/parseShoppingIntent.js.map +1 -0
- package/lib/features/shopping/services/productAvailability.js +25 -0
- package/lib/features/shopping/services/productAvailability.js.map +1 -0
- package/lib/features/shopping/services/productFilters.js +72 -0
- package/lib/features/shopping/services/productFilters.js.map +1 -0
- package/lib/features/shopping/services/retailerUrl.js +75 -0
- package/lib/features/shopping/services/retailerUrl.js.map +1 -0
- package/lib/features/shopping/services/shoppingChatReply.js +46 -0
- package/lib/features/shopping/services/shoppingChatReply.js.map +1 -0
- package/lib/features/shopping/services/shoppingProductSearch.js +336 -0
- package/lib/features/shopping/services/shoppingProductSearch.js.map +1 -0
- package/lib/features/shopping/services/shoppingSearchConnectorClient.js +41 -0
- package/lib/features/shopping/services/shoppingSearchConnectorClient.js.map +1 -0
- package/lib/features/shopping/shopAgentSwipe.js +7 -0
- package/lib/features/shopping/shopAgentSwipe.js.map +1 -0
- package/lib/features/shopping/shoppingCart.js +116 -0
- package/lib/features/shopping/shoppingCart.js.map +1 -0
- package/lib/features/shopping/shoppingExec.js +14 -0
- package/lib/features/shopping/shoppingExec.js.map +1 -0
- package/lib/features/shopping/shoppingHistoryStore.js +176 -0
- package/lib/features/shopping/shoppingHistoryStore.js.map +1 -0
- package/lib/features/shopping/shoppingRuntime.js +63 -0
- package/lib/features/shopping/shoppingRuntime.js.map +1 -0
- package/lib/features/shopping/timeAgo.js +14 -0
- package/lib/features/shopping/timeAgo.js.map +1 -0
- package/lib/features/shopping/useShoppingSearch.js +262 -0
- package/lib/features/shopping/useShoppingSearch.js.map +1 -0
- package/lib/features/travel/BookHeaderGlow.js +48 -0
- package/lib/features/travel/BookHeaderGlow.js.map +1 -0
- package/lib/features/travel/BookingsPanel.js +29 -0
- package/lib/features/travel/BookingsPanel.js.map +1 -0
- package/lib/features/travel/DiscoverPanel.js +155 -0
- package/lib/features/travel/DiscoverPanel.js.map +1 -0
- package/lib/features/travel/FlightCompareBar.js +86 -0
- package/lib/features/travel/FlightCompareBar.js.map +1 -0
- package/lib/features/travel/FlightDealsBoard.js +100 -0
- package/lib/features/travel/FlightDealsBoard.js.map +1 -0
- package/lib/features/travel/HistoryPanel.js +82 -0
- package/lib/features/travel/HistoryPanel.js.map +1 -0
- package/lib/features/travel/PopularDestinations.js +144 -0
- package/lib/features/travel/PopularDestinations.js.map +1 -0
- package/lib/features/travel/SavedPanel.js +27 -0
- package/lib/features/travel/SavedPanel.js.map +1 -0
- package/lib/features/travel/TravelAgentChatPane.js +303 -0
- package/lib/features/travel/TravelAgentChatPane.js.map +1 -0
- package/lib/features/travel/TravelBookHero.js +425 -0
- package/lib/features/travel/TravelBookHero.js.map +1 -0
- package/lib/features/travel/TravelDatesField.js +234 -0
- package/lib/features/travel/TravelDatesField.js.map +1 -0
- package/lib/features/travel/TravelDetailSheet.js +106 -0
- package/lib/features/travel/TravelDetailSheet.js.map +1 -0
- package/lib/features/travel/TravelExperience.js +624 -0
- package/lib/features/travel/TravelExperience.js.map +1 -0
- package/lib/features/travel/TravelGuestsField.js +85 -0
- package/lib/features/travel/TravelGuestsField.js.map +1 -0
- package/lib/features/travel/TravelLanding.js +318 -0
- package/lib/features/travel/TravelLanding.js.map +1 -0
- package/lib/features/travel/TravelLocationField.js +179 -0
- package/lib/features/travel/TravelLocationField.js.map +1 -0
- package/lib/features/travel/TravelPropertyCard.js +266 -0
- package/lib/features/travel/TravelPropertyCard.js.map +1 -0
- package/lib/features/travel/TravelPropertyPhoto.js +22 -0
- package/lib/features/travel/TravelPropertyPhoto.js.map +1 -0
- package/lib/features/travel/TravelRailFlyout.js +79 -0
- package/lib/features/travel/TravelRailFlyout.js.map +1 -0
- package/lib/features/travel/TravelResultsMap.js +126 -0
- package/lib/features/travel/TravelResultsMap.js.map +1 -0
- package/lib/features/travel/WorkspacePanel.js +148 -0
- package/lib/features/travel/WorkspacePanel.js.map +1 -0
- package/lib/features/travel/appNav.js +244 -0
- package/lib/features/travel/appNav.js.map +1 -0
- package/lib/features/travel/calendarDays.js +50 -0
- package/lib/features/travel/calendarDays.js.map +1 -0
- package/lib/features/travel/catalog.js +72 -0
- package/lib/features/travel/catalog.js.map +1 -0
- package/lib/features/travel/chat/TravelChatResultCard.js +107 -0
- package/lib/features/travel/chat/TravelChatResultCard.js.map +1 -0
- package/lib/features/travel/chat/widgetContent.js +107 -0
- package/lib/features/travel/chat/widgetContent.js.map +1 -0
- package/lib/features/travel/flightDeals.js +65 -0
- package/lib/features/travel/flightDeals.js.map +1 -0
- package/lib/features/travel/mapCoordinates.js +36 -0
- package/lib/features/travel/mapCoordinates.js.map +1 -0
- package/lib/features/travel/parseTravelIntent.js +303 -0
- package/lib/features/travel/parseTravelIntent.js.map +1 -0
- package/lib/features/travel/savedStays.js +66 -0
- package/lib/features/travel/savedStays.js.map +1 -0
- package/lib/features/travel/services/flightDealsBoard.js +111 -0
- package/lib/features/travel/services/flightDealsBoard.js.map +1 -0
- package/lib/features/travel/services/flightSearchConnectorClient.js +42 -0
- package/lib/features/travel/services/flightSearchConnectorClient.js.map +1 -0
- package/lib/features/travel/services/geocodeLocation.js +79 -0
- package/lib/features/travel/services/geocodeLocation.js.map +1 -0
- package/lib/features/travel/services/placePredictions.js +113 -0
- package/lib/features/travel/services/placePredictions.js.map +1 -0
- package/lib/features/travel/services/resolveOriginCity.js +27 -0
- package/lib/features/travel/services/resolveOriginCity.js.map +1 -0
- package/lib/features/travel/services/resortifiConnectorClient.js +76 -0
- package/lib/features/travel/services/resortifiConnectorClient.js.map +1 -0
- package/lib/features/travel/services/travelFlightSearch.js +289 -0
- package/lib/features/travel/services/travelFlightSearch.js.map +1 -0
- package/lib/features/travel/services/travelPropertySearch.js +377 -0
- package/lib/features/travel/services/travelPropertySearch.js.map +1 -0
- package/lib/features/travel/travelAgentSwipe.js +7 -0
- package/lib/features/travel/travelAgentSwipe.js.map +1 -0
- package/lib/features/travel/travelExec.js +14 -0
- package/lib/features/travel/travelExec.js.map +1 -0
- package/lib/features/travel/travelHistoryStore.js +108 -0
- package/lib/features/travel/travelHistoryStore.js.map +1 -0
- package/lib/features/travel/travelRuntime.js +62 -0
- package/lib/features/travel/travelRuntime.js.map +1 -0
- package/lib/features/travel/types.js +9 -0
- package/lib/features/travel/types.js.map +1 -0
- package/lib/features/travel/useTravelSearch.js +330 -0
- package/lib/features/travel/useTravelSearch.js.map +1 -0
- package/lib/features/travel/workspaceContent.js +548 -0
- package/lib/features/travel/workspaceContent.js.map +1 -0
- package/lib/hooks/useCdecliChannel.js +128 -6
- package/lib/hooks/useCdecliChannel.js.map +1 -1
- package/lib/hooks/useChatApi.js +4 -2
- package/lib/hooks/useChatApi.js.map +1 -1
- package/lib/hooks/useChatStream.js +77 -63
- package/lib/hooks/useChatStream.js.map +1 -1
- package/lib/hooks/useHostConnectorCard.js +24 -0
- package/lib/hooks/useHostConnectorCard.js.map +1 -0
- package/lib/hooks/useObtainSystemToken.js +23 -5
- package/lib/hooks/useObtainSystemToken.js.map +1 -1
- package/lib/hooks/webViewRetentionPolicy.js +1 -0
- package/lib/hooks/webViewRetentionPolicy.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/screens/Chat/index.js +51 -22
- package/lib/screens/Chat/index.js.map +1 -1
- package/lib/screens/ChatNative/index.js +13 -2
- package/lib/screens/ChatNative/index.js.map +1 -1
- package/lib/screens/Home/HomeScreen.js +3 -3
- package/lib/screens/Home/HomeScreen.js.map +1 -1
- package/lib/screens/Home/components/ChatHistoryLanding.js +32 -32
- package/lib/screens/Home/components/ChatHistoryLanding.js.map +1 -1
- package/lib/screens/JobSearchNative/useJobSearchHostChat.js +12 -6
- package/lib/screens/JobSearchNative/useJobSearchHostChat.js.map +1 -1
- package/lib/screens/ResumeNative/useResumeHostChat.js +12 -6
- package/lib/screens/ResumeNative/useResumeHostChat.js.map +1 -1
- package/lib/screens/ShoppingNative/useShoppingHostChat.js +12 -6
- package/lib/screens/ShoppingNative/useShoppingHostChat.js.map +1 -1
- package/lib/screens/TravelNative/useTravelHostChat.js +12 -6
- package/lib/screens/TravelNative/useTravelHostChat.js.map +1 -1
- package/lib/screens/WebBuilder/WebViewWithNavigation.js +2 -2
- package/lib/screens/WebBuilder/WebViewWithNavigation.js.map +1 -1
- package/lib/services/brainQuickReply.js +38 -1
- package/lib/services/brainQuickReply.js.map +1 -1
- package/lib/state/chatThreadMerge.js +6 -1
- package/lib/state/chatThreadMerge.js.map +1 -1
- package/package.json +6 -4
|
@@ -0,0 +1,907 @@
|
|
|
1
|
+
import {jsx,jsxs}from'react/jsx-runtime';import {useState,useEffect}from'react';import {StyleSheet,View,ActivityIndicator,Text,Pressable,ScrollView,Linking,Clipboard}from'react-native';import {MaterialCommunityIcons}from'@expo/vector-icons';import {STATUS_ORDER,STATUS_LABEL}from'./types.js';const STATUS_TONE = {
|
|
2
|
+
draft: {
|
|
3
|
+
bg: "#eceff5",
|
|
4
|
+
fg: "#5b657a"
|
|
5
|
+
},
|
|
6
|
+
submitted: {
|
|
7
|
+
bg: "rgba(59,130,246,0.12)",
|
|
8
|
+
fg: "#1d4ed8"
|
|
9
|
+
},
|
|
10
|
+
"under-review": {
|
|
11
|
+
bg: "rgba(14,165,233,0.12)",
|
|
12
|
+
fg: "#0369a1"
|
|
13
|
+
},
|
|
14
|
+
"phone-screen": {
|
|
15
|
+
bg: "rgba(139,92,246,0.12)",
|
|
16
|
+
fg: "#6d28d9"
|
|
17
|
+
},
|
|
18
|
+
onsite: {
|
|
19
|
+
bg: "rgba(168,85,247,0.12)",
|
|
20
|
+
fg: "#7e22ce"
|
|
21
|
+
},
|
|
22
|
+
offer: {
|
|
23
|
+
bg: "rgba(34,197,94,0.12)",
|
|
24
|
+
fg: "#15803d"
|
|
25
|
+
},
|
|
26
|
+
rejected: {
|
|
27
|
+
bg: "rgba(225,29,72,0.12)",
|
|
28
|
+
fg: "#be123c"
|
|
29
|
+
},
|
|
30
|
+
withdrew: {
|
|
31
|
+
bg: "#eceff5",
|
|
32
|
+
fg: "#5b657a"
|
|
33
|
+
},
|
|
34
|
+
"no-response": {
|
|
35
|
+
bg: "rgba(245,158,11,0.14)",
|
|
36
|
+
fg: "#b45309"
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
function StatusBadge({
|
|
40
|
+
status
|
|
41
|
+
}) {
|
|
42
|
+
var _a;
|
|
43
|
+
const tone = (_a = STATUS_TONE[status]) != null ? _a : STATUS_TONE.draft;
|
|
44
|
+
return /* @__PURE__ */ jsx(View, { style: [styles.badge, {
|
|
45
|
+
backgroundColor: tone.bg
|
|
46
|
+
}], children: /* @__PURE__ */ jsx(Text, { style: [styles.badgeText, {
|
|
47
|
+
color: tone.fg
|
|
48
|
+
}], children: STATUS_LABEL[status] }) });
|
|
49
|
+
}
|
|
50
|
+
function Info({
|
|
51
|
+
label,
|
|
52
|
+
children,
|
|
53
|
+
ink,
|
|
54
|
+
muted
|
|
55
|
+
}) {
|
|
56
|
+
return /* @__PURE__ */ jsxs(View, { style: styles.infoBlock, children: [
|
|
57
|
+
/* @__PURE__ */ jsx(Text, { style: [styles.infoLabel, {
|
|
58
|
+
color: muted
|
|
59
|
+
}], children: label }),
|
|
60
|
+
/* @__PURE__ */ jsx(View, { children: typeof children === "string" ? /* @__PURE__ */ jsx(Text, { style: {
|
|
61
|
+
color: ink,
|
|
62
|
+
fontSize: 14,
|
|
63
|
+
lineHeight: 20
|
|
64
|
+
}, children }) : children })
|
|
65
|
+
] });
|
|
66
|
+
}
|
|
67
|
+
function ApplicationsPanel({
|
|
68
|
+
applications,
|
|
69
|
+
loading,
|
|
70
|
+
error,
|
|
71
|
+
storageConfigured = true,
|
|
72
|
+
focusApplicationId,
|
|
73
|
+
ink,
|
|
74
|
+
muted,
|
|
75
|
+
card,
|
|
76
|
+
border,
|
|
77
|
+
accent = "#4f46e5",
|
|
78
|
+
accentInk = "#fcfcfe",
|
|
79
|
+
chip = "#eceff5",
|
|
80
|
+
danger = "#e11d48",
|
|
81
|
+
onRefresh,
|
|
82
|
+
onStatusChange,
|
|
83
|
+
onOpenResume,
|
|
84
|
+
onOutreach,
|
|
85
|
+
onPrepInterview,
|
|
86
|
+
onFollowUp,
|
|
87
|
+
onNegotiate,
|
|
88
|
+
onArchive,
|
|
89
|
+
onApply,
|
|
90
|
+
onApplyStatus
|
|
91
|
+
}) {
|
|
92
|
+
var _a;
|
|
93
|
+
const [selectedId, setSelectedId] = useState(null);
|
|
94
|
+
const selected = (_a = applications.find((a) => a.id === selectedId)) != null ? _a : null;
|
|
95
|
+
useEffect(() => {
|
|
96
|
+
if (focusApplicationId) setSelectedId(focusApplicationId);
|
|
97
|
+
}, [focusApplicationId]);
|
|
98
|
+
useEffect(() => {
|
|
99
|
+
if (selectedId && !applications.some((a) => a.id === selectedId)) {
|
|
100
|
+
setSelectedId(null);
|
|
101
|
+
}
|
|
102
|
+
}, [applications, selectedId]);
|
|
103
|
+
if (selected) {
|
|
104
|
+
return /* @__PURE__ */ jsx(ApplicationDetail, { app: selected, ink, muted, card, border, accent, accentInk, chip, danger, onBack: () => setSelectedId(null), onStatusChange, onOpenResume, onOutreach, onPrepInterview, onFollowUp, onNegotiate, onArchive, onApply, onApplyStatus });
|
|
105
|
+
}
|
|
106
|
+
if (loading && applications.length === 0) {
|
|
107
|
+
return /* @__PURE__ */ jsx(View, { style: styles.empty, children: /* @__PURE__ */ jsx(ActivityIndicator, { color: accent }) });
|
|
108
|
+
}
|
|
109
|
+
if (error && applications.length === 0) {
|
|
110
|
+
return /* @__PURE__ */ jsxs(View, { style: styles.empty, children: [
|
|
111
|
+
/* @__PURE__ */ jsx(Text, { style: {
|
|
112
|
+
color: danger,
|
|
113
|
+
textAlign: "center"
|
|
114
|
+
}, children: error }),
|
|
115
|
+
/* @__PURE__ */ jsx(Pressable, { onPress: onRefresh, children: /* @__PURE__ */ jsx(Text, { style: {
|
|
116
|
+
color: ink,
|
|
117
|
+
fontWeight: "700"
|
|
118
|
+
}, children: "Retry" }) })
|
|
119
|
+
] });
|
|
120
|
+
}
|
|
121
|
+
return /* @__PURE__ */ jsxs(View, { style: styles.root, children: [
|
|
122
|
+
/* @__PURE__ */ jsxs(View, { style: [styles.header, {
|
|
123
|
+
borderBottomColor: border
|
|
124
|
+
}], children: [
|
|
125
|
+
/* @__PURE__ */ jsx(Text, { style: [styles.headerTitle, {
|
|
126
|
+
color: ink
|
|
127
|
+
}], children: "Applications" }),
|
|
128
|
+
/* @__PURE__ */ jsxs(Text, { style: [styles.headerCount, {
|
|
129
|
+
color: muted
|
|
130
|
+
}], children: [
|
|
131
|
+
applications.length,
|
|
132
|
+
" tracked"
|
|
133
|
+
] }),
|
|
134
|
+
!storageConfigured ? /* @__PURE__ */ jsx(View, { style: [styles.warnPill, {
|
|
135
|
+
backgroundColor: "rgba(245,158,11,0.14)"
|
|
136
|
+
}], children: /* @__PURE__ */ jsx(Text, { style: {
|
|
137
|
+
color: "#b45309",
|
|
138
|
+
fontSize: 10,
|
|
139
|
+
fontWeight: "700"
|
|
140
|
+
}, children: "not persisted" }) }) : null,
|
|
141
|
+
/* @__PURE__ */ jsxs(Pressable, { onPress: onRefresh, style: [styles.refreshBtn, {
|
|
142
|
+
borderColor: border
|
|
143
|
+
}], accessibilityRole: "button", accessibilityLabel: "Refresh applications", children: [
|
|
144
|
+
loading ? /* @__PURE__ */ jsx(ActivityIndicator, { size: "small", color: muted }) : /* @__PURE__ */ jsx(MaterialCommunityIcons, { name: "refresh", size: 14, color: muted }),
|
|
145
|
+
/* @__PURE__ */ jsx(Text, { style: [styles.refreshText, {
|
|
146
|
+
color: muted
|
|
147
|
+
}], children: "Refresh" })
|
|
148
|
+
] })
|
|
149
|
+
] }),
|
|
150
|
+
applications.length === 0 ? /* @__PURE__ */ jsxs(View, { style: styles.empty, children: [
|
|
151
|
+
/* @__PURE__ */ jsx(Text, { style: [styles.emptyTitle, {
|
|
152
|
+
color: ink
|
|
153
|
+
}], children: "Nothing tracked yet" }),
|
|
154
|
+
/* @__PURE__ */ jsx(Text, { style: {
|
|
155
|
+
color: muted,
|
|
156
|
+
textAlign: "center",
|
|
157
|
+
lineHeight: 20
|
|
158
|
+
}, children: "Tailor an application from Jobs and it lands here as a draft." })
|
|
159
|
+
] }) : /* @__PURE__ */ jsx(ScrollView, { contentContainerStyle: styles.list, children: applications.map((app) => {
|
|
160
|
+
var _a2, _b;
|
|
161
|
+
return /* @__PURE__ */ jsxs(Pressable, { onPress: () => setSelectedId(app.id), style: [styles.row, {
|
|
162
|
+
backgroundColor: card,
|
|
163
|
+
borderColor: border
|
|
164
|
+
}], accessibilityRole: "button", accessibilityLabel: `${app.role} at ${app.company}`, children: [
|
|
165
|
+
/* @__PURE__ */ jsxs(View, { style: {
|
|
166
|
+
flex: 1,
|
|
167
|
+
minWidth: 0,
|
|
168
|
+
gap: 4
|
|
169
|
+
}, children: [
|
|
170
|
+
/* @__PURE__ */ jsx(Text, { style: [styles.rowCompany, {
|
|
171
|
+
color: ink
|
|
172
|
+
}], numberOfLines: 1, children: app.company }),
|
|
173
|
+
/* @__PURE__ */ jsx(Text, { style: [styles.rowRole, {
|
|
174
|
+
color: muted
|
|
175
|
+
}], numberOfLines: 1, children: app.role }),
|
|
176
|
+
/* @__PURE__ */ jsxs(View, { style: styles.rowMeta, children: [
|
|
177
|
+
/* @__PURE__ */ jsx(StatusBadge, { status: app.status }),
|
|
178
|
+
/* @__PURE__ */ jsx(Text, { style: {
|
|
179
|
+
color: muted,
|
|
180
|
+
fontSize: 11
|
|
181
|
+
}, children: (_b = (_a2 = app.updatedAt) == null ? void 0 : _a2.slice(0, 10)) != null ? _b : "" }),
|
|
182
|
+
app.followUp ? /* @__PURE__ */ jsxs(Text, { style: {
|
|
183
|
+
color: muted,
|
|
184
|
+
fontSize: 11
|
|
185
|
+
}, numberOfLines: 1, children: [
|
|
186
|
+
"\xB7 ",
|
|
187
|
+
app.followUp
|
|
188
|
+
] }) : null
|
|
189
|
+
] })
|
|
190
|
+
] }),
|
|
191
|
+
/* @__PURE__ */ jsx(MaterialCommunityIcons, { name: "chevron-right", size: 20, color: muted })
|
|
192
|
+
] }, app.id);
|
|
193
|
+
}) }),
|
|
194
|
+
/* @__PURE__ */ jsxs(Text, { style: [styles.footer, {
|
|
195
|
+
color: muted,
|
|
196
|
+
borderTopColor: border
|
|
197
|
+
}], children: [
|
|
198
|
+
"Statuses: ",
|
|
199
|
+
STATUS_ORDER.map((s) => STATUS_LABEL[s]).join(" \xB7 ")
|
|
200
|
+
] })
|
|
201
|
+
] });
|
|
202
|
+
}
|
|
203
|
+
function ApplicationDetail({
|
|
204
|
+
app,
|
|
205
|
+
ink,
|
|
206
|
+
muted,
|
|
207
|
+
card,
|
|
208
|
+
border,
|
|
209
|
+
accent,
|
|
210
|
+
accentInk,
|
|
211
|
+
chip,
|
|
212
|
+
danger,
|
|
213
|
+
onBack,
|
|
214
|
+
onStatusChange,
|
|
215
|
+
onOpenResume,
|
|
216
|
+
onOutreach,
|
|
217
|
+
onPrepInterview,
|
|
218
|
+
onFollowUp,
|
|
219
|
+
onNegotiate,
|
|
220
|
+
onArchive,
|
|
221
|
+
onApply,
|
|
222
|
+
onApplyStatus
|
|
223
|
+
}) {
|
|
224
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
225
|
+
const [openingResume, setOpeningResume] = useState(false);
|
|
226
|
+
const [resumeNote, setResumeNote] = useState(null);
|
|
227
|
+
const [resumeUrl, setResumeUrl] = useState(null);
|
|
228
|
+
const [followUp, setFollowUp] = useState(null);
|
|
229
|
+
const [followUpBusy, setFollowUpBusy] = useState(false);
|
|
230
|
+
const [plan, setPlan] = useState(null);
|
|
231
|
+
const [planBusy, setPlanBusy] = useState(false);
|
|
232
|
+
const [applyRun, setApplyRun] = useState(null);
|
|
233
|
+
const [applyStatus, setApplyStatus] = useState(null);
|
|
234
|
+
const [applyBusy, setApplyBusy] = useState(false);
|
|
235
|
+
const [applyPolling, setApplyPolling] = useState(false);
|
|
236
|
+
const [applyNote, setApplyNote] = useState(null);
|
|
237
|
+
const pkg = app.package;
|
|
238
|
+
const analysis = app.analysis;
|
|
239
|
+
const isDraft = Boolean((_a = pkg == null ? void 0 : pkg.coverLetter) == null ? void 0 : _a.startsWith("[DRAFT"));
|
|
240
|
+
const applyUrl = (_c = app.jdUrl) != null ? _c : (_b = app.posting) == null ? void 0 : _b.url;
|
|
241
|
+
const openResume = async () => {
|
|
242
|
+
setOpeningResume(true);
|
|
243
|
+
setResumeNote(null);
|
|
244
|
+
setResumeUrl(null);
|
|
245
|
+
try {
|
|
246
|
+
const url = await onOpenResume(app);
|
|
247
|
+
if (!url) {
|
|
248
|
+
setResumeNote("The resume page could not be opened \u2014 the resume connector returned no URL.");
|
|
249
|
+
return;
|
|
250
|
+
}
|
|
251
|
+
const can = await Linking.canOpenURL(url);
|
|
252
|
+
if (can) await Linking.openURL(url);
|
|
253
|
+
else setResumeUrl(url);
|
|
254
|
+
} catch (err) {
|
|
255
|
+
setResumeNote(err instanceof Error ? err.message : String(err));
|
|
256
|
+
} finally {
|
|
257
|
+
setOpeningResume(false);
|
|
258
|
+
}
|
|
259
|
+
};
|
|
260
|
+
const draftFollowUp = async () => {
|
|
261
|
+
if (!onFollowUp) return;
|
|
262
|
+
setFollowUpBusy(true);
|
|
263
|
+
try {
|
|
264
|
+
setFollowUp(await onFollowUp(app));
|
|
265
|
+
} finally {
|
|
266
|
+
setFollowUpBusy(false);
|
|
267
|
+
}
|
|
268
|
+
};
|
|
269
|
+
const buildPlan = async () => {
|
|
270
|
+
if (!onNegotiate) return;
|
|
271
|
+
setPlanBusy(true);
|
|
272
|
+
try {
|
|
273
|
+
setPlan(await onNegotiate(app));
|
|
274
|
+
} finally {
|
|
275
|
+
setPlanBusy(false);
|
|
276
|
+
}
|
|
277
|
+
};
|
|
278
|
+
const startApply = async () => {
|
|
279
|
+
var _a2;
|
|
280
|
+
if (!applyUrl) return;
|
|
281
|
+
void Linking.openURL(applyUrl);
|
|
282
|
+
setApplyNote(null);
|
|
283
|
+
if (!onApply) return;
|
|
284
|
+
setApplyBusy(true);
|
|
285
|
+
try {
|
|
286
|
+
const run = await onApply(app);
|
|
287
|
+
if (run == null ? void 0 : run.eventId) {
|
|
288
|
+
setApplyRun(run);
|
|
289
|
+
setApplyStatus(null);
|
|
290
|
+
} else {
|
|
291
|
+
setApplyNote((_a2 = run == null ? void 0 : run.message) != null ? _a2 : "Assisted form-fill is unavailable \u2014 the posting is open; submit there and mark this row submitted.");
|
|
292
|
+
}
|
|
293
|
+
} catch (err) {
|
|
294
|
+
setApplyNote(err instanceof Error ? err.message : String(err));
|
|
295
|
+
} finally {
|
|
296
|
+
setApplyBusy(false);
|
|
297
|
+
}
|
|
298
|
+
};
|
|
299
|
+
const refreshApplyStatus = async () => {
|
|
300
|
+
var _a2;
|
|
301
|
+
const eventId = (_a2 = applyRun == null ? void 0 : applyRun.eventId) != null ? _a2 : app.applyEventId;
|
|
302
|
+
if (!eventId || !onApplyStatus) return;
|
|
303
|
+
setApplyPolling(true);
|
|
304
|
+
try {
|
|
305
|
+
setApplyStatus(await onApplyStatus(eventId));
|
|
306
|
+
} finally {
|
|
307
|
+
setApplyPolling(false);
|
|
308
|
+
}
|
|
309
|
+
};
|
|
310
|
+
const ActionChip = ({
|
|
311
|
+
label,
|
|
312
|
+
icon,
|
|
313
|
+
onPress,
|
|
314
|
+
busy,
|
|
315
|
+
primary,
|
|
316
|
+
tone,
|
|
317
|
+
disabled
|
|
318
|
+
}) => /* @__PURE__ */ jsxs(Pressable, { onPress, disabled: disabled || busy, style: [styles.actionChip, {
|
|
319
|
+
borderColor: border,
|
|
320
|
+
backgroundColor: card
|
|
321
|
+
}, primary && {
|
|
322
|
+
backgroundColor: accent,
|
|
323
|
+
borderColor: accent
|
|
324
|
+
}, tone === "green" && {
|
|
325
|
+
backgroundColor: "rgba(34,197,94,0.12)",
|
|
326
|
+
borderColor: "rgba(34,197,94,0.4)"
|
|
327
|
+
}, (disabled || busy) && styles.disabled], children: [
|
|
328
|
+
busy ? /* @__PURE__ */ jsx(ActivityIndicator, { size: "small", color: primary ? accentInk : muted }) : /* @__PURE__ */ jsx(MaterialCommunityIcons, { name: icon, size: 14, color: primary ? accentInk : tone === "green" ? "#15803d" : muted }),
|
|
329
|
+
/* @__PURE__ */ jsx(Text, { style: [styles.actionChipText, {
|
|
330
|
+
color: primary ? accentInk : tone === "green" ? "#15803d" : ink
|
|
331
|
+
}], children: label })
|
|
332
|
+
] });
|
|
333
|
+
return /* @__PURE__ */ jsxs(View, { style: styles.root, children: [
|
|
334
|
+
/* @__PURE__ */ jsxs(View, { style: [styles.detailHeader, {
|
|
335
|
+
borderBottomColor: border
|
|
336
|
+
}], children: [
|
|
337
|
+
/* @__PURE__ */ jsxs(Pressable, { onPress: onBack, style: [styles.backBtn, {
|
|
338
|
+
borderColor: border
|
|
339
|
+
}], children: [
|
|
340
|
+
/* @__PURE__ */ jsx(MaterialCommunityIcons, { name: "arrow-left", size: 16, color: muted }),
|
|
341
|
+
/* @__PURE__ */ jsx(Text, { style: {
|
|
342
|
+
color: muted,
|
|
343
|
+
fontSize: 12,
|
|
344
|
+
fontWeight: "700"
|
|
345
|
+
}, children: "Back" })
|
|
346
|
+
] }),
|
|
347
|
+
/* @__PURE__ */ jsxs(View, { style: {
|
|
348
|
+
flex: 1,
|
|
349
|
+
minWidth: 0
|
|
350
|
+
}, children: [
|
|
351
|
+
/* @__PURE__ */ jsx(Text, { style: [styles.detailCompany, {
|
|
352
|
+
color: ink
|
|
353
|
+
}], numberOfLines: 1, children: app.company }),
|
|
354
|
+
/* @__PURE__ */ jsx(Text, { style: {
|
|
355
|
+
color: muted,
|
|
356
|
+
fontSize: 13
|
|
357
|
+
}, numberOfLines: 1, children: app.role })
|
|
358
|
+
] }),
|
|
359
|
+
/* @__PURE__ */ jsx(StatusBadge, { status: app.status }),
|
|
360
|
+
isDraft ? /* @__PURE__ */ jsx(View, { style: [styles.warnPill, {
|
|
361
|
+
backgroundColor: "rgba(245,158,11,0.14)"
|
|
362
|
+
}], children: /* @__PURE__ */ jsx(Text, { style: {
|
|
363
|
+
color: "#b45309",
|
|
364
|
+
fontSize: 10,
|
|
365
|
+
fontWeight: "700"
|
|
366
|
+
}, children: "Template draft" }) }) : null
|
|
367
|
+
] }),
|
|
368
|
+
/* @__PURE__ */ jsxs(ScrollView, { contentContainerStyle: styles.detailBody, children: [
|
|
369
|
+
/* @__PURE__ */ jsx(ScrollView, { horizontal: true, showsHorizontalScrollIndicator: false, contentContainerStyle: styles.statusRow, children: STATUS_ORDER.map((status) => {
|
|
370
|
+
const on = app.status === status;
|
|
371
|
+
return /* @__PURE__ */ jsx(Pressable, { onPress: () => onStatusChange(app, status), style: [styles.statusChip, {
|
|
372
|
+
backgroundColor: chip
|
|
373
|
+
}, on && {
|
|
374
|
+
backgroundColor: accent
|
|
375
|
+
}], children: /* @__PURE__ */ jsx(Text, { style: [styles.statusChipText, {
|
|
376
|
+
color: ink
|
|
377
|
+
}, on && {
|
|
378
|
+
color: accentInk
|
|
379
|
+
}], children: STATUS_LABEL[status] }) }, status);
|
|
380
|
+
}) }),
|
|
381
|
+
/* @__PURE__ */ jsxs(View, { style: styles.actionsWrap, children: [
|
|
382
|
+
/* @__PURE__ */ jsx(ActionChip, { label: "Outreach", icon: "message-text-outline", onPress: () => onOutreach(app) }),
|
|
383
|
+
onFollowUp && app.status !== "draft" ? /* @__PURE__ */ jsx(ActionChip, { label: "Follow up", icon: "send-outline", onPress: draftFollowUp, busy: followUpBusy }) : null,
|
|
384
|
+
onNegotiate && app.status === "offer" ? /* @__PURE__ */ jsx(ActionChip, { label: "Negotiate", icon: "handshake-outline", onPress: buildPlan, busy: planBusy, tone: "green" }) : null,
|
|
385
|
+
onPrepInterview ? /* @__PURE__ */ jsx(ActionChip, { label: app.interview ? "Interview prep" : "Prep interview", icon: "microphone-outline", onPress: () => onPrepInterview(app) }) : null,
|
|
386
|
+
onArchive ? /* @__PURE__ */ jsx(ActionChip, { label: app.archived ? "Unarchive" : "Archive", icon: "archive-outline", onPress: () => onArchive(app, !app.archived) }) : null,
|
|
387
|
+
applyUrl ? /* @__PURE__ */ jsx(ActionChip, { label: "Apply", icon: "rocket-launch-outline", onPress: startApply, busy: applyBusy }) : null,
|
|
388
|
+
app.status === "draft" ? /* @__PURE__ */ jsx(ActionChip, { label: "Mark submitted", icon: "check-circle-outline", onPress: () => onStatusChange(app, "submitted") }) : null,
|
|
389
|
+
(pkg == null ? void 0 : pkg.resume) ? /* @__PURE__ */ jsx(ActionChip, { label: "Open in Resume Builder", icon: "file-document-outline", onPress: openResume, busy: openingResume, primary: true }) : null
|
|
390
|
+
] }),
|
|
391
|
+
resumeNote || resumeUrl ? /* @__PURE__ */ jsx(View, { style: [styles.noteBanner, {
|
|
392
|
+
backgroundColor: chip
|
|
393
|
+
}], children: resumeUrl ? /* @__PURE__ */ jsx(Pressable, { onPress: () => void Linking.openURL(resumeUrl), children: /* @__PURE__ */ jsx(Text, { style: {
|
|
394
|
+
color: accent,
|
|
395
|
+
fontWeight: "700"
|
|
396
|
+
}, children: "Open the resume" }) }) : /* @__PURE__ */ jsx(Text, { style: {
|
|
397
|
+
color: danger
|
|
398
|
+
}, children: resumeNote }) }) : null,
|
|
399
|
+
applyRun || applyNote || app.applyEventId ? /* @__PURE__ */ jsxs(View, { style: [styles.applyPanel, {
|
|
400
|
+
backgroundColor: `${accent}14`,
|
|
401
|
+
borderColor: border
|
|
402
|
+
}], children: [
|
|
403
|
+
/* @__PURE__ */ jsxs(View, { style: styles.applyTop, children: [
|
|
404
|
+
/* @__PURE__ */ jsx(MaterialCommunityIcons, { name: "rocket-launch-outline", size: 14, color: accent }),
|
|
405
|
+
/* @__PURE__ */ jsx(Text, { style: [styles.applyTitle, {
|
|
406
|
+
color: ink
|
|
407
|
+
}], children: "Apply" }),
|
|
408
|
+
(applyRun == null ? void 0 : applyRun.eventId) || app.applyEventId ? /* @__PURE__ */ jsxs(Text, { style: {
|
|
409
|
+
color: muted,
|
|
410
|
+
fontSize: 10
|
|
411
|
+
}, children: [
|
|
412
|
+
"run ",
|
|
413
|
+
(_e = (_d = applyRun == null ? void 0 : applyRun.eventId) != null ? _d : app.applyEventId) == null ? void 0 : _e.slice(0, 12)
|
|
414
|
+
] }) : null,
|
|
415
|
+
((_g = (_f = applyStatus == null ? void 0 : applyStatus.runs) == null ? void 0 : _f[0]) == null ? void 0 : _g.status) ? /* @__PURE__ */ jsx(View, { style: [styles.warnPill, {
|
|
416
|
+
backgroundColor: `${accent}22`
|
|
417
|
+
}], children: /* @__PURE__ */ jsx(Text, { style: {
|
|
418
|
+
color: accent,
|
|
419
|
+
fontSize: 10,
|
|
420
|
+
fontWeight: "700"
|
|
421
|
+
}, children: String(applyStatus.runs[0].status) }) }) : null,
|
|
422
|
+
((_h = applyRun == null ? void 0 : applyRun.sandboxUrl) != null ? _h : applyStatus == null ? void 0 : applyStatus.sandboxUrl) ? /* @__PURE__ */ jsx(Pressable, { onPress: () => {
|
|
423
|
+
var _a2;
|
|
424
|
+
return void Linking.openURL(String((_a2 = applyRun == null ? void 0 : applyRun.sandboxUrl) != null ? _a2 : applyStatus == null ? void 0 : applyStatus.sandboxUrl));
|
|
425
|
+
}, children: /* @__PURE__ */ jsx(Text, { style: {
|
|
426
|
+
color: accent,
|
|
427
|
+
fontSize: 11,
|
|
428
|
+
fontWeight: "700"
|
|
429
|
+
}, children: "Review filled form" }) }) : null,
|
|
430
|
+
onApplyStatus && ((applyRun == null ? void 0 : applyRun.eventId) || app.applyEventId) ? /* @__PURE__ */ jsx(Pressable, { onPress: refreshApplyStatus, disabled: applyPolling, style: {
|
|
431
|
+
marginLeft: "auto"
|
|
432
|
+
}, children: applyPolling ? /* @__PURE__ */ jsx(ActivityIndicator, { size: "small", color: muted }) : /* @__PURE__ */ jsx(Text, { style: {
|
|
433
|
+
color: muted,
|
|
434
|
+
fontSize: 11,
|
|
435
|
+
fontWeight: "700"
|
|
436
|
+
}, children: "Check" }) }) : null
|
|
437
|
+
] }),
|
|
438
|
+
/* @__PURE__ */ jsx(Text, { style: {
|
|
439
|
+
color: muted,
|
|
440
|
+
fontSize: 11,
|
|
441
|
+
lineHeight: 16
|
|
442
|
+
}, children: (_i = applyNote != null ? applyNote : applyRun == null ? void 0 : applyRun.nextStep) != null ? _i : "The runner fills the form and stops before Submit \u2014 you press Submit, then mark this row submitted." })
|
|
443
|
+
] }) : null,
|
|
444
|
+
followUp ? /* @__PURE__ */ jsxs(View, { style: [styles.panelCard, {
|
|
445
|
+
backgroundColor: card,
|
|
446
|
+
borderColor: border
|
|
447
|
+
}], children: [
|
|
448
|
+
/* @__PURE__ */ jsxs(View, { style: styles.panelHead, children: [
|
|
449
|
+
/* @__PURE__ */ jsx(MaterialCommunityIcons, { name: "send-outline", size: 14, color: accent }),
|
|
450
|
+
/* @__PURE__ */ jsx(Text, { style: [styles.panelTitle, {
|
|
451
|
+
color: ink
|
|
452
|
+
}], children: "Follow-up draft" }),
|
|
453
|
+
/* @__PURE__ */ jsx(Text, { style: {
|
|
454
|
+
color: muted,
|
|
455
|
+
fontSize: 10
|
|
456
|
+
}, children: followUp.channel }),
|
|
457
|
+
followUp.timing ? /* @__PURE__ */ jsxs(Text, { style: {
|
|
458
|
+
color: muted,
|
|
459
|
+
fontSize: 11
|
|
460
|
+
}, children: [
|
|
461
|
+
"\xB7 send ",
|
|
462
|
+
followUp.timing
|
|
463
|
+
] }) : null,
|
|
464
|
+
/* @__PURE__ */ jsx(Pressable, { onPress: () => Clipboard.setString(followUp.message), style: {
|
|
465
|
+
marginLeft: "auto"
|
|
466
|
+
}, children: /* @__PURE__ */ jsx(Text, { style: {
|
|
467
|
+
color: muted,
|
|
468
|
+
fontSize: 11,
|
|
469
|
+
fontWeight: "700"
|
|
470
|
+
}, children: "Copy" }) })
|
|
471
|
+
] }),
|
|
472
|
+
followUp.subject ? /* @__PURE__ */ jsxs(Text, { style: {
|
|
473
|
+
color: muted,
|
|
474
|
+
fontSize: 12
|
|
475
|
+
}, children: [
|
|
476
|
+
"Subject: ",
|
|
477
|
+
followUp.subject
|
|
478
|
+
] }) : null,
|
|
479
|
+
/* @__PURE__ */ jsx(Text, { style: {
|
|
480
|
+
color: ink,
|
|
481
|
+
fontSize: 14,
|
|
482
|
+
lineHeight: 20
|
|
483
|
+
}, children: followUp.message }),
|
|
484
|
+
followUp.rationale ? /* @__PURE__ */ jsxs(Text, { style: {
|
|
485
|
+
color: muted,
|
|
486
|
+
fontSize: 11,
|
|
487
|
+
marginTop: 4
|
|
488
|
+
}, children: [
|
|
489
|
+
"Why: ",
|
|
490
|
+
followUp.rationale
|
|
491
|
+
] }) : null
|
|
492
|
+
] }) : null,
|
|
493
|
+
plan ? /* @__PURE__ */ jsxs(View, { style: [styles.panelCard, {
|
|
494
|
+
backgroundColor: card,
|
|
495
|
+
borderColor: "rgba(34,197,94,0.35)"
|
|
496
|
+
}], children: [
|
|
497
|
+
/* @__PURE__ */ jsxs(View, { style: styles.panelHead, children: [
|
|
498
|
+
/* @__PURE__ */ jsx(MaterialCommunityIcons, { name: "handshake-outline", size: 14, color: "#15803d" }),
|
|
499
|
+
/* @__PURE__ */ jsx(Text, { style: [styles.panelTitle, {
|
|
500
|
+
color: ink
|
|
501
|
+
}], children: "Negotiation plan" }),
|
|
502
|
+
plan.targetRange ? /* @__PURE__ */ jsx(View, { style: [styles.warnPill, {
|
|
503
|
+
backgroundColor: "rgba(34,197,94,0.12)"
|
|
504
|
+
}], children: /* @__PURE__ */ jsx(Text, { style: {
|
|
505
|
+
color: "#15803d",
|
|
506
|
+
fontSize: 10,
|
|
507
|
+
fontWeight: "700"
|
|
508
|
+
}, children: plan.targetRange }) }) : null
|
|
509
|
+
] }),
|
|
510
|
+
plan.marketRead ? /* @__PURE__ */ jsx(Text, { style: {
|
|
511
|
+
color: muted,
|
|
512
|
+
fontSize: 12
|
|
513
|
+
}, children: plan.marketRead }) : null,
|
|
514
|
+
plan.leverage.length ? /* @__PURE__ */ jsx(Info, { label: "Your leverage", ink, muted, children: plan.leverage.map((l) => /* @__PURE__ */ jsxs(Text, { style: {
|
|
515
|
+
color: ink,
|
|
516
|
+
fontSize: 13,
|
|
517
|
+
lineHeight: 18
|
|
518
|
+
}, children: [
|
|
519
|
+
"\xB7 ",
|
|
520
|
+
l
|
|
521
|
+
] }, l)) }) : null,
|
|
522
|
+
plan.nonSalaryAsks.length ? /* @__PURE__ */ jsx(Info, { label: "Non-salary asks", ink, muted, children: plan.nonSalaryAsks.map((l) => /* @__PURE__ */ jsxs(Text, { style: {
|
|
523
|
+
color: ink,
|
|
524
|
+
fontSize: 13,
|
|
525
|
+
lineHeight: 18
|
|
526
|
+
}, children: [
|
|
527
|
+
"\xB7 ",
|
|
528
|
+
l
|
|
529
|
+
] }, l)) }) : null,
|
|
530
|
+
plan.counterScript ? /* @__PURE__ */ jsx(Info, { label: "Counter script", ink, muted, children: /* @__PURE__ */ jsxs(View, { style: {
|
|
531
|
+
gap: 6
|
|
532
|
+
}, children: [
|
|
533
|
+
/* @__PURE__ */ jsx(Text, { style: {
|
|
534
|
+
color: ink,
|
|
535
|
+
fontSize: 13,
|
|
536
|
+
lineHeight: 18
|
|
537
|
+
}, children: plan.counterScript }),
|
|
538
|
+
/* @__PURE__ */ jsx(Pressable, { onPress: () => Clipboard.setString(plan.counterScript), children: /* @__PURE__ */ jsx(Text, { style: {
|
|
539
|
+
color: muted,
|
|
540
|
+
fontSize: 11,
|
|
541
|
+
fontWeight: "700"
|
|
542
|
+
}, children: "Copy" }) })
|
|
543
|
+
] }) }) : null,
|
|
544
|
+
plan.risks.length ? /* @__PURE__ */ jsx(Info, { label: "Risks", ink, muted, children: plan.risks.map((l) => /* @__PURE__ */ jsxs(Text, { style: {
|
|
545
|
+
color: danger,
|
|
546
|
+
fontSize: 13,
|
|
547
|
+
lineHeight: 18
|
|
548
|
+
}, children: [
|
|
549
|
+
"\xB7 ",
|
|
550
|
+
l
|
|
551
|
+
] }, l)) }) : null
|
|
552
|
+
] }) : null,
|
|
553
|
+
/* @__PURE__ */ jsxs(View, { style: [styles.section, {
|
|
554
|
+
borderColor: border
|
|
555
|
+
}], children: [
|
|
556
|
+
/* @__PURE__ */ jsx(Text, { style: [styles.sectionTitle, {
|
|
557
|
+
color: muted
|
|
558
|
+
}], children: "JD analysis" }),
|
|
559
|
+
analysis ? /* @__PURE__ */ jsxs(View, { style: {
|
|
560
|
+
gap: 10
|
|
561
|
+
}, children: [
|
|
562
|
+
/* @__PURE__ */ jsxs(View, { style: styles.pillRow, children: [
|
|
563
|
+
/* @__PURE__ */ jsx(View, { style: [styles.pill, {
|
|
564
|
+
backgroundColor: `${accent}22`
|
|
565
|
+
}], children: /* @__PURE__ */ jsx(Text, { style: {
|
|
566
|
+
color: accent,
|
|
567
|
+
fontSize: 11,
|
|
568
|
+
fontWeight: "700"
|
|
569
|
+
}, children: analysis.roleType }) }),
|
|
570
|
+
analysis.keywords.map((k) => /* @__PURE__ */ jsx(View, { style: [styles.pill, {
|
|
571
|
+
backgroundColor: chip
|
|
572
|
+
}], children: /* @__PURE__ */ jsx(Text, { style: {
|
|
573
|
+
color: muted,
|
|
574
|
+
fontSize: 11
|
|
575
|
+
}, children: k }) }, k))
|
|
576
|
+
] }),
|
|
577
|
+
/* @__PURE__ */ jsx(Info, { label: "Angle", ink, muted, children: analysis.coverLetterAngle }),
|
|
578
|
+
/* @__PURE__ */ jsx(Info, { label: "They care about", ink, muted, children: analysis.employerPriorities.map((p) => /* @__PURE__ */ jsxs(Text, { style: {
|
|
579
|
+
color: ink,
|
|
580
|
+
fontSize: 13,
|
|
581
|
+
lineHeight: 18
|
|
582
|
+
}, children: [
|
|
583
|
+
"\xB7 ",
|
|
584
|
+
p
|
|
585
|
+
] }, p)) }),
|
|
586
|
+
/* @__PURE__ */ jsx(Info, { label: "Your strongest evidence", ink, muted, children: analysis.strongestEvidence.map((p) => /* @__PURE__ */ jsxs(Text, { style: {
|
|
587
|
+
color: ink,
|
|
588
|
+
fontSize: 13,
|
|
589
|
+
lineHeight: 18
|
|
590
|
+
}, children: [
|
|
591
|
+
"\xB7 ",
|
|
592
|
+
p
|
|
593
|
+
] }, p)) }),
|
|
594
|
+
/* @__PURE__ */ jsx(Info, { label: "Honest gaps", ink, muted, children: analysis.gaps.map((p) => /* @__PURE__ */ jsxs(Text, { style: {
|
|
595
|
+
color: ink,
|
|
596
|
+
fontSize: 13,
|
|
597
|
+
lineHeight: 18
|
|
598
|
+
}, children: [
|
|
599
|
+
"\xB7 ",
|
|
600
|
+
p
|
|
601
|
+
] }, p)) }),
|
|
602
|
+
analysis.visaNotes ? /* @__PURE__ */ jsx(Info, { label: "Visa notes", ink, muted, children: analysis.visaNotes }) : null,
|
|
603
|
+
app.jdUrl ? /* @__PURE__ */ jsx(Pressable, { onPress: () => void Linking.openURL(app.jdUrl), children: /* @__PURE__ */ jsx(Text, { style: {
|
|
604
|
+
color: accent,
|
|
605
|
+
fontWeight: "700",
|
|
606
|
+
fontSize: 12
|
|
607
|
+
}, children: "Job description \u2197" }) }) : null
|
|
608
|
+
] }) : /* @__PURE__ */ jsx(Text, { style: {
|
|
609
|
+
color: muted
|
|
610
|
+
}, children: "No analysis captured for this application." }),
|
|
611
|
+
app.notes ? /* @__PURE__ */ jsx(Info, { label: "Notes", ink, muted, children: app.notes }) : null
|
|
612
|
+
] }),
|
|
613
|
+
/* @__PURE__ */ jsxs(View, { style: [styles.section, {
|
|
614
|
+
borderColor: border
|
|
615
|
+
}], children: [
|
|
616
|
+
/* @__PURE__ */ jsx(Text, { style: [styles.sectionTitle, {
|
|
617
|
+
color: muted
|
|
618
|
+
}], children: "Application package" }),
|
|
619
|
+
pkg ? /* @__PURE__ */ jsxs(View, { style: {
|
|
620
|
+
gap: 10
|
|
621
|
+
}, children: [
|
|
622
|
+
((_j = pkg.whyIFit) == null ? void 0 : _j.length) ? /* @__PURE__ */ jsx(Info, { label: "Why I fit (form bullets)", ink, muted, children: pkg.whyIFit.map((b) => /* @__PURE__ */ jsxs(Text, { style: {
|
|
623
|
+
color: ink,
|
|
624
|
+
fontSize: 13,
|
|
625
|
+
lineHeight: 18
|
|
626
|
+
}, children: [
|
|
627
|
+
"\xB7 ",
|
|
628
|
+
b
|
|
629
|
+
] }, b)) }) : null,
|
|
630
|
+
pkg.linkedinDm ? /* @__PURE__ */ jsx(Info, { label: "LinkedIn DM (\u226460 words)", ink, muted, children: /* @__PURE__ */ jsx(View, { style: [styles.quote, {
|
|
631
|
+
backgroundColor: chip
|
|
632
|
+
}], children: /* @__PURE__ */ jsx(Text, { style: {
|
|
633
|
+
color: ink,
|
|
634
|
+
fontSize: 13,
|
|
635
|
+
lineHeight: 18
|
|
636
|
+
}, children: pkg.linkedinDm }) }) }) : null,
|
|
637
|
+
pkg.coverLetter ? /* @__PURE__ */ jsx(Info, { label: "Cover letter", ink, muted, children: /* @__PURE__ */ jsx(View, { style: [styles.quote, {
|
|
638
|
+
borderColor: border,
|
|
639
|
+
borderWidth: 1
|
|
640
|
+
}], children: /* @__PURE__ */ jsx(Text, { style: {
|
|
641
|
+
color: ink,
|
|
642
|
+
fontSize: 13,
|
|
643
|
+
lineHeight: 18
|
|
644
|
+
}, children: pkg.coverLetter }) }) }) : null,
|
|
645
|
+
pkg.resumeMarkdown ? /* @__PURE__ */ jsx(Info, { label: "Tailored resume (markdown)", ink, muted, children: /* @__PURE__ */ jsx(View, { style: [styles.quote, {
|
|
646
|
+
borderColor: border,
|
|
647
|
+
borderWidth: 1,
|
|
648
|
+
maxHeight: 280
|
|
649
|
+
}], children: /* @__PURE__ */ jsx(ScrollView, { nestedScrollEnabled: true, children: /* @__PURE__ */ jsx(Text, { style: {
|
|
650
|
+
color: ink,
|
|
651
|
+
fontSize: 12,
|
|
652
|
+
lineHeight: 17
|
|
653
|
+
}, children: pkg.resumeMarkdown }) }) }) }) : null,
|
|
654
|
+
/* @__PURE__ */ jsxs(View, { style: styles.linkRow, children: [
|
|
655
|
+
pkg.resumeUrl ? /* @__PURE__ */ jsx(Pressable, { onPress: () => void Linking.openURL(pkg.resumeUrl), children: /* @__PURE__ */ jsx(Text, { style: {
|
|
656
|
+
color: accent,
|
|
657
|
+
fontSize: 12,
|
|
658
|
+
fontWeight: "700"
|
|
659
|
+
}, children: "resume.md \u2197" }) }) : null,
|
|
660
|
+
pkg.resumeHtmlUrl ? /* @__PURE__ */ jsx(Pressable, { onPress: () => void Linking.openURL(pkg.resumeHtmlUrl), children: /* @__PURE__ */ jsx(Text, { style: {
|
|
661
|
+
color: accent,
|
|
662
|
+
fontSize: 12,
|
|
663
|
+
fontWeight: "700"
|
|
664
|
+
}, children: "resume.html \u2197" }) }) : null,
|
|
665
|
+
pkg.coverLetterUrl ? /* @__PURE__ */ jsx(Pressable, { onPress: () => void Linking.openURL(pkg.coverLetterUrl), children: /* @__PURE__ */ jsx(Text, { style: {
|
|
666
|
+
color: accent,
|
|
667
|
+
fontSize: 12,
|
|
668
|
+
fontWeight: "700"
|
|
669
|
+
}, children: "cover-letter.md \u2197" }) }) : null
|
|
670
|
+
] })
|
|
671
|
+
] }) : /* @__PURE__ */ jsx(Text, { style: {
|
|
672
|
+
color: muted
|
|
673
|
+
}, children: "No package yet \u2014 run Tailor & apply from a job card, or ask the agent to tailor this role." })
|
|
674
|
+
] })
|
|
675
|
+
] })
|
|
676
|
+
] });
|
|
677
|
+
}
|
|
678
|
+
const styles = StyleSheet.create({
|
|
679
|
+
root: {
|
|
680
|
+
flex: 1
|
|
681
|
+
},
|
|
682
|
+
header: {
|
|
683
|
+
flexDirection: "row",
|
|
684
|
+
alignItems: "center",
|
|
685
|
+
gap: 8,
|
|
686
|
+
paddingHorizontal: 16,
|
|
687
|
+
paddingVertical: 12,
|
|
688
|
+
borderBottomWidth: StyleSheet.hairlineWidth,
|
|
689
|
+
flexWrap: "wrap"
|
|
690
|
+
},
|
|
691
|
+
headerTitle: {
|
|
692
|
+
fontSize: 15,
|
|
693
|
+
fontWeight: "800"
|
|
694
|
+
},
|
|
695
|
+
headerCount: {
|
|
696
|
+
fontSize: 12,
|
|
697
|
+
fontWeight: "600"
|
|
698
|
+
},
|
|
699
|
+
warnPill: {
|
|
700
|
+
borderRadius: 999,
|
|
701
|
+
paddingHorizontal: 8,
|
|
702
|
+
paddingVertical: 3
|
|
703
|
+
},
|
|
704
|
+
refreshBtn: {
|
|
705
|
+
marginLeft: "auto",
|
|
706
|
+
flexDirection: "row",
|
|
707
|
+
alignItems: "center",
|
|
708
|
+
gap: 4,
|
|
709
|
+
borderWidth: 1,
|
|
710
|
+
borderRadius: 10,
|
|
711
|
+
paddingHorizontal: 10,
|
|
712
|
+
paddingVertical: 6
|
|
713
|
+
},
|
|
714
|
+
refreshText: {
|
|
715
|
+
fontSize: 12,
|
|
716
|
+
fontWeight: "700"
|
|
717
|
+
},
|
|
718
|
+
list: {
|
|
719
|
+
padding: 16,
|
|
720
|
+
gap: 10,
|
|
721
|
+
paddingBottom: 24
|
|
722
|
+
},
|
|
723
|
+
empty: {
|
|
724
|
+
flex: 1,
|
|
725
|
+
alignItems: "center",
|
|
726
|
+
justifyContent: "center",
|
|
727
|
+
padding: 24,
|
|
728
|
+
gap: 10
|
|
729
|
+
},
|
|
730
|
+
emptyTitle: {
|
|
731
|
+
fontSize: 16,
|
|
732
|
+
fontWeight: "800"
|
|
733
|
+
},
|
|
734
|
+
row: {
|
|
735
|
+
borderWidth: 1,
|
|
736
|
+
borderRadius: 16,
|
|
737
|
+
padding: 14,
|
|
738
|
+
flexDirection: "row",
|
|
739
|
+
alignItems: "center",
|
|
740
|
+
gap: 8
|
|
741
|
+
},
|
|
742
|
+
rowCompany: {
|
|
743
|
+
fontSize: 15,
|
|
744
|
+
fontWeight: "800"
|
|
745
|
+
},
|
|
746
|
+
rowRole: {
|
|
747
|
+
fontSize: 13
|
|
748
|
+
},
|
|
749
|
+
rowMeta: {
|
|
750
|
+
flexDirection: "row",
|
|
751
|
+
flexWrap: "wrap",
|
|
752
|
+
alignItems: "center",
|
|
753
|
+
gap: 6,
|
|
754
|
+
marginTop: 2
|
|
755
|
+
},
|
|
756
|
+
badge: {
|
|
757
|
+
borderRadius: 999,
|
|
758
|
+
paddingHorizontal: 8,
|
|
759
|
+
paddingVertical: 3
|
|
760
|
+
},
|
|
761
|
+
badgeText: {
|
|
762
|
+
fontSize: 11,
|
|
763
|
+
fontWeight: "700"
|
|
764
|
+
},
|
|
765
|
+
footer: {
|
|
766
|
+
borderTopWidth: StyleSheet.hairlineWidth,
|
|
767
|
+
paddingHorizontal: 16,
|
|
768
|
+
paddingVertical: 10,
|
|
769
|
+
fontSize: 11,
|
|
770
|
+
lineHeight: 15
|
|
771
|
+
},
|
|
772
|
+
detailHeader: {
|
|
773
|
+
flexDirection: "row",
|
|
774
|
+
flexWrap: "wrap",
|
|
775
|
+
alignItems: "center",
|
|
776
|
+
gap: 8,
|
|
777
|
+
paddingHorizontal: 12,
|
|
778
|
+
paddingVertical: 10,
|
|
779
|
+
borderBottomWidth: StyleSheet.hairlineWidth
|
|
780
|
+
},
|
|
781
|
+
backBtn: {
|
|
782
|
+
flexDirection: "row",
|
|
783
|
+
alignItems: "center",
|
|
784
|
+
gap: 4,
|
|
785
|
+
borderWidth: 1,
|
|
786
|
+
borderRadius: 10,
|
|
787
|
+
paddingHorizontal: 10,
|
|
788
|
+
paddingVertical: 6
|
|
789
|
+
},
|
|
790
|
+
detailCompany: {
|
|
791
|
+
fontSize: 16,
|
|
792
|
+
fontWeight: "800"
|
|
793
|
+
},
|
|
794
|
+
detailBody: {
|
|
795
|
+
padding: 14,
|
|
796
|
+
gap: 14,
|
|
797
|
+
paddingBottom: 40
|
|
798
|
+
},
|
|
799
|
+
statusRow: {
|
|
800
|
+
gap: 6
|
|
801
|
+
},
|
|
802
|
+
statusChip: {
|
|
803
|
+
borderRadius: 999,
|
|
804
|
+
paddingHorizontal: 10,
|
|
805
|
+
paddingVertical: 6
|
|
806
|
+
},
|
|
807
|
+
statusChipText: {
|
|
808
|
+
fontSize: 11,
|
|
809
|
+
fontWeight: "700"
|
|
810
|
+
},
|
|
811
|
+
actionsWrap: {
|
|
812
|
+
flexDirection: "row",
|
|
813
|
+
flexWrap: "wrap",
|
|
814
|
+
gap: 8
|
|
815
|
+
},
|
|
816
|
+
actionChip: {
|
|
817
|
+
flexDirection: "row",
|
|
818
|
+
alignItems: "center",
|
|
819
|
+
gap: 4,
|
|
820
|
+
borderWidth: 1,
|
|
821
|
+
borderRadius: 10,
|
|
822
|
+
paddingHorizontal: 10,
|
|
823
|
+
paddingVertical: 8
|
|
824
|
+
},
|
|
825
|
+
actionChipText: {
|
|
826
|
+
fontSize: 12,
|
|
827
|
+
fontWeight: "700"
|
|
828
|
+
},
|
|
829
|
+
disabled: {
|
|
830
|
+
opacity: 0.4
|
|
831
|
+
},
|
|
832
|
+
noteBanner: {
|
|
833
|
+
borderRadius: 12,
|
|
834
|
+
padding: 10
|
|
835
|
+
},
|
|
836
|
+
applyPanel: {
|
|
837
|
+
borderWidth: 1,
|
|
838
|
+
borderRadius: 14,
|
|
839
|
+
padding: 12,
|
|
840
|
+
gap: 6
|
|
841
|
+
},
|
|
842
|
+
applyTop: {
|
|
843
|
+
flexDirection: "row",
|
|
844
|
+
flexWrap: "wrap",
|
|
845
|
+
alignItems: "center",
|
|
846
|
+
gap: 6
|
|
847
|
+
},
|
|
848
|
+
applyTitle: {
|
|
849
|
+
fontSize: 12,
|
|
850
|
+
fontWeight: "800"
|
|
851
|
+
},
|
|
852
|
+
panelCard: {
|
|
853
|
+
borderWidth: 1,
|
|
854
|
+
borderRadius: 14,
|
|
855
|
+
padding: 12,
|
|
856
|
+
gap: 8
|
|
857
|
+
},
|
|
858
|
+
panelHead: {
|
|
859
|
+
flexDirection: "row",
|
|
860
|
+
flexWrap: "wrap",
|
|
861
|
+
alignItems: "center",
|
|
862
|
+
gap: 6
|
|
863
|
+
},
|
|
864
|
+
panelTitle: {
|
|
865
|
+
fontSize: 12,
|
|
866
|
+
fontWeight: "800"
|
|
867
|
+
},
|
|
868
|
+
section: {
|
|
869
|
+
borderTopWidth: StyleSheet.hairlineWidth,
|
|
870
|
+
paddingTop: 14,
|
|
871
|
+
gap: 10
|
|
872
|
+
},
|
|
873
|
+
sectionTitle: {
|
|
874
|
+
fontSize: 11,
|
|
875
|
+
fontWeight: "800",
|
|
876
|
+
letterSpacing: 0.6,
|
|
877
|
+
textTransform: "uppercase"
|
|
878
|
+
},
|
|
879
|
+
infoBlock: {
|
|
880
|
+
gap: 4
|
|
881
|
+
},
|
|
882
|
+
infoLabel: {
|
|
883
|
+
fontSize: 11,
|
|
884
|
+
fontWeight: "700",
|
|
885
|
+
letterSpacing: 0.4,
|
|
886
|
+
textTransform: "uppercase"
|
|
887
|
+
},
|
|
888
|
+
pillRow: {
|
|
889
|
+
flexDirection: "row",
|
|
890
|
+
flexWrap: "wrap",
|
|
891
|
+
gap: 6
|
|
892
|
+
},
|
|
893
|
+
pill: {
|
|
894
|
+
borderRadius: 999,
|
|
895
|
+
paddingHorizontal: 8,
|
|
896
|
+
paddingVertical: 3
|
|
897
|
+
},
|
|
898
|
+
quote: {
|
|
899
|
+
borderRadius: 10,
|
|
900
|
+
padding: 10
|
|
901
|
+
},
|
|
902
|
+
linkRow: {
|
|
903
|
+
flexDirection: "row",
|
|
904
|
+
flexWrap: "wrap",
|
|
905
|
+
gap: 12
|
|
906
|
+
}
|
|
907
|
+
});export{ApplicationsPanel};//# sourceMappingURL=ApplicationsPanel.js.map
|