@edrlab/thorium-web 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ThPreferencesAdapter-L1H6gzmu.d.mts → ThPreferencesAdapter-B3a-f5v-.d.mts} +25 -18
- package/dist/{ThSettingsWrapper-DWEA4hYF.d.mts → ThSettingsWrapper-DtzcwzYX.d.mts} +4 -4
- package/dist/{actions-BjeRjaJU.d.mts → actions-C33UN3Ji.d.mts} +18 -4
- package/dist/{actionsReducer-B32cq2mB.d.mts → actionsReducer-Bzcj3wk3.d.mts} +1 -1
- package/dist/{chunk-NUXGQWED.mjs → chunk-2NCN2AG2.mjs} +3 -3
- package/dist/{chunk-NUXGQWED.mjs.map → chunk-2NCN2AG2.mjs.map} +1 -1
- package/dist/{chunk-IVXRCKWR.mjs → chunk-2T65MDBR.mjs} +4 -4
- package/dist/{chunk-IVXRCKWR.mjs.map → chunk-2T65MDBR.mjs.map} +1 -1
- package/dist/{chunk-KVUG6BNI.mjs → chunk-63LKYJFG.mjs} +62 -56
- package/dist/chunk-63LKYJFG.mjs.map +1 -0
- package/dist/chunk-AQSJDL63.mjs +193 -0
- package/dist/chunk-AQSJDL63.mjs.map +1 -0
- package/dist/{chunk-TSLTLQ6O.mjs → chunk-BBCSLDQT.mjs} +144 -86
- package/dist/chunk-BBCSLDQT.mjs.map +1 -0
- package/dist/{chunk-QUSGPT5M.mjs → chunk-BCXKBHU3.mjs} +34 -15
- package/dist/chunk-BCXKBHU3.mjs.map +1 -0
- package/dist/{chunk-T5ENYSDJ.mjs → chunk-DQDOOTCE.mjs} +3 -3
- package/dist/{chunk-T5ENYSDJ.mjs.map → chunk-DQDOOTCE.mjs.map} +1 -1
- package/dist/chunk-GNROODJB.mjs +9 -0
- package/dist/chunk-GNROODJB.mjs.map +1 -0
- package/dist/{chunk-SZAVAQ6S.mjs → chunk-GRYEOCGD.mjs} +8 -5
- package/dist/chunk-GRYEOCGD.mjs.map +1 -0
- package/dist/{chunk-PXXWEMNL.mjs → chunk-KJ55Q63A.mjs} +220 -106
- package/dist/chunk-KJ55Q63A.mjs.map +1 -0
- package/dist/{chunk-5LUMM7FW.mjs → chunk-KOR74F6M.mjs} +9 -41
- package/dist/chunk-KOR74F6M.mjs.map +1 -0
- package/dist/{chunk-WLVE3WNW.mjs → chunk-PAFJZH7O.mjs} +12 -7
- package/dist/chunk-PAFJZH7O.mjs.map +1 -0
- package/dist/{chunk-XRFLDNAY.mjs → chunk-PRQBFBJ7.mjs} +123 -56
- package/dist/chunk-PRQBFBJ7.mjs.map +1 -0
- package/dist/{chunk-6MONB2DN.mjs → chunk-Y5X74VW7.mjs} +52 -146
- package/dist/chunk-Y5X74VW7.mjs.map +1 -0
- package/dist/{chunk-P6ILEQ5P.mjs → chunk-ZD4LTF6G.mjs} +17 -9
- package/dist/chunk-ZD4LTF6G.mjs.map +1 -0
- package/dist/components/Audio/index.css +12 -1
- package/dist/components/Audio/index.css.map +1 -1
- package/dist/components/Audio/index.d.mts +17 -15
- package/dist/components/Audio/index.mjs +11 -11
- package/dist/components/Epub/index.css +12 -1
- package/dist/components/Epub/index.css.map +1 -1
- package/dist/components/Epub/index.d.mts +14 -13
- package/dist/components/Epub/index.mjs +12 -12
- package/dist/components/Misc/index.mjs +5 -5
- package/dist/components/Reader/index.css +12 -1
- package/dist/components/Reader/index.css.map +1 -1
- package/dist/components/Reader/index.d.mts +12 -11
- package/dist/components/Reader/index.mjs +26 -24
- package/dist/components/Reader/index.mjs.map +1 -1
- package/dist/components/WebPub/index.css +12 -1
- package/dist/components/WebPub/index.css.map +1 -1
- package/dist/components/WebPub/index.d.mts +14 -13
- package/dist/components/WebPub/index.mjs +12 -12
- package/dist/core/Components/index.d.mts +7 -6
- package/dist/core/Components/index.mjs +2 -2
- package/dist/core/Helpers/index.d.mts +1 -1
- package/dist/core/Helpers/index.mjs +1 -1
- package/dist/core/Hooks/index.d.mts +6 -5
- package/dist/core/Hooks/index.mjs +1 -1
- package/dist/i18n/index.mjs +3 -3
- package/dist/keyboardUtilities-BCP3UcLb.d.mts +30 -0
- package/dist/lib/index.d.mts +17 -9
- package/dist/lib/index.mjs +2 -2
- package/dist/locales/da/thorium-web.json +37 -2
- package/dist/locales/fi/thorium-web.json +1 -1
- package/dist/locales/fr/thorium-web.json +1 -1
- package/dist/locales/he/thorium-web.json +9 -0
- package/dist/locales/it/thorium-web.json +22 -0
- package/dist/locales/lt/thorium-web.json +26 -1
- package/dist/locales/sv/thorium-web.json +22 -0
- package/dist/next-lib/index.mjs +1 -1
- package/dist/next-lib/index.mjs.map +1 -1
- package/dist/preferences/index.d.mts +14 -23
- package/dist/preferences/index.mjs +4 -4
- package/dist/{settingsReducer-DLaT2wUB.d.mts → settingsReducer-Pp9aoiiC.d.mts} +1 -1
- package/dist/{useAudioNavigator-CWXyNWq1.d.mts → useAudioNavigator-pGwxhXLj.d.mts} +4 -1
- package/dist/{useContrast-Bo7cDw_X.d.mts → useContrast-Bl08zDTU.d.mts} +2 -7
- package/dist/{usePreferences-D8NU1yhP.d.mts → usePreferences-Cy7-JN2x.d.mts} +4 -8
- package/dist/{useReaderTransitions-BQGzKeY2.d.mts → useReaderTransitions-Zvomj9RQ.d.mts} +30 -21
- package/package.json +7 -7
- package/dist/chunk-5LUMM7FW.mjs.map +0 -1
- package/dist/chunk-6MONB2DN.mjs.map +0 -1
- package/dist/chunk-B3WDMWCT.mjs +0 -9
- package/dist/chunk-B3WDMWCT.mjs.map +0 -1
- package/dist/chunk-KVUG6BNI.mjs.map +0 -1
- package/dist/chunk-MLEYTQGK.mjs +0 -60
- package/dist/chunk-MLEYTQGK.mjs.map +0 -1
- package/dist/chunk-P6ILEQ5P.mjs.map +0 -1
- package/dist/chunk-PXXWEMNL.mjs.map +0 -1
- package/dist/chunk-QUSGPT5M.mjs.map +0 -1
- package/dist/chunk-SZAVAQ6S.mjs.map +0 -1
- package/dist/chunk-TSLTLQ6O.mjs.map +0 -1
- package/dist/chunk-WLVE3WNW.mjs.map +0 -1
- package/dist/chunk-XRFLDNAY.mjs.map +0 -1
- package/dist/keyboardUtilities-BWAyLS_D.d.mts +0 -56
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
interface UnstableKey {
|
|
2
|
+
[key: string]: string;
|
|
3
|
+
longform: string;
|
|
4
|
+
shortform: string;
|
|
5
|
+
}
|
|
6
|
+
interface UnstableMetaKey extends UnstableKey {
|
|
7
|
+
modifier: "altKey" | "ctrlKey" | "metaKey" | "shiftKey";
|
|
8
|
+
symbol: "⌥" | "^" | "⌘" | "⊞" | "⇧";
|
|
9
|
+
}
|
|
10
|
+
interface UnstablePlatformModifier extends UnstableKey {
|
|
11
|
+
modifier: "ctrlKey" | "metaKey";
|
|
12
|
+
symbol: "^" | "⌘";
|
|
13
|
+
}
|
|
14
|
+
interface UnstableMetaKeys {
|
|
15
|
+
[key: string]: UnstableMetaKey;
|
|
16
|
+
altKey: UnstableMetaKey;
|
|
17
|
+
ctrlKey: UnstableMetaKey;
|
|
18
|
+
metaKey: UnstableMetaKey;
|
|
19
|
+
shiftKey: UnstableMetaKey;
|
|
20
|
+
}
|
|
21
|
+
declare enum ShortcutRepresentation {
|
|
22
|
+
symbol = "symbol",
|
|
23
|
+
short = "shortform",
|
|
24
|
+
long = "longform"
|
|
25
|
+
}
|
|
26
|
+
declare const metaKeys: UnstableMetaKeys;
|
|
27
|
+
declare const defaultPlatformModifier: UnstableMetaKey & UnstablePlatformModifier;
|
|
28
|
+
declare const getPlatformModifier: () => UnstablePlatformModifier;
|
|
29
|
+
|
|
30
|
+
export { ShortcutRepresentation as S, type UnstableKey as U, type UnstableMetaKey as a, type UnstablePlatformModifier as b, type UnstableMetaKeys as c, defaultPlatformModifier as d, getPlatformModifier as g, metaKeys as m };
|
package/dist/lib/index.d.mts
CHANGED
|
@@ -2,20 +2,22 @@ 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
4
|
import { W as WritableDraft } from '../immer.d-CoRThNOF.mjs';
|
|
5
|
-
import { b as UnstablePlatformModifier } from '../keyboardUtilities-
|
|
6
|
-
import { m as ThSettingsContainerKeys, e as ThColorScheme, f as ThContrast, T as ThLineHeightOptions, c as ThTextAlignOptions, a as ThSpacingPresetKeys } from '../useContrast-
|
|
5
|
+
import { b as UnstablePlatformModifier } from '../keyboardUtilities-BCP3UcLb.mjs';
|
|
6
|
+
import { m as ThSettingsContainerKeys, e as ThColorScheme, f as ThContrast, T as ThLineHeightOptions, c as ThTextAlignOptions, a as ThSpacingPresetKeys } from '../useContrast-Bl08zDTU.mjs';
|
|
7
7
|
import { q as ThLayoutDirection, d as ThBreakpoints, i as ThProgressionFormat, h as ThRunningHeadFormat, n as ThPaginatedAffordancePrefValue, j as ThLayoutUI } from '../ui-DnZZhozX.mjs';
|
|
8
|
-
import { F as FontFamilyStateObject, e as SpacingStateObject, S as SetFontFamilyPayload, c as SetSpacingPresetPayload, d as SpacingStateKey, f as SettingsReducerState } from '../settingsReducer-
|
|
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, o as setLetterSpacing, n as setLigatures, p as setLineHeight, q as setLineLength, z as setNoRuby, r as setParagraphIndent, t as setParagraphSpacing, u as setPublisherStyles, v as setScroll, w as setSpacingPreset, x as setTextAlign, y as setTextNormalization, A as setWordSpacing, s as settingsSlice } from '../settingsReducer-
|
|
10
|
-
import { a as ThemeTokens,
|
|
11
|
-
import { m as ActionsReducerState } from '../actionsReducer-
|
|
12
|
-
export { l as ActionKeysState, f as ActionOverflowOpenPayload, c as ActionStateDockPayload, g as ActionStateDockedPayload, a as ActionStateObject, d as ActionStateOpenPayload, h as ActionStateSlotPayload, i as ActionStateSlotPayloadWithProfile, j as ActionStateSlotWidthPayload, e as ActionStateTogglePayload, A as ActionsStateKeys, k as DockState, D as DockStateObject, O as OverflowStateKeys, b as OverflowStateObject, n as actionsSlice, q as activateDockPanel, u as collapseDockPanel, r as deactivateDockPanel, o as dockAction, v as expandDockPanel, s as setActionOpen, w as setDockPanelWidth, p as setOverflow, t as toggleActionOpen } from '../actionsReducer-
|
|
8
|
+
import { F as FontFamilyStateObject, e as SpacingStateObject, S as SetFontFamilyPayload, c as SetSpacingPresetPayload, d as SpacingStateKey, f as SettingsReducerState } from '../settingsReducer-Pp9aoiiC.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, o as setLetterSpacing, n as setLigatures, p as setLineHeight, q as setLineLength, z as setNoRuby, r as setParagraphIndent, t as setParagraphSpacing, u as setPublisherStyles, v as setScroll, w as setSpacingPreset, x as setTextAlign, y as setTextNormalization, A as setWordSpacing, s as settingsSlice } from '../settingsReducer-Pp9aoiiC.mjs';
|
|
10
|
+
import { a as ThemeTokens, e as ThPreferences, C as CustomizableKeys, d as ThPreferencesAdapter, g as ThGlobalPreferencesAdapter, f as ThGlobalPreferences } from '../ThPreferencesAdapter-B3a-f5v-.mjs';
|
|
11
|
+
import { m as ActionsReducerState } from '../actionsReducer-Bzcj3wk3.mjs';
|
|
12
|
+
export { l as ActionKeysState, f as ActionOverflowOpenPayload, c as ActionStateDockPayload, g as ActionStateDockedPayload, a as ActionStateObject, d as ActionStateOpenPayload, h as ActionStateSlotPayload, i as ActionStateSlotPayloadWithProfile, j as ActionStateSlotWidthPayload, e as ActionStateTogglePayload, A as ActionsStateKeys, k as DockState, D as DockStateObject, O as OverflowStateKeys, b as OverflowStateObject, n as actionsSlice, q as activateDockPanel, u as collapseDockPanel, r as deactivateDockPanel, o as dockAction, v as expandDockPanel, s as setActionOpen, w as setDockPanelWidth, p as setOverflow, t as toggleActionOpen } from '../actionsReducer-Bzcj3wk3.mjs';
|
|
13
13
|
import { Locator } from '@readium/shared';
|
|
14
14
|
import { ScriptMode } from '@readium/navigator';
|
|
15
15
|
import { U as UnstableTimeline, b as TocItem } from '../useTimeline-DCZ1qoCO.mjs';
|
|
16
16
|
import { TypedUseSelectorHook } from 'react-redux';
|
|
17
|
-
import '../actions-
|
|
17
|
+
import '../actions-C33UN3Ji.mjs';
|
|
18
|
+
import 'react';
|
|
18
19
|
import 'react-aria-components';
|
|
20
|
+
import '@readium/navigator-html-injectables';
|
|
19
21
|
|
|
20
22
|
type ReaderProfile = "epub" | "webPub" | "audio" | undefined;
|
|
21
23
|
interface ReaderReducerState {
|
|
@@ -113,6 +115,7 @@ interface ThemeReducerState {
|
|
|
113
115
|
prefersContrast: ThContrast;
|
|
114
116
|
forcedColors: boolean;
|
|
115
117
|
breakpoint?: ThBreakpoints;
|
|
118
|
+
containerBreakpoint?: ThBreakpoints;
|
|
116
119
|
}
|
|
117
120
|
declare const themeSlice: _reduxjs_toolkit.Slice<ThemeReducerState, {
|
|
118
121
|
setMonochrome: (state: WritableDraft<ThemeReducerState>, action: {
|
|
@@ -148,6 +151,10 @@ declare const themeSlice: _reduxjs_toolkit.Slice<ThemeReducerState, {
|
|
|
148
151
|
payload: any;
|
|
149
152
|
type: string;
|
|
150
153
|
}) => void;
|
|
154
|
+
setContainerBreakpoint: (state: WritableDraft<ThemeReducerState>, action: {
|
|
155
|
+
payload: any;
|
|
156
|
+
type: string;
|
|
157
|
+
}) => void;
|
|
151
158
|
}, "theming", "theming", _reduxjs_toolkit.SliceSelectors<ThemeReducerState>>;
|
|
152
159
|
declare const setMonochrome: _reduxjs_toolkit.ActionCreatorWithPayload<any, "theming/setMonochrome">;
|
|
153
160
|
declare const setColorScheme: _reduxjs_toolkit.ActionCreatorWithPayload<any, "theming/setColorScheme">;
|
|
@@ -161,6 +168,7 @@ declare const setReducedTransparency: _reduxjs_toolkit.ActionCreatorWithPayload<
|
|
|
161
168
|
declare const setContrast: _reduxjs_toolkit.ActionCreatorWithPayload<any, "theming/setContrast">;
|
|
162
169
|
declare const setForcedColors: _reduxjs_toolkit.ActionCreatorWithPayload<any, "theming/setForcedColors">;
|
|
163
170
|
declare const setBreakpoint: _reduxjs_toolkit.ActionCreatorWithPayload<any, "theming/setBreakpoint">;
|
|
171
|
+
declare const setContainerBreakpoint: _reduxjs_toolkit.ActionCreatorWithPayload<any, "theming/setContainerBreakpoint">;
|
|
164
172
|
|
|
165
173
|
interface AdjacentTimelineItem {
|
|
166
174
|
title: string;
|
|
@@ -622,4 +630,4 @@ declare const useAppDispatch: () => AppDispatch;
|
|
|
622
630
|
declare const useAppSelector: TypedUseSelectorHook<RootState>;
|
|
623
631
|
declare const useAppStore: () => AppStore;
|
|
624
632
|
|
|
625
|
-
export { ActionsReducerState, type AdjacentTimelineItem, type AppDispatch, type AppState, type AppStore, type AudioSettingsState, FontFamilyStateObject, type GlobalPreferencesReducerState, type PaginatedAffordanceObject, type PaginatedAffordancePayload, type PaginatedAffordanceProperties, type PlayerReducerState, type PlayerStatus, type PreferencesReducerState, type PublicationReducerState, type ReaderProfile, type ReaderReducerState, type RemotePlaybackState, type RenditionChangePayload, type RenditionObject, type RenditionProperties, type RootState, type SeekableRange, SetFontFamilyPayload, SetSpacingPresetPayload, SettingsReducerState, type SleepTimerState, SpacingStateKey, SpacingStateObject, ThReduxGlobalPreferencesAdapter, ThReduxPreferencesAdapter, ThStoreProvider, type ThemeReducerState, type ThemeStateChangePayload, type ThemeStateObject, type UIChangePayload, type WebPubSettingsReducerState, audioSettingsSlice, globalPreferencesSlice, initialWebPubSettingsState, makeStore, playerSlice, preferencesSlice, publicationSlice, readerSlice, setAdjacentTimelineItems, setAutoPlay, setBreakpoint, setColorScheme, setContrast, setCoverTheme, setDirection, setEnableMediaSession, setFXL, setFontLanguage, setForcedColors, setFullscreen, setHasArrows, setHasDisplayTransformability, setHovering, setImmersive, setLoading, setLocale, setMonochrome, setPaginatedAffordance, setPlatformModifier, setPlaybackRate, setPollInterval, setPositionsList, setPreservePitch, setProgressionFormat, setPublicationEnd, setPublicationStart, setRTL, setReaderProfile, setReducedMotion, setReducedTransparency, setRemotePlaybackState, setRunningHeadFormat, setScriptMode, setScrollAffordance, setScrollAffordances, setSeekableRanges, setSeeking, setSettingsContainer, setSkipBackwardInterval, setSkipForwardInterval, setSkipInterval, setSleepTimerOnFragmentEnd, setSleepTimerOnTrackEnd, setSleepTimerRemainingSeconds, setStalled, setStatus, setTheme, setTimeline, setTocEntry, setTocTree, setTrackReady, setUI, setUserNavigated, setVolume, setWebPubFontFamily, setWebPubFontWeight, setWebPubHyphens, setWebPubLetterSpacing, setWebPubLigatures, setWebPubLineHeight, setWebPubNoRuby, setWebPubParagraphIndent, setWebPubParagraphSpacing, setWebPubPublisherStyles, setWebPubSpacingPreset, setWebPubTextAlign, setWebPubTextNormalization, setWebPubWordSpacing, setWebPubZoom, themeSlice, toggleImmersive, updateFromPreferences, useAppDispatch, useAppSelector, useAppStore, webPubSettingsSlice };
|
|
633
|
+
export { ActionsReducerState, type AdjacentTimelineItem, type AppDispatch, type AppState, type AppStore, type AudioSettingsState, FontFamilyStateObject, type GlobalPreferencesReducerState, type PaginatedAffordanceObject, type PaginatedAffordancePayload, type PaginatedAffordanceProperties, type PlayerReducerState, type PlayerStatus, type PreferencesReducerState, type PublicationReducerState, type ReaderProfile, type ReaderReducerState, type RemotePlaybackState, type RenditionChangePayload, type RenditionObject, type RenditionProperties, type RootState, type SeekableRange, SetFontFamilyPayload, SetSpacingPresetPayload, SettingsReducerState, type SleepTimerState, SpacingStateKey, SpacingStateObject, ThReduxGlobalPreferencesAdapter, ThReduxPreferencesAdapter, ThStoreProvider, type ThemeReducerState, type ThemeStateChangePayload, type ThemeStateObject, type UIChangePayload, type WebPubSettingsReducerState, audioSettingsSlice, globalPreferencesSlice, initialWebPubSettingsState, makeStore, playerSlice, preferencesSlice, publicationSlice, readerSlice, setAdjacentTimelineItems, setAutoPlay, setBreakpoint, setColorScheme, setContainerBreakpoint, setContrast, setCoverTheme, setDirection, setEnableMediaSession, setFXL, setFontLanguage, setForcedColors, setFullscreen, setHasArrows, setHasDisplayTransformability, setHovering, setImmersive, setLoading, setLocale, setMonochrome, setPaginatedAffordance, setPlatformModifier, setPlaybackRate, setPollInterval, setPositionsList, setPreservePitch, setProgressionFormat, setPublicationEnd, setPublicationStart, setRTL, setReaderProfile, setReducedMotion, setReducedTransparency, setRemotePlaybackState, setRunningHeadFormat, setScriptMode, setScrollAffordance, setScrollAffordances, setSeekableRanges, setSeeking, setSettingsContainer, setSkipBackwardInterval, setSkipForwardInterval, setSkipInterval, setSleepTimerOnFragmentEnd, setSleepTimerOnTrackEnd, setSleepTimerRemainingSeconds, setStalled, setStatus, setTheme, setTimeline, setTocEntry, setTocTree, setTrackReady, setUI, setUserNavigated, setVolume, setWebPubFontFamily, setWebPubFontWeight, setWebPubHyphens, setWebPubLetterSpacing, setWebPubLigatures, setWebPubLineHeight, setWebPubNoRuby, setWebPubParagraphIndent, setWebPubParagraphSpacing, setWebPubPublisherStyles, setWebPubSpacingPreset, setWebPubTextAlign, setWebPubTextNormalization, setWebPubWordSpacing, setWebPubZoom, themeSlice, toggleImmersive, updateFromPreferences, useAppDispatch, useAppSelector, useAppStore, webPubSettingsSlice };
|
package/dist/lib/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { ThReduxGlobalPreferencesAdapter, ThReduxPreferencesAdapter, ThStoreProvider, actionsSlice, activateDockPanel, audioSettingsSlice, collapseDockPanel, deactivateDockPanel, dockAction, expandDockPanel, globalPreferencesSlice, handleSpacingSetting, initialSettingsState, initialWebPubSettingsState, makeStore, playerSlice, preferencesSlice, publicationSlice, readerSlice, setActionOpen, setAdjacentTimelineItems, setAutoPlay, setBreakpoint, setColorScheme, setColumnCount, setContrast, setCoverTheme, setDirection, setDockPanelWidth, setEnableMediaSession, setFXL, setFontFamily, setFontLanguage, setFontSize, setFontWeight, setForcedColors, setFullscreen, setHasArrows, setHasDisplayTransformability, setHovering, setHyphens, setImmersive, setLetterSpacing, setLigatures, setLineHeight, setLineLength, setLoading, setLocale, setMonochrome, setNoRuby, setOverflow, setPaginatedAffordance, setParagraphIndent, setParagraphSpacing, setPlatformModifier, setPlaybackRate, setPollInterval, setPositionsList, setPreservePitch, setProgressionFormat, setPublicationEnd, setPublicationStart, setPublisherStyles, setRTL, setReaderProfile, setReducedMotion, setReducedTransparency, setRemotePlaybackState, setRunningHeadFormat, setScriptMode, setScroll, setScrollAffordance, setScrollAffordances, setSeekableRanges, setSeeking, setSettingsContainer, setSkipBackwardInterval, setSkipForwardInterval, setSkipInterval, setSleepTimerOnFragmentEnd, setSleepTimerOnTrackEnd, setSleepTimerRemainingSeconds, setSpacingPreset, setStalled, setStatus, setTextAlign, setTextNormalization, setTheme, setTimeline, setTocEntry, setTocTree, setTrackReady, setUI, setUserNavigated, setVolume, setWebPubFontFamily, setWebPubFontWeight, setWebPubHyphens, setWebPubLetterSpacing, setWebPubLigatures, setWebPubLineHeight, setWebPubNoRuby, setWebPubParagraphIndent, setWebPubParagraphSpacing, setWebPubPublisherStyles, setWebPubSpacingPreset, setWebPubTextAlign, setWebPubTextNormalization, setWebPubWordSpacing, setWebPubZoom, setWordSpacing, settingsSlice, themeSlice, toggleActionOpen, toggleImmersive, updateFromPreferences, webPubSettingsSlice } from '../chunk-
|
|
1
|
+
export { ThReduxGlobalPreferencesAdapter, ThReduxPreferencesAdapter, ThStoreProvider, actionsSlice, activateDockPanel, audioSettingsSlice, collapseDockPanel, deactivateDockPanel, dockAction, expandDockPanel, globalPreferencesSlice, handleSpacingSetting, initialSettingsState, initialWebPubSettingsState, makeStore, playerSlice, preferencesSlice, publicationSlice, readerSlice, setActionOpen, setAdjacentTimelineItems, setAutoPlay, setBreakpoint, setColorScheme, setColumnCount, setContainerBreakpoint, setContrast, setCoverTheme, setDirection, setDockPanelWidth, setEnableMediaSession, setFXL, setFontFamily, setFontLanguage, setFontSize, setFontWeight, setForcedColors, setFullscreen, setHasArrows, setHasDisplayTransformability, setHovering, setHyphens, setImmersive, setLetterSpacing, setLigatures, setLineHeight, setLineLength, setLoading, setLocale, setMonochrome, setNoRuby, setOverflow, setPaginatedAffordance, setParagraphIndent, setParagraphSpacing, setPlatformModifier, setPlaybackRate, setPollInterval, setPositionsList, setPreservePitch, setProgressionFormat, setPublicationEnd, setPublicationStart, setPublisherStyles, setRTL, setReaderProfile, setReducedMotion, setReducedTransparency, setRemotePlaybackState, setRunningHeadFormat, setScriptMode, setScroll, setScrollAffordance, setScrollAffordances, setSeekableRanges, setSeeking, setSettingsContainer, setSkipBackwardInterval, setSkipForwardInterval, setSkipInterval, setSleepTimerOnFragmentEnd, setSleepTimerOnTrackEnd, setSleepTimerRemainingSeconds, setSpacingPreset, setStalled, setStatus, setTextAlign, setTextNormalization, setTheme, setTimeline, setTocEntry, setTocTree, setTrackReady, setUI, setUserNavigated, setVolume, setWebPubFontFamily, setWebPubFontWeight, setWebPubHyphens, setWebPubLetterSpacing, setWebPubLigatures, setWebPubLineHeight, setWebPubNoRuby, setWebPubParagraphIndent, setWebPubParagraphSpacing, setWebPubPublisherStyles, setWebPubSpacingPreset, setWebPubTextAlign, setWebPubTextNormalization, setWebPubWordSpacing, setWebPubZoom, setWordSpacing, settingsSlice, themeSlice, toggleActionOpen, toggleImmersive, updateFromPreferences, webPubSettingsSlice } from '../chunk-PAFJZH7O.mjs';
|
|
2
2
|
import '../chunk-TEZB4ULX.mjs';
|
|
3
3
|
export { useAppDispatch, useAppSelector, useAppStore } from '../chunk-A575ZW4A.mjs';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-KOR74F6M.mjs';
|
|
5
5
|
import '../chunk-NQ2ZSGCX.mjs';
|
|
6
6
|
import '../chunk-3GDQP6AS.mjs';
|
|
7
7
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"reader": {
|
|
3
3
|
"app": {
|
|
4
4
|
"loading": "Indlæser",
|
|
5
|
-
"publicationWrapper": "Du er nu i
|
|
5
|
+
"publicationWrapper": "Du er nu i bogens indhold.",
|
|
6
6
|
"docking": {
|
|
7
7
|
"dockingLeft": "Docket panel til venstre",
|
|
8
8
|
"dockingRight": "Docket panel til højre",
|
|
@@ -48,6 +48,16 @@
|
|
|
48
48
|
},
|
|
49
49
|
"back": {
|
|
50
50
|
"trigger": "Tilbage"
|
|
51
|
+
},
|
|
52
|
+
"printingDisabled": "Udskrivning er deaktiveret",
|
|
53
|
+
"errors": {
|
|
54
|
+
"title": "Fejl",
|
|
55
|
+
"notFound": "Bogen blev ikke fundet.",
|
|
56
|
+
"accessDenied": "Adgang nægtet.",
|
|
57
|
+
"network": "Serveren er utilgængelig - forsøg venligst igen senere.",
|
|
58
|
+
"serverError": "Server fejl - forsøg venligst igen senere.",
|
|
59
|
+
"clientError": "Ugyldig handling.",
|
|
60
|
+
"generic": "Kunne ikke åbne bogen."
|
|
51
61
|
}
|
|
52
62
|
},
|
|
53
63
|
"navigation": {
|
|
@@ -65,7 +75,10 @@
|
|
|
65
75
|
},
|
|
66
76
|
"jumpToPosition": {
|
|
67
77
|
"go": "Gå",
|
|
68
|
-
"label": "Vælg en position fra {{ positionStart }} til {{ positionEnd }}:"
|
|
78
|
+
"label": "Vælg en position fra {{ positionStart }} til {{ positionEnd }}:",
|
|
79
|
+
"error": {
|
|
80
|
+
"notFound": "Position i bogen kunne ikke findes."
|
|
81
|
+
}
|
|
69
82
|
},
|
|
70
83
|
"overflowMenu": {
|
|
71
84
|
"active": {
|
|
@@ -91,5 +104,27 @@
|
|
|
91
104
|
}
|
|
92
105
|
}
|
|
93
106
|
}
|
|
107
|
+
},
|
|
108
|
+
"audio": {
|
|
109
|
+
"player": {
|
|
110
|
+
"progress": "Position i bogen",
|
|
111
|
+
"controls": "Afspilnings-styring",
|
|
112
|
+
"mediaControls": "Lydindstillinger",
|
|
113
|
+
"coverAlt": "Lydbogens forside"
|
|
114
|
+
},
|
|
115
|
+
"remotePlayback": {
|
|
116
|
+
"trigger": "Afspilning via andre enheder",
|
|
117
|
+
"connected": "Forbundet til fjernafspilning"
|
|
118
|
+
},
|
|
119
|
+
"settings": {
|
|
120
|
+
"sleepTimer": {
|
|
121
|
+
"hours": "timer",
|
|
122
|
+
"minutes": "min",
|
|
123
|
+
"seconds": "s",
|
|
124
|
+
"start": "Start",
|
|
125
|
+
"instruction": "Afspilning vil blive sat på pause når timeren udløber.",
|
|
126
|
+
"remaining": "Sætter på pause om {{ remaining }}"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
94
129
|
}
|
|
95
130
|
}
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"notFound": "La publication n’a pas été trouvée.",
|
|
56
56
|
"accessDenied": "Accès refusé.",
|
|
57
57
|
"network": "Le serveur n’est pas disponible – merci de réessayer plus tard.",
|
|
58
|
-
"serverError": "Erreur
|
|
58
|
+
"serverError": "Erreur serveur – merci de réessayer plus tard.",
|
|
59
59
|
"clientError": "Requête invalide.",
|
|
60
60
|
"generic": "Impossible de charger la publication."
|
|
61
61
|
}
|
|
@@ -104,5 +104,27 @@
|
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
|
+
},
|
|
108
|
+
"audio": {
|
|
109
|
+
"player": {
|
|
110
|
+
"progress": "Progressione della riproduzione",
|
|
111
|
+
"controls": "Controlli della riproduzione",
|
|
112
|
+
"mediaControls": "Impostazioni audio",
|
|
113
|
+
"coverAlt": "Copertina dell'audiolibro"
|
|
114
|
+
},
|
|
115
|
+
"remotePlayback": {
|
|
116
|
+
"trigger": "Riproduzione da remoto",
|
|
117
|
+
"connected": "Dispositivo connesso"
|
|
118
|
+
},
|
|
119
|
+
"settings": {
|
|
120
|
+
"sleepTimer": {
|
|
121
|
+
"hours": "h",
|
|
122
|
+
"minutes": "min",
|
|
123
|
+
"seconds": "s",
|
|
124
|
+
"start": "Avvio",
|
|
125
|
+
"instruction": "La riproduzione si fermerà dopo l'intervallo di tempo selezionato.",
|
|
126
|
+
"remaining": "Arresto in {{ remaining }}"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
107
129
|
}
|
|
108
130
|
}
|
|
@@ -75,7 +75,10 @@
|
|
|
75
75
|
},
|
|
76
76
|
"jumpToPosition": {
|
|
77
77
|
"go": "Eiti",
|
|
78
|
-
"label": "Pasirinkite poziciją nuo {{ positionStart }} iki {{ positionEnd }}:"
|
|
78
|
+
"label": "Pasirinkite poziciją nuo {{ positionStart }} iki {{ positionEnd }}:",
|
|
79
|
+
"error": {
|
|
80
|
+
"notFound": "Pozicija nerasta."
|
|
81
|
+
}
|
|
79
82
|
},
|
|
80
83
|
"overflowMenu": {
|
|
81
84
|
"active": {
|
|
@@ -101,5 +104,27 @@
|
|
|
101
104
|
}
|
|
102
105
|
}
|
|
103
106
|
}
|
|
107
|
+
},
|
|
108
|
+
"audio": {
|
|
109
|
+
"player": {
|
|
110
|
+
"coverAlt": "Garsinės knygos viršelis",
|
|
111
|
+
"progress": "Atkūrimo eiga",
|
|
112
|
+
"controls": "Atkūrimo valdikliai",
|
|
113
|
+
"mediaControls": "Garso nuostatos"
|
|
114
|
+
},
|
|
115
|
+
"settings": {
|
|
116
|
+
"sleepTimer": {
|
|
117
|
+
"hours": "val.",
|
|
118
|
+
"minutes": "min.",
|
|
119
|
+
"seconds": "sek.",
|
|
120
|
+
"start": "Paleisti",
|
|
121
|
+
"instruction": "Atkūrimas bus pristabdytas po nustatyto laikotarpio.",
|
|
122
|
+
"remaining": "Atkūrimas bus pristabdytas po {{ remaining }}"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"remotePlayback": {
|
|
126
|
+
"trigger": "Nuotolinė perklausa",
|
|
127
|
+
"connected": "Prisijungta nuotoliniu būdu"
|
|
128
|
+
}
|
|
104
129
|
}
|
|
105
130
|
}
|
|
@@ -104,5 +104,27 @@
|
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
|
+
},
|
|
108
|
+
"audio": {
|
|
109
|
+
"player": {
|
|
110
|
+
"progress": "Läsposition",
|
|
111
|
+
"controls": "Uppspelningskontroller",
|
|
112
|
+
"mediaControls": "Ljudinställningar",
|
|
113
|
+
"coverAlt": "Omslag för ljudbok"
|
|
114
|
+
},
|
|
115
|
+
"remotePlayback": {
|
|
116
|
+
"trigger": "Fjärruppspelning",
|
|
117
|
+
"connected": "Fjärruppspelning aktiv"
|
|
118
|
+
},
|
|
119
|
+
"settings": {
|
|
120
|
+
"sleepTimer": {
|
|
121
|
+
"hours": "h",
|
|
122
|
+
"minutes": "min",
|
|
123
|
+
"seconds": "s",
|
|
124
|
+
"instruction": "Uppspelningen pausas efter den inställda tiden.",
|
|
125
|
+
"remaining": "Pausar om {{ remaining }}",
|
|
126
|
+
"start": "Starta sömntimer"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
107
129
|
}
|
|
108
130
|
}
|
package/dist/next-lib/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/next-lib/helpers/verifyManifest.ts"],"names":[],"mappings":";;;AAyCO,IAAM,iBAAA,GAAoB,CAC/B,OAAA,KACyB;AACzB,EAAA,MAAM,EAAE,WAAA,EAAa,cAAA,GAAiB,EAAC,EAAG,kBAAkB,OAAA,CAAQ,GAAA,CAAI,QAAA,KAAa,YAAA,EAAa,GAAI,OAAA;AAEtG,EAAA,IAAI,CAAC,WAAA,EAAa;AAChB,IAAA,OAAO;AAAA,MACL,OAAA,EAAS,KAAA;AAAA,MACT,GAAA,EAAK,EAAA;AAAA,MACL,KAAA,EAAO;AAAA,KACT;AAAA,EACF;AAEA,EAAA,IAAI;AACF,IAAA,MAAM,GAAA,GAAM,IAAI,GAAA,CAAI,WAAW,CAAA;AAG/B,IAAA,MAAM,SAAA,GAAY,eAAA,IAChB,cAAA,CAAe,MAAA,KAAW,CAAA,IAC1B,cAAA,CAAe,QAAA,CAAS,GAAG,CAAA,IAC3B,cAAA,CAAe,IAAA,CAAK,CAAA,MAAA,KAAU;AAC5B,MAAA,IAAI;AACF,QAAA,MAAM,SAAA,GAAY,MAAA,CAAO,UAAA,CAAW,MAAM,CAAA,GACtC,IAAI,GAAA,CAAI,MAAM,CAAA,GACd,IAAI,GAAA,CAAI,CAAA,QAAA,EAAY,MAAO,CAAA,CAAE,CAAA;AACjC,QAAA,OAAO,GAAA,CAAI,aAAa,SAAA,CAAU,QAAA;AAAA,MACpC,CAAA,CAAA,MAAQ;AACN,QAAA,OAAO,KAAA;AAAA,MACT;AAAA,IACF,CAAC,CAAA;AAEH,IAAA,IAAI,CAAC,SAAA,EAAW;AACd,MAAA,OAAO;AAAA,QACL,OAAA,EAAS,KAAA;AAAA,QACT,GAAA,EAAK,WAAA;AAAA,QACL,KAAA,EAAO;AAAA,OACT;AAAA,IACF;AAEA,IAAA,OAAO;AAAA,MACL,OAAA,EAAS,IAAA;AAAA,MACT,GAAA,EAAK;AAAA,KACP;AAAA,EAEF,SAAS,
|
|
1
|
+
{"version":3,"sources":["../../src/next-lib/helpers/verifyManifest.ts"],"names":[],"mappings":";;;AAyCO,IAAM,iBAAA,GAAoB,CAC/B,OAAA,KACyB;AACzB,EAAA,MAAM,EAAE,WAAA,EAAa,cAAA,GAAiB,EAAC,EAAG,kBAAkB,OAAA,CAAQ,GAAA,CAAI,QAAA,KAAa,YAAA,EAAa,GAAI,OAAA;AAEtG,EAAA,IAAI,CAAC,WAAA,EAAa;AAChB,IAAA,OAAO;AAAA,MACL,OAAA,EAAS,KAAA;AAAA,MACT,GAAA,EAAK,EAAA;AAAA,MACL,KAAA,EAAO;AAAA,KACT;AAAA,EACF;AAEA,EAAA,IAAI;AACF,IAAA,MAAM,GAAA,GAAM,IAAI,GAAA,CAAI,WAAW,CAAA;AAG/B,IAAA,MAAM,SAAA,GAAY,eAAA,IAChB,cAAA,CAAe,MAAA,KAAW,CAAA,IAC1B,cAAA,CAAe,QAAA,CAAS,GAAG,CAAA,IAC3B,cAAA,CAAe,IAAA,CAAK,CAAA,MAAA,KAAU;AAC5B,MAAA,IAAI;AACF,QAAA,MAAM,SAAA,GAAY,MAAA,CAAO,UAAA,CAAW,MAAM,CAAA,GACtC,IAAI,GAAA,CAAI,MAAM,CAAA,GACd,IAAI,GAAA,CAAI,CAAA,QAAA,EAAY,MAAO,CAAA,CAAE,CAAA;AACjC,QAAA,OAAO,GAAA,CAAI,aAAa,SAAA,CAAU,QAAA;AAAA,MACpC,CAAA,CAAA,MAAQ;AACN,QAAA,OAAO,KAAA;AAAA,MACT;AAAA,IACF,CAAC,CAAA;AAEH,IAAA,IAAI,CAAC,SAAA,EAAW;AACd,MAAA,OAAO;AAAA,QACL,OAAA,EAAS,KAAA;AAAA,QACT,GAAA,EAAK,WAAA;AAAA,QACL,KAAA,EAAO;AAAA,OACT;AAAA,IACF;AAEA,IAAA,OAAO;AAAA,MACL,OAAA,EAAS,IAAA;AAAA,MACT,GAAA,EAAK;AAAA,KACP;AAAA,EAEF,SAAS,MAAA,EAAQ;AACf,IAAA,OAAO;AAAA,MACL,OAAA,EAAS,KAAA;AAAA,MACT,GAAA,EAAK,WAAA;AAAA,MACL,KAAA,EAAO;AAAA,KACT;AAAA,EACF;AACF;AAQO,IAAM,wBAAA,GAA2B,CAAC,WAAA,KAA8C;AACrF,EAAA,MAAM,iBAAA,GAAoB,OAAA,CAAQ,GAAA,CAAI,wBAAA,EAA0B,MAAK,IAAK,EAAA;AAC1E,EAAA,MAAM,cAAA,GAAiB,iBAAA,CACpB,KAAA,CAAM,GAAG,CAAA,CACT,GAAA,CAAI,CAAA,CAAA,KAAK,CAAA,CAAE,IAAA,EAAM,CAAA,CACjB,MAAA,CAAO,OAAO,CAAA;AAEjB,EAAA,OAAO,iBAAA,CAAkB;AAAA,IACvB,WAAA;AAAA,IACA,cAAA;AAAA,IACA,iBAAiB,OAAA,CAAQ,GAAA,CAAI,QAAA,KAAa,YAAA,IAAgB,eAAe,MAAA,KAAW;AAAA,GACrF,CAAA;AACH","file":"index.mjs","sourcesContent":["interface VerifyManifestOptions {\n /**\n * The URL of the manifest to verify\n */\n manifestUrl: string;\n \n /**\n * List of allowed domains (without protocol)\n * If empty or contains \"*\", all domains are allowed\n */\n allowedDomains?: string[];\n \n /**\n * Whether to allow all domains (overrides allowedDomains if true)\n * @default process.env.NODE_ENV !== \"production\"\n */\n allowAllDomains?: boolean;\n}\n\ninterface VerifyManifestResult {\n /**\n * Whether the manifest URL is allowed\n */\n allowed: boolean;\n \n /**\n * The normalized manifest URL\n */\n url: string;\n \n /**\n * Error message if verification failed\n */\n error?: string;\n}\n\n/**\n * Verifies if a manifest URL is allowed based on domain restrictions\n * @param options Verification options\n * @returns Verification result\n */\nexport const verifyManifestUrl = (\n options: VerifyManifestOptions\n): VerifyManifestResult => {\n const { manifestUrl, allowedDomains = [], allowAllDomains = process.env.NODE_ENV !== \"production\" } = options;\n \n if (!manifestUrl) {\n return {\n allowed: false,\n url: \"\",\n error: \"URL is required\"\n };\n }\n\n try {\n const url = new URL(manifestUrl);\n \n // In development or if no domains are specified, allow all\n const isAllowed = allowAllDomains || \n allowedDomains.length === 0 ||\n allowedDomains.includes(\"*\") ||\n allowedDomains.some(domain => {\n try {\n const domainUrl = domain.startsWith(\"http\") \n ? new URL(domain) \n : new URL(`https://${ domain }`);\n return url.hostname === domainUrl.hostname;\n } catch {\n return false;\n }\n });\n \n if (!isAllowed) {\n return {\n allowed: false,\n url: manifestUrl,\n error: \"Domain not allowed\"\n };\n }\n \n return {\n allowed: true,\n url: manifestUrl\n };\n \n } catch (_error) {\n return {\n allowed: false,\n url: manifestUrl,\n error: \"Invalid URL\"\n };\n }\n}\n\n/**\n * Verifies a manifest URL from environment configuration\n * Uses MANIFEST_ALLOWED_DOMAINS environment variable for domain restrictions\n * @param manifestUrl The manifest URL to verify\n * @returns Verification result\n */\nexport const verifyManifestUrlFromEnv = (manifestUrl: string): VerifyManifestResult => {\n const allowedDomainsRaw = process.env.MANIFEST_ALLOWED_DOMAINS?.trim() || \"\";\n const allowedDomains = allowedDomainsRaw\n .split(\",\")\n .map(d => d.trim())\n .filter(Boolean);\n \n return verifyManifestUrl({\n manifestUrl,\n allowedDomains,\n allowAllDomains: process.env.NODE_ENV !== \"production\" || allowedDomains.length === 0\n });\n}\n"]}
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as ActionKey,
|
|
1
|
+
import { f as ThGlobalPreferences, g as ThGlobalPreferencesAdapter, C as CustomizableKeys, D as DefaultKeys, e as ThPreferences, d as ThPreferencesAdapter, a as ThemeTokens, F as FontCollection, L as LocalStaticFontFile, h as FontDefinition, T as ThThemeKeys, c as ThShortcutsPref, i as ThIconPref, j as ThLayoutDefaultsPref } from '../ThPreferencesAdapter-B3a-f5v-.mjs';
|
|
2
|
+
export { A as ActionKey, w as ActionKeyType, b as AudioContentProtectionConfig, a1 as BunnyFontSource, I as CSSAbsoluteLength, J as CSSAngle, $ as CSSColor, K as CSSDefaultViewport, M as CSSDynamicViewport, O as CSSFontRelativeLength, N as CSSFrequency, P as CSSLargeViewport, Q as CSSPhysicalLength, R as CSSRelativeLength, U as CSSResolution, X as CSSRootFontRelativeLength, Y as CSSSmallViewport, Z as CSSTime, G as CSSValueUnitless, H as CSSValueWithUnit, _ as CSSViewport, an as ContentProtectionConfig, al as CopyProtectionConfig, a7 as FontSource, a8 as FontSpec, a2 as GoogleFontSource, a6 as LocalFontSource, a4 as LocalStaticFontSource, a3 as LocalVariableFontFile, a5 as LocalVariableFontSource, am as PrintProtectionConfig, S as SettingsKey, y as SettingsKeyType, n as SpacingSettingsKey, B as SpacingSettingsKeyType, a0 as SystemFontSource, m as TextSettingsKey, z as TextSettingsKeyType, q as ThActionsPref, s as ThConstraintKeys, aa as ThFontFamilyPref, r as ThSettingsKeyTypes, o as ThSettingsSpacingPresets, t as ThShortcutsDisplayIn, p as ThSpacingPreset, l as ThemeKey, x as ThemeKeyType, a9 as ValidatedLanguageCollection, V as VariableFontRangeConfig, W as WeightConfig, ae as arabicFarsiCollection, ag as chineseSimplifiedCollection, ah as chineseTraditionalCollection, ax as contrast1Theme, ay as contrast2Theme, az as contrast3Theme, k as createGlobalPreferences, v as createPreferences, au as darkTheme, ar as defaultAudioContentProtectionConfig, aq as defaultContentProtectionConfig, ac as defaultFontCollection, as as devContentProtectionConfig, af as hebrewCollection, ai as japaneseCollection, aj as japaneseVerticalCollection, ak as koreanCollection, at as lightTheme, av as paperTheme, ab as readiumCSSFontCollection, ap as resolveAudioContentProtectionConfig, ao as resolveContentProtectionConfig, aw as sepiaTheme, ad as tamilCollection, u as useTheming, E as useThemingProps } from '../ThPreferencesAdapter-B3a-f5v-.mjs';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
|
-
import { a as ThAudioPreferences, A as AudioDefaultKeys, b as AudioCustomizableKeys, c as ThAudioPreferencesAdapter } from '../usePreferences-
|
|
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-
|
|
7
|
-
import { e as ThColorScheme, g as ThSettingsKeys, h as ThTextSettingsKeys, b as ThSpacingSettingsKeys, a as ThSpacingPresetKeys } from '../useContrast-
|
|
8
|
-
export {
|
|
9
|
-
import { f as ThDockingPref, T as ThDockingKeys, c as ThActionsTokens, b as ThAudioActionsTokens, g as ThActionsKeys } from '../actions-
|
|
10
|
-
export { k as ThActionsDockedPref,
|
|
5
|
+
import { a as ThAudioPreferences, A as AudioDefaultKeys, b as AudioCustomizableKeys, c as ThAudioPreferencesAdapter } from '../usePreferences-Cy7-JN2x.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-Cy7-JN2x.mjs';
|
|
7
|
+
import { e as ThColorScheme, g as ThSettingsKeys, h as ThTextSettingsKeys, b as ThSpacingSettingsKeys, a as ThSpacingPresetKeys } from '../useContrast-Bl08zDTU.mjs';
|
|
8
|
+
export { 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-Bl08zDTU.mjs';
|
|
9
|
+
import { f as ThDockingPref, T as ThDockingKeys, c as ThActionsTokens, b as ThAudioActionsTokens, g as ThActionsKeys } from '../actions-C33UN3Ji.mjs';
|
|
10
|
+
export { I as I18nValue, k as TEXT_INPUT_SELECTORS, m as ThActionsDockedPref, n as ThActionsSnappedPref, l as ThBottomSheetDetent, o as ThDockingTypes, a as ThSheetHeaderVariant, e as ThSheetTypes, j as ThShortcutConfig, p as defaultActionKeysObject, r as defaultFullscreenAction, t as defaultJumpToPositionAction, q as defaultSettingsAction, s as defaultTocAction } from '../actions-C33UN3Ji.mjs';
|
|
11
11
|
import { T as ThBackLinkPref, B as BreakpointsMap } from '../ui-DnZZhozX.mjs';
|
|
12
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
|
-
import
|
|
13
|
+
import '../keyboardUtilities-BCP3UcLb.mjs';
|
|
14
14
|
import '@readium/navigator';
|
|
15
15
|
import 'react-aria-components';
|
|
16
|
+
import '@readium/navigator-html-injectables';
|
|
16
17
|
|
|
17
18
|
interface GlobalPreferencesContextValue {
|
|
18
19
|
preferences: ThGlobalPreferences;
|
|
@@ -216,17 +217,10 @@ declare const useFilteredPreferenceKeys: () => {
|
|
|
216
217
|
};
|
|
217
218
|
|
|
218
219
|
interface SharedPreferences {
|
|
219
|
-
shortcuts:
|
|
220
|
-
representation: UnstableShortcutRepresentation;
|
|
221
|
-
joiner?: string;
|
|
222
|
-
};
|
|
220
|
+
shortcuts: ThShortcutsPref;
|
|
223
221
|
docking: ThDockingPref<ThDockingKeys>;
|
|
224
222
|
theming: {
|
|
225
|
-
icon:
|
|
226
|
-
size: number;
|
|
227
|
-
tooltipOffset: number;
|
|
228
|
-
tooltipDelay?: number;
|
|
229
|
-
};
|
|
223
|
+
icon: ThIconPref;
|
|
230
224
|
header?: {
|
|
231
225
|
backLink?: ThBackLinkPref | null;
|
|
232
226
|
};
|
|
@@ -241,10 +235,7 @@ interface SharedPreferences {
|
|
|
241
235
|
fxlOrder?: Array<string>;
|
|
242
236
|
};
|
|
243
237
|
layout: {
|
|
244
|
-
defaults:
|
|
245
|
-
dockingWidth: number;
|
|
246
|
-
scrim: string;
|
|
247
|
-
};
|
|
238
|
+
defaults: ThLayoutDefaultsPref;
|
|
248
239
|
};
|
|
249
240
|
breakpoints: BreakpointsMap<number | null>;
|
|
250
241
|
};
|
|
@@ -258,4 +249,4 @@ declare const useSharedPreferences: () => SharedPreferences;
|
|
|
258
249
|
|
|
259
250
|
declare const useGlobalPreferences: () => GlobalPreferencesContextValue;
|
|
260
251
|
|
|
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 };
|
|
252
|
+
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, ThIconPref, ThLayoutDefaultsPref, ThMemoryPreferencesAdapter, ThPreferences, ThPreferencesAdapter, ThPreferencesContext, ThSettingsKeys, ThShortcutsPref, 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 { 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-
|
|
1
|
+
export { TEXT_INPUT_SELECTORS, 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-PRQBFBJ7.mjs';
|
|
2
2
|
export { ThArrowVariant, ThAudioPlayerComponent, ThAudioProgressBarVariant, ThAudioPublicationMetadataComponent, ThBackLinkVariant, ThBreakpoints, ThDocumentTitleFormat, ThLayoutDirection, ThLayoutUI, ThProgressionFormat, ThRunningHeadFormat } from '../chunk-2YRT7RNW.mjs';
|
|
3
3
|
import '../chunk-GFSLVQIG.mjs';
|
|
4
4
|
export { ThGlobalPreferencesContext, useGlobalPreferences } from '../chunk-AE6P4KJB.mjs';
|
|
5
5
|
import '../chunk-A575ZW4A.mjs';
|
|
6
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-KOR74F6M.mjs';
|
|
7
7
|
import '../chunk-NQ2ZSGCX.mjs';
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-AQSJDL63.mjs';
|
|
9
|
+
import '../chunk-GNROODJB.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-
|
|
3
|
+
import { T as ThLineHeightOptions, a as ThSpacingPresetKeys, b as ThSpacingSettingsKeys, c as ThTextAlignOptions } from './useContrast-Bl08zDTU.mjs';
|
|
4
4
|
|
|
5
5
|
interface FontFamilyStateObject {
|
|
6
6
|
default: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _readium_navigator from '@readium/navigator';
|
|
2
|
-
import { EpubNavigatorListeners, IEpubPreferences, IEpubDefaults, IInjectablesConfig, IContentProtectionConfig, EpubSettings, ScriptMode, WebPubNavigatorListeners, IWebPubPreferences, IWebPubDefaults, WebPubSettings, AudioNavigatorListeners, IAudioPreferences, IAudioDefaults } from '@readium/navigator';
|
|
2
|
+
import { EpubNavigatorListeners, IEpubPreferences, IEpubDefaults, IInjectablesConfig, IContentProtectionConfig, IKeyboardPeripheralsConfig, EpubSettings, ScriptMode, WebPubNavigatorListeners, IWebPubPreferences, IWebPubDefaults, WebPubSettings, AudioNavigatorListeners, IAudioPreferences, IAudioDefaults } from '@readium/navigator';
|
|
3
3
|
import { Publication, Locator, Link, Layout, Timeline } from '@readium/shared';
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
|
|
@@ -14,6 +14,7 @@ interface EpubNavigatorLoadProps {
|
|
|
14
14
|
defaults?: IEpubDefaults;
|
|
15
15
|
injectables?: IInjectablesConfig;
|
|
16
16
|
contentProtection?: IContentProtectionConfig;
|
|
17
|
+
keyboardPeripherals?: IKeyboardPeripheralsConfig;
|
|
17
18
|
}
|
|
18
19
|
declare const useEpubNavigator: () => {
|
|
19
20
|
EpubNavigatorLoad: (config: EpubNavigatorLoadProps, cb: Function, fxlCallback?: (locator: Locator) => void) => void;
|
|
@@ -51,6 +52,7 @@ interface WebPubNavigatorLoadProps {
|
|
|
51
52
|
defaults?: IWebPubDefaults;
|
|
52
53
|
injectables?: IInjectablesConfig;
|
|
53
54
|
contentProtection?: IContentProtectionConfig;
|
|
55
|
+
keyboardPeripherals?: IKeyboardPeripheralsConfig;
|
|
54
56
|
}
|
|
55
57
|
declare const useWebPubNavigator: () => {
|
|
56
58
|
WebPubNavigatorLoad: (config: WebPubNavigatorLoadProps, cb: Function) => void;
|
|
@@ -100,6 +102,7 @@ interface AudioNavigatorLoadProps {
|
|
|
100
102
|
preferences?: IAudioPreferences;
|
|
101
103
|
defaults?: IAudioDefaults;
|
|
102
104
|
contentProtection?: IContentProtectionConfig;
|
|
105
|
+
keyboardPeripherals?: IKeyboardPeripheralsConfig;
|
|
103
106
|
audioContext?: AudioContext;
|
|
104
107
|
}
|
|
105
108
|
declare const useAudioNavigator: () => {
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
import { a as ThSheetHeaderVariant } from './actions-
|
|
2
|
-
|
|
3
|
-
type I18nValue<T> = T | string | {
|
|
4
|
-
key: string;
|
|
5
|
-
fallback?: string;
|
|
6
|
-
};
|
|
1
|
+
import { I as I18nValue, a as ThSheetHeaderVariant } from './actions-C33UN3Ji.mjs';
|
|
7
2
|
|
|
8
3
|
interface ThSettingsGroupPref<T> {
|
|
9
4
|
main: T[];
|
|
@@ -161,4 +156,4 @@ declare enum ThContrast {
|
|
|
161
156
|
}
|
|
162
157
|
declare const useContrast: (onChange?: (contrast: ThContrast) => void) => ThContrast;
|
|
163
158
|
|
|
164
|
-
export { defaultLineHeights as A, defaultZoom as B, defaultSpacingPresets as C,
|
|
159
|
+
export { defaultLineHeights as A, defaultZoom as B, defaultSpacingPresets as C, ThLineHeightOptions as T, ThSpacingPresetKeys as a, ThSpacingSettingsKeys as b, ThTextAlignOptions as c, type ThSettingsRangePrefRequired as d, ThColorScheme as e, ThContrast as f, ThSettingsKeys as g, ThTextSettingsKeys as h, type ThSettingsRadioPref as i, type ThSettingsGroupPref as j, useContrast as k, type ThSettingsRangePref as l, ThSettingsContainerKeys as m, ThSettingsRangeVariant as n, ThSettingsRangePlaceholder as o, ThLayoutOptions as p, defaultTextSettingsMain as q, defaultTextSettingsSubpanel as r, defaultSpacingSettingsMain as s, defaultSpacingSettingsSubpanel as t, useColorScheme as u, defaultSpacingPresetsOrder as v, defaultParagraphSpacing as w, defaultParagraphIndent as x, defaultWordSpacing as y, defaultLetterSpacing as z };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { e as UnstableShortcutRepresentation } from './keyboardUtilities-BWAyLS_D.mjs';
|
|
2
1
|
import { T as ThBackLinkPref, a as ThAudioPlayerComponent, b as ThPublicationMetadataOrder, c as ThAudioProgressBarVariant, B as BreakpointsMap } from './ui-DnZZhozX.mjs';
|
|
3
|
-
import { T as ThThemeKeys, A as ActionKey, a as ThemeTokens, b as AudioContentProtectionConfig, C as CustomizableKeys, D as DefaultKeys,
|
|
4
|
-
import { b as ThAudioActionsTokens, c as ThActionsTokens, d as ThCollapsibility, e as ThSheetTypes, f as ThDockingPref, T as ThDockingKeys } from './actions-
|
|
5
|
-
import { d as ThSettingsRangePrefRequired } from './useContrast-
|
|
2
|
+
import { T as ThThemeKeys, A as ActionKey, a as ThemeTokens, b as AudioContentProtectionConfig, c as ThShortcutsPref, C as CustomizableKeys, D as DefaultKeys, d as ThPreferencesAdapter, e as ThPreferences, W as WeightConfig, V as VariableFontRangeConfig, F as FontCollection } from './ThPreferencesAdapter-B3a-f5v-.mjs';
|
|
3
|
+
import { b as ThAudioActionsTokens, c as ThActionsTokens, d as ThCollapsibility, e as ThSheetTypes, f as ThDockingPref, T as ThDockingKeys } from './actions-C33UN3Ji.mjs';
|
|
4
|
+
import { d as ThSettingsRangePrefRequired } from './useContrast-Bl08zDTU.mjs';
|
|
6
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
6
|
import { ILinkInjectable, IUrlInjectable, IBlobInjectable, ScriptMode } from '@readium/navigator';
|
|
8
7
|
|
|
@@ -172,10 +171,7 @@ interface ThAudioPreferences<K extends AudioCustomizableKeys = {}> {
|
|
|
172
171
|
previous: ThAudioAffordance;
|
|
173
172
|
next: ThAudioAffordance;
|
|
174
173
|
};
|
|
175
|
-
shortcuts:
|
|
176
|
-
representation: UnstableShortcutRepresentation;
|
|
177
|
-
joiner?: string;
|
|
178
|
-
};
|
|
174
|
+
shortcuts: ThShortcutsPref;
|
|
179
175
|
docking: ThDockingPref<ThDockingKeys>;
|
|
180
176
|
}
|
|
181
177
|
declare const createAudioPreferences: <K extends AudioCustomizableKeys = {}>(params: ThAudioPreferences<K>) => ThAudioPreferences<K>;
|