Protected_The cached list of processed page entries.
Static Internal_An incrementing integer Application ID.
Static Internal_The current maximum z-index of any displayed Application.
StaticBASE_Designates which upstream Application class in this class' inheritance chain is the base application. Any DEFAULT_OPTIONS of super-classes further upstream of the BASE_APPLICATION are ignored. Hook events for super-classes further upstream of the BASE_APPLICATION are not dispatched.
StaticDEFAULT_StaticemittedStaticOWNERSHIP_Icons for page ownership.
StaticPARTSStaticRENDER_The sequence of rendering states that describe the Application life-cycle.
StaticTABSConfiguration of application tabs, with an entry per tab group.
StaticVIEW_The available view modes for journal entries.
The JournalEntry for this sheet.
Whether the sheet is in multi-page mode.
Whether the journal is locked and disallows modifications to the table of contents.
Get the JournalEntry's current view mode.
The currently active IntersectionObserver.
The ID of the currently-viewed page.
The index of the currently-viewed page in the list of available pages.
The pages that are currently scrolled into view and marked as 'active' in the sidebar.
Get the JournalEntry's current search mode.
The expanded state of the sidebar.
Prompt the user with a Dialog for creation of a new JournalEntryPage.
Retrieve the sheet instance for rendering this page inline.
The page instance or its ID.
Turn to a specific page.
The ID of the page to turn to.
Optionaloptions: { anchor?: string } = {}Optionalanchor?: stringOptionally an anchor slug to focus within that page.
Determine whether a given page is visible to the current user.
The page.
Turn to the next page.
Turn to the previous page.
Toggle the search mode for this journal entry between name and full text search.
Toggle the collapsed or expanded state of the sidebar.
Protected_ProtectedHighlights the currently-viewed page in the sidebar.
Protected_ProtectedDetermine if drop operations are permitted.
The candidate HTML selector for dragging
Can the current user drag this selector?
Protected_ProtectedDetermine if drag operations are permitted.
The candidate HTML selector for dragging
Can the current user drag this selector?
Protected_ProtectedGet the set of ContextMenu options which should be used for journal entry pages in the sidebar.
Protected_ProtectedCreate an intersection observer to maintain a list of headings that are in view. This is much more performant than calling getBoundingClientRect on all headings whenever we want to determine this list.
Protected_ProtectedCreate an intersection observer to maintain a list of pages that are in view.
Protected_ProtectedHandle clicking an image to pop it out for fullscreen view.
The triggering click event.
Protected_ProtectedHandle closing the context menu.
The element the context menu has been triggered for.
Protected_ProtectedHandle opening the context menu.
The element the context menu has been triggered for.
Protected_ProtectedHandle drag operations.
Protected_ProtectedHandle drop operations.
Protected_ProtectedHandle editing one of the journal entry's pages.
The triggering event.
The action target.
Protected_ProtectedHandle new pages scrolling into view.
An array of element that have scrolled into or out of view.
The IntersectionObserver that invoked this callback.
Protected_ProtectedHandle journal entry search and filtering.
The keyboard input event.
The input search string.
The regular expression query that should be matched against.
The container to filter items from.
Protected_ProtectedHandle a request to show the JournalEntry to other Users.
Protected_Protected_ProtectedPrepare render context for the pages part.
Protected_ProtectedPrepare render context for the sidebar part.
Protected_ProtectedPrepare the sidebar table of contents.
Protected_ProtectedAdd headings to the table of contents for the given node.
The HTML node of the page's rendered contents.
The page's table of contents.
Protected_ProtectedRender the page view for a page sheet.
The existing page element in the journal entry view.
The page sheet.
Protected_ProtectedUpdate child views inside the main sheet.
Protected_ProtectedUpdate which page of the journal sheet should be currently rendered. This can be controlled by options passed into the render method, or by subclass override.
Optionaloptions: JournalSheetRenderOptions = {}Protected_ProtectedIf the set of active pages has changed, various elements in the sidebar will expand and collapse. For particularly long ToCs, this can leave the scroll position of the sidebar in a seemingly random state. We try to do our best to sync the sidebar scroll position with the current journal viewport.
Protected_ProtectedUpdate the disabled state of the previous and next page buttons.
Static_InternalProvide a deprecation path for converted V1 document sheets.
The first parameter received by this class's constructor
Any additional parameters received
StaticinheritanceIterate over the inheritance chain of this Application. The chain includes this Application itself and all parents until the base application is encountered.
StaticinstancesIterate over the instances of this Application.
StaticparseParse a CSS style rule into a number of pixels which apply to that dimension.
The CSS style rule
The relevant dimension of the parent element
The parsed style dimension in pixels
StaticwaitWait for any images in the given element to load.
The element.
The Application responsible for displaying and editing a single JournalEntry Document.
Mixes
HandlebarsApplication