@abraca/nuxt 0.3.0 → 1.6.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/module.d.mts +26 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +51 -8
- package/dist/runtime/components/AAccountSwitcherModal.d.vue.ts +10 -0
- package/dist/runtime/components/AAccountSwitcherModal.vue +158 -0
- package/dist/runtime/components/AAccountSwitcherModal.vue.d.ts +10 -0
- package/dist/runtime/components/AClaimAccountModal.d.vue.ts +10 -0
- package/dist/runtime/components/AClaimAccountModal.vue +230 -0
- package/dist/runtime/components/AClaimAccountModal.vue.d.ts +10 -0
- package/dist/runtime/components/ACollaborationUsers.vue +1 -0
- package/dist/runtime/components/AColorPicker.vue +4 -2
- package/dist/runtime/components/ACommandPalette.vue +4 -2
- package/dist/runtime/components/AConnectServerModal.d.vue.ts +12 -0
- package/dist/runtime/components/AConnectServerModal.vue +200 -0
- package/dist/runtime/components/AConnectServerModal.vue.d.ts +12 -0
- package/dist/runtime/components/AConnectionStatus.vue +1 -0
- package/dist/runtime/components/ADocPickModal.d.vue.ts +13 -0
- package/dist/runtime/components/ADocPickModal.vue +71 -0
- package/dist/runtime/components/ADocPickModal.vue.d.ts +13 -0
- package/dist/runtime/components/ADocRenderer.d.vue.ts +1 -1
- package/dist/runtime/components/ADocRenderer.vue +6 -0
- package/dist/runtime/components/ADocRenderer.vue.d.ts +1 -1
- package/dist/runtime/components/ADocTypeSelect.vue +4 -3
- package/dist/runtime/components/ADocumentTree.d.vue.ts +3 -3
- package/dist/runtime/components/ADocumentTree.vue +118 -10
- package/dist/runtime/components/ADocumentTree.vue.d.ts +3 -3
- package/dist/runtime/components/AEditor.d.vue.ts +4 -4
- package/dist/runtime/components/AEditor.vue +16 -1
- package/dist/runtime/components/AEditor.vue.d.ts +4 -4
- package/dist/runtime/components/AFloatingWindow.d.vue.ts +54 -2
- package/dist/runtime/components/AFloatingWindow.vue +15 -14
- package/dist/runtime/components/AFloatingWindow.vue.d.ts +54 -2
- package/dist/runtime/components/AIconPicker.vue +2 -0
- package/dist/runtime/components/AInviteRedeemModal.d.vue.ts +10 -0
- package/dist/runtime/components/AInviteRedeemModal.vue +122 -0
- package/dist/runtime/components/AInviteRedeemModal.vue.d.ts +10 -0
- package/dist/runtime/components/ANodePanel.vue +10 -2
- package/dist/runtime/components/ANotifications.vue +3 -1
- package/dist/runtime/components/APermissionGuard.vue +1 -0
- package/dist/runtime/components/APresence.vue +1 -0
- package/dist/runtime/components/AProvider.d.vue.ts +0 -1
- package/dist/runtime/components/AProvider.vue +17 -4
- package/dist/runtime/components/AProvider.vue.d.ts +0 -1
- package/dist/runtime/components/ARoleBadge.vue +1 -0
- package/dist/runtime/components/ASpaceFormModal.d.vue.ts +16 -0
- package/dist/runtime/components/ASpaceFormModal.vue +182 -0
- package/dist/runtime/components/ASpaceFormModal.vue.d.ts +16 -0
- package/dist/runtime/components/AVoiceBar.vue +3 -1
- package/dist/runtime/components/AVoiceTile.vue +1 -0
- package/dist/runtime/components/AWindowLayer.vue +1 -0
- package/dist/runtime/components/aware/AArea.d.vue.ts +1 -1
- package/dist/runtime/components/aware/AArea.vue +2 -1
- package/dist/runtime/components/aware/AArea.vue.d.ts +1 -1
- package/dist/runtime/components/aware/AAvatar.vue +2 -0
- package/dist/runtime/components/aware/AButton.vue +2 -1
- package/dist/runtime/components/aware/ACursorLabel.vue +1 -0
- package/dist/runtime/components/aware/ADocBadge.vue +2 -0
- package/dist/runtime/components/aware/AFacepile.vue +2 -0
- package/dist/runtime/components/aware/AInput.vue +3 -2
- package/dist/runtime/components/aware/ASelect.vue +3 -2
- package/dist/runtime/components/aware/ATextarea.vue +3 -2
- package/dist/runtime/components/aware/AUserList.vue +2 -0
- package/dist/runtime/components/chat/AChatAgentStatus.d.vue.ts +15 -0
- package/dist/runtime/components/chat/AChatAgentStatus.vue +95 -0
- package/dist/runtime/components/chat/AChatAgentStatus.vue.d.ts +15 -0
- package/dist/runtime/components/chat/AChatDocLink.d.vue.ts +18 -0
- package/dist/runtime/components/chat/AChatDocLink.vue +29 -0
- package/dist/runtime/components/chat/AChatDocLink.vue.d.ts +18 -0
- package/dist/runtime/components/chat/AChatDocQuote.d.vue.ts +26 -0
- package/dist/runtime/components/chat/AChatDocQuote.vue +47 -0
- package/dist/runtime/components/chat/AChatDocQuote.vue.d.ts +26 -0
- package/dist/runtime/components/chat/AChatInput.d.vue.ts +45 -0
- package/dist/runtime/components/chat/AChatInput.vue +219 -0
- package/dist/runtime/components/chat/AChatInput.vue.d.ts +45 -0
- package/dist/runtime/components/chat/AChatList.d.vue.ts +59 -0
- package/dist/runtime/components/chat/AChatList.vue +184 -0
- package/dist/runtime/components/chat/AChatList.vue.d.ts +59 -0
- package/dist/runtime/components/chat/AChatMemberList.d.vue.ts +24 -0
- package/dist/runtime/components/chat/AChatMemberList.vue +97 -0
- package/dist/runtime/components/chat/AChatMemberList.vue.d.ts +24 -0
- package/dist/runtime/components/chat/AChatMessages.d.vue.ts +31 -0
- package/dist/runtime/components/chat/AChatMessages.vue +161 -0
- package/dist/runtime/components/chat/AChatMessages.vue.d.ts +31 -0
- package/dist/runtime/components/chat/AChatPanel.d.vue.ts +84 -0
- package/dist/runtime/components/chat/AChatPanel.vue +89 -0
- package/dist/runtime/components/chat/AChatPanel.vue.d.ts +84 -0
- package/dist/runtime/components/chat/AChatTypingIndicator.d.vue.ts +11 -0
- package/dist/runtime/components/chat/AChatTypingIndicator.vue +58 -0
- package/dist/runtime/components/chat/AChatTypingIndicator.vue.d.ts +11 -0
- package/dist/runtime/components/editor/AColorPalettePopover.d.vue.ts +23 -0
- package/dist/runtime/components/editor/AColorPalettePopover.vue +71 -0
- package/dist/runtime/components/editor/AColorPalettePopover.vue.d.ts +23 -0
- package/dist/runtime/components/editor/ADocLinkPopover.d.vue.ts +7 -0
- package/dist/runtime/components/editor/ADocLinkPopover.vue +74 -0
- package/dist/runtime/components/editor/ADocLinkPopover.vue.d.ts +7 -0
- package/dist/runtime/components/editor/AFileAudioPlayer.d.vue.ts +10 -0
- package/dist/runtime/components/editor/AFileAudioPlayer.vue +353 -0
- package/dist/runtime/components/editor/AFileAudioPlayer.vue.d.ts +10 -0
- package/dist/runtime/components/editor/AFileGlbViewer.d.vue.ts +13 -0
- package/dist/runtime/components/editor/AFileGlbViewer.vue +187 -0
- package/dist/runtime/components/editor/AFileGlbViewer.vue.d.ts +13 -0
- package/dist/runtime/components/editor/AFileVideoPlayer.d.vue.ts +7 -0
- package/dist/runtime/components/editor/AFileVideoPlayer.vue +62 -0
- package/dist/runtime/components/editor/AFileVideoPlayer.vue.d.ts +7 -0
- package/dist/runtime/components/editor/ALinkPopover.d.vue.ts +8 -0
- package/dist/runtime/components/editor/ALinkPopover.vue +149 -0
- package/dist/runtime/components/editor/ALinkPopover.vue.d.ts +8 -0
- package/dist/runtime/components/editor/ALocationPickerPopover.d.vue.ts +28 -0
- package/dist/runtime/components/editor/ALocationPickerPopover.vue +232 -0
- package/dist/runtime/components/editor/ALocationPickerPopover.vue.d.ts +28 -0
- package/dist/runtime/components/renderers/ACalendarRenderer.d.vue.ts +2 -0
- package/dist/runtime/components/renderers/ACalendarRenderer.vue +207 -327
- package/dist/runtime/components/renderers/ACalendarRenderer.vue.d.ts +2 -0
- package/dist/runtime/components/renderers/ACallRenderer.vue +3 -0
- package/dist/runtime/components/renderers/AChecklistRenderer.vue +1 -0
- package/dist/runtime/components/renderers/ADashboardRenderer.vue +14 -12
- package/dist/runtime/components/renderers/AGalleryRenderer.vue +120 -12
- package/dist/runtime/components/renderers/AGraphRenderer.vue +5 -2
- package/dist/runtime/components/renderers/AKanbanRenderer.vue +21 -5
- package/dist/runtime/components/renderers/AMapRenderer.vue +2 -0
- package/dist/runtime/components/renderers/AMediaRenderer.d.vue.ts +19 -0
- package/dist/runtime/components/renderers/AMediaRenderer.vue +224 -0
- package/dist/runtime/components/renderers/AMediaRenderer.vue.d.ts +19 -0
- package/dist/runtime/components/renderers/AOutlineRenderer.vue +1 -0
- package/dist/runtime/components/renderers/ASpatialRenderer.d.vue.ts +19 -0
- package/dist/runtime/components/renderers/ASpatialRenderer.vue +436 -0
- package/dist/runtime/components/renderers/ASpatialRenderer.vue.d.ts +19 -0
- package/dist/runtime/components/renderers/ATableRenderer.vue +65 -45
- package/dist/runtime/components/renderers/ATimelineRenderer.vue +282 -260
- package/dist/runtime/components/renderers/calendar/ACalendarDayCell.d.vue.ts +41 -0
- package/dist/runtime/components/renderers/calendar/ACalendarDayCell.vue +109 -0
- package/dist/runtime/components/renderers/calendar/ACalendarDayCell.vue.d.ts +41 -0
- package/dist/runtime/components/renderers/calendar/ACalendarDayView.d.vue.ts +49 -0
- package/dist/runtime/components/renderers/calendar/ACalendarDayView.vue +152 -0
- package/dist/runtime/components/renderers/calendar/ACalendarDayView.vue.d.ts +49 -0
- package/dist/runtime/components/renderers/calendar/ACalendarEventChip.d.vue.ts +39 -0
- package/dist/runtime/components/renderers/calendar/ACalendarEventChip.vue +101 -0
- package/dist/runtime/components/renderers/calendar/ACalendarEventChip.vue.d.ts +39 -0
- package/dist/runtime/components/renderers/calendar/ACalendarMonthView.d.vue.ts +43 -0
- package/dist/runtime/components/renderers/calendar/ACalendarMonthView.vue +87 -0
- package/dist/runtime/components/renderers/calendar/ACalendarMonthView.vue.d.ts +43 -0
- package/dist/runtime/components/renderers/calendar/ACalendarToolbar.d.vue.ts +38 -0
- package/dist/runtime/components/renderers/calendar/ACalendarToolbar.vue +206 -0
- package/dist/runtime/components/renderers/calendar/ACalendarToolbar.vue.d.ts +38 -0
- package/dist/runtime/components/renderers/calendar/ACalendarUnscheduled.d.vue.ts +28 -0
- package/dist/runtime/components/renderers/calendar/ACalendarUnscheduled.vue +33 -0
- package/dist/runtime/components/renderers/calendar/ACalendarUnscheduled.vue.d.ts +28 -0
- package/dist/runtime/components/renderers/calendar/ACalendarWeekView.d.vue.ts +50 -0
- package/dist/runtime/components/renderers/calendar/ACalendarWeekView.vue +188 -0
- package/dist/runtime/components/renderers/calendar/ACalendarWeekView.vue.d.ts +50 -0
- package/dist/runtime/components/renderers/media/MediaPlaylist.d.vue.ts +25 -0
- package/dist/runtime/components/renderers/media/MediaPlaylist.vue +115 -0
- package/dist/runtime/components/renderers/media/MediaPlaylist.vue.d.ts +25 -0
- package/dist/runtime/components/renderers/media/MediaSyncBar.d.vue.ts +21 -0
- package/dist/runtime/components/renderers/media/MediaSyncBar.vue +61 -0
- package/dist/runtime/components/renderers/media/MediaSyncBar.vue.d.ts +21 -0
- package/dist/runtime/components/renderers/media/MediaTransportBar.d.vue.ts +22 -0
- package/dist/runtime/components/renderers/media/MediaTransportBar.vue +98 -0
- package/dist/runtime/components/renderers/media/MediaTransportBar.vue.d.ts +22 -0
- package/dist/runtime/components/renderers/spatial/SpatialGround.d.vue.ts +20 -0
- package/dist/runtime/components/renderers/spatial/SpatialGround.vue +26 -0
- package/dist/runtime/components/renderers/spatial/SpatialGround.vue.d.ts +20 -0
- package/dist/runtime/components/renderers/spatial/SpatialObject.d.vue.ts +17 -0
- package/dist/runtime/components/renderers/spatial/SpatialObject.vue +257 -0
- package/dist/runtime/components/renderers/spatial/SpatialObject.vue.d.ts +17 -0
- package/dist/runtime/components/renderers/spatial/SpatialSceneBridge.d.vue.ts +15 -0
- package/dist/runtime/components/renderers/spatial/SpatialSceneBridge.vue +18 -0
- package/dist/runtime/components/renderers/spatial/SpatialSceneBridge.vue.d.ts +15 -0
- package/dist/runtime/components/renderers/spatial/SpatialUserAvatar.d.vue.ts +8 -0
- package/dist/runtime/components/renderers/spatial/SpatialUserAvatar.vue +53 -0
- package/dist/runtime/components/renderers/spatial/SpatialUserAvatar.vue.d.ts +8 -0
- package/dist/runtime/components/renderers/table/ATableColumnHeader.d.vue.ts +25 -0
- package/dist/runtime/components/renderers/table/ATableColumnHeader.vue +129 -0
- package/dist/runtime/components/renderers/table/ATableColumnHeader.vue.d.ts +25 -0
- package/dist/runtime/components/renderers/table/ATableFlatMode.d.vue.ts +21 -0
- package/dist/runtime/components/renderers/table/ATableFlatMode.vue +370 -0
- package/dist/runtime/components/renderers/table/ATableFlatMode.vue.d.ts +21 -0
- package/dist/runtime/components/renderers/table/ATableToolbar.d.vue.ts +22 -0
- package/dist/runtime/components/renderers/table/ATableToolbar.vue +106 -0
- package/dist/runtime/components/renderers/table/ATableToolbar.vue.d.ts +22 -0
- package/dist/runtime/components/renderers/table/cells/ATableCell.d.vue.ts +18 -0
- package/dist/runtime/components/renderers/table/cells/ATableCell.vue +54 -0
- package/dist/runtime/components/renderers/table/cells/ATableCell.vue.d.ts +18 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellColor.d.vue.ts +14 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellColor.vue +67 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellColor.vue.d.ts +14 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellDate.d.vue.ts +16 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellDate.vue +91 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellDate.vue.d.ts +16 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellMembers.d.vue.ts +6 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellMembers.vue +30 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellMembers.vue.d.ts +6 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellMultiSelect.d.vue.ts +17 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellMultiSelect.vue +76 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellMultiSelect.vue.d.ts +17 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellNumber.d.vue.ts +17 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellNumber.vue +54 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellNumber.vue.d.ts +17 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellRating.d.vue.ts +16 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellRating.vue +35 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellRating.vue.d.ts +16 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellSelect.d.vue.ts +18 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellSelect.vue +111 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellSelect.vue.d.ts +18 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellSlider.d.vue.ts +16 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellSlider.vue +35 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellSlider.vue.d.ts +16 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellTags.d.vue.ts +15 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellTags.vue +92 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellTags.vue.d.ts +15 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellText.d.vue.ts +15 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellText.vue +44 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellText.vue.d.ts +15 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellToggle.d.vue.ts +14 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellToggle.vue +31 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellToggle.vue.d.ts +14 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellUrl.d.vue.ts +15 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellUrl.vue +63 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellUrl.vue.d.ts +15 -0
- package/dist/runtime/components/renderers/timeline/ATimelineAxis.d.vue.ts +9 -0
- package/dist/runtime/components/renderers/timeline/ATimelineAxis.vue +53 -0
- package/dist/runtime/components/renderers/timeline/ATimelineAxis.vue.d.ts +9 -0
- package/dist/runtime/components/renderers/timeline/ATimelineBar.d.vue.ts +26 -0
- package/dist/runtime/components/renderers/timeline/ATimelineBar.vue +59 -0
- package/dist/runtime/components/renderers/timeline/ATimelineBar.vue.d.ts +26 -0
- package/dist/runtime/components/renderers/timeline/ATimelineBarArea.d.vue.ts +28 -0
- package/dist/runtime/components/renderers/timeline/ATimelineBarArea.vue +109 -0
- package/dist/runtime/components/renderers/timeline/ATimelineBarArea.vue.d.ts +28 -0
- package/dist/runtime/components/renderers/timeline/ATimelineLabelPanel.d.vue.ts +43 -0
- package/dist/runtime/components/renderers/timeline/ATimelineLabelPanel.vue +168 -0
- package/dist/runtime/components/renderers/timeline/ATimelineLabelPanel.vue.d.ts +43 -0
- package/dist/runtime/components/renderers/timeline/ATimelineMilestone.d.vue.ts +24 -0
- package/dist/runtime/components/renderers/timeline/ATimelineMilestone.vue +46 -0
- package/dist/runtime/components/renderers/timeline/ATimelineMilestone.vue.d.ts +24 -0
- package/dist/runtime/components/renderers/timeline/ATimelineToolbar.d.vue.ts +34 -0
- package/dist/runtime/components/renderers/timeline/ATimelineToolbar.vue +193 -0
- package/dist/runtime/components/renderers/timeline/ATimelineToolbar.vue.d.ts +34 -0
- package/dist/runtime/components/settings/ASettingsAdminPanel.d.vue.ts +3 -0
- package/dist/runtime/components/settings/ASettingsAdminPanel.vue +159 -0
- package/dist/runtime/components/settings/ASettingsAdminPanel.vue.d.ts +3 -0
- package/dist/runtime/components/settings/ASettingsConnectionPanel.d.vue.ts +3 -0
- package/dist/runtime/components/settings/ASettingsConnectionPanel.vue +146 -0
- package/dist/runtime/components/settings/ASettingsConnectionPanel.vue.d.ts +3 -0
- package/dist/runtime/components/settings/ASettingsInvitesPanel.d.vue.ts +3 -0
- package/dist/runtime/components/settings/ASettingsInvitesPanel.vue +157 -0
- package/dist/runtime/components/settings/ASettingsInvitesPanel.vue.d.ts +3 -0
- package/dist/runtime/components/settings/ASettingsMembersPanel.d.vue.ts +3 -0
- package/dist/runtime/components/settings/ASettingsMembersPanel.vue +134 -0
- package/dist/runtime/components/settings/ASettingsMembersPanel.vue.d.ts +3 -0
- package/dist/runtime/components/settings/ASettingsModal.d.vue.ts +3 -0
- package/dist/runtime/components/settings/ASettingsModal.vue +176 -0
- package/dist/runtime/components/settings/ASettingsModal.vue.d.ts +3 -0
- package/dist/runtime/components/settings/ASettingsOfflinePanel.d.vue.ts +3 -0
- package/dist/runtime/components/settings/ASettingsOfflinePanel.vue +170 -0
- package/dist/runtime/components/settings/ASettingsOfflinePanel.vue.d.ts +3 -0
- package/dist/runtime/components/settings/ASettingsPluginsPanel.d.vue.ts +3 -0
- package/dist/runtime/components/settings/ASettingsPluginsPanel.vue +96 -0
- package/dist/runtime/components/settings/ASettingsPluginsPanel.vue.d.ts +3 -0
- package/dist/runtime/components/settings/ASettingsProfilePanel.d.vue.ts +3 -0
- package/dist/runtime/components/settings/ASettingsProfilePanel.vue +223 -0
- package/dist/runtime/components/settings/ASettingsProfilePanel.vue.d.ts +3 -0
- package/dist/runtime/components/settings/ASettingsSecurityPanel.d.vue.ts +3 -0
- package/dist/runtime/components/settings/ASettingsSecurityPanel.vue +312 -0
- package/dist/runtime/components/settings/ASettingsSecurityPanel.vue.d.ts +3 -0
- package/dist/runtime/components/settings/ASettingsSpacesPanel.d.vue.ts +3 -0
- package/dist/runtime/components/settings/ASettingsSpacesPanel.vue +195 -0
- package/dist/runtime/components/settings/ASettingsSpacesPanel.vue.d.ts +3 -0
- package/dist/runtime/components/settings/ASettingsTrashPanel.d.vue.ts +3 -0
- package/dist/runtime/components/settings/ASettingsTrashPanel.vue +135 -0
- package/dist/runtime/components/settings/ASettingsTrashPanel.vue.d.ts +3 -0
- package/dist/runtime/components/shell/AChildContextMenu.d.vue.ts +30 -0
- package/dist/runtime/components/shell/AChildContextMenu.vue +48 -0
- package/dist/runtime/components/shell/AChildContextMenu.vue.d.ts +30 -0
- package/dist/runtime/components/shell/ACursorOverlay.d.vue.ts +11 -0
- package/dist/runtime/components/shell/ACursorOverlay.vue +55 -0
- package/dist/runtime/components/shell/ACursorOverlay.vue.d.ts +11 -0
- package/dist/runtime/components/shell/ADocDragGhost.d.vue.ts +3 -0
- package/dist/runtime/components/shell/ADocDragGhost.vue +58 -0
- package/dist/runtime/components/shell/ADocDragGhost.vue.d.ts +3 -0
- package/dist/runtime/components/shell/ADocPanelSettings.d.vue.ts +111 -0
- package/dist/runtime/components/shell/ADocPanelSettings.vue +621 -0
- package/dist/runtime/components/shell/ADocPanelSettings.vue.d.ts +111 -0
- package/dist/runtime/components/shell/AFavoritesList.d.vue.ts +27 -0
- package/dist/runtime/components/shell/AFavoritesList.vue +83 -0
- package/dist/runtime/components/shell/AFavoritesList.vue.d.ts +27 -0
- package/dist/runtime/components/shell/ANodeContextMenu.d.vue.ts +17 -0
- package/dist/runtime/components/shell/ANodeContextMenu.vue +14 -0
- package/dist/runtime/components/shell/ANodeContextMenu.vue.d.ts +17 -0
- package/dist/runtime/components/shell/ASidebar.d.vue.ts +54 -0
- package/dist/runtime/components/shell/ASidebar.vue +92 -0
- package/dist/runtime/components/shell/ASidebar.vue.d.ts +54 -0
- package/dist/runtime/components/shell/ASidebarToggle.d.vue.ts +7 -0
- package/dist/runtime/components/shell/ASidebarToggle.vue +23 -0
- package/dist/runtime/components/shell/ASidebarToggle.vue.d.ts +7 -0
- package/dist/runtime/components/shell/ASpaceSwitcher.d.vue.ts +32 -0
- package/dist/runtime/components/shell/ASpaceSwitcher.vue +63 -0
- package/dist/runtime/components/shell/ASpaceSwitcher.vue.d.ts +32 -0
- package/dist/runtime/components/shell/ASyncStatus.d.vue.ts +25 -0
- package/dist/runtime/components/shell/ASyncStatus.vue +96 -0
- package/dist/runtime/components/shell/ASyncStatus.vue.d.ts +25 -0
- package/dist/runtime/components/shell/AUserMenu.d.vue.ts +28 -0
- package/dist/runtime/components/shell/AUserMenu.vue +79 -0
- package/dist/runtime/components/shell/AUserMenu.vue.d.ts +28 -0
- package/dist/runtime/components/shell/AUserProfilePopover.d.vue.ts +54 -0
- package/dist/runtime/components/shell/AUserProfilePopover.vue +176 -0
- package/dist/runtime/components/shell/AUserProfilePopover.vue.d.ts +54 -0
- package/dist/runtime/components/shell/AWelcomeScreen.d.vue.ts +96 -0
- package/dist/runtime/components/shell/AWelcomeScreen.vue +422 -0
- package/dist/runtime/components/shell/AWelcomeScreen.vue.d.ts +96 -0
- package/dist/runtime/composables/useAAField.js +2 -0
- package/dist/runtime/composables/useAbraLocale.js +1 -0
- package/dist/runtime/composables/useAbracadabra.js +1 -0
- package/dist/runtime/composables/useAbracadabraAuth.d.ts +3 -4
- package/dist/runtime/composables/useAbracadabraAuth.js +4 -0
- package/dist/runtime/composables/useAwareness.js +1 -0
- package/dist/runtime/composables/useAwarenessPeers.js +1 -0
- package/dist/runtime/composables/useBackgroundSync.d.ts +5 -0
- package/dist/runtime/composables/useBackgroundSync.js +24 -3
- package/dist/runtime/composables/useCalendarView.d.ts +86 -0
- package/dist/runtime/composables/useCalendarView.js +316 -0
- package/dist/runtime/composables/useChat.d.ts +2 -1
- package/dist/runtime/composables/useChat.js +17 -10
- package/dist/runtime/composables/useChatUsers.js +1 -0
- package/dist/runtime/composables/useChildTree.d.ts +4 -2
- package/dist/runtime/composables/useChildTree.js +31 -21
- package/dist/runtime/composables/useCommandPalette.js +16 -17
- package/dist/runtime/composables/useConnectionStatus.d.ts +1 -1
- package/dist/runtime/composables/useConnectionStatus.js +1 -1
- package/dist/runtime/composables/useCrossWindowSync.d.ts +11 -0
- package/dist/runtime/composables/useCrossWindowSync.js +38 -0
- package/dist/runtime/composables/useDashboard.js +17 -9
- package/dist/runtime/composables/useDevicePairing.js +2 -0
- package/dist/runtime/composables/useDocDragBus.d.ts +28 -0
- package/dist/runtime/composables/useDocDragBus.js +22 -0
- package/dist/runtime/composables/useDocDropZone.d.ts +51 -0
- package/dist/runtime/composables/useDocDropZone.js +84 -0
- package/dist/runtime/composables/useDocExport.js +2 -0
- package/dist/runtime/composables/useDocImport.js +1 -0
- package/dist/runtime/composables/useDocLabels.d.ts +22 -0
- package/dist/runtime/composables/useDocLabels.js +11 -0
- package/dist/runtime/composables/useDocLinkPick.d.ts +18 -0
- package/dist/runtime/composables/useDocLinkPick.js +22 -0
- package/dist/runtime/composables/useDocSeo.js +3 -2
- package/dist/runtime/composables/useDocSlugs.js +3 -0
- package/dist/runtime/composables/useDocTree.d.ts +1 -0
- package/dist/runtime/composables/useDocTree.js +6 -2
- package/dist/runtime/composables/useEditor.js +1 -0
- package/dist/runtime/composables/useEditorDragHandle.js +2 -0
- package/dist/runtime/composables/useEditorEmojis.d.ts +22 -0
- package/dist/runtime/composables/useEditorEmojis.js +57 -0
- package/dist/runtime/composables/useEditorMentions.d.ts +10 -3
- package/dist/runtime/composables/useEditorMentions.js +31 -3
- package/dist/runtime/composables/useEditorSuggestions.d.ts +2 -2
- package/dist/runtime/composables/useEditorSuggestions.js +27 -19
- package/dist/runtime/composables/useEditorToolbar.d.ts +1 -1
- package/dist/runtime/composables/useEditorToolbar.js +3 -0
- package/dist/runtime/composables/useFavorites.d.ts +13 -0
- package/dist/runtime/composables/useFavorites.js +42 -0
- package/dist/runtime/composables/useFileIndex.js +2 -0
- package/dist/runtime/composables/useFileTransfer.js +13 -1
- package/dist/runtime/composables/useFollowUser.js +2 -0
- package/dist/runtime/composables/useIdentityDoc.d.ts +89 -0
- package/dist/runtime/composables/useIdentityDoc.js +349 -0
- package/dist/runtime/composables/useInstalledPlugins.d.ts +31 -0
- package/dist/runtime/composables/useInstalledPlugins.js +58 -0
- package/dist/runtime/composables/useInvites.js +1 -0
- package/dist/runtime/composables/useJoinLink.d.ts +25 -0
- package/dist/runtime/composables/useJoinLink.js +58 -0
- package/dist/runtime/composables/useMediaExtractor.d.ts +31 -0
- package/dist/runtime/composables/useMediaExtractor.js +46 -0
- package/dist/runtime/composables/useMediaPlayback.d.ts +43 -0
- package/dist/runtime/composables/useMediaPlayback.js +465 -0
- package/dist/runtime/composables/useNodeContextMenu.d.ts +26 -0
- package/dist/runtime/composables/useNodeContextMenu.js +99 -0
- package/dist/runtime/composables/useNodePanel.d.ts +7 -1
- package/dist/runtime/composables/useNodePanel.js +45 -8
- package/dist/runtime/composables/useNodePanelFollow.d.ts +2 -0
- package/dist/runtime/composables/useNodePanelFollow.js +37 -0
- package/dist/runtime/composables/useNotifications.d.ts +1 -0
- package/dist/runtime/composables/useNotifications.js +7 -2
- package/dist/runtime/composables/usePluginRegistry.js +1 -0
- package/dist/runtime/composables/useRendererBase.d.ts +16 -1
- package/dist/runtime/composables/useRendererBase.js +10 -1
- package/dist/runtime/composables/useSearchIndex.js +2 -0
- package/dist/runtime/composables/useSettingsModal.d.ts +18 -0
- package/dist/runtime/composables/useSettingsModal.js +30 -0
- package/dist/runtime/composables/useSlideoverSwipe.d.ts +39 -0
- package/dist/runtime/composables/useSlideoverSwipe.js +48 -0
- package/dist/runtime/composables/useSlugRoute.js +2 -0
- package/dist/runtime/composables/useSpaces.js +2 -0
- package/dist/runtime/composables/useSpatialCamera.d.ts +16 -0
- package/dist/runtime/composables/useSpatialCamera.js +175 -0
- package/dist/runtime/composables/useSpatialDrag.d.ts +14 -0
- package/dist/runtime/composables/useSpatialDrag.js +137 -0
- package/dist/runtime/composables/useTableView.d.ts +29 -0
- package/dist/runtime/composables/useTableView.js +184 -0
- package/dist/runtime/composables/useTimelineView.d.ts +55 -0
- package/dist/runtime/composables/useTimelineView.js +434 -0
- package/dist/runtime/composables/useTiptapDragState.d.ts +8 -0
- package/dist/runtime/composables/useTiptapDragState.js +5 -0
- package/dist/runtime/composables/useTouchDrag.d.ts +2 -0
- package/dist/runtime/composables/useTouchDrag.js +3 -0
- package/dist/runtime/composables/useTrash.d.ts +4 -0
- package/dist/runtime/composables/useTrash.js +6 -3
- package/dist/runtime/composables/useTreeUndoManager.d.ts +22 -0
- package/dist/runtime/composables/useTreeUndoManager.js +45 -0
- package/dist/runtime/composables/useUndoRedo.d.ts +37 -0
- package/dist/runtime/composables/useUndoRedo.js +115 -0
- package/dist/runtime/composables/useVoice.js +2 -0
- package/dist/runtime/composables/useWebRTC.js +2 -0
- package/dist/runtime/composables/useWindowManager.d.ts +2 -0
- package/dist/runtime/composables/useWindowManager.js +63 -1
- package/dist/runtime/extensions/code-preview.d.ts +2 -0
- package/dist/runtime/extensions/code-preview.js +17 -0
- package/dist/runtime/extensions/code-tree.d.ts +2 -0
- package/dist/runtime/extensions/code-tree.js +33 -0
- package/dist/runtime/extensions/doc-embed.d.ts +12 -0
- package/dist/runtime/extensions/doc-embed.js +63 -0
- package/dist/runtime/extensions/doc-link-drop.d.ts +3 -0
- package/dist/runtime/extensions/doc-link-drop.js +63 -0
- package/dist/runtime/extensions/document-header.js +1 -1
- package/dist/runtime/extensions/field.d.ts +3 -0
- package/dist/runtime/extensions/field.js +53 -0
- package/dist/runtime/extensions/mention-drop.d.ts +8 -0
- package/dist/runtime/extensions/mention-drop.js +47 -0
- package/dist/runtime/extensions/meta-field.js +2 -0
- package/dist/runtime/extensions/selection-drag.d.ts +13 -0
- package/dist/runtime/extensions/selection-drag.js +126 -0
- package/dist/runtime/extensions/views/AccordionItemView.vue +1 -0
- package/dist/runtime/extensions/views/BadgeView.vue +1 -0
- package/dist/runtime/extensions/views/CardView.vue +1 -0
- package/dist/runtime/extensions/views/CodeCollapseView.vue +1 -0
- package/dist/runtime/extensions/views/CodeGroupView.vue +1 -0
- package/dist/runtime/extensions/views/CodePreviewView.d.vue.ts +4 -0
- package/dist/runtime/extensions/views/CodePreviewView.vue +48 -0
- package/dist/runtime/extensions/views/CodePreviewView.vue.d.ts +4 -0
- package/dist/runtime/extensions/views/CodeTreeView.d.vue.ts +4 -0
- package/dist/runtime/extensions/views/CodeTreeView.vue +88 -0
- package/dist/runtime/extensions/views/CodeTreeView.vue.d.ts +4 -0
- package/dist/runtime/extensions/views/CollapsibleView.vue +1 -0
- package/dist/runtime/extensions/views/DocEmbedView.d.vue.ts +4 -0
- package/dist/runtime/extensions/views/DocEmbedView.vue +198 -0
- package/dist/runtime/extensions/views/DocEmbedView.vue.d.ts +4 -0
- package/dist/runtime/extensions/views/FieldGroupView.d.vue.ts +4 -0
- package/dist/runtime/extensions/views/FieldGroupView.vue +25 -0
- package/dist/runtime/extensions/views/FieldGroupView.vue.d.ts +4 -0
- package/dist/runtime/extensions/views/FieldView.d.vue.ts +4 -0
- package/dist/runtime/extensions/views/FieldView.vue +53 -0
- package/dist/runtime/extensions/views/FieldView.vue.d.ts +4 -0
- package/dist/runtime/extensions/views/FileNodeView.vue +2 -0
- package/dist/runtime/extensions/views/KbdView.vue +1 -0
- package/dist/runtime/extensions/views/MetaFieldView.vue +68 -2
- package/dist/runtime/extensions/views/ProseIconView.vue +1 -0
- package/dist/runtime/extensions/views/StepsView.vue +1 -0
- package/dist/runtime/extensions/views/TabsView.vue +1 -0
- package/dist/runtime/locale.d.ts +65 -0
- package/dist/runtime/locale.js +67 -2
- package/dist/runtime/middleware/abracadabra-auth.d.ts +1 -10
- package/dist/runtime/middleware/abracadabra-auth.js +2 -0
- package/dist/runtime/plugin-abracadabra.client.d.ts +1 -1
- package/dist/runtime/plugin-abracadabra.client.js +99 -53
- package/dist/runtime/plugin-abracadabra.server.d.ts +1 -1
- package/dist/runtime/plugin-abracadabra.server.js +2 -0
- package/dist/runtime/plugin-shared-globals.client.d.ts +1 -1
- package/dist/runtime/plugin-shared-globals.client.js +1 -0
- package/dist/runtime/plugins/core.plugin.js +40 -4
- package/dist/runtime/server/api/_abracadabra/render/[docId].get.d.ts +19 -17
- package/dist/runtime/server/api/_abracadabra/render/[docId].get.js +4 -0
- package/dist/runtime/server/api/_abracadabra/resolve/[...slug].get.d.ts +11 -1
- package/dist/runtime/server/api/_abracadabra/resolve/[...slug].get.js +1 -0
- package/dist/runtime/server/api/_abracadabra/slugs.get.js +1 -0
- package/dist/runtime/server/api/_abracadabra/spaces.get.d.ts +1 -10
- package/dist/runtime/server/api/_abracadabra/spaces.get.js +3 -0
- package/dist/runtime/server/plugins/abracadabra-service.js +24 -12
- package/dist/runtime/server/utils/docCache.d.ts +8 -6
- package/dist/runtime/server/utils/docCache.js +3 -3
- package/dist/runtime/server/utils/serverPluginLoader.d.ts +20 -0
- package/dist/runtime/server/utils/serverPluginLoader.js +42 -0
- package/dist/runtime/server/utils/serverRunner.d.ts +11 -2
- package/dist/runtime/server/utils/serverRunner.js +21 -10
- package/dist/runtime/server/utils/spaceManager.d.ts +25 -0
- package/dist/runtime/server/utils/spaceManager.js +188 -0
- package/dist/runtime/types.d.ts +128 -30
- package/dist/runtime/types.js +17 -17
- package/dist/runtime/utils/chatContent.d.ts +41 -0
- package/dist/runtime/utils/chatContent.js +65 -0
- package/dist/runtime/utils/colorPalettes.js +12 -6
- package/dist/runtime/utils/coverCache.d.ts +12 -0
- package/dist/runtime/utils/coverCache.js +14 -0
- package/dist/runtime/utils/docReferenceEdges.d.ts +26 -0
- package/dist/runtime/utils/docReferenceEdges.js +122 -0
- package/dist/runtime/utils/docTypes.d.ts +6 -1
- package/dist/runtime/utils/duplicateDocContent.d.ts +19 -0
- package/dist/runtime/utils/duplicateDocContent.js +68 -0
- package/dist/runtime/utils/extractFileMetadata.d.ts +13 -0
- package/dist/runtime/utils/extractFileMetadata.js +94 -0
- package/dist/runtime/utils/getMetaColor.d.ts +6 -0
- package/dist/runtime/utils/getMetaColor.js +12 -0
- package/dist/runtime/utils/htmlToYjs.d.ts +19 -0
- package/dist/runtime/utils/htmlToYjs.js +235 -0
- package/dist/runtime/utils/markdownToYjs.js +3 -3
- package/dist/runtime/utils/metaFieldDefinitions.js +9 -0
- package/dist/runtime/utils/notificationRenderers.d.ts +13 -0
- package/dist/runtime/utils/notificationRenderers.js +41 -0
- package/dist/runtime/utils/sdkRef.d.ts +12 -2
- package/dist/types.d.mts +12 -0
- package/package.json +26 -27
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** Whether a background sync is in progress */
|
|
3
|
+
syncing?: boolean;
|
|
4
|
+
/** Sync progress (0–1) */
|
|
5
|
+
progress?: number;
|
|
6
|
+
/** Number of sync errors */
|
|
7
|
+
errorCount?: number;
|
|
8
|
+
/** Number of files pending upload */
|
|
9
|
+
pendingUploads?: number;
|
|
10
|
+
/** Whether sidebar is collapsed */
|
|
11
|
+
collapsed?: boolean;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
click: () => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
onClick?: (() => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
syncing: boolean;
|
|
19
|
+
progress: number;
|
|
20
|
+
collapsed: boolean;
|
|
21
|
+
errorCount: number;
|
|
22
|
+
pendingUploads: number;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed } from "vue";
|
|
3
|
+
const props = defineProps({
|
|
4
|
+
syncing: { type: Boolean, required: false, default: false },
|
|
5
|
+
progress: { type: Number, required: false, default: 0 },
|
|
6
|
+
errorCount: { type: Number, required: false, default: 0 },
|
|
7
|
+
pendingUploads: { type: Number, required: false, default: 0 },
|
|
8
|
+
collapsed: { type: Boolean, required: false, default: false }
|
|
9
|
+
});
|
|
10
|
+
const emit = defineEmits(["click"]);
|
|
11
|
+
const show = computed(
|
|
12
|
+
() => props.pendingUploads > 0 || props.syncing || props.errorCount > 0
|
|
13
|
+
);
|
|
14
|
+
const tooltipText = computed(() => {
|
|
15
|
+
if (props.pendingUploads > 0) return `Uploading ${props.pendingUploads} file${props.pendingUploads === 1 ? "" : "s"}\u2026`;
|
|
16
|
+
if (props.syncing) return "Syncing\u2026";
|
|
17
|
+
return `${props.errorCount} sync error${props.errorCount === 1 ? "" : "s"}`;
|
|
18
|
+
});
|
|
19
|
+
const collapsedIcon = computed(() => {
|
|
20
|
+
if (props.pendingUploads > 0) return "i-lucide-upload";
|
|
21
|
+
if (props.syncing) return "i-lucide-refresh-cw";
|
|
22
|
+
return "i-lucide-alert-circle";
|
|
23
|
+
});
|
|
24
|
+
const collapsedIconClass = computed(() => {
|
|
25
|
+
if (props.pendingUploads > 0) return "text-amber-500";
|
|
26
|
+
if (props.syncing) return "text-(--ui-text-muted) animate-spin";
|
|
27
|
+
return "text-red-500";
|
|
28
|
+
});
|
|
29
|
+
</script>
|
|
30
|
+
|
|
31
|
+
<template>
|
|
32
|
+
<button
|
|
33
|
+
v-if="show"
|
|
34
|
+
class="flex items-center gap-2 w-full px-2 py-1.5 text-xs rounded-lg hover:bg-(--ui-bg-elevated) transition-colors text-(--ui-text-muted) cursor-pointer"
|
|
35
|
+
@click="emit('click')"
|
|
36
|
+
>
|
|
37
|
+
<template v-if="!collapsed">
|
|
38
|
+
<!-- Uploading -->
|
|
39
|
+
<template v-if="pendingUploads > 0">
|
|
40
|
+
<UIcon
|
|
41
|
+
name="i-lucide-upload"
|
|
42
|
+
class="size-3.5 text-amber-500 shrink-0"
|
|
43
|
+
/>
|
|
44
|
+
<span class="truncate flex-1 text-left">Uploading {{ pendingUploads }} file{{ pendingUploads === 1 ? "" : "s" }}…</span>
|
|
45
|
+
<div class="flex gap-0.5 shrink-0">
|
|
46
|
+
<div
|
|
47
|
+
v-for="i in 3"
|
|
48
|
+
:key="i"
|
|
49
|
+
class="size-1 rounded-full bg-amber-500 animate-bounce"
|
|
50
|
+
:style="{ animationDelay: `${(i - 1) * 0.15}s` }"
|
|
51
|
+
/>
|
|
52
|
+
</div>
|
|
53
|
+
</template>
|
|
54
|
+
|
|
55
|
+
<!-- Syncing -->
|
|
56
|
+
<template v-else-if="syncing">
|
|
57
|
+
<UIcon
|
|
58
|
+
name="i-lucide-refresh-cw"
|
|
59
|
+
class="size-3.5 text-(--ui-text-muted) shrink-0 animate-spin"
|
|
60
|
+
/>
|
|
61
|
+
<span class="truncate flex-1 text-left">Syncing…</span>
|
|
62
|
+
<UProgress
|
|
63
|
+
:value="progress * 100"
|
|
64
|
+
class="w-12 shrink-0"
|
|
65
|
+
size="xs"
|
|
66
|
+
/>
|
|
67
|
+
</template>
|
|
68
|
+
|
|
69
|
+
<!-- Errors -->
|
|
70
|
+
<template v-else>
|
|
71
|
+
<UIcon
|
|
72
|
+
name="i-lucide-alert-circle"
|
|
73
|
+
class="size-3.5 text-red-500 shrink-0"
|
|
74
|
+
/>
|
|
75
|
+
<span class="truncate flex-1 text-left text-red-500">{{ errorCount }} sync error{{ errorCount === 1 ? "" : "s" }}</span>
|
|
76
|
+
<UIcon
|
|
77
|
+
name="i-lucide-chevron-right"
|
|
78
|
+
class="size-3.5 shrink-0"
|
|
79
|
+
/>
|
|
80
|
+
</template>
|
|
81
|
+
</template>
|
|
82
|
+
|
|
83
|
+
<template v-else>
|
|
84
|
+
<UTooltip
|
|
85
|
+
:text="tooltipText"
|
|
86
|
+
:content="{ side: 'right' }"
|
|
87
|
+
>
|
|
88
|
+
<UIcon
|
|
89
|
+
:name="collapsedIcon"
|
|
90
|
+
:class="collapsedIconClass"
|
|
91
|
+
class="size-4 mx-auto"
|
|
92
|
+
/>
|
|
93
|
+
</UTooltip>
|
|
94
|
+
</template>
|
|
95
|
+
</button>
|
|
96
|
+
</template>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** Whether a background sync is in progress */
|
|
3
|
+
syncing?: boolean;
|
|
4
|
+
/** Sync progress (0–1) */
|
|
5
|
+
progress?: number;
|
|
6
|
+
/** Number of sync errors */
|
|
7
|
+
errorCount?: number;
|
|
8
|
+
/** Number of files pending upload */
|
|
9
|
+
pendingUploads?: number;
|
|
10
|
+
/** Whether sidebar is collapsed */
|
|
11
|
+
collapsed?: boolean;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
click: () => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
onClick?: (() => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
syncing: boolean;
|
|
19
|
+
progress: number;
|
|
20
|
+
collapsed: boolean;
|
|
21
|
+
errorCount: number;
|
|
22
|
+
pendingUploads: number;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { DropdownMenuItem } from '@nuxt/ui';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** User display name */
|
|
4
|
+
name: string;
|
|
5
|
+
/** User color (CSS value or named color) */
|
|
6
|
+
color?: string;
|
|
7
|
+
/** Avatar border style */
|
|
8
|
+
avatarStyle?: string;
|
|
9
|
+
/** Whether sidebar is collapsed */
|
|
10
|
+
collapsed?: boolean;
|
|
11
|
+
/** Extra menu items prepended before default actions */
|
|
12
|
+
extraItems?: DropdownMenuItem[][];
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
logout: () => any;
|
|
16
|
+
"open-settings": () => any;
|
|
17
|
+
"open-account": () => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
onLogout?: (() => any) | undefined;
|
|
20
|
+
"onOpen-settings"?: (() => any) | undefined;
|
|
21
|
+
"onOpen-account"?: (() => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
color: string;
|
|
24
|
+
collapsed: boolean;
|
|
25
|
+
avatarStyle: string;
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed } from "vue";
|
|
3
|
+
const props = defineProps({
|
|
4
|
+
name: { type: String, required: true },
|
|
5
|
+
color: { type: String, required: false, default: "" },
|
|
6
|
+
avatarStyle: { type: String, required: false, default: "" },
|
|
7
|
+
collapsed: { type: Boolean, required: false, default: false },
|
|
8
|
+
extraItems: { type: Array, required: false }
|
|
9
|
+
});
|
|
10
|
+
const emit = defineEmits(["open-settings", "open-account", "logout"]);
|
|
11
|
+
const items = computed(() => {
|
|
12
|
+
const userGroup = [
|
|
13
|
+
{
|
|
14
|
+
label: props.name,
|
|
15
|
+
icon: "i-lucide-user",
|
|
16
|
+
disabled: true
|
|
17
|
+
}
|
|
18
|
+
];
|
|
19
|
+
const actionGroup = [
|
|
20
|
+
{
|
|
21
|
+
label: "Account",
|
|
22
|
+
icon: "i-lucide-shield",
|
|
23
|
+
onSelect: () => emit("open-account")
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
label: "Settings",
|
|
27
|
+
icon: "i-lucide-settings",
|
|
28
|
+
onSelect: () => emit("open-settings")
|
|
29
|
+
}
|
|
30
|
+
];
|
|
31
|
+
const logoutGroup = [
|
|
32
|
+
{
|
|
33
|
+
label: "Disconnect",
|
|
34
|
+
icon: "i-lucide-log-out",
|
|
35
|
+
color: "error",
|
|
36
|
+
onSelect: () => emit("logout")
|
|
37
|
+
}
|
|
38
|
+
];
|
|
39
|
+
return [userGroup, ...props.extraItems ?? [], actionGroup, logoutGroup];
|
|
40
|
+
});
|
|
41
|
+
</script>
|
|
42
|
+
|
|
43
|
+
<template>
|
|
44
|
+
<UDropdownMenu
|
|
45
|
+
:items="items"
|
|
46
|
+
:content="{ align: 'start', side: 'top', sideOffset: 4 }"
|
|
47
|
+
>
|
|
48
|
+
<UButton
|
|
49
|
+
color="neutral"
|
|
50
|
+
variant="ghost"
|
|
51
|
+
block
|
|
52
|
+
class="justify-start"
|
|
53
|
+
:class="collapsed ? 'px-0 justify-center' : ''"
|
|
54
|
+
>
|
|
55
|
+
<template #leading>
|
|
56
|
+
<UAvatar
|
|
57
|
+
:alt="name"
|
|
58
|
+
size="2xs"
|
|
59
|
+
:style="avatarStyle"
|
|
60
|
+
/>
|
|
61
|
+
</template>
|
|
62
|
+
<span
|
|
63
|
+
v-if="!collapsed"
|
|
64
|
+
class="truncate flex-1 text-left text-sm"
|
|
65
|
+
>
|
|
66
|
+
{{ name }}
|
|
67
|
+
</span>
|
|
68
|
+
<template
|
|
69
|
+
v-if="!collapsed"
|
|
70
|
+
#trailing
|
|
71
|
+
>
|
|
72
|
+
<UIcon
|
|
73
|
+
name="i-lucide-chevron-up"
|
|
74
|
+
class="size-3.5 opacity-50"
|
|
75
|
+
/>
|
|
76
|
+
</template>
|
|
77
|
+
</UButton>
|
|
78
|
+
</UDropdownMenu>
|
|
79
|
+
</template>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { DropdownMenuItem } from '@nuxt/ui';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** User display name */
|
|
4
|
+
name: string;
|
|
5
|
+
/** User color (CSS value or named color) */
|
|
6
|
+
color?: string;
|
|
7
|
+
/** Avatar border style */
|
|
8
|
+
avatarStyle?: string;
|
|
9
|
+
/** Whether sidebar is collapsed */
|
|
10
|
+
collapsed?: boolean;
|
|
11
|
+
/** Extra menu items prepended before default actions */
|
|
12
|
+
extraItems?: DropdownMenuItem[][];
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
logout: () => any;
|
|
16
|
+
"open-settings": () => any;
|
|
17
|
+
"open-account": () => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
onLogout?: (() => any) | undefined;
|
|
20
|
+
"onOpen-settings"?: (() => any) | undefined;
|
|
21
|
+
"onOpen-account"?: (() => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
color: string;
|
|
24
|
+
collapsed: boolean;
|
|
25
|
+
avatarStyle: string;
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
publicKey: string;
|
|
3
|
+
name?: string;
|
|
4
|
+
color?: string;
|
|
5
|
+
/** Avatar border style (CSS string) */
|
|
6
|
+
avatarStyle?: string;
|
|
7
|
+
online?: boolean | null;
|
|
8
|
+
/** Whether this is the current user */
|
|
9
|
+
isSelf?: boolean;
|
|
10
|
+
/** Whether to show the follow button */
|
|
11
|
+
showFollow?: boolean;
|
|
12
|
+
/** Whether currently following this user */
|
|
13
|
+
isFollowing?: boolean;
|
|
14
|
+
/** Doc ID + label of where the user currently is (for "currently on" display) */
|
|
15
|
+
currentDocId?: string | null;
|
|
16
|
+
currentDocLabel?: string | null;
|
|
17
|
+
currentDocIcon?: string;
|
|
18
|
+
};
|
|
19
|
+
declare var __VLS_8: {};
|
|
20
|
+
type __VLS_Slots = {} & {
|
|
21
|
+
default?: (props: typeof __VLS_8) => any;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
message: (publicKey: string, name: string) => any;
|
|
25
|
+
follow: (publicKey: string) => any;
|
|
26
|
+
unfollow: (publicKey: string) => any;
|
|
27
|
+
"navigate-to-doc": (docId: string) => any;
|
|
28
|
+
"key-copied": (publicKey: string) => any;
|
|
29
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
30
|
+
onMessage?: ((publicKey: string, name: string) => any) | undefined;
|
|
31
|
+
onFollow?: ((publicKey: string) => any) | undefined;
|
|
32
|
+
onUnfollow?: ((publicKey: string) => any) | undefined;
|
|
33
|
+
"onNavigate-to-doc"?: ((docId: string) => any) | undefined;
|
|
34
|
+
"onKey-copied"?: ((publicKey: string) => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
color: string;
|
|
37
|
+
name: string;
|
|
38
|
+
online: boolean | null;
|
|
39
|
+
currentDocId: string | null;
|
|
40
|
+
avatarStyle: string;
|
|
41
|
+
isSelf: boolean;
|
|
42
|
+
showFollow: boolean;
|
|
43
|
+
isFollowing: boolean;
|
|
44
|
+
currentDocLabel: string | null;
|
|
45
|
+
currentDocIcon: string;
|
|
46
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
47
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
48
|
+
declare const _default: typeof __VLS_export;
|
|
49
|
+
export default _default;
|
|
50
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
51
|
+
new (): {
|
|
52
|
+
$slots: S;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { ref, computed } from "vue";
|
|
3
|
+
import { useClipboard } from "@vueuse/core";
|
|
4
|
+
const props = defineProps({
|
|
5
|
+
publicKey: { type: String, required: true },
|
|
6
|
+
name: { type: String, required: false, default: "" },
|
|
7
|
+
color: { type: String, required: false, default: "" },
|
|
8
|
+
avatarStyle: { type: String, required: false, default: "" },
|
|
9
|
+
online: { type: [Boolean, null], required: false, default: null },
|
|
10
|
+
isSelf: { type: Boolean, required: false, default: false },
|
|
11
|
+
showFollow: { type: Boolean, required: false, default: true },
|
|
12
|
+
isFollowing: { type: Boolean, required: false, default: false },
|
|
13
|
+
currentDocId: { type: [String, null], required: false, default: null },
|
|
14
|
+
currentDocLabel: { type: [String, null], required: false, default: null },
|
|
15
|
+
currentDocIcon: { type: String, required: false, default: "i-lucide-file" }
|
|
16
|
+
});
|
|
17
|
+
const emit = defineEmits(["follow", "unfollow", "message", "navigate-to-doc", "key-copied"]);
|
|
18
|
+
const { copy } = useClipboard();
|
|
19
|
+
const popoverOpen = ref(false);
|
|
20
|
+
const resolvedName = computed(
|
|
21
|
+
() => props.name || props.publicKey.slice(0, 12) + "\u2026"
|
|
22
|
+
);
|
|
23
|
+
const isElsewhere = computed(
|
|
24
|
+
() => props.online && props.currentDocId
|
|
25
|
+
);
|
|
26
|
+
function toggleFollow() {
|
|
27
|
+
if (props.isFollowing) {
|
|
28
|
+
emit("unfollow", props.publicKey);
|
|
29
|
+
} else {
|
|
30
|
+
emit("follow", props.publicKey);
|
|
31
|
+
}
|
|
32
|
+
popoverOpen.value = false;
|
|
33
|
+
}
|
|
34
|
+
async function copyKey() {
|
|
35
|
+
await copy(props.publicKey);
|
|
36
|
+
emit("key-copied", props.publicKey);
|
|
37
|
+
}
|
|
38
|
+
function openDm() {
|
|
39
|
+
popoverOpen.value = false;
|
|
40
|
+
emit("message", props.publicKey, resolvedName.value);
|
|
41
|
+
}
|
|
42
|
+
function navigateToUserDoc() {
|
|
43
|
+
if (!props.currentDocId) return;
|
|
44
|
+
popoverOpen.value = false;
|
|
45
|
+
emit("navigate-to-doc", props.currentDocId);
|
|
46
|
+
}
|
|
47
|
+
</script>
|
|
48
|
+
|
|
49
|
+
<template>
|
|
50
|
+
<UPopover
|
|
51
|
+
v-model:open="popoverOpen"
|
|
52
|
+
:content="{ align: 'center' }"
|
|
53
|
+
:ui="{ content: 'p-0' }"
|
|
54
|
+
>
|
|
55
|
+
<slot>
|
|
56
|
+
<UChip
|
|
57
|
+
color="success"
|
|
58
|
+
size="xs"
|
|
59
|
+
inset
|
|
60
|
+
:show="!!online"
|
|
61
|
+
>
|
|
62
|
+
<UAvatar
|
|
63
|
+
:alt="resolvedName"
|
|
64
|
+
size="sm"
|
|
65
|
+
:style="avatarStyle"
|
|
66
|
+
/>
|
|
67
|
+
</UChip>
|
|
68
|
+
</slot>
|
|
69
|
+
|
|
70
|
+
<template #content>
|
|
71
|
+
<div class="w-72 p-3 space-y-3">
|
|
72
|
+
<!-- Header: avatar + name + status -->
|
|
73
|
+
<div class="flex items-center gap-3">
|
|
74
|
+
<UChip
|
|
75
|
+
color="success"
|
|
76
|
+
size="sm"
|
|
77
|
+
inset
|
|
78
|
+
:show="!!online"
|
|
79
|
+
>
|
|
80
|
+
<UAvatar
|
|
81
|
+
:alt="resolvedName"
|
|
82
|
+
size="lg"
|
|
83
|
+
:style="avatarStyle"
|
|
84
|
+
/>
|
|
85
|
+
</UChip>
|
|
86
|
+
<div class="min-w-0 flex-1">
|
|
87
|
+
<div class="flex items-center gap-1.5">
|
|
88
|
+
<p class="text-sm font-semibold text-(--ui-text-highlighted) truncate">
|
|
89
|
+
{{ resolvedName }}
|
|
90
|
+
</p>
|
|
91
|
+
<UBadge
|
|
92
|
+
v-if="isSelf"
|
|
93
|
+
label="You"
|
|
94
|
+
variant="subtle"
|
|
95
|
+
color="neutral"
|
|
96
|
+
size="xs"
|
|
97
|
+
class="shrink-0"
|
|
98
|
+
/>
|
|
99
|
+
</div>
|
|
100
|
+
<div class="flex items-center gap-1.5 mt-0.5">
|
|
101
|
+
<span
|
|
102
|
+
class="size-1.5 rounded-full shrink-0"
|
|
103
|
+
:class="online ? 'bg-green-500' : 'bg-(--ui-text-dimmed)'"
|
|
104
|
+
/>
|
|
105
|
+
<span class="text-xs text-(--ui-text-dimmed)">{{ online ? "Online" : "Offline" }}</span>
|
|
106
|
+
</div>
|
|
107
|
+
</div>
|
|
108
|
+
</div>
|
|
109
|
+
|
|
110
|
+
<!-- Public key -->
|
|
111
|
+
<div class="flex items-center gap-1.5 px-2 py-1.5 rounded-md bg-(--ui-bg-elevated)">
|
|
112
|
+
<UIcon
|
|
113
|
+
name="i-lucide-key-round"
|
|
114
|
+
class="size-3.5 text-(--ui-text-dimmed) shrink-0"
|
|
115
|
+
/>
|
|
116
|
+
<code class="text-[11px] font-mono text-(--ui-text-muted) truncate flex-1">{{ publicKey.slice(0, 8) }}…{{ publicKey.slice(-6) }}</code>
|
|
117
|
+
<UTooltip
|
|
118
|
+
text="Copy public key"
|
|
119
|
+
:content="{ side: 'bottom' }"
|
|
120
|
+
>
|
|
121
|
+
<UButton
|
|
122
|
+
icon="i-lucide-copy"
|
|
123
|
+
variant="ghost"
|
|
124
|
+
color="neutral"
|
|
125
|
+
size="xs"
|
|
126
|
+
@click="copyKey"
|
|
127
|
+
/>
|
|
128
|
+
</UTooltip>
|
|
129
|
+
</div>
|
|
130
|
+
|
|
131
|
+
<!-- Location (if online, on different doc) -->
|
|
132
|
+
<button
|
|
133
|
+
v-if="isElsewhere"
|
|
134
|
+
class="flex items-center gap-1.5 w-full px-2 py-1.5 rounded-md hover:bg-(--ui-bg-elevated)/50 transition-colors text-left"
|
|
135
|
+
@click="navigateToUserDoc"
|
|
136
|
+
>
|
|
137
|
+
<UIcon
|
|
138
|
+
:name="currentDocIcon || 'i-lucide-file'"
|
|
139
|
+
class="size-3.5 text-(--ui-text-dimmed) shrink-0"
|
|
140
|
+
/>
|
|
141
|
+
<span class="text-xs text-(--ui-text-dimmed) truncate flex-1">Currently on <span class="text-(--ui-text-muted)">{{ currentDocLabel || currentDocId?.slice(0, 8) + "\u2026" }}</span></span>
|
|
142
|
+
<UIcon
|
|
143
|
+
name="i-lucide-chevron-right"
|
|
144
|
+
class="size-3 text-(--ui-text-dimmed) shrink-0 opacity-50"
|
|
145
|
+
/>
|
|
146
|
+
</button>
|
|
147
|
+
|
|
148
|
+
<!-- Actions (hidden for self) -->
|
|
149
|
+
<div
|
|
150
|
+
v-if="!isSelf"
|
|
151
|
+
class="flex gap-2"
|
|
152
|
+
>
|
|
153
|
+
<UButton
|
|
154
|
+
icon="i-lucide-message-circle"
|
|
155
|
+
label="Message"
|
|
156
|
+
variant="soft"
|
|
157
|
+
color="neutral"
|
|
158
|
+
size="sm"
|
|
159
|
+
class="flex-1"
|
|
160
|
+
@click="openDm"
|
|
161
|
+
/>
|
|
162
|
+
<UButton
|
|
163
|
+
v-if="showFollow"
|
|
164
|
+
:icon="isFollowing ? 'i-lucide-eye-off' : 'i-lucide-eye'"
|
|
165
|
+
:label="isFollowing ? 'Unfollow' : 'Follow'"
|
|
166
|
+
:variant="isFollowing ? 'soft' : 'ghost'"
|
|
167
|
+
:color="isFollowing ? 'primary' : 'neutral'"
|
|
168
|
+
size="sm"
|
|
169
|
+
class="flex-1"
|
|
170
|
+
@click="toggleFollow"
|
|
171
|
+
/>
|
|
172
|
+
</div>
|
|
173
|
+
</div>
|
|
174
|
+
</template>
|
|
175
|
+
</UPopover>
|
|
176
|
+
</template>
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
publicKey: string;
|
|
3
|
+
name?: string;
|
|
4
|
+
color?: string;
|
|
5
|
+
/** Avatar border style (CSS string) */
|
|
6
|
+
avatarStyle?: string;
|
|
7
|
+
online?: boolean | null;
|
|
8
|
+
/** Whether this is the current user */
|
|
9
|
+
isSelf?: boolean;
|
|
10
|
+
/** Whether to show the follow button */
|
|
11
|
+
showFollow?: boolean;
|
|
12
|
+
/** Whether currently following this user */
|
|
13
|
+
isFollowing?: boolean;
|
|
14
|
+
/** Doc ID + label of where the user currently is (for "currently on" display) */
|
|
15
|
+
currentDocId?: string | null;
|
|
16
|
+
currentDocLabel?: string | null;
|
|
17
|
+
currentDocIcon?: string;
|
|
18
|
+
};
|
|
19
|
+
declare var __VLS_8: {};
|
|
20
|
+
type __VLS_Slots = {} & {
|
|
21
|
+
default?: (props: typeof __VLS_8) => any;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
message: (publicKey: string, name: string) => any;
|
|
25
|
+
follow: (publicKey: string) => any;
|
|
26
|
+
unfollow: (publicKey: string) => any;
|
|
27
|
+
"navigate-to-doc": (docId: string) => any;
|
|
28
|
+
"key-copied": (publicKey: string) => any;
|
|
29
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
30
|
+
onMessage?: ((publicKey: string, name: string) => any) | undefined;
|
|
31
|
+
onFollow?: ((publicKey: string) => any) | undefined;
|
|
32
|
+
onUnfollow?: ((publicKey: string) => any) | undefined;
|
|
33
|
+
"onNavigate-to-doc"?: ((docId: string) => any) | undefined;
|
|
34
|
+
"onKey-copied"?: ((publicKey: string) => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
color: string;
|
|
37
|
+
name: string;
|
|
38
|
+
online: boolean | null;
|
|
39
|
+
currentDocId: string | null;
|
|
40
|
+
avatarStyle: string;
|
|
41
|
+
isSelf: boolean;
|
|
42
|
+
showFollow: boolean;
|
|
43
|
+
isFollowing: boolean;
|
|
44
|
+
currentDocLabel: string | null;
|
|
45
|
+
currentDocIcon: string;
|
|
46
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
47
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
48
|
+
declare const _default: typeof __VLS_export;
|
|
49
|
+
export default _default;
|
|
50
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
51
|
+
new (): {
|
|
52
|
+
$slots: S;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** Current user name (pre-filled in identity step) */
|
|
3
|
+
userName?: string;
|
|
4
|
+
/** User avatar style (CSS) */
|
|
5
|
+
avatarStyle?: string;
|
|
6
|
+
/** Available UI accent colors */
|
|
7
|
+
colors?: string[];
|
|
8
|
+
/** Available UI neutral colors */
|
|
9
|
+
neutrals?: string[];
|
|
10
|
+
/** Currently selected accent color */
|
|
11
|
+
currentColor?: string;
|
|
12
|
+
/** Currently selected neutral color */
|
|
13
|
+
currentNeutral?: string;
|
|
14
|
+
/** Whether the account is already claimed (passkey) */
|
|
15
|
+
isClaimed?: boolean;
|
|
16
|
+
/** Whether server connection is in progress */
|
|
17
|
+
connecting?: boolean;
|
|
18
|
+
/** Server connection error */
|
|
19
|
+
connectionError?: string;
|
|
20
|
+
/** Whether passkey claim is in progress */
|
|
21
|
+
claimLoading?: boolean;
|
|
22
|
+
/** Passkey claim error */
|
|
23
|
+
claimError?: string | null;
|
|
24
|
+
/** Whether passkey was just claimed */
|
|
25
|
+
claimSuccess?: boolean;
|
|
26
|
+
};
|
|
27
|
+
type __VLS_ModelProps = {
|
|
28
|
+
/**
|
|
29
|
+
* Welcome/onboarding screen.
|
|
30
|
+
*
|
|
31
|
+
* 3-step flow: identity setup → mode selection → done (optional passkey).
|
|
32
|
+
* Slot-based and emit-driven — the consuming app handles actual server
|
|
33
|
+
* connections, space creation, and navigation.
|
|
34
|
+
*
|
|
35
|
+
* Ported from cou-sh/app/components/WelcomeScreen.vue — decoupled from
|
|
36
|
+
* useAbracadabra, useSpaceRegistry, and all app-specific modals.
|
|
37
|
+
*/
|
|
38
|
+
'open'?: boolean;
|
|
39
|
+
};
|
|
40
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
41
|
+
declare var __VLS_15: {}, __VLS_22: {}, __VLS_24: {}, __VLS_57: {}, __VLS_69: {}, __VLS_76: {}, __VLS_78: {};
|
|
42
|
+
type __VLS_Slots = {} & {
|
|
43
|
+
logo?: (props: typeof __VLS_15) => any;
|
|
44
|
+
} & {
|
|
45
|
+
title?: (props: typeof __VLS_22) => any;
|
|
46
|
+
} & {
|
|
47
|
+
subtitle?: (props: typeof __VLS_24) => any;
|
|
48
|
+
} & {
|
|
49
|
+
'identity-footer'?: (props: typeof __VLS_57) => any;
|
|
50
|
+
} & {
|
|
51
|
+
'hosted-option'?: (props: typeof __VLS_69) => any;
|
|
52
|
+
} & {
|
|
53
|
+
'choose-footer'?: (props: typeof __VLS_76) => any;
|
|
54
|
+
} & {
|
|
55
|
+
logo?: (props: typeof __VLS_78) => any;
|
|
56
|
+
};
|
|
57
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
58
|
+
done: () => any;
|
|
59
|
+
"update:open": (value: boolean) => any;
|
|
60
|
+
"set-name": (name: string) => any;
|
|
61
|
+
"set-color": (color: string) => any;
|
|
62
|
+
"set-neutral": (color: string) => any;
|
|
63
|
+
"start-local": () => any;
|
|
64
|
+
"connect-server": (url: string) => any;
|
|
65
|
+
"claim-passkey": () => any;
|
|
66
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
67
|
+
onDone?: (() => any) | undefined;
|
|
68
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
69
|
+
"onSet-name"?: ((name: string) => any) | undefined;
|
|
70
|
+
"onSet-color"?: ((color: string) => any) | undefined;
|
|
71
|
+
"onSet-neutral"?: ((color: string) => any) | undefined;
|
|
72
|
+
"onStart-local"?: (() => any) | undefined;
|
|
73
|
+
"onConnect-server"?: ((url: string) => any) | undefined;
|
|
74
|
+
"onClaim-passkey"?: (() => any) | undefined;
|
|
75
|
+
}>, {
|
|
76
|
+
connecting: boolean;
|
|
77
|
+
userName: string;
|
|
78
|
+
currentColor: string;
|
|
79
|
+
isClaimed: boolean;
|
|
80
|
+
avatarStyle: string;
|
|
81
|
+
colors: string[];
|
|
82
|
+
neutrals: string[];
|
|
83
|
+
currentNeutral: string;
|
|
84
|
+
connectionError: string;
|
|
85
|
+
claimLoading: boolean;
|
|
86
|
+
claimError: string | null;
|
|
87
|
+
claimSuccess: boolean;
|
|
88
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
89
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
90
|
+
declare const _default: typeof __VLS_export;
|
|
91
|
+
export default _default;
|
|
92
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
93
|
+
new (): {
|
|
94
|
+
$slots: S;
|
|
95
|
+
};
|
|
96
|
+
};
|