@edrlab/thorium-web 1.1.6 → 1.2.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 (77) hide show
  1. package/dist/{ThPreferencesAdapter-B8AYujCA.d.mts → ThPreferencesAdapter-DrZ5_6Dv.d.mts} +4 -139
  2. package/dist/{ThSettingsWrapper-BlmAxcWF.d.mts → ThSettingsWrapper-8Kx0SnH4.d.mts} +1 -1
  3. package/dist/{actions-BRtHsxpm.d.mts → actions-D2CHvCHu.d.mts} +2 -2
  4. package/dist/{actionsReducer-bT0pfxLJ.d.mts → actionsReducer-kc-S130w.d.mts} +3 -24
  5. package/dist/chunk-34MVY33F.mjs +913 -0
  6. package/dist/chunk-34MVY33F.mjs.map +1 -0
  7. package/dist/{chunk-KJXHAJYK.mjs → chunk-4VHEHMJN.mjs} +128 -11
  8. package/dist/chunk-4VHEHMJN.mjs.map +1 -0
  9. package/dist/{chunk-QNYZCQKO.mjs → chunk-72XCX5TD.mjs} +4 -4
  10. package/dist/chunk-72XCX5TD.mjs.map +1 -0
  11. package/dist/{chunk-SMK7A7VF.mjs → chunk-7NEQAW7J.mjs} +3 -3
  12. package/dist/chunk-7NEQAW7J.mjs.map +1 -0
  13. package/dist/{chunk-SFHOVH6R.mjs → chunk-H4J2VY7Z.mjs} +201 -35
  14. package/dist/chunk-H4J2VY7Z.mjs.map +1 -0
  15. package/dist/{chunk-COQXDRKD.mjs → chunk-K3K7TUWM.mjs} +2 -2
  16. package/dist/chunk-K3K7TUWM.mjs.map +1 -0
  17. package/dist/{chunk-KTPIH35Y.mjs → chunk-NYZBHYW2.mjs} +5 -3
  18. package/dist/chunk-NYZBHYW2.mjs.map +1 -0
  19. package/dist/chunk-RRDEPGBK.mjs +75 -0
  20. package/dist/chunk-RRDEPGBK.mjs.map +1 -0
  21. package/dist/chunk-S4M7ED5Q.mjs +407 -0
  22. package/dist/chunk-S4M7ED5Q.mjs.map +1 -0
  23. package/dist/components/Epub/index.d.mts +17 -11
  24. package/dist/components/Epub/index.mjs +12 -831
  25. package/dist/components/Epub/index.mjs.map +1 -1
  26. package/dist/components/Misc/index.css +23 -0
  27. package/dist/components/Misc/index.css.map +1 -1
  28. package/dist/components/Misc/index.d.mts +10 -1
  29. package/dist/components/Misc/index.mjs +30 -2
  30. package/dist/components/Misc/index.mjs.map +1 -1
  31. package/dist/components/Reader/index.css +1283 -0
  32. package/dist/components/Reader/index.css.map +1 -0
  33. package/dist/components/Reader/index.d.mts +30 -0
  34. package/dist/components/Reader/index.mjs +79 -0
  35. package/dist/components/Reader/index.mjs.map +1 -0
  36. package/dist/components/WebPub/index.d.mts +15 -31
  37. package/dist/components/WebPub/index.mjs +11 -374
  38. package/dist/components/WebPub/index.mjs.map +1 -1
  39. package/dist/core/Components/index.d.mts +11 -8
  40. package/dist/core/Components/index.mjs +1 -1
  41. package/dist/core/Helpers/index.d.mts +1 -1
  42. package/dist/core/Hooks/index.d.mts +54 -5
  43. package/dist/core/Hooks/index.mjs +1 -1
  44. package/dist/errorHandler-CL2YIfQY.d.mts +26 -0
  45. package/dist/i18n/index.mjs +4 -4
  46. package/dist/immer.d-CoRThNOF.d.mts +23 -0
  47. package/dist/lib/index.d.mts +12 -162
  48. package/dist/lib/index.mjs +2 -2
  49. package/dist/locales/el/thorium-web.json +31 -0
  50. package/dist/locales/en/thorium-web.json +14 -2
  51. package/dist/locales/et/thorium-web.json +6 -2
  52. package/dist/locales/fi/thorium-shared.json +14 -8
  53. package/dist/locales/fi/thorium-web.json +2 -1
  54. package/dist/locales/fr/thorium-shared.json +100 -0
  55. package/dist/locales/it/thorium-shared.json +9 -0
  56. package/dist/locales/lt/thorium-shared.json +22 -13
  57. package/dist/locales/lt/thorium-web.json +2 -1
  58. package/dist/locales/pt-PT/thorium-shared.json +64 -1
  59. package/dist/locales/pt-PT/thorium-web.json +4 -3
  60. package/dist/locales/sv/thorium-shared.json +61 -3
  61. package/dist/locales/sv/thorium-web.json +4 -3
  62. package/dist/preferences/index.d.mts +8 -7
  63. package/dist/preferences/index.mjs +3 -3
  64. package/dist/settingsReducer-C1wwCAMv.d.mts +159 -0
  65. package/dist/{ui-BVlJcPL_.d.mts → ui-CamWuqOo.d.mts} +1 -1
  66. package/dist/useContrast-D6sjPjxy.d.mts +152 -0
  67. package/dist/{useEpubNavigator-CsraD65e.d.mts → useEpubNavigator-CwHJfoiV.d.mts} +1 -1
  68. package/dist/{usePreferences-rfT368__.d.mts → usePreferences-BXFJbval.d.mts} +1 -1
  69. package/dist/{StatefulReader-CjgFzHoO.d.mts → useReaderTransitions-guT-eA-Q.d.mts} +50 -50
  70. package/package.json +5 -3
  71. package/dist/chunk-COQXDRKD.mjs.map +0 -1
  72. package/dist/chunk-KJXHAJYK.mjs.map +0 -1
  73. package/dist/chunk-KTPIH35Y.mjs.map +0 -1
  74. package/dist/chunk-QNYZCQKO.mjs.map +0 -1
  75. package/dist/chunk-SFHOVH6R.mjs.map +0 -1
  76. package/dist/chunk-SMK7A7VF.mjs.map +0 -1
  77. package/dist/useContrast-Cgsrl7GS.d.mts +0 -15
@@ -0,0 +1,26 @@
1
+ interface ProcessedError {
2
+ original: unknown;
3
+ hasStatusCode: boolean;
4
+ statusCode?: number;
5
+ isError: boolean;
6
+ errorName?: string;
7
+ context?: string;
8
+ timestamp: number;
9
+ hasStatus(): boolean;
10
+ getStatus(): number | undefined;
11
+ isErrorInstance(): boolean;
12
+ getErrorName(): string | undefined;
13
+ isNetwork(): boolean;
14
+ isHttp(): boolean;
15
+ isNotFound(): boolean;
16
+ isAccessDenied(): boolean;
17
+ isServerError(): boolean;
18
+ isClientError(): boolean;
19
+ }
20
+ declare class ErrorHandler {
21
+ static process(error: unknown, context?: string): ProcessedError;
22
+ private static hasStatusCode;
23
+ private static extractStatusCode;
24
+ }
25
+
26
+ export { ErrorHandler as E, type ProcessedError as P };
@@ -1,11 +1,11 @@
1
- export { ThI18nProvider, Trans } from '../chunk-QNYZCQKO.mjs';
2
- import '../chunk-SMK7A7VF.mjs';
1
+ export { ThI18nProvider, Trans } from '../chunk-72XCX5TD.mjs';
2
+ import '../chunk-7NEQAW7J.mjs';
3
+ import '../chunk-XVSFXHYB.mjs';
3
4
  import '../chunk-GFSLVQIG.mjs';
5
+ import '../chunk-5LUMM7FW.mjs';
4
6
  import '../chunk-NQ2ZSGCX.mjs';
5
7
  export { DEFAULT_CONFIG, i18n, initI18n, useI18n } from '../chunk-IYAFKTPL.mjs';
6
8
  import '../chunk-B3WDMWCT.mjs';
7
9
  import '../chunk-MLEYTQGK.mjs';
8
- import '../chunk-XVSFXHYB.mjs';
9
- import '../chunk-5LUMM7FW.mjs';
10
10
  //# sourceMappingURL=index.mjs.map
11
11
  //# sourceMappingURL=index.mjs.map
@@ -0,0 +1,23 @@
1
+ type PrimitiveType = number | string | boolean;
2
+ /** Object types that should never be mapped */
3
+ type AtomicObject = Function | Promise<any> | Date | RegExp;
4
+ /**
5
+ * If the lib "ES2015.Collection" is not included in tsconfig.json,
6
+ * types like ReadonlyArray, WeakMap etc. fall back to `any` (specified nowhere)
7
+ * or `{}` (from the node types), in both cases entering an infinite recursion in
8
+ * pattern matching type mappings
9
+ * This type can be used to cast these types to `void` in these cases.
10
+ */
11
+ type IfAvailable<T, Fallback = void> = true | false extends (T extends never ? true : false) ? Fallback : keyof T extends never ? Fallback : T;
12
+ /**
13
+ * These should also never be mapped but must be tested after regular Map and
14
+ * Set
15
+ */
16
+ type WeakReferences = IfAvailable<WeakMap<any, any>> | IfAvailable<WeakSet<any>>;
17
+ type WritableDraft<T> = {
18
+ -readonly [K in keyof T]: Draft<T[K]>;
19
+ };
20
+ /** Convert a readonly type into a mutable type, if possible */
21
+ type Draft<T> = T extends PrimitiveType ? T : T extends AtomicObject ? T : T extends ReadonlyMap<infer K, infer V> ? Map<Draft<K>, Draft<V>> : T extends ReadonlySet<infer V> ? Set<Draft<V>> : T extends WeakReferences ? T : T extends object ? WritableDraft<T> : T;
22
+
23
+ export type { WritableDraft as W };
@@ -1,21 +1,25 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as _reduxjs_toolkit from '@reduxjs/toolkit';
3
3
  import { PayloadAction, Store } from '@reduxjs/toolkit';
4
- import { W as WritableDraft, k as ActionsReducerState } from '../actionsReducer-bT0pfxLJ.mjs';
5
- export { f as ActionOverflowOpenPayload, c as ActionStateDockPayload, g as ActionStateDockedPayload, a as ActionStateObject, d as ActionStateOpenPayload, h as ActionStateSlotPayload, i as ActionStateSlotWidthPayload, e as ActionStateTogglePayload, A as ActionsStateKeys, j as DockState, D as DockStateObject, O as OverflowStateKeys, b as OverflowStateObject, l as actionsSlice, o as activateDockPanel, q as collapseDockPanel, p as deactivateDockPanel, m as dockAction, r as expandDockPanel, s as setActionOpen, u as setDockPanelWidth, n as setOverflow, t as toggleActionOpen } from '../actionsReducer-bT0pfxLJ.mjs';
4
+ import { W as WritableDraft } from '../immer.d-CoRThNOF.mjs';
6
5
  import { b as UnstablePlatformModifier } from '../keyboardUtilities-BWAyLS_D.mjs';
7
- import { am as ThSettingsContainerKeys, T as ThLineHeightOptions, j as ThSpacingPresetKeys, i as ThSpacingSettingsKeys, a as ThTextAlignOptions, c as ThPreferences, C as CustomizableKeys, b as ThPreferencesAdapter } from '../ThPreferencesAdapter-B8AYujCA.mjs';
8
- import { j as ThLayoutDirection, g as ThBreakpoints, l as ThProgressionFormat, m as ThRunningHeadFormat, d as ThPaginatedAffordancePrefValue, k as ThLayoutUI } from '../ui-BVlJcPL_.mjs';
9
- import { T as ThColorScheme, a as ThContrast } from '../useContrast-Cgsrl7GS.mjs';
6
+ import { k as ThSettingsContainerKeys, d as ThColorScheme, e as ThContrast, T as ThLineHeightOptions, c as ThTextAlignOptions, a as ThSpacingPresetKeys } from '../useContrast-D6sjPjxy.mjs';
7
+ import { b as ThLayoutDirection, T as ThBreakpoints, g as ThProgressionFormat, f as ThRunningHeadFormat, l as ThPaginatedAffordancePrefValue, h as ThLayoutUI } from '../ui-CamWuqOo.mjs';
8
+ import { F as FontFamilyStateObject, e as SpacingStateObject, S as SetFontFamilyPayload, c as SetSpacingPresetPayload, d as SpacingStateKey, f as SettingsReducerState } from '../settingsReducer-C1wwCAMv.mjs';
9
+ export { L as LineLengthStateObject, a as SetLineLengthPayload, b as SetSpacingSettingPayload, h as handleSpacingSetting, i as initialSettingsState, g as setColumnCount, l as setFontFamily, j as setFontSize, k as setFontWeight, m as setHyphens, n as setLetterSpacing, o as setLineHeight, p as setLineLength, q as setParagraphIndent, r as setParagraphSpacing, t as setPublisherStyles, u as setScroll, v as setSpacingPreset, w as setTextAlign, x as setTextNormalization, y as setWordSpacing, s as settingsSlice } from '../settingsReducer-C1wwCAMv.mjs';
10
+ import { k as ActionsReducerState } from '../actionsReducer-kc-S130w.mjs';
11
+ export { f as ActionOverflowOpenPayload, c as ActionStateDockPayload, g as ActionStateDockedPayload, a as ActionStateObject, d as ActionStateOpenPayload, h as ActionStateSlotPayload, i as ActionStateSlotWidthPayload, e as ActionStateTogglePayload, A as ActionsStateKeys, j as DockState, D as DockStateObject, O as OverflowStateKeys, b as OverflowStateObject, l as actionsSlice, o as activateDockPanel, q as collapseDockPanel, p as deactivateDockPanel, m as dockAction, r as expandDockPanel, s as setActionOpen, u as setDockPanelWidth, n as setOverflow, t as toggleActionOpen } from '../actionsReducer-kc-S130w.mjs';
10
12
  import { Locator } from '@readium/shared';
11
13
  import { U as UnstableTimeline } from '../useTimeline-DyMx_aWY.mjs';
14
+ import { a as ThPreferences, C as CustomizableKeys, T as ThPreferencesAdapter } from '../ThPreferencesAdapter-DrZ5_6Dv.mjs';
12
15
  import { TypedUseSelectorHook } from 'react-redux';
13
- import '../actions-BRtHsxpm.mjs';
16
+ import '../actions-D2CHvCHu.mjs';
14
17
  import 'react-aria-components';
15
18
  import '@readium/navigator';
16
19
 
20
+ type ReaderProfile = "epub" | "webPub" | "audio" | undefined;
17
21
  interface ReaderReducerState {
18
- profile: "epub" | "webPub" | undefined;
22
+ profile: ReaderProfile;
19
23
  direction: ThLayoutDirection;
20
24
  isLoading: boolean;
21
25
  isImmersive: boolean;
@@ -87,160 +91,6 @@ declare const setUserNavigated: _reduxjs_toolkit.ActionCreatorWithPayload<any, "
87
91
  declare const setFullscreen: _reduxjs_toolkit.ActionCreatorWithPayload<any, "reader/setFullscreen">;
88
92
  declare const setSettingsContainer: _reduxjs_toolkit.ActionCreatorWithPayload<any, "reader/setSettingsContainer">;
89
93
 
90
- interface FontFamilyStateObject {
91
- default: string;
92
- [language: string]: string;
93
- }
94
- interface SetFontFamilyPayload {
95
- type: string;
96
- payload: {
97
- key: "default" | string;
98
- value: string;
99
- };
100
- }
101
- interface LineLengthStateObject {
102
- optimal?: number | null;
103
- min?: {
104
- chars?: number | null;
105
- isDisabled?: boolean;
106
- };
107
- max?: {
108
- chars?: number | null;
109
- isDisabled?: boolean;
110
- };
111
- }
112
- interface SetLineLengthPayload {
113
- type: string;
114
- payload: {
115
- key: "optimal" | "min" | "max";
116
- value?: number | null;
117
- isDisabled?: boolean;
118
- };
119
- }
120
- interface SetSpacingSettingPayload<T = number | ThLineHeightOptions | null> {
121
- type: string;
122
- payload: {
123
- value: T;
124
- preset?: ThSpacingPresetKeys;
125
- };
126
- }
127
- interface SetSpacingPresetPayload {
128
- type: string;
129
- payload: {
130
- preset: ThSpacingPresetKeys;
131
- values: Partial<Record<SpacingStateKey, number | ThLineHeightOptions | null>>;
132
- };
133
- }
134
- type SpacingStateKey = Exclude<ThSpacingSettingsKeys, ThSpacingSettingsKeys.spacingPresets | ThSpacingSettingsKeys.publisherStyles>;
135
- interface SpacingStateObject {
136
- preset: ThSpacingPresetKeys;
137
- custom: Partial<Record<SpacingStateKey, number | ThLineHeightOptions | null>>;
138
- baseline: Partial<Record<SpacingStateKey, number | ThLineHeightOptions | null>>;
139
- }
140
- interface SettingsReducerState {
141
- columnCount: string;
142
- fontFamily: FontFamilyStateObject;
143
- fontSize: number;
144
- fontWeight: number;
145
- hyphens: boolean | null;
146
- letterSpacing: number | null;
147
- lineHeight: ThLineHeightOptions | null;
148
- lineLength: LineLengthStateObject | null;
149
- paragraphIndent: number | null;
150
- paragraphSpacing: number | null;
151
- publisherStyles: boolean;
152
- scroll: boolean;
153
- spacing: SpacingStateObject;
154
- textAlign: ThTextAlignOptions;
155
- textNormalization: boolean;
156
- wordSpacing: number | null;
157
- }
158
- declare const handleSpacingSetting: (state: any, action: SetSpacingSettingPayload, settingKey: ThSpacingSettingsKeys) => void;
159
- declare const settingsSlice: _reduxjs_toolkit.Slice<SettingsReducerState, {
160
- setColumnCount: (state: WritableDraft<SettingsReducerState>, action: {
161
- payload: any;
162
- type: string;
163
- }) => void;
164
- setFontFamily: (state: WritableDraft<SettingsReducerState>, action: SetFontFamilyPayload) => void;
165
- setFontSize: (state: WritableDraft<SettingsReducerState>, action: {
166
- payload: any;
167
- type: string;
168
- }) => void;
169
- setFontWeight: (state: WritableDraft<SettingsReducerState>, action: {
170
- payload: any;
171
- type: string;
172
- }) => void;
173
- setHyphens: (state: WritableDraft<SettingsReducerState>, action: {
174
- payload: any;
175
- type: string;
176
- }) => void;
177
- setLetterSpacing: (state: WritableDraft<SettingsReducerState>, action: {
178
- payload: any;
179
- type: string;
180
- }) => void;
181
- setLineHeight: (state: WritableDraft<SettingsReducerState>, action: {
182
- payload: any;
183
- type: string;
184
- }) => void;
185
- setLineLength: (state: WritableDraft<SettingsReducerState>, action: SetLineLengthPayload) => void;
186
- setParagraphIndent: (state: WritableDraft<SettingsReducerState>, action: {
187
- payload: any;
188
- type: string;
189
- }) => void;
190
- setParagraphSpacing: (state: WritableDraft<SettingsReducerState>, action: {
191
- payload: any;
192
- type: string;
193
- }) => void;
194
- setPublisherStyles: (state: WritableDraft<SettingsReducerState>, action: {
195
- payload: any;
196
- type: string;
197
- }) => void;
198
- setScroll: (state: WritableDraft<SettingsReducerState>, action: {
199
- payload: any;
200
- type: string;
201
- }) => void;
202
- setSpacingPreset: (state: WritableDraft<SettingsReducerState>, action: SetSpacingPresetPayload) => void;
203
- setTextAlign: (state: WritableDraft<SettingsReducerState>, action: {
204
- payload: any;
205
- type: string;
206
- }) => void;
207
- setTextNormalization: (state: WritableDraft<SettingsReducerState>, action: {
208
- payload: any;
209
- type: string;
210
- }) => void;
211
- setWordSpacing: (state: WritableDraft<SettingsReducerState>, action: {
212
- payload: any;
213
- type: string;
214
- }) => void;
215
- }, "settings", "settings", _reduxjs_toolkit.SliceSelectors<SettingsReducerState>>;
216
- declare const initialSettingsState: SettingsReducerState;
217
- declare const setColumnCount: _reduxjs_toolkit.ActionCreatorWithPayload<any, "settings/setColumnCount">;
218
- declare const setFontSize: _reduxjs_toolkit.ActionCreatorWithPayload<any, "settings/setFontSize">;
219
- declare const setFontWeight: _reduxjs_toolkit.ActionCreatorWithPayload<any, "settings/setFontWeight">;
220
- declare const setFontFamily: _reduxjs_toolkit.ActionCreatorWithPayload<{
221
- key: "default" | string;
222
- value: string;
223
- }, "settings/setFontFamily">;
224
- declare const setHyphens: _reduxjs_toolkit.ActionCreatorWithPayload<any, "settings/setHyphens">;
225
- declare const setLetterSpacing: _reduxjs_toolkit.ActionCreatorWithPayload<any, "settings/setLetterSpacing">;
226
- declare const setLineHeight: _reduxjs_toolkit.ActionCreatorWithPayload<any, "settings/setLineHeight">;
227
- declare const setLineLength: _reduxjs_toolkit.ActionCreatorWithPayload<{
228
- key: "optimal" | "min" | "max";
229
- value?: number | null;
230
- isDisabled?: boolean;
231
- }, "settings/setLineLength">;
232
- declare const setParagraphIndent: _reduxjs_toolkit.ActionCreatorWithPayload<any, "settings/setParagraphIndent">;
233
- declare const setParagraphSpacing: _reduxjs_toolkit.ActionCreatorWithPayload<any, "settings/setParagraphSpacing">;
234
- declare const setPublisherStyles: _reduxjs_toolkit.ActionCreatorWithPayload<any, "settings/setPublisherStyles">;
235
- declare const setScroll: _reduxjs_toolkit.ActionCreatorWithPayload<any, "settings/setScroll">;
236
- declare const setSpacingPreset: _reduxjs_toolkit.ActionCreatorWithPayload<{
237
- preset: ThSpacingPresetKeys;
238
- values: Partial<Record<SpacingStateKey, number | ThLineHeightOptions | null>>;
239
- }, "settings/setSpacingPreset">;
240
- declare const setTextAlign: _reduxjs_toolkit.ActionCreatorWithPayload<any, "settings/setTextAlign">;
241
- declare const setTextNormalization: _reduxjs_toolkit.ActionCreatorWithPayload<any, "settings/setTextNormalization">;
242
- declare const setWordSpacing: _reduxjs_toolkit.ActionCreatorWithPayload<any, "settings/setWordSpacing">;
243
-
244
94
  interface ThemeStateObject {
245
95
  reflow?: string;
246
96
  fxl?: string;
@@ -599,4 +449,4 @@ declare const useAppDispatch: () => AppDispatch;
599
449
  declare const useAppSelector: TypedUseSelectorHook<RootState>;
600
450
  declare const useAppStore: () => AppStore;
601
451
 
602
- export { ActionsReducerState, type AppDispatch, type AppState, type AppStore, type FontFamilyStateObject, type L10nObject, type LineLengthStateObject, type PaginatedAffordanceObject, type PaginatedAffordancePayload, type PaginatedAffordanceProperties, type PreferencesReducerState, type PublicationReducerState, type ReaderReducerState, type RenditionChangePayload, type RenditionObject, type RenditionProperties, type RootState, type SetFontFamilyPayload, type SetLineLengthPayload, type SetSpacingPresetPayload, type SetSpacingSettingPayload, type SettingsReducerState, type SpacingStateKey, type SpacingStateObject, ThReduxPreferencesAdapter, ThStoreProvider, type ThemeReducerState, type ThemeStateChangePayload, type ThemeStateObject, type UIChangePayload, type WebPubSettingsReducerState, handleSpacingSetting, initialSettingsState, initialWebPubSettingsState, makeStore, preferencesSlice, publicationSlice, readerSlice, setBreakpoint, setColorScheme, setColumnCount, setContrast, setDirection, setFXL, setFontFamily, setFontLanguage, setFontSize, setFontWeight, setForcedColors, setFullscreen, setHasArrows, setHasDisplayTransformability, setHovering, setHyphens, setImmersive, setL10n, setLetterSpacing, setLineHeight, setLineLength, setLoading, setMonochrome, setPaginatedAffordance, setParagraphIndent, setParagraphSpacing, setPlatformModifier, setPositionsList, setProgressionFormat, setPublicationEnd, setPublicationStart, setPublisherStyles, setRTL, setReaderProfile, setReducedMotion, setReducedTransparency, setRunningHeadFormat, setScroll, setScrollAffordance, setScrollAffordances, setSettingsContainer, setSpacingPreset, setTextAlign, setTextNormalization, setTheme, setTimeline, setTocEntry, setTocTree, setUI, setUserNavigated, setWebPubFontFamily, setWebPubFontWeight, setWebPubHyphens, setWebPubLetterSpacing, setWebPubLineHeight, setWebPubParagraphIndent, setWebPubParagraphSpacing, setWebPubPublisherStyles, setWebPubSpacingPreset, setWebPubTextAlign, setWebPubTextNormalization, setWebPubWordSpacing, setWebPubZoom, setWordSpacing, settingsSlice, themeSlice, toggleImmersive, updateFromPreferences, useAppDispatch, useAppSelector, useAppStore, webPubSettingsSlice };
452
+ export { ActionsReducerState, type AppDispatch, type AppState, type AppStore, FontFamilyStateObject, type L10nObject, type PaginatedAffordanceObject, type PaginatedAffordancePayload, type PaginatedAffordanceProperties, type PreferencesReducerState, type PublicationReducerState, type ReaderProfile, type ReaderReducerState, type RenditionChangePayload, type RenditionObject, type RenditionProperties, type RootState, SetFontFamilyPayload, SetSpacingPresetPayload, SettingsReducerState, SpacingStateKey, SpacingStateObject, ThReduxPreferencesAdapter, ThStoreProvider, type ThemeReducerState, type ThemeStateChangePayload, type ThemeStateObject, type UIChangePayload, type WebPubSettingsReducerState, initialWebPubSettingsState, makeStore, preferencesSlice, publicationSlice, readerSlice, setBreakpoint, setColorScheme, setContrast, setDirection, setFXL, setFontLanguage, setForcedColors, setFullscreen, setHasArrows, setHasDisplayTransformability, setHovering, setImmersive, setL10n, setLoading, setMonochrome, setPaginatedAffordance, setPlatformModifier, setPositionsList, setProgressionFormat, setPublicationEnd, setPublicationStart, setRTL, setReaderProfile, setReducedMotion, setReducedTransparency, setRunningHeadFormat, setScrollAffordance, setScrollAffordances, setSettingsContainer, setTheme, setTimeline, setTocEntry, setTocTree, setUI, setUserNavigated, setWebPubFontFamily, setWebPubFontWeight, setWebPubHyphens, setWebPubLetterSpacing, setWebPubLineHeight, setWebPubParagraphIndent, setWebPubParagraphSpacing, setWebPubPublisherStyles, setWebPubSpacingPreset, setWebPubTextAlign, setWebPubTextNormalization, setWebPubWordSpacing, setWebPubZoom, themeSlice, toggleImmersive, updateFromPreferences, useAppDispatch, useAppSelector, useAppStore, webPubSettingsSlice };
@@ -1,5 +1,5 @@
1
- export { ThReduxPreferencesAdapter, ThStoreProvider, actionsSlice, activateDockPanel, collapseDockPanel, deactivateDockPanel, dockAction, expandDockPanel, handleSpacingSetting, initialSettingsState, initialWebPubSettingsState, makeStore, preferencesSlice, publicationSlice, readerSlice, setActionOpen, setBreakpoint, setColorScheme, setColumnCount, setContrast, setDirection, setDockPanelWidth, setFXL, setFontFamily, setFontLanguage, setFontSize, setFontWeight, setForcedColors, setFullscreen, setHasArrows, setHasDisplayTransformability, setHovering, setHyphens, setImmersive, setL10n, setLetterSpacing, setLineHeight, setLineLength, setLoading, setMonochrome, setOverflow, setPaginatedAffordance, setParagraphIndent, setParagraphSpacing, setPlatformModifier, setPositionsList, setProgressionFormat, setPublicationEnd, setPublicationStart, setPublisherStyles, setRTL, setReaderProfile, setReducedMotion, setReducedTransparency, setRunningHeadFormat, setScroll, setScrollAffordance, setScrollAffordances, setSettingsContainer, setSpacingPreset, setTextAlign, setTextNormalization, setTheme, setTimeline, setTocEntry, setTocTree, setUI, setUserNavigated, setWebPubFontFamily, setWebPubFontWeight, setWebPubHyphens, setWebPubLetterSpacing, setWebPubLineHeight, setWebPubParagraphIndent, setWebPubParagraphSpacing, setWebPubPublisherStyles, setWebPubSpacingPreset, setWebPubTextAlign, setWebPubTextNormalization, setWebPubWordSpacing, setWebPubZoom, setWordSpacing, settingsSlice, themeSlice, toggleActionOpen, toggleImmersive, updateFromPreferences, useAppDispatch, useAppSelector, useAppStore, webPubSettingsSlice } from '../chunk-COQXDRKD.mjs';
2
- import '../chunk-NQ2ZSGCX.mjs';
1
+ export { ThReduxPreferencesAdapter, ThStoreProvider, actionsSlice, activateDockPanel, collapseDockPanel, deactivateDockPanel, dockAction, expandDockPanel, handleSpacingSetting, initialSettingsState, initialWebPubSettingsState, makeStore, preferencesSlice, publicationSlice, readerSlice, setActionOpen, setBreakpoint, setColorScheme, setColumnCount, setContrast, setDirection, setDockPanelWidth, setFXL, setFontFamily, setFontLanguage, setFontSize, setFontWeight, setForcedColors, setFullscreen, setHasArrows, setHasDisplayTransformability, setHovering, setHyphens, setImmersive, setL10n, setLetterSpacing, setLineHeight, setLineLength, setLoading, setMonochrome, setOverflow, setPaginatedAffordance, setParagraphIndent, setParagraphSpacing, setPlatformModifier, setPositionsList, setProgressionFormat, setPublicationEnd, setPublicationStart, setPublisherStyles, setRTL, setReaderProfile, setReducedMotion, setReducedTransparency, setRunningHeadFormat, setScroll, setScrollAffordance, setScrollAffordances, setSettingsContainer, setSpacingPreset, setTextAlign, setTextNormalization, setTheme, setTimeline, setTocEntry, setTocTree, setUI, setUserNavigated, setWebPubFontFamily, setWebPubFontWeight, setWebPubHyphens, setWebPubLetterSpacing, setWebPubLineHeight, setWebPubParagraphIndent, setWebPubParagraphSpacing, setWebPubPublisherStyles, setWebPubSpacingPreset, setWebPubTextAlign, setWebPubTextNormalization, setWebPubWordSpacing, setWebPubZoom, setWordSpacing, settingsSlice, themeSlice, toggleActionOpen, toggleImmersive, updateFromPreferences, useAppDispatch, useAppSelector, useAppStore, webPubSettingsSlice } from '../chunk-K3K7TUWM.mjs';
3
2
  import '../chunk-5LUMM7FW.mjs';
3
+ import '../chunk-NQ2ZSGCX.mjs';
4
4
  //# sourceMappingURL=index.mjs.map
5
5
  //# sourceMappingURL=index.mjs.map
@@ -59,6 +59,37 @@
59
59
  "tooltip": "Πλήρης οθόνη",
60
60
  "trigger": "Εναλλαγή σε λειτουργία πλήρους οθόνης",
61
61
  "close": "Έξοδος από την πλήρη οθόνη"
62
+ },
63
+ "toc": {
64
+ "entries": "Καταχωρήσεις στον πίνακα"
65
+ },
66
+ "jumpToPosition": {
67
+ "go": "Μετάβαση",
68
+ "label": "Επιλογή θέσης από {{ positionStart }} ως {{ positionEnd }}:"
69
+ },
70
+ "overflowMenu": {
71
+ "active": {
72
+ "tooltip": "Περισσότερες ενέργειες",
73
+ "trigger": "Μενού εναλλαγής"
74
+ },
75
+ "hint": {
76
+ "tooltip": "Ενέργειες εναλλαγής",
77
+ "trigger": "Εμφάνιση ενεργειών"
78
+ }
79
+ },
80
+ "settings": {
81
+ "text": {
82
+ "advanced": {
83
+ "tooltip": "Πρόσθετες ενέργειες",
84
+ "trigger": "Περισσότερες επιλογές μορφοποίησης"
85
+ }
86
+ },
87
+ "spacing": {
88
+ "advanced": {
89
+ "tooltip": "Πρόσθετες δυνατότητες",
90
+ "trigger": "Περισσότερες ρυθμίσεις για διάκενα"
91
+ }
92
+ }
62
93
  }
63
94
  }
64
95
  }
@@ -3,7 +3,16 @@
3
3
  "app": {
4
4
  "loading": "Loading",
5
5
  "printingDisabled": "Printing has been disabled",
6
- "publicationWrapper": "Youre now in the publication.",
6
+ "publicationWrapper": "You're now in the publication.",
7
+ "errors": {
8
+ "title": "Error",
9
+ "notFound": "Publication not found.",
10
+ "accessDenied": "Access denied.",
11
+ "network": "Server unavailable - please try again later.",
12
+ "serverError": "Server error - please try again later.",
13
+ "clientError": "Invalid request.",
14
+ "generic": "Unable to load publication."
15
+ },
7
16
  "docking": {
8
17
  "dockingLeft": "Docked panel left",
9
18
  "dockingRight": "Docked panel right",
@@ -66,7 +75,10 @@
66
75
  },
67
76
  "jumpToPosition": {
68
77
  "go": "Go",
69
- "label": "Select a position from {{ positionStart }} to {{ positionEnd }}:"
78
+ "label": "Select a position from {{ positionStart }} to {{ positionEnd }}:",
79
+ "error": {
80
+ "notFound": "Position not found."
81
+ }
70
82
  },
71
83
  "overflowMenu": {
72
84
  "active": {
@@ -48,7 +48,8 @@
48
48
  },
49
49
  "back": {
50
50
  "trigger": "Tagasi"
51
- }
51
+ },
52
+ "printingDisabled": "Printimise võimalus on lülitatud välja"
52
53
  },
53
54
  "navigation": {
54
55
  "scroll": {
@@ -65,7 +66,10 @@
65
66
  },
66
67
  "jumpToPosition": {
67
68
  "go": "Suundu",
68
- "label": "Vali asukoht vahemikust {{ positionStart }} kuni {{ positionEnd }}:"
69
+ "label": "Vali asukoht vahemikust {{ positionStart }} kuni {{ positionEnd }}:",
70
+ "error": {
71
+ "notFound": "Asukohta ei leidu."
72
+ }
69
73
  },
70
74
  "overflowMenu": {
71
75
  "active": {
@@ -21,7 +21,7 @@
21
21
  "search": "Hae",
22
22
  "show": "Näytä",
23
23
  "showAll": "Näytä kaikki",
24
- "sortBy": "Lajittele",
24
+ "sortBy": "Lajittelutapa",
25
25
  "toggle": "Vaihda"
26
26
  }
27
27
  },
@@ -64,13 +64,13 @@
64
64
  "auto": "Automaattinen",
65
65
  "dual": {
66
66
  "compact": "2 palstaa",
67
- "descriptive": "2 saraketta"
67
+ "descriptive": "2 palstaa"
68
68
  },
69
69
  "single": {
70
70
  "compact": "1 palsta",
71
- "descriptive": "1 sarake"
71
+ "descriptive": "1 palsta"
72
72
  },
73
- "title": "Sarakkeet"
73
+ "title": "Palstat"
74
74
  },
75
75
  "fit": {
76
76
  "auto": {
@@ -177,7 +177,7 @@
177
177
  "justify": "Tasaa",
178
178
  "left": "Vasen",
179
179
  "right": "Oikea",
180
- "title": "Tekstin tasau"
180
+ "title": "Tekstin tasaus"
181
181
  },
182
182
  "textNormalization": {
183
183
  "label": "Poista kaikki tekstin muotoilut",
@@ -214,16 +214,22 @@
214
214
  },
215
215
  "percentage": "{{ percentage }}%",
216
216
  "positionsLeft": {
217
+ "compact_one": "{{ count }} jäljellä",
218
+ "compact_other": "{{ count }} jäljellä",
217
219
  "descriptive_one": "{{ count }} sijainti jäljellä",
218
220
  "descriptive_other": "{{ count }} sijaintia jäljellä"
219
221
  },
220
222
  "positionsLeftInChapter": {
223
+ "compact_one": "{{ count }} jäljellä luvussa",
224
+ "compact_other": "{{ count }} jäljellä luvussa",
221
225
  "descriptive_one": "{{ count }} sijainti jäljellä luvussa",
222
- "descriptive_other": "{{ count }} jäljellä kohdassa nykyinen luku"
226
+ "descriptive_other": "{{ count }} sijaintia jäljellä luvussa"
223
227
  },
224
228
  "positionsLeftInPublication": {
225
- "descriptive_one": "{{ count }} sijaintia jäljellä luvussa",
226
- "descriptive_other": "{{ count }} jäljellä kohdassa julkaisu"
229
+ "compact_one": "{{ count }} jäljellä julkaisussa",
230
+ "compact_other": "{{ count }} jäljellä julkaisussa",
231
+ "descriptive_one": "{{ count }} sijainti jäljellä julkaisussa",
232
+ "descriptive_other": "{{ count }} sijaintia jäljellä julkaisussa"
227
233
  },
228
234
  "range": "{{ start }}–{{ end }}",
229
235
  "xOfY": {
@@ -48,7 +48,8 @@
48
48
  },
49
49
  "back": {
50
50
  "trigger": "Takaisin"
51
- }
51
+ },
52
+ "printingDisabled": "Tulostus on poistettu käytöstä"
52
53
  },
53
54
  "navigation": {
54
55
  "scroll": {
@@ -12,9 +12,16 @@
12
12
  "exit": "Quitter",
13
13
  "expand": "Développer",
14
14
  "expandAll": "Tout développer",
15
+ "filter": "Filtrer",
16
+ "hide": "Masquer",
17
+ "hideAll": "Tout masquer",
15
18
  "increase": "Augmenter",
19
+ "open": "Ouvrir",
16
20
  "reset": "Réinitialiser",
17
21
  "search": "Rechercher",
22
+ "show": "Afficher",
23
+ "showAll": "Tout afficher",
24
+ "sortBy": "Trier par",
18
25
  "toggle": "Basculer"
19
26
  }
20
27
  },
@@ -22,12 +29,37 @@
22
29
  "actions": {
23
30
  "goBackward": "Reculer",
24
31
  "goForward": "Avancer",
32
+ "goToNextChapter": {
33
+ "compact": "Suivant",
34
+ "descriptive": "Chapitre suivant"
35
+ },
36
+ "goToNextPage": {
37
+ "compact": "Suivant",
38
+ "descriptive": "Page suivante"
39
+ },
40
+ "goToNextSentence": {
41
+ "compact": "Suivant",
42
+ "descriptive": "Phrase suivante"
43
+ },
25
44
  "goToPosition": {
26
45
  "compact": "Aller à …",
27
46
  "descriptive": "Aller à la position"
47
+ },
48
+ "goToPreviousChapter": {
49
+ "compact": "Précédent",
50
+ "descriptive": "Chapitre précédent"
51
+ },
52
+ "goToPreviousPage": {
53
+ "compact": "Précédent",
54
+ "descriptive": "Page précédente"
55
+ },
56
+ "goToPreviousSentence": {
57
+ "compact": "Précédent",
58
+ "descriptive": "Phrase précédente"
28
59
  }
29
60
  },
30
61
  "preferences": {
62
+ "brightness": "Luminosité",
31
63
  "columns": {
32
64
  "auto": "Auto",
33
65
  "dual": {
@@ -40,6 +72,18 @@
40
72
  },
41
73
  "title": "Colonnes"
42
74
  },
75
+ "fit": {
76
+ "auto": {
77
+ "compact": "Auto"
78
+ },
79
+ "page": {
80
+ "compact": "Page"
81
+ },
82
+ "title": "Ajustement",
83
+ "width": {
84
+ "compact": "Largeur"
85
+ }
86
+ },
43
87
  "fontFamily": {
44
88
  "humanist": {
45
89
  "compact": "Humaniste",
@@ -81,12 +125,28 @@
81
125
  "small": "Resserré",
82
126
  "title": "Interligne"
83
127
  },
128
+ "offsetFirstPage": "Afficher la première page seule",
84
129
  "paragraphIndent": "Indentation du texte",
85
130
  "paragraphSpacing": "Espacement des paragraphes",
86
131
  "publisherStyles": {
87
132
  "label": "Utiliser le formatage original",
88
133
  "title": "Styles éditeur"
89
134
  },
135
+ "readingDirection": {
136
+ "default": {
137
+ "compact": "Par défaut",
138
+ "descriptive": "Utiliser la direction de lecture originale"
139
+ },
140
+ "ltr": {
141
+ "compact": "Droite",
142
+ "descriptive": "Gauche à droite"
143
+ },
144
+ "rtl": {
145
+ "compact": "Gauche",
146
+ "descriptive": "Droite à gauche"
147
+ },
148
+ "title": "Direction de lecture"
149
+ },
90
150
  "spacing": {
91
151
  "presets": {
92
152
  "accessible": "Accessible",
@@ -99,6 +159,18 @@
99
159
  },
100
160
  "title": "Espacement"
101
161
  },
162
+ "spread": {
163
+ "always": {
164
+ "compact": "Double page"
165
+ },
166
+ "auto": {
167
+ "compact": "Auto"
168
+ },
169
+ "never": {
170
+ "compact": "Page unique"
171
+ },
172
+ "title": "Affichage double page"
173
+ },
102
174
  "text": "Texte",
103
175
  "textAlign": {
104
176
  "default": "Par défaut",
@@ -117,6 +189,7 @@
117
189
  "contrast2": "Contraste 2",
118
190
  "contrast3": "Contraste 3",
119
191
  "dark": "Sombre",
192
+ "gray": "Gris",
120
193
  "light": "Clair",
121
194
  "paper": "Papier",
122
195
  "sepia": "Sépia",
@@ -127,16 +200,43 @@
127
200
  "zoom": "Zoom"
128
201
  },
129
202
  "progression": {
203
+ "pagesLeft": {
204
+ "descriptive_many": "{{ count }} pages restantes",
205
+ "descriptive_one": "{{ count }} page restante",
206
+ "descriptive_other": "{{ count }} pages restantes"
207
+ },
208
+ "pagesLeftInChapter": {
209
+ "descriptive_many": "{{ count }} pages restantes dans le chapitre",
210
+ "descriptive_one": "{{ count }} page restante dans le chapitre",
211
+ "descriptive_other": "{{ count }} pages restantes dans le chapitre"
212
+ },
213
+ "pagesLeftInPublication": {
214
+ "descriptive_many": "{{ count }} pages restantes dans la publication",
215
+ "descriptive_one": "{{ count }} page restante dans la publication",
216
+ "descriptive_other": "{{ count }} pages restantes dans la publication"
217
+ },
130
218
  "percentage": "{{ percentage }}%",
131
219
  "positionsLeft": {
220
+ "compact_many": "{{ count }} restantes",
221
+ "compact_one": "{{ count }} restante",
222
+ "compact_other": "{{ count }} restantes",
223
+ "descriptive_many": "",
132
224
  "descriptive_one": "{{ count }} position restante",
133
225
  "descriptive_other": "{{ count }} positions restantes"
134
226
  },
135
227
  "positionsLeftInChapter": {
228
+ "compact_many": "{{ count }} restantes dans le chapitre",
229
+ "compact_one": "{{ count }} restante dans le chapitre",
230
+ "compact_other": "{{ count }} restantes dans le chapitre",
231
+ "descriptive_many": "",
136
232
  "descriptive_one": "{{ count }} position restante dans le chapitre",
137
233
  "descriptive_other": "{{ count }} positions restantes dans le chapitre"
138
234
  },
139
235
  "positionsLeftInPublication": {
236
+ "compact_many": "{{ count }} restantes dans la publication",
237
+ "compact_one": "{{ count }} restante dans la publication",
238
+ "compact_other": "{{ count }} restantes dans la publication",
239
+ "descriptive_many": "",
140
240
  "descriptive_one": "{{ count }} position restante dans la publication",
141
241
  "descriptive_other": "{{ count }} positions restantes dans la publication"
142
242
  },
@@ -217,16 +217,25 @@
217
217
  },
218
218
  "percentage": "{{ percentage }}%",
219
219
  "positionsLeft": {
220
+ "compact_many": "{{ count }} rimaste",
221
+ "compact_one": "{{ count }} rimasta",
222
+ "compact_other": "{{ count }} rimaste",
220
223
  "descriptive_many": "{{ count }} posizioni rimaste",
221
224
  "descriptive_one": "{{ count }} posizione rimasta",
222
225
  "descriptive_other": "{{ count }} posizioni rimaste"
223
226
  },
224
227
  "positionsLeftInChapter": {
228
+ "compact_many": "{{ count }} rimaste nel capitolo",
229
+ "compact_one": "{{ count }} rimasta nel capitolo",
230
+ "compact_other": "{{ count }} rimaste nel capitolo",
225
231
  "descriptive_many": "{{ count }} posizioni rimaste nel capitolo",
226
232
  "descriptive_one": "{{ count }} posizione rimasta nel capitolo",
227
233
  "descriptive_other": "{{ count }} posizioni rimaste nel capitolo"
228
234
  },
229
235
  "positionsLeftInPublication": {
236
+ "compact_many": "{{ count }} rimaste nella pubblicazione",
237
+ "compact_one": "{{ count }} rimasta nella pubblicazione",
238
+ "compact_other": "{{ count }} rimaste nella pubblicazione",
230
239
  "descriptive_many": "{{ count }} posizioni rimaste nella pubblicazione",
231
240
  "descriptive_one": "{{ count }} posizione rimasta nella pubblicazione",
232
241
  "descriptive_other": "{{ count }} posizioni rimaste nella pubblicazione"