@pairdraw/vue 0.19.1 → 0.20.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 (317) hide show
  1. package/dist/canvas/CanvasRoot.vue.js +2 -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/islands/state.js +5 -0
  16. package/dist/canvas/islands/state.js.map +1 -1
  17. package/dist/canvas/pointer/drag-move.js +4 -0
  18. package/dist/canvas/pointer/drag-move.js.map +1 -1
  19. package/dist/canvas/surface/kit-loader.js +2 -3
  20. package/dist/canvas/surface/kit-loader.js.map +1 -1
  21. package/dist/canvas/surface/lifecycle.js +30 -1
  22. package/dist/canvas/surface/lifecycle.js.map +1 -1
  23. package/dist/canvas/surface/types.d.ts +9 -0
  24. package/dist/canvas/surface/types.d.ts.map +1 -1
  25. package/dist/canvas/text-edit/textarea.d.ts +1 -0
  26. package/dist/canvas/text-edit/textarea.d.ts.map +1 -1
  27. package/dist/canvas/tools/registry.js +5 -1
  28. package/dist/canvas/tools/registry.js.map +1 -1
  29. package/dist/canvas/useCanvasInput.d.ts +146 -4
  30. package/dist/canvas/useCanvasInput.d.ts.map +1 -1
  31. package/dist/canvas/useCanvasInput.js +3 -2
  32. package/dist/canvas/useCanvasInput.js.map +1 -1
  33. package/dist/controls/document-colors/index.d.ts +2 -0
  34. package/dist/controls/document-colors/index.js +2 -0
  35. package/dist/controls/document-colors/use.d.ts +14 -0
  36. package/dist/controls/document-colors/use.d.ts.map +1 -0
  37. package/dist/controls/document-colors/use.js +27 -0
  38. package/dist/controls/document-colors/use.js.map +1 -0
  39. package/dist/controls/effects/helpers.d.ts +13 -2
  40. package/dist/controls/effects/helpers.d.ts.map +1 -1
  41. package/dist/controls/effects/helpers.js +89 -34
  42. package/dist/controls/effects/helpers.js.map +1 -1
  43. package/dist/controls/effects/index.d.ts +2 -1
  44. package/dist/controls/effects/index.js +2 -1
  45. package/dist/controls/effects/use.d.ts +9 -7
  46. package/dist/controls/effects/use.d.ts.map +1 -1
  47. package/dist/controls/effects/use.js +6 -3
  48. package/dist/controls/effects/use.js.map +1 -1
  49. package/dist/controls/typography/features.d.ts +24 -0
  50. package/dist/controls/typography/features.d.ts.map +1 -0
  51. package/dist/controls/typography/features.js +130 -0
  52. package/dist/controls/typography/features.js.map +1 -0
  53. package/dist/controls/typography/index.d.ts +2 -1
  54. package/dist/controls/typography/index.js +2 -1
  55. package/dist/controls/typography/use.d.ts +6 -0
  56. package/dist/controls/typography/use.d.ts.map +1 -1
  57. package/dist/controls/typography/use.js +4 -1
  58. package/dist/controls/typography/use.js.map +1 -1
  59. package/dist/editor/commands/registry.d.ts +4 -0
  60. package/dist/editor/commands/registry.d.ts.map +1 -1
  61. package/dist/editor/commands/registry.js +2 -0
  62. package/dist/editor/commands/registry.js.map +1 -1
  63. package/dist/editor/commands/selection.js +22 -0
  64. package/dist/editor/commands/selection.js.map +1 -1
  65. package/dist/editor/commands/types.d.ts +1 -1
  66. package/dist/editor/commands/types.d.ts.map +1 -1
  67. package/dist/editor/menu-model/canvas.d.ts.map +1 -1
  68. package/dist/editor/menu-model/canvas.js +7 -1
  69. package/dist/editor/menu-model/canvas.js.map +1 -1
  70. package/dist/editor/selection-capabilities/use.d.ts +2 -0
  71. package/dist/editor/selection-capabilities/use.js +5 -0
  72. package/dist/editor/selection-capabilities/use.js.map +1 -1
  73. package/dist/editor/selection-state/use.d.ts +1 -0
  74. package/dist/editor/selection-state/use.js +5 -0
  75. package/dist/editor/selection-state/use.js.map +1 -1
  76. package/dist/editor/tool-cursor/index.d.ts.map +1 -1
  77. package/dist/editor/tool-cursor/index.js +5 -1
  78. package/dist/editor/tool-cursor/index.js.map +1 -1
  79. package/dist/i18n/index.d.ts +5 -2
  80. package/dist/i18n/index.js +5 -2
  81. package/dist/i18n/locales/de/ai.json.js +55 -3
  82. package/dist/i18n/locales/de/commands.json.js +2 -0
  83. package/dist/i18n/locales/de/credentials.json.js +2 -0
  84. package/dist/i18n/locales/de/design-check.json.js +13 -1
  85. package/dist/i18n/locales/de/design-memory.json.js +82 -0
  86. package/dist/i18n/locales/de/design-memory.json.js.map +1 -0
  87. package/dist/i18n/locales/de/fonts.json.js +10 -0
  88. package/dist/i18n/locales/de/index.js +5 -1
  89. package/dist/i18n/locales/de/index.js.map +1 -1
  90. package/dist/i18n/locales/de/menu.json.js +2 -0
  91. package/dist/i18n/locales/de/panels.json.js +95 -1
  92. package/dist/i18n/locales/de/settings.json.js +1 -0
  93. package/dist/i18n/locales/de/tools.json.js +3 -1
  94. package/dist/i18n/locales/de/variables/panel.json.js +20 -0
  95. package/dist/i18n/locales/de/variations.json.js +23 -0
  96. package/dist/i18n/locales/de/variations.json.js.map +1 -0
  97. package/dist/i18n/locales/es/ai.json.js +54 -2
  98. package/dist/i18n/locales/es/commands.json.js +2 -0
  99. package/dist/i18n/locales/es/credentials.json.js +2 -0
  100. package/dist/i18n/locales/es/design-check.json.js +13 -1
  101. package/dist/i18n/locales/es/design-memory.json.js +82 -0
  102. package/dist/i18n/locales/es/design-memory.json.js.map +1 -0
  103. package/dist/i18n/locales/es/fonts.json.js +10 -0
  104. package/dist/i18n/locales/es/index.js +5 -1
  105. package/dist/i18n/locales/es/index.js.map +1 -1
  106. package/dist/i18n/locales/es/menu.json.js +2 -0
  107. package/dist/i18n/locales/es/panels.json.js +95 -1
  108. package/dist/i18n/locales/es/settings.json.js +1 -0
  109. package/dist/i18n/locales/es/tools.json.js +3 -1
  110. package/dist/i18n/locales/es/variables/panel.json.js +20 -0
  111. package/dist/i18n/locales/es/variations.json.js +23 -0
  112. package/dist/i18n/locales/es/variations.json.js.map +1 -0
  113. package/dist/i18n/locales/fr/ai.json.js +55 -3
  114. package/dist/i18n/locales/fr/commands.json.js +2 -0
  115. package/dist/i18n/locales/fr/credentials.json.js +2 -0
  116. package/dist/i18n/locales/fr/design-check.json.js +13 -1
  117. package/dist/i18n/locales/fr/design-memory.json.js +82 -0
  118. package/dist/i18n/locales/fr/design-memory.json.js.map +1 -0
  119. package/dist/i18n/locales/fr/fonts.json.js +10 -0
  120. package/dist/i18n/locales/fr/index.js +5 -1
  121. package/dist/i18n/locales/fr/index.js.map +1 -1
  122. package/dist/i18n/locales/fr/menu.json.js +2 -0
  123. package/dist/i18n/locales/fr/panels.json.js +95 -1
  124. package/dist/i18n/locales/fr/settings.json.js +1 -0
  125. package/dist/i18n/locales/fr/tools.json.js +3 -1
  126. package/dist/i18n/locales/fr/variables/panel.json.js +20 -0
  127. package/dist/i18n/locales/fr/variations.json.js +23 -0
  128. package/dist/i18n/locales/fr/variations.json.js.map +1 -0
  129. package/dist/i18n/locales/it/ai.json.js +55 -3
  130. package/dist/i18n/locales/it/commands.json.js +2 -0
  131. package/dist/i18n/locales/it/credentials.json.js +2 -0
  132. package/dist/i18n/locales/it/design-check.json.js +13 -1
  133. package/dist/i18n/locales/it/design-memory.json.js +82 -0
  134. package/dist/i18n/locales/it/design-memory.json.js.map +1 -0
  135. package/dist/i18n/locales/it/fonts.json.js +10 -0
  136. package/dist/i18n/locales/it/index.js +5 -1
  137. package/dist/i18n/locales/it/index.js.map +1 -1
  138. package/dist/i18n/locales/it/menu.json.js +2 -0
  139. package/dist/i18n/locales/it/panels.json.js +95 -1
  140. package/dist/i18n/locales/it/settings.json.js +1 -0
  141. package/dist/i18n/locales/it/tools.json.js +3 -1
  142. package/dist/i18n/locales/it/variables/panel.json.js +20 -0
  143. package/dist/i18n/locales/it/variations.json.js +23 -0
  144. package/dist/i18n/locales/it/variations.json.js.map +1 -0
  145. package/dist/i18n/locales/ja/ai.json.js +55 -3
  146. package/dist/i18n/locales/ja/commands.json.js +2 -0
  147. package/dist/i18n/locales/ja/credentials.json.js +2 -0
  148. package/dist/i18n/locales/ja/design-check.json.js +13 -1
  149. package/dist/i18n/locales/ja/design-memory.json.js +61 -0
  150. package/dist/i18n/locales/ja/design-memory.json.js.map +1 -0
  151. package/dist/i18n/locales/ja/fonts.json.js +10 -0
  152. package/dist/i18n/locales/ja/index.js +5 -1
  153. package/dist/i18n/locales/ja/index.js.map +1 -1
  154. package/dist/i18n/locales/ja/menu.json.js +2 -0
  155. package/dist/i18n/locales/ja/panels.json.js +92 -1
  156. package/dist/i18n/locales/ja/settings.json.js +1 -0
  157. package/dist/i18n/locales/ja/tools.json.js +3 -1
  158. package/dist/i18n/locales/ja/variables/panel.json.js +20 -0
  159. package/dist/i18n/locales/ja/variations.json.js +23 -0
  160. package/dist/i18n/locales/ja/variations.json.js.map +1 -0
  161. package/dist/i18n/locales/pl/ai.json.js +55 -3
  162. package/dist/i18n/locales/pl/commands.json.js +2 -0
  163. package/dist/i18n/locales/pl/credentials.json.js +2 -0
  164. package/dist/i18n/locales/pl/design-check.json.js +13 -1
  165. package/dist/i18n/locales/pl/design-memory.json.js +89 -0
  166. package/dist/i18n/locales/pl/design-memory.json.js.map +1 -0
  167. package/dist/i18n/locales/pl/fonts.json.js +10 -0
  168. package/dist/i18n/locales/pl/index.js +5 -1
  169. package/dist/i18n/locales/pl/index.js.map +1 -1
  170. package/dist/i18n/locales/pl/menu.json.js +2 -0
  171. package/dist/i18n/locales/pl/panels.json.js +96 -1
  172. package/dist/i18n/locales/pl/settings.json.js +1 -0
  173. package/dist/i18n/locales/pl/tools.json.js +3 -1
  174. package/dist/i18n/locales/pl/variables/panel.json.js +20 -0
  175. package/dist/i18n/locales/pl/variations.json.js +23 -0
  176. package/dist/i18n/locales/pl/variations.json.js.map +1 -0
  177. package/dist/i18n/locales/ru/ai.json.js +55 -3
  178. package/dist/i18n/locales/ru/commands.json.js +3 -1
  179. package/dist/i18n/locales/ru/credentials.json.js +2 -0
  180. package/dist/i18n/locales/ru/design-check.json.js +13 -1
  181. package/dist/i18n/locales/ru/design-memory.json.js +89 -0
  182. package/dist/i18n/locales/ru/design-memory.json.js.map +1 -0
  183. package/dist/i18n/locales/ru/fonts.json.js +10 -0
  184. package/dist/i18n/locales/ru/index.js +5 -1
  185. package/dist/i18n/locales/ru/index.js.map +1 -1
  186. package/dist/i18n/locales/ru/menu.json.js +2 -0
  187. package/dist/i18n/locales/ru/panels.json.js +96 -1
  188. package/dist/i18n/locales/ru/settings.json.js +1 -0
  189. package/dist/i18n/locales/ru/tools.json.js +3 -1
  190. package/dist/i18n/locales/ru/variables/panel.json.js +20 -0
  191. package/dist/i18n/locales/ru/variations.json.js +23 -0
  192. package/dist/i18n/locales/ru/variations.json.js.map +1 -0
  193. package/dist/i18n/locales/zh-cn/ai.json.js +55 -3
  194. package/dist/i18n/locales/zh-cn/commands.json.js +2 -0
  195. package/dist/i18n/locales/zh-cn/credentials.json.js +2 -0
  196. package/dist/i18n/locales/zh-cn/design-check.json.js +13 -1
  197. package/dist/i18n/locales/zh-cn/design-memory.json.js +61 -0
  198. package/dist/i18n/locales/zh-cn/design-memory.json.js.map +1 -0
  199. package/dist/i18n/locales/zh-cn/fonts.json.js +10 -0
  200. package/dist/i18n/locales/zh-cn/index.js +5 -1
  201. package/dist/i18n/locales/zh-cn/index.js.map +1 -1
  202. package/dist/i18n/locales/zh-cn/menu.json.js +2 -0
  203. package/dist/i18n/locales/zh-cn/panels.json.js +92 -1
  204. package/dist/i18n/locales/zh-cn/settings.json.js +1 -0
  205. package/dist/i18n/locales/zh-cn/tools.json.js +3 -1
  206. package/dist/i18n/locales/zh-cn/variables/panel.json.js +20 -0
  207. package/dist/i18n/locales/zh-cn/variations.json.js +23 -0
  208. package/dist/i18n/locales/zh-cn/variations.json.js.map +1 -0
  209. package/dist/i18n/messages/ai.d.ts +69 -3
  210. package/dist/i18n/messages/ai.d.ts.map +1 -1
  211. package/dist/i18n/messages/ai.js +55 -3
  212. package/dist/i18n/messages/ai.js.map +1 -1
  213. package/dist/i18n/messages/chat-usage.d.ts +34 -0
  214. package/dist/i18n/messages/chat-usage.d.ts.map +1 -0
  215. package/dist/i18n/messages/chat-usage.js +25 -0
  216. package/dist/i18n/messages/chat-usage.js.map +1 -0
  217. package/dist/i18n/messages/commands.d.ts +2 -0
  218. package/dist/i18n/messages/commands.d.ts.map +1 -1
  219. package/dist/i18n/messages/commands.js +2 -0
  220. package/dist/i18n/messages/commands.js.map +1 -1
  221. package/dist/i18n/messages/credentials.d.ts +2 -0
  222. package/dist/i18n/messages/credentials.d.ts.map +1 -1
  223. package/dist/i18n/messages/credentials.js +2 -0
  224. package/dist/i18n/messages/credentials.js.map +1 -1
  225. package/dist/i18n/messages/design-check.d.ts +12 -0
  226. package/dist/i18n/messages/design-check.d.ts.map +1 -1
  227. package/dist/i18n/messages/design-check.js +13 -1
  228. package/dist/i18n/messages/design-check.js.map +1 -1
  229. package/dist/i18n/messages/design-memory.d.ts +68 -0
  230. package/dist/i18n/messages/design-memory.d.ts.map +1 -0
  231. package/dist/i18n/messages/design-memory.js +85 -0
  232. package/dist/i18n/messages/design-memory.js.map +1 -0
  233. package/dist/i18n/messages/fonts.d.ts +12 -0
  234. package/dist/i18n/messages/fonts.d.ts.map +1 -1
  235. package/dist/i18n/messages/fonts.js +10 -0
  236. package/dist/i18n/messages/fonts.js.map +1 -1
  237. package/dist/i18n/messages/menu.d.ts +2 -0
  238. package/dist/i18n/messages/menu.d.ts.map +1 -1
  239. package/dist/i18n/messages/menu.js +2 -0
  240. package/dist/i18n/messages/menu.js.map +1 -1
  241. package/dist/i18n/messages/panels.d.ts +120 -0
  242. package/dist/i18n/messages/panels.d.ts.map +1 -1
  243. package/dist/i18n/messages/panels.js +96 -1
  244. package/dist/i18n/messages/panels.js.map +1 -1
  245. package/dist/i18n/messages/settings.d.ts +1 -0
  246. package/dist/i18n/messages/settings.d.ts.map +1 -1
  247. package/dist/i18n/messages/settings.js +1 -0
  248. package/dist/i18n/messages/settings.js.map +1 -1
  249. package/dist/i18n/messages/tools.d.ts +2 -0
  250. package/dist/i18n/messages/tools.d.ts.map +1 -1
  251. package/dist/i18n/messages/tools.js +3 -1
  252. package/dist/i18n/messages/tools.js.map +1 -1
  253. package/dist/i18n/messages/variables/panel.d.ts +24 -0
  254. package/dist/i18n/messages/variables/panel.d.ts.map +1 -1
  255. package/dist/i18n/messages/variables/panel.js +20 -0
  256. package/dist/i18n/messages/variables/panel.js.map +1 -1
  257. package/dist/i18n/messages/variations.d.ts +28 -0
  258. package/dist/i18n/messages/variations.d.ts.map +1 -0
  259. package/dist/i18n/messages/variations.js +26 -0
  260. package/dist/i18n/messages/variations.js.map +1 -0
  261. package/dist/i18n/messages.d.ts +367 -4
  262. package/dist/i18n/messages.d.ts.map +1 -1
  263. package/dist/i18n/messages.js +8 -2
  264. package/dist/i18n/messages.js.map +1 -1
  265. package/dist/i18n/useI18n.d.ts +1237 -13
  266. package/dist/i18n/useI18n.d.ts.map +1 -1
  267. package/dist/i18n/useI18n.js +8 -1
  268. package/dist/i18n/useI18n.js.map +1 -1
  269. package/dist/primitives/ColorPicker/ColorPickerRoot.vue.d.ts +5 -2
  270. package/dist/primitives/ColorPicker/ColorPickerRoot.vue.d.ts.map +1 -1
  271. package/dist/primitives/ColorPicker/ColorPickerRoot.vue.js +12 -3
  272. package/dist/primitives/ColorPicker/ColorPickerRoot.vue.js.map +1 -1
  273. package/dist/primitives/ColorPicker/index.d.ts +2 -1
  274. package/dist/primitives/ColorPicker/index.js +2 -1
  275. package/dist/primitives/ColorPicker/outside.d.ts +16 -0
  276. package/dist/primitives/ColorPicker/outside.d.ts.map +1 -0
  277. package/dist/primitives/ColorPicker/outside.js +20 -0
  278. package/dist/primitives/ColorPicker/outside.js.map +1 -0
  279. package/dist/primitives/FontPicker/FontPickerRoot.vue.d.ts +5 -0
  280. package/dist/primitives/FontPicker/FontPickerRoot.vue.d.ts.map +1 -1
  281. package/dist/primitives/FontPicker/FontPickerRoot.vue.js +63 -56
  282. package/dist/primitives/FontPicker/FontPickerRoot.vue.js.map +1 -1
  283. package/dist/primitives/LayerTree/LayerTreeRoot.vue.d.ts.map +1 -1
  284. package/dist/primitives/LayerTree/LayerTreeRoot.vue.js +6 -11
  285. package/dist/primitives/LayerTree/LayerTreeRoot.vue.js.map +1 -1
  286. package/dist/primitives/NumberField/NumberFieldRoot.vue.d.ts +2 -2
  287. package/dist/primitives/TypographyControls/TypographyControlsRoot.vue.d.ts +3 -0
  288. package/dist/primitives/TypographyControls/TypographyControlsRoot.vue.d.ts.map +1 -1
  289. package/dist/primitives/TypographyControls/TypographyControlsRoot.vue.js +3 -1
  290. package/dist/primitives/TypographyControls/TypographyControlsRoot.vue.js.map +1 -1
  291. package/dist/shared/assets/cursors/eyedropper.svg.js +6 -0
  292. package/dist/shared/assets/cursors/eyedropper.svg.js.map +1 -0
  293. package/dist/shared/frame.d.ts +28 -0
  294. package/dist/shared/frame.d.ts.map +1 -0
  295. package/dist/shared/frame.js +92 -0
  296. package/dist/shared/frame.js.map +1 -0
  297. package/dist/shared/input/auto-layout/drag.js +71 -0
  298. package/dist/shared/input/auto-layout/drag.js.map +1 -0
  299. package/dist/shared/input/{auto-layout-hover.d.ts → auto-layout/hover.d.ts} +3 -3
  300. package/dist/shared/input/auto-layout/hover.d.ts.map +1 -0
  301. package/dist/shared/input/{auto-layout-hover.js → auto-layout/hover.js} +42 -86
  302. package/dist/shared/input/auto-layout/hover.js.map +1 -0
  303. package/dist/shared/input/{auto-layout.js → auto-layout/index.js} +2 -2
  304. package/dist/shared/input/auto-layout/index.js.map +1 -0
  305. package/dist/shared/input/index.d.ts +1 -1
  306. package/dist/shared/input/index.js +1 -1
  307. package/dist/shared/input/move/drag.js +1 -1
  308. package/dist/shared/input/resize.js +1 -1
  309. package/dist/shared/input/select.js +5 -3
  310. package/dist/shared/input/select.js.map +1 -1
  311. package/dist/shared/input/types.d.ts +10 -2
  312. package/dist/shared/input/types.d.ts.map +1 -1
  313. package/dist/shared/input/types.js.map +1 -1
  314. package/package.json +19 -4
  315. package/dist/shared/input/auto-layout-hover.d.ts.map +0 -1
  316. package/dist/shared/input/auto-layout-hover.js.map +0 -1
  317. 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: "变量",
@@ -440,6 +465,18 @@ var panels_default = {
440
465
  starRatio: "比例",
441
466
  spread: "扩展",
442
467
  foregroundBlur: "前景模糊",
468
+ noise: "噪点",
469
+ texture: "纹理",
470
+ noiseType: "噪点类型",
471
+ noiseMono: "单色",
472
+ noiseDuo: "双色",
473
+ noiseMulti: "多色",
474
+ noiseSize: "噪点大小",
475
+ grainSize: "大小",
476
+ density: "密度",
477
+ noiseColors: "颜色",
478
+ noiseSecondColor: "第二种颜色",
479
+ clipToShape: "裁剪到形状",
443
480
  strokeType: "描边类型",
444
481
  strokeWeight: "描边粗细",
445
482
  exportScale: "导出缩放",
@@ -594,6 +631,7 @@ var panels_default = {
594
631
  behaviourDisabled: "已禁用",
595
632
  behaviourOnValue: "开",
596
633
  behaviourOffValue: "关",
634
+ behaviourValueField: "{value}:{side}",
597
635
  behaviourTrack: "轨道",
598
636
  behaviourThumb: "滑块按钮",
599
637
  behaviourRange: "范围",
@@ -711,20 +749,73 @@ var panels_default = {
711
749
  prototypeRemoveInteraction: "移除交互",
712
750
  prototypeTrigger: "触发",
713
751
  prototypeTriggerOnClick: "点击时",
752
+ prototypeTriggerWhileHovering: "悬停时",
753
+ prototypeTriggerWhilePressing: "按住时",
754
+ prototypeTriggerMouseEnter: "鼠标移入",
755
+ prototypeTriggerMouseLeave: "鼠标移出",
714
756
  prototypeTriggerAfterDelay: "延迟后",
715
757
  prototypeDelay: "延迟",
716
758
  prototypeAction: "动作",
717
759
  prototypeActionNavigate: "跳转到",
718
760
  prototypeActionOverlay: "打开叠加层",
761
+ prototypeActionChangeTo: "更改为",
762
+ prototypeActionScrollTo: "滚动到",
719
763
  prototypeActionBack: "返回",
720
764
  prototypeActionClose: "关闭叠加层",
721
765
  prototypeDestination: "目标",
722
766
  prototypeDestinationPlaceholder: "选择画框",
767
+ prototypeVariantPlaceholder: "选择变体",
768
+ prototypeLayerPlaceholder: "选择图层",
769
+ prototypeInheritedInteractions: { "many": "来自主组件的 {count} 个交互" },
723
770
  prototypeAnimation: "动画",
724
771
  prototypeAnimationInstant: "即时",
725
772
  prototypeAnimationDissolve: "溶解",
773
+ prototypeAnimationSmartAnimate: "智能动画",
774
+ prototypeEasing: "缓动",
775
+ prototypeEasingEaseOut: "缓出",
776
+ prototypeEasingEaseIn: "缓入",
777
+ prototypeEasingEaseInAndOut: "缓入缓出",
778
+ prototypeEasingLinear: "线性",
726
779
  prototypeDuration: "时长",
727
- prototypeNoFrames: "在此页面添加画框即可链接。"
780
+ prototypeNoFrames: "在此页面添加画框即可链接。",
781
+ prototypeExportVideo: "导出为视频",
782
+ prototypeVideoHeading: "将原型导出为视频",
783
+ prototypeVideoDescription: "从一个画框开始播放原型,按每个“延迟后”及其过渡录制播放画面。",
784
+ prototypeVideoStart: "起始画框",
785
+ prototypeVideoFormat: "格式",
786
+ prototypeVideoSize: "尺寸",
787
+ prototypeVideoSizeOriginal: "原始尺寸",
788
+ prototypeVideoSizeDouble: "两倍尺寸",
789
+ prototypeVideoSizeLongEdge: "长边 {pixels} px",
790
+ prototypeVideoFrameRate: "帧率",
791
+ prototypeVideoFps: "{fps} fps",
792
+ prototypeVideoMaxLength: "最长时长",
793
+ prototypeVideoSummary: "时长 {seconds} 秒,尺寸 {width}×{height}。",
794
+ prototypeVideoLoops: "播放会回到起始画框,因此视频会循环。",
795
+ prototypeVideoTruncated: "流程还会继续,因此视频在最长时长处结束。",
796
+ prototypeVideoNothingToRecord: "没有可录制的内容",
797
+ prototypeVideoFailed: "无法导出视频",
798
+ prototypeVideoNothingToFollow: "“{frame}”没有可跟随的“延迟后”交互。请在原型面板中添加,或从其他画框开始。",
799
+ prototypeVideoFormatsHere: "此浏览器可以录制 {formats}。",
800
+ prototypeVideoExport: "导出",
801
+ prototypeVideoRecording: "正在录制第 {done} 帧,共 {total} 帧",
802
+ imageExposure: "曝光",
803
+ imageContrast: "对比度",
804
+ imageSaturation: "饱和度",
805
+ imageTemperature: "色温",
806
+ imageTint: "色调",
807
+ imageHighlights: "高光",
808
+ imageShadows: "阴影",
809
+ prototypeOverflow: "溢出滚动",
810
+ prototypeOverflowNone: "不滚动",
811
+ prototypeOverflowVertical: "垂直",
812
+ prototypeOverflowHorizontal: "水平",
813
+ prototypeOverflowBoth: "双向",
814
+ prototypeOverflowNeedsClip: "开启“裁剪内容”后,此画框才能在播放时滚动。",
815
+ prototypeScrollBehavior: "滚动时位置",
816
+ prototypeScrollBehaviorScrolls: "随父级滚动",
817
+ prototypeScrollBehaviorFixed: "固定",
818
+ prototypeScrollBehaviorSticky: "粘性"
728
819
  };
729
820
  //#endregion
730
821
  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":""}
@@ -59,6 +59,7 @@ declare const aiMessages: import("@nanostores/i18n").Messages<{
59
59
  } & object], string>;
60
60
  readonly chatReadOnly: "This conversation belongs to another document. Open its document to continue.";
61
61
  readonly chatAgentReadOnly: "This agent transcript is saved, but its session cannot be resumed here yet. Start a new chat to continue working.";
62
+ readonly chatAgentExited: "Agent process exited unexpectedly.";
62
63
  readonly chatStorageFailed: "Chat history could not be saved. Keep this window open and try again.";
63
64
  readonly chatHistoryFailed: "Could not update chat history. Try again.";
64
65
  readonly chatInterrupted: "This response was interrupted.";
@@ -146,7 +147,9 @@ declare const aiMessages: import("@nanostores/i18n").Messages<{
146
147
  name: string | number;
147
148
  } & object], string>;
148
149
  readonly dropImagesToAttach: "Drop images to attach";
149
- readonly queueMessage: "Steer the agent… Alt+Enter waits until it is done";
150
+ readonly queueMessage: import("@nanostores/i18n").TranslationFunction<[{
151
+ shortcut: string | number;
152
+ } & object], string>;
150
153
  readonly queuedSteer: "Sends after the current step";
151
154
  readonly queuedFollowUp: "Sends when the agent is done";
152
155
  readonly removeQueuedMessage: "Remove waiting message";
@@ -313,6 +316,8 @@ declare const aiMessages: import("@nanostores/i18n").Messages<{
313
316
  readonly canvasPromptHint: "Show a prompt at the bottom of the canvas while the chat is closed. What you write there goes to the chat.";
314
317
  readonly animateEdits: "Animate AI edits";
315
318
  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.";
319
+ readonly showTokenUsage: "Show token usage and cost";
320
+ 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.";
316
321
  /** The notice once an agent's run of edits ends; its action shows the layers it touched. */
317
322
  readonly editSummary: import("@nanostores/i18n").TranslationFunction<[{
318
323
  added: string | number;
@@ -389,8 +394,8 @@ declare const aiMessages: import("@nanostores/i18n").Messages<{
389
394
  readonly modelRoleFast: "Fast tasks";
390
395
  readonly modelRoleVision: "Vision";
391
396
  readonly modelRoleDesignDescription: "AI chat and canvas edits";
392
- readonly modelRoleReviewDescription: "Explicit plan and design reviews";
393
- readonly modelRoleFastDescription: "Low-cost background work";
397
+ readonly modelRoleReviewDescription: "Design reviews you ask for";
398
+ readonly modelRoleFastDescription: "Chat titles and compaction summaries";
394
399
  readonly modelRoleVisionDescription: "Screenshots and image references";
395
400
  readonly modelRoleUseDesign: "Same as Design";
396
401
  readonly noModel: "None";
@@ -422,6 +427,67 @@ declare const aiMessages: import("@nanostores/i18n").Messages<{
422
427
  readonly chatRequestFailed: "The model request failed. Check the provider settings and try again.";
423
428
  readonly chatProviderStalled: "The provider stopped responding. Check your connection and try again.";
424
429
  readonly chatEmptyReply: "The model returned no reply. Try again.";
430
+ readonly chatContextLimit: "The conversation is longer than the model can read.";
431
+ readonly compactCommand: "Summarize the conversation so far; text after it says what to keep";
432
+ readonly compactAutomatically: "Compact automatically";
433
+ readonly compactAutomaticallyHint: "Summarizes older messages when the context window fills up.";
434
+ readonly compacting: "Compacting the conversation…";
435
+ readonly compactionFailed: "The conversation could not be compacted. Nothing was changed.";
436
+ readonly compactAndRetry: "Compact and retry";
437
+ readonly conversationCompacted: "Conversation compacted";
438
+ readonly compactionKeepsMessages: "The model now gets this summary instead of the messages above; you still see them.";
439
+ readonly agentCompactionKeepsMessages: "The agent now works from its own summary of the messages above; you still see them.";
440
+ readonly compactionTokens: import("@nanostores/i18n").TranslationFunction<[{
441
+ before: string | number;
442
+ } & {
443
+ after: string | number;
444
+ } & object], string>;
445
+ readonly reviewCommand: "Review the selection or page with the Review model; text after it says what to focus on";
446
+ readonly reviewing: "Reviewing the design…";
447
+ readonly designReview: "Design review";
448
+ readonly changeReview: "Change review";
449
+ readonly reviewChange: "Review this change";
450
+ readonly reviewFix: "Fix these";
451
+ readonly reviewFixRequest: import("@nanostores/i18n").TranslationFunction<[{
452
+ findings: string | number;
453
+ } & object], string>;
454
+ readonly reviewFailed: "The design could not be reviewed.";
455
+ readonly reviewNoModel: "Assign a model to Review or Design in Settings to review designs.";
456
+ readonly reviewImagesUnreadable: "The Review model cannot read images, so it cannot compare the design with an attached image.";
457
+ readonly reviewEmpty: "There is nothing on this page to review.";
458
+ readonly reviewUnsupported: "This model cannot review designs. Assign an API model to Review in Settings.";
459
+ readonly promptDesignDescription: "Your own instructions for the chat, after Pairdraw’s or in their place. The design JSX reference always follows.";
460
+ readonly promptDesignMode: "Your instructions";
461
+ readonly promptDesignPlaceholder: "For example: Use our 8px spacing scale and the brand colors from the Tokens page.";
462
+ readonly promptDesignAdd: "Add to Pairdraw’s";
463
+ readonly promptDesignReplace: "Replace Pairdraw’s";
464
+ readonly promptDesignStart: "Start from Pairdraw’s";
465
+ readonly promptDesignReplaced: "Pairdraw’s instructions are off";
466
+ readonly promptDesignReplaceWarning: "Without them the model may use its tools poorly. Reset brings them back.";
467
+ readonly promptReviewDescription: "What the Review model is told for /review and Review this change.";
468
+ readonly promptTitle: "Chat titles";
469
+ readonly promptTitleDescription: "What the Fast tasks model is asked to name a conversation.";
470
+ readonly promptSummary: "Compaction summaries";
471
+ readonly promptSummaryDescription: "What the model is told when it summarizes a conversation to compact it.";
472
+ readonly promptVariablesAndPreview: "Variables and preview";
473
+ readonly promptVariableLanguage: "The language to write in when the request names none";
474
+ readonly promptVariableFocus: "What the person asked the review to look at, or empty";
475
+ readonly promptVariableSeesImages: "Whether the model is shown images of the design";
476
+ readonly promptVariableReferences: "How many reference images follow the design";
477
+ readonly promptVariableEdit: "Whether this reviews the agent’s own last change, not a whole design";
478
+ readonly promptVariableRequest: "The conversation’s first request";
479
+ readonly promptVariableReply: "The beginning of the first reply";
480
+ readonly promptPreview: "Preview with sample values";
481
+ readonly promptUnknownVariable: import("@nanostores/i18n").TranslationFunction<[{
482
+ name: string | number;
483
+ } & object], string>;
484
+ readonly promptErrors: "This prompt has errors";
485
+ readonly promptErrorsHint: "Pairdraw’s is used until they are fixed.";
486
+ readonly promptErrorAt: import("@nanostores/i18n").TranslationFunction<[{
487
+ line: string | number;
488
+ } & {
489
+ message: string | number;
490
+ } & object], string>;
425
491
  readonly chatAgentStartTimeout: "The coding agent did not start in time. Check that it runs on this computer and try again.";
426
492
  readonly openProviderSettingsAction: "Open settings";
427
493
  readonly cloudWorkspace: "Workspace";
@@ -1 +1 @@
1
- {"version":3,"file":"ai.d.ts","names":[],"sources":["../../../src/i18n/messages/ai.ts"],"mappings":";cAkoBa,uCAAU"}
1
+ {"version":3,"file":"ai.d.ts","names":[],"sources":["../../../src/i18n/messages/ai.ts"],"mappings":";cA+rBa,uCAAU"}
@@ -49,6 +49,7 @@ const aiMessageDefaults = {
49
49
  deleteChatDescription: params("“{title}” and its messages are removed. This cannot be undone."),
50
50
  chatReadOnly: "This conversation belongs to another document. Open its document to continue.",
51
51
  chatAgentReadOnly: "This agent transcript is saved, but its session cannot be resumed here yet. Start a new chat to continue working.",
52
+ chatAgentExited: "Agent process exited unexpectedly.",
52
53
  chatStorageFailed: "Chat history could not be saved. Keep this window open and try again.",
53
54
  chatHistoryFailed: "Could not update chat history. Try again.",
54
55
  chatInterrupted: "This response was interrupted.",
@@ -98,7 +99,7 @@ const aiMessageDefaults = {
98
99
  sendMessage: "Send message",
99
100
  removeImageAttachment: params("Remove image {name}"),
100
101
  dropImagesToAttach: "Drop images to attach",
101
- queueMessage: "Steer the agent… Alt+Enter waits until it is done",
102
+ queueMessage: params("Steer the agent… {shortcut} waits until it is done"),
102
103
  queuedSteer: "Sends after the current step",
103
104
  queuedFollowUp: "Sends when the agent is done",
104
105
  removeQueuedMessage: "Remove waiting message",
@@ -207,6 +208,8 @@ const aiMessageDefaults = {
207
208
  canvasPromptHint: "Show a prompt at the bottom of the canvas while the chat is closed. What you write there goes to the chat.",
208
209
  animateEdits: "Animate AI edits",
209
210
  animateEditsHint: "Layers the AI adds trace in one after another, and the frames it works in shimmer until it finishes. Follows the Animations setting.",
211
+ showTokenUsage: "Show token usage and cost",
212
+ showTokenUsageHint: "Show the tokens each reply spent and the conversation’s running total, with an estimated cost when the model’s price is known.",
210
213
  /** The notice once an agent's run of edits ends; its action shows the layers it touched. */
211
214
  editSummary: params("AI edits done · new layers: {added} · changed: {changed}"),
212
215
  editSummaryAdded: params("AI edits done · new layers: {added}"),
@@ -271,8 +274,8 @@ const aiMessageDefaults = {
271
274
  modelRoleFast: "Fast tasks",
272
275
  modelRoleVision: "Vision",
273
276
  modelRoleDesignDescription: "AI chat and canvas edits",
274
- modelRoleReviewDescription: "Explicit plan and design reviews",
275
- modelRoleFastDescription: "Low-cost background work",
277
+ modelRoleReviewDescription: "Design reviews you ask for",
278
+ modelRoleFastDescription: "Chat titles and compaction summaries",
276
279
  modelRoleVisionDescription: "Screenshots and image references",
277
280
  modelRoleUseDesign: "Same as Design",
278
281
  noModel: "None",
@@ -304,6 +307,55 @@ const aiMessageDefaults = {
304
307
  chatRequestFailed: "The model request failed. Check the provider settings and try again.",
305
308
  chatProviderStalled: "The provider stopped responding. Check your connection and try again.",
306
309
  chatEmptyReply: "The model returned no reply. Try again.",
310
+ chatContextLimit: "The conversation is longer than the model can read.",
311
+ compactCommand: "Summarize the conversation so far; text after it says what to keep",
312
+ compactAutomatically: "Compact automatically",
313
+ compactAutomaticallyHint: "Summarizes older messages when the context window fills up.",
314
+ compacting: "Compacting the conversation…",
315
+ compactionFailed: "The conversation could not be compacted. Nothing was changed.",
316
+ compactAndRetry: "Compact and retry",
317
+ conversationCompacted: "Conversation compacted",
318
+ compactionKeepsMessages: "The model now gets this summary instead of the messages above; you still see them.",
319
+ agentCompactionKeepsMessages: "The agent now works from its own summary of the messages above; you still see them.",
320
+ compactionTokens: params("{before} → {after} tokens"),
321
+ reviewCommand: "Review the selection or page with the Review model; text after it says what to focus on",
322
+ reviewing: "Reviewing the design…",
323
+ designReview: "Design review",
324
+ changeReview: "Change review",
325
+ reviewChange: "Review this change",
326
+ reviewFix: "Fix these",
327
+ reviewFixRequest: params("Fix the issues this design review found:\n\n{findings}"),
328
+ reviewFailed: "The design could not be reviewed.",
329
+ reviewNoModel: "Assign a model to Review or Design in Settings to review designs.",
330
+ reviewImagesUnreadable: "The Review model cannot read images, so it cannot compare the design with an attached image.",
331
+ reviewEmpty: "There is nothing on this page to review.",
332
+ reviewUnsupported: "This model cannot review designs. Assign an API model to Review in Settings.",
333
+ promptDesignDescription: "Your own instructions for the chat, after Pairdraw’s or in their place. The design JSX reference always follows.",
334
+ promptDesignMode: "Your instructions",
335
+ promptDesignPlaceholder: "For example: Use our 8px spacing scale and the brand colors from the Tokens page.",
336
+ promptDesignAdd: "Add to Pairdraw’s",
337
+ promptDesignReplace: "Replace Pairdraw’s",
338
+ promptDesignStart: "Start from Pairdraw’s",
339
+ promptDesignReplaced: "Pairdraw’s instructions are off",
340
+ promptDesignReplaceWarning: "Without them the model may use its tools poorly. Reset brings them back.",
341
+ promptReviewDescription: "What the Review model is told for /review and Review this change.",
342
+ promptTitle: "Chat titles",
343
+ promptTitleDescription: "What the Fast tasks model is asked to name a conversation.",
344
+ promptSummary: "Compaction summaries",
345
+ promptSummaryDescription: "What the model is told when it summarizes a conversation to compact it.",
346
+ promptVariablesAndPreview: "Variables and preview",
347
+ promptVariableLanguage: "The language to write in when the request names none",
348
+ promptVariableFocus: "What the person asked the review to look at, or empty",
349
+ promptVariableSeesImages: "Whether the model is shown images of the design",
350
+ promptVariableReferences: "How many reference images follow the design",
351
+ promptVariableEdit: "Whether this reviews the agent’s own last change, not a whole design",
352
+ promptVariableRequest: "The conversation’s first request",
353
+ promptVariableReply: "The beginning of the first reply",
354
+ promptPreview: "Preview with sample values",
355
+ promptUnknownVariable: params("{name} is not a variable of this prompt, so it stays empty."),
356
+ promptErrors: "This prompt has errors",
357
+ promptErrorsHint: "Pairdraw’s is used until they are fixed.",
358
+ promptErrorAt: params("Line {line}: {message}."),
307
359
  chatAgentStartTimeout: "The coding agent did not start in time. Check that it runs on this computer and try again.",
308
360
  openProviderSettingsAction: "Open settings",
309
361
  cloudWorkspace: "Workspace",