@pairdraw/vue 0.21.0 → 0.22.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 (175) hide show
  1. package/dist/canvas/index.d.ts +2 -1
  2. package/dist/canvas/index.js +2 -1
  3. package/dist/canvas/pointer/drag-move.js +2 -2
  4. package/dist/canvas/pointer/drag-move.js.map +1 -1
  5. package/dist/canvas/surface/color-space.d.ts.map +1 -1
  6. package/dist/canvas/surface/color-space.js +3 -19
  7. package/dist/canvas/surface/color-space.js.map +1 -1
  8. package/dist/canvas/surface/gl-surface.js +11 -1
  9. package/dist/canvas/surface/gl-surface.js.map +1 -1
  10. package/dist/canvas/surface/kit-loader.d.ts +10 -0
  11. package/dist/canvas/surface/kit-loader.d.ts.map +1 -0
  12. package/dist/canvas/surface/kit-loader.js +11 -2
  13. package/dist/canvas/surface/kit-loader.js.map +1 -1
  14. package/dist/canvas/tools/registry.js +1 -0
  15. package/dist/canvas/tools/registry.js.map +1 -1
  16. package/dist/canvas/useCanvasInput.d.ts +420 -0
  17. package/dist/controls/appearance/use.d.ts +1 -1
  18. package/dist/controls/layout/helpers.js +28 -9
  19. package/dist/controls/layout/helpers.js.map +1 -1
  20. package/dist/controls/layout/use.d.ts +2 -0
  21. package/dist/controls/layout/use.d.ts.map +1 -1
  22. package/dist/controls/layout/use.js +3 -1
  23. package/dist/controls/layout/use.js.map +1 -1
  24. package/dist/controls/node-props/helpers.d.ts.map +1 -1
  25. package/dist/controls/node-props/helpers.js +1 -1
  26. package/dist/controls/node-props/helpers.js.map +1 -1
  27. package/dist/controls/number-variable-binding/index.d.ts +2 -2
  28. package/dist/controls/number-variable-binding/index.js +2 -2
  29. package/dist/controls/number-variable-binding/use.d.ts +7 -2
  30. package/dist/controls/number-variable-binding/use.d.ts.map +1 -1
  31. package/dist/controls/number-variable-binding/use.js +9 -1
  32. package/dist/controls/number-variable-binding/use.js.map +1 -1
  33. package/dist/controls/typography/arrivals.js +35 -0
  34. package/dist/controls/typography/arrivals.js.map +1 -0
  35. package/dist/controls/typography/axes.d.ts.map +1 -1
  36. package/dist/controls/typography/axes.js +3 -0
  37. package/dist/controls/typography/axes.js.map +1 -1
  38. package/dist/controls/typography/faces.js +4 -15
  39. package/dist/controls/typography/faces.js.map +1 -1
  40. package/dist/controls/typography/features.d.ts.map +1 -1
  41. package/dist/controls/typography/features.js +3 -17
  42. package/dist/controls/typography/features.js.map +1 -1
  43. package/dist/editor/commands/actions.d.ts +10 -0
  44. package/dist/editor/commands/actions.d.ts.map +1 -0
  45. package/dist/editor/commands/actions.js +9 -1
  46. package/dist/editor/commands/actions.js.map +1 -1
  47. package/dist/editor/commands/index.d.ts +3 -1
  48. package/dist/editor/commands/index.js +3 -1
  49. package/dist/editor/commands/refusals.d.ts +18 -0
  50. package/dist/editor/commands/refusals.d.ts.map +1 -0
  51. package/dist/editor/commands/refusals.js +16 -0
  52. package/dist/editor/commands/refusals.js.map +1 -0
  53. package/dist/editor/commands/registry.d.ts +4 -1
  54. package/dist/editor/commands/registry.d.ts.map +1 -1
  55. package/dist/editor/commands/registry.js +2 -1
  56. package/dist/editor/commands/registry.js.map +1 -1
  57. package/dist/editor/commands/selection.js +11 -0
  58. package/dist/editor/commands/selection.js.map +1 -1
  59. package/dist/editor/commands/shortcut.d.ts.map +1 -1
  60. package/dist/editor/commands/shortcut.js +9 -1
  61. package/dist/editor/commands/shortcut.js.map +1 -1
  62. package/dist/editor/commands/types.d.ts +1 -1
  63. package/dist/editor/commands/types.d.ts.map +1 -1
  64. package/dist/editor/selection-capabilities/use.d.ts +2 -0
  65. package/dist/editor/selection-capabilities/use.d.ts.map +1 -1
  66. package/dist/editor/selection-capabilities/use.js +38 -11
  67. package/dist/editor/selection-capabilities/use.js.map +1 -1
  68. package/dist/editor/selection-state/use.js +1 -5
  69. package/dist/editor/selection-state/use.js.map +1 -1
  70. package/dist/editor/tool-cursor/index.d.ts.map +1 -1
  71. package/dist/editor/tool-cursor/index.js +1 -0
  72. package/dist/editor/tool-cursor/index.js.map +1 -1
  73. package/dist/i18n/locales/de/ai.json.js +4 -11
  74. package/dist/i18n/locales/de/code.json.js +2 -0
  75. package/dist/i18n/locales/de/commands.json.js +4 -2
  76. package/dist/i18n/locales/de/files.json.js +21 -1
  77. package/dist/i18n/locales/de/menu.json.js +2 -0
  78. package/dist/i18n/locales/de/panels.json.js +77 -2
  79. package/dist/i18n/locales/de/tools.json.js +1 -0
  80. package/dist/i18n/locales/es/ai.json.js +4 -11
  81. package/dist/i18n/locales/es/code.json.js +2 -0
  82. package/dist/i18n/locales/es/commands.json.js +4 -2
  83. package/dist/i18n/locales/es/files.json.js +21 -1
  84. package/dist/i18n/locales/es/menu.json.js +2 -0
  85. package/dist/i18n/locales/es/panels.json.js +77 -2
  86. package/dist/i18n/locales/es/tools.json.js +1 -0
  87. package/dist/i18n/locales/fr/ai.json.js +4 -11
  88. package/dist/i18n/locales/fr/code.json.js +2 -0
  89. package/dist/i18n/locales/fr/commands.json.js +4 -2
  90. package/dist/i18n/locales/fr/files.json.js +21 -1
  91. package/dist/i18n/locales/fr/menu.json.js +2 -0
  92. package/dist/i18n/locales/fr/panels.json.js +77 -2
  93. package/dist/i18n/locales/fr/tools.json.js +1 -0
  94. package/dist/i18n/locales/id/ai.json.js +4 -11
  95. package/dist/i18n/locales/id/automation.json.js +7 -7
  96. package/dist/i18n/locales/id/code.json.js +3 -1
  97. package/dist/i18n/locales/id/commands.json.js +4 -2
  98. package/dist/i18n/locales/id/editor.json.js +1 -1
  99. package/dist/i18n/locales/id/files.json.js +21 -1
  100. package/dist/i18n/locales/id/menu.json.js +3 -1
  101. package/dist/i18n/locales/id/panels.json.js +80 -5
  102. package/dist/i18n/locales/id/tools.json.js +1 -0
  103. package/dist/i18n/locales/it/ai.json.js +4 -11
  104. package/dist/i18n/locales/it/code.json.js +2 -0
  105. package/dist/i18n/locales/it/commands.json.js +4 -2
  106. package/dist/i18n/locales/it/files.json.js +21 -1
  107. package/dist/i18n/locales/it/menu.json.js +2 -0
  108. package/dist/i18n/locales/it/panels.json.js +77 -2
  109. package/dist/i18n/locales/it/tools.json.js +1 -0
  110. package/dist/i18n/locales/ja/ai.json.js +4 -11
  111. package/dist/i18n/locales/ja/code.json.js +2 -0
  112. package/dist/i18n/locales/ja/commands.json.js +4 -2
  113. package/dist/i18n/locales/ja/files.json.js +21 -1
  114. package/dist/i18n/locales/ja/menu.json.js +2 -0
  115. package/dist/i18n/locales/ja/panels.json.js +77 -2
  116. package/dist/i18n/locales/ja/tools.json.js +1 -0
  117. package/dist/i18n/locales/pl/ai.json.js +4 -11
  118. package/dist/i18n/locales/pl/code.json.js +2 -0
  119. package/dist/i18n/locales/pl/commands.json.js +4 -2
  120. package/dist/i18n/locales/pl/files.json.js +21 -1
  121. package/dist/i18n/locales/pl/menu.json.js +2 -0
  122. package/dist/i18n/locales/pl/panels.json.js +77 -2
  123. package/dist/i18n/locales/pl/tools.json.js +1 -0
  124. package/dist/i18n/locales/ru/ai.json.js +4 -11
  125. package/dist/i18n/locales/ru/code.json.js +2 -0
  126. package/dist/i18n/locales/ru/commands.json.js +4 -2
  127. package/dist/i18n/locales/ru/files.json.js +21 -1
  128. package/dist/i18n/locales/ru/menu.json.js +2 -0
  129. package/dist/i18n/locales/ru/panels.json.js +77 -2
  130. package/dist/i18n/locales/ru/tools.json.js +1 -0
  131. package/dist/i18n/locales/zh-cn/ai.json.js +4 -11
  132. package/dist/i18n/locales/zh-cn/code.json.js +2 -0
  133. package/dist/i18n/locales/zh-cn/commands.json.js +4 -2
  134. package/dist/i18n/locales/zh-cn/files.json.js +21 -1
  135. package/dist/i18n/locales/zh-cn/menu.json.js +2 -0
  136. package/dist/i18n/locales/zh-cn/panels.json.js +77 -2
  137. package/dist/i18n/locales/zh-cn/tools.json.js +1 -0
  138. package/dist/i18n/messages/ai.d.ts +10 -11
  139. package/dist/i18n/messages/ai.js +4 -11
  140. package/dist/i18n/messages/ai.js.map +1 -1
  141. package/dist/i18n/messages/code.d.ts +4 -0
  142. package/dist/i18n/messages/code.d.ts.map +1 -1
  143. package/dist/i18n/messages/code.js +3 -1
  144. package/dist/i18n/messages/code.js.map +1 -1
  145. package/dist/i18n/messages/commands.d.ts +3 -1
  146. package/dist/i18n/messages/commands.d.ts.map +1 -1
  147. package/dist/i18n/messages/commands.js +3 -1
  148. package/dist/i18n/messages/commands.js.map +1 -1
  149. package/dist/i18n/messages/files.d.ts +34 -0
  150. package/dist/i18n/messages/files.d.ts.map +1 -1
  151. package/dist/i18n/messages/files.js +20 -0
  152. package/dist/i18n/messages/files.js.map +1 -1
  153. package/dist/i18n/messages/menu.d.ts +2 -0
  154. package/dist/i18n/messages/menu.d.ts.map +1 -1
  155. package/dist/i18n/messages/menu.js +2 -0
  156. package/dist/i18n/messages/menu.js.map +1 -1
  157. package/dist/i18n/messages/panels.d.ts +77 -0
  158. package/dist/i18n/messages/panels.d.ts.map +1 -1
  159. package/dist/i18n/messages/panels.js +75 -0
  160. package/dist/i18n/messages/panels.js.map +1 -1
  161. package/dist/i18n/messages/tools.d.ts +1 -0
  162. package/dist/i18n/messages/tools.d.ts.map +1 -1
  163. package/dist/i18n/messages/tools.js +1 -0
  164. package/dist/i18n/messages/tools.js.map +1 -1
  165. package/dist/i18n/messages.d.ts +131 -12
  166. package/dist/i18n/useI18n.d.ts +524 -48
  167. package/dist/i18n/useI18n.d.ts.map +1 -1
  168. package/dist/primitives/LayoutControls/LayoutControlsRoot.vue.d.ts.map +1 -1
  169. package/dist/primitives/LayoutControls/LayoutControlsRoot.vue.js +2 -0
  170. package/dist/primitives/LayoutControls/LayoutControlsRoot.vue.js.map +1 -1
  171. package/dist/shared/input/resize.js +28 -12
  172. package/dist/shared/input/resize.js.map +1 -1
  173. package/dist/shared/input/types.js +1 -0
  174. package/dist/shared/input/types.js.map +1 -1
  175. package/package.json +4 -4
@@ -221,7 +221,7 @@ var panels_default = {
221
221
  gridGrid: "Сетка",
222
222
  gridColumns: "Столбцы",
223
223
  gridRows: "Строки",
224
- gridCount: "Количество",
224
+ gridCount: "Количество столбцов",
225
225
  gridSettings: "Настройки направляющей",
226
226
  gridType: "Тип",
227
227
  gridWidth: "Ширина",
@@ -252,6 +252,11 @@ var panels_default = {
252
252
  rows: "Строки",
253
253
  addGridColumn: "Добавить столбец",
254
254
  addGridRow: "Добавить строку",
255
+ gridPlacement: "Размещение в сетке",
256
+ gridColumnStart: "Начало столбца",
257
+ gridRowStart: "Начало строки",
258
+ gridColumnSpan: "Объединение столбцов",
259
+ gridRowSpan: "Объединение строк",
255
260
  removeGridColumn: "Удалить столбец",
256
261
  removeGridRow: "Удалить строку",
257
262
  sizingFixed: "Фиксированный",
@@ -359,6 +364,9 @@ var panels_default = {
359
364
  removePreferredInstance: "Убрать из предпочтительных",
360
365
  searchStyles: "Поиск стилей",
361
366
  noStylesFound: "Стили не найдены",
367
+ createStyle: "Создать стиль",
368
+ createStyleName: "Название стиля",
369
+ createStyleConfirm: "Создать",
362
370
  noComponentsFound: "Компоненты не найдены",
363
371
  gapAuto: "Авто отступ",
364
372
  spaceAround: "Отступ вокруг",
@@ -440,6 +448,7 @@ var panels_default = {
440
448
  duplicateVariantValues: "Повторяющиеся значения вариантов",
441
449
  addVariantProperty: "Добавить свойство варианта",
442
450
  addVariant: "Добавить вариант",
451
+ combineAsVariants: "Объединить как варианты",
443
452
  duplicateVariant: "Дублировать вариант",
444
453
  removeVariantProperty: "Удалить свойство варианта",
445
454
  variantConflictHelp: "Для каждого варианта требуется уникальная комбинация значений свойств.",
@@ -829,6 +838,32 @@ var panels_default = {
829
838
  prototypeAnimationInstant: "Мгновенно",
830
839
  prototypeAnimationDissolve: "Растворение",
831
840
  prototypeAnimationSmartAnimate: "Умная анимация",
841
+ prototypeVariableRefused: "Не удалось выполнить действие с переменной: {reason}",
842
+ prototypeActionSetVariable: "Задать переменную",
843
+ prototypeActionSetVariableMode: "Сменить режим",
844
+ prototypeActionConditional: "Условие",
845
+ prototypeVariable: "Переменная",
846
+ prototypeVariablePlaceholder: "Выберите переменную",
847
+ prototypeValue: "Значение",
848
+ prototypeValueNumber: "Число",
849
+ prototypeValueText: "Текст",
850
+ prototypeValueBoolean: "Логическое",
851
+ prototypeValueVariable: "Переменная",
852
+ prototypeValueExpression: "Выражение",
853
+ prototypeValueColor: "Цвет",
854
+ prototypeValueTrue: "Истина",
855
+ prototypeValueFalse: "Ложь",
856
+ prototypeExpressionFunction: "Операция",
857
+ prototypeCollection: "Коллекция",
858
+ prototypeCollectionPlaceholder: "Выберите коллекцию",
859
+ prototypeMode: "Режим",
860
+ prototypeModePlaceholder: "Выберите режим",
861
+ prototypeCondition: "Условие",
862
+ prototypeIf: "Если",
863
+ prototypeElseIf: "Иначе если",
864
+ prototypeElse: "Иначе",
865
+ prototypeAddCondition: "Добавить условие",
866
+ prototypeRemoveCondition: "Удалить условие",
832
867
  prototypeEasing: "Сглаживание",
833
868
  prototypeEasingEaseOut: "Замедление в конце",
834
869
  prototypeEasingEaseIn: "Ускорение в начале",
@@ -874,7 +909,47 @@ var panels_default = {
874
909
  prototypeScrollBehaviorScrolls: "Прокручивать с родителем",
875
910
  prototypeScrollBehaviorFixed: "Фиксировано",
876
911
  prototypeScrollBehaviorSticky: "Прилипает",
877
- exportColorSpaceNote: "Экспорт в sRGB: цвета документа Display P3 преобразуются в это пространство."
912
+ exportColorSpaceNote: "Экспорт в sRGB: цвета документа Display P3 преобразуются в это пространство.",
913
+ changeShadowColor: "Изменить цвет тени",
914
+ addSizeLimit: "Добавить предел размера",
915
+ absolutePosition: "Абсолютное положение",
916
+ firstOnTop: "Первый сверху",
917
+ wrapAlignment: "Выравнивание переноса",
918
+ wrapAlignAuto: "Авто",
919
+ wrapAlignSpaceBetween: "Промежуток",
920
+ resetOverride: "Сбросить переопределение",
921
+ gridHorizontalAlign: "Горизонтальное выравнивание",
922
+ gridVerticalAlign: "Вертикальное выравнивание",
923
+ alignStart: "Начало",
924
+ alignCenter: "Центр",
925
+ alignEnd: "Конец",
926
+ componentDescription: "Описание",
927
+ componentDescriptionPlaceholder: "Опишите этот компонент",
928
+ componentDocumentationLink: "Ссылка на документацию",
929
+ componentDocumentationLinkPlaceholder: "https://example.ru/docs",
930
+ componentDocumentationInvalid: "Введите URL, начинающийся с http:// или https://.",
931
+ componentDocumentationEmpty: "Описания пока нет.",
932
+ editStyle: "Изменить стиль",
933
+ styleEditScope: "Меняется только показанное здесь значение; остальные записи стиля сохраняются.",
934
+ prototypeEasingEaseInBack: "Вход с отскоком",
935
+ prototypeEasingEaseOutBack: "Выход с отскоком",
936
+ prototypeEasingEaseInAndOutBack: "Вход и выход с отскоком",
937
+ prototypeEasingGentle: "Мягкая",
938
+ prototypeEasingQuick: "Быстрая",
939
+ prototypeEasingBouncy: "Упругая",
940
+ prototypeEasingSlow: "Медленная",
941
+ prototypeEasingCustomBezier: "Настраиваемая Безье",
942
+ prototypeEasingCustomSpring: "Настраиваемая пружина",
943
+ prototypeSpringMass: "Масса",
944
+ prototypeSpringStiffness: "Жёсткость",
945
+ prototypeSpringDamping: "Затухание",
946
+ annotations: "Аннотации",
947
+ annotationText: "Аннотация",
948
+ annotationCategory: "Категория",
949
+ addAnnotation: "Добавить аннотацию",
950
+ removeAnnotation: "Удалить аннотацию",
951
+ annotationLocked: "Аннотации внутри экземпляров здесь только для чтения.",
952
+ noAnnotations: "Аннотаций нет"
878
953
  };
879
954
  //#endregion
880
955
  export { panels_default as default };
@@ -3,6 +3,7 @@ var tools_default = {
3
3
  move: "Перемещение",
4
4
  frame: "Фрейм",
5
5
  section: "Секция",
6
+ slice: "Срез",
6
7
  rectangle: "Прямоугольник",
7
8
  ellipse: "Эллипс",
8
9
  line: "Линия",
@@ -217,6 +217,9 @@ var ai_default = {
217
217
  chatForbidden: "此API密钥无法使用所选模型。请检查模型访问权限。",
218
218
  chatModelNotFound: "所选模型不可用。请在设置中选择其他模型。",
219
219
  chatNetworkFailed: "Pairdraw无法连接提供商。请检查网络和端点。",
220
+ chatRateLimitedWait: "提供商正在限制此账户的请求。请在 {seconds} 秒后重试。",
221
+ chatRateLimitedWaitMinutes: "提供商正在限制此账户的请求。请在 {minutes} 分钟后重试。",
222
+ chatRateLimitedWaitHours: "提供商正在限制此账户的请求。请在 {hours} 小时后重试。",
220
223
  chatRateLimited: "已达到提供商请求限制。请稍候再试。",
221
224
  openProviderSettingsAction: "打开设置",
222
225
  cloudWorkspace: "工作区",
@@ -550,6 +553,7 @@ var ai_default = {
550
553
  skillsWarnings: "此技能与 Agent Skills 规范存在出入",
551
554
  skillsUse: "使用此技能",
552
555
  skillsUseDescription: "AI 聊天会列出它,并在请求相符时加载它的说明。",
556
+ skillsUseDescriptionManual: "仅按名称提供;聊天不会列出它,也不会自行加载。",
553
557
  skillsSourceOff: "此文件夹中的技能已关闭。",
554
558
  skillsNotUsed: "未使用",
555
559
  skillsNotTrusted: "未信任",
@@ -559,17 +563,6 @@ var ai_default = {
559
563
  skillPickerYours: "你的技能",
560
564
  skillPickerManage: "管理技能…",
561
565
  skillPickerNone: "没有已开启的技能。",
562
- builtinSkillLandingPage: "设计营销落地页,从首屏到页脚。",
563
- builtinSkillMobileApp: "为 iOS 或 Android 设计手机应用的界面和流程。",
564
- builtinSkillWebApp: "围绕统一的应用框架设计网页应用界面。",
565
- builtinSkillDashboard: "设计包含指标卡片、图表和表格的仪表盘。",
566
- builtinSkillSlides: "制作布局统一的 16:9 幻灯片。",
567
- builtinSkillDesignSystem: "创建浅色和深色令牌以及基础组件。",
568
- builtinSkillTailwindV4: "让设计能干净地导出为 Tailwind CSS v4。",
569
- builtinSkillLayout: "修正间距、对齐和自动布局。",
570
- builtinSkillRestyle: "为现有设计赋予新的视觉方向。",
571
- builtinSkillDarkMode: "用颜色变量添加深色模式。",
572
- builtinSkillDesignReview: "评审设计并按优先级列出问题。",
573
566
  skillWarningPlainFrontmatter: "frontmatter 不是有效的 YAML,因此已逐行读取。请给包含“: ”的值加上引号。",
574
567
  skillWarningNameFromFolder: "frontmatter 中没有名称,因此使用文件夹名称。",
575
568
  skillWarningLongName: "名称超过 {max} 个字符。",
@@ -9,6 +9,8 @@ var code_default = {
9
9
  exportHTML: "导出 HTML",
10
10
  exportNothing: "没有可导出的内容",
11
11
  exportSinglePage: "导出的选区必须位于同一页面",
12
+ copyFailed: "无法复制:{error}",
13
+ copyNothing: "没有可复制的内容",
12
14
  generatedReadOnly: "已生成,只读",
13
15
  iconPackage: "图标",
14
16
  jsxUpToDate: "已是最新",
@@ -11,7 +11,7 @@ var commands_default = {
11
11
  createComponent: "创建组件",
12
12
  convertToFrame: "转换为画框",
13
13
  createSlot: "创建插槽",
14
- createComponentSet: "创建组件集",
14
+ createComponentSet: "合并为变体",
15
15
  createInstance: "创建实例",
16
16
  detachInstance: "分离实例",
17
17
  detachIcon: "分离图标",
@@ -103,7 +103,9 @@ var commands_default = {
103
103
  gestureDoubleClickPoint: "双击锚点",
104
104
  vectorBendSegment: "弯曲线段",
105
105
  vectorBendSegmentKeepHandles: "弯曲线段并保持相邻控制柄不动",
106
- gestureDragSegment: "拖动线段"
106
+ gestureDragSegment: "拖动线段",
107
+ resetLayerChanges: "重置图层更改",
108
+ lockedInsideInstance: "该图层位于实例内部;请将其放入插槽,或先分离实例。"
107
109
  };
108
110
  //#endregion
109
111
  export { commands_default as default };
@@ -12,6 +12,14 @@ var files_default = {
12
12
  clipboardImageFetchFailed: "无法从 Figma 获取 1 张图片。请检查源文件是否可访问,然后重试。",
13
13
  clipboardImagesFetchFailed: "无法从 Figma 获取 {count} 张图片。请检查源文件是否可访问,然后重试。",
14
14
  mermaidPasteFailed: "无法读取 Mermaid 图表。{error}",
15
+ codePasteUnreadable: "这段文本不是可读取为图层的代码。",
16
+ codePasteTooLarge: "粘贴的内容太大,无法作为图层读取。请粘贴更小的一部分。",
17
+ codePasteLayers: "已粘贴 {count} 个图层",
18
+ codePasteComponents: "{count} 个组件转为框架",
19
+ codePastePlaceholders: "{count} 个占位符",
20
+ codePasteDropped: "已丢弃 {count} 项",
21
+ codePasteTokens: "已绑定 {count} 个令牌",
22
+ codePasteImages: "{count} 张图片作为占位符",
15
23
  webPasteFailed: "无法粘贴网页内容。{error}",
16
24
  webCaptureUnreadable: "无法读取复制的网页捕获。请重新捕获该页面。",
17
25
  webCaptureNewer: "复制的网页捕获来自更新版本的捕获扩展。请更新 Pairdraw 后再粘贴。",
@@ -78,7 +86,19 @@ var files_default = {
78
86
  pasteImportChoiceLabel: "{name}:使用现有或重命名后添加",
79
87
  pasteImportAsIs: "按原样粘贴",
80
88
  pasteImportConfirm: "是,导入",
81
- preparingDocument: "正在准备文档"
89
+ loading: "加载中…",
90
+ preparationReading: "正在读取文档",
91
+ preparationDecoding: "正在解码 Figma 文档",
92
+ preparationMaterializing: "正在准备图层",
93
+ preparationPopulatingPage: "正在准备页面",
94
+ preparationResolvingFonts: "正在解析字体",
95
+ preparationResolvingFallbacks: "正在完成排版",
96
+ preparationLayout: "正在计算布局",
97
+ preparationDrawingShaders: "正在绘制着色器",
98
+ preparationPreparingRender: "正在准备画布",
99
+ preparingDocument: "正在准备文档",
100
+ clipboardPatternSourceMissing: "粘贴的设计缺少图案填充的源图层,因此该填充只绘制其颜色;将设计与图案引用的图层一起复制即可保留图案。",
101
+ clipboardPatternSourcesMissing: "粘贴的设计缺少 {count} 个图案填充的源图层,因此这些填充只绘制其颜色;将设计与图案引用的图层一起复制即可保留图案。"
82
102
  };
83
103
  //#endregion
84
104
  export { files_default as default };
@@ -40,6 +40,8 @@ var menu_default = {
40
40
  italic: "斜体",
41
41
  underline: "下划线",
42
42
  pasteHere: "粘贴到这里",
43
+ pasteAsCode: "粘贴为代码",
44
+ pasteAsText: "粘贴为文本",
43
45
  pasteToReplace: "粘贴并替换",
44
46
  replaceInInstance: "在实例内替换",
45
47
  copyProperties: "复制属性",
@@ -221,7 +221,7 @@ var panels_default = {
221
221
  gridGrid: "网格",
222
222
  gridColumns: "列",
223
223
  gridRows: "行",
224
- gridCount: "数量",
224
+ gridCount: "网格数量",
225
225
  gridSettings: "布局参考线设置",
226
226
  gridType: "类型",
227
227
  gridWidth: "宽度",
@@ -252,6 +252,11 @@ var panels_default = {
252
252
  rows: "行",
253
253
  addGridColumn: "添加列",
254
254
  addGridRow: "添加行",
255
+ gridPlacement: "网格位置",
256
+ gridColumnStart: "列起始",
257
+ gridRowStart: "行起始",
258
+ gridColumnSpan: "跨列",
259
+ gridRowSpan: "跨行",
255
260
  removeGridColumn: "移除列",
256
261
  removeGridRow: "移除行",
257
262
  sizingFixed: "固定",
@@ -335,6 +340,9 @@ var panels_default = {
335
340
  removePreferredInstance: "从首选中移除",
336
341
  searchStyles: "搜索样式",
337
342
  noStylesFound: "未找到样式",
343
+ createStyle: "创建样式",
344
+ createStyleName: "样式名称",
345
+ createStyleConfirm: "创建",
338
346
  noComponentsFound: "未找到组件",
339
347
  gapAuto: "自动间距",
340
348
  spaceAround: "环绕分布",
@@ -416,6 +424,7 @@ var panels_default = {
416
424
  duplicateVariantValues: "重复的变体值",
417
425
  addVariantProperty: "添加变体属性",
418
426
  addVariant: "添加变体",
427
+ combineAsVariants: "合并为变体",
419
428
  duplicateVariant: "复制变体",
420
429
  removeVariantProperty: "删除变体属性",
421
430
  variantConflictHelp: "每个变体都需要独特的属性值组合",
@@ -785,6 +794,32 @@ var panels_default = {
785
794
  prototypeAnimationInstant: "即时",
786
795
  prototypeAnimationDissolve: "溶解",
787
796
  prototypeAnimationSmartAnimate: "智能动画",
797
+ prototypeVariableRefused: "无法运行变量操作:{reason}",
798
+ prototypeActionSetVariable: "设置变量",
799
+ prototypeActionSetVariableMode: "切换模式",
800
+ prototypeActionConditional: "条件",
801
+ prototypeVariable: "变量",
802
+ prototypeVariablePlaceholder: "选择变量",
803
+ prototypeValue: "值",
804
+ prototypeValueNumber: "数字",
805
+ prototypeValueText: "文本",
806
+ prototypeValueBoolean: "布尔值",
807
+ prototypeValueVariable: "变量",
808
+ prototypeValueExpression: "表达式",
809
+ prototypeValueColor: "颜色",
810
+ prototypeValueTrue: "真",
811
+ prototypeValueFalse: "假",
812
+ prototypeExpressionFunction: "运算",
813
+ prototypeCollection: "集合",
814
+ prototypeCollectionPlaceholder: "选择集合",
815
+ prototypeMode: "模式",
816
+ prototypeModePlaceholder: "选择模式",
817
+ prototypeCondition: "条件",
818
+ prototypeIf: "如果",
819
+ prototypeElseIf: "否则如果",
820
+ prototypeElse: "否则",
821
+ prototypeAddCondition: "添加条件",
822
+ prototypeRemoveCondition: "删除条件",
788
823
  prototypeEasing: "缓动",
789
824
  prototypeEasingEaseOut: "缓出",
790
825
  prototypeEasingEaseIn: "缓入",
@@ -830,7 +865,47 @@ var panels_default = {
830
865
  prototypeScrollBehaviorScrolls: "随父级滚动",
831
866
  prototypeScrollBehaviorFixed: "固定",
832
867
  prototypeScrollBehaviorSticky: "粘性",
833
- exportColorSpaceNote: "以 sRGB 导出:Display P3 文档的颜色会转换到 sRGB。"
868
+ exportColorSpaceNote: "以 sRGB 导出:Display P3 文档的颜色会转换到 sRGB。",
869
+ changeShadowColor: "更改阴影颜色",
870
+ addSizeLimit: "添加尺寸限制",
871
+ absolutePosition: "绝对位置",
872
+ firstOnTop: "第一个置顶",
873
+ wrapAlignment: "换行对齐",
874
+ wrapAlignAuto: "自动",
875
+ wrapAlignSpaceBetween: "两端对齐",
876
+ resetOverride: "重置覆盖",
877
+ gridHorizontalAlign: "水平对齐",
878
+ gridVerticalAlign: "垂直对齐",
879
+ alignStart: "起点",
880
+ alignCenter: "居中",
881
+ alignEnd: "终点",
882
+ componentDescription: "描述",
883
+ componentDescriptionPlaceholder: "描述这个组件",
884
+ componentDocumentationLink: "文档链接",
885
+ componentDocumentationLinkPlaceholder: "https://example.com/docs",
886
+ componentDocumentationInvalid: "请输入以 http:// 或 https:// 开头的 URL。",
887
+ componentDocumentationEmpty: "暂无描述。",
888
+ editStyle: "编辑样式",
889
+ styleEditScope: "仅更改此处显示的值;样式的其他条目保持不变。",
890
+ prototypeEasingEaseInBack: "缓入回弹",
891
+ prototypeEasingEaseOutBack: "缓出回弹",
892
+ prototypeEasingEaseInAndOutBack: "缓入缓出回弹",
893
+ prototypeEasingGentle: "轻柔",
894
+ prototypeEasingQuick: "快速",
895
+ prototypeEasingBouncy: "弹跳",
896
+ prototypeEasingSlow: "缓慢",
897
+ prototypeEasingCustomBezier: "自定义贝塞尔",
898
+ prototypeEasingCustomSpring: "自定义弹簧",
899
+ prototypeSpringMass: "质量",
900
+ prototypeSpringStiffness: "刚度",
901
+ prototypeSpringDamping: "阻尼",
902
+ annotations: "标注",
903
+ annotationText: "标注",
904
+ annotationCategory: "类别",
905
+ addAnnotation: "添加标注",
906
+ removeAnnotation: "删除标注",
907
+ annotationLocked: "实例内部的标注在此为只读。",
908
+ noAnnotations: "没有标注"
834
909
  };
835
910
  //#endregion
836
911
  export { panels_default as default };
@@ -3,6 +3,7 @@ var tools_default = {
3
3
  move: "移动",
4
4
  frame: "画框",
5
5
  section: "分区",
6
+ slice: "切片",
6
7
  rectangle: "矩形",
7
8
  ellipse: "椭圆",
8
9
  line: "直线",
@@ -456,6 +456,15 @@ declare const aiMessages: import("@nanostores/i18n").Messages<{
456
456
  readonly chatOutputLimit: "The model ran out of output tokens while reasoning. Raise Max output tokens or lower reasoning effort.";
457
457
  readonly chatModelNotFound: "The selected model is unavailable. Choose another model in Settings.";
458
458
  readonly chatNetworkFailed: "Pairdraw could not reach the provider. Check your connection and endpoint.";
459
+ readonly chatRateLimitedWait: import("@nanostores/i18n").TranslationFunction<[{
460
+ seconds: string | number;
461
+ } & object], string>;
462
+ readonly chatRateLimitedWaitMinutes: import("@nanostores/i18n").TranslationFunction<[{
463
+ minutes: string | number;
464
+ } & object], string>;
465
+ readonly chatRateLimitedWaitHours: import("@nanostores/i18n").TranslationFunction<[{
466
+ hours: string | number;
467
+ } & object], string>;
459
468
  readonly chatRateLimited: "The provider rate limit was reached. Wait a moment and try again.";
460
469
  readonly chatRequestFailed: "The model request failed. Check the provider settings and try again.";
461
470
  readonly chatProviderStalled: "The provider stopped responding. Check your connection and try again.";
@@ -804,6 +813,7 @@ declare const aiMessages: import("@nanostores/i18n").Messages<{
804
813
  readonly skillsWarnings: "This skill departs from the Agent Skills specification";
805
814
  readonly skillsUse: "Use this skill";
806
815
  readonly skillsUseDescription: "The AI chat lists it and loads its instructions when a request matches.";
816
+ readonly skillsUseDescriptionManual: "Offered by name; the AI chat does not list it or load it on its own.";
807
817
  readonly skillsSourceOff: "Skills from this folder are turned off.";
808
818
  readonly skillsNotUsed: "Not used";
809
819
  readonly skillsNotTrusted: "Not trusted";
@@ -813,17 +823,6 @@ declare const aiMessages: import("@nanostores/i18n").Messages<{
813
823
  readonly skillPickerYours: "Your skills";
814
824
  readonly skillPickerManage: "Manage skills…";
815
825
  readonly skillPickerNone: "No skills are turned on.";
816
- readonly builtinSkillLandingPage: "Design a marketing landing page, from hero to footer.";
817
- readonly builtinSkillMobileApp: "Design phone app screens and flows for iOS or Android.";
818
- readonly builtinSkillWebApp: "Design web app screens around a shared app shell.";
819
- readonly builtinSkillDashboard: "Design dashboards with KPI tiles, charts, and tables.";
820
- readonly builtinSkillSlides: "Build a 16:9 slide deck with a consistent layout.";
821
- readonly builtinSkillDesignSystem: "Create light and dark tokens and core components.";
822
- readonly builtinSkillTailwindV4: "Design for a clean Tailwind CSS v4 export.";
823
- readonly builtinSkillLayout: "Fix spacing, alignment, and auto layout.";
824
- readonly builtinSkillRestyle: "Give an existing design a new visual direction.";
825
- readonly builtinSkillDarkMode: "Add a dark mode with color variables.";
826
- readonly builtinSkillDesignReview: "Review a design and list prioritized findings.";
827
826
  readonly skillWarningPlainFrontmatter: "The frontmatter is not valid YAML, so it was read line by line. Quote values that contain “: ”.";
828
827
  readonly skillWarningNameFromFolder: "The frontmatter has no name, so the folder name is used.";
829
828
  readonly skillWarningLongName: import("@nanostores/i18n").TranslationFunction<[{
@@ -320,6 +320,9 @@ const aiMessageDefaults = {
320
320
  chatOutputLimit: "The model ran out of output tokens while reasoning. Raise Max output tokens or lower reasoning effort.",
321
321
  chatModelNotFound: "The selected model is unavailable. Choose another model in Settings.",
322
322
  chatNetworkFailed: "Pairdraw could not reach the provider. Check your connection and endpoint.",
323
+ chatRateLimitedWait: params("The provider is rate-limiting this account. Try again in {seconds}s."),
324
+ chatRateLimitedWaitMinutes: params("The provider is rate-limiting this account. Try again in {minutes} min."),
325
+ chatRateLimitedWaitHours: params("The provider is rate-limiting this account. Try again in {hours} h."),
323
326
  chatRateLimited: "The provider rate limit was reached. Wait a moment and try again.",
324
327
  chatRequestFailed: "The model request failed. Check the provider settings and try again.",
325
328
  chatProviderStalled: "The provider stopped responding. Check your connection and try again.",
@@ -582,6 +585,7 @@ const aiMessageDefaults = {
582
585
  skillsWarnings: "This skill departs from the Agent Skills specification",
583
586
  skillsUse: "Use this skill",
584
587
  skillsUseDescription: "The AI chat lists it and loads its instructions when a request matches.",
588
+ skillsUseDescriptionManual: "Offered by name; the AI chat does not list it or load it on its own.",
585
589
  skillsSourceOff: "Skills from this folder are turned off.",
586
590
  skillsNotUsed: "Not used",
587
591
  skillsNotTrusted: "Not trusted",
@@ -591,17 +595,6 @@ const aiMessageDefaults = {
591
595
  skillPickerYours: "Your skills",
592
596
  skillPickerManage: "Manage skills…",
593
597
  skillPickerNone: "No skills are turned on.",
594
- builtinSkillLandingPage: "Design a marketing landing page, from hero to footer.",
595
- builtinSkillMobileApp: "Design phone app screens and flows for iOS or Android.",
596
- builtinSkillWebApp: "Design web app screens around a shared app shell.",
597
- builtinSkillDashboard: "Design dashboards with KPI tiles, charts, and tables.",
598
- builtinSkillSlides: "Build a 16:9 slide deck with a consistent layout.",
599
- builtinSkillDesignSystem: "Create light and dark tokens and core components.",
600
- builtinSkillTailwindV4: "Design for a clean Tailwind CSS v4 export.",
601
- builtinSkillLayout: "Fix spacing, alignment, and auto layout.",
602
- builtinSkillRestyle: "Give an existing design a new visual direction.",
603
- builtinSkillDarkMode: "Add a dark mode with color variables.",
604
- builtinSkillDesignReview: "Review a design and list prioritized findings.",
605
598
  skillWarningPlainFrontmatter: "The frontmatter is not valid YAML, so it was read line by line. Quote values that contain “: ”.",
606
599
  skillWarningNameFromFolder: "The frontmatter has no name, so the folder name is used.",
607
600
  skillWarningLongName: params("The name is longer than {max} characters."),