@pqina/pintura 8.95.7 → 8.96.1

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## 8.96.1 | 2026-03-09
4
+
5
+ - Improve picture clarity on viewports with a `devicePixelRatio` of 1.
6
+
7
+ ## 8.96.0 | 2026-02-27
8
+
9
+ - Add Slovenian locale.
10
+ - Fix missing types.
11
+
3
12
  ## 8.95.7 | 2026-02-10
4
13
 
5
14
  - Internal fixes and improvements.
@@ -0,0 +1 @@
1
+ export { default } from './sl_SI.js';
@@ -0,0 +1,5 @@
1
+ export default {
2
+ annotateLabel: 'Zaznamki',
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 './sl_SI.js';
@@ -0,0 +1,227 @@
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: 'Ponastavi',
10
+ labelDefault: 'Privzeto',
11
+ labelAuto: 'Samodejno',
12
+ labelNone: 'Brez',
13
+ labelEdit: 'Uredi',
14
+ labelClose: 'Zapri',
15
+ labelSupportError: `{features} niso podprte v tem brskalniku`,
16
+
17
+ // defaults
18
+ labelColor: 'Barva',
19
+ labelWidth: 'Širina',
20
+ labelSize: 'Velikost',
21
+ labelOffset: 'Odmik',
22
+ labelAmount: 'Količina',
23
+ labelInset: 'Vstavek',
24
+ labelRadius: 'Polmer',
25
+
26
+ // controls
27
+ labelColorPalette: 'Barvna paleta',
28
+
29
+ // sizes
30
+ labelSizeExtraSmall: 'Zelo majhna',
31
+ labelSizeSmall: 'Majhna',
32
+ labelSizeMediumSmall: 'Srednje majhna',
33
+ labelSizeMedium: 'Srednja',
34
+ labelSizeMediumLarge: 'Srednje velika',
35
+ labelSizeLarge: 'Velika',
36
+ labelSizeExtraLarge: 'Zelo velika',
37
+
38
+ // default buttons
39
+
40
+ labelButtonCancel: 'Prekliči',
41
+ labelButtonUndo: 'Razveljavi',
42
+ labelButtonRedo: 'Uveljavi',
43
+ labelButtonRevert: 'Povrni',
44
+ labelButtonExport: 'Končano',
45
+
46
+ // zoom
47
+ labelZoom: 'Povečava',
48
+ labelZoomIn: 'Povečaj',
49
+ labelZoomOut: 'Pomanjšaj',
50
+ labelZoomFit: 'Prilagodi pogledu',
51
+ labelZoomActual: 'Dejanska velikost',
52
+ iconZoomIn: '<path stroke="currentColor" stroke-width=".125em" d="M8 12 h8 M12 8 v8" />',
53
+ iconZoomOut: '<path stroke="currentColor" stroke-width=".125em" d="M9 12 h6" />',
54
+
55
+ // icons
56
+ 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>`,
57
+ iconButtonClose: IconCross,
58
+ 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>`,
59
+ 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>`,
60
+ 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>`,
61
+ iconButtonExport: `<polyline points="20 6 9 17 4 12" fill="none" stroke="currentColor" stroke-width=".125em"></polyline>`,
62
+
63
+ // status
64
+ statusLabelButtonClose: 'Zapri',
65
+ statusIconButtonClose: IconCross,
66
+
67
+ // new status options
68
+ statusImageLoadNone: 'Čakanje na sliko',
69
+ statusImageLoadMinSize: 'Najmanjša velikost slike je {minWidth} &times; {minHeight}',
70
+ statusImageLoadPrepare: 'Priprava slike&hellip;',
71
+ statusImageLoadBusy: 'Nalaganje slike&hellip;',
72
+ statusImageLoadError: 'Napaka pri nalaganju slike',
73
+ statusImageProcessBusy: 'Obdelava slike&hellip;',
74
+ statusImageProcessError: 'Napaka pri obdelavi slike',
75
+ statusImageUploadBusy: 'Prenos slike&hellip;',
76
+ statusImageUploadError: 'Napaka pri prenosu slike',
77
+ };
78
+
79
+ export const MarkupEditor = {
80
+ shapeLabelButtonSelectSticker: 'Izberi sliko',
81
+ 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"/>`,
82
+
83
+ 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>`,
84
+ 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>`,
85
+ 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>`,
86
+ 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>`,
87
+ 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>`,
88
+
89
+ shapeIconButtonTextLayoutAutoWidth: `${CharacterA}`,
90
+ shapeIconButtonTextLayoutAutoHeight: `<g fill="currentColor"><circle cx="4" cy="12" r="1.5"/><circle cx="20" cy="12" r="1.5"/></g>${CharacterA}`,
91
+ 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}`,
92
+
93
+ shapeTitleButtonTextLayoutAutoWidth: 'Samodejna širina',
94
+ shapeTitleButtonTextLayoutAutoHeight: 'Samodejna višina',
95
+ shapeTitleButtonTextLayoutFixedSize: 'Fiksna velikost',
96
+
97
+ shapeTitleButtonFlipHorizontal: 'Zrcali vodoravno',
98
+ shapeTitleButtonFlipVertical: 'Zrcali navpično',
99
+ shapeTitleButtonRemove: 'Odstrani',
100
+ shapeTitleButtonDuplicate: 'Podvoji',
101
+ shapeTitleButtonMoveToFront: 'Premakni v ospredje',
102
+
103
+ shapeLabelInputText: 'Uredi besedilo',
104
+
105
+ 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>`,
106
+ 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>`,
107
+ shapeLabelInputCancel: 'Prekliči',
108
+ shapeLabelInputConfirm: 'Potrdi',
109
+
110
+ shapeLabelStrokeNone: 'Brez obrobe',
111
+
112
+ shapeLabelFontStyleNormal: 'Običajno',
113
+ shapeLabelFontStyleBold: 'Krepko',
114
+ shapeLabelFontStyleItalic: 'Ležeče',
115
+ shapeLabelFontStyleItalicBold: 'Krepko ležeče',
116
+
117
+ shapeTitleBackgroundColor: 'Barva polnila',
118
+
119
+ shapeTitleCornerRadius: 'Polmer kota',
120
+
121
+ shapeTitleFontFamily: 'Pisava',
122
+ shapeTitleFontSize: 'Velikost pisave',
123
+ shapeTitleFontStyle: 'Slog pisave',
124
+ shapeTitleLineHeight: 'Višina vrstice',
125
+
126
+ shapeTitleLineStart: 'Začetek',
127
+ shapeTitleLineEnd: 'Konec',
128
+ shapeTitleStrokeWidth: 'Širina črte',
129
+ shapeTitleStrokeColor: 'Barva črte',
130
+
131
+ shapeTitleLineDecorationBar: 'Palica',
132
+ shapeTitleLineDecorationCircle: 'Krog',
133
+ shapeTitleLineDecorationSquare: 'Kvadrat',
134
+ shapeTitleLineDecorationArrow: 'Puščica',
135
+ shapeTitleLineDecorationCircleSolid: 'Poln krog',
136
+ shapeTitleLineDecorationSquareSolid: 'Poln kvadrat',
137
+ shapeTitleLineDecorationArrowSolid: 'Polna puščica',
138
+
139
+ shapeIconLineDecorationBar: `<g stroke="currentColor" stroke-linecap="round" stroke-width=".125em"><path d="M5,12 H16"/><path d="M16,8 V16"/></g>`,
140
+ 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>`,
141
+ 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>`,
142
+ 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>`,
143
+ 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>`,
144
+ 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>`,
145
+ 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>`,
146
+
147
+ shapeTitleColorTransparent: 'Prosojno',
148
+ shapeTitleColorWhite: 'Bela',
149
+ shapeTitleColorSilver: 'Srebrna',
150
+ shapeTitleColorGray: 'Siva',
151
+ shapeTitleColorBlack: 'Črna',
152
+ shapeTitleColorNavy: 'Mornarsko modra',
153
+ shapeTitleColorBlue: 'Modra',
154
+ shapeTitleColorAqua: 'Akvamarin',
155
+ shapeTitleColorTeal: 'Teal',
156
+ shapeTitleColorOlive: 'Olivna',
157
+ shapeTitleColorGreen: 'Zelena',
158
+ shapeTitleColorYellow: 'Rumena',
159
+ shapeTitleColorOrange: 'Oranžna',
160
+ shapeTitleColorRed: 'Rdeča',
161
+ shapeTitleColorMaroon: 'Kostanjeva',
162
+ shapeTitleColorFuchsia: 'Fuksija',
163
+ shapeTitleColorPurple: 'Vijolična',
164
+
165
+ shapeTitleTextOutline: 'Obroba besedila',
166
+ shapeTitleTextOutlineWidth: 'Širina',
167
+
168
+ shapeTitleTextShadow: 'Senca besedila',
169
+ shapeTitleTextShadowBlur: 'Zamegljenost',
170
+
171
+ shapeTitleTextColor: 'Barva pisave',
172
+ shapeTitleTextAlign: 'Poravnava besedila',
173
+ shapeTitleTextAlignLeft: 'Poravnaj levo',
174
+ shapeTitleTextAlignCenter: 'Poravnaj sredinsko',
175
+ shapeTitleTextAlignRight: 'Poravnaj desno',
176
+
177
+ 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>`,
178
+ 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>`,
179
+ 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>`,
180
+
181
+ shapeLabelToolMove: 'Premakni',
182
+ shapeLabelToolView: 'Pogled',
183
+ shapeLabelToolSharpie: 'Marker',
184
+ shapeLabelToolEraser: 'Radirka',
185
+ shapeLabelToolPath: 'Pot',
186
+ shapeLabelToolRectangle: 'Pravokotnik',
187
+ shapeLabelToolEllipse: 'Elipsa',
188
+ shapeLabelToolArrow: 'Puščica',
189
+ shapeLabelToolLine: 'Črta',
190
+ shapeLabelToolText: 'Besedilo',
191
+ shapeLabelToolPreset: 'Nalepke',
192
+
193
+ 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>`,
194
+ 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>`,
195
+ 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>`,
196
+ 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>`,
197
+ 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>`,
198
+ shapeIconToolRectangle: `<g stroke-width=".125em" stroke="currentColor" fill="none"><rect x="1" y="1" width="22" height="22" rx="4"/></g>`,
199
+ shapeIconToolEllipse: `<g stroke-width=".125em" stroke="currentColor" fill="none"><circle cx="12" cy="12" r="11"/></g>`,
200
+ 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>`,
201
+ shapeIconToolLine: `<g stroke-width=".125em" stroke="currentColor" fill="none"><line x1="20" y1="3" x2="6" y2="21"/></g>`,
202
+ 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"/>`,
203
+ 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>`,
204
+
205
+ shapeTitleSelectionMode: 'Način izbire',
206
+ shapeTitleBrushSize: 'Velikost čopiča',
207
+
208
+ shapeLabelSelectionModeNew: 'Novo',
209
+ shapeLabelSelectionModeAdd: 'Dodaj',
210
+ shapeLabelSelectionModeSubtract: 'Odstrani',
211
+
212
+ shapeLabelToolSelectionBrush: 'Čopič',
213
+ shapeLabelToolSelectionLassoo: 'Laserska vrv',
214
+ shapeLabelToolSelectionRectangle: 'Pravokotna izbira',
215
+ shapeLabelToolSelectionEllipse: 'Eliptična izbira',
216
+
217
+ shapeIconSelectionModeNew: `<g fill="none" fill-rule="evenodd" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M6.5 17H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v1.5"/><rect width="12" height="12" x="9" y="9" fill="currentColor" fill-opacity=".25" rx="2"/></g>`,
218
+ shapeIconSelectionModeAdd: `<g fill="none" fill-rule="evenodd" stroke="currentColor"><path fill="currentColor" fill-opacity=".25" stroke-linecap="round" stroke-linejoin="round" d="M15 3a2 2 0 0 1 2 2v4h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2v-2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h10Z"/><path d="M13 15h4M15 13v4"/></g>`,
219
+ shapeIconSelectionModeSubtract: `<g fill="none" fill-rule="evenodd" stroke="currentColor"><path fill="currentColor" fill-opacity=".25" stroke-linecap="round" stroke-linejoin="round" d="M15 3a2 2 0 0 1 2 2v4h-6a2 2 0 0 0-1.995 1.85L9 11v6H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h10Z"/><rect width="12" height="12" x="9" y="9" stroke-linecap="round" stroke-linejoin="round" rx="2"/><path d="M13 15h4"/></g>`,
220
+ shapeIconToolSelectionBrush: `<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" fill-rule="evenodd" stroke-linejoin="round"/></g>`,
221
+ shapeIconToolSelectionLassoo: `<g fill="none" fill-rule="evenodd" stroke-width=".125em" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M11.428 17.702a18.46 18.46 0 0 0 4.085-1.595c5.851-3.112 9.019-8.599 7.074-12.256-1.945-3.657-8.265-4.1-14.116-.988C2.619 5.974-.55 11.46 1.396 15.118c.63 1.186 1.72 2.033 3.105 2.532"/><ellipse cx="8" cy="18.5" rx="3.5" ry="2.833" transform="rotate(-15 8 18.5)"/><path stroke-linecap="round" d="M5 18c3.347 1.048 5.514 1.881 6.5 2.5.859.54 1.517.994 1.5 2.364"/></g>`,
222
+ shapeIconToolSelectionRectangle: `<g stroke-width=".125em" stroke="currentColor"><path d="M9 1 h6 m4 0 h4v4 m0 4 v6 m0 4 v4h-4 m-4 0 h-6 m-4 0 h-4v-4 m0 -4 v-6 m0 -4 v-4h4" fill="none" /></g>`,
223
+ shapeIconToolSelectionEllipse: `<path stroke-width=".125em" stroke="currentColor" d="M1.21 9.853a11.054 11.054 0 0 0 0 4.294m1.643 3.965a11.054 11.054 0 0 0 3.035 3.035m3.965 1.644a11.054 11.054 0 0 0 4.294 0m3.965-1.644a11.054 11.054 0 0 0 3.035-3.035m1.644-3.965a11.054 11.054 0 0 0 0-4.294m-1.644-3.965a11.054 11.054 0 0 0-3.035-3.035m-3.965-1.644a11.054 11.054 0 0 0-4.294 0M5.888 2.853a11.054 11.054 0 0 0-3.035 3.035"/>`,
224
+ };
225
+
226
+ // deprecated
227
+ export const ShapeEditor = MarkupEditor;
@@ -0,0 +1 @@
1
+ export { default } from './sl_SI.js';
@@ -0,0 +1,42 @@
1
+ export default {
2
+ cropLabel: 'Obreži',
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: `<g fill="currentColor">
16
+ <rect opacity="{a}" x="2" y="4" width="10" height="18" rx="1"/>
17
+ <rect opacity="{b}" x="4" y="8" width="14" height="14" rx="1"/>
18
+ <rect opacity="{c}" x="6" y="12" width="17" height="10" rx="1"/>
19
+ </g>`,
20
+
21
+ cropIconCropBoundary: `<g fill="currentColor">
22
+ <rect opacity="{a}" x="2" y="3" width="20" height="20" rx="1"/>
23
+ <rect opacity="{b}" x="7" y="8" width="10" height="10" rx="1"/>
24
+ <rect opacity="{c}" x="4" y="8" width="14" height="14" rx="1"/>
25
+ <rect opacity="{d}" x="12" y="4" width="10" height="10" rx="1"/>
26
+ </g>`,
27
+
28
+ cropLabelButtonRecenter: 'Centriraj',
29
+ cropLabelButtonRotateLeft: 'Zavrti levo',
30
+ cropLabelButtonRotateRight: 'Zavrti desno',
31
+ cropLabelButtonFlipHorizontal: 'Zrcali vodoravno',
32
+ cropLabelButtonFlipVertical: 'Zrcali navpično',
33
+
34
+ cropLabelSelectPreset: 'Oblika obreza',
35
+
36
+ cropLabelCropBoundary: 'Meja obreza',
37
+ cropLabelCropBoundaryEdge: 'Rob slike',
38
+ cropLabelCropBoundaryNone: 'Brez',
39
+
40
+ cropLabelTabRotation: 'Rotacija',
41
+ cropLabelTabZoom: 'Povečava',
42
+ };
@@ -0,0 +1 @@
1
+ export { default } from './sl_SI.js';
@@ -0,0 +1,5 @@
1
+ export default {
2
+ decorateLabel: 'Okrasi',
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 './sl_SI.js';
@@ -0,0 +1,12 @@
1
+ export default {
2
+ fillLabel: 'Polnilo',
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 './sl_SI.js';
@@ -0,0 +1,18 @@
1
+ export default {
2
+ filterLabel: 'Filter',
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: 'Chrome',
6
+ filterLabelFade: 'Zbledelo',
7
+ filterLabelCold: 'Hladno',
8
+ filterLabelWarm: 'Toplo',
9
+ filterLabelPastel: 'Pastelno',
10
+ filterLabelMonoDefault: 'Črno-belo',
11
+ filterLabelMonoNoir: 'Noir',
12
+ filterLabelMonoWash: 'Zprano',
13
+ filterLabelMonoStark: 'Močno',
14
+ filterLabelSepiaDefault: 'Sepija',
15
+ filterLabelSepiaBlues: 'Modra sepija',
16
+ filterLabelSepiaRust: 'Rjasta',
17
+ filterLabelSepiaColor: 'Barvno',
18
+ };
@@ -0,0 +1 @@
1
+ export { default } from './sl_SI.js';
@@ -0,0 +1,13 @@
1
+ export default {
2
+ finetuneLabel: 'Izboljšaj',
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
+ finetuneLabelBrightness: 'Svetlost',
6
+ finetuneLabelContrast: 'Kontrast',
7
+ finetuneLabelSaturation: 'Nasičenost',
8
+ finetuneLabelExposure: 'Osvetlitev',
9
+ finetuneLabelTemperature: 'Temperatura',
10
+ finetuneLabelGamma: 'Gama',
11
+ finetuneLabelClarity: 'Jasnost',
12
+ finetuneLabelVignette: 'Vinjetiranje',
13
+ };
@@ -0,0 +1 @@
1
+ export { default } from './sl_SI.js';
@@ -0,0 +1,17 @@
1
+ export default {
2
+ frameLabel: 'Okvir',
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: 'Mat',
9
+ frameLabelMatRound: 'Poševno',
10
+ frameLabelLineSingle: 'Enojna črta',
11
+ frameLabelLineMultiple: 'Zebra',
12
+ frameLabelEdgeSeparate: 'Odmik',
13
+ frameLabelEdgeOverlap: 'Prekrivanje',
14
+ frameLabelEdgeCross: 'Križanje',
15
+ frameLabelCornerHooks: 'Kljuke',
16
+ frameLabelPolaroid: 'Polaroid',
17
+ };
@@ -0,0 +1,17 @@
1
+ export const LocaleAnnotate: { [key: string]: any };
2
+ export const LocaleCore: { [key: string]: any };
3
+ export const LocaleCrop: { [key: string]: any };
4
+ export const LocaleDecorate: { [key: string]: any };
5
+ export const LocaleFilter: { [key: string]: any };
6
+ export const LocaleFinetune: { [key: string]: any };
7
+ export const LocaleFrame: { [key: string]: any };
8
+ export const LocaleResize: { [key: string]: any };
9
+ export const LocaleRedact: { [key: string]: any };
10
+ export const LocaleSticker: { [key: string]: any };
11
+ export const LocaleTrim: { [key: string]: any };
12
+ export const LocaleFill: { [key: string]: any };
13
+ export const LocaleMarkupEditor: { [key: string]: any };
14
+
15
+ export {};
16
+
17
+ export * as default from './index.js';
@@ -0,0 +1,41 @@
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 const LocaleAnnotate = Annotate;
15
+ export const LocaleCore = Core;
16
+ export const LocaleCrop = Crop;
17
+ export const LocaleDecorate = Decorate;
18
+ export const LocaleFilter = Filter;
19
+ export const LocaleFinetune = Finetune;
20
+ export const LocaleFrame = Frame;
21
+ export const LocaleResize = Resize;
22
+ export const LocaleRedact = Redact;
23
+ export const LocaleSticker = Sticker;
24
+ export const LocaleTrim = Trim;
25
+ export const LocaleFill = Fill;
26
+ export const LocaleMarkupEditor = MarkupEditor;
27
+
28
+ export default {
29
+ ...Core,
30
+ ...MarkupEditor,
31
+ ...Annotate,
32
+ ...Crop,
33
+ ...Decorate,
34
+ ...Filter,
35
+ ...Finetune,
36
+ ...Frame,
37
+ ...Resize,
38
+ ...Redact,
39
+ ...Sticker,
40
+ ...Fill,
41
+ };
@@ -0,0 +1 @@
1
+ export { default } from './sl_SI.js';
@@ -0,0 +1,4 @@
1
+ export default {
2
+ redactLabel: 'Redaktiraj',
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 './sl_SI.js';
@@ -0,0 +1,16 @@
1
+ export default {
2
+ resizeLabel: 'Spremeni velikost',
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: 'Izhodna velikost slike',
7
+
8
+ resizeLabelInputWidth: 'š',
9
+ resizeTitleInputWidth: 'Širina',
10
+ resizeLabelInputHeight: 'v',
11
+ resizeTitleInputHeight: 'Višina',
12
+
13
+ resizeTitleButtonMaintainAspectRatio: 'Ohrani razmerje stranic',
14
+
15
+ resizeIconButtonMaintainAspectRatio: `<defs><mask id="mask1" x="-2" y="-2" 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 {activeFraction})" 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>`,
16
+ };
@@ -0,0 +1 @@
1
+ export { default } from './sl_SI.js';
@@ -0,0 +1,6 @@
1
+ export default {
2
+ retouchLabel: 'Retuširaj',
3
+ retouchIcon: `
4
+ <g fill="none" fill-rule="evenodd"><path fill="currentColor" d="m17 6-2-1-2 1 1-2-1-2 2 1 2-1-1 2zM5.5 5.5 3 4 .5 5.5 2 3 .5.5 3 2 5.5.5 4 3zM9 21l-3-1.5L3 21l1.5-3L3 15l3 1.5L9 15l-1.5 3z"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m9.266 6.705 13.529 13.529c-.071.78-.34 1.371-.765 1.796-.425.425-1.015.694-1.796.765h0L6.705 9.266c.071-.78.34-1.371.765-1.796.425-.425 1.015-.694 1.796-.765h0Z"/><path stroke="currentColor" stroke-width="1.5" d="M12 9.5c-.657.323-1.157.657-1.5 1-.343.343-.677.843-1 1.5"/></g>
5
+ `,
6
+ };
@@ -0,0 +1 @@
1
+ export { default } from './sl_SI.js';
@@ -0,0 +1,5 @@
1
+ export default {
2
+ stickerLabel: 'Nalepka',
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 './sl_SI.js';
@@ -0,0 +1,47 @@
1
+ export default {
2
+ trimLabel: 'Obreži',
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: 'Predvajaj',
6
+ trimLabelPause: 'Premor',
7
+
8
+ trimLabelMute: 'Nemo',
9
+ trimLabelUnmute: 'Vklopi zvok',
10
+
11
+ trimLabelSplit: 'Razdeli',
12
+ trimLabelMerge: 'Združi',
13
+ trimLabelRemove: 'Odstrani',
14
+
15
+ trimIconButtonMute:
16
+ '<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>',
17
+ trimIconButtonUnmute:
18
+ '<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>',
19
+
20
+ trimIconButtonPlay: '<polygon fill="currentColor" points="7 3, 21 12, 7 21"/>',
21
+ trimIconButtonPause:
22
+ '<g fill="currentColor"><rect x="6" y="4" width="4" height="16"/><rect x="14" y="4" width="4" height="16"/></g>',
23
+
24
+ trimIconButtonSplit: `<g stroke="currentColor" stroke-width=".125em">
25
+ <path d="M12 4 V20"/>
26
+ <path fill="currentColor" d="M6 8 L6 16 L2 12 Z M18 8 L22 12 L18 16 Z"/>
27
+ </g>`,
28
+ trimIconButtonMerge: `<g stroke="currentColor" stroke-width=".125em">
29
+ <path d="M1 4 V20 M23 4 V20"/>
30
+ <path fill="currentColor" d="M6 8 L10 12 L6 16 Z M18 8 L14 12 L18 16 Z"/>
31
+ </g>`,
32
+
33
+ // overrides
34
+ unitSeconds: ['sekunda', 'sekunde'],
35
+ statusImageLoadNone: 'Čakanje na medij',
36
+ statusImageLoadMinSize: 'Najmanjša velikost medija je {minWidth} &times; {minHeight}',
37
+ statusImageLoadMinDuration: `Najkrajše trajanje videa je {minDuration} {seconds}`,
38
+ statusImageLoadError: 'Napaka pri nalaganju medija',
39
+ statusImageLoadPrepare: 'Priprava medija&hellip;',
40
+ statusImageLoadBusy: 'Nalaganje medija&hellip;',
41
+ statusImageUploadError: 'Napaka pri prenosu medija',
42
+ statusImageUploadBusy: 'Prenos medija&hellip;',
43
+ statusImageProcessError: 'Napaka pri obdelavi medija',
44
+ statusImageProcessBusy: 'Obdelava medija&hellip;',
45
+
46
+ cropLabelCropBoundaryEdge: 'Rob medija',
47
+ };
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "8.95.7",
2
+ "version": "8.96.1",
3
3
  "name": "@pqina/pintura",
4
4
  "description": "This package is for testing purposes only. Visit https://pqina.nl/pintura to purchase a valid license.",
5
5
  "browser": "pintura.js",