@abraca/junis 2.80.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/README.md +594 -0
- package/dist/module.d.mts +158 -0
- package/dist/module.json +12 -0
- package/dist/module.mjs +957 -0
- package/dist/runtime/assets/css/jun.css +13 -0
- package/dist/runtime/components/JunAnnouncement.d.vue.ts +3 -0
- package/dist/runtime/components/JunAnnouncement.vue +88 -0
- package/dist/runtime/components/JunAnnouncement.vue.d.ts +3 -0
- package/dist/runtime/components/JunAppreciate.d.vue.ts +6 -0
- package/dist/runtime/components/JunAppreciate.vue +71 -0
- package/dist/runtime/components/JunAppreciate.vue.d.ts +6 -0
- package/dist/runtime/components/JunBackgroundPhoto.d.vue.ts +3 -0
- package/dist/runtime/components/JunBackgroundPhoto.vue +23 -0
- package/dist/runtime/components/JunBackgroundPhoto.vue.d.ts +3 -0
- package/dist/runtime/components/JunBlobBackdrop.client.d.vue.ts +3 -0
- package/dist/runtime/components/JunBlobBackdrop.client.vue +120 -0
- package/dist/runtime/components/JunBlobBackdrop.client.vue.d.ts +3 -0
- package/dist/runtime/components/JunBreadcrumbs.d.vue.ts +16 -0
- package/dist/runtime/components/JunBreadcrumbs.vue +63 -0
- package/dist/runtime/components/JunBreadcrumbs.vue.d.ts +16 -0
- package/dist/runtime/components/JunCampfireChat.d.vue.ts +14 -0
- package/dist/runtime/components/JunCampfireChat.vue +136 -0
- package/dist/runtime/components/JunCampfireChat.vue.d.ts +14 -0
- package/dist/runtime/components/JunCampfirePanel.d.vue.ts +33 -0
- package/dist/runtime/components/JunCampfirePanel.vue +202 -0
- package/dist/runtime/components/JunCampfirePanel.vue.d.ts +33 -0
- package/dist/runtime/components/JunCampfirePresence.client.d.vue.ts +3 -0
- package/dist/runtime/components/JunCampfirePresence.client.vue +321 -0
- package/dist/runtime/components/JunCampfirePresence.client.vue.d.ts +3 -0
- package/dist/runtime/components/JunCampfireRoster.d.vue.ts +19 -0
- package/dist/runtime/components/JunCampfireRoster.vue +259 -0
- package/dist/runtime/components/JunCampfireRoster.vue.d.ts +19 -0
- package/dist/runtime/components/JunCampfireYou.d.vue.ts +10 -0
- package/dist/runtime/components/JunCampfireYou.vue +157 -0
- package/dist/runtime/components/JunCampfireYou.vue.d.ts +10 -0
- package/dist/runtime/components/JunDocSurface.d.vue.ts +34 -0
- package/dist/runtime/components/JunDocSurface.vue +117 -0
- package/dist/runtime/components/JunDocSurface.vue.d.ts +34 -0
- package/dist/runtime/components/JunFestivalPlayer.client.d.vue.ts +3 -0
- package/dist/runtime/components/JunFestivalPlayer.client.vue +471 -0
- package/dist/runtime/components/JunFestivalPlayer.client.vue.d.ts +3 -0
- package/dist/runtime/components/JunFooter.d.vue.ts +3 -0
- package/dist/runtime/components/JunFooter.vue +102 -0
- package/dist/runtime/components/JunFooter.vue.d.ts +3 -0
- package/dist/runtime/components/JunGlobeEditor.client.d.vue.ts +43 -0
- package/dist/runtime/components/JunGlobeEditor.client.vue +315 -0
- package/dist/runtime/components/JunGlobeEditor.client.vue.d.ts +43 -0
- package/dist/runtime/components/JunGlobeMap.client.d.vue.ts +58 -0
- package/dist/runtime/components/JunGlobeMap.client.vue +495 -0
- package/dist/runtime/components/JunGlobeMap.client.vue.d.ts +58 -0
- package/dist/runtime/components/JunHead.d.vue.ts +3 -0
- package/dist/runtime/components/JunHead.vue +79 -0
- package/dist/runtime/components/JunHead.vue.d.ts +3 -0
- package/dist/runtime/components/JunHorizontalTimeline.d.vue.ts +0 -0
- package/dist/runtime/components/JunHorizontalTimeline.vue +363 -0
- package/dist/runtime/components/JunHorizontalTimeline.vue.d.ts +0 -0
- package/dist/runtime/components/JunImagePopup.client.d.vue.ts +3 -0
- package/dist/runtime/components/JunImagePopup.client.vue +422 -0
- package/dist/runtime/components/JunImagePopup.client.vue.d.ts +3 -0
- package/dist/runtime/components/JunIntro.d.vue.ts +3 -0
- package/dist/runtime/components/JunIntro.vue +156 -0
- package/dist/runtime/components/JunIntro.vue.d.ts +3 -0
- package/dist/runtime/components/JunItemMenu.d.vue.ts +50 -0
- package/dist/runtime/components/JunItemMenu.vue +97 -0
- package/dist/runtime/components/JunItemMenu.vue.d.ts +50 -0
- package/dist/runtime/components/JunLinksRow.d.vue.ts +19 -0
- package/dist/runtime/components/JunLinksRow.vue +96 -0
- package/dist/runtime/components/JunLinksRow.vue.d.ts +19 -0
- package/dist/runtime/components/JunLogo.d.vue.ts +15 -0
- package/dist/runtime/components/JunLogo.vue +360 -0
- package/dist/runtime/components/JunLogo.vue.d.ts +15 -0
- package/dist/runtime/components/JunMedia.client.d.vue.ts +40 -0
- package/dist/runtime/components/JunMedia.client.vue +117 -0
- package/dist/runtime/components/JunMedia.client.vue.d.ts +40 -0
- package/dist/runtime/components/JunMosaicPane.client.d.vue.ts +24 -0
- package/dist/runtime/components/JunMosaicPane.client.vue +95 -0
- package/dist/runtime/components/JunMosaicPane.client.vue.d.ts +24 -0
- package/dist/runtime/components/JunNavigation.d.vue.ts +26 -0
- package/dist/runtime/components/JunNavigation.vue +1149 -0
- package/dist/runtime/components/JunNavigation.vue.d.ts +26 -0
- package/dist/runtime/components/JunNodePanel.client.d.vue.ts +3 -0
- package/dist/runtime/components/JunNodePanel.client.vue +23 -0
- package/dist/runtime/components/JunNodePanel.client.vue.d.ts +3 -0
- package/dist/runtime/components/JunNotFound.d.vue.ts +7 -0
- package/dist/runtime/components/JunNotFound.vue +137 -0
- package/dist/runtime/components/JunNotFound.vue.d.ts +7 -0
- package/dist/runtime/components/JunPageHero.d.vue.ts +25 -0
- package/dist/runtime/components/JunPageHero.vue +90 -0
- package/dist/runtime/components/JunPageHero.vue.d.ts +25 -0
- package/dist/runtime/components/JunPatternBackdrop.client.d.vue.ts +7 -0
- package/dist/runtime/components/JunPatternBackdrop.client.vue +95 -0
- package/dist/runtime/components/JunPatternBackdrop.client.vue.d.ts +7 -0
- package/dist/runtime/components/JunPeerCursors.client.d.vue.ts +3 -0
- package/dist/runtime/components/JunPeerCursors.client.vue +123 -0
- package/dist/runtime/components/JunPeerCursors.client.vue.d.ts +3 -0
- package/dist/runtime/components/JunPresenceBlobs.client.d.vue.ts +3 -0
- package/dist/runtime/components/JunPresenceBlobs.client.vue +172 -0
- package/dist/runtime/components/JunPresenceBlobs.client.vue.d.ts +3 -0
- package/dist/runtime/components/JunSearch.client.d.vue.ts +3 -0
- package/dist/runtime/components/JunSearch.client.vue +809 -0
- package/dist/runtime/components/JunSearch.client.vue.d.ts +3 -0
- package/dist/runtime/components/JunServiceCard.d.vue.ts +10 -0
- package/dist/runtime/components/JunServiceCard.vue +145 -0
- package/dist/runtime/components/JunServiceCard.vue.d.ts +10 -0
- package/dist/runtime/components/JunShaderBackdrop.client.d.vue.ts +3 -0
- package/dist/runtime/components/JunShaderBackdrop.client.vue +82 -0
- package/dist/runtime/components/JunShaderBackdrop.client.vue.d.ts +3 -0
- package/dist/runtime/components/JunShell.d.vue.ts +17 -0
- package/dist/runtime/components/JunShell.vue +80 -0
- package/dist/runtime/components/JunShell.vue.d.ts +17 -0
- package/dist/runtime/components/JunStudioBar.client.d.vue.ts +3 -0
- package/dist/runtime/components/JunStudioBar.client.vue +462 -0
- package/dist/runtime/components/JunStudioBar.client.vue.d.ts +3 -0
- package/dist/runtime/components/JunStudioLogin.client.d.vue.ts +3 -0
- package/dist/runtime/components/JunStudioLogin.client.vue +58 -0
- package/dist/runtime/components/JunStudioLogin.client.vue.d.ts +3 -0
- package/dist/runtime/components/JunThemeToggle.d.vue.ts +3 -0
- package/dist/runtime/components/JunThemeToggle.vue +32 -0
- package/dist/runtime/components/JunThemeToggle.vue.d.ts +3 -0
- package/dist/runtime/components/JunTravellersChip.d.vue.ts +9 -0
- package/dist/runtime/components/JunTravellersChip.vue +111 -0
- package/dist/runtime/components/JunTravellersChip.vue.d.ts +9 -0
- package/dist/runtime/components/JunVideoEmbed.client.d.vue.ts +23 -0
- package/dist/runtime/components/JunVideoEmbed.client.vue +124 -0
- package/dist/runtime/components/JunVideoEmbed.client.vue.d.ts +23 -0
- package/dist/runtime/components/css-modules.d.ts +7 -0
- package/dist/runtime/components/renderers/.gitkeep +0 -0
- package/dist/runtime/components/renderers/JunAppsRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunAppsRenderer.vue +271 -0
- package/dist/runtime/components/renderers/JunAppsRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunCinemaRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunCinemaRenderer.vue +465 -0
- package/dist/runtime/components/renderers/JunCinemaRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunConfigRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunConfigRenderer.vue +2045 -0
- package/dist/runtime/components/renderers/JunConfigRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunCvRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunCvRenderer.vue +256 -0
- package/dist/runtime/components/renderers/JunCvRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunEntryRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunEntryRenderer.vue +429 -0
- package/dist/runtime/components/renderers/JunEntryRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunFestivalRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunFestivalRenderer.vue +557 -0
- package/dist/runtime/components/renderers/JunFestivalRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunGlobeRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunGlobeRenderer.vue +91 -0
- package/dist/runtime/components/renderers/JunGlobeRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunGuestbookRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunGuestbookRenderer.vue +326 -0
- package/dist/runtime/components/renderers/JunGuestbookRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunHomeRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunHomeRenderer.vue +585 -0
- package/dist/runtime/components/renderers/JunHomeRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunJournalRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunJournalRenderer.vue +420 -0
- package/dist/runtime/components/renderers/JunJournalRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunLibraryRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunLibraryRenderer.vue +319 -0
- package/dist/runtime/components/renderers/JunLibraryRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunLinksRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunLinksRenderer.vue +206 -0
- package/dist/runtime/components/renderers/JunLinksRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunLiveRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunLiveRenderer.vue +684 -0
- package/dist/runtime/components/renderers/JunLiveRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunMosaicRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunMosaicRenderer.vue +572 -0
- package/dist/runtime/components/renderers/JunMosaicRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunMovieRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunMovieRenderer.vue +539 -0
- package/dist/runtime/components/renderers/JunMovieRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunNowRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunNowRenderer.vue +382 -0
- package/dist/runtime/components/renderers/JunNowRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunProjectRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunProjectRenderer.vue +413 -0
- package/dist/runtime/components/renderers/JunProjectRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunRedirectRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunRedirectRenderer.vue +133 -0
- package/dist/runtime/components/renderers/JunRedirectRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunServicesRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunServicesRenderer.vue +267 -0
- package/dist/runtime/components/renderers/JunServicesRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunStatsRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunStatsRenderer.vue +230 -0
- package/dist/runtime/components/renderers/JunStatsRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunTrackRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunTrackRenderer.vue +380 -0
- package/dist/runtime/components/renderers/JunTrackRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunUsesRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunUsesRenderer.vue +254 -0
- package/dist/runtime/components/renderers/JunUsesRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunWallRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunWallRenderer.vue +276 -0
- package/dist/runtime/components/renderers/JunWallRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunWindowRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunWindowRenderer.vue +516 -0
- package/dist/runtime/components/renderers/JunWindowRenderer.vue.d.ts +10 -0
- package/dist/runtime/composables/useJunBackdrop.d.ts +9 -0
- package/dist/runtime/composables/useJunBackdrop.js +27 -0
- package/dist/runtime/composables/useJunBackground.d.ts +78 -0
- package/dist/runtime/composables/useJunBackground.js +65 -0
- package/dist/runtime/composables/useJunCampfire.d.ts +156 -0
- package/dist/runtime/composables/useJunCampfire.js +225 -0
- package/dist/runtime/composables/useJunChrome.d.ts +66 -0
- package/dist/runtime/composables/useJunChrome.js +233 -0
- package/dist/runtime/composables/useJunColorMode.d.ts +8 -0
- package/dist/runtime/composables/useJunColorMode.js +11 -0
- package/dist/runtime/composables/useJunCommands.d.ts +37 -0
- package/dist/runtime/composables/useJunCommands.js +225 -0
- package/dist/runtime/composables/useJunCreatePage.d.ts +17 -0
- package/dist/runtime/composables/useJunCreatePage.js +30 -0
- package/dist/runtime/composables/useJunCurrentDoc.d.ts +5 -0
- package/dist/runtime/composables/useJunCurrentDoc.js +14 -0
- package/dist/runtime/composables/useJunDocMenu.d.ts +71 -0
- package/dist/runtime/composables/useJunDocMenu.js +344 -0
- package/dist/runtime/composables/useJunDocPage.d.ts +99 -0
- package/dist/runtime/composables/useJunDocPage.js +155 -0
- package/dist/runtime/composables/useJunFollow.d.ts +11 -0
- package/dist/runtime/composables/useJunFollow.js +38 -0
- package/dist/runtime/composables/useJunGroupedDnD.d.ts +74 -0
- package/dist/runtime/composables/useJunGroupedDnD.js +186 -0
- package/dist/runtime/composables/useJunImagePopup.d.ts +37 -0
- package/dist/runtime/composables/useJunImagePopup.js +24 -0
- package/dist/runtime/composables/useJunIntro.d.ts +7 -0
- package/dist/runtime/composables/useJunIntro.js +8 -0
- package/dist/runtime/composables/useJunListDnD.d.ts +65 -0
- package/dist/runtime/composables/useJunListDnD.js +159 -0
- package/dist/runtime/composables/useJunMediaImport.d.ts +27 -0
- package/dist/runtime/composables/useJunMediaImport.js +90 -0
- package/dist/runtime/composables/useJunNavSettings.d.ts +57 -0
- package/dist/runtime/composables/useJunNavSettings.js +74 -0
- package/dist/runtime/composables/useJunNodePanel.d.ts +41 -0
- package/dist/runtime/composables/useJunNodePanel.js +36 -0
- package/dist/runtime/composables/useJunOpenDoc.d.ts +7 -0
- package/dist/runtime/composables/useJunOpenDoc.js +30 -0
- package/dist/runtime/composables/useJunOptions.d.ts +68 -0
- package/dist/runtime/composables/useJunOptions.js +68 -0
- package/dist/runtime/composables/useJunPalette.d.ts +16 -0
- package/dist/runtime/composables/useJunPalette.js +72 -0
- package/dist/runtime/composables/useJunPeopleAdmin.d.ts +69 -0
- package/dist/runtime/composables/useJunPeopleAdmin.js +73 -0
- package/dist/runtime/composables/useJunPlayer.d.ts +99 -0
- package/dist/runtime/composables/useJunPlayer.js +208 -0
- package/dist/runtime/composables/useJunPresence.d.ts +32 -0
- package/dist/runtime/composables/useJunPresence.js +53 -0
- package/dist/runtime/composables/useJunPressDrag.d.ts +20 -0
- package/dist/runtime/composables/useJunPressDrag.js +85 -0
- package/dist/runtime/composables/useJunRecent.d.ts +9 -0
- package/dist/runtime/composables/useJunRecent.js +44 -0
- package/dist/runtime/composables/useJunRename.d.ts +19 -0
- package/dist/runtime/composables/useJunRename.js +62 -0
- package/dist/runtime/composables/useJunRouteGeoHeal.d.ts +1 -0
- package/dist/runtime/composables/useJunRouteGeoHeal.js +45 -0
- package/dist/runtime/composables/useJunRouting.d.ts +29 -0
- package/dist/runtime/composables/useJunRouting.js +101 -0
- package/dist/runtime/composables/useJunSearch.d.ts +6 -0
- package/dist/runtime/composables/useJunSearch.js +16 -0
- package/dist/runtime/composables/useJunSelfId.d.ts +1 -0
- package/dist/runtime/composables/useJunSelfId.js +28 -0
- package/dist/runtime/composables/useJunSiteConfig.d.ts +229 -0
- package/dist/runtime/composables/useJunSiteConfig.js +95 -0
- package/dist/runtime/composables/useJunSiteConfigValues.d.ts +33 -0
- package/dist/runtime/composables/useJunSiteConfigValues.js +21 -0
- package/dist/runtime/composables/useJunStagger.d.ts +54 -0
- package/dist/runtime/composables/useJunStagger.js +23 -0
- package/dist/runtime/composables/useJunStudio.d.ts +11 -0
- package/dist/runtime/composables/useJunStudio.js +51 -0
- package/dist/runtime/composables/useJunSurface.d.ts +19 -0
- package/dist/runtime/composables/useJunSurface.js +8 -0
- package/dist/runtime/composables/useJunTheme.d.ts +21 -0
- package/dist/runtime/composables/useJunTheme.js +138 -0
- package/dist/runtime/composables/useJunThemeTransition.d.ts +5 -0
- package/dist/runtime/composables/useJunThemeTransition.js +32 -0
- package/dist/runtime/composables/useJunUpload.d.ts +12 -0
- package/dist/runtime/composables/useJunUpload.js +44 -0
- package/dist/runtime/composables/useJunViewingAccent.d.ts +6 -0
- package/dist/runtime/composables/useJunViewingAccent.js +28 -0
- package/dist/runtime/error.d.vue.ts +7 -0
- package/dist/runtime/error.vue +74 -0
- package/dist/runtime/error.vue.d.ts +7 -0
- package/dist/runtime/layouts/jun.d.vue.ts +13 -0
- package/dist/runtime/layouts/jun.vue +162 -0
- package/dist/runtime/layouts/jun.vue.d.ts +13 -0
- package/dist/runtime/pages/doc.d.vue.ts +3 -0
- package/dist/runtime/pages/doc.vue +142 -0
- package/dist/runtime/pages/doc.vue.d.ts +3 -0
- package/dist/runtime/pages/index.d.vue.ts +3 -0
- package/dist/runtime/pages/index.vue +64 -0
- package/dist/runtime/pages/index.vue.d.ts +3 -0
- package/dist/runtime/plugins/jun-drag-affordance.client.d.ts +2 -0
- package/dist/runtime/plugins/jun-drag-affordance.client.js +9 -0
- package/dist/runtime/router.options.d.ts +3 -0
- package/dist/runtime/router.options.js +72 -0
- package/dist/runtime/server/api/nav.get.d.ts +9 -0
- package/dist/runtime/server/api/nav.get.js +16 -0
- package/dist/runtime/server/api/resolve/[...slug].get.d.ts +18 -0
- package/dist/runtime/server/api/resolve/[...slug].get.js +20 -0
- package/dist/runtime/server/api/search.get.d.ts +13 -0
- package/dist/runtime/server/api/search.get.js +72 -0
- package/dist/runtime/server/api/service.get.d.ts +12 -0
- package/dist/runtime/server/api/service.get.js +39 -0
- package/dist/runtime/server/api/site-config.get.d.ts +2 -0
- package/dist/runtime/server/api/site-config.get.js +3 -0
- package/dist/runtime/server/api/stats.get.d.ts +12 -0
- package/dist/runtime/server/api/stats.get.js +56 -0
- package/dist/runtime/server/janitor/junJanitorActor.d.ts +179 -0
- package/dist/runtime/server/janitor/junJanitorActor.js +305 -0
- package/dist/runtime/server/janitor/junJanitorChores.d.ts +137 -0
- package/dist/runtime/server/janitor/junJanitorChores.js +189 -0
- package/dist/runtime/server/janitor/junJanitorDiff.d.ts +41 -0
- package/dist/runtime/server/janitor/junJanitorDiff.js +109 -0
- package/dist/runtime/server/janitor/junJanitorListen.d.ts +33 -0
- package/dist/runtime/server/janitor/junJanitorListen.js +43 -0
- package/dist/runtime/server/janitor/junJanitorMachine.d.ts +60 -0
- package/dist/runtime/server/janitor/junJanitorMachine.js +598 -0
- package/dist/runtime/server/janitor/junJanitorMotor.d.ts +211 -0
- package/dist/runtime/server/janitor/junJanitorMotor.js +241 -0
- package/dist/runtime/server/janitor/junJanitorPatrol.d.ts +68 -0
- package/dist/runtime/server/janitor/junJanitorPatrol.js +34 -0
- package/dist/runtime/server/janitor/junJanitorPerform.d.ts +70 -0
- package/dist/runtime/server/janitor/junJanitorPerform.js +72 -0
- package/dist/runtime/server/janitor/junJanitorRandom.d.ts +54 -0
- package/dist/runtime/server/janitor/junJanitorRandom.js +48 -0
- package/dist/runtime/server/janitor/junJanitorStore.d.ts +159 -0
- package/dist/runtime/server/janitor/junJanitorStore.js +269 -0
- package/dist/runtime/server/janitor/junJanitorVoice.d.ts +86 -0
- package/dist/runtime/server/janitor/junJanitorVoice.js +193 -0
- package/dist/runtime/server/janitor/junJanitorYText.d.ts +164 -0
- package/dist/runtime/server/janitor/junJanitorYText.js +258 -0
- package/dist/runtime/server/plugins/jun-bootstrap.d.ts +25 -0
- package/dist/runtime/server/plugins/jun-bootstrap.js +652 -0
- package/dist/runtime/server/plugins/jun-doc-cache.d.ts +2 -0
- package/dist/runtime/server/plugins/jun-doc-cache.js +142 -0
- package/dist/runtime/server/plugins/jun-janitor.d.ts +2 -0
- package/dist/runtime/server/plugins/jun-janitor.js +176 -0
- package/dist/runtime/server/plugins/jun-rpc.d.ts +2 -0
- package/dist/runtime/server/plugins/jun-rpc.js +455 -0
- package/dist/runtime/server/routes/feed.json.get.d.ts +21 -0
- package/dist/runtime/server/routes/feed.json.get.js +25 -0
- package/dist/runtime/server/routes/feed.xml.get.d.ts +2 -0
- package/dist/runtime/server/routes/feed.xml.get.js +34 -0
- package/dist/runtime/server/routes/sitemap.xml.get.d.ts +2 -0
- package/dist/runtime/server/routes/sitemap.xml.get.js +27 -0
- package/dist/runtime/server/utils/junCache.d.ts +41 -0
- package/dist/runtime/server/utils/junCache.js +32 -0
- package/dist/runtime/server/utils/junFeed.d.ts +20 -0
- package/dist/runtime/server/utils/junFeed.js +71 -0
- package/dist/runtime/server/utils/junServiceFetch.d.ts +46 -0
- package/dist/runtime/server/utils/junServiceFetch.js +320 -0
- package/dist/runtime/server/utils/junVisibility.d.ts +31 -0
- package/dist/runtime/server/utils/junVisibility.js +6 -0
- package/dist/runtime/types.d.ts +853 -0
- package/dist/runtime/types.js +1 -0
- package/dist/runtime/utils/junDate.d.ts +38 -0
- package/dist/runtime/utils/junDate.js +30 -0
- package/dist/runtime/utils/junDndGeometry.d.ts +62 -0
- package/dist/runtime/utils/junDndGeometry.js +56 -0
- package/dist/runtime/utils/junDocTypeIcons.d.ts +30 -0
- package/dist/runtime/utils/junDocTypeIcons.js +30 -0
- package/dist/runtime/utils/junEditorBodyText.d.ts +32 -0
- package/dist/runtime/utils/junEditorBodyText.js +10 -0
- package/dist/runtime/utils/junMapboxToken.d.ts +1 -0
- package/dist/runtime/utils/junMapboxToken.js +5 -0
- package/dist/runtime/utils/junMatch.d.ts +45 -0
- package/dist/runtime/utils/junMatch.js +37 -0
- package/dist/runtime/utils/junMetaSchemas.d.ts +23 -0
- package/dist/runtime/utils/junMetaSchemas.js +94 -0
- package/dist/runtime/utils/junMotion.d.ts +71 -0
- package/dist/runtime/utils/junMotion.js +3 -0
- package/dist/runtime/utils/junServiceRef.d.ts +21 -0
- package/dist/runtime/utils/junServiceRef.js +94 -0
- package/dist/runtime/utils/junSimplifyPath.d.ts +23 -0
- package/dist/runtime/utils/junSimplifyPath.js +57 -0
- package/dist/runtime/utils/junTransportModes.d.ts +49 -0
- package/dist/runtime/utils/junTransportModes.js +37 -0
- package/dist/runtime/utils/junVideoSource.d.ts +51 -0
- package/dist/runtime/utils/junVideoSource.js +110 -0
- package/dist/runtime/utils/junVisibility.d.ts +14 -0
- package/dist/runtime/utils/junVisibility.js +6 -0
- package/dist/types.d.mts +5 -0
- package/package.json +111 -0
|
@@ -0,0 +1,363 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
let seenOnce = false;
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<script setup>
|
|
6
|
+
import { computed, nextTick, onBeforeUnmount, onMounted, ref, watch } from "vue";
|
|
7
|
+
import { useJunSurface } from "#imports";
|
|
8
|
+
import { JUN_TRANSPORT as TRANSPORT, normalizeTransport } from "../utils/junTransportModes";
|
|
9
|
+
const props = defineProps({
|
|
10
|
+
waypoints: { type: Array, required: true },
|
|
11
|
+
selectedId: { type: [String, null], required: false },
|
|
12
|
+
ready: { type: Boolean, required: false }
|
|
13
|
+
});
|
|
14
|
+
const emit = defineEmits(["select", "focusRoute"]);
|
|
15
|
+
const NEUTRAL = "#e4e4e7";
|
|
16
|
+
const container = ref(null);
|
|
17
|
+
const hoveredId = ref(null);
|
|
18
|
+
const hoveredConn = ref(null);
|
|
19
|
+
const pulsingIdx = ref(null);
|
|
20
|
+
const hasGeo = (wp) => !!wp && wp.meta?.geoLat != null && wp.meta?.geoLng != null;
|
|
21
|
+
const density = ref(1);
|
|
22
|
+
const items = computed(() => props.waypoints.filter((w) => !!w.label));
|
|
23
|
+
const colorOf = (wp) => wp?.meta?.color || NEUTRAL;
|
|
24
|
+
const selectedIndex = computed(
|
|
25
|
+
() => props.selectedId ? items.value.findIndex((w) => w.id === props.selectedId) : -1
|
|
26
|
+
);
|
|
27
|
+
function posClass(i) {
|
|
28
|
+
if (selectedIndex.value < 0) return "";
|
|
29
|
+
if (i === selectedIndex.value) return "is-selected";
|
|
30
|
+
return i < selectedIndex.value ? "is-past" : "is-future";
|
|
31
|
+
}
|
|
32
|
+
function onWheel(e) {
|
|
33
|
+
if (Math.abs(e.deltaX) > Math.abs(e.deltaY)) return;
|
|
34
|
+
e.preventDefault();
|
|
35
|
+
const delta = e.deltaY > 0 ? -0.1 : 0.1;
|
|
36
|
+
density.value = Math.max(0.3, Math.min(3, +(density.value + delta).toFixed(2)));
|
|
37
|
+
}
|
|
38
|
+
const shown = ref(seenOnce);
|
|
39
|
+
watch(
|
|
40
|
+
() => props.ready && items.value.length > 0,
|
|
41
|
+
(ok) => {
|
|
42
|
+
if (ok) {
|
|
43
|
+
shown.value = true;
|
|
44
|
+
seenOnce = true;
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
{ immediate: true }
|
|
48
|
+
);
|
|
49
|
+
const { isEmbedded } = useJunSurface();
|
|
50
|
+
const isDragging = ref(false);
|
|
51
|
+
const pressing = ref(false);
|
|
52
|
+
const startX = ref(0);
|
|
53
|
+
const scrollLeft0 = ref(0);
|
|
54
|
+
let moved = false;
|
|
55
|
+
const DRAG_THRESHOLD = 6;
|
|
56
|
+
function onPointerDown(e) {
|
|
57
|
+
const el = container.value;
|
|
58
|
+
if (!el) return;
|
|
59
|
+
pressing.value = true;
|
|
60
|
+
isDragging.value = false;
|
|
61
|
+
moved = false;
|
|
62
|
+
startX.value = e.pageX - el.offsetLeft;
|
|
63
|
+
scrollLeft0.value = el.scrollLeft;
|
|
64
|
+
}
|
|
65
|
+
function onPointerMove(e) {
|
|
66
|
+
if (!pressing.value || !container.value) return;
|
|
67
|
+
const el = container.value;
|
|
68
|
+
const x = e.pageX - el.offsetLeft;
|
|
69
|
+
const walk = (x - startX.value) * 2;
|
|
70
|
+
if (!moved && Math.abs(walk) > DRAG_THRESHOLD) {
|
|
71
|
+
moved = true;
|
|
72
|
+
isDragging.value = true;
|
|
73
|
+
try {
|
|
74
|
+
el.setPointerCapture(e.pointerId);
|
|
75
|
+
} catch {
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
if (moved) el.scrollLeft = scrollLeft0.value - walk;
|
|
79
|
+
}
|
|
80
|
+
function onPointerUp(e) {
|
|
81
|
+
pressing.value = false;
|
|
82
|
+
isDragging.value = false;
|
|
83
|
+
try {
|
|
84
|
+
container.value?.releasePointerCapture(e.pointerId);
|
|
85
|
+
} catch {
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
function step(dir) {
|
|
89
|
+
if (!items.value.length) return;
|
|
90
|
+
const idx = Math.max(0, items.value.findIndex((w) => w.id === props.selectedId));
|
|
91
|
+
const next = Math.min(items.value.length - 1, Math.max(0, idx + dir));
|
|
92
|
+
if (next === idx) return;
|
|
93
|
+
const to = items.value[next];
|
|
94
|
+
if (!to) return;
|
|
95
|
+
const a = items.value[Math.min(idx, next)];
|
|
96
|
+
const b = items.value[Math.max(idx, next)];
|
|
97
|
+
if (hasGeo(a) && hasGeo(b)) {
|
|
98
|
+
emit("focusRoute", a, b, to.id);
|
|
99
|
+
} else {
|
|
100
|
+
emit("select", to);
|
|
101
|
+
}
|
|
102
|
+
scrollIntoView(to.id);
|
|
103
|
+
}
|
|
104
|
+
function onKey(e) {
|
|
105
|
+
if (!items.value.length) return;
|
|
106
|
+
const t = e.target;
|
|
107
|
+
if (t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable)) return;
|
|
108
|
+
if (e.key === "ArrowLeft") {
|
|
109
|
+
e.preventDefault();
|
|
110
|
+
step(-1);
|
|
111
|
+
} else if (e.key === "ArrowRight") {
|
|
112
|
+
e.preventDefault();
|
|
113
|
+
step(1);
|
|
114
|
+
} else if (e.key === "Enter" || e.key === " ") {
|
|
115
|
+
const idx = Math.max(0, items.value.findIndex((w) => w.id === props.selectedId));
|
|
116
|
+
const wp = items.value[idx] ?? items.value[0];
|
|
117
|
+
if (wp) emit("select", wp);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
function scrollIntoView(id) {
|
|
121
|
+
const el = container.value?.querySelector(`[data-id="${id}"]`);
|
|
122
|
+
el?.scrollIntoView({ behavior: "smooth", inline: "center", block: "nearest" });
|
|
123
|
+
}
|
|
124
|
+
function scrollConnectorIntoView(i) {
|
|
125
|
+
const el = container.value?.querySelector(`[data-conn="${i}"]`);
|
|
126
|
+
el?.scrollIntoView({ behavior: "smooth", inline: "center", block: "nearest" });
|
|
127
|
+
}
|
|
128
|
+
onMounted(() => {
|
|
129
|
+
window.addEventListener("keydown", onKey);
|
|
130
|
+
nextTick(() => container.value?.focus?.({ preventScroll: true }));
|
|
131
|
+
});
|
|
132
|
+
onBeforeUnmount(() => window.removeEventListener("keydown", onKey));
|
|
133
|
+
watch(() => props.selectedId, (id) => {
|
|
134
|
+
if (id) scrollIntoView(id);
|
|
135
|
+
});
|
|
136
|
+
function onWaypointClick(wp) {
|
|
137
|
+
if (moved) return;
|
|
138
|
+
emit("select", wp);
|
|
139
|
+
}
|
|
140
|
+
function onConnectorClick(i) {
|
|
141
|
+
if (moved) return;
|
|
142
|
+
const a = items.value[i - 1];
|
|
143
|
+
const b = items.value[i];
|
|
144
|
+
if (!a || !b) return;
|
|
145
|
+
pulsingIdx.value = i;
|
|
146
|
+
window.setTimeout(() => {
|
|
147
|
+
if (pulsingIdx.value === i) pulsingIdx.value = null;
|
|
148
|
+
}, 600);
|
|
149
|
+
scrollConnectorIntoView(i);
|
|
150
|
+
emit("focusRoute", a, b, b.id);
|
|
151
|
+
}
|
|
152
|
+
const EARTH_KM = 6371;
|
|
153
|
+
function distanceKm(a, b) {
|
|
154
|
+
const la1 = a.meta?.geoLat, lo1 = a.meta?.geoLng, la2 = b.meta?.geoLat, lo2 = b.meta?.geoLng;
|
|
155
|
+
if (la1 == null || lo1 == null || la2 == null || lo2 == null) return 0;
|
|
156
|
+
const r = Math.PI / 180;
|
|
157
|
+
const dLat = (la2 - la1) * r, dLng = (lo2 - lo1) * r;
|
|
158
|
+
const ha = Math.sin(dLat / 2) ** 2 + Math.cos(la1 * r) * Math.cos(la2 * r) * Math.sin(dLng / 2) ** 2;
|
|
159
|
+
return 2 * EARTH_KM * Math.asin(Math.min(1, Math.sqrt(ha)));
|
|
160
|
+
}
|
|
161
|
+
const connectorWidth = (d) => Math.round(Math.min(400, Math.max(60, d * 1.5)) * density.value);
|
|
162
|
+
const badgeKm = (a, b) => Math.round(b.meta?.routeKm ?? distanceKm(a, b));
|
|
163
|
+
const transportFor = (t) => {
|
|
164
|
+
const m = TRANSPORT[normalizeTransport(t)];
|
|
165
|
+
return { icon: m.icon, dash: m.dash };
|
|
166
|
+
};
|
|
167
|
+
function dashStyle(dash) {
|
|
168
|
+
switch (dash) {
|
|
169
|
+
case "long":
|
|
170
|
+
return "border-t-2 border-dashed";
|
|
171
|
+
case "short":
|
|
172
|
+
return "border-t-2 border-dashed [border-width:2px]";
|
|
173
|
+
case "dot":
|
|
174
|
+
return "border-t-2 border-dotted";
|
|
175
|
+
default:
|
|
176
|
+
return "border-t-2 border-solid";
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
function fmt(s) {
|
|
180
|
+
if (!s) return "";
|
|
181
|
+
const d = new Date(s);
|
|
182
|
+
return Number.isNaN(d.getTime()) ? s : d.toLocaleDateString(void 0, { year: "numeric", month: "short", day: "numeric" });
|
|
183
|
+
}
|
|
184
|
+
</script>
|
|
185
|
+
|
|
186
|
+
<template>
|
|
187
|
+
<Teleport
|
|
188
|
+
to="body"
|
|
189
|
+
:disabled="isEmbedded"
|
|
190
|
+
>
|
|
191
|
+
<Transition name="jun-tl-fade">
|
|
192
|
+
<div
|
|
193
|
+
v-show="shown"
|
|
194
|
+
class="jun-tl-root inset-x-0 bottom-0 z-30 px-2 sm:px-8 pointer-events-none"
|
|
195
|
+
:class="isEmbedded ? 'absolute' : 'fixed'"
|
|
196
|
+
>
|
|
197
|
+
<footer
|
|
198
|
+
class="jun-timeline jun-chrome group/tl pointer-events-auto relative mx-auto w-full max-w-6xl
|
|
199
|
+
overflow-hidden rounded-t-lg rounded-b-none border-b-0"
|
|
200
|
+
@pointerleave="hoveredId = null;
|
|
201
|
+
hoveredConn = null"
|
|
202
|
+
>
|
|
203
|
+
<!-- Prev / next controls — revealed on hover of the bar. -->
|
|
204
|
+
<button
|
|
205
|
+
type="button"
|
|
206
|
+
class="jun-tl-ctrl left-2 text-muted hover:text-highlighted bg-muted hover:bg-elevated"
|
|
207
|
+
aria-label="Previous waypoint"
|
|
208
|
+
@click="step(-1)"
|
|
209
|
+
>
|
|
210
|
+
<UIcon
|
|
211
|
+
name="i-lucide-chevron-left"
|
|
212
|
+
class="size-4"
|
|
213
|
+
/>
|
|
214
|
+
</button>
|
|
215
|
+
<button
|
|
216
|
+
type="button"
|
|
217
|
+
class="jun-tl-ctrl right-2 text-muted hover:text-highlighted bg-muted hover:bg-elevated"
|
|
218
|
+
aria-label="Next waypoint"
|
|
219
|
+
@click="step(1)"
|
|
220
|
+
>
|
|
221
|
+
<UIcon
|
|
222
|
+
name="i-lucide-chevron-right"
|
|
223
|
+
class="size-4"
|
|
224
|
+
/>
|
|
225
|
+
</button>
|
|
226
|
+
|
|
227
|
+
<div
|
|
228
|
+
ref="container"
|
|
229
|
+
class="jun-timeline-scroll relative h-full overflow-x-auto overflow-y-hidden
|
|
230
|
+
scroll-smooth scrollbar-hide snap-x focus:outline-none"
|
|
231
|
+
:class="isDragging ? 'cursor-grabbing' : 'cursor-grab'"
|
|
232
|
+
style="scroll-snap-type: x mandatory; scroll-padding: 50px"
|
|
233
|
+
tabindex="0"
|
|
234
|
+
role="slider"
|
|
235
|
+
:aria-valuemin="0"
|
|
236
|
+
:aria-valuemax="Math.max(0, items.length - 1)"
|
|
237
|
+
:aria-valuenow="Math.max(0, selectedIndex)"
|
|
238
|
+
aria-label="Timeline navigation"
|
|
239
|
+
@pointerdown="onPointerDown"
|
|
240
|
+
@pointermove="onPointerMove"
|
|
241
|
+
@pointerup="onPointerUp"
|
|
242
|
+
@pointercancel="onPointerUp"
|
|
243
|
+
@wheel="onWheel"
|
|
244
|
+
>
|
|
245
|
+
<ol class="flex items-end gap-0 px-12 min-w-max pt-8 pb-3 select-none">
|
|
246
|
+
<template
|
|
247
|
+
v-for="(wp, i) in items"
|
|
248
|
+
:key="wp.id"
|
|
249
|
+
>
|
|
250
|
+
<!-- Connector between waypoint[i-1] and waypoint[i] -->
|
|
251
|
+
<li
|
|
252
|
+
v-if="i > 0"
|
|
253
|
+
:data-conn="i"
|
|
254
|
+
class="jun-connector relative flex flex-col items-center justify-end self-end mb-[14px] mx-1 cursor-pointer"
|
|
255
|
+
:class="{ 'is-pulsing': pulsingIdx === i }"
|
|
256
|
+
:style="{ width: connectorWidth(distanceKm(items[i - 1], wp)) + 'px' }"
|
|
257
|
+
@click="onConnectorClick(i)"
|
|
258
|
+
@pointerenter="hoveredConn = i"
|
|
259
|
+
@pointerleave="hoveredConn = hoveredConn === i ? null : hoveredConn"
|
|
260
|
+
>
|
|
261
|
+
<!-- Generous transparent hit area around the thin line so the
|
|
262
|
+
connector is easy to click (the original's hover-area). -->
|
|
263
|
+
<span
|
|
264
|
+
class="absolute inset-x-0 top-1/2 -translate-y-1/2 h-8"
|
|
265
|
+
aria-hidden="true"
|
|
266
|
+
/>
|
|
267
|
+
<!-- Transport + distance badge -->
|
|
268
|
+
<div
|
|
269
|
+
class="jun-chrome absolute -top-7 left-1/2 -translate-x-1/2 flex items-center gap-1 whitespace-nowrap
|
|
270
|
+
text-[10px] tracking-wider uppercase rounded-full px-2 py-0.5
|
|
271
|
+
opacity-0 transition-opacity duration-300"
|
|
272
|
+
:class="{ 'opacity-100': hoveredConn === i || hoveredId === items[i - 1].id || hoveredId === wp.id }"
|
|
273
|
+
>
|
|
274
|
+
<UIcon
|
|
275
|
+
:name="transportFor(wp.meta?.transport).icon"
|
|
276
|
+
class="size-2.5"
|
|
277
|
+
/>
|
|
278
|
+
<span>{{ badgeKm(items[i - 1], wp) }} km</span>
|
|
279
|
+
</div>
|
|
280
|
+
<!-- The line — dash = transport, colour = arriving waypoint -->
|
|
281
|
+
<div
|
|
282
|
+
:class="['w-full relative overflow-hidden', dashStyle(transportFor(wp.meta?.transport).dash)]"
|
|
283
|
+
:style="{ height: '2px', borderColor: colorOf(wp), opacity: 0.75 }"
|
|
284
|
+
>
|
|
285
|
+
<span
|
|
286
|
+
class="jun-shimmer"
|
|
287
|
+
:style="{ '--shimmer': colorOf(wp) }"
|
|
288
|
+
/>
|
|
289
|
+
</div>
|
|
290
|
+
</li>
|
|
291
|
+
|
|
292
|
+
<!-- Waypoint orb -->
|
|
293
|
+
<li
|
|
294
|
+
:data-id="wp.id"
|
|
295
|
+
class="jun-waypoint group flex flex-col items-center shrink-0 snap-center
|
|
296
|
+
cursor-pointer focus-visible:outline-none"
|
|
297
|
+
:class="posClass(i)"
|
|
298
|
+
:style="{ '--c': colorOf(wp) }"
|
|
299
|
+
tabindex="0"
|
|
300
|
+
role="button"
|
|
301
|
+
:aria-label="wp.label"
|
|
302
|
+
@click="onWaypointClick(wp)"
|
|
303
|
+
@keydown.enter.prevent="emit('select', wp)"
|
|
304
|
+
@keydown.space.prevent="emit('select', wp)"
|
|
305
|
+
@pointerenter="hoveredId = wp.id"
|
|
306
|
+
@pointerleave="hoveredId = hoveredId === wp.id ? null : hoveredId"
|
|
307
|
+
>
|
|
308
|
+
<!-- Label + date (revealed on hover / select) -->
|
|
309
|
+
<div
|
|
310
|
+
class="jun-wp-head text-center pb-3 transition-all duration-300 opacity-0 -translate-y-1
|
|
311
|
+
group-hover:opacity-100 group-hover:translate-y-0"
|
|
312
|
+
:class="{ '!opacity-100 !translate-y-0': selectedId === wp.id }"
|
|
313
|
+
>
|
|
314
|
+
<p class="text-[12px] font-semibold text-highlighted whitespace-nowrap">
|
|
315
|
+
{{ wp.label }}
|
|
316
|
+
</p>
|
|
317
|
+
<p
|
|
318
|
+
v-if="wp.meta?.date"
|
|
319
|
+
class="text-[10px] text-muted tracking-wider uppercase"
|
|
320
|
+
>
|
|
321
|
+
{{ fmt(wp.meta.date) }}
|
|
322
|
+
</p>
|
|
323
|
+
</div>
|
|
324
|
+
|
|
325
|
+
<!-- 3-layer orb, tinted by meta.color -->
|
|
326
|
+
<div
|
|
327
|
+
class="jun-orb relative size-7 rounded-full transition-transform duration-300 group-hover:scale-110"
|
|
328
|
+
:class="{ '!scale-[1.3]': selectedId === wp.id }"
|
|
329
|
+
>
|
|
330
|
+
<span class="jun-orb-ring absolute inset-0 rounded-full" />
|
|
331
|
+
<span class="absolute inset-[5px] rounded-full bg-inverted shadow-[0_0_18px_rgba(0,0,0,0.25)]" />
|
|
332
|
+
<span class="jun-orb-core absolute inset-[9px] rounded-full" />
|
|
333
|
+
</div>
|
|
334
|
+
|
|
335
|
+
<!-- Description (revealed on hover / select, only when expanded) -->
|
|
336
|
+
<div
|
|
337
|
+
v-if="wp.meta?.description"
|
|
338
|
+
class="jun-wp-desc mt-2 max-w-[180px] text-center text-[11px] leading-snug text-muted
|
|
339
|
+
opacity-0 transition-opacity duration-300 group-hover:opacity-100"
|
|
340
|
+
:class="{ '!opacity-100': selectedId === wp.id }"
|
|
341
|
+
>
|
|
342
|
+
{{ wp.meta.description }}
|
|
343
|
+
</div>
|
|
344
|
+
</li>
|
|
345
|
+
</template>
|
|
346
|
+
|
|
347
|
+
<li
|
|
348
|
+
v-if="!items.length"
|
|
349
|
+
class="text-sm text-muted px-4 py-2 self-center"
|
|
350
|
+
>
|
|
351
|
+
No waypoints yet.
|
|
352
|
+
</li>
|
|
353
|
+
</ol>
|
|
354
|
+
</div>
|
|
355
|
+
</footer>
|
|
356
|
+
</div>
|
|
357
|
+
</Transition>
|
|
358
|
+
</Teleport>
|
|
359
|
+
</template>
|
|
360
|
+
|
|
361
|
+
<style scoped>
|
|
362
|
+
.jun-timeline{height:54px;margin-bottom:env(safe-area-inset-bottom);transition:height .3s ease,background-color .3s ease,border-color .3s ease,color .3s ease}.jun-timeline:hover{height:120px}.jun-tl-fade-enter-active{transition:opacity .5s ease}.jun-tl-fade-enter-from{opacity:0}.jun-tl-ctrl{align-items:center;backdrop-filter:blur(6px);border-radius:9999px;display:flex;height:2rem;justify-content:center;opacity:0;position:absolute;top:14px;transition:opacity .3s ease,background-color .2s ease,color .2s ease;width:2rem;z-index:5}.group\/tl:hover .jun-tl-ctrl{opacity:1}.jun-shimmer{animation:jun-shimmer 3s linear infinite;background:linear-gradient(90deg,transparent 0,color-mix(in srgb,var(--shimmer,#fff) 75%,#fff) 50%,transparent 100%);inset:0;position:absolute;transform:translateX(-100%)}.jun-connector:hover .jun-shimmer{animation-duration:1.5s}@keyframes jun-shimmer{0%{transform:translateX(-100%)}to{transform:translateX(100%)}}.jun-connector.is-pulsing{animation:jun-conn-pulse .6s ease}@keyframes jun-conn-pulse{0%{transform:scaleY(1)}50%{filter:brightness(1.4);transform:scaleY(2.2)}to{transform:scaleY(1)}}.jun-orb-ring{background:radial-gradient(circle at center,color-mix(in srgb,var(--c,#e4e4e7) 60%,transparent) 0,transparent 65%);transition:filter .3s ease}.jun-orb-core{background:color-mix(in srgb,var(--c,#e4e4e7) 55%,#fff)}.jun-waypoint.is-selected .jun-orb-core,.jun-waypoint:hover .jun-orb-core{background:var(--c,#fff)}.jun-waypoint.is-selected .jun-orb-ring,.jun-waypoint:hover .jun-orb-ring{filter:brightness(1.4)}.jun-waypoint{transition:opacity .3s ease,filter .3s ease}.jun-waypoint.is-future,.jun-waypoint.is-past{filter:saturate(.7);opacity:.5}.jun-waypoint.is-future:hover,.jun-waypoint.is-past:hover{filter:none;opacity:.9}.jun-waypoint.is-selected{opacity:1}.jun-timeline-scroll::-webkit-scrollbar{display:none}.jun-timeline-scroll{scrollbar-width:none}@media (prefers-reduced-motion:reduce){.jun-connector.is-pulsing,.jun-shimmer{animation:none}}
|
|
363
|
+
</style>
|
|
File without changes
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|