@edrlab/thorium-web 1.1.1 → 1.1.3
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/README.md +2 -0
- package/dist/{StatefulReader-BU_EpfhE.d.mts → StatefulReader-lpxHxgKK.d.mts} +8 -6
- package/dist/{ThPreferencesAdapter-CYSE2wnE.d.mts → ThPreferencesAdapter-CcJgE3zC.d.mts} +78 -57
- package/dist/{actionsReducer-BKoeohBu.d.mts → actionsReducer-6UNIgifE.d.mts} +1 -1
- package/dist/chunk-B3WDMWCT.mjs +9 -0
- package/dist/chunk-B3WDMWCT.mjs.map +1 -0
- package/dist/{chunk-RNED2SPT.mjs → chunk-IYAFKTPL.mjs} +3 -3
- package/dist/chunk-IYAFKTPL.mjs.map +1 -0
- package/dist/{chunk-6JMWZYOA.mjs → chunk-JDMFK3LV.mjs} +348 -50
- package/dist/chunk-JDMFK3LV.mjs.map +1 -0
- package/dist/{chunk-OWJCESNF.mjs → chunk-KKMH2EPS.mjs} +26 -19
- package/dist/chunk-KKMH2EPS.mjs.map +1 -0
- package/dist/{chunk-HE3WFPGE.mjs → chunk-KTZPAJ4S.mjs} +34 -19
- package/dist/chunk-KTZPAJ4S.mjs.map +1 -0
- package/dist/{chunk-NHUVBN7S.mjs → chunk-MW7LXDWC.mjs} +4 -4
- package/dist/{chunk-NHUVBN7S.mjs.map → chunk-MW7LXDWC.mjs.map} +1 -1
- package/dist/chunk-VN44OJDD.mjs +1777 -0
- package/dist/chunk-VN44OJDD.mjs.map +1 -0
- package/dist/components/Epub/index.css +1 -0
- package/dist/components/Epub/index.css.map +1 -1
- package/dist/components/Epub/index.d.mts +8 -8
- package/dist/components/Epub/index.mjs +58 -21
- package/dist/components/Epub/index.mjs.map +1 -1
- package/dist/components/Misc/index.mjs +2 -2
- package/dist/components/WebPub/index.css +1 -0
- package/dist/components/WebPub/index.css.map +1 -1
- package/dist/components/WebPub/index.d.mts +12 -12
- package/dist/components/WebPub/index.mjs +42 -19
- package/dist/components/WebPub/index.mjs.map +1 -1
- package/dist/core/Components/index.d.mts +2 -2
- package/dist/core/Helpers/index.d.mts +2 -2
- package/dist/core/Hooks/index.d.mts +4 -4
- package/dist/core/Hooks/index.mjs +1 -1
- package/dist/{enums-CBaXSsr9.d.mts → enums-Bhwwdfx5.d.mts} +1 -1
- package/dist/fonts/AccessibleDfA/AccessibleDfA-Bold.woff2 +0 -0
- package/dist/fonts/AccessibleDfA/AccessibleDfA-Italic.woff2 +0 -0
- package/dist/fonts/AccessibleDfA/AccessibleDfA-Regular.woff2 +0 -0
- package/dist/fonts/AccessibleDfA/LICENSE-AccessibleDfa +95 -0
- package/dist/fonts/AndroidPatch/sans-serif/GNU General Public License.txt +340 -0
- package/dist/fonts/AndroidPatch/sans-serif/NimbusSans-Bold.woff +0 -0
- package/dist/fonts/AndroidPatch/sans-serif/NimbusSans-BoldItalic.woff +0 -0
- package/dist/fonts/AndroidPatch/sans-serif/NimbusSans-Italic.woff +0 -0
- package/dist/fonts/AndroidPatch/sans-serif/NimbusSans.woff +0 -0
- package/dist/fonts/AndroidPatch/serif/GNU General Public License.txt +340 -0
- package/dist/fonts/AndroidPatch/serif/NimbusRoman-Bold.woff +0 -0
- package/dist/fonts/AndroidPatch/serif/NimbusRoman-BoldItalic.woff +0 -0
- package/dist/fonts/AndroidPatch/serif/NimbusRoman-Italic.woff +0 -0
- package/dist/fonts/AndroidPatch/serif/NimbusRoman.woff +0 -0
- package/dist/fonts/Luciole/Luciole-Bold.woff2 +0 -0
- package/dist/fonts/Luciole/Luciole-BoldItalic.woff2 +0 -0
- package/dist/fonts/Luciole/Luciole-Italic.woff2 +0 -0
- package/dist/fonts/Luciole/Luciole-Regular.woff2 +0 -0
- package/dist/fonts/Luciole/Read Me.txt +14 -0
- package/dist/fonts/OpenDyslexic/OpenDyslexic-Bold.otf +0 -0
- package/dist/fonts/OpenDyslexic/OpenDyslexic-BoldItalic.otf +0 -0
- package/dist/fonts/OpenDyslexic/OpenDyslexic-Italic.otf +0 -0
- package/dist/fonts/OpenDyslexic/OpenDyslexic-Regular.otf +0 -0
- package/dist/fonts/iAWriterDuo/README.md +13 -0
- package/dist/fonts/iAWriterDuo/iAWriterDuoS-Bold.woff2 +0 -0
- package/dist/fonts/iAWriterDuo/iAWriterDuoS-BoldItalic.woff2 +0 -0
- package/dist/fonts/iAWriterDuo/iAWriterDuoS-Italic.woff2 +0 -0
- package/dist/fonts/iAWriterDuo/iAWriterDuoS-Regular.woff2 +0 -0
- package/dist/i18n/index.mjs +4 -4
- package/dist/lib/index.d.mts +35 -18
- package/dist/lib/index.mjs +1 -1
- package/dist/locales/ar/thorium-shared.json +258 -2
- package/dist/locales/ar/thorium-web.json +59 -1
- package/dist/locales/da/thorium-shared.json +3 -3
- package/dist/locales/el/thorium-web.json +64 -0
- package/dist/locales/en/thorium-shared.json +68 -12
- package/dist/locales/et/thorium-shared.json +103 -6
- package/dist/locales/et/thorium-web.json +95 -1
- package/dist/locales/fi/thorium-shared.json +111 -7
- package/dist/locales/fr/thorium-shared.json +12 -7
- package/dist/locales/it/thorium-shared.json +73 -15
- package/dist/locales/it/thorium-web.json +95 -1
- package/dist/locales/lt/thorium-shared.json +68 -12
- package/dist/locales/pt-BR/thorium-shared.json +12 -12
- package/dist/locales/pt-PT/thorium-shared.json +12 -12
- package/dist/locales/sv/thorium-shared.json +12 -12
- package/dist/locales/tr/thorium-shared.json +14 -12
- package/dist/preferences/index.d.mts +104 -7
- package/dist/preferences/index.mjs +2 -2
- package/dist/{useBreakpoints-BtHd3571.d.mts → useBreakpoints-LTrHif3E.d.mts} +1 -1
- package/dist/{useEpubNavigator-DpvqVgNu.d.mts → useEpubNavigator-DQq5VlY0.d.mts} +2 -1
- package/dist/usePreferences-CM_Y2jpZ.d.mts +42 -0
- package/dist/{useWebPubNavigator-DBRj8KyC.d.mts → useWebPubNavigator-XFUVekhV.d.mts} +2 -1
- package/package.json +24 -21
- package/dist/chunk-6JMWZYOA.mjs.map +0 -1
- package/dist/chunk-DCW6H2DC.mjs +0 -900
- package/dist/chunk-DCW6H2DC.mjs.map +0 -1
- package/dist/chunk-HE3WFPGE.mjs.map +0 -1
- package/dist/chunk-J5NR3FTV.mjs +0 -106
- package/dist/chunk-J5NR3FTV.mjs.map +0 -1
- package/dist/chunk-OWJCESNF.mjs.map +0 -1
- package/dist/chunk-RNED2SPT.mjs.map +0 -1
- package/dist/usePreferences-aGLrGdNR.d.mts +0 -16
|
@@ -1 +1,95 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"reader": {
|
|
3
|
+
"app": {
|
|
4
|
+
"loading": "Caricamento in corso",
|
|
5
|
+
"publicationWrapper": "State navigando nella pubblicazione.",
|
|
6
|
+
"docking": {
|
|
7
|
+
"dockingLeft": "Riquadro dello schermo a sinistra",
|
|
8
|
+
"dockingRight": "Riquadro dello schermo a destra",
|
|
9
|
+
"dockingEmpty": "Attualmente vuoto",
|
|
10
|
+
"dockingClosed": "Attualmente chiuso, contiene {{ action }}",
|
|
11
|
+
"dockingCollapsed": "Attualmente ridotto. Contiene {{ action }}"
|
|
12
|
+
},
|
|
13
|
+
"header": {
|
|
14
|
+
"backLink": {
|
|
15
|
+
"trigger": "Ritorna alla tua libreria",
|
|
16
|
+
"tooltip": "Libreria"
|
|
17
|
+
},
|
|
18
|
+
"label": "Barra in alto",
|
|
19
|
+
"runningHead": "Titolo principale",
|
|
20
|
+
"actions": "Azioni"
|
|
21
|
+
},
|
|
22
|
+
"footer": {
|
|
23
|
+
"label": "Barra in basso"
|
|
24
|
+
},
|
|
25
|
+
"progression": {
|
|
26
|
+
"wrapper": "Progressione nella pubblicazione",
|
|
27
|
+
"referenceFallback": "capitolo in lettura",
|
|
28
|
+
"pubFallback": "la pubblicazione"
|
|
29
|
+
},
|
|
30
|
+
"docker": {
|
|
31
|
+
"wrapper": "Opzioni di visualizzazione",
|
|
32
|
+
"dockToLeft": {
|
|
33
|
+
"trigger": "Visualizzare il riquadro a sinistra",
|
|
34
|
+
"tooltip": "Visualizzare a sinistra"
|
|
35
|
+
},
|
|
36
|
+
"dockToRight": {
|
|
37
|
+
"trigger": "Visualizzare il riquadro a destra",
|
|
38
|
+
"tooltip": "Visualizzare a destra"
|
|
39
|
+
},
|
|
40
|
+
"popover": {
|
|
41
|
+
"trigger": "Visualizzare in una finestra",
|
|
42
|
+
"tooltip": "Pop over"
|
|
43
|
+
},
|
|
44
|
+
"fullscreen": {
|
|
45
|
+
"trigger": "Visualizza sopra il contenuto",
|
|
46
|
+
"tooltip": "Sovrapporre"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"back": {
|
|
50
|
+
"trigger": "Indietro"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"navigation": {
|
|
54
|
+
"scroll": {
|
|
55
|
+
"wrapper": "Navigare nella pubblicazione"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"fullscreen": {
|
|
59
|
+
"tooltip": "Schermo intero",
|
|
60
|
+
"trigger": "Attivare la modalità schermo intero",
|
|
61
|
+
"close": "Abbandona la modalità schermo intero"
|
|
62
|
+
},
|
|
63
|
+
"toc": {
|
|
64
|
+
"entries": "Contenuti dell'indice"
|
|
65
|
+
},
|
|
66
|
+
"jumpToPosition": {
|
|
67
|
+
"go": "Vai",
|
|
68
|
+
"label": "Selezionare una posizione tra {{ positionStart }} e {{ positionEnd }}:"
|
|
69
|
+
},
|
|
70
|
+
"overflowMenu": {
|
|
71
|
+
"active": {
|
|
72
|
+
"tooltip": "Azioni avanzate",
|
|
73
|
+
"trigger": "Cambiare il menu"
|
|
74
|
+
},
|
|
75
|
+
"hint": {
|
|
76
|
+
"tooltip": "Modifica le azioni",
|
|
77
|
+
"trigger": "Visualizza le azioni"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"settings": {
|
|
81
|
+
"text": {
|
|
82
|
+
"advanced": {
|
|
83
|
+
"tooltip": "Opzioni avanzate",
|
|
84
|
+
"trigger": "Opzioni avanzate di formattazione"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"spacing": {
|
|
88
|
+
"advanced": {
|
|
89
|
+
"tooltip": "Opzioni avanzate",
|
|
90
|
+
"trigger": "Opzioni avanzate di spaziatura"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -37,6 +37,10 @@
|
|
|
37
37
|
"compact": "Kitas",
|
|
38
38
|
"descriptive": "Kitas puslapis"
|
|
39
39
|
},
|
|
40
|
+
"goToNextSentence": {
|
|
41
|
+
"compact": "Kitas",
|
|
42
|
+
"descriptive": "Kitas sakinys"
|
|
43
|
+
},
|
|
40
44
|
"goToPosition": {
|
|
41
45
|
"compact": "Peršokti į…",
|
|
42
46
|
"descriptive": "Peršokti į poziciją"
|
|
@@ -48,9 +52,14 @@
|
|
|
48
52
|
"goToPreviousPage": {
|
|
49
53
|
"compact": "Ankstesnis",
|
|
50
54
|
"descriptive": "Ankstesnis puslapis"
|
|
55
|
+
},
|
|
56
|
+
"goToPreviousSentence": {
|
|
57
|
+
"compact": "Ankstesnis",
|
|
58
|
+
"descriptive": "Ankstesnis sakinys"
|
|
51
59
|
}
|
|
52
60
|
},
|
|
53
61
|
"preferences": {
|
|
62
|
+
"brightness": "Ryškumas",
|
|
54
63
|
"columns": {
|
|
55
64
|
"auto": "Auto",
|
|
56
65
|
"dual": {
|
|
@@ -63,6 +72,18 @@
|
|
|
63
72
|
},
|
|
64
73
|
"title": "Stulpeliai"
|
|
65
74
|
},
|
|
75
|
+
"fit": {
|
|
76
|
+
"auto": {
|
|
77
|
+
"compact": "Automatinis"
|
|
78
|
+
},
|
|
79
|
+
"page": {
|
|
80
|
+
"compact": "Puslapis"
|
|
81
|
+
},
|
|
82
|
+
"title": "Talpinimas",
|
|
83
|
+
"width": {
|
|
84
|
+
"compact": "Plotis"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
66
87
|
"fontFamily": {
|
|
67
88
|
"humanist": {
|
|
68
89
|
"compact": "Humanistinis",
|
|
@@ -104,12 +125,28 @@
|
|
|
104
125
|
"small": "Glaudus",
|
|
105
126
|
"title": "Eilutės aukštis"
|
|
106
127
|
},
|
|
128
|
+
"offsetFirstPage": "Atvaizduoti pirmąjį puslapį atskirai",
|
|
107
129
|
"paragraphIndent": "Pastraipos įtrauka",
|
|
108
130
|
"paragraphSpacing": "Tarpas tarp pastraipų",
|
|
109
131
|
"publisherStyles": {
|
|
110
132
|
"label": "Naudoti originalų formatavimą",
|
|
111
133
|
"title": "Leidėjo stiliai"
|
|
112
134
|
},
|
|
135
|
+
"readingDirection": {
|
|
136
|
+
"default": {
|
|
137
|
+
"compact": "Numatytoji",
|
|
138
|
+
"descriptive": "Naudoti numatytąją skaitymo kryptį"
|
|
139
|
+
},
|
|
140
|
+
"ltr": {
|
|
141
|
+
"compact": "Dešinėn",
|
|
142
|
+
"descriptive": "Iš kairės į dešinę"
|
|
143
|
+
},
|
|
144
|
+
"rtl": {
|
|
145
|
+
"compact": "Kairėn",
|
|
146
|
+
"descriptive": "Iš dešinės į kairę"
|
|
147
|
+
},
|
|
148
|
+
"title": "Skaitymo kryptis"
|
|
149
|
+
},
|
|
113
150
|
"spacing": {
|
|
114
151
|
"presets": {
|
|
115
152
|
"accessible": "Prieinamas",
|
|
@@ -122,6 +159,18 @@
|
|
|
122
159
|
},
|
|
123
160
|
"title": "Išretinimas"
|
|
124
161
|
},
|
|
162
|
+
"spread": {
|
|
163
|
+
"always": {
|
|
164
|
+
"compact": "Du puslapiai"
|
|
165
|
+
},
|
|
166
|
+
"auto": {
|
|
167
|
+
"compact": "Automatinė"
|
|
168
|
+
},
|
|
169
|
+
"never": {
|
|
170
|
+
"compact": "Vienas puslapis"
|
|
171
|
+
},
|
|
172
|
+
"title": "Sklaida"
|
|
173
|
+
},
|
|
125
174
|
"text": "Tekstas",
|
|
126
175
|
"textAlign": {
|
|
127
176
|
"default": "Numatytoji",
|
|
@@ -140,6 +189,7 @@
|
|
|
140
189
|
"contrast2": "Kontrastas 2",
|
|
141
190
|
"contrast3": "Kontrastas 3",
|
|
142
191
|
"dark": "Tamsi",
|
|
192
|
+
"gray": "Pilka",
|
|
143
193
|
"light": "Šviesi",
|
|
144
194
|
"paper": "Popierius",
|
|
145
195
|
"sepia": "Sepija",
|
|
@@ -151,29 +201,35 @@
|
|
|
151
201
|
},
|
|
152
202
|
"progression": {
|
|
153
203
|
"pagesLeft": {
|
|
154
|
-
"
|
|
155
|
-
"
|
|
204
|
+
"descriptive_few": "",
|
|
205
|
+
"descriptive_one": "Liko {{ count }} puslapis",
|
|
206
|
+
"descriptive_other": "Liko {{ count }} puslapiai (-ių)"
|
|
156
207
|
},
|
|
157
208
|
"pagesLeftInChapter": {
|
|
158
|
-
"
|
|
159
|
-
"
|
|
209
|
+
"descriptive_few": "",
|
|
210
|
+
"descriptive_one": "Skyriuje liko {{ count }} puslapis",
|
|
211
|
+
"descriptive_other": "Skyriuje liko {{ count }} puslapiai"
|
|
160
212
|
},
|
|
161
213
|
"pagesLeftInPublication": {
|
|
162
|
-
"
|
|
163
|
-
"
|
|
214
|
+
"descriptive_few": "",
|
|
215
|
+
"descriptive_one": "Leidinyje liko {{ count }} puslapis",
|
|
216
|
+
"descriptive_other": "Leidinyje liko {{ count }} puslapiai (-ių)"
|
|
164
217
|
},
|
|
165
218
|
"percentage": "{{ percentage }}%",
|
|
166
219
|
"positionsLeft": {
|
|
167
|
-
"
|
|
168
|
-
"
|
|
220
|
+
"descriptive_few": "",
|
|
221
|
+
"descriptive_one": "Liko {{ count }} pozicija",
|
|
222
|
+
"descriptive_other": ""
|
|
169
223
|
},
|
|
170
224
|
"positionsLeftInChapter": {
|
|
171
|
-
"
|
|
172
|
-
"
|
|
225
|
+
"descriptive_few": "",
|
|
226
|
+
"descriptive_one": "Skyriuje liko {{ count }} pozicija",
|
|
227
|
+
"descriptive_other": "Skyriuje liko {{ count }} pozicijos (-ų)"
|
|
173
228
|
},
|
|
174
229
|
"positionsLeftInPublication": {
|
|
175
|
-
"
|
|
176
|
-
"
|
|
230
|
+
"descriptive_few": "",
|
|
231
|
+
"descriptive_one": "Leidinyje liko {{ count }} pozicija",
|
|
232
|
+
"descriptive_other": "Leidinyje liko {{ count }} pozicijos (-ų)"
|
|
177
233
|
},
|
|
178
234
|
"range": "{{ start }}–{{ end }}",
|
|
179
235
|
"xOfY": {
|
|
@@ -151,29 +151,29 @@
|
|
|
151
151
|
},
|
|
152
152
|
"progression": {
|
|
153
153
|
"pagesLeft": {
|
|
154
|
-
"
|
|
155
|
-
"
|
|
154
|
+
"descriptive_one": "{{ count }} página restante",
|
|
155
|
+
"descriptive_other": "{{ count }} páginas restantes"
|
|
156
156
|
},
|
|
157
157
|
"pagesLeftInChapter": {
|
|
158
|
-
"
|
|
159
|
-
"
|
|
158
|
+
"descriptive_one": "{{ count }} página restante no capítulo",
|
|
159
|
+
"descriptive_other": "{{ count }} páginas restantes no capítulo"
|
|
160
160
|
},
|
|
161
161
|
"pagesLeftInPublication": {
|
|
162
|
-
"
|
|
163
|
-
"
|
|
162
|
+
"descriptive_one": "{{ count }} página restante em publicação",
|
|
163
|
+
"descriptive_other": "{{ count }} páginas restantes em publicação"
|
|
164
164
|
},
|
|
165
165
|
"percentage": "{{ percentage }}%",
|
|
166
166
|
"positionsLeft": {
|
|
167
|
-
"
|
|
168
|
-
"
|
|
167
|
+
"descriptive_one": "{{ count }} posição restante",
|
|
168
|
+
"descriptive_other": "{{ count }} posições restantes"
|
|
169
169
|
},
|
|
170
170
|
"positionsLeftInChapter": {
|
|
171
|
-
"
|
|
172
|
-
"
|
|
171
|
+
"descriptive_one": "{{ count }} posição restante no capítulo",
|
|
172
|
+
"descriptive_other": "{{ count }} posições restantes no capítulo"
|
|
173
173
|
},
|
|
174
174
|
"positionsLeftInPublication": {
|
|
175
|
-
"
|
|
176
|
-
"
|
|
175
|
+
"descriptive_one": "{{ count }} posição restante na publicação",
|
|
176
|
+
"descriptive_other": "{{ count }} posições restantes na publicação"
|
|
177
177
|
},
|
|
178
178
|
"range": "{{ start }}–{{ end }}",
|
|
179
179
|
"xOfY": {
|
|
@@ -151,29 +151,29 @@
|
|
|
151
151
|
},
|
|
152
152
|
"progression": {
|
|
153
153
|
"pagesLeft": {
|
|
154
|
-
"
|
|
155
|
-
"
|
|
154
|
+
"descriptive_one": "{{ count }} página restante",
|
|
155
|
+
"descriptive_other": "{{ count }} páginas restantes"
|
|
156
156
|
},
|
|
157
157
|
"pagesLeftInChapter": {
|
|
158
|
-
"
|
|
159
|
-
"
|
|
158
|
+
"descriptive_one": "{{ count }} página restante no capítulo",
|
|
159
|
+
"descriptive_other": "{{ count }} páginas restantes no capítulo"
|
|
160
160
|
},
|
|
161
161
|
"pagesLeftInPublication": {
|
|
162
|
-
"
|
|
163
|
-
"
|
|
162
|
+
"descriptive_one": "{{ count }} página restante na publicação",
|
|
163
|
+
"descriptive_other": "{{ count }} páginas restantes na publicação"
|
|
164
164
|
},
|
|
165
165
|
"percentage": "{{ percentage }}%",
|
|
166
166
|
"positionsLeft": {
|
|
167
|
-
"
|
|
168
|
-
"
|
|
167
|
+
"descriptive_one": "{{ count }} posição restante",
|
|
168
|
+
"descriptive_other": "{{ count }} posições restantes"
|
|
169
169
|
},
|
|
170
170
|
"positionsLeftInChapter": {
|
|
171
|
-
"
|
|
172
|
-
"
|
|
171
|
+
"descriptive_one": "{{ count }} posição restante no capítulo",
|
|
172
|
+
"descriptive_other": "{{ count }} posições restantes no capítulo"
|
|
173
173
|
},
|
|
174
174
|
"positionsLeftInPublication": {
|
|
175
|
-
"
|
|
176
|
-
"
|
|
175
|
+
"descriptive_one": "{{ count }} posição restante na publicação",
|
|
176
|
+
"descriptive_other": "{{ count }} posições restantes na publicação"
|
|
177
177
|
},
|
|
178
178
|
"range": "{{ start }}–{{ end }}",
|
|
179
179
|
"xOfY": {
|
|
@@ -149,29 +149,29 @@
|
|
|
149
149
|
},
|
|
150
150
|
"progression": {
|
|
151
151
|
"pagesLeft": {
|
|
152
|
-
"
|
|
153
|
-
"
|
|
152
|
+
"descriptive_one": "{{ count }} sida kvar",
|
|
153
|
+
"descriptive_other": "{{ count }} sidor kvar"
|
|
154
154
|
},
|
|
155
155
|
"pagesLeftInChapter": {
|
|
156
|
-
"
|
|
157
|
-
"
|
|
156
|
+
"descriptive_one": "{{ count }} sida kvar i kapitlet",
|
|
157
|
+
"descriptive_other": "{{ count }} sidor kvar i kapitlet"
|
|
158
158
|
},
|
|
159
159
|
"pagesLeftInPublication": {
|
|
160
|
-
"
|
|
161
|
-
"
|
|
160
|
+
"descriptive_one": "{{ count }} sida kvar i publikationen",
|
|
161
|
+
"descriptive_other": "{{ count }} sidor kvar i publikationen"
|
|
162
162
|
},
|
|
163
163
|
"percentage": "{{ percentage }}%",
|
|
164
164
|
"positionsLeft": {
|
|
165
|
-
"
|
|
166
|
-
"
|
|
165
|
+
"descriptive_one": "{{ count }} position kvar",
|
|
166
|
+
"descriptive_other": "{{ count }} positioner kvar"
|
|
167
167
|
},
|
|
168
168
|
"positionsLeftInChapter": {
|
|
169
|
-
"
|
|
170
|
-
"
|
|
169
|
+
"descriptive_one": "{{ count }} position kvar i kapitlet",
|
|
170
|
+
"descriptive_other": "{{ count }} positioner kvar i nuvarande kapitel"
|
|
171
171
|
},
|
|
172
172
|
"positionsLeftInPublication": {
|
|
173
|
-
"
|
|
174
|
-
"
|
|
173
|
+
"descriptive_one": "{{ count }} position kvar i publikation",
|
|
174
|
+
"descriptive_other": "{{ count }} kvar i boken"
|
|
175
175
|
},
|
|
176
176
|
"range": "{{ start }}–{{ end }}",
|
|
177
177
|
"xOfY": {
|
|
@@ -39,35 +39,37 @@
|
|
|
39
39
|
},
|
|
40
40
|
"fontFamily": {
|
|
41
41
|
"publisher": "Yayımcının yazı biçimi",
|
|
42
|
+
"sans": "Sans-serif",
|
|
42
43
|
"title": "Yazı biçimi ailesi"
|
|
43
44
|
},
|
|
45
|
+
"fontSize": "Yazı tipi boyutu",
|
|
44
46
|
"title": "Görüntüleme Ayarları"
|
|
45
47
|
},
|
|
46
48
|
"progression": {
|
|
47
49
|
"pagesLeft": {
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
+
"descriptive_one": "{{ count }} sayfa kaldı",
|
|
51
|
+
"descriptive_other": "{{ count }} sayfa kaldı"
|
|
50
52
|
},
|
|
51
53
|
"pagesLeftInChapter": {
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
+
"descriptive_one": "Bölümde, {{ count }} sayfa kaldı",
|
|
55
|
+
"descriptive_other": "Bölümde, {{ count }} sayfa kaldı"
|
|
54
56
|
},
|
|
55
57
|
"pagesLeftInPublication": {
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
+
"descriptive_one": "Eserde, {{ count }} sayfa kaldı",
|
|
59
|
+
"descriptive_other": "Eserde, {{ count }} sayfa kaldı"
|
|
58
60
|
},
|
|
59
61
|
"percentage": "%{{ percentage }}",
|
|
60
62
|
"positionsLeft": {
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
+
"descriptive_one": "Geriye {{ count }} kaldı",
|
|
64
|
+
"descriptive_other": "Geriye {{ count }} kaldı"
|
|
63
65
|
},
|
|
64
66
|
"positionsLeftInChapter": {
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
+
"descriptive_one": "Bölümde, geriye {{ count }} kaldı",
|
|
68
|
+
"descriptive_other": "Bölümde, geriye {{ count }} kaldı"
|
|
67
69
|
},
|
|
68
70
|
"positionsLeftInPublication": {
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
+
"descriptive_one": "Eserde, geriye {{ count }} kaldı",
|
|
72
|
+
"descriptive_other": "Eserde, geriye {{ count }} kaldı"
|
|
71
73
|
},
|
|
72
74
|
"range": "{{ start }}–{{ end }}",
|
|
73
75
|
"xOfY": {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { C as CustomizableKeys, D as DefaultKeys, a as ThPreferences, T as ThPreferencesAdapter, b as ThemeTokens } from '../ThPreferencesAdapter-
|
|
2
|
-
export { A as ActionKey,
|
|
1
|
+
import { C as CustomizableKeys, D as DefaultKeys, a as ThPreferences, T as ThPreferencesAdapter, b as ThemeTokens, F as FontCollection, L as LocalStaticFontFile, c as FontDefinition, d as ThActionsTokens, e as ThSettingsRangePref } from '../ThPreferencesAdapter-CcJgE3zC.mjs';
|
|
2
|
+
export { A as ActionKey, U as ActionKeyType, B as BunnyFontSource, j as FontSource, k as FontSpec, G as GoogleFontSource, I as I18nValue, i as LocalFontSource, g as LocalStaticFontSource, f as LocalVariableFontFile, h as LocalVariableFontSource, w as SettingsKey, Y as SettingsKeyType, y as SpacingSettingsKey, _ as SpacingSettingsKeyType, S as SystemFontSource, x as TextSettingsKey, Z as TextSettingsKeyType, r as ThActionsDockedPref, z as ThActionsPref, q as ThActionsSnappedPref, n as ThBackLinkContent, o as ThBackLinkPref, p as ThBottomSheetDetent, M as ThConstraintKeys, E as ThDockingPref, m as ThFontFamilyPref, O as ThFormatPref, N as ThFormatPrefValue, Q as ThPaginatedAffordancePref, P as ThPaginatedAffordancePrefValue, H as ThSettingsGroupPref, K as ThSettingsKeyTypes, J as ThSettingsRadioPref, s as ThSettingsSpacingPresets, t as ThSpacingPreset, v as ThemeKey, X as ThemeKeyType, l as ValidatedLanguageCollection, V as VariableFontRangeConfig, W as WeightConfig, R as createPreferences, u as useTheming, $ as useThemingProps } from '../ThPreferencesAdapter-CcJgE3zC.mjs';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
export { T as ThPreferencesProvider, u as usePreferences } from '../usePreferences-
|
|
4
|
+
export { T as ThPreferencesProvider, u as usePreferences } from '../usePreferences-CM_Y2jpZ.mjs';
|
|
5
5
|
import { T as ThColorScheme } from '../useContrast-Cgsrl7GS.mjs';
|
|
6
|
-
import {
|
|
7
|
-
export {
|
|
6
|
+
import { m as ThActionsKeys, l as ThThemeKeys, o as ThSettingsKeys, p as ThTextSettingsKeys, q as ThSpacingSettingsKeys, u as ThSpacingPresetKeys, T as ThLineHeightOptions } from '../enums-Bhwwdfx5.mjs';
|
|
7
|
+
export { d as ThArrowVariant, g as ThBackLinkVariant, b as ThBreakpoints, c as ThDockingKeys, n as ThDockingTypes, f as ThDocumentTitleFormat, e as ThLayoutDirection, w as ThLayoutOptions, j as ThLayoutUI, i as ThProgressionFormat, h as ThRunningHeadFormat, v as ThSettingsContainerKeys, s as ThSettingsRangePlaceholder, r as ThSettingsRangeVariant, t as ThSheetHeaderVariant, k as ThSheetTypes, a as ThTextAlignOptions } from '../enums-Bhwwdfx5.mjs';
|
|
8
8
|
import '../keyboardUtilities-BWAyLS_D.mjs';
|
|
9
|
-
import '../useBreakpoints-
|
|
9
|
+
import '../useBreakpoints-LTrHif3E.mjs';
|
|
10
10
|
import '@readium/navigator';
|
|
11
11
|
import '../useCollapsibility-CM1I24Ol.mjs';
|
|
12
12
|
import 'react/jsx-runtime';
|
|
@@ -45,6 +45,57 @@ interface buildThemeProps<T extends string> {
|
|
|
45
45
|
}
|
|
46
46
|
declare const buildThemeObject: <T extends string>({ theme, themeKeys, systemThemes, colorScheme }: buildThemeProps<T>) => {};
|
|
47
47
|
|
|
48
|
+
interface BunnyFontDefinitionParams {
|
|
49
|
+
cssUrl: string;
|
|
50
|
+
options?: {
|
|
51
|
+
labels?: Record<string, string>;
|
|
52
|
+
fallbacks?: Record<string, string[]>;
|
|
53
|
+
order?: string[];
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Parses a Bunny Fonts CSS URL and creates font definitions for all families
|
|
58
|
+
* @param params Bunny Fonts CSS URL and optional configuration
|
|
59
|
+
* @returns FontCollection object with all font definitions
|
|
60
|
+
* @throws Error if CSS URL is invalid or cannot be parsed
|
|
61
|
+
*/
|
|
62
|
+
declare const createDefinitionsFromBunnyFonts: (params: BunnyFontDefinitionParams) => FontCollection;
|
|
63
|
+
|
|
64
|
+
interface GoogleFontDefinitionParams {
|
|
65
|
+
cssUrl: string;
|
|
66
|
+
options?: {
|
|
67
|
+
widthStep?: number;
|
|
68
|
+
weightStep?: number;
|
|
69
|
+
display?: "swap" | "block" | "fallback" | "optional";
|
|
70
|
+
labels?: Record<string, string>;
|
|
71
|
+
fallbacks?: Record<string, string[]>;
|
|
72
|
+
order?: string[];
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Parses a Google Fonts CSS URL and creates font definitions for all families
|
|
77
|
+
* @param params Google Fonts CSS URL and optional configuration for step values and display
|
|
78
|
+
* @returns FontCollection object with all font definitions
|
|
79
|
+
* @throws Error if CSS URL is invalid or cannot be parsed
|
|
80
|
+
*/
|
|
81
|
+
declare const createDefinitionsFromGoogleFonts: (params: GoogleFontDefinitionParams) => FontCollection;
|
|
82
|
+
|
|
83
|
+
interface CreateFontDefinitionParams {
|
|
84
|
+
id: string;
|
|
85
|
+
name: string;
|
|
86
|
+
files: LocalStaticFontFile[];
|
|
87
|
+
family?: string;
|
|
88
|
+
label?: string;
|
|
89
|
+
fallbacks?: string[];
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Creates a complete font definition by inferring properties from static font files
|
|
93
|
+
* @param params Font definition parameters
|
|
94
|
+
* @returns Complete font definition with inferred spec
|
|
95
|
+
* @throws Error if files are not static font files or if no files provided
|
|
96
|
+
*/
|
|
97
|
+
declare const createDefinitionFromStaticFonts: (params: CreateFontDefinitionParams) => FontDefinition;
|
|
98
|
+
|
|
48
99
|
declare const usePreferenceKeys: () => {
|
|
49
100
|
reflowActionKeys: ThActionsKeys[];
|
|
50
101
|
fxlActionKeys: ThActionsKeys[];
|
|
@@ -63,4 +114,50 @@ declare const usePreferenceKeys: () => {
|
|
|
63
114
|
webPubSpacingPresetKeys: ThSpacingPresetKeys[];
|
|
64
115
|
};
|
|
65
116
|
|
|
66
|
-
|
|
117
|
+
declare const defaultActionKeysObject: ThActionsTokens;
|
|
118
|
+
declare const defaultTextSettingsMain: ThTextSettingsKeys[];
|
|
119
|
+
declare const defaultTextSettingsSubpanel: ThTextSettingsKeys[];
|
|
120
|
+
declare const defaultSpacingSettingsMain: ThSpacingSettingsKeys[];
|
|
121
|
+
declare const defaultSpacingSettingsSubpanel: ThSpacingSettingsKeys[];
|
|
122
|
+
declare const defaultSpacingPresetsOrder: ThSpacingPresetKeys[];
|
|
123
|
+
declare const readiumCSSFontCollection: FontCollection;
|
|
124
|
+
declare const defaultFontCollection: FontCollection;
|
|
125
|
+
declare const tamilCollection: {
|
|
126
|
+
[x: string]: FontDefinition;
|
|
127
|
+
};
|
|
128
|
+
declare const defaultParagraphSpacing: Required<ThSettingsRangePref>;
|
|
129
|
+
declare const defaultParagraphIndent: Required<ThSettingsRangePref>;
|
|
130
|
+
declare const defaultWordSpacing: Required<ThSettingsRangePref>;
|
|
131
|
+
declare const defaultLetterSpacing: Required<ThSettingsRangePref>;
|
|
132
|
+
declare const defaultLineHeights: {
|
|
133
|
+
small: number;
|
|
134
|
+
medium: number;
|
|
135
|
+
large: number;
|
|
136
|
+
};
|
|
137
|
+
declare const defaultZoom: Required<ThSettingsRangePref>;
|
|
138
|
+
declare const defaultSpacingPresets: {
|
|
139
|
+
tight: {
|
|
140
|
+
lineHeight: ThLineHeightOptions;
|
|
141
|
+
paragraphSpacing: number;
|
|
142
|
+
paragraphIndent: number;
|
|
143
|
+
};
|
|
144
|
+
balanced: {
|
|
145
|
+
lineHeight: ThLineHeightOptions;
|
|
146
|
+
paragraphSpacing: number;
|
|
147
|
+
paragraphIndent: number;
|
|
148
|
+
};
|
|
149
|
+
loose: {
|
|
150
|
+
lineHeight: ThLineHeightOptions;
|
|
151
|
+
paragraphSpacing: number;
|
|
152
|
+
paragraphIndent: number;
|
|
153
|
+
};
|
|
154
|
+
accessible: {
|
|
155
|
+
lineHeight: ThLineHeightOptions;
|
|
156
|
+
paragraphSpacing: number;
|
|
157
|
+
paragraphIndent: number;
|
|
158
|
+
letterSpacing: number;
|
|
159
|
+
wordSpacing: number;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
export { CustomizableKeys, DefaultKeys, FontCollection, FontDefinition, type GoogleFontDefinitionParams, LocalStaticFontFile, type PreferencesContextValue, ThActionsKeys, ThActionsTokens, ThLineHeightOptions, ThMemoryPreferencesAdapter, ThPreferences, ThPreferencesAdapter, ThPreferencesContext, ThSettingsKeys, ThSettingsRangePref, ThSpacingPresetKeys, ThSpacingSettingsKeys, ThTextSettingsKeys, ThThemeKeys, ThemeTokens, buildThemeObject, type buildThemeProps, createDefinitionFromStaticFonts, createDefinitionsFromBunnyFonts, createDefinitionsFromGoogleFonts, defaultActionKeysObject, defaultFontCollection, defaultLetterSpacing, defaultLineHeights, defaultParagraphIndent, defaultParagraphSpacing, defaultPreferences, defaultPreferencesContextValue, defaultSpacingPresets, defaultSpacingPresetsOrder, defaultSpacingSettingsMain, defaultSpacingSettingsSubpanel, defaultTextSettingsMain, defaultTextSettingsSubpanel, defaultWordSpacing, defaultZoom, readiumCSSFontCollection, tamilCollection, usePreferenceKeys };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { ThMemoryPreferencesAdapter, ThPreferencesContext, ThPreferencesProvider, buildThemeObject, createPreferences, defaultPreferences, defaultPreferencesContextValue, usePreferenceKeys, usePreferences, useTheming } from '../chunk-
|
|
1
|
+
export { ThMemoryPreferencesAdapter, ThPreferencesContext, ThPreferencesProvider, buildThemeObject, createDefinitionFromStaticFonts, createDefinitionsFromBunnyFonts, createDefinitionsFromGoogleFonts, createPreferences, defaultActionKeysObject, defaultFontCollection, defaultLetterSpacing, defaultLineHeights, defaultParagraphIndent, defaultParagraphSpacing, defaultPreferences, defaultPreferencesContextValue, defaultSpacingPresets, defaultSpacingPresetsOrder, defaultSpacingSettingsMain, defaultSpacingSettingsSubpanel, defaultTextSettingsMain, defaultTextSettingsSubpanel, defaultWordSpacing, defaultZoom, readiumCSSFontCollection, tamilCollection, usePreferenceKeys, usePreferences, useTheming } from '../chunk-VN44OJDD.mjs';
|
|
2
2
|
import '../chunk-7CGMWOZN.mjs';
|
|
3
3
|
import '../chunk-BNPR6V7V.mjs';
|
|
4
4
|
import '../chunk-5LUMM7FW.mjs';
|
|
5
5
|
import '../chunk-NQ2ZSGCX.mjs';
|
|
6
|
-
|
|
6
|
+
import '../chunk-B3WDMWCT.mjs';
|
|
7
7
|
import '../chunk-MLEYTQGK.mjs';
|
|
8
8
|
export { ThActionsKeys, ThArrowVariant, ThBackLinkVariant, ThBreakpoints, ThDockingKeys, ThDockingTypes, ThDocumentTitleFormat, ThLayoutDirection, ThLayoutOptions, ThLayoutUI, ThLineHeightOptions, ThProgressionFormat, ThRunningHeadFormat, ThSettingsContainerKeys, ThSettingsKeys, ThSettingsRangePlaceholder, ThSettingsRangeVariant, ThSheetHeaderVariant, ThSheetTypes, ThSpacingPresetKeys, ThSpacingSettingsKeys, ThTextAlignOptions, ThTextSettingsKeys, ThThemeKeys } from '../chunk-CVM2ZAPL.mjs';
|
|
9
9
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _readium_navigator from '@readium/navigator';
|
|
2
|
-
import { EpubNavigatorListeners, IEpubPreferences, IEpubDefaults, EpubSettings } from '@readium/navigator';
|
|
2
|
+
import { EpubNavigatorListeners, IEpubPreferences, IEpubDefaults, IInjectablesConfig, EpubSettings } from '@readium/navigator';
|
|
3
3
|
import { Publication, Locator, Link, Layout } from '@readium/shared';
|
|
4
4
|
|
|
5
5
|
type cbb = (ok: boolean) => void;
|
|
@@ -11,6 +11,7 @@ interface EpubNavigatorLoadProps {
|
|
|
11
11
|
initialPosition?: Locator;
|
|
12
12
|
preferences?: IEpubPreferences;
|
|
13
13
|
defaults?: IEpubDefaults;
|
|
14
|
+
injectables?: IInjectablesConfig;
|
|
14
15
|
}
|
|
15
16
|
declare const useEpubNavigator: () => {
|
|
16
17
|
EpubNavigatorLoad: (config: EpubNavigatorLoadProps, cb: Function) => void;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { C as CustomizableKeys, D as DefaultKeys, T as ThPreferencesAdapter, a as ThPreferences, W as WeightConfig, V as VariableFontRangeConfig, F as FontCollection } from './ThPreferencesAdapter-CcJgE3zC.mjs';
|
|
3
|
+
import { ILinkInjectable, IUrlInjectable, IBlobInjectable } from '@readium/navigator';
|
|
4
|
+
|
|
5
|
+
type Props<K extends CustomizableKeys = DefaultKeys> = {
|
|
6
|
+
adapter?: ThPreferencesAdapter<K>;
|
|
7
|
+
initialPreferences?: ThPreferences<K>;
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
};
|
|
10
|
+
declare function ThPreferencesProvider<K extends CustomizableKeys = DefaultKeys>({ adapter, initialPreferences, children, }: Props<K>): react_jsx_runtime.JSX.Element;
|
|
11
|
+
|
|
12
|
+
type FontResource = (ILinkInjectable & IUrlInjectable) | (ILinkInjectable & IBlobInjectable);
|
|
13
|
+
interface InjectableFontResources {
|
|
14
|
+
allowedDomains: string[];
|
|
15
|
+
prepend: FontResource[];
|
|
16
|
+
append: FontResource[];
|
|
17
|
+
}
|
|
18
|
+
interface FontMetadata {
|
|
19
|
+
fontStack: string | null;
|
|
20
|
+
fontFamily: string | null;
|
|
21
|
+
weights: WeightConfig | null;
|
|
22
|
+
widths: VariableFontRangeConfig | null;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare function usePreferences<K extends CustomizableKeys = DefaultKeys>(): {
|
|
26
|
+
preferences: ThPreferences<K>;
|
|
27
|
+
updatePreferences: (prefs: ThPreferences<K>) => void;
|
|
28
|
+
getFontInjectables: (options?: {
|
|
29
|
+
language?: string;
|
|
30
|
+
} | {
|
|
31
|
+
key?: string;
|
|
32
|
+
}, optimize?: boolean) => InjectableFontResources | null;
|
|
33
|
+
getFontsList: (options?: {
|
|
34
|
+
language?: string;
|
|
35
|
+
} | {
|
|
36
|
+
key?: string;
|
|
37
|
+
}) => FontCollection;
|
|
38
|
+
getFontMetadata: (fontId: string) => FontMetadata;
|
|
39
|
+
resolveFontLanguage: (bcp47Tag: string | undefined, direction: "ltr" | "rtl") => string;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export { ThPreferencesProvider as T, usePreferences as u };
|