@nulib/clover 0.0.0-stage → 4.0.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/LICENSE +9 -0
- package/README.md +120 -2
- package/dist/components/Annotations/Annotations.mjs +674 -0
- package/dist/components/Annotations/EntryBodies.mjs +52 -0
- package/dist/components/Annotations/languages.mjs +43 -0
- package/dist/components/Body/Body.mjs +51 -0
- package/dist/components/Body/BodyAlert.mjs +25 -0
- package/dist/components/Body/Caption.mjs +90 -0
- package/dist/components/Body/CaptionDetails.mjs +50 -0
- package/dist/components/Body/Pending.mjs +9 -0
- package/dist/components/Body/glyphs.mjs +66 -0
- package/dist/components/Body/renderers.mjs +30 -0
- package/dist/components/Body/useControlsVisibility.mjs +204 -0
- package/dist/components/Body/useNearViewport.mjs +27 -0
- package/dist/components/Canvas/AnnotationMenu.mjs +128 -0
- package/dist/components/Canvas/AnnotationState.mjs +338 -0
- package/dist/components/Canvas/Annotations.mjs +497 -0
- package/dist/components/Canvas/CanvasView.mjs +669 -0
- package/dist/components/Canvas/ChoiceMenu.mjs +77 -0
- package/dist/components/Canvas/Connected.mjs +228 -0
- package/dist/components/Canvas/ControlMenu.mjs +67 -0
- package/dist/components/Canvas/Controls.mjs +233 -0
- package/dist/components/Canvas/FrameAnimation.mjs +344 -0
- package/dist/components/Canvas/LoadedCanvas.mjs +177 -0
- package/dist/components/Canvas/Placeholder.mjs +105 -0
- package/dist/components/Canvas/fromManifest.mjs +44 -0
- package/dist/components/Canvas/index.mjs +19 -0
- package/dist/components/Canvas/layout.mjs +369 -0
- package/dist/components/Canvas/media/MediaBody.mjs +285 -0
- package/dist/components/Canvas/media/Player.mjs +193 -0
- package/dist/components/Canvas/media/Transport.mjs +511 -0
- package/dist/components/Canvas/media/TransportButton.mjs +39 -0
- package/dist/components/Canvas/media/useBarHeight.mjs +28 -0
- package/dist/components/Canvas/media/useCaptionTracks.mjs +131 -0
- package/dist/components/Canvas/media/useMediaController.mjs +77 -0
- package/dist/components/Canvas/media/useMediaElement.mjs +100 -0
- package/dist/components/Canvas/panClearOfControls.mjs +92 -0
- package/dist/components/Canvas/rendererSurface.mjs +6 -0
- package/dist/components/Canvas/surface.mjs +5 -0
- package/dist/components/Canvas/track.mjs +43 -0
- package/dist/components/Canvas/useSvgReader.mjs +23 -0
- package/dist/components/Collection/Collection.mjs +76 -0
- package/dist/components/CollectionSelect/CollectionSelect.mjs +114 -0
- package/dist/components/Contents/Contents.mjs +120 -0
- package/dist/components/Download/Download.mjs +105 -0
- package/dist/components/Items/Item.mjs +184 -0
- package/dist/components/Items/Items.mjs +455 -0
- package/dist/components/Items/Pager.mjs +190 -0
- package/dist/components/Items/StandaloneItems.mjs +80 -0
- package/dist/components/Items/clamped.mjs +90 -0
- package/dist/components/Label/Label.mjs +39 -0
- package/dist/components/Map/LoadedMap.mjs +26 -0
- package/dist/components/Map/Map.mjs +38 -0
- package/dist/components/Map/MapView.mjs +539 -0
- package/dist/components/Map/basemap.mjs +50 -0
- package/dist/components/Map/maplibre-worker.mjs +7 -0
- package/dist/components/Map/overlayImage.mjs +17 -0
- package/dist/components/Map/worker.mjs +22 -0
- package/dist/components/Panel/About.mjs +148 -0
- package/dist/components/Panel/Panel.mjs +259 -0
- package/dist/components/Panel/PanelToggle.mjs +43 -0
- package/dist/components/Panel/PartOfManifest.mjs +52 -0
- package/dist/components/Primitives/Primitives.mjs +263 -0
- package/dist/components/Primitives/resource.mjs +11 -0
- package/dist/components/Provider/Provider.mjs +174 -0
- package/dist/components/Root/Announcer.mjs +58 -0
- package/dist/components/Root/Root.mjs +29 -0
- package/dist/components/Root/useRootState.mjs +188 -0
- package/dist/components/Scene/Connected.mjs +48 -0
- package/dist/components/Scene/Loaded.mjs +56 -0
- package/dist/components/Scene/RotatePad.mjs +204 -0
- package/dist/components/Scene/Scene.mjs +20 -0
- package/dist/components/Scene/SceneView.mjs +539 -0
- package/dist/components/Scene/cloverEngine.mjs +105 -0
- package/dist/components/Scene/engine.mjs +141 -0
- package/dist/components/Scene/engines.mjs +23 -0
- package/dist/components/Scene/gestures.mjs +74 -0
- package/dist/components/Scene/models.mjs +78 -0
- package/dist/components/Scene/orbit.mjs +60 -0
- package/dist/components/Search/Search.mjs +246 -0
- package/dist/components/Split/Split.mjs +210 -0
- package/dist/components/Split/splitting.mjs +203 -0
- package/dist/components/Status/Status.mjs +47 -0
- package/dist/components/Timeline/Connected.mjs +25 -0
- package/dist/components/Timeline/Timeline.mjs +40 -0
- package/dist/components/Timeline/playerSurface.mjs +84 -0
- package/dist/components/Transcript/Transcript.mjs +377 -0
- package/dist/components/Viewer/Viewer.mjs +19 -0
- package/dist/core/annotation-bodies.mjs +29 -0
- package/dist/core/annotation-collection.mjs +55 -0
- package/dist/core/annotation-name.mjs +31 -0
- package/dist/core/annotation-sets.mjs +155 -0
- package/dist/core/annotations-content.mjs +27 -0
- package/dist/core/annotations.mjs +73 -0
- package/dist/core/clover.mjs +393 -0
- package/dist/core/content-state-reader.mjs +82 -0
- package/dist/core/content-state.mjs +43 -0
- package/dist/core/direction.mjs +12 -0
- package/dist/core/geo-detect.mjs +30 -0
- package/dist/core/geo.mjs +283 -0
- package/dist/core/items.mjs +76 -0
- package/dist/core/keep-fragments.mjs +40 -0
- package/dist/core/link.mjs +28 -0
- package/dist/core/load.mjs +183 -0
- package/dist/core/map-config.mjs +12 -0
- package/dist/core/markdown.mjs +139 -0
- package/dist/core/pages.mjs +51 -0
- package/dist/core/painted-bodies.mjs +20 -0
- package/dist/core/painting.mjs +17 -0
- package/dist/core/presentation.mjs +27 -0
- package/dist/core/ranges.mjs +133 -0
- package/dist/core/region.mjs +32 -0
- package/dist/core/request.mjs +40 -0
- package/dist/core/sanitize.mjs +72 -0
- package/dist/core/search-service.mjs +22 -0
- package/dist/core/search.mjs +154 -0
- package/dist/core/selectors.mjs +94 -0
- package/dist/core/sequence.mjs +70 -0
- package/dist/core/show-link.mjs +16 -0
- package/dist/core/store.mjs +40 -0
- package/dist/core/svg-shape.mjs +183 -0
- package/dist/core/text.mjs +36 -0
- package/dist/core/thumbnail.mjs +55 -0
- package/dist/core/value.mjs +39 -0
- package/dist/core/vtt.mjs +111 -0
- package/dist/hooks/useFullscreen.mjs +21 -0
- package/dist/hooks/useFullscreenSupported.mjs +11 -0
- package/dist/hooks/useLoaded.mjs +27 -0
- package/dist/hooks/useWithinFullscreen.mjs +24 -0
- package/dist/i18n/config.mjs +170 -0
- package/dist/i18n/hostLanguage.mjs +6 -0
- package/dist/i18n/locales/en.json.mjs +5 -0
- package/dist/i18n/locales/es.json.mjs +5 -0
- package/dist/i18n/locales/fi.json.mjs +5 -0
- package/dist/i18n/locales/fr.json.mjs +5 -0
- package/dist/i18n/locales/index.mjs +13 -0
- package/dist/i18n/locales/nb.json.mjs +5 -0
- package/dist/i18n/locales/nn.json.mjs +5 -0
- package/dist/i18n/locales/no.json.mjs +5 -0
- package/dist/i18n/locales/pt.json.mjs +5 -0
- package/dist/i18n/reader.mjs +13 -0
- package/dist/i18n/useCloverTranslation.mjs +28 -0
- package/dist/index.d.mts +2215 -0
- package/dist/index.mjs +133 -0
- package/dist/lib/asArray.mjs +5 -0
- package/dist/lib/classnames.mjs +5 -0
- package/dist/lib/fullscreen.mjs +65 -0
- package/dist/lib/gltf/bounds.mjs +44 -0
- package/dist/lib/gltf/load.mjs +156 -0
- package/dist/lib/gltf/mat4.mjs +150 -0
- package/dist/lib/gltf/renderer.mjs +342 -0
- package/dist/lib/gltf/shaders.mjs +192 -0
- package/dist/lib/hls.mjs +6 -0
- package/dist/lib/pointer.mjs +38 -0
- package/dist/lib/renderer/CanvasRenderer.mjs +857 -0
- package/dist/lib/renderer/backends/backend.mjs +21 -0
- package/dist/lib/renderer/backends/canvas2d/Canvas2DBackend.mjs +91 -0
- package/dist/lib/renderer/backends/contexts.mjs +27 -0
- package/dist/lib/renderer/backends/dom/DomLayers.mjs +91 -0
- package/dist/lib/renderer/backends/webgl2/WebGL2Backend.mjs +248 -0
- package/dist/lib/renderer/backends/webgl2/shaders.mjs +28 -0
- package/dist/lib/renderer/camera/Camera.mjs +64 -0
- package/dist/lib/renderer/camera/CameraAnimator.mjs +90 -0
- package/dist/lib/renderer/input/GestureController.mjs +252 -0
- package/dist/lib/renderer/io/TileCache.mjs +207 -0
- package/dist/lib/renderer/io/decode.mjs +156 -0
- package/dist/lib/renderer/loop/FrameLoop.mjs +50 -0
- package/dist/lib/renderer/math/affine.mjs +68 -0
- package/dist/lib/renderer/math/rect.mjs +45 -0
- package/dist/lib/renderer/overlays/Navigator.mjs +141 -0
- package/dist/lib/renderer/overlays/OverlayLayer.mjs +94 -0
- package/dist/lib/renderer/scene/planFrame.mjs +168 -0
- package/dist/lib/renderer/scene/regions.mjs +30 -0
- package/dist/lib/renderer/scene/sceneItem.mjs +114 -0
- package/dist/lib/renderer/scene/uploadBudget.mjs +30 -0
- package/dist/lib/renderer/sources/imageService.mjs +160 -0
- package/dist/lib/renderer/sources/sizedImage.mjs +38 -0
- package/dist/lib/renderer/sources/tilePyramid.mjs +172 -0
- package/dist/lib/time.mjs +21 -0
- package/dist/map/index.d.mts +195 -0
- package/dist/map/index.mjs +16 -0
- package/dist/react/context.mjs +46 -0
- package/dist/react/hooks.mjs +69 -0
- package/dist/react/language.mjs +30 -0
- package/dist/styles.css +1 -0
- package/dist/templates/default/Default.mjs +229 -0
- package/dist/templates/document/Document.mjs +286 -0
- package/dist/templates/document/DocumentPanel.mjs +9 -0
- package/dist/templates/document/Sheets.mjs +360 -0
- package/dist/templates/gallery/Gallery.mjs +62 -0
- package/dist/templates/index.d.mts +276 -0
- package/dist/templates/index.mjs +11 -0
- package/dist/templates/shared/Lightbox.mjs +111 -0
- package/dist/templates/shared/LightboxBody.mjs +9 -0
- package/dist/templates/shared/dragToClose.mjs +129 -0
- package/dist/templates/shared/useDragToClose.mjs +35 -0
- package/dist/templates/shared/useDrawer.mjs +113 -0
- package/dist/templates/shared/useFollowFocus.mjs +24 -0
- package/dist/templates/shared/useSlide.mjs +52 -0
- package/dist/templates/shared/useSpine.mjs +26 -0
- package/dist/templates.css +1 -0
- package/dist/three/index.d.mts +6 -0
- package/dist/three/index.mjs +8 -0
- package/dist/ui/Button.mjs +53 -0
- package/dist/ui/ControlCluster.mjs +87 -0
- package/dist/ui/Cue.mjs +13 -0
- package/dist/ui/ErrorBoundary.mjs +26 -0
- package/dist/ui/ExitFullscreen.mjs +46 -0
- package/dist/ui/FieldPill.mjs +153 -0
- package/dist/ui/HideToggle.mjs +57 -0
- package/dist/ui/Loading.mjs +20 -0
- package/dist/ui/Markup.mjs +95 -0
- package/dist/ui/ReadMore.mjs +84 -0
- package/dist/ui/Sections.mjs +448 -0
- package/dist/ui/Steps.mjs +84 -0
- package/dist/ui/Tip.mjs +196 -0
- package/dist/ui/bringIntoView.mjs +27 -0
- package/dist/ui/controlGlyphs.mjs +120 -0
- package/dist/ui/heading.mjs +19 -0
- package/dist/ui/languageCode.mjs +8 -0
- package/dist/ui/mediaIcons.mjs +104 -0
- package/dist/ui/useClusterReach.mjs +50 -0
- package/dist/ui/useContainerName.mjs +19 -0
- package/dist/ui/useOneOpen.mjs +22 -0
- package/dist/ui/useRovingFocus.mjs +64 -0
- package/dist/ui/useScrollTrack.mjs +150 -0
- package/dist/ui/useUniqueId.mjs +10 -0
- package/dist/ui/visuallyHidden.mjs +15 -0
- package/dist/web-components/About-DbrFSVBm.mjs +1 -0
- package/dist/web-components/AnnotationMenu-EBjIQpQl.mjs +1 -0
- package/dist/web-components/AnnotationState-DQTaO6Gz.mjs +1 -0
- package/dist/web-components/Annotations-Cb9U7HJ_.mjs +2 -0
- package/dist/web-components/Annotations-Dl0SgHBS.mjs +1 -0
- package/dist/web-components/Body-DxSz3iST.mjs +1 -0
- package/dist/web-components/BodyAlert-C8EOXz24.mjs +1 -0
- package/dist/web-components/Button-uWgfvqsL.mjs +1 -0
- package/dist/web-components/Camera-cdCqKMup.mjs +1 -0
- package/dist/web-components/Canvas2DBackend-CnLEHRs4.mjs +1 -0
- package/dist/web-components/CanvasView-BI3YzNdK.mjs +1 -0
- package/dist/web-components/CaptionDetails-B80ZhZ7v.mjs +1 -0
- package/dist/web-components/ChoiceMenu-DCp7-co7.mjs +1 -0
- package/dist/web-components/Collection-B1Le2_TU.mjs +1 -0
- package/dist/web-components/CollectionSelect-BL_jQog-.mjs +1 -0
- package/dist/web-components/Connected-BxqaRL9o.mjs +1 -0
- package/dist/web-components/Connected-DCBI-j9H.mjs +1 -0
- package/dist/web-components/Connected-DkhfVWxd.mjs +1 -0
- package/dist/web-components/Contents-zYEGHLfe.mjs +1 -0
- package/dist/web-components/ControlMenu-CAHiLAtl.mjs +1 -0
- package/dist/web-components/Cue-BT2V9VAq.mjs +1 -0
- package/dist/web-components/Document-BdCjGnJN.mjs +1 -0
- package/dist/web-components/DocumentPanel-X_Rta0Wu.mjs +1 -0
- package/dist/web-components/DomLayers-BD4QPbl6.mjs +1 -0
- package/dist/web-components/Download-DqU-goFi.mjs +1 -0
- package/dist/web-components/EntryBodies-DXAQH0vR.mjs +1 -0
- package/dist/web-components/ErrorBoundary-chQaO-Up.mjs +1 -0
- package/dist/web-components/FieldPill-CyEssPVm.mjs +1 -0
- package/dist/web-components/FrameAnimation-Bb0pOoRl.mjs +1 -0
- package/dist/web-components/Gallery-BXU3TcT3.mjs +1 -0
- package/dist/web-components/HideToggle-BwMrOBMu.mjs +1 -0
- package/dist/web-components/Items-DRj1UEpC.mjs +1 -0
- package/dist/web-components/Label-D6aVJB9s.mjs +1 -0
- package/dist/web-components/LightboxBody-BzXQGMDn.mjs +1 -0
- package/dist/web-components/Loaded-D5xmFRSo.mjs +1 -0
- package/dist/web-components/LoadedCanvas-DOjtxLSe.mjs +1 -0
- package/dist/web-components/LoadedMap-DouDS2lO.mjs +1 -0
- package/dist/web-components/Loading-CBKfwsML.mjs +1 -0
- package/dist/web-components/Map-Bcgp_R8H.mjs +1 -0
- package/dist/web-components/MapView-CD5zkTs8.mjs +1 -0
- package/dist/web-components/Markup-C1hMA8wk.mjs +2 -0
- package/dist/web-components/MediaBody-B_Gii4we.mjs +1 -0
- package/dist/web-components/MediaBody-BfrKIPte.mjs +1 -0
- package/dist/web-components/Navigator-BSJbEbuJ.mjs +1 -0
- package/dist/web-components/Pager-Di_2hHM3.mjs +1 -0
- package/dist/web-components/Panel-DbsC8A9V.mjs +1 -0
- package/dist/web-components/PanelToggle-mUDw73zI.mjs +1 -0
- package/dist/web-components/PartOfManifest-7eOwURrF.mjs +1 -0
- package/dist/web-components/Pending-BPOQ2z1L.mjs +1 -0
- package/dist/web-components/Primitives-XQO3m1wG.mjs +1 -0
- package/dist/web-components/Provider-B61118lU.mjs +1 -0
- package/dist/web-components/ReadMore-BJH-qqte.mjs +1 -0
- package/dist/web-components/Root-Dj277K6p.mjs +1 -0
- package/dist/web-components/Scene-BTWpLeec.mjs +1 -0
- package/dist/web-components/SceneView-BYo7WmPt.mjs +1 -0
- package/dist/web-components/Search-ZV8FFN4p.mjs +1 -0
- package/dist/web-components/Sections-ejwu1_Sm.mjs +2 -0
- package/dist/web-components/StandaloneItems-BYaiyCca.mjs +1 -0
- package/dist/web-components/Status-YbQK2KzY.mjs +1 -0
- package/dist/web-components/Timeline-ByyVSd7B.mjs +1 -0
- package/dist/web-components/Tip-IO11xX4x.mjs +1 -0
- package/dist/web-components/Transcript-D0gUxUoA.mjs +1 -0
- package/dist/web-components/annotation-collection-Csv7WIlm.mjs +1 -0
- package/dist/web-components/annotations-content-BS_OFz5Z.mjs +1 -0
- package/dist/web-components/assets/maplibre-gl-worker-kTz9OPxr.js +13831 -0
- package/dist/web-components/body-CKjwwFep.mjs +1 -0
- package/dist/web-components/bringIntoView-CQH5ZgMM.mjs +1 -0
- package/dist/web-components/canvas-CIzpp-Uz.mjs +1 -0
- package/dist/web-components/classnames-DukgfdpI.mjs +1 -0
- package/dist/web-components/cloverEngine-B4LinbSt.mjs +164 -0
- package/dist/web-components/content-state-reader-D1BkpICh.mjs +1 -0
- package/dist/web-components/contexts-ByL3eA_T.mjs +1 -0
- package/dist/web-components/controls-Dj2BybWb.mjs +1 -0
- package/dist/web-components/custom-elements.json +2739 -0
- package/dist/web-components/dragToClose-C-Pf1IeO.mjs +1 -0
- package/dist/web-components/engine-BSt8LTso.mjs +4228 -0
- package/dist/web-components/engines-CC0OEsVE.mjs +1 -0
- package/dist/web-components/es-BwMkoRod.mjs +1 -0
- package/dist/web-components/fi-gPFOn9RK.mjs +1 -0
- package/dist/web-components/fr-DUHmgdJo.mjs +1 -0
- package/dist/web-components/fromManifest-BhemHaoA.mjs +1 -0
- package/dist/web-components/glyphs-drROkef9.mjs +1 -0
- package/dist/web-components/heading-Cjt0f-Eu.mjs +1 -0
- package/dist/web-components/hls-CdKrthkC.mjs +40 -0
- package/dist/web-components/hooks-BXzQSllm.mjs +1 -0
- package/dist/web-components/imageService-dsdmcegU.mjs +1 -0
- package/dist/web-components/index-B7nZdqLg.mjs +1 -0
- package/dist/web-components/index.d.mts +604 -0
- package/dist/web-components/index.mjs +1 -0
- package/dist/web-components/index.umd.js +18 -0
- package/dist/web-components/items-CB2Uk7ts.mjs +1 -0
- package/dist/web-components/items-jfQ5XzEj.mjs +1 -0
- package/dist/web-components/keep-fragments-B5nlv2ck.mjs +1 -0
- package/dist/web-components/label-Vbg_cMOJ.mjs +1 -0
- package/dist/web-components/languageCode-cCpiU0b0.mjs +1 -0
- package/dist/web-components/layout-mMHI0lsj.mjs +1 -0
- package/dist/web-components/link-ZRnv5NFR.mjs +1 -0
- package/dist/web-components/logo-Boy6u4m2.mjs +1 -0
- package/dist/web-components/maplibre-gl-CQ4OueXY.mjs +823 -0
- package/dist/web-components/markdown-CCYJwzFn.mjs +5 -0
- package/dist/web-components/models-D1EE_CmH.mjs +1 -0
- package/dist/web-components/nb-BSvnQ6jd.mjs +1 -0
- package/dist/web-components/nn-Dg2_HdZu.mjs +1 -0
- package/dist/web-components/no-BSvnQ6jd.mjs +1 -0
- package/dist/web-components/nodes-B7JRwBgl.mjs +1 -0
- package/dist/web-components/overlayImage-0OgQl1TL.mjs +1 -0
- package/dist/web-components/panClearOfControls-ac9uf-Qs.mjs +1 -0
- package/dist/web-components/panel-CjXfre-g.mjs +1 -0
- package/dist/web-components/part-cUiPs2-y.mjs +1 -0
- package/dist/web-components/playerSurface-CU5XxI1j.mjs +1 -0
- package/dist/web-components/provider-C1wKfdjb.mjs +1 -0
- package/dist/web-components/pt-B3J80JgO.mjs +1 -0
- package/dist/web-components/read-more-DNHNtG-a.mjs +1 -0
- package/dist/web-components/rendererSurface-DhIlOjGT.mjs +22 -0
- package/dist/web-components/renderers-BMSWEFUR.mjs +1 -0
- package/dist/web-components/resource-DLHocQ1C.mjs +1 -0
- package/dist/web-components/sanitize-Dc7nOsgO.mjs +3 -0
- package/dist/web-components/search-CLy2Wj01.mjs +1 -0
- package/dist/web-components/shared-YUjOSBKO.mjs +1 -0
- package/dist/web-components/show-link-CyzYE1eS.mjs +1 -0
- package/dist/web-components/sizedImage-uv_NlE0l.mjs +1 -0
- package/dist/web-components/split-CYuMjp89.mjs +1 -0
- package/dist/web-components/splitting-BnQUxxgH.mjs +1 -0
- package/dist/web-components/status-Ms5L0ghK.mjs +1 -0
- package/dist/web-components/styles-CyuM_fB1.mjs +1 -0
- package/dist/web-components/svg-shape-DLY3g7oq.mjs +1 -0
- package/dist/web-components/text-BTAkxEfQ.mjs +5 -0
- package/dist/web-components/three.mjs +1 -0
- package/dist/web-components/thumbnail-c2K_iQsD.mjs +1 -0
- package/dist/web-components/time-B9GZoYcm.mjs +1 -0
- package/dist/web-components/tip-dWhupWSr.mjs +1 -0
- package/dist/web-components/toggle-BQTjR1I3.mjs +1 -0
- package/dist/web-components/upgrader-XNxI-5jo.mjs +1 -0
- package/dist/web-components/useContainerName-BpJ3IWY0.mjs +1 -0
- package/dist/web-components/useNearViewport-CtLyYg9n.mjs +1 -0
- package/dist/web-components/useScrollTrack-WbG28FPD.mjs +1 -0
- package/dist/web-components/viewer/AnnotationMenu-ZKyBeyUU.mjs +1 -0
- package/dist/web-components/viewer/AnnotationState-DO33zokc.mjs +1 -0
- package/dist/web-components/viewer/Annotations-BOjhr5ks.mjs +1 -0
- package/dist/web-components/viewer/Annotations-DkLueFLK.mjs +2 -0
- package/dist/web-components/viewer/Canvas2DBackend-CAmzJD5P.mjs +1 -0
- package/dist/web-components/viewer/CaptionDetails-DOJlUtOn.mjs +1 -0
- package/dist/web-components/viewer/ChoiceMenu-BDq6H34G.mjs +1 -0
- package/dist/web-components/viewer/Collection-By3puO0V.mjs +1 -0
- package/dist/web-components/viewer/Connected-DZNO2CPf.mjs +1 -0
- package/dist/web-components/viewer/Connected-ESg5y49m.mjs +1 -0
- package/dist/web-components/viewer/Contents-B_FqDwTW.mjs +1 -0
- package/dist/web-components/viewer/ControlMenu-DdQl-dTf.mjs +1 -0
- package/dist/web-components/viewer/Cue-BTRHfiWQ.mjs +1 -0
- package/dist/web-components/viewer/Document-B9_PyD2w.mjs +1 -0
- package/dist/web-components/viewer/DocumentPanel-CtEJVPoE.mjs +1 -0
- package/dist/web-components/viewer/DomLayers-DRdQSEtN.mjs +1 -0
- package/dist/web-components/viewer/EntryBodies-CJuTRcTq.mjs +1 -0
- package/dist/web-components/viewer/FieldPill-06uwrNwE.mjs +1 -0
- package/dist/web-components/viewer/FrameAnimation-3dcDHf5q.mjs +1 -0
- package/dist/web-components/viewer/Gallery-BYasTqZc.mjs +1 -0
- package/dist/web-components/viewer/HideToggle-BxkNMX-T.mjs +1 -0
- package/dist/web-components/viewer/LightboxBody-CXMc1xOH.mjs +1 -0
- package/dist/web-components/viewer/MapView-DCerrRRV.mjs +1 -0
- package/dist/web-components/viewer/MediaBody-BdkJcyGy.mjs +1 -0
- package/dist/web-components/viewer/MediaBody-waF4KvHp.mjs +1 -0
- package/dist/web-components/viewer/Navigator-CKwDgG2x.mjs +1 -0
- package/dist/web-components/viewer/PartOfManifest-DalHJFwC.mjs +1 -0
- package/dist/web-components/viewer/Search-Di_QQfDb.mjs +1 -0
- package/dist/web-components/viewer/StandaloneItems-B9J6nnWn.mjs +1 -0
- package/dist/web-components/viewer/Transcript-aHOixfna.mjs +1 -0
- package/dist/web-components/viewer/annotation-collection-I2UkdobR.mjs +1 -0
- package/dist/web-components/viewer/annotations-content-D-i4j9pD.mjs +1 -0
- package/dist/web-components/viewer/cloverEngine-CynoKdta.mjs +164 -0
- package/dist/web-components/viewer/content-state-reader-D7GIMcKK.mjs +1 -0
- package/dist/web-components/viewer/host-DlCltI_c.mjs +1 -0
- package/dist/web-components/viewer/index.d.mts +7 -0
- package/dist/web-components/viewer/index.mjs +1 -0
- package/dist/web-components/viewer/index.umd.js +18 -0
- package/dist/web-components/viewer/link-BX-wzj1u.mjs +1 -0
- package/dist/web-components/viewer/overlayImage-CHqn1fG8.mjs +1 -0
- package/dist/web-components/viewer/renderers-C_wdmw9v.mjs +1 -0
- package/dist/web-components/viewer/search-BHLyNxZ6.mjs +1 -0
- package/dist/web-components/viewer/styles-BRCkEU3w.mjs +1 -0
- package/dist/web-components/viewer/viewer-ipqAA-xQ.mjs +28 -0
- package/dist/web-components/viewer/vtt-XiS_-5Ao.mjs +5 -0
- package/dist/web-components/viewer-DEHIsIHd.mjs +1 -0
- package/dist/web-components/vtt-DYAOuQoK.mjs +5 -0
- package/dist/web-components/worker-CjXN0dku.mjs +1 -0
- package/package.json +111 -4
|
@@ -0,0 +1,2739 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "2.0.0",
|
|
3
|
+
"readme": "",
|
|
4
|
+
"modules": [
|
|
5
|
+
{
|
|
6
|
+
"kind": "javascript-module",
|
|
7
|
+
"path": "dist/web-components/index.mjs",
|
|
8
|
+
"declarations": [
|
|
9
|
+
{
|
|
10
|
+
"kind": "class",
|
|
11
|
+
"customElement": true,
|
|
12
|
+
"tagName": "clover-viewer",
|
|
13
|
+
"name": "CloverViewerElement",
|
|
14
|
+
"description": "Clover's Viewer, in one of its templates: Default (the title over the Body, the thumbnails under it, the information panel beside them), Document (a PDF reader's pages, thumbnails beside them) or Gallery (a grid, each item opening in a lightbox). Each template loads when used, its styles with it.",
|
|
15
|
+
"superclass": {
|
|
16
|
+
"name": "HTMLElement"
|
|
17
|
+
},
|
|
18
|
+
"attributes": [
|
|
19
|
+
{
|
|
20
|
+
"name": "template",
|
|
21
|
+
"type": {
|
|
22
|
+
"text": "\"default\" | \"document\" | \"gallery\""
|
|
23
|
+
},
|
|
24
|
+
"description": "The layout: default, document or gallery. Default's comes with the element; another loads the first time one is shown.",
|
|
25
|
+
"default": "default"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "iiif-content",
|
|
29
|
+
"type": {
|
|
30
|
+
"text": "string"
|
|
31
|
+
},
|
|
32
|
+
"description": "What to show: a URL, or a content state.",
|
|
33
|
+
"fieldName": "iiifContent"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "canvas-id",
|
|
37
|
+
"type": {
|
|
38
|
+
"text": "string"
|
|
39
|
+
},
|
|
40
|
+
"description": "The Canvas to open on."
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "manifest-id",
|
|
44
|
+
"type": {
|
|
45
|
+
"text": "string"
|
|
46
|
+
},
|
|
47
|
+
"description": "In a Collection, the Manifest to open first. The reader moves on from it."
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "language",
|
|
51
|
+
"type": {
|
|
52
|
+
"text": "string"
|
|
53
|
+
},
|
|
54
|
+
"description": "The language to read IIIF text in."
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "search-query",
|
|
58
|
+
"type": {
|
|
59
|
+
"text": "string"
|
|
60
|
+
},
|
|
61
|
+
"description": "A Content Search to run as the Manifest opens."
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "annotations",
|
|
65
|
+
"type": {
|
|
66
|
+
"text": "string"
|
|
67
|
+
},
|
|
68
|
+
"description": "Annotations to show beside the Manifest's own: a URL, or JSON (a list of URLs, or an AnnotationPage).",
|
|
69
|
+
"fieldName": "annotations"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "heading-level",
|
|
73
|
+
"type": {
|
|
74
|
+
"text": "number"
|
|
75
|
+
},
|
|
76
|
+
"description": "The title's level, 2 or more, to fit the page's outline. The panel's sections are a level below.",
|
|
77
|
+
"default": "2"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "items",
|
|
81
|
+
"type": {
|
|
82
|
+
"text": "\"slider\" | \"list\" | \"grid\" | \"false\""
|
|
83
|
+
},
|
|
84
|
+
"description": "Default: the thumbnails, as a slider, list or grid, or \"false\" for none.",
|
|
85
|
+
"default": "slider"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "header",
|
|
89
|
+
"type": {
|
|
90
|
+
"text": "boolean"
|
|
91
|
+
},
|
|
92
|
+
"description": "Default: \"false\" leaves out the title and provider over the Body.",
|
|
93
|
+
"default": "true"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "panel",
|
|
97
|
+
"type": {
|
|
98
|
+
"text": "boolean"
|
|
99
|
+
},
|
|
100
|
+
"description": "Default: \"false\" leaves out the information panel.",
|
|
101
|
+
"default": "true"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "download",
|
|
105
|
+
"type": {
|
|
106
|
+
"text": "boolean"
|
|
107
|
+
},
|
|
108
|
+
"description": "Default and Document: \"false\" leaves out the downloads: Default's in its panel's About, Document's in its toolbar (its panel's About lists none).",
|
|
109
|
+
"default": "true"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "panel-open",
|
|
113
|
+
"type": {
|
|
114
|
+
"text": "boolean"
|
|
115
|
+
},
|
|
116
|
+
"description": "Default and Document: whether the information panel starts open beside the page. Default's does, by default; Document's starts shut. Where it would slide over the page (a phone), it starts shut."
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "panel-layout",
|
|
120
|
+
"type": {
|
|
121
|
+
"text": "\"accordion\" | \"tabs\""
|
|
122
|
+
},
|
|
123
|
+
"description": "Default and Document: the panel's sections as stacked boxes, each opened by its heading, or as tabs.",
|
|
124
|
+
"default": "accordion"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "sidebar-open",
|
|
128
|
+
"type": {
|
|
129
|
+
"text": "boolean"
|
|
130
|
+
},
|
|
131
|
+
"description": "Document: whether the page thumbnails start shown beside the page, as they do by default. Where they would float over the page (a phone), they start put away."
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"name": "storage-key",
|
|
135
|
+
"type": {
|
|
136
|
+
"text": "string"
|
|
137
|
+
},
|
|
138
|
+
"description": "Default and Document: where the width the reader gives a pane is remembered (localStorage); \"false\" forgets it."
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"name": "fill",
|
|
142
|
+
"type": {
|
|
143
|
+
"text": "boolean"
|
|
144
|
+
},
|
|
145
|
+
"description": "Default: as tall as the box it is in, the Body taking what the header and the thumbnails leave.",
|
|
146
|
+
"default": "false"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "size",
|
|
150
|
+
"type": {
|
|
151
|
+
"text": "string"
|
|
152
|
+
},
|
|
153
|
+
"description": "Gallery: the size of a cell in the grid.",
|
|
154
|
+
"default": "10rem"
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
"members": [
|
|
158
|
+
{
|
|
159
|
+
"kind": "field",
|
|
160
|
+
"name": "iiifContent",
|
|
161
|
+
"type": {
|
|
162
|
+
"text": "string | Record<string, unknown> | null"
|
|
163
|
+
},
|
|
164
|
+
"description": "What to show, as the attribute takes it, or a IIIF resource as an object."
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"kind": "field",
|
|
168
|
+
"name": "annotations",
|
|
169
|
+
"type": {
|
|
170
|
+
"text": "string | Record<string, unknown> | Array<string | Record<string, unknown>> | null"
|
|
171
|
+
},
|
|
172
|
+
"description": "Annotations to show beside the Manifest's own, as URLs or objects."
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"kind": "field",
|
|
176
|
+
"name": "request",
|
|
177
|
+
"type": {
|
|
178
|
+
"text": "{ credentials?: RequestCredentials; headers?: Record<string, string>; fetch?: typeof fetch } | null"
|
|
179
|
+
},
|
|
180
|
+
"description": "Credentials, headers and a fetch of your own, for every request."
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"kind": "field",
|
|
184
|
+
"name": "renderers",
|
|
185
|
+
"type": {
|
|
186
|
+
"text": "CloverRenderer[] | null"
|
|
187
|
+
},
|
|
188
|
+
"description": "Renderers of yours, for its Body: each claims views (canvasId, format or match) and draws one into a box of its own (render), returning what undoes it."
|
|
189
|
+
}
|
|
190
|
+
],
|
|
191
|
+
"events": [
|
|
192
|
+
{
|
|
193
|
+
"name": "clover-canvas-change",
|
|
194
|
+
"type": {
|
|
195
|
+
"text": "CustomEvent<{ canvasId: string }>"
|
|
196
|
+
},
|
|
197
|
+
"description": "The reader moved to a Canvas."
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"name": "clover-manifest-change",
|
|
201
|
+
"type": {
|
|
202
|
+
"text": "CustomEvent<{ manifestId: string }>"
|
|
203
|
+
},
|
|
204
|
+
"description": "In a Collection, the reader moved to another Manifest."
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"name": "clover-status-change",
|
|
208
|
+
"type": {
|
|
209
|
+
"text": "CustomEvent<{ status: \"loading\" | \"ready\" | \"error\"; error: Error | null }>"
|
|
210
|
+
},
|
|
211
|
+
"description": "What it was given is loading, has loaded, or failed to."
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "clover-content-state-change",
|
|
215
|
+
"type": {
|
|
216
|
+
"text": "CustomEvent<{ json: Record<string, unknown>; encoded: string }>"
|
|
217
|
+
},
|
|
218
|
+
"description": "Where the reader is, as a IIIF content state, each time it settles."
|
|
219
|
+
}
|
|
220
|
+
],
|
|
221
|
+
"slots": []
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"kind": "class",
|
|
225
|
+
"customElement": true,
|
|
226
|
+
"tagName": "clover-root",
|
|
227
|
+
"name": "CloverRootElement",
|
|
228
|
+
"description": "The root of a layout of your own: it loads what it is given, holds where the reader is, and gives every part inside it the same state. The page's markup inside it stays as written.",
|
|
229
|
+
"superclass": {
|
|
230
|
+
"name": "HTMLElement"
|
|
231
|
+
},
|
|
232
|
+
"attributes": [
|
|
233
|
+
{
|
|
234
|
+
"name": "iiif-content",
|
|
235
|
+
"type": {
|
|
236
|
+
"text": "string"
|
|
237
|
+
},
|
|
238
|
+
"description": "What to show: a URL to a Manifest, Collection or Canvas, or a content state.",
|
|
239
|
+
"fieldName": "iiifContent"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"name": "canvas-id",
|
|
243
|
+
"type": {
|
|
244
|
+
"text": "string"
|
|
245
|
+
},
|
|
246
|
+
"description": "The Canvas to open on. Changed later, it moves the reader there."
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"name": "manifest-id",
|
|
250
|
+
"type": {
|
|
251
|
+
"text": "string"
|
|
252
|
+
},
|
|
253
|
+
"description": "In a Collection, the Manifest to open first. Changed later, it moves the reader there."
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"name": "language",
|
|
257
|
+
"type": {
|
|
258
|
+
"text": "string"
|
|
259
|
+
},
|
|
260
|
+
"description": "The language to read IIIF text in. The page's, then the reader's, by default."
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"name": "search-query",
|
|
264
|
+
"type": {
|
|
265
|
+
"text": "string"
|
|
266
|
+
},
|
|
267
|
+
"description": "A Content Search to run once the Manifest shows, and whenever it changes."
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"name": "annotations",
|
|
271
|
+
"type": {
|
|
272
|
+
"text": "string"
|
|
273
|
+
},
|
|
274
|
+
"description": "Annotations to show beside the Manifest's own: a URL, or JSON (a list of URLs, or an AnnotationPage).",
|
|
275
|
+
"fieldName": "annotations"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"name": "annotation-pages",
|
|
279
|
+
"type": {
|
|
280
|
+
"text": "\"view\" | \"all\""
|
|
281
|
+
},
|
|
282
|
+
"description": "Whose referenced annotation pages to fetch: the view's as the reader moves, or every Canvas's at once.",
|
|
283
|
+
"default": "view"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"name": "lang",
|
|
287
|
+
"type": {
|
|
288
|
+
"text": "string"
|
|
289
|
+
},
|
|
290
|
+
"description": "The language of what is inside, as anywhere in HTML. Clover marks its own words where they differ."
|
|
291
|
+
}
|
|
292
|
+
],
|
|
293
|
+
"members": [
|
|
294
|
+
{
|
|
295
|
+
"kind": "field",
|
|
296
|
+
"name": "clover",
|
|
297
|
+
"type": {
|
|
298
|
+
"text": "CloverRootApi | null"
|
|
299
|
+
},
|
|
300
|
+
"description": "Its Clover, for a part of your own, once it has loaded (clover-ready): what React's hooks read, as methods of the same name (navigation(), visibleCanvases()…), the table of contents (contents()), its state and subscribe, its actions and channels, and its language. Null before.",
|
|
301
|
+
"readonly": true
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"kind": "field",
|
|
305
|
+
"name": "iiifContent",
|
|
306
|
+
"type": {
|
|
307
|
+
"text": "string | Record<string, unknown> | null"
|
|
308
|
+
},
|
|
309
|
+
"description": "What to show, as the attribute takes it, or a IIIF resource as an object."
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"kind": "field",
|
|
313
|
+
"name": "annotations",
|
|
314
|
+
"type": {
|
|
315
|
+
"text": "string | Record<string, unknown> | Array<string | Record<string, unknown>> | null"
|
|
316
|
+
},
|
|
317
|
+
"description": "Annotations to show beside the Manifest's own, as URLs or objects."
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"kind": "field",
|
|
321
|
+
"name": "request",
|
|
322
|
+
"type": {
|
|
323
|
+
"text": "{ credentials?: RequestCredentials; headers?: Record<string, string>; fetch?: typeof fetch } | null"
|
|
324
|
+
},
|
|
325
|
+
"description": "Credentials, headers and a fetch of your own, for every request."
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"kind": "field",
|
|
329
|
+
"name": "renderers",
|
|
330
|
+
"type": {
|
|
331
|
+
"text": "CloverRenderer[] | null"
|
|
332
|
+
},
|
|
333
|
+
"description": "Renderers of yours, for every clover-body in it: each claims views (canvasId, format or match) and draws one into a box of its own (render), returning what undoes it."
|
|
334
|
+
}
|
|
335
|
+
],
|
|
336
|
+
"events": [
|
|
337
|
+
{
|
|
338
|
+
"name": "clover-ready",
|
|
339
|
+
"type": {
|
|
340
|
+
"text": "CustomEvent<{ clover: CloverRootApi }>"
|
|
341
|
+
},
|
|
342
|
+
"description": "It has loaded what it was given: its Clover is there (clover), for a part of your own."
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"name": "clover-canvas-change",
|
|
346
|
+
"type": {
|
|
347
|
+
"text": "CustomEvent<{ canvasId: string }>"
|
|
348
|
+
},
|
|
349
|
+
"description": "The reader moved to a Canvas."
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"name": "clover-manifest-change",
|
|
353
|
+
"type": {
|
|
354
|
+
"text": "CustomEvent<{ manifestId: string }>"
|
|
355
|
+
},
|
|
356
|
+
"description": "In a Collection, the reader moved to another Manifest."
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"name": "clover-status-change",
|
|
360
|
+
"type": {
|
|
361
|
+
"text": "CustomEvent<{ status: \"loading\" | \"ready\" | \"error\"; error: Error | null }>"
|
|
362
|
+
},
|
|
363
|
+
"description": "What it was given is loading, has loaded, or failed to."
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"name": "clover-content-state-change",
|
|
367
|
+
"type": {
|
|
368
|
+
"text": "CustomEvent<{ json: Record<string, unknown>; encoded: string }>"
|
|
369
|
+
},
|
|
370
|
+
"description": "Where the reader is, as a IIIF content state, each time it settles."
|
|
371
|
+
}
|
|
372
|
+
],
|
|
373
|
+
"slots": []
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"kind": "class",
|
|
377
|
+
"customElement": true,
|
|
378
|
+
"tagName": "clover-body",
|
|
379
|
+
"name": "CloverBodyElement",
|
|
380
|
+
"description": "The view of the clover-root it is in, drawn as Body draws it: images, video and sound, or a renderer of yours. It is the Body's box, its height from --clover-body-height (60vh by default) or its own style. A clover-panel-toggle, and a button of yours, in it are among its controls.",
|
|
381
|
+
"superclass": {
|
|
382
|
+
"name": "HTMLElement"
|
|
383
|
+
},
|
|
384
|
+
"attributes": [
|
|
385
|
+
{
|
|
386
|
+
"name": "controls",
|
|
387
|
+
"type": {
|
|
388
|
+
"text": "boolean"
|
|
389
|
+
},
|
|
390
|
+
"description": "\"false\" leaves out the controls over the Body.",
|
|
391
|
+
"default": "true",
|
|
392
|
+
"fieldName": "controls"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"name": "navigator",
|
|
396
|
+
"type": {
|
|
397
|
+
"text": "boolean"
|
|
398
|
+
},
|
|
399
|
+
"description": "A small map of the whole image, while zoomed in.",
|
|
400
|
+
"default": "false"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"name": "placeholder",
|
|
404
|
+
"type": {
|
|
405
|
+
"text": "boolean"
|
|
406
|
+
},
|
|
407
|
+
"description": "\"false\" opens a Canvas straight away, past its placeholderContainer.",
|
|
408
|
+
"default": "true"
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"name": "animate-annotations",
|
|
412
|
+
"type": {
|
|
413
|
+
"text": "boolean"
|
|
414
|
+
},
|
|
415
|
+
"description": "Glide to a picked annotation, rather than frame it in one cut. A reader who asks for reduced motion gets the cut.",
|
|
416
|
+
"default": "false"
|
|
417
|
+
}
|
|
418
|
+
],
|
|
419
|
+
"members": [
|
|
420
|
+
{
|
|
421
|
+
"kind": "field",
|
|
422
|
+
"name": "handle",
|
|
423
|
+
"type": {
|
|
424
|
+
"text": "CloverCanvasHandle | null"
|
|
425
|
+
},
|
|
426
|
+
"description": "The Canvas's handle once its view is laid out (clover-ready), as onReady hands it in React: the camera and its coordinates (handle.zoomBy(2), handle.home()). Null before.",
|
|
427
|
+
"readonly": true
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"kind": "field",
|
|
431
|
+
"name": "controls",
|
|
432
|
+
"type": {
|
|
433
|
+
"text": "boolean | { zoom?: boolean; fullPage?: boolean; rotation?: boolean; reset?: boolean; annotations?: boolean; information?: boolean; [option: string]: unknown } | null"
|
|
434
|
+
},
|
|
435
|
+
"description": "Which of the Body's controls it shows, as Canvas's controls takes it: false for none, or some ({ rotation: false }), in place of the attribute."
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"kind": "field",
|
|
439
|
+
"name": "options",
|
|
440
|
+
"type": {
|
|
441
|
+
"text": "{ request?: { credentials?: RequestCredentials; headers?: Record<string, string>; fetch?: typeof fetch }; [key: string]: unknown } | null"
|
|
442
|
+
},
|
|
443
|
+
"description": "The Canvas's options: the request it loads with (credentials, headers, a fetch of your own), its gestures and more."
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"kind": "field",
|
|
447
|
+
"name": "controlButtons",
|
|
448
|
+
"type": {
|
|
449
|
+
"text": "CloverControlButtons | null"
|
|
450
|
+
},
|
|
451
|
+
"description": "The Body's controls, each replaced by a button you make: a function given the control's name, label and Clover's icon, returning the button. Clover keeps it named, keyed and in its state, presses the control with it, and adds its popover."
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"kind": "field",
|
|
455
|
+
"name": "renderers",
|
|
456
|
+
"type": {
|
|
457
|
+
"text": "CloverRenderer[] | null"
|
|
458
|
+
},
|
|
459
|
+
"description": "Renderers of yours for this Body only, in place of the root's: each claims views (canvasId, format or match) and draws one into a box of its own (render)."
|
|
460
|
+
}
|
|
461
|
+
],
|
|
462
|
+
"events": [
|
|
463
|
+
{
|
|
464
|
+
"name": "clover-ready",
|
|
465
|
+
"type": {
|
|
466
|
+
"text": "CustomEvent<{ handle: CloverCanvasHandle }>"
|
|
467
|
+
},
|
|
468
|
+
"description": "The view is laid out and fitted: its handle is here, and works from now on."
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"name": "clover-annotation-active",
|
|
472
|
+
"type": {
|
|
473
|
+
"text": "CustomEvent<{ id: string | null }>"
|
|
474
|
+
},
|
|
475
|
+
"description": "An annotation is hovered or focused; null when none is."
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"name": "clover-caption-change",
|
|
479
|
+
"type": {
|
|
480
|
+
"text": "CustomEvent<{ caption: { id: string; language?: string } | null }>"
|
|
481
|
+
},
|
|
482
|
+
"description": "The reader chose a caption file in the Captions menu, or Off (null)."
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"name": "clover-ended",
|
|
486
|
+
"type": {
|
|
487
|
+
"text": "CustomEvent<Record<string, never>>"
|
|
488
|
+
},
|
|
489
|
+
"description": "A recording played to its end."
|
|
490
|
+
}
|
|
491
|
+
],
|
|
492
|
+
"slots": []
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"kind": "class",
|
|
496
|
+
"customElement": true,
|
|
497
|
+
"tagName": "clover-label",
|
|
498
|
+
"name": "CloverLabelElement",
|
|
499
|
+
"description": "A label, as Label draws it, marked with the language it is in. Inside a clover-root, the Manifest's or the Canvas's; alone, the one it is given. Nothing is drawn while there is none, so a heading is never left empty.",
|
|
500
|
+
"superclass": {
|
|
501
|
+
"name": "HTMLElement"
|
|
502
|
+
},
|
|
503
|
+
"attributes": [
|
|
504
|
+
{
|
|
505
|
+
"name": "of",
|
|
506
|
+
"type": {
|
|
507
|
+
"text": "\"manifest\" | \"canvas\""
|
|
508
|
+
},
|
|
509
|
+
"description": "Whose label: the Manifest's, or the Canvas in view's.",
|
|
510
|
+
"default": "manifest"
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"name": "as",
|
|
514
|
+
"type": {
|
|
515
|
+
"text": "\"span\" | \"p\" | \"div\" | \"strong\" | \"em\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\""
|
|
516
|
+
},
|
|
517
|
+
"description": "The element to draw: span, p, div, strong, em, or a heading, h1 to h6, to fit the page's outline.",
|
|
518
|
+
"default": "span"
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"name": "label",
|
|
522
|
+
"type": {
|
|
523
|
+
"text": "string"
|
|
524
|
+
},
|
|
525
|
+
"description": "A label to show instead: text, or a IIIF language map as JSON. Outside a root, the label to show.",
|
|
526
|
+
"fieldName": "label"
|
|
527
|
+
}
|
|
528
|
+
],
|
|
529
|
+
"members": [
|
|
530
|
+
{
|
|
531
|
+
"kind": "field",
|
|
532
|
+
"name": "label",
|
|
533
|
+
"type": {
|
|
534
|
+
"text": "string | Record<string, string[]> | null"
|
|
535
|
+
},
|
|
536
|
+
"description": "A label to show instead, as text or a IIIF language map."
|
|
537
|
+
}
|
|
538
|
+
],
|
|
539
|
+
"events": [],
|
|
540
|
+
"slots": []
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"kind": "class",
|
|
544
|
+
"customElement": true,
|
|
545
|
+
"tagName": "clover-items",
|
|
546
|
+
"name": "CloverItemsElement",
|
|
547
|
+
"description": "Thumbnails, as Items draws them. Inside a clover-root, its views (or its Collection's members), choosing what it shows; alone, the members or views of what it is given, as links.",
|
|
548
|
+
"superclass": {
|
|
549
|
+
"name": "HTMLElement"
|
|
550
|
+
},
|
|
551
|
+
"attributes": [
|
|
552
|
+
{
|
|
553
|
+
"name": "layout",
|
|
554
|
+
"type": {
|
|
555
|
+
"text": "\"slider\" | \"list\" | \"grid\" | \"pager\""
|
|
556
|
+
},
|
|
557
|
+
"description": "A scrolling row, a column, a wrapping grid, or a pager: Previous, the position and Next, with no thumbnails.",
|
|
558
|
+
"default": "slider"
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"name": "of",
|
|
562
|
+
"type": {
|
|
563
|
+
"text": "\"views\" | \"members\""
|
|
564
|
+
},
|
|
565
|
+
"description": "Inside a root: its views, or the members of the Collection it belongs to.",
|
|
566
|
+
"default": "views"
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"name": "navigation",
|
|
570
|
+
"type": {
|
|
571
|
+
"text": "\"id\" | \"homepage\""
|
|
572
|
+
},
|
|
573
|
+
"description": "id chooses what the root shows; homepage links to each item's homepage. By default, id for views and homepage for members or a list."
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"name": "iiif-content",
|
|
577
|
+
"type": {
|
|
578
|
+
"text": "string"
|
|
579
|
+
},
|
|
580
|
+
"description": "Alone: a Collection (its members) or a Manifest (its views), by URL.",
|
|
581
|
+
"fieldName": "iiifContent"
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"name": "header",
|
|
585
|
+
"type": {
|
|
586
|
+
"text": "boolean"
|
|
587
|
+
},
|
|
588
|
+
"description": "Alone: the resource's label, summary and homepage over the items. \"false\" leaves them out.",
|
|
589
|
+
"default": "true"
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"name": "heading-level",
|
|
593
|
+
"type": {
|
|
594
|
+
"text": "number"
|
|
595
|
+
},
|
|
596
|
+
"description": "Alone: the header's title's level, 2 or more, to fit the page's outline.",
|
|
597
|
+
"default": "2"
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"name": "thumbnail-size",
|
|
601
|
+
"type": {
|
|
602
|
+
"text": "number"
|
|
603
|
+
},
|
|
604
|
+
"description": "Pixels to ask for each thumbnail's longer side.",
|
|
605
|
+
"default": "200"
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"name": "language",
|
|
609
|
+
"type": {
|
|
610
|
+
"text": "string"
|
|
611
|
+
},
|
|
612
|
+
"description": "Alone: the language to read IIIF text in."
|
|
613
|
+
}
|
|
614
|
+
],
|
|
615
|
+
"members": [
|
|
616
|
+
{
|
|
617
|
+
"kind": "field",
|
|
618
|
+
"name": "iiifContent",
|
|
619
|
+
"type": {
|
|
620
|
+
"text": "string | Record<string, unknown> | null"
|
|
621
|
+
},
|
|
622
|
+
"description": "Alone: what to list, as a URL or a IIIF resource."
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"kind": "field",
|
|
626
|
+
"name": "items",
|
|
627
|
+
"type": {
|
|
628
|
+
"text": "unknown[] | null"
|
|
629
|
+
},
|
|
630
|
+
"description": "Alone: a list of IIIF resources to show, as they are."
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"kind": "field",
|
|
634
|
+
"name": "request",
|
|
635
|
+
"type": {
|
|
636
|
+
"text": "{ credentials?: RequestCredentials; headers?: Record<string, string>; fetch?: typeof fetch } | null"
|
|
637
|
+
},
|
|
638
|
+
"description": "Alone: credentials, headers and a fetch of your own. In a root, the root's are used."
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
"kind": "field",
|
|
642
|
+
"name": "renderItem",
|
|
643
|
+
"type": {
|
|
644
|
+
"text": "((item: { id: string; label?: string | Record<string, string[]>; summary?: string | Record<string, string[]>; href?: string }, state: { selected: boolean }) => Node | string | null | undefined) | null"
|
|
645
|
+
},
|
|
646
|
+
"description": "Your own figure for an item, in place of its thumbnail and label: a node or text, which names the item. A new node each time."
|
|
647
|
+
}
|
|
648
|
+
],
|
|
649
|
+
"events": [
|
|
650
|
+
{
|
|
651
|
+
"name": "clover-select",
|
|
652
|
+
"type": {
|
|
653
|
+
"text": "CustomEvent<{ item: { id: string; label?: string | Record<string, string[]>; summary?: string | Record<string, string[]>; href?: string } }>"
|
|
654
|
+
},
|
|
655
|
+
"description": "An item was chosen. Cancel it (preventDefault) to keep a link from being followed."
|
|
656
|
+
}
|
|
657
|
+
],
|
|
658
|
+
"slots": []
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"kind": "class",
|
|
662
|
+
"customElement": true,
|
|
663
|
+
"tagName": "clover-position",
|
|
664
|
+
"name": "CloverPositionElement",
|
|
665
|
+
"description": "Where the reader is, as a count: Item 3 of 12. It keeps the room of its widest count, so nothing beside it moves.",
|
|
666
|
+
"superclass": {
|
|
667
|
+
"name": "HTMLElement"
|
|
668
|
+
},
|
|
669
|
+
"attributes": [
|
|
670
|
+
{
|
|
671
|
+
"name": "of",
|
|
672
|
+
"type": {
|
|
673
|
+
"text": "\"views\" | \"members\""
|
|
674
|
+
},
|
|
675
|
+
"description": "What it steps through: the root's views, or its Collection's members.",
|
|
676
|
+
"default": "views"
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
"name": "as",
|
|
680
|
+
"type": {
|
|
681
|
+
"text": "\"span\" | \"p\" | \"div\""
|
|
682
|
+
},
|
|
683
|
+
"description": "The element to draw.",
|
|
684
|
+
"default": "span"
|
|
685
|
+
}
|
|
686
|
+
],
|
|
687
|
+
"members": [],
|
|
688
|
+
"events": [],
|
|
689
|
+
"slots": []
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"kind": "class",
|
|
693
|
+
"customElement": true,
|
|
694
|
+
"tagName": "clover-previous",
|
|
695
|
+
"name": "CloverPreviousElement",
|
|
696
|
+
"description": "A button to the previous view (or member), shown disabled where there is none.",
|
|
697
|
+
"superclass": {
|
|
698
|
+
"name": "HTMLElement"
|
|
699
|
+
},
|
|
700
|
+
"attributes": [
|
|
701
|
+
{
|
|
702
|
+
"name": "of",
|
|
703
|
+
"type": {
|
|
704
|
+
"text": "\"views\" | \"members\""
|
|
705
|
+
},
|
|
706
|
+
"description": "What it steps through: the root's views, or its Collection's members.",
|
|
707
|
+
"default": "views"
|
|
708
|
+
}
|
|
709
|
+
],
|
|
710
|
+
"members": [],
|
|
711
|
+
"events": [],
|
|
712
|
+
"slots": []
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
"kind": "class",
|
|
716
|
+
"customElement": true,
|
|
717
|
+
"tagName": "clover-next",
|
|
718
|
+
"name": "CloverNextElement",
|
|
719
|
+
"description": "A button to the next view (or member), shown disabled where there is none.",
|
|
720
|
+
"superclass": {
|
|
721
|
+
"name": "HTMLElement"
|
|
722
|
+
},
|
|
723
|
+
"attributes": [
|
|
724
|
+
{
|
|
725
|
+
"name": "of",
|
|
726
|
+
"type": {
|
|
727
|
+
"text": "\"views\" | \"members\""
|
|
728
|
+
},
|
|
729
|
+
"description": "What it steps through: the root's views, or its Collection's members.",
|
|
730
|
+
"default": "views"
|
|
731
|
+
}
|
|
732
|
+
],
|
|
733
|
+
"members": [],
|
|
734
|
+
"events": [],
|
|
735
|
+
"slots": []
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
"kind": "class",
|
|
739
|
+
"customElement": true,
|
|
740
|
+
"tagName": "clover-status",
|
|
741
|
+
"name": "CloverStatusElement",
|
|
742
|
+
"description": "What the root is doing: its loading mark while it loads, announced as Loading…, and why it failed if it did, as an alert. Empty and out of sight once it is ready.",
|
|
743
|
+
"superclass": {
|
|
744
|
+
"name": "HTMLElement"
|
|
745
|
+
},
|
|
746
|
+
"attributes": [
|
|
747
|
+
{
|
|
748
|
+
"name": "loading",
|
|
749
|
+
"type": {
|
|
750
|
+
"text": "\"false\""
|
|
751
|
+
},
|
|
752
|
+
"description": "\"false\" shows no loading mark and only announces it, for a layout whose Body shows its own."
|
|
753
|
+
}
|
|
754
|
+
],
|
|
755
|
+
"members": [],
|
|
756
|
+
"events": [],
|
|
757
|
+
"slots": [
|
|
758
|
+
{
|
|
759
|
+
"name": "loading",
|
|
760
|
+
"description": "What it shows and announces while loading, in place of the mark: words, as a copy (a span; give it no ids)."
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
"name": "error",
|
|
764
|
+
"description": "What it shows, as an alert, if loading failed, in place of Clover's words: as a copy (give it no ids)."
|
|
765
|
+
}
|
|
766
|
+
]
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
"kind": "class",
|
|
770
|
+
"customElement": true,
|
|
771
|
+
"tagName": "clover-thumbnail",
|
|
772
|
+
"name": "CloverThumbnailElement",
|
|
773
|
+
"description": "The thumbnail (for a Canvas, its first image), its alt text the resource's label.",
|
|
774
|
+
"superclass": {
|
|
775
|
+
"name": "HTMLElement"
|
|
776
|
+
},
|
|
777
|
+
"attributes": [
|
|
778
|
+
{
|
|
779
|
+
"name": "of",
|
|
780
|
+
"type": {
|
|
781
|
+
"text": "\"manifest\" | \"canvas\""
|
|
782
|
+
},
|
|
783
|
+
"description": "Whose property: the Manifest's, or the Canvas in view's.",
|
|
784
|
+
"default": "manifest"
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
"name": "value",
|
|
788
|
+
"type": {
|
|
789
|
+
"text": "string"
|
|
790
|
+
},
|
|
791
|
+
"description": "A resource to picture (a Manifest, Canvas or Collection), instead of the root's: as text, a URL or JSON. Outside a root, the one to show.",
|
|
792
|
+
"fieldName": "value"
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
"name": "size",
|
|
796
|
+
"type": {
|
|
797
|
+
"text": "number"
|
|
798
|
+
},
|
|
799
|
+
"description": "Pixels to ask for on its longer side.",
|
|
800
|
+
"default": "400"
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
"name": "alt",
|
|
804
|
+
"type": {
|
|
805
|
+
"text": "string"
|
|
806
|
+
},
|
|
807
|
+
"description": "Its alt text instead of the label: \"\" for a picture beside its label, which says it already."
|
|
808
|
+
}
|
|
809
|
+
],
|
|
810
|
+
"members": [
|
|
811
|
+
{
|
|
812
|
+
"kind": "field",
|
|
813
|
+
"name": "value",
|
|
814
|
+
"type": {
|
|
815
|
+
"text": "Record<string, unknown> | null"
|
|
816
|
+
},
|
|
817
|
+
"description": "A resource to picture (a Manifest, Canvas or Collection), instead of the root's."
|
|
818
|
+
}
|
|
819
|
+
],
|
|
820
|
+
"events": [],
|
|
821
|
+
"slots": []
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
"kind": "class",
|
|
825
|
+
"customElement": true,
|
|
826
|
+
"tagName": "clover-summary",
|
|
827
|
+
"name": "CloverSummaryElement",
|
|
828
|
+
"description": "The summary, as sanitized HTML, cut to five lines with Read more under it when it runs longer (--clover-summary-lines).",
|
|
829
|
+
"superclass": {
|
|
830
|
+
"name": "HTMLElement"
|
|
831
|
+
},
|
|
832
|
+
"attributes": [
|
|
833
|
+
{
|
|
834
|
+
"name": "of",
|
|
835
|
+
"type": {
|
|
836
|
+
"text": "\"manifest\" | \"canvas\""
|
|
837
|
+
},
|
|
838
|
+
"description": "Whose property: the Manifest's, or the Canvas in view's.",
|
|
839
|
+
"default": "manifest"
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
"name": "value",
|
|
843
|
+
"type": {
|
|
844
|
+
"text": "string"
|
|
845
|
+
},
|
|
846
|
+
"description": "A summary, instead of the root's: as text, a URL or JSON. Outside a root, the one to show.",
|
|
847
|
+
"fieldName": "value"
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
"name": "as",
|
|
851
|
+
"type": {
|
|
852
|
+
"text": "\"p\" | \"div\" | \"span\""
|
|
853
|
+
},
|
|
854
|
+
"description": "The element to draw.",
|
|
855
|
+
"default": "p"
|
|
856
|
+
}
|
|
857
|
+
],
|
|
858
|
+
"members": [
|
|
859
|
+
{
|
|
860
|
+
"kind": "field",
|
|
861
|
+
"name": "value",
|
|
862
|
+
"type": {
|
|
863
|
+
"text": "string | Record<string, string[]> | null"
|
|
864
|
+
},
|
|
865
|
+
"description": "A summary, instead of the root's."
|
|
866
|
+
}
|
|
867
|
+
],
|
|
868
|
+
"events": [],
|
|
869
|
+
"slots": []
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
"kind": "class",
|
|
873
|
+
"customElement": true,
|
|
874
|
+
"tagName": "clover-metadata",
|
|
875
|
+
"name": "CloverMetadataElement",
|
|
876
|
+
"description": "The metadata, as a description list of labels and their values.",
|
|
877
|
+
"superclass": {
|
|
878
|
+
"name": "HTMLElement"
|
|
879
|
+
},
|
|
880
|
+
"attributes": [
|
|
881
|
+
{
|
|
882
|
+
"name": "of",
|
|
883
|
+
"type": {
|
|
884
|
+
"text": "\"manifest\" | \"canvas\""
|
|
885
|
+
},
|
|
886
|
+
"description": "Whose property: the Manifest's, or the Canvas in view's.",
|
|
887
|
+
"default": "manifest"
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
"name": "value",
|
|
891
|
+
"type": {
|
|
892
|
+
"text": "string"
|
|
893
|
+
},
|
|
894
|
+
"description": "Metadata, instead of the root's: as text, a URL or JSON. Outside a root, the one to show.",
|
|
895
|
+
"fieldName": "value"
|
|
896
|
+
}
|
|
897
|
+
],
|
|
898
|
+
"members": [
|
|
899
|
+
{
|
|
900
|
+
"kind": "field",
|
|
901
|
+
"name": "value",
|
|
902
|
+
"type": {
|
|
903
|
+
"text": "Array<{ label: Record<string, string[]>; value: Record<string, string[]> }> | null"
|
|
904
|
+
},
|
|
905
|
+
"description": "Metadata, instead of the root's."
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
"kind": "field",
|
|
909
|
+
"name": "renderValue",
|
|
910
|
+
"type": {
|
|
911
|
+
"text": "((item: { label: Record<string, string[]>; value: Record<string, string[]> }) => Node | string | null | undefined) | null"
|
|
912
|
+
},
|
|
913
|
+
"description": "Your own drawing of a value: a node or text to show in its place, or undefined for Clover's. A new node each time."
|
|
914
|
+
}
|
|
915
|
+
],
|
|
916
|
+
"events": [],
|
|
917
|
+
"slots": []
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
"kind": "class",
|
|
921
|
+
"customElement": true,
|
|
922
|
+
"tagName": "clover-required-statement",
|
|
923
|
+
"name": "CloverRequiredStatementElement",
|
|
924
|
+
"description": "The required statement: the attribution that must be shown, as a label and its value.",
|
|
925
|
+
"superclass": {
|
|
926
|
+
"name": "HTMLElement"
|
|
927
|
+
},
|
|
928
|
+
"attributes": [
|
|
929
|
+
{
|
|
930
|
+
"name": "of",
|
|
931
|
+
"type": {
|
|
932
|
+
"text": "\"manifest\" | \"canvas\""
|
|
933
|
+
},
|
|
934
|
+
"description": "Whose property: the Manifest's, or the Canvas in view's.",
|
|
935
|
+
"default": "manifest"
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
"name": "value",
|
|
939
|
+
"type": {
|
|
940
|
+
"text": "string"
|
|
941
|
+
},
|
|
942
|
+
"description": "A required statement, instead of the root's: as text, a URL or JSON. Outside a root, the one to show.",
|
|
943
|
+
"fieldName": "value"
|
|
944
|
+
}
|
|
945
|
+
],
|
|
946
|
+
"members": [
|
|
947
|
+
{
|
|
948
|
+
"kind": "field",
|
|
949
|
+
"name": "value",
|
|
950
|
+
"type": {
|
|
951
|
+
"text": "{ label: Record<string, string[]>; value: Record<string, string[]> } | null"
|
|
952
|
+
},
|
|
953
|
+
"description": "A required statement, instead of the root's."
|
|
954
|
+
}
|
|
955
|
+
],
|
|
956
|
+
"events": [],
|
|
957
|
+
"slots": []
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
"kind": "class",
|
|
961
|
+
"customElement": true,
|
|
962
|
+
"tagName": "clover-rights",
|
|
963
|
+
"name": "CloverRightsElement",
|
|
964
|
+
"description": "The rights: a link to the license or rights statement.",
|
|
965
|
+
"superclass": {
|
|
966
|
+
"name": "HTMLElement"
|
|
967
|
+
},
|
|
968
|
+
"attributes": [
|
|
969
|
+
{
|
|
970
|
+
"name": "of",
|
|
971
|
+
"type": {
|
|
972
|
+
"text": "\"manifest\" | \"canvas\""
|
|
973
|
+
},
|
|
974
|
+
"description": "Whose property: the Manifest's, or the Canvas in view's.",
|
|
975
|
+
"default": "manifest"
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
"name": "value",
|
|
979
|
+
"type": {
|
|
980
|
+
"text": "string"
|
|
981
|
+
},
|
|
982
|
+
"description": "A rights URL, instead of the root's: as text, a URL or JSON. Outside a root, the one to show.",
|
|
983
|
+
"fieldName": "value"
|
|
984
|
+
}
|
|
985
|
+
],
|
|
986
|
+
"members": [
|
|
987
|
+
{
|
|
988
|
+
"kind": "field",
|
|
989
|
+
"name": "value",
|
|
990
|
+
"type": {
|
|
991
|
+
"text": "string | null"
|
|
992
|
+
},
|
|
993
|
+
"description": "A rights URL, instead of the root's."
|
|
994
|
+
}
|
|
995
|
+
],
|
|
996
|
+
"events": [],
|
|
997
|
+
"slots": []
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
"kind": "class",
|
|
1001
|
+
"customElement": true,
|
|
1002
|
+
"tagName": "clover-homepage",
|
|
1003
|
+
"name": "CloverHomepageElement",
|
|
1004
|
+
"description": "The homepage: the resource's own web page, as a list of links.",
|
|
1005
|
+
"superclass": {
|
|
1006
|
+
"name": "HTMLElement"
|
|
1007
|
+
},
|
|
1008
|
+
"attributes": [
|
|
1009
|
+
{
|
|
1010
|
+
"name": "of",
|
|
1011
|
+
"type": {
|
|
1012
|
+
"text": "\"manifest\" | \"canvas\""
|
|
1013
|
+
},
|
|
1014
|
+
"description": "Whose property: the Manifest's, or the Canvas in view's.",
|
|
1015
|
+
"default": "manifest"
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"name": "value",
|
|
1019
|
+
"type": {
|
|
1020
|
+
"text": "string"
|
|
1021
|
+
},
|
|
1022
|
+
"description": "Homepages, instead of the root's: as text, a URL or JSON. Outside a root, the one to show.",
|
|
1023
|
+
"fieldName": "value"
|
|
1024
|
+
}
|
|
1025
|
+
],
|
|
1026
|
+
"members": [
|
|
1027
|
+
{
|
|
1028
|
+
"kind": "field",
|
|
1029
|
+
"name": "value",
|
|
1030
|
+
"type": {
|
|
1031
|
+
"text": "string | Array<{ id: string; label?: Record<string, string[]>; format?: string }> | null"
|
|
1032
|
+
},
|
|
1033
|
+
"description": "Homepages, instead of the root's."
|
|
1034
|
+
}
|
|
1035
|
+
],
|
|
1036
|
+
"events": [],
|
|
1037
|
+
"slots": []
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
"kind": "class",
|
|
1041
|
+
"customElement": true,
|
|
1042
|
+
"tagName": "clover-see-also",
|
|
1043
|
+
"name": "CloverSeeAlsoElement",
|
|
1044
|
+
"description": "See also: machine-readable descriptions elsewhere, as a list of links.",
|
|
1045
|
+
"superclass": {
|
|
1046
|
+
"name": "HTMLElement"
|
|
1047
|
+
},
|
|
1048
|
+
"attributes": [
|
|
1049
|
+
{
|
|
1050
|
+
"name": "of",
|
|
1051
|
+
"type": {
|
|
1052
|
+
"text": "\"manifest\" | \"canvas\""
|
|
1053
|
+
},
|
|
1054
|
+
"description": "Whose property: the Manifest's, or the Canvas in view's.",
|
|
1055
|
+
"default": "manifest"
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
"name": "value",
|
|
1059
|
+
"type": {
|
|
1060
|
+
"text": "string"
|
|
1061
|
+
},
|
|
1062
|
+
"description": "Descriptions, instead of the root's: as text, a URL or JSON. Outside a root, the one to show.",
|
|
1063
|
+
"fieldName": "value"
|
|
1064
|
+
}
|
|
1065
|
+
],
|
|
1066
|
+
"members": [
|
|
1067
|
+
{
|
|
1068
|
+
"kind": "field",
|
|
1069
|
+
"name": "value",
|
|
1070
|
+
"type": {
|
|
1071
|
+
"text": "string | Array<{ id: string; label?: Record<string, string[]>; format?: string }> | null"
|
|
1072
|
+
},
|
|
1073
|
+
"description": "Descriptions, instead of the root's."
|
|
1074
|
+
}
|
|
1075
|
+
],
|
|
1076
|
+
"events": [],
|
|
1077
|
+
"slots": []
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
"kind": "class",
|
|
1081
|
+
"customElement": true,
|
|
1082
|
+
"tagName": "clover-rendering",
|
|
1083
|
+
"name": "CloverRenderingElement",
|
|
1084
|
+
"description": "The rendering: alternate formats, such as a PDF of the whole object, as a list of links, each with its format.",
|
|
1085
|
+
"superclass": {
|
|
1086
|
+
"name": "HTMLElement"
|
|
1087
|
+
},
|
|
1088
|
+
"attributes": [
|
|
1089
|
+
{
|
|
1090
|
+
"name": "of",
|
|
1091
|
+
"type": {
|
|
1092
|
+
"text": "\"manifest\" | \"canvas\""
|
|
1093
|
+
},
|
|
1094
|
+
"description": "Whose property: the Manifest's, or the Canvas in view's.",
|
|
1095
|
+
"default": "manifest"
|
|
1096
|
+
},
|
|
1097
|
+
{
|
|
1098
|
+
"name": "value",
|
|
1099
|
+
"type": {
|
|
1100
|
+
"text": "string"
|
|
1101
|
+
},
|
|
1102
|
+
"description": "Renderings, instead of the root's: as text, a URL or JSON. Outside a root, the one to show.",
|
|
1103
|
+
"fieldName": "value"
|
|
1104
|
+
}
|
|
1105
|
+
],
|
|
1106
|
+
"members": [
|
|
1107
|
+
{
|
|
1108
|
+
"kind": "field",
|
|
1109
|
+
"name": "value",
|
|
1110
|
+
"type": {
|
|
1111
|
+
"text": "string | Array<{ id: string; label?: Record<string, string[]>; format?: string }> | null"
|
|
1112
|
+
},
|
|
1113
|
+
"description": "Renderings, instead of the root's."
|
|
1114
|
+
}
|
|
1115
|
+
],
|
|
1116
|
+
"events": [],
|
|
1117
|
+
"slots": []
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
"kind": "class",
|
|
1121
|
+
"customElement": true,
|
|
1122
|
+
"tagName": "clover-part-of",
|
|
1123
|
+
"name": "CloverPartOfElement",
|
|
1124
|
+
"description": "Part of: the Collections the resource belongs to, as a list of links.",
|
|
1125
|
+
"superclass": {
|
|
1126
|
+
"name": "HTMLElement"
|
|
1127
|
+
},
|
|
1128
|
+
"attributes": [
|
|
1129
|
+
{
|
|
1130
|
+
"name": "of",
|
|
1131
|
+
"type": {
|
|
1132
|
+
"text": "\"manifest\" | \"canvas\""
|
|
1133
|
+
},
|
|
1134
|
+
"description": "Whose property: the Manifest's, or the Canvas in view's.",
|
|
1135
|
+
"default": "manifest"
|
|
1136
|
+
},
|
|
1137
|
+
{
|
|
1138
|
+
"name": "value",
|
|
1139
|
+
"type": {
|
|
1140
|
+
"text": "string"
|
|
1141
|
+
},
|
|
1142
|
+
"description": "Collections, instead of the root's: as text, a URL or JSON. Outside a root, the one to show.",
|
|
1143
|
+
"fieldName": "value"
|
|
1144
|
+
}
|
|
1145
|
+
],
|
|
1146
|
+
"members": [
|
|
1147
|
+
{
|
|
1148
|
+
"kind": "field",
|
|
1149
|
+
"name": "value",
|
|
1150
|
+
"type": {
|
|
1151
|
+
"text": "string | Array<{ id: string; label?: Record<string, string[]>; format?: string }> | null"
|
|
1152
|
+
},
|
|
1153
|
+
"description": "Collections, instead of the root's."
|
|
1154
|
+
}
|
|
1155
|
+
],
|
|
1156
|
+
"events": [],
|
|
1157
|
+
"slots": []
|
|
1158
|
+
},
|
|
1159
|
+
{
|
|
1160
|
+
"kind": "class",
|
|
1161
|
+
"customElement": true,
|
|
1162
|
+
"tagName": "clover-id",
|
|
1163
|
+
"name": "CloverIdElement",
|
|
1164
|
+
"description": "The resource's id: a link to its IIIF JSON.",
|
|
1165
|
+
"superclass": {
|
|
1166
|
+
"name": "HTMLElement"
|
|
1167
|
+
},
|
|
1168
|
+
"attributes": [
|
|
1169
|
+
{
|
|
1170
|
+
"name": "of",
|
|
1171
|
+
"type": {
|
|
1172
|
+
"text": "\"manifest\" | \"canvas\""
|
|
1173
|
+
},
|
|
1174
|
+
"description": "Whose property: the Manifest's, or the Canvas in view's.",
|
|
1175
|
+
"default": "manifest"
|
|
1176
|
+
},
|
|
1177
|
+
{
|
|
1178
|
+
"name": "value",
|
|
1179
|
+
"type": {
|
|
1180
|
+
"text": "string"
|
|
1181
|
+
},
|
|
1182
|
+
"description": "An id, instead of the root's: as text, a URL or JSON. Outside a root, the one to show.",
|
|
1183
|
+
"fieldName": "value"
|
|
1184
|
+
}
|
|
1185
|
+
],
|
|
1186
|
+
"members": [
|
|
1187
|
+
{
|
|
1188
|
+
"kind": "field",
|
|
1189
|
+
"name": "value",
|
|
1190
|
+
"type": {
|
|
1191
|
+
"text": "string | null"
|
|
1192
|
+
},
|
|
1193
|
+
"description": "An id, instead of the root's."
|
|
1194
|
+
}
|
|
1195
|
+
],
|
|
1196
|
+
"events": [],
|
|
1197
|
+
"slots": []
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
"kind": "class",
|
|
1201
|
+
"customElement": true,
|
|
1202
|
+
"tagName": "clover-provider",
|
|
1203
|
+
"name": "CloverProviderElement",
|
|
1204
|
+
"description": "The providers: who provided the resource, each its logo and its name, linked to its homepage. With a clover-logo in it, each provider's logo alone, linked, its alt text the provider's name.",
|
|
1205
|
+
"superclass": {
|
|
1206
|
+
"name": "HTMLElement"
|
|
1207
|
+
},
|
|
1208
|
+
"attributes": [
|
|
1209
|
+
{
|
|
1210
|
+
"name": "of",
|
|
1211
|
+
"type": {
|
|
1212
|
+
"text": "\"manifest\" | \"canvas\""
|
|
1213
|
+
},
|
|
1214
|
+
"description": "Whose property: the Manifest's, or the Canvas in view's.",
|
|
1215
|
+
"default": "manifest"
|
|
1216
|
+
},
|
|
1217
|
+
{
|
|
1218
|
+
"name": "value",
|
|
1219
|
+
"type": {
|
|
1220
|
+
"text": "string"
|
|
1221
|
+
},
|
|
1222
|
+
"description": "Providers (IIIF Agents), instead of the root's: as text, a URL or JSON. Outside a root, the one to show.",
|
|
1223
|
+
"fieldName": "value"
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
"name": "link",
|
|
1227
|
+
"type": {
|
|
1228
|
+
"text": "\"false\""
|
|
1229
|
+
},
|
|
1230
|
+
"description": "\"false\" draws each provider without a link to its homepage."
|
|
1231
|
+
}
|
|
1232
|
+
],
|
|
1233
|
+
"members": [
|
|
1234
|
+
{
|
|
1235
|
+
"kind": "field",
|
|
1236
|
+
"name": "value",
|
|
1237
|
+
"type": {
|
|
1238
|
+
"text": "Record<string, unknown> | Array<Record<string, unknown>> | null"
|
|
1239
|
+
},
|
|
1240
|
+
"description": "Providers (IIIF Agents), instead of the root's."
|
|
1241
|
+
}
|
|
1242
|
+
],
|
|
1243
|
+
"events": [],
|
|
1244
|
+
"slots": []
|
|
1245
|
+
},
|
|
1246
|
+
{
|
|
1247
|
+
"kind": "class",
|
|
1248
|
+
"customElement": true,
|
|
1249
|
+
"tagName": "clover-logo",
|
|
1250
|
+
"name": "CloverLogoElement",
|
|
1251
|
+
"description": "A provider's logo, its alt text the provider's name: each of the resource's providers' in turn. Inside a clover-provider it draws nothing itself, and the provider draws each provider's logo in its place.",
|
|
1252
|
+
"superclass": {
|
|
1253
|
+
"name": "HTMLElement"
|
|
1254
|
+
},
|
|
1255
|
+
"attributes": [
|
|
1256
|
+
{
|
|
1257
|
+
"name": "of",
|
|
1258
|
+
"type": {
|
|
1259
|
+
"text": "\"manifest\" | \"canvas\""
|
|
1260
|
+
},
|
|
1261
|
+
"description": "Whose property: the Manifest's, or the Canvas in view's.",
|
|
1262
|
+
"default": "manifest"
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
"name": "value",
|
|
1266
|
+
"type": {
|
|
1267
|
+
"text": "string"
|
|
1268
|
+
},
|
|
1269
|
+
"description": "Logos: images, or Agents with theirs, instead of the root's: as text, a URL or JSON. Outside a root, the one to show.",
|
|
1270
|
+
"fieldName": "value"
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
"name": "alt",
|
|
1274
|
+
"type": {
|
|
1275
|
+
"text": "string"
|
|
1276
|
+
},
|
|
1277
|
+
"description": "Its alt text instead of the provider's name: \"\" where the name is written beside it."
|
|
1278
|
+
}
|
|
1279
|
+
],
|
|
1280
|
+
"members": [
|
|
1281
|
+
{
|
|
1282
|
+
"kind": "field",
|
|
1283
|
+
"name": "value",
|
|
1284
|
+
"type": {
|
|
1285
|
+
"text": "Record<string, unknown> | Array<Record<string, unknown>> | null"
|
|
1286
|
+
},
|
|
1287
|
+
"description": "Logos: images, or Agents with theirs, instead of the root's."
|
|
1288
|
+
}
|
|
1289
|
+
],
|
|
1290
|
+
"events": [],
|
|
1291
|
+
"slots": []
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
"kind": "class",
|
|
1295
|
+
"customElement": true,
|
|
1296
|
+
"tagName": "clover-value",
|
|
1297
|
+
"name": "CloverValueElement",
|
|
1298
|
+
"description": "Any IIIF language map in the reader's language, read strictly by its format: text/html as sanitized HTML, text/plain as written, text/markdown as Markdown.",
|
|
1299
|
+
"superclass": {
|
|
1300
|
+
"name": "HTMLElement"
|
|
1301
|
+
},
|
|
1302
|
+
"attributes": [
|
|
1303
|
+
{
|
|
1304
|
+
"name": "value",
|
|
1305
|
+
"type": {
|
|
1306
|
+
"text": "string"
|
|
1307
|
+
},
|
|
1308
|
+
"description": "What to show: text, or a IIIF language map as JSON.",
|
|
1309
|
+
"fieldName": "value"
|
|
1310
|
+
},
|
|
1311
|
+
{
|
|
1312
|
+
"name": "format",
|
|
1313
|
+
"type": {
|
|
1314
|
+
"text": "string"
|
|
1315
|
+
},
|
|
1316
|
+
"description": "Its media type: text/html, text/plain or text/markdown. By IIIF's rule without one."
|
|
1317
|
+
},
|
|
1318
|
+
{
|
|
1319
|
+
"name": "heading-level",
|
|
1320
|
+
"type": {
|
|
1321
|
+
"text": "number"
|
|
1322
|
+
},
|
|
1323
|
+
"description": "With Markdown, the level of its first heading.",
|
|
1324
|
+
"default": "3"
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
"name": "as",
|
|
1328
|
+
"type": {
|
|
1329
|
+
"text": "\"span\" | \"p\" | \"div\""
|
|
1330
|
+
},
|
|
1331
|
+
"description": "The element to draw.",
|
|
1332
|
+
"default": "span"
|
|
1333
|
+
}
|
|
1334
|
+
],
|
|
1335
|
+
"members": [
|
|
1336
|
+
{
|
|
1337
|
+
"kind": "field",
|
|
1338
|
+
"name": "value",
|
|
1339
|
+
"type": {
|
|
1340
|
+
"text": "string | Record<string, string[]> | null"
|
|
1341
|
+
},
|
|
1342
|
+
"description": "What to show."
|
|
1343
|
+
}
|
|
1344
|
+
],
|
|
1345
|
+
"events": [],
|
|
1346
|
+
"slots": []
|
|
1347
|
+
},
|
|
1348
|
+
{
|
|
1349
|
+
"kind": "class",
|
|
1350
|
+
"customElement": true,
|
|
1351
|
+
"tagName": "clover-about",
|
|
1352
|
+
"name": "CloverAboutElement",
|
|
1353
|
+
"description": "The information panel's first section, on its own: the label and thumbnail, summary, metadata, required statement, rights, homepage, see also, downloads and address.",
|
|
1354
|
+
"superclass": {
|
|
1355
|
+
"name": "HTMLElement"
|
|
1356
|
+
},
|
|
1357
|
+
"attributes": [
|
|
1358
|
+
{
|
|
1359
|
+
"name": "canvas-summary",
|
|
1360
|
+
"type": {
|
|
1361
|
+
"text": "boolean"
|
|
1362
|
+
},
|
|
1363
|
+
"description": "Also the Canvas in view's summary, before the resource's.",
|
|
1364
|
+
"default": "false"
|
|
1365
|
+
},
|
|
1366
|
+
{
|
|
1367
|
+
"name": "download",
|
|
1368
|
+
"type": {
|
|
1369
|
+
"text": "boolean"
|
|
1370
|
+
},
|
|
1371
|
+
"description": "\"false\" leaves out the downloads.",
|
|
1372
|
+
"default": "true"
|
|
1373
|
+
},
|
|
1374
|
+
{
|
|
1375
|
+
"name": "thumbnail",
|
|
1376
|
+
"type": {
|
|
1377
|
+
"text": "boolean"
|
|
1378
|
+
},
|
|
1379
|
+
"description": "\"false\" leaves out the resource's thumbnail.",
|
|
1380
|
+
"default": "true"
|
|
1381
|
+
},
|
|
1382
|
+
{
|
|
1383
|
+
"name": "label",
|
|
1384
|
+
"type": {
|
|
1385
|
+
"text": "boolean"
|
|
1386
|
+
},
|
|
1387
|
+
"description": "\"false\" leaves out the resource's label, its heading.",
|
|
1388
|
+
"default": "true"
|
|
1389
|
+
},
|
|
1390
|
+
{
|
|
1391
|
+
"name": "heading-level",
|
|
1392
|
+
"type": {
|
|
1393
|
+
"text": "number"
|
|
1394
|
+
},
|
|
1395
|
+
"description": "The level of each section's title, one under the heading it sits beneath. Past 6, each names what it heads instead.",
|
|
1396
|
+
"default": "3"
|
|
1397
|
+
}
|
|
1398
|
+
],
|
|
1399
|
+
"members": [],
|
|
1400
|
+
"events": [],
|
|
1401
|
+
"slots": []
|
|
1402
|
+
},
|
|
1403
|
+
{
|
|
1404
|
+
"kind": "class",
|
|
1405
|
+
"customElement": true,
|
|
1406
|
+
"tagName": "clover-annotations",
|
|
1407
|
+
"name": "CloverAnnotationsElement",
|
|
1408
|
+
"description": "The annotations, by layer and then by Canvas: each to pick, which frames it on the Body, with its region pictured.",
|
|
1409
|
+
"superclass": {
|
|
1410
|
+
"name": "HTMLElement"
|
|
1411
|
+
},
|
|
1412
|
+
"attributes": [
|
|
1413
|
+
{
|
|
1414
|
+
"name": "scope",
|
|
1415
|
+
"type": {
|
|
1416
|
+
"text": "\"view\" | \"all\""
|
|
1417
|
+
},
|
|
1418
|
+
"description": "Every Canvas's annotations, or only the view's.",
|
|
1419
|
+
"default": "all"
|
|
1420
|
+
},
|
|
1421
|
+
{
|
|
1422
|
+
"name": "heading-level",
|
|
1423
|
+
"type": {
|
|
1424
|
+
"text": "number"
|
|
1425
|
+
},
|
|
1426
|
+
"description": "The level of its layers' titles, one under the heading it sits beneath. Past 6, each names what it heads instead.",
|
|
1427
|
+
"default": "3"
|
|
1428
|
+
}
|
|
1429
|
+
],
|
|
1430
|
+
"members": [
|
|
1431
|
+
{
|
|
1432
|
+
"kind": "field",
|
|
1433
|
+
"name": "renderEntry",
|
|
1434
|
+
"type": {
|
|
1435
|
+
"text": "((entry: { id: string; canvasId: string; annotation: Record<string, unknown> }) => Node | string | null | undefined) | null"
|
|
1436
|
+
},
|
|
1437
|
+
"description": "Your own drawing of an annotation's content: a node or text, in place of its bodies. A new node each time."
|
|
1438
|
+
}
|
|
1439
|
+
],
|
|
1440
|
+
"events": [],
|
|
1441
|
+
"slots": []
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
"kind": "class",
|
|
1445
|
+
"customElement": true,
|
|
1446
|
+
"tagName": "clover-collection",
|
|
1447
|
+
"name": "CloverCollectionElement",
|
|
1448
|
+
"description": "The Collection the Manifest was reached through: its label, summary and members, each to open, its homepage and its address.",
|
|
1449
|
+
"superclass": {
|
|
1450
|
+
"name": "HTMLElement"
|
|
1451
|
+
},
|
|
1452
|
+
"attributes": [
|
|
1453
|
+
{
|
|
1454
|
+
"name": "heading-level",
|
|
1455
|
+
"type": {
|
|
1456
|
+
"text": "number"
|
|
1457
|
+
},
|
|
1458
|
+
"description": "The level of its titles, one under the heading it sits beneath. Past 6, each names what it heads instead.",
|
|
1459
|
+
"default": "3"
|
|
1460
|
+
}
|
|
1461
|
+
],
|
|
1462
|
+
"members": [],
|
|
1463
|
+
"events": [],
|
|
1464
|
+
"slots": []
|
|
1465
|
+
},
|
|
1466
|
+
{
|
|
1467
|
+
"kind": "class",
|
|
1468
|
+
"customElement": true,
|
|
1469
|
+
"tagName": "clover-collection-select",
|
|
1470
|
+
"name": "CloverCollectionSelectElement",
|
|
1471
|
+
"description": "A menu of the Collection's members, choosing the Manifest shown. A key steps through it and Enter opens the one stepped to.",
|
|
1472
|
+
"superclass": {
|
|
1473
|
+
"name": "HTMLElement"
|
|
1474
|
+
},
|
|
1475
|
+
"attributes": [],
|
|
1476
|
+
"members": [],
|
|
1477
|
+
"events": [
|
|
1478
|
+
{
|
|
1479
|
+
"name": "clover-change",
|
|
1480
|
+
"type": {
|
|
1481
|
+
"text": "CustomEvent<{ manifestId: string }>"
|
|
1482
|
+
},
|
|
1483
|
+
"description": "A member was chosen, before Clover opens it."
|
|
1484
|
+
}
|
|
1485
|
+
],
|
|
1486
|
+
"slots": []
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
"kind": "class",
|
|
1490
|
+
"customElement": true,
|
|
1491
|
+
"tagName": "clover-contents",
|
|
1492
|
+
"name": "CloverContentsElement",
|
|
1493
|
+
"description": "The Manifest's table of contents (its Ranges), as a tree of links to each section, the one in view marked.",
|
|
1494
|
+
"superclass": {
|
|
1495
|
+
"name": "HTMLElement"
|
|
1496
|
+
},
|
|
1497
|
+
"attributes": [],
|
|
1498
|
+
"members": [],
|
|
1499
|
+
"events": [],
|
|
1500
|
+
"slots": []
|
|
1501
|
+
},
|
|
1502
|
+
{
|
|
1503
|
+
"kind": "class",
|
|
1504
|
+
"customElement": true,
|
|
1505
|
+
"tagName": "clover-search",
|
|
1506
|
+
"name": "CloverSearchElement",
|
|
1507
|
+
"description": "A Content Search of the Manifest, where it offers one: a field, and its hits by Canvas, each going to its place, with Previous and Next through them.",
|
|
1508
|
+
"superclass": {
|
|
1509
|
+
"name": "HTMLElement"
|
|
1510
|
+
},
|
|
1511
|
+
"attributes": [
|
|
1512
|
+
{
|
|
1513
|
+
"name": "heading-level",
|
|
1514
|
+
"type": {
|
|
1515
|
+
"text": "number"
|
|
1516
|
+
},
|
|
1517
|
+
"description": "The level of each Canvas's group of hits, one under the heading it sits beneath. Past 6, each names what it heads instead.",
|
|
1518
|
+
"default": "3"
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
"name": "sticky",
|
|
1522
|
+
"type": {
|
|
1523
|
+
"text": "boolean"
|
|
1524
|
+
},
|
|
1525
|
+
"description": "The field held in view as the hits scroll under it: at the top of the box that scrolls them, or under a panel accordion's stuck headings."
|
|
1526
|
+
},
|
|
1527
|
+
{
|
|
1528
|
+
"name": "size",
|
|
1529
|
+
"type": {
|
|
1530
|
+
"text": "\"large\" | \"small\""
|
|
1531
|
+
},
|
|
1532
|
+
"description": "The field's size: large, its submit a round control's, or small, a tad smaller, for a narrow column.",
|
|
1533
|
+
"default": "large"
|
|
1534
|
+
}
|
|
1535
|
+
],
|
|
1536
|
+
"members": [],
|
|
1537
|
+
"events": [],
|
|
1538
|
+
"slots": []
|
|
1539
|
+
},
|
|
1540
|
+
{
|
|
1541
|
+
"kind": "class",
|
|
1542
|
+
"customElement": true,
|
|
1543
|
+
"tagName": "clover-transcript",
|
|
1544
|
+
"name": "CloverTranscriptElement",
|
|
1545
|
+
"description": "The recording's captions as a transcript, following where it plays, and any plain-text transcript after them. Each cue goes to its time; a field over the captions finds words in them, with steps through the cues that have them.",
|
|
1546
|
+
"superclass": {
|
|
1547
|
+
"name": "HTMLElement"
|
|
1548
|
+
},
|
|
1549
|
+
"attributes": [
|
|
1550
|
+
{
|
|
1551
|
+
"name": "follow",
|
|
1552
|
+
"type": {
|
|
1553
|
+
"text": "boolean"
|
|
1554
|
+
},
|
|
1555
|
+
"description": "\"false\" stops the current cue being kept in view as it plays.",
|
|
1556
|
+
"default": "true"
|
|
1557
|
+
},
|
|
1558
|
+
{
|
|
1559
|
+
"name": "find",
|
|
1560
|
+
"type": {
|
|
1561
|
+
"text": "boolean"
|
|
1562
|
+
},
|
|
1563
|
+
"description": "\"false\" leaves out the field that finds words in the captions, and its steps.",
|
|
1564
|
+
"default": "true"
|
|
1565
|
+
},
|
|
1566
|
+
{
|
|
1567
|
+
"name": "sticky",
|
|
1568
|
+
"type": {
|
|
1569
|
+
"text": "boolean"
|
|
1570
|
+
},
|
|
1571
|
+
"description": "The find field held in view as the cues scroll under it: at the top of the box that scrolls them, or under a panel accordion's stuck headings."
|
|
1572
|
+
},
|
|
1573
|
+
{
|
|
1574
|
+
"name": "size",
|
|
1575
|
+
"type": {
|
|
1576
|
+
"text": "\"large\" | \"small\""
|
|
1577
|
+
},
|
|
1578
|
+
"description": "The find field's size, as clover-search's: large, or small, a tad smaller, for a narrow column.",
|
|
1579
|
+
"default": "large"
|
|
1580
|
+
}
|
|
1581
|
+
],
|
|
1582
|
+
"members": [],
|
|
1583
|
+
"events": [],
|
|
1584
|
+
"slots": []
|
|
1585
|
+
},
|
|
1586
|
+
{
|
|
1587
|
+
"kind": "class",
|
|
1588
|
+
"customElement": true,
|
|
1589
|
+
"tagName": "clover-download",
|
|
1590
|
+
"name": "CloverDownloadElement",
|
|
1591
|
+
"description": "The renderings of the page in view and of the Manifest (a PDF, a text, a full-size file), as links in two groups, This page and All pages. Nothing while there are none.",
|
|
1592
|
+
"superclass": {
|
|
1593
|
+
"name": "HTMLElement"
|
|
1594
|
+
},
|
|
1595
|
+
"attributes": [
|
|
1596
|
+
{
|
|
1597
|
+
"name": "heading-level",
|
|
1598
|
+
"type": {
|
|
1599
|
+
"text": "number"
|
|
1600
|
+
},
|
|
1601
|
+
"description": "The level of its groups' titles, one under the heading it sits beneath. Past 6, each names what it heads instead.",
|
|
1602
|
+
"default": "3"
|
|
1603
|
+
}
|
|
1604
|
+
],
|
|
1605
|
+
"members": [],
|
|
1606
|
+
"events": [],
|
|
1607
|
+
"slots": []
|
|
1608
|
+
},
|
|
1609
|
+
{
|
|
1610
|
+
"kind": "class",
|
|
1611
|
+
"customElement": true,
|
|
1612
|
+
"tagName": "clover-map",
|
|
1613
|
+
"name": "CloverMapElement",
|
|
1614
|
+
"description": "A map: inside a clover-root, its places (navPlace) and the view's georeferenced images; alone, those of the iiif-content it is given. Its places are listed under it as buttons, for the keyboard.",
|
|
1615
|
+
"superclass": {
|
|
1616
|
+
"name": "HTMLElement"
|
|
1617
|
+
},
|
|
1618
|
+
"attributes": [
|
|
1619
|
+
{
|
|
1620
|
+
"name": "iiif-content",
|
|
1621
|
+
"type": {
|
|
1622
|
+
"text": "string"
|
|
1623
|
+
},
|
|
1624
|
+
"description": "Alone: a IIIF resource, by URL, to map.",
|
|
1625
|
+
"fieldName": "iiifContent"
|
|
1626
|
+
},
|
|
1627
|
+
{
|
|
1628
|
+
"name": "overlay",
|
|
1629
|
+
"type": {
|
|
1630
|
+
"text": "boolean"
|
|
1631
|
+
},
|
|
1632
|
+
"description": "\"false\" leaves out the georeferenced images.",
|
|
1633
|
+
"default": "true"
|
|
1634
|
+
},
|
|
1635
|
+
{
|
|
1636
|
+
"name": "overlay-opacity",
|
|
1637
|
+
"type": {
|
|
1638
|
+
"text": "number"
|
|
1639
|
+
},
|
|
1640
|
+
"description": "The georeferenced images' opacity, 0 to 1.",
|
|
1641
|
+
"default": "0.75"
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
"name": "style-url",
|
|
1645
|
+
"type": {
|
|
1646
|
+
"text": "string"
|
|
1647
|
+
},
|
|
1648
|
+
"description": "A MapLibre style URL. Clover's relief basemap by default."
|
|
1649
|
+
},
|
|
1650
|
+
{
|
|
1651
|
+
"name": "scroll-zoom",
|
|
1652
|
+
"type": {
|
|
1653
|
+
"text": "boolean"
|
|
1654
|
+
},
|
|
1655
|
+
"description": "Zoom with the wheel or a trackpad, which can trap the page's scroll.",
|
|
1656
|
+
"default": "false"
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
"name": "language",
|
|
1660
|
+
"type": {
|
|
1661
|
+
"text": "string"
|
|
1662
|
+
},
|
|
1663
|
+
"description": "Alone: the language to read IIIF text in."
|
|
1664
|
+
}
|
|
1665
|
+
],
|
|
1666
|
+
"members": [
|
|
1667
|
+
{
|
|
1668
|
+
"kind": "field",
|
|
1669
|
+
"name": "iiifContent",
|
|
1670
|
+
"type": {
|
|
1671
|
+
"text": "string | Record<string, unknown> | null"
|
|
1672
|
+
},
|
|
1673
|
+
"description": "Alone: what to map, by URL or as a IIIF resource."
|
|
1674
|
+
},
|
|
1675
|
+
{
|
|
1676
|
+
"kind": "field",
|
|
1677
|
+
"name": "navPlace",
|
|
1678
|
+
"type": {
|
|
1679
|
+
"text": "Record<string, unknown> | null"
|
|
1680
|
+
},
|
|
1681
|
+
"description": "Alone: GeoJSON to draw, as navPlace is."
|
|
1682
|
+
},
|
|
1683
|
+
{
|
|
1684
|
+
"kind": "field",
|
|
1685
|
+
"name": "georeferences",
|
|
1686
|
+
"type": {
|
|
1687
|
+
"text": "unknown[] | null"
|
|
1688
|
+
},
|
|
1689
|
+
"description": "Alone: Georeference Extension annotations to overlay."
|
|
1690
|
+
},
|
|
1691
|
+
{
|
|
1692
|
+
"kind": "field",
|
|
1693
|
+
"name": "request",
|
|
1694
|
+
"type": {
|
|
1695
|
+
"text": "{ credentials?: RequestCredentials; headers?: Record<string, string>; fetch?: typeof fetch } | null"
|
|
1696
|
+
},
|
|
1697
|
+
"description": "Alone: credentials, headers and a fetch of your own."
|
|
1698
|
+
}
|
|
1699
|
+
],
|
|
1700
|
+
"events": [
|
|
1701
|
+
{
|
|
1702
|
+
"name": "clover-select",
|
|
1703
|
+
"type": {
|
|
1704
|
+
"text": "CustomEvent<{ feature: { title?: string; canvasId?: string; [key: string]: unknown } }>"
|
|
1705
|
+
},
|
|
1706
|
+
"description": "A place was chosen, on the map or in its list."
|
|
1707
|
+
}
|
|
1708
|
+
],
|
|
1709
|
+
"slots": []
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
"kind": "class",
|
|
1713
|
+
"customElement": true,
|
|
1714
|
+
"tagName": "clover-panel",
|
|
1715
|
+
"name": "CloverPanelElement",
|
|
1716
|
+
"description": "The information panel of the clover-root it is in, in tabs or stacked boxes: the sections Clover has data for (About, Contents, Search, a Map, the Transcript, Annotations, the Collection), or its clover-tab children, in their order.",
|
|
1717
|
+
"superclass": {
|
|
1718
|
+
"name": "HTMLElement"
|
|
1719
|
+
},
|
|
1720
|
+
"attributes": [
|
|
1721
|
+
{
|
|
1722
|
+
"name": "layout",
|
|
1723
|
+
"type": {
|
|
1724
|
+
"text": "\"tabs\" | \"accordion\""
|
|
1725
|
+
},
|
|
1726
|
+
"description": "A row of tabs, one section shown at a time, or the sections stacked as boxes, each opened by its heading.",
|
|
1727
|
+
"default": "tabs"
|
|
1728
|
+
},
|
|
1729
|
+
{
|
|
1730
|
+
"name": "value",
|
|
1731
|
+
"type": {
|
|
1732
|
+
"text": "string"
|
|
1733
|
+
},
|
|
1734
|
+
"description": "The tab shown first, by its value; changed later, it shows that tab. The first, by default."
|
|
1735
|
+
},
|
|
1736
|
+
{
|
|
1737
|
+
"name": "heading-level",
|
|
1738
|
+
"type": {
|
|
1739
|
+
"text": "number"
|
|
1740
|
+
},
|
|
1741
|
+
"description": "The level of the boxes' headings (accordion), one under the heading the panel sits beneath; its sections' own headings go a level below.",
|
|
1742
|
+
"default": "3"
|
|
1743
|
+
},
|
|
1744
|
+
{
|
|
1745
|
+
"name": "download",
|
|
1746
|
+
"type": {
|
|
1747
|
+
"text": "boolean"
|
|
1748
|
+
},
|
|
1749
|
+
"description": "\"false\" leaves the downloads out of About.",
|
|
1750
|
+
"default": "true"
|
|
1751
|
+
},
|
|
1752
|
+
{
|
|
1753
|
+
"name": "closable",
|
|
1754
|
+
"type": {
|
|
1755
|
+
"text": "boolean"
|
|
1756
|
+
},
|
|
1757
|
+
"description": "A close button in the panel. Closing hands focus back to the control that opens it and hides what that control shows (or the panel itself).",
|
|
1758
|
+
"default": "false"
|
|
1759
|
+
},
|
|
1760
|
+
{
|
|
1761
|
+
"name": "close-on-escape",
|
|
1762
|
+
"type": {
|
|
1763
|
+
"text": "boolean"
|
|
1764
|
+
},
|
|
1765
|
+
"description": "For a panel over the page: Escape inside it closes it too, and its close button sits at its inner edge.",
|
|
1766
|
+
"default": "false"
|
|
1767
|
+
},
|
|
1768
|
+
{
|
|
1769
|
+
"name": "as",
|
|
1770
|
+
"type": {
|
|
1771
|
+
"text": "\"aside\" | \"div\""
|
|
1772
|
+
},
|
|
1773
|
+
"description": "The element to draw: a complementary landmark, or a box.",
|
|
1774
|
+
"default": "aside"
|
|
1775
|
+
}
|
|
1776
|
+
],
|
|
1777
|
+
"members": [],
|
|
1778
|
+
"events": [
|
|
1779
|
+
{
|
|
1780
|
+
"name": "clover-value-change",
|
|
1781
|
+
"type": {
|
|
1782
|
+
"text": "CustomEvent<{ value: string }>"
|
|
1783
|
+
},
|
|
1784
|
+
"description": "The reader chose a tab, or opened a box."
|
|
1785
|
+
},
|
|
1786
|
+
{
|
|
1787
|
+
"name": "clover-close",
|
|
1788
|
+
"type": {
|
|
1789
|
+
"text": "CustomEvent<Record<string, never>>"
|
|
1790
|
+
},
|
|
1791
|
+
"description": "The reader closed the panel. Cancel it (preventDefault) to keep it shown."
|
|
1792
|
+
}
|
|
1793
|
+
],
|
|
1794
|
+
"slots": []
|
|
1795
|
+
},
|
|
1796
|
+
{
|
|
1797
|
+
"kind": "class",
|
|
1798
|
+
"customElement": true,
|
|
1799
|
+
"tagName": "clover-tab",
|
|
1800
|
+
"name": "CloverTabElement",
|
|
1801
|
+
"description": "One tab of the clover-panel it is in: its label, and what it holds, which the panel shows in its section, moved there when the section first opens. It draws nothing itself.",
|
|
1802
|
+
"superclass": {
|
|
1803
|
+
"name": "HTMLElement"
|
|
1804
|
+
},
|
|
1805
|
+
"attributes": [
|
|
1806
|
+
{
|
|
1807
|
+
"name": "value",
|
|
1808
|
+
"type": {
|
|
1809
|
+
"text": "string"
|
|
1810
|
+
},
|
|
1811
|
+
"description": "What the tab is called by, for the panel's value."
|
|
1812
|
+
},
|
|
1813
|
+
{
|
|
1814
|
+
"name": "label",
|
|
1815
|
+
"type": {
|
|
1816
|
+
"text": "string"
|
|
1817
|
+
},
|
|
1818
|
+
"description": "What the tab says."
|
|
1819
|
+
}
|
|
1820
|
+
],
|
|
1821
|
+
"members": [],
|
|
1822
|
+
"events": [],
|
|
1823
|
+
"slots": [
|
|
1824
|
+
{
|
|
1825
|
+
"name": "label",
|
|
1826
|
+
"description": "Markup for what the tab says, instead of the label attribute: shown as a copy, so give it no ids."
|
|
1827
|
+
}
|
|
1828
|
+
]
|
|
1829
|
+
},
|
|
1830
|
+
{
|
|
1831
|
+
"kind": "class",
|
|
1832
|
+
"customElement": true,
|
|
1833
|
+
"tagName": "clover-panel-toggle",
|
|
1834
|
+
"name": "CloverPanelToggleElement",
|
|
1835
|
+
"description": "A button that shows and hides an element, the information panel's or any, by its id: open while it is not hidden. In a clover-body, it is one of the Body's controls; elsewhere, a button where it is.",
|
|
1836
|
+
"superclass": {
|
|
1837
|
+
"name": "HTMLElement"
|
|
1838
|
+
},
|
|
1839
|
+
"attributes": [
|
|
1840
|
+
{
|
|
1841
|
+
"name": "controls",
|
|
1842
|
+
"type": {
|
|
1843
|
+
"text": "string"
|
|
1844
|
+
},
|
|
1845
|
+
"description": "The id of what it shows and hides."
|
|
1846
|
+
}
|
|
1847
|
+
],
|
|
1848
|
+
"members": [],
|
|
1849
|
+
"events": [
|
|
1850
|
+
{
|
|
1851
|
+
"name": "clover-open-change",
|
|
1852
|
+
"type": {
|
|
1853
|
+
"text": "CustomEvent<{ open: boolean }>"
|
|
1854
|
+
},
|
|
1855
|
+
"description": "The reader pressed it, to show (open) or hide what it controls. Cancel it (preventDefault) to leave that as it is."
|
|
1856
|
+
}
|
|
1857
|
+
],
|
|
1858
|
+
"slots": []
|
|
1859
|
+
},
|
|
1860
|
+
{
|
|
1861
|
+
"kind": "class",
|
|
1862
|
+
"customElement": true,
|
|
1863
|
+
"tagName": "clover-split",
|
|
1864
|
+
"name": "CloverSplitElement",
|
|
1865
|
+
"description": "Panes side by side, its clover-split-pane children, divided by clover-split-handle bars the reader drags, clicks or moves by keyboard to share the width.",
|
|
1866
|
+
"superclass": {
|
|
1867
|
+
"name": "HTMLElement"
|
|
1868
|
+
},
|
|
1869
|
+
"attributes": [
|
|
1870
|
+
{
|
|
1871
|
+
"name": "storage-key",
|
|
1872
|
+
"type": {
|
|
1873
|
+
"text": "string"
|
|
1874
|
+
},
|
|
1875
|
+
"description": "Remember the sizes the reader chooses in localStorage under this key, so the layout opens at them next time."
|
|
1876
|
+
}
|
|
1877
|
+
],
|
|
1878
|
+
"members": [],
|
|
1879
|
+
"events": [],
|
|
1880
|
+
"slots": []
|
|
1881
|
+
},
|
|
1882
|
+
{
|
|
1883
|
+
"kind": "class",
|
|
1884
|
+
"customElement": true,
|
|
1885
|
+
"tagName": "clover-split-pane",
|
|
1886
|
+
"name": "CloverSplitPaneElement",
|
|
1887
|
+
"description": "One side of a clover-split. One pane beside each handle has a size; the other takes the width that is left.",
|
|
1888
|
+
"superclass": {
|
|
1889
|
+
"name": "HTMLElement"
|
|
1890
|
+
},
|
|
1891
|
+
"attributes": [
|
|
1892
|
+
{
|
|
1893
|
+
"name": "size",
|
|
1894
|
+
"type": {
|
|
1895
|
+
"text": "string"
|
|
1896
|
+
},
|
|
1897
|
+
"description": "Its width to start with: pixels, or a length in px, rem or % of the split."
|
|
1898
|
+
},
|
|
1899
|
+
{
|
|
1900
|
+
"name": "min",
|
|
1901
|
+
"type": {
|
|
1902
|
+
"text": "string"
|
|
1903
|
+
},
|
|
1904
|
+
"description": "The narrowest it may be."
|
|
1905
|
+
},
|
|
1906
|
+
{
|
|
1907
|
+
"name": "max",
|
|
1908
|
+
"type": {
|
|
1909
|
+
"text": "string"
|
|
1910
|
+
},
|
|
1911
|
+
"description": "The widest a handle may make it."
|
|
1912
|
+
},
|
|
1913
|
+
{
|
|
1914
|
+
"name": "name",
|
|
1915
|
+
"type": {
|
|
1916
|
+
"text": "string"
|
|
1917
|
+
},
|
|
1918
|
+
"description": "The name its size is remembered under (with the split's storage-key). Its place among the panes, by default."
|
|
1919
|
+
}
|
|
1920
|
+
],
|
|
1921
|
+
"members": [],
|
|
1922
|
+
"events": [],
|
|
1923
|
+
"slots": []
|
|
1924
|
+
},
|
|
1925
|
+
{
|
|
1926
|
+
"kind": "class",
|
|
1927
|
+
"customElement": true,
|
|
1928
|
+
"tagName": "clover-split-handle",
|
|
1929
|
+
"name": "CloverSplitHandleElement",
|
|
1930
|
+
"description": "The bar between two clover-split-panes, a focusable separator with a grip at its middle: drag it; click or tap it to step the pane through its narrowest, own and widest widths; or move it with the arrow keys, Home and End. Named Resize panels, or by its aria-label.",
|
|
1931
|
+
"superclass": {
|
|
1932
|
+
"name": "HTMLElement"
|
|
1933
|
+
},
|
|
1934
|
+
"attributes": [],
|
|
1935
|
+
"members": [],
|
|
1936
|
+
"events": [],
|
|
1937
|
+
"slots": []
|
|
1938
|
+
},
|
|
1939
|
+
{
|
|
1940
|
+
"kind": "class",
|
|
1941
|
+
"customElement": true,
|
|
1942
|
+
"tagName": "clover-canvas",
|
|
1943
|
+
"name": "CloverCanvasElement",
|
|
1944
|
+
"description": "Clover's renderer for images, video and sound. Alone, it draws what it is given: a IIIF resource by URL (a Manifest gives its first Canvas), image URLs, or Canvases as a property. Inside a clover-root, given nothing, the root's view. As tall as --clover-body-height (60vh) or its own style.",
|
|
1945
|
+
"superclass": {
|
|
1946
|
+
"name": "HTMLElement"
|
|
1947
|
+
},
|
|
1948
|
+
"attributes": [
|
|
1949
|
+
{
|
|
1950
|
+
"name": "iiif-content",
|
|
1951
|
+
"type": {
|
|
1952
|
+
"text": "string"
|
|
1953
|
+
},
|
|
1954
|
+
"description": "A Canvas, a Manifest (its first Canvas) or a content state, by URL, in any Presentation version.",
|
|
1955
|
+
"fieldName": "iiifContent"
|
|
1956
|
+
},
|
|
1957
|
+
{
|
|
1958
|
+
"name": "src",
|
|
1959
|
+
"type": {
|
|
1960
|
+
"text": "string"
|
|
1961
|
+
},
|
|
1962
|
+
"description": "An image's URL; with tiled, a IIIF Image API service's (its base URI or info.json).",
|
|
1963
|
+
"fieldName": "src"
|
|
1964
|
+
},
|
|
1965
|
+
{
|
|
1966
|
+
"name": "tiled",
|
|
1967
|
+
"type": {
|
|
1968
|
+
"text": "boolean"
|
|
1969
|
+
},
|
|
1970
|
+
"description": "Read src as a IIIF Image API service.",
|
|
1971
|
+
"default": "false"
|
|
1972
|
+
},
|
|
1973
|
+
{
|
|
1974
|
+
"name": "label",
|
|
1975
|
+
"type": {
|
|
1976
|
+
"text": "string"
|
|
1977
|
+
},
|
|
1978
|
+
"description": "The viewport's name, for an image given by src. A Canvas names it by its own label."
|
|
1979
|
+
},
|
|
1980
|
+
{
|
|
1981
|
+
"name": "language",
|
|
1982
|
+
"type": {
|
|
1983
|
+
"text": "string"
|
|
1984
|
+
},
|
|
1985
|
+
"description": "The language to read IIIF text in."
|
|
1986
|
+
},
|
|
1987
|
+
{
|
|
1988
|
+
"name": "controls",
|
|
1989
|
+
"type": {
|
|
1990
|
+
"text": "boolean"
|
|
1991
|
+
},
|
|
1992
|
+
"description": "\"false\" leaves out the controls over the Body.",
|
|
1993
|
+
"default": "true",
|
|
1994
|
+
"fieldName": "controls"
|
|
1995
|
+
},
|
|
1996
|
+
{
|
|
1997
|
+
"name": "navigator",
|
|
1998
|
+
"type": {
|
|
1999
|
+
"text": "boolean"
|
|
2000
|
+
},
|
|
2001
|
+
"description": "A small map of the whole image, while zoomed in.",
|
|
2002
|
+
"default": "false"
|
|
2003
|
+
},
|
|
2004
|
+
{
|
|
2005
|
+
"name": "placeholder",
|
|
2006
|
+
"type": {
|
|
2007
|
+
"text": "boolean"
|
|
2008
|
+
},
|
|
2009
|
+
"description": "\"false\" opens a Canvas straight away, past its placeholderContainer.",
|
|
2010
|
+
"default": "true"
|
|
2011
|
+
},
|
|
2012
|
+
{
|
|
2013
|
+
"name": "viewing-direction",
|
|
2014
|
+
"type": {
|
|
2015
|
+
"text": "\"left-to-right\" | \"right-to-left\" | \"top-to-bottom\" | \"bottom-to-top\""
|
|
2016
|
+
},
|
|
2017
|
+
"description": "How several Canvases (a spread) are laid out, in reading order.",
|
|
2018
|
+
"default": "left-to-right"
|
|
2019
|
+
},
|
|
2020
|
+
{
|
|
2021
|
+
"name": "animate-annotations",
|
|
2022
|
+
"type": {
|
|
2023
|
+
"text": "boolean"
|
|
2024
|
+
},
|
|
2025
|
+
"description": "Glide to a picked annotation, rather than frame it in one cut. A reader who asks for reduced motion gets the cut.",
|
|
2026
|
+
"default": "false"
|
|
2027
|
+
}
|
|
2028
|
+
],
|
|
2029
|
+
"members": [
|
|
2030
|
+
{
|
|
2031
|
+
"kind": "field",
|
|
2032
|
+
"name": "handle",
|
|
2033
|
+
"type": {
|
|
2034
|
+
"text": "CloverCanvasHandle | null"
|
|
2035
|
+
},
|
|
2036
|
+
"description": "The Canvas's handle once its view is laid out (clover-ready), as onReady hands it in React: the camera and its coordinates (handle.zoomBy(2), handle.home()). Null before.",
|
|
2037
|
+
"readonly": true
|
|
2038
|
+
},
|
|
2039
|
+
{
|
|
2040
|
+
"kind": "field",
|
|
2041
|
+
"name": "iiifContent",
|
|
2042
|
+
"type": {
|
|
2043
|
+
"text": "string | Record<string, unknown> | null"
|
|
2044
|
+
},
|
|
2045
|
+
"description": "What to load and draw, as a URL or a IIIF resource."
|
|
2046
|
+
},
|
|
2047
|
+
{
|
|
2048
|
+
"kind": "field",
|
|
2049
|
+
"name": "canvases",
|
|
2050
|
+
"type": {
|
|
2051
|
+
"text": "Record<string, unknown>[] | null"
|
|
2052
|
+
},
|
|
2053
|
+
"description": "Presentation 4 Canvases to draw, one or several shown together (a spread)."
|
|
2054
|
+
},
|
|
2055
|
+
{
|
|
2056
|
+
"kind": "field",
|
|
2057
|
+
"name": "src",
|
|
2058
|
+
"type": {
|
|
2059
|
+
"text": "string | string[] | null"
|
|
2060
|
+
},
|
|
2061
|
+
"description": "Image URLs, or image services with tiled."
|
|
2062
|
+
},
|
|
2063
|
+
{
|
|
2064
|
+
"kind": "field",
|
|
2065
|
+
"name": "annotations",
|
|
2066
|
+
"type": {
|
|
2067
|
+
"text": "Array<{ id: string; target: string; label?: string; [key: string]: unknown }> | null"
|
|
2068
|
+
},
|
|
2069
|
+
"description": "Annotations to draw as hotspots, with rectangular (xywh) targets in the image's own coordinates."
|
|
2070
|
+
},
|
|
2071
|
+
{
|
|
2072
|
+
"kind": "field",
|
|
2073
|
+
"name": "options",
|
|
2074
|
+
"type": {
|
|
2075
|
+
"text": "{ request?: { credentials?: RequestCredentials; headers?: Record<string, string>; fetch?: typeof fetch }; [key: string]: unknown } | null"
|
|
2076
|
+
},
|
|
2077
|
+
"description": "The Canvas's options: the request it loads with (credentials, headers, a fetch of your own), its gestures and more."
|
|
2078
|
+
},
|
|
2079
|
+
{
|
|
2080
|
+
"kind": "field",
|
|
2081
|
+
"name": "controlButtons",
|
|
2082
|
+
"type": {
|
|
2083
|
+
"text": "CloverControlButtons | null"
|
|
2084
|
+
},
|
|
2085
|
+
"description": "The Body's controls, each replaced by a button you make: a function given the control's name, label and Clover's icon, returning the button. Clover keeps it named, keyed and in its state, presses the control with it, and adds its popover."
|
|
2086
|
+
},
|
|
2087
|
+
{
|
|
2088
|
+
"kind": "field",
|
|
2089
|
+
"name": "controls",
|
|
2090
|
+
"type": {
|
|
2091
|
+
"text": "boolean | { zoom?: boolean; fullPage?: boolean; rotation?: boolean; reset?: boolean; annotations?: boolean; information?: boolean; [option: string]: unknown } | null"
|
|
2092
|
+
},
|
|
2093
|
+
"description": "Which of the Body's controls it shows, as Canvas's controls takes it: false for none, or some ({ rotation: false }), in place of the attribute."
|
|
2094
|
+
}
|
|
2095
|
+
],
|
|
2096
|
+
"events": [
|
|
2097
|
+
{
|
|
2098
|
+
"name": "clover-ready",
|
|
2099
|
+
"type": {
|
|
2100
|
+
"text": "CustomEvent<{ handle: CloverCanvasHandle }>"
|
|
2101
|
+
},
|
|
2102
|
+
"description": "The view is laid out and fitted: its handle is here, and works from now on."
|
|
2103
|
+
},
|
|
2104
|
+
{
|
|
2105
|
+
"name": "clover-annotation-select",
|
|
2106
|
+
"type": {
|
|
2107
|
+
"text": "CustomEvent<{ id: string | null }>"
|
|
2108
|
+
},
|
|
2109
|
+
"description": "The reader picked an annotation, on the Body or in its menu; null when they let it go."
|
|
2110
|
+
},
|
|
2111
|
+
{
|
|
2112
|
+
"name": "clover-annotation-active",
|
|
2113
|
+
"type": {
|
|
2114
|
+
"text": "CustomEvent<{ id: string | null }>"
|
|
2115
|
+
},
|
|
2116
|
+
"description": "An annotation is hovered or focused; null when none is."
|
|
2117
|
+
},
|
|
2118
|
+
{
|
|
2119
|
+
"name": "clover-caption-change",
|
|
2120
|
+
"type": {
|
|
2121
|
+
"text": "CustomEvent<{ caption: { id: string; language?: string } | null }>"
|
|
2122
|
+
},
|
|
2123
|
+
"description": "The reader chose a caption file in the Captions menu, or Off (null)."
|
|
2124
|
+
},
|
|
2125
|
+
{
|
|
2126
|
+
"name": "clover-ended",
|
|
2127
|
+
"type": {
|
|
2128
|
+
"text": "CustomEvent<Record<string, never>>"
|
|
2129
|
+
},
|
|
2130
|
+
"description": "A recording played to its end."
|
|
2131
|
+
}
|
|
2132
|
+
],
|
|
2133
|
+
"slots": []
|
|
2134
|
+
},
|
|
2135
|
+
{
|
|
2136
|
+
"kind": "class",
|
|
2137
|
+
"customElement": true,
|
|
2138
|
+
"tagName": "clover-timeline",
|
|
2139
|
+
"name": "CloverTimelineElement",
|
|
2140
|
+
"description": "A IIIF Presentation 4 Timeline (sound), played through Canvas, with its transport, captions, chapters and annotations on its time, and its accompanying or placeholder Canvas while it plays. Alone, it plays what it is given; inside a clover-root, given nothing, the root's view when that is a Timeline. As tall as --clover-body-height (60vh) or its own style.",
|
|
2141
|
+
"superclass": {
|
|
2142
|
+
"name": "HTMLElement"
|
|
2143
|
+
},
|
|
2144
|
+
"attributes": [
|
|
2145
|
+
{
|
|
2146
|
+
"name": "iiif-content",
|
|
2147
|
+
"type": {
|
|
2148
|
+
"text": "string"
|
|
2149
|
+
},
|
|
2150
|
+
"description": "A Timeline, or a Manifest (its first Timeline), by URL, in any Presentation version.",
|
|
2151
|
+
"fieldName": "iiifContent"
|
|
2152
|
+
},
|
|
2153
|
+
{
|
|
2154
|
+
"name": "label",
|
|
2155
|
+
"type": {
|
|
2156
|
+
"text": "string"
|
|
2157
|
+
},
|
|
2158
|
+
"description": "The Body's name. A Timeline names it by its own label."
|
|
2159
|
+
},
|
|
2160
|
+
{
|
|
2161
|
+
"name": "language",
|
|
2162
|
+
"type": {
|
|
2163
|
+
"text": "string"
|
|
2164
|
+
},
|
|
2165
|
+
"description": "The language to read IIIF text in."
|
|
2166
|
+
},
|
|
2167
|
+
{
|
|
2168
|
+
"name": "controls",
|
|
2169
|
+
"type": {
|
|
2170
|
+
"text": "boolean"
|
|
2171
|
+
},
|
|
2172
|
+
"description": "\"false\" leaves out the controls over the Body; the transport stays.",
|
|
2173
|
+
"default": "true",
|
|
2174
|
+
"fieldName": "controls"
|
|
2175
|
+
},
|
|
2176
|
+
{
|
|
2177
|
+
"name": "placeholder",
|
|
2178
|
+
"type": {
|
|
2179
|
+
"text": "boolean"
|
|
2180
|
+
},
|
|
2181
|
+
"description": "\"false\" opens a Timeline straight away, past its placeholderContainer.",
|
|
2182
|
+
"default": "true"
|
|
2183
|
+
}
|
|
2184
|
+
],
|
|
2185
|
+
"members": [
|
|
2186
|
+
{
|
|
2187
|
+
"kind": "field",
|
|
2188
|
+
"name": "iiifContent",
|
|
2189
|
+
"type": {
|
|
2190
|
+
"text": "string | Record<string, unknown> | null"
|
|
2191
|
+
},
|
|
2192
|
+
"description": "What to load and play, as a URL or a IIIF resource."
|
|
2193
|
+
},
|
|
2194
|
+
{
|
|
2195
|
+
"kind": "field",
|
|
2196
|
+
"name": "timeline",
|
|
2197
|
+
"type": {
|
|
2198
|
+
"text": "Record<string, unknown> | null"
|
|
2199
|
+
},
|
|
2200
|
+
"description": "A Presentation 4 Timeline to play."
|
|
2201
|
+
},
|
|
2202
|
+
{
|
|
2203
|
+
"kind": "field",
|
|
2204
|
+
"name": "annotations",
|
|
2205
|
+
"type": {
|
|
2206
|
+
"text": "Record<string, unknown>[] | null"
|
|
2207
|
+
},
|
|
2208
|
+
"description": "Annotations on its time, each shown as a cue while its stretch plays, as Canvas's annotations property takes them."
|
|
2209
|
+
},
|
|
2210
|
+
{
|
|
2211
|
+
"kind": "field",
|
|
2212
|
+
"name": "options",
|
|
2213
|
+
"type": {
|
|
2214
|
+
"text": "Record<string, unknown> | null"
|
|
2215
|
+
},
|
|
2216
|
+
"description": "As Canvas's options: request (credentials, headers) and hideDelay among them."
|
|
2217
|
+
},
|
|
2218
|
+
{
|
|
2219
|
+
"kind": "field",
|
|
2220
|
+
"name": "controls",
|
|
2221
|
+
"type": {
|
|
2222
|
+
"text": "boolean | { information?: boolean; annotations?: boolean; [option: string]: unknown } | null"
|
|
2223
|
+
},
|
|
2224
|
+
"description": "Which of the Body's controls it shows, as Canvas's controls takes it, in place of the attribute."
|
|
2225
|
+
}
|
|
2226
|
+
],
|
|
2227
|
+
"events": [
|
|
2228
|
+
{
|
|
2229
|
+
"name": "clover-caption-change",
|
|
2230
|
+
"type": {
|
|
2231
|
+
"text": "CustomEvent<{ caption: { id: string; language?: string } | null }>"
|
|
2232
|
+
},
|
|
2233
|
+
"description": "The reader chose a caption file in the Body's Captions menu, or Off (null)."
|
|
2234
|
+
},
|
|
2235
|
+
{
|
|
2236
|
+
"name": "clover-ended",
|
|
2237
|
+
"type": {
|
|
2238
|
+
"text": "CustomEvent<Record<string, never>>"
|
|
2239
|
+
},
|
|
2240
|
+
"description": "Playback reached the end."
|
|
2241
|
+
}
|
|
2242
|
+
],
|
|
2243
|
+
"slots": []
|
|
2244
|
+
},
|
|
2245
|
+
{
|
|
2246
|
+
"kind": "class",
|
|
2247
|
+
"customElement": true,
|
|
2248
|
+
"tagName": "clover-scene",
|
|
2249
|
+
"name": "CloverSceneElement",
|
|
2250
|
+
"description": "A IIIF Presentation 4 Scene, drawn in 3D: the glTF models it paints, lit and framed, turned and zoomed by pointer, key or control. Its 3D library loads only when one is drawn. Alone, it draws what it is given; inside a clover-root, given nothing, the root's view when that is a Scene. As tall as --clover-body-height (60vh) or its own style.",
|
|
2251
|
+
"superclass": {
|
|
2252
|
+
"name": "HTMLElement"
|
|
2253
|
+
},
|
|
2254
|
+
"attributes": [
|
|
2255
|
+
{
|
|
2256
|
+
"name": "iiif-content",
|
|
2257
|
+
"type": {
|
|
2258
|
+
"text": "string"
|
|
2259
|
+
},
|
|
2260
|
+
"description": "A Scene, or a Manifest (its first Scene), by URL, in any Presentation version.",
|
|
2261
|
+
"fieldName": "iiifContent"
|
|
2262
|
+
},
|
|
2263
|
+
{
|
|
2264
|
+
"name": "label",
|
|
2265
|
+
"type": {
|
|
2266
|
+
"text": "string"
|
|
2267
|
+
},
|
|
2268
|
+
"description": "The view's name. A Scene names it by its own label."
|
|
2269
|
+
},
|
|
2270
|
+
{
|
|
2271
|
+
"name": "language",
|
|
2272
|
+
"type": {
|
|
2273
|
+
"text": "string"
|
|
2274
|
+
},
|
|
2275
|
+
"description": "The language to read IIIF text in."
|
|
2276
|
+
},
|
|
2277
|
+
{
|
|
2278
|
+
"name": "controls",
|
|
2279
|
+
"type": {
|
|
2280
|
+
"text": "boolean"
|
|
2281
|
+
},
|
|
2282
|
+
"description": "\"false\" leaves out the controls over the Body.",
|
|
2283
|
+
"default": "true",
|
|
2284
|
+
"fieldName": "controls"
|
|
2285
|
+
},
|
|
2286
|
+
{
|
|
2287
|
+
"name": "engine",
|
|
2288
|
+
"type": {
|
|
2289
|
+
"text": "\"clover\" | \"three\""
|
|
2290
|
+
},
|
|
2291
|
+
"description": "What draws the models: Clover's own WebGL2 renderer (\"clover\"), or three.js (\"three\"), once the page loads web-components/three.mjs, for what Clover's does not draw yet (glTF's material extensions, skins and morph targets at rest, sparse accessors).",
|
|
2292
|
+
"default": "clover"
|
|
2293
|
+
}
|
|
2294
|
+
],
|
|
2295
|
+
"members": [
|
|
2296
|
+
{
|
|
2297
|
+
"kind": "field",
|
|
2298
|
+
"name": "iiifContent",
|
|
2299
|
+
"type": {
|
|
2300
|
+
"text": "string | Record<string, unknown> | null"
|
|
2301
|
+
},
|
|
2302
|
+
"description": "What to load and draw, as a URL or a IIIF resource."
|
|
2303
|
+
},
|
|
2304
|
+
{
|
|
2305
|
+
"kind": "field",
|
|
2306
|
+
"name": "scene",
|
|
2307
|
+
"type": {
|
|
2308
|
+
"text": "Record<string, unknown> | null"
|
|
2309
|
+
},
|
|
2310
|
+
"description": "A Presentation 4 Scene to draw."
|
|
2311
|
+
},
|
|
2312
|
+
{
|
|
2313
|
+
"kind": "field",
|
|
2314
|
+
"name": "options",
|
|
2315
|
+
"type": {
|
|
2316
|
+
"text": "{ request?: Record<string, unknown>; hideDelay?: number } | null"
|
|
2317
|
+
},
|
|
2318
|
+
"description": "request: credentials and headers for the Scene and its models; hideDelay: how long the controls stay after a mouse stops, in milliseconds."
|
|
2319
|
+
},
|
|
2320
|
+
{
|
|
2321
|
+
"kind": "field",
|
|
2322
|
+
"name": "controls",
|
|
2323
|
+
"type": {
|
|
2324
|
+
"text": "boolean | { zoom?: boolean; fullPage?: boolean; rotation?: boolean; reset?: boolean; information?: boolean } | null"
|
|
2325
|
+
},
|
|
2326
|
+
"description": "Which of the Body's controls it shows: false for none, or some ({ rotation: false }), in place of the attribute."
|
|
2327
|
+
}
|
|
2328
|
+
],
|
|
2329
|
+
"events": [],
|
|
2330
|
+
"slots": []
|
|
2331
|
+
},
|
|
2332
|
+
{
|
|
2333
|
+
"kind": "class",
|
|
2334
|
+
"customElement": true,
|
|
2335
|
+
"tagName": "clover-tip",
|
|
2336
|
+
"name": "CloverTipElement",
|
|
2337
|
+
"description": "The popover Clover's controls show on hover and on keyboard focus, for a control of your own: written inside your button, it shows there its label and its key. Give the button the same name (aria-label) and the key (aria-keyshortcuts): the popover is hidden from assistive technology, which reads the button. The element itself shows nothing.",
|
|
2338
|
+
"superclass": {
|
|
2339
|
+
"name": "HTMLElement"
|
|
2340
|
+
},
|
|
2341
|
+
"attributes": [
|
|
2342
|
+
{
|
|
2343
|
+
"name": "label",
|
|
2344
|
+
"type": {
|
|
2345
|
+
"text": "string"
|
|
2346
|
+
},
|
|
2347
|
+
"description": "Its words: the name the button's aria-label gives, the same (WCAG 2.5.3)."
|
|
2348
|
+
},
|
|
2349
|
+
{
|
|
2350
|
+
"name": "lang",
|
|
2351
|
+
"type": {
|
|
2352
|
+
"text": "string"
|
|
2353
|
+
},
|
|
2354
|
+
"description": "The language of label, where it is not the button's."
|
|
2355
|
+
},
|
|
2356
|
+
{
|
|
2357
|
+
"name": "keys",
|
|
2358
|
+
"type": {
|
|
2359
|
+
"text": "string"
|
|
2360
|
+
},
|
|
2361
|
+
"description": "The key the button answers to, as aria-keyshortcuts names it (WAI-ARIA key names: Plus, Shift+R)."
|
|
2362
|
+
},
|
|
2363
|
+
{
|
|
2364
|
+
"name": "glyph",
|
|
2365
|
+
"type": {
|
|
2366
|
+
"text": "string"
|
|
2367
|
+
},
|
|
2368
|
+
"description": "The key as the popover shows it (⇧R); keys by default."
|
|
2369
|
+
}
|
|
2370
|
+
],
|
|
2371
|
+
"members": [
|
|
2372
|
+
{
|
|
2373
|
+
"kind": "field",
|
|
2374
|
+
"name": "shortcut",
|
|
2375
|
+
"type": {
|
|
2376
|
+
"text": "{ keys: string; glyph: string } | null"
|
|
2377
|
+
},
|
|
2378
|
+
"description": "The key, as Clover.Tip takes it: in place of keys and glyph."
|
|
2379
|
+
}
|
|
2380
|
+
],
|
|
2381
|
+
"events": [],
|
|
2382
|
+
"slots": []
|
|
2383
|
+
},
|
|
2384
|
+
{
|
|
2385
|
+
"kind": "class",
|
|
2386
|
+
"customElement": true,
|
|
2387
|
+
"tagName": "clover-read-more",
|
|
2388
|
+
"name": "CloverReadMoreElement",
|
|
2389
|
+
"description": "Read more, for text of your own: its one child, clamped by your CSS (a -webkit-line-clamp), gets a button under it once the text runs past its box, which opens it in full (aria-expanded) and cuts it short again. While open, the child carries data-read-more=\"open\", which your clamp should leave alone.",
|
|
2390
|
+
"superclass": {
|
|
2391
|
+
"name": "HTMLElement"
|
|
2392
|
+
},
|
|
2393
|
+
"attributes": [],
|
|
2394
|
+
"members": [],
|
|
2395
|
+
"events": [],
|
|
2396
|
+
"slots": []
|
|
2397
|
+
}
|
|
2398
|
+
],
|
|
2399
|
+
"exports": [
|
|
2400
|
+
{
|
|
2401
|
+
"kind": "custom-element-definition",
|
|
2402
|
+
"name": "clover-viewer",
|
|
2403
|
+
"declaration": {
|
|
2404
|
+
"name": "CloverViewerElement",
|
|
2405
|
+
"module": "dist/web-components/index.mjs"
|
|
2406
|
+
}
|
|
2407
|
+
},
|
|
2408
|
+
{
|
|
2409
|
+
"kind": "custom-element-definition",
|
|
2410
|
+
"name": "clover-root",
|
|
2411
|
+
"declaration": {
|
|
2412
|
+
"name": "CloverRootElement",
|
|
2413
|
+
"module": "dist/web-components/index.mjs"
|
|
2414
|
+
}
|
|
2415
|
+
},
|
|
2416
|
+
{
|
|
2417
|
+
"kind": "custom-element-definition",
|
|
2418
|
+
"name": "clover-body",
|
|
2419
|
+
"declaration": {
|
|
2420
|
+
"name": "CloverBodyElement",
|
|
2421
|
+
"module": "dist/web-components/index.mjs"
|
|
2422
|
+
}
|
|
2423
|
+
},
|
|
2424
|
+
{
|
|
2425
|
+
"kind": "custom-element-definition",
|
|
2426
|
+
"name": "clover-label",
|
|
2427
|
+
"declaration": {
|
|
2428
|
+
"name": "CloverLabelElement",
|
|
2429
|
+
"module": "dist/web-components/index.mjs"
|
|
2430
|
+
}
|
|
2431
|
+
},
|
|
2432
|
+
{
|
|
2433
|
+
"kind": "custom-element-definition",
|
|
2434
|
+
"name": "clover-items",
|
|
2435
|
+
"declaration": {
|
|
2436
|
+
"name": "CloverItemsElement",
|
|
2437
|
+
"module": "dist/web-components/index.mjs"
|
|
2438
|
+
}
|
|
2439
|
+
},
|
|
2440
|
+
{
|
|
2441
|
+
"kind": "custom-element-definition",
|
|
2442
|
+
"name": "clover-position",
|
|
2443
|
+
"declaration": {
|
|
2444
|
+
"name": "CloverPositionElement",
|
|
2445
|
+
"module": "dist/web-components/index.mjs"
|
|
2446
|
+
}
|
|
2447
|
+
},
|
|
2448
|
+
{
|
|
2449
|
+
"kind": "custom-element-definition",
|
|
2450
|
+
"name": "clover-previous",
|
|
2451
|
+
"declaration": {
|
|
2452
|
+
"name": "CloverPreviousElement",
|
|
2453
|
+
"module": "dist/web-components/index.mjs"
|
|
2454
|
+
}
|
|
2455
|
+
},
|
|
2456
|
+
{
|
|
2457
|
+
"kind": "custom-element-definition",
|
|
2458
|
+
"name": "clover-next",
|
|
2459
|
+
"declaration": {
|
|
2460
|
+
"name": "CloverNextElement",
|
|
2461
|
+
"module": "dist/web-components/index.mjs"
|
|
2462
|
+
}
|
|
2463
|
+
},
|
|
2464
|
+
{
|
|
2465
|
+
"kind": "custom-element-definition",
|
|
2466
|
+
"name": "clover-status",
|
|
2467
|
+
"declaration": {
|
|
2468
|
+
"name": "CloverStatusElement",
|
|
2469
|
+
"module": "dist/web-components/index.mjs"
|
|
2470
|
+
}
|
|
2471
|
+
},
|
|
2472
|
+
{
|
|
2473
|
+
"kind": "custom-element-definition",
|
|
2474
|
+
"name": "clover-thumbnail",
|
|
2475
|
+
"declaration": {
|
|
2476
|
+
"name": "CloverThumbnailElement",
|
|
2477
|
+
"module": "dist/web-components/index.mjs"
|
|
2478
|
+
}
|
|
2479
|
+
},
|
|
2480
|
+
{
|
|
2481
|
+
"kind": "custom-element-definition",
|
|
2482
|
+
"name": "clover-summary",
|
|
2483
|
+
"declaration": {
|
|
2484
|
+
"name": "CloverSummaryElement",
|
|
2485
|
+
"module": "dist/web-components/index.mjs"
|
|
2486
|
+
}
|
|
2487
|
+
},
|
|
2488
|
+
{
|
|
2489
|
+
"kind": "custom-element-definition",
|
|
2490
|
+
"name": "clover-metadata",
|
|
2491
|
+
"declaration": {
|
|
2492
|
+
"name": "CloverMetadataElement",
|
|
2493
|
+
"module": "dist/web-components/index.mjs"
|
|
2494
|
+
}
|
|
2495
|
+
},
|
|
2496
|
+
{
|
|
2497
|
+
"kind": "custom-element-definition",
|
|
2498
|
+
"name": "clover-required-statement",
|
|
2499
|
+
"declaration": {
|
|
2500
|
+
"name": "CloverRequiredStatementElement",
|
|
2501
|
+
"module": "dist/web-components/index.mjs"
|
|
2502
|
+
}
|
|
2503
|
+
},
|
|
2504
|
+
{
|
|
2505
|
+
"kind": "custom-element-definition",
|
|
2506
|
+
"name": "clover-rights",
|
|
2507
|
+
"declaration": {
|
|
2508
|
+
"name": "CloverRightsElement",
|
|
2509
|
+
"module": "dist/web-components/index.mjs"
|
|
2510
|
+
}
|
|
2511
|
+
},
|
|
2512
|
+
{
|
|
2513
|
+
"kind": "custom-element-definition",
|
|
2514
|
+
"name": "clover-homepage",
|
|
2515
|
+
"declaration": {
|
|
2516
|
+
"name": "CloverHomepageElement",
|
|
2517
|
+
"module": "dist/web-components/index.mjs"
|
|
2518
|
+
}
|
|
2519
|
+
},
|
|
2520
|
+
{
|
|
2521
|
+
"kind": "custom-element-definition",
|
|
2522
|
+
"name": "clover-see-also",
|
|
2523
|
+
"declaration": {
|
|
2524
|
+
"name": "CloverSeeAlsoElement",
|
|
2525
|
+
"module": "dist/web-components/index.mjs"
|
|
2526
|
+
}
|
|
2527
|
+
},
|
|
2528
|
+
{
|
|
2529
|
+
"kind": "custom-element-definition",
|
|
2530
|
+
"name": "clover-rendering",
|
|
2531
|
+
"declaration": {
|
|
2532
|
+
"name": "CloverRenderingElement",
|
|
2533
|
+
"module": "dist/web-components/index.mjs"
|
|
2534
|
+
}
|
|
2535
|
+
},
|
|
2536
|
+
{
|
|
2537
|
+
"kind": "custom-element-definition",
|
|
2538
|
+
"name": "clover-part-of",
|
|
2539
|
+
"declaration": {
|
|
2540
|
+
"name": "CloverPartOfElement",
|
|
2541
|
+
"module": "dist/web-components/index.mjs"
|
|
2542
|
+
}
|
|
2543
|
+
},
|
|
2544
|
+
{
|
|
2545
|
+
"kind": "custom-element-definition",
|
|
2546
|
+
"name": "clover-id",
|
|
2547
|
+
"declaration": {
|
|
2548
|
+
"name": "CloverIdElement",
|
|
2549
|
+
"module": "dist/web-components/index.mjs"
|
|
2550
|
+
}
|
|
2551
|
+
},
|
|
2552
|
+
{
|
|
2553
|
+
"kind": "custom-element-definition",
|
|
2554
|
+
"name": "clover-provider",
|
|
2555
|
+
"declaration": {
|
|
2556
|
+
"name": "CloverProviderElement",
|
|
2557
|
+
"module": "dist/web-components/index.mjs"
|
|
2558
|
+
}
|
|
2559
|
+
},
|
|
2560
|
+
{
|
|
2561
|
+
"kind": "custom-element-definition",
|
|
2562
|
+
"name": "clover-logo",
|
|
2563
|
+
"declaration": {
|
|
2564
|
+
"name": "CloverLogoElement",
|
|
2565
|
+
"module": "dist/web-components/index.mjs"
|
|
2566
|
+
}
|
|
2567
|
+
},
|
|
2568
|
+
{
|
|
2569
|
+
"kind": "custom-element-definition",
|
|
2570
|
+
"name": "clover-value",
|
|
2571
|
+
"declaration": {
|
|
2572
|
+
"name": "CloverValueElement",
|
|
2573
|
+
"module": "dist/web-components/index.mjs"
|
|
2574
|
+
}
|
|
2575
|
+
},
|
|
2576
|
+
{
|
|
2577
|
+
"kind": "custom-element-definition",
|
|
2578
|
+
"name": "clover-about",
|
|
2579
|
+
"declaration": {
|
|
2580
|
+
"name": "CloverAboutElement",
|
|
2581
|
+
"module": "dist/web-components/index.mjs"
|
|
2582
|
+
}
|
|
2583
|
+
},
|
|
2584
|
+
{
|
|
2585
|
+
"kind": "custom-element-definition",
|
|
2586
|
+
"name": "clover-annotations",
|
|
2587
|
+
"declaration": {
|
|
2588
|
+
"name": "CloverAnnotationsElement",
|
|
2589
|
+
"module": "dist/web-components/index.mjs"
|
|
2590
|
+
}
|
|
2591
|
+
},
|
|
2592
|
+
{
|
|
2593
|
+
"kind": "custom-element-definition",
|
|
2594
|
+
"name": "clover-collection",
|
|
2595
|
+
"declaration": {
|
|
2596
|
+
"name": "CloverCollectionElement",
|
|
2597
|
+
"module": "dist/web-components/index.mjs"
|
|
2598
|
+
}
|
|
2599
|
+
},
|
|
2600
|
+
{
|
|
2601
|
+
"kind": "custom-element-definition",
|
|
2602
|
+
"name": "clover-collection-select",
|
|
2603
|
+
"declaration": {
|
|
2604
|
+
"name": "CloverCollectionSelectElement",
|
|
2605
|
+
"module": "dist/web-components/index.mjs"
|
|
2606
|
+
}
|
|
2607
|
+
},
|
|
2608
|
+
{
|
|
2609
|
+
"kind": "custom-element-definition",
|
|
2610
|
+
"name": "clover-contents",
|
|
2611
|
+
"declaration": {
|
|
2612
|
+
"name": "CloverContentsElement",
|
|
2613
|
+
"module": "dist/web-components/index.mjs"
|
|
2614
|
+
}
|
|
2615
|
+
},
|
|
2616
|
+
{
|
|
2617
|
+
"kind": "custom-element-definition",
|
|
2618
|
+
"name": "clover-search",
|
|
2619
|
+
"declaration": {
|
|
2620
|
+
"name": "CloverSearchElement",
|
|
2621
|
+
"module": "dist/web-components/index.mjs"
|
|
2622
|
+
}
|
|
2623
|
+
},
|
|
2624
|
+
{
|
|
2625
|
+
"kind": "custom-element-definition",
|
|
2626
|
+
"name": "clover-transcript",
|
|
2627
|
+
"declaration": {
|
|
2628
|
+
"name": "CloverTranscriptElement",
|
|
2629
|
+
"module": "dist/web-components/index.mjs"
|
|
2630
|
+
}
|
|
2631
|
+
},
|
|
2632
|
+
{
|
|
2633
|
+
"kind": "custom-element-definition",
|
|
2634
|
+
"name": "clover-download",
|
|
2635
|
+
"declaration": {
|
|
2636
|
+
"name": "CloverDownloadElement",
|
|
2637
|
+
"module": "dist/web-components/index.mjs"
|
|
2638
|
+
}
|
|
2639
|
+
},
|
|
2640
|
+
{
|
|
2641
|
+
"kind": "custom-element-definition",
|
|
2642
|
+
"name": "clover-map",
|
|
2643
|
+
"declaration": {
|
|
2644
|
+
"name": "CloverMapElement",
|
|
2645
|
+
"module": "dist/web-components/index.mjs"
|
|
2646
|
+
}
|
|
2647
|
+
},
|
|
2648
|
+
{
|
|
2649
|
+
"kind": "custom-element-definition",
|
|
2650
|
+
"name": "clover-panel",
|
|
2651
|
+
"declaration": {
|
|
2652
|
+
"name": "CloverPanelElement",
|
|
2653
|
+
"module": "dist/web-components/index.mjs"
|
|
2654
|
+
}
|
|
2655
|
+
},
|
|
2656
|
+
{
|
|
2657
|
+
"kind": "custom-element-definition",
|
|
2658
|
+
"name": "clover-tab",
|
|
2659
|
+
"declaration": {
|
|
2660
|
+
"name": "CloverTabElement",
|
|
2661
|
+
"module": "dist/web-components/index.mjs"
|
|
2662
|
+
}
|
|
2663
|
+
},
|
|
2664
|
+
{
|
|
2665
|
+
"kind": "custom-element-definition",
|
|
2666
|
+
"name": "clover-panel-toggle",
|
|
2667
|
+
"declaration": {
|
|
2668
|
+
"name": "CloverPanelToggleElement",
|
|
2669
|
+
"module": "dist/web-components/index.mjs"
|
|
2670
|
+
}
|
|
2671
|
+
},
|
|
2672
|
+
{
|
|
2673
|
+
"kind": "custom-element-definition",
|
|
2674
|
+
"name": "clover-split",
|
|
2675
|
+
"declaration": {
|
|
2676
|
+
"name": "CloverSplitElement",
|
|
2677
|
+
"module": "dist/web-components/index.mjs"
|
|
2678
|
+
}
|
|
2679
|
+
},
|
|
2680
|
+
{
|
|
2681
|
+
"kind": "custom-element-definition",
|
|
2682
|
+
"name": "clover-split-pane",
|
|
2683
|
+
"declaration": {
|
|
2684
|
+
"name": "CloverSplitPaneElement",
|
|
2685
|
+
"module": "dist/web-components/index.mjs"
|
|
2686
|
+
}
|
|
2687
|
+
},
|
|
2688
|
+
{
|
|
2689
|
+
"kind": "custom-element-definition",
|
|
2690
|
+
"name": "clover-split-handle",
|
|
2691
|
+
"declaration": {
|
|
2692
|
+
"name": "CloverSplitHandleElement",
|
|
2693
|
+
"module": "dist/web-components/index.mjs"
|
|
2694
|
+
}
|
|
2695
|
+
},
|
|
2696
|
+
{
|
|
2697
|
+
"kind": "custom-element-definition",
|
|
2698
|
+
"name": "clover-canvas",
|
|
2699
|
+
"declaration": {
|
|
2700
|
+
"name": "CloverCanvasElement",
|
|
2701
|
+
"module": "dist/web-components/index.mjs"
|
|
2702
|
+
}
|
|
2703
|
+
},
|
|
2704
|
+
{
|
|
2705
|
+
"kind": "custom-element-definition",
|
|
2706
|
+
"name": "clover-timeline",
|
|
2707
|
+
"declaration": {
|
|
2708
|
+
"name": "CloverTimelineElement",
|
|
2709
|
+
"module": "dist/web-components/index.mjs"
|
|
2710
|
+
}
|
|
2711
|
+
},
|
|
2712
|
+
{
|
|
2713
|
+
"kind": "custom-element-definition",
|
|
2714
|
+
"name": "clover-scene",
|
|
2715
|
+
"declaration": {
|
|
2716
|
+
"name": "CloverSceneElement",
|
|
2717
|
+
"module": "dist/web-components/index.mjs"
|
|
2718
|
+
}
|
|
2719
|
+
},
|
|
2720
|
+
{
|
|
2721
|
+
"kind": "custom-element-definition",
|
|
2722
|
+
"name": "clover-tip",
|
|
2723
|
+
"declaration": {
|
|
2724
|
+
"name": "CloverTipElement",
|
|
2725
|
+
"module": "dist/web-components/index.mjs"
|
|
2726
|
+
}
|
|
2727
|
+
},
|
|
2728
|
+
{
|
|
2729
|
+
"kind": "custom-element-definition",
|
|
2730
|
+
"name": "clover-read-more",
|
|
2731
|
+
"declaration": {
|
|
2732
|
+
"name": "CloverReadMoreElement",
|
|
2733
|
+
"module": "dist/web-components/index.mjs"
|
|
2734
|
+
}
|
|
2735
|
+
}
|
|
2736
|
+
]
|
|
2737
|
+
}
|
|
2738
|
+
]
|
|
2739
|
+
}
|