@pqina/pintura 8.57.5

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 (258) hide show
  1. package/README.md +7 -0
  2. package/locale/de_DE/annotate/de_DE.js +5 -0
  3. package/locale/de_DE/annotate/index.js +1 -0
  4. package/locale/de_DE/core/de_DE.js +210 -0
  5. package/locale/de_DE/core/index.js +1 -0
  6. package/locale/de_DE/crop/de_DE.js +54 -0
  7. package/locale/de_DE/crop/index.js +1 -0
  8. package/locale/de_DE/decorate/de_DE.js +5 -0
  9. package/locale/de_DE/decorate/index.js +1 -0
  10. package/locale/de_DE/fill/de_DE.js +12 -0
  11. package/locale/de_DE/fill/index.js +1 -0
  12. package/locale/de_DE/filter/de_DE.js +19 -0
  13. package/locale/de_DE/filter/index.js +1 -0
  14. package/locale/de_DE/finetune/de_DE.js +14 -0
  15. package/locale/de_DE/finetune/index.js +1 -0
  16. package/locale/de_DE/frame/de_DE.js +17 -0
  17. package/locale/de_DE/frame/index.js +1 -0
  18. package/locale/de_DE/index.js +28 -0
  19. package/locale/de_DE/redact/de_DE.js +4 -0
  20. package/locale/de_DE/redact/index.js +1 -0
  21. package/locale/de_DE/resize/de_DE.js +19 -0
  22. package/locale/de_DE/resize/index.js +1 -0
  23. package/locale/de_DE/sticker/de_DE.js +5 -0
  24. package/locale/de_DE/sticker/index.js +1 -0
  25. package/locale/de_DE/trim/de_DE.js +54 -0
  26. package/locale/de_DE/trim/index.js +1 -0
  27. package/locale/en_GB/annotate/en_GB.js +5 -0
  28. package/locale/en_GB/annotate/index.js +1 -0
  29. package/locale/en_GB/core/en_GB.js +209 -0
  30. package/locale/en_GB/core/index.js +1 -0
  31. package/locale/en_GB/crop/en_GB.js +54 -0
  32. package/locale/en_GB/crop/index.js +1 -0
  33. package/locale/en_GB/decorate/en_GB.js +5 -0
  34. package/locale/en_GB/decorate/index.js +1 -0
  35. package/locale/en_GB/fill/en_GB.js +12 -0
  36. package/locale/en_GB/fill/index.js +1 -0
  37. package/locale/en_GB/filter/en_GB.js +18 -0
  38. package/locale/en_GB/filter/index.js +1 -0
  39. package/locale/en_GB/finetune/en_GB.js +14 -0
  40. package/locale/en_GB/finetune/index.js +1 -0
  41. package/locale/en_GB/frame/en_GB.js +17 -0
  42. package/locale/en_GB/frame/index.js +1 -0
  43. package/locale/en_GB/index.js +28 -0
  44. package/locale/en_GB/redact/en_GB.js +4 -0
  45. package/locale/en_GB/redact/index.js +1 -0
  46. package/locale/en_GB/resize/en_GB.js +19 -0
  47. package/locale/en_GB/resize/index.js +1 -0
  48. package/locale/en_GB/sticker/en_GB.js +5 -0
  49. package/locale/en_GB/sticker/index.js +1 -0
  50. package/locale/en_GB/trim/en_GB.js +54 -0
  51. package/locale/en_GB/trim/index.js +1 -0
  52. package/locale/es_ES/annotate/es_ES.js +5 -0
  53. package/locale/es_ES/annotate/index.js +1 -0
  54. package/locale/es_ES/core/es_ES.js +206 -0
  55. package/locale/es_ES/core/index.js +1 -0
  56. package/locale/es_ES/crop/es_ES.js +54 -0
  57. package/locale/es_ES/crop/index.js +1 -0
  58. package/locale/es_ES/decorate/es_ES.js +5 -0
  59. package/locale/es_ES/decorate/index.js +1 -0
  60. package/locale/es_ES/fill/es_ES.js +12 -0
  61. package/locale/es_ES/fill/index.js +1 -0
  62. package/locale/es_ES/filter/es_ES.js +18 -0
  63. package/locale/es_ES/filter/index.js +1 -0
  64. package/locale/es_ES/finetune/es_ES.js +14 -0
  65. package/locale/es_ES/finetune/index.js +1 -0
  66. package/locale/es_ES/frame/es_ES.js +17 -0
  67. package/locale/es_ES/frame/index.js +1 -0
  68. package/locale/es_ES/index.js +28 -0
  69. package/locale/es_ES/redact/es_ES.js +4 -0
  70. package/locale/es_ES/redact/index.js +1 -0
  71. package/locale/es_ES/resize/es_ES.js +19 -0
  72. package/locale/es_ES/resize/index.js +1 -0
  73. package/locale/es_ES/sticker/es_ES.js +5 -0
  74. package/locale/es_ES/sticker/index.js +1 -0
  75. package/locale/es_ES/trim/es_ES.js +55 -0
  76. package/locale/es_ES/trim/index.js +1 -0
  77. package/locale/fr_FR/annotate/fr_FR.js +5 -0
  78. package/locale/fr_FR/annotate/index.js +1 -0
  79. package/locale/fr_FR/core/fr_FR.js +207 -0
  80. package/locale/fr_FR/core/index.js +1 -0
  81. package/locale/fr_FR/crop/fr_FR.js +54 -0
  82. package/locale/fr_FR/crop/index.js +1 -0
  83. package/locale/fr_FR/decorate/fr_FR.js +5 -0
  84. package/locale/fr_FR/decorate/index.js +1 -0
  85. package/locale/fr_FR/fill/fr_FR.js +12 -0
  86. package/locale/fr_FR/fill/index.js +1 -0
  87. package/locale/fr_FR/filter/fr_FR.js +18 -0
  88. package/locale/fr_FR/filter/index.js +1 -0
  89. package/locale/fr_FR/finetune/fr_FR.js +14 -0
  90. package/locale/fr_FR/finetune/index.js +1 -0
  91. package/locale/fr_FR/frame/fr_FR.js +17 -0
  92. package/locale/fr_FR/frame/index.js +1 -0
  93. package/locale/fr_FR/index.js +28 -0
  94. package/locale/fr_FR/redact/fr_FR.js +4 -0
  95. package/locale/fr_FR/redact/index.js +1 -0
  96. package/locale/fr_FR/resize/fr_FR.js +19 -0
  97. package/locale/fr_FR/resize/index.js +1 -0
  98. package/locale/fr_FR/sticker/fr_FR.js +5 -0
  99. package/locale/fr_FR/sticker/index.js +1 -0
  100. package/locale/fr_FR/trim/fr_FR.js +55 -0
  101. package/locale/fr_FR/trim/index.js +1 -0
  102. package/locale/hi_IN/annotate/hi_IN.js +5 -0
  103. package/locale/hi_IN/annotate/index.js +1 -0
  104. package/locale/hi_IN/core/hi_IN.js +210 -0
  105. package/locale/hi_IN/core/index.js +1 -0
  106. package/locale/hi_IN/crop/hi_IN.js +54 -0
  107. package/locale/hi_IN/crop/index.js +1 -0
  108. package/locale/hi_IN/decorate/hi_IN.js +5 -0
  109. package/locale/hi_IN/decorate/index.js +1 -0
  110. package/locale/hi_IN/fill/hi_IN.js +12 -0
  111. package/locale/hi_IN/fill/index.js +1 -0
  112. package/locale/hi_IN/filter/hi_IN.js +18 -0
  113. package/locale/hi_IN/filter/index.js +1 -0
  114. package/locale/hi_IN/finetune/hi_IN.js +14 -0
  115. package/locale/hi_IN/finetune/index.js +1 -0
  116. package/locale/hi_IN/frame/hi_IN.js +17 -0
  117. package/locale/hi_IN/frame/index.js +1 -0
  118. package/locale/hi_IN/index.js +28 -0
  119. package/locale/hi_IN/redact/hi_IN.js +4 -0
  120. package/locale/hi_IN/redact/index.js +1 -0
  121. package/locale/hi_IN/resize/hi_IN.js +19 -0
  122. package/locale/hi_IN/resize/index.js +1 -0
  123. package/locale/hi_IN/sticker/hi_IN.js +5 -0
  124. package/locale/hi_IN/sticker/index.js +1 -0
  125. package/locale/hi_IN/trim/hi_IN.js +54 -0
  126. package/locale/hi_IN/trim/index.js +1 -0
  127. package/locale/it_IT/annotate/index.js +1 -0
  128. package/locale/it_IT/annotate/it_IT.js +5 -0
  129. package/locale/it_IT/core/index.js +1 -0
  130. package/locale/it_IT/core/it_IT.js +207 -0
  131. package/locale/it_IT/crop/index.js +1 -0
  132. package/locale/it_IT/crop/it_IT.js +54 -0
  133. package/locale/it_IT/decorate/index.js +1 -0
  134. package/locale/it_IT/decorate/it_IT.js +5 -0
  135. package/locale/it_IT/fill/index.js +1 -0
  136. package/locale/it_IT/fill/it_IT.js +12 -0
  137. package/locale/it_IT/filter/index.js +1 -0
  138. package/locale/it_IT/filter/it_IT.js +19 -0
  139. package/locale/it_IT/finetune/index.js +1 -0
  140. package/locale/it_IT/finetune/it_IT.js +14 -0
  141. package/locale/it_IT/frame/index.js +1 -0
  142. package/locale/it_IT/frame/it_IT.js +17 -0
  143. package/locale/it_IT/index.js +28 -0
  144. package/locale/it_IT/redact/index.js +1 -0
  145. package/locale/it_IT/redact/it_IT.js +4 -0
  146. package/locale/it_IT/resize/index.js +1 -0
  147. package/locale/it_IT/resize/it_IT.js +19 -0
  148. package/locale/it_IT/sticker/index.js +1 -0
  149. package/locale/it_IT/sticker/it_IT.js +5 -0
  150. package/locale/it_IT/trim/index.js +1 -0
  151. package/locale/it_IT/trim/it_IT.js +54 -0
  152. package/locale/nl_NL/annotate/index.js +1 -0
  153. package/locale/nl_NL/annotate/nl_NL.js +5 -0
  154. package/locale/nl_NL/core/index.js +1 -0
  155. package/locale/nl_NL/core/nl_NL.js +208 -0
  156. package/locale/nl_NL/crop/index.js +1 -0
  157. package/locale/nl_NL/crop/nl_NL.js +54 -0
  158. package/locale/nl_NL/decorate/index.js +1 -0
  159. package/locale/nl_NL/decorate/nl_NL.js +5 -0
  160. package/locale/nl_NL/fill/index.js +1 -0
  161. package/locale/nl_NL/fill/nl_NL.js +12 -0
  162. package/locale/nl_NL/filter/index.js +1 -0
  163. package/locale/nl_NL/filter/nl_NL.js +18 -0
  164. package/locale/nl_NL/finetune/index.js +1 -0
  165. package/locale/nl_NL/finetune/nl_NL.js +14 -0
  166. package/locale/nl_NL/frame/index.js +1 -0
  167. package/locale/nl_NL/frame/nl_NL.js +17 -0
  168. package/locale/nl_NL/index.js +28 -0
  169. package/locale/nl_NL/redact/index.js +1 -0
  170. package/locale/nl_NL/redact/nl_NL.js +4 -0
  171. package/locale/nl_NL/resize/index.js +1 -0
  172. package/locale/nl_NL/resize/nl_NL.js +19 -0
  173. package/locale/nl_NL/sticker/index.js +1 -0
  174. package/locale/nl_NL/sticker/nl_NL.js +5 -0
  175. package/locale/nl_NL/trim/index.js +1 -0
  176. package/locale/nl_NL/trim/nl_NL.js +55 -0
  177. package/locale/ru_RU/annotate/index.js +1 -0
  178. package/locale/ru_RU/annotate/ru_RU.js +5 -0
  179. package/locale/ru_RU/core/index.js +1 -0
  180. package/locale/ru_RU/core/ru_RU.js +206 -0
  181. package/locale/ru_RU/crop/index.js +1 -0
  182. package/locale/ru_RU/crop/ru_RU.js +54 -0
  183. package/locale/ru_RU/decorate/index.js +1 -0
  184. package/locale/ru_RU/decorate/ru_RU.js +5 -0
  185. package/locale/ru_RU/fill/index.js +1 -0
  186. package/locale/ru_RU/fill/ru_RU.js +12 -0
  187. package/locale/ru_RU/filter/index.js +1 -0
  188. package/locale/ru_RU/filter/ru_RU.js +18 -0
  189. package/locale/ru_RU/finetune/index.js +1 -0
  190. package/locale/ru_RU/finetune/ru_RU.js +14 -0
  191. package/locale/ru_RU/frame/index.js +1 -0
  192. package/locale/ru_RU/frame/ru_RU.js +17 -0
  193. package/locale/ru_RU/index.js +28 -0
  194. package/locale/ru_RU/redact/index.js +1 -0
  195. package/locale/ru_RU/redact/ru_RU.js +4 -0
  196. package/locale/ru_RU/resize/index.js +1 -0
  197. package/locale/ru_RU/resize/ru_RU.js +19 -0
  198. package/locale/ru_RU/sticker/index.js +1 -0
  199. package/locale/ru_RU/sticker/ru_RU.js +5 -0
  200. package/locale/ru_RU/trim/index.js +1 -0
  201. package/locale/ru_RU/trim/ru_RU.js +54 -0
  202. package/locale/sv_SE/annotate/index.js +1 -0
  203. package/locale/sv_SE/annotate/sv_SE.js +5 -0
  204. package/locale/sv_SE/core/index.js +1 -0
  205. package/locale/sv_SE/core/sv_SE.js +209 -0
  206. package/locale/sv_SE/crop/index.js +1 -0
  207. package/locale/sv_SE/crop/sv_SE.js +54 -0
  208. package/locale/sv_SE/decorate/index.js +1 -0
  209. package/locale/sv_SE/decorate/sv_SE.js +5 -0
  210. package/locale/sv_SE/fill/index.js +1 -0
  211. package/locale/sv_SE/fill/sv_SE.js +12 -0
  212. package/locale/sv_SE/filter/index.js +1 -0
  213. package/locale/sv_SE/filter/sv_SE.js +18 -0
  214. package/locale/sv_SE/finetune/index.js +1 -0
  215. package/locale/sv_SE/finetune/sv_SE.js +14 -0
  216. package/locale/sv_SE/frame/index.js +1 -0
  217. package/locale/sv_SE/frame/sv_SE.js +17 -0
  218. package/locale/sv_SE/index.js +28 -0
  219. package/locale/sv_SE/redact/index.js +1 -0
  220. package/locale/sv_SE/redact/sv_SE.js +4 -0
  221. package/locale/sv_SE/resize/index.js +1 -0
  222. package/locale/sv_SE/resize/sv_SE.js +19 -0
  223. package/locale/sv_SE/sticker/index.js +1 -0
  224. package/locale/sv_SE/sticker/sv_SE.js +5 -0
  225. package/locale/sv_SE/trim/index.js +1 -0
  226. package/locale/sv_SE/trim/sv_SE.js +54 -0
  227. package/locale/zh_CN/annotate/index.js +1 -0
  228. package/locale/zh_CN/annotate/zh_CN.js +5 -0
  229. package/locale/zh_CN/core/index.js +1 -0
  230. package/locale/zh_CN/core/zh_CN.js +206 -0
  231. package/locale/zh_CN/crop/index.js +1 -0
  232. package/locale/zh_CN/crop/zh_CN.js +54 -0
  233. package/locale/zh_CN/decorate/index.js +1 -0
  234. package/locale/zh_CN/decorate/zh_CN.js +5 -0
  235. package/locale/zh_CN/fill/index.js +1 -0
  236. package/locale/zh_CN/fill/zh_CN.js +12 -0
  237. package/locale/zh_CN/filter/index.js +1 -0
  238. package/locale/zh_CN/filter/zh_CN.js +18 -0
  239. package/locale/zh_CN/finetune/index.js +1 -0
  240. package/locale/zh_CN/finetune/zh_CN.js +14 -0
  241. package/locale/zh_CN/frame/index.js +1 -0
  242. package/locale/zh_CN/frame/zh_CN.js +17 -0
  243. package/locale/zh_CN/index.js +28 -0
  244. package/locale/zh_CN/redact/index.js +1 -0
  245. package/locale/zh_CN/redact/zh_CN.js +4 -0
  246. package/locale/zh_CN/resize/index.js +1 -0
  247. package/locale/zh_CN/resize/zh_CN.js +19 -0
  248. package/locale/zh_CN/sticker/index.js +1 -0
  249. package/locale/zh_CN/sticker/zh_CN.js +5 -0
  250. package/locale/zh_CN/trim/index.js +1 -0
  251. package/locale/zh_CN/trim/zh_CN.js +54 -0
  252. package/package.json +10 -0
  253. package/pintura-iife.js +11 -0
  254. package/pintura-umd.js +11 -0
  255. package/pintura.css +10 -0
  256. package/pintura.d.ts +1354 -0
  257. package/pintura.js +11 -0
  258. package/pintura.module.css +10 -0
@@ -0,0 +1,206 @@
1
+ const IconCross =
2
+ '<g fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" stroke-width=".125em"><path d="M18 6L6 18M6 6l12 12"></path></path></g>';
3
+
4
+ const CharacterA =
5
+ '<path fill="none" d="M9 15 L12 9 L15 15 M10 13.5 h3" stroke="currentColor" stroke-width=".125em"/>';
6
+
7
+ export default {
8
+ // generic
9
+ labelReset: 'Сброс',
10
+ labelDefault: 'По умолчанию',
11
+ labelAuto: 'Авто',
12
+ labelNone: 'Нет',
13
+ labelEdit: 'Изменить',
14
+ labelClose: 'Закрыть',
15
+ labelSupportError: (features) => `${features.join(', ')} не поддерживается в этом браузере`,
16
+
17
+ // defaults
18
+ labelColor: 'Цвет',
19
+ labelWidth: 'Ширина',
20
+ labelSize: 'Размер',
21
+ labelOffset: 'Смещение',
22
+ labelAmount: 'Количество',
23
+ labelInset: 'Вставка',
24
+ labelRadius: 'Радиус',
25
+
26
+ // controls
27
+ labelColorPalette: 'Цветовая палитра',
28
+
29
+ // sizes
30
+ labelSizeExtraSmall: 'Очень маленький',
31
+ labelSizeSmall: 'Маленький',
32
+ labelSizeMedium: 'Средний',
33
+ labelSizeMediumSmall: 'Средний-маленький',
34
+ labelSizeMediumLarge: 'Средний-большой',
35
+ labelSizeLarge: 'Большой',
36
+ labelSizeExtraLarge: 'Очень большой',
37
+
38
+ // unused?
39
+ labelButtonRevert: 'Вернуть',
40
+ labelButtonCancel: 'Отмена',
41
+ labelButtonUndo: 'Возврат',
42
+ labelButtonRedo: 'Повтор',
43
+ labelButtonExport: 'Готово',
44
+
45
+ // zoom
46
+ labelZoomIn: 'Приблизить',
47
+ labelZoomOut: 'Уменьшить',
48
+ labelZoomFit: 'Подходящий',
49
+ labelZoomActual: 'Pеальный размер',
50
+ iconZoomIn: '<path stroke="currentColor" stroke-width=".125em" d="M8 12 h8 M12 8 v8" />',
51
+ iconZoomOut: '<path stroke="currentColor" stroke-width=".125em" d="M9 12 h6" />',
52
+
53
+ iconSupportError: `<g fill="none" stroke="currentColor" stroke-width="2"><path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"/><g><line x1="12" y1="9" x2="12" y2="13"/><line x1="12" y1="17" x2="12.01" y2="17"/></g>`,
54
+ iconButtonClose: IconCross,
55
+ iconButtonRevert: `<g fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" stroke-width=".125em"><path d="M7.388 18.538a8 8 0 10-2.992-9.03"/><path fill="currentColor" d="M2.794 11.696L2.37 6.714l5.088 3.18z"/><path d="M12 8v4M12 12l4 2"/></g>`,
56
+ iconButtonUndo: `<g fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" stroke-width=".125em"><path d="M10 8h4c2.485 0 5 2 5 5s-2.515 5-5 5h-4"/><path fill="currentColor" d="M5 8l4-3v6z"/></g>`,
57
+ iconButtonRedo: `<g fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" stroke-width=".125em"><path d="M14 8h-4c-2.485 0-5 2-5 5s2.515 5 5 5h4"/><path fill="currentColor" d="M19 8l-4-3v6z"/></g>`,
58
+ iconButtonExport: `<polyline points="20 6 9 17 4 12" fill="none" stroke="currentColor" stroke-width=".125em"></polyline>`,
59
+
60
+ // status
61
+ statusLabelButtonClose: 'Закрыть',
62
+ statusIconButtonClose: IconCross,
63
+ statusLabelLoadImage: (state) => {
64
+ if (!state || !state.task) return 'Ожидание изображения';
65
+ if (state.error)
66
+ return state.error.code === 'IMAGE_TOO_SMALL'
67
+ ? 'Минимальный размер: {minWidth} &times; {minHeight}'
68
+ : 'Ошибка загрузки изображения';
69
+ if (state.task === 'blob-to-bitmap') return 'Подготовка образа&hellip;';
70
+ return 'Загрузка изображения&hellip;';
71
+ },
72
+
73
+ // processing status message
74
+ statusLabelProcessImage: (state) => {
75
+ if (!state || !state.task) return undefined;
76
+ if (state.task === 'store') {
77
+ if (state.error) return 'Ошибка загрузки изображения';
78
+ return 'Загрузка изображения&hellip;';
79
+ }
80
+ if (state.error) return 'Ошибка обработки изображения';
81
+ return 'Обработка изображения&hellip;';
82
+ },
83
+ };
84
+
85
+ export const MarkupEditor = {
86
+ shapeLabelButtonSelectSticker: 'Выбрать изображение',
87
+ shapeIconButtonSelectSticker: `<g fill="none" stroke="currentColor" stroke-width="0.0625em"><path d="M8 21 L15 11 L19 15"/><path d="M15 2 v5 h5"/><path d="M8 2 h8 l4 4 v12 q0 4 -4 4 h-8 q-4 0 -4 -4 v-12 q0 -4 4 -4z"/></g><circle fill="currentColor" cx="10" cy="8" r="1.5"/>`,
88
+
89
+ shapeIconButtonFlipHorizontal: `<g stroke="currentColor" stroke-width=".125em"><path fill="none" d="M6 6.5h5v11H6z"/><path fill="currentColor" d="M15 6.5h3v11h-3z"/><path d="M11 4v16" fill="currentColor"/></g>`,
90
+ shapeIconButtonFlipVertical: `<g stroke="currentColor" stroke-width=".125em"><rect x="7" y="8" width="11" height="5" fill="none"/><rect x="7" y="17" width="11" height="2" fill="currentColor"/><line x1="5" y1="13" x2="20" y2="13"/></g>`,
91
+ shapeIconButtonRemove: `<g fill="none" fill-rule="evenodd"><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="M7.5 7h9z"/><path d="M7.916 9h8.168a1 1 0 01.99 1.14l-.972 6.862a2 2 0 01-1.473 1.653c-.877.23-1.753.345-2.629.345-.876 0-1.752-.115-2.628-.345a2 2 0 01-1.473-1.653l-.973-6.862A1 1 0 017.916 9z" fill="currentColor"/><rect fill="currentColor" x="10" y="5" width="4" height="3" rx="1"/></g>`,
92
+ shapeIconButtonDuplicate: `<g fill="none" fill-rule="evenodd"><path d="M15 13.994V16a2 2 0 01-2 2H8a2 2 0 01-2-2v-5a2 2 0 012-2h2.142" stroke="currentColor" stroke-width=".125em"/><path d="M15 9V8a1 1 0 00-2 0v1h-1a1 1 0 000 2h1v1a1 1 0 002 0v-1h1a1 1 0 000-2h-1zm-4-4h6a2 2 0 012 2v6a2 2 0 01-2 2h-6a2 2 0 01-2-2V7a2 2 0 012-2z" fill="currentColor"/></g>`,
93
+ shapeIconButtonMoveToFront: `<g fill="none" fill-rule="evenodd"><rect fill="currentColor" x="11" y="13" width="8" height="2" rx="1"/><rect fill="currentColor" x="9" y="17" width="10" height="2" rx="1"/><path d="M11.364 8H10a5 5 0 000 10M12 6.5L14.5 8 12 9.5z" stroke="currentColor" stroke-width=".125em" stroke-linecap="round"/></g>`,
94
+
95
+ shapeIconButtonTextLayoutAutoWidth: `${CharacterA}`,
96
+ shapeIconButtonTextLayoutAutoHeight: `<g fill="currentColor"><circle cx="4" cy="12" r="1.5"/><circle cx="20" cy="12" r="1.5"/></g>${CharacterA}`,
97
+ shapeIconButtonTextLayoutFixedSize: `<g fill="currentColor"><circle cx="5" cy="6" r="1.5"/><circle cx="19" cy="6" r="1.5"/><circle cx="19" cy="19" r="1.5"/><circle cx="5" cy="19" r="1.5"/></g>${CharacterA}`,
98
+
99
+ shapeTitleButtonTextLayoutAutoWidth: 'Автоширина',
100
+ shapeTitleButtonTextLayoutAutoHeight: 'Автовысота',
101
+ shapeTitleButtonTextLayoutFixedSize: 'Фиксированный размер',
102
+
103
+ shapeTitleButtonFlipHorizontal: 'Отразить по горизонтали',
104
+ shapeTitleButtonFlipVertical: 'Отразить по вертикали',
105
+ shapeTitleButtonRemove: 'Убрать',
106
+ shapeTitleButtonDuplicate: 'Дублировать',
107
+ shapeTitleButtonMoveToFront: 'Переместить вперед',
108
+
109
+ shapeLabelInputText: 'Изменить текст',
110
+
111
+ shapeIconInputCancel: `<g fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" stroke-width=".125em"><path d="M18 6L6 18M6 6l12 12"/></g>`,
112
+ shapeIconInputConfirm: `<g fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" stroke-width=".125em"><polyline points="20 6 9 17 4 12"/></g>`,
113
+ shapeLabelInputCancel: 'Отмена',
114
+ shapeLabelInputConfirm: 'Подтвердить',
115
+
116
+ shapeLabelStrokeNone: 'Нет контура',
117
+
118
+ shapeLabelFontStyleNormal: 'Обычный',
119
+ shapeLabelFontStyleBold: 'Жирный',
120
+ shapeLabelFontStyleItalic: 'Курсив',
121
+ shapeLabelFontStyleItalicBold: 'Жирный курсив',
122
+
123
+ shapeTitleBackgroundColor: 'Цвет заливки',
124
+ shapeTitleCornerRadius: 'Угловой радиус',
125
+
126
+ shapeTitleFontFamily: 'Шрифт',
127
+ shapeTitleFontSize: 'Размер шрифта',
128
+ shapeTitleFontStyle: 'Стиль шрифта',
129
+ shapeTitleLineHeight: 'Интерлиньяж',
130
+
131
+ shapeTitleLineStart: 'Начало',
132
+ shapeTitleLineEnd: 'Конец',
133
+ shapeTitleStrokeWidth: 'Ширина линии',
134
+ shapeTitleStrokeColor: 'Цвет линии',
135
+
136
+ shapeTitleLineDecorationBar: 'Полоса',
137
+ shapeTitleLineDecorationCircle: 'Круг',
138
+ shapeTitleLineDecorationSquare: 'Квадрат',
139
+ shapeTitleLineDecorationArrow: 'Стрелка',
140
+ shapeTitleLineDecorationCircleSolid: 'Цветной круг',
141
+ shapeTitleLineDecorationSquareSolid: 'Цветной квадрат',
142
+ shapeTitleLineDecorationArrowSolid: 'Цветная стрелка',
143
+
144
+ shapeIconLineDecorationBar: `<g stroke="currentColor" stroke-linecap="round" stroke-width=".125em"><path d="M5,12 H16"/><path d="M16,8 V16"/></g>`,
145
+ shapeIconLineDecorationCircle: `<g stroke="currentColor" stroke-linecap="round"><path stroke-width=".125em" d="M5,12 H12"/><circle fill="none" stroke-width=".125em" cx="16" cy="12" r="4"/></g>`,
146
+ shapeIconLineDecorationSquare: `<g stroke="currentColor" stroke-linecap="round"><path stroke-width=".125em" d="M5,12 H12"/><rect fill="none" stroke-width=".125em" x="12" y="8" width="8" height="8"/></g>`,
147
+ shapeIconLineDecorationArrow: `<g stroke="currentColor" stroke-linecap="round" stroke-width=".125em"><path d="M5,12 H16 M13,7 l6,5 l-6,5" fill="none"/></g>`,
148
+ shapeIconLineDecorationCircleSolid: `<g stroke="currentColor" stroke-linecap="round"><path stroke-width=".125em" d="M5,12 H12"/><circle fill="currentColor" cx="16" cy="12" r="4"/></g>`,
149
+ shapeIconLineDecorationSquareSolid: `<g stroke="currentColor" stroke-linecap="round"><path stroke-width=".125em" d="M5,12 H12"/><rect fill="currentColor" x="12" y="8" width="8" height="8"/></g>`,
150
+ shapeIconLineDecorationArrowSolid: `<g stroke="currentColor" stroke-linecap="round" stroke-width=".125em"><path d="M5,12 H16"/><path d="M13,7 l6,5 l-6,5z" fill="currentColor"/></g>`,
151
+
152
+ shapeTitleColorTransparent: 'Прозрачно',
153
+ shapeTitleColorWhite: 'Белый',
154
+ shapeTitleColorSilver: 'Серебристый',
155
+ shapeTitleColorGray: 'Серый',
156
+ shapeTitleColorBlack: 'Черный',
157
+ shapeTitleColorNavy: 'Темно-синий',
158
+ shapeTitleColorBlue: 'Синий',
159
+ shapeTitleColorAqua: 'Голубой',
160
+ shapeTitleColorTeal: 'Бирюзовый',
161
+ shapeTitleColorOlive: 'Оливковый',
162
+ shapeTitleColorGreen: 'Зеленый',
163
+ shapeTitleColorYellow: 'Желтый',
164
+ shapeTitleColorOrange: 'Оранжевый',
165
+ shapeTitleColorRed: 'Красный',
166
+ shapeTitleColorMaroon: 'Каштановый',
167
+ shapeTitleColorFuchsia: 'Фуксия',
168
+ shapeTitleColorPurple: 'Фиолетовый',
169
+
170
+ shapeTitleTextColor: 'Цвет шрифта',
171
+ shapeTitleTextAlign: 'Выравнивание текста',
172
+ shapeTitleTextAlignLeft: 'Выровнять текст по левому краю',
173
+ shapeTitleTextAlignCenter: 'Выровнять текст по центру',
174
+ shapeTitleTextAlignRight: 'Выровнять текст по правому краю',
175
+
176
+ shapeIconTextAlignLeft: `<g stroke-width=".125em" stroke="currentColor"><line x1="5" y1="8" x2="15" y2="8"/><line x1="5" y1="12" x2="19" y2="12"/><line x1="5" y1="16" x2="14" y2="16"/></g>`,
177
+ shapeIconTextAlignCenter: `<g stroke-width=".125em" stroke="currentColor"><line x1="7" y1="8" x2="17" y2="8"/><line x1="5" y1="12" x2="19" y2="12"/><line x1="8" y1="16" x2="16" y2="16"/></g>`,
178
+ shapeIconTextAlignRight: `<g stroke-width=".125em" stroke="currentColor"><line x1="9" y1="8" x2="19" y2="8"/><line x1="5" y1="12" x2="19" y2="12"/><line x1="11" y1="16" x2="19" y2="16"/></g>`,
179
+
180
+ shapeLabelToolMove: 'Перемещаться',
181
+ shapeLabelToolView: 'Смотреть',
182
+ shapeLabelToolSharpie: 'Маркер',
183
+ shapeLabelToolEraser: 'Ластик',
184
+ shapeLabelToolPath: 'путь',
185
+ shapeLabelToolRectangle: 'Прямоугольник',
186
+ shapeLabelToolEllipse: 'Эллипс',
187
+ shapeLabelToolArrow: 'Стрелка',
188
+ shapeLabelToolLine: 'Линия',
189
+ shapeLabelToolText: 'Текст',
190
+ shapeLabelToolPreset: 'Стикеры',
191
+
192
+ shapeIconToolView: `<g stroke-width=".125em" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path d="M10.98 9.703V2.567c0-1.19 1.19-1.785 1.784-1.785.595 0 1.784.595 1.784 1.785v3.568"/><path d="M14.548 9.703V4.35c0-1.19 1.19-1.784 1.784-1.784.595 0 1.784.594 1.784 1.784v2.973"/><path d="M18.116 10.244V7.271c0-1.19 1.19-1.784 1.784-1.784.595 0 1.785.595 1.785 1.784 0 1.19 0 8.92-1.19 12.488-1.19 3.569-10.704 4.758-13.678 0-2.973-4.757-2.973-4.757-4.163-6.541-1.189-1.784-1.153-2.974-.594-3.568.558-.595 1.784-1.19 2.973.594 1.277 1.916 2.07 2.907 2.379 2.974V5.487c0-1.19 1.19-1.784 1.784-1.784.595 0 1.784.595 1.784 1.784V8.46"/></g>`,
193
+ shapeIconToolMove: `<g stroke-width=".125em" stroke="currentColor" fill="none"><path d="M6 2 L6 19 L18 13 Z M13 18 L16 24" stroke="currentColor" stroke-width=".125em" fill="none" fill-rule="evenodd" stroke-linejoin="round"/></g>`,
194
+ shapeIconToolSharpie: `<g stroke-width=".125em" stroke="currentColor" fill="none"><path d="M2.025 5c5.616-2.732 8.833-3.857 9.65-3.374C12.903 2.351.518 12.666 2.026 14 3.534 15.334 16.536.566 17.73 2.566 18.924 4.566 3.98 17.187 4.831 18c.851.813 9.848-6 11.643-6 1.087 0-2.53 5.11-2.92 7-.086.41 3.323-1.498 4.773-1 .494.17.64 2.317 1.319 3 .439.443 1.332.776 2.679 1" stroke="currentColor" stroke-width=".125em" fill="none" fill-rule="evenodd" stroke-linejoin="round"/></g>`,
195
+ shapeIconToolEraser: `<g stroke-width=".125em" stroke="currentColor" stroke-linecap="round" fill="none"><g transform="translate(3, 15) rotate(-45)"><rect x="0" y="0" width="18" height="10" rx="3"/></g><line x1="11" y1="21" x2="18" y2="21"/><line x1="20" y1="21" x2="22" y2="21"/></g>`,
196
+ shapeIconToolPath: `<g stroke-width=".125em" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" fill="none"><circle cx="21" cy="3" r="2"/><circle cx="9" cy="9" r="2"/><circle cx="3" cy="21" r="2"/><path d="M19 4 11 8 M8 11 4 19"/></g>`,
197
+ shapeIconToolRectangle: `<g stroke-width=".125em" stroke="currentColor" fill="none"><rect x="2" y="2" width="20" height="20" rx="3"/></g>`,
198
+ shapeIconToolEllipse: `<g stroke-width=".125em" stroke="currentColor" fill="none"><circle cx="12" cy="12" r="11"/></g>`,
199
+ shapeIconToolArrow: `<g stroke-width=".125em" stroke="currentColor" fill="none"><line x1="20" y1="3" x2="6" y2="21"/><path d="m10 6 L21.5 1 L20 13.5" fill="currentColor" stroke="none"/></g>`,
200
+ shapeIconToolLine: `<g stroke-width=".125em" stroke="currentColor" fill="none"><line x1="20" y1="3" x2="6" y2="21"/></g>`,
201
+ shapeIconToolText: `<g stroke="none" fill="currentColor" transform="translate(6,0)"><path d="M8.14 20.085c.459 0 .901-.034 1.329-.102a8.597 8.597 0 001.015-.21v1.984c-.281.135-.695.247-1.242.336a9.328 9.328 0 01-1.477.133c-3.312 0-4.968-1.745-4.968-5.235V6.804H.344v-1.25l2.453-1.078L3.89.819h1.5v3.97h4.97v2.015H5.39v10.078c0 1.031.245 1.823.735 2.375s1.161.828 2.015.828z"/>`,
202
+ shapeIconToolPreset: `<g fill="none" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" stroke-width=".125em"><path d="M12 22c2.773 0 1.189-5.177 3-7 1.796-1.808 7-.25 7-3 0-5.523-4.477-10-10-10S2 6.477 2 12s4.477 10 10 10z"></path><path d="M20 17c-3 3-5 5-8 5"></path></g>`,
203
+ };
204
+
205
+ // deprecated
206
+ export const ShapeEditor = MarkupEditor;
@@ -0,0 +1 @@
1
+ export { default } from './ru_RU.js';
@@ -0,0 +1,54 @@
1
+ export default {
2
+ cropLabel: 'Обрезать',
3
+ cropIcon:
4
+ '<g stroke-width=".125em" stroke="currentColor" fill="none"><path d="M23 17H9a2 2 0 0 1-2-2v-5m0-3V1 M1 7h14a2 2 0 0 1 2 2v7m0 4v3"/></g>',
5
+ cropIconButtonRecenter: `<path stroke="currentColor" fill="none" stroke-width="2" stroke-linejoin="bevel" d="M1.5 7.5v-6h6M1.5 16.5v6h6M22.5 16.5v6h-6M22.5 7.5v-6h-6"/><circle cx="12" cy="12" r="3.5" fill="currentColor" stroke="none"/>`,
6
+ cropIconButtonRotateLeft:
7
+ '<g stroke="none" fill="currentColor"><path fill="none" d="M-1-1h582v402H-1z"/><rect x="3" rx="1" height="12" width="12" y="9"/><path d="M15 5h-1a5 5 0 015 5 1 1 0 002 0 7 7 0 00-7-7h-1.374l.747-.747A1 1 0 0011.958.84L9.603 3.194a1 1 0 000 1.415l2.355 2.355a1 1 0 001.415-1.414l-.55-.55H15z"/></g>',
8
+ cropIconButtonRotateRight:
9
+ '<g stroke="none" fill="currentColor"><path fill="none" d="M-1-1h582v402H-1z"/><path d="M11.177 5H10a5 5 0 00-5 5 1 1 0 01-2 0 7 7 0 017-7h1.374l-.747-.747A1 1 0 0112.042.84l2.355 2.355a1 1 0 010 1.415l-2.355 2.354a1 1 0 01-1.415-1.414l.55-.55z"/><rect rx="1" height="12" width="12" y="9" x="9"/></g>',
10
+ cropIconButtonFlipVertical:
11
+ '<g stroke="none" fill="currentColor"><path d="M19.993 12.143H7a1 1 0 0 1-1-1V5.994a1 1 0 0 1 1.368-.93l12.993 5.15a1 1 0 0 1-.368 1.93z"/><path d="M19.993 14a1 1 0 0 1 .368 1.93L7.368 21.078A1 1 0 0 1 6 20.148V15a1 1 0 0 1 1-1h12.993z" opacity=".6"/></g>',
12
+ cropIconButtonFlipHorizontal:
13
+ '<g stroke="none" fill="currentColor"><path d="M11.93 7.007V20a1 1 0 0 1-1 1H5.78a1 1 0 0 1-.93-1.368l5.15-12.993a1 1 0 0 1 1.929.368z"/><path d="M14 7.007V20a1 1 0 0 0 1 1h5.149a1 1 0 0 0 .93-1.368l-5.15-12.993A1 1 0 0 0 14 7.007z" opacity=".6"/></g>',
14
+
15
+ cropIconSelectPreset: (locale, aspectRatio) => {
16
+ const [a, b, c] = !aspectRatio
17
+ ? [0.2, 0.3, 0.4]
18
+ : [
19
+ aspectRatio < 1 ? 1 : 0.3,
20
+ aspectRatio === 1 ? 0.85 : 0.5,
21
+ aspectRatio > 1 ? 1 : 0.3,
22
+ ];
23
+ return `<g fill="currentColor">
24
+ <rect opacity="${a}" x="2" y="4" width="10" height="18" rx="1"/>
25
+ <rect opacity="${b}" x="4" y="8" width="14" height="14" rx="1"/>
26
+ <rect opacity="${c}" x="6" y="12" width="17" height="10" rx="1"/>
27
+ </g>`;
28
+ },
29
+
30
+ cropIconCropBoundary: (locale, isBoundToImage) => {
31
+ const [a, b, c, d] = isBoundToImage ? [0.3, 1, 0, 0] : [0, 0, 0.3, 1];
32
+ return `<g fill="currentColor">
33
+ <rect opacity="${a}" x="2" y="3" width="20" height="20" rx="1"/>
34
+ <rect opacity="${b}" x="7" y="8" width="10" height="10" rx="1"/>
35
+ <rect opacity="${c}" x="4" y="8" width="14" height="14" rx="1"/>
36
+ <rect opacity="${d}" x="12" y="4" width="10" height="10" rx="1"/>
37
+ </g>`;
38
+ },
39
+
40
+ cropLabelButtonRecenter: 'Заново отцентровать',
41
+ cropLabelButtonRotateLeft: 'Вращать влево',
42
+ cropLabelButtonRotateRight: 'Вращать вправо',
43
+ cropLabelButtonFlipHorizontal: 'Отразить по горизонтали',
44
+ cropLabelButtonFlipVertical: 'Отразить по вертикали',
45
+
46
+ cropLabelSelectPreset: 'Обрезать фигуру',
47
+
48
+ cropLabelCropBoundary: 'Обрезать за границей',
49
+ cropLabelCropBoundaryEdge: 'Край изображения',
50
+ cropLabelCropBoundaryNone: 'Нет',
51
+
52
+ cropLabelTabRotation: 'Вращение',
53
+ cropLabelTabZoom: 'Увеличить',
54
+ };
@@ -0,0 +1 @@
1
+ export { default } from './ru_RU.js';
@@ -0,0 +1,5 @@
1
+ export default {
2
+ decorateLabel: 'Украсить',
3
+ decorateIcon:
4
+ '<g fill="none" fill-rule="evenodd"><path stroke="currentColor" stroke-width=".125em" stroke-linecap="round" stroke-linejoin="round" d="M12 18.5l-6.466 3.4 1.235-7.2-5.23-5.1 7.228-1.05L12 2l3.233 6.55 7.229 1.05-5.231 5.1 1.235 7.2z"/></g>',
5
+ };
@@ -0,0 +1 @@
1
+ export { default } from './ru_RU.js';
@@ -0,0 +1,12 @@
1
+ export default {
2
+ fillLabel: 'Заливка',
3
+ fillIcon: `
4
+ <g fill="none" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" stroke-width=".125em">
5
+ <g transform="rotate(60, 12, 12)">
6
+ <rect x="4" y="4" width="14" height="16" rx="3"/>
7
+ </g>
8
+ <path d="M21 13 L21 21"></path>
9
+ <path d="M4.5 12.5 L19 12.5"></path>
10
+ </g>
11
+ `,
12
+ };
@@ -0,0 +1 @@
1
+ export { default } from './ru_RU.js';
@@ -0,0 +1,18 @@
1
+ export default {
2
+ filterLabel: 'Фильтр',
3
+ filterIcon:
4
+ '<g stroke-width=".125em" stroke="currentColor" fill="none"><path d="M18.347 9.907a6.5 6.5 0 1 0-1.872 3.306M3.26 11.574a6.5 6.5 0 1 0 2.815-1.417 M10.15 17.897A6.503 6.503 0 0 0 16.5 23a6.5 6.5 0 1 0-6.183-8.51"/></g>',
5
+ filterLabelChrome: 'Хром',
6
+ filterLabelFade: 'Выцветание',
7
+ filterLabelCold: 'Холодный',
8
+ filterLabelWarm: 'Теплый',
9
+ filterLabelPastel: 'Пастель',
10
+ filterLabelMonoDefault: 'Моно',
11
+ filterLabelMonoNoir: 'Нуар',
12
+ filterLabelMonoWash: 'Размытие',
13
+ filterLabelMonoStark: 'Резко',
14
+ filterLabelSepiaDefault: 'Сепия',
15
+ filterLabelSepiaBlues: 'Оттенки синего',
16
+ filterLabelSepiaRust: 'Ржавчина',
17
+ filterLabelSepiaColor: 'Цвет',
18
+ };
@@ -0,0 +1 @@
1
+ export { default } from './ru_RU.js';
@@ -0,0 +1,14 @@
1
+ export default {
2
+ finetuneLabel: 'Подстройка',
3
+ finetuneIcon:
4
+ '<g stroke-width=".125em" stroke="currentColor" fill="none"><path d="M4 1v5.5m0 3.503V23M12 1v10.5m0 3.5v8M20 1v15.5m0 3.5v3M2 7h4M10 12h4M18 17h4"/></g>',
5
+
6
+ finetuneLabelBrightness: 'Яркость',
7
+ finetuneLabelContrast: 'Контраст',
8
+ finetuneLabelSaturation: 'Насыщенность',
9
+ finetuneLabelExposure: 'Экспозиция',
10
+ finetuneLabelTemperature: 'Температура',
11
+ finetuneLabelGamma: 'Гамма',
12
+ finetuneLabelClarity: 'Четкость',
13
+ finetuneLabelVignette: 'Виньетка',
14
+ };
@@ -0,0 +1 @@
1
+ export { default } from './ru_RU.js';
@@ -0,0 +1,17 @@
1
+ export default {
2
+ frameLabel: 'Рамка',
3
+ frameIcon: `<g fill="none" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" stroke-width=".125em">
4
+ <rect x="2" y="2" width="20" height="20" rx="4"/>
5
+ <rect x="6" y="6" width="12" height="12" rx="1"/>
6
+ </g>`,
7
+
8
+ frameLabelMatSharp: 'Матовая',
9
+ frameLabelMatRound: 'С фаской',
10
+ frameLabelLineSingle: 'Линия',
11
+ frameLabelLineMultiple: 'Зебра',
12
+ frameLabelEdgeSeparate: 'Вставка',
13
+ frameLabelEdgeOverlap: 'Плюс',
14
+ frameLabelEdgeCross: 'Дерево',
15
+ frameLabelCornerHooks: 'Крюк',
16
+ frameLabelPolaroid: 'Полароид',
17
+ };
@@ -0,0 +1,28 @@
1
+ import Annotate from './annotate/index.js';
2
+ import Core, { MarkupEditor } from './core/index.js';
3
+ import Crop from './crop/index.js';
4
+ import Decorate from './decorate/index.js';
5
+ import Filter from './filter/index.js';
6
+ import Finetune from './finetune/index.js';
7
+ import Frame from './frame/index.js';
8
+ import Resize from './resize/index.js';
9
+ import Redact from './redact/index.js';
10
+ import Sticker from './sticker/index.js';
11
+ import Trim from './trim/index.js';
12
+ import Fill from './fill/index.js';
13
+
14
+ export default {
15
+ ...Core,
16
+ ...MarkupEditor,
17
+ ...Annotate,
18
+ ...Crop,
19
+ ...Decorate,
20
+ ...Filter,
21
+ ...Finetune,
22
+ ...Frame,
23
+ ...Resize,
24
+ ...Redact,
25
+ ...Sticker,
26
+ ...Fill,
27
+ ...Trim,
28
+ };
@@ -0,0 +1 @@
1
+ export { default } from './ru_RU.js';
@@ -0,0 +1,4 @@
1
+ export default {
2
+ redactLabel: 'редактировать',
3
+ redactIcon: `<g fill="none" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" stroke-width=".125em"><path d="M 4 5 l 1 -1"/><path d="M 4 10 l 6 -6"/><path d="M 4 15 l 11 -11"/><path d="M 4 20 l 16 -16"/><path d="M 9 20 l 11 -11"/><path d="M 14 20 l 6 -6"/><path d="M 19 20 l 1 -1"/></g>`,
4
+ };
@@ -0,0 +1 @@
1
+ export { default } from './ru_RU.js';
@@ -0,0 +1,19 @@
1
+ export default {
2
+ resizeLabel: 'Изменить размер',
3
+ resizeIcon:
4
+ '<g stroke-width=".125em" stroke="currentColor" fill="none"><rect x="2" y="12" width="10" height="10" rx="2"/><path d="M4 11.5V4a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-5.5"/><path d="M14 10l3.365-3.365M14 6h4v4"/></g>',
5
+
6
+ resizeLabelFormCaption: 'Размер вывода изображения',
7
+
8
+ resizeLabelInputWidth: 'ш',
9
+ resizeTitleInputWidth: 'Ширина',
10
+ resizeLabelInputHeight: 'в',
11
+ resizeTitleInputHeight: 'Высота',
12
+
13
+ resizeTitleButtonMaintainAspectRatio: 'Сохранять пропорции',
14
+
15
+ resizeIconButtonMaintainAspectRatio: (active, activeFraction) =>
16
+ `<defs><mask id="mask1" x="0" y="0" width="24" height="24" ><rect x="0" y="0" width="24" height="10" fill="#fff" stroke="none"/></mask></defs><g fill="none" fill-rule="evenodd"><g mask="url(#mask1)"><path transform="translate(0 ${
17
+ (activeFraction - 1) * 3
18
+ })" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" d="M9.401 10.205v-.804a2.599 2.599 0 0 1 5.198 0V17"/></g><rect fill="currentColor" x="7" y="10" width="10" height="7" rx="1.5"/></g>`,
19
+ };
@@ -0,0 +1 @@
1
+ export { default } from './ru_RU.js';
@@ -0,0 +1,5 @@
1
+ export default {
2
+ stickerLabel: 'Стикер',
3
+ stickerIcon:
4
+ '<g fill="none" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" stroke-width=".125em"><path d="M12 22c2.773 0 1.189-5.177 3-7 1.796-1.808 7-.25 7-3 0-5.523-4.477-10-10-10S2 6.477 2 12s4.477 10 10 10z"/><path d="M20 17c-3 3-5 5-8 5"/></g>',
5
+ };
@@ -0,0 +1 @@
1
+ export { default } from './ru_RU.js';
@@ -0,0 +1,54 @@
1
+ export default {
2
+ trimLabel: 'Обрезать',
3
+ trimIcon: `<g stroke-width=".125em" stroke="currentColor" fill="none"><path d=" M1 3 v18 M5 3 v2 M9 3 v2 M5 18 v2 M9 18 v2 M1 3 h12 M1 6 h10 M1 18 h9 M1 21 h8 M14 0 l-4 24 M18 3 h5 M17.5 6 h6 M15.5 18 h7 M15 21 h8 M19 3 v2 M15 18 v2 M19 18 v2 M23 3 v18"/></g>`,
4
+
5
+ trimLabelPlay: 'Проиграть',
6
+ trimLabelPause: 'Приостановить',
7
+
8
+ trimLabelMute: 'Выключить',
9
+ trimLabelUnmute: 'Включить',
10
+
11
+ trimLabelSplit: 'Разделить',
12
+ trimLabelMerge: 'Объединить',
13
+
14
+ trimIconButtonMute:
15
+ '<g stroke-width=".125em" stroke="currentColor"><polygon fill="currentColor" points="2 16 2 8 8 8 15 1 15 23 8 16"/><path d="M19.3781212,15.2166107 C20.3621122,14.4879168 21,13.3184517 21,12 C21,10.6815483 20.3621122,9.51208318 19.3781212,8.78338927"/></g>',
16
+ trimIconButtonUnmute:
17
+ '<g stroke-width=".125em" stroke="currentColor"><polygon fill="currentColor" points="2 16 2 8 3 8 15 20 15 23 8 16"/><polygon fill="currentColor" points="8 8 15 1 15 15"/><line x1="1" y1="1" x2="23" y2="23"/></g>',
18
+
19
+ trimIconButtonPlay: '<polygon fill="currentColor" points="7 3, 21 12, 7 21"/>',
20
+ trimIconButtonPause:
21
+ '<g fill="currentColor"><rect x="6" y="4" width="4" height="16"/><rect x="14" y="4" width="4" height="16"/></g>',
22
+
23
+ trimIconButtonSplit: `<g stroke="currentColor" stroke-width=".125em">
24
+ <path d="M12 4 V20"/>
25
+ <path fill="currentColor" d="M6 8 L6 16 L2 12 Z M18 8 L22 12 L18 16 Z"/>
26
+ </g>`,
27
+ trimIconButtonMerge: `<g stroke="currentColor" stroke-width=".125em">
28
+ <path d="M1 4 V20 M23 4 V20"/>
29
+ <path fill="currentColor" d="M6 8 L10 12 L6 16 Z M18 8 L14 12 L18 16 Z"/>
30
+ </g>`,
31
+
32
+ // overrides, replace image with media
33
+ statusLabelLoadImage: (state) => {
34
+ if (!state || !state.task) return 'Waiting for media';
35
+ if (state.error)
36
+ return state.error.code === 'IMAGE_TOO_SMALL'
37
+ ? 'Minimum media size is {minWidth} &times; {minHeight}'
38
+ : 'Error loading media';
39
+ if (state.task === 'blob-to-bitmap') return 'Preparing media&hellip;';
40
+ return 'Loading media&hellip;';
41
+ },
42
+
43
+ statusLabelProcessImage: (state) => {
44
+ if (!state || !state.task) return undefined;
45
+ if (state.task === 'store') {
46
+ if (state.error) return 'Error uploading media';
47
+ return 'Uploading media&hellip;';
48
+ }
49
+ if (state.error) return 'Error processing media';
50
+ return 'Processing media&hellip;';
51
+ },
52
+
53
+ cropLabelCropBoundaryEdge: 'Edge of media',
54
+ };
@@ -0,0 +1 @@
1
+ export { default } from './sv_SE.js';
@@ -0,0 +1,5 @@
1
+ export default {
2
+ annotateLabel: 'Kommentera',
3
+ annotateIcon:
4
+ '<g stroke-width=".125em" stroke="currentColor" fill="none"><path d="M17.086 2.914a2.828 2.828 0 1 1 4 4l-14.5 14.5-5.5 1.5 1.5-5.5 14.5-14.5z"/></g>',
5
+ };
@@ -0,0 +1 @@
1
+ export { default, MarkupEditor } from './sv_SE.js';