@pairdraw/vue 0.19.2 → 0.21.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 (477) hide show
  1. package/dist/canvas/CanvasRoot.vue.js +5 -0
  2. package/dist/canvas/CanvasRoot.vue.js.map +1 -1
  3. package/dist/canvas/auto-layout/value-edit.js +1 -1
  4. package/dist/canvas/auto-layout/value-edit.js.map +1 -1
  5. package/dist/canvas/eyedropper/index.d.ts +26 -0
  6. package/dist/canvas/eyedropper/index.d.ts.map +1 -0
  7. package/dist/canvas/eyedropper/index.js +62 -0
  8. package/dist/canvas/eyedropper/index.js.map +1 -0
  9. package/dist/canvas/eyedropper/sample.js +13 -0
  10. package/dist/canvas/eyedropper/sample.js.map +1 -0
  11. package/dist/canvas/eyedropper/use.d.ts +33 -0
  12. package/dist/canvas/eyedropper/use.d.ts.map +1 -0
  13. package/dist/canvas/eyedropper/use.js +52 -0
  14. package/dist/canvas/eyedropper/use.js.map +1 -0
  15. package/dist/canvas/pointer/drag-move.js +4 -0
  16. package/dist/canvas/pointer/drag-move.js.map +1 -1
  17. package/dist/canvas/surface/color-space.d.ts +1 -0
  18. package/dist/canvas/surface/color-space.d.ts.map +1 -1
  19. package/dist/canvas/surface/gl-surface.js +5 -1
  20. package/dist/canvas/surface/gl-surface.js.map +1 -1
  21. package/dist/canvas/surface/kit-loader.js +2 -3
  22. package/dist/canvas/surface/kit-loader.js.map +1 -1
  23. package/dist/canvas/surface/lifecycle.js +34 -3
  24. package/dist/canvas/surface/lifecycle.js.map +1 -1
  25. package/dist/canvas/surface/origin.js +14 -0
  26. package/dist/canvas/surface/origin.js.map +1 -0
  27. package/dist/canvas/surface/shader/plan.js +40 -0
  28. package/dist/canvas/surface/shader/plan.js.map +1 -0
  29. package/dist/canvas/surface/shader/playback.js +132 -36
  30. package/dist/canvas/surface/shader/playback.js.map +1 -1
  31. package/dist/canvas/surface/shader/stage.d.ts.map +1 -1
  32. package/dist/canvas/surface/shader/stage.js +42 -5
  33. package/dist/canvas/surface/shader/stage.js.map +1 -1
  34. package/dist/canvas/surface/types.d.ts +25 -0
  35. package/dist/canvas/surface/types.d.ts.map +1 -1
  36. package/dist/canvas/surface/use.js +3 -1
  37. package/dist/canvas/surface/use.js.map +1 -1
  38. package/dist/canvas/text-edit/textarea.d.ts +1 -0
  39. package/dist/canvas/text-edit/textarea.d.ts.map +1 -1
  40. package/dist/canvas/tools/registry.js +5 -1
  41. package/dist/canvas/tools/registry.js.map +1 -1
  42. package/dist/canvas/useCanvasInput.d.ts +144 -2
  43. package/dist/canvas/useCanvasInput.d.ts.map +1 -1
  44. package/dist/canvas/useCanvasInput.js +3 -2
  45. package/dist/canvas/useCanvasInput.js.map +1 -1
  46. package/dist/controls/appearance/use.d.ts +1 -1
  47. package/dist/controls/binding-provider/pairdraw.js +1 -1
  48. package/dist/controls/binding-provider/pairdraw.js.map +1 -1
  49. package/dist/controls/color-model/types.d.ts +6 -0
  50. package/dist/controls/color-model/types.d.ts.map +1 -1
  51. package/dist/controls/color-model/use.d.ts.map +1 -1
  52. package/dist/controls/color-model/use.js +5 -3
  53. package/dist/controls/color-model/use.js.map +1 -1
  54. package/dist/controls/document-colors/index.d.ts +2 -0
  55. package/dist/controls/document-colors/index.js +2 -0
  56. package/dist/controls/document-colors/use.d.ts +20 -0
  57. package/dist/controls/document-colors/use.d.ts.map +1 -0
  58. package/dist/controls/document-colors/use.js +35 -0
  59. package/dist/controls/document-colors/use.js.map +1 -0
  60. package/dist/controls/effects/helpers.d.ts +13 -2
  61. package/dist/controls/effects/helpers.d.ts.map +1 -1
  62. package/dist/controls/effects/helpers.js +89 -34
  63. package/dist/controls/effects/helpers.js.map +1 -1
  64. package/dist/controls/effects/index.d.ts +2 -1
  65. package/dist/controls/effects/index.js +2 -1
  66. package/dist/controls/effects/use.d.ts +9 -7
  67. package/dist/controls/effects/use.d.ts.map +1 -1
  68. package/dist/controls/effects/use.js +6 -3
  69. package/dist/controls/effects/use.js.map +1 -1
  70. package/dist/controls/okhcl/use.d.ts +2 -2
  71. package/dist/controls/shader/catalog.d.ts +11 -0
  72. package/dist/controls/shader/catalog.d.ts.map +1 -1
  73. package/dist/controls/shader/catalog.js +35 -6
  74. package/dist/controls/shader/catalog.js.map +1 -1
  75. package/dist/controls/shader/gallery.d.ts +1 -1
  76. package/dist/controls/shader/gallery.d.ts.map +1 -1
  77. package/dist/controls/shader/gallery.js +292 -0
  78. package/dist/controls/shader/gallery.js.map +1 -1
  79. package/dist/controls/shader/index.d.ts +3 -1
  80. package/dist/controls/shader/index.js +3 -1
  81. package/dist/controls/shader/shapes.d.ts +18 -0
  82. package/dist/controls/shader/shapes.d.ts.map +1 -0
  83. package/dist/controls/shader/shapes.js +227 -0
  84. package/dist/controls/shader/shapes.js.map +1 -0
  85. package/dist/controls/shader/stops.d.ts +22 -0
  86. package/dist/controls/shader/stops.d.ts.map +1 -0
  87. package/dist/controls/shader/stops.js +73 -0
  88. package/dist/controls/shader/stops.js.map +1 -0
  89. package/dist/controls/typography/features.d.ts +24 -0
  90. package/dist/controls/typography/features.d.ts.map +1 -0
  91. package/dist/controls/typography/features.js +130 -0
  92. package/dist/controls/typography/features.js.map +1 -0
  93. package/dist/controls/typography/index.d.ts +2 -1
  94. package/dist/controls/typography/index.js +2 -1
  95. package/dist/controls/typography/use.d.ts +6 -0
  96. package/dist/controls/typography/use.d.ts.map +1 -1
  97. package/dist/controls/typography/use.js +4 -1
  98. package/dist/controls/typography/use.js.map +1 -1
  99. package/dist/controls/variable-modes/helpers.d.ts.map +1 -1
  100. package/dist/controls/variable-modes/helpers.js +4 -2
  101. package/dist/controls/variable-modes/helpers.js.map +1 -1
  102. package/dist/editor/commands/registry.d.ts +4 -0
  103. package/dist/editor/commands/registry.d.ts.map +1 -1
  104. package/dist/editor/commands/registry.js +2 -0
  105. package/dist/editor/commands/registry.js.map +1 -1
  106. package/dist/editor/commands/selection.js +22 -0
  107. package/dist/editor/commands/selection.js.map +1 -1
  108. package/dist/editor/commands/types.d.ts +1 -1
  109. package/dist/editor/commands/types.d.ts.map +1 -1
  110. package/dist/editor/menu-model/canvas.d.ts.map +1 -1
  111. package/dist/editor/menu-model/canvas.js +7 -1
  112. package/dist/editor/menu-model/canvas.js.map +1 -1
  113. package/dist/editor/selection-capabilities/use.d.ts +2 -0
  114. package/dist/editor/selection-capabilities/use.js +5 -0
  115. package/dist/editor/selection-capabilities/use.js.map +1 -1
  116. package/dist/editor/selection-state/use.d.ts +1 -0
  117. package/dist/editor/selection-state/use.js +5 -0
  118. package/dist/editor/selection-state/use.js.map +1 -1
  119. package/dist/editor/tool-cursor/index.d.ts.map +1 -1
  120. package/dist/editor/tool-cursor/index.js +5 -1
  121. package/dist/editor/tool-cursor/index.js.map +1 -1
  122. package/dist/i18n/create.d.ts +1 -1
  123. package/dist/i18n/create.d.ts.map +1 -1
  124. package/dist/i18n/create.js +1 -0
  125. package/dist/i18n/create.js.map +1 -1
  126. package/dist/i18n/index.d.ts +5 -2
  127. package/dist/i18n/index.js +5 -2
  128. package/dist/i18n/locale.d.ts +5 -4
  129. package/dist/i18n/locale.d.ts.map +1 -1
  130. package/dist/i18n/locale.js +4 -0
  131. package/dist/i18n/locale.js.map +1 -1
  132. package/dist/i18n/locales/de/ai.json.js +68 -2
  133. package/dist/i18n/locales/de/commands.json.js +2 -0
  134. package/dist/i18n/locales/de/comments.json.js +1 -1
  135. package/dist/i18n/locales/de/design-check.json.js +13 -1
  136. package/dist/i18n/locales/de/design-memory.json.js +82 -0
  137. package/dist/i18n/locales/de/design-memory.json.js.map +1 -0
  138. package/dist/i18n/locales/de/fonts.json.js +10 -0
  139. package/dist/i18n/locales/de/index.js +5 -1
  140. package/dist/i18n/locales/de/index.js.map +1 -1
  141. package/dist/i18n/locales/de/menu.json.js +2 -0
  142. package/dist/i18n/locales/de/panels.json.js +109 -1
  143. package/dist/i18n/locales/de/settings.json.js +1 -0
  144. package/dist/i18n/locales/de/tools.json.js +3 -1
  145. package/dist/i18n/locales/de/variables/panel.json.js +20 -0
  146. package/dist/i18n/locales/de/variations.json.js +23 -0
  147. package/dist/i18n/locales/de/variations.json.js.map +1 -0
  148. package/dist/i18n/locales/es/ai.json.js +67 -1
  149. package/dist/i18n/locales/es/commands.json.js +2 -0
  150. package/dist/i18n/locales/es/comments.json.js +1 -1
  151. package/dist/i18n/locales/es/design-check.json.js +13 -1
  152. package/dist/i18n/locales/es/design-memory.json.js +82 -0
  153. package/dist/i18n/locales/es/design-memory.json.js.map +1 -0
  154. package/dist/i18n/locales/es/fonts.json.js +10 -0
  155. package/dist/i18n/locales/es/index.js +5 -1
  156. package/dist/i18n/locales/es/index.js.map +1 -1
  157. package/dist/i18n/locales/es/menu.json.js +2 -0
  158. package/dist/i18n/locales/es/panels.json.js +109 -1
  159. package/dist/i18n/locales/es/settings.json.js +1 -0
  160. package/dist/i18n/locales/es/tools.json.js +3 -1
  161. package/dist/i18n/locales/es/variables/panel.json.js +20 -0
  162. package/dist/i18n/locales/es/variations.json.js +23 -0
  163. package/dist/i18n/locales/es/variations.json.js.map +1 -0
  164. package/dist/i18n/locales/fr/ai.json.js +68 -2
  165. package/dist/i18n/locales/fr/commands.json.js +2 -0
  166. package/dist/i18n/locales/fr/comments.json.js +1 -1
  167. package/dist/i18n/locales/fr/design-check.json.js +13 -1
  168. package/dist/i18n/locales/fr/design-memory.json.js +82 -0
  169. package/dist/i18n/locales/fr/design-memory.json.js.map +1 -0
  170. package/dist/i18n/locales/fr/fonts.json.js +10 -0
  171. package/dist/i18n/locales/fr/index.js +5 -1
  172. package/dist/i18n/locales/fr/index.js.map +1 -1
  173. package/dist/i18n/locales/fr/menu.json.js +2 -0
  174. package/dist/i18n/locales/fr/panels.json.js +109 -1
  175. package/dist/i18n/locales/fr/settings.json.js +1 -0
  176. package/dist/i18n/locales/fr/tools.json.js +3 -1
  177. package/dist/i18n/locales/fr/variables/panel.json.js +20 -0
  178. package/dist/i18n/locales/fr/variations.json.js +23 -0
  179. package/dist/i18n/locales/fr/variations.json.js.map +1 -0
  180. package/dist/i18n/locales/id/agents.json.js +31 -0
  181. package/dist/i18n/locales/id/agents.json.js.map +1 -0
  182. package/dist/i18n/locales/id/ai.json.js +608 -0
  183. package/dist/i18n/locales/id/ai.json.js.map +1 -0
  184. package/dist/i18n/locales/id/automation.json.js +150 -0
  185. package/dist/i18n/locales/id/automation.json.js.map +1 -0
  186. package/dist/i18n/locales/id/browser.json.js +50 -0
  187. package/dist/i18n/locales/id/browser.json.js.map +1 -0
  188. package/dist/i18n/locales/id/chat-context.json.js +62 -0
  189. package/dist/i18n/locales/id/chat-context.json.js.map +1 -0
  190. package/dist/i18n/locales/id/cloud/editor.json.js +337 -0
  191. package/dist/i18n/locales/id/cloud/editor.json.js.map +1 -0
  192. package/dist/i18n/locales/id/cloud/portal.json.js +435 -0
  193. package/dist/i18n/locales/id/cloud/portal.json.js.map +1 -0
  194. package/dist/i18n/locales/id/code.json.js +43 -0
  195. package/dist/i18n/locales/id/code.json.js.map +1 -0
  196. package/dist/i18n/locales/id/collaboration.json.js +84 -0
  197. package/dist/i18n/locales/id/collaboration.json.js.map +1 -0
  198. package/dist/i18n/locales/id/commands.json.js +111 -0
  199. package/dist/i18n/locales/id/commands.json.js.map +1 -0
  200. package/dist/i18n/locales/id/comments.json.js +37 -0
  201. package/dist/i18n/locales/id/comments.json.js.map +1 -0
  202. package/dist/i18n/locales/id/common.json.js +51 -0
  203. package/dist/i18n/locales/id/common.json.js.map +1 -0
  204. package/dist/i18n/locales/id/credentials.json.js +21 -0
  205. package/dist/i18n/locales/id/credentials.json.js.map +1 -0
  206. package/dist/i18n/locales/id/design-check.json.js +101 -0
  207. package/dist/i18n/locales/id/design-check.json.js.map +1 -0
  208. package/dist/i18n/locales/id/design-memory.json.js +61 -0
  209. package/dist/i18n/locales/id/design-memory.json.js.map +1 -0
  210. package/dist/i18n/locales/id/diagnostics.json.js +78 -0
  211. package/dist/i18n/locales/id/diagnostics.json.js.map +1 -0
  212. package/dist/i18n/locales/id/editor.json.js +62 -0
  213. package/dist/i18n/locales/id/editor.json.js.map +1 -0
  214. package/dist/i18n/locales/id/explore.json.js +30 -0
  215. package/dist/i18n/locales/id/explore.json.js.map +1 -0
  216. package/dist/i18n/locales/id/figjam.json.js +39 -0
  217. package/dist/i18n/locales/id/figjam.json.js.map +1 -0
  218. package/dist/i18n/locales/id/files.json.js +86 -0
  219. package/dist/i18n/locales/id/files.json.js.map +1 -0
  220. package/dist/i18n/locales/id/fonts.json.js +54 -0
  221. package/dist/i18n/locales/id/fonts.json.js.map +1 -0
  222. package/dist/i18n/locales/id/index.js +85 -0
  223. package/dist/i18n/locales/id/index.js.map +1 -0
  224. package/dist/i18n/locales/id/media.json.js +52 -0
  225. package/dist/i18n/locales/id/media.json.js.map +1 -0
  226. package/dist/i18n/locales/id/menu.json.js +118 -0
  227. package/dist/i18n/locales/id/menu.json.js.map +1 -0
  228. package/dist/i18n/locales/id/pages.json.js +16 -0
  229. package/dist/i18n/locales/id/pages.json.js.map +1 -0
  230. package/dist/i18n/locales/id/panels.json.js +838 -0
  231. package/dist/i18n/locales/id/panels.json.js.map +1 -0
  232. package/dist/i18n/locales/id/recovery.json.js +36 -0
  233. package/dist/i18n/locales/id/recovery.json.js.map +1 -0
  234. package/dist/i18n/locales/id/rename.json.js +19 -0
  235. package/dist/i18n/locales/id/rename.json.js.map +1 -0
  236. package/dist/i18n/locales/id/rendering.json.js +18 -0
  237. package/dist/i18n/locales/id/rendering.json.js.map +1 -0
  238. package/dist/i18n/locales/id/settings.json.js +169 -0
  239. package/dist/i18n/locales/id/settings.json.js.map +1 -0
  240. package/dist/i18n/locales/id/shaders.json.js +24 -0
  241. package/dist/i18n/locales/id/shaders.json.js.map +1 -0
  242. package/dist/i18n/locales/id/shapes.json.js +48 -0
  243. package/dist/i18n/locales/id/shapes.json.js.map +1 -0
  244. package/dist/i18n/locales/id/slides.json.js +27 -0
  245. package/dist/i18n/locales/id/slides.json.js.map +1 -0
  246. package/dist/i18n/locales/id/statuses.json.js +38 -0
  247. package/dist/i18n/locales/id/statuses.json.js.map +1 -0
  248. package/dist/i18n/locales/id/storage.json.js +21 -0
  249. package/dist/i18n/locales/id/storage.json.js.map +1 -0
  250. package/dist/i18n/locales/id/tools.json.js +27 -0
  251. package/dist/i18n/locales/id/tools.json.js.map +1 -0
  252. package/dist/i18n/locales/id/updates.json.js +31 -0
  253. package/dist/i18n/locales/id/updates.json.js.map +1 -0
  254. package/dist/i18n/locales/id/variables/panel.json.js +175 -0
  255. package/dist/i18n/locales/id/variables/panel.json.js.map +1 -0
  256. package/dist/i18n/locales/id/variables/types.json.js +15 -0
  257. package/dist/i18n/locales/id/variables/types.json.js.map +1 -0
  258. package/dist/i18n/locales/id/variations.json.js +23 -0
  259. package/dist/i18n/locales/id/variations.json.js.map +1 -0
  260. package/dist/i18n/locales/it/ai.json.js +68 -2
  261. package/dist/i18n/locales/it/commands.json.js +2 -0
  262. package/dist/i18n/locales/it/comments.json.js +1 -1
  263. package/dist/i18n/locales/it/design-check.json.js +13 -1
  264. package/dist/i18n/locales/it/design-memory.json.js +82 -0
  265. package/dist/i18n/locales/it/design-memory.json.js.map +1 -0
  266. package/dist/i18n/locales/it/fonts.json.js +10 -0
  267. package/dist/i18n/locales/it/index.js +5 -1
  268. package/dist/i18n/locales/it/index.js.map +1 -1
  269. package/dist/i18n/locales/it/menu.json.js +2 -0
  270. package/dist/i18n/locales/it/panels.json.js +109 -1
  271. package/dist/i18n/locales/it/settings.json.js +1 -0
  272. package/dist/i18n/locales/it/tools.json.js +3 -1
  273. package/dist/i18n/locales/it/variables/panel.json.js +20 -0
  274. package/dist/i18n/locales/it/variations.json.js +23 -0
  275. package/dist/i18n/locales/it/variations.json.js.map +1 -0
  276. package/dist/i18n/locales/ja/ai.json.js +68 -2
  277. package/dist/i18n/locales/ja/commands.json.js +2 -0
  278. package/dist/i18n/locales/ja/comments.json.js +1 -1
  279. package/dist/i18n/locales/ja/design-check.json.js +13 -1
  280. package/dist/i18n/locales/ja/design-memory.json.js +61 -0
  281. package/dist/i18n/locales/ja/design-memory.json.js.map +1 -0
  282. package/dist/i18n/locales/ja/fonts.json.js +10 -0
  283. package/dist/i18n/locales/ja/index.js +5 -1
  284. package/dist/i18n/locales/ja/index.js.map +1 -1
  285. package/dist/i18n/locales/ja/menu.json.js +2 -0
  286. package/dist/i18n/locales/ja/panels.json.js +106 -1
  287. package/dist/i18n/locales/ja/settings.json.js +1 -0
  288. package/dist/i18n/locales/ja/tools.json.js +3 -1
  289. package/dist/i18n/locales/ja/variables/panel.json.js +20 -0
  290. package/dist/i18n/locales/ja/variations.json.js +23 -0
  291. package/dist/i18n/locales/ja/variations.json.js.map +1 -0
  292. package/dist/i18n/locales/pl/ai.json.js +68 -2
  293. package/dist/i18n/locales/pl/commands.json.js +2 -0
  294. package/dist/i18n/locales/pl/comments.json.js +1 -1
  295. package/dist/i18n/locales/pl/design-check.json.js +13 -1
  296. package/dist/i18n/locales/pl/design-memory.json.js +89 -0
  297. package/dist/i18n/locales/pl/design-memory.json.js.map +1 -0
  298. package/dist/i18n/locales/pl/fonts.json.js +10 -0
  299. package/dist/i18n/locales/pl/index.js +5 -1
  300. package/dist/i18n/locales/pl/index.js.map +1 -1
  301. package/dist/i18n/locales/pl/menu.json.js +2 -0
  302. package/dist/i18n/locales/pl/panels.json.js +110 -1
  303. package/dist/i18n/locales/pl/settings.json.js +1 -0
  304. package/dist/i18n/locales/pl/tools.json.js +3 -1
  305. package/dist/i18n/locales/pl/variables/panel.json.js +20 -0
  306. package/dist/i18n/locales/pl/variations.json.js +23 -0
  307. package/dist/i18n/locales/pl/variations.json.js.map +1 -0
  308. package/dist/i18n/locales/ru/ai.json.js +68 -2
  309. package/dist/i18n/locales/ru/commands.json.js +3 -1
  310. package/dist/i18n/locales/ru/comments.json.js +1 -1
  311. package/dist/i18n/locales/ru/design-check.json.js +13 -1
  312. package/dist/i18n/locales/ru/design-memory.json.js +89 -0
  313. package/dist/i18n/locales/ru/design-memory.json.js.map +1 -0
  314. package/dist/i18n/locales/ru/fonts.json.js +10 -0
  315. package/dist/i18n/locales/ru/index.js +5 -1
  316. package/dist/i18n/locales/ru/index.js.map +1 -1
  317. package/dist/i18n/locales/ru/menu.json.js +2 -0
  318. package/dist/i18n/locales/ru/panels.json.js +110 -1
  319. package/dist/i18n/locales/ru/settings.json.js +1 -0
  320. package/dist/i18n/locales/ru/tools.json.js +3 -1
  321. package/dist/i18n/locales/ru/variables/panel.json.js +20 -0
  322. package/dist/i18n/locales/ru/variations.json.js +23 -0
  323. package/dist/i18n/locales/ru/variations.json.js.map +1 -0
  324. package/dist/i18n/locales/zh-cn/ai.json.js +68 -2
  325. package/dist/i18n/locales/zh-cn/commands.json.js +2 -0
  326. package/dist/i18n/locales/zh-cn/comments.json.js +1 -1
  327. package/dist/i18n/locales/zh-cn/design-check.json.js +13 -1
  328. package/dist/i18n/locales/zh-cn/design-memory.json.js +61 -0
  329. package/dist/i18n/locales/zh-cn/design-memory.json.js.map +1 -0
  330. package/dist/i18n/locales/zh-cn/fonts.json.js +10 -0
  331. package/dist/i18n/locales/zh-cn/index.js +5 -1
  332. package/dist/i18n/locales/zh-cn/index.js.map +1 -1
  333. package/dist/i18n/locales/zh-cn/menu.json.js +2 -0
  334. package/dist/i18n/locales/zh-cn/panels.json.js +106 -1
  335. package/dist/i18n/locales/zh-cn/settings.json.js +1 -0
  336. package/dist/i18n/locales/zh-cn/tools.json.js +3 -1
  337. package/dist/i18n/locales/zh-cn/variables/panel.json.js +20 -0
  338. package/dist/i18n/locales/zh-cn/variations.json.js +23 -0
  339. package/dist/i18n/locales/zh-cn/variations.json.js.map +1 -0
  340. package/dist/i18n/messages/ai.d.ts +98 -2
  341. package/dist/i18n/messages/ai.d.ts.map +1 -1
  342. package/dist/i18n/messages/ai.js +70 -2
  343. package/dist/i18n/messages/ai.js.map +1 -1
  344. package/dist/i18n/messages/chat-usage.d.ts +34 -0
  345. package/dist/i18n/messages/chat-usage.d.ts.map +1 -0
  346. package/dist/i18n/messages/chat-usage.js +25 -0
  347. package/dist/i18n/messages/chat-usage.js.map +1 -0
  348. package/dist/i18n/messages/commands.d.ts +2 -0
  349. package/dist/i18n/messages/commands.d.ts.map +1 -1
  350. package/dist/i18n/messages/commands.js +2 -0
  351. package/dist/i18n/messages/commands.js.map +1 -1
  352. package/dist/i18n/messages/comments.d.ts +2 -2
  353. package/dist/i18n/messages/comments.js +2 -2
  354. package/dist/i18n/messages/comments.js.map +1 -1
  355. package/dist/i18n/messages/design-check.d.ts +12 -0
  356. package/dist/i18n/messages/design-check.d.ts.map +1 -1
  357. package/dist/i18n/messages/design-check.js +13 -1
  358. package/dist/i18n/messages/design-check.js.map +1 -1
  359. package/dist/i18n/messages/design-memory.d.ts +68 -0
  360. package/dist/i18n/messages/design-memory.d.ts.map +1 -0
  361. package/dist/i18n/messages/design-memory.js +85 -0
  362. package/dist/i18n/messages/design-memory.js.map +1 -0
  363. package/dist/i18n/messages/fonts.d.ts +12 -0
  364. package/dist/i18n/messages/fonts.d.ts.map +1 -1
  365. package/dist/i18n/messages/fonts.js +10 -0
  366. package/dist/i18n/messages/fonts.js.map +1 -1
  367. package/dist/i18n/messages/menu.d.ts +2 -0
  368. package/dist/i18n/messages/menu.d.ts.map +1 -1
  369. package/dist/i18n/messages/menu.js +2 -0
  370. package/dist/i18n/messages/menu.js.map +1 -1
  371. package/dist/i18n/messages/panels.d.ts +131 -0
  372. package/dist/i18n/messages/panels.d.ts.map +1 -1
  373. package/dist/i18n/messages/panels.js +109 -1
  374. package/dist/i18n/messages/panels.js.map +1 -1
  375. package/dist/i18n/messages/settings.d.ts +1 -0
  376. package/dist/i18n/messages/settings.d.ts.map +1 -1
  377. package/dist/i18n/messages/settings.js +1 -0
  378. package/dist/i18n/messages/settings.js.map +1 -1
  379. package/dist/i18n/messages/tools.d.ts +2 -0
  380. package/dist/i18n/messages/tools.d.ts.map +1 -1
  381. package/dist/i18n/messages/tools.js +3 -1
  382. package/dist/i18n/messages/tools.js.map +1 -1
  383. package/dist/i18n/messages/variables/panel.d.ts +24 -0
  384. package/dist/i18n/messages/variables/panel.d.ts.map +1 -1
  385. package/dist/i18n/messages/variables/panel.js +20 -0
  386. package/dist/i18n/messages/variables/panel.js.map +1 -1
  387. package/dist/i18n/messages/variations.d.ts +28 -0
  388. package/dist/i18n/messages/variations.d.ts.map +1 -0
  389. package/dist/i18n/messages/variations.js +26 -0
  390. package/dist/i18n/messages/variations.js.map +1 -0
  391. package/dist/i18n/messages.d.ts +405 -4
  392. package/dist/i18n/messages.d.ts.map +1 -1
  393. package/dist/i18n/messages.js +8 -2
  394. package/dist/i18n/messages.js.map +1 -1
  395. package/dist/i18n/useI18n.d.ts +1389 -13
  396. package/dist/i18n/useI18n.d.ts.map +1 -1
  397. package/dist/i18n/useI18n.js +8 -1
  398. package/dist/i18n/useI18n.js.map +1 -1
  399. package/dist/primitives/ColorPicker/ColorInputRoot.vue.d.ts +6 -0
  400. package/dist/primitives/ColorPicker/ColorInputRoot.vue.d.ts.map +1 -1
  401. package/dist/primitives/ColorPicker/ColorInputRoot.vue.js +3 -1
  402. package/dist/primitives/ColorPicker/ColorInputRoot.vue.js.map +1 -1
  403. package/dist/primitives/ColorPicker/ColorPickerRoot.vue.d.ts +11 -2
  404. package/dist/primitives/ColorPicker/ColorPickerRoot.vue.d.ts.map +1 -1
  405. package/dist/primitives/ColorPicker/ColorPickerRoot.vue.js +15 -5
  406. package/dist/primitives/ColorPicker/ColorPickerRoot.vue.js.map +1 -1
  407. package/dist/primitives/ColorPicker/index.d.ts +2 -1
  408. package/dist/primitives/ColorPicker/index.js +2 -1
  409. package/dist/primitives/ColorPicker/outside.d.ts +16 -0
  410. package/dist/primitives/ColorPicker/outside.d.ts.map +1 -0
  411. package/dist/primitives/ColorPicker/outside.js +20 -0
  412. package/dist/primitives/ColorPicker/outside.js.map +1 -0
  413. package/dist/primitives/Fill/FillRoot.vue.d.ts +2 -1
  414. package/dist/primitives/Fill/FillRoot.vue.d.ts.map +1 -1
  415. package/dist/primitives/Fill/FillRoot.vue.js +5 -2
  416. package/dist/primitives/Fill/FillRoot.vue.js.map +1 -1
  417. package/dist/primitives/Fill/FillSwatch.vue.d.ts.map +1 -1
  418. package/dist/primitives/Fill/FillSwatch.vue.js +2 -1
  419. package/dist/primitives/Fill/FillSwatch.vue.js.map +1 -1
  420. package/dist/primitives/Fill/types.d.ts +6 -1
  421. package/dist/primitives/Fill/types.d.ts.map +1 -1
  422. package/dist/primitives/Fill/useFill.d.ts +10 -4
  423. package/dist/primitives/Fill/useFill.d.ts.map +1 -1
  424. package/dist/primitives/Fill/useFill.js +14 -10
  425. package/dist/primitives/Fill/useFill.js.map +1 -1
  426. package/dist/primitives/FontPicker/FontPickerRoot.vue.d.ts +5 -0
  427. package/dist/primitives/FontPicker/FontPickerRoot.vue.d.ts.map +1 -1
  428. package/dist/primitives/FontPicker/FontPickerRoot.vue.js +63 -56
  429. package/dist/primitives/FontPicker/FontPickerRoot.vue.js.map +1 -1
  430. package/dist/primitives/GradientEditor/GradientEditorRoot.vue.d.ts +2 -1
  431. package/dist/primitives/GradientEditor/GradientEditorRoot.vue.d.ts.map +1 -1
  432. package/dist/primitives/GradientEditor/GradientEditorRoot.vue.js +5 -2
  433. package/dist/primitives/GradientEditor/GradientEditorRoot.vue.js.map +1 -1
  434. package/dist/primitives/GradientEditor/GradientEditorStop.vue.d.ts.map +1 -1
  435. package/dist/primitives/GradientEditor/GradientEditorStop.vue.js +4 -3
  436. package/dist/primitives/GradientEditor/GradientEditorStop.vue.js.map +1 -1
  437. package/dist/primitives/GradientEditor/types.d.ts +3 -1
  438. package/dist/primitives/GradientEditor/types.d.ts.map +1 -1
  439. package/dist/primitives/GradientEditor/useGradientStops.d.ts +5 -3
  440. package/dist/primitives/GradientEditor/useGradientStops.d.ts.map +1 -1
  441. package/dist/primitives/GradientEditor/useGradientStops.js +9 -4
  442. package/dist/primitives/GradientEditor/useGradientStops.js.map +1 -1
  443. package/dist/primitives/LayerTree/LayerTreeRoot.vue.d.ts +6 -1
  444. package/dist/primitives/LayerTree/LayerTreeRoot.vue.d.ts.map +1 -1
  445. package/dist/primitives/LayerTree/LayerTreeRoot.vue.js +16 -1
  446. package/dist/primitives/LayerTree/LayerTreeRoot.vue.js.map +1 -1
  447. package/dist/primitives/TypographyControls/TypographyControlsRoot.vue.d.ts +3 -0
  448. package/dist/primitives/TypographyControls/TypographyControlsRoot.vue.d.ts.map +1 -1
  449. package/dist/primitives/TypographyControls/TypographyControlsRoot.vue.js +3 -1
  450. package/dist/primitives/TypographyControls/TypographyControlsRoot.vue.js.map +1 -1
  451. package/dist/shared/assets/cursors/eyedropper.svg.js +6 -0
  452. package/dist/shared/assets/cursors/eyedropper.svg.js.map +1 -0
  453. package/dist/shared/frame.d.ts +28 -0
  454. package/dist/shared/frame.d.ts.map +1 -0
  455. package/dist/shared/frame.js +92 -0
  456. package/dist/shared/frame.js.map +1 -0
  457. package/dist/shared/input/auto-layout/drag.js +71 -0
  458. package/dist/shared/input/auto-layout/drag.js.map +1 -0
  459. package/dist/shared/input/{auto-layout-hover.d.ts → auto-layout/hover.d.ts} +3 -3
  460. package/dist/shared/input/auto-layout/hover.d.ts.map +1 -0
  461. package/dist/shared/input/{auto-layout-hover.js → auto-layout/hover.js} +42 -86
  462. package/dist/shared/input/auto-layout/hover.js.map +1 -0
  463. package/dist/shared/input/{auto-layout.js → auto-layout/index.js} +2 -2
  464. package/dist/shared/input/auto-layout/index.js.map +1 -0
  465. package/dist/shared/input/index.d.ts +1 -1
  466. package/dist/shared/input/index.js +1 -1
  467. package/dist/shared/input/move/drag.js +1 -1
  468. package/dist/shared/input/resize.js +1 -1
  469. package/dist/shared/input/select.js +5 -3
  470. package/dist/shared/input/select.js.map +1 -1
  471. package/dist/shared/input/types.d.ts +10 -2
  472. package/dist/shared/input/types.d.ts.map +1 -1
  473. package/dist/shared/input/types.js.map +1 -1
  474. package/package.json +19 -4
  475. package/dist/shared/input/auto-layout-hover.d.ts.map +0 -1
  476. package/dist/shared/input/auto-layout-hover.js.map +0 -1
  477. package/dist/shared/input/auto-layout.js.map +0 -1
@@ -8,6 +8,7 @@ var panels_default = {
8
8
  assets: "资源",
9
9
  page: "页面",
10
10
  selectionColors: "所选颜色",
11
+ documentColors: "文档颜色",
11
12
  frame: "画框",
12
13
  group: "编组",
13
14
  layerType: "图层类型",
@@ -58,10 +59,34 @@ var panels_default = {
58
59
  paragraphIndent: "段落缩进",
59
60
  hangingLists: "悬挂列表",
60
61
  openTypeFeatures: "字体功能",
62
+ moreFontFeatures: "更多字体功能",
61
63
  standardLigatures: "标准连字",
62
64
  contextualAlternates: "上下文替代字形",
63
65
  opticalSizeMode: "光学尺寸模式",
64
66
  kerning: "字距调整",
67
+ discretionaryLigatures: "自由连字",
68
+ historicalLigatures: "历史连字",
69
+ ordinals: "序数词",
70
+ slashedZero: "带斜线零",
71
+ liningFigures: "齐线数字",
72
+ oldstyleFigures: "旧式数字",
73
+ proportionalFigures: "比例数字",
74
+ tabularFigures: "等宽数字",
75
+ fractions: "分数",
76
+ stackedFractions: "堆叠分数",
77
+ smallCaps: "小型大写字母",
78
+ petiteCaps: "微型大写字母",
79
+ allSmallCaps: "全部小型大写字母",
80
+ allPetiteCaps: "全部微型大写字母",
81
+ unicase: "单案例",
82
+ titling: "标题字形",
83
+ caseSensitiveForms: "大小写敏感字形",
84
+ scientificInferiors: "科学下标",
85
+ subscript: "下标",
86
+ superscript: "上标",
87
+ stylisticSet: "风格集 {number}",
88
+ characterVariant: "字符变体 {number}",
89
+ fontFeatureTag: "功能 {tag}",
65
90
  textFormatting: "文本格式",
66
91
  pageBackground: "页面背景",
67
92
  variables: "变量",
@@ -153,8 +178,21 @@ var panels_default = {
153
178
  shaderGalleryMarble: "大理石",
154
179
  shaderGalleryNeonGrid: "霓虹网格",
155
180
  shaderGalleryVelvet: "天鹅绒",
181
+ shaderGalleryLiquidChrome: "液态铬",
182
+ shaderGalleryFlutedGlass: "瓦楞玻璃",
183
+ shaderGalleryPaperStock: "纸质纹理",
184
+ shaderGalleryGodRays: "神圣光束",
185
+ shaderGalleryThermal: "热成像",
186
+ shaderGalleryVoronoiCells: "泰森多边形",
187
+ shaderGalleryDeepWater: "深水",
188
+ shaderGallerySmokePlume: "烟羽",
189
+ shaderGalleryNeonPulse: "霓虹脉冲",
190
+ shaderGalleryGrainWash: "颗粒洗",
191
+ shaderGalleryObsidian: "黑曜石",
192
+ shaderGalleryMarbleInk: "大理石墨",
156
193
  stops: "色标",
157
194
  addStop: "添加色标",
195
+ removeStop: "删除色标",
158
196
  clipContent: "裁剪内容",
159
197
  strokesIncludedInLayout: "在布局中包含描边",
160
198
  convertToFrameHeading: "将组件转换为画框?",
@@ -230,6 +268,7 @@ var panels_default = {
230
268
  exportRenderingPreview: "正在渲染预览…",
231
269
  createVariable: "创建变量",
232
270
  createColorVariable: "从 {value} 创建颜色变量",
271
+ variableDeleted: "{name} was deleted in the source file",
233
272
  variableName: "变量名称",
234
273
  create: "创建",
235
274
  createNumberVariable: "从 {value} 创建数字变量",
@@ -440,6 +479,18 @@ var panels_default = {
440
479
  starRatio: "比例",
441
480
  spread: "扩展",
442
481
  foregroundBlur: "前景模糊",
482
+ noise: "噪点",
483
+ texture: "纹理",
484
+ noiseType: "噪点类型",
485
+ noiseMono: "单色",
486
+ noiseDuo: "双色",
487
+ noiseMulti: "多色",
488
+ noiseSize: "噪点大小",
489
+ grainSize: "大小",
490
+ density: "密度",
491
+ noiseColors: "颜色",
492
+ noiseSecondColor: "第二种颜色",
493
+ clipToShape: "裁剪到形状",
443
494
  strokeType: "描边类型",
444
495
  strokeWeight: "描边粗细",
445
496
  exportScale: "导出缩放",
@@ -712,20 +763,74 @@ var panels_default = {
712
763
  prototypeRemoveInteraction: "移除交互",
713
764
  prototypeTrigger: "触发",
714
765
  prototypeTriggerOnClick: "点击时",
766
+ prototypeTriggerWhileHovering: "悬停时",
767
+ prototypeTriggerWhilePressing: "按住时",
768
+ prototypeTriggerMouseEnter: "鼠标移入",
769
+ prototypeTriggerMouseLeave: "鼠标移出",
715
770
  prototypeTriggerAfterDelay: "延迟后",
716
771
  prototypeDelay: "延迟",
717
772
  prototypeAction: "动作",
718
773
  prototypeActionNavigate: "跳转到",
719
774
  prototypeActionOverlay: "打开叠加层",
775
+ prototypeActionChangeTo: "更改为",
776
+ prototypeActionScrollTo: "滚动到",
720
777
  prototypeActionBack: "返回",
721
778
  prototypeActionClose: "关闭叠加层",
722
779
  prototypeDestination: "目标",
723
780
  prototypeDestinationPlaceholder: "选择画框",
781
+ prototypeVariantPlaceholder: "选择变体",
782
+ prototypeLayerPlaceholder: "选择图层",
783
+ prototypeInheritedInteractions: { "many": "来自主组件的 {count} 个交互" },
724
784
  prototypeAnimation: "动画",
725
785
  prototypeAnimationInstant: "即时",
726
786
  prototypeAnimationDissolve: "溶解",
787
+ prototypeAnimationSmartAnimate: "智能动画",
788
+ prototypeEasing: "缓动",
789
+ prototypeEasingEaseOut: "缓出",
790
+ prototypeEasingEaseIn: "缓入",
791
+ prototypeEasingEaseInAndOut: "缓入缓出",
792
+ prototypeEasingLinear: "线性",
727
793
  prototypeDuration: "时长",
728
- prototypeNoFrames: "在此页面添加画框即可链接。"
794
+ prototypeNoFrames: "在此页面添加画框即可链接。",
795
+ prototypeExportVideo: "导出为视频",
796
+ prototypeVideoHeading: "将原型导出为视频",
797
+ prototypeVideoDescription: "从一个画框开始播放原型,按每个“延迟后”及其过渡录制播放画面。",
798
+ prototypeVideoStart: "起始画框",
799
+ prototypeVideoFormat: "格式",
800
+ prototypeVideoSize: "尺寸",
801
+ prototypeVideoSizeOriginal: "原始尺寸",
802
+ prototypeVideoSizeDouble: "两倍尺寸",
803
+ prototypeVideoSizeLongEdge: "长边 {pixels} px",
804
+ prototypeVideoFrameRate: "帧率",
805
+ prototypeVideoFps: "{fps} fps",
806
+ prototypeVideoMaxLength: "最长时长",
807
+ prototypeVideoSummary: "时长 {seconds} 秒,尺寸 {width}×{height}。",
808
+ prototypeVideoLoops: "播放会回到起始画框,因此视频会循环。",
809
+ prototypeVideoTruncated: "流程还会继续,因此视频在最长时长处结束。",
810
+ prototypeVideoNothingToRecord: "没有可录制的内容",
811
+ prototypeVideoFailed: "无法导出视频",
812
+ prototypeVideoNothingToFollow: "“{frame}”没有可跟随的“延迟后”交互。请在原型面板中添加,或从其他画框开始。",
813
+ prototypeVideoFormatsHere: "此浏览器可以录制 {formats}。",
814
+ prototypeVideoExport: "导出",
815
+ prototypeVideoRecording: "正在录制第 {done} 帧,共 {total} 帧",
816
+ imageExposure: "曝光",
817
+ imageContrast: "对比度",
818
+ imageSaturation: "饱和度",
819
+ imageTemperature: "色温",
820
+ imageTint: "色调",
821
+ imageHighlights: "高光",
822
+ imageShadows: "阴影",
823
+ prototypeOverflow: "溢出滚动",
824
+ prototypeOverflowNone: "不滚动",
825
+ prototypeOverflowVertical: "垂直",
826
+ prototypeOverflowHorizontal: "水平",
827
+ prototypeOverflowBoth: "双向",
828
+ prototypeOverflowNeedsClip: "开启“裁剪内容”后,此画框才能在播放时滚动。",
829
+ prototypeScrollBehavior: "滚动时位置",
830
+ prototypeScrollBehaviorScrolls: "随父级滚动",
831
+ prototypeScrollBehaviorFixed: "固定",
832
+ prototypeScrollBehaviorSticky: "粘性",
833
+ exportColorSpaceNote: "以 sRGB 导出:Display P3 文档的颜色会转换到 sRGB。"
729
834
  };
730
835
  //#endregion
731
836
  export { panels_default as default };
@@ -40,6 +40,7 @@ var settings_default = {
40
40
  capabilityShow: "显示",
41
41
  capabilityShowAll: "全部",
42
42
  skills: "技能",
43
+ prompts: "提示词",
43
44
  storage: "存储",
44
45
  cloud: "云",
45
46
  animations: "动画",
@@ -17,7 +17,9 @@ var tools_default = {
17
17
  hand: "抓手",
18
18
  comment: "评论",
19
19
  zoom: "缩放",
20
- scale: "等比缩放"
20
+ scale: "等比缩放",
21
+ eyedropper: "吸管",
22
+ eyedropperSample: "从画布拾取颜色"
21
23
  };
22
24
  //#endregion
23
25
  export { tools_default as default };
@@ -140,6 +140,26 @@ var panel_default = {
140
140
  cssPushed: "已将变量写入 {file}:更改 {updated} 个,新增 {added} 个。",
141
141
  cssPushedCopy: "已将变量保存到 {file} 的副本:更改 {updated} 个,新增 {added} 个。",
142
142
  cssPushNothing: "{file} 已与变量一致。",
143
+ syncInSync: "已同步",
144
+ syncToReview: "待查看: {count}",
145
+ syncReview: "查看更改",
146
+ syncReviewTitle: "查看来自 {file} 的更改",
147
+ syncReviewDescription: "只在文件中更改的值会在应用时同步。其余的请选择保留哪个值。",
148
+ syncChangedInCode: "在代码中更改",
149
+ syncChangedOnCanvas: "在画布上更改",
150
+ syncChangedInBoth: "两处都已更改",
151
+ syncNewInCode: "代码中新增",
152
+ syncNoLongerInCode: "已不在代码中",
153
+ syncDeletedOnCanvas: "已在画布上删除",
154
+ syncNoLongerInCodeHint: "这些变量会保留。如果不再需要,可以删除它们。",
155
+ syncCodeValue: "代码中",
156
+ syncCanvasValue: "画布上",
157
+ syncKeepCode: "代码",
158
+ syncKeepCanvas: "画布",
159
+ syncSkip: "跳过",
160
+ syncAllCode: "全部使用代码",
161
+ syncAllCanvas: "全部保留画布",
162
+ syncApply: "应用",
143
163
  formula: "公式",
144
164
  useFormula: "使用公式",
145
165
  formulaPlaceholder: "值或公式",
@@ -0,0 +1,23 @@
1
+ //#region src/i18n/locales/zh-cn/variations.json
2
+ var variations_default = {
3
+ variations: "方案",
4
+ variationsCount: "方案 · {count}",
5
+ variationsOf: "{name} 的方案",
6
+ previousVersion: "上一个版本",
7
+ nextVersion: "下一个版本",
8
+ useThis: "使用此版本",
9
+ useThisHint: "用此版本替换 {name}",
10
+ selectVersion: "选择一个版本以使用它",
11
+ goToOriginal: "转到原图层",
12
+ discardAll: "全部舍弃",
13
+ originalChanged: "创建这些方案后,原图层已更改。",
14
+ originalMissing: "原图层已不存在,因此没有版本可以替换它。",
15
+ originalInInstance: "原图层位于实例中,因此没有版本可以替换它。",
16
+ originalLocked: "原图层已锁定。请解锁后再使用版本。",
17
+ originalNotEditable: "原图层属于某个库,因此无法在此处用任何版本替换它。",
18
+ versionTypeDiffers: "此版本与原图层的图层类型不同,因此无法替换它。"
19
+ };
20
+ //#endregion
21
+ export { variations_default as default };
22
+
23
+ //# sourceMappingURL=variations.json.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"variations.json.js","names":[],"sources":["../../../../src/i18n/locales/zh-cn/variations.json"],"sourcesContent":[""],"mappings":""}
@@ -262,6 +262,23 @@ declare const aiMessages: import("@nanostores/i18n").Messages<{
262
262
  readonly changePreview: "Change previews";
263
263
  readonly changePreviewHint: "Before and after images kept with each AI edit in the chat history. Larger previews take more storage.";
264
264
  readonly changePreviewOff: "Off, structure only";
265
+ readonly turnRenders: "Changed frames in chat";
266
+ readonly turnRendersHint: "A reply that changed frames shows small before and after renders of them, below its text.";
267
+ readonly turnRendersTitle: "Changed frames";
268
+ readonly turnRendersMore: import("@nanostores/i18n").TranslationFunction<[{
269
+ count: string | number;
270
+ } & object], string>;
271
+ readonly turnRendersRendering: "Rendering changes…";
272
+ readonly turnRendersCleared: "Renders cleared to save memory";
273
+ readonly turnRendersUnavailable: "Renders are unavailable here";
274
+ readonly turnRendersCount: import("@nanostores/i18n").TranslationFunction<[{
275
+ count: string | number;
276
+ } & object], string>;
277
+ readonly turnRenderWidth: import("@nanostores/i18n").TranslationFunction<[{
278
+ width: string | number;
279
+ } & object], string>;
280
+ readonly turnRenderNewFrame: "New frame";
281
+ readonly turnRenderDeleted: "Deleted";
265
282
  /** Home's prompt that starts a new design in the AI chat. */
266
283
  readonly promptStartTitle: "What do you want to design?";
267
284
  readonly promptStartLabel: "Describe a design";
@@ -312,10 +329,27 @@ declare const aiMessages: import("@nanostores/i18n").Messages<{
312
329
  } & {
313
330
  layer: string | number;
314
331
  } & object], string>;
332
+ /** Under a thread's heading when the person circled an area instead of just clicking. */
333
+ readonly commentPromptRegion: import("@nanostores/i18n").TranslationFunction<[{
334
+ minX: string | number;
335
+ } & {
336
+ maxX: string | number;
337
+ } & {
338
+ minY: string | number;
339
+ } & {
340
+ maxY: string | number;
341
+ } & object], string>;
342
+ /** Added only when a crop of that area travels with the prompt. */
343
+ readonly commentPromptRegionImage: "An image of the marked area is attached as a crop.";
344
+ readonly commentPromptRegionLayers: import("@nanostores/i18n").TranslationFunction<[{
345
+ layers: string | number;
346
+ } & object], string>;
315
347
  readonly canvasPrompt: "Prompt on the canvas";
316
348
  readonly canvasPromptHint: "Show a prompt at the bottom of the canvas while the chat is closed. What you write there goes to the chat.";
317
349
  readonly animateEdits: "Animate AI edits";
318
350
  readonly animateEditsHint: "Layers the AI adds trace in one after another, and the frames it works in shimmer until it finishes. Follows the Animations setting.";
351
+ readonly showTokenUsage: "Show token usage and cost";
352
+ readonly showTokenUsageHint: "Show the tokens each reply spent and the conversation’s running total, with an estimated cost when the model’s price is known.";
319
353
  /** The notice once an agent's run of edits ends; its action shows the layers it touched. */
320
354
  readonly editSummary: import("@nanostores/i18n").TranslationFunction<[{
321
355
  added: string | number;
@@ -360,6 +394,7 @@ declare const aiMessages: import("@nanostores/i18n").Messages<{
360
394
  readonly modelCapabilityToolsShort: "Tools";
361
395
  readonly modelCapabilityVisionShort: "Vision";
362
396
  readonly selectDesignModel: "Select design model";
397
+ readonly designModelName: "Design model";
363
398
  readonly modelNeedsCredential: "Needs key";
364
399
  readonly modelAgentConnection: "Agent";
365
400
  readonly modelConnectionChecking: "Checking…";
@@ -392,8 +427,8 @@ declare const aiMessages: import("@nanostores/i18n").Messages<{
392
427
  readonly modelRoleFast: "Fast tasks";
393
428
  readonly modelRoleVision: "Vision";
394
429
  readonly modelRoleDesignDescription: "AI chat and canvas edits";
395
- readonly modelRoleReviewDescription: "Explicit plan and design reviews";
396
- readonly modelRoleFastDescription: "Low-cost background work";
430
+ readonly modelRoleReviewDescription: "Design reviews you ask for";
431
+ readonly modelRoleFastDescription: "Chat titles and compaction summaries";
397
432
  readonly modelRoleVisionDescription: "Screenshots and image references";
398
433
  readonly modelRoleUseDesign: "Same as Design";
399
434
  readonly noModel: "None";
@@ -425,6 +460,67 @@ declare const aiMessages: import("@nanostores/i18n").Messages<{
425
460
  readonly chatRequestFailed: "The model request failed. Check the provider settings and try again.";
426
461
  readonly chatProviderStalled: "The provider stopped responding. Check your connection and try again.";
427
462
  readonly chatEmptyReply: "The model returned no reply. Try again.";
463
+ readonly chatContextLimit: "The conversation is longer than the model can read.";
464
+ readonly compactCommand: "Summarize the conversation so far; text after it says what to keep";
465
+ readonly compactAutomatically: "Compact automatically";
466
+ readonly compactAutomaticallyHint: "Summarizes older messages when the context window fills up.";
467
+ readonly compacting: "Compacting the conversation…";
468
+ readonly compactionFailed: "The conversation could not be compacted. Nothing was changed.";
469
+ readonly compactAndRetry: "Compact and retry";
470
+ readonly conversationCompacted: "Conversation compacted";
471
+ readonly compactionKeepsMessages: "The model now gets this summary instead of the messages above; you still see them.";
472
+ readonly agentCompactionKeepsMessages: "The agent now works from its own summary of the messages above; you still see them.";
473
+ readonly compactionTokens: import("@nanostores/i18n").TranslationFunction<[{
474
+ before: string | number;
475
+ } & {
476
+ after: string | number;
477
+ } & object], string>;
478
+ readonly reviewCommand: "Review the selection or page with the Review model; text after it says what to focus on";
479
+ readonly reviewing: "Reviewing the design…";
480
+ readonly designReview: "Design review";
481
+ readonly changeReview: "Change review";
482
+ readonly reviewChange: "Review this change";
483
+ readonly reviewFix: "Fix these";
484
+ readonly reviewFixRequest: import("@nanostores/i18n").TranslationFunction<[{
485
+ findings: string | number;
486
+ } & object], string>;
487
+ readonly reviewFailed: "The design could not be reviewed.";
488
+ readonly reviewNoModel: "Assign a model to Review or Design in Settings to review designs.";
489
+ readonly reviewImagesUnreadable: "The Review model cannot read images, so it cannot compare the design with an attached image.";
490
+ readonly reviewEmpty: "There is nothing on this page to review.";
491
+ readonly reviewUnsupported: "This model cannot review designs. Assign an API model to Review in Settings.";
492
+ readonly promptDesignDescription: "Your own instructions for the chat, after Pairdraw’s or in their place. The design JSX reference always follows.";
493
+ readonly promptDesignMode: "Your instructions";
494
+ readonly promptDesignPlaceholder: "For example: Use our 8px spacing scale and the brand colors from the Tokens page.";
495
+ readonly promptDesignAdd: "Add to Pairdraw’s";
496
+ readonly promptDesignReplace: "Replace Pairdraw’s";
497
+ readonly promptDesignStart: "Start from Pairdraw’s";
498
+ readonly promptDesignReplaced: "Pairdraw’s instructions are off";
499
+ readonly promptDesignReplaceWarning: "Without them the model may use its tools poorly. Reset brings them back.";
500
+ readonly promptReviewDescription: "What the Review model is told for /review and Review this change.";
501
+ readonly promptTitle: "Chat titles";
502
+ readonly promptTitleDescription: "What the Fast tasks model is asked to name a conversation.";
503
+ readonly promptSummary: "Compaction summaries";
504
+ readonly promptSummaryDescription: "What the model is told when it summarizes a conversation to compact it.";
505
+ readonly promptVariablesAndPreview: "Variables and preview";
506
+ readonly promptVariableLanguage: "The language to write in when the request names none";
507
+ readonly promptVariableFocus: "What the person asked the review to look at, or empty";
508
+ readonly promptVariableSeesImages: "Whether the model is shown images of the design";
509
+ readonly promptVariableReferences: "How many reference images follow the design";
510
+ readonly promptVariableEdit: "Whether this reviews the agent’s own last change, not a whole design";
511
+ readonly promptVariableRequest: "The conversation’s first request";
512
+ readonly promptVariableReply: "The beginning of the first reply";
513
+ readonly promptPreview: "Preview with sample values";
514
+ readonly promptUnknownVariable: import("@nanostores/i18n").TranslationFunction<[{
515
+ name: string | number;
516
+ } & object], string>;
517
+ readonly promptErrors: "This prompt has errors";
518
+ readonly promptErrorsHint: "Pairdraw’s is used until they are fixed.";
519
+ readonly promptErrorAt: import("@nanostores/i18n").TranslationFunction<[{
520
+ line: string | number;
521
+ } & {
522
+ message: string | number;
523
+ } & object], string>;
428
524
  readonly chatAgentStartTimeout: "The coding agent did not start in time. Check that it runs on this computer and try again.";
429
525
  readonly openProviderSettingsAction: "Open settings";
430
526
  readonly cloudWorkspace: "Workspace";
@@ -1 +1 @@
1
- {"version":3,"file":"ai.d.ts","names":[],"sources":["../../../src/i18n/messages/ai.ts"],"mappings":";cAmoBa,uCAAU"}
1
+ {"version":3,"file":"ai.d.ts","names":[],"sources":["../../../src/i18n/messages/ai.ts"],"mappings":";cAmtBa,uCAAU"}
@@ -164,6 +164,17 @@ const aiMessageDefaults = {
164
164
  changePreview: "Change previews",
165
165
  changePreviewHint: "Before and after images kept with each AI edit in the chat history. Larger previews take more storage.",
166
166
  changePreviewOff: "Off, structure only",
167
+ turnRenders: "Changed frames in chat",
168
+ turnRendersHint: "A reply that changed frames shows small before and after renders of them, below its text.",
169
+ turnRendersTitle: "Changed frames",
170
+ turnRendersMore: params("+{count} more frames"),
171
+ turnRendersRendering: "Rendering changes…",
172
+ turnRendersCleared: "Renders cleared to save memory",
173
+ turnRendersUnavailable: "Renders are unavailable here",
174
+ turnRendersCount: params("{count} frames changed"),
175
+ turnRenderWidth: params("{width}px wide"),
176
+ turnRenderNewFrame: "New frame",
177
+ turnRenderDeleted: "Deleted",
167
178
  /** Home's prompt that starts a new design in the AI chat. */
168
179
  promptStartTitle: "What do you want to design?",
169
180
  promptStartLabel: "Describe a design",
@@ -204,10 +215,17 @@ const aiMessageDefaults = {
204
215
  commentPromptApplyAll: "Apply the feedback in these comment threads, then reply to each with what you changed and resolve it.",
205
216
  commentPromptThread: params("Thread {id}"),
206
217
  commentPromptThreadOnLayer: params("Thread {id} on {layer}"),
218
+ /** Under a thread's heading when the person circled an area instead of just clicking. */
219
+ commentPromptRegion: params("Marked area: x {minX} to {maxX}, y {minY} to {maxY} on the page. Change only what is inside it."),
220
+ /** Added only when a crop of that area travels with the prompt. */
221
+ commentPromptRegionImage: "An image of the marked area is attached as a crop.",
222
+ commentPromptRegionLayers: params("Layers inside the marked area: {layers}"),
207
223
  canvasPrompt: "Prompt on the canvas",
208
224
  canvasPromptHint: "Show a prompt at the bottom of the canvas while the chat is closed. What you write there goes to the chat.",
209
225
  animateEdits: "Animate AI edits",
210
226
  animateEditsHint: "Layers the AI adds trace in one after another, and the frames it works in shimmer until it finishes. Follows the Animations setting.",
227
+ showTokenUsage: "Show token usage and cost",
228
+ showTokenUsageHint: "Show the tokens each reply spent and the conversation’s running total, with an estimated cost when the model’s price is known.",
211
229
  /** The notice once an agent's run of edits ends; its action shows the layers it touched. */
212
230
  editSummary: params("AI edits done · new layers: {added} · changed: {changed}"),
213
231
  editSummaryAdded: params("AI edits done · new layers: {added}"),
@@ -240,6 +258,7 @@ const aiMessageDefaults = {
240
258
  modelCapabilityToolsShort: "Tools",
241
259
  modelCapabilityVisionShort: "Vision",
242
260
  selectDesignModel: "Select design model",
261
+ designModelName: "Design model",
243
262
  modelNeedsCredential: "Needs key",
244
263
  modelAgentConnection: "Agent",
245
264
  modelConnectionChecking: "Checking…",
@@ -272,8 +291,8 @@ const aiMessageDefaults = {
272
291
  modelRoleFast: "Fast tasks",
273
292
  modelRoleVision: "Vision",
274
293
  modelRoleDesignDescription: "AI chat and canvas edits",
275
- modelRoleReviewDescription: "Explicit plan and design reviews",
276
- modelRoleFastDescription: "Low-cost background work",
294
+ modelRoleReviewDescription: "Design reviews you ask for",
295
+ modelRoleFastDescription: "Chat titles and compaction summaries",
277
296
  modelRoleVisionDescription: "Screenshots and image references",
278
297
  modelRoleUseDesign: "Same as Design",
279
298
  noModel: "None",
@@ -305,6 +324,55 @@ const aiMessageDefaults = {
305
324
  chatRequestFailed: "The model request failed. Check the provider settings and try again.",
306
325
  chatProviderStalled: "The provider stopped responding. Check your connection and try again.",
307
326
  chatEmptyReply: "The model returned no reply. Try again.",
327
+ chatContextLimit: "The conversation is longer than the model can read.",
328
+ compactCommand: "Summarize the conversation so far; text after it says what to keep",
329
+ compactAutomatically: "Compact automatically",
330
+ compactAutomaticallyHint: "Summarizes older messages when the context window fills up.",
331
+ compacting: "Compacting the conversation…",
332
+ compactionFailed: "The conversation could not be compacted. Nothing was changed.",
333
+ compactAndRetry: "Compact and retry",
334
+ conversationCompacted: "Conversation compacted",
335
+ compactionKeepsMessages: "The model now gets this summary instead of the messages above; you still see them.",
336
+ agentCompactionKeepsMessages: "The agent now works from its own summary of the messages above; you still see them.",
337
+ compactionTokens: params("{before} → {after} tokens"),
338
+ reviewCommand: "Review the selection or page with the Review model; text after it says what to focus on",
339
+ reviewing: "Reviewing the design…",
340
+ designReview: "Design review",
341
+ changeReview: "Change review",
342
+ reviewChange: "Review this change",
343
+ reviewFix: "Fix these",
344
+ reviewFixRequest: params("Fix the issues this design review found:\n\n{findings}"),
345
+ reviewFailed: "The design could not be reviewed.",
346
+ reviewNoModel: "Assign a model to Review or Design in Settings to review designs.",
347
+ reviewImagesUnreadable: "The Review model cannot read images, so it cannot compare the design with an attached image.",
348
+ reviewEmpty: "There is nothing on this page to review.",
349
+ reviewUnsupported: "This model cannot review designs. Assign an API model to Review in Settings.",
350
+ promptDesignDescription: "Your own instructions for the chat, after Pairdraw’s or in their place. The design JSX reference always follows.",
351
+ promptDesignMode: "Your instructions",
352
+ promptDesignPlaceholder: "For example: Use our 8px spacing scale and the brand colors from the Tokens page.",
353
+ promptDesignAdd: "Add to Pairdraw’s",
354
+ promptDesignReplace: "Replace Pairdraw’s",
355
+ promptDesignStart: "Start from Pairdraw’s",
356
+ promptDesignReplaced: "Pairdraw’s instructions are off",
357
+ promptDesignReplaceWarning: "Without them the model may use its tools poorly. Reset brings them back.",
358
+ promptReviewDescription: "What the Review model is told for /review and Review this change.",
359
+ promptTitle: "Chat titles",
360
+ promptTitleDescription: "What the Fast tasks model is asked to name a conversation.",
361
+ promptSummary: "Compaction summaries",
362
+ promptSummaryDescription: "What the model is told when it summarizes a conversation to compact it.",
363
+ promptVariablesAndPreview: "Variables and preview",
364
+ promptVariableLanguage: "The language to write in when the request names none",
365
+ promptVariableFocus: "What the person asked the review to look at, or empty",
366
+ promptVariableSeesImages: "Whether the model is shown images of the design",
367
+ promptVariableReferences: "How many reference images follow the design",
368
+ promptVariableEdit: "Whether this reviews the agent’s own last change, not a whole design",
369
+ promptVariableRequest: "The conversation’s first request",
370
+ promptVariableReply: "The beginning of the first reply",
371
+ promptPreview: "Preview with sample values",
372
+ promptUnknownVariable: params("{name} is not a variable of this prompt, so it stays empty."),
373
+ promptErrors: "This prompt has errors",
374
+ promptErrorsHint: "Pairdraw’s is used until they are fixed.",
375
+ promptErrorAt: params("Line {line}: {message}."),
308
376
  chatAgentStartTimeout: "The coding agent did not start in time. Check that it runs on this computer and try again.",
309
377
  openProviderSettingsAction: "Open settings",
310
378
  cloudWorkspace: "Workspace",