@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,382 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed, onBeforeUnmount, ref } from "vue";
|
|
3
|
+
import {
|
|
4
|
+
junEditorBodyText,
|
|
5
|
+
junMotion,
|
|
6
|
+
useAbracadabra,
|
|
7
|
+
useChildTree,
|
|
8
|
+
useDocTree,
|
|
9
|
+
useJunBrand,
|
|
10
|
+
useJunRouting,
|
|
11
|
+
useJunStudio,
|
|
12
|
+
useJunUpload
|
|
13
|
+
} from "#imports";
|
|
14
|
+
import { useJunImagePopup } from "../../composables/useJunImagePopup";
|
|
15
|
+
const props = defineProps({
|
|
16
|
+
docId: { type: String, required: true },
|
|
17
|
+
docLabel: { type: String, required: false },
|
|
18
|
+
docMeta: { type: Object, required: false },
|
|
19
|
+
childProvider: { type: null, required: false },
|
|
20
|
+
editable: { type: Boolean, required: false }
|
|
21
|
+
});
|
|
22
|
+
const abra = useAbracadabra();
|
|
23
|
+
const tree = useChildTree(abra.doc, props.docId);
|
|
24
|
+
const brand = useJunBrand();
|
|
25
|
+
const { getEntry } = useDocTree();
|
|
26
|
+
const { editing } = useJunStudio();
|
|
27
|
+
const { uploadTo } = useJunUpload();
|
|
28
|
+
const { reverseGeocode } = useJunRouting();
|
|
29
|
+
const { openImagePopup } = useJunImagePopup();
|
|
30
|
+
const entry = computed(() => getEntry(props.docId));
|
|
31
|
+
const meta = computed(() => entry.value?.meta ?? props.docMeta ?? {});
|
|
32
|
+
const metaRecord = computed(() => meta.value);
|
|
33
|
+
const title = computed(() => entry.value?.label ?? props.docLabel ?? "Post");
|
|
34
|
+
function fmtFull(s) {
|
|
35
|
+
if (!s) return "";
|
|
36
|
+
const d = new Date(s);
|
|
37
|
+
if (Number.isNaN(d.getTime())) return s;
|
|
38
|
+
return d.toLocaleString(void 0, {
|
|
39
|
+
weekday: "long",
|
|
40
|
+
year: "numeric",
|
|
41
|
+
month: "long",
|
|
42
|
+
day: "numeric",
|
|
43
|
+
hour: "2-digit",
|
|
44
|
+
minute: "2-digit"
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
function patchMeta(patch) {
|
|
48
|
+
tree.updateMeta(props.docId, patch);
|
|
49
|
+
}
|
|
50
|
+
function onChipPatch(p) {
|
|
51
|
+
patchMeta(p);
|
|
52
|
+
const lat = p.geoLat;
|
|
53
|
+
const lng = p.geoLng;
|
|
54
|
+
if (lat !== void 0 && lng !== void 0) {
|
|
55
|
+
void reverseGeocode(lng, lat).then((name) => {
|
|
56
|
+
if (name) patchMeta({ location: name });
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
const uploads = computed(
|
|
61
|
+
() => (meta.value.mediaUploads ?? []).filter((u) => !!u?.id && !!u?.mime)
|
|
62
|
+
);
|
|
63
|
+
const legacyImages = computed(
|
|
64
|
+
() => uploads.value.length ? [] : meta.value.images ?? []
|
|
65
|
+
);
|
|
66
|
+
function openMedia(index, e) {
|
|
67
|
+
const visual = uploads.value.filter(
|
|
68
|
+
(u) => u.mime.startsWith("image/") || u.mime.startsWith("video/")
|
|
69
|
+
);
|
|
70
|
+
const clicked = uploads.value[index];
|
|
71
|
+
const idx = clicked ? visual.indexOf(clicked) : -1;
|
|
72
|
+
if (idx < 0) return;
|
|
73
|
+
openImagePopup(
|
|
74
|
+
e,
|
|
75
|
+
visual.map((u) => ({ docId: props.docId, uploadId: u.id, mime: u.mime, alt: title.value })),
|
|
76
|
+
idx
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
function openLegacyImage(index, e) {
|
|
80
|
+
openImagePopup(e, legacyImages.value.map((url) => ({ url, alt: title.value })), index);
|
|
81
|
+
}
|
|
82
|
+
const mediaInput = ref(null);
|
|
83
|
+
const mediaDropActive = ref(false);
|
|
84
|
+
async function addMedia(files) {
|
|
85
|
+
const added = [];
|
|
86
|
+
for (const file of files) {
|
|
87
|
+
const res = await uploadTo(props.docId, file);
|
|
88
|
+
if (res) added.push({ id: res.id, mime: res.mimeType, name: res.filename });
|
|
89
|
+
}
|
|
90
|
+
if (added.length) patchMeta({ mediaUploads: [...uploads.value, ...added] });
|
|
91
|
+
}
|
|
92
|
+
function onMediaPicked(e) {
|
|
93
|
+
const input = e.target;
|
|
94
|
+
if (input.files) void addMedia(Array.from(input.files));
|
|
95
|
+
input.value = "";
|
|
96
|
+
}
|
|
97
|
+
function onMediaDragOver(e) {
|
|
98
|
+
if (!editing.value || !e.dataTransfer?.types.includes("Files")) return;
|
|
99
|
+
e.preventDefault();
|
|
100
|
+
e.dataTransfer.dropEffect = "copy";
|
|
101
|
+
mediaDropActive.value = true;
|
|
102
|
+
}
|
|
103
|
+
function onMediaDrop(e) {
|
|
104
|
+
if (!editing.value) return;
|
|
105
|
+
e.preventDefault();
|
|
106
|
+
mediaDropActive.value = false;
|
|
107
|
+
if (e.dataTransfer?.files.length) void addMedia(Array.from(e.dataTransfer.files));
|
|
108
|
+
}
|
|
109
|
+
function removeMedia(i) {
|
|
110
|
+
const next = [...uploads.value];
|
|
111
|
+
next.splice(i, 1);
|
|
112
|
+
patchMeta({ mediaUploads: next });
|
|
113
|
+
}
|
|
114
|
+
const bodyIsMirror = computed(() => !!meta.value.bodyIsMirror);
|
|
115
|
+
const bodyEditor = ref(null);
|
|
116
|
+
let mirrorTimer = null;
|
|
117
|
+
function onBodyUpdate() {
|
|
118
|
+
if (!bodyIsMirror.value || !editing.value) return;
|
|
119
|
+
if (mirrorTimer) clearTimeout(mirrorTimer);
|
|
120
|
+
mirrorTimer = setTimeout(() => {
|
|
121
|
+
const text = junEditorBodyText(bodyEditor.value?.editor);
|
|
122
|
+
if (!text) return;
|
|
123
|
+
patchMeta({ body: text.slice(0, 500) });
|
|
124
|
+
const firstLine = text.split("\n").find((l) => l.trim())?.trim()?.slice(0, 64);
|
|
125
|
+
if (firstLine && firstLine !== entry.value?.label) {
|
|
126
|
+
tree.renameEntry(props.docId, firstLine);
|
|
127
|
+
}
|
|
128
|
+
}, 800);
|
|
129
|
+
}
|
|
130
|
+
onBeforeUnmount(() => {
|
|
131
|
+
if (mirrorTimer) clearTimeout(mirrorTimer);
|
|
132
|
+
});
|
|
133
|
+
function commitText(field, e) {
|
|
134
|
+
const value = e.target.textContent?.trim() ?? "";
|
|
135
|
+
if (value === (meta.value[field] ?? "")) return;
|
|
136
|
+
patchMeta({ [field]: value || void 0 });
|
|
137
|
+
if (field === "body" && value) {
|
|
138
|
+
const firstLine = value.split("\n")[0].slice(0, 64);
|
|
139
|
+
if (firstLine && firstLine !== entry.value?.label) {
|
|
140
|
+
tree.renameEntry(props.docId, firstLine);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
</script>
|
|
145
|
+
|
|
146
|
+
<template>
|
|
147
|
+
<article class="mx-auto w-full max-w-2xl px-4 pt-8 pb-20 sm:px-6">
|
|
148
|
+
<header
|
|
149
|
+
v-motion="junMotion({
|
|
150
|
+
initial: { opacity: 0, y: 14 },
|
|
151
|
+
enter: { opacity: 1, y: 0, transition: { duration: 450 } }
|
|
152
|
+
})"
|
|
153
|
+
class="flex items-center gap-3"
|
|
154
|
+
>
|
|
155
|
+
<img
|
|
156
|
+
v-if="brand.avatar"
|
|
157
|
+
:src="brand.avatar"
|
|
158
|
+
alt=""
|
|
159
|
+
class="h-11 w-11 rounded-full ring-1 ring-black/10 dark:ring-white/15"
|
|
160
|
+
>
|
|
161
|
+
<span
|
|
162
|
+
v-else
|
|
163
|
+
class="flex h-11 w-11 items-center justify-center rounded-full bg-black/5 text-black/50 ring-1 ring-black/10 dark:bg-white/10 dark:text-white/60 dark:ring-white/15"
|
|
164
|
+
>
|
|
165
|
+
<UIcon
|
|
166
|
+
name="i-lucide-radio"
|
|
167
|
+
class="size-5"
|
|
168
|
+
/>
|
|
169
|
+
</span>
|
|
170
|
+
|
|
171
|
+
<div class="min-w-0 flex-1">
|
|
172
|
+
<p class="leading-tight font-semibold text-highlighted">
|
|
173
|
+
{{ brand.name }}
|
|
174
|
+
</p>
|
|
175
|
+
<p class="text-xs text-dimmed">
|
|
176
|
+
{{ fmtFull(meta.date) }}
|
|
177
|
+
</p>
|
|
178
|
+
</div>
|
|
179
|
+
|
|
180
|
+
<ClientOnly>
|
|
181
|
+
<JunAppreciate :doc-id="docId" />
|
|
182
|
+
</ClientOnly>
|
|
183
|
+
</header>
|
|
184
|
+
|
|
185
|
+
<div
|
|
186
|
+
v-if="meta.location || meta.nowPlaying || editing"
|
|
187
|
+
class="mt-3 flex flex-wrap items-center gap-2"
|
|
188
|
+
>
|
|
189
|
+
<template v-if="editing">
|
|
190
|
+
<AMetaChip
|
|
191
|
+
field-type="datetime"
|
|
192
|
+
label="Date"
|
|
193
|
+
:meta="metaRecord"
|
|
194
|
+
meta-key="date"
|
|
195
|
+
@patch="onChipPatch"
|
|
196
|
+
/>
|
|
197
|
+
<AMetaChip
|
|
198
|
+
field-type="location"
|
|
199
|
+
label="Location"
|
|
200
|
+
:meta="metaRecord"
|
|
201
|
+
lat-key="geoLat"
|
|
202
|
+
lng-key="geoLng"
|
|
203
|
+
@patch="onChipPatch"
|
|
204
|
+
/>
|
|
205
|
+
<AMetaChip
|
|
206
|
+
field-type="text"
|
|
207
|
+
label="Place"
|
|
208
|
+
icon="i-lucide-map-pin"
|
|
209
|
+
:meta="metaRecord"
|
|
210
|
+
meta-key="location"
|
|
211
|
+
@patch="onChipPatch"
|
|
212
|
+
/>
|
|
213
|
+
<AMetaChip
|
|
214
|
+
field-type="text"
|
|
215
|
+
label="Now playing"
|
|
216
|
+
icon="i-lucide-music"
|
|
217
|
+
:meta="metaRecord"
|
|
218
|
+
meta-key="nowPlaying"
|
|
219
|
+
@patch="onChipPatch"
|
|
220
|
+
/>
|
|
221
|
+
</template>
|
|
222
|
+
<template v-else>
|
|
223
|
+
<span
|
|
224
|
+
v-if="meta.location"
|
|
225
|
+
class="inline-flex items-center gap-1.5 rounded-full bg-black/5 px-2.5 py-1 text-xs text-muted ring-1 ring-black/5 dark:bg-white/10 dark:ring-white/10"
|
|
226
|
+
>
|
|
227
|
+
<UIcon
|
|
228
|
+
name="i-lucide-map-pin"
|
|
229
|
+
class="size-3 shrink-0"
|
|
230
|
+
/>
|
|
231
|
+
<span>{{ meta.location }}</span>
|
|
232
|
+
</span>
|
|
233
|
+
<span
|
|
234
|
+
v-if="meta.nowPlaying"
|
|
235
|
+
class="inline-flex items-center gap-1.5 rounded-full bg-black/5 px-2.5 py-1 text-xs text-muted ring-1 ring-black/5 dark:bg-white/10 dark:ring-white/10"
|
|
236
|
+
>
|
|
237
|
+
<UIcon
|
|
238
|
+
name="i-lucide-music"
|
|
239
|
+
class="size-3 shrink-0"
|
|
240
|
+
/>
|
|
241
|
+
<span>{{ meta.nowPlaying }}</span>
|
|
242
|
+
</span>
|
|
243
|
+
</template>
|
|
244
|
+
</div>
|
|
245
|
+
|
|
246
|
+
<!-- Composer post: the document body IS the post text. -->
|
|
247
|
+
<div
|
|
248
|
+
v-if="bodyIsMirror"
|
|
249
|
+
class="jun-now-body mt-4"
|
|
250
|
+
>
|
|
251
|
+
<AEditor
|
|
252
|
+
ref="bodyEditor"
|
|
253
|
+
:doc-id="docId"
|
|
254
|
+
:doc-label="title"
|
|
255
|
+
:doc-meta="meta"
|
|
256
|
+
:editable="editing"
|
|
257
|
+
:show-toolbar="editing"
|
|
258
|
+
:show-suggestion-menu="editing"
|
|
259
|
+
:show-drag-handle="editing"
|
|
260
|
+
:show-breadcrumb="false"
|
|
261
|
+
placeholder="What's happening?"
|
|
262
|
+
@update="onBodyUpdate"
|
|
263
|
+
/>
|
|
264
|
+
</div>
|
|
265
|
+
|
|
266
|
+
<!-- Otherwise `meta.body` is the post text, inline-editable. -->
|
|
267
|
+
<p
|
|
268
|
+
v-else
|
|
269
|
+
:contenteditable="editing ? 'plaintext-only' : void 0"
|
|
270
|
+
spellcheck="false"
|
|
271
|
+
class="mt-4 text-lg leading-relaxed whitespace-pre-line text-highlighted outline-none sm:text-xl"
|
|
272
|
+
:class="editing ? 'cursor-text rounded-md px-1 -mx-1 transition-shadow hover:ring-1 hover:ring-black/15 focus:ring-1 focus:ring-black/25 dark:hover:ring-white/20 dark:focus:ring-white/30' : ''"
|
|
273
|
+
@blur="editing && commitText('body', $event)"
|
|
274
|
+
>{{ meta.body ?? title }}</p>
|
|
275
|
+
|
|
276
|
+
<section
|
|
277
|
+
v-if="uploads.length || legacyImages.length || editing"
|
|
278
|
+
class="mt-5"
|
|
279
|
+
:class="mediaDropActive ? 'rounded-xl ring-2 ring-black/40 dark:ring-white/50' : ''"
|
|
280
|
+
@dragover="onMediaDragOver"
|
|
281
|
+
@dragleave="mediaDropActive = false"
|
|
282
|
+
@drop="onMediaDrop"
|
|
283
|
+
>
|
|
284
|
+
<div
|
|
285
|
+
v-if="uploads.length"
|
|
286
|
+
class="grid gap-1.5 overflow-hidden rounded-xl"
|
|
287
|
+
:class="uploads.length === 1 ? 'grid-cols-1' : 'grid-cols-2'"
|
|
288
|
+
>
|
|
289
|
+
<div
|
|
290
|
+
v-for="(m, i) in uploads"
|
|
291
|
+
:key="m.id"
|
|
292
|
+
class="group/media relative cursor-zoom-in overflow-hidden"
|
|
293
|
+
:class="uploads.length === 1 ? 'max-h-[32rem]' : 'aspect-square'"
|
|
294
|
+
@click="m.mime.startsWith('image/') || m.mime.startsWith('video/') ? openMedia(i, $event) : void 0"
|
|
295
|
+
>
|
|
296
|
+
<JunMedia
|
|
297
|
+
:doc-id="docId"
|
|
298
|
+
:upload-id="m.id"
|
|
299
|
+
:mime-type="m.mime"
|
|
300
|
+
:alt="title"
|
|
301
|
+
:size="1280"
|
|
302
|
+
:media-class="uploads.length === 1 ? 'w-full max-h-[32rem] object-cover' : 'h-full w-full object-cover'"
|
|
303
|
+
/>
|
|
304
|
+
<button
|
|
305
|
+
v-if="editing"
|
|
306
|
+
type="button"
|
|
307
|
+
class="absolute top-2 right-2 flex h-6 w-6 items-center justify-center rounded-full bg-black/60 text-white opacity-0 transition-opacity group-hover/media:opacity-100 hover:bg-black/80"
|
|
308
|
+
aria-label="Remove media"
|
|
309
|
+
@click.stop="removeMedia(i)"
|
|
310
|
+
>
|
|
311
|
+
<UIcon
|
|
312
|
+
name="i-lucide-x"
|
|
313
|
+
class="size-3.5"
|
|
314
|
+
/>
|
|
315
|
+
</button>
|
|
316
|
+
</div>
|
|
317
|
+
</div>
|
|
318
|
+
|
|
319
|
+
<div
|
|
320
|
+
v-else-if="legacyImages.length"
|
|
321
|
+
class="grid gap-1.5 overflow-hidden rounded-xl"
|
|
322
|
+
:class="legacyImages.length === 1 ? 'grid-cols-1' : 'grid-cols-2'"
|
|
323
|
+
>
|
|
324
|
+
<NuxtImg
|
|
325
|
+
v-for="(src, i) in legacyImages"
|
|
326
|
+
:key="i"
|
|
327
|
+
:src="src"
|
|
328
|
+
:alt="title"
|
|
329
|
+
class="w-full cursor-zoom-in object-cover"
|
|
330
|
+
:class="legacyImages.length === 1 ? 'max-h-[32rem]' : 'aspect-square'"
|
|
331
|
+
loading="lazy"
|
|
332
|
+
@click="openLegacyImage(i, $event)"
|
|
333
|
+
/>
|
|
334
|
+
</div>
|
|
335
|
+
|
|
336
|
+
<button
|
|
337
|
+
v-if="editing"
|
|
338
|
+
type="button"
|
|
339
|
+
class="mt-2 flex h-14 w-full items-center justify-center gap-2 rounded-lg border border-dashed border-default text-xs text-dimmed transition-colors hover:bg-black/5 hover:text-default dark:hover:bg-white/5"
|
|
340
|
+
@click="mediaInput?.click()"
|
|
341
|
+
>
|
|
342
|
+
<UIcon
|
|
343
|
+
name="i-lucide-image-plus"
|
|
344
|
+
class="size-4"
|
|
345
|
+
/>
|
|
346
|
+
Add media — click or drop files
|
|
347
|
+
</button>
|
|
348
|
+
<input
|
|
349
|
+
ref="mediaInput"
|
|
350
|
+
type="file"
|
|
351
|
+
accept="image/*,video/*,audio/*"
|
|
352
|
+
multiple
|
|
353
|
+
class="hidden"
|
|
354
|
+
@click.stop
|
|
355
|
+
@change="onMediaPicked"
|
|
356
|
+
>
|
|
357
|
+
</section>
|
|
358
|
+
|
|
359
|
+
<!-- Only for non-mirrored posts: a prose body for a post that grew into
|
|
360
|
+
longer writing. A composer post already rendered its body above. -->
|
|
361
|
+
<template v-if="!bodyIsMirror">
|
|
362
|
+
<hr class="my-8 border-default">
|
|
363
|
+
<div class="jun-now-body">
|
|
364
|
+
<AEditor
|
|
365
|
+
:doc-id="docId"
|
|
366
|
+
:doc-label="title"
|
|
367
|
+
:doc-meta="meta"
|
|
368
|
+
:editable="editing"
|
|
369
|
+
:show-toolbar="editing"
|
|
370
|
+
:show-suggestion-menu="editing"
|
|
371
|
+
:show-drag-handle="editing"
|
|
372
|
+
:show-breadcrumb="false"
|
|
373
|
+
placeholder="Nothing more to say."
|
|
374
|
+
/>
|
|
375
|
+
</div>
|
|
376
|
+
</template>
|
|
377
|
+
</article>
|
|
378
|
+
</template>
|
|
379
|
+
|
|
380
|
+
<style scoped>
|
|
381
|
+
.jun-now-body :deep(.document-header){display:none}.jun-now-body :deep([data-meta-key=date]),.jun-now-body :deep([data-meta-key=geoLat]),.jun-now-body :deep([data-meta-key=location]),.jun-now-body :deep([data-meta-key=nowPlaying]){display:none}.jun-now-body :deep(.ProseMirror),.jun-now-body :deep(.aeditor-canvas){padding:0}
|
|
382
|
+
</style>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
docId: string;
|
|
3
|
+
docLabel?: string;
|
|
4
|
+
docMeta?: Record<string, unknown>;
|
|
5
|
+
childProvider?: unknown;
|
|
6
|
+
editable?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
docId: string;
|
|
3
|
+
docLabel?: string;
|
|
4
|
+
docMeta?: Record<string, unknown>;
|
|
5
|
+
childProvider?: unknown;
|
|
6
|
+
editable?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|