@celljs/ta-web 4.28.0 → 4.29.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.
Files changed (403) hide show
  1. package/README.en.md +1 -1
  2. package/README.md +1 -1
  3. package/esm/browser/assistant/assistant-thread.js +15 -2
  4. package/esm/browser/assistant/call-scenes.d.ts +5 -4
  5. package/esm/browser/assistant/call-scenes.js +10 -7
  6. package/esm/browser/chat/chat-protocol.d.ts +2 -0
  7. package/esm/browser/chat/chat-shown.d.ts +3 -1
  8. package/esm/browser/chat/chat-shown.js +25 -3
  9. package/esm/browser/chat/chat.d.ts +5 -1
  10. package/esm/browser/chat/chat.js +32 -16
  11. package/esm/browser/components/account-menu.d.ts +6 -16
  12. package/esm/browser/components/account-menu.js +47 -101
  13. package/esm/browser/components/app-contexts.js +3 -2
  14. package/esm/browser/components/cloud-sign-in-view.d.ts +1 -1
  15. package/esm/browser/components/composer-box-protocol.d.ts +2 -0
  16. package/esm/browser/components/composer-box.js +20 -1
  17. package/esm/browser/components/composer-emoji.d.ts +22 -0
  18. package/esm/browser/components/composer-emoji.js +50 -0
  19. package/esm/browser/components/discover-view.d.ts +4 -3
  20. package/esm/browser/components/discover-view.js +5 -4
  21. package/esm/browser/components/emoji-panel.d.ts +22 -0
  22. package/esm/browser/components/emoji-panel.js +54 -0
  23. package/esm/browser/components/host-view.d.ts +1 -1
  24. package/esm/browser/components/markdown.d.ts +6 -1
  25. package/esm/browser/components/markdown.js +6 -2
  26. package/esm/browser/components/me-rows.d.ts +24 -0
  27. package/esm/browser/components/me-rows.js +19 -0
  28. package/esm/browser/components/me-view.d.ts +2 -1
  29. package/esm/browser/components/me-view.js +3 -2
  30. package/esm/browser/components/message-list.js +47 -7
  31. package/esm/browser/components/message-steps.js +13 -0
  32. package/esm/browser/components/nav-places.js +1 -1
  33. package/esm/browser/components/settings-choices.js +3 -0
  34. package/esm/browser/components/settings-controls.d.ts +13 -0
  35. package/esm/browser/components/settings-controls.js +19 -0
  36. package/esm/browser/components/settings-more.d.ts +1 -1
  37. package/esm/browser/components/settings-more.js +28 -39
  38. package/esm/browser/components/settings-parts.d.ts +4 -2
  39. package/esm/browser/components/settings-parts.js +14 -9
  40. package/esm/browser/components/settings-view.js +2 -6
  41. package/esm/browser/components/web-composer.d.ts +1 -1
  42. package/esm/browser/components/web-composer.js +2 -2
  43. package/esm/browser/device/file-save.d.ts +31 -0
  44. package/esm/browser/device/file-save.js +80 -0
  45. package/esm/browser/extension/extension-view.d.ts +2 -0
  46. package/esm/browser/extension/extension-view.js +2 -0
  47. package/esm/browser/extension/web-api-call.d.ts +45 -0
  48. package/esm/browser/extension/web-api-components.d.ts +4 -0
  49. package/esm/browser/extension/web-api-contributions.d.ts +13 -14
  50. package/esm/browser/extension/web-api-desktop.d.ts +16 -1
  51. package/esm/browser/extension/web-api-desktop.js +1 -0
  52. package/esm/browser/extension/web-extension-api.d.ts +7 -9
  53. package/esm/browser/extension/web-extension-code.d.ts +15 -8
  54. package/esm/browser/extension/web-extension-code.js +25 -27
  55. package/esm/browser/extension/web-extension-context.js +3 -0
  56. package/esm/browser/extension/web-extension-protocol.d.ts +8 -1
  57. package/esm/browser/extension/web-extension-protocol.js +1 -0
  58. package/esm/browser/extension/web-extension-run.d.ts +3 -2
  59. package/esm/browser/extension/web-extension-run.js +8 -4
  60. package/esm/browser/extension/web-extensions-running.js +7 -6
  61. package/esm/browser/extension/web-pages.d.ts +2 -0
  62. package/esm/browser/extension/web-pages.js +2 -0
  63. package/esm/browser/i18n/en/account.d.ts +202 -0
  64. package/esm/browser/i18n/en/account.js +205 -0
  65. package/esm/browser/i18n/en/assistant.d.ts +129 -0
  66. package/esm/browser/i18n/en/assistant.js +130 -0
  67. package/esm/browser/i18n/en/call.d.ts +86 -0
  68. package/esm/browser/i18n/en/call.js +87 -0
  69. package/esm/browser/i18n/en/chat.d.ts +213 -0
  70. package/esm/browser/i18n/en/chat.js +214 -0
  71. package/esm/browser/i18n/en/common.d.ts +99 -0
  72. package/esm/browser/i18n/en/common.js +101 -0
  73. package/esm/browser/i18n/en/console.d.ts +230 -0
  74. package/esm/browser/i18n/en/console.js +232 -0
  75. package/esm/browser/i18n/en/discover.d.ts +117 -0
  76. package/esm/browser/i18n/en/discover.js +119 -0
  77. package/esm/browser/i18n/en/service.d.ts +242 -0
  78. package/esm/browser/i18n/en/service.js +245 -0
  79. package/esm/browser/i18n/en/settings.d.ts +213 -0
  80. package/esm/browser/i18n/en/settings.js +214 -0
  81. package/esm/browser/i18n/en/tools.d.ts +85 -0
  82. package/esm/browser/i18n/en/tools.js +87 -0
  83. package/esm/browser/i18n/ja/account.d.ts +2 -0
  84. package/esm/browser/i18n/ja/account.js +202 -0
  85. package/esm/browser/i18n/ja/assistant.d.ts +2 -0
  86. package/esm/browser/i18n/ja/assistant.js +129 -0
  87. package/esm/browser/i18n/ja/call.d.ts +2 -0
  88. package/esm/browser/i18n/ja/call.js +86 -0
  89. package/esm/browser/i18n/ja/chat.d.ts +2 -0
  90. package/esm/browser/i18n/ja/chat.js +213 -0
  91. package/esm/browser/i18n/ja/common.d.ts +2 -0
  92. package/esm/browser/i18n/ja/common.js +99 -0
  93. package/esm/browser/i18n/ja/console.d.ts +2 -0
  94. package/esm/browser/i18n/ja/console.js +230 -0
  95. package/esm/browser/i18n/ja/discover.d.ts +2 -0
  96. package/esm/browser/i18n/ja/discover.js +117 -0
  97. package/esm/browser/i18n/ja/service.d.ts +2 -0
  98. package/esm/browser/i18n/ja/service.js +242 -0
  99. package/esm/browser/i18n/ja/settings.d.ts +2 -0
  100. package/esm/browser/i18n/ja/settings.js +213 -0
  101. package/esm/browser/i18n/ja/tools.d.ts +2 -0
  102. package/esm/browser/i18n/ja/tools.js +85 -0
  103. package/esm/browser/i18n/locales.d.ts +1136 -1136
  104. package/esm/browser/i18n/messages-ja.js +20 -1586
  105. package/esm/browser/i18n/messages-zh-tw.d.ts +0 -1
  106. package/esm/browser/i18n/messages-zh-tw.js +20 -1587
  107. package/esm/browser/i18n/messages.d.ts +1139 -1136
  108. package/esm/browser/i18n/messages.js +44 -3183
  109. package/esm/browser/i18n/zh/account.d.ts +2 -0
  110. package/esm/browser/i18n/zh/account.js +203 -0
  111. package/esm/browser/i18n/zh/assistant.d.ts +2 -0
  112. package/esm/browser/i18n/zh/assistant.js +129 -0
  113. package/esm/browser/i18n/zh/call.d.ts +2 -0
  114. package/esm/browser/i18n/zh/call.js +86 -0
  115. package/esm/browser/i18n/zh/chat.d.ts +2 -0
  116. package/esm/browser/i18n/zh/chat.js +213 -0
  117. package/esm/browser/i18n/zh/common.d.ts +2 -0
  118. package/esm/browser/i18n/zh/common.js +99 -0
  119. package/esm/browser/i18n/zh/console.d.ts +2 -0
  120. package/esm/browser/i18n/zh/console.js +230 -0
  121. package/esm/browser/i18n/zh/discover.d.ts +2 -0
  122. package/esm/browser/i18n/zh/discover.js +117 -0
  123. package/esm/browser/i18n/zh/service.d.ts +2 -0
  124. package/esm/browser/i18n/zh/service.js +242 -0
  125. package/esm/browser/i18n/zh/settings.d.ts +2 -0
  126. package/esm/browser/i18n/zh/settings.js +213 -0
  127. package/esm/browser/i18n/zh/tools.d.ts +2 -0
  128. package/esm/browser/i18n/zh/tools.js +86 -0
  129. package/esm/browser/i18n/zh-tw/account.d.ts +2 -0
  130. package/esm/browser/i18n/zh-tw/account.js +202 -0
  131. package/esm/browser/i18n/zh-tw/assistant.d.ts +2 -0
  132. package/esm/browser/i18n/zh-tw/assistant.js +129 -0
  133. package/esm/browser/i18n/zh-tw/call.d.ts +2 -0
  134. package/esm/browser/i18n/zh-tw/call.js +86 -0
  135. package/esm/browser/i18n/zh-tw/chat.d.ts +2 -0
  136. package/esm/browser/i18n/zh-tw/chat.js +213 -0
  137. package/esm/browser/i18n/zh-tw/common.d.ts +2 -0
  138. package/esm/browser/i18n/zh-tw/common.js +99 -0
  139. package/esm/browser/i18n/zh-tw/console.d.ts +2 -0
  140. package/esm/browser/i18n/zh-tw/console.js +230 -0
  141. package/esm/browser/i18n/zh-tw/discover.d.ts +2 -0
  142. package/esm/browser/i18n/zh-tw/discover.js +117 -0
  143. package/esm/browser/i18n/zh-tw/service.d.ts +2 -0
  144. package/esm/browser/i18n/zh-tw/service.js +242 -0
  145. package/esm/browser/i18n/zh-tw/settings.d.ts +2 -0
  146. package/esm/browser/i18n/zh-tw/settings.js +213 -0
  147. package/esm/browser/i18n/zh-tw/tools.d.ts +2 -0
  148. package/esm/browser/i18n/zh-tw/tools.js +85 -0
  149. package/esm/browser/offline/device-values.d.ts +4 -0
  150. package/esm/browser/offline/device-values.js +10 -0
  151. package/esm/browser/pwa/page-build.d.ts +15 -0
  152. package/esm/browser/pwa/page-build.js +45 -0
  153. package/esm/browser/settings/settings-protocol.d.ts +2 -0
  154. package/esm/browser/settings/settings-protocol.js +2 -0
  155. package/esm/browser/style/base.d.ts +1 -1
  156. package/esm/browser/style/base.js +3 -0
  157. package/esm/browser/style/conversation-column.d.ts +1 -1
  158. package/esm/browser/style/conversation-column.js +17 -0
  159. package/esm/browser/style/conversation.d.ts +1 -1
  160. package/esm/browser/style/conversation.js +5 -0
  161. package/esm/browser/style/pages.d.ts +1 -1
  162. package/esm/browser/style/pages.js +0 -7
  163. package/esm/browser/style/video-call.d.ts +1 -1
  164. package/esm/browser/style/video-call.js +15 -4
  165. package/esm/browser/util/call-transcript.d.ts +16 -0
  166. package/esm/browser/util/call-transcript.js +110 -0
  167. package/esm/browser/util/process.d.ts +6 -0
  168. package/esm/browser/util/process.js +18 -5
  169. package/esm/browser/video-call/call-people.d.ts +21 -0
  170. package/esm/browser/video-call/call-people.js +29 -0
  171. package/esm/browser/video-call/clip-plan.d.ts +11 -2
  172. package/esm/browser/video-call/clip-plan.js +19 -3
  173. package/esm/browser/video-call/face-camera.d.ts +93 -0
  174. package/esm/browser/video-call/face-camera.js +192 -0
  175. package/esm/browser/video-call/face-files.d.ts +43 -5
  176. package/esm/browser/video-call/face-files.js +73 -18
  177. package/esm/browser/video-call/face-moves.d.ts +68 -0
  178. package/esm/browser/video-call/face-moves.js +180 -0
  179. package/esm/browser/video-call/face-stage.d.ts +139 -0
  180. package/esm/browser/video-call/face-stage.js +219 -0
  181. package/esm/browser/video-call/mouth-layer.d.ts +81 -0
  182. package/esm/browser/video-call/mouth-layer.js +241 -0
  183. package/esm/browser/video-call/video-call-view.js +44 -4
  184. package/esm/browser/video-call/video-face.d.ts +11 -5
  185. package/esm/browser/video-call/video-face.js +302 -328
  186. package/esm/browser/workbench.d.ts +8 -0
  187. package/esm/browser/workbench.js +37 -1
  188. package/lib/browser/assistant/assistant-thread.js +15 -2
  189. package/lib/browser/assistant/call-scenes.d.ts +5 -4
  190. package/lib/browser/assistant/call-scenes.js +10 -7
  191. package/lib/browser/chat/chat-protocol.d.ts +2 -0
  192. package/lib/browser/chat/chat-shown.d.ts +3 -1
  193. package/lib/browser/chat/chat-shown.js +25 -3
  194. package/lib/browser/chat/chat.d.ts +5 -1
  195. package/lib/browser/chat/chat.js +32 -16
  196. package/lib/browser/components/account-menu.d.ts +6 -16
  197. package/lib/browser/components/account-menu.js +45 -99
  198. package/lib/browser/components/app-contexts.js +2 -1
  199. package/lib/browser/components/cloud-sign-in-view.d.ts +1 -1
  200. package/lib/browser/components/composer-box-protocol.d.ts +2 -0
  201. package/lib/browser/components/composer-box.js +20 -1
  202. package/lib/browser/components/composer-emoji.d.ts +23 -0
  203. package/lib/browser/components/composer-emoji.js +87 -0
  204. package/lib/browser/components/discover-view.d.ts +4 -3
  205. package/lib/browser/components/discover-view.js +5 -4
  206. package/lib/browser/components/emoji-panel.d.ts +23 -0
  207. package/lib/browser/components/emoji-panel.js +90 -0
  208. package/lib/browser/components/host-view.d.ts +1 -1
  209. package/lib/browser/components/markdown.d.ts +6 -1
  210. package/lib/browser/components/markdown.js +6 -2
  211. package/lib/browser/components/me-rows.d.ts +25 -0
  212. package/lib/browser/components/me-rows.js +22 -0
  213. package/lib/browser/components/me-view.d.ts +2 -1
  214. package/lib/browser/components/me-view.js +3 -2
  215. package/lib/browser/components/message-list.js +46 -6
  216. package/lib/browser/components/message-steps.js +13 -0
  217. package/lib/browser/components/nav-places.js +1 -1
  218. package/lib/browser/components/settings-choices.js +3 -0
  219. package/lib/browser/components/settings-controls.d.ts +13 -0
  220. package/lib/browser/components/settings-controls.js +19 -0
  221. package/lib/browser/components/settings-more.d.ts +1 -1
  222. package/lib/browser/components/settings-more.js +27 -38
  223. package/lib/browser/components/settings-parts.d.ts +4 -2
  224. package/lib/browser/components/settings-parts.js +13 -8
  225. package/lib/browser/components/settings-view.js +2 -6
  226. package/lib/browser/components/web-composer.d.ts +1 -1
  227. package/lib/browser/components/web-composer.js +2 -2
  228. package/lib/browser/device/file-save.d.ts +32 -0
  229. package/lib/browser/device/file-save.js +83 -0
  230. package/lib/browser/extension/extension-view.d.ts +2 -0
  231. package/lib/browser/extension/extension-view.js +3 -1
  232. package/lib/browser/extension/web-api-call.d.ts +45 -0
  233. package/lib/browser/extension/web-api-components.d.ts +4 -0
  234. package/lib/browser/extension/web-api-contributions.d.ts +13 -14
  235. package/lib/browser/extension/web-api-desktop.d.ts +16 -1
  236. package/lib/browser/extension/web-api-desktop.js +1 -0
  237. package/lib/browser/extension/web-extension-api.d.ts +7 -9
  238. package/lib/browser/extension/web-extension-code.d.ts +15 -8
  239. package/lib/browser/extension/web-extension-code.js +25 -27
  240. package/lib/browser/extension/web-extension-context.js +3 -0
  241. package/lib/browser/extension/web-extension-protocol.d.ts +8 -1
  242. package/lib/browser/extension/web-extension-protocol.js +1 -0
  243. package/lib/browser/extension/web-extension-run.d.ts +3 -2
  244. package/lib/browser/extension/web-extension-run.js +8 -4
  245. package/lib/browser/extension/web-extensions-running.js +7 -6
  246. package/lib/browser/extension/web-pages.d.ts +2 -0
  247. package/lib/browser/extension/web-pages.js +2 -0
  248. package/lib/browser/i18n/en/account.d.ts +203 -0
  249. package/lib/browser/i18n/en/account.js +208 -0
  250. package/lib/browser/i18n/en/assistant.d.ts +130 -0
  251. package/lib/browser/i18n/en/assistant.js +133 -0
  252. package/lib/browser/i18n/en/call.d.ts +87 -0
  253. package/lib/browser/i18n/en/call.js +90 -0
  254. package/lib/browser/i18n/en/chat.d.ts +214 -0
  255. package/lib/browser/i18n/en/chat.js +217 -0
  256. package/lib/browser/i18n/en/common.d.ts +100 -0
  257. package/lib/browser/i18n/en/common.js +104 -0
  258. package/lib/browser/i18n/en/console.d.ts +231 -0
  259. package/lib/browser/i18n/en/console.js +235 -0
  260. package/lib/browser/i18n/en/discover.d.ts +118 -0
  261. package/lib/browser/i18n/en/discover.js +122 -0
  262. package/lib/browser/i18n/en/service.d.ts +243 -0
  263. package/lib/browser/i18n/en/service.js +248 -0
  264. package/lib/browser/i18n/en/settings.d.ts +214 -0
  265. package/lib/browser/i18n/en/settings.js +217 -0
  266. package/lib/browser/i18n/en/tools.d.ts +86 -0
  267. package/lib/browser/i18n/en/tools.js +90 -0
  268. package/lib/browser/i18n/ja/account.d.ts +3 -0
  269. package/lib/browser/i18n/ja/account.js +205 -0
  270. package/lib/browser/i18n/ja/assistant.d.ts +3 -0
  271. package/lib/browser/i18n/ja/assistant.js +132 -0
  272. package/lib/browser/i18n/ja/call.d.ts +3 -0
  273. package/lib/browser/i18n/ja/call.js +89 -0
  274. package/lib/browser/i18n/ja/chat.d.ts +3 -0
  275. package/lib/browser/i18n/ja/chat.js +216 -0
  276. package/lib/browser/i18n/ja/common.d.ts +3 -0
  277. package/lib/browser/i18n/ja/common.js +102 -0
  278. package/lib/browser/i18n/ja/console.d.ts +3 -0
  279. package/lib/browser/i18n/ja/console.js +233 -0
  280. package/lib/browser/i18n/ja/discover.d.ts +3 -0
  281. package/lib/browser/i18n/ja/discover.js +120 -0
  282. package/lib/browser/i18n/ja/service.d.ts +3 -0
  283. package/lib/browser/i18n/ja/service.js +245 -0
  284. package/lib/browser/i18n/ja/settings.d.ts +3 -0
  285. package/lib/browser/i18n/ja/settings.js +216 -0
  286. package/lib/browser/i18n/ja/tools.d.ts +3 -0
  287. package/lib/browser/i18n/ja/tools.js +88 -0
  288. package/lib/browser/i18n/locales.d.ts +1136 -1136
  289. package/lib/browser/i18n/messages-ja.js +20 -1586
  290. package/lib/browser/i18n/messages-zh-tw.d.ts +0 -1
  291. package/lib/browser/i18n/messages-zh-tw.js +20 -1587
  292. package/lib/browser/i18n/messages.d.ts +1139 -1136
  293. package/lib/browser/i18n/messages.js +44 -3183
  294. package/lib/browser/i18n/zh/account.d.ts +3 -0
  295. package/lib/browser/i18n/zh/account.js +206 -0
  296. package/lib/browser/i18n/zh/assistant.d.ts +3 -0
  297. package/lib/browser/i18n/zh/assistant.js +132 -0
  298. package/lib/browser/i18n/zh/call.d.ts +3 -0
  299. package/lib/browser/i18n/zh/call.js +89 -0
  300. package/lib/browser/i18n/zh/chat.d.ts +3 -0
  301. package/lib/browser/i18n/zh/chat.js +216 -0
  302. package/lib/browser/i18n/zh/common.d.ts +3 -0
  303. package/lib/browser/i18n/zh/common.js +102 -0
  304. package/lib/browser/i18n/zh/console.d.ts +3 -0
  305. package/lib/browser/i18n/zh/console.js +233 -0
  306. package/lib/browser/i18n/zh/discover.d.ts +3 -0
  307. package/lib/browser/i18n/zh/discover.js +120 -0
  308. package/lib/browser/i18n/zh/service.d.ts +3 -0
  309. package/lib/browser/i18n/zh/service.js +245 -0
  310. package/lib/browser/i18n/zh/settings.d.ts +3 -0
  311. package/lib/browser/i18n/zh/settings.js +216 -0
  312. package/lib/browser/i18n/zh/tools.d.ts +3 -0
  313. package/lib/browser/i18n/zh/tools.js +89 -0
  314. package/lib/browser/i18n/zh-tw/account.d.ts +3 -0
  315. package/lib/browser/i18n/zh-tw/account.js +205 -0
  316. package/lib/browser/i18n/zh-tw/assistant.d.ts +3 -0
  317. package/lib/browser/i18n/zh-tw/assistant.js +132 -0
  318. package/lib/browser/i18n/zh-tw/call.d.ts +3 -0
  319. package/lib/browser/i18n/zh-tw/call.js +89 -0
  320. package/lib/browser/i18n/zh-tw/chat.d.ts +3 -0
  321. package/lib/browser/i18n/zh-tw/chat.js +216 -0
  322. package/lib/browser/i18n/zh-tw/common.d.ts +3 -0
  323. package/lib/browser/i18n/zh-tw/common.js +102 -0
  324. package/lib/browser/i18n/zh-tw/console.d.ts +3 -0
  325. package/lib/browser/i18n/zh-tw/console.js +233 -0
  326. package/lib/browser/i18n/zh-tw/discover.d.ts +3 -0
  327. package/lib/browser/i18n/zh-tw/discover.js +120 -0
  328. package/lib/browser/i18n/zh-tw/service.d.ts +3 -0
  329. package/lib/browser/i18n/zh-tw/service.js +245 -0
  330. package/lib/browser/i18n/zh-tw/settings.d.ts +3 -0
  331. package/lib/browser/i18n/zh-tw/settings.js +216 -0
  332. package/lib/browser/i18n/zh-tw/tools.d.ts +3 -0
  333. package/lib/browser/i18n/zh-tw/tools.js +88 -0
  334. package/lib/browser/offline/device-values.d.ts +4 -0
  335. package/lib/browser/offline/device-values.js +10 -0
  336. package/lib/browser/pwa/page-build.d.ts +16 -0
  337. package/lib/browser/pwa/page-build.js +48 -0
  338. package/lib/browser/settings/settings-protocol.d.ts +2 -0
  339. package/lib/browser/settings/settings-protocol.js +2 -0
  340. package/lib/browser/style/base.d.ts +1 -1
  341. package/lib/browser/style/base.js +3 -0
  342. package/lib/browser/style/conversation-column.d.ts +1 -1
  343. package/lib/browser/style/conversation-column.js +17 -0
  344. package/lib/browser/style/conversation.d.ts +1 -1
  345. package/lib/browser/style/conversation.js +5 -0
  346. package/lib/browser/style/pages.d.ts +1 -1
  347. package/lib/browser/style/pages.js +0 -7
  348. package/lib/browser/style/video-call.d.ts +1 -1
  349. package/lib/browser/style/video-call.js +15 -4
  350. package/lib/browser/util/call-transcript.d.ts +17 -0
  351. package/lib/browser/util/call-transcript.js +113 -0
  352. package/lib/browser/util/process.d.ts +6 -0
  353. package/lib/browser/util/process.js +17 -4
  354. package/lib/browser/video-call/call-people.d.ts +22 -0
  355. package/lib/browser/video-call/call-people.js +32 -0
  356. package/lib/browser/video-call/clip-plan.d.ts +11 -2
  357. package/lib/browser/video-call/clip-plan.js +19 -3
  358. package/lib/browser/video-call/face-camera.d.ts +94 -0
  359. package/lib/browser/video-call/face-camera.js +197 -0
  360. package/lib/browser/video-call/face-files.d.ts +43 -5
  361. package/lib/browser/video-call/face-files.js +73 -18
  362. package/lib/browser/video-call/face-moves.d.ts +69 -0
  363. package/lib/browser/video-call/face-moves.js +184 -0
  364. package/lib/browser/video-call/face-stage.d.ts +140 -0
  365. package/lib/browser/video-call/face-stage.js +223 -0
  366. package/lib/browser/video-call/mouth-layer.d.ts +82 -0
  367. package/lib/browser/video-call/mouth-layer.js +245 -0
  368. package/lib/browser/video-call/video-call-view.js +44 -4
  369. package/lib/browser/video-call/video-face.d.ts +11 -5
  370. package/lib/browser/video-call/video-face.js +302 -328
  371. package/lib/browser/workbench.d.ts +8 -0
  372. package/lib/browser/workbench.js +36 -0
  373. package/package.json +7 -7
  374. package/public/faces/README.md +17 -4
  375. package/public/faces/blonde/clap.mp4 +0 -0
  376. package/public/faces/blonde/dance.mp4 +0 -0
  377. package/public/faces/blonde/face.jpg +0 -0
  378. package/public/faces/blonde/happy.mp4 +0 -0
  379. package/public/faces/blonde/heart.mp4 +0 -0
  380. package/public/faces/blonde/idle-1.mp4 +0 -0
  381. package/public/faces/blonde/idle-2.mp4 +0 -0
  382. package/public/faces/blonde/idle-3.mp4 +0 -0
  383. package/public/faces/blonde/laugh.mp4 +0 -0
  384. package/public/faces/blonde/listening.mp4 +0 -0
  385. package/public/faces/blonde/poster.jpg +0 -0
  386. package/public/faces/blonde/shy.mp4 +0 -0
  387. package/public/faces/blonde/sorry.mp4 +0 -0
  388. package/public/faces/blonde/stretch.mp4 +0 -0
  389. package/public/faces/blonde/surprised.mp4 +0 -0
  390. package/public/faces/blonde/talk-1.mp4 +0 -0
  391. package/public/faces/blonde/talk-2.mp4 +0 -0
  392. package/public/faces/blonde/think-2.mp4 +0 -0
  393. package/public/faces/blonde/thinking.mp4 +0 -0
  394. package/public/faces/blonde/wave.mp4 +0 -0
  395. package/public/faces/dance.mp4 +0 -0
  396. package/public/faces/face.jpg +0 -0
  397. package/public/faces/framing.json +1 -0
  398. package/public/faces/lips.json +1 -1
  399. package/public/faces/stretch.mp4 +0 -0
  400. package/esm/browser/video-call/face-clips.d.ts +0 -33
  401. package/esm/browser/video-call/face-clips.js +0 -93
  402. package/lib/browser/video-call/face-clips.d.ts +0 -34
  403. package/lib/browser/video-call/face-clips.js +0 -96
@@ -1,21 +1,28 @@
1
1
  import type { TaWebExtensionInfo } from '@celljs/ta-protocol';
2
+ import type { DeviceValues } from '../offline/device-values.js';
2
3
  /**
3
- * The code of the web extensions of packages, kept in this browser by its hash (`TaWebExtensionInfo.hash`,
4
- * of the code itself): a start reads from ta serve only what changed. A phone over the relay read some 230 KB
5
- * at every start before its double's list could show.
4
+ * The code of the web extensions of packages, kept on this device by its hash (`TaWebExtensionInfo.hash`, of the
5
+ * code itself): a start reads from ta serve only what changed. A phone over the relay read some 230 KB at every start
6
+ * before its double's list could show.
7
+ * The code is kept in IndexedDB (DeviceValues), not localStorage: it is megabytes, and in localStorage it filled the
8
+ * room of the page (5 MB in WebKit), so that the lists of the last time were no longer kept and a phone started empty.
6
9
  * What the last list of a ta serve does not name goes; switching to another computer reads its own again.
7
- * The list itself is kept for each computer too, for the extensions to start before it answers.
10
+ * The list itself is kept for each computer in localStorage, small, for the extensions to start before it answers.
8
11
  */
9
12
  export declare class WebExtensionCode {
13
+ protected readonly values: DeviceValues;
10
14
  protected readonly storage: () => Storage | undefined;
15
+ /** Of the code, in DeviceValues; and of before, in localStorage, taken away. */
11
16
  static readonly PREFIX = "ta.web-extension ";
12
17
  static readonly LIST = "web-extensions";
13
- constructor(storage: () => Storage | undefined);
14
- get(hash: string): string | undefined;
15
- set(hash: string, code: string): void;
18
+ constructor(values: DeviceValues, storage: () => Storage | undefined);
19
+ get(hash: string): Promise<string | undefined>;
20
+ set(hash: string, code: string): Promise<void>;
16
21
  /** The list the computer `host` gave last (with the values it keeps for the page, forgotten with them). */
17
22
  list(host: string): TaWebExtensionInfo[];
18
23
  keepList(host: string, infos: TaWebExtensionInfo[]): void;
19
24
  /** Only the code of `hashes`, those of the list of now. */
20
- keepOnly(hashes: Iterable<string>): void;
25
+ keepOnly(hashes: Iterable<string>): Promise<void>;
26
+ /** The code a page of before kept in localStorage, which filled it. */
27
+ protected forgetOld(): void;
21
28
  }
@@ -1,33 +1,25 @@
1
1
  import { StateUtil } from '../state/state-protocol.js';
2
2
  /**
3
- * The code of the web extensions of packages, kept in this browser by its hash (`TaWebExtensionInfo.hash`,
4
- * of the code itself): a start reads from ta serve only what changed. A phone over the relay read some 230 KB
5
- * at every start before its double's list could show.
3
+ * The code of the web extensions of packages, kept on this device by its hash (`TaWebExtensionInfo.hash`, of the
4
+ * code itself): a start reads from ta serve only what changed. A phone over the relay read some 230 KB at every start
5
+ * before its double's list could show.
6
+ * The code is kept in IndexedDB (DeviceValues), not localStorage: it is megabytes, and in localStorage it filled the
7
+ * room of the page (5 MB in WebKit), so that the lists of the last time were no longer kept and a phone started empty.
6
8
  * What the last list of a ta serve does not name goes; switching to another computer reads its own again.
7
- * The list itself is kept for each computer too, for the extensions to start before it answers.
9
+ * The list itself is kept for each computer in localStorage, small, for the extensions to start before it answers.
8
10
  */
9
11
  export class WebExtensionCode {
10
- constructor(storage) {
12
+ constructor(values, storage) {
13
+ this.values = values;
11
14
  this.storage = storage;
15
+ this.forgetOld();
12
16
  }
13
17
  get(hash) {
14
- var _a;
15
- var _b;
16
- try {
17
- return (_b = (_a = this.storage()) === null || _a === void 0 ? void 0 : _a.getItem(WebExtensionCode.PREFIX + hash)) !== null && _b !== void 0 ? _b : undefined;
18
- }
19
- catch (_c) {
20
- return undefined;
21
- }
18
+ return this.values.get(WebExtensionCode.PREFIX + hash).catch(() => undefined);
22
19
  }
23
- set(hash, code) {
24
- var _a;
25
- try {
26
- (_a = this.storage()) === null || _a === void 0 ? void 0 : _a.setItem(WebExtensionCode.PREFIX + hash, code);
27
- }
28
- catch (_b) {
29
- // Full, or a browser that keeps nothing: read again next time.
30
- }
20
+ async set(hash, code) {
21
+ // Full, or a device that keeps nothing: read again next time.
22
+ await this.values.set(WebExtensionCode.PREFIX + hash, code).catch(() => undefined);
31
23
  }
32
24
  /** The list the computer `host` gave last (with the values it keeps for the page, forgotten with them). */
33
25
  list(host) {
@@ -51,21 +43,26 @@ export class WebExtensionCode {
51
43
  }
52
44
  }
53
45
  /** Only the code of `hashes`, those of the list of now. */
54
- keepOnly(hashes) {
46
+ async keepOnly(hashes) {
47
+ const keep = new Set([...hashes].map(hash => WebExtensionCode.PREFIX + hash));
48
+ const keys = await this.values.keys(WebExtensionCode.PREFIX).catch(() => []);
49
+ await Promise.all(keys.filter(key => !keep.has(key)).map(key => this.values.delete(key).catch(() => undefined)));
50
+ }
51
+ /** The code a page of before kept in localStorage, which filled it. */
52
+ forgetOld() {
55
53
  const storage = this.storage();
56
54
  if (!storage) {
57
55
  return;
58
56
  }
59
- const keep = new Set([...hashes].map(hash => WebExtensionCode.PREFIX + hash));
60
57
  try {
61
- const stale = [];
58
+ const old = [];
62
59
  for (let index = 0; index < storage.length; index++) {
63
60
  const key = storage.key(index);
64
- if ((key === null || key === void 0 ? void 0 : key.startsWith(WebExtensionCode.PREFIX)) && !keep.has(key)) {
65
- stale.push(key);
61
+ if (key === null || key === void 0 ? void 0 : key.startsWith(WebExtensionCode.PREFIX)) {
62
+ old.push(key);
66
63
  }
67
64
  }
68
- for (const key of stale) {
65
+ for (const key of old) {
69
66
  storage.removeItem(key);
70
67
  }
71
68
  }
@@ -74,6 +71,7 @@ export class WebExtensionCode {
74
71
  }
75
72
  }
76
73
  }
74
+ /** Of the code, in DeviceValues; and of before, in localStorage, taken away. */
77
75
  WebExtensionCode.PREFIX = 'ta.web-extension ';
78
76
  WebExtensionCode.LIST = 'web-extensions';
79
77
  //# sourceMappingURL=web-extension-code.js.map
@@ -36,6 +36,7 @@ import { WebDialog } from '../components/web-dialog.js';
36
36
  import { useBackLayer } from '../device/back-stack.js';
37
37
  import { CodeScan } from '../device/code-scan.js';
38
38
  import { useDevice } from '../device/device.js';
39
+ import { FileSave } from '../device/file-save.js';
39
40
  import { DraftPlaces } from '../drafts/drafts-protocol.js';
40
41
  import { Game3DView, GameView } from '../game/game-view.js';
41
42
  import { message as messageOf } from '../i18n/messages.js';
@@ -209,6 +210,7 @@ export class WebExtensionContext {
209
210
  }),
210
211
  registerCallPartner: partner => register(() => run.callPartners.push(partner)),
211
212
  registerCallMouth: mouth => register(() => run.callMouths.push(mouth)),
213
+ registerCallMoves: moves => register(() => run.callMoves.push(moves)),
212
214
  registerAvatar: avatar => register(() => {
213
215
  run.avatar = avatar;
214
216
  }),
@@ -361,6 +363,7 @@ export class WebExtensionContext {
361
363
  scanCode: CodeScan.available()
362
364
  ? instructions => (run.stopped ? Promise.resolve(undefined) : CodeScan.read(instructions, messageOf(settings.state.language, 'ta.cancel')))
363
365
  : undefined,
366
+ saveFile: FileSave.available() ? (file, name) => (run.stopped ? Promise.resolve('cancelled') : FileSave.save(file, name)) : undefined,
364
367
  scan: CodeScan.available() ? () => (run.stopped ? Promise.resolve() : new CodeScan(host).scan()) : undefined,
365
368
  stopExtension: name => !run.stopped && host.extensions.stopExtension(name),
366
369
  shareExtension: target => !run.stopped && host.extensions.share(target),
@@ -2,7 +2,7 @@ import type { TaEvent, TaTemporaryFrom, TaWebExtensionInfo } from '@celljs/ta-pr
2
2
  import type * as React from 'react';
3
3
  import type { MessageId } from '../i18n/messages.js';
4
4
  import type { BlockSpeech } from '../util/spoken.js';
5
- import type { WebAvatarProps, WebCallMouth, WebCallPartner, WebChatIconSource, WebCodeRendererProps, WebComposerAddon, WebCustomMessage, WebEditor, WebExtensionFactory, WebFileMenu, WebHomeEntry, WebIcon, WebImage, WebInitiative, WebLabel, WebMenuItem, WebOpener, WebPageGroup, WebRoomAddonEntry, WebSearchSource, WebSessionMenu, WebSessionOpening, WebSettingsSection, WebShareTarget, WebTool, WebToolRendererResolver, WebViewLocation, WebViewPreview, WidgetOptions } from './web-extension-api.js';
5
+ import type { WebAvatarProps, WebCallMouth, WebCallMoves, WebCallPartner, WebChatIconSource, WebCodeRendererProps, WebComposerAddon, WebCustomMessage, WebEditor, WebExtensionFactory, WebFileMenu, WebHomeEntry, WebIcon, WebImage, WebInitiative, WebLabel, WebMenuItem, WebOpener, WebPageGroup, WebRoomAddonEntry, WebSearchSource, WebSessionMenu, WebSessionOpening, WebSettingsSection, WebShareTarget, WebTool, WebToolRendererResolver, WebViewLocation, WebViewPreview, WidgetOptions } from './web-extension-api.js';
6
6
  import type { WebHomeBoard } from './web-home.js';
7
7
  import type { PageUsage, WebPageInfo } from './web-pages.js';
8
8
  import type { WebPartnerBoard } from './web-partners.js';
@@ -123,8 +123,15 @@ export interface WebExtensionsState {
123
123
  codeSpeech: BlockSpeech;
124
124
  /** Who answers in calls in place of the conversation (WebExtensionAPI.registerCallPartner): the first registered. */
125
125
  callPartner?: WebCallPartner;
126
+ /**
127
+ * The group of the conversations its partner answers calls in (its package, TaOpenSessionOptions.group): they show
128
+ * as the record of a call (CallTranscript).
129
+ */
130
+ callGroup?: string;
126
131
  /** What draws the mouth of the person of video calls (WebExtensionAPI.registerCallMouth): the first registered. */
127
132
  callMouth?: WebCallMouth;
133
+ /** Moves of the person of video calls extensions add (WebExtensionAPI.registerCallMoves). */
134
+ callMoves: WebCallMoves[];
128
135
  /** By the name of the extension, the group of the sessions it draws (WebExtensionAPI.registerAvatar). */
129
136
  avatars: Record<string, React.ComponentType<WebAvatarProps>>;
130
137
  /** The icons extensions give conversations of theirs (WebExtensionAPI.registerChatIcon), with the extension of each. */
@@ -15,6 +15,7 @@ export var WebExtensionsStateUtil;
15
15
  codeRenderers: {},
16
16
  codeSpeech: {},
17
17
  avatars: {},
18
+ callMoves: [],
18
19
  chatIcons: [],
19
20
  initiatives: [],
20
21
  tools: [],
@@ -1,6 +1,6 @@
1
1
  import type { TaEvent } from '@celljs/ta-protocol';
2
2
  import type * as React from 'react';
3
- import type { WebCallMouth, WebCallPartner, WebChatIconSource, WebComposerAddon, WebFileMenu, WebHomeSource, WebInitiative, WebMenuItem, WebOpener, WebPartnerSource, WebRoomAddon, WebSearchSource, WebSessionMenu, WebSettingsSection, WebTaskSource, WebTool, WebToolRendererResolver, WebView, WidgetOptions } from './web-extension-api.js';
3
+ import type { WebCallMouth, WebCallMoves, WebCallPartner, WebChatIconSource, WebComposerAddon, WebFileMenu, WebHomeSource, WebInitiative, WebMenuItem, WebOpener, WebPartnerSource, WebRoomAddon, WebSearchSource, WebSessionMenu, WebSettingsSection, WebTaskSource, WebTool, WebToolRendererResolver, WebView, WidgetOptions } from './web-extension-api.js';
4
4
  import type { LoadedWebExtension, WebExtensionsState } from './web-extension-protocol.js';
5
5
  /** What an extension registered through its API: all of it goes when it stops. */
6
6
  export interface WebRegistrations {
@@ -14,6 +14,7 @@ export interface WebRegistrations {
14
14
  codeSpeech: Map<string, WebExtensionsState['codeSpeech'][string]>;
15
15
  callPartners: WebCallPartner[];
16
16
  callMouths: WebCallMouth[];
17
+ callMoves: WebCallMoves[];
17
18
  avatar?: WebExtensionsState['avatars'][string];
18
19
  chatIcons: WebChatIconSource[];
19
20
  homeSources: WebHomeSource[];
@@ -59,5 +60,5 @@ export declare namespace WebExtensionRunUtil {
59
60
  /** Subscribes for the extension: undone when it stops, or by the function returned. */
60
61
  function track(run: WebExtensionRun, subscribe: () => () => void): () => void;
61
62
  /** What the extensions that run registered, as the page shows it: the first of a message type or a tool name wins. */
62
- function collect(runs: readonly WebExtensionRun[], onOpen: (id: string) => boolean): Pick<WebExtensionsState, 'openers' | 'specificOpeners' | 'sessionMenus' | 'fileMenus' | 'extensions' | 'views' | 'widgets' | 'composerAddons' | 'roomAddons' | 'settingsSections' | 'renderers' | 'codeRenderers' | 'codeSpeech' | 'callPartner' | 'callMouth' | 'avatars' | 'chatIcons' | 'initiatives' | 'tools' | 'toolRenderers' | 'searches'>;
63
+ function collect(runs: readonly WebExtensionRun[], onOpen: (id: string) => boolean): Pick<WebExtensionsState, 'openers' | 'specificOpeners' | 'sessionMenus' | 'fileMenus' | 'extensions' | 'views' | 'widgets' | 'composerAddons' | 'roomAddons' | 'settingsSections' | 'renderers' | 'codeRenderers' | 'codeSpeech' | 'callPartner' | 'callGroup' | 'callMouth' | 'callMoves' | 'avatars' | 'chatIcons' | 'initiatives' | 'tools' | 'toolRenderers' | 'searches'>;
63
64
  }
@@ -24,6 +24,7 @@ export var WebExtensionRunUtil;
24
24
  codeSpeech: new Map(),
25
25
  callPartners: [],
26
26
  callMouths: [],
27
+ callMoves: [],
27
28
  avatar: undefined,
28
29
  chatIcons: [],
29
30
  homeSources: [],
@@ -72,7 +73,8 @@ export var WebExtensionRunUtil;
72
73
  WebExtensionRunUtil.track = track;
73
74
  /** What the extensions that run registered, as the page shows it: the first of a message type or a tool name wins. */
74
75
  function collect(runs, onOpen) {
75
- var _a, _b, _c;
76
+ var _a;
77
+ var _b, _c, _d;
76
78
  const renderers = {};
77
79
  const codeRenderers = {};
78
80
  const codeSpeech = {};
@@ -83,13 +85,13 @@ export var WebExtensionRunUtil;
83
85
  avatars[run.loaded.name] = run.avatar;
84
86
  }
85
87
  for (const [type, renderer] of run.renderers) {
86
- (_a = renderers[type]) !== null && _a !== void 0 ? _a : (renderers[type] = renderer);
88
+ (_b = renderers[type]) !== null && _b !== void 0 ? _b : (renderers[type] = renderer);
87
89
  }
88
90
  for (const [language, renderer] of run.codeRenderers) {
89
- (_b = codeRenderers[language]) !== null && _b !== void 0 ? _b : (codeRenderers[language] = renderer);
91
+ (_c = codeRenderers[language]) !== null && _c !== void 0 ? _c : (codeRenderers[language] = renderer);
90
92
  }
91
93
  for (const [language, spoken] of run.codeSpeech) {
92
- (_c = codeSpeech[language]) !== null && _c !== void 0 ? _c : (codeSpeech[language] = spoken);
94
+ (_d = codeSpeech[language]) !== null && _d !== void 0 ? _d : (codeSpeech[language] = spoken);
93
95
  }
94
96
  for (const tool of run.tools) {
95
97
  if (!tools.some(other => other.name === tool.name)) {
@@ -138,7 +140,9 @@ export var WebExtensionRunUtil;
138
140
  codeRenderers,
139
141
  codeSpeech,
140
142
  callPartner: runs.flatMap(run => run.callPartners)[0],
143
+ callGroup: (_a = runs.find(run => run.callPartners.length)) === null || _a === void 0 ? void 0 : _a.loaded.name,
141
144
  callMouth: runs.flatMap(run => run.callMouths)[0],
145
+ callMoves: runs.flatMap(run => run.callMoves),
142
146
  avatars,
143
147
  chatIcons: runs.flatMap(run => run.chatIcons.map(source => ({ extension: run.loaded.name, source }))),
144
148
  initiatives: runs.flatMap(run => run.initiatives),
@@ -12,6 +12,7 @@ import { TaFiles } from '../files/files-protocol.js';
12
12
  import { TaLinks } from '../links/links-protocol.js';
13
13
  import { TaNotices } from '../notices/notices-protocol.js';
14
14
  import { TaSessionNotices } from '../notices/session-notices.js';
15
+ import { deviceValues } from '../offline/device-values.js';
15
16
  import { TaScreen } from '../screen/screen-protocol.js';
16
17
  import { TaSettings } from '../settings/settings-protocol.js';
17
18
  import { TaState } from '../state/state-protocol.js';
@@ -52,7 +53,7 @@ export class WebExtensionsRunning {
52
53
  openView: id => this.openView(id, true),
53
54
  });
54
55
  /** The code read before, by its hash: a start reads only what changed. */
55
- this.code = new WebExtensionCode(() => (typeof localStorage === 'undefined' ? undefined : localStorage));
56
+ this.code = new WebExtensionCode(deviceValues(), () => (typeof localStorage === 'undefined' ? undefined : localStorage));
56
57
  this.current = WebExtensionsStateUtil.empty();
57
58
  this.running = new Map();
58
59
  this.listeners = new Set();
@@ -142,7 +143,7 @@ export class WebExtensionsRunning {
142
143
  // A built-in package turned off stays in the list, for its switch in the settings.
143
144
  const infos = listed.filter(info => info.enabled !== false);
144
145
  const fresh = new Map(infos.map(info => [info.id, info]));
145
- this.code.keepOnly(infos.map(info => info.hash));
146
+ void this.code.keepOnly(infos.map(info => info.hash));
146
147
  // Those started on open wait to be opened (ta-launcher.md).
147
148
  this.onDemand.set(infos.filter(info => info.activation === 'open'));
148
149
  // Fetched together, started in the order of the list: the order of their views stays the same.
@@ -186,8 +187,8 @@ export class WebExtensionsRunning {
186
187
  }
187
188
  this.keptStarted = true;
188
189
  const infos = this.code.list(host).filter(info => info.enabled !== false && info.activation !== 'open' && !this.running.has(info.id));
189
- const loads = await Promise.all(infos.map(info => {
190
- const code = this.code.get(info.hash);
190
+ const loads = await Promise.all(infos.map(async (info) => {
191
+ const code = await this.code.get(info.hash);
191
192
  return code === undefined ? undefined : WebExtensionUtil.load(code).catch(() => undefined);
192
193
  }));
193
194
  let started = false;
@@ -217,12 +218,12 @@ export class WebExtensionsRunning {
217
218
  }
218
219
  async loadPackage(info) {
219
220
  try {
220
- const kept = this.code.get(info.hash);
221
+ const kept = await this.code.get(info.hash);
221
222
  if (kept !== undefined) {
222
223
  return { factory: await WebExtensionUtil.load(kept), hash: info.hash };
223
224
  }
224
225
  const { code, hash } = await this.workbench.packages.readWebExtension(info.id);
225
- this.code.set(hash, code);
226
+ void this.code.set(hash, code);
226
227
  return { factory: await WebExtensionUtil.load(code), hash };
227
228
  }
228
229
  catch (error) {
@@ -35,6 +35,8 @@ export interface WebPageInfo {
35
35
  extensionId?: string;
36
36
  /** `pi.category` of its package (TaWebExtensionInfo.category): `game` for a game. */
37
37
  category?: string;
38
+ /** Its group under Discover: WebView.group, or `pi.group` of its package for one started on open (TaWebExtensionInfo.group). */
39
+ group?: string;
38
40
  /** For a page of a temporary package: `id` is that of its web extension, for `packages.updateTemporaryPackage` and the rest. */
39
41
  temporary?: TaTemporaryInfo & {
40
42
  id: string;
@@ -72,6 +72,7 @@ export var WebPagesUtil;
72
72
  onOpen: false,
73
73
  place: placeOf(view),
74
74
  usedAt: usage[view.id],
75
+ ...(view.group ? { group: view.group } : {}),
75
76
  ...own(infoOf === null || infoOf === void 0 ? void 0 : infoOf(view.extension)),
76
77
  }));
77
78
  for (const { info, running, background } of onOpen) {
@@ -88,6 +89,7 @@ export var WebPagesUtil;
88
89
  // A temporary one not opened yet (an agent just made it) is in Recent from when it came.
89
90
  usedAt: (_b = usage[info.name]) !== null && _b !== void 0 ? _b : (info.temporary ? info.temporary.usedAt || info.temporary.openedAt : undefined),
90
91
  ...own(info),
92
+ ...(info.group ? { group: info.group } : {}),
91
93
  ...(info.temporary ? { temporary: { ...info.temporary, id: info.id } } : {}),
92
94
  });
93
95
  }
@@ -0,0 +1,202 @@
1
+ /** The words of the account: signing in, who may come in, the devices, the vault, in ICU format. English is the source and the fallback. */
2
+ export declare const ACCOUNT_EN: {
3
+ 'ta.signin.title': string;
4
+ 'ta.signin.hint': string;
5
+ 'ta.signin.token': string;
6
+ 'ta.signin.connect': string;
7
+ 'ta.signin.refused': string;
8
+ 'ta.signin.pairHint': string;
9
+ 'ta.signin.pairing': string;
10
+ 'ta.signin.pairRefused': string;
11
+ 'ta.signin.accountsHint': string;
12
+ 'ta.signin.with': string;
13
+ 'ta.signin.wechat': string;
14
+ 'ta.signin.orToken': string;
15
+ 'ta.signin.denied': string;
16
+ 'ta.signin.failed': string;
17
+ 'ta.signin.hintRemote': string;
18
+ 'ta.access.title': string;
19
+ 'ta.access.bind': string;
20
+ 'ta.access.bindHint': string;
21
+ 'ta.access.requested': string;
22
+ 'ta.access.allow': string;
23
+ 'ta.access.dismiss': string;
24
+ 'ta.access.add': string;
25
+ 'ta.access.open': string;
26
+ 'ta.access.openHint': string;
27
+ 'ta.access.openOff': string;
28
+ 'ta.access.openOffDetail': string;
29
+ 'ta.access.openOffConfirm': string;
30
+ 'ta.access.addHint': string;
31
+ 'ta.access.none': string;
32
+ 'ta.access.noneHint': string;
33
+ 'ta.access.fromEnv': string;
34
+ 'ta.access.added': string;
35
+ 'ta.access.removeAccount': string;
36
+ 'ta.access.removeConfirm': string;
37
+ 'ta.access.removeDetail': string;
38
+ 'ta.access.remove': string;
39
+ 'ta.access.browser': string;
40
+ 'ta.access.thisBrowser': string;
41
+ 'ta.access.lastUsed': string;
42
+ 'ta.access.signOut': string;
43
+ 'ta.signInSetup.title': string;
44
+ 'ta.signInSetup.hint': string;
45
+ 'ta.signInSetup.callback': string;
46
+ 'ta.signInSetup.copy': string;
47
+ 'ta.signInSetup.copied': string;
48
+ 'ta.signInSetup.oidc': string;
49
+ 'ta.signInSetup.on': string;
50
+ 'ta.signInSetup.off': string;
51
+ 'ta.signInSetup.device': string;
52
+ 'ta.signInSetup.incomplete': string;
53
+ 'ta.signInSetup.fromEnv': string;
54
+ 'ta.signInSetup.add': string;
55
+ 'ta.signInSetup.edit': string;
56
+ 'ta.signInSetup.save': string;
57
+ 'ta.signInSetup.saved': string;
58
+ 'ta.signInSetup.removed': string;
59
+ 'ta.signInSetup.remove': string;
60
+ 'ta.signInSetup.removeConfirm': string;
61
+ 'ta.signInSetup.removeDetail': string;
62
+ 'ta.signInSetup.secretKept': string;
63
+ 'ta.signInSetup.optional': string;
64
+ 'ta.signInSetup.field.clientId': string;
65
+ 'ta.signInSetup.field.clientSecret': string;
66
+ 'ta.signInSetup.field.appId': string;
67
+ 'ta.signInSetup.field.appSecret': string;
68
+ 'ta.signInSetup.field.url': string;
69
+ 'ta.signInSetup.field.issuer': string;
70
+ 'ta.signInSetup.field.name': string;
71
+ 'ta.secret.phone': string;
72
+ 'ta.secret.email': string;
73
+ 'ta.secret.idNumber': string;
74
+ 'ta.secret.bankCard': string;
75
+ 'ta.secret.secret': string;
76
+ 'ta.secret.title': string;
77
+ 'ta.secret.uses': string;
78
+ 'ta.secret.unused': string;
79
+ 'ta.secret.manage': string;
80
+ 'ta.secret.gone': string;
81
+ 'ta.account.switchSignIn': string;
82
+ 'ta.presence.viewing': string;
83
+ 'ta.presence.typing': string;
84
+ 'ta.presence.asked': string;
85
+ 'ta.presence.separator': string;
86
+ 'ta.presence.more': string;
87
+ 'ta.presence.owner': string;
88
+ 'ta.account': string;
89
+ 'ta.account.service': string;
90
+ 'ta.account.menu': string;
91
+ 'ta.me': string;
92
+ 'ta.auth.title': string;
93
+ 'ta.auth.hint': string;
94
+ 'ta.auth.hintRemote': string;
95
+ 'ta.auth.later': string;
96
+ 'ta.myDevices.title': string;
97
+ 'ta.myDevices.hint': string;
98
+ 'ta.myDevices.signInWith': string;
99
+ 'ta.myDevices.enterCode': string;
100
+ 'ta.myDevices.openProvider': string;
101
+ 'ta.myDevices.waitingTitle': string;
102
+ 'ta.myDevices.waitingHint': string;
103
+ 'ta.myDevices.askTitle': string;
104
+ 'ta.myDevices.askHint': string;
105
+ 'ta.myDevices.code': string;
106
+ 'ta.myDevices.allow': string;
107
+ 'ta.myDevices.notMe': string;
108
+ 'ta.myDevices.later': string;
109
+ 'ta.myDevices.thisDevice': string;
110
+ 'ta.myDevices.online': string;
111
+ 'ta.myDevices.seen': string;
112
+ 'ta.myDevices.waiting': string;
113
+ 'ta.myDevices.remove': string;
114
+ 'ta.myDevices.removeConfirm': string;
115
+ 'ta.myDevices.signOut': string;
116
+ 'ta.myDevices.signOutConfirm': string;
117
+ 'ta.myDevices.signOutConfirmComputer': string;
118
+ 'ta.myDevices.none': string;
119
+ 'ta.myDevices.open': string;
120
+ 'ta.myDevices.signInAccount': string;
121
+ 'ta.myDevices.others': string;
122
+ 'ta.myDevices.computersComing': string;
123
+ 'ta.me.profile': string;
124
+ 'ta.me.picture': string;
125
+ 'ta.me.name': string;
126
+ 'ta.me.nameHint': string;
127
+ 'ta.me.account': string;
128
+ 'ta.me.noAccount': string;
129
+ 'ta.me.companyAccount': string;
130
+ 'ta.me.recent': string;
131
+ 'ta.me.profileHint': string;
132
+ 'ta.auth.accountsExample': string;
133
+ 'ta.auth.keysExample': string;
134
+ 'ta.auth.accounts': string;
135
+ 'ta.auth.keys': string;
136
+ 'ta.auth.subscription': string;
137
+ 'ta.auth.account': string;
138
+ 'ta.auth.apiKey': string;
139
+ 'ta.auth.signedIn': string;
140
+ 'ta.auth.signOut': string;
141
+ 'ta.auth.signOutConfirm': string;
142
+ 'ta.auth.openHint': string;
143
+ 'ta.auth.openPage': string;
144
+ 'ta.auth.copyLink': string;
145
+ 'ta.auth.deviceHint': string;
146
+ 'ta.auth.copyAndOpen': string;
147
+ 'ta.auth.copyCode': string;
148
+ 'ta.auth.manualCode': string;
149
+ 'ta.auth.manualCodeRemote': string;
150
+ 'ta.auth.enterKey': string;
151
+ 'ta.auth.continue': string;
152
+ 'ta.auth.back': string;
153
+ 'ta.auth.waiting': string;
154
+ 'ta.auth.done': string;
155
+ 'ta.auth.failed': string;
156
+ 'ta.auth.none': string;
157
+ 'ta.auth.search': string;
158
+ 'ta.auth.accountsTitle': string;
159
+ 'ta.auth.custom.add': string;
160
+ 'ta.auth.custom.addHint': string;
161
+ 'ta.auth.custom.title': string;
162
+ 'ta.auth.custom.kind': string;
163
+ 'ta.auth.custom.api': string;
164
+ 'ta.auth.custom.apiOpenai': string;
165
+ 'ta.auth.custom.apiResponses': string;
166
+ 'ta.auth.custom.apiAnthropic': string;
167
+ 'ta.auth.custom.apiGoogle': string;
168
+ 'ta.auth.custom.baseUrl': string;
169
+ 'ta.auth.custom.apiKey': string;
170
+ 'ta.auth.custom.keyKept': string;
171
+ 'ta.auth.custom.keyOptional': string;
172
+ 'ta.auth.custom.name': string;
173
+ 'ta.auth.custom.optional': string;
174
+ 'ta.auth.custom.models': string;
175
+ 'ta.auth.custom.modelPlaceholder': string;
176
+ 'ta.auth.custom.removeModel': string;
177
+ 'ta.auth.custom.fetch': string;
178
+ 'ta.auth.custom.fetched': string;
179
+ 'ta.auth.custom.fetchedNone': string;
180
+ 'ta.auth.custom.fetchFailed': string;
181
+ 'ta.auth.custom.filter': string;
182
+ 'ta.auth.custom.note': string;
183
+ 'ta.auth.custom.needModel': string;
184
+ 'ta.auth.custom.save': string;
185
+ 'ta.auth.custom.saved': string;
186
+ 'ta.auth.custom.remove': string;
187
+ 'ta.auth.custom.removeConfirm': string;
188
+ 'ta.auth.custom.advanced': string;
189
+ 'ta.auth.custom.advancedHint': string;
190
+ 'ta.auth.custom.contextWindow': string;
191
+ 'ta.auth.custom.maxTokens': string;
192
+ 'ta.auth.custom.mixed': string;
193
+ 'ta.auth.custom.reasoning': string;
194
+ 'ta.auth.custom.images': string;
195
+ 'ta.auth.custom.headers': string;
196
+ 'ta.auth.custom.headerName': string;
197
+ 'ta.auth.custom.headerValue': string;
198
+ 'ta.auth.custom.addHeader': string;
199
+ 'ta.auth.custom.removeHeader': string;
200
+ 'ta.auth.custom.badNumber': string;
201
+ 'ta.manage.vault': string;
202
+ };