@adminide-stack/yantra-mobile 12.0.196-alpha.0 → 12.0.196-alpha.1

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.
Files changed (382) hide show
  1. package/lib/components/CustomDrawer.js +17 -1
  2. package/lib/components/CustomDrawer.js.map +1 -1
  3. package/lib/compute.js +57 -1
  4. package/lib/compute.js.map +1 -1
  5. package/lib/config/env-config.js +11 -1
  6. package/lib/config/env-config.js.map +1 -1
  7. package/lib/features/agent-chat/NativeAgentChat.js +7 -0
  8. package/lib/features/agent-chat/NativeAgentChat.js.map +1 -1
  9. package/lib/features/canvas/extendVideo.js +5 -1
  10. package/lib/features/canvas/extendVideo.js.map +1 -1
  11. package/lib/features/canvas/workflow/StepSheet.js +18 -1
  12. package/lib/features/canvas/workflow/StepSheet.js.map +1 -1
  13. package/lib/features/canvas/workflow/workflowSteps.js +102 -31
  14. package/lib/features/canvas/workflow/workflowSteps.js.map +1 -1
  15. package/lib/features/chat/ComposerMicSend.js +35 -0
  16. package/lib/features/chat/ComposerMicSend.js.map +1 -0
  17. package/lib/features/chat/ComposerModeSwitch.js +64 -1
  18. package/lib/features/chat/ComposerModeSwitch.js.map +1 -1
  19. package/lib/features/chat/askUser.js +6 -1
  20. package/lib/features/chat/askUser.js.map +1 -1
  21. package/lib/features/connectors/ConnectorSheet.js +443 -0
  22. package/lib/features/connectors/ConnectorSheet.js.map +1 -0
  23. package/lib/features/connectors/ConnectorsPage.js +320 -0
  24. package/lib/features/connectors/ConnectorsPage.js.map +1 -0
  25. package/lib/features/connectors/connectConnector.js +278 -0
  26. package/lib/features/connectors/connectConnector.js.map +1 -0
  27. package/lib/features/connectors/connectorCatalog.js +222 -0
  28. package/lib/features/connectors/connectorCatalog.js.map +1 -0
  29. package/lib/features/connectors/useConnectorCatalog.js +153 -0
  30. package/lib/features/connectors/useConnectorCatalog.js.map +1 -0
  31. package/lib/features/home/needsYou/HomeNeedsYou.js +618 -0
  32. package/lib/features/home/needsYou/HomeNeedsYou.js.map +1 -0
  33. package/lib/features/home/needsYou/chatFollowUps.js +333 -0
  34. package/lib/features/home/needsYou/chatFollowUps.js.map +1 -0
  35. package/lib/features/home/needsYou/format.js +47 -0
  36. package/lib/features/home/needsYou/format.js.map +1 -0
  37. package/lib/features/home/needsYou/historyText.js +40 -0
  38. package/lib/features/home/needsYou/historyText.js.map +1 -0
  39. package/lib/features/home/needsYou/inboxHighlights.js +152 -0
  40. package/lib/features/home/needsYou/inboxHighlights.js.map +1 -0
  41. package/lib/features/home/needsYou/panelsSettings.js +71 -0
  42. package/lib/features/home/needsYou/panelsSettings.js.map +1 -0
  43. package/lib/features/home/needsYou/ported/commandConfirmProtocol.js +13 -0
  44. package/lib/features/home/needsYou/ported/commandConfirmProtocol.js.map +1 -0
  45. package/lib/features/home/needsYou/ported/paymentApprovalProtocol.js +91 -0
  46. package/lib/features/home/needsYou/ported/paymentApprovalProtocol.js.map +1 -0
  47. package/lib/features/home/needsYou/ported/resultCardModels.js +659 -0
  48. package/lib/features/home/needsYou/ported/resultCardModels.js.map +1 -0
  49. package/lib/features/home/needsYou/types.js +1 -0
  50. package/lib/features/home/needsYou/types.js.map +1 -0
  51. package/lib/features/home/needsYou/useChatFollowUps.js +149 -0
  52. package/lib/features/home/needsYou/useChatFollowUps.js.map +1 -0
  53. package/lib/features/home/needsYou/useHomeBriefing.js +68 -0
  54. package/lib/features/home/needsYou/useHomeBriefing.js.map +1 -0
  55. package/lib/features/home/needsYou/useInboxHighlights.js +173 -0
  56. package/lib/features/home/needsYou/useInboxHighlights.js.map +1 -0
  57. package/lib/features/home/needsYou/usePanelsSettings.js +105 -0
  58. package/lib/features/home/needsYou/usePanelsSettings.js.map +1 -0
  59. package/lib/features/shopping/DealCard.js +8 -1
  60. package/lib/features/shopping/DealCard.js.map +1 -1
  61. package/lib/features/shopping/DealRails.js +24 -7
  62. package/lib/features/shopping/DealRails.js.map +1 -1
  63. package/lib/features/shopping/DealsPanel.js +1 -1
  64. package/lib/features/shopping/DealsPanel.js.map +1 -1
  65. package/lib/features/shopping/HolidayDealsPanel.js +529 -0
  66. package/lib/features/shopping/HolidayDealsPanel.js.map +1 -0
  67. package/lib/features/shopping/HolidayDealsParts.js +954 -0
  68. package/lib/features/shopping/HolidayDealsParts.js.map +1 -0
  69. package/lib/features/shopping/HolidayOffers.js +351 -0
  70. package/lib/features/shopping/HolidayOffers.js.map +1 -0
  71. package/lib/features/shopping/ProductCard.js +80 -14
  72. package/lib/features/shopping/ProductCard.js.map +1 -1
  73. package/lib/features/shopping/ProductDetailSheet.js +22 -3
  74. package/lib/features/shopping/ProductDetailSheet.js.map +1 -1
  75. package/lib/features/shopping/SavedPanel.js +341 -5
  76. package/lib/features/shopping/SavedPanel.js.map +1 -1
  77. package/lib/features/shopping/SearchResults.js +8 -2
  78. package/lib/features/shopping/SearchResults.js.map +1 -1
  79. package/lib/features/shopping/ShoppingAgentChatPane.js +12 -0
  80. package/lib/features/shopping/ShoppingAgentChatPane.js.map +1 -1
  81. package/lib/features/shopping/ShoppingExperience.js +56 -19
  82. package/lib/features/shopping/ShoppingExperience.js.map +1 -1
  83. package/lib/features/shopping/TrendingSections.js +13 -4
  84. package/lib/features/shopping/TrendingSections.js.map +1 -1
  85. package/lib/features/shopping/WatchlistPanel.js +61 -5
  86. package/lib/features/shopping/WatchlistPanel.js.map +1 -1
  87. package/lib/features/shopping/catalog.js +41 -2
  88. package/lib/features/shopping/catalog.js.map +1 -1
  89. package/lib/features/shopping/chat/brainRouter.js +14 -0
  90. package/lib/features/shopping/chat/brainRouter.js.map +1 -1
  91. package/lib/features/shopping/chat/shoppingTurn.js +88 -16
  92. package/lib/features/shopping/chat/shoppingTurn.js.map +1 -1
  93. package/lib/features/shopping/hooks/useHolidayDeals.js +388 -0
  94. package/lib/features/shopping/hooks/useHolidayDeals.js.map +1 -0
  95. package/lib/features/shopping/hooks/useProductMedia.js +33 -6
  96. package/lib/features/shopping/hooks/useProductMedia.js.map +1 -1
  97. package/lib/features/shopping/hooks/useShoppingHistorySync.js +8 -4
  98. package/lib/features/shopping/hooks/useShoppingHistorySync.js.map +1 -1
  99. package/lib/features/shopping/hooks/useTrendingProducts.js +11 -3
  100. package/lib/features/shopping/hooks/useTrendingProducts.js.map +1 -1
  101. package/lib/features/shopping/savedProducts.js +76 -6
  102. package/lib/features/shopping/savedProducts.js.map +1 -1
  103. package/lib/features/shopping/services/aiRelevance.js +212 -0
  104. package/lib/features/shopping/services/aiRelevance.js.map +1 -0
  105. package/lib/features/shopping/services/blackFriday.js +301 -0
  106. package/lib/features/shopping/services/blackFriday.js.map +1 -0
  107. package/lib/features/shopping/services/blackFridayBrowserSites.js +137 -0
  108. package/lib/features/shopping/services/blackFridayBrowserSites.js.map +1 -0
  109. package/lib/features/shopping/services/catalogProductSearch.js +21 -3
  110. package/lib/features/shopping/services/catalogProductSearch.js.map +1 -1
  111. package/lib/features/shopping/services/holidayDeals.js +143 -0
  112. package/lib/features/shopping/services/holidayDeals.js.map +1 -0
  113. package/lib/features/shopping/services/mediaShape.js +7 -0
  114. package/lib/features/shopping/services/mediaShape.js.map +1 -0
  115. package/lib/features/shopping/services/modelStep.js +95 -0
  116. package/lib/features/shopping/services/modelStep.js.map +1 -0
  117. package/lib/features/shopping/services/modelWords.js +14 -0
  118. package/lib/features/shopping/services/modelWords.js.map +1 -0
  119. package/lib/features/shopping/services/productAvailability.js +5 -1
  120. package/lib/features/shopping/services/productAvailability.js.map +1 -1
  121. package/lib/features/shopping/services/productFilters.js +2 -2
  122. package/lib/features/shopping/services/productFilters.js.map +1 -1
  123. package/lib/features/shopping/services/productMedia.js +103 -18
  124. package/lib/features/shopping/services/productMedia.js.map +1 -1
  125. package/lib/features/shopping/services/retailerUrl.js +11 -8
  126. package/lib/features/shopping/services/retailerUrl.js.map +1 -1
  127. package/lib/features/shopping/services/salesDealsStore.js +3 -2
  128. package/lib/features/shopping/services/salesDealsStore.js.map +1 -1
  129. package/lib/features/shopping/services/savedReads.js +82 -0
  130. package/lib/features/shopping/services/savedReads.js.map +1 -0
  131. package/lib/features/shopping/services/searchCardFields.js +2 -0
  132. package/lib/features/shopping/services/searchCardFields.js.map +1 -1
  133. package/lib/features/shopping/services/searchRelevance.js +154 -24
  134. package/lib/features/shopping/services/searchRelevance.js.map +1 -1
  135. package/lib/features/shopping/services/secondHand.js +12 -0
  136. package/lib/features/shopping/services/secondHand.js.map +1 -0
  137. package/lib/features/shopping/services/shoppingProductSearch.js +82 -10
  138. package/lib/features/shopping/services/shoppingProductSearch.js.map +1 -1
  139. package/lib/features/shopping/services/shoppingSearchConnectorClient.js +14 -1
  140. package/lib/features/shopping/services/shoppingSearchConnectorClient.js.map +1 -1
  141. package/lib/features/shopping/services/shoppingSubgraph.js +2 -1
  142. package/lib/features/shopping/services/shoppingSubgraph.js.map +1 -1
  143. package/lib/features/shopping/services/storedGalleries.js +130 -0
  144. package/lib/features/shopping/services/storedGalleries.js.map +1 -0
  145. package/lib/features/shopping/services/usedSites.js +263 -0
  146. package/lib/features/shopping/services/usedSites.js.map +1 -0
  147. package/lib/features/shopping/services/verifyProducts.js +3 -3
  148. package/lib/features/shopping/services/verifyProducts.js.map +1 -1
  149. package/lib/features/shopping/services/watchDeal.js +61 -0
  150. package/lib/features/shopping/services/watchDeal.js.map +1 -0
  151. package/lib/features/shopping/shoppingRuntime.js +7 -2
  152. package/lib/features/shopping/shoppingRuntime.js.map +1 -1
  153. package/lib/features/shopping/state/accountCaches.js +20 -0
  154. package/lib/features/shopping/state/accountCaches.js.map +1 -0
  155. package/lib/features/shopping/state/holidayDealsRequest.js +22 -0
  156. package/lib/features/shopping/state/holidayDealsRequest.js.map +1 -0
  157. package/lib/features/shopping/tutorials/ShoppingTutorialDock.js +1 -1
  158. package/lib/features/shopping/tutorials/ShoppingTutorialDock.js.map +1 -1
  159. package/lib/features/shopping/tutorials/shoppingTutorials.js +2 -0
  160. package/lib/features/shopping/tutorials/shoppingTutorials.js.map +1 -1
  161. package/lib/features/shopping/useShoppingSearch.js +74 -18
  162. package/lib/features/shopping/useShoppingSearch.js.map +1 -1
  163. package/lib/features/team-chat/TeamChatExperience.js +474 -0
  164. package/lib/features/team-chat/TeamChatExperience.js.map +1 -0
  165. package/lib/features/team-chat/api/client.js +198 -0
  166. package/lib/features/team-chat/api/client.js.map +1 -0
  167. package/lib/features/team-chat/api/live.js +160 -0
  168. package/lib/features/team-chat/api/live.js.map +1 -0
  169. package/lib/features/team-chat/api/ops.js +241 -0
  170. package/lib/features/team-chat/api/ops.js.map +1 -0
  171. package/lib/features/team-chat/app.js +12 -0
  172. package/lib/features/team-chat/app.js.map +1 -0
  173. package/lib/features/team-chat/components/Avatar.js +107 -0
  174. package/lib/features/team-chat/components/Avatar.js.map +1 -0
  175. package/lib/features/team-chat/components/Composer.js +641 -0
  176. package/lib/features/team-chat/components/Composer.js.map +1 -0
  177. package/lib/features/team-chat/components/Dialogs.js +598 -0
  178. package/lib/features/team-chat/components/Dialogs.js.map +1 -0
  179. package/lib/features/team-chat/components/EmojiPicker.js +165 -0
  180. package/lib/features/team-chat/components/EmojiPicker.js.map +1 -0
  181. package/lib/features/team-chat/components/MessageItem.js +658 -0
  182. package/lib/features/team-chat/components/MessageItem.js.map +1 -0
  183. package/lib/features/team-chat/components/MessageList.js +248 -0
  184. package/lib/features/team-chat/components/MessageList.js.map +1 -0
  185. package/lib/features/team-chat/components/Mrkdwn.js +228 -0
  186. package/lib/features/team-chat/components/Mrkdwn.js.map +1 -0
  187. package/lib/features/team-chat/components/QuickSwitcher.js +215 -0
  188. package/lib/features/team-chat/components/QuickSwitcher.js.map +1 -0
  189. package/lib/features/team-chat/components/ui.js +662 -0
  190. package/lib/features/team-chat/components/ui.js.map +1 -0
  191. package/lib/features/team-chat/nativeTeamChatRegistry.js +15 -0
  192. package/lib/features/team-chat/nativeTeamChatRegistry.js.map +1 -0
  193. package/lib/features/team-chat/state/fetched.js +39 -0
  194. package/lib/features/team-chat/state/fetched.js.map +1 -0
  195. package/lib/features/team-chat/state/lists.js +230 -0
  196. package/lib/features/team-chat/state/lists.js.map +1 -0
  197. package/lib/features/team-chat/state/store.js +1108 -0
  198. package/lib/features/team-chat/state/store.js.map +1 -0
  199. package/lib/features/team-chat/state/useChannelDirectory.js +21 -0
  200. package/lib/features/team-chat/state/useChannelDirectory.js.map +1 -0
  201. package/lib/features/team-chat/theme.js +77 -0
  202. package/lib/features/team-chat/theme.js.map +1 -0
  203. package/lib/features/team-chat/utils/composeText.js +72 -0
  204. package/lib/features/team-chat/utils/composeText.js.map +1 -0
  205. package/lib/features/team-chat/utils/emoji.js +369 -0
  206. package/lib/features/team-chat/utils/emoji.js.map +1 -0
  207. package/lib/features/team-chat/utils/format.js +109 -0
  208. package/lib/features/team-chat/utils/format.js.map +1 -0
  209. package/lib/features/team-chat/utils/messageRows.js +24 -0
  210. package/lib/features/team-chat/utils/messageRows.js.map +1 -0
  211. package/lib/features/team-chat/utils/mrkdwn.js +222 -0
  212. package/lib/features/team-chat/utils/mrkdwn.js.map +1 -0
  213. package/lib/features/team-chat/utils/notify.js +47 -0
  214. package/lib/features/team-chat/utils/notify.js.map +1 -0
  215. package/lib/features/team-chat/utils/pickFiles.js +81 -0
  216. package/lib/features/team-chat/utils/pickFiles.js.map +1 -0
  217. package/lib/features/team-chat/views/ActivityView.js +235 -0
  218. package/lib/features/team-chat/views/ActivityView.js.map +1 -0
  219. package/lib/features/team-chat/views/BrowseView.js +179 -0
  220. package/lib/features/team-chat/views/BrowseView.js.map +1 -0
  221. package/lib/features/team-chat/views/ChannelView.js +475 -0
  222. package/lib/features/team-chat/views/ChannelView.js.map +1 -0
  223. package/lib/features/team-chat/views/DetailsPane.js +816 -0
  224. package/lib/features/team-chat/views/DetailsPane.js.map +1 -0
  225. package/lib/features/team-chat/views/DraftsView.js +212 -0
  226. package/lib/features/team-chat/views/DraftsView.js.map +1 -0
  227. package/lib/features/team-chat/views/FilesView.js +152 -0
  228. package/lib/features/team-chat/views/FilesView.js.map +1 -0
  229. package/lib/features/team-chat/views/NewMessageView.js +286 -0
  230. package/lib/features/team-chat/views/NewMessageView.js.map +1 -0
  231. package/lib/features/team-chat/views/PeopleView.js +118 -0
  232. package/lib/features/team-chat/views/PeopleView.js.map +1 -0
  233. package/lib/features/team-chat/views/ProfilePane.js +220 -0
  234. package/lib/features/team-chat/views/ProfilePane.js.map +1 -0
  235. package/lib/features/team-chat/views/SavedView.js +113 -0
  236. package/lib/features/team-chat/views/SavedView.js.map +1 -0
  237. package/lib/features/team-chat/views/SearchView.js +307 -0
  238. package/lib/features/team-chat/views/SearchView.js.map +1 -0
  239. package/lib/features/team-chat/views/Sidebar.js +368 -0
  240. package/lib/features/team-chat/views/Sidebar.js.map +1 -0
  241. package/lib/features/team-chat/views/ThreadPane.js +139 -0
  242. package/lib/features/team-chat/views/ThreadPane.js.map +1 -0
  243. package/lib/features/team-chat/views/ThreadsView.js +157 -0
  244. package/lib/features/team-chat/views/ThreadsView.js.map +1 -0
  245. package/lib/features/webbuilder/WebBuilderExperience.js +276 -42
  246. package/lib/features/webbuilder/WebBuilderExperience.js.map +1 -1
  247. package/lib/features/webbuilder/buildFragments.js +10 -4
  248. package/lib/features/webbuilder/buildFragments.js.map +1 -1
  249. package/lib/features/webbuilder/components/AssetChips.js +61 -0
  250. package/lib/features/webbuilder/components/AssetChips.js.map +1 -0
  251. package/lib/features/webbuilder/components/AssetSiteChooser.js +100 -0
  252. package/lib/features/webbuilder/components/AssetSiteChooser.js.map +1 -0
  253. package/lib/features/webbuilder/components/CommentsLayer.js +485 -0
  254. package/lib/features/webbuilder/components/CommentsLayer.js.map +1 -0
  255. package/lib/features/webbuilder/components/Composer.js +16 -2
  256. package/lib/features/webbuilder/components/Composer.js.map +1 -1
  257. package/lib/features/webbuilder/components/ComposerModeSwitch.js +71 -0
  258. package/lib/features/webbuilder/components/ComposerModeSwitch.js.map +1 -0
  259. package/lib/features/webbuilder/components/MyAssetsPicker.js +500 -0
  260. package/lib/features/webbuilder/components/MyAssetsPicker.js.map +1 -0
  261. package/lib/features/webbuilder/components/PlanDocument.js +165 -0
  262. package/lib/features/webbuilder/components/PlanDocument.js.map +1 -0
  263. package/lib/features/webbuilder/components/PlanDraftCard.js +205 -0
  264. package/lib/features/webbuilder/components/PlanDraftCard.js.map +1 -0
  265. package/lib/features/webbuilder/components/PlanView.js +788 -0
  266. package/lib/features/webbuilder/components/PlanView.js.map +1 -0
  267. package/lib/features/webbuilder/components/PreviewConsoleSheet.js +334 -0
  268. package/lib/features/webbuilder/components/PreviewConsoleSheet.js.map +1 -0
  269. package/lib/features/webbuilder/components/PreviewFrame.js +45 -3
  270. package/lib/features/webbuilder/components/PreviewFrame.js.map +1 -1
  271. package/lib/features/webbuilder/components/PreviewScreen.js +94 -10
  272. package/lib/features/webbuilder/components/PreviewScreen.js.map +1 -1
  273. package/lib/features/webbuilder/components/ProjectChat.js +84 -14
  274. package/lib/features/webbuilder/components/ProjectChat.js.map +1 -1
  275. package/lib/features/webbuilder/components/StudioHome.js +69 -6
  276. package/lib/features/webbuilder/components/StudioHome.js.map +1 -1
  277. package/lib/features/webbuilder/components/StyleDirectionsSheet.js +291 -0
  278. package/lib/features/webbuilder/components/StyleDirectionsSheet.js.map +1 -0
  279. package/lib/features/webbuilder/components/VersionChangesView.js +574 -0
  280. package/lib/features/webbuilder/components/VersionChangesView.js.map +1 -0
  281. package/lib/features/webbuilder/components/VersionPreviewView.js +186 -0
  282. package/lib/features/webbuilder/components/VersionPreviewView.js.map +1 -0
  283. package/lib/features/webbuilder/components/VersionsSheet.js +673 -16
  284. package/lib/features/webbuilder/components/VersionsSheet.js.map +1 -1
  285. package/lib/features/webbuilder/connectorTemplates.js +6 -1
  286. package/lib/features/webbuilder/connectorTemplates.js.map +1 -1
  287. package/lib/features/webbuilder/myAssets.js +101 -0
  288. package/lib/features/webbuilder/myAssets.js.map +1 -0
  289. package/lib/features/webbuilder/planChat.js +146 -0
  290. package/lib/features/webbuilder/planChat.js.map +1 -0
  291. package/lib/features/webbuilder/planDocument.js +89 -0
  292. package/lib/features/webbuilder/planDocument.js.map +1 -0
  293. package/lib/features/webbuilder/planStore.js +55 -0
  294. package/lib/features/webbuilder/planStore.js.map +1 -0
  295. package/lib/features/webbuilder/previewCommentsScript.js +218 -0
  296. package/lib/features/webbuilder/previewCommentsScript.js.map +1 -0
  297. package/lib/features/webbuilder/previewConsoleScript.js +39 -0
  298. package/lib/features/webbuilder/previewConsoleScript.js.map +1 -0
  299. package/lib/features/webbuilder/styleDirections.js +85 -0
  300. package/lib/features/webbuilder/styleDirections.js.map +1 -0
  301. package/lib/features/webbuilder/useCanvasComments.js +335 -0
  302. package/lib/features/webbuilder/useCanvasComments.js.map +1 -0
  303. package/lib/features/webbuilder/useCatalogTemplates.js +37 -0
  304. package/lib/features/webbuilder/useCatalogTemplates.js.map +1 -0
  305. package/lib/features/webbuilder/usePlanMode.js +145 -0
  306. package/lib/features/webbuilder/usePlanMode.js.map +1 -0
  307. package/lib/features/webbuilder/useStyleDirections.js +112 -0
  308. package/lib/features/webbuilder/useStyleDirections.js.map +1 -0
  309. package/lib/features/webbuilder/web/assets/assetsApi.js +174 -0
  310. package/lib/features/webbuilder/web/assets/assetsApi.js.map +1 -0
  311. package/lib/features/webbuilder/web/assets/assetsApi.ts +173 -0
  312. package/lib/features/webbuilder/web/assets/myAssets.js +341 -0
  313. package/lib/features/webbuilder/web/assets/myAssets.js.map +1 -0
  314. package/lib/features/webbuilder/web/assets/myAssets.ts +396 -0
  315. package/lib/features/webbuilder/web/canvas/elementName.js +46 -0
  316. package/lib/features/webbuilder/web/canvas/elementName.js.map +1 -0
  317. package/lib/features/webbuilder/web/canvas/visualEditorBridge.js +95 -0
  318. package/lib/features/webbuilder/web/canvas/visualEditorBridge.js.map +1 -0
  319. package/lib/features/webbuilder/web/chat/agentTurn.js +24 -0
  320. package/lib/features/webbuilder/web/chat/agentTurn.js.map +1 -0
  321. package/lib/features/webbuilder/web/chat/planMode.js +164 -0
  322. package/lib/features/webbuilder/web/chat/planMode.js.map +1 -0
  323. package/lib/features/webbuilder/web/chat/realPlans.js +66 -0
  324. package/lib/features/webbuilder/web/chat/realPlans.js.map +1 -0
  325. package/lib/features/webbuilder/web/comments/comments.js +336 -0
  326. package/lib/features/webbuilder/web/comments/comments.js.map +1 -0
  327. package/lib/features/webbuilder/web/comments/commentsApi.js +59 -0
  328. package/lib/features/webbuilder/web/comments/commentsApi.js.map +1 -0
  329. package/lib/features/webbuilder/web/components/planView.js +21 -0
  330. package/lib/features/webbuilder/web/components/planView.js.map +1 -0
  331. package/lib/features/webbuilder/web/console/consolePanel.js +43 -0
  332. package/lib/features/webbuilder/web/console/consolePanel.js.map +1 -0
  333. package/lib/features/webbuilder/web/console/previewConsole.js +256 -0
  334. package/lib/features/webbuilder/web/console/previewConsole.js.map +1 -0
  335. package/lib/features/webbuilder/web/console/usePreviewConsole.js +147 -0
  336. package/lib/features/webbuilder/web/console/usePreviewConsole.js.map +1 -0
  337. package/lib/features/webbuilder/web/design/directions.js +419 -1
  338. package/lib/features/webbuilder/web/design/directions.js.map +1 -1
  339. package/lib/features/webbuilder/web/history/diffActions.js +222 -0
  340. package/lib/features/webbuilder/web/history/diffActions.js.map +1 -0
  341. package/lib/features/webbuilder/web/history/diffHighlight.js +18 -0
  342. package/lib/features/webbuilder/web/history/diffHighlight.js.map +1 -0
  343. package/lib/features/webbuilder/web/history/versionActions.js +272 -0
  344. package/lib/features/webbuilder/web/history/versionActions.js.map +1 -0
  345. package/lib/features/webbuilder/web/history/versionDiff.js +338 -0
  346. package/lib/features/webbuilder/web/history/versionDiff.js.map +1 -0
  347. package/lib/features/webbuilder/web/history/versionPreview.js +83 -0
  348. package/lib/features/webbuilder/web/history/versionPreview.js.map +1 -0
  349. package/lib/features/webbuilder/web/history/versionPreviewMachine.js +150 -0
  350. package/lib/features/webbuilder/web/history/versionPreviewMachine.js.map +1 -0
  351. package/lib/features/webbuilder/web/history/versions.js +326 -1
  352. package/lib/features/webbuilder/web/history/versions.js.map +1 -1
  353. package/lib/features/webbuilder/web/hosted/hostedTurn.js +36 -0
  354. package/lib/features/webbuilder/web/hosted/hostedTurn.js.map +1 -0
  355. package/lib/features/webbuilder/web/studio/brandKit.js +25 -0
  356. package/lib/features/webbuilder/web/studio/brandKit.js.map +1 -0
  357. package/lib/features/webbuilder/web/utils/promptSafe.js +15 -0
  358. package/lib/features/webbuilder/web/utils/promptSafe.js.map +1 -0
  359. package/lib/features/webbuilder/web/webServices.js +3 -1
  360. package/lib/features/webbuilder/web/webServices.js.map +1 -1
  361. package/lib/index.js +1 -1
  362. package/lib/index.js.map +1 -1
  363. package/lib/routes.json +55 -0
  364. package/lib/screens/Account/index.js +13 -5
  365. package/lib/screens/Account/index.js.map +1 -1
  366. package/lib/screens/Chat/index.js +16 -0
  367. package/lib/screens/Chat/index.js.map +1 -1
  368. package/lib/screens/Home/HomeScreen.js +202 -39
  369. package/lib/screens/Home/HomeScreen.js.map +1 -1
  370. package/lib/screens/Home/components/HomeHero.js +52 -38
  371. package/lib/screens/Home/components/HomeHero.js.map +1 -1
  372. package/lib/screens/Home/components/homeCatalog.js +8 -1
  373. package/lib/screens/Home/components/homeCatalog.js.map +1 -1
  374. package/lib/screens/TeamChat/index.js +41 -0
  375. package/lib/screens/TeamChat/index.js.map +1 -0
  376. package/lib/screens/WebBuilder/nativeWebBuilderRedirect.js +9 -2
  377. package/lib/screens/WebBuilder/nativeWebBuilderRedirect.js.map +1 -1
  378. package/lib/screens/WebBuilderNative/index.js +13 -3
  379. package/lib/screens/WebBuilderNative/index.js.map +1 -1
  380. package/lib/screens/WebBuilderNative/useConnectorTemplates.js +2 -2
  381. package/lib/screens/WebBuilderNative/useConnectorTemplates.js.map +1 -1
  382. package/package.json +3 -3
@@ -0,0 +1,618 @@
1
+ import {jsxs,jsx}from'react/jsx-runtime';import {useState,useCallback,useEffect}from'react';import {StyleSheet,View,ScrollView,Pressable,ActivityIndicator,Modal,Image}from'react-native';import {useSafeAreaInsets}from'react-native-safe-area-context';import {MaterialCommunityIcons}from'@expo/vector-icons';import {Text}from'@admin-layout/gluestack-ui-mobile';import {relativeTime,faviconUrl}from'./format.js';const CARD_WIDTH = 272;
2
+ const SOURCE_ICON = {
3
+ chat: "message-outline",
4
+ gmail: "email-outline",
5
+ calendar: "calendar-clock"
6
+ };
7
+ const SOURCE_LABEL = {
8
+ chat: "From your chat",
9
+ gmail: "Gmail",
10
+ calendar: "Calendar"
11
+ };
12
+ function cardTitle(card) {
13
+ const text = card.text.trim();
14
+ if (/^[“"]/.test(text)) return text.slice(1).replace(/[”"]$/, "").trim();
15
+ return `${card.verb} ${text}`;
16
+ }
17
+ function splitAside(title) {
18
+ const match = /^(.*\S)\s*\(([^()]+)\)$/.exec(title);
19
+ return match && match[1].length >= 12 ? {
20
+ head: match[1],
21
+ aside: match[2].trim()
22
+ } : {
23
+ head: title
24
+ };
25
+ }
26
+ function sourceLine(card) {
27
+ var _a;
28
+ const context = (_a = card.context) == null ? void 0 : _a.trim();
29
+ if (!context || context === "Gmail") return SOURCE_LABEL[card.source];
30
+ if (card.source === "chat") return `In \u201C${context}\u201D`;
31
+ return card.source === "gmail" ? `From ${context}` : context;
32
+ }
33
+ function opensChatOnly(card) {
34
+ return card.action.kind === "open-chat" && !card.action.reply;
35
+ }
36
+ function primaryLabel(card) {
37
+ return opensChatOnly(card) ? "Open chat" : card.verb;
38
+ }
39
+ function capitalize(text) {
40
+ return text ? text.charAt(0).toLocaleUpperCase() + text.slice(1) : text;
41
+ }
42
+ function checkedAgo(at, now) {
43
+ const label = relativeTime(at, now);
44
+ return label === "now" ? "just now" : /^\d/.test(label) ? `${label} ago` : label;
45
+ }
46
+ function useNow(everyMs) {
47
+ const [now, setNow] = useState(() => Date.now());
48
+ useEffect(() => {
49
+ const timer = setInterval(() => setNow(Date.now()), everyMs);
50
+ return () => clearInterval(timer);
51
+ }, [everyMs]);
52
+ return now;
53
+ }
54
+ function paletteFor(isDark) {
55
+ return isDark ? {
56
+ card: "#111827",
57
+ border: "rgba(148,163,184,0.22)",
58
+ ink: "#e5e7eb",
59
+ muted: "#94a3b8",
60
+ chip: "rgba(229,231,235,0.08)",
61
+ chipPressed: "rgba(229,231,235,0.16)",
62
+ accent: "#F6B24A",
63
+ ok: "#4ade80",
64
+ banner: "rgba(148,163,184,0.12)",
65
+ pressed: "rgba(148,163,184,0.10)",
66
+ backdrop: "rgba(0,0,0,0.55)"
67
+ } : {
68
+ card: "#FFFFFF",
69
+ border: "#ECE7DF",
70
+ ink: "#1f2937",
71
+ muted: "#6b7280",
72
+ chip: "rgba(15,23,42,0.06)",
73
+ chipPressed: "rgba(15,23,42,0.11)",
74
+ accent: "#A84E09",
75
+ ok: "#16a34a",
76
+ banner: "rgba(15,23,42,0.05)",
77
+ pressed: "rgba(15,23,42,0.04)",
78
+ backdrop: "rgba(15,23,42,0.35)"
79
+ };
80
+ }
81
+ function Sentence({
82
+ text,
83
+ app,
84
+ style
85
+ }) {
86
+ const at = app ? text.toLowerCase().indexOf(app.name.toLowerCase()) : -1;
87
+ if (!app || at < 0) return /* @__PURE__ */ jsx(Text, { style, children: text });
88
+ return /* @__PURE__ */ jsxs(Text, { style, children: [
89
+ text.slice(0, at),
90
+ app.domain ? /* @__PURE__ */ jsx(Image, { source: {
91
+ uri: faviconUrl(app.domain)
92
+ }, style: styles.appMark, accessibilityIgnoresInvertColors: true }) : null,
93
+ app.domain ? " " : "",
94
+ text.slice(at)
95
+ ] });
96
+ }
97
+ function NeedsCard({
98
+ card,
99
+ now,
100
+ pal,
101
+ onAct,
102
+ onDismiss,
103
+ onOpen
104
+ }) {
105
+ const when = card.at ? capitalize(relativeTime(card.at, now)) : null;
106
+ const title = cardTitle(card);
107
+ return /* @__PURE__ */ jsxs(Pressable, { onPress: () => onOpen(card), accessibilityRole: "button", accessibilityLabel: `Details: ${title}`, style: ({
108
+ pressed
109
+ }) => [styles.card, {
110
+ backgroundColor: pal.card,
111
+ borderColor: pal.border
112
+ }, pressed && {
113
+ opacity: 0.92
114
+ }], children: [
115
+ /* @__PURE__ */ jsxs(View, { style: styles.cardTop, children: [
116
+ /* @__PURE__ */ jsx(MaterialCommunityIcons, { name: SOURCE_ICON[card.source], size: 14, color: pal.muted }),
117
+ /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles.source, {
118
+ color: pal.muted
119
+ }], children: sourceLine(card) }),
120
+ card.urgent ? /* @__PURE__ */ jsx(Text, { style: [styles.soon, {
121
+ color: pal.accent
122
+ }], children: "Soon" }) : null,
123
+ when ? /* @__PURE__ */ jsx(Text, { style: [styles.when, {
124
+ color: pal.muted
125
+ }], children: when }) : null
126
+ ] }),
127
+ /* @__PURE__ */ jsx(Sentence, { text: splitAside(title).head, app: card.app, style: [styles.cardTitle, {
128
+ color: pal.ink
129
+ }] }),
130
+ /* @__PURE__ */ jsxs(View, { style: styles.cardActions, children: [
131
+ /* @__PURE__ */ jsxs(Pressable, { onPress: () => onAct(card), accessibilityRole: "button", style: ({
132
+ pressed
133
+ }) => [styles.go, {
134
+ backgroundColor: pressed ? pal.chipPressed : pal.chip
135
+ }], children: [
136
+ /* @__PURE__ */ jsx(Text, { style: [styles.goLabel, {
137
+ color: pal.ink
138
+ }], children: primaryLabel(card) }),
139
+ opensChatOnly(card) ? /* @__PURE__ */ jsx(MaterialCommunityIcons, { name: "arrow-top-right", size: 14, color: pal.ink }) : null
140
+ ] }),
141
+ /* @__PURE__ */ jsx(Pressable, { onPress: () => onDismiss(card), accessibilityRole: "button", hitSlop: 6, style: ({
142
+ pressed
143
+ }) => [styles.ghost, pressed && {
144
+ backgroundColor: pal.pressed
145
+ }], children: /* @__PURE__ */ jsx(Text, { style: [styles.ghostLabel, {
146
+ color: pal.muted
147
+ }], children: "Dismiss" }) })
148
+ ] })
149
+ ] });
150
+ }
151
+ function NeedsFocus({
152
+ card,
153
+ now,
154
+ pal,
155
+ onAct,
156
+ onReply,
157
+ onDismiss,
158
+ onClose
159
+ }) {
160
+ const insets = useSafeAreaInsets();
161
+ const when = card.at ? capitalize(relativeTime(card.at, now)) : null;
162
+ const {
163
+ head,
164
+ aside
165
+ } = splitAside(cardTitle(card));
166
+ const run = (handler) => () => {
167
+ onClose();
168
+ handler(card);
169
+ };
170
+ return /* @__PURE__ */ jsx(Modal, { visible: true, transparent: true, animationType: "fade", onRequestClose: onClose, children: /* @__PURE__ */ jsx(Pressable, { style: [styles.backdrop, {
171
+ backgroundColor: pal.backdrop
172
+ }], onPress: onClose, accessibilityLabel: "Close", children: /* @__PURE__ */ jsxs(Pressable, { onPress: () => void 0, style: [styles.focus, {
173
+ backgroundColor: pal.card,
174
+ borderColor: pal.border,
175
+ marginBottom: Math.max(16, insets.bottom)
176
+ }], children: [
177
+ /* @__PURE__ */ jsxs(View, { style: styles.focusBody, children: [
178
+ /* @__PURE__ */ jsxs(View, { style: styles.cardTop, children: [
179
+ /* @__PURE__ */ jsx(MaterialCommunityIcons, { name: SOURCE_ICON[card.source], size: 14, color: pal.muted }),
180
+ /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles.source, {
181
+ color: pal.muted
182
+ }], children: sourceLine(card) }),
183
+ card.urgent ? /* @__PURE__ */ jsx(Text, { style: [styles.soon, {
184
+ color: pal.accent
185
+ }], children: "Soon" }) : null,
186
+ when ? /* @__PURE__ */ jsx(Text, { style: [styles.when, {
187
+ color: pal.muted
188
+ }], children: when }) : null
189
+ ] }),
190
+ /* @__PURE__ */ jsx(Sentence, { text: head, app: card.app, style: [styles.focusTitle, {
191
+ color: pal.ink
192
+ }] }),
193
+ aside ? /* @__PURE__ */ jsx(Text, { style: [styles.aside, {
194
+ color: pal.muted
195
+ }], children: aside }) : null,
196
+ card.detail ? /* @__PURE__ */ jsx(Text, { style: [styles.detail, {
197
+ color: pal.ink,
198
+ backgroundColor: pal.banner
199
+ }], children: card.detail }) : null
200
+ ] }),
201
+ /* @__PURE__ */ jsxs(View, { style: [styles.focusActions, {
202
+ borderTopColor: pal.border
203
+ }], children: [
204
+ /* @__PURE__ */ jsxs(Pressable, { onPress: run(onAct), accessibilityRole: "button", style: ({
205
+ pressed
206
+ }) => [styles.go, {
207
+ backgroundColor: pressed ? pal.chipPressed : pal.chip
208
+ }], children: [
209
+ /* @__PURE__ */ jsx(Text, { style: [styles.goLabel, {
210
+ color: pal.ink
211
+ }], children: primaryLabel(card) }),
212
+ opensChatOnly(card) ? /* @__PURE__ */ jsx(MaterialCommunityIcons, { name: "arrow-top-right", size: 14, color: pal.ink }) : null
213
+ ] }),
214
+ /* @__PURE__ */ jsxs(Pressable, { onPress: run(onReply), accessibilityRole: "button", style: ({
215
+ pressed
216
+ }) => [styles.ghost, pressed && {
217
+ backgroundColor: pal.pressed
218
+ }], children: [
219
+ /* @__PURE__ */ jsx(MaterialCommunityIcons, { name: "reply-outline", size: 15, color: pal.muted }),
220
+ /* @__PURE__ */ jsx(Text, { style: [styles.ghostLabel, {
221
+ color: pal.muted
222
+ }], children: "Reply" })
223
+ ] }),
224
+ /* @__PURE__ */ jsxs(Pressable, { onPress: run(onDismiss), accessibilityRole: "button", style: ({
225
+ pressed
226
+ }) => [styles.ghost, styles.pushRight, pressed && {
227
+ backgroundColor: pal.pressed
228
+ }], children: [
229
+ /* @__PURE__ */ jsx(MaterialCommunityIcons, { name: "trash-can-outline", size: 15, color: pal.muted }),
230
+ /* @__PURE__ */ jsx(Text, { style: [styles.ghostLabel, {
231
+ color: pal.muted
232
+ }], children: "Dismiss" })
233
+ ] })
234
+ ] })
235
+ ] }) }) });
236
+ }
237
+ function InboxBanner({
238
+ status,
239
+ pal,
240
+ onConnect,
241
+ onTurnOn,
242
+ onNotNow,
243
+ onRetry
244
+ }) {
245
+ if (status === "loading") {
246
+ return /* @__PURE__ */ jsxs(View, { style: [styles.bannerQuiet, {
247
+ backgroundColor: pal.banner
248
+ }], accessibilityState: {
249
+ busy: true
250
+ }, children: [
251
+ /* @__PURE__ */ jsx(ActivityIndicator, { size: "small", color: pal.muted }),
252
+ /* @__PURE__ */ jsx(Text, { style: [styles.bannerQuietText, {
253
+ color: pal.muted
254
+ }], children: "Reading your inbox\u2026" })
255
+ ] });
256
+ }
257
+ if (status === "error") {
258
+ return /* @__PURE__ */ jsxs(View, { style: [styles.bannerQuiet, styles.spread, {
259
+ backgroundColor: pal.banner
260
+ }], children: [
261
+ /* @__PURE__ */ jsx(Text, { style: [styles.bannerQuietText, {
262
+ color: pal.ink
263
+ }], children: "Couldn\u2019t read your inbox." }),
264
+ /* @__PURE__ */ jsxs(Pressable, { onPress: onRetry, accessibilityRole: "button", style: styles.ghost, children: [
265
+ /* @__PURE__ */ jsx(MaterialCommunityIcons, { name: "refresh", size: 15, color: pal.ink }),
266
+ /* @__PURE__ */ jsx(Text, { style: [styles.ghostLabel, {
267
+ color: pal.ink
268
+ }], children: "Try again" })
269
+ ] })
270
+ ] });
271
+ }
272
+ const copy = status === "disconnected" ? {
273
+ title: "Bring in your inbox",
274
+ body: "Connect Gmail and Yantra flags the emails that need you: replies, bills, deadlines.",
275
+ action: "Connect Gmail",
276
+ onAction: onConnect
277
+ } : status === "needs-consent" ? {
278
+ title: "Inbox highlights",
279
+ body: "Yantra reads the subjects and previews of recent mail to flag what needs you. It never sends, deletes or changes anything on its own.",
280
+ action: "Turn on",
281
+ onAction: onTurnOn
282
+ } : null;
283
+ if (!copy) return null;
284
+ return /* @__PURE__ */ jsxs(View, { style: [styles.banner, {
285
+ backgroundColor: pal.card,
286
+ borderColor: pal.border
287
+ }], children: [
288
+ /* @__PURE__ */ jsxs(View, { style: styles.bannerHead, children: [
289
+ /* @__PURE__ */ jsx(View, { style: [styles.bannerIcon, {
290
+ backgroundColor: pal.banner
291
+ }], children: /* @__PURE__ */ jsx(MaterialCommunityIcons, { name: "email-outline", size: 18, color: pal.ink }) }),
292
+ /* @__PURE__ */ jsxs(View, { style: styles.bannerText, children: [
293
+ /* @__PURE__ */ jsx(Text, { style: [styles.bannerTitle, {
294
+ color: pal.ink
295
+ }], children: copy.title }),
296
+ /* @__PURE__ */ jsx(Text, { style: [styles.bannerBody, {
297
+ color: pal.muted
298
+ }], children: copy.body })
299
+ ] })
300
+ ] }),
301
+ /* @__PURE__ */ jsxs(View, { style: styles.bannerActions, children: [
302
+ /* @__PURE__ */ jsx(Pressable, { onPress: copy.onAction, accessibilityRole: "button", style: ({
303
+ pressed
304
+ }) => [styles.accentBtn, {
305
+ backgroundColor: pal.accent,
306
+ opacity: pressed ? 0.85 : 1
307
+ }], children: /* @__PURE__ */ jsx(Text, { style: styles.accentLabel, children: copy.action }) }),
308
+ /* @__PURE__ */ jsx(Pressable, { onPress: onNotNow, accessibilityRole: "button", style: ({
309
+ pressed
310
+ }) => [styles.ghost, pressed && {
311
+ backgroundColor: pal.pressed
312
+ }], children: /* @__PURE__ */ jsx(Text, { style: [styles.ghostLabel, {
313
+ color: pal.muted
314
+ }], children: "Not now" }) })
315
+ ] })
316
+ ] });
317
+ }
318
+ function HomeNeedsYou({
319
+ briefing,
320
+ isDark,
321
+ headingColor,
322
+ headingMutedColor,
323
+ onConnectGmail
324
+ }) {
325
+ const now = useNow(6e4);
326
+ const pal = paletteFor(isDark);
327
+ const [opened, setOpened] = useState(null);
328
+ const closeCard = useCallback(() => setOpened(null), []);
329
+ const {
330
+ cards,
331
+ inbox,
332
+ loaded
333
+ } = briefing;
334
+ const inboxNotice = inbox.shown && inbox.status !== "ready" && inbox.status !== "unknown";
335
+ const connectGmail = onConnectGmail;
336
+ if (!loaded) return null;
337
+ const hasCards = cards.length > 0;
338
+ if (!hasCards && !inboxNotice && !(inbox.shown && inbox.status === "ready" && inbox.updatedAt)) return null;
339
+ return /* @__PURE__ */ jsxs(View, { style: styles.wrap, accessibilityLabel: "Needs you", children: [
340
+ /* @__PURE__ */ jsxs(View, { style: styles.headingRow, children: [
341
+ /* @__PURE__ */ jsx(Text, { accessibilityRole: "header", style: [styles.heading, {
342
+ color: headingColor
343
+ }], children: "Needs you" }),
344
+ hasCards ? /* @__PURE__ */ jsx(Text, { style: [styles.count, {
345
+ color: headingMutedColor
346
+ }], children: cards.length }) : null
347
+ ] }),
348
+ hasCards ? /* @__PURE__ */ jsx(ScrollView, { horizontal: true, showsHorizontalScrollIndicator: false, snapToInterval: CARD_WIDTH + 10, decelerationRate: "fast", contentContainerStyle: styles.strip, style: styles.stripOuter, children: cards.map((card) => /* @__PURE__ */ jsx(NeedsCard, { card, now, pal, onAct: briefing.act, onDismiss: briefing.dismiss, onOpen: setOpened }, card.id)) }) : /* @__PURE__ */ jsxs(View, { style: styles.empty, children: [
349
+ /* @__PURE__ */ jsx(MaterialCommunityIcons, { name: "check", size: 16, color: pal.ok, style: styles.emptyIcon }),
350
+ /* @__PURE__ */ jsx(Text, { style: [styles.emptyText, {
351
+ color: headingMutedColor
352
+ }], children: "When Yantra needs a decision or a reply from you, it shows up here." })
353
+ ] }),
354
+ inboxNotice ? /* @__PURE__ */ jsx(InboxBanner, { status: inbox.status, pal, onConnect: connectGmail, onTurnOn: () => briefing.setInboxHighlights(true), onNotNow: () => briefing.hideSection("inbox"), onRetry: inbox.refresh }) : null,
355
+ inbox.shown && inbox.status === "ready" && inbox.updatedAt ? /* @__PURE__ */ jsxs(View, { style: styles.checkedRow, children: [
356
+ /* @__PURE__ */ jsxs(Text, { style: [styles.checked, {
357
+ color: headingMutedColor
358
+ }], children: [
359
+ "Inbox checked ",
360
+ checkedAgo(inbox.updatedAt, now)
361
+ ] }),
362
+ /* @__PURE__ */ jsx(Text, { style: [styles.checked, {
363
+ color: headingMutedColor
364
+ }], children: "\xB7" }),
365
+ /* @__PURE__ */ jsx(Pressable, { onPress: inbox.refresh, accessibilityRole: "button", hitSlop: 6, children: /* @__PURE__ */ jsx(Text, { style: [styles.checked, styles.checkedLink, {
366
+ color: headingMutedColor
367
+ }], children: "Refresh" }) }),
368
+ /* @__PURE__ */ jsx(Text, { style: [styles.checked, {
369
+ color: headingMutedColor
370
+ }], children: "\xB7" }),
371
+ /* @__PURE__ */ jsx(Pressable, { onPress: () => briefing.setInboxHighlights(false), accessibilityRole: "button", hitSlop: 6, children: /* @__PURE__ */ jsx(Text, { style: [styles.checked, styles.checkedLink, {
372
+ color: headingMutedColor
373
+ }], children: "Turn off" }) })
374
+ ] }) : null,
375
+ opened ? /* @__PURE__ */ jsx(NeedsFocus, { card: opened, now, pal, onAct: briefing.act, onReply: briefing.reply, onDismiss: briefing.dismiss, onClose: closeCard }) : null
376
+ ] });
377
+ }
378
+ const styles = StyleSheet.create({
379
+ wrap: {
380
+ width: "100%",
381
+ marginTop: 24
382
+ },
383
+ headingRow: {
384
+ flexDirection: "row",
385
+ alignItems: "center",
386
+ gap: 8,
387
+ marginBottom: 8
388
+ },
389
+ heading: {
390
+ fontSize: 17,
391
+ fontWeight: "600",
392
+ letterSpacing: -0.2
393
+ },
394
+ count: {
395
+ fontSize: 17,
396
+ fontVariant: ["tabular-nums"]
397
+ },
398
+ // The strip runs to the screen's edges, past the home's 28px gutter, as the web's -mx-4 strip does.
399
+ stripOuter: {
400
+ marginHorizontal: -28
401
+ },
402
+ strip: {
403
+ paddingHorizontal: 28,
404
+ gap: 10,
405
+ paddingBottom: 4
406
+ },
407
+ card: {
408
+ width: CARD_WIDTH,
409
+ minHeight: 112,
410
+ borderRadius: 14,
411
+ borderWidth: StyleSheet.hairlineWidth,
412
+ padding: 12,
413
+ shadowColor: "#3C280A",
414
+ shadowOpacity: 0.06,
415
+ shadowRadius: 12,
416
+ shadowOffset: {
417
+ width: 0,
418
+ height: 4
419
+ },
420
+ elevation: 1
421
+ },
422
+ cardTop: {
423
+ flexDirection: "row",
424
+ alignItems: "center",
425
+ gap: 6
426
+ },
427
+ source: {
428
+ flexShrink: 1,
429
+ fontSize: 12,
430
+ lineHeight: 16
431
+ },
432
+ soon: {
433
+ fontSize: 12,
434
+ fontWeight: "500"
435
+ },
436
+ when: {
437
+ marginLeft: "auto",
438
+ fontSize: 12,
439
+ fontVariant: ["tabular-nums"]
440
+ },
441
+ cardTitle: {
442
+ marginTop: 8,
443
+ fontSize: 14,
444
+ lineHeight: 20,
445
+ fontWeight: "600"
446
+ },
447
+ appMark: {
448
+ width: 14,
449
+ height: 14,
450
+ borderRadius: 3
451
+ },
452
+ cardActions: {
453
+ marginTop: "auto",
454
+ paddingTop: 8,
455
+ flexDirection: "row",
456
+ alignItems: "center",
457
+ gap: 4
458
+ },
459
+ go: {
460
+ flexDirection: "row",
461
+ alignItems: "center",
462
+ justifyContent: "center",
463
+ gap: 6,
464
+ height: 32,
465
+ paddingHorizontal: 13,
466
+ borderRadius: 999
467
+ },
468
+ goLabel: {
469
+ fontSize: 14,
470
+ fontWeight: "500"
471
+ },
472
+ ghost: {
473
+ flexDirection: "row",
474
+ alignItems: "center",
475
+ gap: 6,
476
+ height: 36,
477
+ paddingHorizontal: 10,
478
+ borderRadius: 999
479
+ },
480
+ ghostLabel: {
481
+ fontSize: 14,
482
+ fontWeight: "500"
483
+ },
484
+ pushRight: {
485
+ marginLeft: "auto"
486
+ },
487
+ bannerText: {
488
+ flex: 1
489
+ },
490
+ bannerTitle: {
491
+ fontSize: 14,
492
+ fontWeight: "600"
493
+ },
494
+ empty: {
495
+ flexDirection: "row",
496
+ alignItems: "flex-start",
497
+ gap: 8
498
+ },
499
+ emptyIcon: {
500
+ marginTop: 2
501
+ },
502
+ emptyText: {
503
+ flex: 1,
504
+ fontSize: 14,
505
+ lineHeight: 20
506
+ },
507
+ banner: {
508
+ marginTop: 12,
509
+ borderRadius: 16,
510
+ borderWidth: StyleSheet.hairlineWidth,
511
+ padding: 16,
512
+ gap: 14
513
+ },
514
+ bannerHead: {
515
+ flexDirection: "row",
516
+ gap: 12
517
+ },
518
+ bannerIcon: {
519
+ width: 40,
520
+ height: 40,
521
+ borderRadius: 12,
522
+ alignItems: "center",
523
+ justifyContent: "center"
524
+ },
525
+ bannerBody: {
526
+ marginTop: 3,
527
+ fontSize: 14,
528
+ lineHeight: 20
529
+ },
530
+ bannerActions: {
531
+ flexDirection: "row",
532
+ alignItems: "center",
533
+ gap: 6,
534
+ paddingLeft: 52
535
+ },
536
+ accentBtn: {
537
+ height: 36,
538
+ paddingHorizontal: 16,
539
+ borderRadius: 10,
540
+ alignItems: "center",
541
+ justifyContent: "center"
542
+ },
543
+ accentLabel: {
544
+ color: "#FFFFFF",
545
+ fontSize: 14,
546
+ fontWeight: "600"
547
+ },
548
+ bannerQuiet: {
549
+ marginTop: 12,
550
+ flexDirection: "row",
551
+ alignItems: "center",
552
+ gap: 8,
553
+ borderRadius: 16,
554
+ paddingHorizontal: 16,
555
+ paddingVertical: 12
556
+ },
557
+ spread: {
558
+ justifyContent: "space-between"
559
+ },
560
+ bannerQuietText: {
561
+ fontSize: 14
562
+ },
563
+ checkedRow: {
564
+ marginTop: 10,
565
+ flexDirection: "row",
566
+ alignItems: "center",
567
+ gap: 6
568
+ },
569
+ checked: {
570
+ fontSize: 12
571
+ },
572
+ checkedLink: {
573
+ fontWeight: "500"
574
+ },
575
+ backdrop: {
576
+ flex: 1,
577
+ justifyContent: "flex-end",
578
+ paddingHorizontal: 12
579
+ },
580
+ focus: {
581
+ borderRadius: 18,
582
+ borderWidth: StyleSheet.hairlineWidth,
583
+ overflow: "hidden"
584
+ },
585
+ focusBody: {
586
+ paddingHorizontal: 16,
587
+ paddingTop: 16,
588
+ paddingBottom: 14
589
+ },
590
+ focusTitle: {
591
+ marginTop: 12,
592
+ fontSize: 16,
593
+ lineHeight: 23,
594
+ fontWeight: "600"
595
+ },
596
+ aside: {
597
+ marginTop: 4,
598
+ fontSize: 14,
599
+ lineHeight: 20
600
+ },
601
+ detail: {
602
+ marginTop: 12,
603
+ fontSize: 14,
604
+ lineHeight: 20,
605
+ borderRadius: 12,
606
+ paddingHorizontal: 12,
607
+ paddingVertical: 10,
608
+ overflow: "hidden"
609
+ },
610
+ focusActions: {
611
+ flexDirection: "row",
612
+ alignItems: "center",
613
+ gap: 4,
614
+ borderTopWidth: StyleSheet.hairlineWidth,
615
+ paddingHorizontal: 12,
616
+ paddingVertical: 10
617
+ }
618
+ });export{HomeNeedsYou,HomeNeedsYou as default};//# sourceMappingURL=HomeNeedsYou.js.map