@tindtechnologies/universalviewer
Version:
The Universal Viewer is a community-developed open source project on a mission to help you share your 📚📜📰📽️📻🗿 with the 🌎
40 lines (39 loc) • 1.9 kB
TypeScript
import { AVCenterPanel } from "../../modules/uv-avcenterpanel-module/AVCenterPanel";
import { BaseExtension } from "../../modules/uv-shared-module/BaseExtension";
import { ContentLeftPanel } from "../../modules/uv-contentleftpanel-module/ContentLeftPanel";
import { DownloadDialogue } from "./DownloadDialogue";
import { FooterPanel } from "../../modules/uv-shared-module/FooterPanel";
import { FooterPanel as MobileFooterPanel } from "../../modules/uv-avmobilefooterpanel-module/MobileFooter";
import { HeaderPanel } from "../../modules/uv-shared-module/HeaderPanel";
import { IAVExtension } from "./IAVExtension";
import { MoreInfoRightPanel } from "../../modules/uv-moreinforightpanel-module/MoreInfoRightPanel";
import { SettingsDialogue } from "./SettingsDialogue";
import { ShareDialogue } from "./ShareDialogue";
import { TreeNode } from "manifesto.js";
import "./theme/theme.less";
import { Config } from "./config/Config";
export default class Extension extends BaseExtension<Config> implements IAVExtension {
$downloadDialogue: JQuery;
$multiSelectDialogue: JQuery;
$settingsDialogue: JQuery;
$shareDialogue: JQuery;
centerPanel: AVCenterPanel;
downloadDialogue: DownloadDialogue;
footerPanel: FooterPanel<Config["modules"]["footerPanel"]>;
headerPanel: HeaderPanel<Config["modules"]["headerPanel"]>;
leftPanel: ContentLeftPanel;
mobileFooterPanel: MobileFooterPanel;
rightPanel: MoreInfoRightPanel;
settingsDialogue: SettingsDialogue;
shareDialogue: ShareDialogue;
defaultConfig: Config;
lastAvCanvasIndex?: number;
create(): void;
dependencyLoaded(index: number, dep: any): void;
createModules(): void;
isLeftPanelEnabled(): boolean;
render(): void;
getEmbedScript(template: string, width: number, height: number): string;
treeNodeSelected(node: TreeNode): void;
viewRange(path: string): void;
}