mirror of
https://github.com/zadam/trilium.git
synced 2026-01-01 20:24:25 +01:00
refactor(right_pane): move PDF-specific components in own dir
This commit is contained in:
parent
9a9cd8e6a5
commit
c473fba628
@ -15,9 +15,9 @@ import { useActiveNoteContext, useLegacyWidget, useNoteProperty, useTriliumEvent
|
||||
import Icon from "../react/Icon";
|
||||
import LegacyRightPanelWidget from "../right_panel_widget";
|
||||
import HighlightsList from "./HighlightsList";
|
||||
import PdfAttachments from "./PdfAttachments";
|
||||
import PdfLayers from "./PdfLayers";
|
||||
import PdfPages from "./PdfPages";
|
||||
import PdfAttachments from "./pdf/PdfAttachments";
|
||||
import PdfLayers from "./pdf/PdfLayers";
|
||||
import PdfPages from "./pdf/PdfPages";
|
||||
import RightPanelWidget from "./RightPanelWidget";
|
||||
import TableOfContents from "./TableOfContents";
|
||||
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
import "./PdfAttachments.css";
|
||||
|
||||
import { t } from "../../services/i18n";
|
||||
import { formatSize } from "../../services/utils";
|
||||
import { useActiveNoteContext, useGetContextData, useNoteProperty } from "../react/hooks";
|
||||
import Icon from "../react/Icon";
|
||||
import RightPanelWidget from "./RightPanelWidget";
|
||||
import { t } from "../../../services/i18n";
|
||||
import { formatSize } from "../../../services/utils";
|
||||
import { useActiveNoteContext, useGetContextData, useNoteProperty } from "../../react/hooks";
|
||||
import Icon from "../../react/Icon";
|
||||
import RightPanelWidget from "../RightPanelWidget";
|
||||
|
||||
interface AttachmentInfo {
|
||||
filename: string;
|
||||
@ -1,9 +1,9 @@
|
||||
import "./PdfLayers.css";
|
||||
|
||||
import { t } from "../../services/i18n";
|
||||
import { useActiveNoteContext, useGetContextData, useNoteProperty } from "../react/hooks";
|
||||
import Icon from "../react/Icon";
|
||||
import RightPanelWidget from "./RightPanelWidget";
|
||||
import { t } from "../../../services/i18n";
|
||||
import { useActiveNoteContext, useGetContextData, useNoteProperty } from "../../react/hooks";
|
||||
import Icon from "../../react/Icon";
|
||||
import RightPanelWidget from "../RightPanelWidget";
|
||||
|
||||
interface LayerInfo {
|
||||
id: string;
|
||||
@ -2,10 +2,10 @@ import "./PdfPages.css";
|
||||
|
||||
import { useCallback, useEffect, useRef, useState } from "preact/hooks";
|
||||
|
||||
import { NoteContextDataMap } from "../../components/note_context";
|
||||
import { t } from "../../services/i18n";
|
||||
import { useActiveNoteContext, useGetContextData, useNoteProperty } from "../react/hooks";
|
||||
import RightPanelWidget from "./RightPanelWidget";
|
||||
import { NoteContextDataMap } from "../../../components/note_context";
|
||||
import { t } from "../../../services/i18n";
|
||||
import { useActiveNoteContext, useGetContextData, useNoteProperty } from "../../react/hooks";
|
||||
import RightPanelWidget from "../RightPanelWidget";
|
||||
|
||||
export default function PdfPages() {
|
||||
const { note } = useActiveNoteContext();
|
||||
Loading…
x
Reference in New Issue
Block a user