@readium/navigator 2.4.0-beta.9 → 2.5.0-beta.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/ReadiumCSS-after-B_e3a-PY.js +592 -0
- package/dist/ReadiumCSS-after-C-T_0paD.js +530 -0
- package/dist/ReadiumCSS-after-lr-n3fz2.js +475 -0
- package/dist/ReadiumCSS-after-mXeKKPap.js +490 -0
- package/dist/ReadiumCSS-before-Bjd3POej.js +426 -0
- package/dist/ReadiumCSS-before-CfXPAGaQ.js +425 -0
- package/dist/ReadiumCSS-before-CrNWvuyE.js +425 -0
- package/dist/ReadiumCSS-before-KVen5ceo.js +425 -0
- package/dist/ReadiumCSS-default-BKAG5pGU.js +162 -0
- package/dist/ReadiumCSS-default-C63bYOYF.js +183 -0
- package/dist/ReadiumCSS-default-CclvbeNC.js +162 -0
- package/dist/ReadiumCSS-default-DnlgDaBu.js +180 -0
- package/dist/ReadiumCSS-ebpaj_fonts_patch-Dt2XliTg.js +82 -0
- package/dist/index.js +2642 -3430
- package/dist/index.umd.cjs +4407 -995
- package/package.json +2 -2
- package/src/audio/AudioNavigator.ts +155 -42
- package/src/audio/AudioPoolManager.ts +27 -14
- package/src/audio/engine/AudioEngine.ts +4 -3
- package/src/audio/engine/PreservePitchProcessor.js +166 -101
- package/src/audio/engine/PreservePitchWorklet.ts +2 -17
- package/src/audio/engine/WebAudioEngine.ts +138 -160
- package/src/audio/engine/index.ts +2 -2
- package/src/audio/index.ts +3 -3
- package/src/audio/preferences/AudioDefaults.ts +2 -2
- package/src/audio/preferences/AudioPreferences.ts +11 -11
- package/src/audio/preferences/AudioPreferencesEditor.ts +13 -13
- package/src/audio/preferences/AudioSettings.ts +3 -3
- package/src/audio/preferences/index.ts +4 -4
- package/src/audio/protection/AudioNavigatorProtector.ts +4 -4
- package/src/css/index.ts +1 -1
- package/src/epub/EpubNavigator.ts +113 -78
- package/src/epub/css/Properties.ts +15 -15
- package/src/epub/css/ReadiumCSS.ts +43 -43
- package/src/epub/css/index.ts +2 -2
- package/src/epub/frame/FrameBlobBuilder.ts +31 -31
- package/src/epub/frame/FrameComms.ts +1 -1
- package/src/epub/frame/FrameManager.ts +13 -9
- package/src/epub/frame/FramePoolManager.ts +13 -13
- package/src/epub/frame/index.ts +4 -4
- package/src/epub/fxl/FXLCoordinator.ts +3 -3
- package/src/epub/fxl/FXLFrameManager.ts +8 -8
- package/src/epub/fxl/FXLFramePoolManager.ts +18 -14
- package/src/epub/fxl/FXLPeripherals.ts +4 -4
- package/src/epub/fxl/index.ts +5 -5
- package/src/epub/helpers/scriptMode.ts +45 -0
- package/src/epub/index.ts +6 -5
- package/src/epub/preferences/EpubDefaults.ts +23 -23
- package/src/epub/preferences/EpubPreferences.ts +16 -16
- package/src/epub/preferences/EpubPreferencesEditor.ts +53 -53
- package/src/epub/preferences/EpubSettings.ts +101 -101
- package/src/epub/preferences/index.ts +4 -4
- package/src/helpers/index.ts +2 -2
- package/src/index.ts +8 -8
- package/src/injection/Injector.ts +42 -42
- package/src/injection/epubInjectables.ts +86 -17
- package/src/injection/index.ts +2 -2
- package/src/injection/webpubInjectables.ts +2 -2
- package/src/preferences/Configurable.ts +2 -2
- package/src/preferences/PreferencesEditor.ts +2 -2
- package/src/preferences/guards.ts +2 -2
- package/src/preferences/index.ts +5 -5
- package/src/protection/CopyProtector.ts +5 -1
- package/src/protection/DevToolsDetector.ts +16 -16
- package/src/protection/DragAndDropProtector.ts +14 -1
- package/src/protection/NavigatorProtector.ts +6 -6
- package/src/webpub/WebPubBlobBuilder.ts +1 -1
- package/src/webpub/WebPubFrameManager.ts +8 -8
- package/src/webpub/WebPubFramePoolManager.ts +7 -7
- package/src/webpub/WebPubNavigator.ts +27 -27
- package/src/webpub/css/Properties.ts +3 -3
- package/src/webpub/css/WebPubCSS.ts +11 -11
- package/src/webpub/css/index.ts +2 -2
- package/src/webpub/index.ts +6 -6
- package/src/webpub/preferences/WebPubDefaults.ts +12 -12
- package/src/webpub/preferences/WebPubPreferences.ts +8 -8
- package/src/webpub/preferences/WebPubPreferencesEditor.ts +31 -31
- package/src/webpub/preferences/WebPubSettings.ts +45 -45
- package/src/webpub/preferences/index.ts +4 -4
- package/types/src/audio/AudioNavigator.d.ts +34 -5
- package/types/src/audio/AudioPoolManager.d.ts +7 -4
- package/types/src/audio/engine/AudioEngine.d.ts +4 -3
- package/types/src/audio/engine/PreservePitchWorklet.d.ts +1 -4
- package/types/src/audio/engine/WebAudioEngine.d.ts +15 -9
- package/types/src/audio/engine/index.d.ts +2 -2
- package/types/src/audio/index.d.ts +3 -3
- package/types/src/audio/preferences/AudioPreferences.d.ts +9 -9
- package/types/src/audio/preferences/AudioPreferencesEditor.d.ts +4 -4
- package/types/src/audio/preferences/AudioSettings.d.ts +3 -3
- package/types/src/audio/preferences/index.d.ts +4 -4
- package/types/src/audio/protection/AudioNavigatorProtector.d.ts +2 -2
- package/types/src/css/index.d.ts +1 -1
- package/types/src/epub/EpubNavigator.d.ts +15 -14
- package/types/src/epub/css/Properties.d.ts +2 -2
- package/types/src/epub/css/ReadiumCSS.d.ts +3 -3
- package/types/src/epub/css/index.d.ts +2 -2
- package/types/src/epub/frame/FrameBlobBuilder.d.ts +1 -1
- package/types/src/epub/frame/FrameComms.d.ts +1 -1
- package/types/src/epub/frame/FrameManager.d.ts +3 -2
- package/types/src/epub/frame/FramePoolManager.d.ts +3 -3
- package/types/src/epub/frame/index.d.ts +4 -4
- package/types/src/epub/fxl/FXLFrameManager.d.ts +3 -3
- package/types/src/epub/fxl/FXLFramePoolManager.d.ts +5 -5
- package/types/src/epub/fxl/FXLPeripherals.d.ts +2 -2
- package/types/src/epub/fxl/index.d.ts +5 -5
- package/types/src/epub/helpers/scriptMode.d.ts +16 -0
- package/types/src/epub/index.d.ts +6 -5
- package/types/src/epub/preferences/EpubDefaults.d.ts +1 -1
- package/types/src/epub/preferences/EpubPreferences.d.ts +2 -2
- package/types/src/epub/preferences/EpubPreferencesEditor.d.ts +5 -5
- package/types/src/epub/preferences/EpubSettings.d.ts +4 -4
- package/types/src/epub/preferences/index.d.ts +4 -4
- package/types/src/helpers/index.d.ts +2 -2
- package/types/src/index.d.ts +8 -8
- package/types/src/injection/Injector.d.ts +1 -1
- package/types/src/injection/epubInjectables.d.ts +5 -3
- package/types/src/injection/index.d.ts +2 -2
- package/types/src/injection/webpubInjectables.d.ts +1 -1
- package/types/src/preferences/Configurable.d.ts +1 -1
- package/types/src/preferences/PreferencesEditor.d.ts +1 -1
- package/types/src/preferences/guards.d.ts +1 -1
- package/types/src/preferences/index.d.ts +5 -5
- package/types/src/protection/CopyProtector.d.ts +1 -0
- package/types/src/protection/DragAndDropProtector.d.ts +2 -0
- package/types/src/protection/NavigatorProtector.d.ts +1 -1
- package/types/src/webpub/WebPubBlobBuilder.d.ts +1 -1
- package/types/src/webpub/WebPubFrameManager.d.ts +2 -2
- package/types/src/webpub/WebPubFramePoolManager.d.ts +3 -3
- package/types/src/webpub/WebPubNavigator.d.ts +10 -10
- package/types/src/webpub/css/Properties.d.ts +2 -2
- package/types/src/webpub/css/WebPubCSS.d.ts +2 -2
- package/types/src/webpub/css/index.d.ts +2 -2
- package/types/src/webpub/index.d.ts +6 -6
- package/types/src/webpub/preferences/WebPubDefaults.d.ts +1 -1
- package/types/src/webpub/preferences/WebPubPreferences.d.ts +2 -2
- package/types/src/webpub/preferences/WebPubPreferencesEditor.d.ts +5 -5
- package/types/src/webpub/preferences/WebPubSettings.d.ts +4 -4
- package/types/src/webpub/preferences/index.d.ts +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ConfigurablePreferences } from "../../preferences/Configurable";
|
|
2
|
-
import { TextAlignment } from "../../preferences/Types";
|
|
1
|
+
import { ConfigurablePreferences } from "../../preferences/Configurable.ts";
|
|
2
|
+
import { TextAlignment } from "../../preferences/Types.ts";
|
|
3
3
|
export interface IEpubPreferences {
|
|
4
4
|
backgroundColor?: string | null;
|
|
5
5
|
blendFilter?: boolean | null;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Metadata } from "@readium/shared";
|
|
2
|
-
import { IPreferencesEditor } from "../../preferences/PreferencesEditor";
|
|
3
|
-
import { EpubPreferences } from "./EpubPreferences";
|
|
4
|
-
import { EpubSettings } from "./EpubSettings";
|
|
5
|
-
import { BooleanPreference, EnumPreference, Preference, RangePreference } from "../../preferences/Preference";
|
|
6
|
-
import { TextAlignment } from "../../preferences/Types";
|
|
2
|
+
import { IPreferencesEditor } from "../../preferences/PreferencesEditor.ts";
|
|
3
|
+
import { EpubPreferences } from "./EpubPreferences.ts";
|
|
4
|
+
import { EpubSettings } from "./EpubSettings.ts";
|
|
5
|
+
import { BooleanPreference, EnumPreference, Preference, RangePreference } from "../../preferences/Preference.ts";
|
|
6
|
+
import { TextAlignment } from "../../preferences/Types.ts";
|
|
7
7
|
export declare class EpubPreferencesEditor implements IPreferencesEditor {
|
|
8
8
|
preferences: EpubPreferences;
|
|
9
9
|
private settings;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ConfigurableSettings } from "../../preferences/Configurable";
|
|
2
|
-
import { ExperimentKey, TextAlignment } from "../../preferences/Types";
|
|
3
|
-
import { EpubDefaults } from "./EpubDefaults";
|
|
4
|
-
import { EpubPreferences } from "./EpubPreferences";
|
|
1
|
+
import { ConfigurableSettings } from "../../preferences/Configurable.ts";
|
|
2
|
+
import { ExperimentKey, TextAlignment } from "../../preferences/Types.ts";
|
|
3
|
+
import { EpubDefaults } from "./EpubDefaults.ts";
|
|
4
|
+
import { EpubPreferences } from "./EpubPreferences.ts";
|
|
5
5
|
export interface IEpubSettings {
|
|
6
6
|
backgroundColor?: string | null;
|
|
7
7
|
blendFilter?: boolean | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./EpubDefaults";
|
|
2
|
-
export * from "./EpubPreferencesEditor";
|
|
3
|
-
export * from "./EpubPreferences";
|
|
4
|
-
export * from "./EpubSettings";
|
|
1
|
+
export * from "./EpubDefaults.ts";
|
|
2
|
+
export * from "./EpubPreferencesEditor.ts";
|
|
3
|
+
export * from "./EpubPreferences.ts";
|
|
4
|
+
export * from "./EpubSettings.ts";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./lineLength";
|
|
2
|
-
export * from './sML';
|
|
1
|
+
export * from "./lineLength.ts";
|
|
2
|
+
export * from './sML.ts';
|
package/types/src/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from './Navigator';
|
|
2
|
-
export * from './webpub';
|
|
3
|
-
export * from './epub';
|
|
4
|
-
export * from './audio';
|
|
5
|
-
export * from './helpers';
|
|
6
|
-
export * from './preferences';
|
|
7
|
-
export * from './css';
|
|
8
|
-
export * from './injection';
|
|
1
|
+
export * from './Navigator.ts';
|
|
2
|
+
export * from './webpub/index.ts';
|
|
3
|
+
export * from './epub/index.ts';
|
|
4
|
+
export * from './audio/index.ts';
|
|
5
|
+
export * from './helpers/index.ts';
|
|
6
|
+
export * from './preferences/index.ts';
|
|
7
|
+
export * from './css/index.ts';
|
|
8
|
+
export * from './injection/index.ts';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { IInjectableRule } from "../injection/Injectable";
|
|
1
|
+
import { IInjectableRule } from "../injection/Injectable.ts";
|
|
2
2
|
import { Metadata, Link } from "@readium/shared";
|
|
3
3
|
/**
|
|
4
|
-
* Creates injectable rules for EPUB content documents
|
|
4
|
+
* Creates injectable rules for EPUB content documents.
|
|
5
|
+
* Async so that script-specific Readium CSS stylesheets can be imported
|
|
6
|
+
* dynamically — only the variant that is actually needed is bundled.
|
|
5
7
|
*/
|
|
6
|
-
export declare function createReadiumEpubRules(metadata: Metadata, readingOrderItems: Link[]): IInjectableRule[]
|
|
8
|
+
export declare function createReadiumEpubRules(metadata: Metadata, readingOrderItems: Link[]): Promise<IInjectableRule[]>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./Injectable";
|
|
2
|
-
export * from "./Injector";
|
|
1
|
+
export * from "./Injectable.ts";
|
|
2
|
+
export * from "./Injector.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExperimentKey } from './Types';
|
|
1
|
+
import { ExperimentKey } from './Types.ts';
|
|
2
2
|
export declare function ensureLessThanOrEqual<T extends number | null | undefined>(value: T, compareTo: T): T | undefined;
|
|
3
3
|
export declare function ensureMoreThanOrEqual<T extends number | null | undefined>(value: T, compareTo: T): T | undefined;
|
|
4
4
|
export declare function ensureString(value: string | null | undefined): string | null | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./Configurable";
|
|
2
|
-
export * from "./Preference";
|
|
3
|
-
export * from "./PreferencesEditor";
|
|
4
|
-
export * from "./Types";
|
|
5
|
-
export * from "./guards";
|
|
1
|
+
export * from "./Configurable.ts";
|
|
2
|
+
export * from "./Preference.ts";
|
|
3
|
+
export * from "./PreferencesEditor.ts";
|
|
4
|
+
export * from "./Types.ts";
|
|
5
|
+
export * from "./guards.ts";
|
|
@@ -4,7 +4,9 @@ export interface DragAndDropProtectionOptions {
|
|
|
4
4
|
}
|
|
5
5
|
export declare class DragAndDropProtector {
|
|
6
6
|
private dragstartHandler;
|
|
7
|
+
private dragoverHandler;
|
|
7
8
|
private dropHandler;
|
|
9
|
+
private unloadHandler;
|
|
8
10
|
constructor(options?: DragAndDropProtectionOptions);
|
|
9
11
|
destroy(): void;
|
|
10
12
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IContentProtectionConfig } from "../Navigator";
|
|
1
|
+
import { IContentProtectionConfig } from "../Navigator.ts";
|
|
2
2
|
export declare const NAVIGATOR_SUSPICIOUS_ACTIVITY_EVENT = "readium:navigator:suspiciousActivity";
|
|
3
3
|
export declare class NavigatorProtector {
|
|
4
4
|
private automationDetector?;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Loader, ModuleName } from "@readium/navigator-html-injectables";
|
|
2
|
-
import { FrameComms } from "../epub/frame/FrameComms";
|
|
3
|
-
import { IContentProtectionConfig, IKeyboardPeripheralsConfig } from "../Navigator";
|
|
2
|
+
import { FrameComms } from "../epub/frame/FrameComms.ts";
|
|
3
|
+
import { IContentProtectionConfig, IKeyboardPeripheralsConfig } from "../Navigator.ts";
|
|
4
4
|
export declare class WebPubFrameManager {
|
|
5
5
|
private frame;
|
|
6
6
|
private loader;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ModuleName } from "@readium/navigator-html-injectables";
|
|
2
2
|
import { Locator, Publication } from "@readium/shared";
|
|
3
|
-
import { WebPubFrameManager } from "./WebPubFrameManager";
|
|
4
|
-
import { Injector } from "../injection/Injector";
|
|
5
|
-
import { IContentProtectionConfig, IKeyboardPeripheralsConfig } from "../Navigator";
|
|
3
|
+
import { WebPubFrameManager } from "./WebPubFrameManager.ts";
|
|
4
|
+
import { Injector } from "../injection/Injector.ts";
|
|
5
|
+
import { IContentProtectionConfig, IKeyboardPeripheralsConfig } from "../Navigator.ts";
|
|
6
6
|
export declare class WebPubFramePoolManager {
|
|
7
7
|
private readonly container;
|
|
8
8
|
private _currentFrame;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Link, Locator, Publication, ReadingProgression } from "@readium/shared";
|
|
2
|
-
import { VisualNavigator, VisualNavigatorViewport } from "../Navigator";
|
|
3
|
-
import { Configurable } from "../preferences/Configurable";
|
|
2
|
+
import { VisualNavigator, VisualNavigatorViewport } from "../Navigator.ts";
|
|
3
|
+
import { Configurable } from "../preferences/Configurable.ts";
|
|
4
4
|
import { BasicTextSelection, CommsEventKey, ContextMenuEvent, FrameClickEvent, KeyboardEventData, SuspiciousActivityEvent } from "@readium/navigator-html-injectables";
|
|
5
|
-
import { WebPubFrameManager } from "./WebPubFrameManager";
|
|
6
|
-
import { ManagerEventKey } from "../epub/EpubNavigator";
|
|
7
|
-
import { IWebPubPreferences, WebPubPreferences } from "./preferences/WebPubPreferences";
|
|
8
|
-
import { IWebPubDefaults } from "./preferences/WebPubDefaults";
|
|
9
|
-
import { WebPubSettings } from "./preferences/WebPubSettings";
|
|
10
|
-
import { WebPubPreferencesEditor } from "./preferences/WebPubPreferencesEditor";
|
|
11
|
-
import { IInjectablesConfig } from "../injection/Injectable";
|
|
12
|
-
import { IContentProtectionConfig, IKeyboardPeripheralsConfig } from "../Navigator";
|
|
5
|
+
import { WebPubFrameManager } from "./WebPubFrameManager.ts";
|
|
6
|
+
import { ManagerEventKey } from "../epub/EpubNavigator.ts";
|
|
7
|
+
import { IWebPubPreferences, WebPubPreferences } from "./preferences/WebPubPreferences.ts";
|
|
8
|
+
import { IWebPubDefaults } from "./preferences/WebPubDefaults.ts";
|
|
9
|
+
import { WebPubSettings } from "./preferences/WebPubSettings.ts";
|
|
10
|
+
import { WebPubPreferencesEditor } from "./preferences/WebPubPreferencesEditor.ts";
|
|
11
|
+
import { IInjectablesConfig } from "../injection/Injectable.ts";
|
|
12
|
+
import { IContentProtectionConfig, IKeyboardPeripheralsConfig } from "../Navigator.ts";
|
|
13
13
|
export interface WebPubNavigatorConfiguration {
|
|
14
14
|
preferences: IWebPubPreferences;
|
|
15
15
|
defaults: IWebPubDefaults;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ExperimentKey, TextAlignment } from "../../preferences/Types";
|
|
2
|
-
import { BodyHyphens, Ligatures, Properties } from "../../css/Properties";
|
|
1
|
+
import { ExperimentKey, TextAlignment } from "../../preferences/Types.ts";
|
|
2
|
+
import { BodyHyphens, Ligatures, Properties } from "../../css/Properties.ts";
|
|
3
3
|
export interface IWebUserProperties {
|
|
4
4
|
a11yNormalize?: boolean | null;
|
|
5
5
|
bodyHyphens?: BodyHyphens | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { WebPubSettings } from "../preferences/WebPubSettings";
|
|
2
|
-
import { WebRSProperties, WebUserProperties } from "./Properties";
|
|
1
|
+
import { WebPubSettings } from "../preferences/WebPubSettings.ts";
|
|
2
|
+
import { WebRSProperties, WebUserProperties } from "./Properties.ts";
|
|
3
3
|
export interface IWebPubCSS {
|
|
4
4
|
rsProperties: WebRSProperties;
|
|
5
5
|
userProperties: WebUserProperties;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./Properties";
|
|
2
|
-
export * from "./WebPubCSS";
|
|
1
|
+
export * from "./Properties.ts";
|
|
2
|
+
export * from "./WebPubCSS.ts";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./WebPubNavigator";
|
|
2
|
-
export * from "./WebPubBlobBuilder";
|
|
3
|
-
export * from "./WebPubFrameManager";
|
|
4
|
-
export * from "./WebPubFramePoolManager";
|
|
5
|
-
export * from "./preferences";
|
|
6
|
-
export * from "./css";
|
|
1
|
+
export * from "./WebPubNavigator.ts";
|
|
2
|
+
export * from "./WebPubBlobBuilder.ts";
|
|
3
|
+
export * from "./WebPubFrameManager.ts";
|
|
4
|
+
export * from "./WebPubFramePoolManager.ts";
|
|
5
|
+
export * from "./preferences/index.ts";
|
|
6
|
+
export * from "./css/index.ts";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ConfigurablePreferences } from "../../preferences/Configurable";
|
|
2
|
-
import { TextAlignment } from "../../preferences/Types";
|
|
1
|
+
import { ConfigurablePreferences } from "../../preferences/Configurable.ts";
|
|
2
|
+
import { TextAlignment } from "../../preferences/Types.ts";
|
|
3
3
|
export interface IWebPubPreferences {
|
|
4
4
|
fontFamily?: string | null;
|
|
5
5
|
fontWeight?: number | null;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Metadata } from "@readium/shared";
|
|
2
|
-
import { IPreferencesEditor } from "../../preferences/PreferencesEditor";
|
|
3
|
-
import { WebPubPreferences } from "./WebPubPreferences";
|
|
4
|
-
import { WebPubSettings } from "./WebPubSettings";
|
|
5
|
-
import { BooleanPreference, EnumPreference, Preference, RangePreference } from "../../preferences/Preference";
|
|
6
|
-
import { TextAlignment } from "../../preferences/Types";
|
|
2
|
+
import { IPreferencesEditor } from "../../preferences/PreferencesEditor.ts";
|
|
3
|
+
import { WebPubPreferences } from "./WebPubPreferences.ts";
|
|
4
|
+
import { WebPubSettings } from "./WebPubSettings.ts";
|
|
5
|
+
import { BooleanPreference, EnumPreference, Preference, RangePreference } from "../../preferences/Preference.ts";
|
|
6
|
+
import { TextAlignment } from "../../preferences/Types.ts";
|
|
7
7
|
export declare class WebPubPreferencesEditor implements IPreferencesEditor {
|
|
8
8
|
preferences: WebPubPreferences;
|
|
9
9
|
private settings;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ConfigurableSettings } from "../../preferences/Configurable";
|
|
2
|
-
import { ExperimentKey, TextAlignment } from "../../preferences/Types";
|
|
3
|
-
import { WebPubDefaults } from "./WebPubDefaults";
|
|
4
|
-
import { WebPubPreferences } from "./WebPubPreferences";
|
|
1
|
+
import { ConfigurableSettings } from "../../preferences/Configurable.ts";
|
|
2
|
+
import { ExperimentKey, TextAlignment } from "../../preferences/Types.ts";
|
|
3
|
+
import { WebPubDefaults } from "./WebPubDefaults.ts";
|
|
4
|
+
import { WebPubPreferences } from "./WebPubPreferences.ts";
|
|
5
5
|
export interface IWebPubSettings {
|
|
6
6
|
fontFamily?: string | null;
|
|
7
7
|
fontWeight?: number | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./WebPubDefaults";
|
|
2
|
-
export * from "./WebPubPreferencesEditor";
|
|
3
|
-
export * from "./WebPubPreferences";
|
|
4
|
-
export * from "./WebPubSettings";
|
|
1
|
+
export * from "./WebPubDefaults.ts";
|
|
2
|
+
export * from "./WebPubPreferencesEditor.ts";
|
|
3
|
+
export * from "./WebPubPreferences.ts";
|
|
4
|
+
export * from "./WebPubSettings.ts";
|