@uploadcare/file-uploader 1.9.0-alpha.0 → 1.10.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.
- package/abstract/ActivityBlock.d.ts +0 -1
- package/abstract/ActivityBlock.d.ts.map +1 -1
- package/abstract/ActivityBlock.js +0 -1
- package/blocks/CameraSource/CameraSource.js +7 -2
- package/blocks/ExternalSource/ExternalSource.js +7 -2
- package/blocks/FileItem/FileItem.d.ts.map +1 -1
- package/blocks/FileItem/FileItem.js +4 -7
- package/blocks/Icon/Icon.d.ts +0 -1
- package/blocks/Icon/Icon.d.ts.map +1 -1
- package/blocks/Icon/Icon.js +0 -3
- package/blocks/UrlSource/UrlSource.js +7 -2
- package/blocks/themes/uc-basic/index.css +0 -1
- package/blocks/themes/uc-basic/svg-sprite.d.ts +1 -1
- package/blocks/themes/uc-basic/svg-sprite.js +1 -1
- package/env.d.ts +1 -1
- package/env.d.ts.map +1 -1
- package/env.js +1 -1
- package/index.d.ts +0 -1
- package/index.js +0 -1
- package/index.ssr.d.ts +1 -68
- package/index.ssr.d.ts.map +1 -1
- package/index.ssr.js +23 -75
- package/locales/file-uploader/fi.d.ts +120 -0
- package/locales/file-uploader/fi.d.ts.map +1 -0
- package/locales/file-uploader/fi.js +120 -0
- package/package.json +3 -6
- package/solutions/file-uploader/regular/FileUploaderRegular.js +0 -1
- package/web/file-uploader.iife.min.js +29 -392
- package/web/file-uploader.min.js +29 -392
- package/web/uc-basic.min.css +1 -1
- package/web/uc-cloud-image-editor.min.js +1 -1
- package/web/uc-file-uploader-inline.min.css +1 -1
- package/web/uc-file-uploader-inline.min.js +29 -392
- package/web/uc-file-uploader-minimal.min.js +3 -3
- package/web/uc-file-uploader-regular.min.css +1 -1
- package/web/uc-file-uploader-regular.min.js +29 -392
- package/web/uc-img.min.js +1 -1
- package/blocks/LocalEditorImage/LocalEditorImage.d.ts +0 -22
- package/blocks/LocalEditorImage/LocalEditorImage.d.ts.map +0 -1
- package/blocks/LocalEditorImage/LocalEditorImage.js +0 -139
- package/blocks/LocalEditorImage/localEditorImage.css +0 -19
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
'locale-id': 'fi',
|
|
3
|
+
'social-source-lang': 'fi',
|
|
4
|
+
'upload-file': 'Lataa tiedosto',
|
|
5
|
+
'upload-files': 'Lataa tiedostoja',
|
|
6
|
+
'choose-file': 'Valitse tiedosto',
|
|
7
|
+
'choose-files': 'Valitse tiedostoja',
|
|
8
|
+
'drop-files-here': 'Raahaa tiedostot tänne',
|
|
9
|
+
'select-file-source': 'Valitse tiedoston lähde',
|
|
10
|
+
selected: 'Valittu',
|
|
11
|
+
upload: 'Lataa',
|
|
12
|
+
'add-more': 'Lisää',
|
|
13
|
+
cancel: 'Peruuta',
|
|
14
|
+
'start-from-cancel': 'Peruuta alkuun',
|
|
15
|
+
clear: 'Tyhjennä',
|
|
16
|
+
'camera-shot': 'Kuva',
|
|
17
|
+
'upload-url': 'Tuo',
|
|
18
|
+
'upload-url-placeholder': 'Liitä linkki tähän',
|
|
19
|
+
'edit-image': 'Muokkaa kuvaa',
|
|
20
|
+
'edit-detail': 'Lisätiedot',
|
|
21
|
+
back: 'Takaisin',
|
|
22
|
+
done: 'Valmis',
|
|
23
|
+
ok: 'Ok',
|
|
24
|
+
'remove-from-list': 'Poista',
|
|
25
|
+
no: 'Ei',
|
|
26
|
+
yes: 'Kyllä',
|
|
27
|
+
'confirm-your-action': 'Vahvista toimintosi',
|
|
28
|
+
'are-you-sure': 'Oletko varma?',
|
|
29
|
+
'selected-count': 'Valitut:',
|
|
30
|
+
'upload-error': 'Latausvirhe',
|
|
31
|
+
'validation-error': 'Validointivirhe',
|
|
32
|
+
'no-files': 'Ei tiedostoja valittu',
|
|
33
|
+
browse: 'Selaa',
|
|
34
|
+
'not-uploaded-yet': 'Ei vielä ladattu...',
|
|
35
|
+
file__one: 'tiedosto',
|
|
36
|
+
file__other: 'tiedostot',
|
|
37
|
+
error__one: 'virhe',
|
|
38
|
+
error__other: 'virheitä',
|
|
39
|
+
'header-uploading': 'Ladataan {{count}} {{plural:file(count)}}',
|
|
40
|
+
'header-failed': '{{count}} {{plural:error(count)}}',
|
|
41
|
+
'header-succeed': '{{count}} {{plural:file(count)}} ladattu',
|
|
42
|
+
'header-total': '{{count}} {{plural:file(count)}} valittu',
|
|
43
|
+
'src-type-local': 'Laiteesta',
|
|
44
|
+
'src-type-from-url': 'Linkistä',
|
|
45
|
+
'src-type-camera': 'Kamera',
|
|
46
|
+
'src-type-draw': 'Piirrä',
|
|
47
|
+
'src-type-facebook': 'Facebook',
|
|
48
|
+
'src-type-dropbox': 'Dropbox',
|
|
49
|
+
'src-type-gdrive': 'Google Drive',
|
|
50
|
+
'src-type-gphotos': 'Google Kuvat',
|
|
51
|
+
'src-type-instagram': 'Instagram',
|
|
52
|
+
'src-type-flickr': 'Flickr',
|
|
53
|
+
'src-type-vk': 'VK',
|
|
54
|
+
'src-type-evernote': 'Evernote',
|
|
55
|
+
'src-type-box': 'Box',
|
|
56
|
+
'src-type-onedrive': 'Onedrive',
|
|
57
|
+
'src-type-huddle': 'Huddle',
|
|
58
|
+
'src-type-other': 'Muu',
|
|
59
|
+
'caption-from-url': 'Tuo linkistä',
|
|
60
|
+
'caption-camera': 'Kamera',
|
|
61
|
+
'caption-draw': 'Piirrä',
|
|
62
|
+
'caption-edit-file': 'Muokkaa tiedostoa',
|
|
63
|
+
'file-no-name': 'Ei nimeä...',
|
|
64
|
+
'toggle-fullscreen': 'Vaihda koko näyttöön',
|
|
65
|
+
'toggle-guides': 'Opastus',
|
|
66
|
+
rotate: 'Käännä',
|
|
67
|
+
'flip-vertical': 'Käännä pystysuunnassa',
|
|
68
|
+
'flip-horizontal': 'Käännä vaakasuunnassa',
|
|
69
|
+
apply: 'Käytä',
|
|
70
|
+
brightness: 'Kirkkaus',
|
|
71
|
+
contrast: 'Kontrasti',
|
|
72
|
+
saturation: 'Saturaatio',
|
|
73
|
+
exposure: 'Valotusaika',
|
|
74
|
+
gamma: 'Gamma',
|
|
75
|
+
vibrance: 'Elinvoima',
|
|
76
|
+
warmth: 'Lämpö',
|
|
77
|
+
enhance: 'Paranna',
|
|
78
|
+
original: 'Alkuperäinen',
|
|
79
|
+
resize: 'Muuta kuvan kokoa',
|
|
80
|
+
crop: 'Rajaa',
|
|
81
|
+
'select-color': 'Valitse väri',
|
|
82
|
+
text: 'Teksti',
|
|
83
|
+
draw: 'Piirrä',
|
|
84
|
+
'cancel-edit': 'Peruuta muokkaus',
|
|
85
|
+
'tab-view': 'Esikatselu',
|
|
86
|
+
'tab-details': 'Lisätiedot',
|
|
87
|
+
'file-name': 'Nimi',
|
|
88
|
+
'file-size': 'Koko',
|
|
89
|
+
'cdn-url': 'CDN URL',
|
|
90
|
+
'file-size-unknown': 'Tuntematon',
|
|
91
|
+
'camera-permissions-denied': 'Kameran käyttöoikeus evätty',
|
|
92
|
+
'camera-permissions-prompt': 'Salli kameran käyttö',
|
|
93
|
+
'camera-permissions-request': 'Pyydä käyttöoikeutta',
|
|
94
|
+
'files-count-limit-error-title': 'Tiedostojen lukumäärän ylitys',
|
|
95
|
+
'files-count-limit-error-too-few':
|
|
96
|
+
'Olet valinnut {{total}} {{plural:file(total)}}. Vähintään {{min}} {{plural:file(min)}} vaaditaan.',
|
|
97
|
+
'files-count-limit-error-too-many': 'Olet valinnut liian monta tiedostoa. {{max}} {{plural:file(max)}} on enimmäismäärä.',
|
|
98
|
+
'files-max-size-limit-error': 'Tiedosto on liian suuri. Maksimi tiedostokoko on {{maxFileSize}}.',
|
|
99
|
+
'has-validation-errors': 'Tiedostojen validointivirhe. Tarkista tiedostosi ennen latausta.',
|
|
100
|
+
'images-only-accepted': 'Vain kuvamuotoiset tiedostot hyväksytään.',
|
|
101
|
+
'file-type-not-allowed': 'Näiden tiedostotyyppien lataaminen ei ole sallittua.',
|
|
102
|
+
'some-files-were-not-uploaded': 'Joitain tiedostoja ei ladattu.',
|
|
103
|
+
'file-item-edit-button': 'Muokkaa',
|
|
104
|
+
'file-item-remove-button': 'Poista',
|
|
105
|
+
'a11y-editor-tab-filters': 'Suodattimet',
|
|
106
|
+
'a11y-editor-tab-tuning': 'Säätö',
|
|
107
|
+
'a11y-editor-tab-crop': 'Rajaus',
|
|
108
|
+
'a11y-activity-header-button-close': 'Sulje',
|
|
109
|
+
flip: 'Käännä',
|
|
110
|
+
mirror: 'Peilaa',
|
|
111
|
+
'a11y-cloud-editor-apply-filter': 'Käytä {{name}} suodatin',
|
|
112
|
+
'a11y-cloud-editor-apply-crop': 'Käytä {{name}} rajaus',
|
|
113
|
+
'a11y-cloud-editor-apply-tuning': 'Käytä {{name}} säätö',
|
|
114
|
+
finished: 'Valmis',
|
|
115
|
+
failed: 'Epäonnistui',
|
|
116
|
+
uploading: 'Ladataan',
|
|
117
|
+
idle: 'Toimeton',
|
|
118
|
+
'a11y-file-item-status': 'Tiedosto {{fileName}} tilassa {{status}}',
|
|
119
|
+
};
|
|
120
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uploadcare/file-uploader",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"description": "Building blocks for Uploadcare products integration",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web components",
|
|
@@ -35,9 +35,7 @@
|
|
|
35
35
|
"MIT"
|
|
36
36
|
],
|
|
37
37
|
"type": "module",
|
|
38
|
-
"sideEffects": [
|
|
39
|
-
"*.css"
|
|
40
|
-
],
|
|
38
|
+
"sideEffects": ["*.css"],
|
|
41
39
|
"module": "./index.js",
|
|
42
40
|
"exports": {
|
|
43
41
|
".": {
|
|
@@ -140,7 +138,6 @@
|
|
|
140
138
|
"@symbiotejs/symbiote": "^1.11.7",
|
|
141
139
|
"@uploadcare/image-shrink": "^6.14.1",
|
|
142
140
|
"@uploadcare/upload-client": "^6.14.1",
|
|
143
|
-
"keyux": "^0.7.1"
|
|
144
|
-
"tui-image-editor": "^3.15.3"
|
|
141
|
+
"keyux": "^0.7.1"
|
|
145
142
|
}
|
|
146
143
|
}
|
|
@@ -55,7 +55,6 @@ FileUploaderRegular.template = /* HTML */ `
|
|
|
55
55
|
<uc-url-source></uc-url-source>
|
|
56
56
|
<uc-external-source></uc-external-source>
|
|
57
57
|
<uc-cloud-image-editor-activity></uc-cloud-image-editor-activity>
|
|
58
|
-
<uc-local-editor-image></uc-local-editor-image>
|
|
59
58
|
</uc-modal>
|
|
60
59
|
`;
|
|
61
60
|
|