Cartographer User and Technical Documentation
Home
User Docs
Technical Docs
Home
User Docs
Technical Docs
  • User Documentation
    • Introduction
    • Cartographer App
    • User Interface
    • Actions
  • Technical Documentation
    • Components

      • AppFooter Component
      • AppHeader Component
      • AppSidebar Component
      • ContentPreviewMdiv Component
      • Content Preview Measure
      • Content Preview Pane
      • ImageSelection Modal
      • LoadGitModal Component
      • LoadIIIFModal Component
      • LoadXMLModal Component
      • MainMenu Component
      • MeasureModal Component
      • MdivModal Component
      • OsdComponent Component
      • PageImportModal Component
      • PagesListEntry Component
      • PagesModal Component
    • Store
      • Vuex Store (src/store/index.js)
    • Tools
      • IIIF Tools (src/tools/iiif.js)
      • MEI Mapping Tools (src/tools/meimapping.js)

PagesModal Component

Displays a modal dialog listing all pages in a table, with options to edit labels and import additional images.


Overview

The PagesModal component:

  • Shows a modal dialog with a table of all pages.
  • Displays page number, editable label, thumbnail, URI, and dimensions.
  • Allows importing additional images via a button.
  • Clicking a thumbnail (handled in PagesListEntry) sets the current page and closes the modal.
  • Uses Vuex store for state management and actions.

Layout

  • Header: Modal title ("Pages") and close button.
  • Body: Table listing all pages with columns for number, label, thumbnail, URI, and dimensions.
  • Footer:
    • "Import Images" button to open the page import modal
    • "Close" button to close the modal

Props

None


Computed Properties

NameDescription
pagesReturns the detailed list of pages from the store

Methods

NameDescription
closeModalCloses the modal dialog
showPageImportModalOpens the page import modal
showPageSets the current page (not used directly here)

Example

<PagesModal />
Prev
PagesListEntry Component