@edrlab/thorium-web 1.1.7 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ThPreferencesAdapter-B8AYujCA.d.mts → ThPreferencesAdapter-DrZ5_6Dv.d.mts} +4 -139
- package/dist/{ThSettingsWrapper-BlmAxcWF.d.mts → ThSettingsWrapper-8Kx0SnH4.d.mts} +1 -1
- package/dist/{actions-BRtHsxpm.d.mts → actions-D2CHvCHu.d.mts} +2 -2
- package/dist/{actionsReducer-bT0pfxLJ.d.mts → actionsReducer-kc-S130w.d.mts} +3 -24
- package/dist/{chunk-KJXHAJYK.mjs → chunk-4VHEHMJN.mjs} +128 -11
- package/dist/chunk-4VHEHMJN.mjs.map +1 -0
- package/dist/{chunk-6V3O7FCS.mjs → chunk-72XCX5TD.mjs} +3 -3
- package/dist/{chunk-6V3O7FCS.mjs.map → chunk-72XCX5TD.mjs.map} +1 -1
- package/dist/{chunk-YIW2OOMW.mjs → chunk-7NEQAW7J.mjs} +2 -2
- package/dist/chunk-7NEQAW7J.mjs.map +1 -0
- package/dist/{chunk-COQXDRKD.mjs → chunk-K3K7TUWM.mjs} +2 -2
- package/dist/chunk-K3K7TUWM.mjs.map +1 -0
- package/dist/chunk-P4V3LA5R.mjs +407 -0
- package/dist/chunk-P4V3LA5R.mjs.map +1 -0
- package/dist/{chunk-4C3UOTX4.mjs → chunk-PXAUQJEU.mjs} +172 -27
- package/dist/chunk-PXAUQJEU.mjs.map +1 -0
- package/dist/chunk-QPE574OW.mjs +913 -0
- package/dist/chunk-QPE574OW.mjs.map +1 -0
- package/dist/chunk-RRDEPGBK.mjs +75 -0
- package/dist/chunk-RRDEPGBK.mjs.map +1 -0
- package/dist/components/Epub/index.css +7 -0
- package/dist/components/Epub/index.css.map +1 -1
- package/dist/components/Epub/index.d.mts +17 -11
- package/dist/components/Epub/index.mjs +9 -828
- package/dist/components/Epub/index.mjs.map +1 -1
- package/dist/components/Misc/index.css +23 -0
- package/dist/components/Misc/index.css.map +1 -1
- package/dist/components/Misc/index.d.mts +10 -1
- package/dist/components/Misc/index.mjs +31 -3
- package/dist/components/Misc/index.mjs.map +1 -1
- package/dist/components/Reader/index.css +1290 -0
- package/dist/components/Reader/index.css.map +1 -0
- package/dist/components/Reader/index.d.mts +30 -0
- package/dist/components/Reader/index.mjs +79 -0
- package/dist/components/Reader/index.mjs.map +1 -0
- package/dist/components/WebPub/index.css +7 -0
- package/dist/components/WebPub/index.css.map +1 -1
- package/dist/components/WebPub/index.d.mts +16 -32
- package/dist/components/WebPub/index.mjs +9 -372
- package/dist/components/WebPub/index.mjs.map +1 -1
- package/dist/core/Components/index.d.mts +7 -6
- package/dist/core/Helpers/index.d.mts +1 -1
- package/dist/core/Hooks/index.d.mts +55 -6
- package/dist/core/Hooks/index.mjs +1 -1
- package/dist/errorHandler-CL2YIfQY.d.mts +26 -0
- package/dist/i18n/index.mjs +2 -2
- package/dist/immer.d-CoRThNOF.d.mts +23 -0
- package/dist/lib/index.d.mts +12 -162
- package/dist/lib/index.mjs +1 -1
- package/dist/locales/el/thorium-web.json +31 -0
- package/dist/locales/en/thorium-shared.json +84 -0
- package/dist/locales/en/thorium-web.json +10 -1
- package/dist/locales/et/thorium-shared.json +93 -2
- package/dist/locales/et/thorium-web.json +6 -2
- package/dist/locales/fi/thorium-shared.json +82 -8
- package/dist/locales/fi/thorium-web.json +2 -1
- package/dist/locales/fr/thorium-shared.json +100 -0
- package/dist/locales/it/thorium-shared.json +9 -0
- package/dist/locales/lt/thorium-shared.json +22 -13
- package/dist/locales/lt/thorium-web.json +2 -1
- package/dist/locales/pt-PT/thorium-shared.json +64 -1
- package/dist/locales/pt-PT/thorium-web.json +4 -3
- package/dist/locales/sv/thorium-shared.json +61 -3
- package/dist/locales/sv/thorium-web.json +4 -3
- package/dist/preferences/index.d.mts +8 -7
- package/dist/preferences/index.mjs +1 -1
- package/dist/settingsReducer-C1wwCAMv.d.mts +159 -0
- package/dist/{ui-BVlJcPL_.d.mts → ui-CamWuqOo.d.mts} +1 -1
- package/dist/useContrast-D6sjPjxy.d.mts +152 -0
- package/dist/{useEpubNavigator-CsraD65e.d.mts → useEpubNavigator-CwHJfoiV.d.mts} +1 -1
- package/dist/{usePreferences-rfT368__.d.mts → usePreferences-BXFJbval.d.mts} +1 -1
- package/dist/{StatefulReader-CjgFzHoO.d.mts → useReaderTransitions-guT-eA-Q.d.mts} +50 -50
- package/dist/{useWebPubNavigator-Che8r5Wg.d.mts → useWebPubNavigator-CuSNQKMw.d.mts} +1 -1
- package/package.json +5 -3
- package/dist/chunk-4C3UOTX4.mjs.map +0 -1
- package/dist/chunk-COQXDRKD.mjs.map +0 -1
- package/dist/chunk-KJXHAJYK.mjs.map +0 -1
- package/dist/chunk-YIW2OOMW.mjs.map +0 -1
- package/dist/useContrast-Cgsrl7GS.d.mts +0 -15
|
@@ -1,11 +1,18 @@
|
|
|
1
|
-
export { B as BreakpointsMap,
|
|
2
|
-
|
|
1
|
+
export { B as BreakpointsMap, a as ThBreakpointsObject, u as useBreakpoints } from '../../ui-CamWuqOo.mjs';
|
|
2
|
+
import { T as ThLineHeightOptions, c as ThTextAlignOptions } from '../../useContrast-D6sjPjxy.mjs';
|
|
3
|
+
export { d as ThColorScheme, e as ThContrast, A as useColorScheme, B as useContrast } from '../../useContrast-D6sjPjxy.mjs';
|
|
3
4
|
import * as React from 'react';
|
|
4
5
|
export { a as TimelineItem, b as TimelineProgression, T as TocItem, U as UnstableTimeline, t as timelineInstance, u as useTimeline } from '../../useTimeline-DyMx_aWY.mjs';
|
|
5
|
-
export { E as EpubNavigatorLoadProps, u as useEpubNavigator } from '../../useEpubNavigator-
|
|
6
|
-
|
|
6
|
+
export { E as EpubNavigatorLoadProps, u as useEpubNavigator } from '../../useEpubNavigator-CwHJfoiV.mjs';
|
|
7
|
+
import { F as FontFamilyStateObject, L as LineLengthStateObject } from '../../settingsReducer-C1wwCAMv.mjs';
|
|
8
|
+
export { W as WebPubNavigatorLoadProps, u as useWebPubNavigator } from '../../useWebPubNavigator-CuSNQKMw.mjs';
|
|
9
|
+
import '../../actions-D2CHvCHu.mjs';
|
|
10
|
+
import 'react/jsx-runtime';
|
|
11
|
+
import 'react-aria-components';
|
|
7
12
|
import '@readium/shared';
|
|
8
13
|
import '@readium/navigator';
|
|
14
|
+
import '@reduxjs/toolkit';
|
|
15
|
+
import '../../immer.d-CoRThNOF.mjs';
|
|
9
16
|
|
|
10
17
|
declare const useDocumentTitle: (title?: string) => void;
|
|
11
18
|
|
|
@@ -16,7 +23,7 @@ declare const useFullscreen: (onChange?: (isFullscreen: boolean) => void) => {
|
|
|
16
23
|
handleFullscreen: () => void;
|
|
17
24
|
};
|
|
18
25
|
|
|
19
|
-
declare const useLocalStorage: (key: string) => {
|
|
26
|
+
declare const useLocalStorage: (key: string | null) => {
|
|
20
27
|
setLocalData: (newValue: any) => void;
|
|
21
28
|
getLocalData: () => any;
|
|
22
29
|
clearLocalData: () => void;
|
|
@@ -36,4 +43,46 @@ declare const useReducedMotion: (onChange?: (reducedMotion: boolean) => void) =>
|
|
|
36
43
|
|
|
37
44
|
declare const useReducedTransparency: (onChange?: (reducedTransparency: boolean) => void) => boolean;
|
|
38
45
|
|
|
39
|
-
|
|
46
|
+
interface ReadiumCSSSettings {
|
|
47
|
+
columnCount: string;
|
|
48
|
+
fontFamily: FontFamilyStateObject;
|
|
49
|
+
fontSize: number;
|
|
50
|
+
fontWeight: number;
|
|
51
|
+
hyphens: boolean | null;
|
|
52
|
+
letterSpacing: number | null;
|
|
53
|
+
lineLength: LineLengthStateObject | null;
|
|
54
|
+
lineHeight: ThLineHeightOptions | null;
|
|
55
|
+
paragraphIndent: number | null;
|
|
56
|
+
paragraphSpacing: number | null;
|
|
57
|
+
publisherStyles: boolean;
|
|
58
|
+
scroll: boolean;
|
|
59
|
+
textAlign: ThTextAlignOptions | null;
|
|
60
|
+
textNormalization: boolean;
|
|
61
|
+
theme?: string;
|
|
62
|
+
wordSpacing: number | null;
|
|
63
|
+
}
|
|
64
|
+
interface EPubSettingsCache {
|
|
65
|
+
settings: ReadiumCSSSettings;
|
|
66
|
+
}
|
|
67
|
+
declare const useEpubSettingsCache: (textAlign: ThTextAlignOptions | null, columnCount: string, fontFamily: FontFamilyStateObject, fontSize: number, fontWeight: number, hyphens: boolean | null, letterSpacing: number | null, lineLength: LineLengthStateObject | null, lineHeight: ThLineHeightOptions | null, paragraphIndent: number | null, paragraphSpacing: number | null, publisherStyles: boolean, scroll: boolean, textNormalization: boolean, wordSpacing: number | null, theme: string | undefined) => React.RefObject<EPubSettingsCache>;
|
|
68
|
+
|
|
69
|
+
interface WebPubCSSSettings {
|
|
70
|
+
fontFamily: FontFamilyStateObject;
|
|
71
|
+
fontWeight: number;
|
|
72
|
+
hyphens: boolean | null;
|
|
73
|
+
letterSpacing: number | null;
|
|
74
|
+
lineHeight: ThLineHeightOptions | null;
|
|
75
|
+
paragraphIndent: number | null;
|
|
76
|
+
paragraphSpacing: number | null;
|
|
77
|
+
publisherStyles: boolean;
|
|
78
|
+
textAlign: ThTextAlignOptions | null;
|
|
79
|
+
textNormalization: boolean;
|
|
80
|
+
wordSpacing: number | null;
|
|
81
|
+
zoom: number;
|
|
82
|
+
}
|
|
83
|
+
interface WebPubStatelessCache {
|
|
84
|
+
settings: WebPubCSSSettings;
|
|
85
|
+
}
|
|
86
|
+
declare const useWebPubSettingsCache: (fontFamily: FontFamilyStateObject, fontWeight: number, hyphens: boolean | null, letterSpacing: number | null, lineHeight: ThLineHeightOptions | null, paragraphIndent: number | null, paragraphSpacing: number | null, publisherStyles: boolean, textAlign: ThTextAlignOptions | null, textNormalization: boolean, wordSpacing: number | null, zoom: number) => React.RefObject<WebPubStatelessCache>;
|
|
87
|
+
|
|
88
|
+
export { type EPubSettingsCache, type ReadiumCSSSettings, type WebPubCSSSettings, type WebPubStatelessCache, useDocumentTitle, useEpubSettingsCache, useForcedColors, useFullscreen, useIsClient, useLocalStorage, useMediaQuery, useMonochrome, usePrevious, useReducedMotion, useReducedTransparency, useWebPubSettingsCache };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { timelineInstance, useDocumentTitle, useEpubNavigator, useFullscreen, useIsClient, useLocalStorage, useTimeline, useWebPubNavigator } from '../../chunk-
|
|
1
|
+
export { timelineInstance, useDocumentTitle, useEpubNavigator, useEpubSettingsCache, useFullscreen, useIsClient, useLocalStorage, useTimeline, useWebPubNavigator, useWebPubSettingsCache } from '../../chunk-4VHEHMJN.mjs';
|
|
2
2
|
export { useBreakpoints, useForcedColors, useMonochrome, useReducedMotion, useReducedTransparency } from '../../chunk-GFSLVQIG.mjs';
|
|
3
3
|
export { ThColorScheme, ThContrast, useColorScheme, useContrast, useMediaQuery } from '../../chunk-NQ2ZSGCX.mjs';
|
|
4
4
|
export { usePrevious } from '../../chunk-YZ73DHRU.mjs';
|
|
@@ -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 };
|
package/dist/i18n/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { ThI18nProvider, Trans } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { ThI18nProvider, Trans } from '../chunk-72XCX5TD.mjs';
|
|
2
|
+
import '../chunk-7NEQAW7J.mjs';
|
|
3
3
|
import '../chunk-XVSFXHYB.mjs';
|
|
4
4
|
import '../chunk-GFSLVQIG.mjs';
|
|
5
5
|
import '../chunk-5LUMM7FW.mjs';
|
|
@@ -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 };
|
package/dist/lib/index.d.mts
CHANGED
|
@@ -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
|
|
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 {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
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-
|
|
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:
|
|
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,
|
|
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 };
|
package/dist/lib/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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';
|
|
2
2
|
import '../chunk-5LUMM7FW.mjs';
|
|
3
3
|
import '../chunk-NQ2ZSGCX.mjs';
|
|
4
4
|
//# 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
|
}
|
|
@@ -37,6 +37,10 @@
|
|
|
37
37
|
"compact": "Next",
|
|
38
38
|
"descriptive": "Next page"
|
|
39
39
|
},
|
|
40
|
+
"goToNextResource": {
|
|
41
|
+
"compact": "Next",
|
|
42
|
+
"descriptive": "Next resource"
|
|
43
|
+
},
|
|
40
44
|
"goToNextSentence": {
|
|
41
45
|
"compact": "Next",
|
|
42
46
|
"descriptive": "Next sentence"
|
|
@@ -53,11 +57,91 @@
|
|
|
53
57
|
"compact": "Previous",
|
|
54
58
|
"descriptive": "Previous page"
|
|
55
59
|
},
|
|
60
|
+
"goToPreviousResource": {
|
|
61
|
+
"compact": "Previous",
|
|
62
|
+
"descriptive": "Previous resource"
|
|
63
|
+
},
|
|
56
64
|
"goToPreviousSentence": {
|
|
57
65
|
"compact": "Previous",
|
|
58
66
|
"descriptive": "Previous sentence"
|
|
59
67
|
}
|
|
60
68
|
},
|
|
69
|
+
"annotations": {
|
|
70
|
+
"actions": {
|
|
71
|
+
"editNote": {
|
|
72
|
+
"compact": "Edit note"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"bookmarks": {
|
|
76
|
+
"actions": {
|
|
77
|
+
"add": {
|
|
78
|
+
"compact": "Add bookmark"
|
|
79
|
+
},
|
|
80
|
+
"delete": {
|
|
81
|
+
"compact": "Delete bookmark",
|
|
82
|
+
"confirmation": "Are you sure you want to delete this bookmark?"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"emptyState": {
|
|
86
|
+
"description": "No bookmarks added yet.",
|
|
87
|
+
"title": "No bookmarks"
|
|
88
|
+
},
|
|
89
|
+
"title": "Bookmarks"
|
|
90
|
+
},
|
|
91
|
+
"note": {
|
|
92
|
+
"title": "Note"
|
|
93
|
+
},
|
|
94
|
+
"sort": {
|
|
95
|
+
"lastAdded": {
|
|
96
|
+
"compact": "Last added"
|
|
97
|
+
},
|
|
98
|
+
"lastEdited": {
|
|
99
|
+
"compact": "Last edited"
|
|
100
|
+
},
|
|
101
|
+
"progression": {
|
|
102
|
+
"compact": "Progression"
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"playback": {
|
|
107
|
+
"actions": {
|
|
108
|
+
"pause": "Pause",
|
|
109
|
+
"play": "Play",
|
|
110
|
+
"skipBackward": {
|
|
111
|
+
"compact": "Rewind",
|
|
112
|
+
"descriptive": "Skip backward"
|
|
113
|
+
},
|
|
114
|
+
"skipForward": {
|
|
115
|
+
"compact": "Forward",
|
|
116
|
+
"descriptive": "Skip forward"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"preferences": {
|
|
120
|
+
"audio": {
|
|
121
|
+
"skipBackwardInterval": "Skip backward interval",
|
|
122
|
+
"skipForwardInterval": "Skip forward interval",
|
|
123
|
+
"skipInterval": "Skip interval",
|
|
124
|
+
"title": "Audio Settings",
|
|
125
|
+
"volume": "Volume"
|
|
126
|
+
},
|
|
127
|
+
"autoPlay": {
|
|
128
|
+
"label": "Continuous play",
|
|
129
|
+
"title": "Autoplay"
|
|
130
|
+
},
|
|
131
|
+
"playbackRate": {
|
|
132
|
+
"compact": "Speed",
|
|
133
|
+
"descriptive": "Playback rate"
|
|
134
|
+
},
|
|
135
|
+
"sleepTimer": {
|
|
136
|
+
"compact": "Timer",
|
|
137
|
+
"descriptive": "Sleep timer",
|
|
138
|
+
"presets": {
|
|
139
|
+
"endOfChapter": "End of chapter",
|
|
140
|
+
"endOfResource": "End of resource"
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
},
|
|
61
145
|
"preferences": {
|
|
62
146
|
"brightness": "Brightness",
|
|
63
147
|
"columns": {
|
|
@@ -3,7 +3,16 @@
|
|
|
3
3
|
"app": {
|
|
4
4
|
"loading": "Loading",
|
|
5
5
|
"printingDisabled": "Printing has been disabled",
|
|
6
|
-
"publicationWrapper": "You
|
|
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",
|
|
@@ -58,6 +58,62 @@
|
|
|
58
58
|
"descriptive": "Eelmine lause"
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
|
+
"annotations": {
|
|
62
|
+
"actions": {
|
|
63
|
+
"editNote": {
|
|
64
|
+
"compact": "Muuda märget"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"bookmarks": {
|
|
68
|
+
"actions": {
|
|
69
|
+
"add": {
|
|
70
|
+
"compact": "Lisa järjehoidja"
|
|
71
|
+
},
|
|
72
|
+
"delete": {
|
|
73
|
+
"compact": "Kustuta järjehoidja",
|
|
74
|
+
"confirmation": "Kas oled kindel, et soovid selle järjehoidja kustutada?"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"emptyState": {
|
|
78
|
+
"description": "Ühtegi järjehoidjat pole veel lisatud.",
|
|
79
|
+
"title": "Järjehoidjaid pole"
|
|
80
|
+
},
|
|
81
|
+
"title": "Järjehoidjad"
|
|
82
|
+
},
|
|
83
|
+
"note": {
|
|
84
|
+
"title": "Märge"
|
|
85
|
+
},
|
|
86
|
+
"sort": {
|
|
87
|
+
"lastAdded": {
|
|
88
|
+
"compact": "Viimati lisatud"
|
|
89
|
+
},
|
|
90
|
+
"lastEdited": {
|
|
91
|
+
"compact": "Viimati muudetud"
|
|
92
|
+
},
|
|
93
|
+
"progression": {
|
|
94
|
+
"compact": "Edenemine"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"playback": {
|
|
99
|
+
"actions": {
|
|
100
|
+
"pause": "Peata",
|
|
101
|
+
"play": "Esita",
|
|
102
|
+
"skipBackward": {
|
|
103
|
+
"compact": "Keri tagasi",
|
|
104
|
+
"descriptive": "Keri tagasi"
|
|
105
|
+
},
|
|
106
|
+
"skipForward": {
|
|
107
|
+
"compact": "Edasi",
|
|
108
|
+
"descriptive": "Keri edasi"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"preferences": {
|
|
112
|
+
"audio": {
|
|
113
|
+
"skipBackwardInterval": "Tagasikerimise samm"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
},
|
|
61
117
|
"preferences": {
|
|
62
118
|
"brightness": "Eredus",
|
|
63
119
|
"columns": {
|
|
@@ -87,7 +143,30 @@
|
|
|
87
143
|
"fontFamily": {
|
|
88
144
|
"humanist": {
|
|
89
145
|
"compact": "Humanist"
|
|
90
|
-
}
|
|
146
|
+
},
|
|
147
|
+
"modern": {
|
|
148
|
+
"compact": "Moodne"
|
|
149
|
+
},
|
|
150
|
+
"monospace": "Fikseeritud laiusega kirjatüüp",
|
|
151
|
+
"sans": "Seriifideta"
|
|
152
|
+
},
|
|
153
|
+
"fontWeight": {
|
|
154
|
+
"bold": "Paksem",
|
|
155
|
+
"normal": "Tavaline"
|
|
156
|
+
},
|
|
157
|
+
"hyphens": {
|
|
158
|
+
"title": "Poolitamine"
|
|
159
|
+
},
|
|
160
|
+
"layout": {
|
|
161
|
+
"paginated": "Jagatud lehtedeks",
|
|
162
|
+
"scrolled": "Keritav",
|
|
163
|
+
"title": "Paigutus"
|
|
164
|
+
},
|
|
165
|
+
"lineHeight": {
|
|
166
|
+
"default": "Vaikimisi",
|
|
167
|
+
"large": "Hõre",
|
|
168
|
+
"medium": "Tasakaalustatud",
|
|
169
|
+
"small": "Tihe"
|
|
91
170
|
},
|
|
92
171
|
"readingDirection": {
|
|
93
172
|
"ltr": {
|
|
@@ -109,7 +188,19 @@
|
|
|
109
188
|
"loose": "Hõre",
|
|
110
189
|
"tight": "Tihe",
|
|
111
190
|
"title": "Eelseadistused"
|
|
112
|
-
}
|
|
191
|
+
},
|
|
192
|
+
"title": "Sõrendus"
|
|
193
|
+
},
|
|
194
|
+
"text": "Tekst",
|
|
195
|
+
"textAlign": {
|
|
196
|
+
"default": "Vaikimisi",
|
|
197
|
+
"justify": "Rööpne",
|
|
198
|
+
"left": "Vasakul",
|
|
199
|
+
"right": "Paremal"
|
|
200
|
+
},
|
|
201
|
+
"themes": {
|
|
202
|
+
"auto": "Automaatne",
|
|
203
|
+
"title": "Kujundused"
|
|
113
204
|
}
|
|
114
205
|
},
|
|
115
206
|
"progression": {
|