@nulib/clover 4.0.0 → 4.2.0
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/dist/components/Body/Body.mjs +16 -1
- package/dist/components/Body/glyphs.mjs +15 -0
- package/dist/components/Body/useControlsVisibility.mjs +35 -13
- package/dist/components/Canvas/CanvasView.mjs +116 -12
- package/dist/components/Canvas/ChaptersMenu.mjs +105 -0
- package/dist/components/Canvas/ControlMenu.mjs +23 -4
- package/dist/components/Canvas/Controls.mjs +223 -60
- package/dist/components/Canvas/ControlsFade.mjs +16 -0
- package/dist/components/Canvas/ImageControls.mjs +209 -0
- package/dist/components/Canvas/Placeholder.mjs +44 -12
- package/dist/components/Canvas/RowFits.mjs +85 -0
- package/dist/components/Canvas/layout.mjs +11 -0
- package/dist/components/Canvas/media/MediaBody.mjs +105 -46
- package/dist/components/Canvas/media/Player.mjs +0 -55
- package/dist/components/Canvas/media/Transport.mjs +14 -23
- package/dist/components/Canvas/panClearOfControls.mjs +1 -1
- package/dist/components/Collection/Collection.mjs +1 -1
- package/dist/components/Items/CountMenu.mjs +1 -0
- package/dist/components/Items/Item.mjs +4 -3
- package/dist/components/Items/Items.mjs +30 -10
- package/dist/components/Items/PagerLayout.mjs +2 -0
- package/dist/components/Items/TargetItems.mjs +1 -1
- package/dist/components/Items/masonry.mjs +35 -0
- package/dist/components/Panel/About.mjs +25 -8
- package/dist/components/Panel/Panel.mjs +47 -59
- package/dist/components/Panel/sections.mjs +62 -0
- package/dist/components/Root/useRootState.mjs +2 -49
- package/dist/components/Scene/SceneView.mjs +13 -2
- package/dist/components/Scene/cloverEngine.mjs +2 -1
- package/dist/components/Timeline/playerSurface.mjs +2 -0
- package/dist/core/clover.mjs +7 -4
- package/dist/core/content-state.mjs +5 -3
- package/dist/i18n/locales/en.json.mjs +1 -1
- package/dist/i18n/locales/es.json.mjs +1 -1
- package/dist/i18n/locales/fi.json.mjs +1 -1
- package/dist/i18n/locales/fr.json.mjs +1 -1
- package/dist/i18n/locales/nb.json.mjs +1 -1
- package/dist/i18n/locales/nn.json.mjs +1 -1
- package/dist/i18n/locales/no.json.mjs +1 -1
- package/dist/i18n/locales/pt.json.mjs +1 -1
- package/dist/index.d.mts +178 -56
- package/dist/index.mjs +2 -0
- package/dist/lib/gltf/load.mjs +26 -6
- package/dist/lib/pointer.mjs +1 -1
- package/dist/lib/renderer/CanvasRenderer.mjs +44 -32
- package/dist/lib/renderer/camera/Camera.mjs +1 -1
- package/dist/react/useContentStateOutput.mjs +71 -0
- package/dist/styles.css +1 -1
- package/dist/templates/default/Default.mjs +42 -128
- package/dist/templates/document/Document.mjs +51 -65
- package/dist/templates/document/Sheets.mjs +13 -5
- package/dist/templates/gallery/Gallery.mjs +94 -18
- package/dist/templates/index.d.mts +364 -17
- package/dist/templates/shared/Lightbox.mjs +161 -69
- package/dist/templates/shared/LightboxView.mjs +123 -0
- package/dist/templates/shared/PanelPane.mjs +116 -0
- package/dist/templates/{document/DocumentPanel.mjs → shared/PanelPart.mjs} +2 -2
- package/dist/templates/shared/dragToClose.mjs +51 -8
- package/dist/templates/shared/givenAnnotations.mjs +13 -0
- package/dist/templates/shared/useDragToClose.mjs +6 -3
- package/dist/templates/shared/useLazyPanelPane.mjs +16 -0
- package/dist/templates/shared/useSlide.mjs +6 -0
- package/dist/templates.css +1 -1
- package/dist/ui/ControlCluster.mjs +15 -17
- package/dist/ui/Sections.mjs +3 -3
- package/dist/ui/mediaIcons.mjs +35 -8
- package/dist/ui/useScrollTrack.mjs +2 -1
- package/dist/web-components/About-D1TBGGPL.mjs +1 -0
- package/dist/web-components/AnnotationItems-DTacmRA9.mjs +1 -0
- package/dist/web-components/{AnnotationMenu-BCwwwfbb.mjs → AnnotationMenu-DYc9ekWS.mjs} +1 -1
- package/dist/web-components/{AnnotationState-CavxnAAq.mjs → AnnotationState--5ghW0C2.mjs} +1 -1
- package/dist/web-components/{Annotations-rBmeI5sR.mjs → Annotations-BG8lPjk1.mjs} +1 -1
- package/dist/web-components/{Annotations-DDjSrBL5.mjs → Annotations-Bvc_FmJ5.mjs} +1 -1
- package/dist/web-components/Body-QQ1DmnbP.mjs +1 -0
- package/dist/web-components/{BodyAlert-COKp19lq.mjs → BodyAlert-A4xRjOKr.mjs} +1 -1
- package/dist/web-components/{Button-DLFYqtz9.mjs → Button-Cx6VE_UW.mjs} +1 -1
- package/dist/web-components/{Camera-Cp5ma-6C.mjs → Camera-DqT_1MgD.mjs} +1 -1
- package/dist/web-components/{Canvas2DBackend-3PToh87Z.mjs → Canvas2DBackend-TZtR3zHf.mjs} +1 -1
- package/dist/web-components/CanvasView-DxZASM9E.mjs +2 -0
- package/dist/web-components/CaptionDetails-DMRWmtaY.mjs +1 -0
- package/dist/web-components/ChaptersMenu-BAZVVDrK.mjs +1 -0
- package/dist/web-components/{Chevron-r-_hUPn8.mjs → Chevron-DFGbSGPI.mjs} +1 -1
- package/dist/web-components/ChoiceMenu-C80kdxvq.mjs +1 -0
- package/dist/web-components/Collection-B4CxBsFL.mjs +1 -0
- package/dist/web-components/{CollectionSelect-CBWUbqQi.mjs → CollectionSelect-DO8YO2p7.mjs} +1 -1
- package/dist/web-components/{Connected-BnpxYeJN.mjs → Connected-CcbVqzmj.mjs} +1 -1
- package/dist/web-components/{Connected-B2d6EoFl.mjs → Connected-DthCPaHl.mjs} +1 -1
- package/dist/web-components/{Connected-BSRM9FJY.mjs → Connected-sYBn_9MK.mjs} +1 -1
- package/dist/web-components/{Contents-D7FPxSH-.mjs → Contents-AVPYYXht.mjs} +1 -1
- package/dist/web-components/ControlMenu-BjJsWnuZ.mjs +1 -0
- package/dist/web-components/ControlsFade-C-6WhSxB.mjs +1 -0
- package/dist/web-components/{CountMenu-DyTp_J4k.mjs → CountMenu-Dx8D_RJZ.mjs} +1 -1
- package/dist/web-components/Cue-xuo5dgKE.mjs +1 -0
- package/dist/web-components/Document-BWdafeEi.mjs +1 -0
- package/dist/web-components/{DomLayers-CTGub6wo.mjs → DomLayers-DlRapZ1u.mjs} +1 -1
- package/dist/web-components/{Download-BOYNIb7C.mjs → Download-Ci_JUTVd.mjs} +1 -1
- package/dist/web-components/{EntryBodies-Bfd2Z42z.mjs → EntryBodies-C0ICfS2R.mjs} +1 -1
- package/dist/web-components/{EntryThumbnail-DQE8ajI9.mjs → EntryThumbnail-DxHhfRo_.mjs} +1 -1
- package/dist/web-components/{FieldPill-D5DNJWLy.mjs → FieldPill-CVfeeafm.mjs} +1 -1
- package/dist/web-components/FrameAnimation-AZpVvu0R.mjs +1 -0
- package/dist/web-components/Gallery-C2PTJmvN.mjs +1 -0
- package/dist/web-components/{HideToggle-DL911R1Z.mjs → HideToggle-0nlIo-f8.mjs} +1 -1
- package/dist/web-components/ImageControls-tKVAMpaj.mjs +1 -0
- package/dist/web-components/Items-Drd82_Jj.mjs +1 -0
- package/dist/web-components/Label-BIjqJ-_T.mjs +1 -0
- package/dist/web-components/{LanguageChoice-DT1UPiDn.mjs → LanguageChoice-DkSc-n6g.mjs} +1 -1
- package/dist/web-components/LightboxView-Cuqx2H1m.mjs +1 -0
- package/dist/web-components/ListEnd-pq-BgaDI.mjs +1 -0
- package/dist/web-components/{Loaded-BWfEBJyg.mjs → Loaded-CSO5NFhm.mjs} +1 -1
- package/dist/web-components/LoadedCanvas-DK6xMmM1.mjs +1 -0
- package/dist/web-components/LoadedMap-DmPH-LKY.mjs +1 -0
- package/dist/web-components/{Loading-zw74TdAz.mjs → Loading-CoJLSRkv.mjs} +1 -1
- package/dist/web-components/{Map--dJhk0_0.mjs → Map-BEVtD52O.mjs} +1 -1
- package/dist/web-components/MapView-DHJcn9gW.mjs +3 -0
- package/dist/web-components/Markup-Hm6bWOjm.mjs +2 -0
- package/dist/web-components/MediaBody-BpgNtpKZ.mjs +1 -0
- package/dist/web-components/MediaBody-Co23JjUJ.mjs +1 -0
- package/dist/web-components/{NavDate-BQHuyLOC.mjs → NavDate-CYNK0Qmp.mjs} +1 -1
- package/dist/web-components/{Navigator-B3U21_ti.mjs → Navigator-DrYPepzN.mjs} +1 -1
- package/dist/web-components/{Pager-DnJknq92.mjs → Pager-CN4lHURv.mjs} +1 -1
- package/dist/web-components/PagerLayout-DeqnSQcF.mjs +1 -0
- package/dist/web-components/Panel-CFYUlXup.mjs +1 -0
- package/dist/web-components/PanelPart-CpUIRbxr.mjs +1 -0
- package/dist/web-components/{PanelToggle-CFtWIeWv.mjs → PanelToggle-9ud55NNI.mjs} +1 -1
- package/dist/web-components/{PartOfManifest-F87jIrf9.mjs → PartOfManifest-KUHUq-6q.mjs} +1 -1
- package/dist/web-components/{Pending-CYAQajKu.mjs → Pending-mcmdyZPA.mjs} +1 -1
- package/dist/web-components/PlaceBox-DX4ZLDat.mjs +1 -0
- package/dist/web-components/Placeholder-0hE8q-SY.mjs +1 -0
- package/dist/web-components/{Position-BkWBRBfW.mjs → Position-DO5qg5Sp.mjs} +1 -1
- package/dist/web-components/{Primitives-BmODPlnK.mjs → Primitives-c9sIz0oQ.mjs} +1 -1
- package/dist/web-components/Provider-a3xY016W.mjs +1 -0
- package/dist/web-components/{ReadMore-BwGFsLS2.mjs → ReadMore-D_WmmKEP.mjs} +1 -1
- package/dist/web-components/Root-CU1o0wje.mjs +1 -0
- package/dist/web-components/Scene-CboEeptc.mjs +1 -0
- package/dist/web-components/SceneView-hcc78jQT.mjs +1 -0
- package/dist/web-components/{Search-CbmK9vLp.mjs → Search-BgxEW1UT.mjs} +1 -1
- package/dist/web-components/{Sections-Dy5_pkyQ.mjs → Sections-DZVrhoAC.mjs} +2 -2
- package/dist/web-components/{StandaloneItems-BmUnBp0H.mjs → StandaloneItems-6cSw7nbF.mjs} +1 -1
- package/dist/web-components/{Status-Dww3Pyf4.mjs → Status-DHTzuTkh.mjs} +1 -1
- package/dist/web-components/{Steps-o_UprQfZ.mjs → Steps-Dkpy9KiJ.mjs} +1 -1
- package/dist/web-components/{TargetItems-BBOGDubv.mjs → TargetItems-CyOI9_Z4.mjs} +1 -1
- package/dist/web-components/Timeline-B9tD3Rar.mjs +1 -0
- package/dist/web-components/{Tip-BbexILXs.mjs → Tip-nJSTYquc.mjs} +1 -1
- package/dist/web-components/{Transcript-ZVXM3ZDA.mjs → Transcript-WvFFAJQM.mjs} +1 -1
- package/dist/web-components/Transport-FxLp_bdW.mjs +1 -0
- package/dist/web-components/Transport-VUxSEIQO.mjs +1 -0
- package/dist/web-components/{annotation-collection-7SS1ELcO.mjs → annotation-collection-BkC3nBPA.mjs} +1 -1
- package/dist/web-components/{annotation-name-CYkZopdd.mjs → annotation-name-Du2KAWoD.mjs} +1 -1
- package/dist/web-components/{annotations-content-Bdtn50sf.mjs → annotations-content-CEzAS-P2.mjs} +1 -1
- package/dist/web-components/{body-CkOBHlJ0.mjs → body-DPlfbLt3.mjs} +1 -1
- package/dist/web-components/canvas-BUwBftJW.mjs +1 -0
- package/dist/web-components/cloverEngine-UNw5K4Xg.mjs +164 -0
- package/dist/web-components/{content-state-reader-Ahh6artg.mjs → content-state-reader-GgQF2MvJ.mjs} +1 -1
- package/dist/web-components/{controls-BJrZVQkS.mjs → controls-CC9G5LxK.mjs} +1 -1
- package/dist/web-components/custom-elements.json +191 -45
- package/dist/web-components/{downloads-CqVWo-yn.mjs → downloads-CmAYeEIz.mjs} +1 -1
- package/dist/web-components/dragToClose-DK-eM097.mjs +1 -0
- package/dist/web-components/{engine-B-sscpLa.mjs → engine-Dok0z8WP.mjs} +1 -1
- package/dist/web-components/{engines-DfCHjbt3.mjs → engines-BD2IfwQF.mjs} +1 -1
- package/dist/web-components/es-B1NvdYp-.mjs +1 -0
- package/dist/web-components/{fetchManifest-BIzne1Pj.mjs → fetchManifest-tQXcfFiz.mjs} +1 -1
- package/dist/web-components/fi-BjtYZNLo.mjs +1 -0
- package/dist/web-components/fr-Cd22Lziw.mjs +1 -0
- package/dist/web-components/fromManifest-BwQdeAuL.mjs +1 -0
- package/dist/web-components/glyphs-dp_HK3Ja.mjs +1 -0
- package/dist/web-components/hooks-C4dJ5K_D.mjs +1 -0
- package/dist/web-components/image-layers-xcBsiad9.mjs +1 -0
- package/dist/web-components/{imageService-0eTvQ-3h.mjs → imageService-4sFnmAFX.mjs} +1 -1
- package/dist/web-components/index-DspT4wUm.mjs +1 -0
- package/dist/web-components/index.d.mts +5 -5
- package/dist/web-components/index.mjs +1 -1
- package/dist/web-components/items-BUmOy2QY.mjs +1 -0
- package/dist/web-components/items-CWMI53aN.mjs +1 -0
- package/dist/web-components/label-BGjL7I4b.mjs +1 -0
- package/dist/web-components/layout-B29v2RKK.mjs +1 -0
- package/dist/web-components/{link-GEdiEwlR.mjs → link-Ct5PpHEY.mjs} +1 -1
- package/dist/web-components/logo-BFstM-0a.mjs +1 -0
- package/dist/web-components/masonry-0QfzOgbB.mjs +1 -0
- package/dist/web-components/{models-59cEeiAA.mjs → models-BXcT4ijX.mjs} +1 -1
- package/dist/web-components/nb-CEwZDBiR.mjs +1 -0
- package/dist/web-components/nn-jYQhr9RI.mjs +1 -0
- package/dist/web-components/no-CEwZDBiR.mjs +1 -0
- package/dist/web-components/{nodes-CTw9OqlA.mjs → nodes-BleXuYE6.mjs} +1 -1
- package/dist/web-components/{overlayImage-BMt4UTlR.mjs → overlayImage-BJtfot4Y.mjs} +1 -1
- package/dist/web-components/panClearOfControls-Cn2ZXsZi.mjs +1 -0
- package/dist/web-components/{panel-C17Rl9Ya.mjs → panel-BxxV_JkD.mjs} +1 -1
- package/dist/web-components/part-D4gjnYmT.mjs +1 -0
- package/dist/web-components/playerSurface-BXNLaFk0.mjs +1 -0
- package/dist/web-components/pointer-CJELU3gI.mjs +1 -0
- package/dist/web-components/{provider-BpxorEiq.mjs → provider-CPp0Sgr_.mjs} +1 -1
- package/dist/web-components/pt-CWR30SzS.mjs +1 -0
- package/dist/web-components/{range-regions-BGQy4E9U.mjs → range-regions-DAaOu0IS.mjs} +1 -1
- package/dist/web-components/{read-more-BDM_6CVc.mjs → read-more-lcqGslUd.mjs} +1 -1
- package/dist/web-components/readingLanguages-FyVsSWJ8.mjs +1 -0
- package/dist/web-components/rendererSurface-nh6-EfuZ.mjs +22 -0
- package/dist/web-components/{renderers-CiB74bQh.mjs → renderers-BFS7hFVU.mjs} +1 -1
- package/dist/web-components/{resource-CRbpf9pX.mjs → resource-Bufu7lAr.mjs} +1 -1
- package/dist/web-components/{save-file-CCuZEuQr.mjs → save-file-CoknKOPz.mjs} +1 -1
- package/dist/web-components/search-5ocrsYmT.mjs +1 -0
- package/dist/web-components/shared-DFAX0n3B.mjs +1 -0
- package/dist/web-components/{show-link-BXm7SNIC.mjs → show-link-DBaJj4s_.mjs} +1 -1
- package/dist/web-components/{sizedImage-k4Q-eyOB.mjs → sizedImage-jnOGcIIZ.mjs} +1 -1
- package/dist/web-components/{split-Hp6z-v4h.mjs → split-P6J0qqf5.mjs} +1 -1
- package/dist/web-components/{status-BmtuKfAG.mjs → status-honoOMNx.mjs} +1 -1
- package/dist/web-components/styles-BwkYiCLC.mjs +1 -0
- package/dist/web-components/three.mjs +1 -1
- package/dist/web-components/{thumbnail-Dp7a8oom.mjs → thumbnail-EbURh-UM.mjs} +1 -1
- package/dist/web-components/{tip-C-oovDZK.mjs → tip-BhNI83aT.mjs} +1 -1
- package/dist/web-components/{toggle-C7ODWDEZ.mjs → toggle-CJKdi5KH.mjs} +1 -1
- package/dist/web-components/{useContainerName-CrOmY-km.mjs → useContainerName-_48Cdi0m.mjs} +1 -1
- package/dist/web-components/useControlsVisibility-CieBxGnK.mjs +1 -0
- package/dist/web-components/useLazyPanelPane-Da3kJiOt.mjs +1 -0
- package/dist/web-components/{useNearViewport-BqXi9Gn4.mjs → useNearViewport-B34ebmIW.mjs} +1 -1
- package/dist/web-components/useScrollTrack-DgRGFeP5.mjs +1 -0
- package/dist/web-components/viewer/AnnotationItems-BNA_92Dv.mjs +1 -0
- package/dist/web-components/viewer/{AnnotationMenu-DPOSehBo.mjs → AnnotationMenu-BIQYVR4N.mjs} +1 -1
- package/dist/web-components/viewer/AnnotationState-BbwQqA1U.mjs +1 -0
- package/dist/web-components/viewer/Annotations-CZzOZAFP.mjs +2 -0
- package/dist/web-components/viewer/Annotations-P4XzAlNc.mjs +1 -0
- package/dist/web-components/viewer/{Canvas2DBackend-BTK6ZJh0.mjs → Canvas2DBackend-DFfCzyjL.mjs} +1 -1
- package/dist/web-components/viewer/CaptionDetails-DPtE-RQQ.mjs +1 -0
- package/dist/web-components/viewer/ChaptersMenu-D6Jmujag.mjs +1 -0
- package/dist/web-components/viewer/{ChoiceMenu-DQ1x572Y.mjs → ChoiceMenu-GkqyTQRQ.mjs} +1 -1
- package/dist/web-components/viewer/Collection-DjY_6qa6.mjs +1 -0
- package/dist/web-components/viewer/Connected-D5T-mtiy.mjs +1 -0
- package/dist/web-components/viewer/Connected-DIOuI3Mv.mjs +1 -0
- package/dist/web-components/viewer/Contents-DV-VxXuf.mjs +1 -0
- package/dist/web-components/viewer/ControlMenu-BsEpff6N.mjs +1 -0
- package/dist/web-components/viewer/ControlsFade-BowtN96W.mjs +1 -0
- package/dist/web-components/viewer/{CountMenu-4u6U6yqb.mjs → CountMenu-DCmA6HdK.mjs} +1 -1
- package/dist/web-components/viewer/Cue-BjbVzrpl.mjs +1 -0
- package/dist/web-components/viewer/Document-4ZQd3W3o.mjs +1 -0
- package/dist/web-components/viewer/{DomLayers-CGkDtemL.mjs → DomLayers-BCwCxPDU.mjs} +1 -1
- package/dist/web-components/viewer/Download-CL4IClAD.mjs +1 -0
- package/dist/web-components/viewer/EntryBodies-e40y47bl.mjs +1 -0
- package/dist/web-components/viewer/EntryThumbnail-B_dP3w4o.mjs +1 -0
- package/dist/web-components/viewer/{FieldPill-DFXGWrvB.mjs → FieldPill-Hse1cDBE.mjs} +1 -1
- package/dist/web-components/viewer/FrameAnimation-CE218DCr.mjs +1 -0
- package/dist/web-components/viewer/Gallery-F2sVj4ph.mjs +1 -0
- package/dist/web-components/viewer/{HideToggle-DP5kHzWM.mjs → HideToggle-CYoqe_ez.mjs} +1 -1
- package/dist/web-components/viewer/ImageControls-C2G4x2Es.mjs +1 -0
- package/dist/web-components/viewer/LanguageChoice-BmO-322r.mjs +1 -0
- package/dist/web-components/viewer/LightboxView-DKR8dXcg.mjs +1 -0
- package/dist/web-components/viewer/ListEnd-DX1jsvJk.mjs +1 -0
- package/dist/web-components/viewer/{MapView-BN9wXQKV.mjs → MapView-Df0wZjCh.mjs} +2 -2
- package/dist/web-components/viewer/MediaBody-CataNonO.mjs +1 -0
- package/dist/web-components/viewer/MediaBody-SkIgrEMj.mjs +1 -0
- package/dist/web-components/viewer/{NavDate-C2-wwLuB.mjs → NavDate-BZgeaMG9.mjs} +1 -1
- package/dist/web-components/viewer/{Navigator-C3jghOd3.mjs → Navigator-Co76p-1n.mjs} +1 -1
- package/dist/web-components/viewer/PagerLayout-tUkN1-FV.mjs +1 -0
- package/dist/web-components/viewer/PanelPart-Cl4Sst60.mjs +1 -0
- package/dist/web-components/viewer/{PartOfManifest-D22yMgCf.mjs → PartOfManifest-DXnbEPzS.mjs} +1 -1
- package/dist/web-components/viewer/PlaceBox-xrJ4CGdN.mjs +1 -0
- package/dist/web-components/viewer/Placeholder-B1AcizHL.mjs +1 -0
- package/dist/web-components/viewer/Search-DTg1cHZ3.mjs +1 -0
- package/dist/web-components/viewer/StandaloneItems-BpBEQG8i.mjs +1 -0
- package/dist/web-components/viewer/{Steps-Bw32X5xO.mjs → Steps-SpwMQdCL.mjs} +1 -1
- package/dist/web-components/viewer/{TargetItems-DLhUH1Gq.mjs → TargetItems-B6Icep5k.mjs} +1 -1
- package/dist/web-components/viewer/Transcript-rTAhuXCF.mjs +1 -0
- package/dist/web-components/viewer/Transport-vKIDALE-.mjs +1 -0
- package/dist/web-components/viewer/Transport-z_kdVisw.mjs +1 -0
- package/dist/web-components/viewer/annotation-collection-B7pZiLVk.mjs +1 -0
- package/dist/web-components/viewer/annotation-name-BKj1O9lA.mjs +1 -0
- package/dist/web-components/viewer/{annotations-content-CbA3eOIC.mjs → annotations-content-9AtLlPNn.mjs} +1 -1
- package/dist/web-components/viewer/cloverEngine-jRrYLrWa.mjs +164 -0
- package/dist/web-components/viewer/{content-state-reader-C7UBMOq3.mjs → content-state-reader-CPvkju6Q.mjs} +1 -1
- package/dist/web-components/viewer/dragToClose-Co9kGk9q.mjs +1 -0
- package/dist/web-components/viewer/{fetchManifest-C2Yxg3x9.mjs → fetchManifest-D7N9WhhF.mjs} +1 -1
- package/dist/web-components/viewer/{host-CZeyjCKR.mjs → host-DMD9LE4H.mjs} +1 -1
- package/dist/web-components/viewer/image-layers-x_shzPvu.mjs +1 -0
- package/dist/web-components/viewer/index.mjs +1 -1
- package/dist/web-components/viewer/{link-DssZ0Z2N.mjs → link-DikPGzNO.mjs} +1 -1
- package/dist/web-components/viewer/overlayImage-33kKKB0T.mjs +1 -0
- package/dist/web-components/viewer/range-regions-TH6WWGTT.mjs +1 -0
- package/dist/web-components/viewer/{renderers-DLoqv3QO.mjs → renderers-BxePmixF.mjs} +1 -1
- package/dist/web-components/viewer/{save-file-CJT5p5Hg.mjs → save-file-QXKiPlST.mjs} +1 -1
- package/dist/web-components/viewer/{search-PhOwMKHi.mjs → search-B_NePyas.mjs} +1 -1
- package/dist/web-components/viewer/styles-Bedyz7_l.mjs +1 -0
- package/dist/web-components/viewer/useControlsVisibility-Cu-jTDzs.mjs +1 -0
- package/dist/web-components/viewer/useLazyPanelPane-BhLtRixT.mjs +1 -0
- package/dist/web-components/viewer/viewer-nfPJPwwt.mjs +29 -0
- package/dist/web-components/viewer/{vtt-1Pk7Dhsj.mjs → vtt-CUn4h5JB.mjs} +1 -1
- package/dist/web-components/viewer-DN2Mo3vc.mjs +1 -0
- package/dist/web-components/{vtt-CacHieeN.mjs → vtt-C5M5WPSG.mjs} +1 -1
- package/package.json +1 -1
- package/dist/templates/shared/LightboxBody.mjs +0 -9
- package/dist/web-components/About-DhOGPFaI.mjs +0 -1
- package/dist/web-components/AnnotationItems-CNP4CJiT.mjs +0 -1
- package/dist/web-components/Body-DaY1UJIy.mjs +0 -1
- package/dist/web-components/BodyUnloadable-DcTM7hHF.mjs +0 -1
- package/dist/web-components/CanvasView-BWQ4SK2b.mjs +0 -2
- package/dist/web-components/CaptionDetails-DSziiuQV.mjs +0 -1
- package/dist/web-components/ChoiceMenu-DTuEEUeM.mjs +0 -1
- package/dist/web-components/Collection-B9swJtPW.mjs +0 -1
- package/dist/web-components/ControlMenu-Crtho2cs.mjs +0 -1
- package/dist/web-components/Cue-CbZaGwZh.mjs +0 -1
- package/dist/web-components/Document-BfltLWZZ.mjs +0 -1
- package/dist/web-components/DocumentPanel-ZSe40cV4.mjs +0 -1
- package/dist/web-components/FrameAnimation-IfR1czfc.mjs +0 -1
- package/dist/web-components/Gallery-DD06BDQo.mjs +0 -1
- package/dist/web-components/Items-BHzT9A73.mjs +0 -1
- package/dist/web-components/Label-KabnxuMN.mjs +0 -1
- package/dist/web-components/LightboxBody-BhRhdXo6.mjs +0 -1
- package/dist/web-components/ListEnd-CbwNlty-.mjs +0 -1
- package/dist/web-components/LoadedCanvas-CdZ5WOWz.mjs +0 -1
- package/dist/web-components/LoadedMap-DQyQVRVQ.mjs +0 -1
- package/dist/web-components/MapView-duA5WGsu.mjs +0 -3
- package/dist/web-components/Markup-D-kioDf9.mjs +0 -2
- package/dist/web-components/MediaBody-CoOiVXcv.mjs +0 -1
- package/dist/web-components/MediaBody-d8ErTuwT.mjs +0 -1
- package/dist/web-components/PagerLayout-CvOmKtSW.mjs +0 -1
- package/dist/web-components/Panel-CIdjOznL.mjs +0 -1
- package/dist/web-components/PlaceBox-BtIbIotm.mjs +0 -1
- package/dist/web-components/Placeholder-TIyj4ZjR.mjs +0 -1
- package/dist/web-components/Provider-C8se8i4I.mjs +0 -1
- package/dist/web-components/Root-CAJB0-Mh.mjs +0 -1
- package/dist/web-components/Scene-Ctcdt7CD.mjs +0 -1
- package/dist/web-components/SceneView-B6bEx_7x.mjs +0 -1
- package/dist/web-components/Timeline-CfIF4APc.mjs +0 -1
- package/dist/web-components/canvas-CWf_Fag8.mjs +0 -1
- package/dist/web-components/cloverEngine-6djEHNCD.mjs +0 -164
- package/dist/web-components/dragToClose-C-Pf1IeO.mjs +0 -1
- package/dist/web-components/es-BYfHUZ7P.mjs +0 -1
- package/dist/web-components/fi-B5y2qr8T.mjs +0 -1
- package/dist/web-components/fr-ChezCx6V.mjs +0 -1
- package/dist/web-components/fromManifest-gg5Wx14y.mjs +0 -1
- package/dist/web-components/glyphs-JYl2STEr.mjs +0 -1
- package/dist/web-components/hooks-x7rO95CS.mjs +0 -1
- package/dist/web-components/image-layers-BjbeyHBS.mjs +0 -1
- package/dist/web-components/index-BZ7b9k0N.mjs +0 -1
- package/dist/web-components/items-CnAIl9fS.mjs +0 -1
- package/dist/web-components/items-F6hJgdAS.mjs +0 -1
- package/dist/web-components/label-CI88KH2_.mjs +0 -1
- package/dist/web-components/layout-De1MOSYe.mjs +0 -1
- package/dist/web-components/logo-Ckwj7FlP.mjs +0 -1
- package/dist/web-components/nb-8J22f9Td.mjs +0 -1
- package/dist/web-components/nn-Dv1EvzI1.mjs +0 -1
- package/dist/web-components/no-8J22f9Td.mjs +0 -1
- package/dist/web-components/panClearOfControls-ac9uf-Qs.mjs +0 -1
- package/dist/web-components/part-CXts97_M.mjs +0 -1
- package/dist/web-components/playerSurface-HYwEwPK6.mjs +0 -1
- package/dist/web-components/pt-DWYQkATt.mjs +0 -1
- package/dist/web-components/readingLanguages-fs_HqvqQ.mjs +0 -1
- package/dist/web-components/rendererSurface-C0aKlE0v.mjs +0 -22
- package/dist/web-components/search-CkM0O0Z1.mjs +0 -1
- package/dist/web-components/shared-MTsMddHx.mjs +0 -1
- package/dist/web-components/styles-CZV1nbBQ.mjs +0 -1
- package/dist/web-components/useScrollTrack-CEsOU2yT.mjs +0 -1
- package/dist/web-components/viewer/AnnotationItems-CyhVcRFc.mjs +0 -1
- package/dist/web-components/viewer/AnnotationState-Bjztkobn.mjs +0 -1
- package/dist/web-components/viewer/Annotations-Dh_8Tzi0.mjs +0 -2
- package/dist/web-components/viewer/Annotations-wwuOCxzI.mjs +0 -1
- package/dist/web-components/viewer/CaptionDetails-BwCTovy_.mjs +0 -1
- package/dist/web-components/viewer/Collection-DSBxCmXw.mjs +0 -1
- package/dist/web-components/viewer/Connected-CL3N8F2J.mjs +0 -1
- package/dist/web-components/viewer/Connected-DTk1jlyI.mjs +0 -1
- package/dist/web-components/viewer/Contents-DrXckx7d.mjs +0 -1
- package/dist/web-components/viewer/ControlMenu-Bp91s-g_.mjs +0 -1
- package/dist/web-components/viewer/Cue-C-aF8peC.mjs +0 -1
- package/dist/web-components/viewer/Document-BN1rICu3.mjs +0 -1
- package/dist/web-components/viewer/DocumentPanel-CEesxdeY.mjs +0 -1
- package/dist/web-components/viewer/Download-CawEl9MN.mjs +0 -1
- package/dist/web-components/viewer/EntryBodies-nYHMwSSM.mjs +0 -1
- package/dist/web-components/viewer/EntryThumbnail-DrO_0SzR.mjs +0 -1
- package/dist/web-components/viewer/FrameAnimation-CZfzpxaD.mjs +0 -1
- package/dist/web-components/viewer/Gallery-MWHtvjti.mjs +0 -1
- package/dist/web-components/viewer/LanguageChoice-C50T7dPI.mjs +0 -1
- package/dist/web-components/viewer/LightboxBody-C2T7IC29.mjs +0 -1
- package/dist/web-components/viewer/ListEnd-BDuOx__m.mjs +0 -1
- package/dist/web-components/viewer/MediaBody-CEyswliX.mjs +0 -1
- package/dist/web-components/viewer/MediaBody-Dw3DWDjc.mjs +0 -1
- package/dist/web-components/viewer/PagerLayout-Cg2NpqoD.mjs +0 -1
- package/dist/web-components/viewer/PlaceBox-Dckw4Sfk.mjs +0 -1
- package/dist/web-components/viewer/Placeholder-NYVWYg5Q.mjs +0 -1
- package/dist/web-components/viewer/Search-DC259m4f.mjs +0 -1
- package/dist/web-components/viewer/StandaloneItems-E4kpMne9.mjs +0 -1
- package/dist/web-components/viewer/Transcript-D_VGJQxn.mjs +0 -1
- package/dist/web-components/viewer/annotation-collection-DZHa18ir.mjs +0 -1
- package/dist/web-components/viewer/annotation-name-BaNdW2Xk.mjs +0 -1
- package/dist/web-components/viewer/cloverEngine-C04bCSFR.mjs +0 -164
- package/dist/web-components/viewer/image-layers-B09fporZ.mjs +0 -1
- package/dist/web-components/viewer/overlayImage-BR3eJCKq.mjs +0 -1
- package/dist/web-components/viewer/range-regions-By6L5JOK.mjs +0 -1
- package/dist/web-components/viewer/styles-NZLnZPAC.mjs +0 -1
- package/dist/web-components/viewer/viewer-D30YHqyF.mjs +0 -29
- package/dist/web-components/viewer-CH7re5OO.mjs +0 -1
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"type": {
|
|
45
45
|
"text": "string"
|
|
46
46
|
},
|
|
47
|
-
"description": "In a Collection, the Manifest to open first. The
|
|
47
|
+
"description": "In a Collection, the Manifest to open first. The others stay reachable from it."
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
50
|
"name": "language",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"type": {
|
|
59
59
|
"text": "boolean"
|
|
60
60
|
},
|
|
61
|
-
"description": "Clover's higher-contrast mode, for what is inside: the accent kept to rings, outlines and marks, never under words or a glyph, where the controls' dark fill takes its place, edged in the accent. On wherever the
|
|
61
|
+
"description": "Clover's higher-contrast mode, for what is inside: the accent kept to rings, outlines and marks, never under words or a glyph, where the controls' dark fill takes its place, edged in the accent. On wherever the system asks for more contrast, too.",
|
|
62
62
|
"default": "false"
|
|
63
63
|
},
|
|
64
64
|
{
|
|
@@ -87,11 +87,19 @@
|
|
|
87
87
|
{
|
|
88
88
|
"name": "items",
|
|
89
89
|
"type": {
|
|
90
|
-
"text": "\"slider\" | \"list\" | \"grid\" | \"false\""
|
|
90
|
+
"text": "\"slider\" | \"list\" | \"grid\" | \"masonry\" | \"false\""
|
|
91
91
|
},
|
|
92
|
-
"description": "Default:
|
|
92
|
+
"description": "Default and Gallery: Default's thumbnails, as a slider, list or grid, or \"false\" for none; Gallery's grid, as grid (its default) or masonry.",
|
|
93
93
|
"default": "slider"
|
|
94
94
|
},
|
|
95
|
+
{
|
|
96
|
+
"name": "single-item",
|
|
97
|
+
"type": {
|
|
98
|
+
"text": "boolean"
|
|
99
|
+
},
|
|
100
|
+
"description": "Default and Document: the thumbnails even where the resource has one view, which has nothing to choose between. Gallery's grid always shows them.",
|
|
101
|
+
"default": "false"
|
|
102
|
+
},
|
|
95
103
|
{
|
|
96
104
|
"name": "header",
|
|
97
105
|
"type": {
|
|
@@ -105,7 +113,7 @@
|
|
|
105
113
|
"type": {
|
|
106
114
|
"text": "boolean"
|
|
107
115
|
},
|
|
108
|
-
"description": "Default: \"false\" leaves out the information panel.",
|
|
116
|
+
"description": "Default and Gallery: \"false\" leaves out the information panel, Default's beside its Body, the Gallery's beside its lightbox's view.",
|
|
109
117
|
"default": "true"
|
|
110
118
|
},
|
|
111
119
|
{
|
|
@@ -113,7 +121,7 @@
|
|
|
113
121
|
"type": {
|
|
114
122
|
"text": "boolean"
|
|
115
123
|
},
|
|
116
|
-
"description": "Default and
|
|
124
|
+
"description": "Default, Document and Gallery: \"false\" leaves out the downloads: Default's and the Gallery's from a Download button beside its panel's About heading, Document's in its toolbar (its panel's About offers none).",
|
|
117
125
|
"default": "true"
|
|
118
126
|
},
|
|
119
127
|
{
|
|
@@ -121,7 +129,7 @@
|
|
|
121
129
|
"type": {
|
|
122
130
|
"text": "boolean"
|
|
123
131
|
},
|
|
124
|
-
"description": "Default and
|
|
132
|
+
"description": "Default, Document and Gallery: where what the resource says of itself comes in several languages, the panel's About heading offers them, and the whole Viewer reads in the one chosen. \"false\" leaves the choice out.",
|
|
125
133
|
"default": "true"
|
|
126
134
|
},
|
|
127
135
|
{
|
|
@@ -129,16 +137,31 @@
|
|
|
129
137
|
"type": {
|
|
130
138
|
"text": "boolean"
|
|
131
139
|
},
|
|
132
|
-
"description": "Default and
|
|
140
|
+
"description": "Default, Document and Gallery: whether the information panel starts open beside the page (the Gallery's, beside its lightbox's view). Default's and the Gallery's do, by default; Document's starts shut. Where it would slide over the page (a phone), it starts shut."
|
|
133
141
|
},
|
|
134
142
|
{
|
|
135
143
|
"name": "panel-layout",
|
|
136
144
|
"type": {
|
|
137
145
|
"text": "\"accordion\" | \"tabs\""
|
|
138
146
|
},
|
|
139
|
-
"description": "Default and
|
|
147
|
+
"description": "Default, Document and Gallery: the panel's sections as stacked boxes, each opened by its heading, or as tabs.",
|
|
140
148
|
"default": "accordion"
|
|
141
149
|
},
|
|
150
|
+
{
|
|
151
|
+
"name": "panel-sections",
|
|
152
|
+
"type": {
|
|
153
|
+
"text": "string"
|
|
154
|
+
},
|
|
155
|
+
"description": "Default, Document and Gallery: which of the panel's sections it may have, as a JSON array: [\"contents\",\"search\",\"transcript\",\"annotations\"] leaves out About and the rest. Each still shows only where the resource has data for it, and there is no panel where none of them does.",
|
|
156
|
+
"default": "every section"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"name": "panel-labels",
|
|
160
|
+
"type": {
|
|
161
|
+
"text": "string"
|
|
162
|
+
},
|
|
163
|
+
"description": "Default, Document and Gallery: what a panel section's tab or heading says, in place of Clover's own word for it, as JSON by the section's value: {\"annotations\": \"Chapters\"}, or a word by language tag to say it in several (clover-panel's labels)."
|
|
164
|
+
},
|
|
142
165
|
{
|
|
143
166
|
"name": "sidebar-open",
|
|
144
167
|
"type": {
|
|
@@ -151,7 +174,7 @@
|
|
|
151
174
|
"type": {
|
|
152
175
|
"text": "string"
|
|
153
176
|
},
|
|
154
|
-
"description": "Default and
|
|
177
|
+
"description": "Default, Document and Gallery: where the width chosen for a pane is remembered (localStorage); \"false\" forgets it."
|
|
155
178
|
},
|
|
156
179
|
{
|
|
157
180
|
"name": "fill",
|
|
@@ -161,6 +184,14 @@
|
|
|
161
184
|
"description": "Default: as tall as the box it is in, the Body taking what the header and the thumbnails leave.",
|
|
162
185
|
"default": "false"
|
|
163
186
|
},
|
|
187
|
+
{
|
|
188
|
+
"name": "collapse-controls",
|
|
189
|
+
"type": {
|
|
190
|
+
"text": "\"auto\" | \"always\""
|
|
191
|
+
},
|
|
192
|
+
"description": "Default, Document and Gallery: when the Body's view controls (zoom, the turns, reset, full screen) collapse behind one button, the Gallery's in its lightbox: auto, only where the row cannot hold them all; always, wherever there are any, leaving the media more room.",
|
|
193
|
+
"default": "auto"
|
|
194
|
+
},
|
|
164
195
|
{
|
|
165
196
|
"name": "size",
|
|
166
197
|
"type": {
|
|
@@ -168,6 +199,45 @@
|
|
|
168
199
|
},
|
|
169
200
|
"description": "Gallery: the size of a cell in the grid.",
|
|
170
201
|
"default": "10rem"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"name": "height",
|
|
205
|
+
"type": {
|
|
206
|
+
"text": "string"
|
|
207
|
+
},
|
|
208
|
+
"description": "Gallery: its height, auto (growing with its grid) or a CSS length, the grid scrolling under the header.",
|
|
209
|
+
"default": "auto"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"name": "gap",
|
|
213
|
+
"type": {
|
|
214
|
+
"text": "string"
|
|
215
|
+
},
|
|
216
|
+
"description": "Gallery: the space between the grid's cells, a CSS length. Its inset unless set."
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"name": "secondary",
|
|
220
|
+
"type": {
|
|
221
|
+
"text": "\"summary\" | \"navDate\" | \"none\""
|
|
222
|
+
},
|
|
223
|
+
"description": "Gallery: the line under each cell's label, where it has one: summary, navDate or none.",
|
|
224
|
+
"default": "summary"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"name": "summary",
|
|
228
|
+
"type": {
|
|
229
|
+
"text": "boolean"
|
|
230
|
+
},
|
|
231
|
+
"description": "Gallery: the resource's summary under the title, cut to two lines with Read more under it where it runs longer; \"false\" leaves it out.",
|
|
232
|
+
"default": "true"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"name": "lightbox-items",
|
|
236
|
+
"type": {
|
|
237
|
+
"text": "\"slider\" | \"pager\""
|
|
238
|
+
},
|
|
239
|
+
"description": "Gallery: how its lightbox moves on from the view it shows: a short strip of thumbnails (slider), or a pager, Previous, the position and Next.",
|
|
240
|
+
"default": "slider"
|
|
171
241
|
}
|
|
172
242
|
],
|
|
173
243
|
"members": [
|
|
@@ -210,14 +280,14 @@
|
|
|
210
280
|
"type": {
|
|
211
281
|
"text": "CustomEvent<{ canvasId: string }>"
|
|
212
282
|
},
|
|
213
|
-
"description": "The
|
|
283
|
+
"description": "The current Canvas changed."
|
|
214
284
|
},
|
|
215
285
|
{
|
|
216
286
|
"name": "clover-manifest-change",
|
|
217
287
|
"type": {
|
|
218
288
|
"text": "CustomEvent<{ manifestId: string }>"
|
|
219
289
|
},
|
|
220
|
-
"description": "In a Collection,
|
|
290
|
+
"description": "In a Collection, another Manifest opened."
|
|
221
291
|
},
|
|
222
292
|
{
|
|
223
293
|
"name": "clover-status-change",
|
|
@@ -231,7 +301,7 @@
|
|
|
231
301
|
"type": {
|
|
232
302
|
"text": "CustomEvent<{ json: Record<string, unknown>; encoded: string }>"
|
|
233
303
|
},
|
|
234
|
-
"description": "
|
|
304
|
+
"description": "The current view, as a IIIF content state, as it changes: at most every 100ms while it moves, and always its last place."
|
|
235
305
|
}
|
|
236
306
|
],
|
|
237
307
|
"slots": []
|
|
@@ -241,7 +311,7 @@
|
|
|
241
311
|
"customElement": true,
|
|
242
312
|
"tagName": "clover-root",
|
|
243
313
|
"name": "CloverRootElement",
|
|
244
|
-
"description": "The root of a layout of your own: it loads what it is given, holds
|
|
314
|
+
"description": "The root of a layout of your own: it loads what it is given, holds the current view, and gives every part inside it the same state. The page's markup inside it stays as written.",
|
|
245
315
|
"superclass": {
|
|
246
316
|
"name": "HTMLElement"
|
|
247
317
|
},
|
|
@@ -259,28 +329,28 @@
|
|
|
259
329
|
"type": {
|
|
260
330
|
"text": "string"
|
|
261
331
|
},
|
|
262
|
-
"description": "The Canvas to open on. Changed later,
|
|
332
|
+
"description": "The Canvas to open on. Changed later, the view moves there."
|
|
263
333
|
},
|
|
264
334
|
{
|
|
265
335
|
"name": "manifest-id",
|
|
266
336
|
"type": {
|
|
267
337
|
"text": "string"
|
|
268
338
|
},
|
|
269
|
-
"description": "In a Collection, the Manifest to open first. Changed later,
|
|
339
|
+
"description": "In a Collection, the Manifest to open first. Changed later, the view moves there."
|
|
270
340
|
},
|
|
271
341
|
{
|
|
272
342
|
"name": "language",
|
|
273
343
|
"type": {
|
|
274
344
|
"text": "string"
|
|
275
345
|
},
|
|
276
|
-
"description": "The language to read IIIF text in. The page's, then the
|
|
346
|
+
"description": "The language to read IIIF text in. The page's, then the browser's, by default."
|
|
277
347
|
},
|
|
278
348
|
{
|
|
279
349
|
"name": "high-contrast",
|
|
280
350
|
"type": {
|
|
281
351
|
"text": "boolean"
|
|
282
352
|
},
|
|
283
|
-
"description": "Clover's higher-contrast mode, for what is inside: the accent kept to rings, outlines and marks, never under words or a glyph, where the controls' dark fill takes its place, edged in the accent. On wherever the
|
|
353
|
+
"description": "Clover's higher-contrast mode, for what is inside: the accent kept to rings, outlines and marks, never under words or a glyph, where the controls' dark fill takes its place, edged in the accent. On wherever the system asks for more contrast, too.",
|
|
284
354
|
"default": "false"
|
|
285
355
|
},
|
|
286
356
|
{
|
|
@@ -303,7 +373,7 @@
|
|
|
303
373
|
"type": {
|
|
304
374
|
"text": "\"view\" | \"all\""
|
|
305
375
|
},
|
|
306
|
-
"description": "Whose referenced annotation pages to fetch: the view's as
|
|
376
|
+
"description": "Whose referenced annotation pages to fetch: the current view's as it changes, or every Canvas's at once.",
|
|
307
377
|
"default": "view"
|
|
308
378
|
},
|
|
309
379
|
{
|
|
@@ -370,14 +440,14 @@
|
|
|
370
440
|
"type": {
|
|
371
441
|
"text": "CustomEvent<{ canvasId: string }>"
|
|
372
442
|
},
|
|
373
|
-
"description": "The
|
|
443
|
+
"description": "The current Canvas changed."
|
|
374
444
|
},
|
|
375
445
|
{
|
|
376
446
|
"name": "clover-manifest-change",
|
|
377
447
|
"type": {
|
|
378
448
|
"text": "CustomEvent<{ manifestId: string }>"
|
|
379
449
|
},
|
|
380
|
-
"description": "In a Collection,
|
|
450
|
+
"description": "In a Collection, another Manifest opened."
|
|
381
451
|
},
|
|
382
452
|
{
|
|
383
453
|
"name": "clover-status-change",
|
|
@@ -391,7 +461,7 @@
|
|
|
391
461
|
"type": {
|
|
392
462
|
"text": "CustomEvent<{ json: Record<string, unknown>; encoded: string }>"
|
|
393
463
|
},
|
|
394
|
-
"description": "
|
|
464
|
+
"description": "The current view, as a IIIF content state, as it changes: at most every 100ms while it moves, and always its last place."
|
|
395
465
|
}
|
|
396
466
|
],
|
|
397
467
|
"slots": []
|
|
@@ -415,6 +485,14 @@
|
|
|
415
485
|
"default": "true",
|
|
416
486
|
"fieldName": "controls"
|
|
417
487
|
},
|
|
488
|
+
{
|
|
489
|
+
"name": "collapse-controls",
|
|
490
|
+
"type": {
|
|
491
|
+
"text": "\"auto\" | \"always\""
|
|
492
|
+
},
|
|
493
|
+
"description": "When the view's controls (zoom, the turns, reset, full screen) collapse behind one button, at the end of the controls' one row, so the row fits any width and leaves the media more room: auto, only where the row cannot hold them all; always, wherever there are any. Pressed, the button opens a tray of them beside the rest.",
|
|
494
|
+
"default": "auto"
|
|
495
|
+
},
|
|
418
496
|
{
|
|
419
497
|
"name": "navigator",
|
|
420
498
|
"type": {
|
|
@@ -436,7 +514,7 @@
|
|
|
436
514
|
"type": {
|
|
437
515
|
"text": "boolean"
|
|
438
516
|
},
|
|
439
|
-
"description": "Glide to a picked annotation, rather than frame it in one cut.
|
|
517
|
+
"description": "Glide to a picked annotation, rather than frame it in one cut. Where reduced motion is asked for, it cuts.",
|
|
440
518
|
"default": "false"
|
|
441
519
|
}
|
|
442
520
|
],
|
|
@@ -491,6 +569,13 @@
|
|
|
491
569
|
},
|
|
492
570
|
"description": "The view is laid out and fitted: its handle is here, and works from now on."
|
|
493
571
|
},
|
|
572
|
+
{
|
|
573
|
+
"name": "clover-content-state-change",
|
|
574
|
+
"type": {
|
|
575
|
+
"text": "CustomEvent<{ json: Record<string, unknown>; encoded: string }>"
|
|
576
|
+
},
|
|
577
|
+
"description": "The root's view, as a IIIF content state, as it changes, whatever draws it."
|
|
578
|
+
},
|
|
494
579
|
{
|
|
495
580
|
"name": "clover-annotation-active",
|
|
496
581
|
"type": {
|
|
@@ -503,7 +588,7 @@
|
|
|
503
588
|
"type": {
|
|
504
589
|
"text": "CustomEvent<{ caption: { id: string; language?: string } | null }>"
|
|
505
590
|
},
|
|
506
|
-
"description": "
|
|
591
|
+
"description": "A caption file was chosen in the Captions menu, or Off (null)."
|
|
507
592
|
},
|
|
508
593
|
{
|
|
509
594
|
"name": "clover-ended",
|
|
@@ -536,7 +621,7 @@
|
|
|
536
621
|
{
|
|
537
622
|
"name": "as",
|
|
538
623
|
"type": {
|
|
539
|
-
"text": "\"
|
|
624
|
+
"text": "\"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"span\" | \"label\" | \"figcaption\" | \"p\" | \"strong\" | \"em\" | \"div\""
|
|
540
625
|
},
|
|
541
626
|
"description": "The element to draw: span, p, div, strong, em, or a heading, h1 to h6, to fit the page's outline.",
|
|
542
627
|
"default": "span"
|
|
@@ -576,11 +661,19 @@
|
|
|
576
661
|
{
|
|
577
662
|
"name": "layout",
|
|
578
663
|
"type": {
|
|
579
|
-
"text": "\"slider\" | \"list\" | \"grid\" | \"pager\""
|
|
664
|
+
"text": "\"slider\" | \"list\" | \"grid\" | \"masonry\" | \"pager\""
|
|
580
665
|
},
|
|
581
|
-
"description": "A scrolling row, a column, a wrapping grid, or a pager: Previous, the position and Next, with no thumbnails.",
|
|
666
|
+
"description": "A scrolling row, a column, a wrapping grid, masonry (a grid whose pictures keep their proportions, packed in reading order), or a pager: Previous, the position and Next, with no thumbnails.",
|
|
582
667
|
"default": "slider"
|
|
583
668
|
},
|
|
669
|
+
{
|
|
670
|
+
"name": "secondary",
|
|
671
|
+
"type": {
|
|
672
|
+
"text": "\"summary\" | \"navDate\" | \"none\""
|
|
673
|
+
},
|
|
674
|
+
"description": "The line under an item's label, where it has one (a Collection's members do): its summary, its navDate, or none.",
|
|
675
|
+
"default": "summary"
|
|
676
|
+
},
|
|
584
677
|
{
|
|
585
678
|
"name": "size",
|
|
586
679
|
"type": {
|
|
@@ -636,6 +729,14 @@
|
|
|
636
729
|
"description": "Pixels to ask for each thumbnail's longer side.",
|
|
637
730
|
"default": "200"
|
|
638
731
|
},
|
|
732
|
+
{
|
|
733
|
+
"name": "single-item",
|
|
734
|
+
"type": {
|
|
735
|
+
"text": "boolean"
|
|
736
|
+
},
|
|
737
|
+
"description": "Inside a root: its views even where there is only one, as a gallery's grid does. The pager, with nothing to step to, still draws nothing.",
|
|
738
|
+
"default": "false"
|
|
739
|
+
},
|
|
639
740
|
{
|
|
640
741
|
"name": "language",
|
|
641
742
|
"type": {
|
|
@@ -648,7 +749,7 @@
|
|
|
648
749
|
"type": {
|
|
649
750
|
"text": "boolean"
|
|
650
751
|
},
|
|
651
|
-
"description": "Clover's higher-contrast mode, for what is inside: the accent kept to rings, outlines and marks, never under words or a glyph, where the controls' dark fill takes its place, edged in the accent. On wherever the
|
|
752
|
+
"description": "Clover's higher-contrast mode, for what is inside: the accent kept to rings, outlines and marks, never under words or a glyph, where the controls' dark fill takes its place, edged in the accent. On wherever the system asks for more contrast, too.",
|
|
652
753
|
"default": "false"
|
|
653
754
|
}
|
|
654
755
|
],
|
|
@@ -702,7 +803,7 @@
|
|
|
702
803
|
"customElement": true,
|
|
703
804
|
"tagName": "clover-position",
|
|
704
805
|
"name": "CloverPositionElement",
|
|
705
|
-
"description": "
|
|
806
|
+
"description": "The current position, as a count: Item 3 of 12. It keeps the room of its widest count, so nothing beside it moves.",
|
|
706
807
|
"superclass": {
|
|
707
808
|
"name": "HTMLElement"
|
|
708
809
|
},
|
|
@@ -1335,7 +1436,7 @@
|
|
|
1335
1436
|
"customElement": true,
|
|
1336
1437
|
"tagName": "clover-value",
|
|
1337
1438
|
"name": "CloverValueElement",
|
|
1338
|
-
"description": "Any IIIF language map in the
|
|
1439
|
+
"description": "Any IIIF language map in the defined language, read strictly by its format: text/html as sanitized HTML, text/plain as written, text/markdown as Markdown.",
|
|
1339
1440
|
"superclass": {
|
|
1340
1441
|
"name": "HTMLElement"
|
|
1341
1442
|
},
|
|
@@ -1723,7 +1824,7 @@
|
|
|
1723
1824
|
"type": {
|
|
1724
1825
|
"text": "boolean"
|
|
1725
1826
|
},
|
|
1726
|
-
"description": "Clover's higher-contrast mode, for what is inside: the accent kept to rings, outlines and marks, never under words or a glyph, where the controls' dark fill takes its place, edged in the accent. On wherever the
|
|
1827
|
+
"description": "Clover's higher-contrast mode, for what is inside: the accent kept to rings, outlines and marks, never under words or a glyph, where the controls' dark fill takes its place, edged in the accent. On wherever the system asks for more contrast, too.",
|
|
1727
1828
|
"default": "false"
|
|
1728
1829
|
}
|
|
1729
1830
|
],
|
|
@@ -1821,6 +1922,21 @@
|
|
|
1821
1922
|
"description": "Where what the resource says of itself comes in several languages, About's heading offers them, and the whole clover-root reads in the one chosen. \"false\" leaves the choice out.",
|
|
1822
1923
|
"default": "true"
|
|
1823
1924
|
},
|
|
1925
|
+
{
|
|
1926
|
+
"name": "sections",
|
|
1927
|
+
"type": {
|
|
1928
|
+
"text": "string"
|
|
1929
|
+
},
|
|
1930
|
+
"description": "Which of the default sections it may have, as a JSON array: [\"contents\",\"search\",\"transcript\",\"annotations\"] leaves out About and the rest. Each still shows only where the resource has data for it, and the panel draws nothing where none of them does. Its clover-tab children win over it.",
|
|
1931
|
+
"default": "every section"
|
|
1932
|
+
},
|
|
1933
|
+
{
|
|
1934
|
+
"name": "labels",
|
|
1935
|
+
"type": {
|
|
1936
|
+
"text": "string"
|
|
1937
|
+
},
|
|
1938
|
+
"description": "What a default section's tab or heading says, in place of Clover's own word for it, as JSON by the section's value: {\"annotations\": \"Chapters\"}, or {\"annotations\": {\"en\": \"Chapters\", \"de\": \"Kapitel\"}} to say it in several, read in the language Clover speaks and marked with it where that is not the page's."
|
|
1939
|
+
},
|
|
1824
1940
|
{
|
|
1825
1941
|
"name": "closable",
|
|
1826
1942
|
"type": {
|
|
@@ -1853,14 +1969,14 @@
|
|
|
1853
1969
|
"type": {
|
|
1854
1970
|
"text": "CustomEvent<{ value: string }>"
|
|
1855
1971
|
},
|
|
1856
|
-
"description": "
|
|
1972
|
+
"description": "A tab was chosen, or a box opened."
|
|
1857
1973
|
},
|
|
1858
1974
|
{
|
|
1859
1975
|
"name": "clover-close",
|
|
1860
1976
|
"type": {
|
|
1861
1977
|
"text": "CustomEvent<Record<string, never>>"
|
|
1862
1978
|
},
|
|
1863
|
-
"description": "
|
|
1979
|
+
"description": "Its close button was pressed. Cancel it (preventDefault) to keep the panel shown."
|
|
1864
1980
|
}
|
|
1865
1981
|
],
|
|
1866
1982
|
"slots": []
|
|
@@ -1924,7 +2040,7 @@
|
|
|
1924
2040
|
"type": {
|
|
1925
2041
|
"text": "CustomEvent<{ open: boolean }>"
|
|
1926
2042
|
},
|
|
1927
|
-
"description": "
|
|
2043
|
+
"description": "It was pressed, to show (open) or hide what it controls. Cancel it (preventDefault) to leave that as it is."
|
|
1928
2044
|
}
|
|
1929
2045
|
],
|
|
1930
2046
|
"slots": []
|
|
@@ -1934,7 +2050,7 @@
|
|
|
1934
2050
|
"customElement": true,
|
|
1935
2051
|
"tagName": "clover-split",
|
|
1936
2052
|
"name": "CloverSplitElement",
|
|
1937
|
-
"description": "Panes side by side, its clover-split-pane children, divided by clover-split-handle bars the
|
|
2053
|
+
"description": "Panes side by side, its clover-split-pane children, divided by clover-split-handle bars that share the width, dragged, clicked or moved by keyboard.",
|
|
1938
2054
|
"superclass": {
|
|
1939
2055
|
"name": "HTMLElement"
|
|
1940
2056
|
},
|
|
@@ -1944,7 +2060,7 @@
|
|
|
1944
2060
|
"type": {
|
|
1945
2061
|
"text": "string"
|
|
1946
2062
|
},
|
|
1947
|
-
"description": "Remember the sizes
|
|
2063
|
+
"description": "Remember the sizes chosen in localStorage under this key, so the layout opens at them next time."
|
|
1948
2064
|
}
|
|
1949
2065
|
],
|
|
1950
2066
|
"members": [],
|
|
@@ -2061,7 +2177,7 @@
|
|
|
2061
2177
|
"type": {
|
|
2062
2178
|
"text": "boolean"
|
|
2063
2179
|
},
|
|
2064
|
-
"description": "Clover's higher-contrast mode, for what is inside: the accent kept to rings, outlines and marks, never under words or a glyph, where the controls' dark fill takes its place, edged in the accent. On wherever the
|
|
2180
|
+
"description": "Clover's higher-contrast mode, for what is inside: the accent kept to rings, outlines and marks, never under words or a glyph, where the controls' dark fill takes its place, edged in the accent. On wherever the system asks for more contrast, too.",
|
|
2065
2181
|
"default": "false"
|
|
2066
2182
|
},
|
|
2067
2183
|
{
|
|
@@ -2073,6 +2189,14 @@
|
|
|
2073
2189
|
"default": "true",
|
|
2074
2190
|
"fieldName": "controls"
|
|
2075
2191
|
},
|
|
2192
|
+
{
|
|
2193
|
+
"name": "collapse-controls",
|
|
2194
|
+
"type": {
|
|
2195
|
+
"text": "\"auto\" | \"always\""
|
|
2196
|
+
},
|
|
2197
|
+
"description": "When the view's controls (zoom, the turns, reset, full screen) collapse behind one button, at the end of the controls' one row, so the row fits any width and leaves the media more room: auto, only where the row cannot hold them all; always, wherever there are any. Pressed, the button opens a tray of them beside the rest.",
|
|
2198
|
+
"default": "auto"
|
|
2199
|
+
},
|
|
2076
2200
|
{
|
|
2077
2201
|
"name": "navigator",
|
|
2078
2202
|
"type": {
|
|
@@ -2102,7 +2226,7 @@
|
|
|
2102
2226
|
"type": {
|
|
2103
2227
|
"text": "boolean"
|
|
2104
2228
|
},
|
|
2105
|
-
"description": "Glide to a picked annotation, rather than frame it in one cut.
|
|
2229
|
+
"description": "Glide to a picked annotation, rather than frame it in one cut. Where reduced motion is asked for, it cuts.",
|
|
2106
2230
|
"default": "false"
|
|
2107
2231
|
}
|
|
2108
2232
|
],
|
|
@@ -2181,12 +2305,19 @@
|
|
|
2181
2305
|
},
|
|
2182
2306
|
"description": "The view is laid out and fitted: its handle is here, and works from now on."
|
|
2183
2307
|
},
|
|
2308
|
+
{
|
|
2309
|
+
"name": "clover-content-state-change",
|
|
2310
|
+
"type": {
|
|
2311
|
+
"text": "CustomEvent<{ json: Record<string, unknown>; encoded: string }>"
|
|
2312
|
+
},
|
|
2313
|
+
"description": "Where it is, as a IIIF content state, as it changes: the Canvas within its Manifest, and the region in view or the media's time. Only for a Canvas loaded (iiif-content), handed as a property, or the root's."
|
|
2314
|
+
},
|
|
2184
2315
|
{
|
|
2185
2316
|
"name": "clover-annotation-select",
|
|
2186
2317
|
"type": {
|
|
2187
2318
|
"text": "CustomEvent<{ id: string | null }>"
|
|
2188
2319
|
},
|
|
2189
|
-
"description": "
|
|
2320
|
+
"description": "An annotation was picked, on the Body or in its menu; null when it is let go."
|
|
2190
2321
|
},
|
|
2191
2322
|
{
|
|
2192
2323
|
"name": "clover-annotation-active",
|
|
@@ -2200,7 +2331,7 @@
|
|
|
2200
2331
|
"type": {
|
|
2201
2332
|
"text": "CustomEvent<{ caption: { id: string; language?: string } | null }>"
|
|
2202
2333
|
},
|
|
2203
|
-
"description": "
|
|
2334
|
+
"description": "A caption file was chosen in the Captions menu, or Off (null)."
|
|
2204
2335
|
},
|
|
2205
2336
|
{
|
|
2206
2337
|
"name": "clover-ended",
|
|
@@ -2249,7 +2380,7 @@
|
|
|
2249
2380
|
"type": {
|
|
2250
2381
|
"text": "boolean"
|
|
2251
2382
|
},
|
|
2252
|
-
"description": "Clover's higher-contrast mode, for what is inside: the accent kept to rings, outlines and marks, never under words or a glyph, where the controls' dark fill takes its place, edged in the accent. On wherever the
|
|
2383
|
+
"description": "Clover's higher-contrast mode, for what is inside: the accent kept to rings, outlines and marks, never under words or a glyph, where the controls' dark fill takes its place, edged in the accent. On wherever the system asks for more contrast, too.",
|
|
2253
2384
|
"default": "false"
|
|
2254
2385
|
},
|
|
2255
2386
|
{
|
|
@@ -2313,12 +2444,19 @@
|
|
|
2313
2444
|
}
|
|
2314
2445
|
],
|
|
2315
2446
|
"events": [
|
|
2447
|
+
{
|
|
2448
|
+
"name": "clover-content-state-change",
|
|
2449
|
+
"type": {
|
|
2450
|
+
"text": "CustomEvent<{ json: Record<string, unknown>; encoded: string }>"
|
|
2451
|
+
},
|
|
2452
|
+
"description": "Where it is, as a IIIF content state, as it changes: the Timeline within its Manifest, and the time once it pauses or seeks."
|
|
2453
|
+
},
|
|
2316
2454
|
{
|
|
2317
2455
|
"name": "clover-caption-change",
|
|
2318
2456
|
"type": {
|
|
2319
2457
|
"text": "CustomEvent<{ caption: { id: string; language?: string } | null }>"
|
|
2320
2458
|
},
|
|
2321
|
-
"description": "
|
|
2459
|
+
"description": "A caption file was chosen in the Body's Captions menu, or Off (null)."
|
|
2322
2460
|
},
|
|
2323
2461
|
{
|
|
2324
2462
|
"name": "clover-ended",
|
|
@@ -2367,7 +2505,7 @@
|
|
|
2367
2505
|
"type": {
|
|
2368
2506
|
"text": "boolean"
|
|
2369
2507
|
},
|
|
2370
|
-
"description": "Clover's higher-contrast mode, for what is inside: the accent kept to rings, outlines and marks, never under words or a glyph, where the controls' dark fill takes its place, edged in the accent. On wherever the
|
|
2508
|
+
"description": "Clover's higher-contrast mode, for what is inside: the accent kept to rings, outlines and marks, never under words or a glyph, where the controls' dark fill takes its place, edged in the accent. On wherever the system asks for more contrast, too.",
|
|
2371
2509
|
"default": "false"
|
|
2372
2510
|
},
|
|
2373
2511
|
{
|
|
@@ -2411,7 +2549,7 @@
|
|
|
2411
2549
|
"type": {
|
|
2412
2550
|
"text": "{ request?: Record<string, unknown>; hideDelay?: number } | null"
|
|
2413
2551
|
},
|
|
2414
|
-
"description": "request: credentials and headers for the Scene and its models; hideDelay: how long the controls stay after a mouse stops, in milliseconds."
|
|
2552
|
+
"description": "request: credentials and headers for the Scene and its models; hideDelay: how long the controls stay after a mouse stops or a finger lifts, in milliseconds (3000)."
|
|
2415
2553
|
},
|
|
2416
2554
|
{
|
|
2417
2555
|
"kind": "field",
|
|
@@ -2422,7 +2560,15 @@
|
|
|
2422
2560
|
"description": "Which of the Body's controls it shows: false for none, or some ({ rotation: false }), in place of the attribute."
|
|
2423
2561
|
}
|
|
2424
2562
|
],
|
|
2425
|
-
"events": [
|
|
2563
|
+
"events": [
|
|
2564
|
+
{
|
|
2565
|
+
"name": "clover-content-state-change",
|
|
2566
|
+
"type": {
|
|
2567
|
+
"text": "CustomEvent<{ json: Record<string, unknown>; encoded: string }>"
|
|
2568
|
+
},
|
|
2569
|
+
"description": "The Scene shown, within its Manifest, as a IIIF content state, each time that changes. A content state carries no camera, so turning the models leaves it as it is."
|
|
2570
|
+
}
|
|
2571
|
+
],
|
|
2426
2572
|
"slots": []
|
|
2427
2573
|
},
|
|
2428
2574
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as i,c as f,
|
|
1
|
+
import{e as i,c as f,n as d,S as u,t as g,Y as h}from"./shared-DFAX0n3B.mjs";function c(s,t){const e=new Set,a=[];for(const r of s)for(const n of u(r==null?void 0:r.rendering)){const o=(n==null?void 0:n.id)??(n==null?void 0:n["@id"]);if(typeof o!="string"||e.has(o))continue;e.add(o);const l=g(n.label,t);a.push({id:o,label:l.text||n.format||o,lang:l.text?l.lang:void 0,format:n.format,hrefLang:h(n)})}return a}function p(){const{language:s}=i("Download"),t=f(a=>a.manifest),e=f(a=>d(a.manifest,a.canvasId));return{page:c(e,s),all:c([t],s)}}export{p as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as _}from"./viewer-DN2Mo3vc.mjs";const k=1/3,Y=.5,P=8,z="translate 240ms cubic-bezier(0.16, 1, 0.3, 1)",D=[120,_],A="cubic-bezier(0.33, 0.67, 0.67, 1)",E=new WeakMap;function O(t,n){let o=null,i="idle",a=0,S=0,s=0,d=1,e=1,c=[];const f=()=>{var r;return[t,(r=n.current.alongside)==null?void 0:r.current]},M=r=>{if(r.pointerType==="mouse"||!r.isPrimary||!n.current.enabled)return;o=r.pointerId,i="pending",a=r.clientX,S=r.clientY,s=0,d=t.getBoundingClientRect().width||1;const p=getComputedStyle(t).direction==="rtl";e=n.current.side==="end"!==p?1:-1,c=[[r.timeStamp,0]]},$=r=>{var h,v;if(r.pointerId!==o||i==="idle"||i==="scroll")return;const p=(r.clientX-a)*e,y=r.clientY-S;if(i==="pending"){if(Math.abs(y)>P&&Math.abs(y)>Math.abs(p)){i="scroll";return}if(p<P)return;i="drag",a=r.clientX,c=[[r.timeStamp,0]];try{(h=t.setPointerCapture)==null||h.call(t,r.pointerId)}catch{}u(f(),void 0,"none")}s=Math.max(0,(r.clientX-a)*e),u(f(),`${s*e}px 0`);const g=(v=n.current.scrim)==null?void 0:v.current;g&&(g.style.transition="none",g.style.opacity=String(1-s/d)),c.push([r.timeStamp,s]),c.length>5&&c.shift(),r.preventDefault()},m=r=>{var X,C,T;if(r.pointerId!==o)return;const p=i==="drag";if(i="idle",o=null,!p)return;t.addEventListener("click",b,{capture:true,once:true}),setTimeout(()=>t.removeEventListener("click",b,true),0);const[y,g]=c[0],[h,v]=c[c.length-1],I=h>y?(v-g)/(h-y):0,l=(X=n.current.scrim)==null?void 0:X.current,L=(C=window.matchMedia)==null?void 0:C.call(window,"(prefers-reduced-motion: reduce)").matches;if(s>d*k||I>Y){const x=L?0:Math.min(D[1],Math.max(D[0],2*(d-s)/Math.max(I,.001))),w=`${x}ms ${A}`;if(l&&(l.style.transition=`opacity ${w}`,l.style.opacity="0"),n.current.exits){u(f(),`${d*e}px 0`,`translate ${w}`),setTimeout(()=>n.current.onClose(),x);return}t.style.transition="none",t.style.translate="",t.style.transform=`translateX(${s*e}px)`,t.getBoundingClientRect(),t.style.transition=`transform ${w}`,t.style.transform=`var(--clover-template-out, translateX(${e*100}%))`,u([(T=n.current.alongside)==null?void 0:T.current],`${d*e}px 0`,`translate ${w}`),E.set(t,setTimeout(()=>R(t,n),x)),n.current.onClose();return}u(f(),"",L?"none":z),l&&(l.style.transition=L?"none":"opacity 240ms ease",l.style.opacity=""),setTimeout(()=>{i==="idle"&&!E.has(t)&&u(f(),void 0,"")},240)},b=r=>{r.stopPropagation(),r.preventDefault()};return t.addEventListener("pointerdown",M),t.addEventListener("pointermove",$,{passive:false}),t.addEventListener("pointerup",m),t.addEventListener("pointercancel",m),()=>{t.removeEventListener("pointerdown",M),t.removeEventListener("pointermove",$),t.removeEventListener("pointerup",m),t.removeEventListener("pointercancel",m)}}function F(t,n){E.has(t)&&!n.current.enabled||R(t,n)}function R(t,n){var i,a;clearTimeout(E.get(t)),E.delete(t),u([t,(i=n.current.alongside)==null?void 0:i.current],"",""),t.style.transform="";const o=(a=n.current.scrim)==null?void 0:a.current;o&&(o.style.opacity="",o.style.transition="")}function u(t,n,o){for(const i of t)i&&(o!==void 0&&(i.style.transition=o),n!==void 0&&(i.style.translate=n))}export{O as attach,F as reset};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{a0 as jc}from"./shared-DFAX0n3B.mjs";import{F as eu,c as tu,i as nu,M as iu}from"./models-BXcT4ijX.mjs";/**
|
|
2
2
|
* @license
|
|
3
3
|
* Copyright 2010-2026 Three.js Authors
|
|
4
4
|
* SPDX-License-Identifier: MIT
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const r=Symbol.for("@nulib/clover/scene-engines"),o=globalThis,c=o[r]??(o[r]=new Map);function s(e,n){c.set(e,n)}const t=()=>import("./cloverEngine-
|
|
1
|
+
const r=Symbol.for("@nulib/clover/scene-engines"),o=globalThis,c=o[r]??(o[r]=new Map);function s(e,n){c.set(e,n)}const t=()=>import("./cloverEngine-UNw5K4Xg.mjs");let i=false;function l(e="clover"){if(e==="clover")return t;const n=c.get(e);return n||(i||(i=true,console.warn(`Clover: no Scene engine "${e}"; drawing with Clover's.`)),t)}export{l as e,s as r};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a=JSON.parse('{"commonClose":"Cerrar","commonNext":"Siguiente","commonPrevious":"Anterior","commonSearch":"Buscar","commonViewAll":"Ver todo","controlShortcut":"{{label}} ({{shortcut}})","contentSearchLoading":"Cargando...","contentSearchPlaceholder":"Buscar","contentSearchResultsNone":"Sin resultados","contentSearchResult":"1 resultado","contentSearchResults":"{{count}} resultados","contentSearchError":"No se pudo completar la b\xFAsqueda.","contentSearchPosition":"Resultado {{index}} de {{total}}","contentSearchClear":"Borrar la b\xFAsqueda","canvasPosition":"Elemento {{index}} de {{total}}","canvasImage":"Imagen","bodyUnloadableImage":"No se pudo cargar esta imagen.","bodyUnloadableVideo":"No se pudo cargar este v\xEDdeo.","bodyUnloadableAudio":"No se pudo cargar este audio.","bodyUnloadableModel":"No se pudo cargar este modelo.","canvasRoleDescription":"imagen ampliable","canvasKeysImage":"Use las teclas de flecha para desplazar la imagen, con May\xFAs para avanzar m\xE1s, las teclas m\xE1s y menos para acercar y alejar, 0 para restablecer la vista, y R o May\xFAs+R para girar.","canvasKeysMedia":"Pulse Espacio o K para reproducir o pausar, J o L para retroceder o avanzar diez segundos, y M para silenciar o activar el sonido.","canvasKeysAnnotations":"Pulse Esc para quitar la selecci\xF3n de la anotaci\xF3n.","sceneModel":"Modelo 3D","sceneRoleDescription":"modelo 3D giratorio","sceneKeys":"Use las teclas de flecha para girar el modelo, con May\xFAs para avanzar m\xE1s, las teclas m\xE1s y menos para acercar y alejar, 0 para restablecer la vista, y R o May\xFAs+R para girarlo a la derecha o a la izquierda.","sceneRotateUp":"Girar hacia arriba","sceneRotateDown":"Girar hacia abajo","sceneRotate":"Girar","sceneResetView":"Restablecer la vista","statusLoading":"Cargando\u2026","statusError":"No se pudo cargar este contenido.","itemsLabel":"Elementos","download":"Descargar","downloadPage":"Esta p\xE1gina","downloadAll":"Todas las p\xE1ginas","templateSidebar":"Elementos","templateSidebarToggle":"Mostrar elementos","templateBack":"Volver","templateBackTo":"Volver a {{label}}","collectionLabel":"Colecci\xF3n","itemsScrollBack":"Mostrar elementos anteriores","itemsScrollForward":"Mostrar m\xE1s elementos","aboutRights":"Derechos","aboutDate":"Fecha","aboutHomepage":"P\xE1gina de inicio","aboutSeeAlso":"V\xE9ase tambi\xE9n","aboutProvider":"Proveedor","logo":"Logotipo","aboutManifest":"Manifiesto IIIF","aboutCanvas":"Lienzo IIIF","aboutPartOf":"Parte de","aboutOpenManifest":"Abrir el manifiesto completo","aboutCollection":"Colecci\xF3n IIIF","readingLanguage":"Idioma","annotationsHide":"Ocultar anotaciones","annotationsHideTip":"Ocultar","readMore":"Leer m\xE1s","readLess":"Leer menos","annotationsShow":"Ver en la imagen","annotationsShowTime":"Ver en la grabaci\xF3n","annotationsImage":"Imagen","annotationsLanguage":"Idioma","annotationsOpenLink":"Abrir el enlace","transcriptLabel":"Transcripci\xF3n","imageViewerOpen":"Abrir el visor de im\xE1genes","imageViewerClose":"Cerrar el visor de im\xE1genes","canvasChoice":"Alternativas","canvasViewerControls":"Controles del visor","canvasExpandControls":"Expandir los controles del visor","canvasCollapseControls":"Contraer los controles del visor","canvasScrollBack":"Mostrar controles anteriores","canvasScrollForward":"Mostrar m\xE1s controles","imageFullScreen":"Pantalla completa","imageExitFullScreen":"Salir de pantalla completa","imageResetZoom":"Restablecer zoom","imageRotateLeft":"Girar a la izquierda","imageRotateRight":"Girar a la derecha","imageZoomIn":"Acercar","imageZoomOut":"Alejar","informationPanelTabs":"Panel de informaci\xF3n","sectionsScrollBack":"Mostrar pesta\xF1as anteriores","sectionsScrollForward":"Mostrar m\xE1s pesta\xF1as","informationPanelClose":"Cerrar el panel de informaci\xF3n","informationPanelTabsAbout":"Acerca de","informationPanelTabsAnnotations":"Anotaciones","informationPanelTabsSearch":"Buscar","informationPanelTabsContents":"\xCDndice","contentsSectionsIn":"Secciones de","informationPanelTabsMap":"Mapa","informationPanelTabsCollection":"Colecci\xF3n","informationPanelTabsTargets":"Vistas","mapUnavailable":"No se pudo mostrar el mapa.","mapLabel":"Mapa","mapAttribution":"Cr\xE9ditos del mapa","mapPlaceUntitled":"Lugar {{number}}","mapOverlay":"Imagen georreferenciada","mapPlacesListed":"Lugares enumerados despu\xE9s del mapa: {{count}}","informationPanelToggle":"M\xE1s informaci\xF3n","playerPlay":"Reproducir","playerPause":"Pausar","playerMute":"Silenciar","playerUnmute":"Activar el sonido","playerVolume":"Volumen","playerSeek":"Posici\xF3n de reproducci\xF3n","playerCaptions":"Subt\xEDtulos","playerCaptionsOff":"Desactivados","playerChapters":"Cap\xEDtulos","playerFill":"Rellenar el marco","playerFit":"Ajustar al marco","frameRepeat":"Repetir","playerCurrentTime":"Tiempo actual","playerDuration":"Duraci\xF3n","splitHandle":"Cambiar el tama\xF1o de los paneles"}');export{a as default};
|