@edrlab/thorium-web 1.3.1 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/{ThPreferencesAdapter-D0rzsGRl.d.mts → ThPreferencesAdapter-L1H6gzmu.d.mts} +23 -6
  2. package/dist/{ThSettingsWrapper-BXuRgdqp.d.mts → ThSettingsWrapper-DWEA4hYF.d.mts} +1 -1
  3. package/dist/{actions-BLAr0oaM.d.mts → actions-BjeRjaJU.d.mts} +1 -1
  4. package/dist/{actionsReducer-XWTGGNUd.d.mts → actionsReducer-B32cq2mB.d.mts} +1 -1
  5. package/dist/{chunk-L4XGZAZ5.mjs → chunk-2YRT7RNW.mjs} +20 -3
  6. package/dist/chunk-2YRT7RNW.mjs.map +1 -0
  7. package/dist/{chunk-6BUN7DEA.mjs → chunk-6MONB2DN.mjs} +63 -56
  8. package/dist/chunk-6MONB2DN.mjs.map +1 -0
  9. package/dist/chunk-A575ZW4A.mjs +10 -0
  10. package/dist/chunk-A575ZW4A.mjs.map +1 -0
  11. package/dist/chunk-AE6P4KJB.mjs +13 -0
  12. package/dist/chunk-AE6P4KJB.mjs.map +1 -0
  13. package/dist/{chunk-2ORXUOH3.mjs → chunk-IVXRCKWR.mjs} +4 -4
  14. package/dist/{chunk-2ORXUOH3.mjs.map → chunk-IVXRCKWR.mjs.map} +1 -1
  15. package/dist/{chunk-I4BKU5NN.mjs → chunk-KVUG6BNI.mjs} +90 -26
  16. package/dist/chunk-KVUG6BNI.mjs.map +1 -0
  17. package/dist/{chunk-6EHFW43Y.mjs → chunk-NUXGQWED.mjs} +4 -3
  18. package/dist/chunk-NUXGQWED.mjs.map +1 -0
  19. package/dist/{chunk-DETZMFZ7.mjs → chunk-P6ILEQ5P.mjs} +24 -26
  20. package/dist/chunk-P6ILEQ5P.mjs.map +1 -0
  21. package/dist/{chunk-LP3JFZ4A.mjs → chunk-PXXWEMNL.mjs} +666 -430
  22. package/dist/chunk-PXXWEMNL.mjs.map +1 -0
  23. package/dist/{chunk-SAUOY37Q.mjs → chunk-QUSGPT5M.mjs} +11 -12
  24. package/dist/chunk-QUSGPT5M.mjs.map +1 -0
  25. package/dist/{chunk-A3FZBEUL.mjs → chunk-SZAVAQ6S.mjs} +30 -6
  26. package/dist/chunk-SZAVAQ6S.mjs.map +1 -0
  27. package/dist/{chunk-NKO3K3QS.mjs → chunk-T5ENYSDJ.mjs} +5 -5
  28. package/dist/chunk-T5ENYSDJ.mjs.map +1 -0
  29. package/dist/{chunk-DMZFSOHK.mjs → chunk-TSLTLQ6O.mjs} +125 -40
  30. package/dist/chunk-TSLTLQ6O.mjs.map +1 -0
  31. package/dist/{chunk-ITDBOMY5.mjs → chunk-VENFFPK2.mjs} +3 -3
  32. package/dist/{chunk-ITDBOMY5.mjs.map → chunk-VENFFPK2.mjs.map} +1 -1
  33. package/dist/{chunk-EZG6SBSO.mjs → chunk-WLVE3WNW.mjs} +95 -25
  34. package/dist/chunk-WLVE3WNW.mjs.map +1 -0
  35. package/dist/chunk-XRFLDNAY.mjs +3913 -0
  36. package/dist/chunk-XRFLDNAY.mjs.map +1 -0
  37. package/dist/components/Audio/index.d.mts +12 -12
  38. package/dist/components/Audio/index.mjs +15 -15
  39. package/dist/components/Epub/index.css +3 -3
  40. package/dist/components/Epub/index.css.map +1 -1
  41. package/dist/components/Epub/index.d.mts +12 -12
  42. package/dist/components/Epub/index.mjs +16 -16
  43. package/dist/components/Misc/index.mjs +4 -4
  44. package/dist/components/Reader/index.css +3 -3
  45. package/dist/components/Reader/index.css.map +1 -1
  46. package/dist/components/Reader/index.d.mts +11 -11
  47. package/dist/components/Reader/index.mjs +26 -24
  48. package/dist/components/Reader/index.mjs.map +1 -1
  49. package/dist/components/WebPub/index.css +3 -3
  50. package/dist/components/WebPub/index.css.map +1 -1
  51. package/dist/components/WebPub/index.d.mts +12 -12
  52. package/dist/components/WebPub/index.mjs +16 -16
  53. package/dist/core/Components/index.d.mts +11 -21
  54. package/dist/core/Components/index.mjs +1 -1
  55. package/dist/core/Helpers/index.d.mts +1 -1
  56. package/dist/core/Helpers/index.mjs +2 -3
  57. package/dist/core/Hooks/index.d.mts +12 -8
  58. package/dist/core/Hooks/index.mjs +1 -1
  59. package/dist/i18n/index.mjs +3 -6
  60. package/dist/lib/index.d.mts +49 -20
  61. package/dist/lib/index.mjs +3 -2
  62. package/dist/locales/da/thorium-shared.json +3 -0
  63. package/dist/locales/en/thorium-shared.json +24 -2
  64. package/dist/locales/en/thorium-web.json +2 -2
  65. package/dist/locales/es/thorium-shared.json +364 -0
  66. package/dist/locales/es/thorium-web.json +130 -0
  67. package/dist/locales/et/thorium-shared.json +121 -9
  68. package/dist/locales/et/thorium-web.json +32 -1
  69. package/dist/locales/fi/thorium-shared.json +42 -4
  70. package/dist/locales/fi/thorium-web.json +36 -2
  71. package/dist/locales/fr/thorium-shared.json +108 -1
  72. package/dist/locales/fr/thorium-web.json +121 -86
  73. package/dist/locales/it/thorium-shared.json +108 -1
  74. package/dist/locales/it/thorium-web.json +15 -2
  75. package/dist/locales/lt/thorium-web.json +10 -1
  76. package/dist/locales/pl/thorium-web.json +1 -1
  77. package/dist/locales/pt-BR/thorium-shared.json +6 -0
  78. package/dist/locales/pt-BR/thorium-web.json +88 -88
  79. package/dist/locales/pt-PT/thorium-shared.json +91 -0
  80. package/dist/locales/pt-PT/thorium-web.json +15 -3
  81. package/dist/locales/sv/thorium-shared.json +108 -2
  82. package/dist/locales/sv/thorium-web.json +15 -3
  83. package/dist/locales/tr/thorium-shared.json +42 -0
  84. package/dist/preferences/index.d.mts +59 -13
  85. package/dist/preferences/index.mjs +6 -6
  86. package/dist/{settingsReducer-Bu1zeveu.d.mts → settingsReducer-DLaT2wUB.d.mts} +14 -2
  87. package/dist/{ui-nBv8gfr0.d.mts → ui-DnZZhozX.d.mts} +1 -1
  88. package/dist/{useAudioNavigator-C5aW4-eT.d.mts → useAudioNavigator-CWXyNWq1.d.mts} +3 -1
  89. package/dist/{useContrast-2t429O9O.d.mts → useContrast-Bo7cDw_X.d.mts} +5 -1
  90. package/dist/{usePreferences-VaBf46eP.d.mts → usePreferences-D8NU1yhP.d.mts} +6 -8
  91. package/dist/{useReaderTransitions-IBGdE7qi.d.mts → useReaderTransitions-BQGzKeY2.d.mts} +61 -10
  92. package/package.json +10 -9
  93. package/dist/chunk-6BUN7DEA.mjs.map +0 -1
  94. package/dist/chunk-6EHFW43Y.mjs.map +0 -1
  95. package/dist/chunk-7CGMWOZN.mjs +0 -20
  96. package/dist/chunk-7CGMWOZN.mjs.map +0 -1
  97. package/dist/chunk-A3FZBEUL.mjs.map +0 -1
  98. package/dist/chunk-DETZMFZ7.mjs.map +0 -1
  99. package/dist/chunk-DMZFSOHK.mjs.map +0 -1
  100. package/dist/chunk-DTPO3J2C.mjs +0 -1732
  101. package/dist/chunk-DTPO3J2C.mjs.map +0 -1
  102. package/dist/chunk-EZG6SBSO.mjs.map +0 -1
  103. package/dist/chunk-GPWW5OML.mjs +0 -1955
  104. package/dist/chunk-GPWW5OML.mjs.map +0 -1
  105. package/dist/chunk-I4BKU5NN.mjs.map +0 -1
  106. package/dist/chunk-L4XGZAZ5.mjs.map +0 -1
  107. package/dist/chunk-LP3JFZ4A.mjs.map +0 -1
  108. package/dist/chunk-NKO3K3QS.mjs.map +0 -1
  109. package/dist/chunk-SAUOY37Q.mjs.map +0 -1
@@ -37,6 +37,10 @@
37
37
  "compact": "Seguinte",
38
38
  "descriptive": "Página seguinte"
39
39
  },
40
+ "goToNextResource": {
41
+ "compact": "Seguinte",
42
+ "descriptive": "Recurso seguinte"
43
+ },
40
44
  "goToNextSentence": {
41
45
  "compact": "Seguinte",
42
46
  "descriptive": "Frase seguinte"
@@ -53,11 +57,83 @@
53
57
  "compact": "Anterior",
54
58
  "descriptive": "Página anterior"
55
59
  },
60
+ "goToPreviousResource": {
61
+ "compact": "Anterior",
62
+ "descriptive": "Recurso anterior"
63
+ },
56
64
  "goToPreviousSentence": {
57
65
  "compact": "Anterior",
58
66
  "descriptive": "Frase anterior"
59
67
  }
60
68
  },
69
+ "annotations": {
70
+ "actions": {
71
+ "editNote": {
72
+ "compact": "Editar anotação"
73
+ }
74
+ },
75
+ "bookmarks": {
76
+ "actions": {
77
+ "add": {
78
+ "compact": "Adicionar marcador"
79
+ },
80
+ "delete": {
81
+ "compact": "Eliminar marcador",
82
+ "confirmation": "Tem a certeza de que deseja eliminar este marcador?"
83
+ }
84
+ },
85
+ "emptyState": {
86
+ "description": "Ainda não foram adicionados marcadores.",
87
+ "title": "Sem marcadores"
88
+ },
89
+ "title": "Marcadores"
90
+ },
91
+ "note": {
92
+ "title": "Anotação"
93
+ },
94
+ "sort": {
95
+ "lastEdited": {
96
+ "compact": "Última edição"
97
+ },
98
+ "progression": {
99
+ "compact": "Progresso"
100
+ }
101
+ }
102
+ },
103
+ "playback": {
104
+ "actions": {
105
+ "pause": "Pausa",
106
+ "play": "Tocar",
107
+ "skipBackward": {
108
+ "compact": "Rebobinar",
109
+ "descriptive": "Salta para trás"
110
+ },
111
+ "skipForward": {
112
+ "compact": "Avançar",
113
+ "descriptive": "Avanço rápido"
114
+ }
115
+ },
116
+ "preferences": {
117
+ "audio": {
118
+ "volume": "Volume"
119
+ },
120
+ "autoPlay": {
121
+ "label": "Reprodução contínua",
122
+ "title": "Reprodução automática"
123
+ },
124
+ "playbackRate": {
125
+ "compact": "Velocidade",
126
+ "descriptive": "Velocidade de reprodução"
127
+ },
128
+ "sleepTimer": {
129
+ "compact": "Temporizador",
130
+ "presets": {
131
+ "endOfChapter": "Fim do capítulo",
132
+ "endOfResource": "Fim do recurso"
133
+ }
134
+ }
135
+ }
136
+ },
61
137
  "preferences": {
62
138
  "brightness": "Brilho",
63
139
  "columns": {
@@ -244,6 +320,21 @@
244
320
  "descriptive": "{{ x }} de {{ y }} ({{ z }})"
245
321
  }
246
322
  },
323
+ "search": {
324
+ "actions": {
325
+ "next": {
326
+ "compact": "Resultado seguinte"
327
+ },
328
+ "previous": {
329
+ "compact": "Resultado anterior"
330
+ }
331
+ },
332
+ "placeholder": "Pesquisar por palavras-chave ou frases",
333
+ "result_many": "{{ current }} de {{ count }} resultados",
334
+ "result_one": "{{ current }} de {{ count }} resultado",
335
+ "result_other": "{{ current }} de {{ count }} resultados",
336
+ "title": "Pesquisar"
337
+ },
247
338
  "tableOfContents": {
248
339
  "emptyState": {
249
340
  "description": "O índice não foi fornecido para esta publicação.",
@@ -38,7 +38,7 @@
38
38
  "back": {
39
39
  "trigger": "Anterior"
40
40
  },
41
- "publicationWrapper": "Agora está na publicação.",
41
+ "publicationWrapper": "Agora está no documento.",
42
42
  "docking": {
43
43
  "dockingEmpty": "Atualmente vazio",
44
44
  "dockingClosed": "Está fechado, contém {{ action }}",
@@ -49,7 +49,16 @@
49
49
  "footer": {
50
50
  "label": "Barra inferior"
51
51
  },
52
- "printingDisabled": "A impressão foi desativada"
52
+ "printingDisabled": "A impressão foi desativada",
53
+ "errors": {
54
+ "title": "Erro",
55
+ "notFound": "Documento não encontrado.",
56
+ "accessDenied": "Acesso negado.",
57
+ "network": "Servidor indisponível. Tente novamente mais tarde.",
58
+ "serverError": "Erro de servidor. Tente novamente mais tarde.",
59
+ "clientError": "Pedido inválido.",
60
+ "generic": "Não foi possível carregar o documento."
61
+ }
53
62
  },
54
63
  "navigation": {
55
64
  "scroll": {
@@ -58,7 +67,10 @@
58
67
  },
59
68
  "jumpToPosition": {
60
69
  "go": "Ir",
61
- "label": "Selecionar uma posição entre {{ positionStart }} e {{ positionEnd }}:"
70
+ "label": "Selecionar uma posição entre {{ positionStart }} e {{ positionEnd }}:",
71
+ "error": {
72
+ "notFound": "Posição não encontrada."
73
+ }
62
74
  },
63
75
  "toc": {
64
76
  "entries": "Entradas no índice"
@@ -37,6 +37,10 @@
37
37
  "compact": "Nästa",
38
38
  "descriptive": "Nästa sida"
39
39
  },
40
+ "goToNextResource": {
41
+ "compact": "Nästa",
42
+ "descriptive": "Nästa resurs"
43
+ },
40
44
  "goToNextSentence": {
41
45
  "compact": "Nästa",
42
46
  "descriptive": "Nästa mening"
@@ -53,11 +57,91 @@
53
57
  "compact": "Föregående",
54
58
  "descriptive": "Föregående sida"
55
59
  },
60
+ "goToPreviousResource": {
61
+ "compact": "Föregående",
62
+ "descriptive": "Föregående resurs"
63
+ },
56
64
  "goToPreviousSentence": {
57
65
  "compact": "Föregående",
58
66
  "descriptive": "Föregående mening"
59
67
  }
60
68
  },
69
+ "annotations": {
70
+ "actions": {
71
+ "editNote": {
72
+ "compact": "Redigera anteckning"
73
+ }
74
+ },
75
+ "bookmarks": {
76
+ "actions": {
77
+ "add": {
78
+ "compact": "Lägg till bokmärke"
79
+ },
80
+ "delete": {
81
+ "compact": "Radera bokmärke",
82
+ "confirmation": "Är du säker på att du vill ta bort detta bokmärke?"
83
+ }
84
+ },
85
+ "emptyState": {
86
+ "description": "Nya bokmärken läggs till när du läser kommer att visas i den här listan.",
87
+ "title": "Inga bokmärken"
88
+ },
89
+ "title": "Bokmärken"
90
+ },
91
+ "note": {
92
+ "title": "Anteckning"
93
+ },
94
+ "sort": {
95
+ "lastAdded": {
96
+ "compact": "Senast tillagd"
97
+ },
98
+ "lastEdited": {
99
+ "compact": "Senast redigerad"
100
+ },
101
+ "progression": {
102
+ "compact": "Framsteg"
103
+ }
104
+ }
105
+ },
106
+ "playback": {
107
+ "actions": {
108
+ "pause": "Paus",
109
+ "play": "Spela",
110
+ "skipBackward": {
111
+ "compact": "Spola tillbaka",
112
+ "descriptive": "Hoppa bakåt"
113
+ },
114
+ "skipForward": {
115
+ "compact": "Framåt",
116
+ "descriptive": "Hoppa framåt"
117
+ }
118
+ },
119
+ "preferences": {
120
+ "audio": {
121
+ "skipBackwardInterval": "Hoppa bakåt intervall",
122
+ "skipForwardInterval": "Hoppa framåt intervall",
123
+ "skipInterval": "Hoppa intervall",
124
+ "title": "Ljudinställningar",
125
+ "volume": "Volym"
126
+ },
127
+ "autoPlay": {
128
+ "label": "Kontinuerlig uppspelning",
129
+ "title": "Autoplay"
130
+ },
131
+ "playbackRate": {
132
+ "compact": "Hastighet",
133
+ "descriptive": "Uppspelningshastighet"
134
+ },
135
+ "sleepTimer": {
136
+ "compact": "Timer",
137
+ "descriptive": "Sovtimer",
138
+ "presets": {
139
+ "endOfChapter": "Kapitlets slut",
140
+ "endOfResource": "Slut på resurs"
141
+ }
142
+ }
143
+ }
144
+ },
61
145
  "preferences": {
62
146
  "brightness": "Ljusstyrka",
63
147
  "columns": {
@@ -118,6 +202,10 @@
118
202
  "title": "Layout"
119
203
  },
120
204
  "letterSpacing": "Teckenavstånd",
205
+ "ligatures": {
206
+ "label": "Aktivera ligaturer",
207
+ "title": "Ligaturer"
208
+ },
121
209
  "lineHeight": {
122
210
  "default": "Standard",
123
211
  "large": "Luftigt",
@@ -125,6 +213,10 @@
125
213
  "small": "Tätt",
126
214
  "title": "Radavstånd"
127
215
  },
216
+ "noRuby": {
217
+ "label": "Dölj ruby-annoteringar",
218
+ "title": "Ruby-annoteringar"
219
+ },
128
220
  "offsetFirstPage": "Visa första sidan på egen hand",
129
221
  "paragraphIndent": "Styckeindrag",
130
222
  "paragraphSpacing": "Styckeavstånd",
@@ -229,7 +321,7 @@
229
321
  "compact_one": "{{ count }} kvar i publikationen",
230
322
  "compact_other": "{{ count }} kvar i publikationen",
231
323
  "descriptive_one": "{{ count }} position kvar i publikation",
232
- "descriptive_other": "{{ count }} kvar i boken"
324
+ "descriptive_other": "{{ count }} positioner kvar i publikationen"
233
325
  },
234
326
  "range": "{{ start }}–{{ end }}",
235
327
  "xOfY": {
@@ -237,9 +329,23 @@
237
329
  "descriptive": "{{ x }} av {{ y }} ({{ z }})"
238
330
  }
239
331
  },
332
+ "search": {
333
+ "actions": {
334
+ "next": {
335
+ "compact": "Nästa träff"
336
+ },
337
+ "previous": {
338
+ "compact": "Föregående träff"
339
+ }
340
+ },
341
+ "placeholder": "Sök efter nyckelord eller fraser",
342
+ "result_one": "{{ current }} av {{ count }} träff",
343
+ "result_other": "{{ current }} av {{ count }} träffar",
344
+ "title": "Sök"
345
+ },
240
346
  "tableOfContents": {
241
347
  "emptyState": {
242
- "description": "Den här boken saknar innehållsförteckning.",
348
+ "description": "En innehållsförteckning lämnades inte av författaren.",
243
349
  "title": "Ingen innehållsförteckning"
244
350
  },
245
351
  "title": "Innehållsförteckning"
@@ -2,7 +2,7 @@
2
2
  "reader": {
3
3
  "app": {
4
4
  "loading": "Laddar",
5
- "publicationWrapper": "Du är nu i boken.",
5
+ "publicationWrapper": "Du är nu i publikationen.",
6
6
  "docking": {
7
7
  "dockingLeft": "Dockad panel till vänster",
8
8
  "dockingRight": "Dockad panel till höger",
@@ -49,7 +49,16 @@
49
49
  "back": {
50
50
  "trigger": "Tillbaka"
51
51
  },
52
- "printingDisabled": "Utskrift har inaktiverats"
52
+ "printingDisabled": "Utskrift har inaktiverats",
53
+ "errors": {
54
+ "title": "Fel",
55
+ "notFound": "Ingen publikation hittades.",
56
+ "accessDenied": "Access nekas.",
57
+ "network": "Server otillgänglig - försök igen senare.",
58
+ "serverError": "Serverfel - försök igen senare.",
59
+ "clientError": "Ogiltig begäran.",
60
+ "generic": "Kan inte ladda publikationen."
61
+ }
53
62
  },
54
63
  "navigation": {
55
64
  "scroll": {
@@ -66,7 +75,10 @@
66
75
  },
67
76
  "jumpToPosition": {
68
77
  "go": "Hoppa",
69
- "label": "Välj en position från {{ positionStart }} till {{ positionEnd }}:"
78
+ "label": "Välj en position från {{ positionStart }} till {{ positionEnd }}:",
79
+ "error": {
80
+ "notFound": "Positionen hittades inte."
81
+ }
70
82
  },
71
83
  "overflowMenu": {
72
84
  "active": {
@@ -1,4 +1,30 @@
1
1
  {
2
+ "common": {
3
+ "actions": {
4
+ "cancel": "İptal",
5
+ "clear": "Temizle",
6
+ "close": "Kapat",
7
+ "collapse": "Daralt",
8
+ "collapseAll": "Tümünü daralt",
9
+ "decrease": "Azalt",
10
+ "disable": "Devredışı bırak",
11
+ "enable": "Etkinleştir",
12
+ "exit": "Çık",
13
+ "expand": "Genişlet",
14
+ "expandAll": "Tümünü genişlet",
15
+ "filter": "Filtrele",
16
+ "hide": "Gizle",
17
+ "hideAll": "Tümünü gizle",
18
+ "increase": "Arttır",
19
+ "open": "Aç",
20
+ "reset": "Sıfırla",
21
+ "search": "Ara",
22
+ "show": "Göster",
23
+ "showAll": "Tümünü göster",
24
+ "sortBy": "Sırala:",
25
+ "toggle": "Değiştir"
26
+ }
27
+ },
2
28
  "reader": {
3
29
  "actions": {
4
30
  "goBackward": "Geri git",
@@ -11,6 +37,14 @@
11
37
  "compact": "Sonraki",
12
38
  "descriptive": "Sonraki sayfa"
13
39
  },
40
+ "goToNextResource": {
41
+ "compact": "Sonraki",
42
+ "descriptive": "Sonraki kaynak"
43
+ },
44
+ "goToNextSentence": {
45
+ "compact": "Sonraki",
46
+ "descriptive": "Sonraki cümle"
47
+ },
14
48
  "goToPosition": {
15
49
  "compact": "Şuraya git…",
16
50
  "descriptive": "Konuma git"
@@ -22,6 +56,14 @@
22
56
  "goToPreviousPage": {
23
57
  "compact": "Önceki",
24
58
  "descriptive": "Önceki sayfa"
59
+ },
60
+ "goToPreviousResource": {
61
+ "compact": "Önceki",
62
+ "descriptive": "Önceki kaynak"
63
+ },
64
+ "goToPreviousSentence": {
65
+ "compact": "Önceki",
66
+ "descriptive": "Önceki cümle"
25
67
  }
26
68
  },
27
69
  "preferences": {
@@ -1,19 +1,32 @@
1
- import { a as ThAudioPreferences, A as AudioDefaultKeys, b as AudioCustomizableKeys, c as ThAudioPreferencesAdapter } from '../usePreferences-VaBf46eP.mjs';
2
- export { g as AudioSettingsKey, i as ThAudioActionKey, m as ThAudioActionKeys, j as ThAudioActionsPref, d as ThAudioAffordance, k as ThAudioConstraintKeys, h as ThAudioKeyTypes, n as ThAudioKeys, q as ThAudioSettingsKeys, f as ThAudioThemeKey, e as ThAudioThemeKeys, T as ThPreferencesProvider, p as ThSettingsTimerPref, o as ThSettingsTimerVariant, l as createAudioPreferences, s as defaultAudioPlaybackRate, B as defaultAudioPlaybackRateAction, D as defaultAudioRemotePlaybackAction, t as defaultAudioSkipBackwardInterval, v as defaultAudioSkipForwardInterval, w as defaultAudioSkipInterval, x as defaultAudioSleepTimer, C as defaultAudioSleepTimerAction, y as defaultAudioSleepTimerPresetList, E as defaultAudioTocAction, r as defaultAudioVolume, z as defaultAudioVolumeAction, u as usePreferences } from '../usePreferences-VaBf46eP.mjs';
1
+ import { e as ThGlobalPreferences, f as ThGlobalPreferencesAdapter, C as CustomizableKeys, D as DefaultKeys, d as ThPreferences, c as ThPreferencesAdapter, a as ThemeTokens, F as FontCollection, L as LocalStaticFontFile, g as FontDefinition, T as ThThemeKeys } from '../ThPreferencesAdapter-L1H6gzmu.mjs';
2
+ export { A as ActionKey, r as ActionKeyType, b as AudioContentProtectionConfig, Z as BunnyFontSource, B as CSSAbsoluteLength, E as CSSAngle, X as CSSColor, G as CSSDefaultViewport, H as CSSDynamicViewport, J as CSSFontRelativeLength, I as CSSFrequency, K as CSSLargeViewport, M as CSSPhysicalLength, N as CSSRelativeLength, O as CSSResolution, P as CSSRootFontRelativeLength, Q as CSSSmallViewport, R as CSSTime, y as CSSValueUnitless, z as CSSValueWithUnit, U as CSSViewport, aj as ContentProtectionConfig, ah as CopyProtectionConfig, a3 as FontSource, a4 as FontSpec, _ as GoogleFontSource, a2 as LocalFontSource, a0 as LocalStaticFontSource, $ as LocalVariableFontFile, a1 as LocalVariableFontSource, ai as PrintProtectionConfig, S as SettingsKey, t as SettingsKeyType, k as SpacingSettingsKey, w as SpacingSettingsKeyType, Y as SystemFontSource, j as TextSettingsKey, v as TextSettingsKeyType, n as ThActionsPref, p as ThConstraintKeys, a6 as ThFontFamilyPref, o as ThSettingsKeyTypes, l as ThSettingsSpacingPresets, m as ThSpacingPreset, i as ThemeKey, s as ThemeKeyType, a5 as ValidatedLanguageCollection, V as VariableFontRangeConfig, W as WeightConfig, aa as arabicFarsiCollection, ac as chineseSimplifiedCollection, ad as chineseTraditionalCollection, at as contrast1Theme, au as contrast2Theme, av as contrast3Theme, h as createGlobalPreferences, q as createPreferences, aq as darkTheme, an as defaultAudioContentProtectionConfig, am as defaultContentProtectionConfig, a8 as defaultFontCollection, ao as devContentProtectionConfig, ab as hebrewCollection, ae as japaneseCollection, af as japaneseVerticalCollection, ag as koreanCollection, ap as lightTheme, ar as paperTheme, a7 as readiumCSSFontCollection, al as resolveAudioContentProtectionConfig, ak as resolveContentProtectionConfig, as as sepiaTheme, a9 as tamilCollection, u as useTheming, x as useThemingProps } from '../ThPreferencesAdapter-L1H6gzmu.mjs';
3
3
  import * as React$1 from 'react';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
- import { C as CustomizableKeys, D as DefaultKeys, d as ThPreferences, c as ThPreferencesAdapter, a as ThemeTokens, F as FontCollection, L as LocalStaticFontFile, e as FontDefinition, T as ThThemeKeys } from '../ThPreferencesAdapter-D0rzsGRl.mjs';
6
- export { A as ActionKey, o as ActionKeyType, b as AudioContentProtectionConfig, U as BunnyFontSource, x as CSSAbsoluteLength, y as CSSAngle, Q as CSSColor, z as CSSDefaultViewport, B as CSSDynamicViewport, G as CSSFontRelativeLength, E as CSSFrequency, H as CSSLargeViewport, I as CSSPhysicalLength, J as CSSRelativeLength, K as CSSResolution, M as CSSRootFontRelativeLength, N as CSSSmallViewport, O as CSSTime, v as CSSValueUnitless, w as CSSValueWithUnit, P as CSSViewport, a9 as ContentProtectionConfig, a7 as CopyProtectionConfig, a0 as FontSource, a1 as FontSpec, X as GoogleFontSource, $ as LocalFontSource, Z as LocalStaticFontSource, Y as LocalVariableFontFile, _ as LocalVariableFontSource, a8 as PrintProtectionConfig, S as SettingsKey, q as SettingsKeyType, h as SpacingSettingsKey, s as SpacingSettingsKeyType, R as SystemFontSource, g as TextSettingsKey, r as TextSettingsKeyType, k as ThActionsPref, m as ThConstraintKeys, a3 as ThFontFamilyPref, l as ThSettingsKeyTypes, i as ThSettingsSpacingPresets, j as ThSpacingPreset, f as ThemeKey, p as ThemeKeyType, a2 as ValidatedLanguageCollection, V as VariableFontRangeConfig, W as WeightConfig, aj as contrast1Theme, ak as contrast2Theme, al as contrast3Theme, n as createPreferences, ag as darkTheme, ad as defaultAudioContentProtectionConfig, ac as defaultContentProtectionConfig, a5 as defaultFontCollection, ae as devContentProtectionConfig, af as lightTheme, ah as paperTheme, a4 as readiumCSSFontCollection, ab as resolveAudioContentProtectionConfig, aa as resolveContentProtectionConfig, ai as sepiaTheme, a6 as tamilCollection, u as useTheming, t as useThemingProps } from '../ThPreferencesAdapter-D0rzsGRl.mjs';
7
- import { e as ThColorScheme, g as ThSettingsKeys, h as ThTextSettingsKeys, b as ThSpacingSettingsKeys, a as ThSpacingPresetKeys } from '../useContrast-2t429O9O.mjs';
8
- export { I as I18nValue, p as ThLayoutOptions, T as ThLineHeightOptions, m as ThSettingsContainerKeys, j as ThSettingsGroupPref, i as ThSettingsRadioPref, o as ThSettingsRangePlaceholder, l as ThSettingsRangePref, d as ThSettingsRangePrefRequired, n as ThSettingsRangeVariant, c as ThTextAlignOptions, z as defaultLetterSpacing, A as defaultLineHeights, x as defaultParagraphIndent, w as defaultParagraphSpacing, C as defaultSpacingPresets, v as defaultSpacingPresetsOrder, s as defaultSpacingSettingsMain, t as defaultSpacingSettingsSubpanel, q as defaultTextSettingsMain, r as defaultTextSettingsSubpanel, y as defaultWordSpacing, B as defaultZoom } from '../useContrast-2t429O9O.mjs';
9
- import { f as ThDockingPref, T as ThDockingKeys, c as ThActionsTokens, b as ThAudioActionsTokens, g as ThActionsKeys } from '../actions-BLAr0oaM.mjs';
10
- export { k as ThActionsDockedPref, l as ThActionsSnappedPref, j as ThBottomSheetDetent, m as ThDockingTypes, a as ThSheetHeaderVariant, e as ThSheetTypes, n as defaultActionKeysObject, p as defaultFullscreenAction, r as defaultJumpToPositionAction, o as defaultSettingsAction, q as defaultTocAction } from '../actions-BLAr0oaM.mjs';
11
- import { T as ThLayoutDirection, a as ThBackLinkPref, B as BreakpointsMap } from '../ui-nBv8gfr0.mjs';
12
- export { p as ThArrowVariant, b as ThAudioPlayerComponent, d as ThAudioProgressBarVariant, r as ThAudioPublicationMetadataComponent, m as ThBackLinkContent, q as ThBackLinkVariant, e as ThBreakpoints, g as ThDocumentTitleFormat, h as ThFormatPref, n as ThFormatPrefValue, k as ThLayoutUI, l as ThPaginatedAffordancePref, o as ThPaginatedAffordancePrefValue, j as ThProgressionFormat, c as ThPublicationMetadataOrder, i as ThRunningHeadFormat } from '../ui-nBv8gfr0.mjs';
5
+ import { a as ThAudioPreferences, A as AudioDefaultKeys, b as AudioCustomizableKeys, c as ThAudioPreferencesAdapter } from '../usePreferences-D8NU1yhP.mjs';
6
+ export { g as AudioSettingsKey, i as ThAudioActionKey, m as ThAudioActionKeys, j as ThAudioActionsPref, d as ThAudioAffordance, k as ThAudioConstraintKeys, h as ThAudioKeyTypes, n as ThAudioKeys, q as ThAudioSettingsKeys, f as ThAudioThemeKey, e as ThAudioThemeKeys, T as ThPreferencesProvider, p as ThSettingsTimerPref, o as ThSettingsTimerVariant, l as createAudioPreferences, s as defaultAudioPlaybackRate, B as defaultAudioPlaybackRateAction, D as defaultAudioRemotePlaybackAction, t as defaultAudioSkipBackwardInterval, v as defaultAudioSkipForwardInterval, w as defaultAudioSkipInterval, x as defaultAudioSleepTimer, C as defaultAudioSleepTimerAction, y as defaultAudioSleepTimerPresetList, E as defaultAudioTocAction, r as defaultAudioVolume, z as defaultAudioVolumeAction, u as usePreferences } from '../usePreferences-D8NU1yhP.mjs';
7
+ import { e as ThColorScheme, g as ThSettingsKeys, h as ThTextSettingsKeys, b as ThSpacingSettingsKeys, a as ThSpacingPresetKeys } from '../useContrast-Bo7cDw_X.mjs';
8
+ export { I as I18nValue, p as ThLayoutOptions, T as ThLineHeightOptions, m as ThSettingsContainerKeys, j as ThSettingsGroupPref, i as ThSettingsRadioPref, o as ThSettingsRangePlaceholder, l as ThSettingsRangePref, d as ThSettingsRangePrefRequired, n as ThSettingsRangeVariant, c as ThTextAlignOptions, z as defaultLetterSpacing, A as defaultLineHeights, x as defaultParagraphIndent, w as defaultParagraphSpacing, C as defaultSpacingPresets, v as defaultSpacingPresetsOrder, s as defaultSpacingSettingsMain, t as defaultSpacingSettingsSubpanel, q as defaultTextSettingsMain, r as defaultTextSettingsSubpanel, y as defaultWordSpacing, B as defaultZoom } from '../useContrast-Bo7cDw_X.mjs';
9
+ import { f as ThDockingPref, T as ThDockingKeys, c as ThActionsTokens, b as ThAudioActionsTokens, g as ThActionsKeys } from '../actions-BjeRjaJU.mjs';
10
+ export { k as ThActionsDockedPref, l as ThActionsSnappedPref, j as ThBottomSheetDetent, m as ThDockingTypes, a as ThSheetHeaderVariant, e as ThSheetTypes, n as defaultActionKeysObject, p as defaultFullscreenAction, r as defaultJumpToPositionAction, o as defaultSettingsAction, q as defaultTocAction } from '../actions-BjeRjaJU.mjs';
11
+ import { T as ThBackLinkPref, B as BreakpointsMap } from '../ui-DnZZhozX.mjs';
12
+ export { o as ThArrowVariant, a as ThAudioPlayerComponent, c as ThAudioProgressBarVariant, r as ThAudioPublicationMetadataComponent, l as ThBackLinkContent, p as ThBackLinkVariant, d as ThBreakpoints, f as ThDocumentTitleFormat, g as ThFormatPref, m as ThFormatPrefValue, q as ThLayoutDirection, j as ThLayoutUI, k as ThPaginatedAffordancePref, n as ThPaginatedAffordancePrefValue, i as ThProgressionFormat, b as ThPublicationMetadataOrder, h as ThRunningHeadFormat } from '../ui-DnZZhozX.mjs';
13
13
  import { e as UnstableShortcutRepresentation } from '../keyboardUtilities-BWAyLS_D.mjs';
14
14
  import '@readium/navigator';
15
15
  import 'react-aria-components';
16
16
 
17
+ interface GlobalPreferencesContextValue {
18
+ preferences: ThGlobalPreferences;
19
+ updatePreferences: (prefs: ThGlobalPreferences) => void;
20
+ }
21
+ declare const ThGlobalPreferencesContext: React$1.Context<GlobalPreferencesContextValue | null>;
22
+
23
+ type Props$1 = {
24
+ adapter?: ThGlobalPreferencesAdapter;
25
+ initialPreferences?: ThGlobalPreferences;
26
+ children: React.ReactNode;
27
+ };
28
+ declare function ThGlobalPreferencesProvider({ adapter, initialPreferences, children }: Props$1): react_jsx_runtime.JSX.Element;
29
+
17
30
  declare const defaultAudioPreferences: ThAudioPreferences<AudioDefaultKeys>;
18
31
 
19
32
  interface AudioPreferencesContextValue<K extends AudioCustomizableKeys = AudioDefaultKeys> {
@@ -62,6 +75,16 @@ declare class ThMemoryPreferencesAdapter<T extends CustomizableKeys = Customizab
62
75
  private notifyListeners;
63
76
  }
64
77
 
78
+ declare class ThGlobalMemoryPreferencesAdapter implements ThGlobalPreferencesAdapter {
79
+ private preferences;
80
+ private listeners;
81
+ constructor(initialPreferences?: ThGlobalPreferences);
82
+ getPreferences(): ThGlobalPreferences;
83
+ setPreferences(prefs: ThGlobalPreferences): void;
84
+ subscribe(callback: (prefs: ThGlobalPreferences) => void): void;
85
+ unsubscribe(callback: (prefs: ThGlobalPreferences) => void): void;
86
+ }
87
+
65
88
  interface buildThemeProps<T extends string> {
66
89
  theme?: string;
67
90
  themeKeys: {
@@ -169,9 +192,30 @@ declare const usePreferenceKeys: () => {
169
192
  webPubSpacingPresetKeys: ThSpacingPresetKeys[];
170
193
  };
171
194
 
195
+ /**
196
+ * Wraps usePreferenceKeys and filters out settings keys that are not applicable
197
+ * for the current publication's script mode (RTL, CJK-horizontal, CJK-vertical).
198
+ * Drop-in replacement for usePreferenceKeys at all call sites.
199
+ */
200
+ declare const useFilteredPreferenceKeys: () => {
201
+ reflowActionKeys: ThActionsKeys[];
202
+ fxlActionKeys: ThActionsKeys[];
203
+ webPubActionKeys: ThActionsKeys[];
204
+ reflowThemeKeys: ("auto" | ThThemeKeys)[];
205
+ fxlThemeKeys: ("auto" | ThThemeKeys)[];
206
+ reflowSettingsKeys: ThSettingsKeys[];
207
+ fxlSettingsKeys: ThSettingsKeys[];
208
+ webPubSettingsKeys: ThSettingsKeys[];
209
+ mainTextSettingsKeys: ThTextSettingsKeys[];
210
+ subPanelTextSettingsKeys: ThTextSettingsKeys[];
211
+ mainSpacingSettingsKeys: ThSpacingSettingsKeys[];
212
+ subPanelSpacingSettingsKeys: ThSpacingSettingsKeys[];
213
+ reflowSpacingPresetKeys: ThSpacingPresetKeys[];
214
+ fxlSpacingPresetKeys: ThSpacingPresetKeys[];
215
+ webPubSpacingPresetKeys: ThSpacingPresetKeys[];
216
+ };
217
+
172
218
  interface SharedPreferences {
173
- direction?: ThLayoutDirection;
174
- locale?: string;
175
219
  shortcuts: {
176
220
  representation: UnstableShortcutRepresentation;
177
221
  joiner?: string;
@@ -212,4 +256,6 @@ interface SharedPreferences {
212
256
  */
213
257
  declare const useSharedPreferences: () => SharedPreferences;
214
258
 
215
- export { type ActionsPreferences, type AudioActionsPreferences, AudioCustomizableKeys, AudioDefaultKeys, type AudioPreferencesContextValue, CustomizableKeys, DefaultKeys, FontCollection, FontDefinition, type GoogleFontDefinitionParams, LocalStaticFontFile, type PreferencesContextValue, type SharedPreferences, ThActionsKeys, ThActionsTokens, ThAudioActionsTokens, ThAudioMemoryPreferencesAdapter, ThAudioPreferences, ThAudioPreferencesAdapter, ThAudioPreferencesContext, ThAudioPreferencesProvider, ThBackLinkPref, ThDockingKeys, ThDockingPref, ThLayoutDirection, ThMemoryPreferencesAdapter, ThPreferences, ThPreferencesAdapter, ThPreferencesContext, ThSettingsKeys, ThSpacingPresetKeys, ThSpacingSettingsKeys, ThTextSettingsKeys, ThThemeKeys, ThemeTokens, buildThemeObject, type buildThemeProps, createDefinitionFromStaticFonts, createDefinitionsFromBunnyFonts, createDefinitionsFromGoogleFonts, defaultAudioPreferences, defaultAudioPreferencesContextValue, defaultPreferences, defaultPreferencesContextValue, useActionsPreferences, useAudioActionsPreferences, useAudioPreferences, usePreferenceKeys, useSharedPreferences, validateObjectKeys };
259
+ declare const useGlobalPreferences: () => GlobalPreferencesContextValue;
260
+
261
+ export { type ActionsPreferences, type AudioActionsPreferences, AudioCustomizableKeys, AudioDefaultKeys, type AudioPreferencesContextValue, CustomizableKeys, DefaultKeys, FontCollection, FontDefinition, type GlobalPreferencesContextValue, type GoogleFontDefinitionParams, LocalStaticFontFile, type PreferencesContextValue, type SharedPreferences, ThActionsKeys, ThActionsTokens, ThAudioActionsTokens, ThAudioMemoryPreferencesAdapter, ThAudioPreferences, ThAudioPreferencesAdapter, ThAudioPreferencesContext, ThAudioPreferencesProvider, ThBackLinkPref, ThDockingKeys, ThDockingPref, ThGlobalMemoryPreferencesAdapter, ThGlobalPreferences, ThGlobalPreferencesAdapter, ThGlobalPreferencesContext, ThGlobalPreferencesProvider, ThMemoryPreferencesAdapter, ThPreferences, ThPreferencesAdapter, ThPreferencesContext, ThSettingsKeys, ThSpacingPresetKeys, ThSpacingSettingsKeys, ThTextSettingsKeys, ThThemeKeys, ThemeTokens, buildThemeObject, type buildThemeProps, createDefinitionFromStaticFonts, createDefinitionsFromBunnyFonts, createDefinitionsFromGoogleFonts, defaultAudioPreferences, defaultAudioPreferencesContextValue, defaultPreferences, defaultPreferencesContextValue, useActionsPreferences, useAudioActionsPreferences, useAudioPreferences, useFilteredPreferenceKeys, useGlobalPreferences, usePreferenceKeys, useSharedPreferences, validateObjectKeys };
@@ -1,12 +1,12 @@
1
- export { ThAudioMemoryPreferencesAdapter, ThAudioPreferencesProvider, ThMemoryPreferencesAdapter, ThPreferencesProvider, buildThemeObject, createDefinitionsFromBunnyFonts, useActionsPreferences, useAudioActionsPreferences, useAudioPreferences, usePreferenceKeys, usePreferences, useTheming } from '../chunk-GPWW5OML.mjs';
1
+ export { ThActionsKeys, ThAudioActionKeys, ThAudioAffordance, ThAudioKeys, ThAudioMemoryPreferencesAdapter, ThAudioPreferencesContext, ThAudioPreferencesProvider, ThDockingKeys, ThDockingTypes, ThGlobalMemoryPreferencesAdapter, ThGlobalPreferencesProvider, ThLayoutOptions, ThLineHeightOptions, ThMemoryPreferencesAdapter, ThPreferencesContext, ThPreferencesProvider, ThSettingsContainerKeys, ThSettingsKeys, ThSettingsRangePlaceholder, ThSettingsRangeVariant, ThSettingsTimerVariant, ThSheetHeaderVariant, ThSheetTypes, ThSpacingPresetKeys, ThSpacingSettingsKeys, ThTextAlignOptions, ThTextSettingsKeys, ThThemeKeys, arabicFarsiCollection, buildThemeObject, chineseSimplifiedCollection, chineseTraditionalCollection, contrast1Theme, contrast2Theme, contrast3Theme, createAudioPreferences, createDefinitionFromStaticFonts, createDefinitionsFromBunnyFonts, createDefinitionsFromGoogleFonts, createGlobalPreferences, createPreferences, darkTheme, defaultActionKeysObject, defaultAudioContentProtectionConfig, defaultAudioPlaybackRate, defaultAudioPlaybackRateAction, defaultAudioPreferences, defaultAudioPreferencesContextValue, defaultAudioRemotePlaybackAction, defaultAudioSkipBackwardInterval, defaultAudioSkipForwardInterval, defaultAudioSkipInterval, defaultAudioSleepTimer, defaultAudioSleepTimerAction, defaultAudioSleepTimerPresetList, defaultAudioTocAction, defaultAudioVolume, defaultAudioVolumeAction, defaultContentProtectionConfig, defaultFontCollection, defaultFullscreenAction, defaultJumpToPositionAction, defaultLetterSpacing, defaultLineHeights, defaultParagraphIndent, defaultParagraphSpacing, defaultPreferences, defaultPreferencesContextValue, defaultSettingsAction, defaultSpacingPresets, defaultSpacingPresetsOrder, defaultSpacingSettingsMain, defaultSpacingSettingsSubpanel, defaultTextSettingsMain, defaultTextSettingsSubpanel, defaultTocAction, defaultWordSpacing, defaultZoom, devContentProtectionConfig, hebrewCollection, japaneseCollection, japaneseVerticalCollection, koreanCollection, lightTheme, paperTheme, readiumCSSFontCollection, resolveAudioContentProtectionConfig, resolveContentProtectionConfig, sepiaTheme, tamilCollection, useActionsPreferences, useAudioActionsPreferences, useAudioPreferences, useFilteredPreferenceKeys, usePreferenceKeys, usePreferences, useSharedPreferences, useTheming, validateObjectKeys } from '../chunk-XRFLDNAY.mjs';
2
+ export { ThArrowVariant, ThAudioPlayerComponent, ThAudioProgressBarVariant, ThAudioPublicationMetadataComponent, ThBackLinkVariant, ThBreakpoints, ThDocumentTitleFormat, ThLayoutDirection, ThLayoutUI, ThProgressionFormat, ThRunningHeadFormat } from '../chunk-2YRT7RNW.mjs';
2
3
  import '../chunk-GFSLVQIG.mjs';
4
+ export { ThGlobalPreferencesContext, useGlobalPreferences } from '../chunk-AE6P4KJB.mjs';
5
+ import '../chunk-A575ZW4A.mjs';
6
+ import '../chunk-5LUMM7FW.mjs';
3
7
  import '../chunk-NQ2ZSGCX.mjs';
4
- export { ThActionsKeys, ThAudioActionKeys, ThAudioAffordance, ThAudioKeys, ThAudioPreferencesContext, ThDockingKeys, ThDockingTypes, ThLayoutOptions, ThLineHeightOptions, ThPreferencesContext, ThSettingsContainerKeys, ThSettingsKeys, ThSettingsRangePlaceholder, ThSettingsRangeVariant, ThSettingsTimerVariant, ThSheetHeaderVariant, ThSheetTypes, ThSpacingPresetKeys, ThSpacingSettingsKeys, ThTextAlignOptions, ThTextSettingsKeys, ThThemeKeys, contrast1Theme, contrast2Theme, contrast3Theme, createAudioPreferences, createDefinitionFromStaticFonts, createDefinitionsFromGoogleFonts, createPreferences, darkTheme, defaultActionKeysObject, defaultAudioContentProtectionConfig, defaultAudioPlaybackRate, defaultAudioPlaybackRateAction, defaultAudioPreferences, defaultAudioPreferencesContextValue, defaultAudioRemotePlaybackAction, defaultAudioSkipBackwardInterval, defaultAudioSkipForwardInterval, defaultAudioSkipInterval, defaultAudioSleepTimer, defaultAudioSleepTimerAction, defaultAudioSleepTimerPresetList, defaultAudioTocAction, defaultAudioVolume, defaultAudioVolumeAction, defaultContentProtectionConfig, defaultFontCollection, defaultFullscreenAction, defaultJumpToPositionAction, defaultLetterSpacing, defaultLineHeights, defaultParagraphIndent, defaultParagraphSpacing, defaultPreferences, defaultPreferencesContextValue, defaultSettingsAction, defaultSpacingPresets, defaultSpacingPresetsOrder, defaultSpacingSettingsMain, defaultSpacingSettingsSubpanel, defaultTextSettingsMain, defaultTextSettingsSubpanel, defaultTocAction, defaultWordSpacing, defaultZoom, devContentProtectionConfig, lightTheme, paperTheme, readiumCSSFontCollection, resolveAudioContentProtectionConfig, resolveContentProtectionConfig, sepiaTheme, tamilCollection, useSharedPreferences, validateObjectKeys } from '../chunk-DTPO3J2C.mjs';
5
- import '../chunk-B3WDMWCT.mjs';
6
8
  import '../chunk-MLEYTQGK.mjs';
7
- import '../chunk-7CGMWOZN.mjs';
8
- export { ThArrowVariant, ThAudioPlayerComponent, ThAudioProgressBarVariant, ThAudioPublicationMetadataComponent, ThBackLinkVariant, ThBreakpoints, ThDocumentTitleFormat, ThLayoutDirection, ThLayoutUI, ThProgressionFormat, ThRunningHeadFormat } from '../chunk-L4XGZAZ5.mjs';
9
- import '../chunk-5LUMM7FW.mjs';
9
+ import '../chunk-B3WDMWCT.mjs';
10
10
  import '../chunk-3GDQP6AS.mjs';
11
11
  //# sourceMappingURL=index.mjs.map
12
12
  //# sourceMappingURL=index.mjs.map
@@ -1,6 +1,6 @@
1
1
  import * as _reduxjs_toolkit from '@reduxjs/toolkit';
2
2
  import { W as WritableDraft } from './immer.d-CoRThNOF.mjs';
3
- import { T as ThLineHeightOptions, a as ThSpacingPresetKeys, b as ThSpacingSettingsKeys, c as ThTextAlignOptions } from './useContrast-2t429O9O.mjs';
3
+ import { T as ThLineHeightOptions, a as ThSpacingPresetKeys, b as ThSpacingSettingsKeys, c as ThTextAlignOptions } from './useContrast-Bo7cDw_X.mjs';
4
4
 
5
5
  interface FontFamilyStateObject {
6
6
  default: string;
@@ -59,8 +59,10 @@ interface SettingsReducerState {
59
59
  fontWeight: number;
60
60
  hyphens: boolean | null;
61
61
  letterSpacing: number | null;
62
+ ligatures: boolean | null;
62
63
  lineHeight: ThLineHeightOptions | null;
63
64
  lineLength: LineLengthStateObject | null;
65
+ noRuby: boolean | null;
64
66
  paragraphIndent: number | null;
65
67
  paragraphSpacing: number | null;
66
68
  publisherStyles: boolean;
@@ -89,6 +91,10 @@ declare const settingsSlice: _reduxjs_toolkit.Slice<SettingsReducerState, {
89
91
  payload: any;
90
92
  type: string;
91
93
  }) => void;
94
+ setLigatures: (state: WritableDraft<SettingsReducerState>, action: {
95
+ payload: any;
96
+ type: string;
97
+ }) => void;
92
98
  setLetterSpacing: (state: WritableDraft<SettingsReducerState>, action: {
93
99
  payload: any;
94
100
  type: string;
@@ -123,6 +129,10 @@ declare const settingsSlice: _reduxjs_toolkit.Slice<SettingsReducerState, {
123
129
  payload: any;
124
130
  type: string;
125
131
  }) => void;
132
+ setNoRuby: (state: WritableDraft<SettingsReducerState>, action: {
133
+ payload: any;
134
+ type: string;
135
+ }) => void;
126
136
  setWordSpacing: (state: WritableDraft<SettingsReducerState>, action: {
127
137
  payload: any;
128
138
  type: string;
@@ -137,6 +147,7 @@ declare const setFontFamily: _reduxjs_toolkit.ActionCreatorWithPayload<{
137
147
  value: string;
138
148
  }, "settings/setFontFamily">;
139
149
  declare const setHyphens: _reduxjs_toolkit.ActionCreatorWithPayload<any, "settings/setHyphens">;
150
+ declare const setLigatures: _reduxjs_toolkit.ActionCreatorWithPayload<any, "settings/setLigatures">;
140
151
  declare const setLetterSpacing: _reduxjs_toolkit.ActionCreatorWithPayload<any, "settings/setLetterSpacing">;
141
152
  declare const setLineHeight: _reduxjs_toolkit.ActionCreatorWithPayload<any, "settings/setLineHeight">;
142
153
  declare const setLineLength: _reduxjs_toolkit.ActionCreatorWithPayload<{
@@ -154,6 +165,7 @@ declare const setSpacingPreset: _reduxjs_toolkit.ActionCreatorWithPayload<{
154
165
  }, "settings/setSpacingPreset">;
155
166
  declare const setTextAlign: _reduxjs_toolkit.ActionCreatorWithPayload<any, "settings/setTextAlign">;
156
167
  declare const setTextNormalization: _reduxjs_toolkit.ActionCreatorWithPayload<any, "settings/setTextNormalization">;
168
+ declare const setNoRuby: _reduxjs_toolkit.ActionCreatorWithPayload<any, "settings/setNoRuby">;
157
169
  declare const setWordSpacing: _reduxjs_toolkit.ActionCreatorWithPayload<any, "settings/setWordSpacing">;
158
170
 
159
- export { type FontFamilyStateObject as F, type LineLengthStateObject as L, type SetFontFamilyPayload as S, type SetLineLengthPayload as a, type SetSpacingSettingPayload as b, type SetSpacingPresetPayload as c, type SpacingStateKey as d, type SpacingStateObject as e, type SettingsReducerState as f, setColumnCount as g, handleSpacingSetting as h, initialSettingsState as i, setFontSize as j, setFontWeight as k, setFontFamily as l, setHyphens as m, setLetterSpacing as n, setLineHeight as o, setLineLength as p, setParagraphIndent as q, setParagraphSpacing as r, settingsSlice as s, setPublisherStyles as t, setScroll as u, setSpacingPreset as v, setTextAlign as w, setTextNormalization as x, setWordSpacing as y };
171
+ export { setWordSpacing as A, type FontFamilyStateObject as F, type LineLengthStateObject as L, type SetFontFamilyPayload as S, type SetLineLengthPayload as a, type SetSpacingSettingPayload as b, type SetSpacingPresetPayload as c, type SpacingStateKey as d, type SpacingStateObject as e, type SettingsReducerState as f, setColumnCount as g, handleSpacingSetting as h, initialSettingsState as i, setFontSize as j, setFontWeight as k, setFontFamily as l, setHyphens as m, setLigatures as n, setLetterSpacing as o, setLineHeight as p, setLineLength as q, setParagraphIndent as r, settingsSlice as s, setParagraphSpacing as t, setPublisherStyles as u, setScroll as v, setSpacingPreset as w, setTextAlign as x, setTextNormalization as y, setNoRuby as z };
@@ -121,4 +121,4 @@ declare enum ThAudioPublicationMetadataComponent {
121
121
  type TitleVariant = ThAudioPublicationMetadataComponent.title | ThAudioPublicationMetadataComponent.titleWithSubtitle | ThAudioPublicationMetadataComponent.subtitleWithTitle;
122
122
  type ThPublicationMetadataOrder = [TitleVariant] | [TitleVariant, ThAudioPublicationMetadataComponent.authors] | [ThAudioPublicationMetadataComponent.authors, TitleVariant];
123
123
 
124
- export { type BreakpointsMap as B, ThLayoutDirection as T, type ThBackLinkPref as a, ThAudioPlayerComponent as b, type ThPublicationMetadataOrder as c, ThAudioProgressBarVariant as d, ThBreakpoints as e, type ThBreakpointsObject as f, ThDocumentTitleFormat as g, type ThFormatPref as h, ThRunningHeadFormat as i, ThProgressionFormat as j, ThLayoutUI as k, type ThPaginatedAffordancePref as l, type ThBackLinkContent as m, type ThFormatPrefValue as n, type ThPaginatedAffordancePrefValue as o, ThArrowVariant as p, ThBackLinkVariant as q, ThAudioPublicationMetadataComponent as r, useBreakpoints as u };
124
+ export { type BreakpointsMap as B, type ThBackLinkPref as T, ThAudioPlayerComponent as a, type ThPublicationMetadataOrder as b, ThAudioProgressBarVariant as c, ThBreakpoints as d, type ThBreakpointsObject as e, ThDocumentTitleFormat as f, type ThFormatPref as g, ThRunningHeadFormat as h, ThProgressionFormat as i, ThLayoutUI as j, type ThPaginatedAffordancePref as k, type ThBackLinkContent as l, type ThFormatPrefValue as m, type ThPaginatedAffordancePrefValue as n, ThArrowVariant as o, ThBackLinkVariant as p, ThLayoutDirection as q, ThAudioPublicationMetadataComponent as r, useBreakpoints as u };